@biggive/components 202603041035.0.0 → 202603041449.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.
Files changed (217) hide show
  1. package/dist/biggive/biggive.esm.js +1 -1
  2. package/dist/biggive/p-01b01870.entry.js +1 -0
  3. package/dist/biggive/{p-3e51fab3.entry.js → p-07f6193b.entry.js} +1 -1
  4. package/dist/biggive/{p-ed72b6cb.entry.js → p-0b7708ae.entry.js} +1 -1
  5. package/dist/biggive/{p-e4ede33d.entry.js → p-0e1f7f8b.entry.js} +1 -1
  6. package/dist/biggive/{p-a0cb411e.entry.js → p-0eaeb864.entry.js} +1 -1
  7. package/dist/biggive/{p-dd48d791.entry.js → p-11764af6.entry.js} +1 -1
  8. package/dist/biggive/{p-037e588c.entry.js → p-1fddd3f0.entry.js} +1 -1
  9. package/dist/biggive/{p-9338e7c1.entry.js → p-2aefd822.entry.js} +1 -1
  10. package/dist/biggive/{p-6e5780dc.entry.js → p-2d91208e.entry.js} +1 -1
  11. package/dist/biggive/{p-77af8a2c.entry.js → p-3c4c2712.entry.js} +1 -1
  12. package/dist/biggive/{p-54d6e569.entry.js → p-3d8c0710.entry.js} +1 -1
  13. package/dist/biggive/{p-dba52c2f.entry.js → p-4e91f697.entry.js} +1 -1
  14. package/dist/biggive/{p-583b81d5.entry.js → p-579a0a78.entry.js} +1 -1
  15. package/dist/biggive/p-5b74ac73.entry.js +1 -0
  16. package/dist/biggive/{p-1b486f19.entry.js → p-63535bee.entry.js} +1 -1
  17. package/dist/biggive/{p-2e5c4831.entry.js → p-65b741e1.entry.js} +1 -1
  18. package/dist/biggive/{p-b497b37d.entry.js → p-66b4e7fb.entry.js} +1 -1
  19. package/dist/biggive/{p-911163f6.entry.js → p-690b46f6.entry.js} +1 -1
  20. package/dist/biggive/{p-24b533fc.entry.js → p-6c98331d.entry.js} +1 -1
  21. package/dist/biggive/{p-d93dd889.entry.js → p-6ec4baac.entry.js} +1 -1
  22. package/dist/biggive/p-735524b5.entry.js +1 -0
  23. package/dist/biggive/{p-a04a3dcd.entry.js → p-7631b461.entry.js} +1 -1
  24. package/dist/biggive/p-8c35329c.entry.js +1 -0
  25. package/dist/biggive/p-8fe710bc.entry.js +1 -0
  26. package/dist/biggive/{p-cf0f0e95.entry.js → p-923b2c98.entry.js} +1 -1
  27. package/dist/biggive/{p-8c0d8fd8.entry.js → p-94e1906f.entry.js} +1 -1
  28. package/dist/biggive/{p-b50acebb.entry.js → p-9852ff0b.entry.js} +1 -1
  29. package/dist/biggive/{p-576aaaaf.entry.js → p-a18dfe2b.entry.js} +1 -1
  30. package/dist/biggive/p-a3cdc8c9.entry.js +1 -0
  31. package/dist/biggive/{p-edbf61fa.entry.js → p-a67926e6.entry.js} +1 -1
  32. package/dist/biggive/{p-73f2f99c.entry.js → p-aa7934db.entry.js} +1 -1
  33. package/dist/biggive/{p-7b740cd7.entry.js → p-afa033d2.entry.js} +1 -1
  34. package/dist/biggive/{p-c284d1e0.entry.js → p-c3358a9f.entry.js} +1 -1
  35. package/dist/biggive/{p-71f14913.entry.js → p-cbbd3d27.entry.js} +1 -1
  36. package/dist/biggive/{p-b14f0b9c.entry.js → p-d00f7e85.entry.js} +1 -1
  37. package/dist/biggive/{p-a1844f9c.entry.js → p-d0b9afaf.entry.js} +1 -1
  38. package/dist/biggive/{p-82a15b54.entry.js → p-d4278701.entry.js} +1 -1
  39. package/dist/biggive/{p-f35841cf.entry.js → p-e0de3e38.entry.js} +1 -1
  40. package/dist/biggive/{p-7e6d82d9.entry.js → p-e26f4e83.entry.js} +1 -1
  41. package/dist/biggive/{p-eae85d23.entry.js → p-f01e6a78.entry.js} +1 -1
  42. package/dist/biggive/p-fe51dc95.entry.js +1 -0
  43. package/dist/cjs/biggive-button.cjs.entry.js +25 -6
  44. package/dist/cjs/biggive-call-to-action.cjs.entry.js +1 -1
  45. package/dist/cjs/biggive-campaign-card.cjs.entry.js +2 -2
  46. package/dist/cjs/biggive-campaign-highlights.cjs.entry.js +1 -1
  47. package/dist/cjs/biggive-container-card.cjs.entry.js +1 -1
  48. package/dist/cjs/biggive-cookie-banner.cjs.entry.js +1 -1
  49. package/dist/cjs/biggive-form-field-select.cjs.entry.js +2 -2
  50. package/dist/cjs/biggive-form.cjs.entry.js +1 -1
  51. package/dist/cjs/biggive-formatted-text.cjs.entry.js +1 -1
  52. package/dist/cjs/biggive-grid.cjs.entry.js +1 -1
  53. package/dist/cjs/biggive-heading-banner.cjs.entry.js +2 -2
  54. package/dist/cjs/biggive-heading.cjs.entry.js +1 -1
  55. package/dist/cjs/biggive-hero-image.cjs.entry.js +2 -2
  56. package/dist/cjs/biggive-icon-button.cjs.entry.js +2 -2
  57. package/dist/cjs/biggive-image-button.cjs.entry.js +2 -2
  58. package/dist/cjs/biggive-image-card.cjs.entry.js +2 -2
  59. package/dist/cjs/biggive-image-feature.cjs.entry.js +1 -1
  60. package/dist/cjs/biggive-image.cjs.entry.js +1 -1
  61. package/dist/cjs/biggive-main-menu.cjs.entry.js +4 -3
  62. package/dist/cjs/biggive-misc-icon.cjs.entry.js +1 -1
  63. package/dist/cjs/biggive-nav-group.cjs.entry.js +1 -1
  64. package/dist/cjs/biggive-nav-item.cjs.entry.js +1 -1
  65. package/dist/cjs/biggive-page-column.cjs.entry.js +1 -1
  66. package/dist/cjs/biggive-page-columns.cjs.entry.js +1 -1
  67. package/dist/cjs/biggive-page-section.cjs.entry.js +2 -2
  68. package/dist/cjs/biggive-popup.cjs.entry.js +1 -1
  69. package/dist/cjs/biggive-progress-bar.cjs.entry.js +1 -1
  70. package/dist/cjs/biggive-quote.cjs.entry.js +3 -3
  71. package/dist/cjs/biggive-sheet.cjs.entry.js +1 -1
  72. package/dist/cjs/biggive-social-icon.cjs.entry.js +1 -1
  73. package/dist/cjs/biggive-tab.cjs.entry.js +1 -1
  74. package/dist/cjs/biggive-tabbed-content.cjs.entry.js +2 -2
  75. package/dist/cjs/biggive-table.cjs.entry.js +2 -2
  76. package/dist/cjs/biggive-text-input.cjs.entry.js +1 -1
  77. package/dist/cjs/biggive-timeline.cjs.entry.js +2 -2
  78. package/dist/cjs/biggive-totalizer-ticker-item.cjs.entry.js +1 -1
  79. package/dist/cjs/biggive-totalizer.cjs.entry.js +1 -1
  80. package/dist/cjs/biggive-video-feature.cjs.entry.js +1 -1
  81. package/dist/cjs/biggive-video.cjs.entry.js +1 -1
  82. package/dist/cjs/philco-footer.cjs.entry.js +1 -1
  83. package/dist/cjs/philco-main-menu.cjs.entry.js +1 -1
  84. package/dist/collection/components/biggive-button/biggive-button.js +25 -6
  85. package/dist/collection/components/biggive-call-to-action/biggive-call-to-action.js +1 -1
  86. package/dist/collection/components/biggive-campaign-card/biggive-campaign-card.js +2 -2
  87. package/dist/collection/components/biggive-campaign-highlights/biggive-campaign-highlights.js +1 -1
  88. package/dist/collection/components/biggive-container-card/biggive-container-card.js +1 -1
  89. package/dist/collection/components/biggive-cookie-banner/biggive-cookie-banner.js +1 -1
  90. package/dist/collection/components/biggive-form/biggive-form.js +1 -1
  91. package/dist/collection/components/biggive-form-field-select/biggive-form-field-select.js +2 -2
  92. package/dist/collection/components/biggive-formatted-text/biggive-formatted-text.js +1 -1
  93. package/dist/collection/components/biggive-grid/biggive-grid.js +1 -1
  94. package/dist/collection/components/biggive-heading/biggive-heading.js +1 -1
  95. package/dist/collection/components/biggive-heading-banner/biggive-heading-banner.js +2 -2
  96. package/dist/collection/components/biggive-hero-image/biggive-hero-image.js +2 -2
  97. package/dist/collection/components/biggive-icon-button/biggive-icon-button.js +2 -2
  98. package/dist/collection/components/biggive-image/biggive-image.js +1 -1
  99. package/dist/collection/components/biggive-image-button/biggive-image-button.js +2 -2
  100. package/dist/collection/components/biggive-image-card/biggive-image-card.js +2 -2
  101. package/dist/collection/components/biggive-image-feature/biggive-image-feature.js +1 -1
  102. package/dist/collection/components/biggive-main-menu/biggive-main-menu.js +4 -3
  103. package/dist/collection/components/biggive-misc-icon/biggive-misc-icon.js +1 -1
  104. package/dist/collection/components/biggive-nav-group/biggive-nav-group.js +1 -1
  105. package/dist/collection/components/biggive-nav-item/biggive-nav-item.js +1 -1
  106. package/dist/collection/components/biggive-page-column/biggive-page-column.js +1 -1
  107. package/dist/collection/components/biggive-page-columns/biggive-page-columns.js +1 -1
  108. package/dist/collection/components/biggive-page-section/biggive-page-section.js +2 -2
  109. package/dist/collection/components/biggive-popup/biggive-popup.js +1 -1
  110. package/dist/collection/components/biggive-progress-bar/biggive-progress-bar.js +1 -1
  111. package/dist/collection/components/biggive-quote/biggive-quote.js +3 -3
  112. package/dist/collection/components/biggive-sheet/biggive-sheet.js +1 -1
  113. package/dist/collection/components/biggive-social-icon/biggive-social-icon.js +1 -1
  114. package/dist/collection/components/biggive-tab/biggive-tab.js +1 -1
  115. package/dist/collection/components/biggive-tabbed-content/biggive-tabbed-content.js +2 -2
  116. package/dist/collection/components/biggive-table/biggive-table.js +2 -2
  117. package/dist/collection/components/biggive-text-input/biggive-text-input.js +1 -1
  118. package/dist/collection/components/biggive-timeline/biggive-timeline.js +2 -2
  119. package/dist/collection/components/biggive-totalizer/biggive-totalizer.js +1 -1
  120. package/dist/collection/components/biggive-totalizer-ticker-item/biggive-totalizer-ticker-item.js +1 -1
  121. package/dist/collection/components/biggive-video/biggive-video.js +1 -1
  122. package/dist/collection/components/biggive-video-feature/biggive-video-feature.js +1 -1
  123. package/dist/collection/components/philco-footer/philco-footer.js +1 -1
  124. package/dist/collection/components/philco-main-menu/philco-main-menu.js +1 -1
  125. package/dist/components/biggive-button2.js +1 -1
  126. package/dist/components/biggive-call-to-action.js +1 -1
  127. package/dist/components/biggive-campaign-card.js +1 -1
  128. package/dist/components/biggive-campaign-highlights.js +1 -1
  129. package/dist/components/biggive-container-card.js +1 -1
  130. package/dist/components/biggive-cookie-banner.js +1 -1
  131. package/dist/components/biggive-form-field-select2.js +1 -1
  132. package/dist/components/biggive-form.js +1 -1
  133. package/dist/components/biggive-formatted-text.js +1 -1
  134. package/dist/components/biggive-grid.js +1 -1
  135. package/dist/components/biggive-heading-banner.js +1 -1
  136. package/dist/components/biggive-heading.js +1 -1
  137. package/dist/components/biggive-hero-image.js +1 -1
  138. package/dist/components/biggive-icon-button.js +1 -1
  139. package/dist/components/biggive-image-button.js +1 -1
  140. package/dist/components/biggive-image-card.js +1 -1
  141. package/dist/components/biggive-image-feature.js +1 -1
  142. package/dist/components/biggive-image.js +1 -1
  143. package/dist/components/biggive-main-menu.js +1 -1
  144. package/dist/components/biggive-misc-icon2.js +1 -1
  145. package/dist/components/biggive-nav-group.js +1 -1
  146. package/dist/components/biggive-nav-item.js +1 -1
  147. package/dist/components/biggive-page-column.js +1 -1
  148. package/dist/components/biggive-page-columns.js +1 -1
  149. package/dist/components/biggive-page-section.js +1 -1
  150. package/dist/components/biggive-popup2.js +1 -1
  151. package/dist/components/biggive-progress-bar2.js +1 -1
  152. package/dist/components/biggive-quote.js +1 -1
  153. package/dist/components/biggive-sheet.js +1 -1
  154. package/dist/components/biggive-social-icon2.js +1 -1
  155. package/dist/components/biggive-tab.js +1 -1
  156. package/dist/components/biggive-tabbed-content.js +1 -1
  157. package/dist/components/biggive-table.js +1 -1
  158. package/dist/components/biggive-text-input.js +1 -1
  159. package/dist/components/biggive-timeline.js +1 -1
  160. package/dist/components/biggive-totalizer-ticker-item.js +1 -1
  161. package/dist/components/biggive-totalizer.js +1 -1
  162. package/dist/components/biggive-video-feature.js +1 -1
  163. package/dist/components/biggive-video.js +1 -1
  164. package/dist/components/philco-footer.js +1 -1
  165. package/dist/components/philco-main-menu.js +1 -1
  166. package/dist/esm/biggive-button.entry.js +25 -6
  167. package/dist/esm/biggive-call-to-action.entry.js +1 -1
  168. package/dist/esm/biggive-campaign-card.entry.js +2 -2
  169. package/dist/esm/biggive-campaign-highlights.entry.js +1 -1
  170. package/dist/esm/biggive-container-card.entry.js +1 -1
  171. package/dist/esm/biggive-cookie-banner.entry.js +1 -1
  172. package/dist/esm/biggive-form-field-select.entry.js +2 -2
  173. package/dist/esm/biggive-form.entry.js +1 -1
  174. package/dist/esm/biggive-formatted-text.entry.js +1 -1
  175. package/dist/esm/biggive-grid.entry.js +1 -1
  176. package/dist/esm/biggive-heading-banner.entry.js +2 -2
  177. package/dist/esm/biggive-heading.entry.js +1 -1
  178. package/dist/esm/biggive-hero-image.entry.js +2 -2
  179. package/dist/esm/biggive-icon-button.entry.js +2 -2
  180. package/dist/esm/biggive-image-button.entry.js +2 -2
  181. package/dist/esm/biggive-image-card.entry.js +2 -2
  182. package/dist/esm/biggive-image-feature.entry.js +1 -1
  183. package/dist/esm/biggive-image.entry.js +1 -1
  184. package/dist/esm/biggive-main-menu.entry.js +4 -3
  185. package/dist/esm/biggive-misc-icon.entry.js +1 -1
  186. package/dist/esm/biggive-nav-group.entry.js +1 -1
  187. package/dist/esm/biggive-nav-item.entry.js +1 -1
  188. package/dist/esm/biggive-page-column.entry.js +1 -1
  189. package/dist/esm/biggive-page-columns.entry.js +1 -1
  190. package/dist/esm/biggive-page-section.entry.js +2 -2
  191. package/dist/esm/biggive-popup.entry.js +1 -1
  192. package/dist/esm/biggive-progress-bar.entry.js +1 -1
  193. package/dist/esm/biggive-quote.entry.js +3 -3
  194. package/dist/esm/biggive-sheet.entry.js +1 -1
  195. package/dist/esm/biggive-social-icon.entry.js +1 -1
  196. package/dist/esm/biggive-tab.entry.js +1 -1
  197. package/dist/esm/biggive-tabbed-content.entry.js +2 -2
  198. package/dist/esm/biggive-table.entry.js +2 -2
  199. package/dist/esm/biggive-text-input.entry.js +1 -1
  200. package/dist/esm/biggive-timeline.entry.js +2 -2
  201. package/dist/esm/biggive-totalizer-ticker-item.entry.js +1 -1
  202. package/dist/esm/biggive-totalizer.entry.js +1 -1
  203. package/dist/esm/biggive-video-feature.entry.js +1 -1
  204. package/dist/esm/biggive-video.entry.js +1 -1
  205. package/dist/esm/philco-footer.entry.js +1 -1
  206. package/dist/esm/philco-main-menu.entry.js +1 -1
  207. package/dist/types/components/biggive-button/biggive-button.d.ts +1 -0
  208. package/hydrate/index.js +81 -61
  209. package/hydrate/index.mjs +81 -61
  210. package/package.json +1 -1
  211. package/dist/biggive/p-089c4ecd.entry.js +0 -1
  212. package/dist/biggive/p-32992f5d.entry.js +0 -1
  213. package/dist/biggive/p-68b7ce7e.entry.js +0 -1
  214. package/dist/biggive/p-6e674d92.entry.js +0 -1
  215. package/dist/biggive/p-87c905c1.entry.js +0 -1
  216. package/dist/biggive/p-bdce8162.entry.js +0 -1
  217. package/dist/biggive/p-d9b8de97.entry.js +0 -1
@@ -103,7 +103,7 @@ export class BiggiveTabbedContent {
103
103
  });
104
104
  }
105
105
  render() {
106
- return (h("div", { key: '6670cb198e68ae3381107d5edaae4b66792e405f', class: 'container space-below-' +
106
+ return (h("div", { key: 'a3a6e6a8973c5f9ce375802604c86d185f2c4e21', class: 'container space-below-' +
107
107
  this.spaceBelow +
108
108
  ' text-colour-' +
109
109
  this.textColour +
@@ -116,7 +116,7 @@ export class BiggiveTabbedContent {
116
116
  ' button-background-colour-' +
117
117
  this.buttonBackgroundColour +
118
118
  ' button-icon-colour-' +
119
- this.buttonIconColour }, h("div", { key: '46688a7be47d556fe074a65d70c1f11034c57a89', class: "navigation" }, h("div", { key: 'c627c4ed31f2c3f4c6d76ad99a00f57c20155385', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: 'aee2bd85c7dda5189177bf5a819603271fcb64d9', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '42920dc78ea7d2a8d29c32c9d54e9c7b8008ed41', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '1951f201745f44027ff71c1b3b2309d45e2735d0', class: "sleeve" }, h("ul", { key: '44e96a3b7da775f70df59511f21a58913310537e' }, this.children.map(child => (h("li", { onClick: this.clickTabHandler }, child.tabTitle))))), h("div", { key: '161cc595091379aacc65ae9acc28b0f7f36c58a6', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: '84984af9df90b9746a3d40646edccaf1870be117', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '39db600fe8c35169140b6aeee369c7d5685b4cff', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("slot", { key: '980b8638b20ba71fad5b5d70677e1e45859e2d3d' })));
119
+ this.buttonIconColour }, h("div", { key: '6c6c89a3674c1a61d3fd7385dcc75dc03d633fb1', class: "navigation" }, h("div", { key: '412bfb622862cd7f1c2a6b29eb43005cba1046b5', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: 'a2f31c6d0bd2c59dd01377e9ad8ee3a4b8c747ab', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '9ccc951794ea7e584cd18d0984ca423283f12682', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '24afe78ecb54079f01d9051c5c673dd1adc9c140', class: "sleeve" }, h("ul", { key: '21bd70c080d937e2ceb4c7bb5b9daf17cee9e198' }, this.children.map(child => (h("li", { onClick: this.clickTabHandler }, child.tabTitle))))), h("div", { key: '0cc0ccf18b9156154a05d6377745eb40c47f529f', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: 'ce8f610685db60a537817ffd3b7ae204f762849f', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'd9b8764b135178e0df1d7ffb0fc9e4d95153542b', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("slot", { key: '37506653fac975afe4df95625b1d00067cb8f430' })));
120
120
  }
121
121
  static get is() { return "biggive-tabbed-content"; }
122
122
  static get encapsulation() { return "shadow"; }
@@ -8,7 +8,7 @@ export class BiggiveTable {
8
8
  this.bodyBackgroundColour = 'grey-light';
9
9
  }
10
10
  render() {
11
- return (h("div", { key: 'e522df7fc468a55077f31b0c909376a206373fd2', class: 'container header-text-colour-' +
11
+ return (h("div", { key: 'abd68af2392c2034df0f28ef0e02748caba42683', class: 'container header-text-colour-' +
12
12
  this.headerTextColour +
13
13
  ' header-background-colour-' +
14
14
  this.headerBackgroundColour +
@@ -17,7 +17,7 @@ export class BiggiveTable {
17
17
  ' body-background-colour-' +
18
18
  this.bodyBackgroundColour +
19
19
  ' space-below-' +
20
- this.spaceBelow }, h("slot", { key: '792dfb307bfd342e700c5e4f6a1a4e85f996c29e' })));
20
+ this.spaceBelow }, h("slot", { key: '8413ae4417883293064752aff362d74323e5ebed' })));
21
21
  }
22
22
  static get is() { return "biggive-table"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -15,7 +15,7 @@ export class BiggiveTextInput {
15
15
  }
16
16
  render() {
17
17
  const currencySymbol = this.currency === 'GBP' ? '£' : this.currency === 'USD' ? '$' : undefined;
18
- return (h("div", { key: '055c90e81e750865ba310d26b2c9d8e569710d12', class: 'text-input space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle + ' ' + this.siteDesign }, h("div", { key: 'ab14495fc77c4c4615ab43822fcaa7965bc38df7', class: "prompt" }, h("span", { key: 'b29f752f065917fa1fe9419389bb84e74c5d70ab' }, h("slot", { key: 'a6eb23765a623bbadd89edf278f4802229a5110d', name: "label" }))), h("div", { key: 'f7edf6f0e8246bbe2e4be74bb7a49684f6146978', class: "sleeve" }, h("div", { key: 'b3de30669682f9aed36b5d141b8d41426a05785b', class: "inner-sleeve" }, currencySymbol && h("span", { key: 'cc8e8e499646542557259d916b47c533f45f3907', class: "currency-symbol" }, currencySymbol), h("slot", { key: 'a7603bdfaf091f22061fa01caa7d4f95bfd5e63d', name: "input" }), h("div", { key: '2ec55c81200ba80dd386ea6242d2fef104688d3a', style: { clear: 'both' } })))));
18
+ return (h("div", { key: '8d2e3c22a74abaf7bd62ebf1f2c566f6bb675a35', class: 'text-input space-below-' + this.spaceBelow + ' select-style-' + this.selectStyle + ' ' + this.siteDesign }, h("div", { key: '1dd1637a400347fb648e6c2c8164c147db39f265', class: "prompt" }, h("span", { key: '8c27565ae24bd58c187b05c1aebb9f22ff2b0318' }, h("slot", { key: '60f2c931cf8db30224183db7c84d8359d49ad85a', name: "label" }))), h("div", { key: '0931f60f21f6592b21b2e4e3c7de2b743512410f', class: "sleeve" }, h("div", { key: '78ca094aa194e716001419c0a33d9d00812f535f', class: "inner-sleeve" }, currencySymbol && h("span", { key: '6447e2d7dbaadced06a5bd8e91d6e0b39c7f598c', class: "currency-symbol" }, currencySymbol), h("slot", { key: '6e5fbf7cf2590fd2d89a3d2643b3791286e0d5be', name: "input" }), h("div", { key: '3f618db51cb42a1641b7a26b40b2b39c07809395', style: { clear: 'both' } })))));
19
19
  }
20
20
  componentDidLoad() {
21
21
  const nativeInput = this.host.querySelector(`[slot="input"]`);
@@ -106,7 +106,7 @@ export class BiggiveTimeline {
106
106
  });
107
107
  }
108
108
  render() {
109
- return (h("div", { key: '86cf7b30a311ddfa1780e6c93b1a6b8ee071013c', class: 'container space-below-' +
109
+ return (h("div", { key: '1c7172d9f77028c52eca56754b55567482e62aed', class: 'container space-below-' +
110
110
  this.spaceBelow +
111
111
  ' text-colour-' +
112
112
  this.textColour +
@@ -129,7 +129,7 @@ export class BiggiveTimeline {
129
129
  ' entry-title-colour-' +
130
130
  this.entryTitleColour +
131
131
  ' entry-text-colour-' +
132
- this.entryTextColour }, h("div", { key: '798253116677a9cd2b7bc3412b29afaec181abbb', class: "navigation" }, h("div", { key: '84175941f5171a3732cb500ddf655b55752770fd', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: '92cb3a6ad3cba7fd73846064417431bd9ce5ff54', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '54d6652eaca0e29b50e3bd973548f4b0ac475104', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '8b2e4b66842acbd137739786607ab95986c401d6', class: "sleeve" }, h("ul", { key: '6358ebd6e01a3cc4edee0e389b4b45df1430434f' }, this.tabHeadings.map(tab => (h("li", { onClick: this.clickTabHandler }, tab))))), h("div", { key: 'fdcdf895094cb44b4ef10fd3ec50d7b59256ad96', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: 'db1f357d7551d4c520b7345ad7a7f9e222502ace', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '1d27679c3778e613ea2e3468f10ff404df993f7a', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("div", { key: 'a06b5690e1c7a0992400823e07228c9694a79d41', class: "entry-wrap" }, this.children.map(entry => (h("div", { class: "entry", "data-date": entry.date }, h("h4", { class: "title" }, entry.heading), h("div", { class: "content", innerHTML: entry.innerHTML })))))));
132
+ this.entryTextColour }, h("div", { key: 'c14d4e0900004203055ef256764d4defa52ca9fb', class: "navigation" }, h("div", { key: 'caa0cc6cfa2dc41cd6c33f03ab6d48e2822dbd83', class: "button prev", onClick: this.clickPrevHandler, title: "Previous" }, h("svg", { key: '24a655914c707c4d6ae94e6015bf472c3f62daf7', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '51f25df809909438bafe9ba5883f4fe2074144ae', d: "M8.29311 14.5703L1.73926 8.01646L8.29311 1.46261", stroke: "#000000", "stroke-width": "2" }))), h("div", { key: '4be11d07c6983d283cd25f85fdff86fa17670237', class: "sleeve" }, h("ul", { key: 'bbaecab4ca42ed05bdd19a0f5d483efe20654ce9' }, this.tabHeadings.map(tab => (h("li", { onClick: this.clickTabHandler }, tab))))), h("div", { key: 'df56fe5329703a94edd53cc35c6c2b6db24b349f', class: "button next", onClick: this.clickNextHandler, title: "Next" }, h("svg", { key: '32138a63b868cfc47fc9dadf1b80b732846e236b', width: "9", height: "16", viewBox: "0 0 9 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: '233ed7dedff44369a6dd9eee5c2a17c4d449204a', d: "M0.739117 1.46094L7.29297 8.01479L0.739118 14.5686", stroke: "#000000", "stroke-width": "2" })))), h("div", { key: '3ecfaa0c5658e641fe2b216bdf41ebe128efba93', class: "entry-wrap" }, this.children.map(entry => (h("div", { class: "entry", "data-date": entry.date }, h("h4", { class: "title" }, entry.heading), h("div", { class: "content", innerHTML: entry.innerHTML })))))));
133
133
  }
134
134
  static get is() { return "biggive-timeline"; }
135
135
  static get encapsulation() { return "shadow"; }
@@ -95,7 +95,7 @@ export class BiggiveTotalizer {
95
95
  });
96
96
  }
97
97
  render() {
98
- return (h("div", { key: '2cf0abe5083bc7c6129b7aaf3ae01b6b2cd4747d', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'b200633e42b5dfe1ad261d9bca3cb3fd80792689' }, h("div", { key: '4714c52fe4eb06e5d814950d4730175027411898', class: "banner" }, h("div", { key: '2dfae6c459ff37a107e7ace8fe89da30e82201d7', class: 'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour }, this.mainMessage), h("div", { key: 'edfc1ea9f8495301b96a20f945c0db96963ea1fe', class: 'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour }, h("div", { key: 'ff8032179845e96b1a50f0819545305d7e5e3c66', id: "sleeve_1", class: "sleeve" }, h("slot", { key: 'e2f28cd4dcbd059ddbf1cfc42cd32cc4abb6be65', name: "ticker-items" })), h("div", { key: '60474665c9beaf8ba9293172c88f44c6f801adcf', id: "sleeve_2", class: "sleeve sleeve-delayed-copy" }), h("div", { key: '522abed26363d0da688b6a5a1452634d6cd26ab8', id: "sleeve_3", class: "sleeve sleeve-delayed-copy" }), h("div", { key: 'b8c6971b6c51ea89200760a29efc522d351b85bd', id: "sleeve_4", class: "sleeve sleeve-delayed-copy" }))))));
98
+ return (h("div", { key: 'cc3b55f935461400e8990bcec2ad06cbcde78929', class: 'container space-below-' + this.spaceBelow }, h("div", { key: 'd7097a1c08b6ecddaacf0696c73a66004de4b2b4' }, h("div", { key: 'c5a0bd1cbf1944e41eb0838e3561d1f232335b60', class: "banner" }, h("div", { key: 'd6aa07d7b8a341390d7e0c6925fc24f38bf4297e', class: 'main-message-wrap background-colour-' + this.secondaryColour + ' text-colour-' + this.secondaryTextColour }, this.mainMessage), h("div", { key: '655f87cde7757fc2f221c96ab289fb6b7ffe24fd', class: 'ticker-wrap background-colour-' + this.primaryColour + ' text-colour-' + this.primaryTextColour }, h("div", { key: '45618c0053b1ba015baedc1802e7807186548b0f', id: "sleeve_1", class: "sleeve" }, h("slot", { key: '75a1b73fd04148b2c9833d42eaa39d8f15bc67e5', name: "ticker-items" })), h("div", { key: 'a35ba962a309f329f5e0c3aaa139d6b17537d869', id: "sleeve_2", class: "sleeve sleeve-delayed-copy" }), h("div", { key: '5dd62d0778afef6819d8471056409b3a1bb41af5', id: "sleeve_3", class: "sleeve sleeve-delayed-copy" }), h("div", { key: '206b670b98b95bff146b1a4eeb1f272ba87c7496', id: "sleeve_4", class: "sleeve sleeve-delayed-copy" }))))));
99
99
  }
100
100
  static get is() { return "biggive-totalizer"; }
101
101
  static get encapsulation() { return "shadow"; }
@@ -1,7 +1,7 @@
1
1
  import { h } from "@stencil/core";
2
2
  export class BiggiveTotalizerTickerItem {
3
3
  render() {
4
- return (h("div", { key: '1aecb7b2990d00f24cb84e4af03c6834019024a2', class: "ticker-item" }, h("strong", { key: '472a514817817ca6905f73338db1d3aeeab34502' }, this.figure), " ", this.label));
4
+ return (h("div", { key: 'e70aee165612177ba6e5b4773bb46a9f44219ae5', class: "ticker-item" }, h("strong", { key: 'b152a90b20c88fa4b547f60bc801f825a156d66f' }, this.figure), " ", this.label));
5
5
  }
6
6
  static get is() { return "biggive-totalizer-ticker-item"; }
7
7
  static get encapsulation() { return "shadow"; }
@@ -16,7 +16,7 @@ export class BiggiveVideo {
16
16
  this.videoUrl = '';
17
17
  }
18
18
  render() {
19
- return (h("div", { key: 'df1f5837f0a28401019031059c1396d01b908020', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '7f5cc816b0a8c9d5429ad7a854d8db1fbe194434', class: "video-wrap", innerHTML: VideoService.getEmbedHtml(this.videoUrl, null) })));
19
+ return (h("div", { key: '9dc6813d5684da3a9e7d656e288f89660e9d9d4a', class: 'container space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '2e7f050ba6df923b3e3b36f36e4e8125561cd5c6', class: "video-wrap", innerHTML: VideoService.getEmbedHtml(this.videoUrl, null) })));
20
20
  }
21
21
  static get is() { return "biggive-video"; }
22
22
  static get encapsulation() { return "shadow"; }
@@ -37,7 +37,7 @@ export class BiggiveVideoFeature {
37
37
  }
38
38
  render() {
39
39
  const youtubeClass = this.videoUrl.includes('youtube.com') ? ' youtube' : '';
40
- return (h("div", { key: '8fc4516d67dff53d046b61f481baca72708c95f3', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: 'fd5cfa6853d748b2b798b529c1ddb7bef9db80db', class: "sleeve" }, h("div", { key: '4417465edea24eea6124b079478178385533e530', class: "content-wrap" }, h("div", { key: '0e6340466a966bbb4c6f6bccd5a8961e455fa9e2', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { key: '0fcc98aef86a1ce85b7804b51177a8aba0fb4ffc', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: '8e4b22955bd477e9bba6732d8464ec0f26732925', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.buttonLabel != null && this.buttonUrl != null ? (h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })) : null), h("div", { key: '2a5c8b41f9cfd53259d79c51f5e9e010c2b4aff2', class: "graphic-wrap" }, this.videoUrl !== null && this.videoUrl !== undefined ? (h("div", { class: 'video-wrap' + youtubeClass, innerHTML: VideoService.getEmbedHtml(this.videoUrl, this.mainTitle) })) : null))));
40
+ return (h("div", { key: '3ab0c3ea0c614d2f5c2f2d81a181f666697a46ba', class: 'container text-colour-' + this.defaultTextColour + ' space-above-' + this.spaceAbove + ' space-below-' + this.spaceBelow }, h("div", { key: '37084956f7985fdf9efcef6d6125b053868b0644', class: "sleeve" }, h("div", { key: '87e0e11d90488ba59820fac8fbf4c0396fc1f20f', class: "content-wrap" }, h("div", { key: '13fa7ecb363dda39de79dceedc399f250be71e76', class: 'slug text-colour-' + this.slugColour }, this.slug), h("h2", { key: 'f0180f7716dc2fef1019e02c3039a6c105d148ce', class: 'title text-colour-' + this.mainTitleColour }, this.mainTitle), h("div", { key: '26df1b855b6fbad4f6f744e068e40d72cccf5464', class: 'teaser text-colour-' + this.teaserColour }, this.teaser), this.buttonLabel != null && this.buttonUrl != null ? (h("biggive-button", { "colour-scheme": this.buttonColourScheme, url: this.buttonUrl, label: this.buttonLabel })) : null), h("div", { key: 'fa7429cb781aee4df3d0095fb331060f945b304f', class: "graphic-wrap" }, this.videoUrl !== null && this.videoUrl !== undefined ? (h("div", { class: 'video-wrap' + youtubeClass, innerHTML: VideoService.getEmbedHtml(this.videoUrl, this.mainTitle) })) : null))));
41
41
  }
42
42
  static get is() { return "biggive-video-feature"; }
43
43
  static get encapsulation() { return "shadow"; }
@@ -12,7 +12,7 @@ export class PhilcoFooter {
12
12
  }
13
13
  render() {
14
14
  const HeadingTag = `h${this.headingLevel}`;
15
- return (h("div", { key: 'dd6ef15d28af9e7e026fb07f6b3e4dea5c782586', class: "footer" }, h("div", { key: 'f5081e9759041888977b8767eb7c9bd43a9f484f', class: "row row-logo" }, h("div", { key: '13571556486fd5734482637589f5f2842140c8e4', class: "logo" }, h("img", { key: '7a259b75ffe0ec339268816c5c81e493ca2eb001', src: getAssetPath('/assets/images/philco/Philcologo-black.png'), alt: "PhilCo" }))), h("div", { key: 'eadfba6e3ce1211f844e148cb0c007f5d7597b49', class: "row row-top" }, h("nav", { key: '3faa5290b82787e6aafdcfffa23bfee4b1597e10', class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { key: '24e3df2d7d699a0fb1cc6e5db3945fd739a676d4', class: "heading", id: "footer-primary-heading" }, h("div", { key: '72435f5dac12ea265dd477b0caa83a86bc11506b', slot: "nav-primary-title" }, "Contact")), h("ul", { key: 'a3a5bce7514e9b71575d0e23c27472ebaa810900', slot: "nav-primary" }, h("li", { key: '290015315f3ee8ed0c95138948a88cde3ef14203' }, "PhilCo@biggive.org"))), h("nav", { key: 'abeff32b7327bbdaf0fabb23ef9528d810c857a3', class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading" }, h(HeadingTag, { key: '0089984188ee0600a76e17f2e216f72486bddd0f', class: "heading", id: "footer-secondary-heading" }, h("div", { key: '3e2f245ce582d4dab7036f9b0f888bb1777a6318', slot: "nav-secondary-title" }, "Philco Site")), h("ul", { key: '9256e08d2c60c10d51d3eb046700ee79ad535849', slot: "nav-secondary" }, h("li", { key: '4e2a2394cc8156c5633b04a6c544242d631e8f33' }, h("a", { key: 'f6b127ab759989126fcf24ca8405b9849a761cdd', href: makeURL('Philco', this.philcoUrlPrefix, '/') }, "Home")), h("li", { key: 'fe91703a8f99ba8c0c8dfb48a551098ab039e3e3' }, h("a", { key: '91c1decd5c0fd9b42e47324dd5a6d46c7ae6a15d', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: '726d92eb147c70ba34c9a96209ae9b6921f747d4' }, h("a", { key: '09633276fe1dc6951f90917150bf57214a560d72', href: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') }, "Sign Up")))), h("nav", { key: 'a191aefe8ed588bc2d12541406339cc93b3c38df', class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { key: '652da53c14d1b78a36354c5f29e67233032f73ae', class: "heading", id: "footer-tertiary-heading" }, h("div", { key: 'c18c631a5fe106710c3bd76ce4f5ad826b8e7042', slot: "nav-tertiary-title" }, "Guide")), h("ul", { key: 'f2055bac0deab36fbe7907096f8fa5814d9481c2', slot: "nav-tertiary" }, h("li", { key: '0b21dcb21470041e48a854001137076d87e6ad6d' }, h("a", { key: 'fc2935b595884d185699873209b5e2817a6a0126', href: "https://drive.google.com/file/d/1D1GnstpMKnnES1aYj05EVE9_lQtLZLwj/view", target: "_blank" }, "Download the guide"))))), h("div", { key: '8b4f88271f63ab70ad5d03f1afcde7d4b9d78a4b', class: "row row-bottom" }, h("div", { key: '250f0983fc3b37abe53dab34256c70f8ee45cfa1', class: "postscript-wrap" }, h("nav", { key: 'bb25cafe121a656935c5398d1c6104bbe08417ab', class: "nav nav-postscript", "aria-label": "Legal" }, h("ul", { key: '1832a4ac2b0f652abd6449f8946595fc19f60ffa', slot: "nav-postscript" }, h("li", { key: '23bf91d900d21491eeaa1b19df5557e6ba0f9405' }, h("a", { key: 'a9895a2b72309a54bb18d96f48a6649d86629d58', href: makeURL('Philco', this.philcoUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), h("li", { key: '08cbf5d46053f09e1676f386d140182dac5d6f9a' }, h("a", { key: 'e1b2dc0524a4a43ca275c9aa884843fd7ed6ee8c', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy') }, "Privacy Statement")), h("li", { key: '949672d10310eb3503bd2dd6759e68153416149a' }, h("a", { key: '6aac86e8257e0218cc0c62db2e73e0d2323eab9c', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy#cookies') }, "Cookies Statement"))))), h("p", { key: '70cc781d2a3d582cd6dfd34b5ad4ce60c43d3bf4' }, "\u00A9 2007 \u2013 ", this.year, " The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
15
+ return (h("div", { key: 'b3e743727efb5c94016ddcb9db8faf1fb42fe6c3', class: "footer" }, h("div", { key: 'c69257699ee16e3158e319dec101cfc0662e1ce5', class: "row row-logo" }, h("div", { key: '27b1deb0f966d547239084b6b50cdceecb3df6ce', class: "logo" }, h("img", { key: '4a2bfc61954998bad9ad2488fee9e14491d2db29', src: getAssetPath('/assets/images/philco/Philcologo-black.png'), alt: "PhilCo" }))), h("div", { key: '56cc8933fc4eeab6650928a0059482dc4de3a517', class: "row row-top" }, h("nav", { key: '7d12c803ac134a42333c487e4f0f036b012ccaa4', class: "nav nav-primary", "aria-labelledby": "footer-primary-heading" }, h(HeadingTag, { key: 'e82528a07ec84e743fcacebb515df29916097363', class: "heading", id: "footer-primary-heading" }, h("div", { key: '9e94adbc23fe78cfa62d93e2c5fe8aa66e6e8c84', slot: "nav-primary-title" }, "Contact")), h("ul", { key: '7bcd6019ed7bbcc36eb455dfb7acd60ce79f45ce', slot: "nav-primary" }, h("li", { key: 'b61bd8d0b128288e8a8596c2237c6db56e130088' }, "PhilCo@biggive.org"))), h("nav", { key: '89f36054817abded1ad1345e15e5c68c448c46f9', class: "nav nav-secondary", "aria-labelledby": "footer-secondary-heading" }, h(HeadingTag, { key: '71f87c8939172b8d704954cd5a1e44ded6a67776', class: "heading", id: "footer-secondary-heading" }, h("div", { key: 'aa734c4743792d0789a063e43969692f24501101', slot: "nav-secondary-title" }, "Philco Site")), h("ul", { key: '928251ffca9a92c62b4e1b2268243611fa7380b1', slot: "nav-secondary" }, h("li", { key: '1c88e4e1b756b5c428b3c5601db05ee5743493d0' }, h("a", { key: '258c56d18bbd7a41f9842a7df1a898845b106ab6', href: makeURL('Philco', this.philcoUrlPrefix, '/') }, "Home")), h("li", { key: '971359d305cc34fff9cf7e2eb0b16527b0d28643' }, h("a", { key: '5a3a0cb8b6179a711e34d391e02c37db0faff984', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: 'fe82a6f2b2fc65533db42ff220b62b58831b3153' }, h("a", { key: 'c03005fd0bc961a43c9e87864bed9437851f3ce1', href: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') }, "Sign Up")))), h("nav", { key: '26ba6a957d5e185f4b8314af0621331a7a8fd4af', class: "nav nav-tertiary", "aria-labelledby": "footer-tertiary-heading" }, h(HeadingTag, { key: 'a239cd54fa6a42b3a6823b23f9fa5db229e1ea12', class: "heading", id: "footer-tertiary-heading" }, h("div", { key: '47665b5935f41a6b78b40d751d64b106723d63f7', slot: "nav-tertiary-title" }, "Guide")), h("ul", { key: 'f433200fce58582b41767876d9969fbd823d02e2', slot: "nav-tertiary" }, h("li", { key: '27c24f0b0c7b3d0e0453f68fcd69dc9e80636b2d' }, h("a", { key: 'b9166af7f2545e56743858ee940aeb9972d83a91', href: "https://drive.google.com/file/d/1D1GnstpMKnnES1aYj05EVE9_lQtLZLwj/view", target: "_blank" }, "Download the guide"))))), h("div", { key: '2aca607ec092f09a8189b8c8b8dc5ce8c0a2f752', class: "row row-bottom" }, h("div", { key: 'e055e2cff7c6f38b4712b026670487972b8952f3', class: "postscript-wrap" }, h("nav", { key: '7668e57de1eff5721acf25305bfc5ee09bf83793', class: "nav nav-postscript", "aria-label": "Legal" }, h("ul", { key: 'e9e59ae01c77519d60a9ebae94e88ab883830083', slot: "nav-postscript" }, h("li", { key: '5e7b59055c0575064233c0fd4665cd75f5d787a7' }, h("a", { key: '26f2470e30546b88f832f8700ed5a248a03a6103', href: makeURL('Philco', this.philcoUrlPrefix, 'terms-and-conditions') }, "Terms and Conditions")), h("li", { key: 'd5c8ebfb0312b74c22cdec6f18b472cb6888ef8a' }, h("a", { key: '7be9701e4751c4eddda74dfe036f9089778c566a', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy') }, "Privacy Statement")), h("li", { key: '5d03587103ff4e856682c0cc1e0f20e21c83fafc' }, h("a", { key: '833498b88e12a0e7ec8563badfba76d413daa262', href: makeURL('Philco', this.philcoUrlPrefix, 'privacy#cookies') }, "Cookies Statement"))))), h("p", { key: 'f9bea23dd9a477d3149c73f3e7e8e4b3da29e3b7' }, "\u00A9 2007 \u2013 ", this.year, " The Big Give Trust (1136547) | Company number 07273065 | Dragon Court, 27-29 Macklin Street, London WC2B 5LX, United Kingdom"))));
16
16
  }
17
17
  static get is() { return "philco-footer"; }
18
18
  static get encapsulation() { return "shadow"; }
@@ -20,7 +20,7 @@ export class PhilcoMainMenu {
20
20
  }
21
21
  render() {
22
22
  const homePageLink = '/';
23
- return (h(Host, { key: '897b2624b108385584826764e3b167597a8ad91e' }, h("nav", { key: 'd9734d3d887929b5ed564df37ff735cdd9fc9e55', role: "navigation", "aria-label": "Main Menu" }, h("div", { key: 'bb4887779d5cdbc4a728fb6e89a2c6bd2bb04911', class: "navbar" }, h("div", { key: '88b5c58f571e4eb232b7a7d35b562640ad4b980f', class: "logo" }, h("a", { key: 'c225045cb631a63d4c3d86aeee5d15702a9c7858', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }, h("img", { key: 'c22f0eae844725a02bd9c5cc29463011f3afd61c', src: getAssetPath('/assets/images/philco/Philcologo-white.png'), alt: "PhilCo" }))), h("biggive-misc-icon", { key: '517bd823c70928f75e390cf8654c01ab38f7ea64', class: "bx bx-menu", "background-colour": "transparent", "icon-colour": "white", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { key: 'df3a2ed5f6144c123ebc0998adaffb0acceb3af3', class: "nav-links" }, h("div", { key: '390463141c831ea179a00eeccff2285a94339378', class: "sidebar-logo" }, h("a", { key: 'f2842aa0f607394f6cb08a1a49b0270bd9e60fc8', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }), h("biggive-misc-icon", { key: '4b411ed4f45a31b7da57df10caee03bcb89b5c7c', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "white", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { key: '084304829db34e7f10b32b3ff87acc2421c80940', id: "nav-primary" }, h("ul", { key: '1fe005bf81a5c45b05d8fa55810cab4bfa1332c8', class: "links", slot: "nav-primary" }, h("li", { key: '5f8285a71add63ba5e1fdb4ab4cbd73d6271b6f2' }, h("a", { key: '858e7e5d059c0e1e2200f7d9bcfa6a4752fd7817', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: '3ac859a304a5329eb8960eb5b819e414bf8a1036' }, h("a", { key: '6415a7a01828529b5c1731add1d7d3a10762bf83', href: makeURL('Philco', this.philcoUrlPrefix, 'news') }, "News")), h("li", { key: 'a39302fbffae336212eaf4be69869714d364e1a0', class: "signup" }, h("biggive-button", { key: 'c64c2b280e5419d5e3cf156cbbd28632dbf4635b', label: "Sign up", "site-design": "philco", "colour-scheme": "philco-white", rounded: true, url: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') })))))))));
23
+ return (h(Host, { key: 'f657c4d21e32c777fafa7e77cb6540c67645b541' }, h("nav", { key: 'f1cb709ea366aed682dafaa0eeeb772ec0ed0768', role: "navigation", "aria-label": "Main Menu" }, h("div", { key: '245b59d91c764908facc28d5cb9eabe5fa45efeb', class: "navbar" }, h("div", { key: '257e9052a51dfdcb5150819b7f52063125e8ef19', class: "logo" }, h("a", { key: '888025df6bb4f7251f9df7fed2d2a3915ef5571d', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }, h("img", { key: '152b1d9c61217c9809fa6c2fc6c03e98013d267c', src: getAssetPath('/assets/images/philco/Philcologo-white.png'), alt: "PhilCo" }))), h("biggive-misc-icon", { key: '7df283eaafeb64c905d849da22bcdf28b7180dc6', class: "bx bx-menu", "background-colour": "transparent", "icon-colour": "white", icon: "MenuOpen", onClick: this.openMobileMenu }), h("div", { key: 'cf31353f5a04f2beaf9b4b20f8e0a765227cfa8d', class: "nav-links" }, h("div", { key: 'fa4292e095153b2bb246d1729f55913d9d1bb8b9', class: "sidebar-logo" }, h("a", { key: '87dcd1ee7229d2f58a358e20e9351c25fbeceec1', href: this.philcoUrlPrefix + homePageLink, "aria-label": "Home" }), h("biggive-misc-icon", { key: 'c90bed728745b3f0a9350fc24cbdc4aef284b705', class: "bx bx-x", "background-colour": "transparent", "icon-colour": "white", icon: "MenuClose", onClick: this.closeMobileMenu })), h("div", { key: '59b759a24bf51452c1b23135f1f5f7eafbacec07', id: "nav-primary" }, h("ul", { key: '1709c8255ec0b027887ca0a7e86dcdaac71dde1e', class: "links", slot: "nav-primary" }, h("li", { key: '881948fdad475340c8f240969b198437c0639237' }, h("a", { key: '8da61a91c44c63a9253d0c766524b20abcfcfc12', href: makeURL('Philco', this.philcoUrlPrefix, 'why-become-a-philco') }, "Why become a Philco")), h("li", { key: '03e45c794a8149d15fce550250c5bd5097ebe9d3' }, h("a", { key: 'bbbecc17d0ab178b7572132078da6e663796366c', href: makeURL('Philco', this.philcoUrlPrefix, 'news') }, "News")), h("li", { key: '6a79deea7bc78bde11e63d8f8e4fe31007840163', class: "signup" }, h("biggive-button", { key: '3dab01f3a9ed15eb3ab37f3d50af7e7b417b7980', label: "Sign up", "site-design": "philco", "colour-scheme": "philco-white", rounded: true, url: makeURL('Philco', this.philcoUrlPrefix, 'sign-up') })))))))));
24
24
  }
25
25
  static get is() { return "philco-main-menu"; }
26
26
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,transformTag as e}from"@stencil/core/internal/client";const c=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.doButtonClick=t(this,"doButtonClick",7),this.spaceBelow=1,this.colourScheme="primary",this.label="Click me",this.openInNewTab=!1,this.fullWidth=!1,this.size="medium",this.rounded=!1,this.centered=!1,this.buttonId=void 0,this.siteDesign="biggive",this.disabled=!1,this.handleButtonClick=o=>{this.doButtonClick.emit({event:o,url:o.target.parentElement.href})}}render(){return n("div",{key:"878302a674e9278a7473a61e3459bc6cd261438a",class:"container space-below-"+this.spaceBelow+" centered-"+this.centered+" "+this.siteDesign+(this.disabled?" disabled":"")},n("a",{key:"1a20442c7b616aa5d85e955fb7cbadb3857e8755","pointer-events":this.disabled?"none":"auto","aria-disabled":this.disabled,role:"button",href:this.url||"#",target:this.openInNewTab?"_blank":"_self",id:this.buttonId,class:"button button-"+this.colourScheme+" full-width-"+this.fullWidth.toString()+" size-"+this.size+" rounded-"+this.rounded.toString()},n("span",{key:"03ee05d3a15ea558e805042537865e26a93818d9",onClick:this.disabled?()=>{}:this.handleButtonClick},this.label)))}static get style(){return"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:contents}.container{font-family:inherit}.container a{display:inline-block}.container a.full-width-true{display:block}.container.centered-true{text-align:center}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#FFFFFF;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{color:#2AF135;background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{color:#FF7272;background-color:#FFFFFF}.button-brand-cc-red{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-cc-red:hover{color:#B30510;background-color:#FFFFFF}.button-brand-wgmf-purple{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-wgmf-purple:hover{color:#6E0887;background-color:#FFFFFF}.button-brand-gmf-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-gmf-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-er-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-dark-green{color:#FFFFFF;background-color:#002413;border-color:#002413}.button-brand-er-dark-green:hover{color:#002413;background-color:#FFFFFF}.button-brand-er-dark-blue{color:#FFFFFF;background-color:#0c0068;border-color:#0c0068}.button-brand-er-dark-blue:hover{color:#0c0068;background-color:#FFFFFF}.button-brand-er-teal{color:#FFFFFF;background-color:#00a76d;border-color:#00a76d}.button-brand-er-teal:hover{color:#00a76d;background-color:#FFFFFF}.button-brand-emf-yellow{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-emf-yellow:hover{color:#FFE500;background-color:#FFFFFF}.button-brand-c4c-orange{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-c4c-orange:hover{color:#F07D00;background-color:#FFFFFF}.button-brand-afa-pink{color:#FFFFFF;background-color:#BF387D;border-color:#BF387D}.button-brand-afa-pink:hover{color:#BF387D;background-color:#FFFFFF}.button-brand-scw-magenta{color:#FFFFFF;background-color:#EE2C65;border-color:#EE2C65}.button-brand-scw-magenta:hover{color:#EE2C65;background-color:#FFFFFF}.button-brand-mhf-turquoise{color:#FFFFFF;background-color:#62CFC9;border-color:#62CFC9}.button-brand-mhf-turquoise:hover{color:#62CFC9;background-color:#FFFFFF}.button-brand-grey{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-grey:hover{color:#CBC8C8;background-color:#FFFFFF}.button-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-grey-extra-light{color:#FFFFFF;background-color:#D7D7D7;border-color:#D7D7D7}.button-grey-extra-light:hover{color:#D7D7D7;background-color:#FFFFFF}.button-grey-light{color:#FFFFFF;background-color:#E8E8E8;border-color:#E8E8E8}.button-grey-light:hover{color:#E8E8E8;background-color:#FFFFFF}.button-grey-medium{color:#FFFFFF;background-color:#8A8A8A;border-color:#8A8A8A}.button-grey-medium:hover{color:#8A8A8A;background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF;background-color:#4A4A4A;border-color:#4A4A4A}.button-grey-dark:hover{color:#4A4A4A;background-color:#FFFFFF}.button-philco-orange{color:#FFFFFF;background-color:#f18a00;border-color:#f18a00}.button-philco-orange:hover{color:#f18a00;background-color:#FFFFFF}.button-philco-gray-90{color:#FFFFFF;background-color:#1d1d1B;border-color:#1d1d1B}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#FFFFFF}.button-philco-gray-70{color:#FFFFFF;background-color:#7D7D7D;border-color:#7D7D7D}.button-philco-gray-70:hover{color:#7D7D7D;background-color:#FFFFFF}.button-philco-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-philco-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-philco-success-green{color:#FFFFFF;background-color:#1Ec691;border-color:#1Ec691}.button-philco-success-green:hover{color:#1Ec691;background-color:#FFFFFF}.button-philco-error-coral{color:#FFFFFF;background-color:#F54242;border-color:#F54242}.button-philco-error-coral:hover{color:#F54242;background-color:#FFFFFF}.button-philco-gray-30{color:#FFFFFF;background-color:#BBBBBB;border-color:#BBBBBB}.button-philco-gray-30:hover{color:#BBBBBB;background-color:#FFFFFF}.button-philco-gray-20{color:#FFFFFF;background-color:#F6F6F6;border-color:#F6F6F6}.button-philco-gray-20:hover{color:#F6F6F6;background-color:#FFFFFF}.button-secondary{color:#000000}.button-secondary:hover{color:#000000;background-color:#FFFFFF;border-color:#000000}.button-brand-grey{color:#FFFFFF}.button-brand-grey:hover{background-color:#000000}.button-brand-mhf-turquoise:hover{background-color:#000000}.button-brand-afa-pink:hover{background-color:#000000}.button-white{color:#2C089B}.button-white:hover{color:#000000;background-color:#2AF135}.button-philco-gray-90{font-size:16px;color:#FFFFFF}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#f18a00}.button-philco-orange{font-size:16px;color:#1d1d1B}.button-philco-orange:hover{color:#FFFFFF;background-color:#1d1d1B}.button-philco-white{font-size:16px;color:#1d1d1B}.button-philco-white:hover{color:#1d1d1B !important;background-color:#f18a00 !important}.container.philco a{border-color:transparent}.container.disabled.philco .button{cursor:not-allowed;background-color:#BBBBBB !important;color:#FFFFFF}.container.disabled.philco .button:hover{background-color:#BBBBBB;color:#FFFFFF}.button-black{color:#FFFFFF}.button-black:hover{background-color:#FFFFFF}.button-grey-extra-light{color:#000000}.button-grey-extra-light:hover{background-color:#000000}.button-grey-light{color:#000000}.button-grey-light:hover{background-color:#000000}.button-grey-medium{color:#FFFFFF}.button-grey-medium:hover{background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF}.button-grey-dark:hover{background-color:#FFFFFF}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{color:#2C089B;text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{color:#2AF135;text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{color:#FF7272;text-decoration:none;background-color:transparent}.button-clear-brand-cc-red{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-cc-red:hover{color:#B30510;text-decoration:none;background-color:transparent}.button-clear-brand-wgmf-purple{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-wgmf-purple:hover{color:#6E0887;text-decoration:none;background-color:transparent}.button-clear-brand-gmf-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-gmf-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-green{color:#002413;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-green:hover{color:#002413;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-blue{color:#0c0068;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-blue:hover{color:#0c0068;text-decoration:none;background-color:transparent}.button-clear-brand-er-teal{color:#00a76d;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-teal:hover{color:#00a76d;text-decoration:none;background-color:transparent}.button-clear-brand-emf-yellow{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-emf-yellow:hover{color:#FFE500;text-decoration:none;background-color:transparent}.button-clear-brand-c4c-orange{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-c4c-orange:hover{color:#F07D00;text-decoration:none;background-color:transparent}.button-clear-brand-afa-pink{color:#BF387D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-afa-pink:hover{color:#BF387D;text-decoration:none;background-color:transparent}.button-clear-brand-scw-magenta{color:#EE2C65;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-scw-magenta:hover{color:#EE2C65;text-decoration:none;background-color:transparent}.button-clear-brand-mhf-turquoise{color:#62CFC9;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-mhf-turquoise:hover{color:#62CFC9;text-decoration:none;background-color:transparent}.button-clear-brand-grey{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-grey:hover{color:#CBC8C8;text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-black{color:#000000;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-black:hover{color:#000000;text-decoration:none;background-color:transparent}.button-clear-grey-extra-light{color:#D7D7D7;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-extra-light:hover{color:#D7D7D7;text-decoration:none;background-color:transparent}.button-clear-grey-light{color:#E8E8E8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-light:hover{color:#E8E8E8;text-decoration:none;background-color:transparent}.button-clear-grey-medium{color:#8A8A8A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-medium:hover{color:#8A8A8A;text-decoration:none;background-color:transparent}.button-clear-grey-dark{color:#4A4A4A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-dark:hover{color:#4A4A4A;text-decoration:none;background-color:transparent}.button-clear-philco-orange{color:#f18a00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-orange:hover{color:#f18a00;text-decoration:none;background-color:transparent}.button-clear-philco-gray-90{color:#1d1d1B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-90:hover{color:#1d1d1B;text-decoration:none;background-color:transparent}.button-clear-philco-gray-70{color:#7D7D7D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-70:hover{color:#7D7D7D;text-decoration:none;background-color:transparent}.button-clear-philco-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-philco-success-green{color:#1Ec691;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-success-green:hover{color:#1Ec691;text-decoration:none;background-color:transparent}.button-clear-philco-error-coral{color:#F54242;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-error-coral:hover{color:#F54242;text-decoration:none;background-color:transparent}.button-clear-philco-gray-30{color:#BBBBBB;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-30:hover{color:#BBBBBB;text-decoration:none;background-color:transparent}.button-clear-philco-gray-20{color:#F6F6F6;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-20:hover{color:#F6F6F6;text-decoration:none;background-color:transparent}"}},[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]}]);function a(){"undefined"!=typeof customElements&&["biggive-button"].forEach((o=>{"biggive-button"===o&&(customElements.get(e(o))||customElements.define(e(o),c))}))}export{c as B,a as d}
1
+ import{proxyCustomElement as o,HTMLElement as r,createEvent as t,h as n,transformTag as e}from"@stencil/core/internal/client";const c=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.doButtonClick=t(this,"doButtonClick",7),this.spaceBelow=1,this.colourScheme="primary",this.label="Click me",this.openInNewTab=!1,this.fullWidth=!1,this.size="medium",this.rounded=!1,this.centered=!1,this.buttonId=void 0,this.siteDesign="biggive",this.disabled=!1,this.isNoOpUrl=()=>void 0===this.url||""===this.url.trim()||"#"===this.url,this.handleButtonClick=o=>{if(this.disabled)return o.preventDefault(),void o.stopPropagation();this.isNoOpUrl()&&(o.preventDefault(),o.stopPropagation()),this.doButtonClick.emit({event:o,url:this.url||""})}}render(){const o=this.isNoOpUrl(),r="button button-"+this.colourScheme+" full-width-"+this.fullWidth.toString()+" size-"+this.size+" rounded-"+this.rounded.toString()+(o?" no-op-link":"");return n("div",{key:"b1c3f26f5918613ab1dbd990c516ba0a8951fcc9",class:"container space-below-"+this.spaceBelow+" centered-"+this.centered+" "+this.siteDesign+(this.disabled?" disabled":"")},o?n("button",{type:"button","aria-disabled":this.disabled,disabled:this.disabled,id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label):n("a",{"pointer-events":this.disabled?"none":"auto","aria-disabled":this.disabled,role:"button",href:this.url,target:this.openInNewTab?"_blank":"_self",id:this.buttonId,class:r,onClick:this.handleButtonClick},this.label))}static get style(){return"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:contents}.container{font-family:inherit}.container a{display:inline-block}.container a.full-width-true{display:block}.container.centered-true{text-align:center}.button{font-size:17px;line-height:24px;padding:10px 30px;border-radius:5px;border:1px solid #000000;background-color:#000000;color:#FFFFFF;display:inline-block;text-decoration:none;text-align:center;transition:all ease-in-out 0.5s;cursor:pointer}.button:hover{background-color:#FFFFFF;color:#000000}.button.size-small{font-size:13px;line-height:17px;padding:5px 15px}.button.button.rounded-true{border-radius:27.5px}.button.button.rounded-true.size-small{border-radius:20px}.button-primary{color:#FFFFFF;background-color:#2C089B;border-color:#2C089B}.button-primary:hover{color:#2C089B;background-color:#FFFFFF}.button-secondary{color:#FFFFFF;background-color:#2AF135;border-color:#2AF135}.button-secondary:hover{color:#2AF135;background-color:#FFFFFF}.button-tertiary{color:#FFFFFF;background-color:#FF7272;border-color:#FF7272}.button-tertiary:hover{color:#FF7272;background-color:#FFFFFF}.button-brand-cc-red{color:#FFFFFF;background-color:#B30510;border-color:#B30510}.button-brand-cc-red:hover{color:#B30510;background-color:#FFFFFF}.button-brand-wgmf-purple{color:#FFFFFF;background-color:#6E0887;border-color:#6E0887}.button-brand-wgmf-purple:hover{color:#6E0887;background-color:#FFFFFF}.button-brand-gmf-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-gmf-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-green{color:#FFFFFF;background-color:#50B400;border-color:#50B400}.button-brand-er-green:hover{color:#50B400;background-color:#FFFFFF}.button-brand-er-dark-green{color:#FFFFFF;background-color:#002413;border-color:#002413}.button-brand-er-dark-green:hover{color:#002413;background-color:#FFFFFF}.button-brand-er-dark-blue{color:#FFFFFF;background-color:#0c0068;border-color:#0c0068}.button-brand-er-dark-blue:hover{color:#0c0068;background-color:#FFFFFF}.button-brand-er-teal{color:#FFFFFF;background-color:#00a76d;border-color:#00a76d}.button-brand-er-teal:hover{color:#00a76d;background-color:#FFFFFF}.button-brand-emf-yellow{color:#FFFFFF;background-color:#FFE500;border-color:#FFE500}.button-brand-emf-yellow:hover{color:#FFE500;background-color:#FFFFFF}.button-brand-c4c-orange{color:#FFFFFF;background-color:#F07D00;border-color:#F07D00}.button-brand-c4c-orange:hover{color:#F07D00;background-color:#FFFFFF}.button-brand-afa-pink{color:#FFFFFF;background-color:#BF387D;border-color:#BF387D}.button-brand-afa-pink:hover{color:#BF387D;background-color:#FFFFFF}.button-brand-scw-magenta{color:#FFFFFF;background-color:#EE2C65;border-color:#EE2C65}.button-brand-scw-magenta:hover{color:#EE2C65;background-color:#FFFFFF}.button-brand-mhf-turquoise{color:#FFFFFF;background-color:#62CFC9;border-color:#62CFC9}.button-brand-mhf-turquoise:hover{color:#62CFC9;background-color:#FFFFFF}.button-brand-grey{color:#FFFFFF;background-color:#CBC8C8;border-color:#CBC8C8}.button-brand-grey:hover{color:#CBC8C8;background-color:#FFFFFF}.button-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-black{color:#FFFFFF;background-color:#000000;border-color:#000000}.button-black:hover{color:#000000;background-color:#FFFFFF}.button-grey-extra-light{color:#FFFFFF;background-color:#D7D7D7;border-color:#D7D7D7}.button-grey-extra-light:hover{color:#D7D7D7;background-color:#FFFFFF}.button-grey-light{color:#FFFFFF;background-color:#E8E8E8;border-color:#E8E8E8}.button-grey-light:hover{color:#E8E8E8;background-color:#FFFFFF}.button-grey-medium{color:#FFFFFF;background-color:#8A8A8A;border-color:#8A8A8A}.button-grey-medium:hover{color:#8A8A8A;background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF;background-color:#4A4A4A;border-color:#4A4A4A}.button-grey-dark:hover{color:#4A4A4A;background-color:#FFFFFF}.button-philco-orange{color:#FFFFFF;background-color:#f18a00;border-color:#f18a00}.button-philco-orange:hover{color:#f18a00;background-color:#FFFFFF}.button-philco-gray-90{color:#FFFFFF;background-color:#1d1d1B;border-color:#1d1d1B}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#FFFFFF}.button-philco-gray-70{color:#FFFFFF;background-color:#7D7D7D;border-color:#7D7D7D}.button-philco-gray-70:hover{color:#7D7D7D;background-color:#FFFFFF}.button-philco-white{color:#FFFFFF;background-color:#FFFFFF;border-color:#FFFFFF}.button-philco-white:hover{color:#FFFFFF;background-color:#FFFFFF}.button-philco-success-green{color:#FFFFFF;background-color:#1Ec691;border-color:#1Ec691}.button-philco-success-green:hover{color:#1Ec691;background-color:#FFFFFF}.button-philco-error-coral{color:#FFFFFF;background-color:#F54242;border-color:#F54242}.button-philco-error-coral:hover{color:#F54242;background-color:#FFFFFF}.button-philco-gray-30{color:#FFFFFF;background-color:#BBBBBB;border-color:#BBBBBB}.button-philco-gray-30:hover{color:#BBBBBB;background-color:#FFFFFF}.button-philco-gray-20{color:#FFFFFF;background-color:#F6F6F6;border-color:#F6F6F6}.button-philco-gray-20:hover{color:#F6F6F6;background-color:#FFFFFF}.button-secondary{color:#000000}.button-secondary:hover{color:#000000;background-color:#FFFFFF;border-color:#000000}.button-brand-grey{color:#FFFFFF}.button-brand-grey:hover{background-color:#000000}.button-brand-mhf-turquoise:hover{background-color:#000000}.button-brand-afa-pink:hover{background-color:#000000}.button-white{color:#2C089B}.button-white:hover{color:#000000;background-color:#2AF135}.button-philco-gray-90{font-size:16px;color:#FFFFFF}.button-philco-gray-90:hover{color:#1d1d1B;background-color:#f18a00}.button-philco-orange{font-size:16px;color:#1d1d1B}.button-philco-orange:hover{color:#FFFFFF;background-color:#1d1d1B}.button-philco-white{font-size:16px;color:#1d1d1B}.button-philco-white:hover{color:#1d1d1B !important;background-color:#f18a00 !important}.container.philco a{border-color:transparent}.container.disabled.philco .button{cursor:not-allowed;background-color:#BBBBBB !important;color:#FFFFFF}.container.disabled.philco .button:hover{background-color:#BBBBBB;color:#FFFFFF}.button-black{color:#FFFFFF}.button-black:hover{background-color:#FFFFFF}.button-grey-extra-light{color:#000000}.button-grey-extra-light:hover{background-color:#000000}.button-grey-light{color:#000000}.button-grey-light:hover{background-color:#000000}.button-grey-medium{color:#FFFFFF}.button-grey-medium:hover{background-color:#FFFFFF}.button-grey-dark{color:#FFFFFF}.button-grey-dark:hover{background-color:#FFFFFF}.button-rounded{border-radius:27.5px}.button-rounded.size-small{border-radius:20px}.button-clear-primary{color:#2C089B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-primary:hover{color:#2C089B;text-decoration:none;background-color:transparent}.button-clear-secondary{color:#2AF135;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-secondary:hover{color:#2AF135;text-decoration:none;background-color:transparent}.button-clear-tertiary{color:#FF7272;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-tertiary:hover{color:#FF7272;text-decoration:none;background-color:transparent}.button-clear-brand-cc-red{color:#B30510;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-cc-red:hover{color:#B30510;text-decoration:none;background-color:transparent}.button-clear-brand-wgmf-purple{color:#6E0887;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-wgmf-purple:hover{color:#6E0887;text-decoration:none;background-color:transparent}.button-clear-brand-gmf-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-gmf-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-green{color:#50B400;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-green:hover{color:#50B400;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-green{color:#002413;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-green:hover{color:#002413;text-decoration:none;background-color:transparent}.button-clear-brand-er-dark-blue{color:#0c0068;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-dark-blue:hover{color:#0c0068;text-decoration:none;background-color:transparent}.button-clear-brand-er-teal{color:#00a76d;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-er-teal:hover{color:#00a76d;text-decoration:none;background-color:transparent}.button-clear-brand-emf-yellow{color:#FFE500;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-emf-yellow:hover{color:#FFE500;text-decoration:none;background-color:transparent}.button-clear-brand-c4c-orange{color:#F07D00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-c4c-orange:hover{color:#F07D00;text-decoration:none;background-color:transparent}.button-clear-brand-afa-pink{color:#BF387D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-afa-pink:hover{color:#BF387D;text-decoration:none;background-color:transparent}.button-clear-brand-scw-magenta{color:#EE2C65;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-scw-magenta:hover{color:#EE2C65;text-decoration:none;background-color:transparent}.button-clear-brand-mhf-turquoise{color:#62CFC9;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-mhf-turquoise:hover{color:#62CFC9;text-decoration:none;background-color:transparent}.button-clear-brand-grey{color:#CBC8C8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-brand-grey:hover{color:#CBC8C8;text-decoration:none;background-color:transparent}.button-clear-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-black{color:#000000;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-black:hover{color:#000000;text-decoration:none;background-color:transparent}.button-clear-grey-extra-light{color:#D7D7D7;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-extra-light:hover{color:#D7D7D7;text-decoration:none;background-color:transparent}.button-clear-grey-light{color:#E8E8E8;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-light:hover{color:#E8E8E8;text-decoration:none;background-color:transparent}.button-clear-grey-medium{color:#8A8A8A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-medium:hover{color:#8A8A8A;text-decoration:none;background-color:transparent}.button-clear-grey-dark{color:#4A4A4A;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-grey-dark:hover{color:#4A4A4A;text-decoration:none;background-color:transparent}.button-clear-philco-orange{color:#f18a00;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-orange:hover{color:#f18a00;text-decoration:none;background-color:transparent}.button-clear-philco-gray-90{color:#1d1d1B;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-90:hover{color:#1d1d1B;text-decoration:none;background-color:transparent}.button-clear-philco-gray-70{color:#7D7D7D;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-70:hover{color:#7D7D7D;text-decoration:none;background-color:transparent}.button-clear-philco-white{color:#FFFFFF;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-white:hover{color:#FFFFFF;text-decoration:none;background-color:transparent}.button-clear-philco-success-green{color:#1Ec691;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-success-green:hover{color:#1Ec691;text-decoration:none;background-color:transparent}.button-clear-philco-error-coral{color:#F54242;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-error-coral:hover{color:#F54242;text-decoration:none;background-color:transparent}.button-clear-philco-gray-30{color:#BBBBBB;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-30:hover{color:#BBBBBB;text-decoration:none;background-color:transparent}.button-clear-philco-gray-20{color:#F6F6F6;background-color:transparent;text-decoration:underline;border:0;padding-left:0;padding-right:0}.button-clear-philco-gray-20:hover{color:#F6F6F6;text-decoration:none;background-color:transparent}"}},[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]}]);function a(){"undefined"!=typeof customElements&&["biggive-button"].forEach((o=>{"biggive-button"===o&&(customElements.get(e(o))||customElements.define(e(o),c))}))}export{c as B,a as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as e,h as t,transformTag as r}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";const a=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceAbove=0,this.spaceBelow=0,this.defaultTextColour="primary",this.slugSize=4,this.slugColour="",this.mainTitleColour="",this.mainTitleSize=2,this.subtitleSize=4,this.subtitleColour="",this.teaserColour="",this.primaryButtonColourScheme="primary",this.secondaryButtonColourScheme="primary"}render(){return t("div",{key:"639e7a64316be4c9fa51d6aa9c2c91c2a9c80492",class:"container text-colour-"+this.defaultTextColour+" space-above-"+this.spaceAbove+" space-below-"+this.spaceBelow},t("div",{key:"5f05ecce4e3befa358af7a3851885d0ebe36ea90",class:"sleeve"},t("div",{key:"002369064c220f34e608524ea0895c7bd0d578d5",class:"content-wrap"},t("div",{key:"c9560d7c1861de7349f575f0187fe773006fc8f4",class:"slug heading-"+this.slugSize+" text-colour-"+this.slugColour},this.slug),t("h2",{key:"2b81cb1b4fe5aeb6a06d81a1b44fd0fcd259162c",class:"title heading-"+this.mainTitleSize+" text-colour-"+this.mainTitleColour},this.mainTitle),t("div",{key:"ffdad7a9a8700a6575d99d79e86a5a3b47635707",class:"slug heading-"+this.subtitleSize+" text-colour-"+this.subtitleColour},this.subtitle),t("div",{key:"494dadf99872012e9967372c0bdedc4bd8f2e32f",class:"teaser text-colour-"+this.teaserColour},this.teaser),null!=this.primaryButtonLabel&&null!=this.primaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.primaryButtonColourScheme,url:this.primaryButtonUrl,label:this.primaryButtonLabel})):null,null!=this.secondaryButtonLabel&&null!=this.secondaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.secondaryButtonColourScheme,url:this.secondaryButtonUrl,label:this.secondaryButtonLabel})):null)))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-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;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{margin:0;padding:0}.content-wrap h2{margin:0 0 5px 0;padding:0}.content-wrap .subtitle{margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}@media screen and (max-width: 576px){.content-wrap{text-align:right}h2{padding:40px 0}}'}},[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"]}]),c=a,i=function(){"undefined"!=typeof customElements&&["biggive-call-to-action","biggive-button"].forEach((o=>{switch(o){case"biggive-call-to-action":customElements.get(r(o))||customElements.define(r(o),a);break;case"biggive-button":customElements.get(r(o))||l()}}))};export{c as BiggiveCallToAction,i as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as e,h as t,transformTag as r}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";const a=o(class extends e{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceAbove=0,this.spaceBelow=0,this.defaultTextColour="primary",this.slugSize=4,this.slugColour="",this.mainTitleColour="",this.mainTitleSize=2,this.subtitleSize=4,this.subtitleColour="",this.teaserColour="",this.primaryButtonColourScheme="primary",this.secondaryButtonColourScheme="primary"}render(){return t("div",{key:"9034edf7735fbce98ac35ed33eab4714d4755b1c",class:"container text-colour-"+this.defaultTextColour+" space-above-"+this.spaceAbove+" space-below-"+this.spaceBelow},t("div",{key:"93e414a7b216f823afd770d5a519b37c5e918995",class:"sleeve"},t("div",{key:"2aa543b75459b7a22a717853f1603eb403b1bd1d",class:"content-wrap"},t("div",{key:"1ab8ff1cc761daca196902bdf192c247d321129a",class:"slug heading-"+this.slugSize+" text-colour-"+this.slugColour},this.slug),t("h2",{key:"efec9a8702e00357ed7d5f225bad27ec142e371e",class:"title heading-"+this.mainTitleSize+" text-colour-"+this.mainTitleColour},this.mainTitle),t("div",{key:"6e3b73404d0f7d04671259f1bda5fb038f8d3178",class:"slug heading-"+this.subtitleSize+" text-colour-"+this.subtitleColour},this.subtitle),t("div",{key:"f3bb78d1d9c09f92eef4799e155be46a28d489e9",class:"teaser text-colour-"+this.teaserColour},this.teaser),null!=this.primaryButtonLabel&&null!=this.primaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.primaryButtonColourScheme,url:this.primaryButtonUrl,label:this.primaryButtonLabel})):null,null!=this.secondaryButtonLabel&&null!=this.secondaryButtonUrl?t("div",{class:"button-wrap"},t("biggive-button",{"colour-scheme":this.secondaryButtonColourScheme,url:this.secondaryButtonUrl,label:this.secondaryButtonLabel})):null)))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}h1,.heading-1{font-size:47px;line-height:60px;font-weight:bold}h2,.heading-2{font-size:38px;line-height:45px;font-weight:bold}h3,.heading-3{font-size:25px;line-height:32px;font-weight:bold}h4,.heading-4{font-size:20px;line-height:24px;font-weight:bold}h5,.heading-5{font-size:17px;line-height:24px;font-weight:bold}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}.text-colour-hover-primary:hover,.text-colour-primary{color:#2C089B}.text-colour-hover-secondary:hover,.text-colour-secondary{color:#2AF135}.text-colour-hover-tertiary:hover,.text-colour-tertiary{color:#FF7272}.text-colour-hover-brand-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;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px}.container{max-width:1200px;padding-left:15px;padding-right:15px;margin-left:auto;margin-right:auto;position:relative;text-align:center}.content-wrap .slug{margin:0;padding:0}.content-wrap h2{margin:0 0 5px 0;padding:0}.content-wrap .subtitle{margin:0 0 5px 0;padding:0}.content-wrap .teaser{margin:15px auto 15px auto;max-width:400px;padding:0}@media screen and (max-width: 576px){.content-wrap{text-align:right}h2{padding:40px 0}}'}},[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"]}]),c=a,i=function(){"undefined"!=typeof customElements&&["biggive-call-to-action","biggive-button"].forEach((o=>{switch(o){case"biggive-call-to-action":customElements.get(r(o))||customElements.define(r(o),a);break;case"biggive-button":customElements.get(r(o))||l()}}))};export{c as BiggiveCallToAction,i as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,createEvent as a,h as i,transformTag as o}from"@stencil/core/internal/client";import{d as n}from"./biggive-button2.js";import{d as r}from"./biggive-misc-icon2.js";import{d as s}from"./biggive-progress-bar2.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doCardGeneralClick=a(this,"doCardGeneralClick",7),this.spaceBelow=4,this.donateButtonLabel="Donate now",this.donateButtonColourScheme="primary",this.moreInfoButtonLabel="Find out more",this.moreInfoButtonColourScheme="clear-primary",this.isFutureCampaign=!1,this.isPastCampaign=!1,this.handleCardGeneralClick=e=>{this.doCardGeneralClick.emit({event:e,url:this.moreInfoButtonUrl})}}isEmpty(e){return null==e||""===e}render(){return i("div",{key:"3a151d01bf9e0ddf2b0e67c0c6ce42100575c832",class:"container space-below-"+this.spaceBelow},i("div",{key:"0bdef90ba7b3ec6d43e1fe4f99dc9e0f0d775c90",class:"sleeve"},i("div",{key:"6349ff2bc9313b2c57a6931976392354839aa1b1",onClick:this.handleCardGeneralClick,class:"above-button-wrap"},null!==this.campaignType?i("div",{class:"campaign-type"},i("span",null,this.campaignType)):null,i("div",null!=this.banner?{class:"image-wrap banner",role:"presentation",style:{"background-image":"url("+this.banner+")"}}:{class:"image-wrap banner"}),i("div",{key:"96ff6888807d7992745ced261ced0594842c10e0",class:"title-wrap"},i("h3",{key:"5c97062ba2c58e71ed011c73191c9eeca5452be6"},this.campaignTitle),i("div",{key:"7bd514751f1971643a58bf5c5b6da5be194a6191",class:"organisation-name"},"By ",this.organisationName)),this.isEmpty(this.primaryFigureAmount)&&this.isEmpty(this.secondaryFigureAmount)?null:i("div",{class:"meta-wrap"},this.isEmpty(this.primaryFigureAmount)?null:i("div",{class:"meta-item"},i("span",{class:"label"},this.primaryFigureLabel),i("span",{class:"text"},this.primaryFigureAmount)),this.isEmpty(this.secondaryFigureAmount)?null:i("div",{class:"meta-item"},i("span",{class:"label"},this.secondaryFigureLabel),i("span",{class:"text"},this.secondaryFigureAmount))),this.isEmpty(this.progressBarCounter)?i("div",{class:"progress-bar-wrap",style:{visibility:"hidden"}},i("biggive-progress-bar",{counter:0,"colour-scheme":"primary"})):i("div",{class:"progress-bar-wrap"},i("biggive-progress-bar",{counter:this.progressBarCounter,"colour-scheme":"primary"}))),i("div",{key:"44c9109faa30ce362a5d61403806da04318b8aac",class:"button-wrap"},this.isFutureCampaign||this.isPastCampaign?i("div",{class:"msg-wrapper"},i("biggive-misc-icon",{"background-colour":"white","icon-colour":"black",icon:"Timer"}),i("p",null,this.isFutureCampaign?"Launches ":"Closed ",this.datetime)):i("biggive-button",{"full-width":"true","colour-scheme":this.donateButtonColourScheme,url:this.donateButtonUrl,label:this.donateButtonLabel}),i("biggive-button",{key:"da83247e93695151373233ba2ae732ec3a677522","full-width":"true","colour-scheme":this.moreInfoButtonColourScheme,url:this.moreInfoButtonUrl,label:this.moreInfoButtonLabel}))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;margin-right:10px;margin-left:10px;cursor:pointer;position:relative;height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .sleeve .above-button-wrap{flex-grow:1;display:flex;flex-direction:column}.container .sleeve .above-button-wrap .title-wrap{flex-grow:1}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .msg-wrapper{display:flex;justify-content:center}.container .msg-wrapper biggive-misc-icon{margin-top:auto;margin-bottom:auto}.container .msg-wrapper p{text-align:center}@media screen and (max-width: 1200px){.container .msg-wrapper p{font-size:15px}}'}},[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]}]),l=c,p=function(){"undefined"!=typeof customElements&&["biggive-campaign-card","biggive-button","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-card":customElements.get(o(e))||customElements.define(o(e),c);break;case"biggive-button":customElements.get(o(e))||n();break;case"biggive-misc-icon":customElements.get(o(e))||r();break;case"biggive-progress-bar":customElements.get(o(e))||s()}}))};export{l as BiggiveCampaignCard,p as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as t,createEvent as i,h as a,transformTag as o}from"@stencil/core/internal/client";import{d as n}from"./biggive-button2.js";import{d as r}from"./biggive-misc-icon2.js";import{d as s}from"./biggive-progress-bar2.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.doCardGeneralClick=i(this,"doCardGeneralClick",7),this.spaceBelow=4,this.donateButtonLabel="Donate now",this.donateButtonColourScheme="primary",this.moreInfoButtonLabel="Find out more",this.moreInfoButtonColourScheme="clear-primary",this.isFutureCampaign=!1,this.isPastCampaign=!1,this.handleCardGeneralClick=e=>{this.doCardGeneralClick.emit({event:e,url:this.moreInfoButtonUrl})}}isEmpty(e){return null==e||""===e}render(){return a("div",{key:"0ec8ef81df02702ffde418569321f40a43202524",class:"container space-below-"+this.spaceBelow},a("div",{key:"28ae6f9ccdd2b1cc1eb498e0497fb66544a624bf",class:"sleeve"},a("div",{key:"1f015b848b11cf46fa4e392f01e57b70fd6f5190",onClick:this.handleCardGeneralClick,class:"above-button-wrap"},null!==this.campaignType?a("div",{class:"campaign-type"},a("span",null,this.campaignType)):null,a("div",null!=this.banner?{class:"image-wrap banner",role:"presentation",style:{"background-image":"url("+this.banner+")"}}:{class:"image-wrap banner"}),a("div",{key:"8ebaf7a903b776598fdf121700a2dd9e9d2761cc",class:"title-wrap"},a("h3",{key:"3b5b01989dabe0a78520f2254f43dd394ce8c95e"},this.campaignTitle),a("div",{key:"d10a6503828e38d075b2f2e99fbd10549b981a3a",class:"organisation-name"},"By ",this.organisationName)),this.isEmpty(this.primaryFigureAmount)&&this.isEmpty(this.secondaryFigureAmount)?null:a("div",{class:"meta-wrap"},this.isEmpty(this.primaryFigureAmount)?null:a("div",{class:"meta-item"},a("span",{class:"label"},this.primaryFigureLabel),a("span",{class:"text"},this.primaryFigureAmount)),this.isEmpty(this.secondaryFigureAmount)?null:a("div",{class:"meta-item"},a("span",{class:"label"},this.secondaryFigureLabel),a("span",{class:"text"},this.secondaryFigureAmount))),this.isEmpty(this.progressBarCounter)?a("div",{class:"progress-bar-wrap",style:{visibility:"hidden"}},a("biggive-progress-bar",{counter:0,"colour-scheme":"primary"})):a("div",{class:"progress-bar-wrap"},a("biggive-progress-bar",{counter:this.progressBarCounter,"colour-scheme":"primary"}))),a("div",{key:"5d3904c85c4b9e4499adbe72497354ae8a6649d8",class:"button-wrap"},this.isFutureCampaign||this.isPastCampaign?a("div",{class:"msg-wrapper"},a("biggive-misc-icon",{"background-colour":"white","icon-colour":"black",icon:"Timer"}),a("p",null,this.isFutureCampaign?"Launches ":"Closed ",this.datetime)):a("biggive-button",{"full-width":"true","colour-scheme":this.donateButtonColourScheme,url:this.donateButtonUrl,label:this.donateButtonLabel}),a("biggive-button",{key:"9cfa4399e07bd806740b3bedcbf5f89dd64b50be","full-width":"true","colour-scheme":this.moreInfoButtonColourScheme,url:this.moreInfoButtonUrl,label:this.moreInfoButtonLabel}))))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{display:flex;flex-direction:column;font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;margin-right:10px;margin-left:10px;cursor:pointer;position:relative;height:100%;background-color:#FFFFFF;padding:15px;box-sizing:border-box}.container .sleeve{display:flex;flex-direction:column;height:100%}.container .sleeve .above-button-wrap{flex-grow:1;display:flex;flex-direction:column}.container .sleeve .above-button-wrap .title-wrap{flex-grow:1}.container .campaign-type{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-type span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat}.container .banner img{display:none}.container h3{font-size:20px;line-height:24px;font-weight:bold}.container .button{display:block}.container .organisation-name{margin-bottom:30px;color:#2C089B}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:11px;line-height:14px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .msg-wrapper{display:flex;justify-content:center}.container .msg-wrapper biggive-misc-icon{margin-top:auto;margin-bottom:auto}.container .msg-wrapper p{text-align:center}@media screen and (max-width: 1200px){.container .msg-wrapper p{font-size:15px}}'}},[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]}]),l=c,p=function(){"undefined"!=typeof customElements&&["biggive-campaign-card","biggive-button","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-card":customElements.get(o(e))||customElements.define(o(e),c);break;case"biggive-button":customElements.get(o(e))||n();break;case"biggive-misc-icon":customElements.get(o(e))||r();break;case"biggive-progress-bar":customElements.get(o(e))||s()}}))};export{l as BiggiveCampaignCard,p as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as a,h as t,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./biggive-misc-icon2.js";import{d as o}from"./biggive-progress-bar2.js";const r=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.progressBarCounter=void 0}render(){return t("div",{key:"3ba9ca3a89350b9c8f6e0f1c733586f6f2726935",class:"container space-below-"+this.spaceBelow},t("div",{key:"10efc7e67f8c55dbf653bec5d76bd07da29851e0",class:"sleeve"},null!=this.campaignTitle?t("div",{class:"campaign-title"},t("span",null,this.campaignTitle)):null,null!=this.banner?t("div",{class:"image-wrap banner",style:{"background-image":"url("+this.banner+")"}},t("img",{src:this.banner,class:"banner"})):null,t("div",{key:"f32cb00b9969fcdec84351f8fa05956c73c2d5ae",class:"meta-wrap"},t("div",{key:"87187589efb94e0eb0a5ef7dd7a6d9ec04b0c613",class:"meta-item"},t("span",{key:"8d598adfdbc9cb07cf73e2c650846c2a0dd7f889",class:"label"},this.primaryFigureLabel),t("span",{key:"28c20f593f290f1df8d0f727c7f441bb5ef208f5",class:"text"},this.primaryFigureAmount)),t("div",{key:"68d7ba6a3341bb617d1b06015384e61033e7da4c",class:"meta-item"},t("span",{key:"e55df446f524495b48e9744b21c63d946dbc8ba0",class:"label"},this.secondaryFigureLabel),t("span",{key:"171da161fce07dd5e792a65f51432229f54788f4",class:"text"},this.secondaryFigureAmount))),t("div",{key:"a383188ac522384084a191f6dd4d9a944b4d2a80",class:"progress-bar-wrap"},t("biggive-progress-bar",{key:"9aae519c347aa8b658141312520aba7d54e8d8dd",counter:this.progressBarCounter,"colour-scheme":"primary"})),t("div",{key:"07ebb5963c1d966a8089ead8fd7245e87203c1dc",class:"stat-wrap"},null!=this.primaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.primaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.primaryStatText)):null,null!=this.secondaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.secondaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.secondaryStatText)):null),null!=this.championName?t("div",{class:"championed-by"},"Championed by ",t("a",{href:this.championUrl},this.championName)):null))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;background-color:#FFFFFF;padding:25px;box-sizing:border-box;height:fit-content}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:13px;line-height:17px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}@media screen and (max-width: 768px){.container .meta-wrap .meta-item .text{font-size:23px}}@media screen and (max-width: 576px){.container .meta-wrap .meta-item .text{font-size:21px}}@media screen and (max-width: 450px){.container .meta-wrap .meta-item .text{font-size:17px}}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:17px;line-height:24px;font-weight:bold;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item .label{position:relative;bottom:7px}@media screen and (max-width: 576px){.container .stat-wrap .stat-item{font-size:13px;line-height:17px;margin:auto 0;text-align:center}.container .stat-wrap .stat-item .label{bottom:5px}}.container .stat-wrap .stat-item svg{fill:#FF7272}.container .championed-by{text-align:left;margin-left:20px;margin-top:20px;color:#000000;font-size:15px}@media screen and (max-width: 768px){.container .championed-by{font-size:14px}}@media screen and (max-width: 576px){.container .championed-by{text-align:center;margin-left:0;margin-bottom:10px;font-size:13px}}@media screen and (max-width: 450px){.container .championed-by{font-size:12px}}.container .championed-by a{text-decoration:none;font-weight:bold;color:#2C089B}@media screen and (max-width: 450px){.container .championed-by a{display:block}}@media screen and (max-width: 576px){.container{padding:15px}}'}},[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"]}]),c=r,s=function(){"undefined"!=typeof customElements&&["biggive-campaign-highlights","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-highlights":customElements.get(i(e))||customElements.define(i(e),r);break;case"biggive-misc-icon":customElements.get(i(e))||n();break;case"biggive-progress-bar":customElements.get(i(e))||o()}}))};export{c as BiggiveCampaignHighlights,s as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as a,h as t,transformTag as i}from"@stencil/core/internal/client";import{d as n}from"./biggive-misc-icon2.js";import{d as o}from"./biggive-progress-bar2.js";const c=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.progressBarCounter=void 0}render(){return t("div",{key:"f7b373cc1fa7ce35832e8702e05f4e34ed99c525",class:"container space-below-"+this.spaceBelow},t("div",{key:"0417ce876afcaff59b7d000f1f34b811dbde9a4f",class:"sleeve"},null!=this.campaignTitle?t("div",{class:"campaign-title"},t("span",null,this.campaignTitle)):null,null!=this.banner?t("div",{class:"image-wrap banner",style:{"background-image":"url("+this.banner+")"}},t("img",{src:this.banner,class:"banner"})):null,t("div",{key:"058c5f3dc7cda08f25cba8f3f425ce46002dd6c6",class:"meta-wrap"},t("div",{key:"2c5d29f1b0c0e35659f32d9e8079f5e56c2c1eac",class:"meta-item"},t("span",{key:"f480c28ee657c76930f43a14f8770119a94dd627",class:"label"},this.primaryFigureLabel),t("span",{key:"cf9dbddab05ccc8e4febb17cfb4d4af9cfe13036",class:"text"},this.primaryFigureAmount)),t("div",{key:"aadd58d365a6df08a82fa7c046709489f703b434",class:"meta-item"},t("span",{key:"c284a1c8b2b8abca0ef64abf37fc27c338715da1",class:"label"},this.secondaryFigureLabel),t("span",{key:"e8cc91da7a4018fadcbf64bda7ff28846e820de8",class:"text"},this.secondaryFigureAmount))),t("div",{key:"b222cc04d2b9f8eeb32b222c2028b5bfa2ce5f75",class:"progress-bar-wrap"},t("biggive-progress-bar",{key:"d1d413de6f0f2271e66b85c11f6dd4145d1c643c",counter:this.progressBarCounter,"colour-scheme":"primary"})),t("div",{key:"238049c444c0b65bc0e572cee9872f7e7d311e2a",class:"stat-wrap"},null!=this.primaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.primaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.primaryStatText)):null,null!=this.secondaryStatIcon?t("div",{class:"stat-item"},t("biggive-misc-icon",{icon:this.secondaryStatIcon,"background-colour":"white","icon-colour":"tertiary"}),t("span",{class:"label"},this.secondaryStatText)):null),null!=this.championName?t("div",{class:"championed-by"},"Championed by ",t("a",{href:this.championUrl},this.championName)):null))}static get style(){return'a{color:inherit;text-decoration:underline}a:hover{text-decoration:none}.image-wrap img{width:100%;height:auto}.space-above-0{margin-top:0}.space-above-1{margin-top:5px}.space-above-2{margin-top:10px}.space-above-3{margin-top:15px}.space-above-4{margin-top:30px}.space-above-5{margin-top:45px}.space-above-6{margin-top:60px}.space-below-0{margin-bottom:0}.space-below-1{margin-bottom:5px}.space-below-2{margin-bottom:10px}.space-below-3{margin-bottom:15px}.space-below-4{margin-bottom:30px}.space-below-5{margin-bottom:45px}.space-below-6{margin-bottom:60px}:host{display:contents}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;background-color:#FFFFFF;padding:25px;box-sizing:border-box;height:fit-content}.container .campaign-title{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:bold}.container .campaign-title span{background-color:#2AF135;color:#000000;padding:5px 15px;display:inline-block}.container .banner{top:0;margin-top:19px;padding-bottom:30.555%;background-color:#F1F1F1;background-size:contain;background-repeat:no-repeat;margin-bottom:30px}.container .banner img{display:none}.container .meta-wrap{display:flex;justify-content:space-between;margin-top:auto;margin-bottom:15px}.container .meta-wrap .meta-item{width:calc(50% - 15px)}.container .meta-wrap .meta-item .label{font-size:13px;line-height:17px;display:block}.container .meta-wrap .meta-item .text{font-size:25px;line-height:32px;font-weight:bold;display:block}@media screen and (max-width: 768px){.container .meta-wrap .meta-item .text{font-size:23px}}@media screen and (max-width: 576px){.container .meta-wrap .meta-item .text{font-size:21px}}@media screen and (max-width: 450px){.container .meta-wrap .meta-item .text{font-size:17px}}.container .meta-wrap .meta-item:last-child{text-align:right}.container .meta-wrap .meta-item:last-child .text{color:#2C089B}.container .progress-bar-wrap{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #E8E8E8}.container .stat-wrap{display:flex;justify-content:space-between}.container .stat-wrap .stat-item{font-size:17px;line-height:24px;font-weight:bold;width:calc(50% - 15px);margin:auto 0 auto 15px}.container .stat-wrap .stat-item .label{position:relative;bottom:7px}@media screen and (max-width: 576px){.container .stat-wrap .stat-item{font-size:13px;line-height:17px;margin:auto 0;text-align:center}.container .stat-wrap .stat-item .label{bottom:5px}}.container .stat-wrap .stat-item svg{fill:#FF7272}.container .championed-by{text-align:left;margin-left:20px;margin-top:20px;color:#000000;font-size:15px}@media screen and (max-width: 768px){.container .championed-by{font-size:14px}}@media screen and (max-width: 576px){.container .championed-by{text-align:center;margin-left:0;margin-bottom:10px;font-size:13px}}@media screen and (max-width: 450px){.container .championed-by{font-size:12px}}.container .championed-by a{text-decoration:none;font-weight:bold;color:#2C089B}@media screen and (max-width: 450px){.container .championed-by a{display:block}}@media screen and (max-width: 576px){.container{padding:15px}}'}},[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"]}]),r=c,s=function(){"undefined"!=typeof customElements&&["biggive-campaign-highlights","biggive-misc-icon","biggive-progress-bar"].forEach((e=>{switch(e){case"biggive-campaign-highlights":customElements.get(i(e))||customElements.define(i(e),c);break;case"biggive-misc-icon":customElements.get(i(e))||n();break;case"biggive-progress-bar":customElements.get(i(e))||o()}}))};export{r as BiggiveCampaignHighlights,s as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as c}from"@stencil/core/internal/client";const l=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.backgroundColour="primary",this.backgroundImageUrl="",this.cardColour="white",this.textColour="black",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0,this.headingLevel=3}render(){return e("div",{key:"0e3399e63c4532160c351be3dc3d3d3d86d73fef",class:"container space-below-"+this.spaceBelow+" background-colour-"+this.backgroundColour,style:{"background-image":"url('"+this.backgroundImageUrl+"')"}},e("div",{key:"80fb6126a63c81d4d49db0ad847700009d836c5d",class:"sleeve background-colour-"+this.cardColour+" text-colour-"+this.textColour},e("slot",{key:"1122bf6e7303c947ffb75ba853a4123cb0ab1118"})))}static get style(){return'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}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;background-size:cover;background-position:center center;padding:15px;height:100%;white-space:pre-wrap}.container .sleeve{padding:45px 15px;height:100%;box-sizing:border-box;transition:all 1s ease-in-out}.container.add-animation-true:hover .sleeve{margin:-30px;padding:60px;height:calc(100% + 60px)}.container .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}'}},[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"]}]),a=l,n=function(){"undefined"!=typeof customElements&&["biggive-container-card"].forEach((o=>{"biggive-container-card"===o&&(customElements.get(c(o))||customElements.define(c(o),l))}))};export{a as BiggiveContainerCard,n as defineCustomElement}
1
+ import{proxyCustomElement as o,HTMLElement as r,h as e,transformTag as c}from"@stencil/core/internal/client";const l=o(class extends r{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.spaceBelow=0,this.backgroundColour="primary",this.backgroundImageUrl="",this.cardColour="white",this.textColour="black",this.clipBottomLeftCorner=!0,this.clipTopRightCorner=!0,this.headingLevel=3}render(){return e("div",{key:"f5885e75cb1ca80906804d7763c76e9c34b1fa60",class:"container space-below-"+this.spaceBelow+" background-colour-"+this.backgroundColour,style:{"background-image":"url('"+this.backgroundImageUrl+"')"}},e("div",{key:"42070d8b1e1c61826969d9c21e75a3959ea81138",class:"sleeve background-colour-"+this.cardColour+" text-colour-"+this.textColour},e("slot",{key:"43029a255440a863fbf187bc0f42c34f8bec891d"})))}static get style(){return'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}.container{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;background-size:cover;background-position:center center;padding:15px;height:100%;white-space:pre-wrap}.container .sleeve{padding:45px 15px;height:100%;box-sizing:border-box;transition:all 1s ease-in-out}.container.add-animation-true:hover .sleeve{margin:-30px;padding:60px;height:calc(100% + 60px)}.container .sleeve{clip-path:polygon(0% 0%, 0% 0%, 100% 0%, 100% 0, 100% 100%, 100% 100%, 50px 100%, 0 calc(100% - 50px))}'}},[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"]}]),a=l,n=function(){"undefined"!=typeof customElements&&["biggive-container-card"].forEach((o=>{"biggive-container-card"===o&&(customElements.get(c(o))||customElements.define(c(o),l))}))};export{a as BiggiveContainerCard,n as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as o,createEvent as r,h as a,transformTag as c}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";import{d as t}from"./biggive-popup2.js";const n=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.preferenceModalClosed=r(this,"preferenceModalClosed",7),this.cookieBannerAcceptAllSelected=r(this,"cookieBannerAcceptAllSelected",7),this.cookieBannerSavePreferencesSelected=r(this,"cookieBannerSavePreferencesSelected",7),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 a=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.getElementById("cookie-preferences-popup");null==a||a.closeFromOutside();const c=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:c.checked,thirdParty:l.checked}),null==a||a.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 a("div",{key:"9645a4402bae7c317ba20f2b84067607315a39fe",class:"cooke-consent-container"},a("biggive-popup",{key:"82abd32f8970066c75902d0f36ac75068f04b2db",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},a("div",{key:"9e55368d1904dfdd993f32c6d72da14ffd675838",class:"content"},a("h4",{key:"3ee46ce9c44ec5856dd8c5096400513ce5237f6f",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),a("form",{key:"5a9cfc5c6f38127ce37e53e0195d1175beddcee6"},a("div",{key:"851ff0a6edb1c0aaff7bb085b43115f41221e621",class:"radio-group"},a("h5",{key:"c9123cf7a0059c434d18429572efddbed986d7af"},"Essential Cookies"),a("p",{key:"002a85d139b7b2a0434fc16aea67182cef3d388f"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),a("input",{key:"abde1bf1bad87c2a723ebde41046b74fe218fb16",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),a("label",{key:"8f61aafd124e3a71d76c13da0c1261bd249f9cf2",htmlFor:"necassary-on"},"Off"),a("input",{key:"97affef89d489dfda6e47cdb9b616ef000ea8111",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),a("label",{key:"c13b1d408610e9882fb9e4c728e92cb1aea3e483",htmlFor:"necassary-on"},"On")),a("div",{key:"32dd198a92a5c4708441ef8b5dcd1a7974be5bd3",class:"radio-group"},a("h5",{key:"7b9647835952f14090a408f0d1215154aa761e47"},"Analytics & Testing Cookies"),a("p",{key:"5ab3c7137ca361de409d2086f526ce32e99d6104"},"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."),a("p",{key:"f1c86b61f8247badea5d49ae0cafe5b41ba7776c"},"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."),a("input",{key:"b0191eeae52cd61d0cba7f5da9d9a5e62741c837",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),a("label",{key:"8f770a535bbd647a2305a0285e64a2b52f9f8970",htmlFor:"a-and-t-off"},"Off"),a("input",{key:"b5817bb96534bcf897c29c23c0235dfb378a494a",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),a("label",{key:"a944ba4961e73a7d40c1d1a77a52f4b81e4bf23c",htmlFor:"a-and-t-on"},"On")),a("div",{key:"d79a30b51a172322cdc188d4e947b66bf7182c50",class:"radio-group"},a("h5",{key:"a82e4c4072adb40e384e7f999b60a470c1c1abdb"},"Third-party Cookies "),a("p",{key:"a1a649082364cbb8ff3381a858fad60f29735951"},"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."),a("input",{key:"f0ae0e5ead72754abb21ea08c8c6a0792b5ab34e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),a("label",{key:"bfaa02358ff7cfa788eb9ac9a8e4c8929f988238",htmlFor:"third-party-off"},"Off"),a("input",{key:"b45646145e81ef37607f5b0aaa15c3008e697ea2",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),a("label",{key:"da5ee14c87c73d2a2b98ccd0a721ca083fc988be",htmlFor:"third-party-on"},"On")),a("biggive-button",{key:"9611f564e4c216e64e43e6aa503a772334e94ff0","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",onClick:this.handleAcceptSelectedCookies})),a("p",{key:"7798dcf4e1f00ce7a6d41a5449066309461616ec"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),a("h2",{key:"0564b745829a214e37f049f92d762f8bf271e324"},"Our website uses cookies"),a("p",{key:"b6f11ca6863a3081fffe0be07887513882e30b69"},"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."),a("p",{key:"b62ef1b28cc90ad14470b54f42b5e294a8964082"},a("a",{key:"c4f187218d28c402fcb02f3e4f111ce1f187b335",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),a("div",{key:"ba332740dc56a2912e6a54abab5f6555dcc3829e",class:"button-group"},a("biggive-button",{key:"bfe49638daa1fd5088a70105b0ad3a832c178404",onClick: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"}),a("biggive-button",{key:"343ec27380c819f43f7f25421c495c3fd945e0f7",onClick: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"}),a("biggive-button",{key:"cf6a3e3b2f41936ac074750f8119a415157ffac1",onClick: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 this}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}static get style(){return'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}'}},[1,"biggive-cookie-banner",{autoOpenPreferences:[4,"auto-open-preferences"],blogUriPrefix:[1,"blog-uri-prefix"],previouslyAgreedCookiePreferences:[16]},void 0,{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}]),i=n,d=function(){"undefined"!=typeof customElements&&["biggive-cookie-banner","biggive-button","biggive-popup"].forEach((e=>{switch(e){case"biggive-cookie-banner":customElements.get(c(e))||customElements.define(c(e),n);break;case"biggive-button":customElements.get(c(e))||l();break;case"biggive-popup":customElements.get(c(e))||t()}}))};export{i as BiggiveCookieBanner,d as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as o,createEvent as r,h as c,transformTag as a}from"@stencil/core/internal/client";import{d as l}from"./biggive-button2.js";import{d as t}from"./biggive-popup2.js";const n=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.preferenceModalClosed=r(this,"preferenceModalClosed",7),this.cookieBannerAcceptAllSelected=r(this,"cookieBannerAcceptAllSelected",7),this.cookieBannerSavePreferencesSelected=r(this,"cookieBannerSavePreferencesSelected",7),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 c("div",{key:"2ee762a4640a2e1ff255f9180678cf4dbfd2a598",class:"cooke-consent-container"},c("biggive-popup",{key:"9d39b792cfd48459a51e16a17c212f7aa96cdb35",id:"cookie-preferences-popup",modalClosedCallback:this.preferenceModalClosed.emit},c("div",{key:"6c486081f247c2f9c4dff5b8e3c177e43da36261",class:"content"},c("h4",{key:"547ae87c1d361e0161be3aa6315faac3fb44e6db",class:"space-above-0 space-below-3 text-colour-primary"},"Manage your cookie preferences"),c("form",{key:"ab5a6534d73331e4a5018777cdb8c7cc3b2b149f"},c("div",{key:"027ebb76da24705c89dd0e7af9efc9422df248d5",class:"radio-group"},c("h5",{key:"1c62fe21a32c3bdc848926e724ec40d6576115a3"},"Essential Cookies"),c("p",{key:"98f449597690871d767eac1c1b27a39c4ff18e25"},"These cookies are necessary to ensure our website functions correctly and include required cookies from third parties."),c("input",{key:"4b2052c2f6f27906c81abfbbe865838254dc6051",type:"radio",name:"necassary",id:"necassary-off",disabled:!0}),c("label",{key:"f6ab1b8625211d554247ef4c0cf5d9f799b2515c",htmlFor:"necassary-on"},"Off"),c("input",{key:"272f94637c70e08713e571e7f3b17a1b41146852",type:"radio",name:"necassary",id:"necassary-on",disabled:!0,checked:!0}),c("label",{key:"3e68f999e48edf31e32e1f130650df9a22e7e787",htmlFor:"necassary-on"},"On")),c("div",{key:"3b362a4ce9e7554459548e9cee7ee8ce872bb004",class:"radio-group"},c("h5",{key:"9b8eac4ea8b6af098173981e6025c05bc899e709"},"Analytics & Testing Cookies"),c("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."),c("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."),c("input",{key:"0e6d334945abcc1a141d961393d1524c6770de0c",type:"radio",name:"a-and-t",id:"a-and-t-off",checked:!e.analyticsAndTesting}),c("label",{key:"a723fd69b03b9b90ced9520761201a171f792ddb",htmlFor:"a-and-t-off"},"Off"),c("input",{key:"ff4f269d26fc5844cd524c37fc0824ef1398d021",type:"radio",name:"a-and-t",id:"a-and-t-on",checked:!!e.analyticsAndTesting}),c("label",{key:"6ffc75bb6a62603d7a17ad15527f5ca332e7b132",htmlFor:"a-and-t-on"},"On")),c("div",{key:"d329c1108db6cb261d26d90a920eb1849b08f761",class:"radio-group"},c("h5",{key:"130a8ab018ce11ed335a06288267de9e200d7745"},"Third-party Cookies "),c("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."),c("input",{key:"68df1be21a7bd82efd2150b18e6c1ee9d808157e",type:"radio",name:"third-party",id:"third-party-off",checked:!e.thirdParty}),c("label",{key:"d3c37fc2aba4109dbdc17fe55cba69974cf846b4",htmlFor:"third-party-off"},"Off"),c("input",{key:"8be79cae8752cb1ceedb9afbd4ce2dd972c994ed",type:"radio",name:"third-party",id:"third-party-on",checked:!!e.thirdParty}),c("label",{key:"ee33fce47b0e79d2feee1bf62e36ec0e8d65bf18",htmlFor:"third-party-on"},"On")),c("biggive-button",{key:"06e52ca0afb5bf900a3cc91c3f5902eb7890cd1d","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",onClick:this.handleAcceptSelectedCookies})),c("p",{key:"d99c4a4e8a86ca26fe87600ab9c3ece9ad373821"},"You can change the above settings for this browser at any time by clicking the privacy settings link in the footer of the page."))),c("h2",{key:"7a498a8dc55809054149d3011fc8a4b69576ef43"},"Our website uses cookies"),c("p",{key:"151ac7c14c937df38451e1dbae94a2d4c37a88ea"},"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."),c("p",{key:"0439ea1fff021b9ecc68306004cf9c44e41a38a7"},c("a",{key:"414b4d79da2fe0b23a5a44cd622f3c13fc36d3ea",href:this.blogUriPrefix+"/privacy#cookies",target:"_blank"},"Find out more in our Cookies Statement")),c("div",{key:"831531018c437181a45e82472e5aef80ca021dab",class:"button-group"},c("biggive-button",{key:"49ca756f041fc1d8d6c1fca330d71ad8a1beb573",onClick: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"}),c("biggive-button",{key:"1698931eed62e2891486daa680c478be16f356ee",onClick: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"}),c("biggive-button",{key:"b3c22143d00da7f56fe532607c21493045d414d8",onClick: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 this}static get watchers(){return{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}}static get style(){return'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}'}},[1,"biggive-cookie-banner",{autoOpenPreferences:[4,"auto-open-preferences"],blogUriPrefix:[1,"blog-uri-prefix"],previouslyAgreedCookiePreferences:[16]},void 0,{autoOpenPreferences:[{autoOpenPreferencesIfRequested:0}]}]),i=n,d=function(){"undefined"!=typeof customElements&&["biggive-cookie-banner","biggive-button","biggive-popup"].forEach((e=>{switch(e){case"biggive-cookie-banner":customElements.get(a(e))||customElements.define(a(e),n);break;case"biggive-button":customElements.get(a(e))||l();break;case"biggive-popup":customElements.get(a(e))||t()}}))};export{i as BiggiveCookieBanner,d as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as o,h as t,transformTag as i}from"@stencil/core/internal/client";const l=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectStyle="bordered",this.selectedOptionColour="blue",this.doOptionSelectCompletedHandler=e=>{const o=e.target.value;this.selectedValue=o,this.selectedLabel=e.target.label,this.selectionChanged(o)},this.spaceBelow=0}render(){const e="grey"===this.backgroundColour?" grey":"";let o=this.formatOptions(this.options);"string"==typeof this.placeholder&&"string"!=typeof this.selectedValue&&(o=[{value:"__placeholder__",label:this.placeholder},...o]),void 0===o&&(console.error("options undefined"),o=[]);const i=this.selectElementId||"select-"+this.getRandomInt().toString();return t("div",{key:"b0a1d15823be95bf001cf6bee579a95d63aa6e95",class:"selectWrapper"},t("label",{key:"c6f1bc9c1d4ea613d962b49493b3b2c6175955cf",class:e,htmlFor:i},t("div",{key:"7a5f7319f9e0ca4d894868367be7c42cfc706474",class:"prompt"+e},this.prompt)),t("div",{key:"0415588686695208ed35fb49adf1243e50ccc2ea",class:"dropdown space-below-"+this.spaceBelow+" select-style-"+this.selectStyle+(null===this.prompt?" noprompt":"")+("inherit"===this.selectedOptionColour?" inherit-colour":"")},t("div",{key:"a479c5085a1498d619f7a2eea7ce002650db584c",class:"sleeve"},t("select",{key:"24e7c1f825eeca9672680e800b9a3058294c122f",id:i,class:e,onChange:this.doOptionSelectCompletedHandler,"aria-label":null===this.prompt?this.placeholder:this.prompt},o.map((e=>t("option",{selected:this.selectedValue===e.value,value:e.value},e.label)))),t("div",{key:"fd9553dde63067ac87362a78ff88534bb1a6ee6d",class:"arrow"}))))}formatOptions(e){return void 0===e?[]:("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)?e:Object.entries(e).map((e=>({value:e[0],label:e[1]}))))}getRandomInt(){return Math.floor(8999999*Math.random()+1e6)}get el(){return this}static get style(){return'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:contents}*,*::before,*::after{box-sizing:border-box}select{appearance:none;border:none;padding:0 1em 0 0;margin:0;width:100%;font-family:inherit;font-size:inherit;cursor:inherit;line-height:inherit;outline:none;display:grid;background-color:#FFFFFF;align-items:center}select.grey{background-color:#F6F6F6}.selectWrapper{position:relative}.prompt{position:absolute;z-index:2;font-size:small;top:-1em;background-color:#FFFFFF;left:4em;padding-left:1em;padding-right:1em;color:#2C089B}.prompt.grey{background-color:#F6F6F6}.dropdown{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:left}.dropdown.select-style-bordered .sleeve{font-size:17px;line-height:24px;padding:2px;position:relative;background-color:#2C089B;clip-path:polygon(0% 0%, 0% 0%, calc(100% - 15px) 0%, 100% 15px, 100% 100%, 100% 100%, 0 100%, 0 100%)}.dropdown.select-style-bordered .sleeve select{color:#2C089B;display:block;position:relative;padding:10px 80px 10px 10px;clip-path:polygon(0% 0%, 0% 0%, calc(100% - 14px) 0%, 100% 14px, 100% 100%, 100% 100%, 0 100%, 0 100%)}.dropdown.select-style-bordered .sleeve select span.placeholder.grey{background-color:#F6F6F6}.dropdown.select-style-bordered .sleeve div.arrow{position:absolute;right:20px;top:18px;width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yMzcxNiA2LjYyNDkzQzQuOTAzMjMgNy4xMjUwMiA0LjA5NyA3LjEyNTAyIDMuNzYzMDggNi42MjQ5M0wwLjEyMzg2OCAxLjE3MDYzQy0wLjIxOTk0IDAuNjU1NDU5IDAuMTkyNjMgMS44MzcxZS0wNyAwLjg2MDkwOCAyLjQyMTMyZS0wN0w4LjEzOTMzIDguNzg0MzJlLTA3QzguODA3MTggOS4zNjgxN2UtMDcgOS4yMTk3NSAwLjY1NTQ1OSA4Ljg3NjM3IDEuMTcwNjNMNS4yMzcxNiA2LjYyNDkzWiIgZmlsbD0iIzJDMDg5QiIvPgo8L3N2Zz4K");background-size:contain;background-repeat:no-repeat;background-position:center center;z-index:1;pointer-events:none}.dropdown.select-style-bordered .sleeve:focus-within{background-color:#2AF135}.dropdown.select-style-underlined .sleeve{font-size:17px;line-height:24px;padding:1px;position:relative;border-bottom:1px solid #2C089B}.dropdown.select-style-underlined .sleeve select{color:#2C089B;display:block;position:relative;padding:10px 80px 10px 10px}.dropdown.select-style-underlined .sleeve div.arrow{position:absolute;right:20px;top:18px;width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yMzcxNiA2LjYyNDkzQzQuOTAzMjMgNy4xMjUwMiA0LjA5NyA3LjEyNTAyIDMuNzYzMDggNi42MjQ5M0wwLjEyMzg2OCAxLjE3MDYzQy0wLjIxOTk0IDAuNjU1NDU5IDAuMTkyNjMgMS44MzcxZS0wNyAwLjg2MDkwOCAyLjQyMTMyZS0wN0w4LjEzOTMzIDguNzg0MzJlLTA3QzguODA3MTggOS4zNjgxN2UtMDcgOS4yMTk3NSAwLjY1NTQ1OSA4Ljg3NjM3IDEuMTcwNjNMNS4yMzcxNiA2LjYyNDkzWiIgZmlsbD0iIzJDMDg5QiIvPgo8L3N2Zz4K");background-size:contain;background-repeat:no-repeat;background-position:center center;z-index:1;pointer-events:none}.dropdown.inherit-colour select{color:inherit !important}.dropdown select{max-height:200px;overflow-x:hidden;overflow-y:scroll;width:100%;z-index:1;left:0;right:0}.dropdown.active .options{display:block}.dropdown.noprompt{margin-top:0}.options.grey{background-color:#F6F6F6}'}},[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]}]);function r(){"undefined"!=typeof customElements&&["biggive-form-field-select"].forEach((e=>{"biggive-form-field-select"===e&&(customElements.get(i(e))||customElements.define(i(e),l))}))}export{l as B,r as d}
1
+ import{proxyCustomElement as e,HTMLElement as o,h as t,transformTag as i}from"@stencil/core/internal/client";const l=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectStyle="bordered",this.selectedOptionColour="blue",this.doOptionSelectCompletedHandler=e=>{const o=e.target.value;this.selectedValue=o,this.selectedLabel=e.target.label,this.selectionChanged(o)},this.spaceBelow=0}render(){const e="grey"===this.backgroundColour?" grey":"";let o=this.formatOptions(this.options);"string"==typeof this.placeholder&&"string"!=typeof this.selectedValue&&(o=[{value:"__placeholder__",label:this.placeholder},...o]),void 0===o&&(console.error("options undefined"),o=[]);const i=this.selectElementId||"select-"+this.getRandomInt().toString();return t("div",{key:"a62c4b4e0b8536d2e9239235af60e3d6ff4e813a",class:"selectWrapper"},t("label",{key:"15dde1c309b0aa5dee99849a00b3591180f3fe3e",class:e,htmlFor:i},t("div",{key:"7f11a1824d7d203f0e54740b1010652eed36a322",class:"prompt"+e},this.prompt)),t("div",{key:"af756e205276e7df9088cd2f6fb21f4b76cd5685",class:"dropdown space-below-"+this.spaceBelow+" select-style-"+this.selectStyle+(null===this.prompt?" noprompt":"")+("inherit"===this.selectedOptionColour?" inherit-colour":"")},t("div",{key:"be6b268cffd0db3a7ddf7b4b888425c380ca2cfa",class:"sleeve"},t("select",{key:"16118fe97259667c485fc099bdfc632ebe9f46b4",id:i,class:e,onChange:this.doOptionSelectCompletedHandler,"aria-label":null===this.prompt?this.placeholder:this.prompt},o.map((e=>t("option",{selected:this.selectedValue===e.value,value:e.value},e.label)))),t("div",{key:"0df87df7ebf208706906c961ec7c0b2899eb3382",class:"arrow"}))))}formatOptions(e){return void 0===e?[]:("string"==typeof e&&(e=JSON.parse(e)),Array.isArray(e)?e:Object.entries(e).map((e=>({value:e[0],label:e[1]}))))}getRandomInt(){return Math.floor(8999999*Math.random()+1e6)}get el(){return this}static get style(){return'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:contents}*,*::before,*::after{box-sizing:border-box}select{appearance:none;border:none;padding:0 1em 0 0;margin:0;width:100%;font-family:inherit;font-size:inherit;cursor:inherit;line-height:inherit;outline:none;display:grid;background-color:#FFFFFF;align-items:center}select.grey{background-color:#F6F6F6}.selectWrapper{position:relative}.prompt{position:absolute;z-index:2;font-size:small;top:-1em;background-color:#FFFFFF;left:4em;padding-left:1em;padding-right:1em;color:#2C089B}.prompt.grey{background-color:#F6F6F6}.dropdown{font-family:"Euclid Triangle", sans-serif;font-size:17px;line-height:24px;position:relative;text-align:left}.dropdown.select-style-bordered .sleeve{font-size:17px;line-height:24px;padding:2px;position:relative;background-color:#2C089B;clip-path:polygon(0% 0%, 0% 0%, calc(100% - 15px) 0%, 100% 15px, 100% 100%, 100% 100%, 0 100%, 0 100%)}.dropdown.select-style-bordered .sleeve select{color:#2C089B;display:block;position:relative;padding:10px 80px 10px 10px;clip-path:polygon(0% 0%, 0% 0%, calc(100% - 14px) 0%, 100% 14px, 100% 100%, 100% 100%, 0 100%, 0 100%)}.dropdown.select-style-bordered .sleeve select span.placeholder.grey{background-color:#F6F6F6}.dropdown.select-style-bordered .sleeve div.arrow{position:absolute;right:20px;top:18px;width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yMzcxNiA2LjYyNDkzQzQuOTAzMjMgNy4xMjUwMiA0LjA5NyA3LjEyNTAyIDMuNzYzMDggNi42MjQ5M0wwLjEyMzg2OCAxLjE3MDYzQy0wLjIxOTk0IDAuNjU1NDU5IDAuMTkyNjMgMS44MzcxZS0wNyAwLjg2MDkwOCAyLjQyMTMyZS0wN0w4LjEzOTMzIDguNzg0MzJlLTA3QzguODA3MTggOS4zNjgxN2UtMDcgOS4yMTk3NSAwLjY1NTQ1OSA4Ljg3NjM3IDEuMTcwNjNMNS4yMzcxNiA2LjYyNDkzWiIgZmlsbD0iIzJDMDg5QiIvPgo8L3N2Zz4K");background-size:contain;background-repeat:no-repeat;background-position:center center;z-index:1;pointer-events:none}.dropdown.select-style-bordered .sleeve:focus-within{background-color:#2AF135}.dropdown.select-style-underlined .sleeve{font-size:17px;line-height:24px;padding:1px;position:relative;border-bottom:1px solid #2C089B}.dropdown.select-style-underlined .sleeve select{color:#2C089B;display:block;position:relative;padding:10px 80px 10px 10px}.dropdown.select-style-underlined .sleeve div.arrow{position:absolute;right:20px;top:18px;width:10px;height:10px;background-image:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSI3IiB2aWV3Qm94PSIwIDAgOSA3IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNNS4yMzcxNiA2LjYyNDkzQzQuOTAzMjMgNy4xMjUwMiA0LjA5NyA3LjEyNTAyIDMuNzYzMDggNi42MjQ5M0wwLjEyMzg2OCAxLjE3MDYzQy0wLjIxOTk0IDAuNjU1NDU5IDAuMTkyNjMgMS44MzcxZS0wNyAwLjg2MDkwOCAyLjQyMTMyZS0wN0w4LjEzOTMzIDguNzg0MzJlLTA3QzguODA3MTggOS4zNjgxN2UtMDcgOS4yMTk3NSAwLjY1NTQ1OSA4Ljg3NjM3IDEuMTcwNjNMNS4yMzcxNiA2LjYyNDkzWiIgZmlsbD0iIzJDMDg5QiIvPgo8L3N2Zz4K");background-size:contain;background-repeat:no-repeat;background-position:center center;z-index:1;pointer-events:none}.dropdown.inherit-colour select{color:inherit !important}.dropdown select{max-height:200px;overflow-x:hidden;overflow-y:scroll;width:100%;z-index:1;left:0;right:0}.dropdown.active .options{display:block}.dropdown.noprompt{margin-top:0}.options.grey{background-color:#F6F6F6}'}},[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]}]);function r(){"undefined"!=typeof customElements&&["biggive-form-field-select"].forEach((e=>{"biggive-form-field-select"===e&&(customElements.get(i(e))||customElements.define(i(e),l))}))}export{l as B,r as d}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as t,h as s,Host as c,transformTag as o}from"@stencil/core/internal/client";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(c,{key:"8fb1d9fad510e6a8306a45bae6af95dbf3c81bbb"},s("slot",{key:"c2f67b8cdc983d24d81069c60bb78eb2395093cb"}))}static get style(){return":host{display:block}"}},[257,"biggive-form"]),r=n,i=function(){"undefined"!=typeof customElements&&["biggive-form"].forEach((e=>{"biggive-form"===e&&(customElements.get(o(e))||customElements.define(o(e),n))}))};export{r as BiggiveForm,i as defineCustomElement}
1
+ import{proxyCustomElement as e,HTMLElement as t,h as s,Host as o,transformTag as c}from"@stencil/core/internal/client";const f=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(o,{key:"f53ec3f41574f2e6f83dcfdff9a8e6435be502d3"},s("slot",{key:"5e8fd949fe122a3bd20ace57a28fa7e9b2113c7b"}))}static get style(){return":host{display:block}"}},[257,"biggive-form"]),n=f,r=function(){"undefined"!=typeof customElements&&["biggive-form"].forEach((e=>{"biggive-form"===e&&(customElements.get(c(e))||customElements.define(c(e),f))}))};export{n as BiggiveForm,r as defineCustomElement}