Rocky_Mountain_Vending/.pnpm-store/v10/files/11/8dad6d5c906d07ab3725d28e9fe3e781ab0f2232aeb1e01e28f50891fed78b14a874827f89eb82ffc39ba17d485b836693fbc5684acc496378a40b329bd8d6
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

92 lines
No EOL
2.7 KiB
Text

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
0 && (module.exports = {
getNextConfigEnv: null,
getNextPublicEnvironmentVariables: null,
getStaticEnv: null,
populateStaticEnv: null
});
function _export(target, all) {
for(var name in all)Object.defineProperty(target, name, {
enumerable: true,
get: all[name]
});
}
_export(exports, {
getNextConfigEnv: function() {
return getNextConfigEnv;
},
getNextPublicEnvironmentVariables: function() {
return getNextPublicEnvironmentVariables;
},
getStaticEnv: function() {
return getStaticEnv;
},
populateStaticEnv: function() {
return populateStaticEnv;
}
});
function errorIfEnvConflicted(config, key) {
const isPrivateKey = /^(?:NODE_.+)|^(?:__.+)$/i.test(key);
const hasNextRuntimeKey = key === 'NEXT_RUNTIME';
if (isPrivateKey || hasNextRuntimeKey) {
throw Object.defineProperty(new Error(`The key "${key}" under "env" in ${config.configFileName} is not allowed. https://nextjs.org/docs/messages/env-key-not-allowed`), "__NEXT_ERROR_CODE", {
value: "E170",
enumerable: false,
configurable: true
});
}
}
function getNextPublicEnvironmentVariables() {
const defineEnv = [];
for(const key in process.env){
if (key.startsWith('NEXT_PUBLIC_')) {
const value = process.env[key];
if (value != null) {
defineEnv.push([
`process.env.${key}`,
value
]);
}
}
}
defineEnv.sort((a, b)=>a[0].localeCompare(b[0]));
return Object.fromEntries(defineEnv);
}
function getNextConfigEnv(config) {
// Refactored code below to use for-of
const defineEnv = {};
const env = config.env;
for(const key in env){
const value = env[key];
if (value != null) {
errorIfEnvConflicted(config, key);
defineEnv[`process.env.${key}`] = value;
}
}
return defineEnv;
}
function getStaticEnv(config) {
const staticEnv = {
...getNextPublicEnvironmentVariables(),
...getNextConfigEnv(config),
'process.env.NEXT_DEPLOYMENT_ID': config.deploymentId || ''
};
return staticEnv;
}
function populateStaticEnv(config) {
// since inlining comes after static generation we need
// to ensure this value is assigned to process env so it
// can still be accessed
const staticEnv = getStaticEnv(config);
for(const key in staticEnv){
const innerKey = key.split('.').pop() || '';
if (!process.env[innerKey]) {
process.env[innerKey] = staticEnv[key] || '';
}
}
}
//# sourceMappingURL=static-env.js.map