@biggive/components 202406131338.0.0 → 202406211443.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/biggive.esm.js.map +1 -1
- package/dist/biggive/p-03e72a1b.entry.js +2 -0
- package/dist/biggive/{p-2e83d695.entry.js → p-09533b1f.entry.js} +2 -2
- package/dist/biggive/{p-81c2fba4.entry.js → p-496a5b1e.entry.js} +2 -2
- package/dist/biggive/p-6ad95202.entry.js +2 -0
- package/dist/biggive/p-6ad95202.entry.js.map +1 -0
- package/dist/biggive/p-7113e36d.entry.js +2 -0
- package/dist/biggive/{p-99783fb6.entry.js → p-8146607d.entry.js} +2 -2
- package/dist/biggive/{p-ddccec78.entry.js → p-b4282163.entry.js} +2 -2
- package/dist/biggive/{p-51317b2d.entry.js → p-b930ac6d.entry.js} +2 -2
- package/dist/biggive/{p-e272f87a.entry.js → p-cc58f607.entry.js} +2 -2
- package/dist/biggive/{p-a2c1814d.entry.js → p-fe03b6e6.entry.js} +2 -2
- package/dist/cjs/biggive-accordion_40.cjs.entry.js +42 -63
- package/dist/cjs/biggive-accordion_40.cjs.entry.js.map +1 -1
- package/dist/cjs/biggive-category-icon.cjs.entry.js +1 -1
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-form.cjs.entry.js +1 -1
- package/dist/cjs/biggive-icon-group.cjs.entry.js +1 -1
- package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
- 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-table.cjs.entry.js +2 -2
- 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/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +10 -71
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js.map +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js +0 -14
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.js.map +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/test/biggive-campaign-card-filter-grid.spec.js +0 -6
- package/dist/collection/components/biggive-campaign-card-filter-grid/test/biggive-campaign-card-filter-grid.spec.js.map +1 -1
- package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +1 -1
- package/dist/collection/components/biggive-category-icon/biggive-category-icon.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-generic-icon/biggive-generic-icon.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-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-icon-group/biggive-icon-group.js +1 -1
- 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-quote/biggive-quote.js +1 -1
- 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/components/biggive-campaign-card-filter-grid.js +8 -31
- package/dist/components/biggive-campaign-card-filter-grid.js.map +1 -1
- package/dist/components/biggive-campaign-highlights.js +1 -1
- package/dist/components/biggive-category-icon.js +1 -1
- package/dist/components/biggive-cookie-banner.js +1 -1
- package/dist/components/biggive-form-field-select2.js +2 -2
- package/dist/components/biggive-form.js +1 -1
- package/dist/components/biggive-formatted-text.js +1 -1
- package/dist/components/biggive-generic-icon2.js +1 -1
- package/dist/components/biggive-grid.js +1 -1
- package/dist/components/biggive-heading.js +1 -1
- package/dist/components/biggive-hero-image.js +2 -2
- package/dist/components/biggive-icon-button.js +2 -2
- package/dist/components/biggive-icon-group.js +1 -1
- package/dist/components/biggive-image-button.js +2 -2
- package/dist/components/biggive-image-card.js +2 -2
- 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 +2 -2
- package/dist/components/biggive-popup2.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 +2 -2
- package/dist/components/biggive-table.js +2 -2
- package/dist/components/biggive-text-input.js +1 -1
- package/dist/components/biggive-timeline.js +2 -2
- 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/esm/biggive-accordion_40.entry.js +42 -63
- package/dist/esm/biggive-accordion_40.entry.js.map +1 -1
- package/dist/esm/biggive-category-icon.entry.js +1 -1
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-form.entry.js +1 -1
- package/dist/esm/biggive-icon-group.entry.js +1 -1
- package/dist/esm/biggive-image-card.entry.js +2 -2
- package/dist/esm/biggive-nav-group.entry.js +1 -1
- package/dist/esm/biggive-nav-item.entry.js +1 -1
- package/dist/esm/biggive-table.entry.js +2 -2
- 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/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.d.ts +0 -12
- package/dist/types/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.stories.d.ts +0 -10
- package/dist/types/components.d.ts +0 -18
- package/hydrate/index.js +53 -76
- package/package.json +1 -1
- package/dist/biggive/p-931fdb53.entry.js +0 -2
- package/dist/biggive/p-97ad0d35.entry.js +0 -2
- package/dist/biggive/p-e3e48a0a.entry.js +0 -2
- package/dist/biggive/p-e3e48a0a.entry.js.map +0 -1
- /package/dist/biggive/{p-97ad0d35.entry.js.map → p-03e72a1b.entry.js.map} +0 -0
- /package/dist/biggive/{p-2e83d695.entry.js.map → p-09533b1f.entry.js.map} +0 -0
- /package/dist/biggive/{p-81c2fba4.entry.js.map → p-496a5b1e.entry.js.map} +0 -0
- /package/dist/biggive/{p-931fdb53.entry.js.map → p-7113e36d.entry.js.map} +0 -0
- /package/dist/biggive/{p-99783fb6.entry.js.map → p-8146607d.entry.js.map} +0 -0
- /package/dist/biggive/{p-ddccec78.entry.js.map → p-b4282163.entry.js.map} +0 -0
- /package/dist/biggive/{p-51317b2d.entry.js.map → p-b930ac6d.entry.js.map} +0 -0
- /package/dist/biggive/{p-e272f87a.entry.js.map → p-cc58f607.entry.js.map} +0 -0
- /package/dist/biggive/{p-a2c1814d.entry.js.map → p-fe03b6e6.entry.js.map} +0 -0
|
@@ -306,14 +306,12 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
306
306
|
this.beneficiariesPlaceHolderText = 'Select beneficiary';
|
|
307
307
|
this.categoriesPlaceHolderText = 'Select category';
|
|
308
308
|
this.locationsPlaceHolderText = 'Select location';
|
|
309
|
-
this.fundingPlaceHolderText = 'Select funding';
|
|
310
309
|
/**
|
|
311
310
|
* This and similar properties represent selections made in the popup but not yet applied.
|
|
312
311
|
*/
|
|
313
312
|
this.newSelectedFilterCategory = null;
|
|
314
313
|
this.newSelectedFilterBeneficiary = null;
|
|
315
314
|
this.newSelectedFilterLocation = null;
|
|
316
|
-
this.newSelectedFilterFunding = null;
|
|
317
315
|
this.categoryFilterSelectionChanged = (value) => {
|
|
318
316
|
this.newSelectedFilterCategory = value;
|
|
319
317
|
};
|
|
@@ -323,30 +321,23 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
323
321
|
this.locationSelectionChanged = (value) => {
|
|
324
322
|
this.newSelectedFilterLocation = value;
|
|
325
323
|
};
|
|
326
|
-
this.fundingSelectionChanged = (value) => {
|
|
327
|
-
this.newSelectedFilterFunding = value;
|
|
328
|
-
};
|
|
329
324
|
this.sortBySelectionChanged = (value) => {
|
|
330
325
|
this.selectedSortByOption = value;
|
|
331
326
|
this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
332
327
|
};
|
|
333
328
|
this.handleApplyFilterButtonClick = () => {
|
|
334
|
-
var _a, _b, _c, _d
|
|
329
|
+
var _a, _b, _c, _d;
|
|
335
330
|
this.selectedFilterCategory = (_a = this.newSelectedFilterCategory) !== null && _a !== void 0 ? _a : this.selectedFilterCategory;
|
|
336
331
|
this.selectedFilterBeneficiary = (_b = this.newSelectedFilterBeneficiary) !== null && _b !== void 0 ? _b : this.selectedFilterBeneficiary;
|
|
337
332
|
this.selectedFilterLocation = (_c = this.newSelectedFilterLocation) !== null && _c !== void 0 ? _c : this.selectedFilterLocation;
|
|
338
|
-
this.selectedFilterFunding = (_d = this.newSelectedFilterFunding) !== null && _d !== void 0 ? _d : this.selectedFilterFunding;
|
|
339
333
|
const searchAndFilterObj = this.getSearchAndFilterObject();
|
|
340
334
|
this.doSearchAndFilterUpdate.emit(searchAndFilterObj);
|
|
341
|
-
const filterPopup = (
|
|
335
|
+
const filterPopup = (_d = this.el.shadowRoot) === null || _d === void 0 ? void 0 : _d.getElementById('filter-popup');
|
|
342
336
|
if (filterPopup) {
|
|
343
337
|
filterPopup.closeFromOutside();
|
|
344
338
|
}
|
|
345
339
|
this.filtersApplied =
|
|
346
|
-
typeof searchAndFilterObj.filterBeneficiary === 'string' ||
|
|
347
|
-
typeof searchAndFilterObj.filterCategory === 'string' ||
|
|
348
|
-
typeof searchAndFilterObj.filterFunding === 'string' ||
|
|
349
|
-
typeof searchAndFilterObj.filterLocation === 'string';
|
|
340
|
+
typeof searchAndFilterObj.filterBeneficiary === 'string' || typeof searchAndFilterObj.filterCategory === 'string' || typeof searchAndFilterObj.filterLocation === 'string';
|
|
350
341
|
};
|
|
351
342
|
this.handleSearchButtonPressed = () => {
|
|
352
343
|
this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
@@ -366,7 +357,6 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
366
357
|
var _a;
|
|
367
358
|
this.newSelectedFilterBeneficiary = this.selectedFilterBeneficiary;
|
|
368
359
|
this.newSelectedFilterCategory = this.selectedFilterCategory;
|
|
369
|
-
this.newSelectedFilterFunding = this.selectedFilterFunding;
|
|
370
360
|
this.newSelectedFilterLocation = this.selectedFilterLocation;
|
|
371
361
|
const filterPopup = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.getElementById('filter-popup');
|
|
372
362
|
if (filterPopup) {
|
|
@@ -382,7 +372,6 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
382
372
|
this.selectedSortByOption = this.initialSortByOption;
|
|
383
373
|
this.selectedFilterBeneficiary = null;
|
|
384
374
|
this.selectedFilterCategory = null;
|
|
385
|
-
this.selectedFilterFunding = null;
|
|
386
375
|
this.selectedFilterLocation = null;
|
|
387
376
|
// Clear <biggive-form-field-select> components' internal selectedValue and selectedLabel. DON-654.
|
|
388
377
|
['sort-by', 'categories', 'beneficiaries', 'locations', 'funding'].forEach(id => {
|
|
@@ -406,7 +395,6 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
406
395
|
sortBy: null,
|
|
407
396
|
filterCategory: null,
|
|
408
397
|
filterBeneficiary: null,
|
|
409
|
-
filterFunding: null,
|
|
410
398
|
filterLocation: null,
|
|
411
399
|
});
|
|
412
400
|
};
|
|
@@ -418,12 +406,10 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
418
406
|
this.categoryOptions = undefined;
|
|
419
407
|
this.beneficiaryOptions = undefined;
|
|
420
408
|
this.locationOptions = undefined;
|
|
421
|
-
this.fundingOptions = undefined;
|
|
422
409
|
this.selectedSortByOption = undefined;
|
|
423
410
|
this.selectedFilterCategory = null;
|
|
424
411
|
this.selectedFilterBeneficiary = null;
|
|
425
412
|
this.selectedFilterLocation = null;
|
|
426
|
-
this.selectedFilterFunding = null;
|
|
427
413
|
this.filtersApplied = undefined;
|
|
428
414
|
}
|
|
429
415
|
getSearchAndFilterObject() {
|
|
@@ -432,7 +418,6 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
432
418
|
sortBy: this.selectedSortByOption,
|
|
433
419
|
filterCategory: this.selectedFilterCategory,
|
|
434
420
|
filterBeneficiary: this.selectedFilterBeneficiary,
|
|
435
|
-
filterFunding: this.selectedFilterFunding,
|
|
436
421
|
filterLocation: this.selectedFilterLocation,
|
|
437
422
|
};
|
|
438
423
|
}
|
|
@@ -445,9 +430,6 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
445
430
|
case 'categories':
|
|
446
431
|
this.selectedFilterCategory = null;
|
|
447
432
|
break;
|
|
448
|
-
case 'funding':
|
|
449
|
-
this.selectedFilterFunding = null;
|
|
450
|
-
break;
|
|
451
433
|
case 'locations':
|
|
452
434
|
this.selectedFilterLocation = null;
|
|
453
435
|
break;
|
|
@@ -466,22 +448,19 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
466
448
|
this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject());
|
|
467
449
|
}
|
|
468
450
|
componentWillRender() {
|
|
469
|
-
this.filtersApplied =
|
|
470
|
-
this.selectedFilterCategory !== null || this.selectedFilterBeneficiary !== null || this.selectedFilterFunding !== null || this.selectedFilterLocation !== null;
|
|
451
|
+
this.filtersApplied = this.selectedFilterCategory !== null || this.selectedFilterBeneficiary !== null || this.selectedFilterLocation !== null;
|
|
471
452
|
this.initialSortByOption = this.selectedSortByOption;
|
|
472
453
|
}
|
|
473
454
|
render() {
|
|
474
455
|
var _a;
|
|
475
456
|
const sortOptions = this.getSortOptions();
|
|
476
|
-
return (index.h("div", { key: '
|
|
457
|
+
return (index.h("div", { key: '8365ed3c9b4cfe2a595a2dcb70419ee753469bf8', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: 'dc3ee6370b973efc5151d2b3b47c9ae2dd43f33b', class: "sleeve" }, index.h("div", { key: '4be0eea4245fdb2428c000ee05f1414dc34e5e3c', class: "search-wrap" }, index.h("h4", { key: 'a7a44685574b70eae8fcf1341654cfaae6d9b08d' }, this.intro), index.h("div", { key: '77a488f6b4a40190a976e89a9f794f90f0490597', class: "field-wrap" }, index.h("div", { key: '17aed0a3f8d921af3532e2715bb6926ce3d55f3f', class: "input-wrap" }, index.h("svg", { key: '4271069514f6b069bbc51c88e42d7647c5887d00', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, index.h("path", { key: '234ab96b40dcecba396ee7594c7395c1143d4680', d: fontawesomeIcons.faMagnifyingGlass.icon[4].toString() })), index.h("input", { key: '1fdc398be25246a5c1d8b8bf8a8d19c08a523ce2', 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: '113ba0a0cbbfbc07084969aab0ae64f8cf1b508f', onClick: this.handleSearchButtonPressed, label: this.buttonText }))), index.h("div", { key: '9fab39fb3f248d4d63b04103afb2971504036289', class: "sort-filter-wrap" }, index.h("div", { key: 'dcaf19bb5be04370a669c40e349f601ee7b2d717', class: "filter-wrap" }, index.h("biggive-button", { key: '0408192262b87b45d646778f4a005e803f3e3544', class: "filter", colourScheme: "primary", onClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), index.h("biggive-popup", { key: '67da1ed09c70ae8ef8d53829865033f86a7a8c1b', id: "filter-popup" }, index.h("h4", { key: 'a8efd21c0ea44fe31d1b919cb99ea83ae1be5bbc', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), index.h("div", { key: 'b4a58acc0f69ec2c6a484041759221332356916e', class: "select-wrapper-1" }, index.h("biggive-form-field-select", { key: '2da6dd301967e828a0b34b5c335de6c6f24d52de', 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: 'edb6c2c12c36ffcb6667b2c6c44021bdd2f8af47', class: "select-wrapper-2" }, index.h("biggive-form-field-select", { key: '8dd623795d25ad09cd3602754a7924eda53afc00', 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: '4597c0c911afc2d4fb1843a0991f0d66b814246a', class: "select-wrapper-3" }, index.h("biggive-form-field-select", { key: 'ab19535adfecb846ab1457b2d83e717e9e6dfe19', 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: '5690d95c7f29d9832124782dee7e9f68e9ac0887', class: "align-right" }, index.h("biggive-button", { key: '20632f88d1958193a8c8194f1400b635e1193cbe', label: "Apply filters", onClick: this.handleApplyFilterButtonClick })))), index.h("div", { key: 'bf28b042dd6336d00e2140962dd5ddca12062d08', class: "sort-wrap" }, index.h("biggive-form-field-select", { key: 'c899f90a969b92043b16a46d4325b3c312ef8327', 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: '8155f00ba6ffd47e4504939067cf302a3bd87dfd', value: "amountRaised", label: "Most raised" }), index.h("biggive-form-field-select-option", { key: 'ff58f3a3ba1fe69d45f6eee50f2e3a9cde5be6e3', value: "matchFundsRemaining", label: "Match funds remaining" }), (this.searchText || '').length > 0 ? index.h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), index.h("div", { key: '7ab2fc3ff68eaede6d971b42e283474c3136f364', class: "selected-filter-wrap" }, index.h("div", { key: 'e135cc4471f6f935d53f14f23ce47d6c2a82e610', class: "selected-filters" }, this.selectedFilterCategory && (index.h("span", { key: '524c312af19c5e95edc1043bceb6639b86d7035e', class: "button", onClick: () => {
|
|
477
458
|
this.removeFilter('categories');
|
|
478
|
-
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: '
|
|
459
|
+
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: 'a6f64e4339178f1f5afd28fbc73e26759e0828e6', class: "button", onClick: () => {
|
|
479
460
|
this.removeFilter('beneficiaries');
|
|
480
|
-
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: '
|
|
461
|
+
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: '6c674a9bb314deec33af58aded3e3b3dc43cdccf', class: "button", onClick: () => {
|
|
481
462
|
this.removeFilter('locations');
|
|
482
|
-
} }, this.selectedFilterLocation)), this.
|
|
483
|
-
this.removeFilter('funding');
|
|
484
|
-
} }, this.selectedFilterFunding))), index.h("div", { key: '86f74e0f47a477e8a28b6f9b1a0e119e54f404a1', class: "clear-all" }, index.h("a", { key: '8931c9f5b0b0ba26641f1c82a1f4181f6f79cb2a', onClick: this.handleClearAll }, "Clear all"))), index.h("div", { key: '14e0f436d4dfadc681c0541c034964e7f234fcfc', class: "campaign-grid" }, index.h("slot", { key: '7eb27aa0723b6d66923518fc4763ba361b0982b3', name: "campaign-grid" })))));
|
|
463
|
+
} }, this.selectedFilterLocation))), index.h("div", { key: '5a63719ad2f7dde27ac1d1d01dc3d0bcffec01fd', class: "clear-all" }, index.h("a", { key: 'ee5415f6dd13b76120ba037d80bfb43d50380c2e', onClick: this.handleClearAll }, "Clear all"))), index.h("div", { key: '88d1f1aa98d74e7519eb9c844f6cd59951bbfe4b', class: "campaign-grid" }, index.h("slot", { key: '0dc83f71480cd53966ef61f93e9fc31fb3794016', name: "campaign-grid" })))));
|
|
485
464
|
}
|
|
486
465
|
// I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
|
|
487
466
|
// test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
|
|
@@ -543,7 +522,7 @@ const BiggiveCampaignHighlights = class {
|
|
|
543
522
|
this.championUrl = undefined;
|
|
544
523
|
}
|
|
545
524
|
render() {
|
|
546
|
-
return (index.h("div", { key: '
|
|
525
|
+
return (index.h("div", { key: 'b0357c81263beb2277985a0793f455a248187134', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: 'e55e2401cfdb26448bb40f02edf70bb2c135d5b3', 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: 'fa828f6b43e8963423328082c331cc9881e9f56e', class: "meta-wrap" }, index.h("div", { key: 'cf44139ef09edc237b43547e2980334ba700e573', class: "meta-item" }, index.h("span", { key: '110e506e0323711ec2a0a721813465097d039224', class: "label" }, this.primaryFigureLabel), index.h("span", { key: '4f7e1e04a962bb7fb027c6a06d2ee1714a1d0a85', class: "text" }, this.primaryFigureAmount)), index.h("div", { key: '925c7866f64026d14217583e886d2c9fa34ab3f5', class: "meta-item" }, index.h("span", { key: 'ad0a802c3ab0d9a4adebb6b195bf955a75cf70e6', class: "label" }, this.secondaryFigureLabel), index.h("span", { key: 'c0ec0cc87b6953db0ad072c853a918fc0188a423', class: "text" }, this.secondaryFigureAmount))), index.h("div", { key: 'fd425ebdc06f9e5e14722700de400c1f67d3e1d2', class: "progress-bar-wrap" }, index.h("biggive-progress-bar", { key: 'ab66eac351b9b00edcd405fd8acc3be49dc960c1', counter: this.progressBarCounter, "colour-scheme": "primary" })), index.h("div", { key: 'fbe28fe65217d92efa9731972b583b9696794dd5', 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)));
|
|
547
526
|
}
|
|
548
527
|
};
|
|
549
528
|
BiggiveCampaignHighlights.style = BiggiveCampaignHighlightsStyle0;
|
|
@@ -638,12 +617,12 @@ const BiggiveFormFieldSelect = class {
|
|
|
638
617
|
console.error('options undefined');
|
|
639
618
|
options = [];
|
|
640
619
|
}
|
|
641
|
-
return (index.h("div", { key: '
|
|
620
|
+
return (index.h("div", { key: '8af3899cef3d85d076d942690cac60103fed412b', class: "selectWrapper" }, index.h("label", { key: 'e153eeada55497f16c9d2551ade6803fb57f0108', class: greyIfRequired }, index.h("div", { key: '960d79669afdd0eef4dcba60ec03b1e1b596133e', class: 'prompt' + greyIfRequired }, this.prompt), index.h("div", { key: '7f2095e89fd4e6097d373fcdf91e811953862cbf', class: 'dropdown space-below-' +
|
|
642
621
|
this.spaceBelow +
|
|
643
622
|
' select-style-' +
|
|
644
623
|
this.selectStyle +
|
|
645
624
|
(this.prompt === null ? ' noprompt' : '') +
|
|
646
|
-
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, index.h("div", { key: '
|
|
625
|
+
(this.selectedOptionColour === 'inherit' ? ' inherit-colour' : '') }, index.h("div", { key: '99215955482a9555d0e968c6c94b32da0ab29e75', class: "sleeve" }, index.h("select", { key: '1b488b3bfd3ebc2693c280a573d54a6d001e5e7e', class: greyIfRequired, onChange: this.doOptionSelectCompletedHandler }, options.map(option => (index.h("option", { selected: this.selectedValue === option.value, value: option.value }, option.label)))), index.h("div", { key: '90f67b09ca37b6d0f1eedc685abf3ab93afe1a2b', class: "arrow" }))))));
|
|
647
626
|
}
|
|
648
627
|
get el() { return index.getElement(this); }
|
|
649
628
|
};
|
|
@@ -660,7 +639,7 @@ const BiggiveFormattedText = class {
|
|
|
660
639
|
this.maxWidth = 100;
|
|
661
640
|
}
|
|
662
641
|
render() {
|
|
663
|
-
return (index.h("div", { key: '
|
|
642
|
+
return (index.h("div", { key: '2b1ecb98b3203db808c7ab84889556963e7a0252', class: 'container max-width-' + this.maxWidth + ' text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, index.h("slot", { key: 'adca1c624c35466b6057f55a07fb59e6146743a6' })));
|
|
664
643
|
}
|
|
665
644
|
};
|
|
666
645
|
BiggiveFormattedText.style = BiggiveFormattedTextStyle0;
|
|
@@ -697,7 +676,7 @@ const BiggiveGenericIcon = class {
|
|
|
697
676
|
const iconDefinition = this.getIconDefinition();
|
|
698
677
|
return (
|
|
699
678
|
// Note: the icon name prop is set as a css class too for any styling specific to certain icons
|
|
700
|
-
index.h("div", { key: '
|
|
679
|
+
index.h("div", { key: '3dd00dc22f91d283d753b5260b0720e8ae31aa42', class: 'generic-icon-item background-colour-' + this.backgroundColour + ' ' + this.icon }, index.h("a", { key: 'ac69ce91f9cc65bfa50581e95591dcafed2f979b', href: this.url }, iconDefinition ? (index.h("svg", { width: iconDefinition.icon[0], height: iconDefinition.icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + iconDefinition.icon[0] + ' ' + iconDefinition.icon[1] }, index.h("path", { d: iconDefinition.icon[4].toString() }))) : null)));
|
|
701
680
|
}
|
|
702
681
|
};
|
|
703
682
|
BiggiveGenericIcon.style = BiggiveGenericIconStyle0;
|
|
@@ -714,7 +693,7 @@ const BiggiveGrid = class {
|
|
|
714
693
|
this.columnGap = 0;
|
|
715
694
|
}
|
|
716
695
|
render() {
|
|
717
|
-
return (index.h("div", { key: '
|
|
696
|
+
return (index.h("div", { key: '1b506342f889aab0f87cc4f8d10ada30ce932522', class: 'grid column-count-' + this.columnCount + ' space-below-' + this.spaceBelow + ' column-gap-' + this.columnGap + (this.spaceBetween ? ' space-between' : '') }, index.h("slot", { key: 'fae74aa675e2b3f784598c56f4673b1e9bf06edc' })));
|
|
718
697
|
}
|
|
719
698
|
};
|
|
720
699
|
BiggiveGrid.style = BiggiveGridStyle0;
|
|
@@ -737,7 +716,7 @@ const BiggiveHeading = class {
|
|
|
737
716
|
}
|
|
738
717
|
render() {
|
|
739
718
|
const Tag = this.htmlElement;
|
|
740
|
-
return (index.h("div", { key: '
|
|
719
|
+
return (index.h("div", { key: '8a56b518e74b57668e35bd800d65ffacd3613855', class: 'container align-' + this.align + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, index.h(Tag, { key: 'bb0b07ad14f57c04b5beb4b859efc7bc5297caf2', 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)));
|
|
741
720
|
}
|
|
742
721
|
};
|
|
743
722
|
BiggiveHeading.style = BiggiveHeadingStyle0;
|
|
@@ -769,9 +748,9 @@ const BiggiveHeroImage = class {
|
|
|
769
748
|
render() {
|
|
770
749
|
const mainTitleClasses = 'main-title ' + (typeof this.mainTitleColour === 'string' && this.mainTitleColour.length > 0 ? `text-colour-${this.mainTitleColour}` : '');
|
|
771
750
|
const teaserClasses = 'teaser ' + (typeof this.teaserColour === 'string' && this.teaserColour.length > 0 ? `text-colour-${this.teaserColour}` : '');
|
|
772
|
-
return (index.h("div", { key: '
|
|
751
|
+
return (index.h("div", { key: '318361bdde2d849eb74a93dcdd6a6ac5ec79c3d0', class: 'container colour-scheme-' + this.colourScheme + ' space-below-' + this.spaceBelow }, index.h("div", { key: 'e04b69726d92c03a01f095f7fa99990039bf2a9e', class: "sleeve" }, index.h("div", { key: '309ad6bd04d40933127f32bb29e07e74f3f366a5', 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", { key: '45ed48865a54a8145d76c79b52982b9f9c410b2b', class: 'slug text-colour-' + this.slugColour }, this.slug), index.h("h1", { key: '58d9ad8280b4ded0b2ede6d6a3db0dbf7e11b06d', class: mainTitleClasses }, this.mainTitle), index.h("div", { key: '897cd01c36c7951a79b130c6926a4353cb7a898f', class: teaserClasses }, this.teaser), this.buttonLabel != null && this.buttonUrl != null
|
|
773
752
|
? index.h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })
|
|
774
|
-
: null), index.h("div", { key: '
|
|
753
|
+
: null), index.h("div", { key: 'f4bfb4b0b690120683e15a7e3923c14def6dd14d', 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))));
|
|
775
754
|
}
|
|
776
755
|
};
|
|
777
756
|
BiggiveHeroImage.style = BiggiveHeroImageStyle0;
|
|
@@ -805,7 +784,7 @@ const BiggiveIconButton = class {
|
|
|
805
784
|
this.buttonId = undefined;
|
|
806
785
|
}
|
|
807
786
|
render() {
|
|
808
|
-
return (index.h("div", { key: '
|
|
787
|
+
return (index.h("div", { key: '4b4762c003d3b76b3a9af90fa1a7c1cbf187a8df', class: 'container space-below-' +
|
|
809
788
|
this.spaceBelow +
|
|
810
789
|
' background-colour-' +
|
|
811
790
|
this.backgroundColour +
|
|
@@ -816,7 +795,7 @@ const BiggiveIconButton = class {
|
|
|
816
795
|
' rounded-' +
|
|
817
796
|
this.rounded +
|
|
818
797
|
' shadow-' +
|
|
819
|
-
this.shadow }, index.h("a", { key: '
|
|
798
|
+
this.shadow }, index.h("a", { key: 'ce1a0ce553f91936b394060ec210933fcc25fc12', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, index.h("div", { key: '192512c454cc2802e71749411644198938f2eff9', class: "sleeve", onClick: this.handleButtonClick }, index.h("div", { key: 'bb1077ee0be664448a4df251b1e816cc11b5947a', class: 'icon-wrap ' + ' size-' + this.size + ' circle-' + this.circle.toString() }, index.h("biggive-generic-icon", { key: '4d48e0f2eab6b1c7b2ce7df690ef4afbbdd57508', iconGroup: this.iconGroup, 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))));
|
|
820
799
|
}
|
|
821
800
|
};
|
|
822
801
|
BiggiveIconButton.style = BiggiveIconButtonStyle0;
|
|
@@ -850,7 +829,7 @@ const BiggiveImage = class {
|
|
|
850
829
|
return height;
|
|
851
830
|
}
|
|
852
831
|
render() {
|
|
853
|
-
return (index.h("div", { key: '
|
|
832
|
+
return (index.h("div", { key: '71d6ece0801403b110e40ba4ff836610f281a320', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow, style: { width: this.getWidth(), height: this.getHeight() } }, index.h("div", { key: '1777289f1b58fe62defafb7495d7a924079212db', class: "image-wrap" }, index.h("img", { key: '49bb60a2b41dc0718a8c29651d465decf4763f14', src: this.imageUrl, style: { width: this.getWidth(), height: this.getHeight() }, alt: this.imageAltText }))));
|
|
854
833
|
}
|
|
855
834
|
};
|
|
856
835
|
BiggiveImage.style = BiggiveImageStyle0;
|
|
@@ -884,7 +863,7 @@ const BiggiveImageButton = class {
|
|
|
884
863
|
this.buttonId = undefined;
|
|
885
864
|
}
|
|
886
865
|
render() {
|
|
887
|
-
return (index.h("div", { key: '
|
|
866
|
+
return (index.h("div", { key: '704eaebf048d98793e629197fe652bb0b2ca52cf', class: 'container space-below-' +
|
|
888
867
|
this.spaceBelow +
|
|
889
868
|
' background-colour-' +
|
|
890
869
|
this.backgroundColour +
|
|
@@ -895,7 +874,7 @@ const BiggiveImageButton = class {
|
|
|
895
874
|
' rounded-' +
|
|
896
875
|
this.rounded +
|
|
897
876
|
' shadow-' +
|
|
898
|
-
this.shadow }, index.h("a", { key: '
|
|
877
|
+
this.shadow }, index.h("a", { key: '67dc85afccc44ce147a4d87417a63c453f96c641', href: this.url, target: this.openInNewTab ? '_blank' : '_self', id: this.buttonId }, index.h("div", { key: 'c7241f113e19aaab7af897f84636cdc0e15a85ee', class: "sleeve", onClick: this.handleButtonClick }, index.h("div", { key: 'f3173549cb15a4247186ac1936b9b06dd9297f98', 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))));
|
|
899
878
|
}
|
|
900
879
|
};
|
|
901
880
|
BiggiveImageButton.style = BiggiveImageButtonStyle0;
|
|
@@ -921,7 +900,7 @@ const BiggiveImageFeature = class {
|
|
|
921
900
|
this.buttonColourScheme = 'primary';
|
|
922
901
|
}
|
|
923
902
|
render() {
|
|
924
|
-
return (index.h("div", { key: '
|
|
903
|
+
return (index.h("div", { key: '5eaf17015c83630a2dcb374c47d885980db8bf0b', class: 'container text-colour-' + this.defaultTextColour + ' space-below-' + this.spaceBelow }, index.h("div", { key: 'c805c01e60b2e02834a720842ba3cee3700de297', class: "sleeve" }, index.h("div", { key: '8e6910750d40c4de25a24dbe0fe19073197dd9a2', class: "content-wrap" }, index.h("div", { key: '7637f47c746dbdac046b26669791e1e3eb7fd952', class: 'slug text-colour-' + this.slugColour }, this.slug), index.h("h2", { key: 'a1d4761ef07ca47859b104789e5be2ec14e123f1', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), index.h("div", { key: '318fee80d68a3b09cc044126c16f673b16e3b1e2', 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: '0a8cb85122e04ef3569b6dc00572cc08e4067543', 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))));
|
|
925
904
|
}
|
|
926
905
|
};
|
|
927
906
|
BiggiveImageFeature.style = BiggiveImageFeatureStyle0;
|
|
@@ -1016,7 +995,7 @@ const BiggiveMainMenu = class {
|
|
|
1016
995
|
const now = new Date();
|
|
1017
996
|
const ccIsOpenNowIsh = now > CCOpenDate && now < CCCloseDate;
|
|
1018
997
|
const homePageLink = ccIsOpenNowIsh ? '/?noredirect' : '/';
|
|
1019
|
-
return (index.h(index.Host, { key: 'afdf22a39116992ee88f9a0e5336b35265e13100' }, index.h("div", { key: 'c81490815b81b27b5393cf69375152527c8c1d35', class: "row row-top" }, index.h("div", { key: 'd34783baa7960ffaf713d3e86dd8132b494ac51d', class: "social-icon-wrap" }, index.h("biggive-social-icon", { key: '628be0152a5eef7bba28812ea5ef5865f73c32ac', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '57facfe4ecf5fec3dc359a48dda59274082c2e6b', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '43686d04d180e02d20b3237eec50d4558a199acd', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'c985861e3a4bce9c6e361516582d776424bd3c54', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '2177f88b649ce92167e2c21236ca664eeaef0716', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), index.h("div", { key: '2bf0e8e0b74a2cc0689eff165466d91efd119d19', class: "nav-secondary" }, this.getSecondaryNavLinks())), index.h("nav", { key: '7a1588484289f2a079ea14c78491d584f042913f', role: "navigation", "aria-label": "Main Menu" }, index.h("div", { key: '96828ac717a60d3b28328ab0c5712712e89aecff', class: "navbar" }, index.h("div", { key: 'a2acbbb9b445cbe88c1835fc1366459497cfabaf', class: "logo" }, index.h("a", { key: '47ef03e126caf6d1c00a90bb70d0878b2eadc5ff', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '8031f7a72fd9b1867a6724eb3ca1aada88c3ea9b', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, index.h("path", { key: 'e67469a771d86faafdaa641ce928dbcf98e4ac17', 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: 'd81d32e23caf236b19a1b4cd1dc95a59c9d1eabf', d: "M13.5,1l13.5,23H0L13.5,1z" })))), index.h("biggive-misc-icon", { key: '7a04bacb3b4f0ca4c170b8371569deb607f919ac', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), index.h("div", { key: '0b7e2afcc956bbef4b3cff40f344acc5d8c284b8', class: "nav-links" }, index.h("div", { key: '440633c48d2af861e7c546f59a2ba03babffecbb', class: "sidebar-logo" }, index.h("a", { key: '2b940dcb57b40d40b05af2495f96a64b8e0de830', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: 'e2dc98d105acb9f4264c8eed09aa6b894afe29b4', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, index.h("path", { key: 'cf6facbbbabbc363d2f336797c3f2270ca7f6b2e', 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: 'f3c6d198e54fdebf2241f789f6b0f45e94f903b9', d: "M13.5,1l13.5,23H0L13.5,1z" }))), index.h("biggive-misc-icon", { key: 'f0f9c1e760459d69dc5274da67604e77dd130255', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), index.h("div", { key: '3650449da284e091112c8d56504903f86eae210a', id: "nav-primary" }, index.h("ul", { key: '7df73040d1007c0b5425e4341b8d716020e18007', class: "links", slot: "nav-primary" }, index.h("li", { key: '92e1307f7e799eb96109c387fe3034811c2532dc' }, index.h("a", { key: '4765dc4765dd5f30a12ce20579a446e410d9524b', href: makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), index.h("li", { key: '80aca1e3b310ed62c84a9b61112a8c8cc4b1541d' }, index.h("a", { key: '870f23269ab77cb99c25943428a9f97fd26e7768', href: makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), index.h("li", { key: '4f0f4256337f852c806847b6a90ef0535326a8a3' }, index.h("a", { key: 'f6ca4182196119810799fa1df23dde22844dcaa8', href: makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), index.h("li", { key: '6704bcc612e69d304d5517fd29a0a1c851f08f8d' }, index.h("a", { key: 'e01dc95bd1a9558d75339d0c4b63fe81de00d49d', onClick: this.noNav }, "Match Funding", index.h("biggive-misc-icon", { key: '766c42c2648666f6837c81b5d288c1b30cdd0657', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '3ffe79e2015c7bc56003cbf1f20cdef0ca4b1f50', class: "sub-menu" }, index.h("li", { key: '7a0789261388aa8fa770e79fecd3adcd0419e233' }, index.h("a", { key: '047dbee9b0486fdd50a83cb73a33e662c2c6d340', href: makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), index.h("li", { key: '5710e77637e37c96406ded0bf720e472c37c7b11' }, index.h("a", { key: '57de0505a0af36d05a0c654aa520ac1d19962d53', href: makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), index.h("li", { key: '9d6809d20372095e831c263c1e26cefa80923b84', class: "more" }, index.h("a", { key: 'a332a4222d275ab8c04d202e3f8253131ed5a782', onClick: this.noNav }, "Match Funding Opportunities", index.h("biggive-misc-icon", { key: 'cc151a8fe5f378cc850a8ad1052504c1fb1e6fee', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: 'ff49e84a8a72a88d22f9e10a6af06847dc9bdf80', class: "sub-sub-menu" }, index.h("li", { key: 'f31120593c007e1aedf5e39d97d3501003ea40a5' }, index.h("a", { key: '3a6e0d97d4d500a65fd11d38488c706a9a829bca', href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", { key: 'b0575f0c6d5c80199b6497cddbebc72dc5376121' }, index.h("a", { key: 'fe44cc1c859cab74b0890d029d904cbb8e1e7f9d', href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", { key: '2a288caf9961c65814b34c3abd8f4a2de07e5b55' }, index.h("a", { key: 'ac4aadcc51840529c0fc1420a1276ed9c735b70d', href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green-match" }, "Green Match Fund")), index.h("li", { key: '43677817219e719081a5aaf258272d24ca7a5f43' }, index.h("a", { key: '847251bd51d4ede911937951b20cfef01107a78d', href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), index.h("li", { key: '14f3270ad858f7e05181ff2bafe2f46931bfe44d' }, index.h("a", { key: 'cf503cca5d9421c00806b5a4f5e4e0dc5bab4b5e', href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), index.h("li", { key: '32854227a49d939fe42581c3db131f6f79230ed7' }, index.h("a", { key: '2dc86f1ebe34181ecadf9106ad8ed9880e7d8188', href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), index.h("li", { key: 'e96b6edab2756bc630cfd55e12e55e4971d16e3c' }, index.h("a", { key: 'fee20152ca62af43177fcff7d90acd232a565063', href: makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), index.h("li", { key: 'f06248fd5cb392369112072de1a7ed78fa15a06c' }, index.h("a", { key: 'd47951bea746ddb141eaa7c0cf30c51beace6c79', href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), index.h("li", { key: '7363c851350fc6b603d94e02d6fb3a9f8a819e5f' }, index.h("a", { key: '6de9b73efab7ec4a2e519485131a7a03513dc69e', href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), index.h("li", { key: 'b67d41d0cea98e53e86a02903ff9fbbb70a4a455' }, index.h("a", { key: '0e84dae3e722b7670ab585effcff8990512d9597', onClick: this.noNav }, "About Us", index.h("biggive-misc-icon", { key: '409000803e58de13e2ed0b2e4eb2464bc8cd9da8', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '9658a7e8ddba4d6e8fcd4aa8cfb73b6e23124956', class: "sub-menu" }, index.h("li", { key: '90bd7496b2f9281664d4ffea7e9867584c5ee56f' }, index.h("a", { key: 'a7c4690a6335774915805bb8f0cc113fd88d70d8', href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", { key: 'e2b9f991b6dcde7a998a93586616283d493d96c2' }, index.h("a", { key: 'c05f19567ffd5d9f992f5557d8a9e383134ccc10', href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", { key: 'a9159304999c46419651757396312ba990933fd6' }, index.h("a", { key: 'd67e88901e292f6255d556043a0b690566ab658d', href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", { key: '3d9953eb61460ae7eeace37cc656d79ad30c28e1' }, index.h("a", { key: '44f8375f6596a2d504e66c5f0568c404aae6462e', href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", { key: '961e1c4e733540e5549e32254b8c88dbe89c4cb5' }, index.h("a", { key: '6a749c7e642b22e95516a13c1834b95f5f246843', href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("li", { key: '4b6ed5496996e73b340718ee0fd2d40a46d46d87' }, index.h("a", { key: '505e75abc3e560c92121f435e8fc0f76d2ac1350', onClick: this.noNav }, "Resources", index.h("biggive-misc-icon", { key: '592328aafa0a0b9ee67f94a71355a01fd3c688f3', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '6ccb7644e64f086a327dbe5326aa9b6b52f024ba', class: "sub-menu" }, index.h("li", { key: '504c00ae2dd261c51ae82fa11c550b33aa1f89b9' }, index.h("a", { key: 'c7413d0887d44b3a3d7ec0f29831a80892072830', href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", { key: '9fa15f0d346afdb752d00c4a5eb9ce6e96133f5c' }, index.h("a", { key: 'ccdb7f438e0d8a7293eefcb324c513c21d01ceb6', href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", { key: '44a76e4dd1a31d5cb7aeab32aec323f762b33fe9' }, index.h("a", { key: '34de9974b25c820d99b5b0d8800eba7dcd174eef', href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", { key: '03da92d12e33f8ca0b885437d0f89bdc271a971a' }, index.h("a", { key: 'c96e675a5f55a4ee1e3513f685226c6b6835f7c7', href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), index.h("div", { key: 'd31392fba562cccd66e1daaddd80c4f3d8a847be', class: "mobile-only" }, this.getSecondaryNavLinks())), index.h("div", { key: '1e5ebecf9213ff8dd6957d56498ad7f8e16ea51a', class: "mobile-social-icon-wrap mobile-only" }, index.h("biggive-social-icon", { key: 'dfcd1228a2753d10f7e92fbe5ebbab2c10565bee', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'c03e1097342ca0a874aac1711e626bf5e1ac9483', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'aac8b06595394b31ee1c7beff74969b46efda1dd', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '79501ede5a5df49e310accf60f65ea3f39f5dda3', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '37f60ac4a426e9542d03153c44dc6e06c465a5d4', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
998
|
+
return (index.h(index.Host, { key: '58c817bb3d688f4025c1c27a27fdb85d79956c47' }, index.h("div", { key: '0c9f9ecfe823af37c114d66b79f97c57b6ebab26', class: "row row-top" }, index.h("div", { key: '6805c2fae6118fc45632ad2254f8c4a8b44e425c', class: "social-icon-wrap" }, index.h("biggive-social-icon", { key: '3f85fa8785ecf65843d8585cab22705e61a0420a', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'a53f627f153e84ab1b557a57c9901e0f7f0d28c3', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '10b756e68ce8965df2a58bbd33feeef535a3aadf', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'ee119f6107f661bdf62a5df7a0c1200fb143e206', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '25daccb3a46ea01f9d670e030d2ffa398cd5d02f', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })), index.h("div", { key: '37202056f70807b7a9010ef21b541606da238d68', class: "nav-secondary" }, this.getSecondaryNavLinks())), index.h("nav", { key: 'b7273e66aad589c70b434472508b7acc6bdb3e06', role: "navigation", "aria-label": "Main Menu" }, index.h("div", { key: 'fbfe3293a9c454e1cedf1cb058cf5be9f8c5c398', class: "navbar" }, index.h("div", { key: '6308c84fe05b7f9577d9281e470ac9b06a81fefe', class: "logo" }, index.h("a", { key: '17ed8d45216cf0d1869570f30bd52bed5d99f1dd', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: '69440f6d0b725975f3808339217c37e7069a9c4d', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30" }, index.h("path", { key: '85ae8bf6ada1b58c2486cfdd6c6eca8740cd5fc7', 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: 'f548728da741c1b9b9371d043083a737fc19ccdc', d: "M13.5,1l13.5,23H0L13.5,1z" })))), index.h("biggive-misc-icon", { key: 'a9053c07b71d7d92baeaf49fae74fedf437921a9', class: "bx bx-menu", "background-colour": "white", "icon-colour": "black", icon: "MenuOpen", onClick: this.openMobileMenu }), index.h("div", { key: '6902eec596b99626b4f37fa0f3c68281fd31fe7f', class: "nav-links" }, index.h("div", { key: 'f6c0f29564140cab5379abcb48421bc4ad12dc0c', class: "sidebar-logo" }, index.h("a", { key: '85f41d9859108c06363f973c58a76129a0611bc5', href: this.donateUrlPrefix + homePageLink, "aria-label": "Home" }, index.h("svg", { key: 'a0efdd49a37b1820edf5b6bdc79e77cf38ecab13', version: "1.1", x: "0px", y: "0px", viewBox: "0 0 140.9 30", id: "mobileLogo" }, index.h("path", { key: 'd9a67542c806925cf1e702d25de22c074a97e0b9', 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: '771f34dd09f18cf721c85ace73a30c3fc5bd3651', d: "M13.5,1l13.5,23H0L13.5,1z" }))), index.h("biggive-misc-icon", { key: '7b764e7869bf8e581cf7f30d2423faf32e7022bb', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "black", icon: "MenuClose", onClick: this.closeMobileMenu })), index.h("div", { key: 'c686138fbbddf41651557aaed642c593b341b952', id: "nav-primary" }, index.h("ul", { key: 'd727e57e5a067c718d61e45d981660858b2a6343', class: "links", slot: "nav-primary" }, index.h("li", { key: '9ddd5c976b65fff01a6dcefa6ede032ef10d1079' }, index.h("a", { key: '40fee62ae0efa66ae613810f879e832c8d685388', href: makeURL('Donate', this.donateUrlPrefix, 'explore') }, "Explore Campaigns")), index.h("li", { key: '3f987daa1b590857d5e860acd109f3e702aa1e05' }, index.h("a", { key: '535fc44496585f1b29bf346c15696c10bf456381', href: makeURL('Blog', this.blogUrlPrefix, 'charities') }, "For Charities")), index.h("li", { key: '6eb7a48bfff93fc49c6c7704bc2489ba41105a50' }, index.h("a", { key: '241c0dccbe8b8d9601a3d3a1a5e31c3871307a4b', href: makeURL('Blog', this.blogUrlPrefix, 'funders') }, "For Funders")), index.h("li", { key: '32ffde22c742706746ebcf792930d975aa345793' }, index.h("a", { key: 'f536b97e9ae328aecb9c8e31a559d7537641f3ef', onClick: this.noNav }, "Match Funding", index.h("biggive-misc-icon", { key: 'c08c6afb2fcdacfc8f35c322e98fc8fb0df89acb', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: 'b7a3f8e018d01fedf57ffefa56b4b46d3e8731d9', class: "sub-menu" }, index.h("li", { key: '27b8545fcb2ac6bf4cf53a49742b9bbc67923751' }, index.h("a", { key: 'b88895c927d5dcf2a0e63aa0c7e9a32a8d95ab55', href: makeURL('Blog', this.blogUrlPrefix, 'match-funding-explained') }, "Match Funding Explained")), index.h("li", { key: '6f6f187e09175437ba7a3d1a78750029860e2f9f' }, index.h("a", { key: '5f9dce9f515bcdf6850f7ad5561390192c93fbfa', href: makeURL('Blog', this.blogUrlPrefix, 'impact') }, "Match Funding Impact")), index.h("li", { key: 'a43584f7ddbf87692c427a9f8fbe5cae3bad7444', class: "more" }, index.h("a", { key: 'c715c538483de2fec3cb487c8dd78ad928582444', onClick: this.noNav }, "Match Funding Opportunities", index.h("biggive-misc-icon", { key: '82613a09c1c8db8e535d11b7966485f8fee867e3', class: "bx bxs-chevron-down sub-sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '505fcae26983b9f93159a1f97488abb30024d178', class: "sub-sub-menu" }, index.h("li", { key: 'a73dc9c6a3b5c4901c4c23ae2a988c8bbcfa061f' }, index.h("a", { key: '61293b49776728a372dcdf5e447fa9d4665ee6f3', href: makeURL('Blog', this.blogUrlPrefix, 'christmas-challenge'), class: "icon-christmas" }, "Christmas Challenge")), index.h("li", { key: 'f2b67dcda3b89449eda0ee1a63a5a8fc517e0d81' }, index.h("a", { key: 'f13812b53c73a69c9cf4816d63c794a6db5ab5e6', href: makeURL('Blog', this.blogUrlPrefix, 'champions-for-children'), class: "icon-children" }, "Champions for Children")), index.h("li", { key: 'fde9fd1c7e25e51d24e50891523e39fcee9efc4b' }, index.h("a", { key: 'd6d9c6835508038bbb6f8a97692fc7ecc1eec061', href: makeURL('Blog', this.blogUrlPrefix, 'green-match-fund'), class: "icon-green-match" }, "Green Match Fund")), index.h("li", { key: '18e483387c3f2baf9d50af8c9b1c53f4a77e9dd1' }, index.h("a", { key: '9bbf6ed08d1e993f7be7306d2534597859b3c620', href: makeURL('Blog', this.blogUrlPrefix, 'women-girls-match-fund'), class: "icon-women-girls" }, "Women & Girls Match Fund")), index.h("li", { key: '119738671a346609072dda3f15f4cf34af3d7aa3' }, index.h("a", { key: '9241e51c326385482c834e734c4caec864a47036', href: makeURL('Blog', this.blogUrlPrefix, 'kind2mind/'), class: "icon-mental-health" }, "Kind\u00B2Mind")), index.h("li", { key: '4a982428668b4ac114f15d0318d9782f0fadb77c' }, index.h("a", { key: 'f500e390da7137b452f37228b7247a58623ae58e', href: makeURL('Blog', this.blogUrlPrefix, 'artsforimpact/'), class: "icon-arts-impact" }, "Arts for Impact")), index.h("li", { key: '9caffcb98ae28f51fa2401a320a3ea24afd6a478' }, index.h("a", { key: 'b889038fb3b374bc28a33cff70db8f8312900dc1', href: makeURL('Blog', this.blogUrlPrefix, 'anchor-match-fund/'), class: "icon-anchor-match" }, "Anchor Match Fund")), index.h("li", { key: '60774114b4cd298fc0c19a706c30cb42fd0059bd' }, index.h("a", { key: 'fdf2f518c9e3d3f463bb53e862ae1f4ccca4ebfe', href: makeURL('Blog', this.blogUrlPrefix, 'emergency-campaigns/'), class: "icon-emergency" }, "Emergency Match Fund")))), index.h("li", { key: '8607637148a5684757d932229f0f9a7767400b6b' }, index.h("a", { key: '47ffcaa1c56c5270940b9ca509c7a69867d8b8ce', href: makeURL('Blog', this.blogUrlPrefix, 'run-your-own-campaign/)') }, "Run your match funding campaign")))), index.h("li", { key: '030298865fdd59c0f35923cea7e5ab90e1b63d0f' }, index.h("a", { key: 'b5489cd3803f14fe1cbeea3904c1406279b3c5fc', onClick: this.noNav }, "About Us", index.h("biggive-misc-icon", { key: 'fe4de0ef3acc31545433f4f5c1bdeac1d87eccdf', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '3bbc3b22d0b1bc4137e6a36dbfd54af53b818b58', class: "sub-menu" }, index.h("li", { key: 'e0854ae100ba4819e3b22d3d73f474404f9abaf2' }, index.h("a", { key: '124885aaaa36a1072a970a53d8ebcd82085e56e2', href: makeURL('Blog', this.blogUrlPrefix, 'our-people') }, "Our People")), index.h("li", { key: '45b864a59aaa3e94e302ec946be941bdda11711f' }, index.h("a", { key: '943e831932b4fd0f5579e774400d55b302dad553', href: makeURL('Blog', this.blogUrlPrefix, 'our-story') }, "Our Story")), index.h("li", { key: '92c5d0455fdecc236ecd0a79a49d5ddc921f4d99' }, index.h("a", { key: 'd34a8b4197a67d11ee8d78a1e1ff07ff80db703b', href: makeURL('Blog', this.blogUrlPrefix, 'donation-funds') }, "Donate by Bank Transfer")), index.h("li", { key: '5149b1818a6b87fdc3a2e320e794d40a75142c28' }, index.h("a", { key: 'b4a54852d0f410826ba5e02e8018211e6d682a8d', href: makeURL('Blog', this.blogUrlPrefix, 'our-fees') }, "Our Fees")), index.h("li", { key: 'defaf967198ff07a1deb2e6ec399a3812de38ab1' }, index.h("a", { key: '8022a748f33a25a7242550a8026c7c7bc9e50227', href: makeURL('Blog', this.blogUrlPrefix, 'faqs') }, "FAQs")))), index.h("li", { key: '7197503f9105dde8ad3a14804ed7758b107f17a1' }, index.h("a", { key: '6d4b020890f04e1efc30766b13d2c3c62c8e8e1e', onClick: this.noNav }, "Resources", index.h("biggive-misc-icon", { key: '4fd13faae0d4c2106d4c1501d81788c319e1887b', class: "bx bxs-chevron-down sub-menu-arrow arrow", "background-colour": "white", "icon-colour": "black", icon: "CaretRight" })), index.h("ul", { key: '9e1b30a1af2377e54677202a4dff044ed1e5d5c0', class: "sub-menu" }, index.h("li", { key: 'c248c099963080ef5c6170b1323f6a34fbc03c99' }, index.h("a", { key: '1fc67325835284f275936e5a1871576bd77c78eb', href: makeURL('Blog', this.blogUrlPrefix, 'case-studies') }, "Case Studies")), index.h("li", { key: 'fec5e5743573c8776aa92b3b273efcf7b083b7e6' }, index.h("a", { key: '0be5fd61b0567b398ac0cdc3da93126381f81d19', href: makeURL('Blog', this.blogUrlPrefix, 'blog') }, "Blog")), index.h("li", { key: 'f87577094f05ccadef1882bf8d29e7f8c4eec44b' }, index.h("a", { key: '0cf4b41bf7908de38099c609fb42ac7110da9b3e', href: makeURL('Blog', this.blogUrlPrefix, 'reports-insights') }, "Reports & Insights")), index.h("li", { key: '167e7ed5548360232a4587f629d108979ee0517f' }, index.h("a", { key: 'b5ac5f4c139e6ff8126b33c48f7d9eeb4a4cb39a', href: makeURL('Blog', this.blogUrlPrefix, 'press') }, "Press"))))), index.h("div", { key: '1ea31b4231aef281fec03ad1263b63078f795ca4', class: "mobile-only" }, this.getSecondaryNavLinks())), index.h("div", { key: '1490b3fa10f0ced4e19924c5c89fac33ba5728ae', class: "mobile-social-icon-wrap mobile-only" }, index.h("biggive-social-icon", { key: '8fdac6e923aff68747fb6613890188c0e2663da9', service: "Facebook", url: "https://www.facebook.com/BigGive.org", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'c30a83737995f4dc0097e8d3179bd5cc48a6d8d1', service: "Twitter", url: "https://twitter.com/BigGive", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '7d7bf0bc1de2f63d04d985d260a169dc4c7626e5', service: "LinkedIn", url: "https://uk.linkedin.com/company/big-give", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: '89aedddb95f034f632a671f850b8955c55cab6ec', service: "YouTube", url: "https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA", "background-colour": "tertiary", "icon-colour": "black" }), index.h("biggive-social-icon", { key: 'be873e4ade3ad8cff10f155e882a6872510ad42e', service: "Instagram", url: "https://www.instagram.com/biggiveorg", "background-colour": "tertiary", "icon-colour": "black" })))))));
|
|
1020
999
|
}
|
|
1021
1000
|
get host() { return index.getElement(this); }
|
|
1022
1001
|
};
|
|
@@ -1040,7 +1019,7 @@ const BiggiveMiscIcon = class {
|
|
|
1040
1019
|
render() {
|
|
1041
1020
|
return (
|
|
1042
1021
|
// Note: the icon name prop is set as a css class too for any styling specific to certain icons
|
|
1043
|
-
index.h("div", { key: '
|
|
1022
|
+
index.h("div", { key: '66bb51fe3e022d16c2125c5d22b1e8754022c65b', class: 'misc-icon-item background-colour-' + this.backgroundColour + ' ' + this.icon }, index.h("a", { key: '08c622eac098ea4b0964775797362b23c674b1aa', href: this.url }, index.h("svg", { key: '9dbb0fc8784d65604b42074333050f55ca4eba76', width: this.getMiscIcon().icon[0], height: this.getMiscIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getMiscIcon().icon[0] + ' ' + this.getMiscIcon().icon[1] }, index.h("path", { key: '95a27809e6ec88842edddd93640f517b61fb3261', d: this.getMiscIcon().icon[4].toString() })))));
|
|
1044
1023
|
}
|
|
1045
1024
|
};
|
|
1046
1025
|
BiggiveMiscIcon.style = BiggiveMiscIconStyle0;
|
|
@@ -1053,7 +1032,7 @@ const BiggivePageColumn = class {
|
|
|
1053
1032
|
index.registerInstance(this, hostRef);
|
|
1054
1033
|
}
|
|
1055
1034
|
render() {
|
|
1056
|
-
return index.h("slot", { key: '
|
|
1035
|
+
return index.h("slot", { key: 'f48cb9c10b5f515133a9b78988d4c928200322da' });
|
|
1057
1036
|
}
|
|
1058
1037
|
};
|
|
1059
1038
|
BiggivePageColumn.style = BiggivePageColumnStyle0;
|
|
@@ -1067,7 +1046,7 @@ const BiggivePageColumns = class {
|
|
|
1067
1046
|
this.spaceBelow = 0;
|
|
1068
1047
|
}
|
|
1069
1048
|
render() {
|
|
1070
|
-
return (index.h("div", { key: '
|
|
1049
|
+
return (index.h("div", { key: '54cc084545fb62b8c313169f3decc54e52d72e2e', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: 'a8cfa49820e0f130a33168ecf19832f780696230', class: "columns" }, index.h("div", { key: '4044c2911c08429f5715cfbac31300765ba48cdb', class: "column-primary" }, index.h("slot", { key: 'b1eb8845d007cd0a85a818d00f9839284c04380b', name: "column-primary" })), index.h("div", { key: 'ab6710edfa4c2abc427a0b08ebf803cc574cc43d', class: "column-secondary" }, index.h("slot", { key: '350bf88749c70d0f56d7cc461dc6570332833408', name: "column-secondary" })))));
|
|
1071
1050
|
}
|
|
1072
1051
|
};
|
|
1073
1052
|
BiggivePageColumns.style = BiggivePageColumnsStyle0;
|
|
@@ -1086,7 +1065,7 @@ const BiggivePageSection = class {
|
|
|
1086
1065
|
this.primaryFullBleed = false;
|
|
1087
1066
|
}
|
|
1088
1067
|
render() {
|
|
1089
|
-
return (index.h("div", { key: '
|
|
1068
|
+
return (index.h("div", { key: '87dcb8d1822ccab0fb62cae16dbfeb962cb599ea', class: 'container max-width-' +
|
|
1090
1069
|
this.maxWidth +
|
|
1091
1070
|
' space-below-' +
|
|
1092
1071
|
this.spaceBelow +
|
|
@@ -1096,7 +1075,7 @@ const BiggivePageSection = class {
|
|
|
1096
1075
|
this.sectionStyleTop +
|
|
1097
1076
|
' style-bottom-' +
|
|
1098
1077
|
this.sectionStyleBottom +
|
|
1099
|
-
(this.primaryFullBleed ? ' full-bleed' : '') }, index.h("div", { key: '
|
|
1078
|
+
(this.primaryFullBleed ? ' full-bleed' : '') }, index.h("div", { key: '77b91d0dff63051d330a5b3a3a90d84f06375e38', class: "sleeve" }, index.h("slot", { key: 'dc7e86afe6fc857dfa46edc66a5ffebb5684280b' }))));
|
|
1100
1079
|
}
|
|
1101
1080
|
};
|
|
1102
1081
|
BiggivePageSection.style = BiggivePageSectionStyle0;
|
|
@@ -1127,7 +1106,7 @@ const BiggivePopup = class {
|
|
|
1127
1106
|
this.modalClosedCallback();
|
|
1128
1107
|
}
|
|
1129
1108
|
render() {
|
|
1130
|
-
return (index.h("div", { key: '
|
|
1109
|
+
return (index.h("div", { key: 'c587c5c2fc3066821f373024a963961659a3427b', class: "popup", ref: el => (this.popup = el), tabindex: "-1", onClick: this.closeFromWithin }, index.h("div", { key: 'b736357f230c379836c3f1ae0626d2989645ac93', class: "sleeve" }, index.h("div", { key: '7600ebd3a527a4d908632296c23f5843b36ff577', class: "header" }, index.h("div", { key: 'e8f14a32b075150aa8fdc56acb2aeeec6992944c', class: "close", onClick: this.closeFromWithin })), index.h("div", { key: '9da8cfbdb22adb2f8c483dd4ab3bb96a46cb2e65', class: "content" }, index.h("slot", { key: '329c075170fd9ded0adf03d7632cc27cf6f38856' })))));
|
|
1131
1110
|
}
|
|
1132
1111
|
};
|
|
1133
1112
|
BiggivePopup.style = BiggivePopupStyle0;
|
|
@@ -1164,7 +1143,7 @@ const BiggiveQuote = class {
|
|
|
1164
1143
|
this.quoteIconColour = 'primary';
|
|
1165
1144
|
}
|
|
1166
1145
|
render() {
|
|
1167
|
-
return (index.h("div", { key: '
|
|
1146
|
+
return (index.h("div", { key: 'ce2a7c064eab45860227b9358ac8c281194898f7', class: 'container text-colour-' + this.defaultTextColour + ' quote-icon-colour-' + this.quoteIconColour + ' space-below-' + this.spaceBelow }, index.h("div", { key: 'b4a825675024b26813b876f7183ccffd12ddd6b6', class: "image-wrap" }, index.h("svg", { key: '36209987765366edbea9b14cd6275f6a8892ab32', width: "34", height: "24", viewBox: "0 0 34 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '34e2e01da1c9faf9bb512f0bb37da9492ca92a2c', d: "M16.1245 0L13.7167 24H0L11.0901 0H16.1245ZM34 0L31.5923 24H17.8755L28.9657 0H34Z", fill: "#2C089B" }))), index.h("div", { key: 'd1bf9c817d846ae6f5bd71b0c5186b5c804d44bc', class: "quote" }, "\u201C", this.quote, "\u201D"), index.h("div", { key: 'ddb6dde55a9178127ab1edeffaaa7c79bdfbd647', class: "attribution" }, " - ", this.attribution)));
|
|
1168
1147
|
}
|
|
1169
1148
|
};
|
|
1170
1149
|
BiggiveQuote.style = BiggiveQuoteStyle0;
|
|
@@ -1199,7 +1178,7 @@ const BiggiveSheet = class {
|
|
|
1199
1178
|
}
|
|
1200
1179
|
}
|
|
1201
1180
|
render() {
|
|
1202
|
-
return (index.h("div", { key: '
|
|
1181
|
+
return (index.h("div", { key: '1943448bc88d7d8bc9415b3ade5d88efc27b045a', class: 'container' }, index.h("div", { key: 'bfbc2eebef0a1f79ed3e7ac692cbcbefbf9cf43b', class: "background" }), index.h("div", { key: 'deeee0616a7f2ea43fe8e8f157328c7c66c9dd41', class: 'popup background-colour-' + this.backgroundColour + ' text-colour-' + this.textColour }, index.h("div", { key: '9ca3f799fe38a0141ecfe62930e261ad005e198c', class: "header" }, index.h("div", { key: '6d791ffac6873b0ef073f95e7603b05a27be43f8', class: "back-link", onClick: this.closeSheet }, index.h("span", { key: '737f29b8ae08b2da4a4b56bd304b846c22d60fe7', class: 'svg-wrap colour-' + this.textColour }, index.h("svg", { key: '1692c575c376901970ea37fa55d812d37c83f7a2', width: "33", height: "16", viewBox: "0 0 33 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '9235ae8e1a04a5ab4ea7edb7777d47620d6cbf30', d: "M0.292892 7.29289C-0.0976295 7.68342 -0.0976295 8.31658 0.292892 8.70711L6.65685 15.0711C7.04738 15.4616 7.68054 15.4616 8.07107 15.0711C8.46159 14.6805 8.46159 14.0474 8.07107 13.6569L2.41421 8L8.07107 2.34315C8.46159 1.95262 8.46159 1.31946 8.07107 0.928932C7.68054 0.538408 7.04738 0.538408 6.65685 0.928932L0.292892 7.29289ZM33 7L1 7V9L33 9V7Z", fill: "black" }))), "Back"), index.h("div", { key: '0ac4fb258df09d52b456a2acab0cb3b109dfd20b', class: "close-link", onClick: this.closeSheet }, index.h("span", { key: '03ef6842a5a4f78d3f7ea0a192fe14e7b8650c40', class: "svg-wrap" }, index.h("svg", { key: 'aa9f33adb33bd53a531c4fa60dc7cc533566a05a', width: "24", height: "24", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: 'd7d7fd700cd6befbccf69765b7ccb3072288f64c', d: "M11 11v-11h1v11h11v1h-11v11h-1v-11h-11v-1h11z" }))))), index.h("div", { key: 'a3b759afaae9b85bcc4ed832a2a3f1ff0d962a78', class: "content" }, index.h("slot", { key: '797e97b8442ba79724bffd5a425fd4ee8bd07fde' })))));
|
|
1203
1182
|
}
|
|
1204
1183
|
get host() { return index.getElement(this); }
|
|
1205
1184
|
};
|
|
@@ -1223,7 +1202,7 @@ const BiggiveSocialIcon = class {
|
|
|
1223
1202
|
return icon;
|
|
1224
1203
|
}
|
|
1225
1204
|
render() {
|
|
1226
|
-
return (index.h("div", { key: '
|
|
1205
|
+
return (index.h("div", { key: 'c45c26e3e62e0f8a7273615523549ef580f64a59', class: 'social-icon-item background-colour-' + this.backgroundColour + (this.wide ? ' wide' : '') }, index.h("a", { key: 'e000a25deebfbd198f010552dc77e7caabc5939a', href: this.url, "aria-label": `${this.labelPrefix} on ${this.service}`, target: "_blank", rel: "noopener" }, index.h("svg", { key: '95525ca33e5c412fa78d1ff7f57e1ed27c6ebd8d', width: this.getSocialIcon().icon[0], height: this.getSocialIcon().icon[1], xmlns: "http://www.w3.org/2000/svg", class: 'fill-' + this.iconColour, viewBox: '0 0 ' + this.getSocialIcon().icon[0] + ' ' + this.getSocialIcon().icon[1] }, index.h("path", { key: '1ba3d7fd4e2e832ea0ad762a64403283c969a71d', d: this.getSocialIcon().icon[4].toString() })))));
|
|
1227
1206
|
}
|
|
1228
1207
|
};
|
|
1229
1208
|
BiggiveSocialIcon.style = BiggiveSocialIconStyle0;
|
|
@@ -1237,7 +1216,7 @@ const BiggiveTab = class {
|
|
|
1237
1216
|
this.tabTitle = '';
|
|
1238
1217
|
}
|
|
1239
1218
|
render() {
|
|
1240
|
-
return (index.h("div", { key: '
|
|
1219
|
+
return (index.h("div", { key: 'f0c64b52286963ca95d38c15dde01d80dd74f1fb', class: "container" }, index.h("slot", { key: '576fcf23cd7ab8c12b7221cc23ceae45ac63e838' })));
|
|
1241
1220
|
}
|
|
1242
1221
|
};
|
|
1243
1222
|
BiggiveTab.style = BiggiveTabStyle0;
|
|
@@ -1350,7 +1329,7 @@ const BiggiveTabbedContent = class {
|
|
|
1350
1329
|
});
|
|
1351
1330
|
}
|
|
1352
1331
|
render() {
|
|
1353
|
-
return (index.h("div", { key: '
|
|
1332
|
+
return (index.h("div", { key: 'c55c5d443a7289b5840bc1e178c9b3c6d87a67ab', class: 'container space-below-' +
|
|
1354
1333
|
this.spaceBelow +
|
|
1355
1334
|
' text-colour-' +
|
|
1356
1335
|
this.textColour +
|
|
@@ -1363,7 +1342,7 @@ const BiggiveTabbedContent = class {
|
|
|
1363
1342
|
' button-background-colour-' +
|
|
1364
1343
|
this.buttonBackgroundColour +
|
|
1365
1344
|
' button-icon-colour-' +
|
|
1366
|
-
this.buttonIconColour }, index.h("div", { key: '
|
|
1345
|
+
this.buttonIconColour }, index.h("div", { key: '3c8cf3eb3d1eb72864e301180fec500807db8d63', class: "navigation" }, index.h("div", { key: '31c31e8fd19ce337b18d7e554118ec8564522933', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, index.h("svg", { key: '35d388638492ec543ff8bc4fbe0009d2495775d4', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '75eadf90c89c3289bccf669edc1f6becbfefcb8f', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), index.h("div", { key: '27ced6245956885a78126367f3045a9eeb835adb', class: "sleeve" }, index.h("ul", { key: 'ca302ff528b5102d47e054c0a5fdc236507d85e7' }, this.children.map(child => (index.h("li", { onClick: this.clickTabHandler }, child.tabTitle))))), index.h("div", { key: 'ef28672eab46bbf9f18d6eeb2e1a2823a69a18f4', class: "button next", onClick: this.clickNextHandler, title: "Next" }, index.h("svg", { key: '68117205d0a4642f9d02fadbd369f4a11c045c57', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '2c8be139e8d8dc59d0821cec40bd4f87ed415c2d', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), index.h("slot", { key: '4b367be8b0c099e37bcc336e2bb84e8a5e5e8ca9' })));
|
|
1367
1346
|
}
|
|
1368
1347
|
get host() { return index.getElement(this); }
|
|
1369
1348
|
};
|
|
@@ -1382,7 +1361,7 @@ const BiggiveTextInput = class {
|
|
|
1382
1361
|
}
|
|
1383
1362
|
render() {
|
|
1384
1363
|
const currencySymbol = this.currency === 'GBP' ? '£' : this.currency === 'USD' ? '$' : undefined;
|
|
1385
|
-
return (index.h("div", { key: '
|
|
1364
|
+
return (index.h("div", { key: '36f325d974320a7cbbd9ea9d591fb30b14048ad3', class: 'text-input space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle }, index.h("div", { key: '6c3eea801a17549648c0ee332d5e37fd59733d7d', class: "sleeve" }, index.h("div", { key: 'f32cade700915ce064666fdee46b28476349be8e', class: "inner-sleave" }, currencySymbol && index.h("span", { key: '3e9a77fff56541d0f506e0948ad8d0f67303cfab', class: "currency-symbol" }, currencySymbol), index.h("slot", { key: 'acc98864810398c93a700526befdf4f98cb77454', name: "input" }), index.h("div", { key: 'bb09a754c20170febb760874c6889fd9a66c0bb6', style: { clear: 'both' } }))), index.h("div", { key: '6ef14a6be5a079ef58d7b2d282653fe18979effa', class: "prompt" }, index.h("slot", { key: '56cfe3e2634039f26ca66d735212db40402af0f3', name: "label" }))));
|
|
1386
1365
|
}
|
|
1387
1366
|
};
|
|
1388
1367
|
BiggiveTextInput.style = BiggiveTextInputStyle0;
|
|
@@ -1498,7 +1477,7 @@ const BiggiveTimeline = class {
|
|
|
1498
1477
|
});
|
|
1499
1478
|
}
|
|
1500
1479
|
render() {
|
|
1501
|
-
return (index.h("div", { key: '
|
|
1480
|
+
return (index.h("div", { key: 'fa8bc2fb86be98dd21ee5494da948ce839f483f4', class: 'container space-below-' +
|
|
1502
1481
|
this.spaceBelow +
|
|
1503
1482
|
' text-colour-' +
|
|
1504
1483
|
this.textColour +
|
|
@@ -1521,7 +1500,7 @@ const BiggiveTimeline = class {
|
|
|
1521
1500
|
' entry-title-colour-' +
|
|
1522
1501
|
this.entryTitleColour +
|
|
1523
1502
|
' entry-text-colour-' +
|
|
1524
|
-
this.entryTextColour }, index.h("div", { key: '
|
|
1503
|
+
this.entryTextColour }, index.h("div", { key: '097d5ef7c11cd5e73666594b5099da38cbb4b29b', class: "navigation" }, index.h("div", { key: 'bb85b967ef6c15b0b49533d0a3820fc337ff2bb1', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, index.h("svg", { key: '29e2f16187bbf3f47bb4d773198aefcdd16bf3ad', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '798e2e22578394b01f89612a9e866a1f766d3832', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), index.h("div", { key: 'c10178f94868c2202996e9c9fd64512f24d41a11', class: "sleeve" }, index.h("ul", { key: 'eec78251afe1e1afbdcc42dcb4dd38769cd0fdeb' }, this.tabHeadings.map(tab => (index.h("li", { onClick: this.clickTabHandler }, tab))))), index.h("div", { key: '464ed69f9c70507d906f2612184cabf00ee820d4', class: "button next", onClick: this.clickNextHandler, title: "Next" }, index.h("svg", { key: '88c486dfff1662f2e53d9c9fb2c50e74e3a0147f', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, index.h("path", { key: '41aa9514369b430d8aa40489a85a87532affe6af', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), index.h("div", { key: '0d1eb2f1a1f5f2db8fdafc1e6b012632a0c7f538', class: "entry-wrap" }, this.children.map(entry => (index.h("div", { class: "entry", "data-date": entry.date }, index.h("h4", { class: "title" }, entry.heading), index.h("div", { class: "content", innerHTML: entry.innerHTML })))))));
|
|
1525
1504
|
}
|
|
1526
1505
|
get host() { return index.getElement(this); }
|
|
1527
1506
|
};
|
|
@@ -1629,7 +1608,7 @@ const BiggiveTotalizer = class {
|
|
|
1629
1608
|
});
|
|
1630
1609
|
}
|
|
1631
1610
|
render() {
|
|
1632
|
-
return (index.h("div", { key: '
|
|
1611
|
+
return (index.h("div", { key: '4d37766b4264fb16d9c0be792e274efe11ccfbc1', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: '6d04f32e3a29042745e1dc06d3b3c1c7a95b1b06' }, index.h("div", { key: '96b11040780b124cdc881e3f1669eeb04db542a3', class: "banner" }, index.h("div", { key: '52695640c2813a6d63af7bcac8cff69ea6f4b113', class: 'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour }, this.mainMessage), index.h("div", { key: '57dbca3cb2d90bd330fb38e2a8b9f3079a3f8ffa', class: 'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour }, index.h("div", { key: '311e5f5947f21164e6ef0bb0fd6174abdc939ba5', id: "sleeve_1", class: "sleeve" }, index.h("slot", { key: '1edb6c4b750eb30ce24d4399585e4e41b3d42d55', name: "ticker-items" })), index.h("div", { key: '2969e3b01c8564b617fc51b65352d17177a30d86', id: "sleeve_2", class: "sleeve sleeve-delayed-copy" }), index.h("div", { key: '2420db0ca8a8c6402b5131e9190f66766dbeee68', id: "sleeve_3", class: "sleeve sleeve-delayed-copy" }), index.h("div", { key: '447de575a80b4a0631d16846a4d2192331b1627a', id: "sleeve_4", class: "sleeve sleeve-delayed-copy" }))))));
|
|
1633
1612
|
}
|
|
1634
1613
|
get host() { return index.getElement(this); }
|
|
1635
1614
|
};
|
|
@@ -1645,7 +1624,7 @@ const BiggiveTotalizerTickerItem = class {
|
|
|
1645
1624
|
this.label = undefined;
|
|
1646
1625
|
}
|
|
1647
1626
|
render() {
|
|
1648
|
-
return (index.h("div", { key: '
|
|
1627
|
+
return (index.h("div", { key: '53075748d4c29a33ddf4314471741545cc6daa62', class: "ticker-item" }, index.h("strong", { key: '09b973f9fcfdd3112fb9ecb08b20495d74b38b9d' }, this.figure), " ", this.label));
|
|
1649
1628
|
}
|
|
1650
1629
|
};
|
|
1651
1630
|
BiggiveTotalizerTickerItem.style = BiggiveTotalizerTickerItemStyle0;
|
|
@@ -1672,7 +1651,7 @@ const BiggiveVideoFeature = class {
|
|
|
1672
1651
|
}
|
|
1673
1652
|
render() {
|
|
1674
1653
|
const youtubeClass = this.videoUrl.includes('youtube.com') ? ' youtube' : '';
|
|
1675
|
-
return (index.h("div", { key: '
|
|
1654
|
+
return (index.h("div", { key: '7c2440bc61a076a571fa3a213b02187aaaaae28e', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, index.h("div", { key: '7c32872daa32bf15194e47e5265d30d61e33bada', class: "sleeve" }, index.h("div", { key: 'c6a0908c944cf4c9fb8e33a98a456b56f5a70e6c', class: "content-wrap" }, index.h("div", { key: 'd05d7dac6716c97c7fb59a33189055f94006cb5b', class: 'slug text-colour-' + this.slugColour }, this.slug), index.h("h2", { key: 'aa590bc910a50e7acb7e95c512bb024059fc1726', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), index.h("div", { key: '314725649fd3653bf20cc0cece774c8544a451cc', 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: '37f59615e397bfc88ce6f60ec9dc642af1b231fd', class: "graphic-wrap" }, this.videoUrl !== null && this.videoUrl !== undefined ? (index.h("div", { class: 'video-wrap' + youtubeClass, innerHTML: video.VideoService.getEmbedHtml(this.videoUrl, this.mainTitle) })) : null))));
|
|
1676
1655
|
}
|
|
1677
1656
|
};
|
|
1678
1657
|
BiggiveVideoFeature.style = BiggiveVideoFeatureStyle0;
|