PageSourceSearch

https://app.flowspark.co/build/assets/getStripe-DmGsoq_G.js

js flowspark.co collected 2026-09-28 12:53:18 UTC 1,928 bytes, 32 lines download raw bytes

1import { G as a, x as T } from "./app-BQglH-tG.js";
2import { r as c } from "./functions-DNMBuN0o.js";
3const u = a({ cardElement: null, paymentElement: null, htmlElement: null, cardError: null, options: {} }), l = { BASE_URL: "/build/", DEV: false, MODE: "production", PROD: true, SSR: false, VITE_CERTIFICATE_PATH: "../config/certificates/vite.crt", VITE_FLARE_KEY: "NDg514hJA3ItEVF7OJc2fTxBpru4g1s4", VITE_HCAPTCHA_SITEKEY: "a72c1119-e6c5-4238-9d95-daacdaf72553", VITE_KEY_PATH: "../config/certificates/vite.key", VITE_LOCAL_DOMAIN: "myagency.localhost", VITE_NEW_BALANCE_STATS_PORTAL_IDS: "799c1b1c-4791-4072-8b31-2d3a8db5b8ba", VITE_PUSHER_APP_CLUSTER: "us2", VITE_PUSHER_APP_KEY: "d2f91c88d894204fd4e9", VITE_PUSHER_BEAMS_INSTANCE_ID: "7e0f97ed-f569-4baf-9f54-25c26912f6c2", VITE_STRIPE_PUBLISHABLE_KEY: "pk_live_dQhfAsKkk5r4HQQjuncF4wPS00Fkkr4qGm", VITE_STRIPE_STAGING_ACCOUNT_ID: "acct_1EiHwoHirtF5DZ9x", VITE_STRIPE_STAGING_PUBLISHABLE_KEY: "pk_test_51M82RaHAYfCcxmSAof4GOeLq4BEmpn8D08GgxH7MgFY8bHcSmNNFJwmdfjtxienUSBzr0FqCNLkqHfYXQgIqBCc100CVBsRTVX" };
4let r = null;
5const _ = (e, t = null) => {
6  const n = l[e];
7  return n === void 0 ? (console.warn(`Environment variable ${e} is not defined.`), t) : n;
8}, i = () => c.value ? _("VITE_STRIPE_STAGING_PUBLISHABLE_KEY") : _("VITE_STRIPE_PUBLISHABLE_KEY"), s = () => c.value ? _("VITE_STRIPE_STAGING_ACCOUNT_ID") : T().props.stripe_account_id, I = (e, t, n) => Stripe(e, n ? {} : { stripeAccount: t }), A = (e = false) => {
9  if (!r) {
10    const t = s();
11    if (!t && !e) return null;
12    r = I(i(), t, e);
13  }
14  return r;
15}, P = (e = false) => new Promise((t, n) => {
16  if (r) t(r);
17  else {
18    const E = s();
19    if (!E && !e) {
20      n(new Error("No stripe account"));
21      return;
22    }
23    const o = setInterval(() => {
24      typeof Stripe == "function" && (r = I(i(), E, e), clearInterval(o), t(r));
25    }, 500);
26  }
27});
28export {
29  A as g,
30  P as i,
31  u as s
32};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.