@beamimpact/web-sdk 1.55.8 → 1.57.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/README.md +5 -0
  2. package/dist/chunks/_share-dialog-dependencies-U9953n3E.esm.js +2 -0
  3. package/dist/chunks/{_share-dialog-dependencies-BG0p8uUr.esm.js.map → _share-dialog-dependencies-U9953n3E.esm.js.map} +1 -1
  4. package/dist/chunks/{order-page-Qn1yyNbN.esm.d.ts → cart-ChovPXmM.esm.d.ts} +19 -41
  5. package/dist/chunks/css-card-grid-BUidQqf0.esm.js +21 -0
  6. package/dist/chunks/css-card-grid-BUidQqf0.esm.js.map +1 -0
  7. package/dist/chunks/handlebars-B_i-to-h.esm.js +23 -0
  8. package/dist/chunks/handlebars-B_i-to-h.esm.js.map +1 -0
  9. package/dist/chunks/index--PfL-_nX.esm.js +2 -0
  10. package/dist/chunks/index--PfL-_nX.esm.js.map +1 -0
  11. package/dist/chunks/index-B4xKTDaF.esm.js +2 -0
  12. package/dist/chunks/index-B4xKTDaF.esm.js.map +1 -0
  13. package/dist/chunks/index-BG4XJXUa.esm.d.ts +28 -0
  14. package/dist/chunks/index-BHglsF5j.esm.js +2 -0
  15. package/dist/chunks/index-BHglsF5j.esm.js.map +1 -0
  16. package/dist/chunks/{index-C-hPf29c.esm.d.ts → index-BY5lSRmw.esm.d.ts} +4 -1
  17. package/dist/chunks/{index-BjGPkgs-.esm.d.ts → index-BoIHE1tC.esm.d.ts} +16 -1
  18. package/dist/chunks/index-CTsxQr7R.esm.js +32 -0
  19. package/dist/chunks/index-CTsxQr7R.esm.js.map +1 -0
  20. package/dist/chunks/{index-2OQzw7UI.esm.js → index-CVmIOuEY.esm.js} +28 -18
  21. package/dist/chunks/index-CVmIOuEY.esm.js.map +1 -0
  22. package/dist/chunks/{index-CBS5Fqry.esm.d.ts → index-CdinWvYu.esm.d.ts} +4 -2
  23. package/dist/chunks/index-DBKUxzAl.esm.js +32 -0
  24. package/dist/chunks/index-DBKUxzAl.esm.js.map +1 -0
  25. package/dist/chunks/{index-C5gnsl34.esm.js → index-DTw-q6W4.esm.js} +28 -18
  26. package/dist/chunks/index-DTw-q6W4.esm.js.map +1 -0
  27. package/dist/chunks/index-DhHhFTBE.esm.js +31 -0
  28. package/dist/chunks/index-DhHhFTBE.esm.js.map +1 -0
  29. package/dist/chunks/index-IQOpw0qx.esm.d.ts +65 -0
  30. package/dist/chunks/{index-rxgS4BLp.esm.d.ts → index-_0XeyyF9.esm.d.ts} +6 -2
  31. package/dist/chunks/index-cb5vYQx0.esm.js +2 -0
  32. package/dist/chunks/index-cb5vYQx0.esm.js.map +1 -0
  33. package/dist/chunks/lit-BEag9MFp.esm.js +25 -0
  34. package/dist/chunks/lit-BEag9MFp.esm.js.map +1 -0
  35. package/dist/chunks/lodash-CrMU6wKg.esm.js +2 -0
  36. package/dist/chunks/lodash-CrMU6wKg.esm.js.map +1 -0
  37. package/dist/chunks/{promo-pill-label-ByFGhdxh.esm.js → promo-pill-label-BdTmmg_U.esm.js} +3 -3
  38. package/dist/chunks/{promo-pill-label-ByFGhdxh.esm.js.map → promo-pill-label-BdTmmg_U.esm.js.map} +1 -1
  39. package/dist/chunks/{responsive-BR8qUfBa.esm.js → responsive-aN8P5PqD.esm.js} +2 -2
  40. package/dist/chunks/{responsive-BR8qUfBa.esm.js.map → responsive-aN8P5PqD.esm.js.map} +1 -1
  41. package/dist/chunks/routes-D6Gtw6kZ.esm.d.ts +638 -0
  42. package/dist/chunks/share-button-7sI6zg-x.esm.js +54 -0
  43. package/dist/chunks/share-button-7sI6zg-x.esm.js.map +1 -0
  44. package/dist/chunks/{share-button-DmjRJmXh.esm.js → share-button-BaIbuJOl.esm.js} +9 -4
  45. package/dist/chunks/share-button-BaIbuJOl.esm.js.map +1 -0
  46. package/dist/chunks/{update-cart-CauFT0AF.esm.d.ts → update-cart-CcgzHTEm.esm.d.ts} +3 -3
  47. package/dist/chunks/utils-BjhsDvuU.esm.js +2 -0
  48. package/dist/chunks/utils-BjhsDvuU.esm.js.map +1 -0
  49. package/dist/chunks/{openapi-spec-Bk7E2QQP.esm.d.ts → utils-D8HO_RIu.esm.d.ts} +615 -11
  50. package/dist/chunks/vendor-DUOg5fL-.esm.js +1286 -0
  51. package/dist/chunks/vendor-DUOg5fL-.esm.js.map +1 -0
  52. package/dist/components/beam-partner-logos.d.ts +3 -1
  53. package/dist/components/beam-partner-logos.esm.js +5 -5
  54. package/dist/components/beam-partner-logos.esm.js.map +1 -1
  55. package/dist/components/beam-partner-logos.js +5 -5
  56. package/dist/components/beam-partner-logos.js.map +1 -1
  57. package/dist/components/community-impact.d.ts +3 -4
  58. package/dist/components/community-impact.esm.js +13 -8
  59. package/dist/components/community-impact.esm.js.map +1 -1
  60. package/dist/components/community-impact.js +13 -8
  61. package/dist/components/community-impact.js.map +1 -1
  62. package/dist/components/cumulative-impact.d.ts +3 -2
  63. package/dist/components/cumulative-impact.esm.js +3 -3
  64. package/dist/components/cumulative-impact.esm.js.map +1 -1
  65. package/dist/components/cumulative-impact.js +3 -3
  66. package/dist/components/cumulative-impact.js.map +1 -1
  67. package/dist/components/impact-overview.d.ts +38 -40
  68. package/dist/components/impact-overview.esm.js +10 -5
  69. package/dist/components/impact-overview.esm.js.map +1 -1
  70. package/dist/components/impact-overview.js +10 -5
  71. package/dist/components/impact-overview.js.map +1 -1
  72. package/dist/components/index.d.ts +6 -9
  73. package/dist/components/index.esm.js +1 -1
  74. package/dist/components/index.js +1 -1
  75. package/dist/components/post-purchase.d.ts +9 -12
  76. package/dist/components/post-purchase.esm.js +1 -31
  77. package/dist/components/post-purchase.esm.js.map +1 -1
  78. package/dist/components/post-purchase.js +1 -31
  79. package/dist/components/post-purchase.js.map +1 -1
  80. package/dist/components/product-details-page.d.ts +29 -28
  81. package/dist/components/product-details-page.esm.js +19 -19
  82. package/dist/components/product-details-page.esm.js.map +1 -1
  83. package/dist/components/product-details-page.js +19 -19
  84. package/dist/components/product-details-page.js.map +1 -1
  85. package/dist/components/redeem-transaction.d.ts +3 -7
  86. package/dist/components/redeem-transaction.esm.js +1 -1
  87. package/dist/components/redeem-transaction.js +1 -1
  88. package/dist/components/select-nonprofit.d.ts +3 -16
  89. package/dist/components/select-nonprofit.esm.js +8 -7
  90. package/dist/components/select-nonprofit.esm.js.map +1 -1
  91. package/dist/components/select-nonprofit.js +8 -7
  92. package/dist/components/select-nonprofit.js.map +1 -1
  93. package/dist/components/select-subscription-nonprofit.d.ts +3 -3
  94. package/dist/components/select-subscription-nonprofit.esm.js +44 -23
  95. package/dist/components/select-subscription-nonprofit.esm.js.map +1 -1
  96. package/dist/components/select-subscription-nonprofit.js +44 -23
  97. package/dist/components/select-subscription-nonprofit.js.map +1 -1
  98. package/dist/components/shopify.d.ts +9 -16
  99. package/dist/components/shopify.esm.js +1 -1
  100. package/dist/components/shopify.esm.js.map +1 -1
  101. package/dist/components/shopify.js +1 -1
  102. package/dist/components/shopify.js.map +1 -1
  103. package/dist/components/social-share.d.ts +15 -3
  104. package/dist/components/social-share.esm.js +12 -5
  105. package/dist/components/social-share.esm.js.map +1 -1
  106. package/dist/components/social-share.js +12 -5
  107. package/dist/components/social-share.js.map +1 -1
  108. package/dist/components/subscriber-select-nonprofit.d.ts +59 -0
  109. package/dist/components/subscriber-select-nonprofit.esm.js +137 -0
  110. package/dist/components/subscriber-select-nonprofit.esm.js.map +1 -0
  111. package/dist/components/subscriber-select-nonprofit.js +137 -0
  112. package/dist/components/subscriber-select-nonprofit.js.map +1 -0
  113. package/dist/components/subscription-impact.d.ts +38 -50
  114. package/dist/components/subscription-impact.esm.js +20 -8
  115. package/dist/components/subscription-impact.esm.js.map +1 -1
  116. package/dist/components/subscription-impact.js +20 -8
  117. package/dist/components/subscription-impact.js.map +1 -1
  118. package/dist/components/subscription-management.d.ts +91 -93
  119. package/dist/components/subscription-management.esm.js +7 -6
  120. package/dist/components/subscription-management.esm.js.map +1 -1
  121. package/dist/components/subscription-management.js +7 -6
  122. package/dist/components/subscription-management.js.map +1 -1
  123. package/dist/index.d.ts +40 -42
  124. package/dist/index.esm.js +1 -1
  125. package/dist/index.js +1 -1
  126. package/dist/integrations/beam.d.ts +5 -2
  127. package/dist/integrations/beam.esm.js +1 -1
  128. package/dist/integrations/beam.esm.js.map +1 -1
  129. package/dist/integrations/beam.js +1 -1
  130. package/dist/integrations/beam.js.map +1 -1
  131. package/dist/integrations/cart.d.ts +4 -4
  132. package/dist/integrations/cart.esm.js +1 -1
  133. package/dist/integrations/cart.js +1 -1
  134. package/dist/integrations/logs.d.ts +4 -2
  135. package/dist/integrations/logs.esm.js +1 -1
  136. package/dist/integrations/logs.js +1 -1
  137. package/dist/integrations/promoManager.d.ts +3 -1
  138. package/dist/integrations/promoManager.esm.js +1 -1
  139. package/dist/integrations/promoManager.esm.js.map +1 -1
  140. package/dist/integrations/promoManager.js +1 -1
  141. package/dist/integrations/promoManager.js.map +1 -1
  142. package/dist/integrations/session.d.ts +1 -1
  143. package/dist/integrations/session.esm.js +1 -1
  144. package/dist/integrations/session.js +1 -1
  145. package/dist/integrations/shopify-order.d.ts +38 -0
  146. package/dist/integrations/shopify-order.esm.js +2 -0
  147. package/dist/integrations/shopify-order.esm.js.map +1 -0
  148. package/dist/integrations/shopify-order.js +2 -0
  149. package/dist/integrations/shopify-order.js.map +1 -0
  150. package/dist/integrations/shopify.d.ts +5 -16
  151. package/dist/integrations/shopify.esm.js +1 -1
  152. package/dist/integrations/shopify.js +1 -1
  153. package/dist/integrations/statsig.d.ts +11 -5
  154. package/dist/integrations/statsig.esm.js +14 -14
  155. package/dist/integrations/statsig.esm.js.map +1 -1
  156. package/dist/integrations/statsig.js +14 -14
  157. package/dist/integrations/statsig.js.map +1 -1
  158. package/dist/integrations/utils.d.ts +1 -14
  159. package/dist/integrations/utils.esm.js +1 -1
  160. package/dist/integrations/utils.js +1 -1
  161. package/dist/react/beam-partner-logos.d.ts +3 -1
  162. package/dist/react/beam-partner-logos.esm.js +1 -1
  163. package/dist/react/beam-partner-logos.js +1 -1
  164. package/dist/react/community-impact.d.ts +3 -4
  165. package/dist/react/community-impact.esm.js +1 -1
  166. package/dist/react/community-impact.esm.js.map +1 -1
  167. package/dist/react/community-impact.js +1 -1
  168. package/dist/react/community-impact.js.map +1 -1
  169. package/dist/react/cumulative-impact.d.ts +3 -2
  170. package/dist/react/cumulative-impact.esm.js +1 -1
  171. package/dist/react/cumulative-impact.esm.js.map +1 -1
  172. package/dist/react/cumulative-impact.js +1 -1
  173. package/dist/react/cumulative-impact.js.map +1 -1
  174. package/dist/react/impact-overview.d.ts +3 -5
  175. package/dist/react/impact-overview.esm.js +1 -1
  176. package/dist/react/impact-overview.esm.js.map +1 -1
  177. package/dist/react/impact-overview.js +1 -1
  178. package/dist/react/impact-overview.js.map +1 -1
  179. package/dist/react/index.d.ts +7 -11
  180. package/dist/react/index.esm.js +1 -1
  181. package/dist/react/index.js +1 -1
  182. package/dist/react/post-purchase.d.ts +3 -8
  183. package/dist/react/post-purchase.esm.js +1 -1
  184. package/dist/react/post-purchase.esm.js.map +1 -1
  185. package/dist/react/post-purchase.js +1 -1
  186. package/dist/react/post-purchase.js.map +1 -1
  187. package/dist/react/product-details-page.d.ts +4 -3
  188. package/dist/react/product-details-page.esm.js +1 -1
  189. package/dist/react/product-details-page.esm.js.map +1 -1
  190. package/dist/react/product-details-page.js +1 -1
  191. package/dist/react/product-details-page.js.map +1 -1
  192. package/dist/react/redeem-transaction.d.ts +3 -9
  193. package/dist/react/redeem-transaction.esm.js +1 -1
  194. package/dist/react/redeem-transaction.esm.js.map +1 -1
  195. package/dist/react/redeem-transaction.js +1 -1
  196. package/dist/react/redeem-transaction.js.map +1 -1
  197. package/dist/react/select-nonprofit.d.ts +3 -8
  198. package/dist/react/select-nonprofit.esm.js +1 -1
  199. package/dist/react/select-nonprofit.esm.js.map +1 -1
  200. package/dist/react/select-nonprofit.js +1 -1
  201. package/dist/react/select-nonprofit.js.map +1 -1
  202. package/dist/react/select-subscription-nonprofit.d.ts +3 -7
  203. package/dist/react/select-subscription-nonprofit.esm.js +1 -1
  204. package/dist/react/select-subscription-nonprofit.esm.js.map +1 -1
  205. package/dist/react/select-subscription-nonprofit.js +1 -1
  206. package/dist/react/select-subscription-nonprofit.js.map +1 -1
  207. package/dist/react/shopify.d.ts +2 -2
  208. package/dist/react/shopify.esm.js +1 -1
  209. package/dist/react/shopify.esm.js.map +1 -1
  210. package/dist/react/shopify.js +1 -1
  211. package/dist/react/shopify.js.map +1 -1
  212. package/dist/react/social-share.d.ts +3 -3
  213. package/dist/react/social-share.esm.js +1 -1
  214. package/dist/react/social-share.esm.js.map +1 -1
  215. package/dist/react/social-share.js +1 -1
  216. package/dist/react/social-share.js.map +1 -1
  217. package/dist/react/subscriber-select-nonprofit.d.ts +14 -0
  218. package/dist/react/subscriber-select-nonprofit.esm.js +2 -0
  219. package/dist/react/subscriber-select-nonprofit.esm.js.map +1 -0
  220. package/dist/react/subscriber-select-nonprofit.js +2 -0
  221. package/dist/react/subscriber-select-nonprofit.js.map +1 -0
  222. package/dist/react/subscription-impact.d.ts +3 -4
  223. package/dist/react/subscription-impact.esm.js +1 -1
  224. package/dist/react/subscription-impact.esm.js.map +1 -1
  225. package/dist/react/subscription-impact.js +1 -1
  226. package/dist/react/subscription-impact.js.map +1 -1
  227. package/dist/react/subscription-management.d.ts +4 -7
  228. package/dist/react/subscription-management.esm.js +1 -1
  229. package/dist/react/subscription-management.esm.js.map +1 -1
  230. package/dist/react/subscription-management.js +1 -1
  231. package/dist/react/subscription-management.js.map +1 -1
  232. package/dist/utils/beam-errors.d.ts +3 -1
  233. package/dist/utils/beam-errors.esm.js +1 -1
  234. package/dist/utils/beam-errors.js +1 -1
  235. package/dist/utils/cart.d.ts +3 -18
  236. package/dist/utils/cart.esm.js +1 -1
  237. package/dist/utils/cart.esm.js.map +1 -1
  238. package/dist/utils/cart.js +1 -1
  239. package/dist/utils/cart.js.map +1 -1
  240. package/dist/utils/cookies.d.ts +3 -58
  241. package/dist/utils/cookies.esm.js +1 -1
  242. package/dist/utils/cookies.esm.js.map +1 -1
  243. package/dist/utils/cookies.js +1 -1
  244. package/dist/utils/cookies.js.map +1 -1
  245. package/dist/utils/debounce.esm.js +1 -1
  246. package/dist/utils/debounce.js +1 -1
  247. package/dist/utils/events.d.ts +3 -5
  248. package/dist/utils/events.esm.js +1 -1
  249. package/dist/utils/events.js +1 -1
  250. package/dist/utils/is-equal.esm.js +1 -1
  251. package/dist/utils/is-equal.js +1 -1
  252. package/dist/utils/local-storage.d.ts +3 -19
  253. package/dist/utils/local-storage.esm.js +1 -1
  254. package/dist/utils/local-storage.esm.js.map +1 -1
  255. package/dist/utils/local-storage.js +1 -1
  256. package/dist/utils/local-storage.js.map +1 -1
  257. package/dist/utils/logger.d.ts +3 -8
  258. package/dist/utils/logger.esm.js +1 -1
  259. package/dist/utils/logger.esm.js.map +1 -1
  260. package/dist/utils/logger.js +1 -1
  261. package/dist/utils/logger.js.map +1 -1
  262. package/dist/utils/makeApiKeyHeader.d.ts +3 -5
  263. package/dist/utils/makeApiKeyHeader.esm.js +1 -1
  264. package/dist/utils/makeApiKeyHeader.esm.js.map +1 -1
  265. package/dist/utils/makeApiKeyHeader.js +1 -1
  266. package/dist/utils/makeApiKeyHeader.js.map +1 -1
  267. package/dist/utils/memoize-last.d.ts +3 -17
  268. package/dist/utils/memoize-last.esm.js +1 -1
  269. package/dist/utils/memoize-last.esm.js.map +1 -1
  270. package/dist/utils/memoize-last.js +1 -1
  271. package/dist/utils/memoize-last.js.map +1 -1
  272. package/dist/utils/network-listeners.d.ts +3 -3
  273. package/dist/utils/network-listeners.esm.js +1 -1
  274. package/dist/utils/network-listeners.esm.js.map +1 -1
  275. package/dist/utils/network-listeners.js +1 -1
  276. package/dist/utils/network-listeners.js.map +1 -1
  277. package/dist/utils/promoManager.d.ts +3 -123
  278. package/dist/utils/promoManager.esm.js +1 -1
  279. package/dist/utils/promoManager.esm.js.map +1 -1
  280. package/dist/utils/promoManager.js +1 -1
  281. package/dist/utils/promoManager.js.map +1 -1
  282. package/dist/utils/remote-session.d.ts +3 -9
  283. package/dist/utils/remote-session.esm.js +1 -1
  284. package/dist/utils/remote-session.esm.js.map +1 -1
  285. package/dist/utils/remote-session.js +1 -1
  286. package/dist/utils/remote-session.js.map +1 -1
  287. package/dist/utils/wait-for-element.d.ts +3 -5
  288. package/dist/utils/wait-for-element.esm.js +1 -1
  289. package/dist/utils/wait-for-element.esm.js.map +1 -1
  290. package/dist/utils/wait-for-element.js +1 -1
  291. package/dist/utils/wait-for-element.js.map +1 -1
  292. package/package.json +45 -39
  293. package/dist/chunks/_share-dialog-dependencies-BG0p8uUr.esm.js +0 -2
  294. package/dist/chunks/_share-dialog-dependencies-dHlBUqo0.esm.js +0 -2
  295. package/dist/chunks/_share-dialog-dependencies-dHlBUqo0.esm.js.map +0 -1
  296. package/dist/chunks/beam-errors-CCe004HS.esm.d.ts +0 -40
  297. package/dist/chunks/beam-errors-Ci0d3926.esm.js +0 -2
  298. package/dist/chunks/beam-errors-Ci0d3926.esm.js.map +0 -1
  299. package/dist/chunks/cart-contents-CLT7p7Gd.esm.d.ts +0 -18
  300. package/dist/chunks/cart-contents-DkoytiZh.esm.js +0 -2
  301. package/dist/chunks/cart-contents-DkoytiZh.esm.js.map +0 -1
  302. package/dist/chunks/css-card-grid-CvoGpsJH.esm.js +0 -20
  303. package/dist/chunks/css-card-grid-CvoGpsJH.esm.js.map +0 -1
  304. package/dist/chunks/enforce-config-Ba1JkOHs.esm.js +0 -3
  305. package/dist/chunks/enforce-config-Ba1JkOHs.esm.js.map +0 -1
  306. package/dist/chunks/enforce-config-CZ3ToOgr.esm.js +0 -3
  307. package/dist/chunks/enforce-config-CZ3ToOgr.esm.js.map +0 -1
  308. package/dist/chunks/events-CSyogxoH.esm.d.ts +0 -186
  309. package/dist/chunks/events-Dki0ka4F.esm.js +0 -2
  310. package/dist/chunks/events-Dki0ka4F.esm.js.map +0 -1
  311. package/dist/chunks/index-2OQzw7UI.esm.js.map +0 -1
  312. package/dist/chunks/index-B1Y88trP.esm.js +0 -2
  313. package/dist/chunks/index-B1Y88trP.esm.js.map +0 -1
  314. package/dist/chunks/index-B1lGZARl.esm.d.ts +0 -46
  315. package/dist/chunks/index-B7hOLixE.esm.d.ts +0 -15
  316. package/dist/chunks/index-BNjsFEGn.esm.js +0 -2
  317. package/dist/chunks/index-BNjsFEGn.esm.js.map +0 -1
  318. package/dist/chunks/index-BTDB5Gk-.esm.js +0 -2
  319. package/dist/chunks/index-BTDB5Gk-.esm.js.map +0 -1
  320. package/dist/chunks/index-BX6GnRsb.esm.js +0 -2
  321. package/dist/chunks/index-BX6GnRsb.esm.js.map +0 -1
  322. package/dist/chunks/index-C3hpHWh1.esm.js +0 -2
  323. package/dist/chunks/index-C3hpHWh1.esm.js.map +0 -1
  324. package/dist/chunks/index-C5gnsl34.esm.js.map +0 -1
  325. package/dist/chunks/index-CGKJagBi.esm.js +0 -2
  326. package/dist/chunks/index-CGKJagBi.esm.js.map +0 -1
  327. package/dist/chunks/index-CJ1y1kTs.esm.d.ts +0 -46
  328. package/dist/chunks/index-CWKcDbs6.esm.js +0 -2
  329. package/dist/chunks/index-CWKcDbs6.esm.js.map +0 -1
  330. package/dist/chunks/index-Cg65EbvX.esm.js +0 -2
  331. package/dist/chunks/index-Cg65EbvX.esm.js.map +0 -1
  332. package/dist/chunks/index-Ct1m4IjM.esm.js +0 -2
  333. package/dist/chunks/index-Ct1m4IjM.esm.js.map +0 -1
  334. package/dist/chunks/index-D6qJfs7_.esm.js +0 -2
  335. package/dist/chunks/index-D6qJfs7_.esm.js.map +0 -1
  336. package/dist/chunks/index-DBb5HSkR.esm.js +0 -2
  337. package/dist/chunks/index-DBb5HSkR.esm.js.map +0 -1
  338. package/dist/chunks/index-DEaZqGi7.esm.js +0 -2
  339. package/dist/chunks/index-DEaZqGi7.esm.js.map +0 -1
  340. package/dist/chunks/index-DXj15KHe.esm.d.ts +0 -32
  341. package/dist/chunks/index-DnTE6QlY.esm.js +0 -2
  342. package/dist/chunks/index-DnTE6QlY.esm.js.map +0 -1
  343. package/dist/chunks/index-DrxhkT6Y.esm.js +0 -2
  344. package/dist/chunks/index-DrxhkT6Y.esm.js.map +0 -1
  345. package/dist/chunks/index-IKiJwo5v.esm.js +0 -2
  346. package/dist/chunks/index-IKiJwo5v.esm.js.map +0 -1
  347. package/dist/chunks/index-RhV6PBPH.esm.js +0 -2
  348. package/dist/chunks/index-RhV6PBPH.esm.js.map +0 -1
  349. package/dist/chunks/index-eCVyk0rc.esm.js +0 -2
  350. package/dist/chunks/index-eCVyk0rc.esm.js.map +0 -1
  351. package/dist/chunks/index-iqYDqEil.esm.d.ts +0 -19
  352. package/dist/chunks/index-tbwbkOdj.esm.js +0 -2
  353. package/dist/chunks/index-tbwbkOdj.esm.js.map +0 -1
  354. package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js +0 -2
  355. package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js.map +0 -1
  356. package/dist/chunks/lit-WqMxC_PA.esm.js +0 -34
  357. package/dist/chunks/lit-WqMxC_PA.esm.js.map +0 -1
  358. package/dist/chunks/loading-template-DG4lkIIc.esm.js +0 -2
  359. package/dist/chunks/loading-template-DG4lkIIc.esm.js.map +0 -1
  360. package/dist/chunks/localize-Btu9xYcE.esm.js +0 -31
  361. package/dist/chunks/localize-Btu9xYcE.esm.js.map +0 -1
  362. package/dist/chunks/localize-C25pEGnx.esm.js +0 -31
  363. package/dist/chunks/localize-C25pEGnx.esm.js.map +0 -1
  364. package/dist/chunks/lodash-D3TLHRR_.esm.js +0 -2
  365. package/dist/chunks/lodash-D3TLHRR_.esm.js.map +0 -1
  366. package/dist/chunks/order-page-BRG7MXZ2.esm.js +0 -2
  367. package/dist/chunks/order-page-BRG7MXZ2.esm.js.map +0 -1
  368. package/dist/chunks/order-page-BbHDQfmy.esm.js +0 -2
  369. package/dist/chunks/order-page-BbHDQfmy.esm.js.map +0 -1
  370. package/dist/chunks/progress-bar-CveZ8E6Q.esm.d.ts +0 -15
  371. package/dist/chunks/progress-bar-DF7UuuHb.esm.js +0 -54
  372. package/dist/chunks/progress-bar-DF7UuuHb.esm.js.map +0 -1
  373. package/dist/chunks/promo-pill-label-BXRqZHET.esm.d.ts +0 -19
  374. package/dist/chunks/promo-pill-label-WGLW3bql.esm.js +0 -16
  375. package/dist/chunks/promo-pill-label-WGLW3bql.esm.js.map +0 -1
  376. package/dist/chunks/promo-types-7r9-UuiP.esm.d.ts +0 -14
  377. package/dist/chunks/promo-types-DKAOFHJr.esm.js +0 -2
  378. package/dist/chunks/promo-types-DKAOFHJr.esm.js.map +0 -1
  379. package/dist/chunks/routes-BvX92EDq.esm.js +0 -2
  380. package/dist/chunks/routes-BvX92EDq.esm.js.map +0 -1
  381. package/dist/chunks/routes-DahRzf8t.esm.d.ts +0 -638
  382. package/dist/chunks/routes-DguZveS3.esm.js +0 -2
  383. package/dist/chunks/routes-DguZveS3.esm.js.map +0 -1
  384. package/dist/chunks/share-button-BRjKJc5L.esm.js +0 -167
  385. package/dist/chunks/share-button-BRjKJc5L.esm.js.map +0 -1
  386. package/dist/chunks/share-button-CDVVaxEc.esm.d.ts +0 -27
  387. package/dist/chunks/share-button-DPNNnXeM.esm.js +0 -2
  388. package/dist/chunks/share-button-DPNNnXeM.esm.js.map +0 -1
  389. package/dist/chunks/share-button-DmjRJmXh.esm.js.map +0 -1
  390. package/dist/chunks/share-button-M8cMa6ol.esm.js +0 -2
  391. package/dist/chunks/share-button-M8cMa6ol.esm.js.map +0 -1
  392. package/dist/chunks/types-CPxMwnoR.esm.d.ts +0 -28
  393. package/dist/chunks/types-DfRc36jU.esm.d.ts +0 -15
  394. package/dist/chunks/update-cart-CJywJNax.esm.js +0 -2
  395. package/dist/chunks/update-cart-CJywJNax.esm.js.map +0 -1
  396. package/dist/chunks/update-cart-gwNcGXkd.esm.js +0 -2
  397. package/dist/chunks/update-cart-gwNcGXkd.esm.js.map +0 -1
  398. package/dist/chunks/vendor-KKSARHWL.esm.js +0 -1284
  399. package/dist/chunks/vendor-KKSARHWL.esm.js.map +0 -1
  400. package/dist/integrations/index.d.ts +0 -35
  401. package/dist/integrations/index.esm.js +0 -2
  402. package/dist/integrations/index.esm.js.map +0 -1
  403. package/dist/integrations/index.js +0 -2
  404. package/dist/integrations/index.js.map +0 -1
  405. package/dist/utils/index.d.ts +0 -16
  406. package/dist/utils/index.esm.js +0 -2
  407. package/dist/utils/index.esm.js.map +0 -1
  408. package/dist/utils/index.js +0 -2
  409. package/dist/utils/index.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{c as e}from"../chunks/events-Dki0ka4F.esm.js";import{B as t}from"../chunks/index-2OQzw7UI.esm.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/routes-BvX92EDq.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-ByFGhdxh.esm.js";import"../chunks/_share-dialog-dependencies-BG0p8uUr.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=r({tagName:t.tagName,elementClass:t,react:o,events:{onNonprofitSelect:e.eventName}});export{m as BeamRedeemTransaction,m as default};
1
+ import o from"react";import{f as m}from"../chunks/lit-BEag9MFp.esm.js";import{B as r}from"../chunks/utils-BjhsDvuU.esm.js";import{B as t}from"../chunks/index-DTw-q6W4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../components/beam-partner-logos.js";import"../chunks/promo-pill-label-BdTmmg_U.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";const e=m({tagName:t.tagName,elementClass:t,react:o,events:{onNonprofitSelect:r.eventName}});export{e as BeamRedeemTransaction,e as default};
2
2
  //# sourceMappingURL=redeem-transaction.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"redeem-transaction.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"80BAKO,MAAMA,EAAwBC,EAAgB,CACnD,QAASC,EAAuB,QAChC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
1
+ {"version":3,"file":"redeem-transaction.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"oiBAKO,MAAMA,EAAwBC,EAAgB,CACnD,QAASC,EAAuB,QAChC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
@@ -1,17 +1,12 @@
1
1
  import * as _lit_react from '@lit/react';
2
2
  import { EventName } from '@lit/react';
3
- import { B as BeamNonprofitSelectEvent } from '../chunks/events-CSyogxoH.esm.js';
3
+ import { B as BeamNonprofitSelectEvent } from '../chunks/utils-D8HO_RIu.esm.js';
4
4
  import { BeamSelectNonprofit as BeamSelectNonprofit$1 } from '../components/select-nonprofit.js';
5
- import '../chunks/cart-contents-CLT7p7Gd.esm.js';
6
- import '../chunks/openapi-spec-Bk7E2QQP.esm.js';
7
- import '../chunks/promo-types-7r9-UuiP.esm.js';
8
- import '../chunks/types-CPxMwnoR.esm.js';
5
+ import 'lodash-es/debounce';
6
+ import 'lodash-es/isEqual';
9
7
  import 'lit-html';
10
8
  import 'lit';
11
9
  import 'lodash';
12
- import '../chunks/progress-bar-CveZ8E6Q.esm.js';
13
- import '../chunks/promo-pill-label-BXRqZHET.esm.js';
14
- import '../chunks/types-DfRc36jU.esm.js';
15
10
 
16
11
  declare const BeamSelectNonprofit: _lit_react.ReactWebComponent<BeamSelectNonprofit$1, {
17
12
  onNonprofitSelect: EventName<BeamNonprofitSelectEvent>;
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as m}from"../chunks/lit-WqMxC_PA.esm.js";import{c as r}from"../chunks/events-Dki0ka4F.esm.js";import{BeamSelectNonprofit as e}from"../components/select-nonprofit.esm.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-DguZveS3.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-WGLW3bql.esm.js";import"../chunks/_share-dialog-dependencies-dHlBUqo0.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"../utils/promoManager.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};
1
+ import o from"react";import{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/promo-pill-label-BdTmmg_U.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
2
2
  //# sourceMappingURL=select-nonprofit.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-nonprofit.esm.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"i9BAKO,MAAMA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
1
+ {"version":3,"file":"select-nonprofit.esm.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"6jBAKO,MAAMA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as m}from"../chunks/lit-WqMxC_PA.esm.js";import{c as r}from"../chunks/events-Dki0ka4F.esm.js";import{BeamSelectNonprofit as e}from"../components/select-nonprofit.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/routes-BvX92EDq.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/promo-pill-label-ByFGhdxh.esm.js";import"../chunks/_share-dialog-dependencies-BG0p8uUr.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/local-storage.js";import"../utils/promoManager.js";import"../utils/cookies.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/cart-contents-DkoytiZh.esm.js";import"../utils/cart.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{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/promo-pill-label-BdTmmg_U.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
2
2
  //# sourceMappingURL=select-nonprofit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-nonprofit.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"y7BAKO,MAAMA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
1
+ {"version":3,"file":"select-nonprofit.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"yjBAKO,MAAMA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
@@ -1,16 +1,12 @@
1
1
  import * as _lit_react from '@lit/react';
2
2
  import { EventName } from '@lit/react';
3
- import { B as BeamNonprofitSelectEvent } from '../chunks/events-CSyogxoH.esm.js';
3
+ import { B as BeamNonprofitSelectEvent } from '../chunks/utils-D8HO_RIu.esm.js';
4
4
  import { BeamSelectSubscriptionNonprofit as BeamSelectSubscriptionNonprofit$1 } from '../components/select-subscription-nonprofit.js';
5
- import '../chunks/cart-contents-CLT7p7Gd.esm.js';
6
- import '../chunks/openapi-spec-Bk7E2QQP.esm.js';
7
- import '../chunks/promo-types-7r9-UuiP.esm.js';
8
- import '../chunks/types-CPxMwnoR.esm.js';
5
+ import 'lodash-es/debounce';
6
+ import 'lodash-es/isEqual';
9
7
  import 'lit-html';
10
8
  import 'lit';
11
9
  import 'lodash';
12
- import '../chunks/types-DfRc36jU.esm.js';
13
- import '../chunks/progress-bar-CveZ8E6Q.esm.js';
14
10
  import '../components/beam-partner-logos.js';
15
11
 
16
12
  declare const BeamSelectSubscriptionNonprofit: _lit_react.ReactWebComponent<BeamSelectSubscriptionNonprofit$1, {
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as m}from"../chunks/lit-WqMxC_PA.esm.js";import{c as e}from"../chunks/events-Dki0ka4F.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.esm.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/routes-DguZveS3.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/makeApiKeyHeader.esm.js";import"../utils/local-storage.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/beam-partner-logos.esm.js";const o=m({tagName:t.tagName,elementClass:t,react:r,events:{onNonprofitSelect:e.eventName}});export{o as BeamSelectSubscriptionNonprofit,o as default};
1
+ import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/beam-partner-logos.esm.js";const o=r({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:m.eventName}});export{o as BeamSelectSubscriptionNonprofit,o as default};
2
2
  //# sourceMappingURL=select-subscription-nonprofit.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-subscription-nonprofit.esm.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"2xBAKO,MAAMA,EAAkCC,EAAgB,CAC7D,QAASC,EAAiC,QAC1C,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
1
+ {"version":3,"file":"select-subscription-nonprofit.esm.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"gcAKO,MAAMA,EAAkCC,EAAgB,CAC7D,QAASC,EAAiC,QAC1C,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as m}from"../chunks/lit-WqMxC_PA.esm.js";import{c as e}from"../chunks/events-Dki0ka4F.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/routes-BvX92EDq.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/makeApiKeyHeader.js";import"../utils/local-storage.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/beam-partner-logos.js";const o=m({tagName:t.tagName,elementClass:t,react:r,events:{onNonprofitSelect:e.eventName}});export{o as BeamSelectSubscriptionNonprofit,o as default};
1
+ import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/beam-partner-logos.js";const o=r({tagName:t.tagName,elementClass:t,react:e,events:{onNonprofitSelect:m.eventName}});export{o as BeamSelectSubscriptionNonprofit,o as default};
2
2
  //# sourceMappingURL=select-subscription-nonprofit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"select-subscription-nonprofit.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"uwBAKO,MAAMA,EAAkCC,EAAgB,CAC7D,QAASC,EAAiC,QAC1C,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
1
+ {"version":3,"file":"select-subscription-nonprofit.js","sources":["../../src/components/select-subscription-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSelectSubscriptionNonprofit as _BeamSelectSubscriptionNonprofit } from \"./index\";\n\nexport const BeamSelectSubscriptionNonprofit = createComponent({\n tagName: _BeamSelectSubscriptionNonprofit.tagName,\n elementClass: _BeamSelectSubscriptionNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectSubscriptionNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectSubscriptionNonprofit","createComponent","_BeamSelectSubscriptionNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"wbAKO,MAAMA,EAAkCC,EAAgB,CAC7D,QAASC,EAAiC,QAC1C,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
@@ -1,2 +1,2 @@
1
- import 'lodash-es/debounce';
2
- import 'lodash-es/isEqual';
1
+
2
+ export { };
@@ -1,2 +1,2 @@
1
-
1
+ import{u as s,N as i,O as c,e as g,f as p,P as S,a as u,g as r,j as P,A as k,d as f,K as w,h as y,b as v,x as A,l as F,Q as L,J as E,R,z as _,p as I,s as b,n,D as z,C as h,w as V}from"../chunks/utils-BjhsDvuU.esm.js";import{d as x,i as J}from"../chunks/lodash-CrMU6wKg.esm.js";import{v as K}from"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/lit-BEag9MFp.esm.js";var N=Object.freeze({__proto__:null,createScopedLocalStorage:s,debounce:x,deleteCookieValue:i,errors:c,events:g,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:S,getCookieMap:u,getCookieValue:r,getPromoCodeFromShopifyCookie:P,getPromoCodesFromCart:k,getPromoCodesLocalStorage:f,getRemoteSession:w,getSanitizedUrlForStorage:y,initNetworkListeners:v,isEmptyPromoData:A,isEqual:J,logger:F,mapToUnvalidatedPromoCodes:L,memoizeLast:E,mergeStoreAndReturnPromos:R,parseJsonStringArray:_,promoCodesAreEqual:I,saveRemoteSession:b,setCookieValue:n,setPromoCodeInCookie:z,setPromoCodesInLocalStorage:h,waitForElement:V});const m="beam_session";async function d({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await r(o))return;const e=K(),C=Date.now()+720*60*60*1e3;await n({name:o,value:e,domain:a,path:"/",expires:C}),s({apiKey:t}).setItemJson("cart",{cartId:e})}async function l({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){const e=await r(o);e&&(s({apiKey:t}).setItemJson("cart",{cartId:e}),await i({name:o,domain:a}))}var q=Object.freeze({__proto__:null,createSession:d,endSession:l});export{N as a,d as c,l as e,q as i};
2
2
  //# sourceMappingURL=shopify.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shopify.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"shopify.esm.js","sources":["../../src/integrations/session/index.ts"],"sourcesContent":["/**\n If checkout and order page are on different subdomains, we can't access localStorage for nonprofitId/selectionId\n We can make post-transaction work by copying a \"cartID\"-style cookie to the expected localStorage key on the current\n domain, which will allow the post-transaction widgets to send that to the backend which can restore the selection\n from the cart.\n\n This will also work if we don't have a cart cookie for some other reason, although it is not directly integrated\n with the host site's concept of a cart (e.g., line items and expiration dates).\n\n Note: Use a module import rather than a self-executing script so that we can set cookies on the host domain\n rather than our 3rd party CDN domain, and customize the options via arguments.\n\n Usage:\n <script type=\"module\">\n import { createSession } from 'https://...';\n createSession({domain: 'mystore.com'})\n </script>\n */\n\nimport { v4 as uuid } from \"@lukeed/uuid/secure\";\nimport { deleteCookieValue, getCookieValue, setCookieValue } from \"../../utils/cookies\";\nimport { createScopedLocalStorage } from \"../../utils/local-storage\";\n\nconst DEFAULT_COOKIE_NAME = \"beam_session\";\n\nexport async function createSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain or subdomain to set cookie on\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const existingValue = await getCookieValue(cookieName);\n\n if (existingValue) {\n return; // do nothing\n }\n\n const cookieValue = uuid();\n\n const expires = Date.now() + 30 * 24 * 60 * 60 * 1000; // 30 days\n\n await setCookieValue({ name: cookieName, value: cookieValue, domain, path: \"/\", expires });\n\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n}\n\nexport async function endSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain to remove cookie from\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const cookieValue = await getCookieValue(cookieName);\n\n if (!cookieValue) {\n return; // do nothing\n }\n\n // copy cookie value into localStorage for widgets to use\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n\n // delete cookie to end session (will generate new one on next visit)\n await deleteCookieValue({ name: cookieName, domain });\n}\n"],"names":["DEFAULT_COOKIE_NAME","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"89BAuBA,MAAMA,EAAsB,eAE5B,eAAsBC,EAAc,CAClC,WAAAC,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,CAAA,EAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,EAAAA,EAEdC,EAAU,KAAK,MAAQ,IAAU,GAAK,GAAK,IAEjD,MAAMC,EAAe,CAAE,KAAMP,EAAY,MAAOI,EAAa,OAAAH,EAAQ,KAAM,IAAK,QAAAK,CAAQ,CAAC,EAEhEE,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,CAC9D,CAEA,eAAsBK,EAAW,CAC/B,WAAAT,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CACN,MAAME,EAAc,MAAMD,EAAeH,CAAU,EAE9CI,IAKoBI,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,EAG5D,MAAMM,EAAkB,CAAE,KAAMV,EAAY,OAAAC,CAAO,CAAC,EACtD"}
@@ -1,2 +1,2 @@
1
-
1
+ import{u as s,N as i,O as c,e as g,f as p,P as S,a as u,g as r,j as P,A as k,d as f,K as w,h as y,b as v,x as A,l as F,Q as L,J as E,R,z as _,p as I,s as b,n,D as z,C as h,w as V}from"../chunks/utils-BjhsDvuU.esm.js";import{d as x,i as J}from"../chunks/lodash-CrMU6wKg.esm.js";import{v as K}from"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/lit-BEag9MFp.esm.js";var N=Object.freeze({__proto__:null,createScopedLocalStorage:s,debounce:x,deleteCookieValue:i,errors:c,events:g,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:S,getCookieMap:u,getCookieValue:r,getPromoCodeFromShopifyCookie:P,getPromoCodesFromCart:k,getPromoCodesLocalStorage:f,getRemoteSession:w,getSanitizedUrlForStorage:y,initNetworkListeners:v,isEmptyPromoData:A,isEqual:J,logger:F,mapToUnvalidatedPromoCodes:L,memoizeLast:E,mergeStoreAndReturnPromos:R,parseJsonStringArray:_,promoCodesAreEqual:I,saveRemoteSession:b,setCookieValue:n,setPromoCodeInCookie:z,setPromoCodesInLocalStorage:h,waitForElement:V});const m="beam_session";async function d({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await r(o))return;const e=K(),C=Date.now()+720*60*60*1e3;await n({name:o,value:e,domain:a,path:"/",expires:C}),s({apiKey:t}).setItemJson("cart",{cartId:e})}async function l({cookieName:o=m,domain:a=window.location.hostname,apiKey:t=""}={}){const e=await r(o);e&&(s({apiKey:t}).setItemJson("cart",{cartId:e}),await i({name:o,domain:a}))}var q=Object.freeze({__proto__:null,createSession:d,endSession:l});export{N as a,d as c,l as e,q as i};
2
2
  //# sourceMappingURL=shopify.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"shopify.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"shopify.js","sources":["../../src/integrations/session/index.ts"],"sourcesContent":["/**\n If checkout and order page are on different subdomains, we can't access localStorage for nonprofitId/selectionId\n We can make post-transaction work by copying a \"cartID\"-style cookie to the expected localStorage key on the current\n domain, which will allow the post-transaction widgets to send that to the backend which can restore the selection\n from the cart.\n\n This will also work if we don't have a cart cookie for some other reason, although it is not directly integrated\n with the host site's concept of a cart (e.g., line items and expiration dates).\n\n Note: Use a module import rather than a self-executing script so that we can set cookies on the host domain\n rather than our 3rd party CDN domain, and customize the options via arguments.\n\n Usage:\n <script type=\"module\">\n import { createSession } from 'https://...';\n createSession({domain: 'mystore.com'})\n </script>\n */\n\nimport { v4 as uuid } from \"@lukeed/uuid/secure\";\nimport { deleteCookieValue, getCookieValue, setCookieValue } from \"../../utils/cookies\";\nimport { createScopedLocalStorage } from \"../../utils/local-storage\";\n\nconst DEFAULT_COOKIE_NAME = \"beam_session\";\n\nexport async function createSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain or subdomain to set cookie on\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const existingValue = await getCookieValue(cookieName);\n\n if (existingValue) {\n return; // do nothing\n }\n\n const cookieValue = uuid();\n\n const expires = Date.now() + 30 * 24 * 60 * 60 * 1000; // 30 days\n\n await setCookieValue({ name: cookieName, value: cookieValue, domain, path: \"/\", expires });\n\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n}\n\nexport async function endSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain to remove cookie from\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const cookieValue = await getCookieValue(cookieName);\n\n if (!cookieValue) {\n return; // do nothing\n }\n\n // copy cookie value into localStorage for widgets to use\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n\n // delete cookie to end session (will generate new one on next visit)\n await deleteCookieValue({ name: cookieName, domain });\n}\n"],"names":["DEFAULT_COOKIE_NAME","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"89BAuBA,MAAMA,EAAsB,eAE5B,eAAsBC,EAAc,CAClC,WAAAC,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,CAAA,EAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,EAAAA,EAEdC,EAAU,KAAK,MAAQ,IAAU,GAAK,GAAK,IAEjD,MAAMC,EAAe,CAAE,KAAMP,EAAY,MAAOI,EAAa,OAAAH,EAAQ,KAAM,IAAK,QAAAK,CAAQ,CAAC,EAEhEE,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,CAC9D,CAEA,eAAsBK,EAAW,CAC/B,WAAAT,EAAaF,EACb,OAAAG,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CACN,MAAME,EAAc,MAAMD,EAAeH,CAAU,EAE9CI,IAKoBI,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,EAG5D,MAAMM,EAAkB,CAAE,KAAMV,EAAY,OAAAC,CAAO,CAAC,EACtD"}
@@ -2,10 +2,10 @@ import * as _lit_react from '@lit/react';
2
2
  import { BeamSocialShare as BeamSocialShare$1 } from '../components/social-share.js';
3
3
  import 'lit';
4
4
  import 'lit-html';
5
- import '../chunks/progress-bar-CveZ8E6Q.esm.js';
6
5
  import '../components/beam-partner-logos.js';
7
- import '../chunks/types-DfRc36jU.esm.js';
8
- import '../chunks/types-CPxMwnoR.esm.js';
6
+ import '../chunks/utils-D8HO_RIu.esm.js';
7
+ import 'lodash-es/debounce';
8
+ import 'lodash-es/isEqual';
9
9
 
10
10
  declare const BeamSocialShare: _lit_react.ReactWebComponent<BeamSocialShare$1, {}>;
11
11
 
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as t}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamSocialShare as m}from"../components/social-share.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/_share-dialog-dependencies-dHlBUqo0.esm.js";import"../chunks/routes-DguZveS3.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.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/loading-template-DG4lkIIc.esm.js";import"../chunks/share-button-M8cMa6ol.esm.js";const o=t({tagName:m.tagName,elementClass:m,react:r});export{o as BeamSocialShare,o as default};
1
+ import a from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSocialShare as m}from"../components/social-share.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";const o=r({tagName:m.tagName,elementClass:m,react:a});export{o as BeamSocialShare,o as default};
2
2
  //# sourceMappingURL=social-share.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"social-share.esm.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"uoBAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
1
+ {"version":3,"file":"social-share.esm.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"yfAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
@@ -1,2 +1,2 @@
1
- import r from"react";import{l as t}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamSocialShare as m}from"../components/social-share.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/_share-dialog-dependencies-BG0p8uUr.esm.js";import"../chunks/routes-BvX92EDq.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../components/beam-partner-logos.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../chunks/share-button-DPNNnXeM.esm.js";const o=t({tagName:m.tagName,elementClass:m,react:r});export{o as BeamSocialShare,o as default};
1
+ import a from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSocialShare as m}from"../components/social-share.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";const o=r({tagName:m.tagName,elementClass:m,react:a});export{o as BeamSocialShare,o as default};
2
2
  //# sourceMappingURL=social-share.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"social-share.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"2nBAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
1
+ {"version":3,"file":"social-share.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"ifAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
@@ -0,0 +1,14 @@
1
+ import * as _lit_react from '@lit/react';
2
+ import { EventName } from '@lit/react';
3
+ import { B as BeamNonprofitSelectEvent } from '../chunks/utils-D8HO_RIu.esm.js';
4
+ import { BeamSubscriberSelectNonprofit as BeamSubscriberSelectNonprofit$1 } from '../components/subscriber-select-nonprofit.js';
5
+ import 'lodash-es/debounce';
6
+ import 'lodash-es/isEqual';
7
+ import 'lit-html';
8
+ import 'lit';
9
+
10
+ declare const BeamSubscriberSelectNonprofit: _lit_react.ReactWebComponent<BeamSubscriberSelectNonprofit$1, {
11
+ onNonprofitSelect: EventName<BeamNonprofitSelectEvent>;
12
+ }>;
13
+
14
+ export { BeamSubscriberSelectNonprofit, BeamSubscriberSelectNonprofit as default };
@@ -0,0 +1,2 @@
1
+ import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-B_i-to-h.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
2
+ //# sourceMappingURL=subscriber-select-nonprofit.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriber-select-nonprofit.esm.js","sources":["../../src/components/subscriber-select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSubscriberSelectNonprofit as _BeamSubscriberSelectNonprofit } from \"./index\";\n\nexport const BeamSubscriberSelectNonprofit = createComponent({\n tagName: _BeamSubscriberSelectNonprofit.tagName,\n elementClass: _BeamSubscriberSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSubscriberSelectNonprofit;\n"],"names":["BeamSubscriberSelectNonprofit","createComponent","_BeamSubscriberSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"seAKO,MAAMA,EAAgCC,EAAgB,CAC3D,QAASC,EAA+B,QACxC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
@@ -0,0 +1,2 @@
1
+ import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-BjhsDvuU.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-B_i-to-h.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
2
+ //# sourceMappingURL=subscriber-select-nonprofit.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscriber-select-nonprofit.js","sources":["../../src/components/subscriber-select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSubscriberSelectNonprofit as _BeamSubscriberSelectNonprofit } from \"./index\";\n\nexport const BeamSubscriberSelectNonprofit = createComponent({\n tagName: _BeamSubscriberSelectNonprofit.tagName,\n elementClass: _BeamSubscriberSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSubscriberSelectNonprofit;\n"],"names":["BeamSubscriberSelectNonprofit","createComponent","_BeamSubscriberSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"keAKO,MAAMA,EAAgCC,EAAgB,CAC3D,QAASC,EAA+B,QACxC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
@@ -3,10 +3,9 @@ import { BeamSubscriptionImpact as BeamSubscriptionImpact$1 } from '../component
3
3
  import 'lit';
4
4
  import 'lit-html';
5
5
  import 'lodash';
6
- import '../chunks/types-CPxMwnoR.esm.js';
7
- import '../chunks/types-DfRc36jU.esm.js';
8
- import '../chunks/progress-bar-CveZ8E6Q.esm.js';
9
- import '../chunks/share-button-CDVVaxEc.esm.js';
6
+ import '../chunks/utils-D8HO_RIu.esm.js';
7
+ import 'lodash-es/debounce';
8
+ import 'lodash-es/isEqual';
10
9
 
11
10
  declare const BeamSubscriptionImpact: _lit_react.ReactWebComponent<BeamSubscriptionImpact$1, {}>;
12
11
 
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.esm.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/share-button-DmjRJmXh.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-M8cMa6ol.esm.js";import"../chunks/routes-DguZveS3.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/_share-dialog-dependencies-dHlBUqo0.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/makeApiKeyHeader.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
1
+ import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
2
2
  //# sourceMappingURL=subscription-impact.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-impact.esm.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"q6BAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
1
+ {"version":3,"file":"subscription-impact.esm.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"mjBAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/share-button-BRjKJc5L.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-DPNNnXeM.esm.js";import"../chunks/routes-BvX92EDq.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/_share-dialog-dependencies-BG0p8uUr.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/makeApiKeyHeader.js";import"../chunks/responsive-BR8qUfBa.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
1
+ import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
2
2
  //# sourceMappingURL=subscription-impact.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-impact.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"y5BAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
1
+ {"version":3,"file":"subscription-impact.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"+iBAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
@@ -2,17 +2,14 @@ import * as _lit_react from '@lit/react';
2
2
  import { BeamSubscriptionManagement as BeamSubscriptionManagement$1 } from '../components/subscription-management.js';
3
3
  import 'lit-html';
4
4
  import 'lit';
5
- import '../chunks/routes-DahRzf8t.esm.js';
6
- import '../chunks/cart-contents-CLT7p7Gd.esm.js';
7
- import '../chunks/openapi-spec-Bk7E2QQP.esm.js';
5
+ import '../chunks/routes-D6Gtw6kZ.esm.js';
6
+ import '../chunks/utils-D8HO_RIu.esm.js';
7
+ import 'lodash-es/debounce';
8
+ import 'lodash-es/isEqual';
8
9
  import '../components/select-subscription-nonprofit.js';
9
10
  import 'lodash';
10
- import '../chunks/types-CPxMwnoR.esm.js';
11
- import '../chunks/types-DfRc36jU.esm.js';
12
- import '../chunks/progress-bar-CveZ8E6Q.esm.js';
13
11
  import '../components/beam-partner-logos.js';
14
12
  import '../components/subscription-impact.js';
15
- import '../chunks/share-button-CDVVaxEc.esm.js';
16
13
 
17
14
  declare const BeamSubscriptionManagement: _lit_react.ReactWebComponent<BeamSubscriptionManagement$1, {}>;
18
15
 
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.esm.js";import"../chunks/routes-DguZveS3.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.esm.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/enforce-config-CZ3ToOgr.esm.js";import"../chunks/localize-Btu9xYcE.esm.js";import"../chunks/events-Dki0ka4F.esm.js";import"../components/select-subscription-nonprofit.esm.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/makeApiKeyHeader.esm.js";import"../utils/local-storage.esm.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/beam-partner-logos.esm.js";import"../components/subscription-impact.esm.js";import"../chunks/share-button-DmjRJmXh.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-M8cMa6ol.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/_share-dialog-dependencies-dHlBUqo0.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
1
+ import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.esm.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/select-subscription-nonprofit.esm.js";import"../components/beam-partner-logos.esm.js";import"../components/subscription-impact.esm.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
2
2
  //# sourceMappingURL=subscription-management.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-management.esm.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"wpCAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
1
+ {"version":3,"file":"subscription-management.esm.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"utBAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
@@ -1,2 +1,2 @@
1
- import o from"react";import{l as r}from"../chunks/lit-WqMxC_PA.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.js";import"../chunks/routes-BvX92EDq.esm.js";import"../chunks/promo-types-DKAOFHJr.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"../utils/logger.js";import"../chunks/progress-bar-DF7UuuHb.esm.js";import"../chunks/enforce-config-Ba1JkOHs.esm.js";import"../chunks/localize-C25pEGnx.esm.js";import"../chunks/events-Dki0ka4F.esm.js";import"../components/select-subscription-nonprofit.js";import"../chunks/lodash-D3TLHRR_.esm.js";import"../chunks/loading-template-DG4lkIIc.esm.js";import"../utils/makeApiKeyHeader.js";import"../utils/local-storage.js";import"../chunks/css-card-grid-CvoGpsJH.esm.js";import"../components/beam-partner-logos.js";import"../components/subscription-impact.js";import"../chunks/share-button-BRjKJc5L.esm.js";import"../chunks/is-all-html-elements-fcB7UUA1.esm.js";import"../chunks/share-button-DPNNnXeM.esm.js";import"../chunks/vendor-KKSARHWL.esm.js";import"../chunks/_share-dialog-dependencies-BG0p8uUr.esm.js";import"../chunks/responsive-BR8qUfBa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
1
+ import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.js";import"../chunks/index-DhHhFTBE.esm.js";import"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-7sI6zg-x.esm.js";import"../chunks/css-card-grid-BUidQqf0.esm.js";import"../components/select-subscription-nonprofit.js";import"../components/beam-partner-logos.js";import"../components/subscription-impact.js";import"../chunks/share-button-BaIbuJOl.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-U9953n3E.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
2
2
  //# sourceMappingURL=subscription-management.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscription-management.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"4nCAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
1
+ {"version":3,"file":"subscription-management.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"usBAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
@@ -1 +1,3 @@
1
- export { B as BeamError, L as LocalStorageError, M as MissingConfig, N as NetworkError, S as SetupError } from '../chunks/beam-errors-CCe004HS.esm.js';
1
+ export { X as BeamError, Y as LocalStorageError, Z as MissingConfig, _ as NetworkError, $ as SetupError } from '../chunks/utils-D8HO_RIu.esm.js';
2
+ import 'lodash-es/debounce';
3
+ import 'lodash-es/isEqual';
@@ -1,2 +1,2 @@
1
- import{B as a,L as s,M as e,N as t,S as E}from"../chunks/beam-errors-Ci0d3926.esm.js";export{a as BeamError,s as LocalStorageError,e as MissingConfig,t as NetworkError,E as SetupError};
1
+ import{m as s,W as e,M as t,V as i,S as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,m as SetupError};
2
2
  //# sourceMappingURL=beam-errors.esm.js.map
@@ -1,2 +1,2 @@
1
- import{B as a,L as s,M as e,N as t,S as E}from"../chunks/beam-errors-Ci0d3926.esm.js";export{a as BeamError,s as LocalStorageError,e as MissingConfig,t as NetworkError,E as SetupError};
1
+ import{m as s,W as e,M as t,V as i,S as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,m as SetupError};
2
2
  //# sourceMappingURL=beam-errors.js.map
@@ -1,18 +1,3 @@
1
- /**
2
- * Retrieves the Beam cart ID from cookies
3
- * @param CART_COOKIE_NAME - The name of the cookie that stores the Beam cart ID
4
- * @returns The Beam cart ID if present in cookies or local storage, otherwise null
5
- */
6
- declare const getBeamCartId: (CART_COOKIE_NAME: string, config: {
7
- apiKey: string;
8
- }) => string | null;
9
- /**
10
- * Retrieves the external cart ID
11
- * @param CART_COOKIE_NAME - The name of the cookie that stores the external cart ID
12
- * @returns The external cart ID if available or null if neither is available
13
- */
14
- declare const getExternalCartId: (CART_COOKIE_NAME: string, config: {
15
- apiKey: string;
16
- }) => string | null;
17
-
18
- export { getBeamCartId, getExternalCartId };
1
+ export { a0 as getBeamCartId, a1 as getExternalCartId } from '../chunks/utils-D8HO_RIu.esm.js';
2
+ import 'lodash-es/debounce';
3
+ import 'lodash-es/isEqual';
@@ -1,2 +1,2 @@
1
- import{getCookieValue as r}from"./cookies.esm.js";import{createScopedLocalStorage as o}from"./local-storage.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"./logger.esm.js";const a=(t,e)=>o(e).getItemJson("cart")?.beamCartId??r(t)??null,m=(t,e)=>o(e).getItemJson("cart")?.cartId??r(t)??null;export{a as getBeamCartId,m as getExternalCartId};
1
+ import{v as e,E as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
2
2
  //# sourceMappingURL=cart.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cart.esm.js","sources":["../../src/utils/cart.ts"],"sourcesContent":["import { TBeamCartLocalStorage } from \"../shared/cart-contents\";\nimport { getCookieValue } from \"./cookies\";\nimport { createScopedLocalStorage } from \"./local-storage\";\n\n/**\n * Retrieves the Beam cart ID from cookies\n * @param CART_COOKIE_NAME - The name of the cookie that stores the Beam cart ID\n * @returns The Beam cart ID if present in cookies or local storage, otherwise null\n */\nexport const getBeamCartId = (CART_COOKIE_NAME: string, config: { apiKey: string }): string | null => {\n const localStorage = createScopedLocalStorage(config);\n\n // The cart cache is used to detect changes after page refreshes / across tabs\n const cachedCart: TBeamCartLocalStorage | null = localStorage.getItemJson(\"cart\");\n\n // Get the Beam cart cookie\n const beamCartId: string | null = cachedCart?.beamCartId ?? getCookieValue(CART_COOKIE_NAME) ?? null;\n return beamCartId;\n};\n\n/**\n * Retrieves the external cart ID\n * @param CART_COOKIE_NAME - The name of the cookie that stores the external cart ID\n * @returns The external cart ID if available or null if neither is available\n */\nexport const getExternalCartId = (CART_COOKIE_NAME: string, config: { apiKey: string }): string | null => {\n const localStorage = createScopedLocalStorage(config);\n\n // The cart cache is used to detect changes after page refreshes / across tabs\n const cachedCart: TBeamCartLocalStorage | null = localStorage.getItemJson(\"cart\");\n\n // Get external cart cookie\n const externalCartId: string | null = cachedCart?.cartId ?? getCookieValue(CART_COOKIE_NAME) ?? null;\n return externalCartId;\n};\n"],"names":["getBeamCartId","CART_COOKIE_NAME","config","createScopedLocalStorage","getCookieValue","getExternalCartId"],"mappings":"0LASO,MAAMA,EAAgB,CAACC,EAA0BC,IACjCC,EAAyBD,CAAM,EAGU,YAAY,MAAM,GAGlC,YAAcE,EAAeH,CAAgB,GAAK,KASrFI,EAAoB,CAACJ,EAA0BC,IACrCC,EAAyBD,CAAM,EAGU,YAAY,MAAM,GAG9B,QAAUE,EAAeH,CAAgB,GAAK"}
1
+ {"version":3,"file":"cart.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{getCookieValue as r}from"./cookies.js";import{createScopedLocalStorage as o}from"./local-storage.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"./logger.js";const a=(t,e)=>o(e).getItemJson("cart")?.beamCartId??r(t)??null,m=(t,e)=>o(e).getItemJson("cart")?.cartId??r(t)??null;export{a as getBeamCartId,m as getExternalCartId};
1
+ import{v as e,E as m}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
2
2
  //# sourceMappingURL=cart.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cart.js","sources":["../../src/utils/cart.ts"],"sourcesContent":["import { TBeamCartLocalStorage } from \"../shared/cart-contents\";\nimport { getCookieValue } from \"./cookies\";\nimport { createScopedLocalStorage } from \"./local-storage\";\n\n/**\n * Retrieves the Beam cart ID from cookies\n * @param CART_COOKIE_NAME - The name of the cookie that stores the Beam cart ID\n * @returns The Beam cart ID if present in cookies or local storage, otherwise null\n */\nexport const getBeamCartId = (CART_COOKIE_NAME: string, config: { apiKey: string }): string | null => {\n const localStorage = createScopedLocalStorage(config);\n\n // The cart cache is used to detect changes after page refreshes / across tabs\n const cachedCart: TBeamCartLocalStorage | null = localStorage.getItemJson(\"cart\");\n\n // Get the Beam cart cookie\n const beamCartId: string | null = cachedCart?.beamCartId ?? getCookieValue(CART_COOKIE_NAME) ?? null;\n return beamCartId;\n};\n\n/**\n * Retrieves the external cart ID\n * @param CART_COOKIE_NAME - The name of the cookie that stores the external cart ID\n * @returns The external cart ID if available or null if neither is available\n */\nexport const getExternalCartId = (CART_COOKIE_NAME: string, config: { apiKey: string }): string | null => {\n const localStorage = createScopedLocalStorage(config);\n\n // The cart cache is used to detect changes after page refreshes / across tabs\n const cachedCart: TBeamCartLocalStorage | null = localStorage.getItemJson(\"cart\");\n\n // Get external cart cookie\n const externalCartId: string | null = cachedCart?.cartId ?? getCookieValue(CART_COOKIE_NAME) ?? null;\n return externalCartId;\n};\n"],"names":["getBeamCartId","CART_COOKIE_NAME","config","createScopedLocalStorage","getCookieValue","getExternalCartId"],"mappings":"8KASO,MAAMA,EAAgB,CAACC,EAA0BC,IACjCC,EAAyBD,CAAM,EAGU,YAAY,MAAM,GAGlC,YAAcE,EAAeH,CAAgB,GAAK,KASrFI,EAAoB,CAACJ,EAA0BC,IACrCC,EAAyBD,CAAM,EAGU,YAAY,MAAM,GAG9B,QAAUE,EAAeH,CAAgB,GAAK"}
1
+ {"version":3,"file":"cart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,58 +1,3 @@
1
- declare const getCookieMap: (cookieString?: string) => Map<string, string>;
2
- declare const getCookieValue: (name: string) => string | undefined;
3
- declare const setCookieValue: (options: CookieInit) => undefined;
4
- declare const deleteCookieValue: (options: {
5
- name: string;
6
- domain?: string;
7
- path?: string;
8
- }) => undefined;
9
- interface CookieListItem {
10
- name: string;
11
- value: string;
12
- path: string;
13
- domain: string | null;
14
- expires: number | null;
15
- secure: boolean;
16
- sameSite: "strict" | "lax" | "none";
17
- }
18
- interface CookieInit {
19
- name: string;
20
- value: string;
21
- path?: string;
22
- domain?: string;
23
- expires?: number;
24
- sameSite?: "strict" | "lax" | "none";
25
- }
26
- interface CookieChangeEvent extends Event {
27
- readonly changed: CookieListItem[];
28
- readonly deleted: CookieListItem[];
29
- type: "deleted" | "changed";
30
- }
31
- type SetCookie = {
32
- (options: CookieInit): Promise<undefined>;
33
- (name: string, value: string): Promise<undefined>;
34
- };
35
- interface CookieStore extends EventTarget {
36
- get: (name: string | {
37
- name: string;
38
- url: string;
39
- }) => Promise<CookieListItem | undefined>;
40
- getAll: (name: string | {
41
- name: string;
42
- url: string;
43
- }) => Promise<CookieListItem[]>;
44
- set: SetCookie;
45
- delete: (name: string | {
46
- name: string;
47
- domain?: string | null;
48
- path?: string;
49
- }) => Promise<undefined>;
50
- onchange: (event: CookieChangeEvent) => boolean | void | Promise<boolean | void>;
51
- }
52
- declare global {
53
- interface Window {
54
- cookieStore: CookieStore;
55
- }
56
- }
57
-
58
- export { type CookieChangeEvent, deleteCookieValue, getCookieMap, getCookieValue, setCookieValue };
1
+ export { k as deleteCookieValue, o as getCookieMap, p as getCookieValue, F as setCookieValue } from '../chunks/utils-D8HO_RIu.esm.js';
2
+ import 'lodash-es/debounce';
3
+ import 'lodash-es/isEqual';
@@ -1,2 +1,2 @@
1
- const p=(e=document.cookie)=>e.split(";").reduce((i,n)=>{const o=n.trim(),[t,...a]=o.split("="),r=decodeURIComponent(a.join("="));return i.set(t,r)},new Map),m=e=>p().get(e),c=e=>{const{name:i,value:n,expires:o,...t}=e,a=encodeURIComponent(n),r=`${i}=${a}`,d=o!=null?` ;expires=${new Date(o).toUTCString()}`:"",l=Object.entries(t).map(([u,s])=>s!=null?` ;${u}=${s}`:"").join("");document.cookie=r+l+d},C=e=>{const{name:i,domain:n,path:o}=e,t={name:i,value:"",expires:0};return o!==void 0&&(t.path=o),n!==void 0&&(t.domain=n),c(t)};export{C as deleteCookieValue,p as getCookieMap,m as getCookieValue,c as setCookieValue};
1
+ import{N as t,a as i,g as s,n as k}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as deleteCookieValue,i as getCookieMap,s as getCookieValue,k as setCookieValue};
2
2
  //# sourceMappingURL=cookies.esm.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cookies.esm.js","sources":["../../src/utils/cookies.ts"],"sourcesContent":["/*\n * Wrapper functions for CookieStore using document.cookie as a fallback if not supported\n */\n\nexport const getCookieMap = (cookieString = document.cookie) => {\n // document.cookie has the format: \"key1=value1; key2=value2; key3=value3\"\n return cookieString.split(\";\").reduce((result: Map<string, string>, next: string) => {\n const cookieKeyValuePair = next.trim(); // \" key=value \" => \"key=value\"\n const [key, ...restOfString] = cookieKeyValuePair.split(\"=\"); // [\"key\", [\"value\"]]\n const value = decodeURIComponent(restOfString.join(\"=\")); // .join() handles if value contained \"=\"\n return result.set(key, value);\n }, new Map<string, string>());\n};\n\nexport const getCookieValue = (name: string): string | undefined => {\n // New Async API, not supported in FF/Safari:\n // if (window.cookieStore) {\n // return (await window.cookieStore.get(name))?.value;\n // }\n return getCookieMap().get(name);\n};\n\nexport const setCookieValue = (options: CookieInit): undefined => {\n // New Async API, not supported in FF/Safari:\n // if (window.cookieStore) {\n // const { domain, ...rest } = options;\n // const validatedDomain = domain === \"localhost\" ? undefined : domain;\n // return await window.cookieStore.set({ ...rest, domain: validatedDomain });\n // }\n // https://developer.mozilla.org/en-US/docs/Web/API/Document/cookie#write_a_new_cookie\n const { name, value, expires, ...rest } = options;\n const encodedValue = encodeURIComponent(value);\n const base = `${name}=${encodedValue}`;\n const expiration = expires != null ? ` ;expires=${new Date(expires).toUTCString()}` : \"\";\n const modifiers = Object.entries(rest)\n .map(([key, val]) => (val != null ? ` ;${key}=${val}` : \"\"))\n .join(\"\");\n document.cookie = base + modifiers + expiration;\n return;\n};\n\nexport const deleteCookieValue = (options: { name: string; domain?: string; path?: string }): undefined => {\n const { name, domain, path } = options;\n const cookieOptions: any = {\n name: name,\n value: \"\",\n expires: 0,\n };\n if (path !== undefined) {\n cookieOptions.path = path;\n }\n if (domain !== undefined) {\n cookieOptions.domain = domain;\n }\n return setCookieValue(cookieOptions);\n};\n\n/*\n * CookieStore API Types\n * https://developer.mozilla.org/en-US/docs/Web/API/CookieStore#browser_compatibility\n */\n\ninterface CookieListItem {\n name: string;\n value: string;\n path: string;\n domain: string | null;\n expires: number | null; // timestamp, unix time in ms\n secure: boolean;\n sameSite: \"strict\" | \"lax\" | \"none\";\n}\n\ninterface CookieInit {\n name: string;\n value: string;\n path?: string;\n domain?: string;\n expires?: number; // timestamp, unix time in ms\n sameSite?: \"strict\" | \"lax\" | \"none\";\n}\n\n// https://wicg.github.io/cookie-store/#CookieChangeEvent\nexport interface CookieChangeEvent extends Event {\n readonly changed: CookieListItem[];\n readonly deleted: CookieListItem[];\n type: \"deleted\" | \"changed\";\n}\n\ntype SetCookie = {\n (options: CookieInit): Promise<undefined>;\n (name: string, value: string): Promise<undefined>;\n};\n\n// https://wicg.github.io/cookie-store/#CookieStore\ninterface CookieStore extends EventTarget {\n get: (name: string | { name: string; url: string }) => Promise<CookieListItem | undefined>;\n getAll: (name: string | { name: string; url: string }) => Promise<CookieListItem[]>;\n set: SetCookie; // function overload for multiple signatures\n delete: (name: string | { name: string; domain?: string | null; path?: string }) => Promise<undefined>;\n onchange: (event: CookieChangeEvent) => boolean | void | Promise<boolean | void>;\n}\n\ndeclare global {\n interface Window {\n cookieStore: CookieStore;\n }\n}\n"],"names":["getCookieMap","cookieString","result","next","cookieKeyValuePair","key","restOfString","value","getCookieValue","name","setCookieValue","options","expires","rest","encodedValue","base","expiration","modifiers","val","deleteCookieValue","domain","path","cookieOptions"],"mappings":"AAIO,MAAMA,EAAe,CAACC,EAAe,SAAS,SAE5CA,EAAa,MAAM,GAAG,EAAE,OAAO,CAACC,EAA6BC,IAAiB,CACnF,MAAMC,EAAqBD,EAAK,KAAA,EAC1B,CAACE,EAAK,GAAGC,CAAY,EAAIF,EAAmB,MAAM,GAAG,EACrDG,EAAQ,mBAAmBD,EAAa,KAAK,GAAG,CAAC,EACvD,OAAOJ,EAAO,IAAIG,EAAKE,CAAK,CAC9B,EAAG,IAAI,GAAqB,EAGjBC,EAAkBC,GAKtBT,EAAA,EAAe,IAAIS,CAAI,EAGnBC,EAAkBC,GAAmC,CAQhE,KAAM,CAAE,KAAAF,EAAM,MAAAF,EAAO,QAAAK,EAAS,GAAGC,CAAK,EAAIF,EACpCG,EAAe,mBAAmBP,CAAK,EACvCQ,EAAO,GAAGN,CAAI,IAAIK,CAAY,GAC9BE,EAAaJ,GAAW,KAAO,aAAa,IAAI,KAAKA,CAAO,EAAE,YAAA,CAAa,GAAK,GAChFK,EAAY,OAAO,QAAQJ,CAAI,EAClC,IAAI,CAAC,CAACR,EAAKa,CAAG,IAAOA,GAAO,KAAO,KAAKb,CAAG,IAAIa,CAAG,GAAK,EAAG,EAC1D,KAAK,EAAE,EACV,SAAS,OAASH,EAAOE,EAAYD,CAEvC,EAEaG,EAAqBR,GAAyE,CACzG,KAAM,CAAE,KAAAF,EAAM,OAAAW,EAAQ,KAAAC,CAAK,EAAIV,EACzBW,EAAqB,CACzB,KAAMb,EACN,MAAO,GACP,QAAS,CACX,EACA,OAAIY,IAAS,SACXC,EAAc,KAAOD,GAEnBD,IAAW,SACbE,EAAc,OAASF,GAElBV,EAAeY,CAAa,CACrC"}
1
+ {"version":3,"file":"cookies.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- const p=(e=document.cookie)=>e.split(";").reduce((i,n)=>{const o=n.trim(),[t,...a]=o.split("="),r=decodeURIComponent(a.join("="));return i.set(t,r)},new Map),m=e=>p().get(e),c=e=>{const{name:i,value:n,expires:o,...t}=e,a=encodeURIComponent(n),r=`${i}=${a}`,d=o!=null?` ;expires=${new Date(o).toUTCString()}`:"",l=Object.entries(t).map(([u,s])=>s!=null?` ;${u}=${s}`:"").join("");document.cookie=r+l+d},C=e=>{const{name:i,domain:n,path:o}=e,t={name:i,value:"",expires:0};return o!==void 0&&(t.path=o),n!==void 0&&(t.domain=n),c(t)};export{C as deleteCookieValue,p as getCookieMap,m as getCookieValue,c as setCookieValue};
1
+ import{N as t,a as i,g as s,n as k}from"../chunks/utils-BjhsDvuU.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as deleteCookieValue,i as getCookieMap,s as getCookieValue,k as setCookieValue};
2
2
  //# sourceMappingURL=cookies.js.map