@beamimpact/web-sdk 1.51.1 → 1.52.2

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 (192) hide show
  1. package/dist/chunks/{_share-dialog-dependencies-CHbTSPha.esm.js → _share-dialog-dependencies-CFBQaddH.esm.js} +2 -2
  2. package/dist/chunks/{_share-dialog-dependencies-CHbTSPha.esm.js.map → _share-dialog-dependencies-CFBQaddH.esm.js.map} +1 -1
  3. package/dist/chunks/{_share-dialog-dependencies-B3N69ml2.esm.js → _share-dialog-dependencies-x5pyLsew.esm.js} +2 -2
  4. package/dist/chunks/{_share-dialog-dependencies-B3N69ml2.esm.js.map → _share-dialog-dependencies-x5pyLsew.esm.js.map} +1 -1
  5. package/dist/chunks/{css-card-grid-B6IEaTiP.esm.js → css-card-grid-CvoGpsJH.esm.js} +2 -2
  6. package/dist/chunks/{css-card-grid-B6IEaTiP.esm.js.map → css-card-grid-CvoGpsJH.esm.js.map} +1 -1
  7. package/dist/chunks/{enforce-config-CQb5MiAV.esm.js → enforce-config-Ba1JkOHs.esm.js} +2 -2
  8. package/dist/chunks/{enforce-config-CQb5MiAV.esm.js.map → enforce-config-Ba1JkOHs.esm.js.map} +1 -1
  9. package/dist/chunks/{enforce-config-Cw52SuAc.esm.js → enforce-config-CZ3ToOgr.esm.js} +2 -2
  10. package/dist/chunks/{enforce-config-Cw52SuAc.esm.js.map → enforce-config-CZ3ToOgr.esm.js.map} +1 -1
  11. package/dist/chunks/{index-CFYWEffm.esm.js → index-BNVaWVJi.esm.js} +2 -2
  12. package/dist/chunks/{index-CFYWEffm.esm.js.map → index-BNVaWVJi.esm.js.map} +1 -1
  13. package/dist/chunks/{index-BQ4Nr7Ux.esm.js → index-BNjsFEGn.esm.js} +2 -2
  14. package/dist/chunks/{index-BQ4Nr7Ux.esm.js.map → index-BNjsFEGn.esm.js.map} +1 -1
  15. package/dist/chunks/{index-kDoWfjd5.esm.js → index-CXJEBQUg.esm.js} +2 -2
  16. package/dist/chunks/{index-kDoWfjd5.esm.js.map → index-CXJEBQUg.esm.js.map} +1 -1
  17. package/dist/chunks/index-DGQ-LQxP.esm.js +2 -0
  18. package/dist/chunks/index-DGQ-LQxP.esm.js.map +1 -0
  19. package/dist/chunks/index-DI43alE-.esm.js +2 -0
  20. package/dist/chunks/index-DI43alE-.esm.js.map +1 -0
  21. package/dist/chunks/index-DoF3KFUY.esm.js +2 -0
  22. package/dist/chunks/index-DoF3KFUY.esm.js.map +1 -0
  23. package/dist/chunks/{index-C_ZNnJIS.esm.js → index-IKiJwo5v.esm.js} +2 -2
  24. package/dist/chunks/{index-C_ZNnJIS.esm.js.map → index-IKiJwo5v.esm.js.map} +1 -1
  25. package/dist/chunks/index-NrjNZmBX.esm.js +2 -0
  26. package/dist/chunks/index-NrjNZmBX.esm.js.map +1 -0
  27. package/dist/chunks/{index-v0tUXySN.esm.d.ts → index-TAxKoTC1.esm.d.ts} +3 -2
  28. package/dist/chunks/index-VCyr24SS.esm.js +2 -0
  29. package/dist/chunks/index-VCyr24SS.esm.js.map +1 -0
  30. package/dist/chunks/{index-MS8_Vije.esm.d.ts → index-ki8pLX6n.esm.d.ts} +1 -1
  31. package/dist/chunks/index-utCqipvB.esm.js +2 -0
  32. package/dist/chunks/index-utCqipvB.esm.js.map +1 -0
  33. package/dist/chunks/{lit-5uUWs2aX.esm.js → lit-WqMxC_PA.esm.js} +3 -3
  34. package/dist/chunks/{lit-5uUWs2aX.esm.js.map → lit-WqMxC_PA.esm.js.map} +1 -1
  35. package/dist/chunks/loading-template-DG4lkIIc.esm.js +2 -0
  36. package/dist/chunks/{loading-template-DXNS89Th.esm.js.map → loading-template-DG4lkIIc.esm.js.map} +1 -1
  37. package/dist/chunks/{localize-cDQFOecn.esm.js → localize-Btu9xYcE.esm.js} +2 -2
  38. package/dist/chunks/{localize-cDQFOecn.esm.js.map → localize-Btu9xYcE.esm.js.map} +1 -1
  39. package/dist/chunks/{localize-CQCRjY9s.esm.js → localize-C25pEGnx.esm.js} +2 -2
  40. package/dist/chunks/{localize-CQCRjY9s.esm.js.map → localize-C25pEGnx.esm.js.map} +1 -1
  41. package/dist/chunks/{order-page-CMGPM57D.esm.js → order-page-BH3Qr433.esm.js} +2 -2
  42. package/dist/chunks/{order-page-CMGPM57D.esm.js.map → order-page-BH3Qr433.esm.js.map} +1 -1
  43. package/dist/chunks/{order-page-FzVtMkga.esm.js → order-page-CTpjnsoe.esm.js} +2 -2
  44. package/dist/chunks/{order-page-FzVtMkga.esm.js.map → order-page-CTpjnsoe.esm.js.map} +1 -1
  45. package/dist/chunks/{order-page-tSPKLQ24.esm.d.ts → order-page-Cerye00Q.esm.d.ts} +12 -1
  46. package/dist/chunks/{progress-bar-oJB_t7od.esm.js → progress-bar-DF7UuuHb.esm.js} +2 -2
  47. package/dist/chunks/{progress-bar-oJB_t7od.esm.js.map → progress-bar-DF7UuuHb.esm.js.map} +1 -1
  48. package/dist/chunks/{promo-pill-label-D9ptiGak.esm.js → promo-pill-label-CbW_Vcru.esm.js} +2 -2
  49. package/dist/chunks/{promo-pill-label-D9ptiGak.esm.js.map → promo-pill-label-CbW_Vcru.esm.js.map} +1 -1
  50. package/dist/chunks/{responsive-9jAzOYoE.esm.js → responsive-BR8qUfBa.esm.js} +2 -2
  51. package/dist/chunks/{responsive-9jAzOYoE.esm.js.map → responsive-BR8qUfBa.esm.js.map} +1 -1
  52. package/dist/chunks/{routes-CaSRr919.esm.js → routes-Be8scSEK.esm.js} +2 -2
  53. package/dist/chunks/{routes-CaSRr919.esm.js.map → routes-Be8scSEK.esm.js.map} +1 -1
  54. package/dist/chunks/{routes-KHEaM_40.esm.js → routes-Bgj1HGgx.esm.js} +2 -2
  55. package/dist/chunks/{routes-KHEaM_40.esm.js.map → routes-Bgj1HGgx.esm.js.map} +1 -1
  56. package/dist/chunks/{share-button-DBVhw4qa.esm.d.ts → share-button-B9hpxBVr.esm.d.ts} +5 -0
  57. package/dist/chunks/share-button-BX-kWAd0.esm.js +167 -0
  58. package/dist/chunks/share-button-BX-kWAd0.esm.js.map +1 -0
  59. package/dist/chunks/share-button-BuneDluf.esm.js +2 -0
  60. package/dist/chunks/share-button-BuneDluf.esm.js.map +1 -0
  61. package/dist/chunks/share-button-CcD-wBHE.esm.js +167 -0
  62. package/dist/chunks/share-button-CcD-wBHE.esm.js.map +1 -0
  63. package/dist/chunks/share-button-DK30KQ6n.esm.js +2 -0
  64. package/dist/chunks/share-button-DK30KQ6n.esm.js.map +1 -0
  65. package/dist/chunks/{update-cart-3JFUCJLD.esm.js → update-cart-C8ufWemL.esm.js} +2 -2
  66. package/dist/chunks/{update-cart-3JFUCJLD.esm.js.map → update-cart-C8ufWemL.esm.js.map} +1 -1
  67. package/dist/chunks/{update-cart-DNfl9QP2.esm.js → update-cart-Cih70sgI.esm.js} +2 -2
  68. package/dist/chunks/{update-cart-DNfl9QP2.esm.js.map → update-cart-Cih70sgI.esm.js.map} +1 -1
  69. package/dist/chunks/{vendor-DRA8u-S7.esm.js → vendor-KKSARHWL.esm.js} +2 -2
  70. package/dist/chunks/{vendor-DRA8u-S7.esm.js.map → vendor-KKSARHWL.esm.js.map} +1 -1
  71. package/dist/components/beam-partner-logos.esm.js +1 -1
  72. package/dist/components/beam-partner-logos.js +1 -1
  73. package/dist/components/community-impact.esm.js +3 -3
  74. package/dist/components/community-impact.esm.js.map +1 -1
  75. package/dist/components/community-impact.js +3 -3
  76. package/dist/components/community-impact.js.map +1 -1
  77. package/dist/components/cumulative-impact.esm.js +1 -1
  78. package/dist/components/cumulative-impact.js +1 -1
  79. package/dist/components/impact-overview.d.ts +1 -1
  80. package/dist/components/impact-overview.esm.js +18 -13
  81. package/dist/components/impact-overview.esm.js.map +1 -1
  82. package/dist/components/impact-overview.js +18 -13
  83. package/dist/components/impact-overview.js.map +1 -1
  84. package/dist/components/index.d.ts +1 -1
  85. package/dist/components/index.esm.js +1 -1
  86. package/dist/components/index.js +1 -1
  87. package/dist/components/post-purchase.d.ts +2 -2
  88. package/dist/components/post-purchase.esm.js +1 -1
  89. package/dist/components/post-purchase.js +1 -1
  90. package/dist/components/product-details-page.d.ts +1 -1
  91. package/dist/components/product-details-page.esm.js +11 -1
  92. package/dist/components/product-details-page.esm.js.map +1 -1
  93. package/dist/components/product-details-page.js +11 -1
  94. package/dist/components/product-details-page.js.map +1 -1
  95. package/dist/components/redeem-transaction.d.ts +1 -1
  96. package/dist/components/redeem-transaction.esm.js +1 -1
  97. package/dist/components/redeem-transaction.js +1 -1
  98. package/dist/components/select-nonprofit.d.ts +1 -1
  99. package/dist/components/select-nonprofit.esm.js +88 -88
  100. package/dist/components/select-nonprofit.esm.js.map +1 -1
  101. package/dist/components/select-nonprofit.js +88 -88
  102. package/dist/components/select-nonprofit.js.map +1 -1
  103. package/dist/components/select-subscription-nonprofit.d.ts +1 -1
  104. package/dist/components/select-subscription-nonprofit.esm.js +1 -1
  105. package/dist/components/select-subscription-nonprofit.js +1 -1
  106. package/dist/components/shopify.d.ts +2 -2
  107. package/dist/components/shopify.esm.js +1 -1
  108. package/dist/components/shopify.esm.js.map +1 -1
  109. package/dist/components/shopify.js +1 -1
  110. package/dist/components/shopify.js.map +1 -1
  111. package/dist/components/social-share.esm.js +3 -3
  112. package/dist/components/social-share.esm.js.map +1 -1
  113. package/dist/components/social-share.js +3 -3
  114. package/dist/components/social-share.js.map +1 -1
  115. package/dist/components/subscription-impact.d.ts +2 -2
  116. package/dist/components/subscription-impact.esm.js +26 -24
  117. package/dist/components/subscription-impact.esm.js.map +1 -1
  118. package/dist/components/subscription-impact.js +26 -24
  119. package/dist/components/subscription-impact.js.map +1 -1
  120. package/dist/components/subscription-management.d.ts +2 -2
  121. package/dist/components/subscription-management.esm.js +1 -1
  122. package/dist/components/subscription-management.js +1 -1
  123. package/dist/index.d.ts +4 -4
  124. package/dist/index.esm.js +1 -1
  125. package/dist/index.js +1 -1
  126. package/dist/integrations/beam.esm.js +1 -1
  127. package/dist/integrations/beam.js +1 -1
  128. package/dist/integrations/cart.esm.js +1 -1
  129. package/dist/integrations/cart.js +1 -1
  130. package/dist/integrations/index.d.ts +3 -3
  131. package/dist/integrations/index.esm.js +1 -1
  132. package/dist/integrations/index.js +1 -1
  133. package/dist/integrations/logs.esm.js +1 -1
  134. package/dist/integrations/logs.js +1 -1
  135. package/dist/integrations/session.esm.js +1 -1
  136. package/dist/integrations/session.js +1 -1
  137. package/dist/integrations/shopify.d.ts +2 -2
  138. package/dist/integrations/shopify.esm.js +1 -1
  139. package/dist/integrations/shopify.js +1 -1
  140. package/dist/integrations/statsig.esm.js +1 -1
  141. package/dist/integrations/statsig.js +1 -1
  142. package/dist/react/beam-partner-logos.esm.js +1 -1
  143. package/dist/react/beam-partner-logos.js +1 -1
  144. package/dist/react/community-impact.esm.js +1 -1
  145. package/dist/react/community-impact.js +1 -1
  146. package/dist/react/cumulative-impact.esm.js +1 -1
  147. package/dist/react/cumulative-impact.js +1 -1
  148. package/dist/react/impact-overview.d.ts +1 -1
  149. package/dist/react/impact-overview.esm.js +1 -1
  150. package/dist/react/impact-overview.js +1 -1
  151. package/dist/react/index.d.ts +1 -1
  152. package/dist/react/index.esm.js +1 -1
  153. package/dist/react/index.js +1 -1
  154. package/dist/react/post-purchase.d.ts +1 -1
  155. package/dist/react/post-purchase.esm.js +1 -1
  156. package/dist/react/post-purchase.js +1 -1
  157. package/dist/react/product-details-page.esm.js +1 -1
  158. package/dist/react/product-details-page.js +1 -1
  159. package/dist/react/redeem-transaction.esm.js +1 -1
  160. package/dist/react/redeem-transaction.js +1 -1
  161. package/dist/react/select-nonprofit.esm.js +1 -1
  162. package/dist/react/select-nonprofit.js +1 -1
  163. package/dist/react/select-subscription-nonprofit.esm.js +1 -1
  164. package/dist/react/select-subscription-nonprofit.js +1 -1
  165. package/dist/react/social-share.esm.js +1 -1
  166. package/dist/react/social-share.js +1 -1
  167. package/dist/react/subscription-impact.d.ts +1 -1
  168. package/dist/react/subscription-impact.esm.js +1 -1
  169. package/dist/react/subscription-impact.js +1 -1
  170. package/dist/react/subscription-management.d.ts +1 -1
  171. package/dist/react/subscription-management.esm.js +1 -1
  172. package/dist/react/subscription-management.js +1 -1
  173. package/package.json +1 -1
  174. package/dist/chunks/index-B_8DexDX.esm.js +0 -2
  175. package/dist/chunks/index-B_8DexDX.esm.js.map +0 -1
  176. package/dist/chunks/index-CpPbNdWA.esm.js +0 -2
  177. package/dist/chunks/index-CpPbNdWA.esm.js.map +0 -1
  178. package/dist/chunks/index-CyiXyHi8.esm.js +0 -2
  179. package/dist/chunks/index-CyiXyHi8.esm.js.map +0 -1
  180. package/dist/chunks/index-JSoHc6g1.esm.js +0 -2
  181. package/dist/chunks/index-JSoHc6g1.esm.js.map +0 -1
  182. package/dist/chunks/index-XZRQN4Rs.esm.js +0 -2
  183. package/dist/chunks/index-XZRQN4Rs.esm.js.map +0 -1
  184. package/dist/chunks/index-n7pxZENA.esm.js +0 -2
  185. package/dist/chunks/index-n7pxZENA.esm.js.map +0 -1
  186. package/dist/chunks/loading-template-DXNS89Th.esm.js +0 -2
  187. package/dist/chunks/share-button-BbG-gnwj.esm.js +0 -163
  188. package/dist/chunks/share-button-BbG-gnwj.esm.js.map +0 -1
  189. package/dist/chunks/share-button-CvTUluNq.esm.js +0 -163
  190. package/dist/chunks/share-button-CvTUluNq.esm.js.map +0 -1
  191. package/dist/chunks/share-button-R7jgVCPv.esm.js +0 -2
  192. package/dist/chunks/share-button-R7jgVCPv.esm.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import{f as z,g as r,t as g,h as H,y as o,k as E}from"../chunks/lit-5uUWs2aX.esm.js";import{D as R,S as _,e as j,W as B,f as K,g as F}from"../chunks/routes-KHEaM_40.esm.js";import{p as O}from"../chunks/progress-bar-oJB_t7od.esm.js";import{c as V,d as Y,e as S}from"../chunks/enforce-config-CQb5MiAV.esm.js";import{u as l,A as y,d as c,a as G,i as p,_ as v}from"../chunks/localize-CQCRjY9s.esm.js";import{c as N}from"../chunks/events-BohmT6Lp.esm.js";import{M as q}from"../chunks/beam-errors-Ci0d3926.esm.js";import"./select-subscription-nonprofit.js";import"./subscription-impact.js";import{partnerLogosConfigDefaults as J}from"./beam-partner-logos.js";import{makeApiKeyHeader as x}from"../utils/makeApiKeyHeader.js";import{_ as $}from"../chunks/loading-template-DXNS89Th.esm.js";import{c as Q}from"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../utils/logger.js";import"../chunks/lodash-7H4x2457.esm.js";import"../utils/local-storage.js";import"../chunks/share-button-BbG-gnwj.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";const m={en:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},fr:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},de:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},es:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},it:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},pl:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"}};var X=Object.defineProperty,i=(M,t,n,s)=>{for(var a=void 0,b=M.length-1,d;b>=0;b--)(d=M[b])&&(a=d(t,n,a)||a);return a&&X(t,n,a),a};const D=3,Z=0,tt=1,et=98;class e extends H{constructor(){super(...arguments),this.baseUrl=R,this.lang="en",this.debug=!1,this.draftConfig=!1,this.activeWidget=null,this.nonprofitId=null,this.beamUserId=null,this.eligibleNonprofits=[],this.showAllTiles=!1,this.isMobile=window.innerWidth<720,this.dropdownVisible=!1,this.emojis=["\u{1F44F}","\u{1F4AA}","\u{1F64C}","\u2728","\u{1F947}"],this.subscriptionDataController=new y(this,this.fetchSubscription),this.eligibleNonprofitsDataController=new y(this,this.fetchEligibleNonprofits),this.personalImpactDataController=new y(this,this.fetchImpact)}get configLang(){return _[this.lang]||"en"}async firstUpdated(){if(!this.email&&!this.partnerUserId)throw new q(["email","partnerUserId"],"One of the following properties needs to be specified: email, partnerUserId ");S(["apiKey","subscriptionId"],this),await this.loadWidget()}async loadWidget(){await Promise.all([this.fetchEligibleNonprofits(),this.fetchSubscription()]),await this.fetchImpact(),this.activeWidget=this.nonprofitId?"subscription-impact":"select-subscription-nonprofit"}async fetchEligibleNonprofits(){S(["apiKey","subscriptionId"],this);const t=await j({baseUrl:this.baseUrl,headers:x(this.apiKey),requestBody:{storeId:this.storeId||void 0,postalCode:this.postalCode||void 0,countryCode:this.countryCode||void 0,widgetName:B.subscription_management,version:"1.0.0"}});return this.storeId=t.store.id,this.eligibleNonprofits=t.nonprofits,this.eligibleNonprofitsDataController.data=t,t}async fetchSubscription(){S(["apiKey","subscriptionId"],this);const t=await K({baseUrl:this.baseUrl,headers:x(this.apiKey),requestBody:{remoteSubscriptionId:this.subscriptionId,email:this.email,partnerUserId:this.partnerUserId}});return this.beamUserId=t.beamUserId,this.nonprofitId=t.nonprofit?.id||null,t}async fetchImpact(){S(["apiKey"],this);const t=await F({baseUrl:this.baseUrl,headers:x(this.apiKey),queryParams:{beamUserId:this.beamUserId?this.beamUserId:void 0,widgetName:"subscription-management",version:"1.0.0",lang:this.configLang}});return this.personalImpactDataController.data=t,t}handleSwapNonprofitButtonClick(){this.activeWidget="select-subscription-nonprofit"}handleBackToSubscriptionImpactButtonClick(){this.activeWidget="subscription-impact"}handleSupportAgainButtonClick(t,n){this.activeWidget="select-subscription-nonprofit",this.selectedNonprofitId=t;const s=new N({selectedNonprofitId:t,nonprofitName:n,source:B.subscription_management});this.dispatchEvent(s)}handleNonprofitSelect(t){if(!(t instanceof N))return;const{selectedNonprofitId:n}=t.detail;this.nonprofitId=n??null,this.activeWidget="subscription-impact"}isNonprofitEligible(t){return this.eligibleNonprofits.some(n=>n.nonprofit.id===t)}shouldDisplayProgressBar(t){return t>tt&&t<et}get cssVariables(){const t={...J,...O,"--beam-fontFamily":"inherit","--beam-fontStyle":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-borderColor":"#d5d5d5","--beam-SubscriptionManagement-widgetContainer-borderRadius":"4px","--beam-SubscriptionManagement-widgetContainer-padding":"8px 20px","--beam-SubscriptionManagement-widgetContainer-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-maxWidth":"820px","--beam-SubscriptionManagement-logo-align-desktop":"left","--beam-SubscriptionManagement-logo-align-mobile":"center","--beam-SubscriptionManagement-previousImpact-cardStyle":"'selected_icon'","--beam-SubscriptionManagement-header-padding":"10px 20px 10px 0px","--beam-SubscriptionManagement-header-borderRadius":"0px","--beam-SubscriptionManagement-header-backgroundColor":"#fff","--beam-SubscriptionManagement-header-meatballsMenu-fontSize":"24px","--beam-SubscriptionManagement-header-meatballsMenu-color":"24px","--beam-SubscriptionManagement-lineBreak-color":"#ddd","--beam-SubscriptionManagement-lineBreak-width":"1px","--beam-SubscriptionManagement-lineBreak-margin":"10px 0 20px 0","--beam-SubscriptionManagement-tile-marginBottom":"20px","--beam-SubscriptionManagement-tile-border-width":"0px","--beam-SubscriptionManagement-tile-border-color":"#ddd","--beam-SubscriptionManagement-tile-padding":"12.5px","--beam-SubscriptionManagement-tile-borderRadius":"8px","--beam-SubscriptionManagement-tile-background":"#f8fbfb","--beam-SubscriptionManagement-tileContent-gap":" 15px","--beam-SubscriptionManagement-tileContent-padding":"5px 0px","--beam-SubscriptionManagement-tile-icon-borderRadius":"4px","--beam-SubscriptionManagement-tile-icon-height":"28px","--beam-SubscriptionManagement-tile-icon-background-borderRadius":"50%","--beam-SubscriptionManagement-tile-icon-background-width":"50px","--beam-SubscriptionManagement-tile-icon-background-height":"50px","--beam-SubscriptionManagement-tile-icon-background-backgroundColor":"#0a323c","--beam-SubscriptionManagement-tile-icon-background-padding":"10px","--beam-SubscriptionManagement-blockTileDescription-gap":"5px","--beam-SubscriptionManagement-blockTileDescription-padding":"0px","--beam-SubscriptionManagement-blockTileDescription-lineHeight":"130%","--beam-SubscriptionManagement-blockTileDescription-progressBar-width-desktop":"60%","--beam-SubscriptionManagement-blockTileDescription-progressBar-width-mobile":"100%","--beam-SubscriptionManagement-subWidgetContainer-padding":"0px 0px 10px","--beam-SubscriptionManagement-previousImpactContainer-padding-desktop":"10px 24px 10px 0px","--beam-SubscriptionManagement-previousImpactContainer-padding-mobile":"0px","--beam-SubscriptionManagement-dropDown-padding":"15px 8px","--beam-SubscriptionManagement-dropDown-borderRadius":"8px","--beam-SubscriptionManagement-dropDown-backgroundColor":"#f8fbfb","--beam-SubscriptionManagement-dropDown-boxShadow":"0px 4px 28px 0px rgba(0, 0, 0, 0.04)","--beam-SubscriptionManagement-dropDown-width":"128px","--beam-SubscriptionManagement-dropDown-hover-backgroundColor":"#E1F1EE","--beam-SubscriptionManagement-dropDownOptions-textDecoration":"underline",...c("--beam-SubscriptionManagement-dropDownOptions",{fontSize:"12px",fontWeight:"400",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-yourPreviousImpactTitle-marginBottom":"15px",...c("--beam-SubscriptionManagement-yourPreviousImpactTitle",{fontSize:"18px",fontWeight:"bold",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-yourPreviousImpact-showAllButton-textDecoration":"underline",...c("--beam-SubscriptionManagement-yourPreviousImpact-showAllButton",{fontSize:"12px",fontWeight:"bold",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-tile-title-letterSpacing":"0.36px",...c("--beam-SubscriptionManagement-tile-title",{fontSize:"12px",fontWeight:"bold",lineHeight:"120%",textTransform:"uppercase",fontStyle:"normal",color:"#0a323c"}),...c("--beam-SubscriptionManagement-tile-description",{fontSize:"14px",lineHeight:"120%",fontStyle:"normal",color:"#454a47"}),...c("--beam-SubscriptionManagement-tile-via",{fontSize:"14px",lineHeight:"120%",fontStyle:"normal",color:"#454a47"}),"--beam-SubscriptionManagement-tile-nonprofitLink-textDecoration":"underline",...c("--beam-SubscriptionManagement-tile-nonprofitLink",{fontSize:"14px",fontWeight:"400",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-tile-supportAgainButton-textDecoration":"underline",...c("--beam-SubscriptionManagement-tile-supportAgainButton",{fontSize:"14px",fontWeight:"400",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-tile-progressBarLabel-marginLeft":"8px",...c("--beam-SubscriptionManagement-tile-progressBarLabel",{fontSize:"10px",fontWeight:"bold",fontStyle:"normal",color:"#878a92"}),"--beam-SubscriptionManagement-tile-fundedAmount-lineHeight":"16px",...c("--beam-SubscriptionManagement-tile-fundedAmount",{fontSize:"14px",fontWeight:"400",lineHeight:"120%",fontStyle:"italic",color:"#0a323c"})},n=this.eligibleNonprofitsDataController?.data?.config?.web?.theme||{},s={...t,...n};return Object.assign(Object.create({toCSS(){return G(this)}}),s)}renderPreviousImpactTiles({personalImpact:t,cardStyle:n,eligibleNonprofitConfig:s}){if(!t)return o``;if(!s)return o``;const a=this.showAllTiles?t:t.slice(0,D);let b=0;return o`
1
+ import{f as z,g as r,t as g,h as H,y as o,k as E}from"../chunks/lit-WqMxC_PA.esm.js";import{D as R,S as _,e as j,W as B,f as K,g as F}from"../chunks/routes-Bgj1HGgx.esm.js";import{p as O}from"../chunks/progress-bar-DF7UuuHb.esm.js";import{c as V,d as Y,e as S}from"../chunks/enforce-config-Ba1JkOHs.esm.js";import{u as l,A as y,d as c,a as G,i as p,_ as v}from"../chunks/localize-C25pEGnx.esm.js";import{c as N}from"../chunks/events-BohmT6Lp.esm.js";import{M as q}from"../chunks/beam-errors-Ci0d3926.esm.js";import"./select-subscription-nonprofit.js";import"./subscription-impact.js";import{partnerLogosConfigDefaults as J}from"./beam-partner-logos.js";import{makeApiKeyHeader as x}from"../utils/makeApiKeyHeader.js";import{_ as $}from"../chunks/loading-template-DG4lkIIc.esm.js";import{c as Q}from"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../utils/logger.js";import"../chunks/lodash-7H4x2457.esm.js";import"../utils/local-storage.js";import"../chunks/share-button-BX-kWAd0.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-DK30KQ6n.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";const m={en:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},fr:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},de:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},es:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},it:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"},pl:{changeNonprofitButton:()=>"Change Nonprofit",previousImpactHeader:()=>"Your Previous Impact",previousNonprofitButton:()=>"Back to Previous Nonprofit",supportAgainButton:()=>"Support Again",via:()=>"via",showAllButton:()=>"Show All",showLessButton:()=>"Show Less"}};var X=Object.defineProperty,i=(M,t,n,s)=>{for(var a=void 0,b=M.length-1,d;b>=0;b--)(d=M[b])&&(a=d(t,n,a)||a);return a&&X(t,n,a),a};const D=3,Z=0,tt=1,et=98;class e extends H{constructor(){super(...arguments),this.baseUrl=R,this.lang="en",this.debug=!1,this.draftConfig=!1,this.activeWidget=null,this.nonprofitId=null,this.beamUserId=null,this.eligibleNonprofits=[],this.showAllTiles=!1,this.isMobile=window.innerWidth<720,this.dropdownVisible=!1,this.emojis=["\u{1F44F}","\u{1F4AA}","\u{1F64C}","\u2728","\u{1F947}"],this.subscriptionDataController=new y(this,this.fetchSubscription),this.eligibleNonprofitsDataController=new y(this,this.fetchEligibleNonprofits),this.personalImpactDataController=new y(this,this.fetchImpact)}get configLang(){return _[this.lang]||"en"}async firstUpdated(){if(!this.email&&!this.partnerUserId)throw new q(["email","partnerUserId"],"One of the following properties needs to be specified: email, partnerUserId ");S(["apiKey","subscriptionId"],this),await this.loadWidget()}async loadWidget(){await Promise.all([this.fetchEligibleNonprofits(),this.fetchSubscription()]),await this.fetchImpact(),this.activeWidget=this.nonprofitId?"subscription-impact":"select-subscription-nonprofit"}async fetchEligibleNonprofits(){S(["apiKey","subscriptionId"],this);const t=await j({baseUrl:this.baseUrl,headers:x(this.apiKey),requestBody:{storeId:this.storeId||void 0,postalCode:this.postalCode||void 0,countryCode:this.countryCode||void 0,widgetName:B.subscription_management,version:"1.0.0"}});return this.storeId=t.store.id,this.eligibleNonprofits=t.nonprofits,this.eligibleNonprofitsDataController.data=t,t}async fetchSubscription(){S(["apiKey","subscriptionId"],this);const t=await K({baseUrl:this.baseUrl,headers:x(this.apiKey),requestBody:{remoteSubscriptionId:this.subscriptionId,email:this.email,partnerUserId:this.partnerUserId}});return this.beamUserId=t.beamUserId,this.nonprofitId=t.nonprofit?.id||null,t}async fetchImpact(){S(["apiKey"],this);const t=await F({baseUrl:this.baseUrl,headers:x(this.apiKey),queryParams:{beamUserId:this.beamUserId?this.beamUserId:void 0,widgetName:"subscription-management",version:"1.0.0",lang:this.configLang}});return this.personalImpactDataController.data=t,t}handleSwapNonprofitButtonClick(){this.activeWidget="select-subscription-nonprofit"}handleBackToSubscriptionImpactButtonClick(){this.activeWidget="subscription-impact"}handleSupportAgainButtonClick(t,n){this.activeWidget="select-subscription-nonprofit",this.selectedNonprofitId=t;const s=new N({selectedNonprofitId:t,nonprofitName:n,source:B.subscription_management});this.dispatchEvent(s)}handleNonprofitSelect(t){if(!(t instanceof N))return;const{selectedNonprofitId:n}=t.detail;this.nonprofitId=n??null,this.activeWidget="subscription-impact"}isNonprofitEligible(t){return this.eligibleNonprofits.some(n=>n.nonprofit.id===t)}shouldDisplayProgressBar(t){return t>tt&&t<et}get cssVariables(){const t={...J,...O,"--beam-fontFamily":"inherit","--beam-fontStyle":"inherit","--beam-fontSize":"inherit","--beam-textColor":"inherit","--beam-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-borderColor":"#d5d5d5","--beam-SubscriptionManagement-widgetContainer-borderRadius":"4px","--beam-SubscriptionManagement-widgetContainer-padding":"8px 20px","--beam-SubscriptionManagement-widgetContainer-backgroundColor":"inherit","--beam-SubscriptionManagement-widgetContainer-maxWidth":"820px","--beam-SubscriptionManagement-logo-align-desktop":"left","--beam-SubscriptionManagement-logo-align-mobile":"center","--beam-SubscriptionManagement-previousImpact-cardStyle":"'selected_icon'","--beam-SubscriptionManagement-header-padding":"10px 20px 10px 0px","--beam-SubscriptionManagement-header-borderRadius":"0px","--beam-SubscriptionManagement-header-backgroundColor":"#fff","--beam-SubscriptionManagement-header-meatballsMenu-fontSize":"24px","--beam-SubscriptionManagement-header-meatballsMenu-color":"24px","--beam-SubscriptionManagement-lineBreak-color":"#ddd","--beam-SubscriptionManagement-lineBreak-width":"1px","--beam-SubscriptionManagement-lineBreak-margin":"10px 0 20px 0","--beam-SubscriptionManagement-tile-marginBottom":"20px","--beam-SubscriptionManagement-tile-border-width":"0px","--beam-SubscriptionManagement-tile-border-color":"#ddd","--beam-SubscriptionManagement-tile-padding":"12.5px","--beam-SubscriptionManagement-tile-borderRadius":"8px","--beam-SubscriptionManagement-tile-background":"#f8fbfb","--beam-SubscriptionManagement-tileContent-gap":" 15px","--beam-SubscriptionManagement-tileContent-padding":"5px 0px","--beam-SubscriptionManagement-tile-icon-borderRadius":"4px","--beam-SubscriptionManagement-tile-icon-height":"28px","--beam-SubscriptionManagement-tile-icon-background-borderRadius":"50%","--beam-SubscriptionManagement-tile-icon-background-width":"50px","--beam-SubscriptionManagement-tile-icon-background-height":"50px","--beam-SubscriptionManagement-tile-icon-background-backgroundColor":"#0a323c","--beam-SubscriptionManagement-tile-icon-background-padding":"10px","--beam-SubscriptionManagement-blockTileDescription-gap":"5px","--beam-SubscriptionManagement-blockTileDescription-padding":"0px","--beam-SubscriptionManagement-blockTileDescription-lineHeight":"130%","--beam-SubscriptionManagement-blockTileDescription-progressBar-width-desktop":"60%","--beam-SubscriptionManagement-blockTileDescription-progressBar-width-mobile":"100%","--beam-SubscriptionManagement-subWidgetContainer-padding":"0px 0px 10px","--beam-SubscriptionManagement-previousImpactContainer-padding-desktop":"10px 24px 10px 0px","--beam-SubscriptionManagement-previousImpactContainer-padding-mobile":"0px","--beam-SubscriptionManagement-dropDown-padding":"15px 8px","--beam-SubscriptionManagement-dropDown-borderRadius":"8px","--beam-SubscriptionManagement-dropDown-backgroundColor":"#f8fbfb","--beam-SubscriptionManagement-dropDown-boxShadow":"0px 4px 28px 0px rgba(0, 0, 0, 0.04)","--beam-SubscriptionManagement-dropDown-width":"128px","--beam-SubscriptionManagement-dropDown-hover-backgroundColor":"#E1F1EE","--beam-SubscriptionManagement-dropDownOptions-textDecoration":"underline",...c("--beam-SubscriptionManagement-dropDownOptions",{fontSize:"12px",fontWeight:"400",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-yourPreviousImpactTitle-marginBottom":"15px",...c("--beam-SubscriptionManagement-yourPreviousImpactTitle",{fontSize:"18px",fontWeight:"bold",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-yourPreviousImpact-showAllButton-textDecoration":"underline",...c("--beam-SubscriptionManagement-yourPreviousImpact-showAllButton",{fontSize:"12px",fontWeight:"bold",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-tile-title-letterSpacing":"0.36px",...c("--beam-SubscriptionManagement-tile-title",{fontSize:"12px",fontWeight:"bold",lineHeight:"120%",textTransform:"uppercase",fontStyle:"normal",color:"#0a323c"}),...c("--beam-SubscriptionManagement-tile-description",{fontSize:"14px",lineHeight:"120%",fontStyle:"normal",color:"#454a47"}),...c("--beam-SubscriptionManagement-tile-via",{fontSize:"14px",lineHeight:"120%",fontStyle:"normal",color:"#454a47"}),"--beam-SubscriptionManagement-tile-nonprofitLink-textDecoration":"underline",...c("--beam-SubscriptionManagement-tile-nonprofitLink",{fontSize:"14px",fontWeight:"400",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-tile-supportAgainButton-textDecoration":"underline",...c("--beam-SubscriptionManagement-tile-supportAgainButton",{fontSize:"14px",fontWeight:"400",lineHeight:"120%",textTransform:"capitalize",fontStyle:"normal",color:"#0a323c"}),"--beam-SubscriptionManagement-tile-progressBarLabel-marginLeft":"8px",...c("--beam-SubscriptionManagement-tile-progressBarLabel",{fontSize:"10px",fontWeight:"bold",fontStyle:"normal",color:"#878a92"}),"--beam-SubscriptionManagement-tile-fundedAmount-lineHeight":"16px",...c("--beam-SubscriptionManagement-tile-fundedAmount",{fontSize:"14px",fontWeight:"400",lineHeight:"120%",fontStyle:"italic",color:"#0a323c"})},n=this.eligibleNonprofitsDataController?.data?.config?.web?.theme||{},s={...t,...n};return Object.assign(Object.create({toCSS(){return G(this)}}),s)}renderPreviousImpactTiles({personalImpact:t,cardStyle:n,eligibleNonprofitConfig:s}){if(!t)return o``;if(!s)return o``;const a=this.showAllTiles?t:t.slice(0,D);let b=0;return o`
2
2
  ${a.filter(d=>d.nonprofit.includeInPersonalImpact===!0).map(d=>{const{impact:{goalCompletionText:u,description:h,goalProgressPercentage:f,goalProgressText:A},nonprofit:{cause:C,causeIconSelectedUrl:L,causeIconUrl:T,website:U,name:I,id:w}}=d,k=this.nonprofitId!==w&&this.isNonprofitEligible(w),P=k&&this.shouldDisplayProgressBar(f),W=u?`${this.emojis[b]} `:"";return b=(b+1)%this.emojis.length,o`
3
3
  <div class="tile">
4
4
  <div class="tile-header">
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { i as WebComponents } from './chunks/index-DXj15KHe.esm.js';
2
- export { i as Integrations } from './chunks/index-MS8_Vije.esm.js';
2
+ export { i as Integrations } from './chunks/index-ki8pLX6n.esm.js';
3
3
  export { i as ReactComponents } from './chunks/index-DbaDUPup.esm.js';
4
4
  export { i as Utils } from './chunks/index-Dnm34FcO.esm.js';
5
5
  import './components/community-impact.js';
@@ -12,7 +12,7 @@ import './chunks/types-CPxMwnoR.esm.js';
12
12
  import './components/cumulative-impact.js';
13
13
  import 'lodash';
14
14
  import './components/impact-overview.js';
15
- import './chunks/share-button-DBVhw4qa.esm.js';
15
+ import './chunks/share-button-B9hpxBVr.esm.js';
16
16
  import './components/select-nonprofit.js';
17
17
  import './chunks/promo-pill-label-BXRqZHET.esm.js';
18
18
  import './chunks/cart-contents-CUgc4y1N.esm.js';
@@ -39,8 +39,8 @@ import './utils/memoize-last.js';
39
39
  import 'lodash-es/debounce';
40
40
  import 'lodash-es/isEqual';
41
41
  import './utils/promoManager.js';
42
- import './chunks/index-v0tUXySN.esm.js';
43
- import './chunks/order-page-tSPKLQ24.esm.js';
42
+ import './chunks/index-TAxKoTC1.esm.js';
43
+ import './chunks/order-page-Cerye00Q.esm.js';
44
44
  import './chunks/update-cart-NiToHHJH.esm.js';
45
45
  import './chunks/index-C-hPf29c.esm.js';
46
46
  import './chunks/index-BqBEii8E.esm.js';
package/dist/index.esm.js CHANGED
@@ -1,2 +1,2 @@
1
- import{i as so}from"./chunks/index-oGObXjk6.esm.js";import{i as no}from"./chunks/index-B_8DexDX.esm.js";import{i as xo}from"./chunks/index-C3hpHWh1.esm.js";import{i as bo}from"./chunks/index-DhtZDPvk.esm.js";import"./components/community-impact.esm.js";import"./chunks/lit-5uUWs2aX.esm.js";import"./chunks/progress-bar-oJB_t7od.esm.js";import"./components/beam-partner-logos.esm.js";import"./chunks/enforce-config-Cw52SuAc.esm.js";import"./chunks/beam-errors-Ci0d3926.esm.js";import"./utils/logger.esm.js";import"./chunks/localize-cDQFOecn.esm.js";import"./chunks/routes-CaSRr919.esm.js";import"./chunks/loading-template-DXNS89Th.esm.js";import"./chunks/css-card-grid-B6IEaTiP.esm.js";import"./components/cumulative-impact.esm.js";import"./chunks/lodash-7H4x2457.esm.js";import"./chunks/is-all-html-elements-fcB7UUA1.esm.js";import"./components/impact-overview.esm.js";import"./chunks/_share-dialog-dependencies-CHbTSPha.esm.js";import"./chunks/vendor-DRA8u-S7.esm.js";import"./chunks/share-button-CvTUluNq.esm.js";import"./chunks/share-button-R7jgVCPv.esm.js";import"./chunks/responsive-9jAzOYoE.esm.js";import"./components/select-nonprofit.esm.js";import"./chunks/promo-pill-label-D9ptiGak.esm.js";import"./chunks/events-BohmT6Lp.esm.js";import"./utils/local-storage.esm.js";import"./chunks/promoManager-fl54hq13.esm.js";import"./utils/cookies.esm.js";import"./chunks/cart-contents-DkoytiZh.esm.js";import"./utils/cart.esm.js";import"./components/redeem-transaction.esm.js";import"./components/post-purchase.esm.js";import"./components/subscription-management.esm.js";import"./components/select-subscription-nonprofit.esm.js";import"./utils/makeApiKeyHeader.esm.js";import"./components/subscription-impact.esm.js";import"./components/product-details-page.esm.js";import"./components/social-share.esm.js";import"./chunks/index-GcpuX_TZ.esm.js";import"./utils/network-listeners.esm.js";import"./utils/wait-for-element.esm.js";import"./utils/remote-session.esm.js";import"./utils/memoize-last.esm.js";import"./chunks/index-CyiXyHi8.esm.js";import"./chunks/order-page-FzVtMkga.esm.js";import"./chunks/update-cart-DNfl9QP2.esm.js";import"./chunks/index-C_ZNnJIS.esm.js";import"./chunks/index-XZRQN4Rs.esm.js";import"./chunks/index-kDoWfjd5.esm.js";import"./react/community-impact.esm.js";import"react";import"./react/cumulative-impact.esm.js";import"./react/impact-overview.esm.js";import"./react/select-nonprofit.esm.js";import"./react/redeem-transaction.esm.js";import"./react/post-purchase.esm.js";import"./react/subscription-management.esm.js";import"./react/select-subscription-nonprofit.esm.js";import"./react/subscription-impact.esm.js";import"./react/product-details-page.esm.js";import"./react/social-share.esm.js";export{no as Integrations,xo as ReactComponents,bo as Utils,so as WebComponents};
1
+ import{i as so}from"./chunks/index-oGObXjk6.esm.js";import{i as no}from"./chunks/index-NrjNZmBX.esm.js";import{i as xo}from"./chunks/index-C3hpHWh1.esm.js";import{i as bo}from"./chunks/index-DhtZDPvk.esm.js";import"./components/community-impact.esm.js";import"./chunks/lit-WqMxC_PA.esm.js";import"./chunks/progress-bar-DF7UuuHb.esm.js";import"./components/beam-partner-logos.esm.js";import"./chunks/enforce-config-CZ3ToOgr.esm.js";import"./chunks/beam-errors-Ci0d3926.esm.js";import"./utils/logger.esm.js";import"./chunks/localize-Btu9xYcE.esm.js";import"./chunks/routes-Be8scSEK.esm.js";import"./chunks/loading-template-DG4lkIIc.esm.js";import"./chunks/css-card-grid-CvoGpsJH.esm.js";import"./components/cumulative-impact.esm.js";import"./chunks/lodash-7H4x2457.esm.js";import"./chunks/is-all-html-elements-fcB7UUA1.esm.js";import"./components/impact-overview.esm.js";import"./chunks/_share-dialog-dependencies-CFBQaddH.esm.js";import"./chunks/vendor-KKSARHWL.esm.js";import"./chunks/share-button-CcD-wBHE.esm.js";import"./chunks/share-button-BuneDluf.esm.js";import"./chunks/responsive-BR8qUfBa.esm.js";import"./components/select-nonprofit.esm.js";import"./chunks/promo-pill-label-CbW_Vcru.esm.js";import"./chunks/events-BohmT6Lp.esm.js";import"./utils/local-storage.esm.js";import"./chunks/promoManager-fl54hq13.esm.js";import"./utils/cookies.esm.js";import"./chunks/cart-contents-DkoytiZh.esm.js";import"./utils/cart.esm.js";import"./components/redeem-transaction.esm.js";import"./components/post-purchase.esm.js";import"./components/subscription-management.esm.js";import"./components/select-subscription-nonprofit.esm.js";import"./utils/makeApiKeyHeader.esm.js";import"./components/subscription-impact.esm.js";import"./components/product-details-page.esm.js";import"./components/social-share.esm.js";import"./chunks/index-GcpuX_TZ.esm.js";import"./utils/network-listeners.esm.js";import"./utils/wait-for-element.esm.js";import"./utils/remote-session.esm.js";import"./utils/memoize-last.esm.js";import"./chunks/index-DoF3KFUY.esm.js";import"./chunks/order-page-CTpjnsoe.esm.js";import"./chunks/update-cart-Cih70sgI.esm.js";import"./chunks/index-IKiJwo5v.esm.js";import"./chunks/index-DI43alE-.esm.js";import"./chunks/index-CXJEBQUg.esm.js";import"./react/community-impact.esm.js";import"react";import"./react/cumulative-impact.esm.js";import"./react/impact-overview.esm.js";import"./react/select-nonprofit.esm.js";import"./react/redeem-transaction.esm.js";import"./react/post-purchase.esm.js";import"./react/subscription-management.esm.js";import"./react/select-subscription-nonprofit.esm.js";import"./react/subscription-impact.esm.js";import"./react/product-details-page.esm.js";import"./react/social-share.esm.js";export{no as Integrations,xo as ReactComponents,bo as Utils,so as WebComponents};
2
2
  //# sourceMappingURL=index.esm.js.map
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import{i as so}from"./chunks/index-CFtmDAHb.esm.js";import{i as no}from"./chunks/index-CpPbNdWA.esm.js";import{i as xo}from"./chunks/index-D6qJfs7_.esm.js";import{i as bo}from"./chunks/index-CbWdmBet.esm.js";import"./components/community-impact.js";import"./chunks/lit-5uUWs2aX.esm.js";import"./chunks/progress-bar-oJB_t7od.esm.js";import"./components/beam-partner-logos.js";import"./chunks/enforce-config-CQb5MiAV.esm.js";import"./chunks/beam-errors-Ci0d3926.esm.js";import"./utils/logger.js";import"./chunks/localize-CQCRjY9s.esm.js";import"./chunks/routes-KHEaM_40.esm.js";import"./chunks/loading-template-DXNS89Th.esm.js";import"./chunks/css-card-grid-B6IEaTiP.esm.js";import"./components/cumulative-impact.js";import"./chunks/lodash-7H4x2457.esm.js";import"./chunks/is-all-html-elements-fcB7UUA1.esm.js";import"./components/impact-overview.js";import"./chunks/_share-dialog-dependencies-B3N69ml2.esm.js";import"./chunks/vendor-DRA8u-S7.esm.js";import"./chunks/share-button-BbG-gnwj.esm.js";import"./chunks/share-button-R7jgVCPv.esm.js";import"./chunks/responsive-9jAzOYoE.esm.js";import"./components/select-nonprofit.js";import"./chunks/promo-pill-label-D9ptiGak.esm.js";import"./chunks/events-BohmT6Lp.esm.js";import"./utils/local-storage.js";import"./chunks/promoManager-B9cTR1R3.esm.js";import"./utils/cookies.js";import"./chunks/cart-contents-DkoytiZh.esm.js";import"./utils/cart.js";import"./components/redeem-transaction.js";import"./components/post-purchase.js";import"./components/subscription-management.js";import"./components/select-subscription-nonprofit.js";import"./utils/makeApiKeyHeader.js";import"./components/subscription-impact.js";import"./components/product-details-page.js";import"./components/social-share.js";import"./chunks/index-C-beNpP0.esm.js";import"./utils/network-listeners.js";import"./utils/wait-for-element.js";import"./utils/remote-session.js";import"./utils/memoize-last.js";import"./chunks/index-JSoHc6g1.esm.js";import"./chunks/order-page-CMGPM57D.esm.js";import"./chunks/update-cart-3JFUCJLD.esm.js";import"./chunks/index-BQ4Nr7Ux.esm.js";import"./chunks/index-n7pxZENA.esm.js";import"./chunks/index-CFYWEffm.esm.js";import"./react/community-impact.js";import"react";import"./react/cumulative-impact.js";import"./react/impact-overview.js";import"./react/select-nonprofit.js";import"./react/redeem-transaction.js";import"./react/post-purchase.js";import"./react/subscription-management.js";import"./react/select-subscription-nonprofit.js";import"./react/subscription-impact.js";import"./react/product-details-page.js";import"./react/social-share.js";export{no as Integrations,xo as ReactComponents,bo as Utils,so as WebComponents};
1
+ import{i as so}from"./chunks/index-CFtmDAHb.esm.js";import{i as no}from"./chunks/index-VCyr24SS.esm.js";import{i as xo}from"./chunks/index-D6qJfs7_.esm.js";import{i as bo}from"./chunks/index-CbWdmBet.esm.js";import"./components/community-impact.js";import"./chunks/lit-WqMxC_PA.esm.js";import"./chunks/progress-bar-DF7UuuHb.esm.js";import"./components/beam-partner-logos.js";import"./chunks/enforce-config-Ba1JkOHs.esm.js";import"./chunks/beam-errors-Ci0d3926.esm.js";import"./utils/logger.js";import"./chunks/localize-C25pEGnx.esm.js";import"./chunks/routes-Bgj1HGgx.esm.js";import"./chunks/loading-template-DG4lkIIc.esm.js";import"./chunks/css-card-grid-CvoGpsJH.esm.js";import"./components/cumulative-impact.js";import"./chunks/lodash-7H4x2457.esm.js";import"./chunks/is-all-html-elements-fcB7UUA1.esm.js";import"./components/impact-overview.js";import"./chunks/_share-dialog-dependencies-x5pyLsew.esm.js";import"./chunks/vendor-KKSARHWL.esm.js";import"./chunks/share-button-BX-kWAd0.esm.js";import"./chunks/share-button-DK30KQ6n.esm.js";import"./chunks/responsive-BR8qUfBa.esm.js";import"./components/select-nonprofit.js";import"./chunks/promo-pill-label-CbW_Vcru.esm.js";import"./chunks/events-BohmT6Lp.esm.js";import"./utils/local-storage.js";import"./chunks/promoManager-B9cTR1R3.esm.js";import"./utils/cookies.js";import"./chunks/cart-contents-DkoytiZh.esm.js";import"./utils/cart.js";import"./components/redeem-transaction.js";import"./components/post-purchase.js";import"./components/subscription-management.js";import"./components/select-subscription-nonprofit.js";import"./utils/makeApiKeyHeader.js";import"./components/subscription-impact.js";import"./components/product-details-page.js";import"./components/social-share.js";import"./chunks/index-C-beNpP0.esm.js";import"./utils/network-listeners.js";import"./utils/wait-for-element.js";import"./utils/remote-session.js";import"./utils/memoize-last.js";import"./chunks/index-utCqipvB.esm.js";import"./chunks/order-page-BH3Qr433.esm.js";import"./chunks/update-cart-C8ufWemL.esm.js";import"./chunks/index-BNjsFEGn.esm.js";import"./chunks/index-DGQ-LQxP.esm.js";import"./chunks/index-BNVaWVJi.esm.js";import"./react/community-impact.js";import"react";import"./react/cumulative-impact.js";import"./react/impact-overview.js";import"./react/select-nonprofit.js";import"./react/redeem-transaction.js";import"./react/post-purchase.js";import"./react/subscription-management.js";import"./react/select-subscription-nonprofit.js";import"./react/subscription-impact.js";import"./react/product-details-page.js";import"./react/social-share.js";export{no as Integrations,xo as ReactComponents,bo as Utils,so as WebComponents};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{D as u,a as g}from"../chunks/routes-CaSRr919.esm.js";import{S as y}from"../chunks/beam-errors-Ci0d3926.esm.js";import{B as h}from"../chunks/events-BohmT6Lp.esm.js";import{logger as w}from"../utils/logger.esm.js";import{s as f}from"../chunks/index-kDoWfjd5.esm.js";var v=(t,s,a)=>{if(!s.has(t))throw TypeError("Cannot "+a)},c=(t,s,a)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,a)},i=(t,s,a)=>(v(t,s,"access private method"),a),r,n,o,m;let p,l;const E=new Promise((t,s)=>{p=t,l=s});class U extends EventTarget{constructor(s){super(),c(this,r),c(this,o),this.readyPromise=E,this.plugins={},this.status="pending",i(this,r,n).call(this,s)}async init(s){i(this,r,n).call(this,s);try{await i(this,o,m).call(this,s)}catch(a){const e=new y;throw e.cause=a,this.status="error",this.dispatchEvent(new h({status:"error",error:e})),l(e),w.error(e),this.apiKey&&await f({apiKey:this.apiKey,baseUrl:this.logUrl},{type:"error",code:e.name,metadata:{message:e.message,cause:a?.message}}),a}return this.status="ready",this.dispatchEvent(new h({status:"ready"})),p(!0),this}}r=new WeakSet,n=function(t){this.apiKey=t.apiKey,this.chainId=t.chainId,this.storeId=t.storeId,this.domain=t.domain,this.baseUrl=t.baseUrl||u,this.logUrl=t.logUrl||g},o=new WeakSet,m=async function(t){const s=(t.plugins||[]).map(async a=>(await a.init(t),this.plugins[a.name]=a,a));return Promise.all(s)};const d=new U({}),S=t=>d.init(t),L=()=>d;export{L as getConfig,S as init};
1
+ import{D as u,a as g}from"../chunks/routes-Be8scSEK.esm.js";import{S as y}from"../chunks/beam-errors-Ci0d3926.esm.js";import{B as h}from"../chunks/events-BohmT6Lp.esm.js";import{logger as w}from"../utils/logger.esm.js";import{s as f}from"../chunks/index-CXJEBQUg.esm.js";var v=(t,s,a)=>{if(!s.has(t))throw TypeError("Cannot "+a)},c=(t,s,a)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,a)},i=(t,s,a)=>(v(t,s,"access private method"),a),r,n,o,m;let p,l;const E=new Promise((t,s)=>{p=t,l=s});class U extends EventTarget{constructor(s){super(),c(this,r),c(this,o),this.readyPromise=E,this.plugins={},this.status="pending",i(this,r,n).call(this,s)}async init(s){i(this,r,n).call(this,s);try{await i(this,o,m).call(this,s)}catch(a){const e=new y;throw e.cause=a,this.status="error",this.dispatchEvent(new h({status:"error",error:e})),l(e),w.error(e),this.apiKey&&await f({apiKey:this.apiKey,baseUrl:this.logUrl},{type:"error",code:e.name,metadata:{message:e.message,cause:a?.message}}),a}return this.status="ready",this.dispatchEvent(new h({status:"ready"})),p(!0),this}}r=new WeakSet,n=function(t){this.apiKey=t.apiKey,this.chainId=t.chainId,this.storeId=t.storeId,this.domain=t.domain,this.baseUrl=t.baseUrl||u,this.logUrl=t.logUrl||g},o=new WeakSet,m=async function(t){const s=(t.plugins||[]).map(async a=>(await a.init(t),this.plugins[a.name]=a,a));return Promise.all(s)};const d=new U({}),S=t=>d.init(t),L=()=>d;export{L as getConfig,S as init};
2
2
  //# sourceMappingURL=beam.esm.js.map
@@ -1,2 +1,2 @@
1
- import{D as u,a as g}from"../chunks/routes-KHEaM_40.esm.js";import{S as y}from"../chunks/beam-errors-Ci0d3926.esm.js";import{B as h}from"../chunks/events-BohmT6Lp.esm.js";import{logger as w}from"../utils/logger.js";import{s as f}from"../chunks/index-CFYWEffm.esm.js";var v=(t,s,a)=>{if(!s.has(t))throw TypeError("Cannot "+a)},c=(t,s,a)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,a)},i=(t,s,a)=>(v(t,s,"access private method"),a),r,n,o,m;let p,l;const E=new Promise((t,s)=>{p=t,l=s});class U extends EventTarget{constructor(s){super(),c(this,r),c(this,o),this.readyPromise=E,this.plugins={},this.status="pending",i(this,r,n).call(this,s)}async init(s){i(this,r,n).call(this,s);try{await i(this,o,m).call(this,s)}catch(a){const e=new y;throw e.cause=a,this.status="error",this.dispatchEvent(new h({status:"error",error:e})),l(e),w.error(e),this.apiKey&&await f({apiKey:this.apiKey,baseUrl:this.logUrl},{type:"error",code:e.name,metadata:{message:e.message,cause:a?.message}}),a}return this.status="ready",this.dispatchEvent(new h({status:"ready"})),p(!0),this}}r=new WeakSet,n=function(t){this.apiKey=t.apiKey,this.chainId=t.chainId,this.storeId=t.storeId,this.domain=t.domain,this.baseUrl=t.baseUrl||u,this.logUrl=t.logUrl||g},o=new WeakSet,m=async function(t){const s=(t.plugins||[]).map(async a=>(await a.init(t),this.plugins[a.name]=a,a));return Promise.all(s)};const d=new U({}),S=t=>d.init(t),L=()=>d;export{L as getConfig,S as init};
1
+ import{D as u,a as g}from"../chunks/routes-Bgj1HGgx.esm.js";import{S as y}from"../chunks/beam-errors-Ci0d3926.esm.js";import{B as h}from"../chunks/events-BohmT6Lp.esm.js";import{logger as w}from"../utils/logger.js";import{s as f}from"../chunks/index-BNVaWVJi.esm.js";var v=(t,s,a)=>{if(!s.has(t))throw TypeError("Cannot "+a)},c=(t,s,a)=>{if(s.has(t))throw TypeError("Cannot add the same private member more than once");s instanceof WeakSet?s.add(t):s.set(t,a)},i=(t,s,a)=>(v(t,s,"access private method"),a),r,n,o,m;let p,l;const E=new Promise((t,s)=>{p=t,l=s});class U extends EventTarget{constructor(s){super(),c(this,r),c(this,o),this.readyPromise=E,this.plugins={},this.status="pending",i(this,r,n).call(this,s)}async init(s){i(this,r,n).call(this,s);try{await i(this,o,m).call(this,s)}catch(a){const e=new y;throw e.cause=a,this.status="error",this.dispatchEvent(new h({status:"error",error:e})),l(e),w.error(e),this.apiKey&&await f({apiKey:this.apiKey,baseUrl:this.logUrl},{type:"error",code:e.name,metadata:{message:e.message,cause:a?.message}}),a}return this.status="ready",this.dispatchEvent(new h({status:"ready"})),p(!0),this}}r=new WeakSet,n=function(t){this.apiKey=t.apiKey,this.chainId=t.chainId,this.storeId=t.storeId,this.domain=t.domain,this.baseUrl=t.baseUrl||u,this.logUrl=t.logUrl||g},o=new WeakSet,m=async function(t){const s=(t.plugins||[]).map(async a=>(await a.init(t),this.plugins[a.name]=a,a));return Promise.all(s)};const d=new U({}),S=t=>d.init(t),L=()=>d;export{L as getConfig,S as init};
2
2
  //# sourceMappingURL=beam.js.map
@@ -1,2 +1,2 @@
1
- import{O}from"../chunks/update-cart-DNfl9QP2.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/local-storage.esm.js";import"../utils/cookies.esm.js";import"../utils/remote-session.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.esm.js";export{O as updateCart};
1
+ import{O}from"../chunks/update-cart-Cih70sgI.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/local-storage.esm.js";import"../utils/cookies.esm.js";import"../utils/remote-session.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.esm.js";export{O as updateCart};
2
2
  //# sourceMappingURL=cart.esm.js.map
@@ -1,2 +1,2 @@
1
- import{O}from"../chunks/update-cart-3JFUCJLD.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/local-storage.js";import"../utils/cookies.js";import"../utils/remote-session.js";import"../utils/memoize-last.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.js";export{O as updateCart};
1
+ import{O}from"../chunks/update-cart-C8ufWemL.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/local-storage.js";import"../utils/cookies.js";import"../utils/remote-session.js";import"../utils/memoize-last.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.js";export{O as updateCart};
2
2
  //# sourceMappingURL=cart.js.map
@@ -1,5 +1,5 @@
1
1
  export { i as Utils } from '../chunks/index-DvbUE31b.esm.js';
2
- export { i as Shopify } from '../chunks/index-v0tUXySN.esm.js';
2
+ export { i as Shopify } from '../chunks/index-TAxKoTC1.esm.js';
3
3
  export { i as Session } from '../chunks/index-C-hPf29c.esm.js';
4
4
  export { i as Cart } from '../chunks/index-BqBEii8E.esm.js';
5
5
  export { i as Logs } from '../chunks/index-CbKkAM6h.esm.js';
@@ -19,7 +19,7 @@ import '../utils/memoize-last.js';
19
19
  import 'lodash-es/debounce';
20
20
  import 'lodash-es/isEqual';
21
21
  import '../utils/promoManager.js';
22
- import '../chunks/order-page-tSPKLQ24.esm.js';
22
+ import '../chunks/order-page-Cerye00Q.esm.js';
23
23
  import 'lodash';
24
24
  import '../chunks/update-cart-NiToHHJH.esm.js';
25
25
  import '../chunks/types-C7gqAyyH.esm.js';
@@ -31,5 +31,5 @@ import '../chunks/progress-bar-CveZ8E6Q.esm.js';
31
31
  import '../chunks/promo-pill-label-BXRqZHET.esm.js';
32
32
  import '../components/beam-partner-logos.js';
33
33
  import '../components/impact-overview.js';
34
- import '../chunks/share-button-DBVhw4qa.esm.js';
34
+ import '../chunks/share-button-B9hpxBVr.esm.js';
35
35
  import '../chunks/routes-DDRd747e.esm.js';
@@ -1,2 +1,2 @@
1
- import{i as G}from"../chunks/index-GcpuX_TZ.esm.js";import{i as I}from"../chunks/index-CyiXyHi8.esm.js";import{i as K}from"../chunks/index-C_ZNnJIS.esm.js";import{i as N}from"../chunks/index-XZRQN4Rs.esm.js";import{i as P}from"../chunks/index-kDoWfjd5.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../utils/wait-for-element.esm.js";import"../utils/cookies.esm.js";import"../utils/remote-session.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../chunks/order-page-FzVtMkga.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-DNfl9QP2.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../utils/cart.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-5uUWs2aX.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CHbTSPha.esm.js";import"../chunks/share-button-CvTUluNq.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";export{N as Cart,P as Logs,K as Session,I as Shopify,G as Utils};
1
+ import{i as G}from"../chunks/index-GcpuX_TZ.esm.js";import{i as I}from"../chunks/index-DoF3KFUY.esm.js";import{i as K}from"../chunks/index-IKiJwo5v.esm.js";import{i as N}from"../chunks/index-DI43alE-.esm.js";import{i as P}from"../chunks/index-CXJEBQUg.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../utils/wait-for-element.esm.js";import"../utils/cookies.esm.js";import"../utils/remote-session.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../chunks/order-page-CTpjnsoe.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-Cih70sgI.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../utils/cart.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-WqMxC_PA.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CFBQaddH.esm.js";import"../chunks/share-button-CcD-wBHE.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-BuneDluf.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";export{N as Cart,P as Logs,K as Session,I as Shopify,G as Utils};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,2 +1,2 @@
1
- import{i as G}from"../chunks/index-C-beNpP0.esm.js";import{i as I}from"../chunks/index-JSoHc6g1.esm.js";import{i as K}from"../chunks/index-BQ4Nr7Ux.esm.js";import{i as N}from"../chunks/index-n7pxZENA.esm.js";import{i as P}from"../chunks/index-CFYWEffm.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../utils/wait-for-element.js";import"../utils/cookies.js";import"../utils/remote-session.js";import"../utils/memoize-last.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../chunks/order-page-CMGPM57D.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-3JFUCJLD.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../utils/cart.js";import"../components/post-purchase.js";import"../chunks/lit-5uUWs2aX.esm.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-B3N69ml2.esm.js";import"../chunks/share-button-BbG-gnwj.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";export{N as Cart,P as Logs,K as Session,I as Shopify,G as Utils};
1
+ import{i as G}from"../chunks/index-C-beNpP0.esm.js";import{i as I}from"../chunks/index-utCqipvB.esm.js";import{i as K}from"../chunks/index-BNjsFEGn.esm.js";import{i as N}from"../chunks/index-DGQ-LQxP.esm.js";import{i as P}from"../chunks/index-BNVaWVJi.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../utils/wait-for-element.js";import"../utils/cookies.js";import"../utils/remote-session.js";import"../utils/memoize-last.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../chunks/order-page-BH3Qr433.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-C8ufWemL.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../utils/cart.js";import"../components/post-purchase.js";import"../chunks/lit-WqMxC_PA.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-x5pyLsew.esm.js";import"../chunks/share-button-BX-kWAd0.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-DK30KQ6n.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";export{N as Cart,P as Logs,K as Session,I as Shopify,G as Utils};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import"../chunks/routes-CaSRr919.esm.js";import"../utils/logger.esm.js";import{s as i}from"../chunks/index-kDoWfjd5.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";export{i as sendLog};
1
+ import"../chunks/routes-Be8scSEK.esm.js";import"../utils/logger.esm.js";import{s as i}from"../chunks/index-CXJEBQUg.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";export{i as sendLog};
2
2
  //# sourceMappingURL=logs.esm.js.map
@@ -1,2 +1,2 @@
1
- import"../chunks/routes-KHEaM_40.esm.js";import"../utils/logger.js";import{s as i}from"../chunks/index-CFYWEffm.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";export{i as sendLog};
1
+ import"../chunks/routes-Bgj1HGgx.esm.js";import"../utils/logger.js";import{s as i}from"../chunks/index-BNVaWVJi.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";export{i as sendLog};
2
2
  //# sourceMappingURL=logs.js.map
@@ -1,2 +1,2 @@
1
- import"../chunks/vendor-DRA8u-S7.esm.js";import"../utils/cookies.esm.js";import"../utils/local-storage.esm.js";import{c as a,e as n}from"../chunks/index-C_ZNnJIS.esm.js";import"../chunks/lit-5uUWs2aX.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";export{a as createSession,n as endSession};
1
+ import"../chunks/vendor-KKSARHWL.esm.js";import"../utils/cookies.esm.js";import"../utils/local-storage.esm.js";import{c as a,e as n}from"../chunks/index-IKiJwo5v.esm.js";import"../chunks/lit-WqMxC_PA.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";export{a as createSession,n as endSession};
2
2
  //# sourceMappingURL=session.esm.js.map
@@ -1,2 +1,2 @@
1
- import"../chunks/vendor-DRA8u-S7.esm.js";import"../utils/cookies.js";import"../utils/local-storage.js";import{c as a,e as n}from"../chunks/index-BQ4Nr7Ux.esm.js";import"../chunks/lit-5uUWs2aX.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";export{a as createSession,n as endSession};
1
+ import"../chunks/vendor-KKSARHWL.esm.js";import"../utils/cookies.js";import"../utils/local-storage.js";import{c as a,e as n}from"../chunks/index-BNjsFEGn.esm.js";import"../chunks/lit-WqMxC_PA.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";export{a as createSession,n as endSession};
2
2
  //# sourceMappingURL=session.js.map
@@ -1,4 +1,4 @@
1
- export { B as BeamShopifyCartIntegrationConfig, T as TBeamOrderPageParams, a as addBeamAttributesToCart, d as appendBeamAttributesToCart, b as appendStatsigToShopifyCartAttributes, c as appendToShopifyCartBeamAttribute, g as getCurrentCart, e as getShopifyCart, r as registerCartIntegration, s as showBeamOrderPageWidgets, t as trackCart } from '../chunks/order-page-tSPKLQ24.esm.js';
1
+ export { B as BeamShopifyCartIntegrationConfig, T as TBeamOrderPageParams, a as addBeamAttributesToCart, d as appendBeamAttributesToCart, b as appendStatsigToShopifyCartAttributes, c as appendToShopifyCartBeamAttribute, f as getBeamAttributesForCart, g as getCurrentCart, e as getShopifyCart, r as registerCartIntegration, s as showBeamOrderPageWidgets, t as trackCart } from '../chunks/order-page-Cerye00Q.esm.js';
2
2
  import 'lodash';
3
3
  import '../chunks/update-cart-NiToHHJH.esm.js';
4
4
  import '../chunks/types-C7gqAyyH.esm.js';
@@ -13,5 +13,5 @@ import '../chunks/promo-pill-label-BXRqZHET.esm.js';
13
13
  import '../components/beam-partner-logos.js';
14
14
  import '../chunks/types-CPxMwnoR.esm.js';
15
15
  import '../components/impact-overview.js';
16
- import '../chunks/share-button-DBVhw4qa.esm.js';
16
+ import '../chunks/share-button-B9hpxBVr.esm.js';
17
17
  import '../chunks/routes-DDRd747e.esm.js';
@@ -1,2 +1,2 @@
1
- import{z as _,p as j,W as l,L as q,_ as v,I as D,K as E,s as F,Y as G}from"../chunks/order-page-FzVtMkga.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-DNfl9QP2.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../utils/remote-session.esm.js";import"../utils/cart.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-5uUWs2aX.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CHbTSPha.esm.js";import"../chunks/share-button-CvTUluNq.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../utils/wait-for-element.esm.js";export{_ as addBeamAttributesToCart,j as appendBeamAttributesToCart,l as appendStatsigToShopifyCartAttributes,q as appendToShopifyCartBeamAttribute,v as getCurrentCart,D as getShopifyCart,E as registerCartIntegration,F as showBeamOrderPageWidgets,G as trackCart};
1
+ import{z as Y,f as _,W as j,L as l,p as q,_ as v,I as D,K as E,s as G,Y as H}from"../chunks/order-page-CTpjnsoe.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/memoize-last.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-Cih70sgI.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../utils/remote-session.esm.js";import"../utils/cart.esm.js";import"../components/post-purchase.esm.js";import"../chunks/lit-WqMxC_PA.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CFBQaddH.esm.js";import"../chunks/share-button-CcD-wBHE.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-BuneDluf.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../utils/wait-for-element.esm.js";export{Y as addBeamAttributesToCart,_ as appendBeamAttributesToCart,j as appendStatsigToShopifyCartAttributes,l as appendToShopifyCartBeamAttribute,q as getBeamAttributesForCart,v as getCurrentCart,D as getShopifyCart,E as registerCartIntegration,G as showBeamOrderPageWidgets,H as trackCart};
2
2
  //# sourceMappingURL=shopify.esm.js.map
@@ -1,2 +1,2 @@
1
- import{z as _,p as j,W as l,L as q,_ as v,I as D,K as E,s as F,Y as G}from"../chunks/order-page-CMGPM57D.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/memoize-last.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../utils/cookies.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-3JFUCJLD.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../utils/remote-session.js";import"../utils/cart.js";import"../components/post-purchase.js";import"../chunks/lit-5uUWs2aX.esm.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-B3N69ml2.esm.js";import"../chunks/share-button-BbG-gnwj.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../utils/wait-for-element.js";export{_ as addBeamAttributesToCart,j as appendBeamAttributesToCart,l as appendStatsigToShopifyCartAttributes,q as appendToShopifyCartBeamAttribute,v as getCurrentCart,D as getShopifyCart,E as registerCartIntegration,F as showBeamOrderPageWidgets,G as trackCart};
1
+ import{z as Y,f as _,W as j,L as l,p as q,_ as v,I as D,K as E,s as G,Y as H}from"../chunks/order-page-BH3Qr433.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/logger.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/memoize-last.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../utils/cookies.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/update-cart-C8ufWemL.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../utils/remote-session.js";import"../utils/cart.js";import"../components/post-purchase.js";import"../chunks/lit-WqMxC_PA.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../components/redeem-transaction.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-x5pyLsew.esm.js";import"../chunks/share-button-BX-kWAd0.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-DK30KQ6n.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../utils/wait-for-element.js";export{Y as addBeamAttributesToCart,_ as appendBeamAttributesToCart,j as appendStatsigToShopifyCartAttributes,l as appendToShopifyCartBeamAttribute,q as getBeamAttributesForCart,v as getCurrentCart,D as getShopifyCart,E as registerCartIntegration,G as showBeamOrderPageWidgets,H as trackCart};
2
2
  //# sourceMappingURL=shopify.js.map
@@ -1,4 +1,4 @@
1
- import{d as M}from"../chunks/routes-CaSRr919.esm.js";import{B as D}from"../chunks/cart-contents-DkoytiZh.esm.js";import{h as O,b as W,c as K}from"../chunks/events-BohmT6Lp.esm.js";import{B as g}from"../chunks/beam-errors-Ci0d3926.esm.js";import{getCookieValue as _,setCookieValue as P}from"../utils/cookies.esm.js";import{logger as A}from"../utils/logger.esm.js";import{saveRemoteSession as j}from"../utils/remote-session.esm.js";import"../utils/local-storage.esm.js";var b=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},d=(e,t,i)=>(b(e,t,"read from private field"),i?i.call(e):t.get(e)),n=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},T=(e,t,i,a)=>(b(e,t,"write to private field"),t.set(e,i),i),h=(e,t,i)=>(b(e,t,"access private method"),i),l,p,E,L,v,B,m,f,$,u,S,y,k,I,x;const z=4,G=`https://cdn.jsdelivr.net/npm/statsig-js@${z}/build/statsig-prod-web-sdk.min.js`,N="beam_statsig_session_id",s="data-beam-visibility",F="beam-sync-visibility",w={STATSIG_INIT:"statsig_init",CART_CREATED:"cart_created",ORDER_CREATED:"order_created",BEAM_SELECTION:"beam_selection"};class U{constructor(t){n(this,E),n(this,v),n(this,f),n(this,u),n(this,y),n(this,I),this.name="statsig",this.experiments={shouldShowBeam:!1,isLoggingEnabled:!0},n(this,l,void 0),n(this,p,void 0),n(this,m,[]),this.statsigApiKey=t.statsigApiKey,this.beforeLogEvent=t.beforeLogEvent}async init(t){T(this,l,t),h(this,E,L).call(this),h(this,u,S).call(this,"hide");const i=document.createElement("style");if(i.innerHTML=`
1
+ import{d as M}from"../chunks/routes-Be8scSEK.esm.js";import{B as D}from"../chunks/cart-contents-DkoytiZh.esm.js";import{h as O,b as W,c as K}from"../chunks/events-BohmT6Lp.esm.js";import{B as g}from"../chunks/beam-errors-Ci0d3926.esm.js";import{getCookieValue as _,setCookieValue as P}from"../utils/cookies.esm.js";import{logger as A}from"../utils/logger.esm.js";import{saveRemoteSession as j}from"../utils/remote-session.esm.js";import"../utils/local-storage.esm.js";var b=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},d=(e,t,i)=>(b(e,t,"read from private field"),i?i.call(e):t.get(e)),n=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},T=(e,t,i,a)=>(b(e,t,"write to private field"),t.set(e,i),i),h=(e,t,i)=>(b(e,t,"access private method"),i),l,p,E,L,v,B,m,f,$,u,S,y,k,I,x;const z=4,G=`https://cdn.jsdelivr.net/npm/statsig-js@${z}/build/statsig-prod-web-sdk.min.js`,N="beam_statsig_session_id",s="data-beam-visibility",F="beam-sync-visibility",w={STATSIG_INIT:"statsig_init",CART_CREATED:"cart_created",ORDER_CREATED:"order_created",BEAM_SELECTION:"beam_selection"};class U{constructor(t){n(this,E),n(this,v),n(this,f),n(this,u),n(this,y),n(this,I),this.name="statsig",this.experiments={shouldShowBeam:!1,isLoggingEnabled:!0},n(this,l,void 0),n(this,p,void 0),n(this,m,[]),this.statsigApiKey=t.statsigApiKey,this.beforeLogEvent=t.beforeLogEvent}async init(t){T(this,l,t),h(this,E,L).call(this),h(this,u,S).call(this,"hide");const i=document.createElement("style");if(i.innerHTML=`
2
2
  [${s}="hide"] beam-select-nonprofit,
3
3
  [${s}="hide"] beam-post-purchase,
4
4
  [${s}="hide"] beam-redeem-transaction,
@@ -1,4 +1,4 @@
1
- import{d as M}from"../chunks/routes-KHEaM_40.esm.js";import{B as D}from"../chunks/cart-contents-DkoytiZh.esm.js";import{h as O,b as W,c as K}from"../chunks/events-BohmT6Lp.esm.js";import{B as g}from"../chunks/beam-errors-Ci0d3926.esm.js";import{getCookieValue as _,setCookieValue as P}from"../utils/cookies.js";import{logger as A}from"../utils/logger.js";import{saveRemoteSession as j}from"../utils/remote-session.js";import"../utils/local-storage.js";var b=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},d=(e,t,i)=>(b(e,t,"read from private field"),i?i.call(e):t.get(e)),n=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},T=(e,t,i,a)=>(b(e,t,"write to private field"),t.set(e,i),i),h=(e,t,i)=>(b(e,t,"access private method"),i),l,p,E,L,v,B,m,f,$,u,S,y,k,I,x;const z=4,G=`https://cdn.jsdelivr.net/npm/statsig-js@${z}/build/statsig-prod-web-sdk.min.js`,N="beam_statsig_session_id",s="data-beam-visibility",F="beam-sync-visibility",w={STATSIG_INIT:"statsig_init",CART_CREATED:"cart_created",ORDER_CREATED:"order_created",BEAM_SELECTION:"beam_selection"};class U{constructor(t){n(this,E),n(this,v),n(this,f),n(this,u),n(this,y),n(this,I),this.name="statsig",this.experiments={shouldShowBeam:!1,isLoggingEnabled:!0},n(this,l,void 0),n(this,p,void 0),n(this,m,[]),this.statsigApiKey=t.statsigApiKey,this.beforeLogEvent=t.beforeLogEvent}async init(t){T(this,l,t),h(this,E,L).call(this),h(this,u,S).call(this,"hide");const i=document.createElement("style");if(i.innerHTML=`
1
+ import{d as M}from"../chunks/routes-Bgj1HGgx.esm.js";import{B as D}from"../chunks/cart-contents-DkoytiZh.esm.js";import{h as O,b as W,c as K}from"../chunks/events-BohmT6Lp.esm.js";import{B as g}from"../chunks/beam-errors-Ci0d3926.esm.js";import{getCookieValue as _,setCookieValue as P}from"../utils/cookies.js";import{logger as A}from"../utils/logger.js";import{saveRemoteSession as j}from"../utils/remote-session.js";import"../utils/local-storage.js";var b=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},d=(e,t,i)=>(b(e,t,"read from private field"),i?i.call(e):t.get(e)),n=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},T=(e,t,i,a)=>(b(e,t,"write to private field"),t.set(e,i),i),h=(e,t,i)=>(b(e,t,"access private method"),i),l,p,E,L,v,B,m,f,$,u,S,y,k,I,x;const z=4,G=`https://cdn.jsdelivr.net/npm/statsig-js@${z}/build/statsig-prod-web-sdk.min.js`,N="beam_statsig_session_id",s="data-beam-visibility",F="beam-sync-visibility",w={STATSIG_INIT:"statsig_init",CART_CREATED:"cart_created",ORDER_CREATED:"order_created",BEAM_SELECTION:"beam_selection"};class U{constructor(t){n(this,E),n(this,v),n(this,f),n(this,u),n(this,y),n(this,I),this.name="statsig",this.experiments={shouldShowBeam:!1,isLoggingEnabled:!0},n(this,l,void 0),n(this,p,void 0),n(this,m,[]),this.statsigApiKey=t.statsigApiKey,this.beforeLogEvent=t.beforeLogEvent}async init(t){T(this,l,t),h(this,E,L).call(this),h(this,u,S).call(this,"hide");const i=document.createElement("style");if(i.innerHTML=`
2
2
  [${s}="hide"] beam-select-nonprofit,
3
3
  [${s}="hide"] beam-post-purchase,
4
4
  [${s}="hide"] beam-redeem-transaction,
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamPartnerLogos as a}from"../components/beam-partner-logos.esm.js";const e=r({tagName:"beam-partner-logos",elementClass:a,react:o,events:{}});export{e as BeamPartnerLogos,e as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamPartnerLogos as a}from"../components/beam-partner-logos.esm.js";const e=r({tagName:"beam-partner-logos",elementClass:a,react:o,events:{}});export{e as BeamPartnerLogos,e as default};
2
2
  //# sourceMappingURL=beam-partner-logos.esm.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamPartnerLogos as a}from"../components/beam-partner-logos.js";const e=r({tagName:"beam-partner-logos",elementClass:a,react:o,events:{}});export{e as BeamPartnerLogos,e as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamPartnerLogos as a}from"../components/beam-partner-logos.js";const e=r({tagName:"beam-partner-logos",elementClass:a,react:o,events:{}});export{e as BeamPartnerLogos,e as default};
2
2
  //# sourceMappingURL=beam-partner-logos.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";const t=r({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";const t=r({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
2
2
  //# sourceMappingURL=community-impact.esm.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";const t=r({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamCommunityImpact as m}from"../components/community-impact.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";const t=r({tagName:m.tagName,elementClass:m,react:o,events:{}});export{t as BeamCommunityImpact,t as default};
2
2
  //# sourceMappingURL=community-impact.js.map
@@ -1,2 +1,2 @@
1
- import a from"react";import{l as e}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
1
+ import a from"react";import{l as e}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
2
2
  //# sourceMappingURL=cumulative-impact.esm.js.map
@@ -1,2 +1,2 @@
1
- import a from"react";import{l as e}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
1
+ import a from"react";import{l as e}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamCumulativeImpact as m}from"../components/cumulative-impact.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:a,events:{}});export{t as BeamCumulativeImpact,t as default};
2
2
  //# sourceMappingURL=cumulative-impact.js.map
@@ -7,7 +7,7 @@ import '../chunks/types-C7gqAyyH.esm.js';
7
7
  import '../chunks/progress-bar-CveZ8E6Q.esm.js';
8
8
  import '../chunks/types-CPxMwnoR.esm.js';
9
9
  import '../components/beam-partner-logos.js';
10
- import '../chunks/share-button-DBVhw4qa.esm.js';
10
+ import '../chunks/share-button-B9hpxBVr.esm.js';
11
11
 
12
12
  declare const BeamImpactOverview: _lit_react.ReactWebComponent<BeamImpactOverview$1, {}>;
13
13
 
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as o}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/_share-dialog-dependencies-CHbTSPha.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/share-button-CvTUluNq.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";const t=o({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
1
+ import r from"react";import{l as o}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/_share-dialog-dependencies-CFBQaddH.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/share-button-CcD-wBHE.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-BuneDluf.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";const t=o({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
2
2
  //# sourceMappingURL=impact-overview.esm.js.map
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as o}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/_share-dialog-dependencies-B3N69ml2.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/share-button-BbG-gnwj.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../components/beam-partner-logos.js";import"../chunks/responsive-9jAzOYoE.esm.js";const t=o({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
1
+ import r from"react";import{l as o}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/_share-dialog-dependencies-x5pyLsew.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/share-button-BX-kWAd0.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-DK30KQ6n.esm.js";import"../components/beam-partner-logos.js";import"../chunks/responsive-BR8qUfBa.esm.js";const t=o({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
2
2
  //# sourceMappingURL=impact-overview.js.map
@@ -20,7 +20,7 @@ import '../chunks/types-CPxMwnoR.esm.js';
20
20
  import '../components/cumulative-impact.js';
21
21
  import 'lodash';
22
22
  import '../components/impact-overview.js';
23
- import '../chunks/share-button-DBVhw4qa.esm.js';
23
+ import '../chunks/share-button-B9hpxBVr.esm.js';
24
24
  import '../chunks/events-BKkf9u9l.esm.js';
25
25
  import '../chunks/cart-contents-CUgc4y1N.esm.js';
26
26
  import '../chunks/openapi-spec-VAt3phhg.esm.js';
@@ -1,2 +1,2 @@
1
- import{BeamCommunityImpact as F}from"./community-impact.esm.js";import{BeamCumulativeImpact as H}from"./cumulative-impact.esm.js";import{BeamImpactOverview as K}from"./impact-overview.esm.js";import{BeamSelectNonprofit as Q}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as V}from"./redeem-transaction.esm.js";import{BeamPostPurchase as X}from"./post-purchase.esm.js";import{BeamSubscriptionManagement as Z}from"./subscription-management.esm.js";import{BeamSelectSubscriptionNonprofit as $}from"./select-subscription-nonprofit.esm.js";import{BeamSubscriptionImpact as ro}from"./subscription-impact.esm.js";import{BeamProductDetailsPage as to}from"./product-details-page.esm.js";import{BeamSocialShare as io}from"./social-share.esm.js";import"react";import"../chunks/lit-5uUWs2aX.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../components/cumulative-impact.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CHbTSPha.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/share-button-CvTUluNq.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/select-nonprofit.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../utils/local-storage.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.esm.js";import"../components/redeem-transaction.esm.js";import"../components/post-purchase.esm.js";import"../components/subscription-management.esm.js";import"../components/select-subscription-nonprofit.esm.js";import"../utils/makeApiKeyHeader.esm.js";import"../components/subscription-impact.esm.js";import"../components/product-details-page.esm.js";import"../components/social-share.esm.js";export{F as BeamCommunityImpact,H as BeamCumulativeImpact,K as BeamImpactOverview,X as BeamPostPurchase,to as BeamProductDetailsPage,V as BeamRedeemTransaction,Q as BeamSelectNonprofit,$ as BeamSelectSubscriptionNonprofit,io as BeamSocialShare,ro as BeamSubscriptionImpact,Z as BeamSubscriptionManagement};
1
+ import{BeamCommunityImpact as F}from"./community-impact.esm.js";import{BeamCumulativeImpact as H}from"./cumulative-impact.esm.js";import{BeamImpactOverview as K}from"./impact-overview.esm.js";import{BeamSelectNonprofit as Q}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as V}from"./redeem-transaction.esm.js";import{BeamPostPurchase as X}from"./post-purchase.esm.js";import{BeamSubscriptionManagement as Z}from"./subscription-management.esm.js";import{BeamSelectSubscriptionNonprofit as $}from"./select-subscription-nonprofit.esm.js";import{BeamSubscriptionImpact as ro}from"./subscription-impact.esm.js";import{BeamProductDetailsPage as to}from"./product-details-page.esm.js";import{BeamSocialShare as io}from"./social-share.esm.js";import"react";import"../chunks/lit-WqMxC_PA.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/cumulative-impact.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CFBQaddH.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/share-button-CcD-wBHE.esm.js";import"../chunks/share-button-BuneDluf.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/select-nonprofit.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../utils/local-storage.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.esm.js";import"../components/redeem-transaction.esm.js";import"../components/post-purchase.esm.js";import"../components/subscription-management.esm.js";import"../components/select-subscription-nonprofit.esm.js";import"../utils/makeApiKeyHeader.esm.js";import"../components/subscription-impact.esm.js";import"../components/product-details-page.esm.js";import"../components/social-share.esm.js";export{F as BeamCommunityImpact,H as BeamCumulativeImpact,K as BeamImpactOverview,X as BeamPostPurchase,to as BeamProductDetailsPage,V as BeamRedeemTransaction,Q as BeamSelectNonprofit,$ as BeamSelectSubscriptionNonprofit,io as BeamSocialShare,ro as BeamSubscriptionImpact,Z as BeamSubscriptionManagement};
2
2
  //# sourceMappingURL=index.esm.js.map
@@ -1,2 +1,2 @@
1
- import{BeamCommunityImpact as F}from"./community-impact.js";import{BeamCumulativeImpact as H}from"./cumulative-impact.js";import{BeamImpactOverview as K}from"./impact-overview.js";import{BeamSelectNonprofit as Q}from"./select-nonprofit.js";import{BeamRedeemTransaction as V}from"./redeem-transaction.js";import{BeamPostPurchase as X}from"./post-purchase.js";import{BeamSubscriptionManagement as Z}from"./subscription-management.js";import{BeamSelectSubscriptionNonprofit as $}from"./select-subscription-nonprofit.js";import{BeamSubscriptionImpact as ro}from"./subscription-impact.js";import{BeamProductDetailsPage as to}from"./product-details-page.js";import{BeamSocialShare as io}from"./social-share.js";import"react";import"../chunks/lit-5uUWs2aX.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../components/cumulative-impact.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-B3N69ml2.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/share-button-BbG-gnwj.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/select-nonprofit.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../utils/local-storage.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../utils/cookies.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.js";import"../components/redeem-transaction.js";import"../components/post-purchase.js";import"../components/subscription-management.js";import"../components/select-subscription-nonprofit.js";import"../utils/makeApiKeyHeader.js";import"../components/subscription-impact.js";import"../components/product-details-page.js";import"../components/social-share.js";export{F as BeamCommunityImpact,H as BeamCumulativeImpact,K as BeamImpactOverview,X as BeamPostPurchase,to as BeamProductDetailsPage,V as BeamRedeemTransaction,Q as BeamSelectNonprofit,$ as BeamSelectSubscriptionNonprofit,io as BeamSocialShare,ro as BeamSubscriptionImpact,Z as BeamSubscriptionManagement};
1
+ import{BeamCommunityImpact as F}from"./community-impact.js";import{BeamCumulativeImpact as H}from"./cumulative-impact.js";import{BeamImpactOverview as K}from"./impact-overview.js";import{BeamSelectNonprofit as Q}from"./select-nonprofit.js";import{BeamRedeemTransaction as V}from"./redeem-transaction.js";import{BeamPostPurchase as X}from"./post-purchase.js";import{BeamSubscriptionManagement as Z}from"./subscription-management.js";import{BeamSelectSubscriptionNonprofit as $}from"./select-subscription-nonprofit.js";import{BeamSubscriptionImpact as ro}from"./subscription-impact.js";import{BeamProductDetailsPage as to}from"./product-details-page.js";import{BeamSocialShare as io}from"./social-share.js";import"react";import"../chunks/lit-WqMxC_PA.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/cumulative-impact.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-x5pyLsew.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/share-button-BX-kWAd0.esm.js";import"../chunks/share-button-DK30KQ6n.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/select-nonprofit.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../utils/local-storage.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../utils/cookies.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.js";import"../components/redeem-transaction.js";import"../components/post-purchase.js";import"../components/subscription-management.js";import"../components/select-subscription-nonprofit.js";import"../utils/makeApiKeyHeader.js";import"../components/subscription-impact.js";import"../components/product-details-page.js";import"../components/social-share.js";export{F as BeamCommunityImpact,H as BeamCumulativeImpact,K as BeamImpactOverview,X as BeamPostPurchase,to as BeamProductDetailsPage,V as BeamRedeemTransaction,Q as BeamSelectNonprofit,$ as BeamSelectSubscriptionNonprofit,io as BeamSocialShare,ro as BeamSubscriptionImpact,Z as BeamSubscriptionManagement};
2
2
  //# sourceMappingURL=index.js.map
@@ -12,7 +12,7 @@ import '../chunks/types-CPxMwnoR.esm.js';
12
12
  import '../chunks/cart-contents-CUgc4y1N.esm.js';
13
13
  import '../chunks/openapi-spec-VAt3phhg.esm.js';
14
14
  import '../components/impact-overview.js';
15
- import '../chunks/share-button-DBVhw4qa.esm.js';
15
+ import '../chunks/share-button-B9hpxBVr.esm.js';
16
16
 
17
17
  declare const BeamPostPurchase: _lit_react.ReactWebComponent<BeamPostPurchase$1, {}>;
18
18
 
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/cookies.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../utils/logger.esm.js";import"../utils/local-storage.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CHbTSPha.esm.js";import"../chunks/share-button-CvTUluNq.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/cookies.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../utils/logger.esm.js";import"../utils/local-storage.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/impact-overview.esm.js";import"../chunks/_share-dialog-dependencies-CFBQaddH.esm.js";import"../chunks/share-button-CcD-wBHE.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-BuneDluf.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
2
2
  //# sourceMappingURL=post-purchase.esm.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/cookies.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../utils/logger.js";import"../utils/local-storage.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../chunks/routes-KHEaM_40.esm.js";import"../components/redeem-transaction.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-B3N69ml2.esm.js";import"../chunks/share-button-BbG-gnwj.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-R7jgVCPv.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/promoManager-B9cTR1R3.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/cookies.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../utils/logger.js";import"../utils/local-storage.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../components/redeem-transaction.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../components/impact-overview.js";import"../chunks/_share-dialog-dependencies-x5pyLsew.esm.js";import"../chunks/share-button-BX-kWAd0.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-DK30KQ6n.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../chunks/promoManager-B9cTR1R3.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
2
2
  //# sourceMappingURL=post-purchase.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../utils/local-storage.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/makeApiKeyHeader.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/cart.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamProductDetailsPage,m as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../utils/local-storage.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/makeApiKeyHeader.esm.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/cart.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamProductDetailsPage,m as default};
2
2
  //# sourceMappingURL=product-details-page.esm.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-5uUWs2aX.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/routes-KHEaM_40.esm.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../utils/cookies.js";import"../utils/local-storage.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/makeApiKeyHeader.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/cart.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamProductDetailsPage,m as default};
1
+ import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/promoManager-B9cTR1R3.esm.js";import"../utils/cookies.js";import"../utils/local-storage.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/makeApiKeyHeader.js";import"../chunks/events-BohmT6Lp.esm.js";import"../utils/cart.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamProductDetailsPage,m as default};
2
2
  //# sourceMappingURL=product-details-page.js.map
@@ -1,2 +1,2 @@
1
- import e from"react";import{l as o}from"../chunks/lit-5uUWs2aX.esm.js";import{c as r}from"../chunks/events-BohmT6Lp.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../utils/local-storage.esm.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";const m=o({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:r.eventName}});export{m as BeamRedeemTransaction,m as default};
1
+ import e from"react";import{l as o}from"../chunks/lit-WqMxC_PA.esm.js";import{c as r}from"../chunks/events-BohmT6Lp.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/local-storage.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";const m=o({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:r.eventName}});export{m as BeamRedeemTransaction,m as default};
2
2
  //# sourceMappingURL=redeem-transaction.esm.js.map
@@ -1,2 +1,2 @@
1
- import e from"react";import{l as o}from"../chunks/lit-5uUWs2aX.esm.js";import{c as r}from"../chunks/events-BohmT6Lp.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/localize-CQCRjY9s.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/routes-KHEaM_40.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-CQb5MiAV.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../utils/local-storage.js";import"../chunks/css-card-grid-B6IEaTiP.esm.js";const m=o({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:r.eventName}});export{m as BeamRedeemTransaction,m as default};
1
+ import e from"react";import{l as o}from"../chunks/lit-WqMxC_PA.esm.js";import{c as r}from"../chunks/events-BohmT6Lp.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/routes-Bgj1HGgx.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/local-storage.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";const m=o({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:r.eventName}});export{m as BeamRedeemTransaction,m as default};
2
2
  //# sourceMappingURL=redeem-transaction.js.map
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as m}from"../chunks/lit-5uUWs2aX.esm.js";import{c as r}from"../chunks/events-BohmT6Lp.esm.js";import{BeamSelectNonprofit as e}from"../components/select-nonprofit.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/localize-cDQFOecn.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-CaSRr919.esm.js";import"../chunks/progress-bar-oJB_t7od.esm.js";import"../chunks/promo-pill-label-D9ptiGak.esm.js";import"../chunks/vendor-DRA8u-S7.esm.js";import"../chunks/enforce-config-Cw52SuAc.esm.js";import"../chunks/loading-template-DXNS89Th.esm.js";import"../utils/local-storage.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../chunks/responsive-9jAzOYoE.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.esm.js";const t=m({tagName:"beam-select-nonprofit",elementClass:e,react:o,events:{onNonprofitSelect:r.eventName}});export{t as BeamSelectNonprofit,t as default};
1
+ import o from"react";import{l as m}from"../chunks/lit-WqMxC_PA.esm.js";import{c as r}from"../chunks/events-BohmT6Lp.esm.js";import{BeamSelectNonprofit as e}from"../components/select-nonprofit.esm.js";import"../chunks/lodash-7H4x2457.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-Be8scSEK.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-CbW_Vcru.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/local-storage.esm.js";import"../chunks/promoManager-fl54hq13.esm.js";import"../utils/cookies.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.esm.js";const t=m({tagName:"beam-select-nonprofit",elementClass:e,react:o,events:{onNonprofitSelect:r.eventName}});export{t as BeamSelectNonprofit,t as default};
2
2
  //# sourceMappingURL=select-nonprofit.esm.js.map