import "../../../../@ant-design/cssinjs/es/extractStyle.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useCacheToken.mjs";
import "react";
import "../../../../@ant-design/cssinjs/es/StyleContext.mjs";
import "../../../../@ant-design/cssinjs/es/theme/createTheme.mjs";
import "../../../../rc-util/es/warning.mjs";
import "../../../../@ant-design/cssinjs/es/theme/ThemeCache.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useCompatibleInsertionEffect.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useEffectCleanupRegister.mjs";
import "../../../../@ant-design/cssinjs/es/hooks/useHMR.mjs";
import "../../../../@ant-design/cssinjs/es/transformers/legacyLogicalProperties.mjs";
import { genStyleHooks as p } from "../../theme/util/genComponentStyleHook.mjs";
const e = (o) => {
  const {
    componentCls: t
  } = o;
  return {
    [t]: {
      position: "fixed",
      zIndex: o.zIndexPopup
    }
  };
}, r = (o) => ({
  zIndexPopup: o.zIndexBase + 10
}), I = p("Affix", e, r);
export {
  I as default,
  r as prepareComponentToken
};
