@appfunnel-dev/sdk 2.0.0-canary.7 → 2.0.0-canary.9

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 (47) hide show
  1. package/dist/{capabilities-7_hy5f5G.d.cts → capabilities-Dq22RCr_.d.cts} +67 -1
  2. package/dist/{capabilities-7_hy5f5G.d.ts → capabilities-Dq22RCr_.d.ts} +67 -1
  3. package/dist/{checkout-CMEdxpgo.d.cts → checkout-ClaO5IYV.d.ts} +17 -4
  4. package/dist/{checkout-D1NUPv4p.d.ts → checkout-DBp4bCpC.d.cts} +17 -4
  5. package/dist/{chunk-QMAZGLGV.cjs → chunk-7JLOF6CJ.cjs} +59 -7
  6. package/dist/chunk-7JLOF6CJ.cjs.map +1 -0
  7. package/dist/{chunk-CFFMZYPE.js → chunk-JAO6AA4R.js} +3 -3
  8. package/dist/{chunk-CFFMZYPE.js.map → chunk-JAO6AA4R.js.map} +1 -1
  9. package/dist/{chunk-TNLRQPVY.js → chunk-OXQBEKZ5.js} +55 -8
  10. package/dist/chunk-OXQBEKZ5.js.map +1 -0
  11. package/dist/{chunk-VAOR77NW.cjs → chunk-VV7TFC64.cjs} +7 -7
  12. package/dist/{chunk-VAOR77NW.cjs.map → chunk-VV7TFC64.cjs.map} +1 -1
  13. package/dist/{chunk-7YQLPPPG.js → chunk-VW2HVPR4.js} +7 -2
  14. package/dist/chunk-VW2HVPR4.js.map +1 -0
  15. package/dist/{chunk-BPOAWI4G.cjs → chunk-Y4YNJ2EX.cjs} +7 -2
  16. package/dist/chunk-Y4YNJ2EX.cjs.map +1 -0
  17. package/dist/driver-paddle.cjs +26 -24
  18. package/dist/driver-paddle.cjs.map +1 -1
  19. package/dist/driver-paddle.d.cts +2 -2
  20. package/dist/driver-paddle.d.ts +2 -2
  21. package/dist/driver-paddle.js +6 -4
  22. package/dist/driver-paddle.js.map +1 -1
  23. package/dist/driver-stripe.cjs +32 -26
  24. package/dist/driver-stripe.cjs.map +1 -1
  25. package/dist/driver-stripe.d.cts +2 -2
  26. package/dist/driver-stripe.d.ts +2 -2
  27. package/dist/driver-stripe.js +10 -4
  28. package/dist/driver-stripe.js.map +1 -1
  29. package/dist/index.cjs +88 -61
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +5 -5
  32. package/dist/index.d.ts +5 -5
  33. package/dist/index.js +20 -5
  34. package/dist/index.js.map +1 -1
  35. package/dist/{manifest-CMe8yVkr.d.cts → manifest-B3Tdab0M.d.cts} +64 -1
  36. package/dist/{manifest-CMe8yVkr.d.ts → manifest-B3Tdab0M.d.ts} +64 -1
  37. package/dist/manifest-entry.cjs +112 -31
  38. package/dist/manifest-entry.cjs.map +1 -1
  39. package/dist/manifest-entry.d.cts +9 -26
  40. package/dist/manifest-entry.d.ts +9 -26
  41. package/dist/manifest-entry.js +64 -3
  42. package/dist/manifest-entry.js.map +1 -1
  43. package/package.json +1 -1
  44. package/dist/chunk-7YQLPPPG.js.map +0 -1
  45. package/dist/chunk-BPOAWI4G.cjs.map +0 -1
  46. package/dist/chunk-QMAZGLGV.cjs.map +0 -1
  47. package/dist/chunk-TNLRQPVY.js.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkBPOAWI4G_cjs = require('./chunk-BPOAWI4G.cjs');
3
+ var chunkY4YNJ2EX_cjs = require('./chunk-Y4YNJ2EX.cjs');
4
4
  var chunkWYUDL4FI_cjs = require('./chunk-WYUDL4FI.cjs');
5
- var chunkQMAZGLGV_cjs = require('./chunk-QMAZGLGV.cjs');
5
+ var chunk7JLOF6CJ_cjs = require('./chunk-7JLOF6CJ.cjs');
6
6
  require('./chunk-EMMSS5I5.cjs');
7
7
  var React = require('react');
8
8
  var ReactDOM = require('react-dom');
@@ -504,9 +504,9 @@ function LocaleProvider({
504
504
  override,
505
505
  children
506
506
  }) {
507
- const [locale, setLocale] = React.useState(() => chunkBPOAWI4G_cjs.resolveLocale(config, detected, override));
507
+ const [locale, setLocale] = React.useState(() => chunkY4YNJ2EX_cjs.resolveLocale(config, detected, override));
508
508
  React.useEffect(() => {
509
- setLocale(chunkBPOAWI4G_cjs.resolveLocale(config, detected, override));
509
+ setLocale(chunkY4YNJ2EX_cjs.resolveLocale(config, detected, override));
510
510
  }, [config, detected, override]);
511
511
  const value = React.useMemo(
512
512
  () => ({ locale, setLocale, config, catalog }),
@@ -578,7 +578,7 @@ function useTranslation() {
578
578
  fmt,
579
579
  locale,
580
580
  setLocale,
581
- dir: chunkBPOAWI4G_cjs.isRtl(locale) ? "rtl" : "ltr",
581
+ dir: chunkY4YNJ2EX_cjs.isRtl(locale) ? "rtl" : "ltr",
582
582
  locales: config?.supported ?? [locale]
583
583
  };
584
584
  }
@@ -600,7 +600,7 @@ function useOffering(id) {
600
600
  const locale = useActiveLocale();
601
601
  const resolved = id ? catalog.get(id) : void 0;
602
602
  return React.useMemo(
603
- () => resolved ? chunkBPOAWI4G_cjs.formatOffering(resolved, locale) : void 0,
603
+ () => resolved ? chunkY4YNJ2EX_cjs.formatOffering(resolved, locale) : void 0,
604
604
  [resolved, locale]
605
605
  );
606
606
  }
@@ -608,7 +608,7 @@ function useOfferings() {
608
608
  const catalog = useCatalog();
609
609
  const locale = useActiveLocale();
610
610
  return React.useMemo(
611
- () => Array.from(catalog.values()).map((r) => chunkBPOAWI4G_cjs.formatOffering(r, locale)),
611
+ () => Array.from(catalog.values()).map((r) => chunkY4YNJ2EX_cjs.formatOffering(r, locale)),
612
612
  [catalog, locale]
613
613
  );
614
614
  }
@@ -786,10 +786,10 @@ function FunnelView({
786
786
  [pages]
787
787
  );
788
788
  const seedRef = React.useRef(null);
789
- if (seedRef.current === null) seedRef.current = chunkBPOAWI4G_cjs.bucketingSeed(funnel.context);
789
+ if (seedRef.current === null) seedRef.current = chunkY4YNJ2EX_cjs.bucketingSeed(funnel.context);
790
790
  const seed = seedRef.current;
791
791
  const experiments = React.useMemo(
792
- () => chunkBPOAWI4G_cjs.resolveExperiments(pages, funnel.experiments, seed),
792
+ () => chunkY4YNJ2EX_cjs.resolveExperiments(pages, funnel.experiments, seed),
793
793
  [pages, funnel.experiments, seed]
794
794
  );
795
795
  const toSlot = React.useCallback((k) => experiments.slotOf[k] ?? k, [experiments]);
@@ -813,8 +813,8 @@ function FunnelView({
813
813
  const target = toSlot(initialKey);
814
814
  const page2 = flowPages.find((p) => p.key === target);
815
815
  if (trustInitialKey) return page2 ? [target] : start ? [start] : [];
816
- const guard = chunkBPOAWI4G_cjs.entryGuard(page2?.meta);
817
- const ok = page2 && (!guard || chunkBPOAWI4G_cjs.evaluateGate(guard, funnel.snapshot()));
816
+ const guard = chunkY4YNJ2EX_cjs.entryGuard(page2?.meta);
817
+ const ok = page2 && (!guard || chunkY4YNJ2EX_cjs.evaluateGate(guard, funnel.snapshot()));
818
818
  const first = ok ? target : start;
819
819
  return first ? [first] : [];
820
820
  });
@@ -822,7 +822,7 @@ function FunnelView({
822
822
  const index = history.length - 1;
823
823
  const startKey = history[0];
824
824
  const total = React.useMemo(
825
- () => chunkBPOAWI4G_cjs.expectedPathLength(flow, startKey, funnel.snapshot()),
825
+ () => chunkY4YNJ2EX_cjs.expectedPathLength(flow, startKey, funnel.snapshot()),
826
826
  // currentKey in deps: re-trace as each step's answers settle the branch.
827
827
  [flow, startKey, currentKey, funnel]
828
828
  );
@@ -857,7 +857,7 @@ function FunnelView({
857
857
  usePageExitTimer(tracker, currentKey);
858
858
  const [isNavigating, startNav] = React.useTransition();
859
859
  const next = React.useCallback(() => {
860
- const target = chunkBPOAWI4G_cjs.nextPage(flow, currentKey, funnel.snapshot());
860
+ const target = chunkY4YNJ2EX_cjs.nextPage(flow, currentKey, funnel.snapshot());
861
861
  const resolved = target ? toSlot(target) : target;
862
862
  if (resolved) startNav(() => setHistory((h) => [...h, resolved]));
863
863
  }, [flow, currentKey, funnel, toSlot]);
@@ -881,7 +881,7 @@ function FunnelView({
881
881
  [loaders, toRenderKey]
882
882
  );
883
883
  const nextCandidates = React.useMemo(
884
- () => [...new Set(chunkBPOAWI4G_cjs.outgoingKeys(flow, currentKey).map(toRenderKey))],
884
+ () => [...new Set(chunkY4YNJ2EX_cjs.outgoingKeys(flow, currentKey).map(toRenderKey))],
885
885
  [flow, currentKey, toRenderKey]
886
886
  );
887
887
  React.useEffect(() => {
@@ -1382,7 +1382,7 @@ function createMockDriver(provider = "stripe", options = {}) {
1382
1382
  amountMinor: 0,
1383
1383
  currency: "USD"
1384
1384
  };
1385
- const offError = typeof options.failOffSession === "object" ? options.failOffSession : chunkQMAZGLGV_cjs.checkoutError(
1385
+ const offError = typeof options.failOffSession === "object" ? options.failOffSession : chunk7JLOF6CJ_cjs.checkoutError(
1386
1386
  "authentication_required",
1387
1387
  "off-session charge declined (mock)"
1388
1388
  );
@@ -1403,7 +1403,7 @@ function createMockDriver(provider = "stripe", options = {}) {
1403
1403
  if (success.ok) cb.onSuccess(success);
1404
1404
  else
1405
1405
  cb.onError(
1406
- success.error ?? chunkQMAZGLGV_cjs.checkoutError(
1406
+ success.error ?? chunk7JLOF6CJ_cjs.checkoutError(
1407
1407
  "processing_error",
1408
1408
  "failed (mock)"
1409
1409
  )
@@ -1524,7 +1524,7 @@ function useCheckout(opts = {}) {
1524
1524
  },
1525
1525
  [tracker, productFacts]
1526
1526
  );
1527
- const hostInSheet = (surface) => surface === "sheet" || chunkQMAZGLGV_cjs.isInlineSurface(surface) && !!chunkQMAZGLGV_cjs.PROVIDER_PROFILES[driver.provider]?.surfaces.sheet;
1527
+ const hostInSheet = (surface) => surface === "sheet" || chunk7JLOF6CJ_cjs.isInlineSurface(surface) && !!chunk7JLOF6CJ_cjs.PROVIDER_PROFILES[driver.provider]?.surfaces.sheet;
1528
1528
  const startRecovery = (product, surface) => {
1529
1529
  recovering.current = true;
1530
1530
  if (hostInSheet(surface)) {
@@ -1581,7 +1581,7 @@ function useCheckout(opts = {}) {
1581
1581
  else
1582
1582
  startRecovery(
1583
1583
  product,
1584
- chunkQMAZGLGV_cjs.PROVIDER_PROFILES[driver.provider]?.surfaces.sheet ? "sheet" : "popup"
1584
+ chunk7JLOF6CJ_cjs.PROVIDER_PROFILES[driver.provider]?.surfaces.sheet ? "sheet" : "popup"
1585
1585
  );
1586
1586
  return;
1587
1587
  }
@@ -1609,12 +1609,12 @@ function useCheckout(opts = {}) {
1609
1609
  if (result.ok) succeedRef.current(result, product);
1610
1610
  else
1611
1611
  failRef.current(
1612
- result.error ?? chunkQMAZGLGV_cjs.checkoutError("unknown", "Checkout failed"),
1612
+ result.error ?? chunk7JLOF6CJ_cjs.checkoutError("unknown", "Checkout failed"),
1613
1613
  product
1614
1614
  );
1615
1615
  return result;
1616
1616
  } catch (e) {
1617
- const err = chunkQMAZGLGV_cjs.checkoutError(
1617
+ const err = chunk7JLOF6CJ_cjs.checkoutError(
1618
1618
  "processing_error",
1619
1619
  e instanceof Error ? e.message : "Checkout failed"
1620
1620
  );
@@ -1666,7 +1666,7 @@ var CheckoutSheet = defineModal(({ product, surface, intent, kind, onSuccess, on
1666
1666
  if (!hostable) {
1667
1667
  resolved.current = true;
1668
1668
  onErrorRef.current(
1669
- chunkQMAZGLGV_cjs.checkoutError(
1669
+ chunk7JLOF6CJ_cjs.checkoutError(
1670
1670
  "processing_error",
1671
1671
  "This checkout driver has no inline surface to host in the sheet"
1672
1672
  )
@@ -1678,7 +1678,7 @@ var CheckoutSheet = defineModal(({ product, surface, intent, kind, onSuccess, on
1678
1678
  return () => {
1679
1679
  if (!resolved.current) {
1680
1680
  onErrorRef.current(
1681
- chunkQMAZGLGV_cjs.checkoutError(
1681
+ chunk7JLOF6CJ_cjs.checkoutError(
1682
1682
  "canceled",
1683
1683
  "Checkout was dismissed before completing"
1684
1684
  )
@@ -1725,9 +1725,21 @@ function trigger(onClick, {
1725
1725
  children ?? "Continue"
1726
1726
  );
1727
1727
  }
1728
+ function detectDeviceClass() {
1729
+ if (typeof window === "undefined") return "desktop";
1730
+ const ua = navigator.userAgent?.toLowerCase() ?? "";
1731
+ if (/mobile|android(?!.*tablet)|iphone|ipod/.test(ua)) return "mobile";
1732
+ try {
1733
+ if (window.matchMedia?.("(pointer: coarse)").matches && window.innerWidth > 0 && window.innerWidth < 768) {
1734
+ return "mobile";
1735
+ }
1736
+ } catch {
1737
+ }
1738
+ return "desktop";
1739
+ }
1728
1740
  function Checkout({
1729
1741
  offering,
1730
- surface,
1742
+ surface: surfacePreference,
1731
1743
  asChild,
1732
1744
  children,
1733
1745
  className,
@@ -1735,9 +1747,12 @@ function Checkout({
1735
1747
  }) {
1736
1748
  const product = offering;
1737
1749
  const driver = useDriver();
1750
+ const [surface] = React.useState(
1751
+ () => chunk7JLOF6CJ_cjs.resolveSurface(driver.provider, surfacePreference, detectDeviceClass())
1752
+ );
1738
1753
  const checkout = useCheckout(options);
1739
1754
  const intent = options.intent ?? "purchase";
1740
- if (chunkQMAZGLGV_cjs.isInlineSurface(surface)) {
1755
+ if (chunk7JLOF6CJ_cjs.isInlineSurface(surface)) {
1741
1756
  return driver.renderInline ? React.createElement(
1742
1757
  "div",
1743
1758
  { key: product, className },
@@ -1823,7 +1838,7 @@ function CheckoutResume(options = {}) {
1823
1838
  cb.onSuccess(result);
1824
1839
  } else {
1825
1840
  cb.onError(
1826
- result.error ?? chunkQMAZGLGV_cjs.checkoutError(
1841
+ result.error ?? chunk7JLOF6CJ_cjs.checkoutError(
1827
1842
  "unknown",
1828
1843
  "The checkout could not be verified"
1829
1844
  )
@@ -3028,7 +3043,7 @@ function FunnelProvider({
3028
3043
  const value2 = s.get("user.email");
3029
3044
  return typeof value2 === "string" && /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(value2) ? value2 : void 0;
3030
3045
  };
3031
- const catalog = chunkBPOAWI4G_cjs.buildCatalog(offerings ?? []);
3046
+ const catalog = chunkY4YNJ2EX_cjs.buildCatalog(offerings ?? []);
3032
3047
  return {
3033
3048
  funnel: createFunnel(s, ctx, busTracker, experiments ?? []),
3034
3049
  store: s,
@@ -3688,143 +3703,155 @@ function Script({
3688
3703
 
3689
3704
  Object.defineProperty(exports, "assignVariant", {
3690
3705
  enumerable: true,
3691
- get: function () { return chunkBPOAWI4G_cjs.assignVariant; }
3706
+ get: function () { return chunkY4YNJ2EX_cjs.assignVariant; }
3692
3707
  });
3693
3708
  Object.defineProperty(exports, "bucketingSeed", {
3694
3709
  enumerable: true,
3695
- get: function () { return chunkBPOAWI4G_cjs.bucketingSeed; }
3710
+ get: function () { return chunkY4YNJ2EX_cjs.bucketingSeed; }
3696
3711
  });
3697
3712
  Object.defineProperty(exports, "buildCatalog", {
3698
3713
  enumerable: true,
3699
- get: function () { return chunkBPOAWI4G_cjs.buildCatalog; }
3714
+ get: function () { return chunkY4YNJ2EX_cjs.buildCatalog; }
3700
3715
  });
3701
3716
  Object.defineProperty(exports, "compileManifest", {
3702
3717
  enumerable: true,
3703
- get: function () { return chunkBPOAWI4G_cjs.compileManifest; }
3718
+ get: function () { return chunkY4YNJ2EX_cjs.compileManifest; }
3704
3719
  });
3705
3720
  Object.defineProperty(exports, "currencyExponent", {
3706
3721
  enumerable: true,
3707
- get: function () { return chunkBPOAWI4G_cjs.currencyExponent; }
3722
+ get: function () { return chunkY4YNJ2EX_cjs.currencyExponent; }
3708
3723
  });
3709
3724
  Object.defineProperty(exports, "defineFunnel", {
3710
3725
  enumerable: true,
3711
- get: function () { return chunkBPOAWI4G_cjs.defineFunnel; }
3726
+ get: function () { return chunkY4YNJ2EX_cjs.defineFunnel; }
3712
3727
  });
3713
3728
  Object.defineProperty(exports, "definePage", {
3714
3729
  enumerable: true,
3715
- get: function () { return chunkBPOAWI4G_cjs.definePage; }
3730
+ get: function () { return chunkY4YNJ2EX_cjs.definePage; }
3716
3731
  });
3717
3732
  Object.defineProperty(exports, "entryGuard", {
3718
3733
  enumerable: true,
3719
- get: function () { return chunkBPOAWI4G_cjs.entryGuard; }
3734
+ get: function () { return chunkY4YNJ2EX_cjs.entryGuard; }
3720
3735
  });
3721
3736
  Object.defineProperty(exports, "evaluateCondition", {
3722
3737
  enumerable: true,
3723
- get: function () { return chunkBPOAWI4G_cjs.evaluateCondition; }
3738
+ get: function () { return chunkY4YNJ2EX_cjs.evaluateCondition; }
3724
3739
  });
3725
3740
  Object.defineProperty(exports, "evaluateGate", {
3726
3741
  enumerable: true,
3727
- get: function () { return chunkBPOAWI4G_cjs.evaluateGate; }
3742
+ get: function () { return chunkY4YNJ2EX_cjs.evaluateGate; }
3728
3743
  });
3729
3744
  Object.defineProperty(exports, "expectedPathLength", {
3730
3745
  enumerable: true,
3731
- get: function () { return chunkBPOAWI4G_cjs.expectedPathLength; }
3746
+ get: function () { return chunkY4YNJ2EX_cjs.expectedPathLength; }
3732
3747
  });
3733
3748
  Object.defineProperty(exports, "fnv1a", {
3734
3749
  enumerable: true,
3735
- get: function () { return chunkBPOAWI4G_cjs.fnv1a; }
3750
+ get: function () { return chunkY4YNJ2EX_cjs.fnv1a; }
3736
3751
  });
3737
3752
  Object.defineProperty(exports, "formatMoney", {
3738
3753
  enumerable: true,
3739
- get: function () { return chunkBPOAWI4G_cjs.formatMoney; }
3754
+ get: function () { return chunkY4YNJ2EX_cjs.formatMoney; }
3740
3755
  });
3741
3756
  Object.defineProperty(exports, "formatOffering", {
3742
3757
  enumerable: true,
3743
- get: function () { return chunkBPOAWI4G_cjs.formatOffering; }
3758
+ get: function () { return chunkY4YNJ2EX_cjs.formatOffering; }
3744
3759
  });
3745
3760
  Object.defineProperty(exports, "hashToUnit", {
3746
3761
  enumerable: true,
3747
- get: function () { return chunkBPOAWI4G_cjs.hashToUnit; }
3762
+ get: function () { return chunkY4YNJ2EX_cjs.hashToUnit; }
3748
3763
  });
3749
3764
  Object.defineProperty(exports, "isRtl", {
3750
3765
  enumerable: true,
3751
- get: function () { return chunkBPOAWI4G_cjs.isRtl; }
3766
+ get: function () { return chunkY4YNJ2EX_cjs.isRtl; }
3752
3767
  });
3753
3768
  Object.defineProperty(exports, "isVariantKey", {
3754
3769
  enumerable: true,
3755
- get: function () { return chunkBPOAWI4G_cjs.isVariantKey; }
3770
+ get: function () { return chunkY4YNJ2EX_cjs.isVariantKey; }
3756
3771
  });
3757
3772
  Object.defineProperty(exports, "nextPage", {
3758
3773
  enumerable: true,
3759
- get: function () { return chunkBPOAWI4G_cjs.nextPage; }
3774
+ get: function () { return chunkY4YNJ2EX_cjs.nextPage; }
3760
3775
  });
3761
3776
  Object.defineProperty(exports, "outgoingKeys", {
3762
3777
  enumerable: true,
3763
- get: function () { return chunkBPOAWI4G_cjs.outgoingKeys; }
3778
+ get: function () { return chunkY4YNJ2EX_cjs.outgoingKeys; }
3764
3779
  });
3765
3780
  Object.defineProperty(exports, "pageMeta", {
3766
3781
  enumerable: true,
3767
- get: function () { return chunkBPOAWI4G_cjs.pageMeta; }
3782
+ get: function () { return chunkY4YNJ2EX_cjs.pageMeta; }
3768
3783
  });
3769
3784
  Object.defineProperty(exports, "parseSlotKey", {
3770
3785
  enumerable: true,
3771
- get: function () { return chunkBPOAWI4G_cjs.parseSlotKey; }
3786
+ get: function () { return chunkY4YNJ2EX_cjs.parseSlotKey; }
3772
3787
  });
3773
3788
  Object.defineProperty(exports, "pickByWeight", {
3774
3789
  enumerable: true,
3775
- get: function () { return chunkBPOAWI4G_cjs.pickByWeight; }
3790
+ get: function () { return chunkY4YNJ2EX_cjs.pickByWeight; }
3776
3791
  });
3777
3792
  Object.defineProperty(exports, "resolveExperiments", {
3778
3793
  enumerable: true,
3779
- get: function () { return chunkBPOAWI4G_cjs.resolveExperiments; }
3794
+ get: function () { return chunkY4YNJ2EX_cjs.resolveExperiments; }
3780
3795
  });
3781
3796
  Object.defineProperty(exports, "resolveLocale", {
3782
3797
  enumerable: true,
3783
- get: function () { return chunkBPOAWI4G_cjs.resolveLocale; }
3798
+ get: function () { return chunkY4YNJ2EX_cjs.resolveLocale; }
3784
3799
  });
3785
3800
  Object.defineProperty(exports, "resolveOffering", {
3786
3801
  enumerable: true,
3787
- get: function () { return chunkBPOAWI4G_cjs.resolveOffering; }
3802
+ get: function () { return chunkY4YNJ2EX_cjs.resolveOffering; }
3788
3803
  });
3789
3804
  Object.defineProperty(exports, "resolveRoute", {
3790
3805
  enumerable: true,
3791
- get: function () { return chunkBPOAWI4G_cjs.resolveRoute; }
3806
+ get: function () { return chunkY4YNJ2EX_cjs.resolveRoute; }
3792
3807
  });
3793
3808
  Object.defineProperty(exports, "INLINE_SURFACES", {
3794
3809
  enumerable: true,
3795
- get: function () { return chunkQMAZGLGV_cjs.INLINE_SURFACES; }
3810
+ get: function () { return chunk7JLOF6CJ_cjs.INLINE_SURFACES; }
3796
3811
  });
3797
3812
  Object.defineProperty(exports, "PROVIDER_PROFILES", {
3798
3813
  enumerable: true,
3799
- get: function () { return chunkQMAZGLGV_cjs.PROVIDER_PROFILES; }
3814
+ get: function () { return chunk7JLOF6CJ_cjs.PROVIDER_PROFILES; }
3800
3815
  });
3801
3816
  Object.defineProperty(exports, "checkoutError", {
3802
3817
  enumerable: true,
3803
- get: function () { return chunkQMAZGLGV_cjs.checkoutError; }
3818
+ get: function () { return chunk7JLOF6CJ_cjs.checkoutError; }
3804
3819
  });
3805
3820
  Object.defineProperty(exports, "isInlineSurface", {
3806
3821
  enumerable: true,
3807
- get: function () { return chunkQMAZGLGV_cjs.isInlineSurface; }
3822
+ get: function () { return chunk7JLOF6CJ_cjs.isInlineSurface; }
3808
3823
  });
3809
3824
  Object.defineProperty(exports, "isMerchantOfRecord", {
3810
3825
  enumerable: true,
3811
- get: function () { return chunkQMAZGLGV_cjs.isMerchantOfRecord; }
3826
+ get: function () { return chunk7JLOF6CJ_cjs.isMerchantOfRecord; }
3812
3827
  });
3813
3828
  Object.defineProperty(exports, "isOrchestrator", {
3814
3829
  enumerable: true,
3815
- get: function () { return chunkQMAZGLGV_cjs.isOrchestrator; }
3830
+ get: function () { return chunk7JLOF6CJ_cjs.isOrchestrator; }
3831
+ });
3832
+ Object.defineProperty(exports, "isRenderableSurface", {
3833
+ enumerable: true,
3834
+ get: function () { return chunk7JLOF6CJ_cjs.isRenderableSurface; }
3835
+ });
3836
+ Object.defineProperty(exports, "renderableSurfaces", {
3837
+ enumerable: true,
3838
+ get: function () { return chunk7JLOF6CJ_cjs.renderableSurfaces; }
3839
+ });
3840
+ Object.defineProperty(exports, "resolveSurface", {
3841
+ enumerable: true,
3842
+ get: function () { return chunk7JLOF6CJ_cjs.resolveSurface; }
3816
3843
  });
3817
3844
  Object.defineProperty(exports, "surfacesFor", {
3818
3845
  enumerable: true,
3819
- get: function () { return chunkQMAZGLGV_cjs.surfacesFor; }
3846
+ get: function () { return chunk7JLOF6CJ_cjs.surfacesFor; }
3820
3847
  });
3821
3848
  Object.defineProperty(exports, "validateCheckout", {
3822
3849
  enumerable: true,
3823
- get: function () { return chunkQMAZGLGV_cjs.validateCheckout; }
3850
+ get: function () { return chunk7JLOF6CJ_cjs.validateCheckout; }
3824
3851
  });
3825
3852
  Object.defineProperty(exports, "validateUpsell", {
3826
3853
  enumerable: true,
3827
- get: function () { return chunkQMAZGLGV_cjs.validateUpsell; }
3854
+ get: function () { return chunk7JLOF6CJ_cjs.validateUpsell; }
3828
3855
  });
3829
3856
  exports.AssetsContext = AssetsContext;
3830
3857
  exports.AssetsProvider = AssetsProvider;