@biggive/components 202303031447.0.0 → 202303171148.0.0
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/dist/biggive/biggive.esm.js +1 -1
- package/dist/biggive/p-01d03da2.entry.js +1 -0
- package/dist/biggive/{p-fe9f3e72.entry.js → p-26c0b6cf.entry.js} +1 -1
- package/dist/biggive/{p-8876011d.entry.js → p-2c639bd5.entry.js} +1 -1
- package/dist/biggive/p-2d024615.entry.js +1 -0
- package/dist/biggive/{p-71054cf6.entry.js → p-41588003.entry.js} +1 -1
- package/dist/biggive/{p-0f38685b.entry.js → p-42649676.entry.js} +1 -1
- package/dist/biggive/{p-223759f6.entry.js → p-4402efe9.entry.js} +1 -1
- package/dist/biggive/p-4a1ba0c4.entry.js +1 -0
- package/dist/biggive/p-4adb4dce.entry.js +1 -0
- package/dist/biggive/{p-3b378f79.entry.js → p-5406c558.entry.js} +1 -1
- package/dist/biggive/p-63abb338.entry.js +1 -0
- package/dist/biggive/{p-d7f8a6fd.entry.js → p-87487165.entry.js} +1 -1
- package/dist/biggive/{p-eb6aecf0.entry.js → p-87edb8c6.entry.js} +1 -1
- package/dist/biggive/p-8feb91ae.entry.js +1 -0
- package/dist/biggive/p-b73fddaa.entry.js +1 -0
- package/dist/biggive/p-ead5a5ce.entry.js +1 -0
- package/dist/biggive/{p-f8e38bb9.entry.js → p-f375edb7.entry.js} +1 -1
- package/dist/biggive/p-f6dedf7d.entry.js +1 -0
- package/dist/biggive/{p-acf3bcd9.js → p-ff8bc382.js} +2 -2
- package/dist/cjs/{biggive-back-to-top_27.cjs.entry.js → biggive-accordion_35.cjs.entry.js} +433 -11
- package/dist/cjs/biggive-article-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-basic-card.cjs.entry.js +6 -3
- package/dist/cjs/biggive-beneficiary-icon.cjs.entry.js +2 -2
- package/dist/cjs/biggive-biography-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -2
- package/dist/cjs/biggive-category-icon.cjs.entry.js +2 -2
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +2 -2
- package/dist/cjs/biggive-header.cjs.entry.js +1 -1
- package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-popup-standalone.cjs.entry.js +1 -1
- package/dist/cjs/biggive-search.cjs.entry.js +1 -1
- package/dist/cjs/biggive-table.cjs.entry.js +2 -2
- package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +2 -2
- package/dist/cjs/{index-4ae5dbd7.js → index-8dd1da4d.js} +3 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/biggive-accordion/biggive-accordion.css +315 -0
- package/dist/collection/components/biggive-accordion/biggive-accordion.js +114 -0
- package/dist/collection/components/biggive-accordion/biggive-accordion.stories.js +52 -0
- package/dist/collection/components/biggive-accordion-entry/biggive-accordion-entry.css +14 -0
- package/dist/collection/components/biggive-accordion-entry/biggive-accordion-entry.js +43 -0
- package/dist/collection/components/biggive-article-card/biggive-article-card.css +45 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.css +70 -0
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +77 -31
- package/dist/collection/components/biggive-beneficiary-icon/biggive-beneficiary-icon.css +65 -0
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.css +25 -0
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.css +20 -0
- package/dist/collection/components/biggive-carousel/biggive-carousel.css +223 -0
- package/dist/collection/components/biggive-carousel/biggive-carousel.js +161 -0
- package/dist/collection/components/biggive-carousel/biggive-carousel.stories.js +84 -0
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.css +65 -0
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.css +20 -0
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.css +88 -18
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +68 -19
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.stories.js +2 -0
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.css +20 -0
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.css +89 -0
- package/dist/collection/components/biggive-quote/biggive-quote.css +65 -0
- package/dist/collection/components/biggive-quote/biggive-quote.js +45 -11
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.css +113 -0
- package/dist/collection/components/biggive-tab/biggive-tab.js +2 -2
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.css +355 -0
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +206 -12
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.stories.js +48 -3
- package/dist/collection/components/biggive-table/biggive-table.css +41 -0
- package/dist/collection/components/biggive-table/biggive-table.js +8 -3
- package/dist/collection/components/biggive-timeline/biggive-timeline.css +733 -0
- package/dist/collection/components/biggive-timeline/biggive-timeline.js +394 -0
- package/dist/collection/components/biggive-timeline/biggive-timeline.stories.js +133 -0
- package/dist/collection/components/biggive-timeline-entry/biggive-timeline-entry.css +14 -0
- package/dist/collection/components/biggive-timeline-entry/biggive-timeline-entry.js +59 -0
- package/dist/collection/components/biggive-tipping-slider/biggive-tipping-slider.css +224 -0
- package/dist/collection/components/biggive-tipping-slider/biggive-tipping-slider.js +213 -0
- package/dist/collection/components/biggive-tipping-slider/biggive-tipping-slider.stories.js +63 -0
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.css +45 -0
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.css +20 -0
- package/dist/components/biggive-accordion-entry.d.ts +11 -0
- package/dist/components/biggive-accordion-entry.js +37 -0
- package/dist/components/biggive-accordion.d.ts +11 -0
- package/dist/components/biggive-accordion.js +58 -0
- package/dist/components/biggive-article-card.js +1 -1
- package/dist/components/biggive-basic-card.js +7 -3
- package/dist/components/biggive-beneficiary-icon.js +1 -1
- package/dist/components/biggive-boxed-content.js +1 -1
- package/dist/components/biggive-call-to-action.js +1 -1
- package/dist/components/biggive-carousel.d.ts +11 -0
- package/dist/components/biggive-carousel.js +88 -0
- package/dist/components/biggive-category-icon.js +1 -1
- package/dist/components/biggive-formatted-text.js +1 -1
- package/dist/components/biggive-hero-image.js +4 -2
- package/dist/components/biggive-image-feature.js +1 -1
- package/dist/components/biggive-misc-icon2.js +1 -1
- package/dist/components/biggive-quote.js +5 -3
- package/dist/components/biggive-social-icon.js +1 -1
- package/dist/components/biggive-tab.js +1 -1
- package/dist/components/biggive-tabbed-content.js +78 -4
- package/dist/components/biggive-table.js +1 -1
- package/dist/components/biggive-timeline-entry.d.ts +11 -0
- package/dist/components/biggive-timeline-entry.js +38 -0
- package/dist/components/biggive-timeline.d.ts +11 -0
- package/dist/components/biggive-timeline.js +140 -0
- package/dist/components/biggive-tipping-slider.d.ts +11 -0
- package/dist/components/biggive-tipping-slider.js +115 -0
- package/dist/components/biggive-totalizer.js +1 -1
- package/dist/components/biggive-video-feature.js +1 -1
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +6 -0
- package/dist/esm/{biggive-back-to-top_27.entry.js → biggive-accordion_35.entry.js} +426 -12
- package/dist/esm/biggive-article-card.entry.js +2 -2
- package/dist/esm/biggive-basic-card.entry.js +6 -3
- package/dist/esm/biggive-beneficiary-icon.entry.js +2 -2
- package/dist/esm/biggive-biography-card.entry.js +1 -1
- package/dist/esm/biggive-boxed-content.entry.js +2 -2
- package/dist/esm/biggive-category-icon.entry.js +2 -2
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +2 -2
- package/dist/esm/biggive-header.entry.js +1 -1
- package/dist/esm/biggive-icon-group.entry.js +1 -1
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-popup-standalone.entry.js +1 -1
- package/dist/esm/biggive-search.entry.js +1 -1
- package/dist/esm/biggive-table.entry.js +2 -2
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/biggive.js +2 -2
- package/dist/esm/{index-43541c5f.js → index-801eebfb.js} +4 -1
- package/dist/esm/loader.js +2 -2
- package/dist/types/components/biggive-accordion/biggive-accordion.d.ts +12 -0
- package/dist/types/components/biggive-accordion/biggive-accordion.stories.d.ts +28 -0
- package/dist/types/components/biggive-accordion-entry/biggive-accordion-entry.d.ts +5 -0
- package/dist/types/components/biggive-basic-card/biggive-basic-card.d.ts +8 -50
- package/dist/types/components/biggive-carousel/biggive-carousel.d.ts +18 -0
- package/dist/types/components/biggive-carousel/biggive-carousel.stories.d.ts +35 -0
- package/dist/types/components/biggive-hero-image/biggive-hero-image.d.ts +14 -8
- package/dist/types/components/biggive-quote/biggive-quote.d.ts +5 -14
- package/dist/types/components/biggive-tab/biggive-tab.d.ts +0 -3
- package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.d.ts +18 -8
- package/dist/types/components/biggive-tabbed-content/biggive-tabbed-content.stories.d.ts +36 -1
- package/dist/types/components/biggive-table/biggive-table.d.ts +2 -1
- package/dist/types/components/biggive-timeline/biggive-timeline.d.ts +27 -0
- package/dist/types/components/biggive-timeline/biggive-timeline.stories.d.ts +91 -0
- package/dist/types/components/biggive-timeline-entry/biggive-timeline-entry.d.ts +8 -0
- package/dist/types/components/biggive-tipping-slider/biggive-tipping-slider.d.ts +18 -0
- package/dist/types/components/biggive-tipping-slider/biggive-tipping-slider.stories.d.ts +46 -0
- package/dist/types/components.d.ts +200 -164
- package/hydrate/index.js +513 -27
- package/package.json +1 -1
- package/dist/biggive/p-13f4a2c4.entry.js +0 -1
- package/dist/biggive/p-34cfc5da.entry.js +0 -1
- package/dist/biggive/p-52bb0267.entry.js +0 -1
- package/dist/biggive/p-53189bc6.entry.js +0 -1
- package/dist/biggive/p-5a38b219.entry.js +0 -1
- package/dist/biggive/p-64a544fa.entry.js +0 -1
- package/dist/biggive/p-95bd7f7a.entry.js +0 -1
- package/dist/biggive/p-99f18976.entry.js +0 -1
- package/dist/biggive/p-a0941518.entry.js +0 -1
- package/dist/biggive/p-d8432f12.entry.js +0 -1
- package/dist/biggive/p-ee1c5baf.entry.js +0 -1
- package/dist/cjs/biggive-tab.cjs.entry.js +0 -20
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +0 -21
- package/dist/esm/biggive-tab.entry.js +0 -16
- package/dist/esm/biggive-tabbed-content.entry.js +0 -17
|
@@ -2,11 +2,58 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
5
|
+
const index = require('./index-8dd1da4d.js');
|
|
6
6
|
const index$1 = require('./index-7f8fe565.js');
|
|
7
7
|
const fontawesomeIcons = require('./fontawesome-icons-f9168d99.js');
|
|
8
8
|
const video = require('./video-9d39b110.js');
|
|
9
9
|
|
|
10
|
+
const biggiveAccordionCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .entry h3.heading{position:relative;margin:15px 0 0 0;padding:10px 60px 10px 20px;border-bottom:1px solid #000000;cursor:pointer}.container .entry h3.heading span.arrow{display:block;position:absolute;right:20px;top:10px;width:40px;height:20px;text-align:center}.container .entry .content{overflow:hidden;max-height:0;padding:0 20px;transition:max-height 0.5s ease-in-out}.container .entry.expanded .content{max-height:100%}.container .entry.expanded span.arrow{transform:rotate(-180deg)}.container.heading-colour-primary .entry h3.heading svg path{stroke:#2C089B}.container.heading-colour-primary h3.heading{color:#2C089B}.container.text-colour-primary .content{color:#2C089B}.container.heading-colour-secondary .entry h3.heading svg path{stroke:#2AF135}.container.heading-colour-secondary h3.heading{color:#2AF135}.container.text-colour-secondary .content{color:#2AF135}.container.heading-colour-tertiary .entry h3.heading svg path{stroke:#FF7272}.container.heading-colour-tertiary h3.heading{color:#FF7272}.container.text-colour-tertiary .content{color:#FF7272}.container.heading-colour-brand-1 .entry h3.heading svg path{stroke:#B30510}.container.heading-colour-brand-1 h3.heading{color:#B30510}.container.text-colour-brand-1 .content{color:#B30510}.container.heading-colour-brand-2 .entry h3.heading svg path{stroke:#6E0887}.container.heading-colour-brand-2 h3.heading{color:#6E0887}.container.text-colour-brand-2 .content{color:#6E0887}.container.heading-colour-brand-3 .entry h3.heading svg path{stroke:#50B400}.container.heading-colour-brand-3 h3.heading{color:#50B400}.container.text-colour-brand-3 .content{color:#50B400}.container.heading-colour-brand-4 .entry h3.heading svg path{stroke:#FFE500}.container.heading-colour-brand-4 h3.heading{color:#FFE500}.container.text-colour-brand-4 .content{color:#FFE500}.container.heading-colour-brand-5 .entry h3.heading svg path{stroke:#F07D00}.container.heading-colour-brand-5 h3.heading{color:#F07D00}.container.text-colour-brand-5 .content{color:#F07D00}.container.heading-colour-brand-6 .entry h3.heading svg path{stroke:#62CFC9}.container.heading-colour-brand-6 h3.heading{color:#62CFC9}.container.text-colour-brand-6 .content{color:#62CFC9}.container.heading-colour-white .entry h3.heading svg path{stroke:#FFFFFF}.container.heading-colour-white h3.heading{color:#FFFFFF}.container.text-colour-white .content{color:#FFFFFF}.container.heading-colour-black .entry h3.heading svg path{stroke:#000000}.container.heading-colour-black h3.heading{color:#000000}.container.text-colour-black .content{color:#000000}.container.heading-colour-grey-extra-light .entry h3.heading svg path{stroke:#D7D7D7}.container.heading-colour-grey-extra-light h3.heading{color:#D7D7D7}.container.text-colour-grey-extra-light .content{color:#D7D7D7}.container.heading-colour-grey-light .entry h3.heading svg path{stroke:#E8E8E8}.container.heading-colour-grey-light h3.heading{color:#E8E8E8}.container.text-colour-grey-light .content{color:#E8E8E8}.container.heading-colour-grey-medium .entry h3.heading svg path{stroke:#8A8A8A}.container.heading-colour-grey-medium h3.heading{color:#8A8A8A}.container.text-colour-grey-medium .content{color:#8A8A8A}.container.heading-colour-grey-dark .entry h3.heading svg path{stroke:#4A4A4A}.container.heading-colour-grey-dark h3.heading{color:#4A4A4A}.container.text-colour-grey-dark .content{color:#4A4A4A}";
|
|
11
|
+
|
|
12
|
+
const BiggiveAccordion = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.children = [];
|
|
16
|
+
this.spaceBelow = 0;
|
|
17
|
+
this.textColour = 'black';
|
|
18
|
+
this.headingColour = 'primary';
|
|
19
|
+
}
|
|
20
|
+
componentWillLoad() {
|
|
21
|
+
this.children = Array.from(this.host.children);
|
|
22
|
+
}
|
|
23
|
+
toggleSection(e) {
|
|
24
|
+
const target = e.target;
|
|
25
|
+
const entry = target.closest('.entry');
|
|
26
|
+
const arrow = entry.querySelector('.arrow');
|
|
27
|
+
if (entry.classList.contains('expanded')) {
|
|
28
|
+
entry.classList.remove('expanded');
|
|
29
|
+
arrow.setAttribute('title', 'Expand section');
|
|
30
|
+
}
|
|
31
|
+
else {
|
|
32
|
+
entry.classList.add('expanded');
|
|
33
|
+
arrow.setAttribute('title', 'Collapse section');
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
return (index.h("div", { class: 'container' + ' space-below-' + this.spaceBelow + ' text-colour-' + this.textColour + ' heading-colour-' + this.headingColour }, index.h("div", { class: "sleeve" }, this.children.map(entry => (index.h("div", { class: "entry" }, index.h("h3", { class: "heading", onClick: event => this.toggleSection(event), title: "Expand section" }, entry.heading, index.h("span", { class: "arrow" }, index.h("svg", { width: "15", height: "9", viewBox: "0 0 15 9", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M14.1074 0.999859L7.55357 7.55371L0.999718 0.99986", stroke: "black", "stroke-width": "2" })))), index.h("div", { class: "content", innerHTML: entry.innerHTML })))))));
|
|
38
|
+
}
|
|
39
|
+
get host() { return index.getElement(this); }
|
|
40
|
+
};
|
|
41
|
+
BiggiveAccordion.style = biggiveAccordionCss;
|
|
42
|
+
|
|
43
|
+
const biggiveAccordionEntryCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block}";
|
|
44
|
+
|
|
45
|
+
const BiggiveAccordionEntry = class {
|
|
46
|
+
constructor(hostRef) {
|
|
47
|
+
index.registerInstance(this, hostRef);
|
|
48
|
+
this.heading = '';
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
get host() { return index.getElement(this); }
|
|
54
|
+
};
|
|
55
|
+
BiggiveAccordionEntry.style = biggiveAccordionEntryCss;
|
|
56
|
+
|
|
10
57
|
const biggiveBackToTopCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;margin:30px 0;text-align:center}.container a{display:inline-block}.container a .text{display:block}";
|
|
11
58
|
|
|
12
59
|
const BiggiveBackToTop = class {
|
|
@@ -64,7 +111,7 @@ const BiggiveButton = class {
|
|
|
64
111
|
};
|
|
65
112
|
BiggiveButton.style = biggiveButtonCss;
|
|
66
113
|
|
|
67
|
-
const biggiveCallToActionCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{margin:0;padding:0}.content-wrap h2{margin:0 0 5px 0;padding:0}.content-wrap .subtitle{margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}@media screen and (max-width: 576px){.content-wrap{text-align:right}h2{padding:40px 0}}";
|
|
114
|
+
const biggiveCallToActionCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{margin:0;padding:0}.content-wrap h2{margin:0 0 5px 0;padding:0}.content-wrap .subtitle{margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}@media screen and (max-width: 576px){.content-wrap{text-align:right}h2{padding:40px 0}}";
|
|
68
115
|
|
|
69
116
|
const BiggiveCallToAction = class {
|
|
70
117
|
constructor(hostRef) {
|
|
@@ -294,6 +341,68 @@ const BiggiveCampaignHighlights = class {
|
|
|
294
341
|
};
|
|
295
342
|
BiggiveCampaignHighlights.style = biggiveCampaignHighlightsCss;
|
|
296
343
|
|
|
344
|
+
const biggiveCarouselCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .items{overflow:hidden}.container .items .sleeve{display:flex;flex-flow:row wrap}.container .navigation{padding:10px 0;text-align:right;display:flex;justify-content:end;position:relative;z-index:1}.container .navigation .button{margin-left:15px;display:block;width:30px;height:30px;padding:2.5px 10px;box-sizing:border-box;background-color:#FFFFFF;box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.25);border-radius:50%;cursor:pointer;text-align:center}.container .navigation .button.prev{left:0}.container .navigation .button.next{right:0}.container .navigation .button svg{width:10px;height:10px}.column-count-4 ::slotted(*){width:25%;display:flex;flex-direction:column}.column-count-3 ::slotted(*){width:33.3333333333%;display:flex;flex-direction:column}.column-count-2 ::slotted(*){width:50%;display:flex;flex-direction:column}@media screen and (max-width: 768px){.column-count-2 ::slotted(*),.column-count-3 ::slotted(*),.column-count-4 ::slotted(*){width:calc(50% - 15px)}}@media screen and (max-width: 576px){.column-count-2 ::slotted(*),.column-count-3 ::slotted(*),.column-count-4 ::slotted(*){width:100%}}";
|
|
345
|
+
|
|
346
|
+
const BiggiveCarousel = class {
|
|
347
|
+
constructor(hostRef) {
|
|
348
|
+
index.registerInstance(this, hostRef);
|
|
349
|
+
this.currentTab = 0;
|
|
350
|
+
this.itemCount = 0;
|
|
351
|
+
this.itemWidthPx = 0;
|
|
352
|
+
this.spaceBelow = 4;
|
|
353
|
+
this.columnCount = 3;
|
|
354
|
+
this.buttonBackgroundColour = 'white';
|
|
355
|
+
this.buttonIconColour = 'primary';
|
|
356
|
+
}
|
|
357
|
+
componentDidRender() {
|
|
358
|
+
var _a;
|
|
359
|
+
this.sleeve = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.sleeve');
|
|
360
|
+
let children = Array.from(this.host.children);
|
|
361
|
+
this.itemCount = children.length;
|
|
362
|
+
if (children.length > 0) {
|
|
363
|
+
// Item widths are set in CSS so we know they will all be the same.
|
|
364
|
+
this.itemWidthPx = children[0].offsetWidth;
|
|
365
|
+
this.sleeve.style.width = this.itemWidthPx * children.length + 'px';
|
|
366
|
+
children.forEach(function (el) {
|
|
367
|
+
el.style.width = 'calc( 100% / ' + children.length + ' )';
|
|
368
|
+
});
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
/*
|
|
372
|
+
* Animates a transition to show the NEXT or PREVIOUS element in the carousel.
|
|
373
|
+
* Does nothing if there is no next or previous element.
|
|
374
|
+
*/
|
|
375
|
+
showTab(direction) {
|
|
376
|
+
const newTab = this.currentTab + (direction === 'PREV' ? -1 : 1);
|
|
377
|
+
if (newTab < 0 || newTab > this.itemCount - 1) {
|
|
378
|
+
return;
|
|
379
|
+
}
|
|
380
|
+
const pos = 0 - this.itemWidthPx * newTab;
|
|
381
|
+
this.sleeve.style.transitionDuration = '0.3s';
|
|
382
|
+
this.sleeve.style.transitionTimingFunction = 'ease-out';
|
|
383
|
+
this.sleeve.style.transform = 'translate3d(' + pos + 'px, 0, 0)';
|
|
384
|
+
this.currentTab = newTab;
|
|
385
|
+
}
|
|
386
|
+
clickPrevHandler() {
|
|
387
|
+
this.showTab('PREV');
|
|
388
|
+
}
|
|
389
|
+
clickNextHandler() {
|
|
390
|
+
this.showTab('NEXT');
|
|
391
|
+
}
|
|
392
|
+
render() {
|
|
393
|
+
return (index.h("div", { class: 'container column-count-' +
|
|
394
|
+
this.columnCount +
|
|
395
|
+
' space-below-' +
|
|
396
|
+
this.spaceBelow +
|
|
397
|
+
' button-background-colour-' +
|
|
398
|
+
this.buttonBackgroundColour +
|
|
399
|
+
' button-icon-colour-' +
|
|
400
|
+
this.buttonIconColour }, index.h("div", { class: "items" }, index.h("div", { class: "sleeve" }, index.h("slot", null))), index.h("div", { class: "navigation" }, index.h("div", { class: "button prev", onClick: () => this.clickPrevHandler(), title: "Previous" }, index.h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), index.h("div", { class: "button next", onClick: () => this.clickNextHandler(), title: "Next" }, index.h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" }))))));
|
|
401
|
+
}
|
|
402
|
+
get host() { return index.getElement(this); }
|
|
403
|
+
};
|
|
404
|
+
BiggiveCarousel.style = biggiveCarouselCss;
|
|
405
|
+
|
|
297
406
|
const biggiveFooterCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.footer{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;color:#FFFFFF}nav{width:calc(33.3% - 20px);margin:0;padding:0}nav .heading{font-size:17px;line-height:24px;font-weight:bold;border-bottom:1px solid #FFFFFF;padding-bottom:10px;margin-bottom:10px}nav ul{margin:0;padding:0}nav ul li{margin:0;padding:0;list-style-type:none;margin-top:15px}nav ul li a{color:#FFFFFF;text-decoration:none}nav ul li a[class^=icon-],nav ul li a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}nav ul li a.icon-green{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-children{background-image:url(/assets/images/triangles-combined-children-white.svg)}nav ul li a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge-white.svg)}nav ul li a.icon-green-match{background-image:url(/assets/images/triangles-combined-green-match-white.svg)}nav ul li a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls-white.svg)}nav ul li a.icon-mental-health{background-image:url(/assets/images/triangles-combined-mental-health-white.svg)}nav ul li a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor-white.svg)}nav ul li a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency-white.svg)}.row-top{background-image:url(/assets/images/biggive-triangle-green.svg);background-repeat:no-repeat;background-size:auto 75px;background-position:60px 30px;background-color:#2C089B;padding:100px 60px 60px 60px;display:flex;flex-wrap:wrap;justify-content:space-between}.row-top .button-wrap{margin-top:60px;width:100%;display:flex;flex-wrap:wrap;justify-content:space-between}footer .row-bottom{background-color:#000000;padding:60px 60px 15px 60px;border-top:1px solid #FFFFFF}footer .row-bottom .fr-logo{width:135px}footer .row-bottom .postscript-wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between}@media screen and (max-width: 768px){footer .row-bottom .postscript-wrap{flex-direction:column}}footer .row-bottom .nav.nav-postscript{text-align:right;flex-grow:1}@media screen and (max-width: 768px){footer .row-bottom .nav.nav-postscript{text-align:center}}footer .row-bottom .nav-postscript li{display:inline-block;margin-left:1rem}footer .row-bottom .nav-postscript li:first-child{margin-left:0}@media screen and (max-width: 768px){footer .row-bottom .nav-postscript li{display:block;width:100%;margin-left:0}}footer .row-bottom .social-icon-wrap{border-top:1px solid #FFFFFF;padding-top:30px;margin-top:30px;display:flex;align-items:center;justify-content:center;margin-bottom:30px}footer .row-bottom .social-icon-wrap .social-icon-item{margin:0 10px}footer .row-bottom p{text-align:center}@media screen and (max-width: 768px){.row-top{padding:15px}}@media screen and (max-width: 768px){nav{width:100%;margin-right:0;margin-bottom:30px}.row-top{background-size:auto 50px;padding-top:80px;padding-left:15px;background-position:15px 30px}.row-top .button-wrap *{width:100% !important}}";
|
|
298
407
|
|
|
299
408
|
const BiggiveFooter = class {
|
|
@@ -423,7 +532,7 @@ const BiggiveHeading = class {
|
|
|
423
532
|
};
|
|
424
533
|
BiggiveHeading.style = biggiveHeadingCss;
|
|
425
534
|
|
|
426
|
-
const biggiveHeroImageCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;overflow:hidden;position:relative;margin-bottom:30px}.container.colour-scheme-primary{color:#2C089B}.container.colour-scheme-secondary{color:#2AF135}.container.colour-scheme-tertiary{color:#FF7272}.container.colour-scheme-white{color:#FFFFFF}.container.colour-scheme-black{color:#000000}.container .sleeve{display:flex;justify-content:space-between;max-width:1200px;margin-left:auto;margin-right:auto}.container .content-wrap{width:40%;position:relative;z-index:1;white-space:pre-wrap;padding:120px 60px 60px 0}.container .content-wrap .logo,.container .content-wrap .logo-space{height:75px}.container .content-wrap .logo
|
|
535
|
+
const biggiveHeroImageCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;overflow:hidden;position:relative;margin-bottom:30px;min-height:32.5vw}.container.colour-scheme-primary{color:#2C089B}.container.colour-scheme-secondary{color:#2AF135}.container.colour-scheme-tertiary{color:#FF7272}.container.colour-scheme-brand-1{color:#B30510}.container.colour-scheme-brand-2{color:#6E0887}.container.colour-scheme-brand-3{color:#50B400}.container.colour-scheme-brand-4{color:#FFE500}.container.colour-scheme-brand-5{color:#F07D00}.container.colour-scheme-brand-6{color:#62CFC9}.container.colour-scheme-white{color:#FFFFFF}.container.colour-scheme-black{color:#000000}.container.colour-scheme-grey-extra-light{color:#D7D7D7}.container.colour-scheme-grey-light{color:#E8E8E8}.container.colour-scheme-grey-medium{color:#8A8A8A}.container.colour-scheme-grey-dark{color:#4A4A4A}.container .sleeve{display:flex;justify-content:space-between;max-width:1200px;margin-left:auto;margin-right:auto}.container .content-wrap{width:40%;position:relative;z-index:1;white-space:pre-wrap;padding:120px 60px 60px 0}.container .content-wrap .logo,.container .content-wrap .logo-space{height:75px}.container .content-wrap .logo.logo-height-1,.container .content-wrap .logo-space.logo-height-1{height:50px}.container .content-wrap .logo.logo-height-2,.container .content-wrap .logo-space.logo-height-2{height:75px}.container .content-wrap .logo.logo-height-3,.container .content-wrap .logo-space.logo-height-3{height:100px}.container .content-wrap .logo.logo-height-4,.container .content-wrap .logo-space.logo-height-4{height:125px}.container .content-wrap .logo.logo-height-5,.container .content-wrap .logo-space.logo-height-5{height:150px}.container .content-wrap .logo.logo-height-6,.container .content-wrap .logo-space.logo-height-6{height:175px}.container .content-wrap .logo.logo-height-7,.container .content-wrap .logo-space.logo-height-7{height:200px}.container .content-wrap .logo.logo-height-8,.container .content-wrap .logo-space.logo-height-8{height:225px}.container .content-wrap .logo.logo-height-9,.container .content-wrap .logo-space.logo-height-9{height:250px}.container .content-wrap .logo.logo-height-10,.container .content-wrap .logo-space.logo-height-10{height:275px}.container .content-wrap .logo{background-size:contain;background-repeat:no-repeat;background-position:left center}.container .content-wrap .logo img{width:auto;height:100%;position:relative}.container .content-wrap .slug{font-size:20px;line-height:24px;font-weight:bold;min-height:24px;margin:0;padding:0}.container .content-wrap h1{font-size:47px;line-height:60px;font-weight:bold;margin:0 0 15px 0;padding:0}@media (max-width: 1200px){.container .content-wrap h1{font-size:38px;line-height:45px;font-weight:bold}}.container .content-wrap .teaser{margin:0 0 45px 0;padding:0}.container .graphic-wrap{position:absolute;display:block;top:0;left:0;right:0;padding-bottom:32.5vw;background-color:#F1F1F1;margin-left:20vw;clip-path:polygon(0 0, 100% 0, 100% 100%)}.container .graphic-wrap .image-wrap{position:absolute;display:block;top:0;left:0;bottom:0;right:0;background-size:cover}.container .graphic-wrap .image-wrap img{display:none}@media screen and (max-width: 1200px){.container{min-height:50vw}.container .sleeve{flex-wrap:wrap}.container .sleeve .content-wrap{width:60%;padding:18vw 15px 15px 15px;margin-bottom:50px}.container .sleeve .graphic-wrap{margin-left:0;bottom:auto;padding-bottom:50vw}}@media screen and (max-width: 768px){.container .sleeve .content-wrap{width:70%;padding-top:120px}}@media screen and (max-width: 576px){.container .sleeve .content-wrap{width:80%}}@media screen and (max-width: 450px){.container .sleeve .content-wrap{width:100%}}";
|
|
427
536
|
|
|
428
537
|
const BiggiveHeroImage = class {
|
|
429
538
|
constructor(hostRef) {
|
|
@@ -433,6 +542,7 @@ const BiggiveHeroImage = class {
|
|
|
433
542
|
this.slug = undefined;
|
|
434
543
|
this.slugColour = undefined;
|
|
435
544
|
this.logo = '';
|
|
545
|
+
this.logoHeight = 3;
|
|
436
546
|
this.logoAltText = '';
|
|
437
547
|
this.mainImage = null;
|
|
438
548
|
this.mainImageAlignHorizontal = 'center';
|
|
@@ -448,7 +558,7 @@ const BiggiveHeroImage = class {
|
|
|
448
558
|
render() {
|
|
449
559
|
const mainTitleClasses = 'main-title ' + (typeof this.mainTitleColour === 'string' && this.mainTitleColour.length > 0 ? `text-colour-${this.mainTitleColour}` : '');
|
|
450
560
|
const teaserClasses = 'teaser ' + (typeof this.teaserColour === 'string' && this.teaserColour.length > 0 ? `text-colour-${this.teaserColour}` : '');
|
|
451
|
-
return (index.h("div", { class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow }, index.h("div", { class: "sleeve" }, index.h("div", { class: "content-wrap" }, this.logo !== undefined && this.logo !== null ? (index.h("div", { class:
|
|
561
|
+
return (index.h("div", { class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow }, index.h("div", { class: "sleeve" }, index.h("div", { class: "content-wrap" }, this.logo !== undefined && this.logo !== null ? (index.h("div", { class: 'logo image-wrap logo-height-' + this.logoHeight }, index.h("img", { src: this.logo, alt: this.logoAltText, title: this.logoAltText }))) : index.h("div", { class: 'logo-space logo-height-' + this.logoHeight }), index.h("div", { class: 'slug text-colour-' + this.slugColour }, this.slug), index.h("h1", { class: mainTitleClasses }, this.mainTitle), index.h("div", { class: teaserClasses }, this.teaser), this.buttonLabel != null && this.buttonUrl != null
|
|
452
562
|
? index.h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })
|
|
453
563
|
: null), index.h("div", { class: "graphic-wrap" }, this.mainImage !== null ? (index.h("div", { class: "image-wrap", role: "presentation", style: { 'background-image': 'url(' + this.mainImage + ')', 'background-position': this.mainImageAlignHorizontal + ' ' + this.mainImageAlignVertical } })) : null))));
|
|
454
564
|
}
|
|
@@ -488,7 +598,7 @@ const BiggiveImage = class {
|
|
|
488
598
|
};
|
|
489
599
|
BiggiveImage.style = biggiveImageCss;
|
|
490
600
|
|
|
491
|
-
const biggiveImageFeatureCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .sleeve{display:flex;justify-content:space-between}.container .sleeve .content-wrap{width:calc(40% - 15px);position:relative;z-index:1}.container .sleeve .content-wrap .slug{font-size:20px;line-height:24px;font-weight:bold;margin:0;padding:0}.container .sleeve .content-wrap h2{font-size:38px;line-height:45px;font-weight:bold;margin:0 0 15px 0;padding:0}.container .sleeve .content-wrap .teaser{margin:0 0 45px 0;padding:0}.container .sleeve .graphic-wrap{width:calc(60% - 15px)}@media screen and (max-width: 576px){.container .sleeve{flex-wrap:wrap}.container .sleeve .content-wrap{width:100%}.container .sleeve .graphic-wrap{width:100%;margin-bottom:15px;order:-1}}";
|
|
601
|
+
const biggiveImageFeatureCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .sleeve{display:flex;justify-content:space-between}.container .sleeve .content-wrap{width:calc(40% - 15px);position:relative;z-index:1}.container .sleeve .content-wrap .slug{font-size:20px;line-height:24px;font-weight:bold;margin:0;padding:0}.container .sleeve .content-wrap h2{font-size:38px;line-height:45px;font-weight:bold;margin:0 0 15px 0;padding:0}.container .sleeve .content-wrap .teaser{margin:0 0 45px 0;padding:0}.container .sleeve .graphic-wrap{width:calc(60% - 15px)}@media screen and (max-width: 576px){.container .sleeve{flex-wrap:wrap}.container .sleeve .content-wrap{width:100%}.container .sleeve .graphic-wrap{width:100%;margin-bottom:15px;order:-1}}";
|
|
492
602
|
|
|
493
603
|
const BiggiveImageFeature = class {
|
|
494
604
|
constructor(hostRef) {
|
|
@@ -603,7 +713,7 @@ const BiggiveMainMenu = class {
|
|
|
603
713
|
};
|
|
604
714
|
BiggiveMainMenu.style = biggiveMainMenuCss;
|
|
605
715
|
|
|
606
|
-
const biggiveMiscIconCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}:host{display:contents}.misc-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px}.misc-icon-item.colour-scheme-primary{background-color:#2C089B}.misc-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.misc-icon-item.colour-scheme-secondary{background-color:#2AF135}.misc-icon-item.colour-scheme-secondary svg{fill:#000000}.misc-icon-item.colour-scheme-tertiary{background-color:#FF7272}.misc-icon-item.colour-scheme-tertiary svg{fill:#000000}.misc-icon-item.colour-scheme-brand-1{background-color:#B30510}.misc-icon-item.colour-scheme-brand-1 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-2{background-color:#6E0887}.misc-icon-item.colour-scheme-brand-2 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-3{background-color:#50B400}.misc-icon-item.colour-scheme-brand-3 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-4{background-color:#FFE500}.misc-icon-item.colour-scheme-brand-4 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-5{background-color:#F07D00}.misc-icon-item.colour-scheme-brand-5 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.misc-icon-item.colour-scheme-brand-6 svg{fill:#000000}.misc-icon-item.colour-scheme-white{background-color:#FFFFFF}.misc-icon-item.colour-scheme-white svg{fill:#000000}.misc-icon-item.colour-scheme-black{background-color:#000000}.misc-icon-item.colour-scheme-black svg{fill:#FFFFFF}.misc-icon-item:hover{background-color:#FFFFFF}.misc-icon-item:hover svg{fill:#000000}.misc-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.misc-icon-item a svg{width:100%;height:100%}@media screen and (max-width: 576px){.misc-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px;margin:auto}.misc-icon-item.colour-scheme-primary{background-color:#2C089B}.misc-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.misc-icon-item.colour-scheme-secondary{background-color:#2AF135}.misc-icon-item.colour-scheme-secondary svg{fill:#000000}.misc-icon-item.colour-scheme-tertiary{background-color:#FF7272}.misc-icon-item.colour-scheme-tertiary svg{fill:#000000}.misc-icon-item.colour-scheme-brand-1{background-color:#B30510}.misc-icon-item.colour-scheme-brand-1 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-2{background-color:#6E0887}.misc-icon-item.colour-scheme-brand-2 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-3{background-color:#50B400}.misc-icon-item.colour-scheme-brand-3 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-4{background-color:#FFE500}.misc-icon-item.colour-scheme-brand-4 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-5{background-color:#F07D00}.misc-icon-item.colour-scheme-brand-5 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.misc-icon-item.colour-scheme-brand-6 svg{fill:#000000}.misc-icon-item.colour-scheme-white{background-color:#FFFFFF}.misc-icon-item.colour-scheme-white svg{fill:#000000}.misc-icon-item.colour-scheme-black{background-color:#000000}.misc-icon-item.colour-scheme-black svg{fill:#FFFFFF}.misc-icon-item:hover{background-color:#FFFFFF}.misc-icon-item:hover svg{fill:#000000}.misc-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.misc-icon-item a svg{width:100%;height:100%}.misc-icon-item a{padding:6px}.misc-icon-item a{margin:auto}}.CaretRight{height:10px;width:10px;margin-right:0px}.CaretRight a{padding:0px}.MenuClose a svg{height:12px;width:12px}";
|
|
716
|
+
const biggiveMiscIconCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-red{fill:red}:host{display:contents}.misc-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px}.misc-icon-item.colour-scheme-primary{background-color:#2C089B}.misc-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.misc-icon-item.colour-scheme-secondary{background-color:#2AF135}.misc-icon-item.colour-scheme-secondary svg{fill:#000000}.misc-icon-item.colour-scheme-tertiary{background-color:#FF7272}.misc-icon-item.colour-scheme-tertiary svg{fill:#000000}.misc-icon-item.colour-scheme-brand-1{background-color:#B30510}.misc-icon-item.colour-scheme-brand-1 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-2{background-color:#6E0887}.misc-icon-item.colour-scheme-brand-2 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-3{background-color:#50B400}.misc-icon-item.colour-scheme-brand-3 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-4{background-color:#FFE500}.misc-icon-item.colour-scheme-brand-4 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-5{background-color:#F07D00}.misc-icon-item.colour-scheme-brand-5 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.misc-icon-item.colour-scheme-brand-6 svg{fill:#000000}.misc-icon-item.colour-scheme-white{background-color:#FFFFFF}.misc-icon-item.colour-scheme-white svg{fill:#000000}.misc-icon-item.colour-scheme-black{background-color:#000000}.misc-icon-item.colour-scheme-black svg{fill:#FFFFFF}.misc-icon-item.colour-scheme-black{background-color:#D7D7D7}.misc-icon-item.colour-scheme-black svg{fill:#D7D7D7}.misc-icon-item.colour-scheme-black{background-color:#E8E8E8}.misc-icon-item.colour-scheme-black svg{fill:#E8E8E8}.misc-icon-item.colour-scheme-black{background-color:#8A8A8A}.misc-icon-item.colour-scheme-black svg{fill:#8A8A8A}.misc-icon-item.colour-scheme-black{background-color:#4A4A4A}.misc-icon-item.colour-scheme-black svg{fill:#4A4A4A}.misc-icon-item:hover{background-color:#FFFFFF}.misc-icon-item:hover svg{fill:#000000}.misc-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.misc-icon-item a svg{width:100%;height:100%}@media screen and (max-width: 576px){.misc-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px;margin:auto}.misc-icon-item.colour-scheme-primary{background-color:#2C089B}.misc-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.misc-icon-item.colour-scheme-secondary{background-color:#2AF135}.misc-icon-item.colour-scheme-secondary svg{fill:#000000}.misc-icon-item.colour-scheme-tertiary{background-color:#FF7272}.misc-icon-item.colour-scheme-tertiary svg{fill:#000000}.misc-icon-item.colour-scheme-brand-1{background-color:#B30510}.misc-icon-item.colour-scheme-brand-1 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-2{background-color:#6E0887}.misc-icon-item.colour-scheme-brand-2 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-3{background-color:#50B400}.misc-icon-item.colour-scheme-brand-3 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-4{background-color:#FFE500}.misc-icon-item.colour-scheme-brand-4 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-5{background-color:#F07D00}.misc-icon-item.colour-scheme-brand-5 svg{fill:#000000}.misc-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.misc-icon-item.colour-scheme-brand-6 svg{fill:#000000}.misc-icon-item.colour-scheme-white{background-color:#FFFFFF}.misc-icon-item.colour-scheme-white svg{fill:#000000}.misc-icon-item.colour-scheme-black{background-color:#000000}.misc-icon-item.colour-scheme-black svg{fill:#FFFFFF}.misc-icon-item.colour-scheme-black{background-color:#D7D7D7}.misc-icon-item.colour-scheme-black svg{fill:#D7D7D7}.misc-icon-item.colour-scheme-black{background-color:#E8E8E8}.misc-icon-item.colour-scheme-black svg{fill:#E8E8E8}.misc-icon-item.colour-scheme-black{background-color:#8A8A8A}.misc-icon-item.colour-scheme-black svg{fill:#8A8A8A}.misc-icon-item.colour-scheme-black{background-color:#4A4A4A}.misc-icon-item.colour-scheme-black svg{fill:#4A4A4A}.misc-icon-item:hover{background-color:#FFFFFF}.misc-icon-item:hover svg{fill:#000000}.misc-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.misc-icon-item a svg{width:100%;height:100%}.misc-icon-item a{padding:6px}.misc-icon-item a{margin:auto}}.CaretRight{height:10px;width:10px;margin-right:0px}.CaretRight a{padding:0px}.MenuClose a svg{height:12px;width:12px}";
|
|
607
717
|
|
|
608
718
|
const BiggiveMiscIcon = class {
|
|
609
719
|
constructor(hostRef) {
|
|
@@ -717,7 +827,7 @@ const BiggiveProgressBar = class {
|
|
|
717
827
|
};
|
|
718
828
|
BiggiveProgressBar.style = biggiveProgressBarCss;
|
|
719
829
|
|
|
720
|
-
const biggiveQuoteCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;height:100%;background-color:white;text-align:center;margin-left:auto;margin-right:auto;max-width:600px;padding:60px}.container .image-wrap{text-align:center;margin-bottom:15px}.container .image-wrap svg{height:30px;width:auto;margin:auto}.container .quote{margin-bottom:30px}@media screen and (max-width: 768px){.container{padding:45px}.container svg{width:40px;height:40px}}@media screen and (max-width: 576px){.container{padding:30px;font-size:13px;line-height:17px}.container svg{width:30px;height:30px}}@media screen and (max-width: 450px){.container{padding:15px}}";
|
|
830
|
+
const biggiveQuoteCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;height:100%;background-color:white;text-align:center;margin-left:auto;margin-right:auto;max-width:600px;padding:60px}.container .image-wrap{text-align:center;margin-bottom:15px}.container .image-wrap svg{height:30px;width:auto;margin:auto}.container .quote{margin-bottom:30px}.container.quote-icon-colour-primary .image-wrap path{fill:#2C089B}.container.quote-icon-colour-secondary .image-wrap path{fill:#2AF135}.container.quote-icon-colour-tertiary .image-wrap path{fill:#FF7272}.container.quote-icon-colour-brand-1 .image-wrap path{fill:#B30510}.container.quote-icon-colour-brand-2 .image-wrap path{fill:#6E0887}.container.quote-icon-colour-brand-3 .image-wrap path{fill:#50B400}.container.quote-icon-colour-brand-4 .image-wrap path{fill:#FFE500}.container.quote-icon-colour-brand-5 .image-wrap path{fill:#F07D00}.container.quote-icon-colour-brand-6 .image-wrap path{fill:#62CFC9}.container.quote-icon-colour-white .image-wrap path{fill:#FFFFFF}.container.quote-icon-colour-black .image-wrap path{fill:#000000}.container.quote-icon-colour-grey-extra-light .image-wrap path{fill:#D7D7D7}.container.quote-icon-colour-grey-light .image-wrap path{fill:#E8E8E8}.container.quote-icon-colour-grey-medium .image-wrap path{fill:#8A8A8A}.container.quote-icon-colour-grey-dark .image-wrap path{fill:#4A4A4A}@media screen and (max-width: 768px){.container{padding:45px}.container svg{width:40px;height:40px}}@media screen and (max-width: 576px){.container{padding:30px;font-size:13px;line-height:17px}.container svg{width:30px;height:30px}}@media screen and (max-width: 450px){.container{padding:15px}}";
|
|
721
831
|
|
|
722
832
|
const BiggiveQuote = class {
|
|
723
833
|
constructor(hostRef) {
|
|
@@ -726,14 +836,15 @@ const BiggiveQuote = class {
|
|
|
726
836
|
this.defaultTextColour = 'black';
|
|
727
837
|
this.quote = '';
|
|
728
838
|
this.attribution = '';
|
|
839
|
+
this.quoteIconColour = 'primary';
|
|
729
840
|
}
|
|
730
841
|
render() {
|
|
731
|
-
return (index.h("div", { class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, index.h("div", { class: "image-wrap" }, index.h("svg", { width: "34", height: "24", viewBox: "0 0 34 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M16.1245 0L13.7167 24H0L11.0901 0H16.1245ZM34 0L31.5923 24H17.8755L28.9657 0H34Z", fill: "#2C089B" }))), index.h("div", { class: "quote" }, "\u201C", this.quote, "\u201D"), index.h("div", { class: "attribution" }, " - ", this.attribution)));
|
|
842
|
+
return (index.h("div", { class: 'container text-colour-' + this.defaultTextColour + ' quote-icon-colour-' + this.quoteIconColour + ' space-below-' + this.spaceBelow }, index.h("div", { class: "image-wrap" }, index.h("svg", { width: "34", height: "24", viewBox: "0 0 34 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M16.1245 0L13.7167 24H0L11.0901 0H16.1245ZM34 0L31.5923 24H17.8755L28.9657 0H34Z", fill: "#2C089B" }))), index.h("div", { class: "quote" }, "\u201C", this.quote, "\u201D"), index.h("div", { class: "attribution" }, " - ", this.attribution)));
|
|
732
843
|
}
|
|
733
844
|
};
|
|
734
845
|
BiggiveQuote.style = biggiveQuoteCss;
|
|
735
846
|
|
|
736
|
-
const biggiveSocialIconCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-red{fill:red}:host{display:contents}.social-icon-item{margin-right:6px;width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item.wide{margin-right:30px}@media screen and (max-width: 576px){.social-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item a{padding:6px}.social-icon-item.wide{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.wide.colour-scheme-primary{background-color:#2C089B}.social-icon-item.wide.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.wide.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.wide.colour-scheme-secondary svg{fill:#000000}.social-icon-item.wide.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.wide.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.wide.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.wide.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.wide.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.wide.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.wide.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.wide.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.wide.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.wide.colour-scheme-white svg{fill:#000000}.social-icon-item.wide.colour-scheme-black{background-color:#000000}.social-icon-item.wide.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.wide:hover{background-color:#FFFFFF}.social-icon-item.wide:hover svg{fill:#000000}.social-icon-item.wide a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item.wide a svg{width:100%;height:100%}.social-icon-item.wide a{padding:6px}}";
|
|
847
|
+
const biggiveSocialIconCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-red{fill:red}:host{display:contents}.social-icon-item{margin-right:6px;width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item.wide{margin-right:30px}@media screen and (max-width: 576px){.social-icon-item{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.colour-scheme-primary{background-color:#2C089B}.social-icon-item.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.colour-scheme-secondary svg{fill:#000000}.social-icon-item.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.colour-scheme-white svg{fill:#000000}.social-icon-item.colour-scheme-black{background-color:#000000}.social-icon-item.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item:hover{background-color:#FFFFFF}.social-icon-item:hover svg{fill:#000000}.social-icon-item a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item a svg{width:100%;height:100%}.social-icon-item a{padding:6px}.social-icon-item.wide{width:40px;height:40px;border-radius:50%;text-align:center;transition:all ease-in-out 0.5s;display:inline-block;margin-right:10px;width:30px;height:30px}.social-icon-item.wide.colour-scheme-primary{background-color:#2C089B}.social-icon-item.wide.colour-scheme-primary svg{fill:#FFFFFF}.social-icon-item.wide.colour-scheme-secondary{background-color:#2AF135}.social-icon-item.wide.colour-scheme-secondary svg{fill:#000000}.social-icon-item.wide.colour-scheme-tertiary{background-color:#FF7272}.social-icon-item.wide.colour-scheme-tertiary svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-1{background-color:#B30510}.social-icon-item.wide.colour-scheme-brand-1 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-2{background-color:#6E0887}.social-icon-item.wide.colour-scheme-brand-2 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-3{background-color:#50B400}.social-icon-item.wide.colour-scheme-brand-3 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-4{background-color:#FFE500}.social-icon-item.wide.colour-scheme-brand-4 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-5{background-color:#F07D00}.social-icon-item.wide.colour-scheme-brand-5 svg{fill:#000000}.social-icon-item.wide.colour-scheme-brand-6{background-color:#CBC8C8}.social-icon-item.wide.colour-scheme-brand-6 svg{fill:#000000}.social-icon-item.wide.colour-scheme-white{background-color:#FFFFFF}.social-icon-item.wide.colour-scheme-white svg{fill:#000000}.social-icon-item.wide.colour-scheme-black{background-color:#000000}.social-icon-item.wide.colour-scheme-black svg{fill:#FFFFFF}.social-icon-item.wide.colour-scheme-black{background-color:#D7D7D7}.social-icon-item.wide.colour-scheme-black svg{fill:#D7D7D7}.social-icon-item.wide.colour-scheme-black{background-color:#E8E8E8}.social-icon-item.wide.colour-scheme-black svg{fill:#E8E8E8}.social-icon-item.wide.colour-scheme-black{background-color:#8A8A8A}.social-icon-item.wide.colour-scheme-black svg{fill:#8A8A8A}.social-icon-item.wide.colour-scheme-black{background-color:#4A4A4A}.social-icon-item.wide.colour-scheme-black svg{fill:#4A4A4A}.social-icon-item.wide:hover{background-color:#FFFFFF}.social-icon-item.wide:hover svg{fill:#000000}.social-icon-item.wide a{display:grid;position:relative;padding:10px;box-sizing:border-box;height:100%}.social-icon-item.wide a svg{width:100%;height:100%}.social-icon-item.wide a{padding:6px}}";
|
|
737
848
|
|
|
738
849
|
const BiggiveSocialIcon = class {
|
|
739
850
|
constructor(hostRef) {
|
|
@@ -754,7 +865,310 @@ const BiggiveSocialIcon = class {
|
|
|
754
865
|
};
|
|
755
866
|
BiggiveSocialIcon.style = biggiveSocialIconCss;
|
|
756
867
|
|
|
757
|
-
const
|
|
868
|
+
const biggiveTabCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:contents}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}";
|
|
869
|
+
|
|
870
|
+
const BiggiveTab = class {
|
|
871
|
+
constructor(hostRef) {
|
|
872
|
+
index.registerInstance(this, hostRef);
|
|
873
|
+
this.tabTitle = '';
|
|
874
|
+
}
|
|
875
|
+
render() {
|
|
876
|
+
return (index.h("div", { class: "container" }, index.h("slot", null)));
|
|
877
|
+
}
|
|
878
|
+
};
|
|
879
|
+
BiggiveTab.style = biggiveTabCss;
|
|
880
|
+
|
|
881
|
+
const biggiveTabbedContentCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents}::slotted(*){display:none}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .navigation{padding:0 40px}.container .navigation .button{position:absolute;top:5px;display:block;width:30px;height:30px;padding:2.5px 10px;box-sizing:border-box;background-color:#FFFFFF;box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.25);border-radius:50%;cursor:pointer;text-align:center}.container .navigation .button.prev{left:0}.container .navigation .button.next{right:0}.container .navigation .button svg{width:10px;height:10px}.container .navigation ul{margin:0;padding:0;list-style-type:none;border-bottom:1px solid transparent;display:flex}.container .navigation ul li{padding:10px;margin:0;width:calc(33.3% - 20px);border-bottom:3px solid transparent;text-align:center;cursor:pointer}.container .navigation ul li.selected{font-weight:bold}.container.text-colour-primary .navigation li{color:#2C089B}.container.navigation-highlight-colour-primary .navigation ul{border-color:#2C089B}.container.selected-text-colour-primary .navigation li.selected{color:#2C089B;border-color:#2C089B}.container.selected-navigation-highlight-colour-primary .navigation li.selected{border-color:#2C089B}.container.button-background-colour-primary .navigation .button{background-color:#2C089B}.container.button-icon-colour-primary .navigation .button svg path{stroke:#2C089B}.container.text-colour-secondary .navigation li{color:#2AF135}.container.navigation-highlight-colour-secondary .navigation ul{border-color:#2AF135}.container.selected-text-colour-secondary .navigation li.selected{color:#2AF135;border-color:#2AF135}.container.selected-navigation-highlight-colour-secondary .navigation li.selected{border-color:#2AF135}.container.button-background-colour-secondary .navigation .button{background-color:#2AF135}.container.button-icon-colour-secondary .navigation .button svg path{stroke:#2AF135}.container.text-colour-tertiary .navigation li{color:#FF7272}.container.navigation-highlight-colour-tertiary .navigation ul{border-color:#FF7272}.container.selected-text-colour-tertiary .navigation li.selected{color:#FF7272;border-color:#FF7272}.container.selected-navigation-highlight-colour-tertiary .navigation li.selected{border-color:#FF7272}.container.button-background-colour-tertiary .navigation .button{background-color:#FF7272}.container.button-icon-colour-tertiary .navigation .button svg path{stroke:#FF7272}.container.text-colour-brand-1 .navigation li{color:#B30510}.container.navigation-highlight-colour-brand-1 .navigation ul{border-color:#B30510}.container.selected-text-colour-brand-1 .navigation li.selected{color:#B30510;border-color:#B30510}.container.selected-navigation-highlight-colour-brand-1 .navigation li.selected{border-color:#B30510}.container.button-background-colour-brand-1 .navigation .button{background-color:#B30510}.container.button-icon-colour-brand-1 .navigation .button svg path{stroke:#B30510}.container.text-colour-brand-2 .navigation li{color:#6E0887}.container.navigation-highlight-colour-brand-2 .navigation ul{border-color:#6E0887}.container.selected-text-colour-brand-2 .navigation li.selected{color:#6E0887;border-color:#6E0887}.container.selected-navigation-highlight-colour-brand-2 .navigation li.selected{border-color:#6E0887}.container.button-background-colour-brand-2 .navigation .button{background-color:#6E0887}.container.button-icon-colour-brand-2 .navigation .button svg path{stroke:#6E0887}.container.text-colour-brand-3 .navigation li{color:#50B400}.container.navigation-highlight-colour-brand-3 .navigation ul{border-color:#50B400}.container.selected-text-colour-brand-3 .navigation li.selected{color:#50B400;border-color:#50B400}.container.selected-navigation-highlight-colour-brand-3 .navigation li.selected{border-color:#50B400}.container.button-background-colour-brand-3 .navigation .button{background-color:#50B400}.container.button-icon-colour-brand-3 .navigation .button svg path{stroke:#50B400}.container.text-colour-brand-4 .navigation li{color:#FFE500}.container.navigation-highlight-colour-brand-4 .navigation ul{border-color:#FFE500}.container.selected-text-colour-brand-4 .navigation li.selected{color:#FFE500;border-color:#FFE500}.container.selected-navigation-highlight-colour-brand-4 .navigation li.selected{border-color:#FFE500}.container.button-background-colour-brand-4 .navigation .button{background-color:#FFE500}.container.button-icon-colour-brand-4 .navigation .button svg path{stroke:#FFE500}.container.text-colour-brand-5 .navigation li{color:#F07D00}.container.navigation-highlight-colour-brand-5 .navigation ul{border-color:#F07D00}.container.selected-text-colour-brand-5 .navigation li.selected{color:#F07D00;border-color:#F07D00}.container.selected-navigation-highlight-colour-brand-5 .navigation li.selected{border-color:#F07D00}.container.button-background-colour-brand-5 .navigation .button{background-color:#F07D00}.container.button-icon-colour-brand-5 .navigation .button svg path{stroke:#F07D00}.container.text-colour-brand-6 .navigation li{color:#62CFC9}.container.navigation-highlight-colour-brand-6 .navigation ul{border-color:#62CFC9}.container.selected-text-colour-brand-6 .navigation li.selected{color:#62CFC9;border-color:#62CFC9}.container.selected-navigation-highlight-colour-brand-6 .navigation li.selected{border-color:#62CFC9}.container.button-background-colour-brand-6 .navigation .button{background-color:#62CFC9}.container.button-icon-colour-brand-6 .navigation .button svg path{stroke:#62CFC9}.container.text-colour-white .navigation li{color:#FFFFFF}.container.navigation-highlight-colour-white .navigation ul{border-color:#FFFFFF}.container.selected-text-colour-white .navigation li.selected{color:#FFFFFF;border-color:#FFFFFF}.container.selected-navigation-highlight-colour-white .navigation li.selected{border-color:#FFFFFF}.container.button-background-colour-white .navigation .button{background-color:#FFFFFF}.container.button-icon-colour-white .navigation .button svg path{stroke:#FFFFFF}.container.text-colour-black .navigation li{color:#000000}.container.navigation-highlight-colour-black .navigation ul{border-color:#000000}.container.selected-text-colour-black .navigation li.selected{color:#000000;border-color:#000000}.container.selected-navigation-highlight-colour-black .navigation li.selected{border-color:#000000}.container.button-background-colour-black .navigation .button{background-color:#000000}.container.button-icon-colour-black .navigation .button svg path{stroke:#000000}.container.text-colour-grey-extra-light .navigation li{color:#D7D7D7}.container.navigation-highlight-colour-grey-extra-light .navigation ul{border-color:#D7D7D7}.container.selected-text-colour-grey-extra-light .navigation li.selected{color:#D7D7D7;border-color:#D7D7D7}.container.selected-navigation-highlight-colour-grey-extra-light .navigation li.selected{border-color:#D7D7D7}.container.button-background-colour-grey-extra-light .navigation .button{background-color:#D7D7D7}.container.button-icon-colour-grey-extra-light .navigation .button svg path{stroke:#D7D7D7}.container.text-colour-grey-light .navigation li{color:#E8E8E8}.container.navigation-highlight-colour-grey-light .navigation ul{border-color:#E8E8E8}.container.selected-text-colour-grey-light .navigation li.selected{color:#E8E8E8;border-color:#E8E8E8}.container.selected-navigation-highlight-colour-grey-light .navigation li.selected{border-color:#E8E8E8}.container.button-background-colour-grey-light .navigation .button{background-color:#E8E8E8}.container.button-icon-colour-grey-light .navigation .button svg path{stroke:#E8E8E8}.container.text-colour-grey-medium .navigation li{color:#8A8A8A}.container.navigation-highlight-colour-grey-medium .navigation ul{border-color:#8A8A8A}.container.selected-text-colour-grey-medium .navigation li.selected{color:#8A8A8A;border-color:#8A8A8A}.container.selected-navigation-highlight-colour-grey-medium .navigation li.selected{border-color:#8A8A8A}.container.button-background-colour-grey-medium .navigation .button{background-color:#8A8A8A}.container.button-icon-colour-grey-medium .navigation .button svg path{stroke:#8A8A8A}.container.text-colour-grey-dark .navigation li{color:#4A4A4A}.container.navigation-highlight-colour-grey-dark .navigation ul{border-color:#4A4A4A}.container.selected-text-colour-grey-dark .navigation li.selected{color:#4A4A4A;border-color:#4A4A4A}.container.selected-navigation-highlight-colour-grey-dark .navigation li.selected{border-color:#4A4A4A}.container.button-background-colour-grey-dark .navigation .button{background-color:#4A4A4A}.container.button-icon-colour-grey-dark .navigation .button svg path{stroke:#4A4A4A}";
|
|
882
|
+
|
|
883
|
+
const BiggiveTabbedContent = class {
|
|
884
|
+
constructor(hostRef) {
|
|
885
|
+
index.registerInstance(this, hostRef);
|
|
886
|
+
this.currentTab = 0;
|
|
887
|
+
this.children = [];
|
|
888
|
+
this.spaceBelow = 0;
|
|
889
|
+
this.textColour = 'black';
|
|
890
|
+
this.selectedTextColour = 'primary';
|
|
891
|
+
this.navigationHighlightColour = 'grey-medium';
|
|
892
|
+
this.selectedNavigationHighlightColour = 'primary';
|
|
893
|
+
this.buttonBackgroundColour = 'white';
|
|
894
|
+
this.buttonIconColour = 'primary';
|
|
895
|
+
}
|
|
896
|
+
componentWillLoad() {
|
|
897
|
+
this.children = Array.from(this.host.children);
|
|
898
|
+
}
|
|
899
|
+
componentDidRender() {
|
|
900
|
+
this.showTab(0);
|
|
901
|
+
}
|
|
902
|
+
/*
|
|
903
|
+
* Shows the i'th tab, counting from zero. Does nothing if i out of range.
|
|
904
|
+
*/
|
|
905
|
+
showTab(i) {
|
|
906
|
+
var _a;
|
|
907
|
+
const tabs = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.navigation ul li');
|
|
908
|
+
if (i >= 0 && i <= (tabs === null || tabs === void 0 ? void 0 : tabs.length) - 1) {
|
|
909
|
+
this.currentTab = i;
|
|
910
|
+
let j = 0;
|
|
911
|
+
tabs === null || tabs === void 0 ? void 0 : tabs.forEach(function (tab) {
|
|
912
|
+
if (i == j) {
|
|
913
|
+
tab.classList.add('selected');
|
|
914
|
+
}
|
|
915
|
+
else {
|
|
916
|
+
tab.classList.remove('selected');
|
|
917
|
+
}
|
|
918
|
+
j++;
|
|
919
|
+
});
|
|
920
|
+
j = 0;
|
|
921
|
+
this.host.querySelectorAll('biggive-tab').forEach(function (tab) {
|
|
922
|
+
tab.style.display = i == j ? 'block' : 'none';
|
|
923
|
+
j++;
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
clickTabHandler(e) {
|
|
928
|
+
let i = 0;
|
|
929
|
+
const parent = e.target.parentElement;
|
|
930
|
+
for (let el of Array.from(parent.children)) {
|
|
931
|
+
if (el == e.target) {
|
|
932
|
+
this.showTab(i);
|
|
933
|
+
return;
|
|
934
|
+
}
|
|
935
|
+
i++;
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
clickPrevHandler() {
|
|
939
|
+
this.showTab(this.currentTab - 1);
|
|
940
|
+
}
|
|
941
|
+
clickNextHandler() {
|
|
942
|
+
this.showTab(this.currentTab + 1);
|
|
943
|
+
}
|
|
944
|
+
render() {
|
|
945
|
+
return (index.h("div", { class: 'container space-below-' +
|
|
946
|
+
this.spaceBelow +
|
|
947
|
+
' text-colour-' +
|
|
948
|
+
this.textColour +
|
|
949
|
+
' selected-text-colour-' +
|
|
950
|
+
this.selectedTextColour +
|
|
951
|
+
' navigation-highlight-colour-' +
|
|
952
|
+
this.navigationHighlightColour +
|
|
953
|
+
' selected-navigation-highlight-colour-' +
|
|
954
|
+
this.selectedNavigationHighlightColour +
|
|
955
|
+
' button-background-colour-' +
|
|
956
|
+
this.buttonBackgroundColour +
|
|
957
|
+
' button-icon-colour-' +
|
|
958
|
+
this.buttonIconColour }, index.h("div", { class: "navigation" }, index.h("div", { class: "button prev", onClick: () => this.clickPrevHandler(), title: "Previous" }, index.h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), index.h("ul", null, this.children.map(child => (index.h("li", { onClick: event => this.clickTabHandler(event) }, child.tabTitle)))), index.h("div", { class: "button next", onClick: () => this.clickNextHandler(), title: "Next" }, index.h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), index.h("slot", null)));
|
|
959
|
+
}
|
|
960
|
+
get host() { return index.getElement(this); }
|
|
961
|
+
};
|
|
962
|
+
BiggiveTabbedContent.style = biggiveTabbedContentCss;
|
|
963
|
+
|
|
964
|
+
const biggiveTimelineCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents}::slotted(*){display:none}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .navigation{padding:0 40px}.container .navigation .button{position:absolute;top:5px;display:block;width:30px;height:30px;padding:2.5px 10px;box-sizing:border-box;background-color:#FFFFFF;box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.25);border-radius:50%;cursor:pointer;text-align:center}.container .navigation .button.prev{left:0}.container .navigation .button.next{right:0}.container .navigation .button svg{width:10px;height:10px}.container .navigation ul{margin:0;padding:0;list-style-type:none;border-bottom:1px solid transparent;display:flex}.container .navigation ul li{padding:10px;margin:0;width:calc(33.3% - 20px);border-bottom:3px solid transparent;text-align:center;cursor:pointer}.container .navigation ul li.selected{font-weight:bold}.container .entry-wrap{padding:40px}.container .entry-wrap .entry{margin-bottom:15px;border-left:15px solid transparent;padding:15px 40px 15px 40px}.container .entry-wrap .entry .date{font-size:13px;line-height:17px;font-weight:bold;margin:0 0 5px 0}.container .entry-wrap .entry .title{font-weight:bold;margin:0 0 5px 0;padding:0}.container .entry-wrap .entry .content p{margin:0 0 5px 0}.container.text-colour-primary .navigation li{color:#2C089B}.container.navigation-highlight-colour-primary .navigation ul{border-color:#2C089B}.container.selected-text-colour-primary .navigation li.selected{color:#2C089B;border-color:#2C089B}.container.selected-navigation-highlight-colour-primary .navigation li.selected{border-color:#2C089B}.container.button-background-colour-primary .navigation .button{background-color:#2C089B}.container.button-icon-colour-primary .navigation .button svg path{stroke:#2C089B}.container.entry-background-colour-primary .entry{background-color:#2C089B}.container.entry-highlight-colour-primary .entry{border-color:#2C089B}.container.entry-date-colour-primary .entry .date{color:#2C089B}.container.entry-title-colour-primary .entry .title{color:#2C089B}.container.entry-text-colour-primary .entry .content{color:#2C089B}.container.text-colour-secondary .navigation li{color:#2AF135}.container.navigation-highlight-colour-secondary .navigation ul{border-color:#2AF135}.container.selected-text-colour-secondary .navigation li.selected{color:#2AF135;border-color:#2AF135}.container.selected-navigation-highlight-colour-secondary .navigation li.selected{border-color:#2AF135}.container.button-background-colour-secondary .navigation .button{background-color:#2AF135}.container.button-icon-colour-secondary .navigation .button svg path{stroke:#2AF135}.container.entry-background-colour-secondary .entry{background-color:#2AF135}.container.entry-highlight-colour-secondary .entry{border-color:#2AF135}.container.entry-date-colour-secondary .entry .date{color:#2AF135}.container.entry-title-colour-secondary .entry .title{color:#2AF135}.container.entry-text-colour-secondary .entry .content{color:#2AF135}.container.text-colour-tertiary .navigation li{color:#FF7272}.container.navigation-highlight-colour-tertiary .navigation ul{border-color:#FF7272}.container.selected-text-colour-tertiary .navigation li.selected{color:#FF7272;border-color:#FF7272}.container.selected-navigation-highlight-colour-tertiary .navigation li.selected{border-color:#FF7272}.container.button-background-colour-tertiary .navigation .button{background-color:#FF7272}.container.button-icon-colour-tertiary .navigation .button svg path{stroke:#FF7272}.container.entry-background-colour-tertiary .entry{background-color:#FF7272}.container.entry-highlight-colour-tertiary .entry{border-color:#FF7272}.container.entry-date-colour-tertiary .entry .date{color:#FF7272}.container.entry-title-colour-tertiary .entry .title{color:#FF7272}.container.entry-text-colour-tertiary .entry .content{color:#FF7272}.container.text-colour-brand-1 .navigation li{color:#B30510}.container.navigation-highlight-colour-brand-1 .navigation ul{border-color:#B30510}.container.selected-text-colour-brand-1 .navigation li.selected{color:#B30510;border-color:#B30510}.container.selected-navigation-highlight-colour-brand-1 .navigation li.selected{border-color:#B30510}.container.button-background-colour-brand-1 .navigation .button{background-color:#B30510}.container.button-icon-colour-brand-1 .navigation .button svg path{stroke:#B30510}.container.entry-background-colour-brand-1 .entry{background-color:#B30510}.container.entry-highlight-colour-brand-1 .entry{border-color:#B30510}.container.entry-date-colour-brand-1 .entry .date{color:#B30510}.container.entry-title-colour-brand-1 .entry .title{color:#B30510}.container.entry-text-colour-brand-1 .entry .content{color:#B30510}.container.text-colour-brand-2 .navigation li{color:#6E0887}.container.navigation-highlight-colour-brand-2 .navigation ul{border-color:#6E0887}.container.selected-text-colour-brand-2 .navigation li.selected{color:#6E0887;border-color:#6E0887}.container.selected-navigation-highlight-colour-brand-2 .navigation li.selected{border-color:#6E0887}.container.button-background-colour-brand-2 .navigation .button{background-color:#6E0887}.container.button-icon-colour-brand-2 .navigation .button svg path{stroke:#6E0887}.container.entry-background-colour-brand-2 .entry{background-color:#6E0887}.container.entry-highlight-colour-brand-2 .entry{border-color:#6E0887}.container.entry-date-colour-brand-2 .entry .date{color:#6E0887}.container.entry-title-colour-brand-2 .entry .title{color:#6E0887}.container.entry-text-colour-brand-2 .entry .content{color:#6E0887}.container.text-colour-brand-3 .navigation li{color:#50B400}.container.navigation-highlight-colour-brand-3 .navigation ul{border-color:#50B400}.container.selected-text-colour-brand-3 .navigation li.selected{color:#50B400;border-color:#50B400}.container.selected-navigation-highlight-colour-brand-3 .navigation li.selected{border-color:#50B400}.container.button-background-colour-brand-3 .navigation .button{background-color:#50B400}.container.button-icon-colour-brand-3 .navigation .button svg path{stroke:#50B400}.container.entry-background-colour-brand-3 .entry{background-color:#50B400}.container.entry-highlight-colour-brand-3 .entry{border-color:#50B400}.container.entry-date-colour-brand-3 .entry .date{color:#50B400}.container.entry-title-colour-brand-3 .entry .title{color:#50B400}.container.entry-text-colour-brand-3 .entry .content{color:#50B400}.container.text-colour-brand-4 .navigation li{color:#FFE500}.container.navigation-highlight-colour-brand-4 .navigation ul{border-color:#FFE500}.container.selected-text-colour-brand-4 .navigation li.selected{color:#FFE500;border-color:#FFE500}.container.selected-navigation-highlight-colour-brand-4 .navigation li.selected{border-color:#FFE500}.container.button-background-colour-brand-4 .navigation .button{background-color:#FFE500}.container.button-icon-colour-brand-4 .navigation .button svg path{stroke:#FFE500}.container.entry-background-colour-brand-4 .entry{background-color:#FFE500}.container.entry-highlight-colour-brand-4 .entry{border-color:#FFE500}.container.entry-date-colour-brand-4 .entry .date{color:#FFE500}.container.entry-title-colour-brand-4 .entry .title{color:#FFE500}.container.entry-text-colour-brand-4 .entry .content{color:#FFE500}.container.text-colour-brand-5 .navigation li{color:#F07D00}.container.navigation-highlight-colour-brand-5 .navigation ul{border-color:#F07D00}.container.selected-text-colour-brand-5 .navigation li.selected{color:#F07D00;border-color:#F07D00}.container.selected-navigation-highlight-colour-brand-5 .navigation li.selected{border-color:#F07D00}.container.button-background-colour-brand-5 .navigation .button{background-color:#F07D00}.container.button-icon-colour-brand-5 .navigation .button svg path{stroke:#F07D00}.container.entry-background-colour-brand-5 .entry{background-color:#F07D00}.container.entry-highlight-colour-brand-5 .entry{border-color:#F07D00}.container.entry-date-colour-brand-5 .entry .date{color:#F07D00}.container.entry-title-colour-brand-5 .entry .title{color:#F07D00}.container.entry-text-colour-brand-5 .entry .content{color:#F07D00}.container.text-colour-brand-6 .navigation li{color:#62CFC9}.container.navigation-highlight-colour-brand-6 .navigation ul{border-color:#62CFC9}.container.selected-text-colour-brand-6 .navigation li.selected{color:#62CFC9;border-color:#62CFC9}.container.selected-navigation-highlight-colour-brand-6 .navigation li.selected{border-color:#62CFC9}.container.button-background-colour-brand-6 .navigation .button{background-color:#62CFC9}.container.button-icon-colour-brand-6 .navigation .button svg path{stroke:#62CFC9}.container.entry-background-colour-brand-6 .entry{background-color:#62CFC9}.container.entry-highlight-colour-brand-6 .entry{border-color:#62CFC9}.container.entry-date-colour-brand-6 .entry .date{color:#62CFC9}.container.entry-title-colour-brand-6 .entry .title{color:#62CFC9}.container.entry-text-colour-brand-6 .entry .content{color:#62CFC9}.container.text-colour-white .navigation li{color:#FFFFFF}.container.navigation-highlight-colour-white .navigation ul{border-color:#FFFFFF}.container.selected-text-colour-white .navigation li.selected{color:#FFFFFF;border-color:#FFFFFF}.container.selected-navigation-highlight-colour-white .navigation li.selected{border-color:#FFFFFF}.container.button-background-colour-white .navigation .button{background-color:#FFFFFF}.container.button-icon-colour-white .navigation .button svg path{stroke:#FFFFFF}.container.entry-background-colour-white .entry{background-color:#FFFFFF}.container.entry-highlight-colour-white .entry{border-color:#FFFFFF}.container.entry-date-colour-white .entry .date{color:#FFFFFF}.container.entry-title-colour-white .entry .title{color:#FFFFFF}.container.entry-text-colour-white .entry .content{color:#FFFFFF}.container.text-colour-black .navigation li{color:#000000}.container.navigation-highlight-colour-black .navigation ul{border-color:#000000}.container.selected-text-colour-black .navigation li.selected{color:#000000;border-color:#000000}.container.selected-navigation-highlight-colour-black .navigation li.selected{border-color:#000000}.container.button-background-colour-black .navigation .button{background-color:#000000}.container.button-icon-colour-black .navigation .button svg path{stroke:#000000}.container.entry-background-colour-black .entry{background-color:#000000}.container.entry-highlight-colour-black .entry{border-color:#000000}.container.entry-date-colour-black .entry .date{color:#000000}.container.entry-title-colour-black .entry .title{color:#000000}.container.entry-text-colour-black .entry .content{color:#000000}.container.text-colour-grey-extra-light .navigation li{color:#D7D7D7}.container.navigation-highlight-colour-grey-extra-light .navigation ul{border-color:#D7D7D7}.container.selected-text-colour-grey-extra-light .navigation li.selected{color:#D7D7D7;border-color:#D7D7D7}.container.selected-navigation-highlight-colour-grey-extra-light .navigation li.selected{border-color:#D7D7D7}.container.button-background-colour-grey-extra-light .navigation .button{background-color:#D7D7D7}.container.button-icon-colour-grey-extra-light .navigation .button svg path{stroke:#D7D7D7}.container.entry-background-colour-grey-extra-light .entry{background-color:#D7D7D7}.container.entry-highlight-colour-grey-extra-light .entry{border-color:#D7D7D7}.container.entry-date-colour-grey-extra-light .entry .date{color:#D7D7D7}.container.entry-title-colour-grey-extra-light .entry .title{color:#D7D7D7}.container.entry-text-colour-grey-extra-light .entry .content{color:#D7D7D7}.container.text-colour-grey-light .navigation li{color:#E8E8E8}.container.navigation-highlight-colour-grey-light .navigation ul{border-color:#E8E8E8}.container.selected-text-colour-grey-light .navigation li.selected{color:#E8E8E8;border-color:#E8E8E8}.container.selected-navigation-highlight-colour-grey-light .navigation li.selected{border-color:#E8E8E8}.container.button-background-colour-grey-light .navigation .button{background-color:#E8E8E8}.container.button-icon-colour-grey-light .navigation .button svg path{stroke:#E8E8E8}.container.entry-background-colour-grey-light .entry{background-color:#E8E8E8}.container.entry-highlight-colour-grey-light .entry{border-color:#E8E8E8}.container.entry-date-colour-grey-light .entry .date{color:#E8E8E8}.container.entry-title-colour-grey-light .entry .title{color:#E8E8E8}.container.entry-text-colour-grey-light .entry .content{color:#E8E8E8}.container.text-colour-grey-medium .navigation li{color:#8A8A8A}.container.navigation-highlight-colour-grey-medium .navigation ul{border-color:#8A8A8A}.container.selected-text-colour-grey-medium .navigation li.selected{color:#8A8A8A;border-color:#8A8A8A}.container.selected-navigation-highlight-colour-grey-medium .navigation li.selected{border-color:#8A8A8A}.container.button-background-colour-grey-medium .navigation .button{background-color:#8A8A8A}.container.button-icon-colour-grey-medium .navigation .button svg path{stroke:#8A8A8A}.container.entry-background-colour-grey-medium .entry{background-color:#8A8A8A}.container.entry-highlight-colour-grey-medium .entry{border-color:#8A8A8A}.container.entry-date-colour-grey-medium .entry .date{color:#8A8A8A}.container.entry-title-colour-grey-medium .entry .title{color:#8A8A8A}.container.entry-text-colour-grey-medium .entry .content{color:#8A8A8A}.container.text-colour-grey-dark .navigation li{color:#4A4A4A}.container.navigation-highlight-colour-grey-dark .navigation ul{border-color:#4A4A4A}.container.selected-text-colour-grey-dark .navigation li.selected{color:#4A4A4A;border-color:#4A4A4A}.container.selected-navigation-highlight-colour-grey-dark .navigation li.selected{border-color:#4A4A4A}.container.button-background-colour-grey-dark .navigation .button{background-color:#4A4A4A}.container.button-icon-colour-grey-dark .navigation .button svg path{stroke:#4A4A4A}.container.entry-background-colour-grey-dark .entry{background-color:#4A4A4A}.container.entry-highlight-colour-grey-dark .entry{border-color:#4A4A4A}.container.entry-date-colour-grey-dark .entry .date{color:#4A4A4A}.container.entry-title-colour-grey-dark .entry .title{color:#4A4A4A}.container.entry-text-colour-grey-dark .entry .content{color:#4A4A4A}";
|
|
965
|
+
|
|
966
|
+
const BiggiveTimeline = class {
|
|
967
|
+
constructor(hostRef) {
|
|
968
|
+
index.registerInstance(this, hostRef);
|
|
969
|
+
this.currentTab = 0;
|
|
970
|
+
this.tabHeadings = [];
|
|
971
|
+
this.children = [];
|
|
972
|
+
this.spaceBelow = 0;
|
|
973
|
+
this.textColour = 'black';
|
|
974
|
+
this.selectedTextColour = 'primary';
|
|
975
|
+
this.navigationHighlightColour = 'grey-medium';
|
|
976
|
+
this.selectedNavigationHighlightColour = 'primary';
|
|
977
|
+
this.buttonBackgroundColour = 'white';
|
|
978
|
+
this.buttonIconColour = 'primary';
|
|
979
|
+
this.entryBackgroundColour = 'white';
|
|
980
|
+
this.entryHighlightColour = 'secondary';
|
|
981
|
+
this.entryDateColour = 'black';
|
|
982
|
+
this.entryTitleColour = 'primary';
|
|
983
|
+
this.entryTextColour = 'black';
|
|
984
|
+
}
|
|
985
|
+
componentWillLoad() {
|
|
986
|
+
this.children = Array.from(this.host.children);
|
|
987
|
+
let tabHeadings = this.tabHeadings;
|
|
988
|
+
this.children.forEach(function (entry) {
|
|
989
|
+
let tab = entry.date.substring(0, 4);
|
|
990
|
+
if (!tabHeadings.includes(tab)) {
|
|
991
|
+
tabHeadings.push(tab);
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
componentDidRender() {
|
|
996
|
+
this.showTab(0);
|
|
997
|
+
}
|
|
998
|
+
/*
|
|
999
|
+
* Shows the i'th element in the timeline, counting from zero. Does nothing if i out of range.
|
|
1000
|
+
*/
|
|
1001
|
+
showTab(i) {
|
|
1002
|
+
var _a, _b, _c;
|
|
1003
|
+
const tabs = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.navigation ul li');
|
|
1004
|
+
const entries = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelectorAll('.entry');
|
|
1005
|
+
if (i >= 0 && i <= (tabs === null || tabs === void 0 ? void 0 : tabs.length) - 1) {
|
|
1006
|
+
this.currentTab = i;
|
|
1007
|
+
let currentTabTitle = (_c = tabs[i]) === null || _c === void 0 ? void 0 : _c.innerHTML;
|
|
1008
|
+
let j = 0;
|
|
1009
|
+
tabs === null || tabs === void 0 ? void 0 : tabs.forEach(function (tab) {
|
|
1010
|
+
if (i == j) {
|
|
1011
|
+
tab.classList.add('selected');
|
|
1012
|
+
}
|
|
1013
|
+
else {
|
|
1014
|
+
tab.classList.remove('selected');
|
|
1015
|
+
}
|
|
1016
|
+
j++;
|
|
1017
|
+
});
|
|
1018
|
+
entries.forEach(function (entry) {
|
|
1019
|
+
var _a;
|
|
1020
|
+
entry.style.display = ((_a = entry.getAttribute('data-date')) === null || _a === void 0 ? void 0 : _a.substring(0, 4)) == currentTabTitle ? 'block' : 'none';
|
|
1021
|
+
});
|
|
1022
|
+
}
|
|
1023
|
+
}
|
|
1024
|
+
clickTabHandler(e) {
|
|
1025
|
+
let i = 0;
|
|
1026
|
+
for (let el of e.target.parentElement.children) {
|
|
1027
|
+
if (el == e.target) {
|
|
1028
|
+
this.showTab(i);
|
|
1029
|
+
return;
|
|
1030
|
+
}
|
|
1031
|
+
i++;
|
|
1032
|
+
}
|
|
1033
|
+
}
|
|
1034
|
+
clickPrevHandler() {
|
|
1035
|
+
this.showTab(this.currentTab - 1);
|
|
1036
|
+
}
|
|
1037
|
+
clickNextHandler() {
|
|
1038
|
+
this.showTab(this.currentTab + 1);
|
|
1039
|
+
}
|
|
1040
|
+
render() {
|
|
1041
|
+
return (index.h("div", { class: 'container space-below-' +
|
|
1042
|
+
this.spaceBelow +
|
|
1043
|
+
' text-colour-' +
|
|
1044
|
+
this.textColour +
|
|
1045
|
+
' selected-text-colour-' +
|
|
1046
|
+
this.selectedTextColour +
|
|
1047
|
+
' navigation-highlight-colour-' +
|
|
1048
|
+
this.navigationHighlightColour +
|
|
1049
|
+
' selected-navigation-highlight-colour-' +
|
|
1050
|
+
this.selectedNavigationHighlightColour +
|
|
1051
|
+
' button-background-colour-' +
|
|
1052
|
+
this.buttonBackgroundColour +
|
|
1053
|
+
' button-icon-colour-' +
|
|
1054
|
+
this.buttonIconColour +
|
|
1055
|
+
' entry-background-colour-' +
|
|
1056
|
+
this.entryBackgroundColour +
|
|
1057
|
+
' entry-highlight-colour-' +
|
|
1058
|
+
this.entryHighlightColour +
|
|
1059
|
+
' entry-date-colour-' +
|
|
1060
|
+
this.entryDateColour +
|
|
1061
|
+
' entry-title-colour-' +
|
|
1062
|
+
this.entryTitleColour +
|
|
1063
|
+
' entry-text-colour-' +
|
|
1064
|
+
this.entryTextColour }, index.h("div", { class: "navigation" }, index.h("div", { class: "button prev", onClick: () => this.clickPrevHandler(), title: "Previous" }, index.h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), index.h("ul", null, this.tabHeadings.map(tab => (index.h("li", { onClick: event => this.clickTabHandler(event) }, tab)))), index.h("div", { class: "button next", onClick: () => this.clickNextHandler(), title: "Next" }, index.h("svg", { width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), index.h("div", { class: "entry-wrap" }, this.children.map(entry => (index.h("div", { class: "entry", "data-date": entry.date }, index.h("div", { class: "date" }, entry.date), index.h("h4", { class: "title" }, entry.heading), index.h("div", { class: "content", innerHTML: entry.innerHTML })))))));
|
|
1065
|
+
}
|
|
1066
|
+
get host() { return index.getElement(this); }
|
|
1067
|
+
};
|
|
1068
|
+
BiggiveTimeline.style = biggiveTimelineCss;
|
|
1069
|
+
|
|
1070
|
+
const biggiveTimelineEntryCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block}";
|
|
1071
|
+
|
|
1072
|
+
const BiggiveTimelineEntry = class {
|
|
1073
|
+
constructor(hostRef) {
|
|
1074
|
+
index.registerInstance(this, hostRef);
|
|
1075
|
+
this.date = undefined;
|
|
1076
|
+
this.heading = undefined;
|
|
1077
|
+
}
|
|
1078
|
+
render() {
|
|
1079
|
+
return null;
|
|
1080
|
+
}
|
|
1081
|
+
};
|
|
1082
|
+
BiggiveTimelineEntry.style = biggiveTimelineEntryCss;
|
|
1083
|
+
|
|
1084
|
+
const biggiveTippingSliderCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-1{fill:#B30510}.fill-brand-2{fill:#6E0887}.fill-brand-3{fill:#50B400}.fill-brand-4{fill:#FFE500}.fill-brand-5{fill:#F07D00}.fill-brand-6{fill:#CBC8C8}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-red{fill:red}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}.container{overflow:hidden;padding:50px 30px 0 30px}.container .bar{position:relative;margin:25px 0 15px 0;background-color:#8A8A8A;border-radius:5px;height:10px}.container .bar .handle{border-radius:50%;position:absolute;width:40px;height:40px;background-color:#2C089B;transform:translate(0, -15px);cursor:pointer}.container .bar .handle .tooltip{display:block;position:absolute;left:50%;transform:translate(-50%, -110%);white-space:nowrap;box-shadow:0px 0px 10px 0px rgba(0, 0, 0, 0.25);padding:2px 10px}.container .bar .handle .tooltip .donation{font-weight:bold}.container .bar .handle .tooltip .percentage{font-size:75%}.container .labels{display:flex;justify-content:space-around;margin:20px 15px 15px 15px;font-weight:600}.container .labels .label-start{text-align:left;margin-right:auto}.container .labels .label-end{text-align:right;margin-left:auto}.container .reset{margin-bottom:15px;display:flex}.container .reset .button{margin-left:auto;cursor:pointer;text-decoration:underline}";
|
|
1085
|
+
|
|
1086
|
+
const BiggiveTippingSlider = class {
|
|
1087
|
+
constructor(hostRef) {
|
|
1088
|
+
index.registerInstance(this, hostRef);
|
|
1089
|
+
this.resetSlider = () => {
|
|
1090
|
+
var _a;
|
|
1091
|
+
const handle = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.handle');
|
|
1092
|
+
const percentageWrap = handle === null || handle === void 0 ? void 0 : handle.querySelector('.percentage-value');
|
|
1093
|
+
const donationWrap = handle === null || handle === void 0 ? void 0 : handle.querySelector('.donation-value');
|
|
1094
|
+
handle.style.marginLeft = '0px';
|
|
1095
|
+
percentageWrap.innerHTML = '0';
|
|
1096
|
+
donationWrap.innerHTML = '0';
|
|
1097
|
+
};
|
|
1098
|
+
this.spaceBelow = 0;
|
|
1099
|
+
this.colourScheme = 'primary';
|
|
1100
|
+
this.percentageStart = undefined;
|
|
1101
|
+
this.percentageEnd = undefined;
|
|
1102
|
+
this.donationAmount = undefined;
|
|
1103
|
+
this.donationCurrency = undefined;
|
|
1104
|
+
}
|
|
1105
|
+
format(currencyCode, amount) {
|
|
1106
|
+
return Intl.NumberFormat('en-GB', {
|
|
1107
|
+
style: 'currency',
|
|
1108
|
+
currency: currencyCode,
|
|
1109
|
+
}).format(amount);
|
|
1110
|
+
}
|
|
1111
|
+
componentDidRender() {
|
|
1112
|
+
var _a, _b;
|
|
1113
|
+
var isMoving = false;
|
|
1114
|
+
const handle = (_a = this.host.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('.handle');
|
|
1115
|
+
const bar = (_b = this.host.shadowRoot) === null || _b === void 0 ? void 0 : _b.querySelector('.bar');
|
|
1116
|
+
const percentageWrap = handle === null || handle === void 0 ? void 0 : handle.querySelector('.percentage-value');
|
|
1117
|
+
const donationWrap = handle === null || handle === void 0 ? void 0 : handle.querySelector('.donation-value');
|
|
1118
|
+
var move = (e) => {
|
|
1119
|
+
var _a;
|
|
1120
|
+
if (isMoving) {
|
|
1121
|
+
const max = bar.offsetWidth - handle.offsetWidth;
|
|
1122
|
+
let pageX;
|
|
1123
|
+
if (window.TouchEvent && e instanceof TouchEvent) {
|
|
1124
|
+
pageX = (_a = e.touches[0]) === null || _a === void 0 ? void 0 : _a.pageX;
|
|
1125
|
+
}
|
|
1126
|
+
else {
|
|
1127
|
+
// we Know e is a MouseEvent because all platforms that supports TouchEvent would also have
|
|
1128
|
+
// a truthy window.TouchEvent - see https://stackoverflow.com/a/32882849/2803757
|
|
1129
|
+
pageX = e.pageX;
|
|
1130
|
+
}
|
|
1131
|
+
if (typeof pageX != 'undefined') {
|
|
1132
|
+
const mousePos = pageX - bar.offsetLeft - handle.offsetWidth / 2;
|
|
1133
|
+
const position = mousePos > max ? max : mousePos < 0 ? 0 : mousePos;
|
|
1134
|
+
const percentage = (position / max) * this.percentageEnd;
|
|
1135
|
+
const donation = Math.round(this.donationAmount * (percentage / 100));
|
|
1136
|
+
percentageWrap.innerHTML = Math.round(percentage).toString();
|
|
1137
|
+
donationWrap.innerHTML = this.format(this.donationCurrency, donation);
|
|
1138
|
+
handle.style.marginLeft = position + 'px';
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
};
|
|
1142
|
+
bar.addEventListener('mousedown', function (e) {
|
|
1143
|
+
isMoving = true;
|
|
1144
|
+
move(e);
|
|
1145
|
+
});
|
|
1146
|
+
document.addEventListener('mouseup', function () {
|
|
1147
|
+
isMoving = false;
|
|
1148
|
+
});
|
|
1149
|
+
document.addEventListener('mousemove', function (e) {
|
|
1150
|
+
move(e);
|
|
1151
|
+
});
|
|
1152
|
+
bar.addEventListener('touchstart', function (e) {
|
|
1153
|
+
isMoving = true;
|
|
1154
|
+
move(e);
|
|
1155
|
+
});
|
|
1156
|
+
bar.addEventListener('touchend', function () {
|
|
1157
|
+
isMoving = false;
|
|
1158
|
+
});
|
|
1159
|
+
document.addEventListener('touchmove', function (e) {
|
|
1160
|
+
move(e);
|
|
1161
|
+
});
|
|
1162
|
+
}
|
|
1163
|
+
render() {
|
|
1164
|
+
const currencyFormatted = this.format(this.donationCurrency, 0);
|
|
1165
|
+
return (index.h("div", { class: 'container space-below-' + this.spaceBelow }, index.h("div", { class: "bar" }, index.h("div", { class: "handle", id: "handle" }, index.h("div", { class: "tooltip" }, index.h("span", { class: "donation" }, index.h("span", { class: "donation-value" }, currencyFormatted)), "\u00A0", index.h("span", { class: "percentage" }, "(", index.h("span", { class: "percentage-value" }, "0"), "%)")))), index.h("div", { class: "labels" }, index.h("div", { class: "label-start" }, this.percentageStart, "%"), index.h("div", { class: "label-end" }, this.percentageEnd, "%")), index.h("div", { class: "reset" }, index.h("span", { class: "button", onClick: this.resetSlider }, "Back to default"))));
|
|
1166
|
+
}
|
|
1167
|
+
get host() { return index.getElement(this); }
|
|
1168
|
+
};
|
|
1169
|
+
BiggiveTippingSlider.style = biggiveTippingSliderCss;
|
|
1170
|
+
|
|
1171
|
+
const biggiveTotalizerCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-1:hover,.background-colour-brand-1{background-color:#B30510}.background-colour-hover-brand-2:hover,.background-colour-brand-2{background-color:#6E0887}.background-colour-hover-brand-3:hover,.background-colour-brand-3{background-color:#50B400}.background-colour-hover-brand-4:hover,.background-colour-brand-4{background-color:#FFE500}.background-colour-hover-brand-5:hover,.background-colour-brand-5{background-color:#F07D00}.background-colour-hover-brand-6:hover,.background-colour-brand-6{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents;font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px}@keyframes ticker{0%{transform:translate3d(0, 0, 0)}100%{transform:translate3d(-100%, 0, 0)}}.container{position:absolute;left:0;right:0;z-index:1}.container .main-message-wrap{position:absolute;z-index:1;padding:10px 30px;left:0;top:0;font-size:24px;line-height:30px;font-weight:600;max-width:33.3%}.container .ticker-wrap{padding:10px 0 10px 0;min-height:17px;font-size:17px;line-height:24px;overflow:hidden;position:relative}.container .ticker-wrap .sleeve{will-change:transform;width:100%;position:absolute;left:100%;display:flex;animation-iteration-count:infinite;animation-timing-function:linear;animation-name:ticker;animation-duration:20s}.container .ticker-wrap .sleeve .ticker-item{white-space:nowrap;padding:0 15px}@media screen and (max-width: 768px){.container .main-message-wrap{font-size:17px;line-height:24px;padding:10px}}";
|
|
758
1172
|
|
|
759
1173
|
const BiggiveTotalizer = class {
|
|
760
1174
|
constructor(hostRef) {
|
|
@@ -801,7 +1215,7 @@ const BiggiveTotalizerTickerItem = class {
|
|
|
801
1215
|
};
|
|
802
1216
|
BiggiveTotalizerTickerItem.style = biggiveTotalizerTickerItemCss;
|
|
803
1217
|
|
|
804
|
-
const biggiveVideoFeatureCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}:host{display:contents}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .sleeve{display:flex;justify-content:space-between}.container .sleeve .content-wrap{width:calc(40% - 15px);position:relative;z-index:1}.container .sleeve .content-wrap .slug{font-size:20px;line-height:24px;font-weight:bold;margin:0;padding:0}.container .sleeve .content-wrap h2{font-size:38px;line-height:45px;font-weight:bold;margin:0 0 15px 0;padding:0}.container .sleeve .content-wrap .teaser{margin:0 0 45px 0;padding:0}.container .sleeve .graphic-wrap{width:calc(60% - 15px)}@media screen and (max-width: 576px){.container .sleeve{flex-wrap:wrap}.container .sleeve .content-wrap{width:100%}.container .sleeve .graphic-wrap{padding-top:20px;width:100%;margin-bottom:15px}}";
|
|
1218
|
+
const biggiveVideoFeatureCss = "a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-1:hover,.text-colour-brand-1{color:#B30510}.text-colour-hover-brand-2:hover,.text-colour-brand-2{color:#6E0887}.text-colour-hover-brand-3:hover,.text-colour-brand-3{color:#50B400}.text-colour-hover-brand-4:hover,.text-colour-brand-4{color:#FFE500}.text-colour-hover-brand-5:hover,.text-colour-brand-5{color:#F07D00}.text-colour-hover-brand-6:hover,.text-colour-brand-6{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}:host{display:contents}.video-wrap{position:relative;padding-bottom:56.25%}.video-wrap iframe,.video-wrap video{position:absolute;border:0;display:block;left:0;right:0;top:0;bottom:0;width:100%;height:100%}.container{font-family:\"Euclid Triangle\", sans-serif;font-size:17px;line-height:24px;position:relative}.container .sleeve{display:flex;justify-content:space-between}.container .sleeve .content-wrap{width:calc(40% - 15px);position:relative;z-index:1}.container .sleeve .content-wrap .slug{font-size:20px;line-height:24px;font-weight:bold;margin:0;padding:0}.container .sleeve .content-wrap h2{font-size:38px;line-height:45px;font-weight:bold;margin:0 0 15px 0;padding:0}.container .sleeve .content-wrap .teaser{margin:0 0 45px 0;padding:0}.container .sleeve .graphic-wrap{width:calc(60% - 15px)}@media screen and (max-width: 576px){.container .sleeve{flex-wrap:wrap}.container .sleeve .content-wrap{width:100%}.container .sleeve .graphic-wrap{padding-top:20px;width:100%;margin-bottom:15px}}";
|
|
805
1219
|
|
|
806
1220
|
const BiggiveVideoFeature = class {
|
|
807
1221
|
constructor(hostRef) {
|
|
@@ -826,6 +1240,8 @@ const BiggiveVideoFeature = class {
|
|
|
826
1240
|
};
|
|
827
1241
|
BiggiveVideoFeature.style = biggiveVideoFeatureCss;
|
|
828
1242
|
|
|
1243
|
+
exports.biggive_accordion = BiggiveAccordion;
|
|
1244
|
+
exports.biggive_accordion_entry = BiggiveAccordionEntry;
|
|
829
1245
|
exports.biggive_back_to_top = BiggiveBackToTop;
|
|
830
1246
|
exports.biggive_branded_image = BiggiveBrandedImage;
|
|
831
1247
|
exports.biggive_button = BiggiveButton;
|
|
@@ -833,6 +1249,7 @@ exports.biggive_call_to_action = BiggiveCallToAction;
|
|
|
833
1249
|
exports.biggive_campaign_card = BiggiveCampaignCard;
|
|
834
1250
|
exports.biggive_campaign_card_filter_grid = BiggiveCampaignCardFilterGrid;
|
|
835
1251
|
exports.biggive_campaign_highlights = BiggiveCampaignHighlights;
|
|
1252
|
+
exports.biggive_carousel = BiggiveCarousel;
|
|
836
1253
|
exports.biggive_footer = BiggiveFooter;
|
|
837
1254
|
exports.biggive_form_field_select = BiggiveFormFieldSelect;
|
|
838
1255
|
exports.biggive_form_field_select_option = BiggiveFormFieldSelectOption;
|
|
@@ -850,6 +1267,11 @@ exports.biggive_popup = BiggivePopup;
|
|
|
850
1267
|
exports.biggive_progress_bar = BiggiveProgressBar;
|
|
851
1268
|
exports.biggive_quote = BiggiveQuote;
|
|
852
1269
|
exports.biggive_social_icon = BiggiveSocialIcon;
|
|
1270
|
+
exports.biggive_tab = BiggiveTab;
|
|
1271
|
+
exports.biggive_tabbed_content = BiggiveTabbedContent;
|
|
1272
|
+
exports.biggive_timeline = BiggiveTimeline;
|
|
1273
|
+
exports.biggive_timeline_entry = BiggiveTimelineEntry;
|
|
1274
|
+
exports.biggive_tipping_slider = BiggiveTippingSlider;
|
|
853
1275
|
exports.biggive_totalizer = BiggiveTotalizer;
|
|
854
1276
|
exports.biggive_totalizer_ticker_item = BiggiveTotalizerTickerItem;
|
|
855
1277
|
exports.biggive_video_feature = BiggiveVideoFeature;
|