@biggive/components 202603041449.0.0 → 202603161510.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-2764da54.entry.js +1 -0
- package/dist/biggive/{p-01b01870.entry.js → p-91b97549.entry.js} +1 -1
- package/dist/biggive/p-dd9ced38.entry.js +1 -0
- package/dist/cjs/biggive-campaign-card-filter-grid.cjs.entry.js +4 -4
- package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
- package/dist/cjs/biggive-main-menu.cjs.entry.js +1 -1
- package/dist/collection/components/biggive-campaign-card-filter-grid/biggive-campaign-card-filter-grid.js +4 -4
- package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +1 -1
- package/dist/collection/components/biggive-main-menu/biggive-main-menu.css +1 -1
- package/dist/components/biggive-campaign-card-filter-grid.js +1 -1
- package/dist/components/biggive-cookie-banner.js +1 -1
- package/dist/components/biggive-main-menu.js +1 -1
- package/dist/esm/biggive-campaign-card-filter-grid.entry.js +4 -4
- package/dist/esm/biggive-cookie-banner.entry.js +1 -1
- package/dist/esm/biggive-main-menu.entry.js +1 -1
- package/hydrate/index.js +6 -6
- package/hydrate/index.mjs +6 -6
- package/package.json +1 -1
- package/dist/biggive/p-80e0db90.entry.js +0 -1
- package/dist/biggive/p-afa033d2.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as o,b as t}from"./p-eJW26lzZ.js";export{s as setNonce}from"./p-eJW26lzZ.js";import{g as l}from"./p-DQuL1Twl.js";var r=e=>{const o=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return o.call(this,e);const t=o.call(this,!1),l=this.childNodes;if(e)for(let e=0;e<l.length;e++)2!==l[e].nodeType&&t.appendChild(l[e].cloneNode(!0));return t}};(()=>{r(o.prototype);const t=import.meta.url,l={};return""!==t&&(l.resourcesUrl=new URL(".",t).href),e(l)})().then((async e=>(await l(),t(JSON.parse('[["p-0eaeb864",[[1,"biggive-campaign-card",{"spaceBelow":[2,"space-below"],"campaignType":[1,"campaign-type"],"banner":[1],"campaignTitle":[1,"campaign-title"],"organisationName":[1,"organisation-name"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"donateButtonLabel":[1,"donate-button-label"],"donateButtonUrl":[1,"donate-button-url"],"donateButtonColourScheme":[1,"donate-button-colour-scheme"],"moreInfoButtonLabel":[1,"more-info-button-label"],"moreInfoButtonUrl":[1,"more-info-button-url"],"moreInfoButtonColourScheme":[1,"more-info-button-colour-scheme"],"isFutureCampaign":[4,"is-future-campaign"],"isPastCampaign":[4,"is-past-campaign"],"datetime":[1]}]]],["p-80e0db90",[[257,"biggive-campaign-card-filter-grid",{"spaceBelow":[2,"space-below"],"intro":[1],"searchText":[1,"search-text"],"placeholderText":[1,"placeholder-text"],"buttonText":[1,"button-text"],"categoryOptions":[1,"category-options"],"beneficiaryOptions":[1,"beneficiary-options"],"locationOptions":[1,"location-options"],"selectedSortByOption":[1025,"selected-sort-by-option"],"selectedFilterCategory":[1025,"selected-filter-category"],"selectedFilterBeneficiary":[1025,"selected-filter-beneficiary"],"selectedFilterLocation":[1025,"selected-filter-location"],"filtersApplied":[32],"unfocusInputs":[64]}]]],["p-7631b461",[[1,"biggive-campaign-highlights",{"spaceBelow":[2,"space-below"],"banner":[1],"campaignTitle":[1,"campaign-title"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"primaryStatIcon":[1,"primary-stat-icon"],"primaryStatText":[1,"primary-stat-text"],"secondaryStatIcon":[1,"secondary-stat-icon"],"secondaryStatText":[1,"secondary-stat-text"],"championName":[1,"champion-name"],"championUrl":[1,"champion-url"]}]]],["p-afa033d2",[[1,"biggive-cookie-banner",{"autoOpenPreferences":[4,"auto-open-preferences"],"blogUriPrefix":[1,"blog-uri-prefix"],"previouslyAgreedCookiePreferences":[16]},null,{"autoOpenPreferences":[{"autoOpenPreferencesIfRequested":0}]}]]],["p-c47d4c9e",[[257,"biggive-footer",{"headingLevel":[2,"heading-level"],"donateUrlPrefix":[1,"donate-url-prefix"],"blogUrlPrefix":[1,"blog-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"usePresetFooter":[4,"use-preset-footer"]}]]],["p-01b01870",[[1,"biggive-main-menu",{"blogUrlPrefix":[1,"blog-url-prefix"],"donateUrlPrefix":[1,"donate-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"someCampaignHasHomePageRedirect":[4,"some-campaign-has-home-page-redirect"],"isLoggedIn":[4,"is-logged-in"],"closeMobileMenuFromOutside":[64]}]]],["p-11764af6",[[1,"philco-main-menu",{"philcoUrlPrefix":[1,"philco-url-prefix"],"closeMobileMenuFromOutside":[64]}]]],["p-0732866f",[[1,"biggive-article-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"slug":[1],"slugColour":[1,"slug-colour"],"date":[1],"dateColour":[1,"date-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"image1Url":[1,"image-1-url"],"image1AltText":[1,"image-1-alt-text"],"image2Url":[1,"image-2-url"],"image2AltText":[1,"image-2-alt-text"],"imageLabel":[1,"image-label"],"imageLabelColour":[1,"image-label-colour"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColour":[1,"button-colour"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"]}]]],["p-035ab9ba",[[1,"biggive-basic-card",{"spaceBelow":[2,"space-below"],"siteDesign":[1,"site-design"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"mainTitle":[1,"main-title"],"subtitle":[1],"author":[1],"date":[1],"teaser":[1],"icon":[4],"iconColour":[1,"icon-colour"],"buttonAlign":[1,"button-align"],"buttonStyle":[1,"button-style"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColourScheme":[1,"button-colour-scheme"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"headingLevel":[2,"heading-level"],"addAnimation":[4,"add-animation"]}]]],["p-d00f7e85",[[1,"biggive-call-to-action",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"slugSize":[2,"slug-size"],"slugColour":[1,"slug-colour"],"slug":[1],"mainTitleColour":[1,"main-title-colour"],"mainTitleSize":[2,"main-title-size"],"mainTitle":[1,"main-title"],"subtitleSize":[2,"subtitle-size"],"subtitleColour":[1,"subtitle-colour"],"subtitle":[1],"teaserColour":[1,"teaser-colour"],"teaser":[1],"primaryButtonUrl":[1,"primary-button-url"],"primaryButtonLabel":[1,"primary-button-label"],"primaryButtonColourScheme":[1,"primary-button-colour-scheme"],"secondaryButtonUrl":[1,"secondary-button-url"],"secondaryButtonLabel":[1,"secondary-button-label"],"secondaryButtonColourScheme":[1,"secondary-button-colour-scheme"]}]]],["p-3c4c2712",[[1,"biggive-hero-image",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"slug":[1],"slugColour":[1,"slug-colour"],"logo":[1],"logoHeight":[2,"logo-height"],"logoAltText":[1,"logo-alt-text"],"mainImage":[1,"main-image"],"mainImageShape":[1,"main-image-shape"],"mainImageAlignHorizontal":[1,"main-image-align-horizontal"],"mainImageAlignVertical":[1,"main-image-align-vertical"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-2d91208e",[[1,"biggive-icon-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"icon":[1],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-9852ff0b",[[1,"biggive-image-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"textAlign":[1,"text-align"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonAlign":[1,"button-align"],"buttonStyle":[1,"button-style"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColourScheme":[1,"button-colour-scheme"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"addAnimation":[4,"add-animation"]}]]],["p-923b2c98",[[1,"biggive-image-feature",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-0e1f7f8b",[[1,"biggive-video-feature",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"videoUrl":[1,"video-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-d716371c",[[1,"biggive-accordion",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"headingColour":[1,"heading-colour"],"children":[32]}]]],["p-0e809246",[[1,"biggive-accordion-entry",{"heading":[1]}]]],["p-f9cfbe70",[[1,"biggive-back-to-top"]]],["p-ae012767",[[1,"biggive-biography-card",{"spaceBelow":[2,"space-below"],"borderWidth":[2,"border-width"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"textColour":[1,"text-colour"],"backgroundColour":[1,"background-colour"],"fullName":[1,"full-name"],"jobTitle":[1,"job-title"],"textAlign":[1,"text-align"],"ratio":[1],"circle":[4],"circleColour":[1,"circle-colour"],"rounded":[4],"url":[1]}]]],["p-6951c905",[[257,"biggive-boxed-content",{"spaceBelow":[2,"space-below"],"verticalPadding":[2,"vertical-padding"],"horizontalPadding":[2,"horizontal-padding"],"backgroundColour":[1,"background-colour"],"shadow":[4]}]]],["p-dc049d15",[[1,"biggive-branded-image",{"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"imageHeightPercent":[2,"image-height-percent"],"imageAlt":[1,"image-alt"],"logoUrl":[1,"logo-url"],"slug":[1],"charityName":[1,"charity-name"],"charityLocation":[1,"charity-location"],"charityUrl":[1,"charity-url"]}]]],["p-1fddd3f0",[[257,"biggive-container-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"headingLevel":[2,"heading-level"]}]]],["p-735524b5",[[257,"biggive-form"]]],["p-aa7934db",[[257,"biggive-formatted-text",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"maxWidth":[2,"max-width"],"siteDesign":[1,"site-design"]}]]],["p-f01e6a78",[[257,"biggive-grid",{"spaceBelow":[2,"space-below"],"columnCount":[2,"column-count"],"spaceBetween":[4,"space-between"],"columnGap":[2,"column-gap"]}]]],["p-6ec4baac",[[1,"biggive-heading",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"colour":[1],"htmlElement":[1,"html-element"],"size":[2],"align":[1],"text":[1],"icon":[4],"iconColour":[1,"icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-c3358a9f",[[1,"biggive-heading-banner",{"targetUrl":[1,"target-url"],"logo":[1],"slug":[1],"mainTitle":[1,"main-title"],"mainImageUrl":[1,"main-image-url"],"focalPoint":[1,"focal-point"],"teaser":[1],"backgroundColour":[1,"background-colour"],"textBackgroundColour":[1,"text-background-colour"],"slugColour":[1,"slug-colour"],"mainTitleColour":[1,"main-title-colour"],"teaserColour":[1,"teaser-colour"],"height":[1]}]]],["p-d4278701",[[1,"biggive-image",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"width":[2],"height":[2],"sizeUnit":[1,"size-unit"]}]]],["p-d0b9afaf",[[1,"biggive-image-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-8c35329c",[[257,"biggive-nav-group",{"inline":[4]}]]],["p-0b7708ae",[[257,"biggive-nav-item",{"url":[1],"label":[1],"iconColour":[1,"icon-colour"]}]]],["p-fe51dc95",[[257,"biggive-page-column"]]],["p-6c98331d",[[257,"biggive-page-columns",{"spaceBelow":[2,"space-below"]}]]],["p-65b741e1",[[257,"biggive-page-section",{"spaceBelow":[2,"space-below"],"sectionStyleTop":[1,"section-style-top"],"sectionStyleBottom":[1,"section-style-bottom"],"colourScheme":[1,"colour-scheme"],"maxWidth":[2,"max-width"],"primaryFullBleed":[4,"primary-full-bleed"]}]]],["p-94e1906f",[[1,"biggive-quote",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"quote":[1],"attribution":[1],"quoteIconColour":[1,"quote-icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-690b46f6",[[257,"biggive-sheet",{"sheetId":[1,"sheet-id"],"backgroundColour":[1,"background-colour"],"textColour":[1,"text-colour"]}]]],["p-e26f4e83",[[257,"biggive-tab",{"tabTitle":[1,"tab-title"]}]]],["p-2aefd822",[[257,"biggive-tabbed-content",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"]}]]],["p-a18dfe2b",[[257,"biggive-table",{"spaceBelow":[2,"space-below"],"headerTextColour":[1,"header-text-colour"],"headerBackgroundColour":[1,"header-background-colour"],"bodyTextColour":[1,"body-text-colour"],"bodyBackgroundColour":[1,"body-background-colour"]}]]],["p-07f6193b",[[257,"biggive-text-input",{"currency":[1],"spaceBelow":[2,"space-below"],"selectStyle":[1,"select-style"],"siteDesign":[1,"site-design"]}]]],["p-4e91f697",[[1,"biggive-timeline",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"],"entryBackgroundColour":[1,"entry-background-colour"],"entryHighlightColour":[1,"entry-highlight-colour"],"entryDateColour":[1,"entry-date-colour"],"entryTitleColour":[1,"entry-title-colour"],"entryTextColour":[1,"entry-text-colour"]}]]],["p-0161bda4",[[1,"biggive-timeline-entry",{"date":[1],"heading":[1]}]]],["p-e0de3e38",[[257,"biggive-totalizer",{"spaceBelow":[2,"space-below"],"primaryColour":[1,"primary-colour"],"primaryTextColour":[1,"primary-text-colour"],"secondaryColour":[1,"secondary-colour"],"secondaryTextColour":[1,"secondary-text-colour"],"mainMessage":[1,"main-message"]}]]],["p-5b74ac73",[[1,"biggive-totalizer-ticker-item",{"figure":[1],"label":[1]}]]],["p-3d8c0710",[[1,"biggive-video",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"videoUrl":[1,"video-url"]}]]],["p-a3cdc8c9",[[1,"philco-footer",{"headingLevel":[2,"heading-level"],"philcoUrlPrefix":[1,"philco-url-prefix"]}]]],["p-cbbd3d27",[[1,"biggive-form-field-select",{"selectionChanged":[16],"prompt":[1],"selectedValue":[1025,"selected-value"],"selectedLabel":[1025,"selected-label"],"options":[1],"selectStyle":[1,"select-style"],"backgroundColour":[1,"background-colour"],"selectedOptionColour":[1,"selected-option-colour"],"selectElementId":[1,"select-element-id"],"spaceBelow":[2,"space-below"],"placeholder":[1]}]]],["p-a67926e6",[[257,"biggive-popup",{"modalClosedCallback":[16],"openFromOutside":[64],"closeFromOutside":[64]}]]],["p-579a0a78",[[1,"biggive-progress-bar",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"counter":[2]}]]],["p-66b4e7fb",[[1,"biggive-social-icon",{"service":[1],"labelPrefix":[1,"label-prefix"],"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"wide":[4],"url":[1]}]]],["p-63535bee",[[1,"biggive-misc-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"url":[1]}]]],["p-8fe710bc",[[1,"biggive-button",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"label":[1],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"fullWidth":[4,"full-width"],"size":[1],"rounded":[4],"centered":[4],"buttonId":[1,"button-id"],"siteDesign":[1,"site-design"],"disabled":[4]}]]]]'),e))));
|
|
1
|
+
import{p as e,H as o,b as t}from"./p-eJW26lzZ.js";export{s as setNonce}from"./p-eJW26lzZ.js";import{g as l}from"./p-DQuL1Twl.js";var r=e=>{const o=e.cloneNode;e.cloneNode=function(e){if("TEMPLATE"===this.nodeName)return o.call(this,e);const t=o.call(this,!1),l=this.childNodes;if(e)for(let e=0;e<l.length;e++)2!==l[e].nodeType&&t.appendChild(l[e].cloneNode(!0));return t}};(()=>{r(o.prototype);const t=import.meta.url,l={};return""!==t&&(l.resourcesUrl=new URL(".",t).href),e(l)})().then((async e=>(await l(),t(JSON.parse('[["p-0eaeb864",[[1,"biggive-campaign-card",{"spaceBelow":[2,"space-below"],"campaignType":[1,"campaign-type"],"banner":[1],"campaignTitle":[1,"campaign-title"],"organisationName":[1,"organisation-name"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"donateButtonLabel":[1,"donate-button-label"],"donateButtonUrl":[1,"donate-button-url"],"donateButtonColourScheme":[1,"donate-button-colour-scheme"],"moreInfoButtonLabel":[1,"more-info-button-label"],"moreInfoButtonUrl":[1,"more-info-button-url"],"moreInfoButtonColourScheme":[1,"more-info-button-colour-scheme"],"isFutureCampaign":[4,"is-future-campaign"],"isPastCampaign":[4,"is-past-campaign"],"datetime":[1]}]]],["p-dd9ced38",[[257,"biggive-campaign-card-filter-grid",{"spaceBelow":[2,"space-below"],"intro":[1],"searchText":[1,"search-text"],"placeholderText":[1,"placeholder-text"],"buttonText":[1,"button-text"],"categoryOptions":[1,"category-options"],"beneficiaryOptions":[1,"beneficiary-options"],"locationOptions":[1,"location-options"],"selectedSortByOption":[1025,"selected-sort-by-option"],"selectedFilterCategory":[1025,"selected-filter-category"],"selectedFilterBeneficiary":[1025,"selected-filter-beneficiary"],"selectedFilterLocation":[1025,"selected-filter-location"],"filtersApplied":[32],"unfocusInputs":[64]}]]],["p-7631b461",[[1,"biggive-campaign-highlights",{"spaceBelow":[2,"space-below"],"banner":[1],"campaignTitle":[1,"campaign-title"],"primaryFigureLabel":[1,"primary-figure-label"],"primaryFigureAmount":[1,"primary-figure-amount"],"secondaryFigureLabel":[1,"secondary-figure-label"],"secondaryFigureAmount":[1,"secondary-figure-amount"],"progressBarCounter":[2,"progress-bar-counter"],"primaryStatIcon":[1,"primary-stat-icon"],"primaryStatText":[1,"primary-stat-text"],"secondaryStatIcon":[1,"secondary-stat-icon"],"secondaryStatText":[1,"secondary-stat-text"],"championName":[1,"champion-name"],"championUrl":[1,"champion-url"]}]]],["p-2764da54",[[1,"biggive-cookie-banner",{"autoOpenPreferences":[4,"auto-open-preferences"],"blogUriPrefix":[1,"blog-uri-prefix"],"previouslyAgreedCookiePreferences":[16]},null,{"autoOpenPreferences":[{"autoOpenPreferencesIfRequested":0}]}]]],["p-c47d4c9e",[[257,"biggive-footer",{"headingLevel":[2,"heading-level"],"donateUrlPrefix":[1,"donate-url-prefix"],"blogUrlPrefix":[1,"blog-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"usePresetFooter":[4,"use-preset-footer"]}]]],["p-91b97549",[[1,"biggive-main-menu",{"blogUrlPrefix":[1,"blog-url-prefix"],"donateUrlPrefix":[1,"donate-url-prefix"],"experienceUrlPrefix":[1,"experience-url-prefix"],"smallCharityWeekEnabled":[4,"small-charity-week-enabled"],"someCampaignHasHomePageRedirect":[4,"some-campaign-has-home-page-redirect"],"isLoggedIn":[4,"is-logged-in"],"closeMobileMenuFromOutside":[64]}]]],["p-11764af6",[[1,"philco-main-menu",{"philcoUrlPrefix":[1,"philco-url-prefix"],"closeMobileMenuFromOutside":[64]}]]],["p-0732866f",[[1,"biggive-article-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"slug":[1],"slugColour":[1,"slug-colour"],"date":[1],"dateColour":[1,"date-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"image1Url":[1,"image-1-url"],"image1AltText":[1,"image-1-alt-text"],"image2Url":[1,"image-2-url"],"image2AltText":[1,"image-2-alt-text"],"imageLabel":[1,"image-label"],"imageLabelColour":[1,"image-label-colour"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColour":[1,"button-colour"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"]}]]],["p-035ab9ba",[[1,"biggive-basic-card",{"spaceBelow":[2,"space-below"],"siteDesign":[1,"site-design"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"mainTitle":[1,"main-title"],"subtitle":[1],"author":[1],"date":[1],"teaser":[1],"icon":[4],"iconColour":[1,"icon-colour"],"buttonAlign":[1,"button-align"],"buttonStyle":[1,"button-style"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColourScheme":[1,"button-colour-scheme"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"headingLevel":[2,"heading-level"],"addAnimation":[4,"add-animation"]}]]],["p-d00f7e85",[[1,"biggive-call-to-action",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"slugSize":[2,"slug-size"],"slugColour":[1,"slug-colour"],"slug":[1],"mainTitleColour":[1,"main-title-colour"],"mainTitleSize":[2,"main-title-size"],"mainTitle":[1,"main-title"],"subtitleSize":[2,"subtitle-size"],"subtitleColour":[1,"subtitle-colour"],"subtitle":[1],"teaserColour":[1,"teaser-colour"],"teaser":[1],"primaryButtonUrl":[1,"primary-button-url"],"primaryButtonLabel":[1,"primary-button-label"],"primaryButtonColourScheme":[1,"primary-button-colour-scheme"],"secondaryButtonUrl":[1,"secondary-button-url"],"secondaryButtonLabel":[1,"secondary-button-label"],"secondaryButtonColourScheme":[1,"secondary-button-colour-scheme"]}]]],["p-3c4c2712",[[1,"biggive-hero-image",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"slug":[1],"slugColour":[1,"slug-colour"],"logo":[1],"logoHeight":[2,"logo-height"],"logoAltText":[1,"logo-alt-text"],"mainImage":[1,"main-image"],"mainImageShape":[1,"main-image-shape"],"mainImageAlignHorizontal":[1,"main-image-align-horizontal"],"mainImageAlignVertical":[1,"main-image-align-vertical"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-2d91208e",[[1,"biggive-icon-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"icon":[1],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-9852ff0b",[[1,"biggive-image-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"mainImageUrl":[1,"main-image-url"],"mainImageAltText":[1,"main-image-alt-text"],"textAlign":[1,"text-align"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonAlign":[1,"button-align"],"buttonStyle":[1,"button-style"],"buttonLabel":[1,"button-label"],"buttonUrl":[1,"button-url"],"buttonColourScheme":[1,"button-colour-scheme"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"addAnimation":[4,"add-animation"]}]]],["p-923b2c98",[[1,"biggive-image-feature",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-0e1f7f8b",[[1,"biggive-video-feature",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"videoUrl":[1,"video-url"],"slug":[1],"slugColour":[1,"slug-colour"],"mainTitle":[1,"main-title"],"mainTitleColour":[1,"main-title-colour"],"teaser":[1],"teaserColour":[1,"teaser-colour"],"buttonUrl":[1,"button-url"],"buttonLabel":[1,"button-label"],"buttonColourScheme":[1,"button-colour-scheme"]}]]],["p-d716371c",[[1,"biggive-accordion",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"headingColour":[1,"heading-colour"],"children":[32]}]]],["p-0e809246",[[1,"biggive-accordion-entry",{"heading":[1]}]]],["p-f9cfbe70",[[1,"biggive-back-to-top"]]],["p-ae012767",[[1,"biggive-biography-card",{"spaceBelow":[2,"space-below"],"borderWidth":[2,"border-width"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"textColour":[1,"text-colour"],"backgroundColour":[1,"background-colour"],"fullName":[1,"full-name"],"jobTitle":[1,"job-title"],"textAlign":[1,"text-align"],"ratio":[1],"circle":[4],"circleColour":[1,"circle-colour"],"rounded":[4],"url":[1]}]]],["p-6951c905",[[257,"biggive-boxed-content",{"spaceBelow":[2,"space-below"],"verticalPadding":[2,"vertical-padding"],"horizontalPadding":[2,"horizontal-padding"],"backgroundColour":[1,"background-colour"],"shadow":[4]}]]],["p-dc049d15",[[1,"biggive-branded-image",{"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"imageHeightPercent":[2,"image-height-percent"],"imageAlt":[1,"image-alt"],"logoUrl":[1,"logo-url"],"slug":[1],"charityName":[1,"charity-name"],"charityLocation":[1,"charity-location"],"charityUrl":[1,"charity-url"]}]]],["p-1fddd3f0",[[257,"biggive-container-card",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundImageUrl":[1,"background-image-url"],"cardColour":[1,"card-colour"],"textColour":[1,"text-colour"],"clipBottomLeftCorner":[4,"clip-bottom-left-corner"],"clipTopRightCorner":[4,"clip-top-right-corner"],"headingLevel":[2,"heading-level"]}]]],["p-735524b5",[[257,"biggive-form"]]],["p-aa7934db",[[257,"biggive-formatted-text",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"maxWidth":[2,"max-width"],"siteDesign":[1,"site-design"]}]]],["p-f01e6a78",[[257,"biggive-grid",{"spaceBelow":[2,"space-below"],"columnCount":[2,"column-count"],"spaceBetween":[4,"space-between"],"columnGap":[2,"column-gap"]}]]],["p-6ec4baac",[[1,"biggive-heading",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"colour":[1],"htmlElement":[1,"html-element"],"size":[2],"align":[1],"text":[1],"icon":[4],"iconColour":[1,"icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-c3358a9f",[[1,"biggive-heading-banner",{"targetUrl":[1,"target-url"],"logo":[1],"slug":[1],"mainTitle":[1,"main-title"],"mainImageUrl":[1,"main-image-url"],"focalPoint":[1,"focal-point"],"teaser":[1],"backgroundColour":[1,"background-colour"],"textBackgroundColour":[1,"text-background-colour"],"slugColour":[1,"slug-colour"],"mainTitleColour":[1,"main-title-colour"],"teaserColour":[1,"teaser-colour"],"height":[1]}]]],["p-d4278701",[[1,"biggive-image",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"imageUrl":[1,"image-url"],"imageAltText":[1,"image-alt-text"],"width":[2],"height":[2],"sizeUnit":[1,"size-unit"]}]]],["p-d0b9afaf",[[1,"biggive-image-button",{"spaceBelow":[2,"space-below"],"backgroundColour":[1,"background-colour"],"backgroundPadding":[2,"background-padding"],"text":[1],"textColour":[1,"text-colour"],"imageUrl":[1,"image-url"],"imageStyle":[1,"image-style"],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"size":[1],"arrow":[4],"arrowColour":[1,"arrow-colour"],"circle":[4],"shadow":[4],"centered":[4],"rounded":[4],"buttonId":[1,"button-id"]}]]],["p-8c35329c",[[257,"biggive-nav-group",{"inline":[4]}]]],["p-0b7708ae",[[257,"biggive-nav-item",{"url":[1],"label":[1],"iconColour":[1,"icon-colour"]}]]],["p-fe51dc95",[[257,"biggive-page-column"]]],["p-6c98331d",[[257,"biggive-page-columns",{"spaceBelow":[2,"space-below"]}]]],["p-65b741e1",[[257,"biggive-page-section",{"spaceBelow":[2,"space-below"],"sectionStyleTop":[1,"section-style-top"],"sectionStyleBottom":[1,"section-style-bottom"],"colourScheme":[1,"colour-scheme"],"maxWidth":[2,"max-width"],"primaryFullBleed":[4,"primary-full-bleed"]}]]],["p-94e1906f",[[1,"biggive-quote",{"spaceBelow":[2,"space-below"],"defaultTextColour":[1,"default-text-colour"],"quote":[1],"attribution":[1],"quoteIconColour":[1,"quote-icon-colour"],"siteDesign":[1,"site-design"]}]]],["p-690b46f6",[[257,"biggive-sheet",{"sheetId":[1,"sheet-id"],"backgroundColour":[1,"background-colour"],"textColour":[1,"text-colour"]}]]],["p-e26f4e83",[[257,"biggive-tab",{"tabTitle":[1,"tab-title"]}]]],["p-2aefd822",[[257,"biggive-tabbed-content",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"]}]]],["p-a18dfe2b",[[257,"biggive-table",{"spaceBelow":[2,"space-below"],"headerTextColour":[1,"header-text-colour"],"headerBackgroundColour":[1,"header-background-colour"],"bodyTextColour":[1,"body-text-colour"],"bodyBackgroundColour":[1,"body-background-colour"]}]]],["p-07f6193b",[[257,"biggive-text-input",{"currency":[1],"spaceBelow":[2,"space-below"],"selectStyle":[1,"select-style"],"siteDesign":[1,"site-design"]}]]],["p-4e91f697",[[1,"biggive-timeline",{"spaceBelow":[2,"space-below"],"textColour":[1,"text-colour"],"selectedTextColour":[1,"selected-text-colour"],"navigationHighlightColour":[1,"navigation-highlight-colour"],"selectedNavigationHighlightColour":[1,"selected-navigation-highlight-colour"],"buttonBackgroundColour":[1,"button-background-colour"],"buttonIconColour":[1,"button-icon-colour"],"entryBackgroundColour":[1,"entry-background-colour"],"entryHighlightColour":[1,"entry-highlight-colour"],"entryDateColour":[1,"entry-date-colour"],"entryTitleColour":[1,"entry-title-colour"],"entryTextColour":[1,"entry-text-colour"]}]]],["p-0161bda4",[[1,"biggive-timeline-entry",{"date":[1],"heading":[1]}]]],["p-e0de3e38",[[257,"biggive-totalizer",{"spaceBelow":[2,"space-below"],"primaryColour":[1,"primary-colour"],"primaryTextColour":[1,"primary-text-colour"],"secondaryColour":[1,"secondary-colour"],"secondaryTextColour":[1,"secondary-text-colour"],"mainMessage":[1,"main-message"]}]]],["p-5b74ac73",[[1,"biggive-totalizer-ticker-item",{"figure":[1],"label":[1]}]]],["p-3d8c0710",[[1,"biggive-video",{"spaceAbove":[2,"space-above"],"spaceBelow":[2,"space-below"],"videoUrl":[1,"video-url"]}]]],["p-a3cdc8c9",[[1,"philco-footer",{"headingLevel":[2,"heading-level"],"philcoUrlPrefix":[1,"philco-url-prefix"]}]]],["p-cbbd3d27",[[1,"biggive-form-field-select",{"selectionChanged":[16],"prompt":[1],"selectedValue":[1025,"selected-value"],"selectedLabel":[1025,"selected-label"],"options":[1],"selectStyle":[1,"select-style"],"backgroundColour":[1,"background-colour"],"selectedOptionColour":[1,"selected-option-colour"],"selectElementId":[1,"select-element-id"],"spaceBelow":[2,"space-below"],"placeholder":[1]}]]],["p-a67926e6",[[257,"biggive-popup",{"modalClosedCallback":[16],"openFromOutside":[64],"closeFromOutside":[64]}]]],["p-579a0a78",[[1,"biggive-progress-bar",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"counter":[2]}]]],["p-66b4e7fb",[[1,"biggive-social-icon",{"service":[1],"labelPrefix":[1,"label-prefix"],"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"wide":[4],"url":[1]}]]],["p-63535bee",[[1,"biggive-misc-icon",{"backgroundColour":[1,"background-colour"],"iconColour":[1,"icon-colour"],"icon":[1],"url":[1]}]]],["p-8fe710bc",[[1,"biggive-button",{"spaceBelow":[2,"space-below"],"colourScheme":[1,"colour-scheme"],"label":[1],"url":[1],"openInNewTab":[4,"open-in-new-tab"],"fullWidth":[4,"full-width"],"size":[1],"rounded":[4],"centered":[4],"buttonId":[1,"button-id"],"siteDesign":[1,"site-design"],"disabled":[4]}]]]]'),e))));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as o,h as r,g as c}from"./p-eJW26lzZ.js";const a=class{constructor(r){e(this,r),this.preferenceModalClosed=o(this,"preferenceModalClosed"),this.cookieBannerAcceptAllSelected=o(this,"cookieBannerAcceptAllSelected"),this.cookieBannerSavePreferencesSelected=o(this,"cookieBannerSavePreferencesSelected"),this.autoOpenPreferences=!1,this.previouslyAgreedCookiePreferences=void 0,this.handleChoosePrefencesClick=()=>{var e;const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.openFromOutside()},this.handleAcceptSelectedCookies=()=>{var e,o,r;const c=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==c||c.closeFromOutside();const a=null===(o=this.el.shadowRoot)||void 0===o?void 0:o.getElementById("a-and-t-on"),l=null===(r=this.el.shadowRoot)||void 0===r?void 0:r.getElementById("third-party-on");this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:a.checked,thirdParty:l.checked}),null==c||c.closeFromOutside()},this.handleRejectAllClicked=()=>{var e;this.cookieBannerSavePreferencesSelected.emit({analyticsAndTesting:!1,thirdParty:!1});const o=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==o||o.closeFromOutside()},this.handleAcceptAllClick=()=>{this.cookieBannerAcceptAllSelected.emit()}}componentDidLoad(){this.autoOpenPreferencesIfRequested()}autoOpenPreferencesIfRequested(){this.autoOpenPreferences&&this.handleChoosePrefencesClick()}render(){const e=this.previouslyAgreedCookiePreferences||{};return r("div",{key:"2ee762a4640a2e1ff255f9180678cf4dbfd2a598",class:"cooke-consent-container"},r("biggive-popup",{key:"9d39b792cfd48459a51e16a17c212f7aa96cdb35",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},r("div",{key:"6c486081f247c2f9c4dff5b8e3c177e43da36261",class:"content"},r("h4",{key:"547ae87c1d361e0161be3aa6315faac3fb44e6db",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),r("form",{key:"ab5a6534d73331e4a5018777cdb8c7cc3b2b149f"},r("div",{key:"027ebb76da24705c89dd0e7af9efc9422df248d5",class:"radio-group"},r("h5",{key:"1c62fe21a32c3bdc848926e724ec40d6576115a3"},"Essential Cookies"),r("p",{key:"98f449597690871d767eac1c1b27a39c4ff18e25"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),r("input",{key:"4b2052c2f6f27906c81abfbbe865838254dc6051",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),r("label",{key:"f6ab1b8625211d554247ef4c0cf5d9f799b2515c",htmlFor:"necassary-on"},"Off"),r("input",{key:"272f94637c70e08713e571e7f3b17a1b41146852",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),r("label",{key:"3e68f999e48edf31e32e1f130650df9a22e7e787",htmlFor:"necassary-on"},"On")),r("div",{key:"3b362a4ce9e7554459548e9cee7ee8ce872bb004",class:"radio-group"},r("h5",{key:"9b8eac4ea8b6af098173981e6025c05bc899e709"},"Analytics & Testing Cookies"),r("p",{key:"000d21c0e10f879a35ac5557e9484c42bfdae312"},"We use analytics cookies to track activity on our website. For example, the pages you’ve visited, the content you’ve engaged with and the search terms you’ve used. This allows us to personalise and improve our content."),r("p",{key:"675349e29fad1b3de7d2fdafcedeee10feb125b6"},"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."),r("input",{key:"0e6d334945abcc1a141d961393d1524c6770de0c",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),r("label",{key:"a723fd69b03b9b90ced9520761201a171f792ddb",htmlFor:"a-and-t-off"},"Off"),r("input",{key:"ff4f269d26fc5844cd524c37fc0824ef1398d021",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),r("label",{key:"6ffc75bb6a62603d7a17ad15527f5ca332e7b132",htmlFor:"a-and-t-on"},"On")),r("div",{key:"d329c1108db6cb261d26d90a920eb1849b08f761",class:"radio-group"},r("h5",{key:"130a8ab018ce11ed335a06288267de9e200d7745"},"Third-party Cookies "),r("p",{key:"b8371a30da31cb25675a48af00817259e33b7512"},"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."),r("input",{key:"68df1be21a7bd82efd2150b18e6c1ee9d808157e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),r("label",{key:"d3c37fc2aba4109dbdc17fe55cba69974cf846b4",htmlFor:"third-party-off"},"Off"),r("input",{key:"8be79cae8752cb1ceedb9afbd4ce2dd972c994ed",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),r("label",{key:"ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18",htmlFor:"third-party-on"},"On")),r("biggive-button",{key:"c741eb5b97a6fbc9f40e48764b9bc8f52eaee224","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:!1,centered:!1,"button-id":"accept-selected-button",onDoButtonClick:this.handleAcceptSelectedCookies})),r("p",{key:"5765fcffe6d1b541e118ade489a24c0ca8a4be49"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),r("h2",{key:"e4c18aec6a1d62197fbcd39b1d5e35124160d1f5"},"Our website uses cookies"),r("p",{key:"1e1517603481eb6c64f22c2e1047418b9dcb8b1a"},"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."),r("p",{key:"efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459"},r("a",{key:"d8a0d8f6a625a7dea5cbf23860b426ee432e7799",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),r("div",{key:"cf6989bab1ab42986edcc1d178f6eee571a6cbdd",class:"button-group"},r("biggive-button",{key:"ffd8e4435f368a4e269a191366749bf7896acae6",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:!1,centered:!1,"button-id":"accept-all-button"}),r("biggive-button",{key:"07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62",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:!1,centered:!1,"button-id":"choose-preferences-button"}),r("biggive-button",{key:"66ad770ea7212e6721e0a59d3b6cee34709f23ad",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:!1,centered:!1,"button-id":"choose-preferences-button"})))}get el(){return c(this)}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}};a.style='a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.background-colour-hover-primary:hover,.background-colour-primary{background-color:#2C089B}.background-colour-hover-secondary:hover,.background-colour-secondary{background-color:#2AF135}.background-colour-hover-tertiary:hover,.background-colour-tertiary{background-color:#FF7272}.background-colour-hover-brand-cc-red:hover,.background-colour-brand-cc-red{background-color:#B30510}.background-colour-hover-brand-wgmf-purple:hover,.background-colour-brand-wgmf-purple{background-color:#6E0887}.background-colour-hover-brand-gmf-green:hover,.background-colour-brand-gmf-green{background-color:#50B400}.background-colour-hover-brand-er-green:hover,.background-colour-brand-er-green{background-color:#50B400}.background-colour-hover-brand-er-dark-green:hover,.background-colour-brand-er-dark-green{background-color:#002413}.background-colour-hover-brand-er-dark-blue:hover,.background-colour-brand-er-dark-blue{background-color:#0c0068}.background-colour-hover-brand-er-teal:hover,.background-colour-brand-er-teal{background-color:#00a76d}.background-colour-hover-brand-emf-yellow:hover,.background-colour-brand-emf-yellow{background-color:#FFE500}.background-colour-hover-brand-c4c-orange:hover,.background-colour-brand-c4c-orange{background-color:#F07D00}.background-colour-hover-brand-afa-pink:hover,.background-colour-brand-afa-pink{background-color:#BF387D}.background-colour-hover-brand-scw-magenta:hover,.background-colour-brand-scw-magenta{background-color:#EE2C65}.background-colour-hover-brand-mhf-turquoise:hover,.background-colour-brand-mhf-turquoise{background-color:#62CFC9}.background-colour-hover-brand-grey:hover,.background-colour-brand-grey{background-color:#CBC8C8}.background-colour-hover-white:hover,.background-colour-white{background-color:#FFFFFF}.background-colour-hover-black:hover,.background-colour-black{background-color:#000000}.background-colour-hover-grey-extra-light:hover,.background-colour-grey-extra-light{background-color:#D7D7D7}.background-colour-hover-grey-light:hover,.background-colour-grey-light{background-color:#E8E8E8}.background-colour-hover-grey-medium:hover,.background-colour-grey-medium{background-color:#8A8A8A}.background-colour-hover-grey-dark:hover,.background-colour-grey-dark{background-color:#4A4A4A}.background-colour-hover-philco-orange:hover,.background-colour-philco-orange{background-color:#f18a00}.background-colour-hover-philco-gray-90:hover,.background-colour-philco-gray-90{background-color:#1d1d1B}.background-colour-hover-philco-gray-70:hover,.background-colour-philco-gray-70{background-color:#7D7D7D}.background-colour-hover-philco-white:hover,.background-colour-philco-white{background-color:#FFFFFF}.background-colour-hover-philco-success-green:hover,.background-colour-philco-success-green{background-color:#1Ec691}.background-colour-hover-philco-error-coral:hover,.background-colour-philco-error-coral{background-color:#F54242}.background-colour-hover-philco-gray-30:hover,.background-colour-philco-gray-30{background-color:#BBBBBB}.background-colour-hover-philco-gray-20:hover,.background-colour-philco-gray-20{background-color:#F6F6F6}.fill-primary{fill:#2C089B}.fill-secondary{fill:#2AF135}.fill-tertiary{fill:#FF7272}.fill-brand-cc-red{fill:#B30510}.fill-brand-wgmf-purple{fill:#6E0887}.fill-brand-gmf-green{fill:#50B400}.fill-brand-er-green{fill:#50B400}.fill-brand-er-dark-green{fill:#002413}.fill-brand-er-dark-blue{fill:#0c0068}.fill-brand-er-teal{fill:#00a76d}.fill-brand-emf-yellow{fill:#FFE500}.fill-brand-c4c-orange{fill:#F07D00}.fill-brand-afa-pink{fill:#BF387D}.fill-brand-scw-magenta{fill:#EE2C65}.fill-brand-mhf-turquoise{fill:#62CFC9}.fill-brand-grey{fill:#CBC8C8}.fill-white{fill:#FFFFFF}.fill-black{fill:#000000}.fill-grey-extra-light{fill:#D7D7D7}.fill-grey-light{fill:#E8E8E8}.fill-grey-medium{fill:#8A8A8A}.fill-grey-dark{fill:#4A4A4A}.fill-philco-orange{fill:#f18a00}.fill-philco-gray-90{fill:#1d1d1B}.fill-philco-gray-70{fill:#7D7D7D}.fill-philco-white{fill:#FFFFFF}.fill-philco-success-green{fill:#1Ec691}.fill-philco-error-coral{fill:#F54242}.fill-philco-gray-30{fill:#BBBBBB}.fill-philco-gray-20{fill:#F6F6F6}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-cc-red:hover,.text-colour-brand-cc-red{color:#B30510}.text-colour-hover-brand-wgmf-purple:hover,.text-colour-brand-wgmf-purple{color:#6E0887}.text-colour-hover-brand-gmf-green:hover,.text-colour-brand-gmf-green{color:#50B400}.text-colour-hover-brand-er-green:hover,.text-colour-brand-er-green{color:#50B400}.text-colour-hover-brand-er-dark-green:hover,.text-colour-brand-er-dark-green{color:#002413}.text-colour-hover-brand-er-dark-blue:hover,.text-colour-brand-er-dark-blue{color:#0c0068}.text-colour-hover-brand-er-teal:hover,.text-colour-brand-er-teal{color:#00a76d}.text-colour-hover-brand-emf-yellow:hover,.text-colour-brand-emf-yellow{color:#FFE500}.text-colour-hover-brand-c4c-orange:hover,.text-colour-brand-c4c-orange{color:#F07D00}.text-colour-hover-brand-afa-pink:hover,.text-colour-brand-afa-pink{color:#BF387D}.text-colour-hover-brand-scw-magenta:hover,.text-colour-brand-scw-magenta{color:#EE2C65}.text-colour-hover-brand-mhf-turquoise:hover,.text-colour-brand-mhf-turquoise{color:#62CFC9}.text-colour-hover-brand-grey:hover,.text-colour-brand-grey{color:#CBC8C8}.text-colour-hover-white:hover,.text-colour-white{color:#FFFFFF}.text-colour-hover-black:hover,.text-colour-black{color:#000000}.text-colour-hover-grey-extra-light:hover,.text-colour-grey-extra-light{color:#D7D7D7}.text-colour-hover-grey-light:hover,.text-colour-grey-light{color:#E8E8E8}.text-colour-hover-grey-medium:hover,.text-colour-grey-medium{color:#8A8A8A}.text-colour-hover-grey-dark:hover,.text-colour-grey-dark{color:#4A4A4A}.text-colour-hover-philco-orange:hover,.text-colour-philco-orange{color:#f18a00}.text-colour-hover-philco-gray-90:hover,.text-colour-philco-gray-90{color:#1d1d1B}.text-colour-hover-philco-gray-70:hover,.text-colour-philco-gray-70{color:#7D7D7D}.text-colour-hover-philco-white:hover,.text-colour-philco-white{color:#FFFFFF}.text-colour-hover-philco-success-green:hover,.text-colour-philco-success-green{color:#1Ec691}.text-colour-hover-philco-error-coral:hover,.text-colour-philco-error-coral{color:#F54242}.text-colour-hover-philco-gray-30:hover,.text-colour-philco-gray-30{color:#BBBBBB}.text-colour-hover-philco-gray-20:hover,.text-colour-philco-gray-20{color:#F6F6F6}:host{display:contents}h2:first-child{margin-top:0}div.cooke-consent-container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;font-size:13px;line-height:17px;border-radius:10px;background:white;border:1px solid black;max-width:650px;padding:1em}div.button-group{margin-top:1em;display:flex;justify-content:space-evenly;width:100%;flex-direction:column;gap:1em}@media screen and (min-width: 475px){div.button-group{flex-direction:row-reverse}}biggive-popup{font-size:17px;line-height:24px}biggive-popup div.content{max-height:95vh;overflow:auto}biggive-popup div.content h5{border-bottom:2px solid black;max-width:25em;margin-bottom:5px}biggive-popup div.content p{margin-top:5px;margin-bottom:8px}biggive-popup div.content div.radio-group{margin-bottom:30px}';export{a as biggive_cookie_banner}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as a,c as e,h as i,d as n,g as c}from"./p-eJW26lzZ.js";import{m as o}from"./p-BXkyQAX3.js";const s=class{constructor(i){a(this,i),this.logoutClicked=e(this,"logoutClicked"),this.blogUrlPrefix="https://biggive.org",this.donateUrlPrefix="https://donate.biggive.org",this.experienceUrlPrefix="https://community.biggive.org",this.smallCharityWeekEnabled=!1,this.someCampaignHasHomePageRedirect=!1,this.isLoggedIn=!1,this.openMobileMenu=()=>{this.host.shadowRoot.querySelector(".nav-links").style.left="0"},this.logOut=a=>{this.logoutClicked.emit(),a.preventDefault()},this.closeMobileMenu=()=>{this.host.shadowRoot.querySelector(".nav-links").style.left="-100%"}}async closeMobileMenuFromOutside(){this.host.shadowRoot.querySelector(".nav-links").style.left="-100%"}noNav(a){a.preventDefault()}componentDidLoad(){this.host.classList.add("fixed");const a=this.host.shadowRoot.querySelectorAll(".sub-menu");if(0===a.length)throw new Error("Missing subMenuElements");a.forEach((e=>{var i;const n=null===(i=e.parentElement)||void 0===i?void 0:i.querySelector("a");n.onclick=()=>{const i=n.querySelector(".sub-menu-arrow");(({except:e})=>{a.forEach((a=>{var i;const n=null===(i=a.parentElement)||void 0===i?void 0:i.querySelector("a");n!==e&&(null==n||n.classList.remove("transform-90"),a.classList.remove("display-sub-menu"))}))})({except:n}),i.classList.toggle("transform-90"),e.classList.toggle("display-sub-menu")}}));const e=this.host.shadowRoot.querySelectorAll(".sub-sub-menu");if(0===e.length)throw new Error("Missing subSubMenuElements");e.forEach((a=>{const e=a.parentElement.querySelector("a");e.onclick=()=>{e.querySelector(".sub-sub-menu-arrow").classList.toggle("transform-90"),a.classList.toggle("display-sub-menu")}}))}getSecondaryNavLinks(a){const e="desktop"===a?"white":"black",n="desktop"===a?"blue":"white";return i("ul",null,!this.isLoggedIn&&i("li",null,i("a",{href:o("Donate",this.donateUrlPrefix,"login")},"Donor Login")),this.isLoggedIn&&i("li",null,i("a",{onClick:this.noNav},"My Account",i("biggive-misc-icon",{class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":n,"icon-colour":e,icon:"CaretRight"})),i("ul",{class:"sub-menu sub-menu-main",id:"my-account-sub-menu"},i("li",null,i("a",{href:o("Donate",this.donateUrlPrefix,"my-account")},"Your details")),i("li",null,i("a",{href:"#",onClick:this.logOut,class:"no-op-link"},"Log out")))),i("li",null,i("a",{href:o("Experience",this.experienceUrlPrefix,"charities/s/login")},"Charity Login")),i("li",null,i("a",{href:o("Blog",this.blogUrlPrefix,"support")},"Support")))}render(){const a=this.someCampaignHasHomePageRedirect?"/?noredirect":"/",e=this.getSecondaryNavLinks("desktop"),c=this.getSecondaryNavLinks("mobile");return i(n,{key:"a71188cc4efd9871a697348ffe083f657b283ae5"},i("div",{key:"39a4a107ffe75f8e7d19ede061885f614fdea2a9",class:"row row-top"},i("div",{key:"1ea18d102840d6c9ffe8a1f38fd85517a9f16077",class:"social-icon-wrap"},i("biggive-social-icon",{key:"87b181088b8ee43187b4597a581c404e14e7141d",service:"Facebook",url:"https://www.facebook.com/BigGive.org","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"9d860db71485461b4c6bcf0c8ce246750b8cb6f7",service:"LinkedIn",url:"https://uk.linkedin.com/company/big-give","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"af8a1c0a3a9622726ec7dda9a05137e8d812f997",service:"YouTube",url:"https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"ccbdc145fdf913287165fdd1a6aaf77a55a98fa2",service:"Instagram",url:"https://www.instagram.com/biggiveorg","background-colour":"tertiary","icon-colour":"black"})),i("div",{key:"cf6ec6572f496f7e1a7f97cbaa38cd0bd2f163f2",class:"nav-secondary"},e)),i("nav",{key:"1f420d5f1bdc0e4aac357c05296ee80c4da81e0f",role:"navigation","aria-label":"Main Menu"},i("div",{key:"1f71094ea9bcb6c61b647778019ee66f45924696",class:"navbar"},i("div",{key:"c8271896e5ceba96fa6a2bc020fe0164688180d9",class:"logo"},i("a",{key:"902f4345095f1e5c3db333c2ed7d50d3ba0f88be",href:this.donateUrlPrefix+a,"aria-label":"Home"},i("svg",{key:"588c5162115a3ffafb97ddf86af53b9c4121bc19",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 140.9 30"},i("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"}),i("path",{key:"826af22f1b2a24adfc831adee8b60475fb14813b",d:"M13.5,1l13.5,23H0L13.5,1z"})))),i("biggive-misc-icon",{key:"ad1be2f48a8e608964ccb756cb52da4eb338be24",class:"bx bx-menu","background-colour":"white","icon-colour":"black",icon:"MenuOpen",onClick:this.openMobileMenu}),i("div",{key:"d31fb57deb63e658a40710ce0c45ecb1961fd8ca",class:"nav-links"},i("div",{key:"f3ca5a37d2aaa9b1f4abd31561b4779a9a5c9777",class:"sidebar-logo"},i("a",{key:"743662a7d7074a588e217e91db25eda2ff6c2d15",href:this.donateUrlPrefix+a,"aria-label":"Home"},i("svg",{key:"382e809389d07335e5a953183fbf321a47fa6860",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 140.9 30",id:"mobileLogo"},i("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"}),i("path",{key:"7fa8156bb04c50d4f23da0269caf99870ad125f2",d:"M13.5,1l13.5,23H0L13.5,1z"}))),i("biggive-misc-icon",{key:"1c5c4da9f51b5a4aed4b74fcf0b91202703268d6",class:"bx bx-x","background-colour":"transparent","icon-colour":"black",icon:"MenuClose",onClick:this.closeMobileMenu})),i("div",{key:"d46e194563d167d40d7f6cf9364a7b37266fea90",id:"nav-primary"},i("ul",{key:"32ac98b3314be325383a6c907131ec8d75cde07b",class:"links",slot:"nav-primary"},i("li",{key:"28268f7688721e321dc2b05c60f044463173d9e3"},i("a",{key:"c85486ecfbe5485c350bd58a7f9670658117a621",href:o("Donate",this.donateUrlPrefix,"explore")},"Explore Campaigns")),i("li",{key:"695828687874678a7a10996af29e2b9d3b425c30"},i("a",{key:"1722a445158c9c379968261b6d2a7cd4976fb15e",href:o("Blog",this.blogUrlPrefix,"charities")},"For Charities")),i("li",{key:"50583501947a3a705302145d561f832d53ae5812"},i("a",{key:"5727040fc6186f95fe158fc1addcb4669a7ed34c",href:o("Blog",this.blogUrlPrefix,"funders")},"For Funders")),i("li",{key:"093c20a8ae384ef0a3bd417a68cd7a8fcbb6883c"},i("a",{key:"a5be04190891aace0631af34ec570b35d695f212",onClick:this.noNav},"Match Funding",i("biggive-misc-icon",{key:"f2b7ddbf1b2069e293c689e719fbdbc7b8d56465",class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"6dfc1e54f3f5e87ea8af7454398c5a408d604f06",class:"sub-menu"},i("li",{key:"a7f1ebbafa67f9d3d5fe0ab20f2c25fd79c8c8bf"},i("a",{key:"da7e73aec5ec72bcb733164aef5034ead9ea1ace",href:o("Blog",this.blogUrlPrefix,"match-funding-explained")},"Match Funding Explained")),i("li",{key:"23674ba627c318ff0dedf4888eadd548d719bb8b"},i("a",{key:"75f94ebf91032a6be1b945d3dce3ef7ab6ecbe26",href:o("Blog",this.blogUrlPrefix,"impact")},"Match Funding Impact")),i("li",{key:"4499cbfdb4e338c59c951040434c3e8d5f873a40",class:"more"},i("a",{key:"6aa806d00d261b9e83b064442db0dc7a3422b211",onClick:this.noNav},"Match Funding Opportunities",i("biggive-misc-icon",{key:"c43491c531ee647d2b6dab93f1504b4e1403893d",class:"bx bxs-chevron-down sub-sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"7f624a30dcbc6b92a3ae63a7751c4a795d0cee66",class:"sub-sub-menu"},i("li",{key:"6065b050344a21ff80839980c248e2db5b421fe6"},i("a",{key:"254b45ddef637ec168dba0e6497ee9c2a5b95ba2",href:o("Blog",this.blogUrlPrefix,"christmas-challenge"),class:"icon-christmas"},"Christmas Challenge")),i("li",{key:"abc178b63d469d45dc2dc720ca8b0d5bb1d1d562"},i("a",{key:"50cb16854cd805fb607d37e3c35c0774b26e4730",href:o("Blog",this.blogUrlPrefix,"champions-for-children"),class:"icon-children"},"Champions for Children")),i("li",{key:"42199ad0cb3be9e625e7d64f261831609d2543ca"},i("a",{key:"9cd92b1ce4f2a407ae179ff17316dae5b6458c75",href:o("Blog",this.blogUrlPrefix,"earth-raise"),class:"icon-earth-raise"},"Earth Raise")),i("li",{key:"e8bc7be925fc756753e46a75ec61840dec37e6c5"},i("a",{key:"ca3cc9ad2805c7de4711370d9ee6d89fd9fb7dfd",href:o("Blog",this.blogUrlPrefix,"women-girls-match-fund"),class:"icon-women-girls"},"Women & Girls Match Fund")),i("li",{key:"36b4238882618f28bc74245d195ded277549584e"},i("a",{key:"7fa7882b9f8dfc0911e732f486c32734164e34d8",href:o("Blog",this.blogUrlPrefix,"artsforimpact/"),class:"icon-arts-impact"},"Arts for Impact")),this.smallCharityWeekEnabled&&i("li",{key:"e07ca9c9fc740fdfee5f1390ae232ba07fc4ac34"},i("a",{key:"08c85cd5ed89a11823abc9004159f38aac59ce58",href:o("Blog",this.blogUrlPrefix,"small-charity-week/"),class:"icon-small-charity"},"Small Charity Week")),i("li",{key:"21453834e0a0c2cf932b43e51ab1a9ecd25da0d9"},i("a",{key:"42f297cbd359cff7fd1f2c50a85e699108a9b3b5",href:o("Blog",this.blogUrlPrefix,"anchor-match-fund/"),class:"icon-anchor-match"},"Anchor Match Fund")),i("li",{key:"69a4d2d124be43e84ac571247e3f853c6ca97a63"},i("a",{key:"dab6d9fb5318d27eb564d14ff81a97b8dcd7490a",href:o("Blog",this.blogUrlPrefix,"emergency-campaigns/"),class:"icon-emergency"},"Emergency Match Fund")))),i("li",{key:"22bc3ca4a9480162a19fd7a142291808776b6170"},i("a",{key:"8791334851f0446650f3c13e5a60086d0a1a6c62",href:o("Blog",this.blogUrlPrefix,"run-your-own-campaign/)")},"Run your match funding campaign")))),i("li",{key:"91daf8fcbde3809abe925ca6cfc0a8528e4d40a5"},i("a",{key:"642467f0a6ac5dab5b2345bb6402dcbe5941daf2",onClick:this.noNav},"About Us",i("biggive-misc-icon",{key:"a1fe2496c7252ceb61900c24f2460f266fb94d37",class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"d8d50c42b9e5cbdd96cebe9940a73ed0ec69b2be",class:"sub-menu"},i("li",{key:"3fb3af4014a6c73001297c2c5ac7414d6ea7bd4f"},i("a",{key:"b1614fde64e22c9596826032ec821285af3f237b",href:o("Blog",this.blogUrlPrefix,"our-people")},"Our People")),i("li",{key:"258d5442f4c3b5116966518b23d55008be1eaea1"},i("a",{key:"6837cb0e8f01ffe0ac7b15502f8306f59f845f12",href:o("Blog",this.blogUrlPrefix,"our-story")},"Our Story")),i("li",{key:"db71318b135ca464d71e0b1c1da5463f767842cf"},i("a",{key:"28d904f51af4eb659870ba378a53ae5c84c7a576",href:o("Blog",this.blogUrlPrefix,"donation-funds")},"Donate by Bank Transfer")),i("li",{key:"3eb060ac01c5ff9bba796541ca490ea1bad21a87"},i("a",{key:"2d88e814473dd76af0684444935ce499efcbf1b9",href:o("Blog",this.blogUrlPrefix,"our-fees")},"Our Fees")),i("li",{key:"9fcd7d7df13bb9fc777845162cc2578975d245e9"},i("a",{key:"4e69489056e42b3557399df5a8709f313dbbcad6",href:o("Blog",this.blogUrlPrefix,"faqs")},"FAQs")))),i("li",{key:"ed130d7e4369332a9d693cb09fd7a0a279a420a0"},i("a",{key:"cc64c8c9f861901a3bd4e848c41143c3efa182ce",onClick:this.noNav},"Resources",i("biggive-misc-icon",{key:"15e23298166d754974c7dfe51a728b72592468bb",class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"4a89c7cf28d272b65a43a5254fe38b1d065da112",class:"sub-menu"},i("li",{key:"514382116c850dc40c3510568e400618105f4cbc"},i("a",{key:"806b77af54317e0c8a5eebf35f24638ffe665192",href:o("Blog",this.blogUrlPrefix,"case-studies")},"Case Studies")),i("li",{key:"71c3b652d6f04cf4bc04cb2663bc4e7bc91f9ac0"},i("a",{key:"5bf9a5477ce3e0308710522f55135905d5d340f2",href:o("Blog",this.blogUrlPrefix,"blog")},"Blog")),i("li",{key:"2476e4239439d3579bac7ae95ebd14e9644929ab"},i("a",{key:"9c8f64e39821175d6dffc33dbd6a441ecb3e771d",href:o("Blog",this.blogUrlPrefix,"reports-insights")},"Reports & Insights")),i("li",{key:"5ca4f76a1b4ff47c6b76e28bc936412cd34d080d"},i("a",{key:"2862b32143b97ab76ea1776297665698aa0bac36",href:o("Blog",this.blogUrlPrefix,"press")},"Press"))))),i("div",{key:"1c8e8adea80983b4586b0f84b18d646ce9022a1d",class:"mobile-only"},c)),i("div",{key:"48c81dfab0ca626f3cbc60e85eb8e18595e30120",class:"mobile-social-icon-wrap mobile-only"},i("biggive-social-icon",{key:"75237763cd5aeb24771d28eae24c15543dadce28",service:"Facebook",url:"https://www.facebook.com/BigGive.org","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"6eb0fa1605acaee6c0a296efd6f2cbe727a9d1cd",service:"LinkedIn",url:"https://uk.linkedin.com/company/big-give","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"677a432ccf71f8f7c9f36a1108d121176f9c7bfa",service:"YouTube",url:"https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"22c7aa0054aae2675f346a9b2d2ac1708feea3af",service:"Instagram",url:"https://www.instagram.com/biggiveorg","background-colour":"tertiary","icon-colour":"black"}))))))}get host(){return c(this)}};s.style='a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block !important}:host(.fixed){position:fixed;top:0;left:0;right:0;z-index:10}*{margin:0;padding:0;box-sizing:border-box;font-family:"Euclid Triangle", sans-serif}a[class^=icon-],a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}a.icon-earth-raise{background-image:url(/assets/images/triangles-combined-earth-raise.svg)}a.icon-children{background-image:url(/assets/images/triangles-combined-children.svg)}a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge.svg)}a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls.svg)}a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor.svg)}a.icon-small-charity{background-image:url(/assets/images/triangles-combined-small-charity-week.svg)}a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency.svg)}a.icon-arts-impact{background-image:url(/assets/images/triangles-combined-arts-black.svg)}.mobile-only{display:none !important}.row-top{padding:10px 30px;background-color:#2C089B;display:flex;max-height:60px}.row-top .social-icon-wrap{display:flex;min-height:40px;margin-right:10px}.row-top .social-icon-wrap .social-icon-item{margin-right:10px}.row-top .nav-secondary{margin-left:auto;display:grid}.row-top .nav-secondary ul{list-style:none;display:inline-flex;margin:auto}.row-top .nav-secondary li{border-right:1px solid #FFFFFF;height:fit-content;padding:0 10px}.row-top .nav-secondary li:last-child{border-right:0;padding-right:0}.row-top .nav-secondary li a{color:#FFFFFF;text-decoration:none}nav{top:0;left:0;width:100%;height:70px;background:white;z-index:99;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2)}nav .navbar{height:100%;width:100%;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:0 50px}nav .navbar .nav-links{line-height:70px;height:100%}nav .navbar .nav-links .sidebar-logo{display:none}nav .navbar .nav-links .links{display:flex}nav .navbar .nav-links .links li{position:relative;display:flex;align-items:center;justify-content:space-between;list-style:none;padding:0 30px}nav .navbar .nav-links .links li a{height:100%;text-decoration:none;white-space:nowrap;color:black;font-size:17px;font-weight:500}nav .navbar .nav-links .links li .sub-menu{position:absolute;top:70px;left:0;line-height:40px;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);border-radius:0 0 4px 4px;display:none;z-index:2;background-color:inherit}nav .navbar .nav-links .links li .sub-menu li{padding:0 22px;border-bottom:1px solid rgba(255, 255, 255, 0.1)}nav .navbar .nav-links .links li .sub-menu a{color:black;font-size:15px;font-weight:500}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu{position:absolute;top:0;right:100%;border-radius:0 4px 4px 4px;z-index:1;display:none}nav .navbar .nav-links .links li .arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}nav .navbar .nav-links .links li .arrow.transform-90{transform:rotate(90deg)}nav .navbar .logo{min-width:180px;width:180px}nav .navbar .logo a{font-size:30px;color:black;text-decoration:none;font-weight:600;display:grid}nav .navbar .bx-menu{display:none}@media (hover: hover){.row-top .nav-secondary li a:hover{border-bottom-color:#FFFFFF;color:#FFFFFF}nav .navbar .nav-links .links li .sub-menu .more:hover .sub-sub-menu{display:block}nav .navbar .nav-links .links li:hover .sub-menu-arrow{transform:rotate(90deg)}nav .navbar .nav-links .links li:hover .sub-menu{display:block;background-color:white}nav .navbar .nav-links .links li:hover .sub-menu .sub-sub-menu{background-color:white}}@media (max-width: 1200px){nav .navbar .logo{min-width:120px;width:120px}nav .navbar .nav-links .links li{padding:0 7px}nav .navbar .nav-links .links li a{font-size:15px}nav .navbar .nav-links .links li .sub-menu a{font-size:13px}}@media (max-width: 968px){.mobile-only{display:block !important}.row-top{display:none}nav{height:60px}nav .navbar{padding:0px 25px}nav .navbar .bx-menu{display:block;font-size:25px;color:black}nav .navbar .nav-links{position:fixed;top:0;left:-100%;display:block;max-width:450px;width:100%;background:white;line-height:40px;padding:20px;box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);transition:all 0.5s ease;z-index:1000;overflow-y:scroll}nav .navbar .nav-links .sidebar-logo{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .sidebar-logo a{display:contents}nav .navbar .nav-links .sidebar-logo a #mobileLogo{width:130px}nav .navbar .nav-links .sidebar-logo #x{margin-right:15px}nav .navbar .nav-links .sidebar-logo i{font-size:25px;color:black}nav .navbar .nav-links .mobile-social-icon-wrap{margin-top:20px}nav .navbar .nav-links .links{display:block;margin-top:20px}nav .navbar .nav-links .links li{display:block;border-bottom:1px solid #e6e6e6}nav .navbar .nav-links .links li a{width:100%;display:block}nav .navbar .nav-links .links li .sub-menu{position:relative;top:0;box-shadow:none;display:none}nav .navbar .nav-links .links li .sub-menu li{border-bottom:none}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu{display:none;position:relative;left:0}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu li{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .links li .sub-menu .more span{display:flex;align-items:center}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu.display-sub-menu{position:initial}}@media (max-width: 968px) and (max-width: 370px){nav .navbar .nav-links{max-width:100%}}.display-sub-menu,.display-sub-menu li{display:block !important}#nav-primary .display-sub-menu,#nav-primary .display-sub-menu li{background-color:white}.sub-menu-main{position:absolute;top:20px;left:0;line-height:40px;border-radius:0 0 4px 4px;display:none;background-color:#2C089B;z-index:2}.sub-menu-main li{border-right:none !important;padding:0 22px;display:none}@media (max-width: 968px){.sub-menu-main{position:static !important;background:none}}.arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}.arrow.transform-90{transform:rotate(90deg)}.nav-secondary li{position:relative !important}.nav-secondary li:hover .sub-menu-arrow{transform:rotate(90deg)}.nav-secondary li:hover .sub-menu-main{display:block}.nav-secondary li:hover .sub-menu-main li{display:block}';export{s as biggive_main_menu}
|
|
1
|
+
import{r as a,c as e,h as i,d as n,g as c}from"./p-eJW26lzZ.js";import{m as o}from"./p-BXkyQAX3.js";const s=class{constructor(i){a(this,i),this.logoutClicked=e(this,"logoutClicked"),this.blogUrlPrefix="https://biggive.org",this.donateUrlPrefix="https://donate.biggive.org",this.experienceUrlPrefix="https://community.biggive.org",this.smallCharityWeekEnabled=!1,this.someCampaignHasHomePageRedirect=!1,this.isLoggedIn=!1,this.openMobileMenu=()=>{this.host.shadowRoot.querySelector(".nav-links").style.left="0"},this.logOut=a=>{this.logoutClicked.emit(),a.preventDefault()},this.closeMobileMenu=()=>{this.host.shadowRoot.querySelector(".nav-links").style.left="-100%"}}async closeMobileMenuFromOutside(){this.host.shadowRoot.querySelector(".nav-links").style.left="-100%"}noNav(a){a.preventDefault()}componentDidLoad(){this.host.classList.add("fixed");const a=this.host.shadowRoot.querySelectorAll(".sub-menu");if(0===a.length)throw new Error("Missing subMenuElements");a.forEach((e=>{var i;const n=null===(i=e.parentElement)||void 0===i?void 0:i.querySelector("a");n.onclick=()=>{const i=n.querySelector(".sub-menu-arrow");(({except:e})=>{a.forEach((a=>{var i;const n=null===(i=a.parentElement)||void 0===i?void 0:i.querySelector("a");n!==e&&(null==n||n.classList.remove("transform-90"),a.classList.remove("display-sub-menu"))}))})({except:n}),i.classList.toggle("transform-90"),e.classList.toggle("display-sub-menu")}}));const e=this.host.shadowRoot.querySelectorAll(".sub-sub-menu");if(0===e.length)throw new Error("Missing subSubMenuElements");e.forEach((a=>{const e=a.parentElement.querySelector("a");e.onclick=()=>{e.querySelector(".sub-sub-menu-arrow").classList.toggle("transform-90"),a.classList.toggle("display-sub-menu")}}))}getSecondaryNavLinks(a){const e="desktop"===a?"white":"black",n="desktop"===a?"blue":"white";return i("ul",null,!this.isLoggedIn&&i("li",null,i("a",{href:o("Donate",this.donateUrlPrefix,"login")},"Donor Login")),this.isLoggedIn&&i("li",null,i("a",{onClick:this.noNav},"My Account",i("biggive-misc-icon",{class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":n,"icon-colour":e,icon:"CaretRight"})),i("ul",{class:"sub-menu sub-menu-main",id:"my-account-sub-menu"},i("li",null,i("a",{href:o("Donate",this.donateUrlPrefix,"my-account")},"Your details")),i("li",null,i("a",{href:"#",onClick:this.logOut,class:"no-op-link"},"Log out")))),i("li",null,i("a",{href:o("Experience",this.experienceUrlPrefix,"charities/s/login")},"Charity Login")),i("li",null,i("a",{href:o("Blog",this.blogUrlPrefix,"support")},"Support")))}render(){const a=this.someCampaignHasHomePageRedirect?"/?noredirect":"/",e=this.getSecondaryNavLinks("desktop"),c=this.getSecondaryNavLinks("mobile");return i(n,{key:"a71188cc4efd9871a697348ffe083f657b283ae5"},i("div",{key:"39a4a107ffe75f8e7d19ede061885f614fdea2a9",class:"row row-top"},i("div",{key:"1ea18d102840d6c9ffe8a1f38fd85517a9f16077",class:"social-icon-wrap"},i("biggive-social-icon",{key:"87b181088b8ee43187b4597a581c404e14e7141d",service:"Facebook",url:"https://www.facebook.com/BigGive.org","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"9d860db71485461b4c6bcf0c8ce246750b8cb6f7",service:"LinkedIn",url:"https://uk.linkedin.com/company/big-give","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"af8a1c0a3a9622726ec7dda9a05137e8d812f997",service:"YouTube",url:"https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"ccbdc145fdf913287165fdd1a6aaf77a55a98fa2",service:"Instagram",url:"https://www.instagram.com/biggiveorg","background-colour":"tertiary","icon-colour":"black"})),i("div",{key:"cf6ec6572f496f7e1a7f97cbaa38cd0bd2f163f2",class:"nav-secondary"},e)),i("nav",{key:"1f420d5f1bdc0e4aac357c05296ee80c4da81e0f",role:"navigation","aria-label":"Main Menu"},i("div",{key:"1f71094ea9bcb6c61b647778019ee66f45924696",class:"navbar"},i("div",{key:"c8271896e5ceba96fa6a2bc020fe0164688180d9",class:"logo"},i("a",{key:"902f4345095f1e5c3db333c2ed7d50d3ba0f88be",href:this.donateUrlPrefix+a,"aria-label":"Home"},i("svg",{key:"588c5162115a3ffafb97ddf86af53b9c4121bc19",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 140.9 30"},i("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"}),i("path",{key:"826af22f1b2a24adfc831adee8b60475fb14813b",d:"M13.5,1l13.5,23H0L13.5,1z"})))),i("biggive-misc-icon",{key:"ad1be2f48a8e608964ccb756cb52da4eb338be24",class:"bx bx-menu","background-colour":"white","icon-colour":"black",icon:"MenuOpen",onClick:this.openMobileMenu}),i("div",{key:"d31fb57deb63e658a40710ce0c45ecb1961fd8ca",class:"nav-links"},i("div",{key:"f3ca5a37d2aaa9b1f4abd31561b4779a9a5c9777",class:"sidebar-logo"},i("a",{key:"743662a7d7074a588e217e91db25eda2ff6c2d15",href:this.donateUrlPrefix+a,"aria-label":"Home"},i("svg",{key:"382e809389d07335e5a953183fbf321a47fa6860",version:"1.1",x:"0px",y:"0px",viewBox:"0 0 140.9 30",id:"mobileLogo"},i("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"}),i("path",{key:"7fa8156bb04c50d4f23da0269caf99870ad125f2",d:"M13.5,1l13.5,23H0L13.5,1z"}))),i("biggive-misc-icon",{key:"1c5c4da9f51b5a4aed4b74fcf0b91202703268d6",class:"bx bx-x","background-colour":"transparent","icon-colour":"black",icon:"MenuClose",onClick:this.closeMobileMenu})),i("div",{key:"d46e194563d167d40d7f6cf9364a7b37266fea90",id:"nav-primary"},i("ul",{key:"32ac98b3314be325383a6c907131ec8d75cde07b",class:"links",slot:"nav-primary"},i("li",{key:"28268f7688721e321dc2b05c60f044463173d9e3"},i("a",{key:"c85486ecfbe5485c350bd58a7f9670658117a621",href:o("Donate",this.donateUrlPrefix,"explore")},"Explore Campaigns")),i("li",{key:"695828687874678a7a10996af29e2b9d3b425c30"},i("a",{key:"1722a445158c9c379968261b6d2a7cd4976fb15e",href:o("Blog",this.blogUrlPrefix,"charities")},"For Charities")),i("li",{key:"50583501947a3a705302145d561f832d53ae5812"},i("a",{key:"5727040fc6186f95fe158fc1addcb4669a7ed34c",href:o("Blog",this.blogUrlPrefix,"funders")},"For Funders")),i("li",{key:"093c20a8ae384ef0a3bd417a68cd7a8fcbb6883c"},i("a",{key:"a5be04190891aace0631af34ec570b35d695f212",onClick:this.noNav},"Match Funding",i("biggive-misc-icon",{key:"f2b7ddbf1b2069e293c689e719fbdbc7b8d56465",class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"6dfc1e54f3f5e87ea8af7454398c5a408d604f06",class:"sub-menu"},i("li",{key:"a7f1ebbafa67f9d3d5fe0ab20f2c25fd79c8c8bf"},i("a",{key:"da7e73aec5ec72bcb733164aef5034ead9ea1ace",href:o("Blog",this.blogUrlPrefix,"match-funding-explained")},"Match Funding Explained")),i("li",{key:"23674ba627c318ff0dedf4888eadd548d719bb8b"},i("a",{key:"75f94ebf91032a6be1b945d3dce3ef7ab6ecbe26",href:o("Blog",this.blogUrlPrefix,"impact")},"Match Funding Impact")),i("li",{key:"4499cbfdb4e338c59c951040434c3e8d5f873a40",class:"more"},i("a",{key:"6aa806d00d261b9e83b064442db0dc7a3422b211",onClick:this.noNav},"Match Funding Opportunities",i("biggive-misc-icon",{key:"c43491c531ee647d2b6dab93f1504b4e1403893d",class:"bx bxs-chevron-down sub-sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"7f624a30dcbc6b92a3ae63a7751c4a795d0cee66",class:"sub-sub-menu"},i("li",{key:"6065b050344a21ff80839980c248e2db5b421fe6"},i("a",{key:"254b45ddef637ec168dba0e6497ee9c2a5b95ba2",href:o("Blog",this.blogUrlPrefix,"christmas-challenge"),class:"icon-christmas"},"Christmas Challenge")),i("li",{key:"abc178b63d469d45dc2dc720ca8b0d5bb1d1d562"},i("a",{key:"50cb16854cd805fb607d37e3c35c0774b26e4730",href:o("Blog",this.blogUrlPrefix,"champions-for-children"),class:"icon-children"},"Champions for Children")),i("li",{key:"42199ad0cb3be9e625e7d64f261831609d2543ca"},i("a",{key:"9cd92b1ce4f2a407ae179ff17316dae5b6458c75",href:o("Blog",this.blogUrlPrefix,"earth-raise"),class:"icon-earth-raise"},"Earth Raise")),i("li",{key:"e8bc7be925fc756753e46a75ec61840dec37e6c5"},i("a",{key:"ca3cc9ad2805c7de4711370d9ee6d89fd9fb7dfd",href:o("Blog",this.blogUrlPrefix,"women-girls-match-fund"),class:"icon-women-girls"},"Women & Girls Match Fund")),i("li",{key:"36b4238882618f28bc74245d195ded277549584e"},i("a",{key:"7fa7882b9f8dfc0911e732f486c32734164e34d8",href:o("Blog",this.blogUrlPrefix,"artsforimpact/"),class:"icon-arts-impact"},"Arts for Impact")),this.smallCharityWeekEnabled&&i("li",{key:"e07ca9c9fc740fdfee5f1390ae232ba07fc4ac34"},i("a",{key:"08c85cd5ed89a11823abc9004159f38aac59ce58",href:o("Blog",this.blogUrlPrefix,"small-charity-week/"),class:"icon-small-charity"},"Small Charity Week")),i("li",{key:"21453834e0a0c2cf932b43e51ab1a9ecd25da0d9"},i("a",{key:"42f297cbd359cff7fd1f2c50a85e699108a9b3b5",href:o("Blog",this.blogUrlPrefix,"anchor-match-fund/"),class:"icon-anchor-match"},"Anchor Match Fund")),i("li",{key:"69a4d2d124be43e84ac571247e3f853c6ca97a63"},i("a",{key:"dab6d9fb5318d27eb564d14ff81a97b8dcd7490a",href:o("Blog",this.blogUrlPrefix,"emergency-campaigns/"),class:"icon-emergency"},"Emergency Match Fund")))),i("li",{key:"22bc3ca4a9480162a19fd7a142291808776b6170"},i("a",{key:"8791334851f0446650f3c13e5a60086d0a1a6c62",href:o("Blog",this.blogUrlPrefix,"run-your-own-campaign/)")},"Run your match funding campaign")))),i("li",{key:"91daf8fcbde3809abe925ca6cfc0a8528e4d40a5"},i("a",{key:"642467f0a6ac5dab5b2345bb6402dcbe5941daf2",onClick:this.noNav},"About Us",i("biggive-misc-icon",{key:"a1fe2496c7252ceb61900c24f2460f266fb94d37",class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"d8d50c42b9e5cbdd96cebe9940a73ed0ec69b2be",class:"sub-menu"},i("li",{key:"3fb3af4014a6c73001297c2c5ac7414d6ea7bd4f"},i("a",{key:"b1614fde64e22c9596826032ec821285af3f237b",href:o("Blog",this.blogUrlPrefix,"our-people")},"Our People")),i("li",{key:"258d5442f4c3b5116966518b23d55008be1eaea1"},i("a",{key:"6837cb0e8f01ffe0ac7b15502f8306f59f845f12",href:o("Blog",this.blogUrlPrefix,"our-story")},"Our Story")),i("li",{key:"db71318b135ca464d71e0b1c1da5463f767842cf"},i("a",{key:"28d904f51af4eb659870ba378a53ae5c84c7a576",href:o("Blog",this.blogUrlPrefix,"donation-funds")},"Donate by Bank Transfer")),i("li",{key:"3eb060ac01c5ff9bba796541ca490ea1bad21a87"},i("a",{key:"2d88e814473dd76af0684444935ce499efcbf1b9",href:o("Blog",this.blogUrlPrefix,"our-fees")},"Our Fees")),i("li",{key:"9fcd7d7df13bb9fc777845162cc2578975d245e9"},i("a",{key:"4e69489056e42b3557399df5a8709f313dbbcad6",href:o("Blog",this.blogUrlPrefix,"faqs")},"FAQs")))),i("li",{key:"ed130d7e4369332a9d693cb09fd7a0a279a420a0"},i("a",{key:"cc64c8c9f861901a3bd4e848c41143c3efa182ce",onClick:this.noNav},"Resources",i("biggive-misc-icon",{key:"15e23298166d754974c7dfe51a728b72592468bb",class:"bx bxs-chevron-down sub-menu-arrow arrow","background-colour":"white","icon-colour":"black",icon:"CaretRight"})),i("ul",{key:"4a89c7cf28d272b65a43a5254fe38b1d065da112",class:"sub-menu"},i("li",{key:"514382116c850dc40c3510568e400618105f4cbc"},i("a",{key:"806b77af54317e0c8a5eebf35f24638ffe665192",href:o("Blog",this.blogUrlPrefix,"case-studies")},"Case Studies")),i("li",{key:"71c3b652d6f04cf4bc04cb2663bc4e7bc91f9ac0"},i("a",{key:"5bf9a5477ce3e0308710522f55135905d5d340f2",href:o("Blog",this.blogUrlPrefix,"blog")},"Blog")),i("li",{key:"2476e4239439d3579bac7ae95ebd14e9644929ab"},i("a",{key:"9c8f64e39821175d6dffc33dbd6a441ecb3e771d",href:o("Blog",this.blogUrlPrefix,"reports-insights")},"Reports & Insights")),i("li",{key:"5ca4f76a1b4ff47c6b76e28bc936412cd34d080d"},i("a",{key:"2862b32143b97ab76ea1776297665698aa0bac36",href:o("Blog",this.blogUrlPrefix,"press")},"Press"))))),i("div",{key:"1c8e8adea80983b4586b0f84b18d646ce9022a1d",class:"mobile-only"},c)),i("div",{key:"48c81dfab0ca626f3cbc60e85eb8e18595e30120",class:"mobile-social-icon-wrap mobile-only"},i("biggive-social-icon",{key:"75237763cd5aeb24771d28eae24c15543dadce28",service:"Facebook",url:"https://www.facebook.com/BigGive.org","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"6eb0fa1605acaee6c0a296efd6f2cbe727a9d1cd",service:"LinkedIn",url:"https://uk.linkedin.com/company/big-give","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"677a432ccf71f8f7c9f36a1108d121176f9c7bfa",service:"YouTube",url:"https://www.youtube.com/channel/UC9_wH1aaTuZurJ-F9R8GDcA","background-colour":"tertiary","icon-colour":"black"}),i("biggive-social-icon",{key:"22c7aa0054aae2675f346a9b2d2ac1708feea3af",service:"Instagram",url:"https://www.instagram.com/biggiveorg","background-colour":"tertiary","icon-colour":"black"}))))))}get host(){return c(this)}};s.style='a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block !important}:host(.fixed){position:fixed;top:0;left:0;right:0;z-index:10}*{margin:0;padding:0;box-sizing:border-box;font-family:"Euclid Triangle", sans-serif}a[class^=icon-],a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}a.icon-earth-raise{background-image:url(/assets/images/triangles-combined-earth-raise.svg)}a.icon-children{background-image:url(/assets/images/triangles-combined-children.svg)}a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge.svg)}a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls.svg)}a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor.svg)}a.icon-small-charity{background-image:url(/assets/images/triangles-combined-small-charity-week.svg)}a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency.svg)}a.icon-arts-impact{background-image:url(/assets/images/triangles-combined-arts-black.svg)}.mobile-only{display:none !important}.row-top{padding:10px 30px;background-color:#2C089B;display:flex;max-height:60px}.row-top .social-icon-wrap{display:flex;min-height:40px;margin-right:10px}.row-top .social-icon-wrap .social-icon-item{margin-right:10px}.row-top .nav-secondary{margin-left:auto;display:grid}.row-top .nav-secondary ul{list-style:none;display:inline-flex;margin:auto}.row-top .nav-secondary li{border-right:1px solid #FFFFFF;height:fit-content;padding:0 10px}.row-top .nav-secondary li:last-child{border-right:0;padding-right:0}.row-top .nav-secondary li a{color:#FFFFFF;text-decoration:none}nav{top:0;left:0;width:100%;height:70px;background:white;z-index:99;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2)}nav .navbar{height:100%;width:100%;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:0 50px}nav .navbar .nav-links{line-height:70px;height:100%}nav .navbar .nav-links .sidebar-logo{display:none}nav .navbar .nav-links .links{display:flex}nav .navbar .nav-links .links li{position:relative;display:flex;align-items:center;justify-content:space-between;list-style:none;padding:0 30px}nav .navbar .nav-links .links li a{height:100%;text-decoration:none;white-space:nowrap;color:black;font-size:17px;font-weight:500}nav .navbar .nav-links .links li .sub-menu{position:absolute;top:70px;left:0;line-height:40px;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);border-radius:0 0 4px 4px;display:none;z-index:2;background-color:inherit}nav .navbar .nav-links .links li .sub-menu li{padding:0 22px;border-bottom:1px solid rgba(255, 255, 255, 0.1)}nav .navbar .nav-links .links li .sub-menu a{color:black;font-size:15px;font-weight:500}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu{position:absolute;top:0;right:100%;border-radius:0 4px 4px 4px;z-index:1;display:none}nav .navbar .nav-links .links li .arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}nav .navbar .nav-links .links li .arrow.transform-90{transform:rotate(90deg)}nav .navbar .logo{min-width:180px;width:180px}nav .navbar .logo a{font-size:30px;color:black;text-decoration:none;font-weight:600;display:grid}nav .navbar .bx-menu{display:none}@media (hover: hover) and (min-width: 968px){.row-top .nav-secondary li a:hover{border-bottom-color:#FFFFFF;color:#FFFFFF}nav .navbar .nav-links .links li .sub-menu .more:hover .sub-sub-menu{display:block}nav .navbar .nav-links .links li:hover .sub-menu-arrow{transform:rotate(90deg)}nav .navbar .nav-links .links li:hover .sub-menu{display:block;background-color:white}nav .navbar .nav-links .links li:hover .sub-menu .sub-sub-menu{background-color:white}}@media (max-width: 1200px){nav .navbar .logo{min-width:120px;width:120px}nav .navbar .nav-links .links li{padding:0 7px}nav .navbar .nav-links .links li a{font-size:15px}nav .navbar .nav-links .links li .sub-menu a{font-size:13px}}@media (max-width: 968px){.mobile-only{display:block !important}.row-top{display:none}nav{height:60px}nav .navbar{padding:0px 25px}nav .navbar .bx-menu{display:block;font-size:25px;color:black}nav .navbar .nav-links{position:fixed;top:0;left:-100%;display:block;max-width:450px;width:100%;background:white;line-height:40px;padding:20px;box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);transition:all 0.5s ease;z-index:1000;overflow-y:scroll}nav .navbar .nav-links .sidebar-logo{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .sidebar-logo a{display:contents}nav .navbar .nav-links .sidebar-logo a #mobileLogo{width:130px}nav .navbar .nav-links .sidebar-logo #x{margin-right:15px}nav .navbar .nav-links .sidebar-logo i{font-size:25px;color:black}nav .navbar .nav-links .mobile-social-icon-wrap{margin-top:20px}nav .navbar .nav-links .links{display:block;margin-top:20px}nav .navbar .nav-links .links li{display:block;border-bottom:1px solid #e6e6e6}nav .navbar .nav-links .links li a{width:100%;display:block}nav .navbar .nav-links .links li .sub-menu{position:relative;top:0;box-shadow:none;display:none}nav .navbar .nav-links .links li .sub-menu li{border-bottom:none}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu{display:none;position:relative;left:0}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu li{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .links li .sub-menu .more span{display:flex;align-items:center}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu.display-sub-menu{position:initial}}@media (max-width: 968px) and (max-width: 370px){nav .navbar .nav-links{max-width:100%}}.display-sub-menu,.display-sub-menu li{display:block !important}#nav-primary .display-sub-menu,#nav-primary .display-sub-menu li{background-color:white}.sub-menu-main{position:absolute;top:20px;left:0;line-height:40px;border-radius:0 0 4px 4px;display:none;background-color:#2C089B;z-index:2}.sub-menu-main li{border-right:none !important;padding:0 22px;display:none}@media (max-width: 968px){.sub-menu-main{position:static !important;background:none}}.arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}.arrow.transform-90{transform:rotate(90deg)}.nav-secondary li{position:relative !important}.nav-secondary li:hover .sub-menu-arrow{transform:rotate(90deg)}.nav-secondary li:hover .sub-menu-main{display:block}.nav-secondary li:hover .sub-menu-main li{display:block}';export{s as biggive_main_menu}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as t,h as i,g as a}from"./p-eJW26lzZ.js";import{f as l}from"./p-CoGE2Wf-.js";const s={relevance:"Relevance",amountRaised:"Most raised",leastRaised:"Least raised",closeToTarget:"Nearest target",matchFundsRemaining:"Most funds remaining"},r=class{constructor(i){e(this,i),this.doSearchAndFilterUpdate=t(this,"doSearchAndFilterUpdate"),this.sortByPlaceholderText="Sort by",this.beneficiariesPlaceHolderText="Select beneficiary",this.categoriesPlaceHolderText="Select category",this.locationsPlaceHolderText="Select location",this.newSelectedFilterCategory=null,this.newSelectedFilterBeneficiary=null,this.newSelectedFilterLocation=null,this.spaceBelow=0,this.intro="Find a charity or project",this.searchText=null,this.placeholderText="Search",this.buttonText="Search",this.selectedFilterCategory=null,this.selectedFilterBeneficiary=null,this.selectedFilterLocation=null,this.categoryFilterSelectionChanged=e=>{this.newSelectedFilterCategory=e},this.beneficiarySelectionChanged=e=>{this.newSelectedFilterBeneficiary=e},this.locationSelectionChanged=e=>{this.newSelectedFilterLocation=e},this.sortBySelectionChanged=e=>{this.selectedSortByOption=e,this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject())},this.handleApplyFilterButtonClick=()=>{var e,t,i,a;this.selectedFilterCategory=null!==(e=this.newSelectedFilterCategory)&&void 0!==e?e:this.selectedFilterCategory,this.selectedFilterBeneficiary=null!==(t=this.newSelectedFilterBeneficiary)&&void 0!==t?t:this.selectedFilterBeneficiary,this.selectedFilterLocation=null!==(i=this.newSelectedFilterLocation)&&void 0!==i?i:this.selectedFilterLocation;const l=this.getSearchAndFilterObject();this.doSearchAndFilterUpdate.emit(l);const s=null===(a=this.el.shadowRoot)||void 0===a?void 0:a.getElementById("filter-popup");s&&s.closeFromOutside(),this.filtersApplied="string"==typeof l.filterBeneficiary||"string"==typeof l.filterCategory||"string"==typeof l.filterLocation},this.handleSearchButtonPressed=()=>{this.unfocusTextInput(),this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()),this.hasSearchTerm()&&(this.selectedSortByOption="Relevance")},this.handleSearchTextChanged=e=>{this.searchText=e.target.value},this.handleEnterPressed=e=>{"Enter"===e.key&&(this.unfocusTextInput(),this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()))},this.handleFilterButtonClick=()=>{var e;this.newSelectedFilterBeneficiary=this.selectedFilterBeneficiary,this.newSelectedFilterCategory=this.selectedFilterCategory,this.newSelectedFilterLocation=this.selectedFilterLocation;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("filter-popup");t&&t.openFromOutside()},this.handleClearAll=()=>{var e;this.unfocusTextInput(),this.filtersApplied=!1,this.searchText=null,this.selectedSortByOption=this.initialSortByOption,this.selectedFilterBeneficiary=null,this.selectedFilterCategory=null,this.selectedFilterLocation=null,["sort-by","categories","beneficiaries","locations","funding"].forEach((e=>{var t;const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.getElementById(e);i&&(i.selectedValue=null,i.selectedLabel=null)}));const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".selected-filters");t&&t.querySelectorAll(".button").forEach((e=>{e.remove()})),this.doSearchAndFilterUpdate.emit({searchText:null,sortBy:null,filterCategory:null,filterBeneficiary:null,filterLocation:null})}}async unfocusInputs(){this.unfocusTextInput()}getSearchAndFilterObject(){return{searchText:this.searchText,sortBy:this.selectedSortByOption,filterCategory:this.selectedFilterCategory,filterBeneficiary:this.selectedFilterBeneficiary,filterLocation:this.selectedFilterLocation}}removeFilter(e){var t;switch(e){case"beneficiaries":this.selectedFilterBeneficiary=null;break;case"categories":this.selectedFilterCategory=null;break;case"locations":this.selectedFilterLocation=null;break;default:console.error(e)}const i=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.getElementById(e);i&&(i.selectedLabel=null,i.selectedValue=null,this.doSearchAndFilterUpdate.emit(this.getSearchAndFilterObject()))}unfocusTextInput(){var e;const t=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector(".input-text");null==t||t.blur()}componentWillRender(){this.filtersApplied=null!==this.selectedFilterCategory||null!==this.selectedFilterBeneficiary||null!==this.selectedFilterLocation,this.initialSortByOption=this.selectedSortByOption}render(){var e;const t=this.getSortOptions();return i("div",{key:"5be71f04f2f6e4a45e61da8940e2539f348c5cac",class:"container space-below-"+this.spaceBelow},i("div",{key:"f1b79a107817211888847c09c99447759052ccd6",class:"sleeve"},i("div",{key:"7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84",class:"search-wrap"},i("h4",{key:"c78c9b66dac9880f28513fb3fb8f0f2cca9d0861"},this.intro),i("div",{key:"0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8",class:"field-wrap"},i("div",{key:"406ec166abfc71ad3773077376073fd9ece76aac",class:"input-wrap"},i("svg",{key:"6b736eb1bd1560214079b50cce7bc59fed380eba",xmlns:"http://www.w3.org/2000/svg",class:"icon",viewBox:"0 0 512 512"},i("path",{key:"8fdac8bd9978f84302725fff032d5a7248a78982",d:l.icon[4].toString()})),i("input",{key:"440d6a45a53a222d2bc3043048b55056e60d3fae",type:"text",value:null!==(e=this.searchText)&&void 0!==e?e:"",class:"input-text",placeholder:this.placeholderText,onInput:this.handleSearchTextChanged,onKeyDown:this.handleEnterPressed})),i("biggive-button",{key:"9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908",onDoButtonClick:this.handleSearchButtonPressed,label:this.buttonText}))),i("div",{key:"61145db67953fd6235150c9e3aa4c5e1ddecc032",class:"sort-filter-wrap"},i("div",{key:"a15f585989f71159f8ba838463b0d240431633f7",class:"filter-wrap"},i("biggive-button",{key:"cc6aa826f7f492bd0e5016d1bde47f24535ce87d",class:"filter",colourScheme:"primary",onDoButtonClick:this.handleFilterButtonClick,label:"Filter",fullWidth:!0,"space-below":"0"}),i("biggive-popup",{key:"3ad918e1772a03426c5c067964bbb0fbbc2b56c8",id:"filter-popup"},i("h4",{key:"ba1813fa8e36ee461a85bf497cb06b60a4995b18",class:"space-above-0 space-below-3 text-colour-primary"},"Filters"),i("div",{key:"7f6deab4b11cd5841b691e8d44344462ab111bc5",class:"select-wrapper-1"},i("biggive-form-field-select",{key:"4dd06fde97603055af64e9e23a5f5f11dc7b1491",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"})),i("div",{key:"7bbcd9eb9642b84be51492f6db7bb6381366da4c",class:"select-wrapper-2"},i("biggive-form-field-select",{key:"73721e3bc15f4c266af026263c478bf9814fb00f",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"})),i("div",{key:"de856e44a37fa775389bee8559105654f43291a0",class:"select-wrapper-3"},i("biggive-form-field-select",{key:"2ff9d220a0859e589883dc2dd68660f803aa391d",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"})),i("div",{key:"6227a1d3942f208608a2ad91bf28c49b4bc9022d",class:"align-right"},i("biggive-button",{key:"bf1c8b35b7a151092173ad07c6cea1005a06cf7a",label:"Apply filters",onDoButtonClick:this.handleApplyFilterButtonClick})))),i("div",{key:"8ebda9bd87f0699cc4583ea83965e7a4ee55a487",class:"sort-wrap"},i("biggive-form-field-select",{key:"d56d94c0edd3e5fcd0a9792c3a623158d0247bea",options:t,prompt:null,"select-style":"underlined",placeholder:this.sortByPlaceholderText,selectedLabel:this.selectedSortByOption,selectedValue:this.getSelectedValue(),selectionChanged:this.sortBySelectionChanged,id:"sort-by"},i("biggive-form-field-select-option",{key:"d2c48236d24a187f7f6a0c1d6b19a677164b075d",value:"amountRaised",label:"Most raised"}),i("biggive-form-field-select-option",{key:"26a71e33235df3c3b3893c3c2567356bda95a51b",value:"leastRaised",label:"Least raised"}),i("biggive-form-field-select-option",{key:"425338ab178fb056fcaa34cd99a2034b82537eb4",value:"matchFundsRemaining",label:"Most funds remaining"}),i("biggive-form-field-select-option",{key:"c830bde748760a1a8bfb1ec4c51a6cb7adb235af",value:"closeToTarget",label:"Nearest target"}),(this.searchText||"").length>0?i("biggive-form-field-select-option",{value:"Relevance",label:"Relevance"}):null))),i("div",{key:"31ddc538b8a2e77d82a39aeaea1273eb1ac55135",class:"selected-filter-wrap"},i("div",{key:"47b7979d0b14fbba0f1468f26af3973fe3ea4f28",class:"selected-filters"},this.selectedFilterCategory&&i("span",{key:"f4fd6cc1214954fcdf238e93a0397ede5ccdb921",class:"button",onClick:()=>{this.removeFilter("categories")}},this.selectedFilterCategory),this.selectedFilterBeneficiary&&i("span",{key:"946143a1693b5d8a5e2042de52e37d9a4841bc0f",class:"button",onClick:()=>{this.removeFilter("beneficiaries")}},this.selectedFilterBeneficiary),this.selectedFilterLocation&&i("span",{key:"facb50dff01a6b2c39f958ec0034c04dfe479828",class:"button",onClick:()=>{this.removeFilter("locations")}},this.selectedFilterLocation)),i("div",{key:"38c788f63669bc7b2acba4a73839cc6dd049a49a",class:"clear-all"},i("a",{key:"8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa",onClick:this.handleClearAll},"Clear all"))),i("div",{key:"df60a79e69ccdf7bcbcfd2c281d10446fb749a8e",class:"campaign-grid"},i("slot",{key:"845cd64aee0efa6aeadb8064d952ae43b4dfb6c7",name:"campaign-grid"}))))}getSelectedValue(){const e=this.selectedSortByOption;if(void 0===e)return;const t=this.getSortOptions().filter((t=>t.label.toLowerCase()===e.toLowerCase()))[0];return null==t?void 0:t.value}getSortOptions(){return Object.getOwnPropertyNames(s).filter((e=>"relevance"!==e||this.hasSearchTerm())).map((e=>({value:e,label:s[e]})))}hasSearchTerm(){return"string"==typeof this.searchText&&this.searchText.length>0}optionsToArray(e){return"string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)?e.map((e=>({value:e,label:e}))):Object.entries(e).map((e=>({value:e[0],label:e[1]})))}get el(){return a(this)}};r.style='a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:content}.select-wrapper-1,.select-wrapper-2,.select-wrapper-3,.select-wrapper-4{position:relative;margin-top:1em}.select-wrapper-1{z-index:4}.select-wrapper-2{z-index:3}.select-wrapper-3{z-index:2}.select-wrapper-4{z-index:1}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative}.container .search-wrap{background-color:#FFFFFF;padding:15px 30px;margin-bottom:15px}.container .search-wrap h4{margin-bottom:15px}.container .search-wrap .field-wrap{display:flex;justify-content:space-between}.container .search-wrap .field-wrap .input-wrap{display:flex;justify-content:space-between;padding-bottom:5px;border-bottom:1px solid #000000;margin-right:30px;flex-grow:1}.container .search-wrap .field-wrap .input-wrap input{border:0}.container .search-wrap .field-wrap button{padding:5px 30px}.selected-filter-wrap{display:flex;margin-bottom:23px;padding:0}.selected-filter-wrap .button{margin-bottom:7px;display:inline-block;cursor:pointer;border-radius:20px;padding:5px 50px 5px 20px;margin-right:15px;background-color:#FF7272;color:#000000;border:1px solid #FF7272;text-decoration:none;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJMYXllcl8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIKCSB2aWV3Qm94PSIwIDAgMTguNCAxOC40IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCAxOC40IDE4LjQ7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4KCS5zdDB7c3Ryb2tlOiMwMDAwMDA7fQo8L3N0eWxlPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNOS4yLDguNUwxNywwLjdsMC43LDAuN0w5LjksOS4ybDcuOCw3LjhMMTcsMTcuN0w5LjIsOS45bC03LjgsNy44TDAuNywxN2w3LjgtNy44TDAuNywxLjRsMC43LTAuN0w5LjIsOC41eiIvPgo8L3N2Zz4K);background-repeat:no-repeat;background-position:right 20px center;background-size:12px auto}.selected-filter-wrap .button:hover{background-color:#FFFFFF;color:#000000}.selected-filter-wrap .clear-all{margin-left:auto}.selected-filter-wrap .clear-all a{display:inline-block;cursor:pointer;border-radius:20px;padding:5px 20px;background-color:#2C089B;color:#FFFFFF;border:1px solid #2C089B;text-decoration:none}.selected-filter-wrap .clear-all a:hover{background-color:#FFFFFF;color:#2C089B}.sort-filter-wrap{display:flex;justify-content:flex-end;margin-bottom:30px;padding:0;text-align:right;display:flex}.sort-filter-wrap .clear-all{cursor:pointer;vertical-align:center;margin-top:auto;margin-bottom:auto}.sort-filter-wrap .sort-wrap{margin-left:15px}.sort-filter-wrap .filter-wrap{background-color:#F6F6F6;margin-left:15px}.sort-filter-wrap .filter-wrap .button.filter{padding-left:60px;padding-right:30px}.sort-filter-wrap .filter-wrap .button.filter .filter-icon{content:"";display:block;position:absolute;left:25px;top:17px;width:13px;height:13px}.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg{width:100%;height:auto;vertical-align:top}.sort-filter-wrap .filter-wrap .button.filter .filter-icon svg:hover{fill:#2C089B}.icon{height:1rem;width:2rem;vertical-align:-0.125rem;margin:auto}.icon>path{fill:#2C089B}.icon-clear-all>path{fill:#000000}@media screen and (max-width: 450px){.sort-filter-wrap{flex-direction:column-reverse}.sort-filter-wrap .sort-wrap{margin-top:20px;margin-bottom:20px}}@media screen and (max-width: 350px){.sort-filter-wrap{justify-content:space-between}.sort-filter-wrap .sort-wrap{margin-left:0px}.sort-filter-wrap .filter-wrap{margin-left:3px}}.align-right{text-align:right}.input-text{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;color:#000000;padding:5px 10px;box-sizing:border-box;width:100%}.input-text:focus{outline:0}.input-text::placeholder{color:#4A4A4A}.text-colour-primary{color:#2C089B}';export{r as biggive_campaign_card_filter_grid}
|
|
@@ -211,13 +211,13 @@ const BiggiveCampaignCardFilterGrid = class {
|
|
|
211
211
|
render() {
|
|
212
212
|
var _a;
|
|
213
213
|
const sortOptions = this.getSortOptions();
|
|
214
|
-
return (index.h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, index.h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, index.h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), index.h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, index.h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, index.h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, index.h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: index$1.faMagnifyingGlass.icon[4].toString() })), index.h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', 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: '
|
|
214
|
+
return (index.h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, index.h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, index.h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, index.h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), index.h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, index.h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, index.h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, index.h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: index$1.faMagnifyingGlass.icon[4].toString() })), index.h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', 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: '9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), index.h("div", { key: '61145db67953fd6235150c9e3aa4c5e1ddecc032', class: "sort-filter-wrap" }, index.h("div", { key: 'a15f585989f71159f8ba838463b0d240431633f7', class: "filter-wrap" }, index.h("biggive-button", { key: 'cc6aa826f7f492bd0e5016d1bde47f24535ce87d', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), index.h("biggive-popup", { key: '3ad918e1772a03426c5c067964bbb0fbbc2b56c8', id: "filter-popup" }, index.h("h4", { key: 'ba1813fa8e36ee461a85bf497cb06b60a4995b18', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), index.h("div", { key: '7f6deab4b11cd5841b691e8d44344462ab111bc5', class: "select-wrapper-1" }, index.h("biggive-form-field-select", { key: '4dd06fde97603055af64e9e23a5f5f11dc7b1491', 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: '7bbcd9eb9642b84be51492f6db7bb6381366da4c', class: "select-wrapper-2" }, index.h("biggive-form-field-select", { key: '73721e3bc15f4c266af026263c478bf9814fb00f', 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: 'de856e44a37fa775389bee8559105654f43291a0', class: "select-wrapper-3" }, index.h("biggive-form-field-select", { key: '2ff9d220a0859e589883dc2dd68660f803aa391d', 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: '6227a1d3942f208608a2ad91bf28c49b4bc9022d', class: "align-right" }, index.h("biggive-button", { key: 'bf1c8b35b7a151092173ad07c6cea1005a06cf7a', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), index.h("div", { key: '8ebda9bd87f0699cc4583ea83965e7a4ee55a487', class: "sort-wrap" }, index.h("biggive-form-field-select", { key: 'd56d94c0edd3e5fcd0a9792c3a623158d0247bea', 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: 'd2c48236d24a187f7f6a0c1d6b19a677164b075d', value: "amountRaised", label: "Most raised" }), index.h("biggive-form-field-select-option", { key: '26a71e33235df3c3b3893c3c2567356bda95a51b', value: "leastRaised", label: "Least raised" }), index.h("biggive-form-field-select-option", { key: '425338ab178fb056fcaa34cd99a2034b82537eb4', value: "matchFundsRemaining", label: "Most funds remaining" }), index.h("biggive-form-field-select-option", { key: 'c830bde748760a1a8bfb1ec4c51a6cb7adb235af', 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: '31ddc538b8a2e77d82a39aeaea1273eb1ac55135', class: "selected-filter-wrap" }, index.h("div", { key: '47b7979d0b14fbba0f1468f26af3973fe3ea4f28', class: "selected-filters" }, this.selectedFilterCategory && (index.h("span", { key: 'f4fd6cc1214954fcdf238e93a0397ede5ccdb921', class: "button", onClick: () => {
|
|
215
215
|
this.removeFilter('categories');
|
|
216
|
-
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: '
|
|
216
|
+
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (index.h("span", { key: '946143a1693b5d8a5e2042de52e37d9a4841bc0f', class: "button", onClick: () => {
|
|
217
217
|
this.removeFilter('beneficiaries');
|
|
218
|
-
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: '
|
|
218
|
+
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (index.h("span", { key: 'facb50dff01a6b2c39f958ec0034c04dfe479828', class: "button", onClick: () => {
|
|
219
219
|
this.removeFilter('locations');
|
|
220
|
-
} }, this.selectedFilterLocation))), index.h("div", { key: '
|
|
220
|
+
} }, this.selectedFilterLocation))), index.h("div", { key: '38c788f63669bc7b2acba4a73839cc6dd049a49a', class: "clear-all" }, index.h("a", { key: '8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa', onClick: this.handleClearAll }, "Clear all"))), index.h("div", { key: 'df60a79e69ccdf7bcbcfd2c281d10446fb749a8e', class: "campaign-grid" }, index.h("slot", { key: '845cd64aee0efa6aeadb8064d952ae43b4dfb6c7', name: "campaign-grid" })))));
|
|
221
221
|
}
|
|
222
222
|
// I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
|
|
223
223
|
// test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
|
|
@@ -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: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, index.h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, index.h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, index.h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), index.h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, index.h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, index.h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), index.h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), index.h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), index.h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), index.h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), index.h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), index.h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, index.h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), index.h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), index.h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), index.h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, index.h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), index.h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), index.h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), index.h("biggive-button", { key: '
|
|
71
|
+
return (index.h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, index.h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, index.h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, index.h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), index.h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, index.h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, index.h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), index.h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), index.h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), index.h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), index.h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), index.h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), index.h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, index.h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), index.h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), index.h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), index.h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), index.h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, index.h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), index.h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), index.h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), index.h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), index.h("biggive-button", { key: 'c741eb5b97a6fbc9f40e48764b9bc8f52eaee224', "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: '5765fcffe6d1b541e118ade489a24c0ca8a4be49' }, "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: 'e4c18aec6a1d62197fbcd39b1d5e35124160d1f5' }, "Our website uses cookies"), index.h("p", { key: '1e1517603481eb6c64f22c2e1047418b9dcb8b1a' }, "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: 'efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459' }, index.h("a", { key: 'd8a0d8f6a625a7dea5cbf23860b426ee432e7799', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), index.h("div", { key: 'cf6989bab1ab42986edcc1d178f6eee571a6cbdd', class: "button-group" }, index.h("biggive-button", { key: 'ffd8e4435f368a4e269a191366749bf7896acae6', 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: '07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62', 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: '66ad770ea7212e6721e0a59d3b6cee34709f23ad', 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 {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var index = require('./index-CmkdtLhD.js');
|
|
4
4
|
var helperMethods = require('./helper-methods-5NvdQhOc.js');
|
|
5
5
|
|
|
6
|
-
const biggiveMainMenuCss = () => `a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block !important}:host(.fixed){position:fixed;top:0;left:0;right:0;z-index:10}*{margin:0;padding:0;box-sizing:border-box;font-family:"Euclid Triangle", sans-serif}a[class^=icon-],a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}a.icon-earth-raise{background-image:url(/assets/images/triangles-combined-earth-raise.svg)}a.icon-children{background-image:url(/assets/images/triangles-combined-children.svg)}a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge.svg)}a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls.svg)}a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor.svg)}a.icon-small-charity{background-image:url(/assets/images/triangles-combined-small-charity-week.svg)}a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency.svg)}a.icon-arts-impact{background-image:url(/assets/images/triangles-combined-arts-black.svg)}.mobile-only{display:none !important}.row-top{padding:10px 30px;background-color:#2C089B;display:flex;max-height:60px}.row-top .social-icon-wrap{display:flex;min-height:40px;margin-right:10px}.row-top .social-icon-wrap .social-icon-item{margin-right:10px}.row-top .nav-secondary{margin-left:auto;display:grid}.row-top .nav-secondary ul{list-style:none;display:inline-flex;margin:auto}.row-top .nav-secondary li{border-right:1px solid #FFFFFF;height:fit-content;padding:0 10px}.row-top .nav-secondary li:last-child{border-right:0;padding-right:0}.row-top .nav-secondary li a{color:#FFFFFF;text-decoration:none}nav{top:0;left:0;width:100%;height:70px;background:white;z-index:99;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2)}nav .navbar{height:100%;width:100%;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:0 50px}nav .navbar .nav-links{line-height:70px;height:100%}nav .navbar .nav-links .sidebar-logo{display:none}nav .navbar .nav-links .links{display:flex}nav .navbar .nav-links .links li{position:relative;display:flex;align-items:center;justify-content:space-between;list-style:none;padding:0 30px}nav .navbar .nav-links .links li a{height:100%;text-decoration:none;white-space:nowrap;color:black;font-size:17px;font-weight:500}nav .navbar .nav-links .links li .sub-menu{position:absolute;top:70px;left:0;line-height:40px;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);border-radius:0 0 4px 4px;display:none;z-index:2;background-color:inherit}nav .navbar .nav-links .links li .sub-menu li{padding:0 22px;border-bottom:1px solid rgba(255, 255, 255, 0.1)}nav .navbar .nav-links .links li .sub-menu a{color:black;font-size:15px;font-weight:500}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu{position:absolute;top:0;right:100%;border-radius:0 4px 4px 4px;z-index:1;display:none}nav .navbar .nav-links .links li .arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}nav .navbar .nav-links .links li .arrow.transform-90{transform:rotate(90deg)}nav .navbar .logo{min-width:180px;width:180px}nav .navbar .logo a{font-size:30px;color:black;text-decoration:none;font-weight:600;display:grid}nav .navbar .bx-menu{display:none}@media (hover: hover){.row-top .nav-secondary li a:hover{border-bottom-color:#FFFFFF;color:#FFFFFF}nav .navbar .nav-links .links li .sub-menu .more:hover .sub-sub-menu{display:block}nav .navbar .nav-links .links li:hover .sub-menu-arrow{transform:rotate(90deg)}nav .navbar .nav-links .links li:hover .sub-menu{display:block;background-color:white}nav .navbar .nav-links .links li:hover .sub-menu .sub-sub-menu{background-color:white}}@media (max-width: 1200px){nav .navbar .logo{min-width:120px;width:120px}nav .navbar .nav-links .links li{padding:0 7px}nav .navbar .nav-links .links li a{font-size:15px}nav .navbar .nav-links .links li .sub-menu a{font-size:13px}}@media (max-width: 968px){.mobile-only{display:block !important}.row-top{display:none}nav{height:60px}nav .navbar{padding:0px 25px}nav .navbar .bx-menu{display:block;font-size:25px;color:black}nav .navbar .nav-links{position:fixed;top:0;left:-100%;display:block;max-width:450px;width:100%;background:white;line-height:40px;padding:20px;box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);transition:all 0.5s ease;z-index:1000;overflow-y:scroll}nav .navbar .nav-links .sidebar-logo{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .sidebar-logo a{display:contents}nav .navbar .nav-links .sidebar-logo a #mobileLogo{width:130px}nav .navbar .nav-links .sidebar-logo #x{margin-right:15px}nav .navbar .nav-links .sidebar-logo i{font-size:25px;color:black}nav .navbar .nav-links .mobile-social-icon-wrap{margin-top:20px}nav .navbar .nav-links .links{display:block;margin-top:20px}nav .navbar .nav-links .links li{display:block;border-bottom:1px solid #e6e6e6}nav .navbar .nav-links .links li a{width:100%;display:block}nav .navbar .nav-links .links li .sub-menu{position:relative;top:0;box-shadow:none;display:none}nav .navbar .nav-links .links li .sub-menu li{border-bottom:none}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu{display:none;position:relative;left:0}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu li{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .links li .sub-menu .more span{display:flex;align-items:center}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu.display-sub-menu{position:initial}}@media (max-width: 968px) and (max-width: 370px){nav .navbar .nav-links{max-width:100%}}.display-sub-menu,.display-sub-menu li{display:block !important}#nav-primary .display-sub-menu,#nav-primary .display-sub-menu li{background-color:white}.sub-menu-main{position:absolute;top:20px;left:0;line-height:40px;border-radius:0 0 4px 4px;display:none;background-color:#2C089B;z-index:2}.sub-menu-main li{border-right:none !important;padding:0 22px;display:none}@media (max-width: 968px){.sub-menu-main{position:static !important;background:none}}.arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}.arrow.transform-90{transform:rotate(90deg)}.nav-secondary li{position:relative !important}.nav-secondary li:hover .sub-menu-arrow{transform:rotate(90deg)}.nav-secondary li:hover .sub-menu-main{display:block}.nav-secondary li:hover .sub-menu-main li{display:block}`;
|
|
6
|
+
const biggiveMainMenuCss = () => `a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}:host{display:block !important}:host(.fixed){position:fixed;top:0;left:0;right:0;z-index:10}*{margin:0;padding:0;box-sizing:border-box;font-family:"Euclid Triangle", sans-serif}a[class^=icon-],a[class*=icon-]{padding-left:20px;background-repeat:no-repeat;background-size:auto 10px;background-position:left center}a.icon-earth-raise{background-image:url(/assets/images/triangles-combined-earth-raise.svg)}a.icon-children{background-image:url(/assets/images/triangles-combined-children.svg)}a.icon-christmas{background-image:url(/assets/images/triangles-combined-christmas-challenge.svg)}a.icon-women-girls{background-image:url(/assets/images/triangles-combined-women-girls.svg)}a.icon-anchor-match{background-image:url(/assets/images/triangles-combined-anchor.svg)}a.icon-small-charity{background-image:url(/assets/images/triangles-combined-small-charity-week.svg)}a.icon-emergency{background-image:url(/assets/images/triangles-combined-emergency.svg)}a.icon-arts-impact{background-image:url(/assets/images/triangles-combined-arts-black.svg)}.mobile-only{display:none !important}.row-top{padding:10px 30px;background-color:#2C089B;display:flex;max-height:60px}.row-top .social-icon-wrap{display:flex;min-height:40px;margin-right:10px}.row-top .social-icon-wrap .social-icon-item{margin-right:10px}.row-top .nav-secondary{margin-left:auto;display:grid}.row-top .nav-secondary ul{list-style:none;display:inline-flex;margin:auto}.row-top .nav-secondary li{border-right:1px solid #FFFFFF;height:fit-content;padding:0 10px}.row-top .nav-secondary li:last-child{border-right:0;padding-right:0}.row-top .nav-secondary li a{color:#FFFFFF;text-decoration:none}nav{top:0;left:0;width:100%;height:70px;background:white;z-index:99;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2)}nav .navbar{height:100%;width:100%;display:flex;align-items:center;justify-content:space-between;margin:auto;padding:0 50px}nav .navbar .nav-links{line-height:70px;height:100%}nav .navbar .nav-links .sidebar-logo{display:none}nav .navbar .nav-links .links{display:flex}nav .navbar .nav-links .links li{position:relative;display:flex;align-items:center;justify-content:space-between;list-style:none;padding:0 30px}nav .navbar .nav-links .links li a{height:100%;text-decoration:none;white-space:nowrap;color:black;font-size:17px;font-weight:500}nav .navbar .nav-links .links li .sub-menu{position:absolute;top:70px;left:0;line-height:40px;box-shadow:0 1px 2px rgba(0, 0, 0, 0.2);border-radius:0 0 4px 4px;display:none;z-index:2;background-color:inherit}nav .navbar .nav-links .links li .sub-menu li{padding:0 22px;border-bottom:1px solid rgba(255, 255, 255, 0.1)}nav .navbar .nav-links .links li .sub-menu a{color:black;font-size:15px;font-weight:500}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu{position:absolute;top:0;right:100%;border-radius:0 4px 4px 4px;z-index:1;display:none}nav .navbar .nav-links .links li .arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}nav .navbar .nav-links .links li .arrow.transform-90{transform:rotate(90deg)}nav .navbar .logo{min-width:180px;width:180px}nav .navbar .logo a{font-size:30px;color:black;text-decoration:none;font-weight:600;display:grid}nav .navbar .bx-menu{display:none}@media (hover: hover) and (min-width: 968px){.row-top .nav-secondary li a:hover{border-bottom-color:#FFFFFF;color:#FFFFFF}nav .navbar .nav-links .links li .sub-menu .more:hover .sub-sub-menu{display:block}nav .navbar .nav-links .links li:hover .sub-menu-arrow{transform:rotate(90deg)}nav .navbar .nav-links .links li:hover .sub-menu{display:block;background-color:white}nav .navbar .nav-links .links li:hover .sub-menu .sub-sub-menu{background-color:white}}@media (max-width: 1200px){nav .navbar .logo{min-width:120px;width:120px}nav .navbar .nav-links .links li{padding:0 7px}nav .navbar .nav-links .links li a{font-size:15px}nav .navbar .nav-links .links li .sub-menu a{font-size:13px}}@media (max-width: 968px){.mobile-only{display:block !important}.row-top{display:none}nav{height:60px}nav .navbar{padding:0px 25px}nav .navbar .bx-menu{display:block;font-size:25px;color:black}nav .navbar .nav-links{position:fixed;top:0;left:-100%;display:block;max-width:450px;width:100%;background:white;line-height:40px;padding:20px;box-shadow:0 5px 10px rgba(0, 0, 0, 0.2);transition:all 0.5s ease;z-index:1000;overflow-y:scroll}nav .navbar .nav-links .sidebar-logo{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .sidebar-logo a{display:contents}nav .navbar .nav-links .sidebar-logo a #mobileLogo{width:130px}nav .navbar .nav-links .sidebar-logo #x{margin-right:15px}nav .navbar .nav-links .sidebar-logo i{font-size:25px;color:black}nav .navbar .nav-links .mobile-social-icon-wrap{margin-top:20px}nav .navbar .nav-links .links{display:block;margin-top:20px}nav .navbar .nav-links .links li{display:block;border-bottom:1px solid #e6e6e6}nav .navbar .nav-links .links li a{width:100%;display:block}nav .navbar .nav-links .links li .sub-menu{position:relative;top:0;box-shadow:none;display:none}nav .navbar .nav-links .links li .sub-menu li{border-bottom:none}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu{display:none;position:relative;left:0}nav .navbar .nav-links .links li .sub-menu .sub-sub-menu li{display:flex;align-items:center;justify-content:space-between}nav .navbar .nav-links .links li .sub-menu .more span{display:flex;align-items:center}nav .navbar .nav-links .links li .sub-menu .more .sub-sub-menu.display-sub-menu{position:initial}}@media (max-width: 968px) and (max-width: 370px){nav .navbar .nav-links{max-width:100%}}.display-sub-menu,.display-sub-menu li{display:block !important}#nav-primary .display-sub-menu,#nav-primary .display-sub-menu li{background-color:white}.sub-menu-main{position:absolute;top:20px;left:0;line-height:40px;border-radius:0 0 4px 4px;display:none;background-color:#2C089B;z-index:2}.sub-menu-main li{border-right:none !important;padding:0 22px;display:none}@media (max-width: 968px){.sub-menu-main{position:static !important;background:none}}.arrow{margin-left:5px;text-align:center;display:inline-block;color:black;transition:all 0.3s ease}.arrow.transform-90{transform:rotate(90deg)}.nav-secondary li{position:relative !important}.nav-secondary li:hover .sub-menu-arrow{transform:rotate(90deg)}.nav-secondary li:hover .sub-menu-main{display:block}.nav-secondary li:hover .sub-menu-main li{display:block}`;
|
|
7
7
|
|
|
8
8
|
const BiggiveMainMenu = class {
|
|
9
9
|
constructor(hostRef) {
|
|
@@ -204,13 +204,13 @@ export class BiggiveCampaignCardFilterGrid {
|
|
|
204
204
|
render() {
|
|
205
205
|
var _a;
|
|
206
206
|
const sortOptions = this.getSortOptions();
|
|
207
|
-
return (h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { key: '
|
|
207
|
+
return (h("div", { key: '5be71f04f2f6e4a45e61da8940e2539f348c5cac', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'f1b79a107817211888847c09c99447759052ccd6', class: "sleeve" }, h("div", { key: '7de5ed0dc073f7bc1597fadc3a67ef5b5fed7e84', class: "search-wrap" }, h("h4", { key: 'c78c9b66dac9880f28513fb3fb8f0f2cca9d0861' }, this.intro), h("div", { key: '0aff613fc8e6812c70a8cd683dfac1cac3b4e9b8', class: "field-wrap" }, h("div", { key: '406ec166abfc71ad3773077376073fd9ece76aac', class: "input-wrap" }, h("svg", { key: '6b736eb1bd1560214079b50cce7bc59fed380eba', xmlns: "http://www.w3.org/2000/svg", class: "icon", viewBox: "0 0 512 512" }, h("path", { key: '8fdac8bd9978f84302725fff032d5a7248a78982', d: faMagnifyingGlass.icon[4].toString() })), h("input", { key: '440d6a45a53a222d2bc3043048b55056e60d3fae', type: "text", value: (_a = this.searchText) !== null && _a !== void 0 ? _a : '', class: "input-text", placeholder: this.placeholderText, onInput: this.handleSearchTextChanged, onKeyDown: this.handleEnterPressed })), h("biggive-button", { key: '9627e3ff1abed13ab6bf54b3ee1ad41b98bc1908', onDoButtonClick: this.handleSearchButtonPressed, label: this.buttonText }))), h("div", { key: '61145db67953fd6235150c9e3aa4c5e1ddecc032', class: "sort-filter-wrap" }, h("div", { key: 'a15f585989f71159f8ba838463b0d240431633f7', class: "filter-wrap" }, h("biggive-button", { key: 'cc6aa826f7f492bd0e5016d1bde47f24535ce87d', class: "filter", colourScheme: "primary", onDoButtonClick: this.handleFilterButtonClick, label: "Filter", fullWidth: true, "space-below": "0" }), h("biggive-popup", { key: '3ad918e1772a03426c5c067964bbb0fbbc2b56c8', id: "filter-popup" }, h("h4", { key: 'ba1813fa8e36ee461a85bf497cb06b60a4995b18', class: "space-above-0 space-below-3 text-colour-primary" }, "Filters"), h("div", { key: '7f6deab4b11cd5841b691e8d44344462ab111bc5', class: "select-wrapper-1" }, h("biggive-form-field-select", { key: '4dd06fde97603055af64e9e23a5f5f11dc7b1491', 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" })), h("div", { key: '7bbcd9eb9642b84be51492f6db7bb6381366da4c', class: "select-wrapper-2" }, h("biggive-form-field-select", { key: '73721e3bc15f4c266af026263c478bf9814fb00f', 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" })), h("div", { key: 'de856e44a37fa775389bee8559105654f43291a0', class: "select-wrapper-3" }, h("biggive-form-field-select", { key: '2ff9d220a0859e589883dc2dd68660f803aa391d', 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" })), h("div", { key: '6227a1d3942f208608a2ad91bf28c49b4bc9022d', class: "align-right" }, h("biggive-button", { key: 'bf1c8b35b7a151092173ad07c6cea1005a06cf7a', label: "Apply filters", onDoButtonClick: this.handleApplyFilterButtonClick })))), h("div", { key: '8ebda9bd87f0699cc4583ea83965e7a4ee55a487', class: "sort-wrap" }, h("biggive-form-field-select", { key: 'd56d94c0edd3e5fcd0a9792c3a623158d0247bea', options: sortOptions, prompt: null, "select-style": "underlined", placeholder: this.sortByPlaceholderText, selectedLabel: this.selectedSortByOption, selectedValue: this.getSelectedValue(), selectionChanged: this.sortBySelectionChanged, id: "sort-by" }, h("biggive-form-field-select-option", { key: 'd2c48236d24a187f7f6a0c1d6b19a677164b075d', value: "amountRaised", label: "Most raised" }), h("biggive-form-field-select-option", { key: '26a71e33235df3c3b3893c3c2567356bda95a51b', value: "leastRaised", label: "Least raised" }), h("biggive-form-field-select-option", { key: '425338ab178fb056fcaa34cd99a2034b82537eb4', value: "matchFundsRemaining", label: "Most funds remaining" }), h("biggive-form-field-select-option", { key: 'c830bde748760a1a8bfb1ec4c51a6cb7adb235af', value: "closeToTarget", label: "Nearest target" }), (this.searchText || '').length > 0 ? h("biggive-form-field-select-option", { value: "Relevance", label: "Relevance" }) : null))), h("div", { key: '31ddc538b8a2e77d82a39aeaea1273eb1ac55135', class: "selected-filter-wrap" }, h("div", { key: '47b7979d0b14fbba0f1468f26af3973fe3ea4f28', class: "selected-filters" }, this.selectedFilterCategory && (h("span", { key: 'f4fd6cc1214954fcdf238e93a0397ede5ccdb921', class: "button", onClick: () => {
|
|
208
208
|
this.removeFilter('categories');
|
|
209
|
-
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '
|
|
209
|
+
} }, this.selectedFilterCategory)), this.selectedFilterBeneficiary && (h("span", { key: '946143a1693b5d8a5e2042de52e37d9a4841bc0f', class: "button", onClick: () => {
|
|
210
210
|
this.removeFilter('beneficiaries');
|
|
211
|
-
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: '
|
|
211
|
+
} }, this.selectedFilterBeneficiary)), this.selectedFilterLocation && (h("span", { key: 'facb50dff01a6b2c39f958ec0034c04dfe479828', class: "button", onClick: () => {
|
|
212
212
|
this.removeFilter('locations');
|
|
213
|
-
} }, this.selectedFilterLocation))), h("div", { key: '
|
|
213
|
+
} }, this.selectedFilterLocation))), h("div", { key: '38c788f63669bc7b2acba4a73839cc6dd049a49a', class: "clear-all" }, h("a", { key: '8b8c16bbddb9abbedcfc4cd3c64dff7ae193f6fa', onClick: this.handleClearAll }, "Clear all"))), h("div", { key: 'df60a79e69ccdf7bcbcfd2c281d10446fb749a8e', class: "campaign-grid" }, h("slot", { key: '845cd64aee0efa6aeadb8064d952ae43b4dfb6c7', name: "campaign-grid" })))));
|
|
214
214
|
}
|
|
215
215
|
// I'm not sure if I understand the reasoning for own-methods-must-be-private. I made the method below public to unit
|
|
216
216
|
// test it. Maybe the idea is that we should move anything with enough logic to test outside the component class? I
|
|
@@ -59,7 +59,7 @@ export class BiggiveCookieBanner {
|
|
|
59
59
|
// then the app may only pass a partial set of them in for a time. Any preference not passed will be treated as
|
|
60
60
|
// declined.
|
|
61
61
|
const cookiesCurrentlyAllowed = this.previouslyAgreedCookiePreferences || {};
|
|
62
|
-
return (h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), h("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), h("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), h("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: '
|
|
62
|
+
return (h("div", { key: '2ee762a4640a2e1ff255f9180678cf4dbfd2a598', class: "cooke-consent-container" }, h("biggive-popup", { key: '9d39b792cfd48459a51e16a17c212f7aa96cdb35', id: "cookie-preferences-popup", modalClosedCallback: this.preferenceModalClosed.emit }, h("div", { key: '6c486081f247c2f9c4dff5b8e3c177e43da36261', class: "content" }, h("h4", { key: '547ae87c1d361e0161be3aa6315faac3fb44e6db', class: "space-above-0 space-below-3 text-colour-primary" }, "Manage your cookie preferences"), h("form", { key: 'ab5a6534d73331e4a5018777cdb8c7cc3b2b149f' }, h("div", { key: '027ebb76da24705c89dd0e7af9efc9422df248d5', class: "radio-group" }, h("h5", { key: '1c62fe21a32c3bdc848926e724ec40d6576115a3' }, "Essential Cookies"), h("p", { key: '98f449597690871d767eac1c1b27a39c4ff18e25' }, "These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."), h("input", { key: '4b2052c2f6f27906c81abfbbe865838254dc6051', type: "radio", name: "necassary", id: "necassary-off", disabled: true }), h("label", { key: 'f6ab1b8625211d554247ef4c0cf5d9f799b2515c', htmlFor: "necassary-on" }, "Off"), h("input", { key: '272f94637c70e08713e571e7f3b17a1b41146852', type: "radio", name: "necassary", id: "necassary-on", disabled: true, checked: true }), h("label", { key: '3e68f999e48edf31e32e1f130650df9a22e7e787', htmlFor: "necassary-on" }, "On")), h("div", { key: '3b362a4ce9e7554459548e9cee7ee8ce872bb004', class: "radio-group" }, h("h5", { key: '9b8eac4ea8b6af098173981e6025c05bc899e709' }, "Analytics & Testing Cookies"), h("p", { key: '000d21c0e10f879a35ac5557e9484c42bfdae312' }, "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."), h("p", { key: '675349e29fad1b3de7d2fdafcedeee10feb125b6' }, "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."), h("input", { key: '0e6d334945abcc1a141d961393d1524c6770de0c', type: "radio", name: "a-and-t", id: "a-and-t-off", checked: !cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: 'a723fd69b03b9b90ced9520761201a171f792ddb', htmlFor: "a-and-t-off" }, "Off"), h("input", { key: 'ff4f269d26fc5844cd524c37fc0824ef1398d021', type: "radio", name: "a-and-t", id: "a-and-t-on", checked: !!cookiesCurrentlyAllowed.analyticsAndTesting }), h("label", { key: '6ffc75bb6a62603d7a17ad15527f5ca332e7b132', htmlFor: "a-and-t-on" }, "On")), h("div", { key: 'd329c1108db6cb261d26d90a920eb1849b08f761', class: "radio-group" }, h("h5", { key: '130a8ab018ce11ed335a06288267de9e200d7745' }, "Third-party Cookies "), h("p", { key: 'b8371a30da31cb25675a48af00817259e33b7512' }, "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."), h("input", { key: '68df1be21a7bd82efd2150b18e6c1ee9d808157e', type: "radio", name: "third-party", id: "third-party-off", checked: !cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'd3c37fc2aba4109dbdc17fe55cba69974cf846b4', htmlFor: "third-party-off" }, "Off"), h("input", { key: '8be79cae8752cb1ceedb9afbd4ce2dd972c994ed', type: "radio", name: "third-party", id: "third-party-on", checked: !!cookiesCurrentlyAllowed.thirdParty }), h("label", { key: 'ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18', htmlFor: "third-party-on" }, "On")), h("biggive-button", { key: 'c741eb5b97a6fbc9f40e48764b9bc8f52eaee224', "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 })), h("p", { key: '5765fcffe6d1b541e118ade489a24c0ca8a4be49' }, "You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))), h("h2", { key: 'e4c18aec6a1d62197fbcd39b1d5e35124160d1f5' }, "Our website uses cookies"), h("p", { key: '1e1517603481eb6c64f22c2e1047418b9dcb8b1a' }, "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."), h("p", { key: 'efe2d7db5c253eaad3aa5e4a1d5aa72cd97c7459' }, h("a", { key: 'd8a0d8f6a625a7dea5cbf23860b426ee432e7799', href: this.blogUriPrefix + '/privacy#cookies', target: "_blank" }, "Find out more in our Cookies Statement")), h("div", { key: 'cf6989bab1ab42986edcc1d178f6eee571a6cbdd', class: "button-group" }, h("biggive-button", { key: 'ffd8e4435f368a4e269a191366749bf7896acae6', 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" }), h("biggive-button", { key: '07f4bfaec0ce87a2d4c9dd1ad8e48bdb5e27dd62', 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" }), h("biggive-button", { key: '66ad770ea7212e6721e0a59d3b6cee34709f23ad', 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" }))));
|
|
63
63
|
}
|
|
64
64
|
static get is() { return "biggive-cookie-banner"; }
|
|
65
65
|
static get encapsulation() { return "shadow"; }
|