"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.env = void 0;
var schemas_1 = require("../utils/schemas");
var portone = {
    storeId: process.env.NEXT_PUBLIC_PORTONE_STORE_ID ||
        process.env.REACT_APP_PORTONE_STORE_ID,
    channelKey: process.env.NEXT_PUBLIC_PORTONE_CHANNEL_KEY ||
        process.env.REACT_APP_PORTONE_CHANNEL_KEY,
};
exports.env = schemas_1.EnvSchema.parse({
    backendApiUrl: process.env.NEXT_PUBLIC_BACKEND_API_URL ||
        process.env.REACT_APP_BACKEND_API_URL ||
        process.env.PUBLIC_BACKEND_API_URL,
    frontendAppUrl: process.env.NEXT_PUBLIC_FRONTEND_URL ||
        process.env.REACT_APP_FRONTEND_URL ||
        process.env.PUBLIC_FRONTEND_URL,
    amplitudeKey: process.env.NEXT_PUBLIC_AMPLITUDE_KEY ||
        process.env.REACT_APP_AMPLITUDE_KEY,
    channeltalkKey: process.env.NEXT_PUBLIC_CHANNELTALK_KEY,
    portone: portone.storeId && portone.channelKey ? portone : undefined,
});
//# sourceMappingURL=config.js.map