@beamimpact/web-sdk 1.57.5 → 1.58.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/{_share-dialog-dependencies-DsJ2sKCC.esm.js → _share-dialog-dependencies-DPid-O65.esm.js} +2 -2
- package/dist/chunks/{_share-dialog-dependencies-DsJ2sKCC.esm.js.map → _share-dialog-dependencies-DPid-O65.esm.js.map} +1 -1
- package/dist/chunks/{cart-DKQHSz5X.esm.d.ts → cart-Cm16_NVB.esm.d.ts} +3 -4
- package/dist/chunks/{css-card-grid-CiqEjkwR.esm.js → css-card-grid-tjA36yWj.esm.js} +2 -2
- package/dist/chunks/{css-card-grid-CiqEjkwR.esm.js.map → css-card-grid-tjA36yWj.esm.js.map} +1 -1
- package/dist/chunks/{handlebars-B_i-to-h.esm.js → handlebars-3tRO54kz.esm.js} +7 -7
- package/dist/chunks/{handlebars-B_i-to-h.esm.js.map → handlebars-3tRO54kz.esm.js.map} +1 -1
- package/dist/chunks/{index-DGOC8m2r.esm.d.ts → index-BG63SUjk.esm.d.ts} +1 -1
- package/dist/chunks/index-BiOlmhqL.esm.js +32 -0
- package/dist/chunks/index-BiOlmhqL.esm.js.map +1 -0
- package/dist/chunks/{index-Bi9LFICg.esm.d.ts → index-Bn65er6F.esm.d.ts} +1 -1
- package/dist/chunks/index-BygeMtqf.esm.js +2 -0
- package/dist/chunks/{index-BaAhcyM6.esm.js.map → index-BygeMtqf.esm.js.map} +1 -1
- package/dist/chunks/{index-BebFL9KU.esm.js → index-C8pScO8d.esm.js} +4 -4
- package/dist/chunks/index-C8pScO8d.esm.js.map +1 -0
- package/dist/chunks/{index-h_-rDiMR.esm.d.ts → index-CSQv0_2I.esm.d.ts} +1 -1
- package/dist/chunks/index-CsNyA6Px.esm.js +2 -0
- package/dist/chunks/index-CsNyA6Px.esm.js.map +1 -0
- package/dist/chunks/index-DnFFgYbT.esm.js +2 -0
- package/dist/chunks/index-DnFFgYbT.esm.js.map +1 -0
- package/dist/chunks/index-U1QpwjdF.esm.js +32 -0
- package/dist/chunks/index-U1QpwjdF.esm.js.map +1 -0
- package/dist/chunks/{index-DQ89VjpD.esm.d.ts → index-_M2mg4n1.esm.d.ts} +1 -1
- package/dist/chunks/{index-B-QZylCa.esm.js → index-lSPlMuMz.esm.js} +4 -4
- package/dist/chunks/index-lSPlMuMz.esm.js.map +1 -0
- package/dist/chunks/{index-Beh5bQDw.esm.js → index-tkscjKkq.esm.js} +7 -7
- package/dist/chunks/{index-Beh5bQDw.esm.js.map → index-tkscjKkq.esm.js.map} +1 -1
- package/dist/chunks/{promo-pill-label-BWPhroK6.esm.js → promo-pill-label-DYR3PZH7.esm.js} +2 -2
- package/dist/chunks/{promo-pill-label-BWPhroK6.esm.js.map → promo-pill-label-DYR3PZH7.esm.js.map} +1 -1
- package/dist/chunks/{share-button-C-QLknal.esm.js → share-button-CqrSfHAr.esm.js} +2 -2
- package/dist/chunks/{share-button-C-QLknal.esm.js.map → share-button-CqrSfHAr.esm.js.map} +1 -1
- package/dist/chunks/{share-button-CIP03E7T.esm.js → share-button-DP2wLhmP.esm.js} +2 -2
- package/dist/chunks/{share-button-CIP03E7T.esm.js.map → share-button-DP2wLhmP.esm.js.map} +1 -1
- package/dist/chunks/statsig-DlszSNOf.esm.js +2 -0
- package/dist/chunks/statsig-DlszSNOf.esm.js.map +1 -0
- package/dist/chunks/{update-cart-B5Tr9N3V.esm.d.ts → update-cart-uoS0BDZq.esm.d.ts} +1 -1
- package/dist/chunks/{utils-BPcZ5h8J.esm.d.ts → utils-DfsVjUY-.esm.d.ts} +1 -0
- package/dist/chunks/{utils-C5hmbxa4.esm.js → utils-ly9wMwUO.esm.js} +2 -2
- package/dist/chunks/utils-ly9wMwUO.esm.js.map +1 -0
- package/dist/components/beam-partner-logos.d.ts +1 -1
- package/dist/components/community-impact.d.ts +1 -1
- package/dist/components/community-impact.esm.js +1 -1
- package/dist/components/community-impact.js +1 -1
- package/dist/components/cumulative-impact.d.ts +1 -1
- package/dist/components/cumulative-impact.esm.js +1 -1
- package/dist/components/cumulative-impact.js +1 -1
- package/dist/components/impact-overview.d.ts +1 -1
- package/dist/components/impact-overview.esm.js +1 -1
- package/dist/components/impact-overview.js +1 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +1 -1
- package/dist/components/post-purchase.esm.js +1 -1
- package/dist/components/post-purchase.js +1 -1
- package/dist/components/product-details-page.d.ts +1 -1
- package/dist/components/product-details-page.esm.js +3 -3
- package/dist/components/product-details-page.js +3 -3
- package/dist/components/redeem-transaction.d.ts +1 -1
- package/dist/components/redeem-transaction.esm.js +1 -1
- package/dist/components/redeem-transaction.js +1 -1
- package/dist/components/select-nonprofit.d.ts +1 -1
- package/dist/components/select-nonprofit.esm.js +25 -27
- package/dist/components/select-nonprofit.esm.js.map +1 -1
- package/dist/components/select-nonprofit.js +25 -27
- package/dist/components/select-nonprofit.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.d.ts +1 -1
- package/dist/components/select-subscription-nonprofit.esm.js +2 -2
- package/dist/components/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.js +2 -2
- package/dist/components/select-subscription-nonprofit.js.map +1 -1
- package/dist/components/shopify.d.ts +4 -4
- package/dist/components/shopify.esm.js +1 -1
- package/dist/components/shopify.esm.js.map +1 -1
- package/dist/components/shopify.js +1 -1
- package/dist/components/shopify.js.map +1 -1
- package/dist/components/social-share.d.ts +1 -1
- package/dist/components/social-share.esm.js +1 -1
- package/dist/components/social-share.js +1 -1
- package/dist/components/subscriber-select-nonprofit.d.ts +1 -1
- package/dist/components/subscriber-select-nonprofit.esm.js +4 -4
- package/dist/components/subscriber-select-nonprofit.esm.js.map +1 -1
- package/dist/components/subscriber-select-nonprofit.js +4 -4
- package/dist/components/subscriber-select-nonprofit.js.map +1 -1
- package/dist/components/subscription-impact.d.ts +1 -1
- package/dist/components/subscription-impact.esm.js +1 -1
- package/dist/components/subscription-impact.js +1 -1
- package/dist/components/subscription-management.d.ts +1 -1
- package/dist/components/subscription-management.esm.js +1 -1
- package/dist/components/subscription-management.esm.js.map +1 -1
- package/dist/components/subscription-management.js +1 -1
- package/dist/components/subscription-management.js.map +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/beam.d.ts +1 -1
- package/dist/integrations/beam.esm.js +1 -1
- package/dist/integrations/beam.js +1 -1
- package/dist/integrations/cart.d.ts +2 -2
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/logs.d.ts +2 -2
- package/dist/integrations/logs.esm.js +1 -1
- package/dist/integrations/logs.js +1 -1
- package/dist/integrations/promoManager.d.ts +1 -1
- package/dist/integrations/promoManager.esm.js +1 -1
- package/dist/integrations/promoManager.js +1 -1
- package/dist/integrations/session.esm.js +1 -1
- package/dist/integrations/session.js +1 -1
- package/dist/integrations/shopify-order.d.ts +1 -1
- package/dist/integrations/shopify-order.esm.js +1 -1
- package/dist/integrations/shopify-order.js +1 -1
- package/dist/integrations/shopify.d.ts +3 -3
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/integrations/statsig.d.ts +8 -5
- package/dist/integrations/statsig.esm.js +14 -14
- package/dist/integrations/statsig.esm.js.map +1 -1
- package/dist/integrations/statsig.js +14 -14
- package/dist/integrations/statsig.js.map +1 -1
- package/dist/integrations/utils.d.ts +1 -1
- package/dist/integrations/utils.esm.js +1 -1
- package/dist/integrations/utils.js +1 -1
- package/dist/react/beam-partner-logos.d.ts +1 -1
- package/dist/react/community-impact.d.ts +1 -1
- package/dist/react/community-impact.esm.js +1 -1
- package/dist/react/community-impact.js +1 -1
- package/dist/react/cumulative-impact.d.ts +1 -1
- package/dist/react/cumulative-impact.esm.js +1 -1
- package/dist/react/cumulative-impact.js +1 -1
- package/dist/react/impact-overview.d.ts +1 -1
- package/dist/react/impact-overview.esm.js +1 -1
- package/dist/react/impact-overview.js +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +1 -1
- package/dist/react/post-purchase.esm.js +1 -1
- package/dist/react/post-purchase.js +1 -1
- package/dist/react/product-details-page.d.ts +1 -1
- package/dist/react/product-details-page.esm.js +1 -1
- package/dist/react/product-details-page.js +1 -1
- package/dist/react/redeem-transaction.d.ts +1 -1
- package/dist/react/redeem-transaction.esm.js +1 -1
- package/dist/react/redeem-transaction.js +1 -1
- package/dist/react/select-nonprofit.d.ts +1 -1
- package/dist/react/select-nonprofit.esm.js +1 -1
- package/dist/react/select-nonprofit.js +1 -1
- package/dist/react/select-subscription-nonprofit.d.ts +1 -1
- package/dist/react/select-subscription-nonprofit.esm.js +1 -1
- package/dist/react/select-subscription-nonprofit.js +1 -1
- package/dist/react/shopify.esm.js +1 -1
- package/dist/react/shopify.esm.js.map +1 -1
- package/dist/react/shopify.js +1 -1
- package/dist/react/shopify.js.map +1 -1
- package/dist/react/social-share.d.ts +1 -1
- package/dist/react/social-share.esm.js +1 -1
- package/dist/react/social-share.js +1 -1
- package/dist/react/subscriber-select-nonprofit.d.ts +1 -1
- package/dist/react/subscriber-select-nonprofit.esm.js +1 -1
- package/dist/react/subscriber-select-nonprofit.js +1 -1
- package/dist/react/subscription-impact.d.ts +1 -1
- package/dist/react/subscription-impact.esm.js +1 -1
- package/dist/react/subscription-impact.js +1 -1
- package/dist/react/subscription-management.d.ts +1 -1
- package/dist/react/subscription-management.esm.js +1 -1
- package/dist/react/subscription-management.js +1 -1
- package/dist/utils/beam-errors.d.ts +1 -1
- package/dist/utils/beam-errors.esm.js +1 -1
- package/dist/utils/beam-errors.js +1 -1
- package/dist/utils/cart.d.ts +1 -1
- package/dist/utils/cart.esm.js +1 -1
- package/dist/utils/cart.js +1 -1
- package/dist/utils/clear-beam-storage.d.ts +1 -1
- package/dist/utils/clear-beam-storage.esm.js +1 -1
- package/dist/utils/clear-beam-storage.js +1 -1
- package/dist/utils/cookies.d.ts +1 -1
- package/dist/utils/cookies.esm.js +1 -1
- package/dist/utils/cookies.js +1 -1
- package/dist/utils/events.d.ts +1 -1
- package/dist/utils/events.esm.js +1 -1
- package/dist/utils/events.js +1 -1
- package/dist/utils/local-storage.d.ts +1 -1
- package/dist/utils/local-storage.esm.js +1 -1
- package/dist/utils/local-storage.js +1 -1
- package/dist/utils/logger.d.ts +1 -1
- package/dist/utils/logger.esm.js +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/makeApiKeyHeader.d.ts +1 -1
- package/dist/utils/makeApiKeyHeader.esm.js +1 -1
- package/dist/utils/makeApiKeyHeader.js +1 -1
- package/dist/utils/memoize-last.d.ts +1 -1
- package/dist/utils/memoize-last.esm.js +1 -1
- package/dist/utils/memoize-last.js +1 -1
- package/dist/utils/network-listeners.d.ts +1 -1
- package/dist/utils/network-listeners.esm.js +1 -1
- package/dist/utils/network-listeners.js +1 -1
- package/dist/utils/promoManager.d.ts +1 -1
- package/dist/utils/promoManager.esm.js +1 -1
- package/dist/utils/promoManager.js +1 -1
- package/dist/utils/remote-session.d.ts +1 -1
- package/dist/utils/remote-session.esm.js +1 -1
- package/dist/utils/remote-session.js +1 -1
- package/dist/utils/wait-for-element.d.ts +1 -1
- package/dist/utils/wait-for-element.esm.js +1 -1
- package/dist/utils/wait-for-element.js +1 -1
- package/package.json +2 -1
- package/dist/chunks/index-B-QZylCa.esm.js.map +0 -1
- package/dist/chunks/index-B8g4VHgI.esm.js +0 -32
- package/dist/chunks/index-B8g4VHgI.esm.js.map +0 -1
- package/dist/chunks/index-BX0p4BVY.esm.js +0 -32
- package/dist/chunks/index-BX0p4BVY.esm.js.map +0 -1
- package/dist/chunks/index-BaAhcyM6.esm.js +0 -2
- package/dist/chunks/index-BebFL9KU.esm.js.map +0 -1
- package/dist/chunks/index-Duq6tIq8.esm.js +0 -2
- package/dist/chunks/index-Duq6tIq8.esm.js.map +0 -1
- package/dist/chunks/utils-C5hmbxa4.esm.js.map +0 -1
|
@@ -2,7 +2,7 @@ import * as _lit_react from '@lit/react';
|
|
|
2
2
|
import { BeamPostPurchase as BeamPostPurchase$1 } from '../components/post-purchase.js';
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
|
-
import '../chunks/utils-
|
|
5
|
+
import '../chunks/utils-DfsVjUY-.esm.js';
|
|
6
6
|
import 'lodash-es/debounce';
|
|
7
7
|
import 'lodash-es/isEqual';
|
|
8
8
|
import '../components/redeem-transaction.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as t}from"../chunks/index-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as t}from"../chunks/index-U1QpwjdF.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/index-C8pScO8d.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../components/impact-overview.esm.js";import"../chunks/share-button-CqrSfHAr.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
|
|
2
2
|
//# sourceMappingURL=post-purchase.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as t}from"../chunks/index-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as t}from"../chunks/index-BiOlmhqL.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/index-lSPlMuMz.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../components/beam-partner-logos.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../components/impact-overview.js";import"../chunks/share-button-CqrSfHAr.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
|
|
2
2
|
//# sourceMappingURL=post-purchase.js.map
|
|
@@ -3,7 +3,7 @@ import { BeamProductDetailsPage as BeamProductDetailsPage$1 } from '../component
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import '../chunks/routes-BW8Dd3C1.esm.js';
|
|
6
|
-
import '../chunks/utils-
|
|
6
|
+
import '../chunks/utils-DfsVjUY-.esm.js';
|
|
7
7
|
import 'lodash-es/debounce';
|
|
8
8
|
import 'lodash-es/isEqual';
|
|
9
9
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as a}from"../chunks/lit-BEag9MFp.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.esm.js";import"../chunks/index-
|
|
1
|
+
import o from"react";import{f as a}from"../chunks/lit-BEag9MFp.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";const m=a({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamProductDetailsPage,m as default};
|
|
2
2
|
//# sourceMappingURL=product-details-page.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as a}from"../chunks/lit-BEag9MFp.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.js";import"../chunks/index-
|
|
1
|
+
import o from"react";import{f as a}from"../chunks/lit-BEag9MFp.esm.js";import{BeamProductDetailsPage as t}from"../components/product-details-page.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";const m=a({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamProductDetailsPage,m as default};
|
|
2
2
|
//# sourceMappingURL=product-details-page.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
4
4
|
import { BeamRedeemTransaction as BeamRedeemTransaction$1 } from '../components/redeem-transaction.js';
|
|
5
5
|
import 'lodash-es/debounce';
|
|
6
6
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as m}from"../chunks/lit-BEag9MFp.esm.js";import{B as r}from"../chunks/utils-
|
|
1
|
+
import o from"react";import{f as m}from"../chunks/lit-BEag9MFp.esm.js";import{B as r}from"../chunks/utils-ly9wMwUO.esm.js";import{B as t}from"../chunks/index-C8pScO8d.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.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.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as m}from"../chunks/lit-BEag9MFp.esm.js";import{B as r}from"../chunks/utils-
|
|
1
|
+
import o from"react";import{f as m}from"../chunks/lit-BEag9MFp.esm.js";import{B as r}from"../chunks/utils-ly9wMwUO.esm.js";import{B as t}from"../chunks/index-lSPlMuMz.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../components/beam-partner-logos.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.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,6 +1,6 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
4
4
|
import { BeamSelectNonprofit as BeamSelectNonprofit$1 } from '../components/select-nonprofit.js';
|
|
5
5
|
import 'lodash-es/debounce';
|
|
6
6
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-
|
|
1
|
+
import o from"react";import{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-ly9wMwUO.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.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,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-
|
|
1
|
+
import o from"react";import{f as e}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-ly9wMwUO.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/promo-pill-label-DYR3PZH7.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.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,6 +1,6 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
4
4
|
import { BeamSelectSubscriptionNonprofit as BeamSelectSubscriptionNonprofit$1 } from '../components/select-subscription-nonprofit.js';
|
|
5
5
|
import 'lodash-es/debounce';
|
|
6
6
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-
|
|
1
|
+
import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-ly9wMwUO.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/css-card-grid-tjA36yWj.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,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-
|
|
1
|
+
import e from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-ly9wMwUO.esm.js";import{BeamSelectSubscriptionNonprofit as t}from"../components/select-subscription-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/css-card-grid-tjA36yWj.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,2 +1,2 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as C,A as s,Y as i,Z as S,e as c,h as p,_ as u,a as w,g as r,k,H as P,f,v as E,j as A,b as v,E as y,l as L,$ as I,R as _,a0 as F,G as R,p as b,s as x,o as n,J as N,I as V,X as h,w as z,q}from"../chunks/utils-ly9wMwUO.esm.js";import{d as B,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";function O(e){window.beamStatsigContext=e}function M(){return window.beamStatsigContext}var U=Object.freeze({__proto__:null,clearBeamStorage:C,createScopedLocalStorage:s,debounce:B,deleteCookieValue:i,errors:S,events:c,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:u,getCookieMap:w,getCookieValue:r,getPromoCodeFromShopifyCookie:k,getPromoCodesFromCart:P,getPromoCodesLocalStorage:f,getRemoteSession:E,getSanitizedUrlForStorage:A,initNetworkListeners:v,isEmptyPromoData:y,isEqual:J,logger:L,mapToUnvalidatedPromoCodes:I,memoizeLast:_,mergeStoreAndReturnPromos:F,parseJsonStringArray:R,promoCodesAreEqual:b,saveRemoteSession:x,setCookieValue:n,setPromoCodeInCookie:N,setPromoCodesInLocalStorage:V,teardownNetworkListeners:h,waitForElement:z});const m=q.SESSION;async function d({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await r(e))return;const o=K(),l=Date.now()+720*60*60*1e3;await n({name:e,value:o,domain:a,path:"/",expires:l}),s({apiKey:t}).setItemJson("cart",{cartId:o})}async function g({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){const o=await r(e);o&&(s({apiKey:t}).setItemJson("cart",{cartId:o}),await i({name:e,domain:a}))}var j=Object.freeze({__proto__:null,createSession:d,endSession:g});export{U as a,d as c,g as e,M as g,j as i,O as s};
|
|
2
2
|
//# sourceMappingURL=shopify.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
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\";\nimport { BEAM_COOKIE_NAMES } from \"../../api-sdk/constants\";\n\nconst DEFAULT_COOKIE_NAME = BEAM_COOKIE_NAMES.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","BEAM_COOKIE_NAMES","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"
|
|
1
|
+
{"version":3,"file":"shopify.esm.js","sources":["../../src/shared/beam-statsig-context.ts","../../src/integrations/session/index.ts"],"sourcesContent":["/**\n * Beam-owned handoff between the Statsig plugin and the cart integration.\n * The plugin sets it once the shopper is assigned. Kept on window, not module state,\n * so it works whether or not the two chunks share a webpack runtime.\n */\nexport type BeamStatsigContext = {\n showBeam: boolean;\n stableId?: string;\n};\n\ndeclare global {\n interface Window {\n beamStatsigContext?: BeamStatsigContext;\n }\n}\n\nexport function setBeamStatsigContext(context: BeamStatsigContext) {\n window.beamStatsigContext = context;\n}\n\nexport function getBeamStatsigContext(): BeamStatsigContext | undefined {\n return window.beamStatsigContext;\n}\n","/**\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\";\nimport { BEAM_COOKIE_NAMES } from \"../../api-sdk/constants\";\n\nconst DEFAULT_COOKIE_NAME = BEAM_COOKIE_NAMES.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":["setBeamStatsigContext","context","getBeamStatsigContext","DEFAULT_COOKIE_NAME","BEAM_COOKIE_NAMES","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"iYAgBO,SAASA,EAAsBC,EAA6B,CACjE,OAAO,mBAAqBA,CAC9B,CAEO,SAASC,GAAwD,CACtE,OAAO,OAAO,kBAChB,6pBCEA,MAAMC,EAAsBC,EAAkB,QAE9C,eAAsBC,EAAc,CAClC,WAAAC,EAAaH,EACb,OAAAI,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,IAEdC,EAAU,KAAK,IAAA,EAAQ,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,EAAaH,EACb,OAAAI,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"}
|
package/dist/react/shopify.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as
|
|
1
|
+
import{V as C,A as s,Y as i,Z as S,e as c,h as p,_ as u,a as w,g as r,k,H as P,f,v as E,j as A,b as v,E as y,l as L,$ as I,R as _,a0 as F,G as R,p as b,s as x,o as n,J as N,I as V,X as h,w as z,q}from"../chunks/utils-ly9wMwUO.esm.js";import{d as B,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";function O(e){window.beamStatsigContext=e}function M(){return window.beamStatsigContext}var U=Object.freeze({__proto__:null,clearBeamStorage:C,createScopedLocalStorage:s,debounce:B,deleteCookieValue:i,errors:S,events:c,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:u,getCookieMap:w,getCookieValue:r,getPromoCodeFromShopifyCookie:k,getPromoCodesFromCart:P,getPromoCodesLocalStorage:f,getRemoteSession:E,getSanitizedUrlForStorage:A,initNetworkListeners:v,isEmptyPromoData:y,isEqual:J,logger:L,mapToUnvalidatedPromoCodes:I,memoizeLast:_,mergeStoreAndReturnPromos:F,parseJsonStringArray:R,promoCodesAreEqual:b,saveRemoteSession:x,setCookieValue:n,setPromoCodeInCookie:N,setPromoCodesInLocalStorage:V,teardownNetworkListeners:h,waitForElement:z});const m=q.SESSION;async function d({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await r(e))return;const o=K(),l=Date.now()+720*60*60*1e3;await n({name:e,value:o,domain:a,path:"/",expires:l}),s({apiKey:t}).setItemJson("cart",{cartId:o})}async function g({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){const o=await r(e);o&&(s({apiKey:t}).setItemJson("cart",{cartId:o}),await i({name:e,domain:a}))}var j=Object.freeze({__proto__:null,createSession:d,endSession:g});export{U as a,d as c,g as e,M as g,j as i,O as s};
|
|
2
2
|
//# sourceMappingURL=shopify.js.map
|
|
@@ -1 +1 @@
|
|
|
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\";\nimport { BEAM_COOKIE_NAMES } from \"../../api-sdk/constants\";\n\nconst DEFAULT_COOKIE_NAME = BEAM_COOKIE_NAMES.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","BEAM_COOKIE_NAMES","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"
|
|
1
|
+
{"version":3,"file":"shopify.js","sources":["../../src/shared/beam-statsig-context.ts","../../src/integrations/session/index.ts"],"sourcesContent":["/**\n * Beam-owned handoff between the Statsig plugin and the cart integration.\n * The plugin sets it once the shopper is assigned. Kept on window, not module state,\n * so it works whether or not the two chunks share a webpack runtime.\n */\nexport type BeamStatsigContext = {\n showBeam: boolean;\n stableId?: string;\n};\n\ndeclare global {\n interface Window {\n beamStatsigContext?: BeamStatsigContext;\n }\n}\n\nexport function setBeamStatsigContext(context: BeamStatsigContext) {\n window.beamStatsigContext = context;\n}\n\nexport function getBeamStatsigContext(): BeamStatsigContext | undefined {\n return window.beamStatsigContext;\n}\n","/**\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\";\nimport { BEAM_COOKIE_NAMES } from \"../../api-sdk/constants\";\n\nconst DEFAULT_COOKIE_NAME = BEAM_COOKIE_NAMES.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":["setBeamStatsigContext","context","getBeamStatsigContext","DEFAULT_COOKIE_NAME","BEAM_COOKIE_NAMES","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"iYAgBO,SAASA,EAAsBC,EAA6B,CACjE,OAAO,mBAAqBA,CAC9B,CAEO,SAASC,GAAwD,CACtE,OAAO,OAAO,kBAChB,6pBCEA,MAAMC,EAAsBC,EAAkB,QAE9C,eAAsBC,EAAc,CAClC,WAAAC,EAAaH,EACb,OAAAI,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,IAEdC,EAAU,KAAK,IAAA,EAAQ,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,EAAaH,EACb,OAAAI,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"}
|
|
@@ -3,7 +3,7 @@ import { BeamSocialShare as BeamSocialShare$1 } from '../components/social-share
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import '../components/beam-partner-logos.js';
|
|
6
|
-
import '../chunks/utils-
|
|
6
|
+
import '../chunks/utils-DfsVjUY-.esm.js';
|
|
7
7
|
import 'lodash-es/debounce';
|
|
8
8
|
import 'lodash-es/isEqual';
|
|
9
9
|
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-DPid-O65.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-tjA36yWj.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,2 +1,2 @@
|
|
|
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-
|
|
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-DPid-O65.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-tjA36yWj.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,6 +1,6 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
4
4
|
import { BeamSubscriberSelectNonprofit as BeamSubscriberSelectNonprofit$1 } from '../components/subscriber-select-nonprofit.js';
|
|
5
5
|
import 'lodash-es/debounce';
|
|
6
6
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-ly9wMwUO.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-3tRO54kz.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
|
|
2
2
|
//# sourceMappingURL=subscriber-select-nonprofit.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-ly9wMwUO.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-3tRO54kz.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
|
|
2
2
|
//# sourceMappingURL=subscriber-select-nonprofit.js.map
|
|
@@ -3,7 +3,7 @@ import { BeamSubscriptionImpact as BeamSubscriptionImpact$1 } from '../component
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import 'lodash';
|
|
6
|
-
import '../chunks/utils-
|
|
6
|
+
import '../chunks/utils-DfsVjUY-.esm.js';
|
|
7
7
|
import 'lodash-es/debounce';
|
|
8
8
|
import 'lodash-es/isEqual';
|
|
9
9
|
|
|
@@ -1,2 +1,2 @@
|
|
|
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-
|
|
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-DP2wLhmP.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/share-button-CqrSfHAr.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.esm.js";import"../chunks/css-card-grid-tjA36yWj.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,2 +1,2 @@
|
|
|
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-
|
|
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-DP2wLhmP.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/share-button-CqrSfHAr.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.esm.js";import"../chunks/css-card-grid-tjA36yWj.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
|
|
@@ -3,7 +3,7 @@ import { BeamSubscriptionManagement as BeamSubscriptionManagement$1 } from '../c
|
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
5
5
|
import '../chunks/routes-BW8Dd3C1.esm.js';
|
|
6
|
-
import '../chunks/utils-
|
|
6
|
+
import '../chunks/utils-DfsVjUY-.esm.js';
|
|
7
7
|
import 'lodash-es/debounce';
|
|
8
8
|
import 'lodash-es/isEqual';
|
|
9
9
|
import '../components/select-subscription-nonprofit.js';
|
|
@@ -1,2 +1,2 @@
|
|
|
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/utils-
|
|
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/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.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-CqrSfHAr.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.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,2 +1,2 @@
|
|
|
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/utils-
|
|
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/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-DP2wLhmP.esm.js";import"../chunks/index-tkscjKkq.esm.js";import"../chunks/css-card-grid-tjA36yWj.esm.js";import"../components/select-subscription-nonprofit.js";import"../components/beam-partner-logos.js";import"../components/subscription-impact.js";import"../chunks/share-button-CqrSfHAr.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-DPid-O65.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,3 +1,3 @@
|
|
|
1
|
-
export { O as BeamError, P as LocalStorageError, Q as MissingConfig, R as NetworkError, S as SetupError } from '../chunks/utils-
|
|
1
|
+
export { O as BeamError, P as LocalStorageError, Q as MissingConfig, R as NetworkError, S as SetupError } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
2
2
|
import 'lodash-es/debounce';
|
|
3
3
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as s,a4 as e,
|
|
1
|
+
import{n as s,a4 as e,Q as t,a3 as i,S as E}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,E as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{n as s,a4 as e,
|
|
1
|
+
import{n as s,a4 as e,Q as t,a3 as i,S as E}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,E as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.js.map
|
package/dist/utils/cart.d.ts
CHANGED
package/dist/utils/cart.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{C as e,K as m}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
|
|
2
2
|
//# sourceMappingURL=cart.esm.js.map
|
package/dist/utils/cart.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{C as e,K as m}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
|
|
2
2
|
//# sourceMappingURL=cart.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o}from"../chunks/utils-
|
|
1
|
+
import{V as o}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{o as clearBeamStorage};
|
|
2
2
|
//# sourceMappingURL=clear-beam-storage.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{V as o}from"../chunks/utils-
|
|
1
|
+
import{V as o}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{o as clearBeamStorage};
|
|
2
2
|
//# sourceMappingURL=clear-beam-storage.js.map
|
package/dist/utils/cookies.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { l as deleteCookieValue, p as getCookieMap, q as getCookieValue, G as setCookieValue } from '../chunks/utils-
|
|
1
|
+
export { l as deleteCookieValue, p as getCookieMap, q as getCookieValue, G as setCookieValue } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
2
2
|
import 'lodash-es/debounce';
|
|
3
3
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Y as t,a as i,g as s,o as k}from"../chunks/utils-
|
|
1
|
+
import{Y as t,a as i,g as s,o as k}from"../chunks/utils-ly9wMwUO.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
|
package/dist/utils/cookies.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{Y as t,a as i,g as s,o as k}from"../chunks/utils-
|
|
1
|
+
import{Y as t,a as i,g as s,o as k}from"../chunks/utils-ly9wMwUO.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
|
package/dist/utils/events.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { U as BeamCartChangeEvent, V as BeamCartCreatedEvent, W as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, X as BeamNonprofitSelectionRemovedEvent, Y as BeamOrderCreatedEvent, Z as BeamPromoCodesStoredEvent, _ as BeamStatsigInitializedEvent, $ as BeamStatusChangeEvent, a0 as BeamWidgetInitialNonprofitSyncCancelEvent, a1 as BeamWidgetInitialNonprofitSyncEvent, a2 as BeamWidgetStoredPromoCodesEvent } from '../chunks/utils-
|
|
1
|
+
export { U as BeamCartChangeEvent, V as BeamCartCreatedEvent, W as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, X as BeamNonprofitSelectionRemovedEvent, Y as BeamOrderCreatedEvent, Z as BeamPromoCodesStoredEvent, _ as BeamStatsigInitializedEvent, $ as BeamStatusChangeEvent, a0 as BeamWidgetInitialNonprofitSyncCancelEvent, a1 as BeamWidgetInitialNonprofitSyncEvent, a2 as BeamWidgetStoredPromoCodesEvent } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
2
2
|
import 'lodash-es/debounce';
|
|
3
3
|
import 'lodash-es/isEqual';
|
package/dist/utils/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{P as n,t as o,U as r,B as m,M as i,u as s,m as v,r as B,c as d,O as E,N as C,F as l}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{n as BeamCartChangeEvent,o as BeamCartCreatedEvent,r as BeamNetworkCallEvent,m as BeamNonprofitSelectEvent,i as BeamNonprofitSelectionRemovedEvent,s as BeamOrderCreatedEvent,v as BeamPromoCodesStoredEvent,B as BeamStatsigInitializedEvent,d as BeamStatusChangeEvent,E as BeamWidgetInitialNonprofitSyncCancelEvent,C as BeamWidgetInitialNonprofitSyncEvent,l as BeamWidgetStoredPromoCodesEvent};
|
|
2
2
|
//# sourceMappingURL=events.esm.js.map
|
package/dist/utils/events.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{P as n,t as o,U as r,B as m,M as i,u as s,m as v,r as B,c as d,O as E,N as C,F as l}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{n as BeamCartChangeEvent,o as BeamCartCreatedEvent,r as BeamNetworkCallEvent,m as BeamNonprofitSelectEvent,i as BeamNonprofitSelectionRemovedEvent,s as BeamOrderCreatedEvent,v as BeamPromoCodesStoredEvent,B as BeamStatsigInitializedEvent,d as BeamStatusChangeEvent,E as BeamWidgetInitialNonprofitSyncCancelEvent,C as BeamWidgetInitialNonprofitSyncEvent,l as BeamWidgetStoredPromoCodesEvent};
|
|
2
2
|
//# sourceMappingURL=events.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{A as a}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{a as createScopedLocalStorage};
|
|
2
2
|
//# sourceMappingURL=local-storage.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{A as a}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{a as createScopedLocalStorage};
|
|
2
2
|
//# sourceMappingURL=local-storage.js.map
|
package/dist/utils/logger.d.ts
CHANGED
package/dist/utils/logger.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{l as g}from"../chunks/utils-
|
|
1
|
+
import{l as g}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{g as logger};
|
|
2
2
|
//# sourceMappingURL=logger.esm.js.map
|
package/dist/utils/logger.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{l as g}from"../chunks/utils-
|
|
1
|
+
import{l as g}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{g as logger};
|
|
2
2
|
//# sourceMappingURL=logger.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as m}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{m as makeApiKeyHeader};
|
|
2
2
|
//# sourceMappingURL=makeApiKeyHeader.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{y as m}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{m as makeApiKeyHeader};
|
|
2
2
|
//# sourceMappingURL=makeApiKeyHeader.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/lodash-CrMU6wKg.esm.js";import{
|
|
1
|
+
import"../chunks/lodash-CrMU6wKg.esm.js";import{R as r}from"../chunks/utils-ly9wMwUO.esm.js";export{r as memoizeLast};
|
|
2
2
|
//# sourceMappingURL=memoize-last.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../chunks/lodash-CrMU6wKg.esm.js";import{
|
|
1
|
+
import"../chunks/lodash-CrMU6wKg.esm.js";import{R as r}from"../chunks/utils-ly9wMwUO.esm.js";export{r as memoizeLast};
|
|
2
2
|
//# sourceMappingURL=memoize-last.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { i as initNetworkListeners, J as teardownNetworkListeners } from '../chunks/utils-
|
|
1
|
+
export { i as initNetworkListeners, J as teardownNetworkListeners } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
2
2
|
import 'lodash-es/debounce';
|
|
3
3
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as o,X as s}from"../chunks/utils-
|
|
1
|
+
import{b as o,X as s}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{o as initNetworkListeners,s as teardownNetworkListeners};
|
|
2
2
|
//# sourceMappingURL=network-listeners.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as o,X as s}from"../chunks/utils-
|
|
1
|
+
import{b as o,X as s}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{o as initNetworkListeners,s as teardownNetworkListeners};
|
|
2
2
|
//# sourceMappingURL=network-listeners.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { n as formatStoreAndReturnPromoCodes, o as getAllPromoCodesFromCookie, r as getPromoCodeFromShopifyCookie, s as getPromoCodesFromCart, t as getPromoCodesLocalStorage, v as getSanitizedUrlForStorage, x as isEmptyPromoData, z as mapToUnvalidatedPromoCodes, C as mergeStoreAndReturnPromos, D as parseJsonStringArray, E as promoCodesAreEqual, H as setPromoCodeInCookie, I as setPromoCodesInLocalStorage } from '../chunks/utils-
|
|
1
|
+
export { n as formatStoreAndReturnPromoCodes, o as getAllPromoCodesFromCookie, r as getPromoCodeFromShopifyCookie, s as getPromoCodesFromCart, t as getPromoCodesLocalStorage, v as getSanitizedUrlForStorage, x as isEmptyPromoData, z as mapToUnvalidatedPromoCodes, C as mergeStoreAndReturnPromos, D as parseJsonStringArray, E as promoCodesAreEqual, H as setPromoCodeInCookie, I as setPromoCodesInLocalStorage } from '../chunks/utils-DfsVjUY-.esm.js';
|
|
2
2
|
import 'lodash-es/debounce';
|
|
3
3
|
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as a,_ as s,k as t,
|
|
1
|
+
import{h as a,_ as s,k as t,H as m,f as d,j as C,E as g,$ as i,a0 as n,G as P,p,J as S,I as l}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{a as formatStoreAndReturnPromoCodes,s as getAllPromoCodesFromCookie,t as getPromoCodeFromShopifyCookie,m as getPromoCodesFromCart,d as getPromoCodesLocalStorage,C as getSanitizedUrlForStorage,g as isEmptyPromoData,i as mapToUnvalidatedPromoCodes,n as mergeStoreAndReturnPromos,P as parseJsonStringArray,p as promoCodesAreEqual,S as setPromoCodeInCookie,l as setPromoCodesInLocalStorage};
|
|
2
2
|
//# sourceMappingURL=promoManager.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{h as a,_ as s,k as t,
|
|
1
|
+
import{h as a,_ as s,k as t,H as m,f as d,j as C,E as g,$ as i,a0 as n,G as P,p,J as S,I as l}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{a as formatStoreAndReturnPromoCodes,s as getAllPromoCodesFromCookie,t as getPromoCodeFromShopifyCookie,m as getPromoCodesFromCart,d as getPromoCodesLocalStorage,C as getSanitizedUrlForStorage,g as isEmptyPromoData,i as mapToUnvalidatedPromoCodes,n as mergeStoreAndReturnPromos,P as parseJsonStringArray,p as promoCodesAreEqual,S as setPromoCodeInCookie,l as setPromoCodesInLocalStorage};
|
|
2
2
|
//# sourceMappingURL=promoManager.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{v as t,s as m}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as getRemoteSession,m as saveRemoteSession};
|
|
2
2
|
//# sourceMappingURL=remote-session.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{v as t,s as m}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as getRemoteSession,m as saveRemoteSession};
|
|
2
2
|
//# sourceMappingURL=remote-session.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{w as e}from"../chunks/utils-
|
|
1
|
+
import{w as e}from"../chunks/utils-ly9wMwUO.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as waitForElement};
|
|
2
2
|
//# sourceMappingURL=wait-for-element.esm.js.map
|