import CJS_COMPAT_NODE_URL_d9mk320nhlu from 'node:url';
import CJS_COMPAT_NODE_PATH_d9mk320nhlu from 'node:path';
import CJS_COMPAT_NODE_MODULE_d9mk320nhlu from "node:module";

var __filename = CJS_COMPAT_NODE_URL_d9mk320nhlu.fileURLToPath(import.meta.url);
var __dirname = CJS_COMPAT_NODE_PATH_d9mk320nhlu.dirname(__filename);
var require = CJS_COMPAT_NODE_MODULE_d9mk320nhlu.createRequire(import.meta.url);

// ------------------------------------------------------------
// end of CJS compatibility banner, injected by Storybook's esbuild configuration
// ------------------------------------------------------------
import {
  __name
} from "./chunk-IZ555C57.js";

// ../node_modules/tiny-invariant/dist/esm/tiny-invariant.js
var isProduction = process.env.NODE_ENV === "production";
var prefix = "Invariant failed";
function invariant(condition, message) {
  if (condition) {
    return;
  }
  if (isProduction) {
    throw new Error(prefix);
  }
  var provided = typeof message === "function" ? message() : message;
  var value = provided ? "".concat(prefix, ": ").concat(provided) : prefix;
  throw new Error(value);
}
__name(invariant, "invariant");

export {
  invariant
};
