@biggive/components 202606181032.0.0 → 202606300841.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-9d63fe98.entry.js → p-034bc308.entry.js} +1 -1
- package/dist/biggive/{p-a0070f43.entry.js → p-074c95a5.entry.js} +1 -1
- package/dist/biggive/{p-c9436468.entry.js → p-07bd58dd.entry.js} +1 -1
- package/dist/biggive/{p-9e64817e.entry.js → p-08c0d7a0.entry.js} +1 -1
- package/dist/biggive/{p-b7d3a6ab.entry.js → p-13840401.entry.js} +1 -1
- package/dist/biggive/{p-ebf67952.entry.js → p-167ac0d3.entry.js} +1 -1
- package/dist/biggive/{p-a7622ab7.entry.js → p-22f2e1e4.entry.js} +1 -1
- package/dist/biggive/p-2f0e2375.entry.js +1 -0
- package/dist/biggive/{p-7ab14477.entry.js → p-342e0587.entry.js} +1 -1
- package/dist/biggive/{p-b0874950.entry.js → p-35742632.entry.js} +1 -1
- package/dist/biggive/{p-4a6d979f.entry.js → p-486b0443.entry.js} +1 -1
- package/dist/biggive/{p-3d80c5b4.entry.js → p-4c8d3d7b.entry.js} +1 -1
- package/dist/biggive/{p-1c39307b.entry.js → p-53d2459c.entry.js} +1 -1
- package/dist/biggive/{p-461ca12d.entry.js → p-53efa890.entry.js} +1 -1
- package/dist/biggive/{p-be1828d2.entry.js → p-60824941.entry.js} +1 -1
- package/dist/biggive/{p-921ecc1a.entry.js → p-63bbe726.entry.js} +1 -1
- package/dist/biggive/{p-b8afbd5b.entry.js → p-6db0805c.entry.js} +1 -1
- package/dist/biggive/{p-b8d67e54.entry.js → p-6ef8f1c8.entry.js} +1 -1
- package/dist/biggive/{p-d2b89a35.entry.js → p-6f0ab7de.entry.js} +1 -1
- package/dist/biggive/{p-a5873e6c.entry.js → p-76d8edf3.entry.js} +1 -1
- package/dist/biggive/{p-aaf986b7.entry.js → p-79233862.entry.js} +1 -1
- package/dist/biggive/{p-9b695dc8.entry.js → p-7b142f0c.entry.js} +1 -1
- package/dist/biggive/{p-ab3d62f9.entry.js → p-7e9f3522.entry.js} +1 -1
- package/dist/biggive/p-8c4c51d6.entry.js +1 -0
- package/dist/biggive/p-925b1eab.entry.js +1 -0
- package/dist/biggive/{p-9f907107.entry.js → p-a987b466.entry.js} +1 -1
- package/dist/biggive/{p-120a8b58.entry.js → p-ac53a19e.entry.js} +1 -1
- package/dist/biggive/{p-f576564a.entry.js → p-acc61e55.entry.js} +1 -1
- package/dist/biggive/{p-4e91b90c.entry.js → p-b00c2ca8.entry.js} +1 -1
- package/dist/biggive/p-b09d4083.entry.js +1 -0
- package/dist/biggive/p-b0d1c784.entry.js +1 -0
- package/dist/biggive/{p-8ec27398.entry.js → p-b5de3f93.entry.js} +1 -1
- package/dist/biggive/{p-8109ba6c.entry.js → p-c11a2f3b.entry.js} +1 -1
- package/dist/biggive/{p-1aec0011.entry.js → p-c50881e4.entry.js} +1 -1
- package/dist/biggive/{p-d4c0daba.entry.js → p-d277fe34.entry.js} +1 -1
- package/dist/biggive/{p-39f5df3a.entry.js → p-d2c312e0.entry.js} +1 -1
- package/dist/biggive/{p-7d3d0149.entry.js → p-d3112cb1.entry.js} +1 -1
- package/dist/biggive/p-d4462885.entry.js +1 -0
- package/dist/biggive/{p-a8e5b837.entry.js → p-dddee0ad.entry.js} +1 -1
- package/dist/biggive/{p-ed688cf9.entry.js → p-e8517ccd.entry.js} +1 -1
- package/dist/biggive/{p-a4021922.entry.js → p-ebdf0f2a.entry.js} +1 -1
- package/dist/biggive/{p-9c0c28cf.entry.js → p-ed7b04d2.entry.js} +1 -1
- package/dist/biggive/{p-05e0f91c.entry.js → p-ed92d2b0.entry.js} +1 -1
- package/dist/biggive/{p-e497653a.entry.js → p-f04eaebb.entry.js} +1 -1
- package/dist/biggive/{p-f7a05c60.entry.js → p-f2d44bb0.entry.js} +1 -1
- package/dist/biggive/{p-4d4724bb.entry.js → p-f2f9ce31.entry.js} +1 -1
- package/dist/biggive/{p-fc277669.entry.js → p-fb0a9e11.entry.js} +1 -1
- package/dist/biggive/{p-25d081a8.entry.js → p-fd2f1a72.entry.js} +1 -1
- package/dist/biggive/pages/biggive.html +2 -0
- package/dist/cjs/biggive-accordion.cjs.entry.js +1 -1
- package/dist/cjs/biggive-article-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-back-to-top.cjs.entry.js +1 -1
- package/dist/cjs/biggive-basic-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-boxed-content.cjs.entry.js +2 -2
- package/dist/cjs/biggive-branded-image.cjs.entry.js +1 -1
- package/dist/cjs/biggive-button.cjs.entry.js +1 -1
- package/dist/cjs/biggive-call-to-action.cjs.entry.js +1 -1
- package/dist/cjs/biggive-campaign-card-filter-grid.cjs.entry.js +21 -4
- package/dist/cjs/biggive-campaign-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-campaign-highlights.cjs.entry.js +1 -1
- package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form-field-select.cjs.entry.js +2 -2
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
- package/dist/cjs/biggive-grid.cjs.entry.js +1 -1
- package/dist/cjs/biggive-heading-banner.cjs.entry.js +2 -2
- package/dist/cjs/biggive-heading.cjs.entry.js +1 -1
- package/dist/cjs/biggive-hero-image.cjs.entry.js +2 -2
- package/dist/cjs/biggive-icon-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-button.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
- package/dist/cjs/biggive-image-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image.cjs.entry.js +1 -1
- package/dist/cjs/biggive-main-menu.cjs.entry.js +1 -1
- package/dist/cjs/biggive-misc-icon.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-page-column.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-columns.cjs.entry.js +1 -1
- package/dist/cjs/biggive-page-section.cjs.entry.js +2 -2
- package/dist/cjs/biggive-popup.cjs.entry.js +1 -1
- package/dist/cjs/biggive-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/biggive-quote.cjs.entry.js +3 -3
- package/dist/cjs/biggive-sheet.cjs.entry.js +1 -1
- package/dist/cjs/biggive-social-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
- package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -2
- 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-timeline.cjs.entry.js +2 -2
- package/dist/cjs/biggive-totalizer-ticker-item.cjs.entry.js +1 -1
- package/dist/cjs/biggive-totalizer.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video-feature.cjs.entry.js +1 -1
- package/dist/cjs/biggive-video.cjs.entry.js +1 -1
- package/dist/cjs/biggive.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/philco-footer.cjs.entry.js +1 -1
- package/dist/cjs/philco-main-menu.cjs.entry.js +1 -1
- package/dist/collection/components/biggive-accordion/biggive-accordion.js +1 -1
- package/dist/collection/components/biggive-article-card/biggive-article-card.js +2 -2
- package/dist/collection/components/biggive-back-to-top/biggive-back-to-top.js +1 -1
- package/dist/collection/components/biggive-basic-card/biggive-basic-card.js +2 -2
- package/dist/collection/components/biggive-boxed-content/biggive-boxed-content.js +2 -2
- package/dist/collection/components/biggive-branded-image/biggive-branded-image.js +1 -1
- package/dist/collection/components/biggive-button/biggive-button.js +1 -1
- package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +1 -1
- package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +2 -2
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +117 -4
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +1 -1
- package/dist/collection/components/biggive-container-card/biggive-container-card.js +1 -1
- package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +1 -1
- package/dist/collection/components/biggive-form/biggive-form.js +1 -1
- package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +2 -2
- package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
- package/dist/collection/components/biggive-grid/biggive-grid.js +1 -1
- package/dist/collection/components/biggive-heading/biggive-heading.js +1 -1
- package/dist/collection/components/biggive-heading-banner/biggive-heading-banner.js +2 -2
- package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +2 -2
- package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +2 -2
- package/dist/collection/components/biggive-image/biggive-image.js +1 -1
- package/dist/collection/components/biggive-image-button/biggive-image-button.js +2 -2
- package/dist/collection/components/biggive-image-card/biggive-image-card.js +2 -2
- package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +1 -1
- package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +1 -1
- package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +1 -1
- package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +1 -1
- package/dist/collection/components/biggive-page-column/biggive-page-column.js +1 -1
- package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +1 -1
- package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -2
- package/dist/collection/components/biggive-popup/biggive-popup.js +1 -1
- package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +1 -1
- package/dist/collection/components/biggive-quote/biggive-quote.js +3 -3
- package/dist/collection/components/biggive-sheet/biggive-sheet.js +1 -1
- package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +1 -1
- package/dist/collection/components/biggive-tab/biggive-tab.js +1 -1
- package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +2 -2
- package/dist/collection/components/biggive-table/biggive-table.js +2 -2
- package/dist/collection/components/biggive-text-input/biggive-text-input.js +1 -1
- package/dist/collection/components/biggive-timeline/biggive-timeline.js +2 -2
- package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +1 -1
- package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +1 -1
- package/dist/collection/components/biggive-video/biggive-video.js +1 -1
- package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +1 -1
- package/dist/collection/components/philco-footer/philco-footer.js +1 -1
- package/dist/collection/components/philco-main-menu/philco-main-menu.js +1 -1
- package/dist/collection/pages/biggive.html +2 -0
- package/dist/components/biggive-accordion.js +1 -1
- package/dist/components/biggive-article-card.js +1 -1
- package/dist/components/biggive-back-to-top.js +1 -1
- package/dist/components/biggive-basic-card.js +1 -1
- package/dist/components/biggive-boxed-content.js +1 -1
- package/dist/components/biggive-branded-image.js +1 -1
- package/dist/components/biggive-button2.js +1 -1
- package/dist/components/biggive-call-to-action.js +1 -1
- package/dist/components/biggive-campaign-card-filter-grid.js +1 -1
- package/dist/components/biggive-campaign-card.js +1 -1
- package/dist/components/biggive-campaign-highlights.js +1 -1
- package/dist/components/biggive-container-card.js +1 -1
- package/dist/components/biggive-cookie-banner.js +1 -1
- package/dist/components/biggive-form-field-select2.js +1 -1
- package/dist/components/biggive-form.js +1 -1
- package/dist/components/biggive-formatted-text.js +1 -1
- package/dist/components/biggive-grid.js +1 -1
- package/dist/components/biggive-heading-banner.js +1 -1
- package/dist/components/biggive-heading.js +1 -1
- package/dist/components/biggive-hero-image.js +1 -1
- package/dist/components/biggive-icon-button.js +1 -1
- package/dist/components/biggive-image-button.js +1 -1
- package/dist/components/biggive-image-card.js +1 -1
- package/dist/components/biggive-image-feature.js +1 -1
- package/dist/components/biggive-image.js +1 -1
- package/dist/components/biggive-main-menu.js +1 -1
- package/dist/components/biggive-misc-icon2.js +1 -1
- package/dist/components/biggive-nav-group.js +1 -1
- package/dist/components/biggive-nav-item.js +1 -1
- package/dist/components/biggive-page-column.js +1 -1
- package/dist/components/biggive-page-columns.js +1 -1
- package/dist/components/biggive-page-section.js +1 -1
- package/dist/components/biggive-popup2.js +1 -1
- package/dist/components/biggive-progress-bar2.js +1 -1
- package/dist/components/biggive-quote.js +1 -1
- package/dist/components/biggive-sheet.js +1 -1
- package/dist/components/biggive-social-icon2.js +1 -1
- package/dist/components/biggive-tab.js +1 -1
- package/dist/components/biggive-tabbed-content.js +1 -1
- package/dist/components/biggive-table.js +1 -1
- package/dist/components/biggive-text-input.js +1 -1
- package/dist/components/biggive-timeline.js +1 -1
- package/dist/components/biggive-totalizer-ticker-item.js +1 -1
- package/dist/components/biggive-totalizer.js +1 -1
- package/dist/components/biggive-video-feature.js +1 -1
- package/dist/components/biggive-video.js +1 -1
- package/dist/components/philco-footer.js +1 -1
- package/dist/components/philco-main-menu.js +1 -1
- package/dist/esm/biggive-accordion.entry.js +1 -1
- package/dist/esm/biggive-article-card.entry.js +2 -2
- package/dist/esm/biggive-back-to-top.entry.js +1 -1
- package/dist/esm/biggive-basic-card.entry.js +2 -2
- package/dist/esm/biggive-boxed-content.entry.js +2 -2
- package/dist/esm/biggive-branded-image.entry.js +1 -1
- package/dist/esm/biggive-button.entry.js +1 -1
- package/dist/esm/biggive-call-to-action.entry.js +1 -1
- package/dist/esm/biggive-campaign-card-filter-grid.entry.js +21 -4
- package/dist/esm/biggive-campaign-card.entry.js +2 -2
- package/dist/esm/biggive-campaign-highlights.entry.js +1 -1
- package/dist/esm/biggive-container-card.entry.js +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-form-field-select.entry.js +2 -2
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-formatted-text.entry.js +1 -1
- package/dist/esm/biggive-grid.entry.js +1 -1
- package/dist/esm/biggive-heading-banner.entry.js +2 -2
- package/dist/esm/biggive-heading.entry.js +1 -1
- package/dist/esm/biggive-hero-image.entry.js +2 -2
- package/dist/esm/biggive-icon-button.entry.js +2 -2
- package/dist/esm/biggive-image-button.entry.js +2 -2
- package/dist/esm/biggive-image-card.entry.js +2 -2
- package/dist/esm/biggive-image-feature.entry.js +1 -1
- package/dist/esm/biggive-image.entry.js +1 -1
- package/dist/esm/biggive-main-menu.entry.js +1 -1
- package/dist/esm/biggive-misc-icon.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-page-column.entry.js +1 -1
- package/dist/esm/biggive-page-columns.entry.js +1 -1
- package/dist/esm/biggive-page-section.entry.js +2 -2
- package/dist/esm/biggive-popup.entry.js +1 -1
- package/dist/esm/biggive-progress-bar.entry.js +1 -1
- package/dist/esm/biggive-quote.entry.js +3 -3
- package/dist/esm/biggive-sheet.entry.js +1 -1
- package/dist/esm/biggive-social-icon.entry.js +1 -1
- package/dist/esm/biggive-tab.entry.js +1 -1
- package/dist/esm/biggive-tabbed-content.entry.js +2 -2
- package/dist/esm/biggive-table.entry.js +2 -2
- package/dist/esm/biggive-text-input.entry.js +1 -1
- package/dist/esm/biggive-timeline.entry.js +2 -2
- package/dist/esm/biggive-totalizer-ticker-item.entry.js +1 -1
- package/dist/esm/biggive-totalizer.entry.js +1 -1
- package/dist/esm/biggive-video-feature.entry.js +1 -1
- package/dist/esm/biggive-video.entry.js +1 -1
- package/dist/esm/biggive.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/philco-footer.entry.js +1 -1
- package/dist/esm/philco-main-menu.entry.js +1 -1
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +22 -0
- package/dist/types/components.d.ts +46 -0
- package/hydrate/index.js +88 -67
- package/hydrate/index.mjs +88 -67
- package/package.json +1 -1
- package/dist/biggive/p-176e7c45.entry.js +0 -1
- package/dist/biggive/p-3340063a.entry.js +0 -1
- package/dist/biggive/p-5f18c157.entry.js +0 -1
- package/dist/biggive/p-705b4705.entry.js +0 -1
- package/dist/biggive/p-7b98b0af.entry.js +0 -1
- package/dist/biggive/p-d24f2c67.entry.js +0 -1
|
@@ -29,7 +29,7 @@ const BiggiveBoxedContent = class {
|
|
|
29
29
|
this.shadow = true;
|
|
30
30
|
}
|
|
31
31
|
render() {
|
|
32
|
-
return (index.h("div", { key: '
|
|
32
|
+
return (index.h("div", { key: '5d0d29687a4589fab3be340c997177b50c853fc8', class: 'container background-colour-' +
|
|
33
33
|
this.backgroundColour +
|
|
34
34
|
' space-below-' +
|
|
35
35
|
this.spaceBelow +
|
|
@@ -38,7 +38,7 @@ const BiggiveBoxedContent = class {
|
|
|
38
38
|
' vertical-padding-' +
|
|
39
39
|
this.verticalPadding +
|
|
40
40
|
' shadow-' +
|
|
41
|
-
this.shadow }, index.h("slot", { key: '
|
|
41
|
+
this.shadow }, index.h("slot", { key: '2d08451e720e02e45d0105905a7e16a5b77b2be1' })));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
BiggiveBoxedContent.style = biggiveBoxedContentCss();
|
|
@@ -25,7 +25,7 @@ const BiggiveBrandedImage = class {
|
|
|
25
25
|
* `role="presentation"` every time instead of accepting alt text.
|
|
26
26
|
*/
|
|
27
27
|
render() {
|
|
28
|
-
return (index.h("div", { key: '
|
|
28
|
+
return (index.h("div", { key: '9d6e952a67a9bf5b5325e44b24f09a2d11f85de8', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: '04983693911b70f88450dabdb0416d2372203745', class: "slug" }, this.slug), index.h("div", { key: 'db4aa6a957636251e70da87edd4399f224d9662f', class: "image-wrap" }, this.imageUrl !== undefined && this.imageUrl !== null ? (this.imageAlt == null && this.imageHeightPercent == null ? (index.h("img", { src: this.imageUrl })) : this.imageAlt == null && this.imageHeightPercent != null ? (index.h("img", { src: this.imageUrl, style: { height: this.imageHeightPercent + 'cqw' } })) : this.imageAlt != null && this.imageHeightPercent == null ? (index.h("img", { src: this.imageUrl, alt: this.imageAlt })) : (index.h("img", { src: this.imageUrl, alt: this.imageAlt, style: { height: this.imageHeightPercent + 'cqw' } }))) : null), this.logoUrl !== undefined && this.logoUrl !== null ? index.h("div", { class: "logo-wrap", style: { 'background-image': "url('" + this.logoUrl + "')" } }) : null, this.charityName !== undefined && this.charityName !== null ? index.h("h3", { class: "title" }, this.charityName) : null, this.charityLocation !== undefined && this.charityLocation !== null ? index.h("div", { class: "charity-info" }, this.charityLocation) : null));
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
BiggiveBrandedImage.style = biggiveBrandedImageCss();
|
|
@@ -75,7 +75,7 @@ const BiggiveButton = class {
|
|
|
75
75
|
' rounded-' +
|
|
76
76
|
this.rounded.toString() +
|
|
77
77
|
(isNoOpLink ? ' no-op-link' : '');
|
|
78
|
-
return (index.h("div", { key: '
|
|
78
|
+
return (index.h("div", { key: '801ce97906fc2f47f509ca6f6a09de1b08e5cc6e', class: 'container space-below-' + this.spaceBelow + ' centered-' + this.centered + ' ' + this.siteDesign + (this.disabled ? ' disabled' : '') }, isNoOpLink ? (index.h("button", { type: "button", "aria-disabled": this.disabled, disabled: this.disabled, id: this.buttonId, class: buttonClass, onClick: this.handleButtonClick }, this.label)) : (index.h("a", { "pointer-events": this.disabled ? 'none' : 'auto', "aria-disabled": this.disabled, role: "button", href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId, class: buttonClass, onClick: this.handleButtonClick }, this.label))));
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
BiggiveButton.style = biggiveButtonCss();
|
|
@@ -57,7 +57,7 @@ const BiggiveCallToAction = class {
|
|
|
57
57
|
this.secondaryButtonColourScheme = 'primary';
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (index.h("div", { key: '
|
|
60
|
+
return (index.h("div", { key: '20ee3f4f622c3c418c96bf621040de6c971518b9', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, index.h("div", { key: '54d464b2e76150ff4f45195a132e4a714dedc103', class: "sleeve" }, index.h("div", { key: 'e5453f87b9c3ea6c835ba2354e356dd9ea8df33b', class: "content-wrap" }, index.h("div", { key: 'faa6db96c366dfe42e611bf560bd86a28a95f731', class: 'slug heading-' + this.slugSize + ' text-colour-' + this.slugColour }, this.slug), index.h("h2", { key: 'e31c7b9bf04f4cd3ebaad29775d98b131acbaa22', class: 'title heading-' + this.mainTitleSize + ' text-colour-' + this.mainTitleColour }, this.mainTitle), index.h("div", { key: '6e023f3d942f95ce70c399d54657e04da25be4cb', class: 'slug heading-' + this.subtitleSize + ' text-colour-' + this.subtitleColour }, this.subtitle), index.h("div", { key: '3d28d08712ba6584ad01323e39f001c41acbbd6b', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.primaryButtonLabel != null && this.primaryButtonUrl != null ? (index.h("div", { class: "button-wrap" }, index.h("biggive-button", { "colour-scheme": this.primaryButtonColourScheme, url: this.primaryButtonUrl, label: this.primaryButtonLabel }))) : null, this.secondaryButtonLabel != null && this.secondaryButtonUrl != null ? (index.h("div", { class: "button-wrap" }, index.h("biggive-button", { "colour-scheme": this.secondaryButtonColourScheme, url: this.secondaryButtonUrl, label: this.secondaryButtonLabel }))) : null))));
|
|
61
61
|
}
|
|
62
62
|
};
|
|
63
63
|
BiggiveCallToAction.style = biggiveCallToActionCss();
|
|
@@ -16,6 +16,7 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
16
16
|
constructor(hostRef) {
|
|
17
17
|
index.registerInstance(this, hostRef);
|
|
18
18
|
this.doSearchAndFilterUpdate = index.createEvent(this, "doSearchAndFilterUpdate");
|
|
19
|
+
this.doGetLocationFromBrowser = index.createEvent(this, "doGetLocationFromBrowser");
|
|
19
20
|
this.sortByPlaceholderText = 'Sort by';
|
|
20
21
|
this.beneficiariesPlaceHolderText = 'Select beneficiary';
|
|
21
22
|
this.categoriesPlaceHolderText = 'Select category';
|
|
@@ -64,6 +65,18 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
64
65
|
* For injecting the chosen location to filter by, as per the comment above for `selectedSortByOption`.
|
|
65
66
|
*/
|
|
66
67
|
this.selectedFilterLocation = null;
|
|
68
|
+
/**
|
|
69
|
+
* Allow donors to select campaigns near to themselves.
|
|
70
|
+
*/
|
|
71
|
+
this.enableSearchByLocation = false;
|
|
72
|
+
/**
|
|
73
|
+
* Incidates that the component is currently fetching the browser location
|
|
74
|
+
*/
|
|
75
|
+
this.fetchingLocation = false;
|
|
76
|
+
/**
|
|
77
|
+
* Selected location around which donor is looking for campaigns
|
|
78
|
+
*/
|
|
79
|
+
this.location = undefined;
|
|
67
80
|
this.categoryFilterSelectionChanged = (value) => {
|
|
68
81
|
this.newSelectedFilterCategory = value;
|
|
69
82
|
};
|
|
@@ -98,6 +111,10 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
98
111
|
this.selectedSortByOption = 'Relevance';
|
|
99
112
|
}
|
|
100
113
|
};
|
|
114
|
+
this.handleNearMeButtonPressed = () => {
|
|
115
|
+
this.unfocusTextInput();
|
|
116
|
+
this.doGetLocationFromBrowser.emit();
|
|
117
|
+
};
|
|
101
118
|
this.handleSearchTextChanged = (event) => {
|
|
102
119
|
this.searchText = event.target.value;
|
|
103
120
|
};
|
|
@@ -211,13 +228,13 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
211
228
|
render() {
|
|
212
229
|
var _a;
|
|
213
230
|
const sortOptions = this.getSortOptions();
|
|
214
|
-
return (index.h("div", { key: '
|
|
231
|
+
return (index.h("div", { key: 'ceb2f44c3c853bfdc3da18ad187de4cc5a085ffb', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: '8f6370902bfabe8a9df23e274d05298ca316b12b', class: "sleeve" }, index.h("div", { key: '89fc861fdb61827ab5dbb5cee88a4dfdd0a8abcb', class: "search-wrap" }, index.h("h4", { key: '04363e5852c2347036e52efd75c0acfd83df5901' }, this.intro), index.h("div", { key: 'dd18cb11be900192f0a5a26f027b0102453e50ad', class: "field-wrap" }, index.h("div", { key: 'a9798f3d6943cfb5494452bf23ea5ce03c288a45', class: "input-wrap" }, index.h("svg", { key: '9296bccad620aaba713b252fb31c7f3efd4b1a96', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, index.h("path", { key: '718a7766577cf08ba55ebae64b60b312cfcf8edf', d: index$1.faMagnifyingGlass.icon[4].toString() })), index.h("input", { key: 'e89ff0c306417359e72597edf932166970e01702', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), index.h("biggive-button", { key: '7713463cc5c611be7e96290c91da7691c3bba5e4', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), index.h("div", { key: 'eb4ac758e446eda26be72dad7239fd525c520c39', class: "sort-filter-wrap" }, this.enableSearchByLocation && this.offerNearMeOption && (index.h("biggive-button", { key: 'fe100d32987271001b584fbba653ab733e0d3037', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleNearMeButtonPressed, label: this.fetchingLocation ? 'Fetching location...' : 'Charities near me', disabled: !this.fetchingLocation, fullWidth: true, "space-below": "0" })), index.h("div", { key: '30a35a0db88c129c27dd9c20b75d7516a7316ba8', class: "filter-wrap" }, index.h("biggive-button", { key: 'f93528615753291fd194e9675ff79c53b0a45943', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), index.h("biggive-popup", { key: 'ef7b9eedfade6cb4027fb2789226bf697f420c91', id: "filter-popup" }, index.h("h4", { key: '5af7616eff806f4f455119f021e57a1d06fe8a0d', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), index.h("div", { key: 'ee857c0d3ca4e3f9aa3c8ae339ac256b19c529e5', class: "select-wrapper-1" }, index.h("biggive-form-field-select", { key: '8ce9507ba455de76430c16f95d5d38a42e17fed2', backgroundColour: "white", prompt: "Category", placeholder: this.categoriesPlaceHolderText, selectedLabel: this.selectedFilterCategory, selectedValue: this.selectedFilterCategory, options: this.optionsToArray(this.categoryOptions || []), selectionChanged: this.categoryFilterSelectionChanged, id: "categories", "space-below": "2" })), index.h("div", { key: 'fede3134ddd0696cc7b181d53b1141b0baa6cc18', class: "select-wrapper-2" }, index.h("biggive-form-field-select", { key: 'b5a3fb4f023760c0909088ae0e3780268c0db855', backgroundColour: "white", prompt: "Beneficiary", placeholder: this.beneficiariesPlaceHolderText, selectedLabel: this.selectedFilterBeneficiary, selectedValue: this.selectedFilterBeneficiary, options: this.optionsToArray(this.beneficiaryOptions || []), selectionChanged: this.beneficiarySelectionChanged, id: "beneficiaries", "space-below": "2" })), index.h("div", { key: '2e39d963ca785aae5d4a50e9051e3b3f1ac42733', class: "select-wrapper-3" }, index.h("biggive-form-field-select", { key: '6e873fb07978e97cfbe868f77d94b5e6a73d828a', backgroundColour: "white", prompt: "Location", placeholder: this.locationsPlaceHolderText, selectedLabel: this.selectedFilterLocation, selectedValue: this.selectedFilterLocation, options: this.optionsToArray(this.locationOptions || []), selectionChanged: this.locationSelectionChanged, id: "locations", "space-below": "2" })), index.h("div", { key: '2ff04e800f368fae58f05820fef385f08a5bb73d', class: "align-right" }, index.h("biggive-button", { key: '437493a55113a5a95f85b07bc01825e55b195ecd', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), index.h("div", { key: 'e5893df8c1348a3bbaa9389884eed09672616dd0', class: "sort-wrap" }, index.h("biggive-form-field-select", { key: 'cf5681ff7096d71fc8b27195853a1db44ddb3e8d', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, index.h("biggive-form-field-select-option", { key: '943113783bd5331a484ca1701d794112eb6a7bac', value: "amountRaised", label: "Most raised" }), index.h("biggive-form-field-select-option", { key: 'a12bc8d837e29675ad85c3df4aedb459499dd0b6', value: "leastRaised", label: "Least raised" }), index.h("biggive-form-field-select-option", { key: '64d3287ee368c5d51c95b9af3588c28861b6a7de', value: "matchFundsRemaining", label: "Most funds remaining" }), index.h("biggive-form-field-select-option", { key: '2cb9a2a2115d2a3e042c964ad89091be3704214e', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? index.h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), index.h("div", { key: 'a772256d34001e35257a278f841c5b9fe886d12e', class: "selected-filter-wrap" }, index.h("div", { key: '9d3947afa52842a11ef1338450789e9a5d389ee3', class: "selected-filters" }, this.selectedFilterCategory && (index.h("span", { key: '2bd20241fe40a5acb5dc628b83a0e6c3f78cb5c0', class: "button", onClick: () => {
|
|
215
232
|
this.removeFilter('categories');
|
|
216
|
-
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: '
|
|
233
|
+
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: 'ae76369709cd8540ebf4287b5e337943e3e1d8e9', class: "button", onClick: () => {
|
|
217
234
|
this.removeFilter('beneficiaries');
|
|
218
|
-
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: '
|
|
235
|
+
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: '73c489be03db7c92f517a2d1b63490cc1de6cff8', class: "button", onClick: () => {
|
|
219
236
|
this.removeFilter('locations');
|
|
220
|
-
} }, this.selectedFilterLocation))), index.h("div", { key: '
|
|
237
|
+
} }, this.selectedFilterLocation))), index.h("div", { key: 'f283d737e862792b7fa2cebe16ec8f3014ee9e1f', class: "clear-all" }, index.h("a", { key: '7ef1c3ee2d4ac438fd21381d24ba9810530eb629', onClick: this.handleClearAll }, "Clear all"))), index.h("div", { key: '07da3888322df14430a72752c49f65e93f741b1c', class: "campaign-grid" }, index.h("slot", { key: '78a2bee33c15df96678182f8d6535ee49af43b58', name: "campaign-grid" })))));
|
|
221
238
|
}
|
|
222
239
|
// I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
|
|
223
240
|
// test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
|
|
@@ -44,10 +44,10 @@ const BiggiveCampaignCard = class {
|
|
|
44
44
|
return value === undefined || value === null || value === '';
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (index.h("div", { key: '
|
|
47
|
+
return (index.h("div", { key: '319985f7b32754f323941126da3e14b50a14ebe3', class: 'container space-below-' + this.spaceBelow.toString() }, index.h("div", { key: '31b9adc9d26688a04babd7de6ec863df8e5fb984', class: "sleeve" }, index.h("div", { key: 'e3a9067edacce4985038bb4d92929c0bc5c8151e', onClick: this.handleCardGeneralClick, class: "above-button-wrap" }, this.campaignType !== null ? (index.h("div", { class: "campaign-type" }, index.h("span", null, this.campaignType))) : null, this.banner !== null && this.banner !== undefined ? (index.h("div", { class: "image-wrap banner", role: "presentation", style: { 'background-image': 'url(' + this.banner + ')' } })) : (index.h("div", { class: "image-wrap banner" })), index.h("div", { key: 'dd4d04a159af990a2023a06912321fff42368727', class: "title-wrap" }, index.h("h3", { key: '2ff55ab537792164659b1b435b330292a037840b' }, this.campaignTitle), index.h("div", { key: '4a70987a57ae638317c30b21e9d5c422f7d5f779', class: "organisation-name" }, "By ", this.organisationName)), this.isEmpty(this.primaryFigureAmount) && this.isEmpty(this.secondaryFigureAmount) ? null : (index.h("div", { class: "meta-wrap" }, this.isEmpty(this.primaryFigureAmount) ? null : (index.h("div", { class: "meta-item" }, index.h("span", { class: "label" }, this.primaryFigureLabel), index.h("span", { class: "text" }, this.primaryFigureAmount))), this.isEmpty(this.secondaryFigureAmount) ? null : (index.h("div", { class: "meta-item" }, index.h("span", { class: "label" }, this.secondaryFigureLabel), index.h("span", { class: "text" }, this.secondaryFigureAmount))))), this.isEmpty(this.progressBarCounter) ? (
|
|
48
48
|
// We don't have a progress bar to show in this case, so the following is just functioning as a spacer to
|
|
49
49
|
// keep layout consistent. Counter must be non-null to make bar display.
|
|
50
|
-
index.h("div", { class: "progress-bar-wrap", style: { visibility: 'hidden' } }, index.h("biggive-progress-bar", { counter: 0, "colour-scheme": "primary" }))) : (index.h("div", { class: "progress-bar-wrap" }, index.h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), index.h("div", { key: '
|
|
50
|
+
index.h("div", { class: "progress-bar-wrap", style: { visibility: 'hidden' } }, index.h("biggive-progress-bar", { counter: 0, "colour-scheme": "primary" }))) : (index.h("div", { class: "progress-bar-wrap" }, index.h("biggive-progress-bar", { counter: this.progressBarCounter, "colour-scheme": "primary" })))), index.h("div", { key: '46f8ebfd1fc425610e6ef5fa87376659495890da', class: "button-wrap" }, this.isFutureCampaign || this.isPastCampaign ? (index.h("div", { class: "msg-wrapper" }, index.h("biggive-misc-icon", { "background-colour": "white", "icon-colour": "black", icon: "Timer" }), this.isFutureCampaign ? index.h("p", null, "Launches ", this.datetime) : index.h("p", null, "Closed ", this.datetime))) : (index.h("biggive-button", { "full-width": "true", "colour-scheme": this.donateButtonColourScheme, url: this.donateButtonUrl, label: this.donateButtonLabel })), index.h("biggive-button", { key: '13362b0cf844a93315672123f464c41482c9b65d', "full-width": "true", "colour-scheme": this.moreInfoButtonColourScheme, url: this.moreInfoButtonUrl, label: this.moreInfoButtonLabel })))));
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
BiggiveCampaignCard.style = biggiveCampaignCardCss();
|
|
@@ -17,7 +17,7 @@ const BiggiveCampaignHighlights = class {
|
|
|
17
17
|
this.progressBarCounter = undefined;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h("div", { key: '
|
|
20
|
+
return (index.h("div", { key: '9f7b92fd96e95021a71987c5aef0eed8f14e76e4', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: '10ff0d3f979dfc66fbdf4bd5c09ff0be27e6941e', class: "sleeve" }, this.campaignTitle != null ? (index.h("div", { class: "campaign-title" }, index.h("span", null, this.campaignTitle))) : null, this.banner !== null && this.banner !== undefined ? (index.h("div", { class: "image-wrap banner", style: { 'background-image': 'url(' + this.banner + ')' } }, index.h("img", { src: this.banner, class: "banner" }))) : null, index.h("div", { key: '68fc5a95cf81ace178ede53c4799842917ec0e5a', class: "meta-wrap" }, index.h("div", { key: '0598325d1a48e4015124ac0a507aa5a54cf48f33', class: "meta-item" }, index.h("span", { key: 'de6e984c1c5f0b76125fad60b34662da17a9f562', class: "label" }, this.primaryFigureLabel), index.h("span", { key: '8f5472d5b9abe458bd53678ca4e09e716068ed00', class: "text" }, this.primaryFigureAmount)), index.h("div", { key: '9b297b7676f3d5de45cd865217ed044bc967cd05', class: "meta-item" }, index.h("span", { key: 'f9984f6796ecb4b3f4e8a865dae1f5fa6a6a28a2', class: "label" }, this.secondaryFigureLabel), index.h("span", { key: '49d721e8a7770a47058cfedfb6d8cebf21278678', class: "text" }, this.secondaryFigureAmount))), index.h("div", { key: 'e503a6feb8ca10c0607a443b533386cfab4077ec', class: "progress-bar-wrap" }, index.h("biggive-progress-bar", { key: '357e686fafabb28cb0979ab0871751488930e98f', counter: this.progressBarCounter, "colour-scheme": "primary" })), index.h("div", { key: '798f20551aa3d6c3acdf5ba9e061281bbcb2d607', class: "stat-wrap" }, this.primaryStatIcon != null ? (index.h("div", { class: "stat-item" }, index.h("biggive-misc-icon", { icon: this.primaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), index.h("span", { class: "label" }, this.primaryStatText))) : null, this.secondaryStatIcon != null ? (index.h("div", { class: "stat-item" }, index.h("biggive-misc-icon", { icon: this.secondaryStatIcon, "background-colour": "white", "icon-colour": "tertiary" }), index.h("span", { class: "label" }, this.secondaryStatText))) : null), this.championName != null ? (index.h("div", { class: "championed-by" }, "Championed by ", index.h("a", { href: this.championUrl }, this.championName))) : null)));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
BiggiveCampaignHighlights.style = biggiveCampaignHighlightsCss();
|
|
@@ -17,7 +17,7 @@ const BiggiveContainerCard = class {
|
|
|
17
17
|
this.headingLevel = 3;
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (index.h("div", { key: '
|
|
20
|
+
return (index.h("div", { key: '47ee6dfc2909a88bb6f5541ebb000895bae8c7be', class: 'container space-below-' + this.spaceBelow + ' background-colour-' + this.backgroundColour, style: { 'background-image': "url('" + this.backgroundImageUrl + "')" } }, index.h("div", { key: '40f1e496b071ef095ae70235365b4ea02e2996d2', class: 'sleeve background-colour-' + this.cardColour + ' text-colour-' + this.textColour }, index.h("slot", { key: 'd2ab445448fbdde1c3b265e342ab2ac7b9bca914' }))));
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
BiggiveContainerCard.style = biggiveContainerCardCss();
|
|
@@ -68,7 +68,7 @@ const BiggiveCookieBanner = class {
|
|
|
68
68
|
// then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
|
|
69
69
|
// declined.
|
|
70
70
|
const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
|
|
71
|
-
return (index.h("div", { key: '
|
|
71
|
+
return (index.h("div", { key: '9da823e571602907e8e9ec5e72c19570f8b800b0', class: "cooke-consent-container" }, index.h("biggive-popup", { key: 'ffcffbd90768524bbe53249a0bdec923d05fd3c6', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, index.h("div", { key: '93ba536ad65df83902d21613cc6d40fb5a216973', class: "content" }, index.h("h4", { key: '6c37d5901a10338547958028826472803608203b', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), index.h("form", { key: '182899dadc23025b01e0e10114e8a15c656edd58' }, index.h("div", { key: '969aaaa10d5815935774f7e54be1a3c5eba1e08f', class: "radio-group" }, index.h("h5", { key: '3088bac52404bbc8b543cef7c04b3d1a6c4b8172' }, "Essential Cookies"), index.h("p", { key: 'af6f64f69b4717a3b8108a42979168454da8d74b' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), index.h("input", { key: '173d5a20418cd02bc0decd92d888bb2c2b9060e5', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), index.h("label", { key: 'af5b2d6cbe2eda853d20d49f4bf6c516d2adf5cc', htmlFor: "necassary-on" }, "Off"), index.h("input", { key: '1ebbc370e7017b7572b7283b9d024d3a01a104b3', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), index.h("label", { key: 'c68ee2097aadc4c46bd3d73bfb3eada851c09539', htmlFor: "necassary-on" }, "On")), index.h("div", { key: '3cf3c7bedfa3cc5fdbdb67f86f5d78508733de03', class: "radio-group" }, index.h("h5", { key: 'd70c8d0002bfab361a202e174e39b908f15aa8ec' }, "Analytics & Testing Cookies"), index.h("p", { key: '4d3abcb030535d65f8ce48af40ef3aac6f8e72b9' }, "We use analytics cookies to track activity on our website. For example, the pages you\u2019ve visited, the content you\u2019ve engaged with and the search terms you\u2019ve used. This allows us to personalise and improve our content."), index.h("p", { key: 'b8536857ccd8e4bfdbc5a340e36ea3a6504d7d3d' }, "We use testing cookies to collect data on how you interact with website features. These insights allow us to update our website and build features that enhance your user experience."), index.h("input", { key: '34e53faec69fee706ddc191747398a03294b40da', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: '9cfedff22a4bada2b4b51c6a7299d28c71630f33', htmlFor: "a-and-t-off" }, "Off"), index.h("input", { key: 'd06a9ee4d201b89ca31fa0fa284433c8b3b20799', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: '4c823880fab576a6cf3ab5badd46abbbf5d12028', htmlFor: "a-and-t-on" }, "On")), index.h("div", { key: '1e2bd14f96e361af703a99c04da52c50cb77cf1b', class: "radio-group" }, index.h("h5", { key: '471a9217bc4173e7c68633d10f131bffc8bf0531' }, "Third-party Cookies "), index.h("p", { key: '43055b98563c4874c2a48e6d91b198036bcf35cf' }, "These cookies are used to track activity, which can help to provide a better experience and improve functionality across various applications. For example, our donation experience survey."), index.h("input", { key: 'baaec59647dcaf258bd7ad43463dbfdf6fc4afd9', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: '4f905ffed2dfeba05f52036dbcbf5530729e5e99', htmlFor: "third-party-off" }, "Off"), index.h("input", { key: 'e46c1084e769a0782c065c0f20bb8ea95a9e9aee', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: '5842a886c457cdde52730a7149ecf56435bf939f', htmlFor: "third-party-on" }, "On")), index.h("biggive-button", { key: '91fb477d7dc7655b08fdf37aad4ec834e8de8ccd', "space-below": "0", "space-above": "2", "colour-scheme": "secondary", "is-past-campaign": "false", "is-future-campaign": "false", label: "Accept Selected Cookies", "open-in-new-tab": "false", "full-width": "false", size: "small", rounded: false, centered: false, "button-id": "accept-selected-button", onDoButtonClick: this.handleAcceptSelectedCookies })), index.h("p", { key: '25d1de6b88a3e0e8edc3882fa739355fdae57449' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), index.h("h2", { key: '832c163006c9e8edda8b6d464fc221bb8fee94a2' }, "Our website uses cookies"), index.h("p", { key: '983f374934beff8112fcb5aea4e371578e51b3fe' }, "We use some essential cookies to make our website work. We'd also like to share data with our analytics platform and use analytics cookies to understand how you use the website and make improvements."), index.h("p", { key: '0d29880c9771819f869f5ec37886768a7341533d' }, index.h("a", { key: 'd9b38d756ac86a7fae5dd50361ddc311f31ef0d0', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), index.h("div", { key: 'f02dc850e2d9a00f64362c9f99f750efcecbfe38', class: "button-group" }, index.h("biggive-button", { key: '928e97747d7627204b3b858676b8380a7cd94631', onDoButtonClick: this.handleAcceptAllClick, "space-below": "0", "colour-scheme": "secondary", "is-past-campaign": "false", "is-future-campaign": "false", label: "Accept All", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "accept-all-button" }), index.h("biggive-button", { key: 'ab000ed9718a1a8fdd0b202252057e3fe9afb9b2', onDoButtonClick: this.handleRejectAllClicked, "space-below": "0", "colour-scheme": "grey-light", "is-past-campaign": "false", "is-future-campaign": "false", label: "Essential Cookies Only", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "choose-preferences-button" }), index.h("biggive-button", { key: '526c5068b1ca2621e6a2fe7113c1db29d3f09930', onDoButtonClick: this.handleChoosePrefencesClick, "space-below": "0", "colour-scheme": "grey-light", "is-past-campaign": "false", "is-future-campaign": "false", label: "Choose Preferences", "open-in-new-tab": "false", "full-width": "true", size: "medium", rounded: false, centered: false, "button-id": "choose-preferences-button" }))));
|
|
72
72
|
}
|
|
73
73
|
get el() { return index.getElement(this); }
|
|
74
74
|
static get watchers() { return {
|
|
@@ -32,12 +32,12 @@ const BiggiveFormFieldSelect = class {
|
|
|
32
32
|
}
|
|
33
33
|
// Give the select a random id so we can reference it from a label
|
|
34
34
|
const selectId = this.selectElementId || 'select-' + this.getRandomInt().toString();
|
|
35
|
-
return (index.h("div", { key: '
|
|
35
|
+
return (index.h("div", { key: '1b0f9c8c81ab0f4d3bb21ea3ef10e24a1eb23c98', class: "selectWrapper" }, index.h("label", { key: '9a4c9ea9774385dceb506c6a71823588c6d33a12', class: greyIfRequired, htmlFor: selectId }, index.h("div", { key: '441a778c4d417c7b8daf18ea0caada0b421fae25', class: 'prompt' + greyIfRequired }, this.prompt)), index.h("div", { key: '29a22d55202a62eaa02ad24caae3de079f651082', class: 'dropdown space-below-' +
|
|
36
36
|
this.spaceBelow +
|
|
37
37
|
' select-style-' +
|
|
38
38
|
this.selectStyle +
|
|
39
39
|
(this.prompt === null ? ' noprompt' : '') +
|
|
40
|
-
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, index.h("div", { key: '
|
|
40
|
+
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, index.h("div", { key: '281b7731bdf66d6419aae73d68951bc8df532149', class: "sleeve" }, index.h("select", { key: 'de57f5898ffe1122c2cc72442eab0d7da2b52a2c', id: selectId, class: greyIfRequired, onChange: this.doOptionSelectCompletedHandler, "aria-label": this.prompt === null ? this.placeholder : this.prompt }, options.map(option => (index.h("option", { selected: this.selectedValue === option.value, value: option.value }, option.label)))), index.h("div", { key: 'e6316c952bcfbd7b8a3ce332a4563f898010abd4', class: "arrow" })))));
|
|
41
41
|
}
|
|
42
42
|
formatOptions(options) {
|
|
43
43
|
if (options === undefined) {
|
|
@@ -9,7 +9,7 @@ const BiggiveForm = class {
|
|
|
9
9
|
index.registerInstance(this, hostRef);
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (index.h(index.Host, { key: '
|
|
12
|
+
return (index.h(index.Host, { key: 'c9ba74a1b0d168d61c90cb8994f8d9d8f9b8e967' }, index.h("slot", { key: '23f6e7258b011e5a807c2c01d7c3451384fb43db' })));
|
|
13
13
|
}
|
|
14
14
|
};
|
|
15
15
|
BiggiveForm.style = biggiveFormCss();
|
|
@@ -14,7 +14,7 @@ const BiggiveFormattedText = class {
|
|
|
14
14
|
render() {
|
|
15
15
|
const defaultColourSet = typeof this.defaultTextColour === 'string' && this.defaultTextColour.trim() !== '';
|
|
16
16
|
const anyDefaultColourClass = defaultColourSet ? ' text-colour-' + this.defaultTextColour : '';
|
|
17
|
-
return (index.h("div", { key: '
|
|
17
|
+
return (index.h("div", { key: '93efab9359103264a99401ac6f0aead93769807e', class: 'container ' + this.siteDesign + ' max-width-' + this.maxWidth + anyDefaultColourClass + ' space-below-' + this.spaceBelow }, index.h("slot", { key: '81b3f0e9b295287168f84694d51934d4f7364d9a' })));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
BiggiveFormattedText.style = biggiveFormattedTextCss();
|
|
@@ -16,7 +16,7 @@ const BiggiveGrid = class {
|
|
|
16
16
|
this.columnGap = 0;
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
|
-
return (index.h("div", { key: '
|
|
19
|
+
return (index.h("div", { key: '4d81d69c275a02796ebf83e121988a72c3e20967', class: 'grid column-count-' + this.columnCount + ' space-below-' + this.spaceBelow + ' column-gap-' + this.columnGap + (this.spaceBetween ? ' space-between' : '') }, index.h("slot", { key: 'bc2bc7343b24bedf177ae72ea7718b2bfedcc968' })));
|
|
20
20
|
}
|
|
21
21
|
};
|
|
22
22
|
BiggiveGrid.style = biggiveGridCss();
|
|
@@ -64,14 +64,14 @@ const BiggiveHeadingBanner = class {
|
|
|
64
64
|
teaserBlock =
|
|
65
65
|
this.targetUrl === undefined ? (index.h("div", { class: "teaser", style: { color: teaserColour } }, teaserLines)) : (index.h("a", { href: this.targetUrl, class: "banner-link" }, index.h("div", { class: "teaser", style: { color: teaserColour } }, teaserLines)));
|
|
66
66
|
}
|
|
67
|
-
return (index.h("div", { key: '
|
|
67
|
+
return (index.h("div", { key: '75671b219a4a6d72a6e1b3d86f9b655e5fe47eef', class: {
|
|
68
68
|
banner: true,
|
|
69
69
|
short: this.height === 'short',
|
|
70
70
|
}, style: {
|
|
71
71
|
'background-color': bgColor,
|
|
72
72
|
} }, typeof this.mainImageUrl === 'string' && this.mainImageUrl !== '' ? (index.h("img", { class: "background", src: this.mainImageUrl, alt: "", style: {
|
|
73
73
|
'object-position': `${this.getParsedFocalPoint().x}% ${this.getParsedFocalPoint().y}%`,
|
|
74
|
-
} })) : null, index.h("div", { key: '
|
|
74
|
+
} })) : null, index.h("div", { key: 'ce9111a87766b684caa838c528bb4cc8f631ff17', class: "sleeve" }, index.h("div", { key: '7bc9c2fe458453da0a8d77c22c2ba8df4dfd8bec', class: "content-wrap", style: {
|
|
75
75
|
'background-color': textBgColor,
|
|
76
76
|
} }, logo ? (index.h("div", { class: "logo" }, index.h("img", { src: logo.url, alt: logo.alt || '' }))) : null, this.slug != undefined ? (index.h("div", { style: {
|
|
77
77
|
color: slugColour,
|
|
@@ -20,7 +20,7 @@ const BiggiveHeading = class {
|
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
22
|
const Tag = this.htmlElement;
|
|
23
|
-
return (index.h("div", { key: '
|
|
23
|
+
return (index.h("div", { key: '4fffcebf9b9d9e1ec280331f544cb639c7f94d8d', class: 'container ' + this.siteDesign + ' align-' + this.align + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, index.h(Tag, { key: '542318025497735b4243d4396d926c3439e8c53e', class: 'heading-colour-' + this.colour + ' icon-colour-' + this.iconColour + ' heading-' + this.size }, this.icon ? (index.h("svg", { viewBox: "0 0 102 88" }, index.h("path", { class: "st0", d: "M51.2,0l-51,88h102L51.2,0z" }), index.h("path", { d: "M31,68.3c-1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9c1.1,0,1.9,0.9,1.9,1.9C32.9,67.5,32.1,68.3,31,68.3z M29.5,79.4h3v-10\n h-3V79.4z M41,69.4V70c-0.5-0.5-1.4-0.9-2.5-0.9c-2.7,0-4.9,2-4.9,4.9c0,2.9,2.2,4.9,4.9,4.9c1.1,0,2-0.3,2.5-0.9v0.6\n c0,1.3-1.2,1.9-2.7,1.9c-1.3,0-2.4-0.3-3.5-0.9v3c1.3,0.5,2.7,0.6,3.6,0.6c3,0,5.5-1.3,5.5-4.6v-9.4L41,69.4L41,69.4z M41,75.3\n c-0.4,0.6-1.2,0.9-1.9,0.9c-1.3,0-2.3-0.8-2.3-2.2c0-1.4,1-2.2,2.3-2.2c0.8,0,1.5,0.4,1.9,0.9V75.3z M52.8,79.7\n c2.4,0,3.8-0.4,5.1-1.2v-7.7h-6.6v2.9h3.5v2.6c-0.5,0.1-1.1,0.3-1.9,0.3c-3,0-4.4-2-4.4-4.3c0-2.3,1.7-4.3,4.8-4.3\n c1.3,0,2.6,0.4,3.5,0.9v-3.3c-0.9-0.4-2.1-0.7-3.7-0.7c-4.6,0-7.8,3.3-7.8,7.4C45.2,76.5,48.1,79.7,52.8,79.7z M60.7,68.3\n c-1,0-1.9-0.9-1.9-1.9c0-1,0.9-1.9,1.9-1.9c1.1,0,1.9,0.9,1.9,1.9C62.6,67.5,61.8,68.3,60.7,68.3z M59.2,79.4h3v-10h-3V79.4z\n M69,73.9l-2.6-4.5h-3.5l6,10.3l6-10.3h-3.5L69,73.9z M77.5,75.1h7c0-4.4-2.5-6-5.1-6c-2.7,0-5.1,1.6-5.1,5.2c0,3.5,2.5,5.2,5.5,5.2\n c1.3,0,2.7-0.2,3.8-0.8v-2.8c-1.5,0.9-2.5,0.9-3.3,0.9C78.9,76.9,77.6,76.5,77.5,75.1z M79.4,71.5c0.9,0,1.7,0.4,1.8,1.7h-3.7\n C77.7,72,78.6,71.5,79.4,71.5z M26,71.6c0.7-0.6,1.1-1.5,1.1-2.5c0-1.9-1.8-3.9-4.4-3.9h-4.8v14.3h6.3c2.4,0,4.3-1.9,4.3-4.2\n C28.4,73.8,27.8,72.2,26,71.6z M21,68.1h1.4c0.9,0,1.5,0.7,1.5,1.4c0,0.8-0.6,1.4-1.5,1.4H21V68.1z M23.8,76.5H21v-2.9h2.8\n c0.9,0,1.5,0.6,1.5,1.4C25.3,75.9,24.7,76.5,23.8,76.5z" }))) : null, this.text)));
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
BiggiveHeading.style = biggiveHeadingCss();
|
|
@@ -59,9 +59,9 @@ const BiggiveHeroImage = class {
|
|
|
59
59
|
// `pre` or `pre-wrap` so that literal whitespace inserted into the rendered output doesn't affect the layout.
|
|
60
60
|
// Assuming that this is needed only for the teaser, and the main title would never contain a line break.
|
|
61
61
|
const teaserLines = this.lineBreakToBr(this.teaser);
|
|
62
|
-
return (index.h("div", { key: '
|
|
62
|
+
return (index.h("div", { key: '00950c5d25067d28ca5609b4bdfad15c674a20f8', class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow, style: this.mainImageShape === 'rectangle' ? { 'background-image': 'url(' + this.mainImage + ')', 'background-size': 'cover' } : {} }, index.h("div", { key: 'f20acc3184b056476184d71376c3f2facbb0c40b', class: "sleeve" }, index.h("div", { key: '9084c2529af5ce2222c166732772cf04855f9bc6', 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 }), ((_b = this.logo) === null || _b === void 0 ? void 0 : _b.length) > 0 || ((_c = this.slug) === null || _c === void 0 ? void 0 : _c.length) > 0
|
|
63
63
|
? (index.h("div", { class: 'slug text-colour-' + this.slugColour }, this.slug))
|
|
64
|
-
: null, index.h("h1", { key: '
|
|
64
|
+
: null, index.h("h1", { key: '4101e030c16a5559cd5526c9dc4b4de4abec5d0d', class: mainTitleClasses }, this.mainTitle), index.h("div", { key: 'd5345f038729ae75025736d2530b2e85246c3e2f', class: teaserClasses }, teaserLines), this.buttonLabel != null && this.buttonUrl != null
|
|
65
65
|
? index.h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })
|
|
66
66
|
: null), this.mainImageShape === 'triangle' && this.mainImage !== null ? (index.h("div", { class: "graphic-wrap" }, index.h("div", { class: "image-wrap", role: "presentation", style: { 'background-image': 'url(' + this.mainImage + ')', 'background-position': this.mainImageAlignHorizontal + ' ' + this.mainImageAlignVertical } }))) : null)));
|
|
67
67
|
}
|
|
@@ -26,7 +26,7 @@ const BiggiveIconButton = class {
|
|
|
26
26
|
};
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (index.h("div", { key: '
|
|
29
|
+
return (index.h("div", { key: 'b45454881d1333f4a939a25ad3df8b6b6b53fa80', class: 'container space-below-' +
|
|
30
30
|
this.spaceBelow +
|
|
31
31
|
' background-colour-' +
|
|
32
32
|
this.backgroundColour +
|
|
@@ -37,7 +37,7 @@ const BiggiveIconButton = class {
|
|
|
37
37
|
' rounded-' +
|
|
38
38
|
this.rounded +
|
|
39
39
|
' shadow-' +
|
|
40
|
-
this.shadow }, index.h("a", { key: '
|
|
40
|
+
this.shadow }, index.h("a", { key: '360ca2fcd7878f77f693f75aea46356bab79ecd4', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, index.h("div", { key: '0397c196616539c883d5c253d89f68af7cc56e8a', class: "sleeve", onClick: this.handleButtonClick }, index.h("div", { key: '37d835a044b45ef95512409c5c0ff8f830b8a1ea', class: 'icon-wrap ' + ' size-' + this.size + ' circle-' + this.circle.toString() }, index.h("biggive-misc-icon", { key: '1e93357b009a3e3f379f1b92daea7a05717893f1', icon: this.icon })), this.text != '' ? index.h("div", { class: 'text-wrap text-colour-' + this.textColour + ' text-padding-' + this.backgroundPadding }, this.text) : null, this.arrow ? (index.h("div", { class: 'arrow-wrap arrow-colour-' + this.arrowColour }, index.h("svg", { width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.76912 1.0791L5.73828 6.04826L0.769121 11.0174", stroke: "black", "stroke-width": "2" })))) : null))));
|
|
41
41
|
}
|
|
42
42
|
};
|
|
43
43
|
BiggiveIconButton.style = biggiveIconButtonCss();
|
|
@@ -27,7 +27,7 @@ const BiggiveImageButton = class {
|
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (index.h("div", { key: '
|
|
30
|
+
return (index.h("div", { key: 'aeea81871c96ac1c64d6a0687183d9c361e5e8b0', class: 'container space-below-' +
|
|
31
31
|
this.spaceBelow +
|
|
32
32
|
' background-colour-' +
|
|
33
33
|
this.backgroundColour +
|
|
@@ -38,7 +38,7 @@ const BiggiveImageButton = class {
|
|
|
38
38
|
' rounded-' +
|
|
39
39
|
this.rounded +
|
|
40
40
|
' shadow-' +
|
|
41
|
-
this.shadow }, index.h("a", { key: '
|
|
41
|
+
this.shadow }, index.h("a", { key: 'bfd6c5f81a650a77222804c49416496268d48a75', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, index.h("div", { key: '91f9a376b78d145a3b3fd461e3c877769a700470', class: "sleeve", onClick: this.handleButtonClick }, index.h("div", { key: 'fb2b43d3942ef276ff6cb49372105d82ea85b6af', class: 'image-wrap ' + ' image-style-' + this.imageStyle + ' size-' + this.size + ' circle-' + this.circle.toString(), style: { backgroundImage: 'url(' + this.imageUrl + ')' } }), this.text != '' ? index.h("div", { class: 'text-wrap text-colour-' + this.textColour + ' text-padding-' + this.backgroundPadding }, this.text) : null, this.arrow ? (index.h("div", { class: 'arrow-wrap arrow-colour-' + this.arrowColour }, index.h("svg", { width: "8", height: "12", viewBox: "0 0 8 12", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { d: "M0.76912 1.0791L5.73828 6.04826L0.769121 11.0174", stroke: "black", "stroke-width": "2" })))) : null))));
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
BiggiveImageButton.style = biggiveImageButtonCss();
|
|
@@ -19,7 +19,7 @@ const BiggiveImageCard = class {
|
|
|
19
19
|
this.addAnimation = false;
|
|
20
20
|
}
|
|
21
21
|
render() {
|
|
22
|
-
return (index.h("div", { key: '
|
|
22
|
+
return (index.h("div", { key: 'bd95bfac696ddeb92c019ad93c410e9a7b8f17ea', class: 'container space-below-' +
|
|
23
23
|
this.spaceBelow +
|
|
24
24
|
' background-colour-' +
|
|
25
25
|
this.backgroundColour +
|
|
@@ -28,7 +28,7 @@ const BiggiveImageCard = class {
|
|
|
28
28
|
' clip-top-right-corner-' +
|
|
29
29
|
this.clipTopRightCorner +
|
|
30
30
|
' add-animation-' +
|
|
31
|
-
this.addAnimation }, index.h("a", { key: '
|
|
31
|
+
this.addAnimation }, index.h("a", { key: '93eca426b37d62f0415baffeb9d43445c028fa9c', href: this.buttonUrl }, index.h("div", { key: '5a708d933e3380c3eefd63cf3ac09ebe79eadbdf', class: 'sleeve text-colour-' + this.teaserColour + ' text-align-' + this.textAlign }, index.h("div", { key: '2d2a4eb8678f2520a0ec981f45afb3e1fc536191', class: "content-wrap" }, this.mainImageUrl != '' ? (index.h("div", { class: "main-image-container" }, index.h("div", { class: "image-wrap" }, index.h("img", { src: this.mainImageUrl, alt: this.mainImageAltText, title: this.mainImageAltText })))) : null, index.h("div", { key: '5848912fe208c6132c542478fe900f22d66a667d', class: "teaser" }, this.teaser), this.buttonLabel != null && this.buttonUrl != null && this.buttonUrl != '' ? (index.h("div", { class: 'button-wrap align-' + this.buttonAlign }, index.h("biggive-button", { "colour-scheme": this.buttonColourScheme, label: this.buttonLabel }))) : null)))));
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
BiggiveImageCard.style = biggiveImageCardCss();
|
|
@@ -41,7 +41,7 @@ const BiggiveImageFeature = class {
|
|
|
41
41
|
this.buttonColourScheme = 'primary';
|
|
42
42
|
}
|
|
43
43
|
render() {
|
|
44
|
-
return (index.h("div", { key: '
|
|
44
|
+
return (index.h("div", { key: 'b3705b85933b5fba002fd9aff9fc8d5111b8f3bc', class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, index.h("div", { key: 'b44ddbfa9817bfc8e7fb6239463f3dee2b8e8c2f', class: "sleeve" }, index.h("div", { key: '30ca9fb3320e51e093066495f31a83aacb21b4eb', class: "content-wrap" }, index.h("div", { key: '941660868b7ca1adf1f8fdab096a0909e978a66a', class: 'slug text-colour-' + this.slugColour }, this.slug), index.h("h2", { key: 'ceabc22f25f085ee7d279d421ca5d2d8a8bdfb8b', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), index.h("div", { key: '5ca667d591ae20a1356ffe6562e5c60d03213b9e', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.buttonLabel != null && this.buttonUrl != null ? (index.h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })) : null), index.h("div", { key: 'b37872e49f3dac690cf2e1a593b54a39c5746db2', class: "graphic-wrap" }, this.imageUrl !== null && this.imageUrl !== undefined ? (index.h("div", { class: "image-wrap" }, index.h("img", { src: this.imageUrl, alt: this.imageAltText }))) : null))));
|
|
45
45
|
}
|
|
46
46
|
};
|
|
47
47
|
BiggiveImageFeature.style = biggiveImageFeatureCss();
|
|
@@ -51,7 +51,7 @@ const BiggiveImage = class {
|
|
|
51
51
|
return height;
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (index.h("div", { key: '
|
|
54
|
+
return (index.h("div", { key: 'bb612f911c62281668bebbc57cd3df3d5b07c974', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow, style: { width: this.getWidth(), height: this.getHeight() } }, index.h("div", { key: '21a1033df88e0bd2c453ce655d78bfcacb11df24', class: "image-wrap" }, index.h("img", { key: '24053821556b3d2f77230f004291d58eec909e4c', src: this.imageUrl, style: { width: this.getWidth(), height: this.getHeight() }, alt: this.imageAltText }))));
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
BiggiveImage.style = biggiveImageCss();
|
|
@@ -106,7 +106,7 @@ const BiggiveMainMenu = class {
|
|
|
106
106
|
// see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes
|
|
107
107
|
const secondaryNavLinksForDesktop = this.getSecondaryNavLinks('desktop');
|
|
108
108
|
const secondaryNavLinksForMobile = this.getSecondaryNavLinks('mobile');
|
|
109
|
-
return (index.h(index.Host, { key: 'a71188cc4efd9871a697348ffe083f657b283ae5' }, index.h("div", { key: '39a4a107ffe75f8e7d19ede061885f614fdea2a9', class: "row row-top" }, index.h("div", { key: '1ea18d102840d6c9ffe8a1f38fd85517a9f16077', class: "social-icon-wrap" }, index.h("biggive-social-icon", { key: '87b181088b8ee43187b4597a581c404e14e7141d', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '9d860db71485461b4c6bcf0c8ce246750b8cb6f7', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'af8a1c0a3a9622726ec7dda9a05137e8d812f997', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'ccbdc145fdf913287165fdd1a6aaf77a55a98fa2', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), index.h("div", { key: 'cf6ec6572f496f7e1a7f97cbaa38cd0bd2f163f2', class: "nav-secondary" }, secondaryNavLinksForDesktop)), index.h("nav", { key: '1f420d5f1bdc0e4aac357c05296ee80c4da81e0f', role: "navigation", "aria-label": "Main Menu" }, index.h("div", { key: '1f71094ea9bcb6c61b647778019ee66f45924696', class: "navbar" }, index.h("div", { key: 'c8271896e5ceba96fa6a2bc020fe0164688180d9', class: "logo" }, index.h("a", { key: '902f4345095f1e5c3db333c2ed7d50d3ba0f88be', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '588c5162115a3ffafb97ddf86af53b9c4121bc19', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, index.h("path", { key: '7a0b313b75ea54c0f43958cab03288e6b5ebb264', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: '826af22f1b2a24adfc831adee8b60475fb14813b', d: "M13.5,1l13.5,23H0L13.5,1z" })))), index.h("biggive-misc-icon", { key: 'ad1be2f48a8e608964ccb756cb52da4eb338be24', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), index.h("div", { key: 'd31fb57deb63e658a40710ce0c45ecb1961fd8ca', class: "nav-links" }, index.h("div", { key: 'f3ca5a37d2aaa9b1f4abd31561b4779a9a5c9777', class: "sidebar-logo" }, index.h("a", { key: '743662a7d7074a588e217e91db25eda2ff6c2d15', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '382e809389d07335e5a953183fbf321a47fa6860', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, index.h("path", { key: 'e2d00cd60f7d0b77456d71e4f3269e35c83adf67', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: '7fa8156bb04c50d4f23da0269caf99870ad125f2', d: "M13.5,1l13.5,23H0L13.5,1z" }))), index.h("biggive-misc-icon", { key: '1c5c4da9f51b5a4aed4b74fcf0b91202703268d6', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), index.h("div", { key: 'd46e194563d167d40d7f6cf9364a7b37266fea90', id: "nav-primary" }, index.h("ul", { key: '32ac98b3314be325383a6c907131ec8d75cde07b', class: "links", slot: "nav-primary" }, index.h("li", { key: '28268f7688721e321dc2b05c60f044463173d9e3' }, index.h("a", { key: 'c85486ecfbe5485c350bd58a7f9670658117a621', href: helperMethods.makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), index.h("li", { key: '695828687874678a7a10996af29e2b9d3b425c30' }, index.h("a", { key: '1722a445158c9c379968261b6d2a7cd4976fb15e', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), index.h("li", { key: '50583501947a3a705302145d561f832d53ae5812' }, index.h("a", { key: '5727040fc6186f95fe158fc1addcb4669a7ed34c', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), index.h("li", { key: '093c20a8ae384ef0a3bd417a68cd7a8fcbb6883c' }, index.h("a", { key: 'a5be04190891aace0631af34ec570b35d695f212', onClick: this.noNav }, "Match Funding", index.h("biggive-misc-icon", { key: 'f2b7ddbf1b2069e293c689e719fbdbc7b8d56465', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '6dfc1e54f3f5e87ea8af7454398c5a408d604f06', class: "sub-menu" }, index.h("li", { key: 'a7f1ebbafa67f9d3d5fe0ab20f2c25fd79c8c8bf' }, index.h("a", { key: 'da7e73aec5ec72bcb733164aef5034ead9ea1ace', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), index.h("li", { key: '23674ba627c318ff0dedf4888eadd548d719bb8b' }, index.h("a", { key: '75f94ebf91032a6be1b945d3dce3ef7ab6ecbe26', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), index.h("li", { key: '4499cbfdb4e338c59c951040434c3e8d5f873a40', class: "more" }, index.h("a", { key: '6aa806d00d261b9e83b064442db0dc7a3422b211', onClick: this.noNav }, "Match Funding Opportunities", index.h("biggive-misc-icon", { key: 'c43491c531ee647d2b6dab93f1504b4e1403893d', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '7f624a30dcbc6b92a3ae63a7751c4a795d0cee66', class: "sub-sub-menu" }, index.h("li", { key: '6065b050344a21ff80839980c248e2db5b421fe6' }, index.h("a", { key: '254b45ddef637ec168dba0e6497ee9c2a5b95ba2', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", { key: 'abc178b63d469d45dc2dc720ca8b0d5bb1d1d562' }, index.h("a", { key: '50cb16854cd805fb607d37e3c35c0774b26e4730', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", { key: '42199ad0cb3be9e625e7d64f261831609d2543ca' }, index.h("a", { key: '9cd92b1ce4f2a407ae179ff17316dae5b6458c75', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'earth-raise'), class: "icon-earth-raise" }, "Earth Raise")), index.h("li", { key: 'e8bc7be925fc756753e46a75ec61840dec37e6c5' }, index.h("a", { key: 'ca3cc9ad2805c7de4711370d9ee6d89fd9fb7dfd', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), index.h("li", { key: '36b4238882618f28bc74245d195ded277549584e' }, index.h("a", { key: '7fa7882b9f8dfc0911e732f486c32734164e34d8', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), this.smallCharityWeekEnabled && (index.h("li", { key: 'e07ca9c9fc740fdfee5f1390ae232ba07fc4ac34' }, index.h("a", { key: '08c85cd5ed89a11823abc9004159f38aac59ce58', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'small-charity-week/'), class: "icon-small-charity" }, "Small Charity Week"))), index.h("li", { key: '21453834e0a0c2cf932b43e51ab1a9ecd25da0d9' }, index.h("a", { key: '42f297cbd359cff7fd1f2c50a85e699108a9b3b5', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), index.h("li", { key: '69a4d2d124be43e84ac571247e3f853c6ca97a63' }, index.h("a", { key: 'dab6d9fb5318d27eb564d14ff81a97b8dcd7490a', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), index.h("li", { key: '22bc3ca4a9480162a19fd7a142291808776b6170' }, index.h("a", { key: '8791334851f0446650f3c13e5a60086d0a1a6c62', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), index.h("li", { key: '91daf8fcbde3809abe925ca6cfc0a8528e4d40a5' }, index.h("a", { key: '642467f0a6ac5dab5b2345bb6402dcbe5941daf2', onClick: this.noNav }, "About Us", index.h("biggive-misc-icon", { key: 'a1fe2496c7252ceb61900c24f2460f266fb94d37', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: 'd8d50c42b9e5cbdd96cebe9940a73ed0ec69b2be', class: "sub-menu" }, index.h("li", { key: '3fb3af4014a6c73001297c2c5ac7414d6ea7bd4f' }, index.h("a", { key: 'b1614fde64e22c9596826032ec821285af3f237b', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", { key: '258d5442f4c3b5116966518b23d55008be1eaea1' }, index.h("a", { key: '6837cb0e8f01ffe0ac7b15502f8306f59f845f12', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", { key: 'db71318b135ca464d71e0b1c1da5463f767842cf' }, index.h("a", { key: '28d904f51af4eb659870ba378a53ae5c84c7a576', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", { key: '3eb060ac01c5ff9bba796541ca490ea1bad21a87' }, index.h("a", { key: '2d88e814473dd76af0684444935ce499efcbf1b9', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", { key: '9fcd7d7df13bb9fc777845162cc2578975d245e9' }, index.h("a", { key: '4e69489056e42b3557399df5a8709f313dbbcad6', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("li", { key: 'ed130d7e4369332a9d693cb09fd7a0a279a420a0' }, index.h("a", { key: 'cc64c8c9f861901a3bd4e848c41143c3efa182ce', onClick: this.noNav }, "Resources", index.h("biggive-misc-icon", { key: '15e23298166d754974c7dfe51a728b72592468bb', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '4a89c7cf28d272b65a43a5254fe38b1d065da112', class: "sub-menu" }, index.h("li", { key: '514382116c850dc40c3510568e400618105f4cbc' }, index.h("a", { key: '806b77af54317e0c8a5eebf35f24638ffe665192', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", { key: '71c3b652d6f04cf4bc04cb2663bc4e7bc91f9ac0' }, index.h("a", { key: '5bf9a5477ce3e0308710522f55135905d5d340f2', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", { key: '2476e4239439d3579bac7ae95ebd14e9644929ab' }, index.h("a", { key: '9c8f64e39821175d6dffc33dbd6a441ecb3e771d', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", { key: '5ca4f76a1b4ff47c6b76e28bc936412cd34d080d' }, index.h("a", { key: '2862b32143b97ab76ea1776297665698aa0bac36', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), index.h("div", { key: '1c8e8adea80983b4586b0f84b18d646ce9022a1d', class: "mobile-only" }, secondaryNavLinksForMobile)), index.h("div", { key: '48c81dfab0ca626f3cbc60e85eb8e18595e30120', class: "mobile-social-icon-wrap mobile-only" }, index.h("biggive-social-icon", { key: '75237763cd5aeb24771d28eae24c15543dadce28', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '6eb0fa1605acaee6c0a296efd6f2cbe727a9d1cd', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '677a432ccf71f8f7c9f36a1108d121176f9c7bfa', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '22c7aa0054aae2675f346a9b2d2ac1708feea3af', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
109
|
+
return (index.h(index.Host, { key: '66c9d731bfe8d866614589285e46e11b14e441e5' }, index.h("div", { key: '3f604578c708c1352b1c33a2806a3d10b5a40124', class: "row row-top" }, index.h("div", { key: '02fe4bdf422fcbafdc60cd5270992fc8cfe5c059', class: "social-icon-wrap" }, index.h("biggive-social-icon", { key: '8ef009beb5da1405c9be05a716ca4e52fad71e30', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '8d5e3c489d2ab0f2b81f7d34cc6834d0ebfb300e', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'f43dda372fab1f18a7832f901b59b4e7e2e2149a', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '7e0e7394cfebe90e5ffa15b4820a9832c9f95fd5', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), index.h("div", { key: '4dc4314f728396a57de6ee90295e9d041354dd2a', class: "nav-secondary" }, secondaryNavLinksForDesktop)), index.h("nav", { key: 'be9d0b22f5d07dcba41a7c8e405de0ca206729d4', role: "navigation", "aria-label": "Main Menu" }, index.h("div", { key: '97c58eccb483b8ba1a1273c60198bd7eca763792', class: "navbar" }, index.h("div", { key: '77623166d25a43ffae6180348ca1c973d466445c', class: "logo" }, index.h("a", { key: 'bfdd3808544234b80a7ed56589a3f5947cc5c8cb', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '51ad7e4a9b8b01d7f07b234ee2754ba0f8fc5620', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, index.h("path", { key: 'b3c0936620698b36a1f660f6d03371d73cf1b621', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: 'eb58f437d3fdf0ef29f4b3f7685dab58a6cd0696', d: "M13.5,1l13.5,23H0L13.5,1z" })))), index.h("biggive-misc-icon", { key: 'f3e5b896e5317db862b5d01422794530cad88283', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), index.h("div", { key: 'a820940117a2b47c50e4c197050c942f29299385', class: "nav-links" }, index.h("div", { key: '434935b86c74f3d88bdca7cbc300e62b0bc6c880', class: "sidebar-logo" }, index.h("a", { key: 'c0b0a959490b038ceaf392b3df72d66082dd6fd1', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '415c59123ba7b88934f3d1711840e35f3037f0a7', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, index.h("path", { key: 'db3fd49df6d97f36440d1dee150d15ee4b132700', d: "M51.9,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3C53.6,0,55,1.4,55,3S53.6,6.1,51.9,6.1z M49.3,23.8h5V7.7h-5V23.8z M68.5,7.7v1 c-0.8-0.7-2.3-1.4-4.1-1.4c-4.5,0-8.2,3.2-8.2,7.9c0,4.7,3.7,7.9,8.2,7.9c1.8,0,3.4-0.5,4.1-1.4v0.9c0,2.1-1.9,3.1-4.4,3.1 c-2.2,0-4-0.5-5.8-1.4V29c2.1,0.7,4.4,1,6,1c5,0,9.2-2,9.2-7.3v-15L68.5,7.7L68.5,7.7z M68.5,17.2c-0.7,1-1.9,1.4-3.2,1.4 c-2.1,0-3.8-1.2-3.8-3.4c0-2.2,1.7-3.4,3.8-3.4c1.3,0,2.5,0.6,3.2,1.5V17.2z M88.1,24.2c4,0,6.4-0.7,8.5-2V10h-11v4.7h5.8v4.1 c-0.8,0.2-1.8,0.4-3.2,0.4c-4.9,0-7.3-3.2-7.3-6.8c0-3.7,2.8-6.8,8-6.8c2.2,0,4.3,0.6,5.8,1.4V1.7c-1.5-0.6-3.4-1.1-6.1-1.1 c-7.6,0-13,5.3-13,11.8C75.5,19.1,80.4,24.2,88.1,24.2z M101.4,6.1c-1.7,0-3.1-1.4-3.1-3s1.4-3,3.1-3c1.8,0,3.2,1.4,3.2,3 S103.1,6.1,101.4,6.1z M98.8,23.8h5V7.7h-5V23.8z M115.1,15l-4.3-7.2H105l10.1,16.4l10.1-16.4h-5.8L115.1,15z M129.3,16.9h11.6 c0.1-7-4.2-9.5-8.4-9.5c-4.5,0-8.5,2.6-8.6,8.4c0,5.6,4.1,8.4,9.1,8.4c2.2,0,4.4-0.3,6.4-1.3v-4.4c-2.5,1.4-4.1,1.4-5.6,1.4 C131.7,19.8,129.5,19.2,129.3,16.9z M132.5,11.1c1.5,0,2.8,0.7,3,2.7h-6.2C129.6,11.9,131,11.1,132.5,11.1z M43.5,11.4 c1.2-1,1.8-2.4,1.8-4c0-3.1-3-6.3-7.3-6.3h-8v22.8h10.4c4.1,0,7.2-3,7.2-6.8C47.5,14.8,46.5,12.3,43.5,11.4z M35.2,5.7h2.4 C39,5.7,40,6.8,40,8c0,1.2-1,2.2-2.5,2.2h-2.4V5.7z M39.9,19.2h-4.7v-4.6h4.7c1.4,0,2.5,1,2.5,2.3C42.4,18.1,41.3,19.2,39.9,19.2z" }), index.h("path", { key: '21dcd07778160e076eaf7fd1c7faac4cc0c958a3', d: "M13.5,1l13.5,23H0L13.5,1z" }))), index.h("biggive-misc-icon", { key: 'e390fc7aeb539699659904addd29ff85095112a6', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), index.h("div", { key: 'a008e14c8578c540e894815d0be38ce0987263c6', id: "nav-primary" }, index.h("ul", { key: 'b1f7312e7029edbfdfb07aa67622e27461a67d06', class: "links", slot: "nav-primary" }, index.h("li", { key: 'fac9dbdec86808d95601366c204572957fa012c0' }, index.h("a", { key: '0b349c629caf1d0ce812b161bec7e019c2633db6', href: helperMethods.makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), index.h("li", { key: 'f7cb810483fc50aa707b69b3ed146c9e43fc1d1f' }, index.h("a", { key: '0b21237c318f269123f7e3963ddd6f50801b85ee', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), index.h("li", { key: 'ba2cff83b82e0e5c797fd0a844cf492597155340' }, index.h("a", { key: '544a3e057121c427fdff158764461b0cd524f21a', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), index.h("li", { key: 'cc3cc6f7ca80a66c505ab0c8d73e14f8464c3b5b' }, index.h("a", { key: '7f54cc2512373d8fffc03c89850bba62b037292c', onClick: this.noNav }, "Match Funding", index.h("biggive-misc-icon", { key: '2c972b14c640714a934a0a36724f5f178fcd7223', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '41beb8ed1dcf199ae4322b3c3d5d6f0230d67e33', class: "sub-menu" }, index.h("li", { key: '7830f3eb3085301bd7656af54dd48ae233e88c33' }, index.h("a", { key: '51eb76a0673535e029d80793ad00283615846faa', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), index.h("li", { key: '2ea4168c07f91e06f3bd99e48fb2c8ffaacf2496' }, index.h("a", { key: '0bd1de135d8f069405d91ee6aa36fe5ec8a4add9', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), index.h("li", { key: '8f7a2d33bb637bcf72eb2890d180cbe149c581bc', class: "more" }, index.h("a", { key: '14dc11c47785d86f3abfebe062170e0a2041ec45', onClick: this.noNav }, "Match Funding Opportunities", index.h("biggive-misc-icon", { key: 'cd358a24f9b6c6cdcf3d8833113eb27e2e471c8e', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '33e1ece1d2018d4452690fb0eef26c9093d35d85', class: "sub-sub-menu" }, index.h("li", { key: 'bed4b77223429c879ae755275bcc8ba76135de8a' }, index.h("a", { key: 'f3bf2f529c4fa8732c6171b6feb13cfa1416935b', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", { key: 'a49dd43085d325ebf2a0bcb05521c75cd18f2ef0' }, index.h("a", { key: '3b36a86e9a61d9781bd8368d1e49e09eb82c458d', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", { key: '05d2332689295511d4f5050e7bce1c2e066ccc39' }, index.h("a", { key: '01841e88c3589a8d4419b86da578b5fe314c509e', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'earth-raise'), class: "icon-earth-raise" }, "Earth Raise")), index.h("li", { key: '3e9d0eb16836793d8ecd7cfb9f1bdc90c489c726' }, index.h("a", { key: '711e547748b18ff2a35858ff2122a35bbcfbd462', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), index.h("li", { key: 'a4d61e7626e36d5f69c5652c033d9a65335313cd' }, index.h("a", { key: 'ae112eb469db4f8efe82ef259c8ff9b3cf29ec13', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), this.smallCharityWeekEnabled && (index.h("li", { key: 'e7126c4e9f5919c6de046b87237bcf0488db3da8' }, index.h("a", { key: '832cd81b0af1dcbd0bc51fafc54de6cc0c8dec5a', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'small-charity-week/'), class: "icon-small-charity" }, "Small Charity Week"))), index.h("li", { key: 'a019cb5193ae8b48a1240305df22a12e59e1276b' }, index.h("a", { key: '3015cd97729dce766513c1f1ff3c70c9a6ec89b8', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), index.h("li", { key: 'b2a277fa43eb97c2b387ac83404274dcff3602c9' }, index.h("a", { key: '6b7cb2c4cc6e91525e5c618ae734ab0ff1a5b6c9', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), index.h("li", { key: 'dd5c7f95417bf28fb0e9266e9c7395451a57cb39' }, index.h("a", { key: 'b8ff2dda5c51a7b3dae560081591539e21ce64e4', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), index.h("li", { key: 'c8ec508343bd63307ef617fcfaf548e39f1b631e' }, index.h("a", { key: 'c914c9b1e03971fbd4bdbd27abe42ff10b5a5f8f', onClick: this.noNav }, "About Us", index.h("biggive-misc-icon", { key: 'c746e82a663c7d97a2568ee3b2ffeaf8d0664f0b', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '3662d0af76c5c97cc3193f8ea8e493cf89858a85', class: "sub-menu" }, index.h("li", { key: '4767021c800a26d62da088bf61f38b3861ebc153' }, index.h("a", { key: '82550019f6e25e1751e49c3caf7d5d5585bb3106', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", { key: 'ca34349644a18532c254c9588b22208d3bcdbd0e' }, index.h("a", { key: 'bd6a91f65112c953b9c92b5100759301202c2241', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", { key: '8287efce04bc7c8db2bdedb04e2dbc22be340f1e' }, index.h("a", { key: 'f6362f96a70ce74c180f23f89d4bcfdd99f34db3', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", { key: '0b182f00aaa5e27e3abf93ac03eadcbc2d95d2e7' }, index.h("a", { key: '1c250abf9467ba28806e2dcd719b23dcb5ba2d88', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", { key: 'd75fdace89dc0866612c7474a709a5a629a70f0a' }, index.h("a", { key: 'd14c5fb1cafe6a9bdb4592dfce1e77ba66277bef', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("li", { key: 'e7d2d65a3b29a204c5c65162cc425a8880298b3e' }, index.h("a", { key: '8b739e4d44a3d6a7af4a566ce9ec4558bd75c2bd', onClick: this.noNav }, "Resources", index.h("biggive-misc-icon", { key: 'cba79ae9df44ad8e297d91e146118dd070664cf9', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: 'd9b26d36b2b64ee85e91140d60ea25bb939cbab0', class: "sub-menu" }, index.h("li", { key: 'aa72f0efb5e5adf57095b922e799c710d8a4cef1' }, index.h("a", { key: 'dfdfc1c71980b94f9266562b6721db71a5d122b6', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", { key: '9bd42357c2323a10c2f97b20fdb55534b222ab19' }, index.h("a", { key: 'e3e9888d33aec293984a02fcf65dfdb62bbd2450', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", { key: 'bb4f3a87494b79c683310042d89389983d8230dc' }, index.h("a", { key: '5b31791bc925f8d3ffbc003e265b32b07280ea9f', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", { key: '8ba6cfee66c7496952358504dd6f2e86cd3ee59f' }, index.h("a", { key: '353f7d8d5448901df98883172b82e99d7b20ca38', href: helperMethods.makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), index.h("div", { key: 'af651bf6df0cf9f180b34b5bad0583c32dc74f8e', class: "mobile-only" }, secondaryNavLinksForMobile)), index.h("div", { key: '085c0c2fe0be5b260b8abebd71396417aeeefae6', class: "mobile-social-icon-wrap mobile-only" }, index.h("biggive-social-icon", { key: 'b155a181ddbcfc09c973dac077d00265f7d6436d', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '0b01591cba931f5dab8347adaa0066f73ca6ecc4', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'aad123fe52f4ef19677f4cfc54efffcef5c34e8f', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '2ba8d833e7ad73e65b912077af9e2bbde63e7aa1', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
110
110
|
}
|
|
111
111
|
get host() { return index.getElement(this); }
|
|
112
112
|
};
|
|
@@ -22,7 +22,7 @@ const BiggiveMiscIcon = class {
|
|
|
22
22
|
const miscIcon = fontawesomeIcons.FontAwesomeIconsService.getMiscIcon(this.icon);
|
|
23
23
|
return (
|
|
24
24
|
// Note: the icon name prop is set as a css class too for any styling specific to certain icons
|
|
25
|
-
index.h("div", { key: '
|
|
25
|
+
index.h("div", { key: 'ef9081690ae5b3fd2b8695593b4acccbd06486ea', class: 'misc-icon-item background-colour-' + this.backgroundColour + ' ' + this.icon }, index.h("a", { key: '4f8f4ffd2d77a3c75cdc80b08bf82550ac67fefb', href: this.url }, index.h("svg", { key: 'c52bbc93ea445844a4e8756df6f63d8b89635c0d', width: miscIcon.icon[0], height: miscIcon.icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + miscIcon.icon[0] + ' ' + miscIcon.icon[1], overflow: "hidden" }, index.h("path", { key: '12e61ece3ef6bc0471832db565bc230f233511b9', d: miscIcon.icon[4].toString() })))));
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
BiggiveMiscIcon.style = biggiveMiscIconCss();
|
|
@@ -13,7 +13,7 @@ const BiggiveNavGroup = class {
|
|
|
13
13
|
this.inline = true;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (index.h("ul", { key: '
|
|
16
|
+
return (index.h("ul", { key: '99b689bcd1ef390edcef4800588346233766ef7f' }, index.h("slot", { key: 'ba014c43d7e3faff3b614bf8c533032819d5158d' })));
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
19
|
BiggiveNavGroup.style = biggiveNavGroupCss();
|