"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.FIREBASE_PRIVATE_KEY = exports.FIREBASE_CLIENT_EMAIL = exports.FIREBASE_PROJECT_ID = exports.FIREBASE_REGION = exports.SHOPIFY_APP_WEBHOOKS = exports.SHOPIFY_APP_CUSTOM_PRIVATE = exports.SHOPIFY_APP_PLAN_TEST = exports.SHOPIFY_APP_PLAN_TRIAL = exports.SHOPIFY_APP_PLAN_PRICE = exports.SHOPIFY_APP_PLAN_NAME = exports.SHOPIFY_API_SCOPES = exports.SHOPIFY_API_VERSION = exports.SHOPIFY_API_KEY = exports.SHOPIFY_API_SECRET = exports.SHOPIFY_APP_NAME_URL = exports.SHOPIFY_APP_NAME = exports.SHOPIFY_APP_URL = void 0;

var functions = _interopRequireWildcard(require("firebase-functions"));

function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; }

function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }

const config = functions.config().config;
const shopify = process.env.FUNCTIONS_EMULATOR ? config.shopify.development : config.shopify.production;
const firebase = config.firebase;
const SHOPIFY_APP_URL = shopify.app_url;
exports.SHOPIFY_APP_URL = SHOPIFY_APP_URL;
const SHOPIFY_APP_NAME = shopify.app_name;
exports.SHOPIFY_APP_NAME = SHOPIFY_APP_NAME;
const SHOPIFY_APP_NAME_URL = shopify.app_name_url;
exports.SHOPIFY_APP_NAME_URL = SHOPIFY_APP_NAME_URL;
const SHOPIFY_API_SECRET = shopify.app_shared_secret;
exports.SHOPIFY_API_SECRET = SHOPIFY_API_SECRET;
const SHOPIFY_API_KEY = shopify.app_api_key;
exports.SHOPIFY_API_KEY = SHOPIFY_API_KEY;
const SHOPIFY_API_VERSION = shopify.app_api_version;
exports.SHOPIFY_API_VERSION = SHOPIFY_API_VERSION;
const SHOPIFY_API_SCOPES = shopify.app_scopes;
exports.SHOPIFY_API_SCOPES = SHOPIFY_API_SCOPES;
const SHOPIFY_APP_PLAN_NAME = shopify.app_plan_name;
exports.SHOPIFY_APP_PLAN_NAME = SHOPIFY_APP_PLAN_NAME;
const SHOPIFY_APP_PLAN_PRICE = shopify.app_plan_price;
exports.SHOPIFY_APP_PLAN_PRICE = SHOPIFY_APP_PLAN_PRICE;
const SHOPIFY_APP_PLAN_TRIAL = shopify.app_plan_trial;
exports.SHOPIFY_APP_PLAN_TRIAL = SHOPIFY_APP_PLAN_TRIAL;
const SHOPIFY_APP_PLAN_TEST = shopify.app_plan_test;
exports.SHOPIFY_APP_PLAN_TEST = SHOPIFY_APP_PLAN_TEST;
const SHOPIFY_APP_CUSTOM_PRIVATE = shopify.app_custom_private;
exports.SHOPIFY_APP_CUSTOM_PRIVATE = SHOPIFY_APP_CUSTOM_PRIVATE;
const SHOPIFY_APP_WEBHOOKS = shopify.app_webhooks;
exports.SHOPIFY_APP_WEBHOOKS = SHOPIFY_APP_WEBHOOKS;
const FIREBASE_REGION = firebase.region;
exports.FIREBASE_REGION = FIREBASE_REGION;
const FIREBASE_PROJECT_ID = firebase.project_id;
exports.FIREBASE_PROJECT_ID = FIREBASE_PROJECT_ID;
const FIREBASE_CLIENT_EMAIL = firebase.client_email;
exports.FIREBASE_CLIENT_EMAIL = FIREBASE_CLIENT_EMAIL;
const FIREBASE_PRIVATE_KEY = firebase.private_key;
exports.FIREBASE_PRIVATE_KEY = FIREBASE_PRIVATE_KEY;
//# sourceMappingURL=config.js.map