@times-components/ts-components 1.54.0 → 1.54.1

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.54.1](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.54.0...@times-components/ts-components@1.54.1) (2022-10-10)
7
+
8
+ **Note:** Version bump only for package @times-components/ts-components
9
+
10
+
11
+
12
+
13
+
6
14
  # [1.54.0](https://github.com/newsuk/times-components/compare/@times-components/ts-components@1.53.0...@times-components/ts-components@1.54.0) (2022-10-07)
7
15
 
8
16
 
@@ -27,8 +27,8 @@ export const Newsletter = ({ intersectObserverRef, section, justSubscribed, head
27
27
  React.createElement(InpSignupHeadline, null,
28
28
  headline,
29
29
  ": "),
30
- copy,
30
+ `${copy} `,
31
31
  PuffButton('link')),
32
32
  PuffButton('button'))))));
33
33
  };
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTmV3c2xldHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL25ld3NsZXR0ZXItcHVmZi9uZXdzbGV0dGVyL05ld3NsZXR0ZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQztBQUUxQixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQztBQUN0RixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUNoRixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFFbkUsT0FBTyxFQUNMLE9BQU8sRUFDUCx1QkFBdUIsRUFDdkIsa0JBQWtCLEVBQ2xCLHFCQUFxQixFQUNyQixpQkFBaUIsRUFDakIsc0JBQXNCLEVBQ3ZCLE1BQU0sVUFBVSxDQUFDO0FBRWxCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFhekMsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHLENBQUMsRUFDekIsb0JBQW9CLEVBQ3BCLE9BQU8sRUFDUCxjQUFjLEVBQ2QsUUFBUSxFQUNSLG9CQUFvQixFQUNwQixJQUFJLEVBQ0osSUFBSSxFQUNKLG1CQUFtQixFQUNILEVBQUUsRUFBRTtJQUNwQixNQUFNLFVBQVUsR0FBRyxDQUFDLEtBQXdCLEVBQUUsRUFBRSxDQUFDLENBQy9DLG9CQUFDLHFCQUFxQixJQUFDLEdBQUcsRUFBRSxvQkFBb0IsRUFBRSxVQUFVLEVBQUUsS0FBSztRQUNqRSxvQkFBQyxvQkFBb0IsSUFDbkIsS0FBSyxFQUFFLEtBQUssRUFDWixvQkFBb0IsRUFBRSxvQkFBb0IsRUFDMUMsT0FBTyxFQUFFLEdBQUcsRUFBRTtnQkFDWixJQUFJLENBQUMsb0JBQW9CLEVBQUU7b0JBQ3pCLG1CQUFtQixDQUFDLEVBQUUsU0FBUyxFQUFFLEVBQUUsSUFBSSxFQUFFLEVBQUUsQ0FBQyxDQUFDO2lCQUM5QztZQUNILENBQUMsR0FDRCxDQUNvQixDQUN6QixDQUFDO0lBRUYsT0FBTyxDQUNMLG9CQUFDLEtBQUssQ0FBQyxRQUFRO1FBQ2Isb0JBQUMsWUFBWSxJQUFDLE9BQU8sRUFBRSxPQUFPO1lBQzNCLG9CQUFvQixJQUFJLG9CQUFDLGNBQWMsT0FBRztZQUMxQyxjQUFjLENBQUMsQ0FBQyxDQUFDLENBQ2hCLG9CQUFDLHNCQUFzQjtnQkFDckIsb0JBQUMsT0FBTzs7b0JBQzBCLEdBQUc7b0JBQ25DLG9CQUFDLGlCQUFpQjt3QkFBRSxHQUFHLFFBQVEsR0FBRzs0QkFBc0I7b0JBQ3hELG9CQUFDLGtCQUFrQixPQUFHLENBQ2Q7Z0JBQ1Ysb0JBQUMsdUJBQXVCLE9BQUcsQ0FDSixDQUMxQixDQUFDLENBQUMsQ0FBQyxDQUNGLG9CQUFDLGtCQUFrQjtnQkFDakIsb0JBQUMsT0FBTztvQkFDTixvQkFBQyxpQkFBaUI7d0JBQUUsUUFBUTs2QkFBdUI7b0JBQ2xELElBQUk7b0JBQ0osVUFBVSxDQUFDLE1BQU0sQ0FBQyxDQUNYO2dCQUNULFVBQVUsQ0FBQyxRQUFRLENBQUMsQ0FDRixDQUN0QixDQUNZLENBQ0EsQ0FDbEIsQ0FBQztBQUNKLENBQUMsQ0FBQyJ9
34
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTmV3c2xldHRlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL25ld3NsZXR0ZXItcHVmZi9uZXdzbGV0dGVyL05ld3NsZXR0ZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxNQUFNLE9BQU8sQ0FBQztBQUUxQixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQztBQUN0RixPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSw0Q0FBNEMsQ0FBQztBQUNoRixPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFFbkUsT0FBTyxFQUNMLE9BQU8sRUFDUCx1QkFBdUIsRUFDdkIsa0JBQWtCLEVBQ2xCLHFCQUFxQixFQUNyQixpQkFBaUIsRUFDakIsc0JBQXNCLEVBQ3ZCLE1BQU0sVUFBVSxDQUFDO0FBRWxCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxXQUFXLENBQUM7QUFhekMsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHLENBQUMsRUFDekIsb0JBQW9CLEVBQ3BCLE9BQU8sRUFDUCxjQUFjLEVBQ2QsUUFBUSxFQUNSLG9CQUFvQixFQUNwQixJQUFJLEVBQ0osSUFBSSxFQUNKLG1CQUFtQixFQUNILEVBQUUsRUFBRTtJQUNwQixNQUFNLFVBQVUsR0FBRyxDQUFDLEtBQXdCLEVBQUUsRUFBRSxDQUFDLENBQy9DLG9CQUFDLHFCQUFxQixJQUFDLEdBQUcsRUFBRSxvQkFBb0IsRUFBRSxVQUFVLEVBQUUsS0FBSztRQUNqRSxvQkFBQyxvQkFBb0IsSUFDbkIsS0FBSyxFQUFFLEtBQUssRUFDWixvQkFBb0IsRUFBRSxvQkFBb0IsRUFDMUMsT0FBTyxFQUFFLEdBQUcsRUFBRTtnQkFDWixJQUFJLENBQUMsb0JBQW9CLEVBQUU7b0JBQ3pCLG1CQUFtQixDQUFDLEVBQUUsU0FBUyxFQUFFLEVBQUUsSUFBSSxFQUFFLEVBQUUsQ0FBQyxDQUFDO2lCQUM5QztZQUNILENBQUMsR0FDRCxDQUNvQixDQUN6QixDQUFDO0lBRUYsT0FBTyxDQUNMLG9CQUFDLEtBQUssQ0FBQyxRQUFRO1FBQ2Isb0JBQUMsWUFBWSxJQUFDLE9BQU8sRUFBRSxPQUFPO1lBQzNCLG9CQUFvQixJQUFJLG9CQUFDLGNBQWMsT0FBRztZQUMxQyxjQUFjLENBQUMsQ0FBQyxDQUFDLENBQ2hCLG9CQUFDLHNCQUFzQjtnQkFDckIsb0JBQUMsT0FBTzs7b0JBQzBCLEdBQUc7b0JBQ25DLG9CQUFDLGlCQUFpQjt3QkFBRSxHQUFHLFFBQVEsR0FBRzs0QkFBc0I7b0JBQ3hELG9CQUFDLGtCQUFrQixPQUFHLENBQ2Q7Z0JBQ1Ysb0JBQUMsdUJBQXVCLE9BQUcsQ0FDSixDQUMxQixDQUFDLENBQUMsQ0FBQyxDQUNGLG9CQUFDLGtCQUFrQjtnQkFDakIsb0JBQUMsT0FBTztvQkFDTixvQkFBQyxpQkFBaUI7d0JBQUUsUUFBUTs2QkFBdUI7b0JBQ2xELEdBQUcsSUFBSSxHQUFHO29CQUNWLFVBQVUsQ0FBQyxNQUFNLENBQUMsQ0FDWDtnQkFDVCxVQUFVLENBQUMsUUFBUSxDQUFDLENBQ0YsQ0FDdEIsQ0FDWSxDQUNBLENBQ2xCLENBQUM7QUFDSixDQUFDLENBQUMifQ==
@@ -1,11 +1,16 @@
1
- import { InpSignupCTAContainer, InpContainer } from '../styles';
2
- import { InpCopy, InpSignupContainer, InpSignupHeadline } from '../newsletter/styles';
1
+ import { InpContainer } from '../styles';
2
+ import { InpCopy, InpSignupContainer, InpSignupHeadline, InpSignupCTAContainer } from '../newsletter/styles';
3
3
  import { NewsletterPuffButton } from '../newsletter-puff-button/NewsletterPuffButton';
4
4
  import React from 'react';
5
5
  export const PreviewNewsletterPuff = ({ copy, headline, section }) => (React.createElement(InpContainer, { section: section },
6
6
  React.createElement(InpSignupContainer, null,
7
- React.createElement(InpSignupHeadline, null, headline),
8
- React.createElement(InpCopy, null, copy),
9
- React.createElement(InpSignupCTAContainer, null,
7
+ React.createElement(InpCopy, null,
8
+ React.createElement(InpSignupHeadline, null,
9
+ headline,
10
+ ": "),
11
+ copy,
12
+ React.createElement(InpSignupCTAContainer, { childStyle: "link" },
13
+ React.createElement(NewsletterPuffButton, { style: "link" }))),
14
+ React.createElement(InpSignupCTAContainer, { childStyle: "button" },
10
15
  React.createElement(NewsletterPuffButton, { style: "button" })))));
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJldmlld05ld3NsZXR0ZXJQdWZmLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvbmV3c2xldHRlci1wdWZmL3ByZXZpZXctbmV3c2xldHRlci1wdWZmL1ByZXZpZXdOZXdzbGV0dGVyUHVmZi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHFCQUFxQixFQUFFLFlBQVksRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUVoRSxPQUFPLEVBQ0wsT0FBTyxFQUNQLGtCQUFrQixFQUNsQixpQkFBaUIsRUFDbEIsTUFBTSxzQkFBc0IsQ0FBQztBQUU5QixPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSxnREFBZ0QsQ0FBQztBQUN0RixPQUFPLEtBQUssTUFBTSxPQUFPLENBQUM7QUFRMUIsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQUcsQ0FBQyxFQUNwQyxJQUFJLEVBQ0osUUFBUSxFQUNSLE9BQU8sRUFDb0IsRUFBRSxFQUFFLENBQUMsQ0FDaEMsb0JBQUMsWUFBWSxJQUFDLE9BQU8sRUFBRSxPQUFPO0lBQzVCLG9CQUFDLGtCQUFrQjtRQUNqQixvQkFBQyxpQkFBaUIsUUFBRSxRQUFRLENBQXFCO1FBQ2pELG9CQUFDLE9BQU8sUUFBRSxJQUFJLENBQVc7UUFDekIsb0JBQUMscUJBQXFCO1lBQ3BCLG9CQUFDLG9CQUFvQixJQUFDLEtBQUssRUFBQyxRQUFRLEdBQUcsQ0FDakIsQ0FDTCxDQUNSLENBQ2hCLENBQUMifQ==
16
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHJldmlld05ld3NsZXR0ZXJQdWZmLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvbmV3c2xldHRlci1wdWZmL3ByZXZpZXctbmV3c2xldHRlci1wdWZmL1ByZXZpZXdOZXdzbGV0dGVyUHVmZi50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLFdBQVcsQ0FBQztBQUV6QyxPQUFPLEVBQ0wsT0FBTyxFQUNQLGtCQUFrQixFQUNsQixpQkFBaUIsRUFDakIscUJBQXFCLEVBQ3RCLE1BQU0sc0JBQXNCLENBQUM7QUFFOUIsT0FBTyxFQUFFLG9CQUFvQixFQUFFLE1BQU0sZ0RBQWdELENBQUM7QUFDdEYsT0FBTyxLQUFLLE1BQU0sT0FBTyxDQUFDO0FBUTFCLE1BQU0sQ0FBQyxNQUFNLHFCQUFxQixHQUFHLENBQUMsRUFDcEMsSUFBSSxFQUNKLFFBQVEsRUFDUixPQUFPLEVBQ29CLEVBQUUsRUFBRSxDQUFDLENBQ2hDLG9CQUFDLFlBQVksSUFBQyxPQUFPLEVBQUUsT0FBTztJQUM1QixvQkFBQyxrQkFBa0I7UUFDakIsb0JBQUMsT0FBTztZQUNOLG9CQUFDLGlCQUFpQjtnQkFBRSxRQUFRO3FCQUF1QjtZQUNsRCxJQUFJO1lBQ0wsb0JBQUMscUJBQXFCLElBQUMsVUFBVSxFQUFDLE1BQU07Z0JBQ3RDLG9CQUFDLG9CQUFvQixJQUFDLEtBQUssRUFBQyxNQUFNLEdBQUcsQ0FDZixDQUNoQjtRQUNWLG9CQUFDLHFCQUFxQixJQUFDLFVBQVUsRUFBQyxRQUFRO1lBQ3hDLG9CQUFDLG9CQUFvQixJQUFDLEtBQUssRUFBQyxRQUFRLEdBQUcsQ0FDakIsQ0FDTCxDQUNSLENBQ2hCLENBQUMifQ==
@@ -4,4 +4,3 @@ export declare const InpContainer: import("styled-components").StyledComponent<"
4
4
  section?: string | undefined;
5
5
  }, never>;
6
6
  export declare const InpPreferencesText: import("styled-components").StyledComponent<"div", any, {}, never>;
7
- export declare const InpSignupCTAContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -36,7 +36,6 @@ export const InpContainer = styled(View) `
36
36
  margin-left: ${spacing(2)};
37
37
 
38
38
  @media (min-width: ${breakpoints.medium}px) {
39
- flex-direction: row;
40
39
  margin: 0 auto ${spacing(4)};
41
40
  width: 80.8%;
42
41
  }
@@ -52,10 +51,4 @@ export const InpPreferencesText = styled(Text) `
52
51
  letter-spacing: -0.4px;
53
52
  margin-bottom: ${spacing(3)};
54
53
  `;
55
- export const InpSignupCTAContainer = styled(View) `
56
- @media (min-width: ${breakpoints.medium}px) {
57
- width: 220px;
58
- margin: 0px auto;
59
- }
60
- `;
61
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvbmV3c2xldHRlci1wdWZmL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE1BQU0sTUFBTSxtQkFBbUIsQ0FBQztBQUV2QyxPQUFPLEVBQ0wsV0FBVyxFQUNYLE9BQU8sRUFDUCxLQUFLLEVBQ0wsT0FBTyxFQUNSLE1BQU0saUNBQWlDLENBQUM7QUFFekMsTUFBTSxDQUFDLE1BQU0sSUFBSSxHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUE7Ozs7Ozs7Ozs7Ozs7Q0FhN0IsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLElBQUksR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFBOzs7Ozs7Ozs7OztDQVc3QixDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBc0I7O01BRXhELENBQUMsRUFBRSxPQUFPLEVBQUUsRUFBRSxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQzs7O2tCQUduRCxPQUFPLENBQUMsQ0FBQyxDQUFDO21CQUNULE9BQU8sQ0FBQyxDQUFDLENBQUM7aUJBQ1osT0FBTyxDQUFDLENBQUMsQ0FBQzs7dUJBRUosV0FBVyxDQUFDLE1BQU07O3FCQUVwQixPQUFPLENBQUMsQ0FBQyxDQUFDOzs7dUJBR1IsV0FBVyxDQUFDLElBQUk7OztDQUd0QyxDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0sa0JBQWtCLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFBO1dBQ25DLE9BQU8sQ0FBQyxVQUFVLENBQUMsTUFBTTtpQkFDbkIsS0FBSyxDQUFDLElBQUk7Ozs7bUJBSVIsT0FBTyxDQUFDLENBQUMsQ0FBQztDQUM1QixDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0scUJBQXFCLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxDQUFBO3VCQUMxQixXQUFXLENBQUMsTUFBTTs7OztDQUl4QyxDQUFDIn0=
54
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3R5bGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbXBvbmVudHMvbmV3c2xldHRlci1wdWZmL3N0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLE1BQU0sTUFBTSxtQkFBbUIsQ0FBQztBQUV2QyxPQUFPLEVBQ0wsV0FBVyxFQUNYLE9BQU8sRUFDUCxLQUFLLEVBQ0wsT0FBTyxFQUNSLE1BQU0saUNBQWlDLENBQUM7QUFFekMsTUFBTSxDQUFDLE1BQU0sSUFBSSxHQUFHLE1BQU0sQ0FBQyxHQUFHLENBQUE7Ozs7Ozs7Ozs7Ozs7Q0FhN0IsQ0FBQztBQUVGLE1BQU0sQ0FBQyxNQUFNLElBQUksR0FBRyxNQUFNLENBQUMsR0FBRyxDQUFBOzs7Ozs7Ozs7OztDQVc3QixDQUFDO0FBRUYsTUFBTSxDQUFDLE1BQU0sWUFBWSxHQUFHLE1BQU0sQ0FBQyxJQUFJLENBQUMsQ0FBc0I7O01BRXhELENBQUMsRUFBRSxPQUFPLEVBQUUsRUFBRSxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxPQUFPLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQzs7O2tCQUduRCxPQUFPLENBQUMsQ0FBQyxDQUFDO21CQUNULE9BQU8sQ0FBQyxDQUFDLENBQUM7aUJBQ1osT0FBTyxDQUFDLENBQUMsQ0FBQzs7dUJBRUosV0FBVyxDQUFDLE1BQU07cUJBQ3BCLE9BQU8sQ0FBQyxDQUFDLENBQUM7Ozt1QkFHUixXQUFXLENBQUMsSUFBSTs7O0NBR3RDLENBQUM7QUFFRixNQUFNLENBQUMsTUFBTSxrQkFBa0IsR0FBRyxNQUFNLENBQUMsSUFBSSxDQUFDLENBQUE7V0FDbkMsT0FBTyxDQUFDLFVBQVUsQ0FBQyxNQUFNO2lCQUNuQixLQUFLLENBQUMsSUFBSTs7OzttQkFJUixPQUFPLENBQUMsQ0FBQyxDQUFDO0NBQzVCLENBQUMifQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@times-components/ts-components",
3
- "version": "1.54.0",
3
+ "version": "1.54.1",
4
4
  "description": "Reuseable Typescript React Components",
5
5
  "main": "dist/index.js",
6
6
  "dev": "dist/index.js",
@@ -56,7 +56,7 @@
56
56
  "@times-components/link": "3.11.0",
57
57
  "@times-components/provider": "1.33.0",
58
58
  "@times-components/provider-queries": "2.18.0",
59
- "@times-components/related-articles": "6.12.6",
59
+ "@times-components/related-articles": "6.12.7",
60
60
  "@times-components/ts-slices": "1.6.0",
61
61
  "@times-components/ts-styleguide": "1.37.0",
62
62
  "@times-components/utils": "6.15.0",
@@ -114,5 +114,5 @@
114
114
  "@testing-library/jest-dom/extend-expect"
115
115
  ]
116
116
  },
117
- "gitHead": "13be5d6ea15fc0af6dd0d54934c27f3b67dc3cd6"
117
+ "gitHead": "82da30eb99d30077019af391adff75ba8f78b6f2"
118
118
  }
package/rnw.js CHANGED
@@ -1 +1 @@
1
- module.exports=function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=21)}([function(t,e){t.exports=require("react")},function(t,e){t.exports=require("@times-components/ts-styleguide/rnw")},function(t,e){t.exports=require("styled-components")},function(t,e){t.exports=require("@times-components/image/rnw")},function(t,e){t.exports=require("date-fns")},function(t,e){t.exports=require("date-fns-tz")},function(t,e){t.exports=require("react-elastic-carousel")},function(t,e,n){(function(t){var n=/^\[object .+?Constructor\]$/,o=/^(?:0|[1-9]\d*)$/,i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var r="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,l=r||a||Function("return this")(),c=e&&!e.nodeType&&e,s=c&&"object"==typeof t&&t&&!t.nodeType&&t,d=s&&s.exports===c,p=d&&r.process,u=function(){try{var t=s&&s.require&&s.require("util").types;return t||p&&p.binding&&p.binding("util")}catch(t){}}(),f=u&&u.isTypedArray;function m(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var h,g,y,x=Array.prototype,b=Function.prototype,w=Object.prototype,v=l["__core-js_shared__"],_=b.toString,C=w.hasOwnProperty,O=(h=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+h:"",E=w.toString,k=_.call(Object),j=RegExp("^"+_.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=d?l.Buffer:void 0,S=l.Symbol,A=l.Uint8Array,z=I?I.allocUnsafe:void 0,N=(g=Object.getPrototypeOf,y=Object,function(t){return g(y(t))}),T=Object.create,P=w.propertyIsEnumerable,M=x.splice,L=S?S.toStringTag:void 0,W=function(){try{var t=ct(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),H=I?I.isBuffer:void 0,R=Math.max,D=Date.now,q=ct(l,"Map"),F=ct(Object,"create"),U=function(){function t(){}return function(e){if(!wt(e))return{};if(T)return T(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function B(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function $(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Y(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Z(t){var e=this.__data__=new $(t);this.size=e.size}function G(t,e){var n=ht(t),o=!n&&mt(t),i=!n&&!o&&yt(t),r=!n&&!o&&!i&&_t(t),a=n||o||i||r,l=a?function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}(t.length,String):[],c=l.length;for(var s in t)!e&&!C.call(t,s)||a&&("length"==s||i&&("offset"==s||"parent"==s)||r&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||st(s,c))||l.push(s);return l}function V(t,e,n){(void 0!==n&&!ft(t[e],n)||void 0===n&&!(e in t))&&X(t,e,n)}function J(t,e,n){var o=t[e];C.call(t,e)&&ft(o,n)&&(void 0!==n||e in t)||X(t,e,n)}function K(t,e){for(var n=t.length;n--;)if(ft(t[n][0],e))return n;return-1}function X(t,e,n){"__proto__"==e&&W?W(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}B.prototype.clear=function(){this.__data__=F?F(null):{},this.size=0},B.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},B.prototype.get=function(t){var e=this.__data__;if(F){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return C.call(e,t)?e[t]:void 0},B.prototype.has=function(t){var e=this.__data__;return F?void 0!==e[t]:C.call(e,t)},B.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=F&&void 0===e?"__lodash_hash_undefined__":e,this},$.prototype.clear=function(){this.__data__=[],this.size=0},$.prototype.delete=function(t){var e=this.__data__,n=K(e,t);return!(n<0)&&(n==e.length-1?e.pop():M.call(e,n,1),--this.size,!0)},$.prototype.get=function(t){var e=this.__data__,n=K(e,t);return n<0?void 0:e[n][1]},$.prototype.has=function(t){return K(this.__data__,t)>-1},$.prototype.set=function(t,e){var n=this.__data__,o=K(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new B,map:new(q||$),string:new B}},Y.prototype.delete=function(t){var e=lt(this,t).delete(t);return this.size-=e?1:0,e},Y.prototype.get=function(t){return lt(this,t).get(t)},Y.prototype.has=function(t){return lt(this,t).has(t)},Y.prototype.set=function(t,e){var n=lt(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this},Z.prototype.clear=function(){this.__data__=new $,this.size=0},Z.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Z.prototype.get=function(t){return this.__data__.get(t)},Z.prototype.has=function(t){return this.__data__.has(t)},Z.prototype.set=function(t,e){var n=this.__data__;if(n instanceof $){var o=n.__data__;if(!q||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new Y(o)}return n.set(t,e),this.size=n.size,this};var Q,tt=function(t,e,n){for(var o=-1,i=Object(t),r=n(t),a=r.length;a--;){var l=r[Q?a:++o];if(!1===e(i[l],l,i))break}return t};function et(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":L&&L in Object(t)?function(t){var e=C.call(t,L),n=t[L];try{t[L]=void 0;var o=!0}catch(t){}var i=E.call(t);o&&(e?t[L]=n:delete t[L]);return i}(t):function(t){return E.call(t)}(t)}function nt(t){return vt(t)&&"[object Arguments]"==et(t)}function ot(t){return!(!wt(t)||function(t){return!!O&&O in t}(t))&&(xt(t)?j:n).test(function(t){if(null!=t){try{return _.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function it(t){if(!wt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=dt(t),n=[];for(var o in t)("constructor"!=o||!e&&C.call(t,o))&&n.push(o);return n}function rt(t,e,n,o,i){t!==e&&tt(e,(function(r,a){if(i||(i=new Z),wt(r))!function(t,e,n,o,i,r,a){var l=pt(t,n),c=pt(e,n),s=a.get(c);if(s)return void V(t,n,s);var d=r?r(l,c,n+"",t,e,a):void 0,p=void 0===d;if(p){var u=ht(c),f=!u&&yt(c),m=!u&&!f&&_t(c);d=c,u||f||m?ht(l)?d=l:vt(b=l)&&gt(b)?d=function(t,e){var n=-1,o=t.length;e||(e=Array(o));for(;++n<o;)e[n]=t[n];return e}(l):f?(p=!1,d=function(t,e){if(e)return t.slice();var n=t.length,o=z?z(n):new t.constructor(n);return t.copy(o),o}(c,!0)):m?(p=!1,h=c,g=!0?(y=h.buffer,x=new y.constructor(y.byteLength),new A(x).set(new A(y)),x):h.buffer,d=new h.constructor(g,h.byteOffset,h.length)):d=[]:function(t){if(!vt(t)||"[object Object]"!=et(t))return!1;var e=N(t);if(null===e)return!0;var n=C.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==k}(c)||mt(c)?(d=l,mt(l)?d=function(t){return function(t,e,n,o){var i=!n;n||(n={});var r=-1,a=e.length;for(;++r<a;){var l=e[r],c=o?o(n[l],t[l],l,n,t):void 0;void 0===c&&(c=t[l]),i?X(n,l,c):J(n,l,c)}return n}(t,Ct(t))}(l):wt(l)&&!xt(l)||(d=function(t){return"function"!=typeof t.constructor||dt(t)?{}:U(N(t))}(c))):p=!1}var h,g,y,x;var b;p&&(a.set(c,d),i(d,c,o,r,a),a.delete(c));V(t,n,d)}(t,e,a,n,rt,o,i);else{var l=o?o(pt(t,a),r,a+"",t,e,i):void 0;void 0===l&&(l=r),V(t,a,l)}}),Ct)}function at(t,e){return ut(function(t,e,n){return e=R(void 0===e?t.length-1:e,0),function(){for(var o=arguments,i=-1,r=R(o.length-e,0),a=Array(r);++i<r;)a[i]=o[e+i];i=-1;for(var l=Array(e+1);++i<e;)l[i]=o[i];return l[e]=n(a),m(t,this,l)}}(t,e,kt),t+"")}function lt(t,e){var n,o,i=t.__data__;return("string"==(o=typeof(n=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ct(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return ot(n)?n:void 0}function st(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&o.test(t))&&t>-1&&t%1==0&&t<e}function dt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||w)}function pt(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var ut=function(t){var e=0,n=0;return function(){var o=D(),i=16-(o-n);if(n=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(W?function(t,e){return W(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:kt);function ft(t,e){return t===e||t!=t&&e!=e}var mt=nt(function(){return arguments}())?nt:function(t){return vt(t)&&C.call(t,"callee")&&!P.call(t,"callee")},ht=Array.isArray;function gt(t){return null!=t&&bt(t.length)&&!xt(t)}var yt=H||function(){return!1};function xt(t){if(!wt(t))return!1;var e=et(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function bt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function wt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function vt(t){return null!=t&&"object"==typeof t}var _t=f?function(t){return function(e){return t(e)}}(f):function(t){return vt(t)&&bt(t.length)&&!!i[et(t)]};function Ct(t){return gt(t)?G(t,!0):it(t)}var Ot,Et=(Ot=function(t,e,n){rt(t,e,n)},at((function(t,e){var n=-1,o=e.length,i=o>1?e[o-1]:void 0,r=o>2?e[2]:void 0;for(i=Ot.length>3&&"function"==typeof i?(o--,i):void 0,r&&function(t,e,n){if(!wt(n))return!1;var o=typeof e;return!!("number"==o?gt(n)&&st(e,n.length):"string"==o&&e in n)&&ft(n[e],t)}(e[0],e[1],r)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var a=e[n];a&&Ot(t,a,n,i)}return t})));function kt(t){return t}t.exports=Et}).call(this,n(20)(t))},function(t,e){t.exports=require("@times-components/utils/rnw")},function(t,e){t.exports=require("isomorphic-unfetch")},function(t,e){t.exports=require("xss")},function(t,e){t.exports=require("@times-components/icons/rnw")},function(t,e){t.exports=require("react-apollo")},function(t,e){t.exports=require("@times-components/provider/rnw")},function(t,e){t.exports=require("@times-components/provider-queries/rnw")},function(t,e){t.exports=require("@times-components/button/rnw")},function(t,e){t.exports=require("@times-components/link/rnw")},function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="[\\ud800-\\udfff]",a="["+i+"]",l="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",c="\\d+",s="[\\u2700-\\u27bf]",d="[a-z\\xdf-\\xf6\\xf8-\\xff]",p="[^\\ud800-\\udfff"+i+c+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="\\ud83c[\\udffb-\\udfff]",f="[^\\ud800-\\udfff]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",g="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+d+"|"+p+")",x="(?:"+g+"|"+p+")",b="(?:"+l+"|"+u+")"+"?",w="[\\ufe0e\\ufe0f]?"+b+("(?:\\u200d(?:"+[f,m,h].join("|")+")[\\ufe0e\\ufe0f]?"+b+")*"),v="(?:"+[s,m,h].join("|")+")"+w,_="(?:"+[f+l+"?",l,m,h,r].join("|")+")",C=RegExp("['’]","g"),O=RegExp(l,"g"),E=RegExp(u+"(?="+u+")|"+_+w,"g"),k=RegExp([g+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,g,"$"].join("|")+")",x+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,g+y,"$"].join("|")+")",g+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",g+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",c,v].join("|"),"g"),j=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),I=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,S="object"==typeof global&&global&&global.Object===Object&&global,A="object"==typeof self&&self&&self.Object===Object&&self,z=S||A||Function("return this")();var N,T=(N={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(t){return null==N?void 0:N[t]});function P(t){return j.test(t)}function M(t){return P(t)?function(t){return t.match(E)||[]}(t):function(t){return t.split("")}(t)}var L=Object.prototype.toString,W=z.Symbol,H=W?W.prototype:void 0,R=H?H.toString:void 0;function D(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==L.call(t)}(t))return R?R.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function q(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:function(t,e,n){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(i);++o<i;)r[o]=t[o+e];return r}(t,e,n)}function F(t){return null==t?"":D(t)}var U,B,$=(U=function(t,e,n){return t+(n?" ":"")+Y(e)},function(t){return function(t,e,n,o){var i=-1,r=t?t.length:0;for(o&&r&&(n=t[++i]);++i<r;)n=e(n,t[i],i,t);return n}(function(t,e,o){return t=F(t),void 0===(e=o?void 0:e)?function(t){return I.test(t)}(t)?function(t){return t.match(k)||[]}(t):function(t){return t.match(n)||[]}(t):t.match(e)||[]}(function(t){return(t=F(t))&&t.replace(o,T).replace(O,"")}(t).replace(C,"")),U,"")}),Y=(B="toUpperCase",function(t){var e=P(t=F(t))?M(t):void 0,n=e?e[0]:t.charAt(0),o=e?q(e,1).join(""):t.slice(1);return n[B]()+o});t.exports=$},function(t,e){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/,i=/^\./,r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,d=c||s||Function("return this")();var p,u=Array.prototype,f=Function.prototype,m=Object.prototype,h=d["__core-js_shared__"],g=(p=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",y=f.toString,x=m.hasOwnProperty,b=m.toString,w=RegExp("^"+y.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=d.Symbol,_=u.splice,C=P(d,"Map"),O=P(Object,"create"),E=v?v.prototype:void 0,k=E?E.toString:void 0;function j(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function I(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function S(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function A(t,e){for(var n,o,i=t.length;i--;)if((n=t[i][0])===(o=e)||n!=n&&o!=o)return i;return-1}function z(t,e){for(var i,r=0,a=(e=function(t,e){if(H(t))return!1;var i=typeof t;if("number"==i||"symbol"==i||"boolean"==i||null==t||D(t))return!0;return o.test(t)||!n.test(t)||null!=e&&t in Object(e)}(e,t)?[e]:H(i=e)?i:M(i)).length;null!=t&&r<a;)t=t[L(e[r++])];return r&&r==a?t:void 0}function N(t){return!(!R(t)||(e=t,g&&g in e))&&(function(t){var e=R(t)?b.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?w:l).test(function(t){if(null!=t){try{return y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function T(t,e){var n,o,i=t.__data__;return("string"==(o=typeof(n=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function P(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return N(n)?n:void 0}j.prototype.clear=function(){this.__data__=O?O(null):{}},j.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},j.prototype.get=function(t){var e=this.__data__;if(O){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return x.call(e,t)?e[t]:void 0},j.prototype.has=function(t){var e=this.__data__;return O?void 0!==e[t]:x.call(e,t)},j.prototype.set=function(t,e){return this.__data__[t]=O&&void 0===e?"__lodash_hash_undefined__":e,this},I.prototype.clear=function(){this.__data__=[]},I.prototype.delete=function(t){var e=this.__data__,n=A(e,t);return!(n<0)&&(n==e.length-1?e.pop():_.call(e,n,1),!0)},I.prototype.get=function(t){var e=this.__data__,n=A(e,t);return n<0?void 0:e[n][1]},I.prototype.has=function(t){return A(this.__data__,t)>-1},I.prototype.set=function(t,e){var n=this.__data__,o=A(n,t);return o<0?n.push([t,e]):n[o][1]=e,this},S.prototype.clear=function(){this.__data__={hash:new j,map:new(C||I),string:new j}},S.prototype.delete=function(t){return T(this,t).delete(t)},S.prototype.get=function(t){return T(this,t).get(t)},S.prototype.has=function(t){return T(this,t).has(t)},S.prototype.set=function(t,e){return T(this,t).set(t,e),this};var M=W((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(D(t))return k?k.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return i.test(t)&&n.push(""),t.replace(r,(function(t,e,o,i){n.push(o?i.replace(a,"$1"):e||t)})),n}));function L(t){if("string"==typeof t||D(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function W(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var o=arguments,i=e?e.apply(this,o):o[0],r=n.cache;if(r.has(i))return r.get(i);var a=t.apply(this,o);return n.cache=r.set(i,a),a};return n.cache=new(W.Cache||S),n}W.Cache=S;var H=Array.isArray;function R(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function D(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==b.call(t)}t.exports=function(t,e,n){var o=null==t?void 0:z(t,e);return void 0===o?n:o}},function(t,e){t.exports=require("@times-components/ts-slices/rnw")},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";n.r(e);var o=n(0),i=n.n(o),r=n(3),a=n(9),l=n.n(a);function c(t,e,n,o,i,r,a){try{var l=t[r](a),c=l.value}catch(t){return void n(t)}l.done?e(c):Promise.resolve(c).then(o,i)}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(t,e)}(t,e)||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.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const p=Object(o.createContext)(void 0),u=t=>{let e=t.url,n=t.options,r=t.previewData,a=t.children;const d=s(Object(o.useState)(!r),2),u=d[0],f=d[1],m=s(Object(o.useState)(),2),h=m[0],g=m[1],y=s(Object(o.useState)(r),2),x=y[0],b=y[1];return Object(o.useEffect)(()=>{r||function(){var t,o=(t=function*(){try{if(!e)throw new Error("must provide a Fetch url");{const t=yield l()(e,n),o=yield t.json();b(o),f(!1)}}catch(t){g(t instanceof Error?t.message:"unknown error"),f(!1)}},function(){var e=this,n=arguments;return new Promise((function(o,i){var r=t.apply(e,n);function a(t){c(r,o,i,a,l,"next",t)}function l(t){c(r,o,i,a,l,"throw",t)}a(void 0)}))});return function(){return o.apply(this,arguments)}}()()},[]),i.a.createElement(p.Provider,{value:{loading:u,error:h,data:x}},a)},f=()=>{const t=Object(o.useContext)(p);if(void 0===t)throw new Error("must be used within a FetchProvider");return t};var m=n(10),h=n.n(m);const g=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t=>{let e=document.createElement("textarea");return e.innerHTML=t,e.value};let o={whiteList:e,stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},i=n(t);return h()(i,o)};var y=n(2),x=n.n(y);const b={"2:3":"150%","4:5":"125%","1:1":"100%","4:3":"75%","3:2":"66.66%","16:9":"56.25%"},w=x.a.div.withConfig({displayName:"styles__AspectRatioContainer",componentId:"sc-1lxnrk8-0"})(["",";"],t=>{let e=t.ratio;return e&&b[e]&&Object(y.css)(["position:relative;overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}> img{position:absolute;width:100%;height:100%;object-fit:cover;}"],b[e])}),v=t=>{let e=t.ratio,n=t.children;return i.a.createElement(w,{ratio:e},n)};var _=n(11),C=n(1);const O=x.a.a.withConfig({displayName:"styles__Link",componentId:"spl816-0"})(["display:flex;flex-direction:row;margin-top:16px;color:#bf0000;fill:#bf0000;:hover{color:",";fill:",";}"],C.colours.functional.secondary,C.colours.functional.secondary),E=x.a.div.withConfig({displayName:"styles__LinkText",componentId:"spl816-1"})(["margin-top:1px;margin-right:12px;font-family:",";font-size:16px;"],C.fonts.supporting),k=t=>{let e=t.link,n=t.linkText,o=t.onClick;return i.a.createElement(O,{href:e,onClick:()=>o&&o(n)},i.a.createElement(E,null,n),i.a.createElement(_.IconForwardChevron,{height:18,width:8,fillColour:null}))};var j=n(7),I=n.n(j);function S(t,e,n){return Object(o.useEffect)(()=>{let o;return null!==t&&(o="undefined"!=typeof window&&window.IntersectionObserver&&new window.IntersectionObserver(t=>{t[0].isIntersecting&&(o&&o.disconnect(),e&&e())},n)||void 0,o&&o.observe(t)),()=>{o&&o.disconnect()}},[t])}function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t,e)||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.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const P=i.a.createContext({context:{}}),M=()=>Object(o.useContext)(P),L=t=>{let e=t.children,n=t.analyticsStream,r=t.context,a=t.scrolledEvent;const l=Object(o.useContext)(P),c=void 0!==n?n:l.analyticsStream,s=I()({},l.context,r),d=t=>{const e=I()({},s,t,{attrs:{eventTime:(new Date).toISOString()}});c?c(e):console.error("no analytics stream to send to",e)},p=N(Object(o.useState)(null),2),u=p[0],f=p[1];return a&&S(u,()=>d&&d(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){z(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({action:"Scrolled"},a)),{threshold:.5}),i.a.createElement(P.Provider,{value:{fireAnalyticsEvent:d,context:s,analyticsStream:c}},"function"==typeof e?e({fireAnalyticsEvent:d,intersectObserverRef:f}):e)},W=x.a.div.withConfig({displayName:"common-styles__PlaceholderContainer",componentId:"sc-14ch98m-0"})(["position:relative;height:200px;margin:0 auto 20px auto;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}"],C.breakpoints.medium,C.breakpoints.wide),H=x.a.div.withConfig({displayName:"common-styles__Label",componentId:"sc-14ch98m-1"})(["font-family:",";font-size:12px;line-height:16px;text-transform:uppercase;color:",";padding-bottom:5px;letter-spacing:1px;"],C.fonts.supporting,t=>{let e=t.sectionColour;return"".concat(e)}),R=x.a.div.withConfig({displayName:"common-styles__HiddenDiv",componentId:"sc-14ch98m-2"})(["display:none;"]),D=x.a.div.withConfig({displayName:"common-styles__Copy",componentId:"sc-14ch98m-3"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],C.colours.functional.secondary,C.fonts.body),q=x.a.ul.withConfig({displayName:"common-styles__List",componentId:"sc-14ch98m-4"})(["display:flex;flex-wrap:wrap;margin:0 -2px -1px -15px;list-style:none;padding:0;@media (min-width:","px){}"],C.breakpoints.medium),F=x.a.div.withConfig({displayName:"common-styles__ListContainer",componentId:"sc-14ch98m-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";"],t=>{let e=t.showAll,n=t.maxHeight,o=t.displayShowAll;return!e&&o?n+"px":"none"}),U=x.a.div.withConfig({displayName:"common-styles__ShowAllContainer",componentId:"sc-14ch98m-6"})(["display:flex;border-top:1px solid ",";padding:5px;justify-content:center;display:",";"],C.colours.functional.keyline,t=>t.displayShowAll?"flex":"none"),B=x.a.div.withConfig({displayName:"common-styles__Headline",componentId:"sc-14ch98m-7"})(["font-family:",";font-size:24px;line-height:24px;color:",";margin:0 0 6px;@media (min-width:","px){font-size:32px;line-height:32px;}"],C.fonts.headline,C.colours.functional.brandColour,C.breakpoints.medium),$=x.a.button.withConfig({displayName:"common-styles__ShowAllButton",componentId:"sc-14ch98m-8"})(["font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;cursor:pointer;&:active{border:1px solid ",";color:",";}"],C.fonts.supporting,C.colours.functional.primary,C.colours.functional.action,C.colours.functional.action),Y=x.a.div.withConfig({displayName:"styles__Container",componentId:"e5otdw-0"})(["display:flex;flex-direction:column;margin:0 auto 20px auto;padding:20px;background-color:#f9f9f9;border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],t=>{let e=t.sectionColour;return"2px solid ".concat(e)},C.breakpoints.medium,C.breakpoints.wide),Z=x.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"e5otdw-1"})(["padding-bottom:12px;img{display:block;width:100%;}@media (min-width:","px){width:50%;padding-right:20px;padding-bottom:0;}"],C.breakpoints.medium),G=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"e5otdw-2"})(["display:flex;flex-direction:column;justify-content:space-between;@media (min-width:","px){width:",";}"],C.breakpoints.medium,t=>t.hasImage?"50%":"100%"),V=x.a.div.withConfig({displayName:"styles__Label",componentId:"e5otdw-3"})(["padding-bottom:",";color:",";font-family:",";font-size:12px;letter-spacing:0.1em;text-transform:uppercase;letter-spacing:1px;"],t=>t.hasImage?"8px":"12px",t=>t.sectionColour,C.fonts.supporting),J=x.a.h4.withConfig({displayName:"styles__Headline",componentId:"e5otdw-4"})(["margin:0;padding-bottom:8px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;:hover{color:#069;}@media (min-width:","px){font-size:",";line-height:",";}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.wide,t=>t.hasImage?"24px":"28px",t=>t.hasImage?"24px":"28px"),K=x.a.div.withConfig({displayName:"styles__Copy",componentId:"e5otdw-5"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],C.colours.functional.secondary,C.fonts.body),X={attrs:{event_navigation_name:"in-article component displayed : puff",event_navigation_browsing_method:"scroll"}},Q=t=>{let e=t.sectionColour,n=t.forceImageAspectRatio;const o=t.isLiveOrBreaking||"no flag",a=(t,e)=>{t&&t(((t,e)=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click",article_flag:e}}))(e,o))},l=f(),c=l.loading,s=l.error,d=l.data;if(c)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(s||void 0===d||0===d.body.data.length)return null;const p=d.body.data[0].data,u=p.image,m=p.label,h=p.headline,y=p.copy,x=p.link,b=p.linkText,w=Boolean(u);return i.a.createElement(L,{context:{object:"InArticlePuff",attrs:{component_type:"in-article component : puff : interactive",event_navigation_action:"navigation",component_name:"".concat(h),article_flag:o}},scrolledEvent:X},t=>{let o=t.fireAnalyticsEvent,r=t.intersectObserverRef;return i.a.createElement(Y,{ref:r,sectionColour:e},u?i.a.createElement(Z,null,i.a.createElement("a",{href:x,onClick:()=>a(o,"image")},i.a.createElement(v,{ratio:n},i.a.createElement("img",{src:u})))):null,i.a.createElement(G,{hasImage:w},i.a.createElement("div",null,i.a.createElement(V,{hasImage:w,sectionColour:e},m),i.a.createElement("a",{href:x,onClick:()=>a(o,"headline")},i.a.createElement(J,{hasImage:w},h)),y&&i.a.createElement(K,{dangerouslySetInnerHTML:{__html:g(y,{b:{},i:{}})}})),i.a.createElement(k,{link:x,linkText:b||"Read more",onClick:()=>a(o,b||"Read more")})))})};var tt=n(6),et=n.n(tt);const nt=x.a.div.withConfig({displayName:"styles__Headline",componentId:"w8icgs-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;padding-bottom:0;}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.breakpoints.wide),ot=x.a.div.withConfig({displayName:"styles__SubHeading",componentId:"w8icgs-1"})(["font-size:22px;line-height:22px;color:",";font-family:",";padding-bottom:7px;@media (min-width:","px){font-size:24px;line-height:24px;}"],C.colours.functional.brandColour,C.fonts.headlineRegular,C.breakpoints.medium),it=x.a.div.withConfig({displayName:"styles__BodyCopy",componentId:"w8icgs-2"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],C.colours.functional.secondary,C.fonts.body),rt=x.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"w8icgs-3"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],C.breakpoints.medium),at=x.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"w8icgs-4"})(["display:flex;flex-direction:row;align-items:center;"]),lt=x.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"w8icgs-5"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}@media (hover:hover){&:hover{border:solid 1px ",";}}@media (hover:none){&:active{border:solid 1px ",";}}"],t=>t.disabled?C.colours.functional.keyline:C.colours.functional.primary,t=>t.disabled?"none":"auto",t=>t.disabled?C.colours.functional.keyline:C.colours.functional.primary,t=>t.disabled?C.colours.functional.keyline:C.colours.functional.action,t=>t.disabled?C.colours.functional.keyline:C.colours.functional.action),ct=x.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"w8icgs-6"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),st=x.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"w8icgs-7"})(["background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],t=>t.active?C.colours.functional.action:C.colours.functional.keyline),dt=x()(et.a).withConfig({displayName:"styles__StyledCarousel",componentId:"w8icgs-8"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}"]),pt=x.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"w8icgs-9"})(["background-color:",";padding-bottom:16px;margin:0 auto 20px auto;border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}& div.rec-carousel-item.rec-carousel-item-visible{border-right:1px solid ",";}& div.rec-carousel-item:last-child{border-right:none;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},t=>{let e=t.isWide,n=t.isStandard;return(e?"100%":n&&"auto")||"auto"},C.breakpoints.medium,t=>{let e=t.isWide,n=t.isStandard;return(e?"100%":n&&"80.8%")||"80.8%"},C.breakpoints.wide,t=>{let e=t.isWide,n=t.isStandard;return(e?"100%":n&&"56.2%")||"56.2%"},C.colours.functional.keyline),ut=x.a.div.withConfig({displayName:"styles__CardContainer",componentId:"w8icgs-10"})(["display:flex;flex-direction:column;background-color:",";width:100%;height:30%;padding:20px 16px 14px 16px;"],C.colours.functional.backgroundPrimary),ft=x.a.div.withConfig({displayName:"styles__CardContent",componentId:"w8icgs-11"})(["display:flex;flex-direction:column;height:100%;"]),mt=x.a.div.withConfig({displayName:"styles__InfoCardContainer",componentId:"w8icgs-12"})(["padding:0 16px;float:left;width:100%;"]),ht=x.a.img.withConfig({displayName:"styles__CardImg",componentId:"w8icgs-13"})(["padding:4px 0 12px;-webkit-user-drag:none;pointer-events:none;}"]),gt=t=>{let e=t.sectionColour,n=t.label,o=t.headline,r=t.children;return i.a.createElement(ut,null,i.a.createElement(ft,null,i.a.createElement(H,{sectionColour:e},n),i.a.createElement(rt,null,i.a.createElement(nt,null,o),r)))},yt=t=>{let e=t.size,n=void 0===e?{width:"16",height:"16"}:e;return i.a.createElement("svg",{width:n.width,height:n.height,xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M7.29 12.956L3.903 7.049 7.289.97h-.96L.697 7.013l5.632 5.943z",fillRule:"nonzero"}))};function xt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bt(t,e)}(t,e)||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.")}()}function bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var wt;!function(t){t.Standard="4043",t.Wide="4042"}(wt||(wt={}));let vt=new Array;const _t=C.breakpoints.small,Ct=C.breakpoints.medium,Ot=C.breakpoints.wide,Et=t=>{let e=t.activePage,n=t.onClick,o=t.current,r=t.data,a=t.showDisplayItem,l=t.windowWidth,c=t.showDotItem;return i.a.createElement(at,null,i.a.createElement(lt,{"data-testid":"Previous button",disabled:0===e,onClick:()=>n(o/a-1,"left")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})),i.a.createElement(ct,null,r.map((t,o)=>{if(function(t){if(null==t)throw new TypeError("Cannot destructure undefined")}(t),o<c){const t=e===o;return i.a.createElement(st,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:t})}})),i.a.createElement(lt,{"data-testid":"Next Button",disabled:e===Math.trunc(r.length/a-(Ct>l?1:0)),className:"nextBtn",onClick:()=>n(o/a+1,"right")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})))},kt=t=>{let e=t.sectionColour,n=t.initialIndex,a=void 0===n?0:n;const l=f(),c=l.loading,s=l.error,d=l.data;if(s)return null;if(c||void 0===d)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));const p=d.fields,u=p.headline,m=p.label,h=p.size,y=d.body.data,x=t=>t===wt.Standard,b=t=>t===wt.Wide,w=xt(Object(o.useState)("undefined"!=typeof window?window.innerWidth:0),2),_=w[0],C=w[1],O=xt(Object(o.useState)(1),2),E=O[0],k=O[1],j=_.toString(),I=()=>C(window.innerWidth);Object(o.useEffect)(()=>(window.addEventListener("resize",I),()=>{window.removeEventListener("resize",I)}),[]),Object(o.useEffect)(()=>{A()});const S=[{width:_t,itemsToShow:1,itemsToScroll:1}];b(h)&&(vt=[...S,{width:Ct,itemsToShow:2,itemsToScroll:2},{width:Ot,itemsToShow:3,itemsToScroll:3}]),x(h)&&(vt=[...S,{width:_t+55,itemsToShow:2,itemsToScroll:2}]);const A=()=>{j<Ct?k(vt[0].itemsToScroll):j>=Ot&&b(h)?k(vt[2].itemsToScroll):k(vt[1].itemsToScroll)},z=y.length/E,N=y.length>(j>=Ot&&b(h)?3:j<Ct?1:2),T=xt(Object(o.useState)(a),2),P=T[0],M=T[1],H=t=>{M(t.index)};return i.a.createElement(L,{context:{object:"InfoCard",attrs:{component_type:"in-article component : text-image info cards : interactive",event_navigation_action:"navigation",event_navigation_browsing_method:"click",component_name:"".concat(u)}},scrolledEvent:{attrs:{component_type:"in-article component : text-image info cards : "+(z>1?"interactive":"static"),event_navigation_name:"in-article component displayed : text-image info cards",event_navigation_browsing_method:"scroll"}}},t=>{let n=t.intersectObserverRef,o=t.fireAnalyticsEvent;return i.a.createElement(pt,{sectionColour:e,isWide:b(h),isStandard:x(h),ref:n},i.a.createElement(dt,{sectionColour:e,breakPoints:vt,isRTL:!1,onChange:H,showArrows:!1,enableSwipe:N,renderPagination:t=>{let n=t.activePage,r=t.onClick;return i.a.createElement(gt,{data:y[P],headline:u,label:m,sectionColour:e},N&&i.a.createElement(Et,{activePage:n,onClick:(t,e)=>{e&&o({attrs:{event_navigation_name:"button : ".concat(e),component_name:u}}),r&&r(t)},current:P,data:y,showDisplayItem:E,windowWidth:_.toString(),showDotItem:z}))}},y.map((t,e)=>i.a.createElement(mt,{key:e},t.data.image&&i.a.createElement(v,{ratio:"16:9"},i.a.createElement(ht,{src:t.data.image})),t.data.subtitle&&i.a.createElement(ot,null,t.data.subtitle),t.data.copy&&i.a.createElement(it,{dangerouslySetInnerHTML:{__html:g(t.data.copy,{br:{},b:{},i:{}})}})))))})};const jt=x.a.div.withConfig({displayName:"styles__Headline",componentId:"d49zf9-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;font-size:",";line-height:",";padding-bottom:",";}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"32px":"24px",t=>t.isWide?"32px":"24px",t=>t.isWide?"0px":"14px"),It=x.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"d49zf9-1"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],C.breakpoints.medium),St=x.a.div.withConfig({displayName:"styles__Copy",componentId:"d49zf9-2"})(["color:#555555;font-family:",";font-size:14px;line-height:20px;padding-bottom:16px;@media (min-width:","px){width:",";font-size:16px;line-height:24px;}"],C.fonts.body,C.breakpoints.wide,t=>t.isWide?"60%":"100%"),At=x.a.div.withConfig({displayName:"styles__ImageTitle",componentId:"d49zf9-3"})(["font-size:16px;line-height:16px;font-family:",";padding-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}@media (min-width:","px){font-size:",";line-height:",";}"],C.fonts.headlineRegular,C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"24px":"18px",t=>t.isWide?"24px":"18px"),zt=x.a.div.withConfig({displayName:"styles__Credit",componentId:"d49zf9-4"})(["text-transform:uppercase;font-size:12px;line-height:16px;font-family:",";color:",";padding-bottom:10px;padding-top:8px;@media (min-width:","px){padding-top:12px;}@media (min-width:","px){padding-top:12px;padding-bottom:",";}"],C.fonts.supporting,C.colours.functional.secondary,C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"8px":"14px"),Nt=x.a.div.withConfig({displayName:"styles__CardContainer",componentId:"d49zf9-5"})(["display:flex;flex-direction:column;background-color:#f9f9f9;width:100%;height:30%;padding:20px 16px 16px 16px;@media (min-width:","px){padding:20px 20px 12px 20px;}@media (min-width:","px){height:",";width:",";padding:",";}"],C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"30%":"auto",t=>{let e=t.isWide,n=t.isSmall;return(e?"100%":n&&"36%")||"33%"},t=>t.isWide?"20px 16px 16px 16px":"20px 16px"),Tt=x.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"d49zf9-6"})(["display:flex;flex-direction:row;align-items:center;"]),Pt=x.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"d49zf9-7"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;padding-left:6px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}&:hover{border:solid 1px #0a68c1;}"],t=>t.disabled?"#e4e4e4":"#000000",t=>t.disabled?"none":"auto",t=>t.disabled?"#CCCCCC":"black"),Mt=x.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"d49zf9-8"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),Lt=x.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"d49zf9-9"})(["background-color:#cccccc;background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],t=>t.active?"#1573A2":"#CCCCCC"),Wt=x.a.div.withConfig({displayName:"styles__CardContent",componentId:"d49zf9-10"})(["display:flex;flex-direction:column;height:100%;"]),Ht=x.a.div.withConfig({displayName:"styles__MobileOrLarge",componentId:"d49zf9-11"})(["display:block;@media (min-width:","px){display:",";}"],C.breakpoints.wide,t=>t.isWide?"block":"none"),Rt=x.a.div.withConfig({displayName:"styles__NotMobileOrLarge",componentId:"d49zf9-12"})(["display:none;@media (min-width:","px){display:",";justify-content:space-between;height:100%;flex-direction:column;}"],C.breakpoints.wide,t=>t.isWide?"none":"flex"),Dt=x.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"d49zf9-13"})(["background-color:#f9f9f9;border-top:",";flex-direction:",";@media (min-width:","px){width:",";}"],t=>{let e=t.sectionColour;return"2px solid ".concat(e)},t=>t.isWide||window.innerWidth<1024?"column-reverse":"row-reverse",C.breakpoints.wide,t=>t.isSmall?"82.1%":"100%"),qt=x()(et.a).withConfig({displayName:"styles__StyledCarousel",componentId:"d49zf9-14"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}@media (min-width:","px){flex-direction:",";}"],C.breakpoints.medium,t=>t.isWide||window.innerWidth<1024?"column-reverse":"row-reverse"),Ft=t=>{let e=t.children,n=t.isWide,o=t.data,r=t.headline,a=t.label,l=t.isSmall,c=t.sectionColour;const s=o.data;return i.a.createElement(Nt,{isWide:n,isSmall:l},i.a.createElement(Wt,null,i.a.createElement(H,{sectionColour:c},a),i.a.createElement(It,null,i.a.createElement(jt,{isWide:n},r),i.a.createElement(Ht,{isWide:n},e)),i.a.createElement(Rt,{isWide:n},i.a.createElement("div",null,s.imageTitle&&i.a.createElement(At,{isWide:n},s.imageTitle),s.copy&&i.a.createElement(St,{isWide:n,dangerouslySetInnerHTML:{__html:g(s.copy,{br:{},b:{},i:{}})}})),i.a.createElement("div",null,i.a.createElement(zt,{isWide:n},s.credit),e))))};function Ut(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bt(t,e)}(t,e)||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.")}()}function Bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const $t=t=>{let e=t.activePage,n=t.onClick,o=t.current,r=t.data;return i.a.createElement(Tt,null,i.a.createElement(Pt,{"data-testid":"Previous button",disabled:0===e,onClick:()=>n(o-1,"left")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})),i.a.createElement(Mt,null,r.map((t,o)=>{!function(t){if(null==t)throw new TypeError("Cannot destructure undefined")}(t);const r=e===o;return i.a.createElement(Lt,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:r})})),i.a.createElement(Pt,{"data-testid":"Next Button",disabled:e===r.length-1,className:"nextBtn",onClick:()=>n(o+1,"right")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})))};var Yt;!function(t){t.Small="4033",t.Wide="4035"}(Yt||(Yt={}));const Zt=t=>{let e=t.sectionColour,n=t.initialIndex,a=void 0===n?0:n;const l=f(),c=l.loading,s=l.error,d=l.data;if(c)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(s||void 0===d||0===d.body.data.length)return null;const p=d.fields,u=p.headline,m=p.label,h=p.size,y=d.body.data,x=t=>t===Yt.Small,b=t=>t===Yt.Wide,w=Ut(Object(o.useState)(a),2),_=w[0],C=w[1],O=t=>{C(t.index)};return i.a.createElement(L,{context:{object:"GalleryCarousel",attrs:{component_type:"in-article component : gallery : interactive",event_navigation_action:"navigation",component_name:"".concat(u)}},scrolledEvent:{attrs:{event_navigation_name:"in-article component displayed : gallery",event_navigation_browsing_method:"scroll"}}},t=>{let n=t.intersectObserverRef,o=t.fireAnalyticsEvent;return i.a.createElement(Dt,{sectionColour:e,isWide:b(h),isSmall:x(h),ref:n},i.a.createElement(qt,{sectionColour:e,isWide:b(h),itemsToScroll:1,itemsToShow:1,isRTL:!1,onChange:O,showArrows:!1,renderPagination:t=>{let n=t.activePage,r=t.onClick;return i.a.createElement(Ft,{isWide:b(h),data:y[_],headline:u,label:m,isSmall:x(h),sectionColour:e},y.length>1&&i.a.createElement($t,{activePage:n,onClick:(t,e)=>{e&&o({attrs:{event_navigation_name:"button : ".concat(e),component_name:u,event_navigation_browsing_method:"click"}}),r&&r(t)},current:_,data:y}))}},y.map(t=>i.a.createElement("div",{style:{width:"100%"}},i.a.createElement(v,{ratio:"3:2"},i.a.createElement("img",{src:t.data.image}))))),i.a.createElement(Ht,{isWide:b(h)},i.a.createElement("div",{style:{paddingLeft:"16px",paddingRight:"16px"}},i.a.createElement(zt,{isWide:b(h)},y[_].data.credit),y[_].data.imageTitle&&i.a.createElement(At,{isWide:b(h)},y[_].data.imageTitle),y[_].data.copy&&i.a.createElement(St,{isWide:b(h),dangerouslySetInnerHTML:{__html:g(y[_].data.copy,{br:{},b:{},i:{}})}}))))})},Gt=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwze61-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},C.breakpoints.medium,C.breakpoints.wide),Vt=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwze61-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 20px;"]),Jt=x.a.div.withConfig({displayName:"styles__Headline",componentId:"sc-1qwze61-2"})(["font-family:",";font-size:24px;line-height:24px;color:",";@media (min-width:","px){font-size:32px;line-height:32px;}"],C.fonts.headline,C.colours.functional.brandColour,C.breakpoints.medium),Kt=x.a.div.withConfig({displayName:"styles__ReadMoreContainer",componentId:"sc-1qwze61-3"})(["display:flex;border-top:1px solid ",";margin-top:",";padding:5px;justify-content:center;display:",";@media (min-width:","px){display:none;}"],C.colours.functional.keyline,t=>t.readMore?"0":"15px",t=>t.showReadMore?"flex":"none",C.breakpoints.medium),Xt=x.a.button.withConfig({displayName:"styles__ReadMoreButton",componentId:"sc-1qwze61-4"})(["font-size:12px;font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;margin:15px 0;padding:10px 12px 5px;cursor:pointer;&:active{border:1px solid ",";color:",";}"],C.fonts.supporting,C.colours.functional.primary,C.colours.functional.action,C.colours.functional.action),Qt=x.a.div.withConfig({displayName:"styles__ListContainer",componentId:"sc-1qwze61-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";@media (min-width:","px){max-height:none;}"],t=>{let e=t.readMore,n=t.maxHeight,o=t.showReadMore;return!e&&o?n+"px":"none"},C.breakpoints.medium),te=x.a.ul.withConfig({displayName:"styles__List",componentId:"sc-1qwze61-6"})(["column-count:1;column-gap:25px;column-rule:1px solid ",";margin-left:0;padding:0;@media (min-width:","px){column-count:2;margin-bottom:20px;}"],C.colours.functional.keyline,C.breakpoints.medium),ee=x.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwze61-7"})(["color:",";font-family:",";font-size:16px;line-height:24px;-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid;margin:0 5px 13px 0;padding-left:15px;list-style:none;position:relative;&:last-child{margin-bottom:0;}&::before{content:'';position:absolute;left:3px;top:7px;width:6px;height:6px;background-color:",";border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;}"],C.colours.functional.secondary,C.fonts.body,C.colours.functional.primary);function ne(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return oe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(t,e)}(t,e)||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.")}()}function oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const ie={attrs:{event_navigation_name:"in-article component displayed : bullet point component",event_navigation_browsing_method:"automated"}},re=C.breakpoints.medium,ae=t=>{let e=t.sectionColour;const n=f(),a=n.loading,l=n.error,c=n.data;if(a)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(l||void 0===c)return null;const s=c.fields,d=s.headline,p=s.label,u=c.body.data,m=ne(Object(o.useState)(!1),2),h=m[0],y=m[1],x=Object(o.useRef)(null),b=ne(Object(o.useState)(!1),2),w=b[0],v=b[1],_=window.innerWidth.toString();return Object(o.useEffect)(()=>{const t=x.current;t&&v(t.clientHeight>350)},[]),i.a.createElement(L,{context:{object:"InArticleBulletPoint",attrs:{component_type:"in-article component : bullet point component: "+(w&&_<re?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(d)}},scrolledEvent:ie},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(Gt,{ref:o,sectionColour:e},i.a.createElement(Vt,null,i.a.createElement(H,{sectionColour:e},p),i.a.createElement(Jt,null,d),i.a.createElement(Qt,{ref:x,readMore:h,maxHeight:350,showReadMore:w},i.a.createElement(te,null,u.map((t,e)=>i.a.createElement(ee,{key:e,dangerouslySetInnerHTML:{__html:g(t.data.copy,{b:{},i:{}})}}))))),i.a.createElement(Kt,{readMore:h,showReadMore:w},i.a.createElement(Xt,{onClick:()=>((t,e)=>{t&&t((t=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click"}}))(e)),y(!h)})(n,h?"Collapse":"Read more")},h?"Collapse":"Read more")))})},le=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1tqomyo-0"})(["margin:0 auto 20px auto;padding:23px 0 0;background-color:",";border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}a{text-decoration:none;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},t=>t.isWide?"100%":"auto",C.breakpoints.medium,t=>t.isWide?"100%":"80.8%",C.breakpoints.wide,t=>t.isWide?"100%":"56.2%"),ce=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1tqomyo-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),se=x()($).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1tqomyo-2"})(["font-size:12px;margin:15px 0;padding:10px 12px 5px;"]),de=x.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1tqomyo-3"})(["flex:1 0 50%;padding:12px 16px 13px 0;border-width:0 1px 1px 0;border-style:solid;border-color:",";padding-left:16px;&:empty{height:0;border:none;}&:before,:after{box-sizing:border-box;}@media (min-width:","px){flex:1 0 ",";}"],C.colours.functional.keyline,C.breakpoints.medium,t=>t.isStandard?"50%":"33%"),pe=x.a.div.withConfig({displayName:"styles__NumberContainer",componentId:"sc-1tqomyo-4"})(["font-family:",";font-size:32px;line-height:32px;margin-bottom:4px;color:",";@media (min-width:","px){font-size:50px;line-height:40px;}"],C.fonts.headline,t=>{let e=t.sectionColour;return"".concat(e)},C.breakpoints.medium);var ue;!function(t){t.Standard="4043",t.Wide="4042"}(ue||(ue={}));const fe=t=>t===ue.Wide;function me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return he(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return he(t,e)}(t,e)||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.")}()}function he(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const ge={attrs:{event_navigation_name:"in-article component displayed : big numbers",event_navigation_browsing_method:"scroll"}},ye=t=>{let e=t.sectionColour;const n=f(),a=n.loading,l=n.error,c=n.data;if(a)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(l||void 0===c)return null;const s=c.fields,d=s.headline,p=s.label,u=s.size,m=c.body.data,h=me(Object(o.useState)(!1),2),y=h[0],x=h[1],b=Object(o.useRef)(null),w=me(Object(o.useState)(!1),2),v=w[0],_=w[1],C=fe(u)?250:350;return Object(o.useEffect)(()=>{const t=b.current;t&&_(t.clientHeight>C)},[]),i.a.createElement(L,{context:{object:"InArticleBigNumbers",attrs:{component_type:"in-article component : big numbers: "+(v?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(d)}},scrolledEvent:ge},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(le,{ref:o,sectionColour:e,isWide:fe(u)},i.a.createElement(ce,null,i.a.createElement(H,{sectionColour:e},p),d&&i.a.createElement(B,null,d),i.a.createElement(F,{ref:b,showAll:y,maxHeight:C,displayShowAll:v},i.a.createElement(q,null,m.map((t,n)=>{return i.a.createElement(de,{key:n,isStandard:(o=u,o===ue.Standard)},i.a.createElement(pe,{sectionColour:e},t.data.number),i.a.createElement(D,{dangerouslySetInnerHTML:{__html:g(t.data.copy,{br:{},b:{},i:{}})}}));var o})))),i.a.createElement(U,{showAll:y,displayShowAll:v},i.a.createElement(se,{onClick:()=>((t,e)=>{t&&t((t=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click"}}))(e)),x(!y)})(n,y?"Collapse":"Show all")},y?"Collapse":"Show all")))})};var xe=n(8);const be=x.a.div.withConfig({displayName:"styles__LiveArticleFlagContainer",componentId:"sc-1ipxqw1-0"})(["background-color:#9f0000;height:24px;padding:7px 7px 7px 9px;display:flex;flex-direction:row;width:fit-content;"]),we=x.a.span.withConfig({displayName:"styles__LiveArticleFlagText",componentId:"sc-1ipxqw1-1"})(["font-family:",";color:#ffffff;font-weight:500;font-size:12px;letter-spacing:0.1em;"],C.fonts.supporting),ve=Object(y.keyframes)(["0%{background-color:#ffffff;}50%{background-color:#9f0000;}100%{background-color:#ffffff;}"]),_e=x.a.div.withConfig({displayName:"styles__LiveArticleFlagIconContainer",componentId:"sc-1ipxqw1-2"})(["height:100%;display:flex;align-items:center;margin-right:7px;"]),Ce=x.a.div.withConfig({displayName:"styles__LiveArticleFlagIcon",componentId:"sc-1ipxqw1-3"})(["height:6px;width:6px;animation:"," 2000ms infinite;"],ve),Oe=x.a.div.withConfig({displayName:"styles__ArticleFlagContainer",componentId:"sc-1ipxqw1-4"})(["display:flex;align-items:center;flex-direction:row;"]),Ee=x.a.div.withConfig({displayName:"styles__LiveFlagAndTimestampContainer",componentId:"sc-1ipxqw1-5"})(["display:flex;align-items:center;flex-direction:row;"]),ke=x.a.div.withConfig({displayName:"styles__ArticleFlagBullet",componentId:"sc-1ipxqw1-6"})(["border-radius:2.5px;height:5px;width:5px;background-color:",";"],t=>{let e=t.color;return Object(xe.gqlRgbaToStyle)(e)||e}),je=x.a.div.withConfig({displayName:"styles__ArticleFlagTextContainer",componentId:"sc-1ipxqw1-7"})(["font-family:TimesDigitalW04-RegularSC;font-size:12px;font-weight:400;letter-spacing:0.6px;line-height:12px;margin-left:5px;color:",";"],t=>{let e=t.color;return Object(xe.gqlRgbaToStyle)(e)||e}),Ie=x.a.div.withConfig({displayName:"styles__FlagPadding",componentId:"sc-1ipxqw1-8"})(["margin-right:",";"],t=>t.allFlags.length>1?"15px":0),Se=x.a.div.withConfig({displayName:"styles__Flags",componentId:"sc-1ipxqw1-9"})(["display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;"]),Ae=x.a.div.withConfig({displayName:"styles__FlagsContainer",componentId:"sc-1ipxqw1-10"})(["margin-bottom:15px;margin-top:5px;"]);var ze=n(4);const Ne=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-340u2v-0"})(["display:flex;flex-direction:column;padding:3px 0 0 8px;"]),Te=x.a.div.withConfig({displayName:"styles__TimeSinceUpdate",componentId:"sc-340u2v-1"})(["color:",";font-family:",";font-size:12px;line-height:16px;"],t=>t.color||C.colours.functional.primary,C.fonts.supporting),Pe=t=>{let e=t.updatedTime,n=t.color;if(!e)return null;const o=new Date,r=new Date(e),a=Object(ze.formatDistanceStrict)(r,o,{roundingMethod:"floor"})+" ago",l=Object(ze.differenceInSeconds)(o,r),c=l<60,s=l<46800;return i.a.createElement(Ne,null,!c&&s?i.a.createElement(Te,{color:n,"data-testId":"MinutesHoursSinceUpdate"},"Updated ".concat(a)):s?null:i.a.createElement(Te,{color:n,"data-testId":"DateTimeUpdated"},"Updated ",Object(ze.format)(r,"MMMM d, "),Object(ze.format)(r,"h.mmaaa")))},Me=Object(o.createContext)(void 0),Le=t=>{let e=t.updatedTime,n=t.children;return i.a.createElement(Me.Provider,{value:e},n)},We=t=>{let e=t.title,n=t.timeStampTextColor;const r=Object(o.useContext)(Me);return i.a.createElement(Ee,null,i.a.createElement(be,null,i.a.createElement(_e,null,i.a.createElement(Ce,null)),i.a.createElement(we,null,e)),i.a.createElement(Pe,{updatedTime:r,color:n}))},He=t=>{let e=t.color;return i.a.createElement(We,{timeStampTextColor:e,title:"LIVE"})},Re=t=>{let e=t.color;return i.a.createElement(We,{timeStampTextColor:e,title:"BREAKING"})};var De=t=>t?t.filter(t=>null===t.expiryTime||(new Date).getTime()<new Date(t.expiryTime).getTime()):[];const qe=t=>{let e=t.color,n=void 0===e?C.colours.functional.primary:e,o=t.title;return i.a.createElement(Oe,null,i.a.createElement(ke,{color:n}),i.a.createElement(je,{"aria-label":"".concat(o," Flag"),color:n,"data-testid":"flag-".concat(o)},o.toLowerCase()))},Fe=t=>{let e=t.color,n=void 0===e?C.colours.functional.articleFlagNew:e;return i.a.createElement(qe,{color:n,title:"new"})},Ue=t=>{let e=t.color,n=void 0===e?C.colours.functional.articleFlagUpdated:e;return i.a.createElement(qe,{color:n,title:"updated"})},Be=t=>{let e=t.color,n=void 0===e?C.colours.functional.articleFlagExclusive:e;return i.a.createElement(qe,{color:n,title:"exclusive"})},$e=t=>{let e=t.color,n=void 0===e?C.colours.functional.tertiary:e;return i.a.createElement(qe,{color:n,title:"sponsored"})},Ye=t=>{let e=t.color,n=void 0===e?C.colours.functional.secondary:e;return i.a.createElement(qe,{color:n,title:"long read"})},Ze=t=>{let e=t.allFlags,n=t.overrideColor,o=void 0===n?"":n;return i.a.createElement(Se,null,e.map(t=>i.a.createElement(Ie,{key:t.type,allFlags:e},function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==e&&(t={color:e}),new Map([["NEW",i.a.createElement(Fe,Object.assign({},t))],["LIVE",i.a.createElement(He,Object.assign({},t))],["BREAKING",i.a.createElement(Re,Object.assign({},t))],["UPDATED",i.a.createElement(Ue,Object.assign({},t))],["EXCLUSIVE",i.a.createElement(Be,Object.assign({},t))],["SPONSORED",i.a.createElement($e,Object.assign({},t))],["LONGREAD",i.a.createElement(Ye,Object.assign({},t))]])}(o).get(t.type))))},Ge=t=>{let e=t.flags,n=void 0===e?[]:e,o=t.longRead,r=void 0!==o&&o,a=t.withContainer,l=void 0!==a&&a,c=t.color,s=void 0===c?"":c;const d=[...De(n),...r?[{expiryTime:null,type:"LONGREAD"}]:[]];return d.length?l?i.a.createElement(Ae,null,i.a.createElement(Ze,{allFlags:d,overrideColor:s})):i.a.createElement(Ze,{allFlags:d,overrideColor:s}):null};const Ve=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwfd1c-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";width:100%;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}a{text-decoration:none;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},C.breakpoints.medium,C.breakpoints.wide),Je=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwfd1c-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),Ke=x()($).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1qwfd1c-2"})(["font-size:14px;margin:11px 0;padding:12px 15px 10px;"]),Xe=x.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwfd1c-3"})(["padding:12px 0 13px;width:100%;position:relative;"]),Qe=x.a.div.withConfig({displayName:"styles__LeftPanel",componentId:"sc-1qwfd1c-4"})(["display:table;float:left;width:",";text-align:center;padding-right:",";height:100%;& img{border-radius:100%;height:50px;width:50px;position:relative;margin-left:16px;z-index:2;}&:before{content:'';background:",";position:relative;top:0px;left:15px;width:8px;height:8px;border-radius:100%;z-index:1;display:",";}&:after{content:'';border-right:1px solid #ccc;height:100%;display:block;position:absolute;top:",";left:",";z-index:1;}@media (min-width:","px){width:",";padding-right:",";& img{height:76px;width:76px;}&:after{top:",";left:",";}}"],t=>t.circularImage?"80px":"40px",t=>t.circularImage?"16px":"24px",t=>{let e=t.sectionColour;return"".concat(e)},t=>t.circularImage?"none":"block",t=>t.circularImage?"60px":"20px",t=>t.circularImage?"42px":"19px",C.breakpoints.medium,t=>t.circularImage?"100px":"39px",t=>t.circularImage?"16px":"24px",t=>t.circularImage?"74px":"20px",t=>t.circularImage?"52px":"19px"),tn=x.a.div.withConfig({displayName:"styles__RightPanel",componentId:"sc-1qwfd1c-5"})(["display:grid;"]),en=x.a.div.withConfig({displayName:"styles__Date",componentId:"sc-1qwfd1c-6"})(["font-family:",";text-transform:uppercase;font-size:12px;line-height:16px;margin-bottom:8px;color:",";"],C.fonts.supporting,t=>{let e=t.sectionColour;return"".concat(e)}),nn=x.a.div.withConfig({displayName:"styles__SubHeading",componentId:"sc-1qwfd1c-7"})(["font-size:20px;line-height:20px;color:",";font-family:",";margin-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium);function on(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return rn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rn(t,e)}(t,e)||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.")}()}function rn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const an={attrs:{event_navigation_name:"in-article component displayed : timelines",event_navigation_browsing_method:"scroll"}},ln=t=>{let e=t.sectionColour;const n=f(),a=n.loading,l=n.error,c=n.data;if(a)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(l||void 0===c)return null;const s=c.fields,d=s.headline,p=s.label,u=c.body.data,m=on(Object(o.useState)(!1),2),h=m[0],y=m[1],x=Object(o.useRef)(null),b=on(Object(o.useState)(!1),2),w=b[0],v=b[1];return Object(o.useEffect)(()=>{const t=x.current;t&&v(t.clientHeight>375)},[]),i.a.createElement(L,{context:{object:"InArticleTimelines",attrs:{component_type:"in-article component : timelines: "+(w?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(d)}},scrolledEvent:an},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(Ve,{ref:o,sectionColour:e},i.a.createElement(Je,null,i.a.createElement(H,{sectionColour:e},p),d&&i.a.createElement(B,null,d),i.a.createElement(F,{ref:x,showAll:h,maxHeight:375,displayShowAll:w},i.a.createElement(q,null,u.map((t,n)=>i.a.createElement(Xe,{key:n},i.a.createElement(Qe,{sectionColour:e,circularImage:t.data.image},t.data.image&&i.a.createElement("img",{src:t.data.image})),i.a.createElement(tn,null,i.a.createElement(en,{sectionColour:e},t.data.date),i.a.createElement(nn,null,t.data.eventHeading),i.a.createElement(D,{dangerouslySetInnerHTML:{__html:g(t.data.copy,["br","b","i"])}}))))))),i.a.createElement(U,{showAll:h,displayShowAll:w},i.a.createElement(Ke,{onClick:()=>((t,e)=>{t&&t((t=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click"}}))(e)),y(!h)})(n,h?"Collapse":"Show all")},h?"Collapse":"Show all")))})},cn=()=>"undefined"!=typeof window&&window.sessionStorage;function sn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return dn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dn(t,e)}(t,e)||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.")}()}function dn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function un(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pn(Object(n),!0).forEach((function(e){fn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function fn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const mn=(t,e)=>{const n=cn();if(n){const o=n.getItem("view-count"),i=un(un({},null!==o&&JSON.parse(o)||{}),{},{[t]:e});n.setItem("view-count",JSON.stringify(i))}},hn=t=>{const e=cn();if(e){const n=e.getItem("view-count"),o=null!==n&&JSON.parse(n);return o&&o[t]||1}return null},gn=t=>{const e=hn(t);mn(t,e+1)},yn=t=>{let e=t.displayFunction,n=void 0===e?()=>!0:e,r=t.trackingName,a=t.children;const l=sn(Object(o.useState)(),2),c=l[0],s=l[1],d=sn(Object(o.useState)(null),2),p=d[0],u=d[1];Object(o.useEffect)(()=>{const t=(t=>{const e=hn(t);return mn(t,e),e})(r);s(t)},[]),S(p,()=>gn&&gn(r),{threshold:.5});const f="undefined"!=typeof window&&window.document.cookie.indexOf("nuk-consent-personalisation=1")>=0&&n(c);return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"view-count-observer",ref:u}),i.a.createElement("div",{className:"view-count",style:{display:f?"block":"none"}},a))};var xn=n(12),bn=n(13),wn=n(14),vn=n(15),_n=n.n(vn);const Cn={alignItems:"center",backgroundColor:"transparent",borderColor:C.colours.functional.brandColour,borderStyle:"thin",borderWidth:1,color:C.colours.functional.brandColour,elevation:0,fontFamily:C.fonts.supporting,height:48,justifyContent:"center",letterSpacing:.2,width:"100%"},On=x.a.button.withConfig({displayName:"styles__LinkButton",componentId:"sc-1du8ah1-0"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;border:none;background-color:white;"],C.colours.functional.action,C.fonts.body),En=t=>{let e=t.updatingSubscription,n=void 0!==e&&e,o=t.onPress,r=t.style;const a=M().fireAnalyticsEvent,l=()=>{n||(o&&o(),a&&a({action:"Clicked",object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now",event_navigation_browsing_method:"click",event_navigation_action:"navigation"}}))};return"button"===r?i.a.createElement(_n.a,{title:"One click sign up",onPress:()=>l(),style:Cn,underlayColor:"transparent"}):i.a.createElement(On,{onClick:()=>l()},"One click sign up")};var kn=n(16),jn=n.n(kn);const In=x.a.div.withConfig({displayName:"styles__View",componentId:"sc-18e8ba-0"})(["align-items:stretch;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;margin:0;min-height:0;min-width:0;padding:0;position:relative;z-index:0;"]),Sn=x.a.div.withConfig({displayName:"styles__Text",componentId:"sc-18e8ba-1"})(["border:0 solid black;box-sizing:border-box;color:rgba(0,0,0,1);display:inline;font:14px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;margin:0;padding:0;white-space:pre-wrap;word-wrap:break-word;"]),An=x()(In).withConfig({displayName:"styles__InpContainer",componentId:"sc-18e8ba-2"})(["border-top:2px solid ",";display:flex;flex-direction:column;margin-right:",";margin-bottom:",";margin-left:",";@media (min-width:","px){flex-direction:row;margin:0 auto ",";width:80.8%;}@media (min-width:","px){width:56.2%;}"],t=>{let e=t.section;return e?C.colours.section[e]:"black"},Object(C.spacing)(2),Object(C.spacing)(4),Object(C.spacing)(2),C.breakpoints.medium,Object(C.spacing)(4),C.breakpoints.wide),zn=x()(Sn).withConfig({displayName:"styles__InpPreferencesText",componentId:"sc-18e8ba-3"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;margin-bottom:",";"],C.colours.functional.action,C.fonts.body,Object(C.spacing)(3)),Nn=x()(In).withConfig({displayName:"styles__InpSignupCTAContainer",componentId:"sc-18e8ba-4"})(["@media (min-width:","px){width:220px;margin:0px auto;}"],C.breakpoints.medium),Tn=t=>{let e=t.onPress;return i.a.createElement(L,{scrolledEvent:{object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here : displayed",event_navigation_browsing_method:"automated"}}},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(jn.a,{url:"https://home.thetimes.co.uk/myNews",onPress:()=>(e&&e(),void(n&&n({action:"Clicked",object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here",event_navigation_browsing_method:"click"}})))},i.a.createElement(zn,{ref:o},"Manage preferences here"))})},Pn=x()(In).withConfig({displayName:"styles__Overlay",componentId:"sc-1nvj6r-0"})(["position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,0.9);z-index:1;"]),Mn=x.a.div.withConfig({displayName:"styles__Bubble",componentId:"sc-1nvj6r-1"})(["animation:expand 0.75s ease-in-out infinite;border-radius:20px;display:inline-block;transform-origin:center center;margin:0 7px;width:16px;height:16px;background:#c4c4c4;:nth-child(2){animation-delay:250ms;}:nth-child(3){animation-delay:500ms;}@keyframes expand{100%{background:#6b6b6b;}}"]),Ln=x()(In).withConfig({displayName:"styles__Loader",componentId:"sc-1nvj6r-2"})(["display:flex;flex-direction:row;left:40%;top:45%;@media (min-width:","px){left:40%;top:28%;}"],C.breakpoints.wide),Wn=()=>i.a.createElement(Pn,null,i.a.createElement(Ln,null,i.a.createElement(Mn,null),i.a.createElement(Mn,null),i.a.createElement(Mn,null))),Hn=x()(In).withConfig({displayName:"styles__InpSubscribedContainer",componentId:"sc-8h51gu-0"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding-right:150px;flex:1;}"],C.breakpoints.small),Rn=x()(In).withConfig({displayName:"styles__InpSignupContainer",componentId:"sc-8h51gu-1"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding:16px 10px;flex:1;}"],C.breakpoints.wide),Dn=x()(Sn).withConfig({displayName:"styles__InpSignupHeadline",componentId:"sc-8h51gu-2"})(["color:",";font-family:",";text-align:center;font-size:18px;text-decoration:none;margin-bottom:",";"],C.colours.functional.brandColour,C.fonts.headline,Object(C.spacing)(1)),qn=x()(Sn).withConfig({displayName:"styles__InpCopy",componentId:"sc-8h51gu-3"})(["font-family:",";font-size:18px;text-align:left;letter-spacing:-0.5px;color:",";margin-bottom:",";line-height:26px;"],C.fonts.body,C.colours.functional.primary,Object(C.spacing)(6)),Fn=x()(In).withConfig({displayName:"styles__InpSignupCTAContainer",componentId:"sc-8h51gu-4"})(["display:",";@media (min-width:","px){width:",";margin:0px auto;}@media (min-width:","px){display:",";}"],t=>"link"===t.childStyle?"none":"block",C.breakpoints.medium,t=>"button"===t.childStyle&&"220px",C.breakpoints.wide,t=>"link"===t.childStyle?"inline-block":"none"),Un=x()(In).withConfig({displayName:"styles__InpPreferencesContainer",componentId:"sc-8h51gu-5"})(["flex-direction:row;justify-content:center;"]),Bn=t=>{let e=t.intersectObserverRef,n=t.section,o=t.justSubscribed,r=t.headline,a=t.updatingSubscription,l=t.copy,c=t.code,s=t.subscribeNewsletter;const d=t=>i.a.createElement(Fn,{ref:e,childStyle:t},i.a.createElement(En,{style:t,updatingSubscription:a,onPress:()=>{a||s({variables:{code:c}})}}));return i.a.createElement(i.a.Fragment,null,i.a.createElement(An,{section:n},a&&i.a.createElement(Wn,null),o?i.a.createElement(Hn,null,i.a.createElement(qn,null,"You've succesfully signed up to"," ",i.a.createElement(Dn,null,"".concat(r,".")," "),i.a.createElement(Tn,null)),i.a.createElement(Un,null)):i.a.createElement(Rn,null,i.a.createElement(qn,null,i.a.createElement(Dn,null,r,": "),l,d("link")),d("button"))))},$n=t=>{if(!t)return;const e=t.charAt(0),n=t.split(e);return"".concat(e.toUpperCase()).concat(n[1])};function Yn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Zn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zn(t,e)}(t,e)||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.")}()}function Zn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const Gn=t=>{let e=t.code,n=t.copy,a=t.headline,l=t.section;const c=Yn(Object(o.useState)(!1),2),s=c[0],d=c[1];return i.a.createElement(bn.GetNewsletter,{code:e,ssr:!1,debounceTimeMs:0},t=>{let o=t.isLoading,c=t.error,p=t.newsletter;return c?null:o||!p?i.a.createElement(An,{style:{height:257}},i.a.createElement(r.Placeholder,null)):p.isSubscribed&&!s?null:i.a.createElement(xn.Mutation,{mutation:wn.subscribeNewsletter,onCompleted:t=>{let e=t.subscribeNewsletter;d((void 0===e?{}:e).isSubscribed)}},(t,o)=>{let r=o.loading;return i.a.createElement(L,{context:{object:"InlineNewsletterPuff",attrs:{article_parent_name:p.title,event_navigation_action:"navigation"}},scrolledEvent:{object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now : displayed",event_navigation_browsing_method:"automated",event_navigation_action:"navigation"}}},o=>{let c=o.intersectObserverRef;return i.a.createElement(Bn,{intersectObserverRef:c,section:$n(l),justSubscribed:s,headline:a,updatingSubscription:r,copy:n,code:e,subscribeNewsletter:t})})})})},Vn=t=>{let e=t.code,n=t.copy,o=t.headline,r=t.section;return i.a.createElement(yn,{trackingName:"auto-puff-".concat(e),displayFunction:t=>void 0!==t&&[1,3,5].includes(t)},i.a.createElement(Gn,{code:e,copy:n,headline:o,section:r}))},Jn=t=>{let e=t.copy,n=t.headline,o=t.section;return i.a.createElement(An,{section:o},i.a.createElement(Rn,null,i.a.createElement(Dn,null,n),i.a.createElement(qn,null,e),i.a.createElement(Nn,null,i.a.createElement(En,{style:"button"}))))},Kn=()=>{"undefined"==typeof window||window.opta_settings||(window.opta_settings={subscription_id:"db98cff9f9612c01bbf3435964748e95",language:"en_GB",timezone:"Europe/London",load_when_visible:!1})},Xn=t=>{const e=(t=>{switch(t){case"rugby":return"https://secure.widget.cloud.opta.net/v3/css/v3.rugby.opta-widgets.css";case"football":default:return"https://secure.widget.cloud.opta.net/v3/css/v3.football.opta-widgets.css"}})(t);if(!document.head.querySelector('link[href="'.concat(e,'"]'))){const t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),document.getElementsByTagName("head")[0].appendChild(t)}},Qn=()=>(t=>document.body.querySelector('script[src="'.concat(t,'"]'))?Promise.resolve():new Promise((e,n)=>{const o=document.createElement("script");o.setAttribute("async","async"),o.setAttribute("src",t),o.onload=e,o.onerror=n,document.body.appendChild(o)}))("https://secure.widget.cloud.opta.net/v3/v3.opta-widgets.js"),to=(t,e,n)=>{const o=document.createElement(t);return e&&Object.keys(e).map(t=>{void 0!==e[t]&&o.setAttribute(t,e[t].toString())}),n&&o.appendChild(n),o},eo=()=>{"undefined"!=typeof window&&void 0!==window.Opta&&window.Opta.start()},no=x.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1yydril-0"})(["margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],C.colours.functional.backgroundPrimary,t=>t.border?"2px solid ".concat(C.colours.section.sport):"none",C.breakpoints.medium,t=>t.fullWidth?"100%":"80.8%",C.breakpoints.wide,t=>t.fullWidth?"100%":"56.2%"),oo=x.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1yydril-1"})(["position:relative;height:200px;"]),io=x.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1yydril-2"})([".Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting),ro=(x()(io).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-19pyhbq-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],C.fonts.headline,C.breakpoints.medium),x()(io).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-19pyhbq-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:14px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:14px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],C.colours.functional.backgroundSecondary,C.colours.functional.brandColour,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport));function ao(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return lo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return lo(t,e)}(t,e)||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.")}()}function lo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const co=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.date_from,l=t.date_to,c=t.full_width;const s=i.a.createRef(),d=ao(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{Kn(),Xn("football"),Qn().then(()=>{s.current&&(s.current.innerHTML=to("opta-widget",{sport:"football",widget:"fixtures",season:e,competition:n,date_from:a,date_to:l,live:!0,grouping:"date",show_grouping:!0,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},to("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,eo(),u(!0))})},[]),i.a.createElement(no,{border:p,fullWidth:c},i.a.createElement(ro,{ref:s}),!p&&i.a.createElement(oo,null,i.a.createElement(r.Placeholder,null)))}),so=x()(io).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1ofehep-0"})([".Opta{h3.Opta-groupname{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:6px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:16px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],C.colours.functional.primary,C.fonts.supporting,C.colours.functional.keyline,C.breakpoints.medium,C.colours.functional.brandColour,C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.backgroundPrimary,C.colours.functional.brandColour,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.brandColour,C.colours.functional.backgroundSecondary,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium);function po(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return uo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uo(t,e)}(t,e)||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.")}()}function uo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const fo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.default_nav,l=void 0===a?1:a,c=t.navigation,s=t.full_width;const d=i.a.createRef(),p=po(Object(o.useState)(!1),2),u=p[0],f=p[1];return Object(o.useEffect)(()=>{Kn(),Xn("football"),Qn().then(()=>{d.current&&(d.current.innerHTML=to("opta-widget",{sport:"football",widget:"standings",season:e,competition:n,live:!0,navigation:c?"dropdown":void 0,default_nav:l,show_crests:!0,breakpoints:520}).outerHTML,eo(),f(!0))})},[]),i.a.createElement(no,{border:u,fullWidth:s},i.a.createElement(so,{ref:d}),!u&&i.a.createElement(oo,null,i.a.createElement(r.Placeholder,null)))}),mo=x()(io).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1p8r5mo-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport);function ho(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return go(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return go(t,e)}(t,e)||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.")}()}function go(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const yo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=ho(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Kn(),Xn("football"),Qn().then(()=>{c.current&&(c.current.innerHTML=to("opta-widget",{sport:"football",widget:"match_summary",season:e,competition:n,match:a,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_goals:!0,show_cards:"red",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,eo(),p(!0))})},[]),i.a.createElement(no,{border:d,fullWidth:l},i.a.createElement(mo,{ref:c}),!d&&i.a.createElement(oo,null,i.a.createElement(r.Placeholder,null)))}),xo=x()(io).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1loypld-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.section.sport,C.colours.section.sport,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting);function bo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return wo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return wo(t,e)}(t,e)||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.")}()}function wo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const vo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=bo(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Kn(),Xn("football"),Qn().then(()=>{c.current&&(c.current.innerHTML=to("opta-widget",{sport:"football",widget:"matchstats",season:e,competition:n,match:a,template:"custom",graph_style:"relative",stats_categories:"Category 1|possession,shots,shots_on_target,passes,passes_accuracy,corners_won,fouls_conceded,cards_yellow,cards_red",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,eo(),p(!0))})},[]),i.a.createElement(no,{border:d,fullWidth:l},i.a.createElement(xo,{ref:c}),!d&&i.a.createElement(oo,null,i.a.createElement(r.Placeholder,null)))}),_o=x.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1dlwd3q-0"})(["margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],C.colours.functional.backgroundPrimary,t=>t.border?"2px solid ".concat(C.colours.section.sport):"none",C.breakpoints.medium,t=>t.fullWidth?"100%":"80.8%",C.breakpoints.wide,t=>t.fullWidth?"100%":"56.2%"),Co=x.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1dlwd3q-1"})(["position:relative;height:200px;"]),Oo=x.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1dlwd3q-2"})([".Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting),Eo=(x()(Oo).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"me94al-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],C.fonts.headline,C.breakpoints.medium),x()(Oo).withConfig({displayName:"styles__WidgetContainer",componentId:"me94al-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:14px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:14px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],C.colours.functional.backgroundSecondary,C.colours.functional.brandColour,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport));function ko(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return jo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return jo(t,e)}(t,e)||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.")}()}function jo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const Io=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.date_from,l=t.date_to,c=t.full_width;const s=i.a.createRef(),d=ko(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{Kn(),Xn("rugby"),Qn().then(()=>{s.current&&(s.current.innerHTML=to("opta-widget",{sport:"rugby",widget:"fixtures",season:e,competition:n,date_from:a,date_to:l,live:!0,grouping:"date",show_grouping:!0,show_subgrouping:!1,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},to("opta-widget",{sport:"rugby",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",show_cards:"all",breakpoints:"520"})).outerHTML,eo(),u(!0))})},[]),i.a.createElement(_o,{border:p,fullWidth:c},i.a.createElement(Eo,{ref:s}),!p&&i.a.createElement(Co,null,i.a.createElement(r.Placeholder,null)))}),So=x()(Oo).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-9cbyte-0"})([".Opta{h3{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:6px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:16px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],C.colours.functional.primary,C.fonts.supporting,C.colours.functional.keyline,C.breakpoints.medium,C.colours.functional.brandColour,C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.backgroundPrimary,C.colours.functional.brandColour,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.brandColour,C.colours.functional.backgroundSecondary,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium);function Ao(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return zo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zo(t,e)}(t,e)||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.")}()}function zo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const No=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.default_nav,l=void 0===a?1:a,c=t.navigation,s=t.full_width;const d=i.a.createRef(),p=Ao(Object(o.useState)(!1),2),u=p[0],f=p[1];return Object(o.useEffect)(()=>{Kn(),Xn("rugby"),Qn().then(()=>{d.current&&(d.current.innerHTML=to("opta-widget",{sport:"rugby",widget:"standings",season:e,competition:n,live:!0,navigation:c?"dropdown":void 0,default_nav:l,show_crests:!0,breakpoints:520}).outerHTML,eo(),f(!0))})},[]),i.a.createElement(_o,{border:u,fullWidth:s},i.a.createElement(So,{ref:d}),!u&&i.a.createElement(Co,null,i.a.createElement(r.Placeholder,null)))}),To=x()(Oo).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1pgxtc2-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport);function Po(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Mo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mo(t,e)}(t,e)||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.")}()}function Mo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const Lo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=Po(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Kn(),Xn("rugby"),Qn().then(()=>{c.current&&(c.current.innerHTML=to("opta-widget",{sport:"rugby",widget:"match_summary",season:e,competition:n,match:a,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,eo(),p(!0))})},[]),i.a.createElement(_o,{border:d,fullWidth:l},i.a.createElement(To,{ref:c}),!d&&i.a.createElement(Co,null,i.a.createElement(r.Placeholder,null)))}),Wo=x()(Oo).withConfig({displayName:"styles__WidgetContainer",componentId:"lquz8o-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.section.sport,C.colours.section.sport,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting);function Ho(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ro(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ro(t,e)}(t,e)||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.")}()}function Ro(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const Do=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=Ho(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Kn(),Xn("rugby"),Qn().then(()=>{c.current&&(c.current.innerHTML=to("opta-widget",{sport:"rugby",widget:"matchstats",season:e,competition:n,match:a,template:"custom",graph_style:"relative",stats_categories:"Category 1|tries,passes,tackles,carries,metres,lineouts_won_percent,scrums_won_percent,turnovers_conceded,yellow_cards,red_cards",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,eo(),p(!0))})},[]),i.a.createElement(_o,{border:d,fullWidth:l},i.a.createElement(Wo,{ref:c}),!d&&i.a.createElement(Co,null,i.a.createElement(r.Placeholder,null)))});var qo=n(17),Fo=n.n(qo),Uo=n(18),Bo=n.n(Uo),$o=n(19);const Yo=t=>t.map(t=>({url:t.url,ratio:t.aspectRatio})),Zo=t=>{if(t){if(t.crops)return Yo(t.crops);if(t.posterImage&&t.posterImage.crops)return Yo(t.posterImage.crops)}return[]},Go=t=>{return{url:t.url,label:t.label,byline:(n=t.bylines,n?n.map(t=>"author"===t.type?t.name:t.value).join(""):void 0),headline:t.headline,summary:(e=t.summary,e&&e.children?e.children.map(t=>t.text).join("")+"...":void 0),datePublished:t.publishedDateTime,images:{alt:t.headline,crops:Zo(t.media)}};var e,n},Vo=t=>{switch(t){case 1:return"RELATED_ARTICLE_1";case 2:return"RELATED_ARTICLE_2";default:return"RELATED_ARTICLE_3"}},Jo=t=>({name:Vo(t.length),children:t.map(t=>({article:Go(t)})).slice(0,3)}),Ko=x.a.div.withConfig({displayName:"styles__Header",componentId:"sc-1f3o71-0"})(["margin-bottom:12px;padding:16px 12px 12px 12px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;text-align:center;border-top:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;"],C.colours.functional.brandColour,C.fonts.headline),Xo=t=>{let e=t.heading;const n=f(),o=n.loading,r=n.error,a=n.data;if(o||r)return null;const l=Bo()(a,"recommendations.articles");if(!l||!l.length)return null;const c=M().fireAnalyticsEvent;return i.a.createElement("div",{id:"recommended-articles"},i.a.createElement(Ko,null,e),i.a.createElement($o.Slice,{slice:Jo(l),clickHandler:(t,e)=>{c&&c({action:"Clicked",attrs:{article_parent_name:e.headline}})}}))};function Qo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ti(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ti(t,e)}(t,e)||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.")}()}function ti(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const ei=t=>{let e=t.articleId,n=t.articleHeadline,r=t.articleSection;const a=Qo(Object(o.useState)(!1),2),l=a[0],c=a[1];Object(o.useEffect)(()=>{try{const t=window.nuk.getCookieValue("acs_tnl"),e=window.__TIMES_CONFIG__.environmentName;t&&["local-prod","pr","uat","staging","prod"].includes(e)&&c(!0)}catch(t){console.log(t)}},[]);const s="Today's ".concat(Fo()(r));return l?i.a.createElement(u,{url:"/api/recommended-articles/".concat(e,"/todays_section")},i.a.createElement(L,{context:{object:"RecommendedArticles",attrs:{event_navigation_action:"navigation",event_navigation_name:"widget:relevant article",event_navigation_browsing_method:"click",section_details:"section : ".concat(r),article_name:n,widget_headline:s.toLowerCase(),widget_section:r,widget_type:"today's section"}}},i.a.createElement(Xo,{heading:s}))):null},ni={background:"#bedeed",foreground:"#1573a2"},oi={background:"#ffeecc",foreground:"#ffa300"},ii={background:"#ffd6d6",foreground:"#df0000"},ri=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1lbbpaf-0"})(["display:flex;margin-top:50px;&.info{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.warning{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.error{background-color:",";border-left:4px solid ",";svg{fill:",";}}"],ni.background,ni.foreground,ni.foreground,oi.background,oi.foreground,oi.foreground,ii.background,ii.foreground,ii.foreground),ai=x.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1lbbpaf-1"})(["margin:12px 0 45px 12px;"]),li=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1lbbpaf-2"})(["margin:12px;"]),ci=x.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1lbbpaf-3"})(["font-family:",";font-weight:700;font-size:16px;line-height:16px;margin-bottom:6px;"],C.fonts.supporting),si=x.a.div.withConfig({displayName:"styles__Description",componentId:"sc-1lbbpaf-4"})(["font-family:",";font-weight:500;font-size:14px;line-height:20px;"],C.fonts.supporting),di=t=>{let e=t.size,n=void 0===e?{width:"20",height:"20"}:e;return i.a.createElement("svg",{width:n.width,height:n.height,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM9 15V9H11V15H9ZM9 5V7H11V5H9Z"}))},pi=t=>{let e=t.title,n=t.type,o=t.children;return i.a.createElement(ri,{className:n},i.a.createElement(ai,null,i.a.createElement(di,null)),i.a.createElement(li,null,i.a.createElement(ci,null,e),i.a.createElement(si,null,o)))},ui=x.a.div.withConfig({displayName:"styles__Container",componentId:"kqn9c8-0"})(["display:flex;flex-direction:column;align-items:center;padding:60px;@media (min-width:","px){padding:88px;}"],C.breakpoints.medium),fi=x.a.div.withConfig({displayName:"styles__Title",componentId:"kqn9c8-1"})(["font-family:",";font-size:32px;line-height:32px;letter-spacing:0;text-align:center;padding:24px;"],C.fonts.headline),mi=x.a.div.withConfig({displayName:"styles__Description",componentId:"kqn9c8-2"})(["font-family:",";font-weight:400;font-size:18px;line-height:28px;letter-spacing:0;text-align:center;max-width:660px;"],C.fonts.body),hi=x.a.a.withConfig({displayName:"styles__Button",componentId:"kqn9c8-3"})(["display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;background-color:#008387;color:white;font-family:",";width:127px;height:48px;font-size:16px;font-style:normal;font-weight:500;line-height:20px;letter-spacing:0;margin:24px;"],C.fonts.supporting),gi=t=>{let e=t.title,n=t.href,o=void 0===n?"#":n,r=t.onClick,a=t.buttonText,l=t.children;return i.a.createElement(ui,null,i.a.createElement(fi,null,e),i.a.createElement(mi,null,l),i.a.createElement(hi,{href:o,onClick:r},a))};var yi=n(5);var xi=t=>{try{return decodeURIComponent(t)}catch(e){return t}};const bi=x.a.div.withConfig({displayName:"styles__Container",componentId:"uvi9j3-0"})(["display:flex;flex-direction:column;justify-content:center;margin:48px 10px 24px 10px;padding-top:",";border-top:2px solid #9f0000;@media (min-width:","px){width:80.8%;margin:64px 0 24px 10%;}@media (min-width:","px){width:56.2%;margin:64px 0 24px 22%;}"],t=>t.isBreaking?"8px":"5px",C.breakpoints.medium,C.breakpoints.wide),wi=x.a.div.withConfig({displayName:"styles__UpdatesContainer",componentId:"uvi9j3-1"})(["display:flex;flex-direction:row;justify-content:space-between;"]),vi=x.a.div.withConfig({displayName:"styles__TimeSincePublishingContainer",componentId:"uvi9j3-2"})(["display:flex;flex-direction:row;"]),_i=x.a.div.withConfig({displayName:"styles__TimeSincePublishing",componentId:"uvi9j3-3"})(["color:",";font-family:",";font-size:14px;line-height:18px;"],C.colours.functional.brandColour,C.fonts.supporting),Ci=Object(y.css)(["color:",";font-family:",";font-size:14px;line-height:18px;"],C.colours.functional.secondary,C.fonts.supporting),Oi=x.a.div.withConfig({displayName:"styles__UpdatedTimeItems",componentId:"uvi9j3-4"})(["display:flex;justify-content:space-between;align-items:baseline;"]),Ei=x.a.div.withConfig({displayName:"styles__UpdatedTime",componentId:"uvi9j3-5"})(["",";"],Ci),ki=x.a.div.withConfig({displayName:"styles__UpdatedDate",componentId:"uvi9j3-6"})([""," justify-content:end;padding:0 4px 0 0;"],Ci),ji=x.a.div.withConfig({displayName:"styles__Divider",componentId:"uvi9j3-7"})(["background-color:",";width:1px;margin:2px 8px 6px 8px;"],C.colours.functional.greyLabel),Ii=x.a.h2.withConfig({displayName:"styles__Headline",componentId:"uvi9j3-8"})(["color:",";font-family:",";font-size:28px;line-height:28px;margin-top:22px;margin-bottom:0px;font-weight:400;@media (min-width:","px){font-size:36px;line-height:36px;margin-top:20px;margin-bottom:0px;}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium),Si=x.a.div.withConfig({displayName:"styles__FlagContainer",componentId:"uvi9j3-9"})(["margin-right:8px;"]);function Ai(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return zi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return zi(t,e)}(t,e)||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.")}()}function zi(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var Ni=t=>{let e=t.updated,n=t.breaking,r=t.headline;const a=Ai(Object(o.useState)(""),2),l=a[0],c=a[1],s=new Date,d=new Date(e),p=Object(yi.utcToZonedTime)(d,"Europe/London");Object(o.useEffect)(()=>{"Europe/London"!==Intl.DateTimeFormat().resolvedOptions().timeZone&&c(Object(yi.format)(p,"zzz",{timeZone:"Europe/London"}))});const u=Object(ze.formatDistanceStrict)(d,s,{roundingMethod:"floor"})+" ago",f=Object(ze.differenceInSeconds)(s,d),m=f<60,h=f<3600,g=f<46800,y=Object(ze.differenceInCalendarDays)(s,p)>=1,x=!!n&&Boolean("true"===n.toLowerCase()),b=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=/\D+/g,o=t.replace(n,""),i=/\b(\w)/g,r=e.match(i),a=null===r?"":r.join("");return"u_".concat(o).concat(a)}(e,r);return i.a.createElement(bi,{isBreaking:x&&h,id:b},i.a.createElement(wi,null,i.a.createElement(Oi,null,x&&h?i.a.createElement(Si,null,i.a.createElement(Re,null)):null,!m&&g?i.a.createElement(vi,null,i.a.createElement(_i,{"data-testId":"TimeSincePublishing"},u),i.a.createElement(ji,null)):null,i.a.createElement(Ei,{isLessThan13Hours:!m&&g},"".concat(Object(yi.format)(p,"h.mmaaa")," ").concat(l))),y?i.a.createElement(ki,null,Object(yi.format)(p,"MMMM d")):null),r&&i.a.createElement(Ii,null,xi(r)))};n.d(e,"InArticlePuff",(function(){return Q})),n.d(e,"InfoCard",(function(){return kt})),n.d(e,"GalleryCarousel",(function(){return Zt})),n.d(e,"InfoCardBulletPoints",(function(){return ae})),n.d(e,"BigNumbers",(function(){return ye})),n.d(e,"BreakingArticleFlag",(function(){return Re})),n.d(e,"LiveArticleFlag",(function(){return He})),n.d(e,"ArticleFlag",(function(){return qe})),n.d(e,"ArticleFlags",(function(){return Ge})),n.d(e,"NewArticleFlag",(function(){return Fe})),n.d(e,"UpdatedArticleFlag",(function(){return Ue})),n.d(e,"ExclusiveArticleFlag",(function(){return Be})),n.d(e,"SponsoredArticleFlag",(function(){return $e})),n.d(e,"LongReadArticleFlag",(function(){return Ye})),n.d(e,"Timelines",(function(){return ln})),n.d(e,"AutoNewsletterPuff",(function(){return Vn})),n.d(e,"InlineNewsletterPuff",(function(){return Gn})),n.d(e,"PreviewNewsletterPuff",(function(){return Jn})),n.d(e,"OptaFootballFixtures",(function(){return co})),n.d(e,"OptaFootballStandings",(function(){return fo})),n.d(e,"OptaFootballSummary",(function(){return yo})),n.d(e,"OptaFootballMatchStats",(function(){return vo})),n.d(e,"OptaRugbyFixtures",(function(){return Io})),n.d(e,"OptaRugbyStandings",(function(){return No})),n.d(e,"OptaRugbySummary",(function(){return Lo})),n.d(e,"OptaRugbyMatchStats",(function(){return Do})),n.d(e,"RecommendedFetch",(function(){return ei})),n.d(e,"FetchProvider",(function(){return u})),n.d(e,"ViewCountWrapper",(function(){return yn})),n.d(e,"TrackingContextProvider",(function(){return L})),n.d(e,"HiddenDiv",(function(){return R})),n.d(e,"InlineMessage",(function(){return pi})),n.d(e,"InlineDialog",(function(){return gi})),n.d(e,"ArticleHeader",(function(){return Ni})),n.d(e,"UpdatedTimestamp",(function(){return Pe})),n.d(e,"UpdatedTimeProvider",(function(){return Le})),n.d(e,"safeDecodeURIComponent",(function(){return xi}))}]);
1
+ module.exports=function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={i:o,l:!1,exports:{}};return t[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,o){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:o})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(o,i,function(e){return t[e]}.bind(null,i));return o},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=21)}([function(t,e){t.exports=require("react")},function(t,e){t.exports=require("@times-components/ts-styleguide/rnw")},function(t,e){t.exports=require("styled-components")},function(t,e){t.exports=require("@times-components/image/rnw")},function(t,e){t.exports=require("date-fns")},function(t,e){t.exports=require("date-fns-tz")},function(t,e){t.exports=require("react-elastic-carousel")},function(t,e,n){(function(t){var n=/^\[object .+?Constructor\]$/,o=/^(?:0|[1-9]\d*)$/,i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1;var r="object"==typeof global&&global&&global.Object===Object&&global,a="object"==typeof self&&self&&self.Object===Object&&self,l=r||a||Function("return this")(),c=e&&!e.nodeType&&e,s=c&&"object"==typeof t&&t&&!t.nodeType&&t,d=s&&s.exports===c,p=d&&r.process,u=function(){try{var t=s&&s.require&&s.require("util").types;return t||p&&p.binding&&p.binding("util")}catch(t){}}(),f=u&&u.isTypedArray;function m(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}var h,g,y,x=Array.prototype,b=Function.prototype,w=Object.prototype,v=l["__core-js_shared__"],_=b.toString,C=w.hasOwnProperty,O=(h=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||""))?"Symbol(src)_1."+h:"",E=w.toString,k=_.call(Object),j=RegExp("^"+_.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),I=d?l.Buffer:void 0,S=l.Symbol,A=l.Uint8Array,z=I?I.allocUnsafe:void 0,N=(g=Object.getPrototypeOf,y=Object,function(t){return g(y(t))}),T=Object.create,P=w.propertyIsEnumerable,M=x.splice,L=S?S.toStringTag:void 0,W=function(){try{var t=ct(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),H=I?I.isBuffer:void 0,R=Math.max,D=Date.now,q=ct(l,"Map"),F=ct(Object,"create"),U=function(){function t(){}return function(e){if(!wt(e))return{};if(T)return T(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function B(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function $(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Y(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function Z(t){var e=this.__data__=new $(t);this.size=e.size}function G(t,e){var n=ht(t),o=!n&&mt(t),i=!n&&!o&&yt(t),r=!n&&!o&&!i&&_t(t),a=n||o||i||r,l=a?function(t,e){for(var n=-1,o=Array(t);++n<t;)o[n]=e(n);return o}(t.length,String):[],c=l.length;for(var s in t)!e&&!C.call(t,s)||a&&("length"==s||i&&("offset"==s||"parent"==s)||r&&("buffer"==s||"byteLength"==s||"byteOffset"==s)||st(s,c))||l.push(s);return l}function V(t,e,n){(void 0!==n&&!ft(t[e],n)||void 0===n&&!(e in t))&&X(t,e,n)}function J(t,e,n){var o=t[e];C.call(t,e)&&ft(o,n)&&(void 0!==n||e in t)||X(t,e,n)}function K(t,e){for(var n=t.length;n--;)if(ft(t[n][0],e))return n;return-1}function X(t,e,n){"__proto__"==e&&W?W(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}B.prototype.clear=function(){this.__data__=F?F(null):{},this.size=0},B.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},B.prototype.get=function(t){var e=this.__data__;if(F){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return C.call(e,t)?e[t]:void 0},B.prototype.has=function(t){var e=this.__data__;return F?void 0!==e[t]:C.call(e,t)},B.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=F&&void 0===e?"__lodash_hash_undefined__":e,this},$.prototype.clear=function(){this.__data__=[],this.size=0},$.prototype.delete=function(t){var e=this.__data__,n=K(e,t);return!(n<0)&&(n==e.length-1?e.pop():M.call(e,n,1),--this.size,!0)},$.prototype.get=function(t){var e=this.__data__,n=K(e,t);return n<0?void 0:e[n][1]},$.prototype.has=function(t){return K(this.__data__,t)>-1},$.prototype.set=function(t,e){var n=this.__data__,o=K(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this},Y.prototype.clear=function(){this.size=0,this.__data__={hash:new B,map:new(q||$),string:new B}},Y.prototype.delete=function(t){var e=lt(this,t).delete(t);return this.size-=e?1:0,e},Y.prototype.get=function(t){return lt(this,t).get(t)},Y.prototype.has=function(t){return lt(this,t).has(t)},Y.prototype.set=function(t,e){var n=lt(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this},Z.prototype.clear=function(){this.__data__=new $,this.size=0},Z.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Z.prototype.get=function(t){return this.__data__.get(t)},Z.prototype.has=function(t){return this.__data__.has(t)},Z.prototype.set=function(t,e){var n=this.__data__;if(n instanceof $){var o=n.__data__;if(!q||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new Y(o)}return n.set(t,e),this.size=n.size,this};var Q,tt=function(t,e,n){for(var o=-1,i=Object(t),r=n(t),a=r.length;a--;){var l=r[Q?a:++o];if(!1===e(i[l],l,i))break}return t};function et(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":L&&L in Object(t)?function(t){var e=C.call(t,L),n=t[L];try{t[L]=void 0;var o=!0}catch(t){}var i=E.call(t);o&&(e?t[L]=n:delete t[L]);return i}(t):function(t){return E.call(t)}(t)}function nt(t){return vt(t)&&"[object Arguments]"==et(t)}function ot(t){return!(!wt(t)||function(t){return!!O&&O in t}(t))&&(xt(t)?j:n).test(function(t){if(null!=t){try{return _.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function it(t){if(!wt(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=dt(t),n=[];for(var o in t)("constructor"!=o||!e&&C.call(t,o))&&n.push(o);return n}function rt(t,e,n,o,i){t!==e&&tt(e,(function(r,a){if(i||(i=new Z),wt(r))!function(t,e,n,o,i,r,a){var l=pt(t,n),c=pt(e,n),s=a.get(c);if(s)return void V(t,n,s);var d=r?r(l,c,n+"",t,e,a):void 0,p=void 0===d;if(p){var u=ht(c),f=!u&&yt(c),m=!u&&!f&&_t(c);d=c,u||f||m?ht(l)?d=l:vt(b=l)&&gt(b)?d=function(t,e){var n=-1,o=t.length;e||(e=Array(o));for(;++n<o;)e[n]=t[n];return e}(l):f?(p=!1,d=function(t,e){if(e)return t.slice();var n=t.length,o=z?z(n):new t.constructor(n);return t.copy(o),o}(c,!0)):m?(p=!1,h=c,g=!0?(y=h.buffer,x=new y.constructor(y.byteLength),new A(x).set(new A(y)),x):h.buffer,d=new h.constructor(g,h.byteOffset,h.length)):d=[]:function(t){if(!vt(t)||"[object Object]"!=et(t))return!1;var e=N(t);if(null===e)return!0;var n=C.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&_.call(n)==k}(c)||mt(c)?(d=l,mt(l)?d=function(t){return function(t,e,n,o){var i=!n;n||(n={});var r=-1,a=e.length;for(;++r<a;){var l=e[r],c=o?o(n[l],t[l],l,n,t):void 0;void 0===c&&(c=t[l]),i?X(n,l,c):J(n,l,c)}return n}(t,Ct(t))}(l):wt(l)&&!xt(l)||(d=function(t){return"function"!=typeof t.constructor||dt(t)?{}:U(N(t))}(c))):p=!1}var h,g,y,x;var b;p&&(a.set(c,d),i(d,c,o,r,a),a.delete(c));V(t,n,d)}(t,e,a,n,rt,o,i);else{var l=o?o(pt(t,a),r,a+"",t,e,i):void 0;void 0===l&&(l=r),V(t,a,l)}}),Ct)}function at(t,e){return ut(function(t,e,n){return e=R(void 0===e?t.length-1:e,0),function(){for(var o=arguments,i=-1,r=R(o.length-e,0),a=Array(r);++i<r;)a[i]=o[e+i];i=-1;for(var l=Array(e+1);++i<e;)l[i]=o[i];return l[e]=n(a),m(t,this,l)}}(t,e,kt),t+"")}function lt(t,e){var n,o,i=t.__data__;return("string"==(o=typeof(n=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ct(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return ot(n)?n:void 0}function st(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&o.test(t))&&t>-1&&t%1==0&&t<e}function dt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||w)}function pt(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var ut=function(t){var e=0,n=0;return function(){var o=D(),i=16-(o-n);if(n=o,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(W?function(t,e){return W(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:kt);function ft(t,e){return t===e||t!=t&&e!=e}var mt=nt(function(){return arguments}())?nt:function(t){return vt(t)&&C.call(t,"callee")&&!P.call(t,"callee")},ht=Array.isArray;function gt(t){return null!=t&&bt(t.length)&&!xt(t)}var yt=H||function(){return!1};function xt(t){if(!wt(t))return!1;var e=et(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function bt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function wt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function vt(t){return null!=t&&"object"==typeof t}var _t=f?function(t){return function(e){return t(e)}}(f):function(t){return vt(t)&&bt(t.length)&&!!i[et(t)]};function Ct(t){return gt(t)?G(t,!0):it(t)}var Ot,Et=(Ot=function(t,e,n){rt(t,e,n)},at((function(t,e){var n=-1,o=e.length,i=o>1?e[o-1]:void 0,r=o>2?e[2]:void 0;for(i=Ot.length>3&&"function"==typeof i?(o--,i):void 0,r&&function(t,e,n){if(!wt(n))return!1;var o=typeof e;return!!("number"==o?gt(n)&&st(e,n.length):"string"==o&&e in n)&&ft(n[e],t)}(e[0],e[1],r)&&(i=o<3?void 0:i,o=1),t=Object(t);++n<o;){var a=e[n];a&&Ot(t,a,n,i)}return t})));function kt(t){return t}t.exports=Et}).call(this,n(20)(t))},function(t,e){t.exports=require("@times-components/utils/rnw")},function(t,e){t.exports=require("isomorphic-unfetch")},function(t,e){t.exports=require("xss")},function(t,e){t.exports=require("@times-components/icons/rnw")},function(t,e){t.exports=require("react-apollo")},function(t,e){t.exports=require("@times-components/provider/rnw")},function(t,e){t.exports=require("@times-components/provider-queries/rnw")},function(t,e){t.exports=require("@times-components/button/rnw")},function(t,e){t.exports=require("@times-components/link/rnw")},function(t,e){var n=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,o=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",r="[\\ud800-\\udfff]",a="["+i+"]",l="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",c="\\d+",s="[\\u2700-\\u27bf]",d="[a-z\\xdf-\\xf6\\xf8-\\xff]",p="[^\\ud800-\\udfff"+i+c+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",u="\\ud83c[\\udffb-\\udfff]",f="[^\\ud800-\\udfff]",m="(?:\\ud83c[\\udde6-\\uddff]){2}",h="[\\ud800-\\udbff][\\udc00-\\udfff]",g="[A-Z\\xc0-\\xd6\\xd8-\\xde]",y="(?:"+d+"|"+p+")",x="(?:"+g+"|"+p+")",b="(?:"+l+"|"+u+")"+"?",w="[\\ufe0e\\ufe0f]?"+b+("(?:\\u200d(?:"+[f,m,h].join("|")+")[\\ufe0e\\ufe0f]?"+b+")*"),v="(?:"+[s,m,h].join("|")+")"+w,_="(?:"+[f+l+"?",l,m,h,r].join("|")+")",C=RegExp("['’]","g"),O=RegExp(l,"g"),E=RegExp(u+"(?="+u+")|"+_+w,"g"),k=RegExp([g+"?"+d+"+(?:['’](?:d|ll|m|re|s|t|ve))?(?="+[a,g,"$"].join("|")+")",x+"+(?:['’](?:D|LL|M|RE|S|T|VE))?(?="+[a,g+y,"$"].join("|")+")",g+"?"+y+"+(?:['’](?:d|ll|m|re|s|t|ve))?",g+"+(?:['’](?:D|LL|M|RE|S|T|VE))?",c,v].join("|"),"g"),j=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),I=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,S="object"==typeof global&&global&&global.Object===Object&&global,A="object"==typeof self&&self&&self.Object===Object&&self,z=S||A||Function("return this")();var N,T=(N={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"ss"},function(t){return null==N?void 0:N[t]});function P(t){return j.test(t)}function M(t){return P(t)?function(t){return t.match(E)||[]}(t):function(t){return t.split("")}(t)}var L=Object.prototype.toString,W=z.Symbol,H=W?W.prototype:void 0,R=H?H.toString:void 0;function D(t){if("string"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==L.call(t)}(t))return R?R.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function q(t,e,n){var o=t.length;return n=void 0===n?o:n,!e&&n>=o?t:function(t,e,n){var o=-1,i=t.length;e<0&&(e=-e>i?0:i+e),(n=n>i?i:n)<0&&(n+=i),i=e>n?0:n-e>>>0,e>>>=0;for(var r=Array(i);++o<i;)r[o]=t[o+e];return r}(t,e,n)}function F(t){return null==t?"":D(t)}var U,B,$=(U=function(t,e,n){return t+(n?" ":"")+Y(e)},function(t){return function(t,e,n,o){var i=-1,r=t?t.length:0;for(o&&r&&(n=t[++i]);++i<r;)n=e(n,t[i],i,t);return n}(function(t,e,o){return t=F(t),void 0===(e=o?void 0:e)?function(t){return I.test(t)}(t)?function(t){return t.match(k)||[]}(t):function(t){return t.match(n)||[]}(t):t.match(e)||[]}(function(t){return(t=F(t))&&t.replace(o,T).replace(O,"")}(t).replace(C,"")),U,"")}),Y=(B="toUpperCase",function(t){var e=P(t=F(t))?M(t):void 0,n=e?e[0]:t.charAt(0),o=e?q(e,1).join(""):t.slice(1);return n[B]()+o});t.exports=$},function(t,e){var n=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/,i=/^\./,r=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g,l=/^\[object .+?Constructor\]$/,c="object"==typeof global&&global&&global.Object===Object&&global,s="object"==typeof self&&self&&self.Object===Object&&self,d=c||s||Function("return this")();var p,u=Array.prototype,f=Function.prototype,m=Object.prototype,h=d["__core-js_shared__"],g=(p=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+p:"",y=f.toString,x=m.hasOwnProperty,b=m.toString,w=RegExp("^"+y.call(x).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=d.Symbol,_=u.splice,C=P(d,"Map"),O=P(Object,"create"),E=v?v.prototype:void 0,k=E?E.toString:void 0;function j(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function I(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function S(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var o=t[e];this.set(o[0],o[1])}}function A(t,e){for(var n,o,i=t.length;i--;)if((n=t[i][0])===(o=e)||n!=n&&o!=o)return i;return-1}function z(t,e){for(var i,r=0,a=(e=function(t,e){if(H(t))return!1;var i=typeof t;if("number"==i||"symbol"==i||"boolean"==i||null==t||D(t))return!0;return o.test(t)||!n.test(t)||null!=e&&t in Object(e)}(e,t)?[e]:H(i=e)?i:M(i)).length;null!=t&&r<a;)t=t[L(e[r++])];return r&&r==a?t:void 0}function N(t){return!(!R(t)||(e=t,g&&g in e))&&(function(t){var e=R(t)?b.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}(t)||function(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}(t)?w:l).test(function(t){if(null!=t){try{return y.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t));var e}function T(t,e){var n,o,i=t.__data__;return("string"==(o=typeof(n=e))||"number"==o||"symbol"==o||"boolean"==o?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function P(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return N(n)?n:void 0}j.prototype.clear=function(){this.__data__=O?O(null):{}},j.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},j.prototype.get=function(t){var e=this.__data__;if(O){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return x.call(e,t)?e[t]:void 0},j.prototype.has=function(t){var e=this.__data__;return O?void 0!==e[t]:x.call(e,t)},j.prototype.set=function(t,e){return this.__data__[t]=O&&void 0===e?"__lodash_hash_undefined__":e,this},I.prototype.clear=function(){this.__data__=[]},I.prototype.delete=function(t){var e=this.__data__,n=A(e,t);return!(n<0)&&(n==e.length-1?e.pop():_.call(e,n,1),!0)},I.prototype.get=function(t){var e=this.__data__,n=A(e,t);return n<0?void 0:e[n][1]},I.prototype.has=function(t){return A(this.__data__,t)>-1},I.prototype.set=function(t,e){var n=this.__data__,o=A(n,t);return o<0?n.push([t,e]):n[o][1]=e,this},S.prototype.clear=function(){this.__data__={hash:new j,map:new(C||I),string:new j}},S.prototype.delete=function(t){return T(this,t).delete(t)},S.prototype.get=function(t){return T(this,t).get(t)},S.prototype.has=function(t){return T(this,t).has(t)},S.prototype.set=function(t,e){return T(this,t).set(t,e),this};var M=W((function(t){var e;t=null==(e=t)?"":function(t){if("string"==typeof t)return t;if(D(t))return k?k.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}(e);var n=[];return i.test(t)&&n.push(""),t.replace(r,(function(t,e,o,i){n.push(o?i.replace(a,"$1"):e||t)})),n}));function L(t){if("string"==typeof t||D(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function W(t,e){if("function"!=typeof t||e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var o=arguments,i=e?e.apply(this,o):o[0],r=n.cache;if(r.has(i))return r.get(i);var a=t.apply(this,o);return n.cache=r.set(i,a),a};return n.cache=new(W.Cache||S),n}W.Cache=S;var H=Array.isArray;function R(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function D(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==b.call(t)}t.exports=function(t,e,n){var o=null==t?void 0:z(t,e);return void 0===o?n:o}},function(t,e){t.exports=require("@times-components/ts-slices/rnw")},function(t,e){t.exports=function(t){return t.webpackPolyfill||(t.deprecate=function(){},t.paths=[],t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),t.webpackPolyfill=1),t}},function(t,e,n){"use strict";n.r(e);var o=n(0),i=n.n(o),r=n(3),a=n(9),l=n.n(a);function c(t,e,n,o,i,r,a){try{var l=t[r](a),c=l.value}catch(t){return void n(t)}l.done?e(c):Promise.resolve(c).then(o,i)}function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return d(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(t,e)}(t,e)||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.")}()}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const p=Object(o.createContext)(void 0),u=t=>{let e=t.url,n=t.options,r=t.previewData,a=t.children;const d=s(Object(o.useState)(!r),2),u=d[0],f=d[1],m=s(Object(o.useState)(),2),h=m[0],g=m[1],y=s(Object(o.useState)(r),2),x=y[0],b=y[1];return Object(o.useEffect)(()=>{r||function(){var t,o=(t=function*(){try{if(!e)throw new Error("must provide a Fetch url");{const t=yield l()(e,n),o=yield t.json();b(o),f(!1)}}catch(t){g(t instanceof Error?t.message:"unknown error"),f(!1)}},function(){var e=this,n=arguments;return new Promise((function(o,i){var r=t.apply(e,n);function a(t){c(r,o,i,a,l,"next",t)}function l(t){c(r,o,i,a,l,"throw",t)}a(void 0)}))});return function(){return o.apply(this,arguments)}}()()},[]),i.a.createElement(p.Provider,{value:{loading:u,error:h,data:x}},a)},f=()=>{const t=Object(o.useContext)(p);if(void 0===t)throw new Error("must be used within a FetchProvider");return t};var m=n(10),h=n.n(m);const g=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t=>{let e=document.createElement("textarea");return e.innerHTML=t,e.value};let o={whiteList:e,stripIgnoreTag:!0,stripIgnoreTagBody:["script"]},i=n(t);return h()(i,o)};var y=n(2),x=n.n(y);const b={"2:3":"150%","4:5":"125%","1:1":"100%","4:3":"75%","3:2":"66.66%","16:9":"56.25%"},w=x.a.div.withConfig({displayName:"styles__AspectRatioContainer",componentId:"sc-1lxnrk8-0"})(["",";"],t=>{let e=t.ratio;return e&&b[e]&&Object(y.css)(["position:relative;overflow:hidden;&:after{content:'';display:block;padding-bottom:",";}> img{position:absolute;width:100%;height:100%;object-fit:cover;}"],b[e])}),v=t=>{let e=t.ratio,n=t.children;return i.a.createElement(w,{ratio:e},n)};var _=n(11),C=n(1);const O=x.a.a.withConfig({displayName:"styles__Link",componentId:"spl816-0"})(["display:flex;flex-direction:row;margin-top:16px;color:#bf0000;fill:#bf0000;:hover{color:",";fill:",";}"],C.colours.functional.secondary,C.colours.functional.secondary),E=x.a.div.withConfig({displayName:"styles__LinkText",componentId:"spl816-1"})(["margin-top:1px;margin-right:12px;font-family:",";font-size:16px;"],C.fonts.supporting),k=t=>{let e=t.link,n=t.linkText,o=t.onClick;return i.a.createElement(O,{href:e,onClick:()=>o&&o(n)},i.a.createElement(E,null,n),i.a.createElement(_.IconForwardChevron,{height:18,width:8,fillColour:null}))};var j=n(7),I=n.n(j);function S(t,e,n){return Object(o.useEffect)(()=>{let o;return null!==t&&(o="undefined"!=typeof window&&window.IntersectionObserver&&new window.IntersectionObserver(t=>{t[0].isIntersecting&&(o&&o.disconnect(),e&&e())},n)||void 0,o&&o.observe(t)),()=>{o&&o.disconnect()}},[t])}function A(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function z(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function N(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return T(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return T(t,e)}(t,e)||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.")}()}function T(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const P=i.a.createContext({context:{}}),M=()=>Object(o.useContext)(P),L=t=>{let e=t.children,n=t.analyticsStream,r=t.context,a=t.scrolledEvent;const l=Object(o.useContext)(P),c=void 0!==n?n:l.analyticsStream,s=I()({},l.context,r),d=t=>{const e=I()({},s,t,{attrs:{eventTime:(new Date).toISOString()}});c?c(e):console.error("no analytics stream to send to",e)},p=N(Object(o.useState)(null),2),u=p[0],f=p[1];return a&&S(u,()=>d&&d(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?A(Object(n),!0).forEach((function(e){z(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({action:"Scrolled"},a)),{threshold:.5}),i.a.createElement(P.Provider,{value:{fireAnalyticsEvent:d,context:s,analyticsStream:c}},"function"==typeof e?e({fireAnalyticsEvent:d,intersectObserverRef:f}):e)},W=x.a.div.withConfig({displayName:"common-styles__PlaceholderContainer",componentId:"sc-14ch98m-0"})(["position:relative;height:200px;margin:0 auto 20px auto;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}"],C.breakpoints.medium,C.breakpoints.wide),H=x.a.div.withConfig({displayName:"common-styles__Label",componentId:"sc-14ch98m-1"})(["font-family:",";font-size:12px;line-height:16px;text-transform:uppercase;color:",";padding-bottom:5px;letter-spacing:1px;"],C.fonts.supporting,t=>{let e=t.sectionColour;return"".concat(e)}),R=x.a.div.withConfig({displayName:"common-styles__HiddenDiv",componentId:"sc-14ch98m-2"})(["display:none;"]),D=x.a.div.withConfig({displayName:"common-styles__Copy",componentId:"sc-14ch98m-3"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],C.colours.functional.secondary,C.fonts.body),q=x.a.ul.withConfig({displayName:"common-styles__List",componentId:"sc-14ch98m-4"})(["display:flex;flex-wrap:wrap;margin:0 -2px -1px -15px;list-style:none;padding:0;@media (min-width:","px){}"],C.breakpoints.medium),F=x.a.div.withConfig({displayName:"common-styles__ListContainer",componentId:"sc-14ch98m-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";"],t=>{let e=t.showAll,n=t.maxHeight,o=t.displayShowAll;return!e&&o?n+"px":"none"}),U=x.a.div.withConfig({displayName:"common-styles__ShowAllContainer",componentId:"sc-14ch98m-6"})(["display:flex;border-top:1px solid ",";padding:5px;justify-content:center;display:",";"],C.colours.functional.keyline,t=>t.displayShowAll?"flex":"none"),B=x.a.div.withConfig({displayName:"common-styles__Headline",componentId:"sc-14ch98m-7"})(["font-family:",";font-size:24px;line-height:24px;color:",";margin:0 0 6px;@media (min-width:","px){font-size:32px;line-height:32px;}"],C.fonts.headline,C.colours.functional.brandColour,C.breakpoints.medium),$=x.a.button.withConfig({displayName:"common-styles__ShowAllButton",componentId:"sc-14ch98m-8"})(["font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;cursor:pointer;&:active{border:1px solid ",";color:",";}"],C.fonts.supporting,C.colours.functional.primary,C.colours.functional.action,C.colours.functional.action),Y=x.a.div.withConfig({displayName:"styles__Container",componentId:"e5otdw-0"})(["display:flex;flex-direction:column;margin:0 auto 20px auto;padding:20px;background-color:#f9f9f9;border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],t=>{let e=t.sectionColour;return"2px solid ".concat(e)},C.breakpoints.medium,C.breakpoints.wide),Z=x.a.div.withConfig({displayName:"styles__ImageContainer",componentId:"e5otdw-1"})(["padding-bottom:12px;img{display:block;width:100%;}@media (min-width:","px){width:50%;padding-right:20px;padding-bottom:0;}"],C.breakpoints.medium),G=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"e5otdw-2"})(["display:flex;flex-direction:column;justify-content:space-between;@media (min-width:","px){width:",";}"],C.breakpoints.medium,t=>t.hasImage?"50%":"100%"),V=x.a.div.withConfig({displayName:"styles__Label",componentId:"e5otdw-3"})(["padding-bottom:",";color:",";font-family:",";font-size:12px;letter-spacing:0.1em;text-transform:uppercase;letter-spacing:1px;"],t=>t.hasImage?"8px":"12px",t=>t.sectionColour,C.fonts.supporting),J=x.a.h4.withConfig({displayName:"styles__Headline",componentId:"e5otdw-4"})(["margin:0;padding-bottom:8px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;:hover{color:#069;}@media (min-width:","px){font-size:",";line-height:",";}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.wide,t=>t.hasImage?"24px":"28px",t=>t.hasImage?"24px":"28px"),K=x.a.div.withConfig({displayName:"styles__Copy",componentId:"e5otdw-5"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],C.colours.functional.secondary,C.fonts.body),X={attrs:{event_navigation_name:"in-article component displayed : puff",event_navigation_browsing_method:"scroll"}},Q=t=>{let e=t.sectionColour,n=t.forceImageAspectRatio;const o=t.isLiveOrBreaking||"no flag",a=(t,e)=>{t&&t(((t,e)=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click",article_flag:e}}))(e,o))},l=f(),c=l.loading,s=l.error,d=l.data;if(c)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(s||void 0===d||0===d.body.data.length)return null;const p=d.body.data[0].data,u=p.image,m=p.label,h=p.headline,y=p.copy,x=p.link,b=p.linkText,w=Boolean(u);return i.a.createElement(L,{context:{object:"InArticlePuff",attrs:{component_type:"in-article component : puff : interactive",event_navigation_action:"navigation",component_name:"".concat(h),article_flag:o}},scrolledEvent:X},t=>{let o=t.fireAnalyticsEvent,r=t.intersectObserverRef;return i.a.createElement(Y,{ref:r,sectionColour:e},u?i.a.createElement(Z,null,i.a.createElement("a",{href:x,onClick:()=>a(o,"image")},i.a.createElement(v,{ratio:n},i.a.createElement("img",{src:u})))):null,i.a.createElement(G,{hasImage:w},i.a.createElement("div",null,i.a.createElement(V,{hasImage:w,sectionColour:e},m),i.a.createElement("a",{href:x,onClick:()=>a(o,"headline")},i.a.createElement(J,{hasImage:w},h)),y&&i.a.createElement(K,{dangerouslySetInnerHTML:{__html:g(y,{b:{},i:{}})}})),i.a.createElement(k,{link:x,linkText:b||"Read more",onClick:()=>a(o,b||"Read more")})))})};var tt=n(6),et=n.n(tt);const nt=x.a.div.withConfig({displayName:"styles__Headline",componentId:"w8icgs-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;padding-bottom:0;}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.breakpoints.wide),ot=x.a.div.withConfig({displayName:"styles__SubHeading",componentId:"w8icgs-1"})(["font-size:22px;line-height:22px;color:",";font-family:",";padding-bottom:7px;@media (min-width:","px){font-size:24px;line-height:24px;}"],C.colours.functional.brandColour,C.fonts.headlineRegular,C.breakpoints.medium),it=x.a.div.withConfig({displayName:"styles__BodyCopy",componentId:"w8icgs-2"})(["color:",";font-family:",";font-size:16px;line-height:24px;"],C.colours.functional.secondary,C.fonts.body),rt=x.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"w8icgs-3"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],C.breakpoints.medium),at=x.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"w8icgs-4"})(["display:flex;flex-direction:row;align-items:center;"]),lt=x.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"w8icgs-5"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}@media (hover:hover){&:hover{border:solid 1px ",";}}@media (hover:none){&:active{border:solid 1px ",";}}"],t=>t.disabled?C.colours.functional.keyline:C.colours.functional.primary,t=>t.disabled?"none":"auto",t=>t.disabled?C.colours.functional.keyline:C.colours.functional.primary,t=>t.disabled?C.colours.functional.keyline:C.colours.functional.action,t=>t.disabled?C.colours.functional.keyline:C.colours.functional.action),ct=x.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"w8icgs-6"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),st=x.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"w8icgs-7"})(["background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],t=>t.active?C.colours.functional.action:C.colours.functional.keyline),dt=x()(et.a).withConfig({displayName:"styles__StyledCarousel",componentId:"w8icgs-8"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}"]),pt=x.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"w8icgs-9"})(["background-color:",";padding-bottom:16px;margin:0 auto 20px auto;border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}& div.rec-carousel-item.rec-carousel-item-visible{border-right:1px solid ",";}& div.rec-carousel-item:last-child{border-right:none;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},t=>{let e=t.isWide,n=t.isStandard;return(e?"100%":n&&"auto")||"auto"},C.breakpoints.medium,t=>{let e=t.isWide,n=t.isStandard;return(e?"100%":n&&"80.8%")||"80.8%"},C.breakpoints.wide,t=>{let e=t.isWide,n=t.isStandard;return(e?"100%":n&&"56.2%")||"56.2%"},C.colours.functional.keyline),ut=x.a.div.withConfig({displayName:"styles__CardContainer",componentId:"w8icgs-10"})(["display:flex;flex-direction:column;background-color:",";width:100%;height:30%;padding:20px 16px 14px 16px;"],C.colours.functional.backgroundPrimary),ft=x.a.div.withConfig({displayName:"styles__CardContent",componentId:"w8icgs-11"})(["display:flex;flex-direction:column;height:100%;"]),mt=x.a.div.withConfig({displayName:"styles__InfoCardContainer",componentId:"w8icgs-12"})(["padding:0 16px;float:left;width:100%;"]),ht=x.a.img.withConfig({displayName:"styles__CardImg",componentId:"w8icgs-13"})(["padding:4px 0 12px;-webkit-user-drag:none;pointer-events:none;}"]),gt=t=>{let e=t.sectionColour,n=t.label,o=t.headline,r=t.children;return i.a.createElement(ut,null,i.a.createElement(ft,null,i.a.createElement(H,{sectionColour:e},n),i.a.createElement(rt,null,i.a.createElement(nt,null,o),r)))},yt=t=>{let e=t.size,n=void 0===e?{width:"16",height:"16"}:e;return i.a.createElement("svg",{width:n.width,height:n.height,xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{d:"M7.29 12.956L3.903 7.049 7.289.97h-.96L.697 7.013l5.632 5.943z",fillRule:"nonzero"}))};function xt(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bt(t,e)}(t,e)||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.")}()}function bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var wt;!function(t){t.Standard="4043",t.Wide="4042"}(wt||(wt={}));let vt=new Array;const _t=C.breakpoints.small,Ct=C.breakpoints.medium,Ot=C.breakpoints.wide,Et=t=>{let e=t.activePage,n=t.onClick,o=t.current,r=t.data,a=t.showDisplayItem,l=t.windowWidth,c=t.showDotItem;return i.a.createElement(at,null,i.a.createElement(lt,{"data-testid":"Previous button",disabled:0===e,onClick:()=>n(o/a-1,"left")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})),i.a.createElement(ct,null,r.map((t,o)=>{if(function(t){if(null==t)throw new TypeError("Cannot destructure undefined")}(t),o<c){const t=e===o;return i.a.createElement(st,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:t})}})),i.a.createElement(lt,{"data-testid":"Next Button",disabled:e===Math.trunc(r.length/a-(Ct>l?1:0)),className:"nextBtn",onClick:()=>n(o/a+1,"right")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})))},kt=t=>{let e=t.sectionColour,n=t.initialIndex,a=void 0===n?0:n;const l=f(),c=l.loading,s=l.error,d=l.data;if(s)return null;if(c||void 0===d)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));const p=d.fields,u=p.headline,m=p.label,h=p.size,y=d.body.data,x=t=>t===wt.Standard,b=t=>t===wt.Wide,w=xt(Object(o.useState)("undefined"!=typeof window?window.innerWidth:0),2),_=w[0],C=w[1],O=xt(Object(o.useState)(1),2),E=O[0],k=O[1],j=_.toString(),I=()=>C(window.innerWidth);Object(o.useEffect)(()=>(window.addEventListener("resize",I),()=>{window.removeEventListener("resize",I)}),[]),Object(o.useEffect)(()=>{A()});const S=[{width:_t,itemsToShow:1,itemsToScroll:1}];b(h)&&(vt=[...S,{width:Ct,itemsToShow:2,itemsToScroll:2},{width:Ot,itemsToShow:3,itemsToScroll:3}]),x(h)&&(vt=[...S,{width:_t+55,itemsToShow:2,itemsToScroll:2}]);const A=()=>{j<Ct?k(vt[0].itemsToScroll):j>=Ot&&b(h)?k(vt[2].itemsToScroll):k(vt[1].itemsToScroll)},z=y.length/E,N=y.length>(j>=Ot&&b(h)?3:j<Ct?1:2),T=xt(Object(o.useState)(a),2),P=T[0],M=T[1],H=t=>{M(t.index)};return i.a.createElement(L,{context:{object:"InfoCard",attrs:{component_type:"in-article component : text-image info cards : interactive",event_navigation_action:"navigation",event_navigation_browsing_method:"click",component_name:"".concat(u)}},scrolledEvent:{attrs:{component_type:"in-article component : text-image info cards : "+(z>1?"interactive":"static"),event_navigation_name:"in-article component displayed : text-image info cards",event_navigation_browsing_method:"scroll"}}},t=>{let n=t.intersectObserverRef,o=t.fireAnalyticsEvent;return i.a.createElement(pt,{sectionColour:e,isWide:b(h),isStandard:x(h),ref:n},i.a.createElement(dt,{sectionColour:e,breakPoints:vt,isRTL:!1,onChange:H,showArrows:!1,enableSwipe:N,renderPagination:t=>{let n=t.activePage,r=t.onClick;return i.a.createElement(gt,{data:y[P],headline:u,label:m,sectionColour:e},N&&i.a.createElement(Et,{activePage:n,onClick:(t,e)=>{e&&o({attrs:{event_navigation_name:"button : ".concat(e),component_name:u}}),r&&r(t)},current:P,data:y,showDisplayItem:E,windowWidth:_.toString(),showDotItem:z}))}},y.map((t,e)=>i.a.createElement(mt,{key:e},t.data.image&&i.a.createElement(v,{ratio:"16:9"},i.a.createElement(ht,{src:t.data.image})),t.data.subtitle&&i.a.createElement(ot,null,t.data.subtitle),t.data.copy&&i.a.createElement(it,{dangerouslySetInnerHTML:{__html:g(t.data.copy,{br:{},b:{},i:{}})}})))))})};const jt=x.a.div.withConfig({displayName:"styles__Headline",componentId:"d49zf9-0"})(["font-size:24px;line-height:24px;color:",";font-family:",";padding-bottom:12px;@media (min-width:","px){width:70%;font-size:32px;line-height:32px;padding-bottom:0px;}@media (min-width:","px){width:100%;font-size:",";line-height:",";padding-bottom:",";}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"32px":"24px",t=>t.isWide?"32px":"24px",t=>t.isWide?"0px":"14px"),It=x.a.div.withConfig({displayName:"styles__HeadlineButtonContainer",componentId:"d49zf9-1"})(["display:flex;flex-direction:column;@media (min-width:","px){flex-direction:row;justify-content:space-between;align-items:flex-end;}"],C.breakpoints.medium),St=x.a.div.withConfig({displayName:"styles__Copy",componentId:"d49zf9-2"})(["color:#555555;font-family:",";font-size:14px;line-height:20px;padding-bottom:16px;@media (min-width:","px){width:",";font-size:16px;line-height:24px;}"],C.fonts.body,C.breakpoints.wide,t=>t.isWide?"60%":"100%"),At=x.a.div.withConfig({displayName:"styles__ImageTitle",componentId:"d49zf9-3"})(["font-size:16px;line-height:16px;font-family:",";padding-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}@media (min-width:","px){font-size:",";line-height:",";}"],C.fonts.headlineRegular,C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"24px":"18px",t=>t.isWide?"24px":"18px"),zt=x.a.div.withConfig({displayName:"styles__Credit",componentId:"d49zf9-4"})(["text-transform:uppercase;font-size:12px;line-height:16px;font-family:",";color:",";padding-bottom:10px;padding-top:8px;@media (min-width:","px){padding-top:12px;}@media (min-width:","px){padding-top:12px;padding-bottom:",";}"],C.fonts.supporting,C.colours.functional.secondary,C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"8px":"14px"),Nt=x.a.div.withConfig({displayName:"styles__CardContainer",componentId:"d49zf9-5"})(["display:flex;flex-direction:column;background-color:#f9f9f9;width:100%;height:30%;padding:20px 16px 16px 16px;@media (min-width:","px){padding:20px 20px 12px 20px;}@media (min-width:","px){height:",";width:",";padding:",";}"],C.breakpoints.medium,C.breakpoints.wide,t=>t.isWide?"30%":"auto",t=>{let e=t.isWide,n=t.isSmall;return(e?"100%":n&&"36%")||"33%"},t=>t.isWide?"20px 16px 16px 16px":"20px 16px"),Tt=x.a.div.withConfig({displayName:"styles__CarouselButtonContainer",componentId:"d49zf9-6"})(["display:flex;flex-direction:row;align-items:center;"]),Pt=x.a.button.withConfig({displayName:"styles__CarouselButton",componentId:"d49zf9-7"})(["display:flex;justify-content:center;align-items:center;width:32px;height:32px;padding-left:6px;background-color:transparent;border:solid 1px ",";border-radius:50%;cursor:pointer;pointer-events:",";svg{path{fill:",";height:10px;width:5px;}}&.nextBtn{transform:scaleX(-1);}&:hover{border:solid 1px #0a68c1;}"],t=>t.disabled?"#e4e4e4":"#000000",t=>t.disabled?"none":"auto",t=>t.disabled?"#CCCCCC":"black"),Mt=x.a.div.withConfig({displayName:"styles__CarouselIndicatorContainer",componentId:"d49zf9-8"})(["display:flex;flex-direction:row;padding-left:6px;padding-right:6px;"]),Lt=x.a.div.withConfig({displayName:"styles__CarouselIndicator",componentId:"d49zf9-9"})(["background-color:#cccccc;background-color:",";height:5px;width:5px;border-radius:50%;margin-right:2px;margin-left:2px;cursor:pointer;"],t=>t.active?"#1573A2":"#CCCCCC"),Wt=x.a.div.withConfig({displayName:"styles__CardContent",componentId:"d49zf9-10"})(["display:flex;flex-direction:column;height:100%;"]),Ht=x.a.div.withConfig({displayName:"styles__MobileOrLarge",componentId:"d49zf9-11"})(["display:block;@media (min-width:","px){display:",";}"],C.breakpoints.wide,t=>t.isWide?"block":"none"),Rt=x.a.div.withConfig({displayName:"styles__NotMobileOrLarge",componentId:"d49zf9-12"})(["display:none;@media (min-width:","px){display:",";justify-content:space-between;height:100%;flex-direction:column;}"],C.breakpoints.wide,t=>t.isWide?"none":"flex"),Dt=x.a.div.withConfig({displayName:"styles__CarouselContainer",componentId:"d49zf9-13"})(["background-color:#f9f9f9;border-top:",";flex-direction:",";@media (min-width:","px){width:",";}"],t=>{let e=t.sectionColour;return"2px solid ".concat(e)},t=>t.isWide||window.innerWidth<1024?"column-reverse":"row-reverse",C.breakpoints.wide,t=>t.isSmall?"82.1%":"100%"),qt=x()(et.a).withConfig({displayName:"styles__StyledCarousel",componentId:"d49zf9-14"})(["display:flex;height:fit-content;align-items:initial;flex-direction:column-reverse;.rec .rec-slider-container{margin:0;}@media (min-width:","px){flex-direction:",";}"],C.breakpoints.medium,t=>t.isWide||window.innerWidth<1024?"column-reverse":"row-reverse"),Ft=t=>{let e=t.children,n=t.isWide,o=t.data,r=t.headline,a=t.label,l=t.isSmall,c=t.sectionColour;const s=o.data;return i.a.createElement(Nt,{isWide:n,isSmall:l},i.a.createElement(Wt,null,i.a.createElement(H,{sectionColour:c},a),i.a.createElement(It,null,i.a.createElement(jt,{isWide:n},r),i.a.createElement(Ht,{isWide:n},e)),i.a.createElement(Rt,{isWide:n},i.a.createElement("div",null,s.imageTitle&&i.a.createElement(At,{isWide:n},s.imageTitle),s.copy&&i.a.createElement(St,{isWide:n,dangerouslySetInnerHTML:{__html:g(s.copy,{br:{},b:{},i:{}})}})),i.a.createElement("div",null,i.a.createElement(zt,{isWide:n},s.credit),e))))};function Ut(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Bt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bt(t,e)}(t,e)||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.")}()}function Bt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const $t=t=>{let e=t.activePage,n=t.onClick,o=t.current,r=t.data;return i.a.createElement(Tt,null,i.a.createElement(Pt,{"data-testid":"Previous button",disabled:0===e,onClick:()=>n(o-1,"left")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})),i.a.createElement(Mt,null,r.map((t,o)=>{!function(t){if(null==t)throw new TypeError("Cannot destructure undefined")}(t);const r=e===o;return i.a.createElement(Lt,{"data-testid":"Page Indicator",key:o,onClick:()=>n(o),active:r})})),i.a.createElement(Pt,{"data-testid":"Next Button",disabled:e===r.length-1,className:"nextBtn",onClick:()=>n(o+1,"right")},i.a.createElement(yt,{size:{width:"10px",height:"14px"}})))};var Yt;!function(t){t.Small="4033",t.Wide="4035"}(Yt||(Yt={}));const Zt=t=>{let e=t.sectionColour,n=t.initialIndex,a=void 0===n?0:n;const l=f(),c=l.loading,s=l.error,d=l.data;if(c)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(s||void 0===d||0===d.body.data.length)return null;const p=d.fields,u=p.headline,m=p.label,h=p.size,y=d.body.data,x=t=>t===Yt.Small,b=t=>t===Yt.Wide,w=Ut(Object(o.useState)(a),2),_=w[0],C=w[1],O=t=>{C(t.index)};return i.a.createElement(L,{context:{object:"GalleryCarousel",attrs:{component_type:"in-article component : gallery : interactive",event_navigation_action:"navigation",component_name:"".concat(u)}},scrolledEvent:{attrs:{event_navigation_name:"in-article component displayed : gallery",event_navigation_browsing_method:"scroll"}}},t=>{let n=t.intersectObserverRef,o=t.fireAnalyticsEvent;return i.a.createElement(Dt,{sectionColour:e,isWide:b(h),isSmall:x(h),ref:n},i.a.createElement(qt,{sectionColour:e,isWide:b(h),itemsToScroll:1,itemsToShow:1,isRTL:!1,onChange:O,showArrows:!1,renderPagination:t=>{let n=t.activePage,r=t.onClick;return i.a.createElement(Ft,{isWide:b(h),data:y[_],headline:u,label:m,isSmall:x(h),sectionColour:e},y.length>1&&i.a.createElement($t,{activePage:n,onClick:(t,e)=>{e&&o({attrs:{event_navigation_name:"button : ".concat(e),component_name:u,event_navigation_browsing_method:"click"}}),r&&r(t)},current:_,data:y}))}},y.map(t=>i.a.createElement("div",{style:{width:"100%"}},i.a.createElement(v,{ratio:"3:2"},i.a.createElement("img",{src:t.data.image}))))),i.a.createElement(Ht,{isWide:b(h)},i.a.createElement("div",{style:{paddingLeft:"16px",paddingRight:"16px"}},i.a.createElement(zt,{isWide:b(h)},y[_].data.credit),y[_].data.imageTitle&&i.a.createElement(At,{isWide:b(h)},y[_].data.imageTitle),y[_].data.copy&&i.a.createElement(St,{isWide:b(h),dangerouslySetInnerHTML:{__html:g(y[_].data.copy,{br:{},b:{},i:{}})}}))))})},Gt=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwze61-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:80.8%;}@media (min-width:","px){width:56.2%;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},C.breakpoints.medium,C.breakpoints.wide),Vt=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwze61-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 20px;"]),Jt=x.a.div.withConfig({displayName:"styles__Headline",componentId:"sc-1qwze61-2"})(["font-family:",";font-size:24px;line-height:24px;color:",";@media (min-width:","px){font-size:32px;line-height:32px;}"],C.fonts.headline,C.colours.functional.brandColour,C.breakpoints.medium),Kt=x.a.div.withConfig({displayName:"styles__ReadMoreContainer",componentId:"sc-1qwze61-3"})(["display:flex;border-top:1px solid ",";margin-top:",";padding:5px;justify-content:center;display:",";@media (min-width:","px){display:none;}"],C.colours.functional.keyline,t=>t.readMore?"0":"15px",t=>t.showReadMore?"flex":"none",C.breakpoints.medium),Xt=x.a.button.withConfig({displayName:"styles__ReadMoreButton",componentId:"sc-1qwze61-4"})(["font-size:12px;font-family:",";font-weight:500;line-height:20px;border:1px solid ",";background:transparent;margin:15px 0;padding:10px 12px 5px;cursor:pointer;&:active{border:1px solid ",";color:",";}"],C.fonts.supporting,C.colours.functional.primary,C.colours.functional.action,C.colours.functional.action),Qt=x.a.div.withConfig({displayName:"styles__ListContainer",componentId:"sc-1qwze61-5"})(["display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;max-height:",";@media (min-width:","px){max-height:none;}"],t=>{let e=t.readMore,n=t.maxHeight,o=t.showReadMore;return!e&&o?n+"px":"none"},C.breakpoints.medium),te=x.a.ul.withConfig({displayName:"styles__List",componentId:"sc-1qwze61-6"})(["column-count:1;column-gap:25px;column-rule:1px solid ",";margin-left:0;padding:0;@media (min-width:","px){column-count:2;margin-bottom:20px;}"],C.colours.functional.keyline,C.breakpoints.medium),ee=x.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwze61-7"})(["color:",";font-family:",";font-size:16px;line-height:24px;-webkit-column-break-inside:avoid;page-break-inside:avoid;break-inside:avoid;margin:0 5px 13px 0;padding-left:15px;list-style:none;position:relative;&:last-child{margin-bottom:0;}&::before{content:'';position:absolute;left:3px;top:7px;width:6px;height:6px;background-color:",";border-radius:50%;-moz-border-radius:50%;-webkit-border-radius:50%;}"],C.colours.functional.secondary,C.fonts.body,C.colours.functional.primary);function ne(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return oe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oe(t,e)}(t,e)||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.")}()}function oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const ie={attrs:{event_navigation_name:"in-article component displayed : bullet point component",event_navigation_browsing_method:"automated"}},re=C.breakpoints.medium,ae=t=>{let e=t.sectionColour;const n=f(),a=n.loading,l=n.error,c=n.data;if(a)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(l||void 0===c)return null;const s=c.fields,d=s.headline,p=s.label,u=c.body.data,m=ne(Object(o.useState)(!1),2),h=m[0],y=m[1],x=Object(o.useRef)(null),b=ne(Object(o.useState)(!1),2),w=b[0],v=b[1],_=window.innerWidth.toString();return Object(o.useEffect)(()=>{const t=x.current;t&&v(t.clientHeight>350)},[]),i.a.createElement(L,{context:{object:"InArticleBulletPoint",attrs:{component_type:"in-article component : bullet point component: "+(w&&_<re?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(d)}},scrolledEvent:ie},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(Gt,{ref:o,sectionColour:e},i.a.createElement(Vt,null,i.a.createElement(H,{sectionColour:e},p),i.a.createElement(Jt,null,d),i.a.createElement(Qt,{ref:x,readMore:h,maxHeight:350,showReadMore:w},i.a.createElement(te,null,u.map((t,e)=>i.a.createElement(ee,{key:e,dangerouslySetInnerHTML:{__html:g(t.data.copy,{b:{},i:{}})}}))))),i.a.createElement(Kt,{readMore:h,showReadMore:w},i.a.createElement(Xt,{onClick:()=>((t,e)=>{t&&t((t=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click"}}))(e)),y(!h)})(n,h?"Collapse":"Read more")},h?"Collapse":"Read more")))})},le=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1tqomyo-0"})(["margin:0 auto 20px auto;padding:23px 0 0;background-color:",";border-top:",";width:",";@media (min-width:","px){width:",";}@media (min-width:","px){width:",";}a{text-decoration:none;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},t=>t.isWide?"100%":"auto",C.breakpoints.medium,t=>t.isWide?"100%":"80.8%",C.breakpoints.wide,t=>t.isWide?"100%":"56.2%"),ce=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1tqomyo-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),se=x()($).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1tqomyo-2"})(["font-size:12px;margin:15px 0;padding:10px 12px 5px;"]),de=x.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1tqomyo-3"})(["flex:1 0 50%;padding:12px 16px 13px 0;border-width:0 1px 1px 0;border-style:solid;border-color:",";padding-left:16px;&:empty{height:0;border:none;}&:before,:after{box-sizing:border-box;}@media (min-width:","px){flex:1 0 ",";}"],C.colours.functional.keyline,C.breakpoints.medium,t=>t.isStandard?"50%":"33%"),pe=x.a.div.withConfig({displayName:"styles__NumberContainer",componentId:"sc-1tqomyo-4"})(["font-family:",";font-size:32px;line-height:32px;margin-bottom:4px;color:",";@media (min-width:","px){font-size:50px;line-height:40px;}"],C.fonts.headline,t=>{let e=t.sectionColour;return"".concat(e)},C.breakpoints.medium);var ue;!function(t){t.Standard="4043",t.Wide="4042"}(ue||(ue={}));const fe=t=>t===ue.Wide;function me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return he(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return he(t,e)}(t,e)||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.")}()}function he(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const ge={attrs:{event_navigation_name:"in-article component displayed : big numbers",event_navigation_browsing_method:"scroll"}},ye=t=>{let e=t.sectionColour;const n=f(),a=n.loading,l=n.error,c=n.data;if(a)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(l||void 0===c)return null;const s=c.fields,d=s.headline,p=s.label,u=s.size,m=c.body.data,h=me(Object(o.useState)(!1),2),y=h[0],x=h[1],b=Object(o.useRef)(null),w=me(Object(o.useState)(!1),2),v=w[0],_=w[1],C=fe(u)?250:350;return Object(o.useEffect)(()=>{const t=b.current;t&&_(t.clientHeight>C)},[]),i.a.createElement(L,{context:{object:"InArticleBigNumbers",attrs:{component_type:"in-article component : big numbers: "+(v?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(d)}},scrolledEvent:ge},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(le,{ref:o,sectionColour:e,isWide:fe(u)},i.a.createElement(ce,null,i.a.createElement(H,{sectionColour:e},p),d&&i.a.createElement(B,null,d),i.a.createElement(F,{ref:b,showAll:y,maxHeight:C,displayShowAll:v},i.a.createElement(q,null,m.map((t,n)=>{return i.a.createElement(de,{key:n,isStandard:(o=u,o===ue.Standard)},i.a.createElement(pe,{sectionColour:e},t.data.number),i.a.createElement(D,{dangerouslySetInnerHTML:{__html:g(t.data.copy,{br:{},b:{},i:{}})}}));var o})))),i.a.createElement(U,{showAll:y,displayShowAll:v},i.a.createElement(se,{onClick:()=>((t,e)=>{t&&t((t=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click"}}))(e)),x(!y)})(n,y?"Collapse":"Show all")},y?"Collapse":"Show all")))})};var xe=n(8);const be=x.a.div.withConfig({displayName:"styles__LiveArticleFlagContainer",componentId:"sc-1ipxqw1-0"})(["background-color:#9f0000;height:24px;padding:7px 7px 7px 9px;display:flex;flex-direction:row;width:fit-content;"]),we=x.a.span.withConfig({displayName:"styles__LiveArticleFlagText",componentId:"sc-1ipxqw1-1"})(["font-family:",";color:#ffffff;font-weight:500;font-size:12px;letter-spacing:0.1em;"],C.fonts.supporting),ve=Object(y.keyframes)(["0%{background-color:#ffffff;}50%{background-color:#9f0000;}100%{background-color:#ffffff;}"]),_e=x.a.div.withConfig({displayName:"styles__LiveArticleFlagIconContainer",componentId:"sc-1ipxqw1-2"})(["height:100%;display:flex;align-items:center;margin-right:7px;"]),Ce=x.a.div.withConfig({displayName:"styles__LiveArticleFlagIcon",componentId:"sc-1ipxqw1-3"})(["height:6px;width:6px;animation:"," 2000ms infinite;"],ve),Oe=x.a.div.withConfig({displayName:"styles__ArticleFlagContainer",componentId:"sc-1ipxqw1-4"})(["display:flex;align-items:center;flex-direction:row;"]),Ee=x.a.div.withConfig({displayName:"styles__LiveFlagAndTimestampContainer",componentId:"sc-1ipxqw1-5"})(["display:flex;align-items:center;flex-direction:row;"]),ke=x.a.div.withConfig({displayName:"styles__ArticleFlagBullet",componentId:"sc-1ipxqw1-6"})(["border-radius:2.5px;height:5px;width:5px;background-color:",";"],t=>{let e=t.color;return Object(xe.gqlRgbaToStyle)(e)||e}),je=x.a.div.withConfig({displayName:"styles__ArticleFlagTextContainer",componentId:"sc-1ipxqw1-7"})(["font-family:TimesDigitalW04-RegularSC;font-size:12px;font-weight:400;letter-spacing:0.6px;line-height:12px;margin-left:5px;color:",";"],t=>{let e=t.color;return Object(xe.gqlRgbaToStyle)(e)||e}),Ie=x.a.div.withConfig({displayName:"styles__FlagPadding",componentId:"sc-1ipxqw1-8"})(["margin-right:",";"],t=>t.allFlags.length>1?"15px":0),Se=x.a.div.withConfig({displayName:"styles__Flags",componentId:"sc-1ipxqw1-9"})(["display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:10px;"]),Ae=x.a.div.withConfig({displayName:"styles__FlagsContainer",componentId:"sc-1ipxqw1-10"})(["margin-bottom:15px;margin-top:5px;"]);var ze=n(4);const Ne=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-340u2v-0"})(["display:flex;flex-direction:column;padding:3px 0 0 8px;"]),Te=x.a.div.withConfig({displayName:"styles__TimeSinceUpdate",componentId:"sc-340u2v-1"})(["color:",";font-family:",";font-size:12px;line-height:16px;"],t=>t.color||C.colours.functional.primary,C.fonts.supporting),Pe=t=>{let e=t.updatedTime,n=t.color;if(!e)return null;const o=new Date,r=new Date(e),a=Object(ze.formatDistanceStrict)(r,o,{roundingMethod:"floor"})+" ago",l=Object(ze.differenceInSeconds)(o,r),c=l<60,s=l<46800;return i.a.createElement(Ne,null,!c&&s?i.a.createElement(Te,{color:n,"data-testId":"MinutesHoursSinceUpdate"},"Updated ".concat(a)):s?null:i.a.createElement(Te,{color:n,"data-testId":"DateTimeUpdated"},"Updated ",Object(ze.format)(r,"MMMM d, "),Object(ze.format)(r,"h.mmaaa")))},Me=Object(o.createContext)(void 0),Le=t=>{let e=t.updatedTime,n=t.children;return i.a.createElement(Me.Provider,{value:e},n)},We=t=>{let e=t.title,n=t.timeStampTextColor;const r=Object(o.useContext)(Me);return i.a.createElement(Ee,null,i.a.createElement(be,null,i.a.createElement(_e,null,i.a.createElement(Ce,null)),i.a.createElement(we,null,e)),i.a.createElement(Pe,{updatedTime:r,color:n}))},He=t=>{let e=t.color;return i.a.createElement(We,{timeStampTextColor:e,title:"LIVE"})},Re=t=>{let e=t.color;return i.a.createElement(We,{timeStampTextColor:e,title:"BREAKING"})};var De=t=>t?t.filter(t=>null===t.expiryTime||(new Date).getTime()<new Date(t.expiryTime).getTime()):[];const qe=t=>{let e=t.color,n=void 0===e?C.colours.functional.primary:e,o=t.title;return i.a.createElement(Oe,null,i.a.createElement(ke,{color:n}),i.a.createElement(je,{"aria-label":"".concat(o," Flag"),color:n,"data-testid":"flag-".concat(o)},o.toLowerCase()))},Fe=t=>{let e=t.color,n=void 0===e?C.colours.functional.articleFlagNew:e;return i.a.createElement(qe,{color:n,title:"new"})},Ue=t=>{let e=t.color,n=void 0===e?C.colours.functional.articleFlagUpdated:e;return i.a.createElement(qe,{color:n,title:"updated"})},Be=t=>{let e=t.color,n=void 0===e?C.colours.functional.articleFlagExclusive:e;return i.a.createElement(qe,{color:n,title:"exclusive"})},$e=t=>{let e=t.color,n=void 0===e?C.colours.functional.tertiary:e;return i.a.createElement(qe,{color:n,title:"sponsored"})},Ye=t=>{let e=t.color,n=void 0===e?C.colours.functional.secondary:e;return i.a.createElement(qe,{color:n,title:"long read"})},Ze=t=>{let e=t.allFlags,n=t.overrideColor,o=void 0===n?"":n;return i.a.createElement(Se,null,e.map(t=>i.a.createElement(Ie,{key:t.type,allFlags:e},function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""!==e&&(t={color:e}),new Map([["NEW",i.a.createElement(Fe,Object.assign({},t))],["LIVE",i.a.createElement(He,Object.assign({},t))],["BREAKING",i.a.createElement(Re,Object.assign({},t))],["UPDATED",i.a.createElement(Ue,Object.assign({},t))],["EXCLUSIVE",i.a.createElement(Be,Object.assign({},t))],["SPONSORED",i.a.createElement($e,Object.assign({},t))],["LONGREAD",i.a.createElement(Ye,Object.assign({},t))]])}(o).get(t.type))))},Ge=t=>{let e=t.flags,n=void 0===e?[]:e,o=t.longRead,r=void 0!==o&&o,a=t.withContainer,l=void 0!==a&&a,c=t.color,s=void 0===c?"":c;const d=[...De(n),...r?[{expiryTime:null,type:"LONGREAD"}]:[]];return d.length?l?i.a.createElement(Ae,null,i.a.createElement(Ze,{allFlags:d,overrideColor:s})):i.a.createElement(Ze,{allFlags:d,overrideColor:s}):null};const Ve=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1qwfd1c-0"})(["margin:0 auto 20px auto;padding:20px 0 0;background-color:",";border-top:",";width:100%;@media (min-width:","px){width:80.8%;}@media (min-width:","px){width:56.2%;}a{text-decoration:none;}"],C.colours.functional.backgroundPrimary,t=>{let e=t.sectionColour;return"2px solid ".concat(e)},C.breakpoints.medium,C.breakpoints.wide),Je=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1qwfd1c-1"})(["display:flex;flex-direction:column;justify-content:space-between;padding:0 16px;"]),Ke=x()($).withConfig({displayName:"styles__StyledShowAllButton",componentId:"sc-1qwfd1c-2"})(["font-size:14px;margin:11px 0;padding:12px 15px 10px;"]),Xe=x.a.li.withConfig({displayName:"styles__ListItem",componentId:"sc-1qwfd1c-3"})(["padding:12px 0 13px;width:100%;position:relative;"]),Qe=x.a.div.withConfig({displayName:"styles__LeftPanel",componentId:"sc-1qwfd1c-4"})(["display:table;float:left;width:",";text-align:center;padding-right:",";height:100%;& img{border-radius:100%;height:50px;width:50px;position:relative;margin-left:16px;z-index:2;}&:before{content:'';background:",";position:relative;top:0px;left:15px;width:8px;height:8px;border-radius:100%;z-index:1;display:",";}&:after{content:'';border-right:1px solid #ccc;height:100%;display:block;position:absolute;top:",";left:",";z-index:1;}@media (min-width:","px){width:",";padding-right:",";& img{height:76px;width:76px;}&:after{top:",";left:",";}}"],t=>t.circularImage?"80px":"40px",t=>t.circularImage?"16px":"24px",t=>{let e=t.sectionColour;return"".concat(e)},t=>t.circularImage?"none":"block",t=>t.circularImage?"60px":"20px",t=>t.circularImage?"42px":"19px",C.breakpoints.medium,t=>t.circularImage?"100px":"39px",t=>t.circularImage?"16px":"24px",t=>t.circularImage?"74px":"20px",t=>t.circularImage?"52px":"19px"),tn=x.a.div.withConfig({displayName:"styles__RightPanel",componentId:"sc-1qwfd1c-5"})(["display:grid;"]),en=x.a.div.withConfig({displayName:"styles__Date",componentId:"sc-1qwfd1c-6"})(["font-family:",";text-transform:uppercase;font-size:12px;line-height:16px;margin-bottom:8px;color:",";"],C.fonts.supporting,t=>{let e=t.sectionColour;return"".concat(e)}),nn=x.a.div.withConfig({displayName:"styles__SubHeading",componentId:"sc-1qwfd1c-7"})(["font-size:20px;line-height:20px;color:",";font-family:",";margin-bottom:6px;@media (min-width:","px){font-size:24px;line-height:24px;}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium);function on(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return rn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return rn(t,e)}(t,e)||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.")}()}function rn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const an={attrs:{event_navigation_name:"in-article component displayed : timelines",event_navigation_browsing_method:"scroll"}},ln=t=>{let e=t.sectionColour;const n=f(),a=n.loading,l=n.error,c=n.data;if(a)return i.a.createElement(W,null,i.a.createElement(r.Placeholder,null));if(l||void 0===c)return null;const s=c.fields,d=s.headline,p=s.label,u=c.body.data,m=on(Object(o.useState)(!1),2),h=m[0],y=m[1],x=Object(o.useRef)(null),b=on(Object(o.useState)(!1),2),w=b[0],v=b[1];return Object(o.useEffect)(()=>{const t=x.current;t&&v(t.clientHeight>375)},[]),i.a.createElement(L,{context:{object:"InArticleTimelines",attrs:{component_type:"in-article component : timelines: "+(w?"interactive":"static"),event_navigation_action:"navigation",component_name:"".concat(d)}},scrolledEvent:an},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(Ve,{ref:o,sectionColour:e},i.a.createElement(Je,null,i.a.createElement(H,{sectionColour:e},p),d&&i.a.createElement(B,null,d),i.a.createElement(F,{ref:x,showAll:h,maxHeight:375,displayShowAll:w},i.a.createElement(q,null,u.map((t,n)=>i.a.createElement(Xe,{key:n},i.a.createElement(Qe,{sectionColour:e,circularImage:t.data.image},t.data.image&&i.a.createElement("img",{src:t.data.image})),i.a.createElement(tn,null,i.a.createElement(en,{sectionColour:e},t.data.date),i.a.createElement(nn,null,t.data.eventHeading),i.a.createElement(D,{dangerouslySetInnerHTML:{__html:g(t.data.copy,["br","b","i"])}}))))))),i.a.createElement(U,{showAll:h,displayShowAll:w},i.a.createElement(Ke,{onClick:()=>((t,e)=>{t&&t((t=>({action:"Clicked",attrs:{event_navigation_name:"button : ".concat(t),event_navigation_browsing_method:"click"}}))(e)),y(!h)})(n,h?"Collapse":"Show all")},h?"Collapse":"Show all")))})},cn=()=>"undefined"!=typeof window&&window.sessionStorage;function sn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return dn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dn(t,e)}(t,e)||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.")}()}function dn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function un(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?pn(Object(n),!0).forEach((function(e){fn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function fn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const mn=(t,e)=>{const n=cn();if(n){const o=n.getItem("view-count"),i=un(un({},null!==o&&JSON.parse(o)||{}),{},{[t]:e});n.setItem("view-count",JSON.stringify(i))}},hn=t=>{const e=cn();if(e){const n=e.getItem("view-count"),o=null!==n&&JSON.parse(n);return o&&o[t]||1}return null},gn=t=>{const e=hn(t);mn(t,e+1)},yn=t=>{let e=t.displayFunction,n=void 0===e?()=>!0:e,r=t.trackingName,a=t.children;const l=sn(Object(o.useState)(),2),c=l[0],s=l[1],d=sn(Object(o.useState)(null),2),p=d[0],u=d[1];Object(o.useEffect)(()=>{const t=(t=>{const e=hn(t);return mn(t,e),e})(r);s(t)},[]),S(p,()=>gn&&gn(r),{threshold:.5});const f="undefined"!=typeof window&&window.document.cookie.indexOf("nuk-consent-personalisation=1")>=0&&n(c);return i.a.createElement(i.a.Fragment,null,i.a.createElement("div",{className:"view-count-observer",ref:u}),i.a.createElement("div",{className:"view-count",style:{display:f?"block":"none"}},a))};var xn=n(12),bn=n(13),wn=n(14),vn=n(15),_n=n.n(vn);const Cn={alignItems:"center",backgroundColor:"transparent",borderColor:C.colours.functional.brandColour,borderStyle:"thin",borderWidth:1,color:C.colours.functional.brandColour,elevation:0,fontFamily:C.fonts.supporting,height:48,justifyContent:"center",letterSpacing:.2,width:"100%"},On=x.a.button.withConfig({displayName:"styles__LinkButton",componentId:"sc-1du8ah1-0"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;border:none;background-color:white;"],C.colours.functional.action,C.fonts.body),En=t=>{let e=t.updatingSubscription,n=void 0!==e&&e,o=t.onPress,r=t.style;const a=M().fireAnalyticsEvent,l=()=>{n||(o&&o(),a&&a({action:"Clicked",object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now",event_navigation_browsing_method:"click",event_navigation_action:"navigation"}}))};return"button"===r?i.a.createElement(_n.a,{title:"One click sign up",onPress:()=>l(),style:Cn,underlayColor:"transparent"}):i.a.createElement(On,{onClick:()=>l()},"One click sign up")};var kn=n(16),jn=n.n(kn);const In=x.a.div.withConfig({displayName:"styles__View",componentId:"sc-18e8ba-0"})(["align-items:stretch;box-sizing:border-box;display:flex;flex-basis:auto;flex-direction:column;flex-shrink:0;margin:0;min-height:0;min-width:0;padding:0;position:relative;z-index:0;"]),Sn=x.a.div.withConfig({displayName:"styles__Text",componentId:"sc-18e8ba-1"})(["border:0 solid black;box-sizing:border-box;color:rgba(0,0,0,1);display:inline;font:14px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Ubuntu,'Helvetica Neue',sans-serif;margin:0;padding:0;white-space:pre-wrap;word-wrap:break-word;"]),An=x()(In).withConfig({displayName:"styles__InpContainer",componentId:"sc-18e8ba-2"})(["border-top:2px solid ",";display:flex;flex-direction:column;margin-right:",";margin-bottom:",";margin-left:",";@media (min-width:","px){margin:0 auto ",";width:80.8%;}@media (min-width:","px){width:56.2%;}"],t=>{let e=t.section;return e?C.colours.section[e]:"black"},Object(C.spacing)(2),Object(C.spacing)(4),Object(C.spacing)(2),C.breakpoints.medium,Object(C.spacing)(4),C.breakpoints.wide),zn=x()(Sn).withConfig({displayName:"styles__InpPreferencesText",componentId:"sc-18e8ba-3"})(["color:",";font-family:",";font-size:18px;text-align:left;letter-spacing:-0.4px;margin-bottom:",";"],C.colours.functional.action,C.fonts.body,Object(C.spacing)(3)),Nn=t=>{let e=t.onPress;return i.a.createElement(L,{scrolledEvent:{object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here : displayed",event_navigation_browsing_method:"automated"}}},t=>{let n=t.fireAnalyticsEvent,o=t.intersectObserverRef;return i.a.createElement(jn.a,{url:"https://home.thetimes.co.uk/myNews",onPress:()=>(e&&e(),void(n&&n({action:"Clicked",object:"NewsletterPuffLink",attrs:{event_navigation_name:"widget : puff : manage preferences here",event_navigation_browsing_method:"click"}})))},i.a.createElement(zn,{ref:o},"Manage preferences here"))})},Tn=x()(In).withConfig({displayName:"styles__Overlay",componentId:"sc-1nvj6r-0"})(["position:absolute;width:100%;height:100%;top:0;left:0;right:0;bottom:0;background-color:rgba(255,255,255,0.9);z-index:1;"]),Pn=x.a.div.withConfig({displayName:"styles__Bubble",componentId:"sc-1nvj6r-1"})(["animation:expand 0.75s ease-in-out infinite;border-radius:20px;display:inline-block;transform-origin:center center;margin:0 7px;width:16px;height:16px;background:#c4c4c4;:nth-child(2){animation-delay:250ms;}:nth-child(3){animation-delay:500ms;}@keyframes expand{100%{background:#6b6b6b;}}"]),Mn=x()(In).withConfig({displayName:"styles__Loader",componentId:"sc-1nvj6r-2"})(["display:flex;flex-direction:row;left:40%;top:45%;@media (min-width:","px){left:40%;top:28%;}"],C.breakpoints.wide),Ln=()=>i.a.createElement(Tn,null,i.a.createElement(Mn,null,i.a.createElement(Pn,null),i.a.createElement(Pn,null),i.a.createElement(Pn,null))),Wn=x()(In).withConfig({displayName:"styles__InpSubscribedContainer",componentId:"sc-8h51gu-0"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding-right:150px;flex:1;}"],C.breakpoints.small),Hn=x()(In).withConfig({displayName:"styles__InpSignupContainer",componentId:"sc-8h51gu-1"})(["justify-content:center;padding:12px 16px;@media (min-width:","px){padding:16px 10px;flex:1;}"],C.breakpoints.wide),Rn=x()(Sn).withConfig({displayName:"styles__InpSignupHeadline",componentId:"sc-8h51gu-2"})(["color:",";font-family:",";text-align:center;font-size:18px;text-decoration:none;margin-bottom:",";"],C.colours.functional.brandColour,C.fonts.headline,Object(C.spacing)(1)),Dn=x()(Sn).withConfig({displayName:"styles__InpCopy",componentId:"sc-8h51gu-3"})(["font-family:",";font-size:18px;text-align:left;letter-spacing:-0.5px;color:",";margin-bottom:",";line-height:26px;"],C.fonts.body,C.colours.functional.primary,Object(C.spacing)(6)),qn=x()(In).withConfig({displayName:"styles__InpSignupCTAContainer",componentId:"sc-8h51gu-4"})(["display:",";@media (min-width:","px){width:",";margin:0px auto;}@media (min-width:","px){display:",";}"],t=>"link"===t.childStyle?"none":"block",C.breakpoints.medium,t=>"button"===t.childStyle&&"220px",C.breakpoints.wide,t=>"link"===t.childStyle?"inline-block":"none"),Fn=x()(In).withConfig({displayName:"styles__InpPreferencesContainer",componentId:"sc-8h51gu-5"})(["flex-direction:row;justify-content:center;"]),Un=t=>{let e=t.intersectObserverRef,n=t.section,o=t.justSubscribed,r=t.headline,a=t.updatingSubscription,l=t.copy,c=t.code,s=t.subscribeNewsletter;const d=t=>i.a.createElement(qn,{ref:e,childStyle:t},i.a.createElement(En,{style:t,updatingSubscription:a,onPress:()=>{a||s({variables:{code:c}})}}));return i.a.createElement(i.a.Fragment,null,i.a.createElement(An,{section:n},a&&i.a.createElement(Ln,null),o?i.a.createElement(Wn,null,i.a.createElement(Dn,null,"You've succesfully signed up to"," ",i.a.createElement(Rn,null,"".concat(r,".")," "),i.a.createElement(Nn,null)),i.a.createElement(Fn,null)):i.a.createElement(Hn,null,i.a.createElement(Dn,null,i.a.createElement(Rn,null,r,": "),"".concat(l," "),d("link")),d("button"))))},Bn=t=>{if(!t)return;const e=t.charAt(0),n=t.split(e);return"".concat(e.toUpperCase()).concat(n[1])};function $n(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Yn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Yn(t,e)}(t,e)||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.")}()}function Yn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const Zn=t=>{let e=t.code,n=t.copy,a=t.headline,l=t.section;const c=$n(Object(o.useState)(!1),2),s=c[0],d=c[1];return i.a.createElement(bn.GetNewsletter,{code:e,ssr:!1,debounceTimeMs:0},t=>{let o=t.isLoading,c=t.error,p=t.newsletter;return c?null:o||!p?i.a.createElement(An,{style:{height:257}},i.a.createElement(r.Placeholder,null)):p.isSubscribed&&!s?null:i.a.createElement(xn.Mutation,{mutation:wn.subscribeNewsletter,onCompleted:t=>{let e=t.subscribeNewsletter;d((void 0===e?{}:e).isSubscribed)}},(t,o)=>{let r=o.loading;return i.a.createElement(L,{context:{object:"InlineNewsletterPuff",attrs:{article_parent_name:p.title,event_navigation_action:"navigation"}},scrolledEvent:{object:"NewsletterPuffButton",attrs:{event_navigation_name:"widget : puff : sign up now : displayed",event_navigation_browsing_method:"automated",event_navigation_action:"navigation"}}},o=>{let c=o.intersectObserverRef;return i.a.createElement(Un,{intersectObserverRef:c,section:Bn(l),justSubscribed:s,headline:a,updatingSubscription:r,copy:n,code:e,subscribeNewsletter:t})})})})},Gn=t=>{let e=t.code,n=t.copy,o=t.headline,r=t.section;return i.a.createElement(yn,{trackingName:"auto-puff-".concat(e),displayFunction:t=>void 0!==t&&[1,3,5].includes(t)},i.a.createElement(Zn,{code:e,copy:n,headline:o,section:r}))},Vn=t=>{let e=t.copy,n=t.headline,o=t.section;return i.a.createElement(An,{section:o},i.a.createElement(Hn,null,i.a.createElement(Dn,null,i.a.createElement(Rn,null,n,": "),e,i.a.createElement(qn,{childStyle:"link"},i.a.createElement(En,{style:"link"}))),i.a.createElement(qn,{childStyle:"button"},i.a.createElement(En,{style:"button"}))))},Jn=()=>{"undefined"==typeof window||window.opta_settings||(window.opta_settings={subscription_id:"db98cff9f9612c01bbf3435964748e95",language:"en_GB",timezone:"Europe/London",load_when_visible:!1})},Kn=t=>{const e=(t=>{switch(t){case"rugby":return"https://secure.widget.cloud.opta.net/v3/css/v3.rugby.opta-widgets.css";case"football":default:return"https://secure.widget.cloud.opta.net/v3/css/v3.football.opta-widgets.css"}})(t);if(!document.head.querySelector('link[href="'.concat(e,'"]'))){const t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),document.getElementsByTagName("head")[0].appendChild(t)}},Xn=()=>(t=>document.body.querySelector('script[src="'.concat(t,'"]'))?Promise.resolve():new Promise((e,n)=>{const o=document.createElement("script");o.setAttribute("async","async"),o.setAttribute("src",t),o.onload=e,o.onerror=n,document.body.appendChild(o)}))("https://secure.widget.cloud.opta.net/v3/v3.opta-widgets.js"),Qn=(t,e,n)=>{const o=document.createElement(t);return e&&Object.keys(e).map(t=>{void 0!==e[t]&&o.setAttribute(t,e[t].toString())}),n&&o.appendChild(n),o},to=()=>{"undefined"!=typeof window&&void 0!==window.Opta&&window.Opta.start()},eo=x.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1yydril-0"})(["margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],C.colours.functional.backgroundPrimary,t=>t.border?"2px solid ".concat(C.colours.section.sport):"none",C.breakpoints.medium,t=>t.fullWidth?"100%":"80.8%",C.breakpoints.wide,t=>t.fullWidth?"100%":"56.2%"),no=x.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1yydril-1"})(["position:relative;height:200px;"]),oo=x.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1yydril-2"})([".Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting),io=(x()(oo).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"sc-19pyhbq-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],C.fonts.headline,C.breakpoints.medium),x()(oo).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-19pyhbq-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:14px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:14px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],C.colours.functional.backgroundSecondary,C.colours.functional.brandColour,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport));function ro(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ao(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ao(t,e)}(t,e)||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.")}()}function ao(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const lo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.date_from,l=t.date_to,c=t.full_width;const s=i.a.createRef(),d=ro(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{Jn(),Kn("football"),Xn().then(()=>{s.current&&(s.current.innerHTML=Qn("opta-widget",{sport:"football",widget:"fixtures",season:e,competition:n,date_from:a,date_to:l,live:!0,grouping:"date",show_grouping:!0,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},Qn("opta-widget",{sport:"football",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_goals:!0,show_cards:"red",breakpoints:"520"})).outerHTML,to(),u(!0))})},[]),i.a.createElement(eo,{border:p,fullWidth:c},i.a.createElement(io,{ref:s}),!p&&i.a.createElement(no,null,i.a.createElement(r.Placeholder,null)))}),co=x()(oo).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1ofehep-0"})([".Opta{h3.Opta-groupname{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:6px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:16px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],C.colours.functional.primary,C.fonts.supporting,C.colours.functional.keyline,C.breakpoints.medium,C.colours.functional.brandColour,C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.backgroundPrimary,C.colours.functional.brandColour,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.brandColour,C.colours.functional.backgroundSecondary,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium);function so(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return po(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return po(t,e)}(t,e)||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.")}()}function po(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const uo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.default_nav,l=void 0===a?1:a,c=t.navigation,s=t.full_width;const d=i.a.createRef(),p=so(Object(o.useState)(!1),2),u=p[0],f=p[1];return Object(o.useEffect)(()=>{Jn(),Kn("football"),Xn().then(()=>{d.current&&(d.current.innerHTML=Qn("opta-widget",{sport:"football",widget:"standings",season:e,competition:n,live:!0,navigation:c?"dropdown":void 0,default_nav:l,show_crests:!0,breakpoints:520}).outerHTML,to(),f(!0))})},[]),i.a.createElement(eo,{border:u,fullWidth:s},i.a.createElement(co,{ref:d}),!u&&i.a.createElement(no,null,i.a.createElement(r.Placeholder,null)))}),fo=x()(oo).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1p8r5mo-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport);function mo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ho(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ho(t,e)}(t,e)||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.")}()}function ho(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const go=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=mo(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Jn(),Kn("football"),Xn().then(()=>{c.current&&(c.current.innerHTML=Qn("opta-widget",{sport:"football",widget:"match_summary",season:e,competition:n,match:a,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_goals:!0,show_cards:"red",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,to(),p(!0))})},[]),i.a.createElement(eo,{border:d,fullWidth:l},i.a.createElement(fo,{ref:c}),!d&&i.a.createElement(no,null,i.a.createElement(r.Placeholder,null)))}),yo=x()(oo).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1loypld-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.section.sport,C.colours.section.sport,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting);function xo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return bo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return bo(t,e)}(t,e)||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.")}()}function bo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const wo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=xo(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Jn(),Kn("football"),Xn().then(()=>{c.current&&(c.current.innerHTML=Qn("opta-widget",{sport:"football",widget:"matchstats",season:e,competition:n,match:a,template:"custom",graph_style:"relative",stats_categories:"Category 1|possession,shots,shots_on_target,passes,passes_accuracy,corners_won,fouls_conceded,cards_yellow,cards_red",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,to(),p(!0))})},[]),i.a.createElement(eo,{border:d,fullWidth:l},i.a.createElement(yo,{ref:c}),!d&&i.a.createElement(no,null,i.a.createElement(r.Placeholder,null)))}),vo=x.a.div.withConfig({displayName:"shared-styles__Container",componentId:"sc-1dlwd3q-0"})(["margin:0 auto 20px auto;background-color:",";border-top:",";a{text-decoration:none;}@media (min-width:","px){flex-direction:row;width:",";}@media (min-width:","px){width:",";}"],C.colours.functional.backgroundPrimary,t=>t.border?"2px solid ".concat(C.colours.section.sport):"none",C.breakpoints.medium,t=>t.fullWidth?"100%":"80.8%",C.breakpoints.wide,t=>t.fullWidth?"100%":"56.2%"),_o=x.a.div.withConfig({displayName:"shared-styles__PlaceholderContainer",componentId:"sc-1dlwd3q-1"})(["position:relative;height:200px;"]),Co=x.a.div.withConfig({displayName:"shared-styles__WidgetContainerBase",componentId:"sc-1dlwd3q-2"})([".Opta{.Opta_W{margin:0;background-color:transparent;h2{height:auto;margin:20px 0;color:",";font-family:",";font-size:12px;line-height:14px;font-weight:normal;letter-spacing:1px;text-align:center;text-transform:uppercase;background-color:transparent;span{height:auto;font-size:12px;line-height:14px;font-weight:normal;}}table{width:100%;margin:0;border-collapse:collapse;border-spacing:0;}}p{margin:20px 0 0 0 !important;padding:0 0 20px 0 !important;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background:transparent !important;}}"],C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting),Oo=(x()(Co).withConfig({displayName:"styles__WidgetContainerOverride",componentId:"me94al-0"})([".Opta{h2{margin:20px 0 0 0 !important;}.Opta-js-main{table{tbody{td.Opta-title{background-color:transparent !important;border-bottom:1px solid #e4e4e4;h3{margin:20px 0 0 0 !important;font-family:"," !important;font-size:16px !important;line-height:30px !important;text-align:center;span{font-size:inherit;}@media (min-width:","px){font-size:18px !important;line-height:40px !important;}}}}}}}"],C.fonts.headline,C.breakpoints.medium),x()(Co).withConfig({displayName:"styles__WidgetContainer",componentId:"me94al-1"})([".Opta{.Opta-js-main{padding:0;background-color:transparent;table{tbody{td.Opta-title{height:40px;background-color:",";h3{height:auto;margin:0 0 0 10px;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;background-color:transparent;border-bottom:0;span{float:none;padding:0;}@media (min-width:","px){margin:0 0 0 20px;}}}tr.Opta-Scoreline{height:40px;background-color:transparent !important;border-bottom:1px solid #e4e4e4;@media (min-width:","px){height:50px;}td{max-width:none !important;padding:3px 0 0 0;color:"," !important;font-family:",";font-size:14px;line-height:14px;background-color:transparent;&.Opta-Time{width:50px !important;padding:6px 0 0 10px;color:"," !important;font-family:",";abbr{font-size:inherit;line-height:inherit;text-decoration:none;}@media (min-width:","px){width:60px !important;padding:6px 0 0 20px;font-size:14px;line-height:14px;}}&.Opta-Team{width:30% !important;padding-left:10px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}@media (min-width:","px){padding-left:15px;&.Opta-Home{padding-right:15px;padding-left:0;}}}&.Opta-Score{width:25px !important;font-size:16px;line-height:16px;text-align:left !important;&.Opta-Home{text-align:right !important;}span{font-size:inherit;line-height:inherit;}@media (min-width:","px){width:30px !important;font-size:24px;line-height:24px;}}&.Opta-Crest{width:20px !important;margin-top:-3px;img{width:20px;}}&.Opta-Divider{width:20px !important;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}&.Opta-Outer:not(.Opta-Time){width:50px !important;padding:0 10px 0 0;@media (min-width:","px){width:60px !important;padding:0 20px 0 0;}}@media (min-width:","px){font-size:16px;line-height:16px;}}}tr.Opta-agg{background-color:transparent !important;td{padding:10px;color:",";font-family:",";font-size:14px;line-height:16px;background-color:transparent;span{font-size:inherit;line-height:inherit;}span.Opta-agg-text{text-transform:uppercase;}}}tr{td.Opta-Nest{padding:0;.Opta_W{> .Opta-Cf{background-color:transparent;border-bottom:1px solid #e4e4e4;.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}}}}}}}"],C.colours.functional.backgroundSecondary,C.colours.functional.brandColour,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.breakpoints.medium,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport));function Eo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ko(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ko(t,e)}(t,e)||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.")}()}function ko(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const jo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.date_from,l=t.date_to,c=t.full_width;const s=i.a.createRef(),d=Eo(Object(o.useState)(!1),2),p=d[0],u=d[1];return Object(o.useEffect)(()=>{Jn(),Kn("rugby"),Xn().then(()=>{s.current&&(s.current.innerHTML=Qn("opta-widget",{sport:"rugby",widget:"fixtures",season:e,competition:n,date_from:a,date_to:l,live:!0,grouping:"date",show_grouping:!0,show_subgrouping:!1,show_crests:!0,date_format:"dddd MMMM D YYYY",breakpoints:520},Qn("opta-widget",{sport:"rugby",widget:"match_summary",season:"",competition:"",match:"",live:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",show_cards:"all",breakpoints:"520"})).outerHTML,to(),u(!0))})},[]),i.a.createElement(vo,{border:p,fullWidth:c},i.a.createElement(Oo,{ref:s}),!p&&i.a.createElement(_o,null,i.a.createElement(r.Placeholder,null)))}),Io=x()(Co).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-9cbyte-0"})([".Opta{h3{height:40px;margin:0;padding-left:10px;color:",";font-family:",";font-size:14px;line-height:42px;font-weight:normal;background-color:",";border:0;span{float:none;padding:0;}@media (min-width:","px){padding-left:14px;}}.Opta-Cf{float:none;margin:0;padding:0;background-color:transparent;&.Opta-Dropdown{.Opta-Nav{width:110px;margin:20px auto;background-color:transparent;border:1px solid ",";h3{height:38px;color:",";font-family:",";font-size:14px;line-height:40px;font-weight:normal;text-align:center;background-color:white;border:0;.Opta-Icon{height:38px;margin:0 10px 0 0;:after{background-position:-180px -19px;}}.Opta-Title{height:38px;padding:0 0 0 18px;line-height:40px;}&.Opta-Open{.Opta-Icon{:after{background-position:-149px -20px;}}}}ul{display:none;top:0;list-style-type:none;background-color:",";border:0;border-top:1px solid ",";li{margin:0;text-align:center;a{height:28px;padding:0;color:",";font-family:",";font-size:14px;line-height:30px;background-color:transparent;&:hover{color:",";font-weight:bold;background-color:white;}}&:first-of-type{a{height:32px;padding-top:4px;}}&:last-of-type{a{height:32px;padding-bottom:4px;}}}}}}ul.Opta-TabbedContent{margin:0;padding:0;list-style-type:none;li{display:none;&.Opta-On{display:block;}h3{display:none;text-decoration:none !important;.Opta-Icon{display:none;}}}}table{thead{background-color:",";tr{height:40px;th{padding:0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}&.Opta-Team{width:auto !important;}&:last-of-type{padding:0 10px 0 0;}}}}tbody{tr{height:40px;border-bottom:1px solid #e4e4e4;th{width:42px;padding:6px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;font-weight:normal;text-align:center;background-color:transparent;@media (min-width:","px){width:50px;font-size:16px;line-height:16px;}}td{width:30px;padding:3px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;text-align:center;background-color:transparent;&:last-of-type{width:40px;padding:3px 10px 0 0;}&.Opta-Team{width:auto !important;text-align:left;}.Opta-Image{width:20px;margin-top:-3px;img{width:20px;}}@media (min-width:","px){width:40px;font-size:16px;line-height:16px;&:last-of-type{width:50px;}}}}}}}}"],C.colours.functional.primary,C.fonts.supporting,C.colours.functional.keyline,C.breakpoints.medium,C.colours.functional.brandColour,C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.backgroundPrimary,C.colours.functional.brandColour,C.colours.functional.primary,C.fonts.supporting,C.colours.functional.brandColour,C.colours.functional.backgroundSecondary,C.colours.functional.primary,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium);function So(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ao(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ao(t,e)}(t,e)||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.")}()}function Ao(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const zo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.default_nav,l=void 0===a?1:a,c=t.navigation,s=t.full_width;const d=i.a.createRef(),p=So(Object(o.useState)(!1),2),u=p[0],f=p[1];return Object(o.useEffect)(()=>{Jn(),Kn("rugby"),Xn().then(()=>{d.current&&(d.current.innerHTML=Qn("opta-widget",{sport:"rugby",widget:"standings",season:e,competition:n,live:!0,navigation:c?"dropdown":void 0,default_nav:l,show_crests:!0,breakpoints:520}).outerHTML,to(),f(!0))})},[]),i.a.createElement(vo,{border:u,fullWidth:s},i.a.createElement(Io,{ref:d}),!u&&i.a.createElement(_o,null,i.a.createElement(r.Placeholder,null)))}),No=x()(Co).withConfig({displayName:"styles__WidgetContainer",componentId:"sc-1pgxtc2-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{td{color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}}.Opta-Events{padding:10px 0 2px 0;li{padding:0 0 8px 0;.Opta-Event-Text{color:",";font-family:",";font-size:14px;line-height:16px;.Opta-Event-Player,.Opta-Event-Time,.Opta-Event-Text-Type{font-size:inherit;line-height:inherit;}.Opta-Event-Time{color:",";}}}}}}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport);function To(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Po(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Po(t,e)}(t,e)||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.")}()}function Po(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const Mo=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=To(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Jn(),Kn("rugby"),Xn().then(()=>{c.current&&(c.current.innerHTML=Qn("opta-widget",{sport:"rugby",widget:"match_summary",season:e,competition:n,match:a,live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,show_tries:!0,show_conversions:!0,show_penalties:!0,show_drop_goals:"scored",date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,to(),p(!0))})},[]),i.a.createElement(vo,{border:d,fullWidth:l},i.a.createElement(No,{ref:c}),!d&&i.a.createElement(_o,null,i.a.createElement(r.Placeholder,null)))}),Lo=x()(Co).withConfig({displayName:"styles__WidgetContainer",componentId:"lquz8o-0"})([".Opta{h2{margin:20px 0 10px 0 !important;}.Opta-Cf{padding:0;background-color:transparent;table{tbody{tr{th.Opta-Stats-Bars-Text{height:auto;padding:20px 0 0 0;color:",";font-family:",";font-size:14px;line-height:14px;}td{height:auto;color:",";font-family:",";font-size:18px;line-height:18px;padding:0;&.Opta-Crest{text-align:left;&.Opta-Home{text-align:right;}img{width:40px;}}&.Opta-Team{padding-left:10px;font-size:18px;line-height:18px;&.Opta-Home{padding-right:10px;padding-left:0;text-align:right;}}&.Opta-Score{width:20px;font-size:24px;line-height:24px;text-align:left;&.Opta-Home{text-align:right;}span{min-width:0;padding:0;color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;text-align:inherit;background-color:transparent !important;}@media (min-width:","px){width:30px;font-size:32px;line-height:32px;}}&.Opta-Divider{width:20px;text-align:center;abbr{font-size:inherit;line-height:inherit;text-decoration:none;}}.Opta-Bars{margin:0;.Opta-Percent.Opta-Home{background-color:",";}.Opta-Percent.Opta-Away{background-color:",";opacity:0.5;}}}&.Opta-Score-Extras{td{color:",";font-family:",";font-size:14px;line-height:28px;span{color:inherit;font-size:inherit;}}}&.Opta-MatchHeader-Details{div{padding:0;color:",";font-family:",";font-size:12px;line-height:12px;letter-spacing:1px;text-transform:uppercase;background-color:transparent;span{margin:0 6px;color:inherit;font-size:inherit;}}}}}&.Opta-Stats-Bars{margin-bottom:20px;}}}}"],C.colours.functional.brandColour,C.fonts.supporting,C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium,C.colours.section.sport,C.colours.section.sport,C.colours.functional.brandColour,C.fonts.supporting,C.colours.section.sport,C.fonts.supporting);function Wo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ho(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ho(t,e)}(t,e)||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.")}()}function Ho(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const Ro=i.a.memo(t=>{let e=t.season,n=t.competition,a=t.match,l=t.full_width;const c=i.a.createRef(),s=Wo(Object(o.useState)(!1),2),d=s[0],p=s[1];return Object(o.useEffect)(()=>{Jn(),Kn("rugby"),Xn().then(()=>{c.current&&(c.current.innerHTML=Qn("opta-widget",{sport:"rugby",widget:"matchstats",season:e,competition:n,match:a,template:"custom",graph_style:"relative",stats_categories:"Category 1|tries,passes,tackles,carries,metres,lineouts_won_percent,scrums_won_percent,turnovers_conceded,yellow_cards,red_cards",live:!0,show_match_header:!0,show_halftime_score:!0,show_competition_name:!0,show_date:!0,show_crests:!0,date_format:"DD/MM/YYYY",breakpoints:"520"}).outerHTML,to(),p(!0))})},[]),i.a.createElement(vo,{border:d,fullWidth:l},i.a.createElement(Lo,{ref:c}),!d&&i.a.createElement(_o,null,i.a.createElement(r.Placeholder,null)))});var Do=n(17),qo=n.n(Do),Fo=n(18),Uo=n.n(Fo),Bo=n(19);const $o=t=>t.map(t=>({url:t.url,ratio:t.aspectRatio})),Yo=t=>{if(t){if(t.crops)return $o(t.crops);if(t.posterImage&&t.posterImage.crops)return $o(t.posterImage.crops)}return[]},Zo=t=>{return{url:t.url,label:t.label,byline:(n=t.bylines,n?n.map(t=>"author"===t.type?t.name:t.value).join(""):void 0),headline:t.headline,summary:(e=t.summary,e&&e.children?e.children.map(t=>t.text).join("")+"...":void 0),datePublished:t.publishedDateTime,images:{alt:t.headline,crops:Yo(t.media)}};var e,n},Go=t=>{switch(t){case 1:return"RELATED_ARTICLE_1";case 2:return"RELATED_ARTICLE_2";default:return"RELATED_ARTICLE_3"}},Vo=t=>({name:Go(t.length),children:t.map(t=>({article:Zo(t)})).slice(0,3)}),Jo=x.a.div.withConfig({displayName:"styles__Header",componentId:"sc-1f3o71-0"})(["margin-bottom:12px;padding:16px 12px 12px 12px;color:",";font-family:",";font-size:24px;line-height:24px;font-weight:normal;text-align:center;border-top:1px solid #dbdbdb;border-bottom:1px solid #dbdbdb;"],C.colours.functional.brandColour,C.fonts.headline),Ko=t=>{let e=t.heading;const n=f(),o=n.loading,r=n.error,a=n.data;if(o||r)return null;const l=Uo()(a,"recommendations.articles");if(!l||!l.length)return null;const c=M().fireAnalyticsEvent;return i.a.createElement("div",{id:"recommended-articles"},i.a.createElement(Jo,null,e),i.a.createElement(Bo.Slice,{slice:Vo(l),clickHandler:(t,e)=>{c&&c({action:"Clicked",attrs:{article_parent_name:e.headline}})}}))};function Xo(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Qo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qo(t,e)}(t,e)||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.")}()}function Qo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}const ti=t=>{let e=t.articleId,n=t.articleHeadline,r=t.articleSection;const a=Xo(Object(o.useState)(!1),2),l=a[0],c=a[1];Object(o.useEffect)(()=>{try{const t=window.nuk.getCookieValue("acs_tnl"),e=window.__TIMES_CONFIG__.environmentName;t&&["local-prod","pr","uat","staging","prod"].includes(e)&&c(!0)}catch(t){console.log(t)}},[]);const s="Today's ".concat(qo()(r));return l?i.a.createElement(u,{url:"/api/recommended-articles/".concat(e,"/todays_section")},i.a.createElement(L,{context:{object:"RecommendedArticles",attrs:{event_navigation_action:"navigation",event_navigation_name:"widget:relevant article",event_navigation_browsing_method:"click",section_details:"section : ".concat(r),article_name:n,widget_headline:s.toLowerCase(),widget_section:r,widget_type:"today's section"}}},i.a.createElement(Ko,{heading:s}))):null},ei={background:"#bedeed",foreground:"#1573a2"},ni={background:"#ffeecc",foreground:"#ffa300"},oi={background:"#ffd6d6",foreground:"#df0000"},ii=x.a.div.withConfig({displayName:"styles__Container",componentId:"sc-1lbbpaf-0"})(["display:flex;margin-top:50px;&.info{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.warning{background-color:",";border-left:4px solid ",";svg{fill:",";}}&.error{background-color:",";border-left:4px solid ",";svg{fill:",";}}"],ei.background,ei.foreground,ei.foreground,ni.background,ni.foreground,ni.foreground,oi.background,oi.foreground,oi.foreground),ri=x.a.div.withConfig({displayName:"styles__IconContainer",componentId:"sc-1lbbpaf-1"})(["margin:12px 0 45px 12px;"]),ai=x.a.div.withConfig({displayName:"styles__ContentContainer",componentId:"sc-1lbbpaf-2"})(["margin:12px;"]),li=x.a.div.withConfig({displayName:"styles__Title",componentId:"sc-1lbbpaf-3"})(["font-family:",";font-weight:700;font-size:16px;line-height:16px;margin-bottom:6px;"],C.fonts.supporting),ci=x.a.div.withConfig({displayName:"styles__Description",componentId:"sc-1lbbpaf-4"})(["font-family:",";font-weight:500;font-size:14px;line-height:20px;"],C.fonts.supporting),si=t=>{let e=t.size,n=void 0===e?{width:"20",height:"20"}:e;return i.a.createElement("svg",{width:n.width,height:n.height,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.a.createElement("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 0C4.48 0 0 4.48 0 10C0 15.52 4.48 20 10 20C15.52 20 20 15.52 20 10C20 4.48 15.52 0 10 0ZM9 15V9H11V15H9ZM9 5V7H11V5H9Z"}))},di=t=>{let e=t.title,n=t.type,o=t.children;return i.a.createElement(ii,{className:n},i.a.createElement(ri,null,i.a.createElement(si,null)),i.a.createElement(ai,null,i.a.createElement(li,null,e),i.a.createElement(ci,null,o)))},pi=x.a.div.withConfig({displayName:"styles__Container",componentId:"kqn9c8-0"})(["display:flex;flex-direction:column;align-items:center;padding:60px;@media (min-width:","px){padding:88px;}"],C.breakpoints.medium),ui=x.a.div.withConfig({displayName:"styles__Title",componentId:"kqn9c8-1"})(["font-family:",";font-size:32px;line-height:32px;letter-spacing:0;text-align:center;padding:24px;"],C.fonts.headline),fi=x.a.div.withConfig({displayName:"styles__Description",componentId:"kqn9c8-2"})(["font-family:",";font-weight:400;font-size:18px;line-height:28px;letter-spacing:0;text-align:center;max-width:660px;"],C.fonts.body),mi=x.a.a.withConfig({displayName:"styles__Button",componentId:"kqn9c8-3"})(["display:flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer;background-color:#008387;color:white;font-family:",";width:127px;height:48px;font-size:16px;font-style:normal;font-weight:500;line-height:20px;letter-spacing:0;margin:24px;"],C.fonts.supporting),hi=t=>{let e=t.title,n=t.href,o=void 0===n?"#":n,r=t.onClick,a=t.buttonText,l=t.children;return i.a.createElement(pi,null,i.a.createElement(ui,null,e),i.a.createElement(fi,null,l),i.a.createElement(mi,{href:o,onClick:r},a))};var gi=n(5);var yi=t=>{try{return decodeURIComponent(t)}catch(e){return t}};const xi=x.a.div.withConfig({displayName:"styles__Container",componentId:"uvi9j3-0"})(["display:flex;flex-direction:column;justify-content:center;margin:48px 10px 24px 10px;padding-top:",";border-top:2px solid #9f0000;@media (min-width:","px){width:80.8%;margin:64px 0 24px 10%;}@media (min-width:","px){width:56.2%;margin:64px 0 24px 22%;}"],t=>t.isBreaking?"8px":"5px",C.breakpoints.medium,C.breakpoints.wide),bi=x.a.div.withConfig({displayName:"styles__UpdatesContainer",componentId:"uvi9j3-1"})(["display:flex;flex-direction:row;justify-content:space-between;"]),wi=x.a.div.withConfig({displayName:"styles__TimeSincePublishingContainer",componentId:"uvi9j3-2"})(["display:flex;flex-direction:row;"]),vi=x.a.div.withConfig({displayName:"styles__TimeSincePublishing",componentId:"uvi9j3-3"})(["color:",";font-family:",";font-size:14px;line-height:18px;"],C.colours.functional.brandColour,C.fonts.supporting),_i=Object(y.css)(["color:",";font-family:",";font-size:14px;line-height:18px;"],C.colours.functional.secondary,C.fonts.supporting),Ci=x.a.div.withConfig({displayName:"styles__UpdatedTimeItems",componentId:"uvi9j3-4"})(["display:flex;justify-content:space-between;align-items:baseline;"]),Oi=x.a.div.withConfig({displayName:"styles__UpdatedTime",componentId:"uvi9j3-5"})(["",";"],_i),Ei=x.a.div.withConfig({displayName:"styles__UpdatedDate",componentId:"uvi9j3-6"})([""," justify-content:end;padding:0 4px 0 0;"],_i),ki=x.a.div.withConfig({displayName:"styles__Divider",componentId:"uvi9j3-7"})(["background-color:",";width:1px;margin:2px 8px 6px 8px;"],C.colours.functional.greyLabel),ji=x.a.h2.withConfig({displayName:"styles__Headline",componentId:"uvi9j3-8"})(["color:",";font-family:",";font-size:28px;line-height:28px;margin-top:22px;margin-bottom:0px;font-weight:400;@media (min-width:","px){font-size:36px;line-height:36px;margin-top:20px;margin-bottom:0px;}"],C.colours.functional.brandColour,C.fonts.headline,C.breakpoints.medium),Ii=x.a.div.withConfig({displayName:"styles__FlagContainer",componentId:"uvi9j3-9"})(["margin-right:8px;"]);function Si(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==n)return;var o,i,r=[],a=!0,l=!1;try{for(n=n.call(t);!(a=(o=n.next()).done)&&(r.push(o.value),!e||r.length!==e);a=!0);}catch(t){l=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(l)throw i}}return r}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ai(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ai(t,e)}(t,e)||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.")}()}function Ai(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}var zi=t=>{let e=t.updated,n=t.breaking,r=t.headline;const a=Si(Object(o.useState)(""),2),l=a[0],c=a[1],s=new Date,d=new Date(e),p=Object(gi.utcToZonedTime)(d,"Europe/London");Object(o.useEffect)(()=>{"Europe/London"!==Intl.DateTimeFormat().resolvedOptions().timeZone&&c(Object(gi.format)(p,"zzz",{timeZone:"Europe/London"}))});const u=Object(ze.formatDistanceStrict)(d,s,{roundingMethod:"floor"})+" ago",f=Object(ze.differenceInSeconds)(s,d),m=f<60,h=f<3600,g=f<46800,y=Object(ze.differenceInCalendarDays)(s,p)>=1,x=!!n&&Boolean("true"===n.toLowerCase()),b=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=/\D+/g,o=t.replace(n,""),i=/\b(\w)/g,r=e.match(i),a=null===r?"":r.join("");return"u_".concat(o).concat(a)}(e,r);return i.a.createElement(xi,{isBreaking:x&&h,id:b},i.a.createElement(bi,null,i.a.createElement(Ci,null,x&&h?i.a.createElement(Ii,null,i.a.createElement(Re,null)):null,!m&&g?i.a.createElement(wi,null,i.a.createElement(vi,{"data-testId":"TimeSincePublishing"},u),i.a.createElement(ki,null)):null,i.a.createElement(Oi,{isLessThan13Hours:!m&&g},"".concat(Object(gi.format)(p,"h.mmaaa")," ").concat(l))),y?i.a.createElement(Ei,null,Object(gi.format)(p,"MMMM d")):null),r&&i.a.createElement(ji,null,yi(r)))};n.d(e,"InArticlePuff",(function(){return Q})),n.d(e,"InfoCard",(function(){return kt})),n.d(e,"GalleryCarousel",(function(){return Zt})),n.d(e,"InfoCardBulletPoints",(function(){return ae})),n.d(e,"BigNumbers",(function(){return ye})),n.d(e,"BreakingArticleFlag",(function(){return Re})),n.d(e,"LiveArticleFlag",(function(){return He})),n.d(e,"ArticleFlag",(function(){return qe})),n.d(e,"ArticleFlags",(function(){return Ge})),n.d(e,"NewArticleFlag",(function(){return Fe})),n.d(e,"UpdatedArticleFlag",(function(){return Ue})),n.d(e,"ExclusiveArticleFlag",(function(){return Be})),n.d(e,"SponsoredArticleFlag",(function(){return $e})),n.d(e,"LongReadArticleFlag",(function(){return Ye})),n.d(e,"Timelines",(function(){return ln})),n.d(e,"AutoNewsletterPuff",(function(){return Gn})),n.d(e,"InlineNewsletterPuff",(function(){return Zn})),n.d(e,"PreviewNewsletterPuff",(function(){return Vn})),n.d(e,"OptaFootballFixtures",(function(){return lo})),n.d(e,"OptaFootballStandings",(function(){return uo})),n.d(e,"OptaFootballSummary",(function(){return go})),n.d(e,"OptaFootballMatchStats",(function(){return wo})),n.d(e,"OptaRugbyFixtures",(function(){return jo})),n.d(e,"OptaRugbyStandings",(function(){return zo})),n.d(e,"OptaRugbySummary",(function(){return Mo})),n.d(e,"OptaRugbyMatchStats",(function(){return Ro})),n.d(e,"RecommendedFetch",(function(){return ti})),n.d(e,"FetchProvider",(function(){return u})),n.d(e,"ViewCountWrapper",(function(){return yn})),n.d(e,"TrackingContextProvider",(function(){return L})),n.d(e,"HiddenDiv",(function(){return R})),n.d(e,"InlineMessage",(function(){return di})),n.d(e,"InlineDialog",(function(){return hi})),n.d(e,"ArticleHeader",(function(){return zi})),n.d(e,"UpdatedTimestamp",(function(){return Pe})),n.d(e,"UpdatedTimeProvider",(function(){return Le})),n.d(e,"safeDecodeURIComponent",(function(){return yi}))}]);
@@ -6,7 +6,7 @@ exports[`<AutoNewsletterPuff> display function always renders 1`] = `
6
6
  style="display: block;"
7
7
  >
8
8
  <div
9
- class="sc-bwzfXH sc-bxivhb jahLAV"
9
+ class="sc-bwzfXH sc-bxivhb isparC"
10
10
  style="height: 257px;"
11
11
  >
12
12
  <div
@@ -45,7 +45,7 @@ exports[`<AutoNewsletterPuff> display function doesnt render without consent 1`]
45
45
  style="display: none;"
46
46
  >
47
47
  <div
48
- class="sc-bwzfXH sc-bxivhb jahLAV"
48
+ class="sc-bwzfXH sc-bxivhb isparC"
49
49
  style="height: 257px;"
50
50
  >
51
51
  <div
@@ -84,7 +84,7 @@ exports[`<AutoNewsletterPuff> using a display function [1, 3] count = 1 1`] = `
84
84
  style="display: block;"
85
85
  >
86
86
  <div
87
- class="sc-bwzfXH sc-bxivhb jahLAV"
87
+ class="sc-bwzfXH sc-bxivhb isparC"
88
88
  style="height: 257px;"
89
89
  >
90
90
  <div
@@ -123,7 +123,7 @@ exports[`<AutoNewsletterPuff> using a display function [1, 3] count = 2 1`] = `
123
123
  style="display: none;"
124
124
  >
125
125
  <div
126
- class="sc-bwzfXH sc-bxivhb jahLAV"
126
+ class="sc-bwzfXH sc-bxivhb isparC"
127
127
  style="height: 257px;"
128
128
  >
129
129
  <div
@@ -4,40 +4,40 @@ exports[`Inline Newsletter Puff renders loading state state 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <div
7
- class="sc-bwzfXH sc-bxivhb iFwRag"
7
+ class="sc-bwzfXH sc-bxivhb gBLWdB"
8
8
  >
9
9
  <div
10
- class="sc-bwzfXH sc-bZQynM fcQclH"
10
+ class="sc-bwzfXH sc-EHOje jfKrZk"
11
11
  >
12
12
  <div
13
- class="sc-bwzfXH sc-htoDjs bnLiNW"
13
+ class="sc-bwzfXH sc-gzVnrw dolbke"
14
14
  >
15
15
  <div
16
- class="sc-gzVnrw TDlzj"
16
+ class="sc-bZQynM gfhMRw"
17
17
  />
18
18
  <div
19
- class="sc-gzVnrw TDlzj"
19
+ class="sc-bZQynM gfhMRw"
20
20
  />
21
21
  <div
22
- class="sc-gzVnrw TDlzj"
22
+ class="sc-bZQynM gfhMRw"
23
23
  />
24
24
  </div>
25
25
  </div>
26
26
  <div
27
- class="sc-bwzfXH sc-iwsKbI cuimXU"
27
+ class="sc-bwzfXH sc-dnqmqq dLVcgB"
28
28
  >
29
29
  <div
30
- class="sc-htpNat sc-gqjmRU imXojB"
30
+ class="sc-htpNat sc-gZMcBi kiYplO"
31
31
  >
32
32
  <div
33
- class="sc-htpNat sc-gZMcBi kRYdQT"
33
+ class="sc-htpNat sc-iwsKbI eLieBX"
34
34
  >
35
35
  Politics. Explained.
36
36
  :
37
37
  </div>
38
- Sign up to receive our brilliant Red Box newsletter, Matt Chorley\`s poke at politics delivered every weekday morning at 8am.
38
+ Sign up to receive our brilliant Red Box newsletter, Matt Chorley\`s poke at politics delivered every weekday morning at 8am.
39
39
  <div
40
- class="sc-bwzfXH sc-VigVT cSaWjg"
40
+ class="sc-bwzfXH sc-gqjmRU hGzDOp"
41
41
  >
42
42
  <button
43
43
  class="sc-bdVaJa bXCphr"
@@ -47,7 +47,7 @@ exports[`Inline Newsletter Puff renders loading state state 1`] = `
47
47
  </div>
48
48
  </div>
49
49
  <div
50
- class="sc-bwzfXH sc-VigVT iWOUWL"
50
+ class="sc-bwzfXH sc-gqjmRU hhmUDh"
51
51
  >
52
52
  <button
53
53
  style="font-family: GillSansMTStd-Medium; font-size: 16px; line-height: 0; align-items: center; background-color: transparent; border-radius: 2px; color: rgb(29, 29, 27); cursor: pointer; height: 48px; justify-content: center; min-width: 100px; padding-top: 4px; width: 100%; border-color: #1d1d1b; border-width: 1px; elevation: 0; letter-spacing: 0.2px;"
@@ -72,7 +72,7 @@ exports[`Inline Newsletter Puff renders placeholder when loading 1`] = `
72
72
  <body>
73
73
  <div>
74
74
  <div
75
- class="sc-bwzfXH sc-bxivhb jahLAV"
75
+ class="sc-bwzfXH sc-bxivhb isparC"
76
76
  style="height: 257px;"
77
77
  >
78
78
  <div
@@ -110,23 +110,23 @@ exports[`Inline Newsletter Puff renders signup state 1`] = `
110
110
  <body>
111
111
  <div>
112
112
  <div
113
- class="sc-bwzfXH sc-bxivhb iFwRag"
113
+ class="sc-bwzfXH sc-bxivhb gBLWdB"
114
114
  >
115
115
  <div
116
- class="sc-bwzfXH sc-iwsKbI cuimXU"
116
+ class="sc-bwzfXH sc-dnqmqq dLVcgB"
117
117
  >
118
118
  <div
119
- class="sc-htpNat sc-gqjmRU imXojB"
119
+ class="sc-htpNat sc-gZMcBi kiYplO"
120
120
  >
121
121
  <div
122
- class="sc-htpNat sc-gZMcBi kRYdQT"
122
+ class="sc-htpNat sc-iwsKbI eLieBX"
123
123
  >
124
124
  Politics. Explained.
125
125
  :
126
126
  </div>
127
- Sign up to receive our brilliant Red Box newsletter, Matt Chorley\`s poke at politics delivered every weekday morning at 8am.
127
+ Sign up to receive our brilliant Red Box newsletter, Matt Chorley\`s poke at politics delivered every weekday morning at 8am.
128
128
  <div
129
- class="sc-bwzfXH sc-VigVT cSaWjg"
129
+ class="sc-bwzfXH sc-gqjmRU hGzDOp"
130
130
  >
131
131
  <button
132
132
  class="sc-bdVaJa bXCphr"
@@ -136,7 +136,7 @@ exports[`Inline Newsletter Puff renders signup state 1`] = `
136
136
  </div>
137
137
  </div>
138
138
  <div
139
- class="sc-bwzfXH sc-VigVT iWOUWL"
139
+ class="sc-bwzfXH sc-gqjmRU hhmUDh"
140
140
  >
141
141
  <button
142
142
  style="font-family: GillSansMTStd-Medium; font-size: 16px; line-height: 0; align-items: center; background-color: transparent; border-radius: 2px; color: rgb(29, 29, 27); cursor: pointer; height: 48px; justify-content: center; min-width: 100px; padding-top: 4px; width: 100%; border-color: #1d1d1b; border-width: 1px; elevation: 0; letter-spacing: 0.2px;"
@@ -155,23 +155,23 @@ exports[`Inline Newsletter Puff renders signup view when not already subscribed
155
155
  <body>
156
156
  <div>
157
157
  <div
158
- class="sc-bwzfXH sc-bxivhb iFwRag"
158
+ class="sc-bwzfXH sc-bxivhb gBLWdB"
159
159
  >
160
160
  <div
161
- class="sc-bwzfXH sc-iwsKbI cuimXU"
161
+ class="sc-bwzfXH sc-dnqmqq dLVcgB"
162
162
  >
163
163
  <div
164
- class="sc-htpNat sc-gqjmRU imXojB"
164
+ class="sc-htpNat sc-gZMcBi kiYplO"
165
165
  >
166
166
  <div
167
- class="sc-htpNat sc-gZMcBi kRYdQT"
167
+ class="sc-htpNat sc-iwsKbI eLieBX"
168
168
  >
169
169
  Politics. Explained.
170
170
  :
171
171
  </div>
172
- Sign up to receive our brilliant Red Box newsletter, Matt Chorley\`s poke at politics delivered every weekday morning at 8am.
172
+ Sign up to receive our brilliant Red Box newsletter, Matt Chorley\`s poke at politics delivered every weekday morning at 8am.
173
173
  <div
174
- class="sc-bwzfXH sc-VigVT cSaWjg"
174
+ class="sc-bwzfXH sc-gqjmRU hGzDOp"
175
175
  >
176
176
  <button
177
177
  class="sc-bdVaJa bXCphr"
@@ -181,7 +181,7 @@ exports[`Inline Newsletter Puff renders signup view when not already subscribed
181
181
  </div>
182
182
  </div>
183
183
  <div
184
- class="sc-bwzfXH sc-VigVT iWOUWL"
184
+ class="sc-bwzfXH sc-gqjmRU hhmUDh"
185
185
  >
186
186
  <button
187
187
  style="font-family: GillSansMTStd-Medium; font-size: 16px; line-height: 0; align-items: center; background-color: transparent; border-radius: 2px; color: rgb(29, 29, 27); cursor: pointer; height: 48px; justify-content: center; min-width: 100px; padding-top: 4px; width: 100%; border-color: #1d1d1b; border-width: 1px; elevation: 0; letter-spacing: 0.2px;"
@@ -67,7 +67,7 @@ export const Newsletter = ({
67
67
  <InpSignupContainer>
68
68
  <InpCopy>
69
69
  <InpSignupHeadline>{headline}: </InpSignupHeadline>
70
- {copy}
70
+ {`${copy} `}
71
71
  {PuffButton('link')}
72
72
  </InpCopy>
73
73
  {PuffButton('button')}
@@ -1,9 +1,10 @@
1
- import { InpSignupCTAContainer, InpContainer } from '../styles';
1
+ import { InpContainer } from '../styles';
2
2
 
3
3
  import {
4
4
  InpCopy,
5
5
  InpSignupContainer,
6
- InpSignupHeadline
6
+ InpSignupHeadline,
7
+ InpSignupCTAContainer
7
8
  } from '../newsletter/styles';
8
9
 
9
10
  import { NewsletterPuffButton } from '../newsletter-puff-button/NewsletterPuffButton';
@@ -22,9 +23,14 @@ export const PreviewNewsletterPuff = ({
22
23
  }: PreviewNewsletterPuffProps) => (
23
24
  <InpContainer section={section}>
24
25
  <InpSignupContainer>
25
- <InpSignupHeadline>{headline}</InpSignupHeadline>
26
- <InpCopy>{copy}</InpCopy>
27
- <InpSignupCTAContainer>
26
+ <InpCopy>
27
+ <InpSignupHeadline>{headline}: </InpSignupHeadline>
28
+ {copy}
29
+ <InpSignupCTAContainer childStyle="link">
30
+ <NewsletterPuffButton style="link" />
31
+ </InpSignupCTAContainer>
32
+ </InpCopy>
33
+ <InpSignupCTAContainer childStyle="button">
28
34
  <NewsletterPuffButton style="button" />
29
35
  </InpSignupCTAContainer>
30
36
  </InpSignupContainer>
@@ -4,23 +4,33 @@ exports[`Preview Newsletter Puff renders 1`] = `
4
4
  <body>
5
5
  <div>
6
6
  <div
7
- class="sc-bdVaJa sc-htpNat iikmtA"
7
+ class="sc-bdVaJa sc-htpNat ljXtVU"
8
8
  >
9
9
  <div
10
- class="sc-bdVaJa sc-bZQynM dePmGy"
10
+ class="sc-bdVaJa sc-EHOje hmOAGx"
11
11
  >
12
12
  <div
13
- class="sc-bwzfXH sc-gzVnrw guVfgd"
14
- >
15
- Politics. Explained.
16
- </div>
17
- <div
18
- class="sc-bwzfXH sc-htoDjs dLSNbg"
13
+ class="sc-bwzfXH sc-gzVnrw keqsZo"
19
14
  >
15
+ <div
16
+ class="sc-bwzfXH sc-bZQynM khoGuQ"
17
+ >
18
+ Politics. Explained.
19
+ :
20
+ </div>
20
21
  Sign up to receive our brilliant Red Box newsletter, Matt Chorley\`s poke at politics delivered every weekday morning at 8am.
22
+ <div
23
+ class="sc-bdVaJa sc-htoDjs lnzLgr"
24
+ >
25
+ <button
26
+ class="sc-iwsKbI gJJUIY"
27
+ >
28
+ One click sign up
29
+ </button>
30
+ </div>
21
31
  </div>
22
32
  <div
23
- class="sc-bdVaJa sc-ifAKCX jaUowH"
33
+ class="sc-bdVaJa sc-htoDjs fqXCoz"
24
34
  >
25
35
  <button
26
36
  style="font-family: GillSansMTStd-Medium; font-size: 16px; line-height: 0; align-items: center; background-color: transparent; border-radius: 2px; color: rgb(29, 29, 27); cursor: pointer; height: 48px; justify-content: center; min-width: 100px; padding-top: 4px; width: 100%; border-color: #1d1d1b; border-width: 1px; elevation: 0; letter-spacing: 0.2px;"
@@ -45,7 +45,6 @@ export const InpContainer = styled(View)<{ section?: string }>`
45
45
  margin-left: ${spacing(2)};
46
46
 
47
47
  @media (min-width: ${breakpoints.medium}px) {
48
- flex-direction: row;
49
48
  margin: 0 auto ${spacing(4)};
50
49
  width: 80.8%;
51
50
  }
@@ -62,10 +61,3 @@ export const InpPreferencesText = styled(Text)`
62
61
  letter-spacing: -0.4px;
63
62
  margin-bottom: ${spacing(3)};
64
63
  `;
65
-
66
- export const InpSignupCTAContainer = styled(View)`
67
- @media (min-width: ${breakpoints.medium}px) {
68
- width: 220px;
69
- margin: 0px auto;
70
- }
71
- `;