var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);

// src/components/PisellProcedure/hooks/useResponsiveClass.ts
var useResponsiveClass_exports = {};
__export(useResponsiveClass_exports, {
  useResponsiveClass: () => useResponsiveClass
});
module.exports = __toCommonJS(useResponsiveClass_exports);
var RESPONSIVE_BREAKPOINTS = {
  lg: 1133,
  // ≥1133px: 默认样式（405px）
  md: 960,
  // 960px-1133px: 376px ~ 405px 线性插值
  sm: 744
  // 744px-960px: 290px ~ 376px 线性插值
};
var RESPONSIVE_CLASSES = {
  md: "pisell-procedure-sidebar--responsive-md",
  sm: "pisell-procedure-sidebar--responsive-sm",
  xs: "pisell-procedure-sidebar--responsive-xs"
  // 最小宽度（< 744px）
};
var getResponsiveClass = (width) => {
  if (width === 0 || !width) return "";
  if (width >= RESPONSIVE_BREAKPOINTS.lg) {
    return "";
  }
  if (width >= RESPONSIVE_BREAKPOINTS.md) {
    return RESPONSIVE_CLASSES.md;
  }
  if (width >= RESPONSIVE_BREAKPOINTS.sm) {
    return RESPONSIVE_CLASSES.sm;
  }
  return RESPONSIVE_CLASSES.xs;
};
var useResponsiveClass = (containerWidth) => {
  return getResponsiveClass(containerWidth);
};
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  useResponsiveClass
});
