{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { genBasicInputStyle, genInputGroupStyle, genPlaceholderStyle, initInputToken } from '../../input/style';\nimport { genBorderlessStyle, genFilledGroupStyle, genFilledStyle, genOutlinedGroupStyle, genOutlinedStyle } from '../../input/style/variants';\nimport { resetComponent, resetIcon } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { prepareComponentToken } from './token';\nexport const genRadiusStyle = (_ref, size) => {\n  let {\n    componentCls,\n    borderRadiusSM,\n    borderRadiusLG\n  } = _ref;\n  const borderRadius = size === 'lg' ? borderRadiusLG : borderRadiusSM;\n  return {\n    [`&-${size}`]: {\n      [`${componentCls}-handler-wrap`]: {\n        borderStartEndRadius: borderRadius,\n        borderEndEndRadius: borderRadius\n      },\n      [`${componentCls}-handler-up`]: {\n        borderStartEndRadius: borderRadius\n      },\n      [`${componentCls}-handler-down`]: {\n        borderEndEndRadius: borderRadius\n      }\n    }\n  };\n};\nconst genInputNumberStyles = token => {\n  const {\n    componentCls,\n    lineWidth,\n    lineType,\n    borderRadius,\n    fontSizeLG,\n    controlHeightLG,\n    controlHeightSM,\n    colorError,\n    paddingInlineSM,\n    paddingBlockSM,\n    paddingBlockLG,\n    paddingInlineLG,\n    colorTextDescription,\n    motionDurationMid,\n    handleHoverColor,\n    paddingInline,\n    paddingBlock,\n    handleBg,\n    handleActiveBg,\n    colorTextDisabled,\n    borderRadiusSM,\n    borderRadiusLG,\n    controlWidth,\n    handleOpacity,\n    handleBorderColor,\n    filledHandleBg,\n    lineHeightLG,\n    calc\n  } = token;\n  return [{\n    [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genBasicInputStyle(token)), {\n      display: 'inline-block',\n      width: controlWidth,\n      margin: 0,\n      padding: 0,\n      borderRadius\n    }), genOutlinedStyle(token, {\n      [`${componentCls}-handler-wrap`]: {\n        background: handleBg,\n        [`${componentCls}-handler-down`]: {\n          borderBlockStart: `${unit(lineWidth)} ${lineType} ${handleBorderColor}`\n        }\n      }\n    })), genFilledStyle(token, {\n      [`${componentCls}-handler-wrap`]: {\n        background: filledHandleBg,\n        [`${componentCls}-handler-down`]: {\n          borderBlockStart: `${unit(lineWidth)} ${lineType} ${handleBorderColor}`\n        }\n      },\n      '&:focus-within': {\n        [`${componentCls}-handler-wrap`]: {\n          background: handleBg\n        }\n      }\n    })), genBorderlessStyle(token)), {\n      '&-rtl': {\n        direction: 'rtl',\n        [`${componentCls}-input`]: {\n          direction: 'rtl'\n        }\n      },\n      '&-lg': {\n        padding: 0,\n        fontSize: fontSizeLG,\n        lineHeight: lineHeightLG,\n        borderRadius: borderRadiusLG,\n        [`input${componentCls}-input`]: {\n          height: calc(controlHeightLG).sub(calc(lineWidth).mul(2)).equal(),\n          padding: `${unit(paddingBlockLG)} ${unit(paddingInlineLG)}`\n        }\n      },\n      '&-sm': {\n        padding: 0,\n        borderRadius: borderRadiusSM,\n        [`input${componentCls}-input`]: {\n          height: calc(controlHeightSM).sub(calc(lineWidth).mul(2)).equal(),\n          padding: `${unit(paddingBlockSM)} ${unit(paddingInlineSM)}`\n        }\n      },\n      // ===================== Out Of Range =====================\n      '&-out-of-range': {\n        [`${componentCls}-input-wrap`]: {\n          input: {\n            color: colorError\n          }\n        }\n      },\n      // Style for input-group: input with label, with button or dropdown...\n      '&-group': Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genInputGroupStyle(token)), {\n        '&-wrapper': Object.assign(Object.assign(Object.assign({\n          display: 'inline-block',\n          textAlign: 'start',\n          verticalAlign: 'top',\n          [`${componentCls}-affix-wrapper`]: {\n            width: '100%'\n          },\n          // Size\n          '&-lg': {\n            [`${componentCls}-group-addon`]: {\n              borderRadius: borderRadiusLG,\n              fontSize: token.fontSizeLG\n            }\n          },\n          '&-sm': {\n            [`${componentCls}-group-addon`]: {\n              borderRadius: borderRadiusSM\n            }\n          }\n        }, genOutlinedGroupStyle(token)), genFilledGroupStyle(token)), {\n          // Fix the issue of using icons in Space Compact mode\n          // https://github.com/ant-design/ant-design/issues/45764\n          [`&:not(${componentCls}-compact-first-item):not(${componentCls}-compact-last-item)${componentCls}-compact-item`]: {\n            [`${componentCls}, ${componentCls}-group-addon`]: {\n              borderRadius: 0\n            }\n          },\n          [`&:not(${componentCls}-compact-last-item)${componentCls}-compact-first-item`]: {\n            [`${componentCls}, ${componentCls}-group-addon`]: {\n              borderStartEndRadius: 0,\n              borderEndEndRadius: 0\n            }\n          },\n          [`&:not(${componentCls}-compact-first-item)${componentCls}-compact-last-item`]: {\n            [`${componentCls}, ${componentCls}-group-addon`]: {\n              borderStartStartRadius: 0,\n              borderEndStartRadius: 0\n            }\n          }\n        })\n      }),\n      [`&-disabled ${componentCls}-input`]: {\n        cursor: 'not-allowed'\n      },\n      [componentCls]: {\n        '&-input': Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), {\n          width: '100%',\n          padding: `${unit(paddingBlock)} ${unit(paddingInline)}`,\n          textAlign: 'start',\n          backgroundColor: 'transparent',\n          border: 0,\n          borderRadius,\n          outline: 0,\n          transition: `all ${motionDurationMid} linear`,\n          appearance: 'textfield',\n          fontSize: 'inherit'\n        }), genPlaceholderStyle(token.colorTextPlaceholder)), {\n          '&[type=\"number\"]::-webkit-inner-spin-button, &[type=\"number\"]::-webkit-outer-spin-button': {\n            margin: 0,\n            /* stylelint-disable-next-line property-no-vendor-prefix */\n            webkitAppearance: 'none',\n            appearance: 'none'\n          }\n        })\n      }\n    })\n  },\n  // Handler\n  {\n    [componentCls]: Object.assign(Object.assign(Object.assign({\n      [`&:hover ${componentCls}-handler-wrap, &-focused ${componentCls}-handler-wrap`]: {\n        opacity: 1\n      },\n      [`${componentCls}-handler-wrap`]: {\n        position: 'absolute',\n        insetBlockStart: 0,\n        insetInlineEnd: 0,\n        width: token.handleWidth,\n        height: '100%',\n        borderStartStartRadius: 0,\n        borderStartEndRadius: borderRadius,\n        borderEndEndRadius: borderRadius,\n        borderEndStartRadius: 0,\n        opacity: handleOpacity,\n        display: 'flex',\n        flexDirection: 'column',\n        alignItems: 'stretch',\n        transition: `opacity ${motionDurationMid} linear ${motionDurationMid}`,\n        // Fix input number inside Menu makes icon too large\n        // We arise the selector priority by nest selector here\n        // https://github.com/ant-design/ant-design/issues/14367\n        [`${componentCls}-handler`]: {\n          display: 'flex',\n          alignItems: 'center',\n          justifyContent: 'center',\n          flex: 'auto',\n          height: '40%',\n          [`\n              ${componentCls}-handler-up-inner,\n              ${componentCls}-handler-down-inner\n            `]: {\n            marginInlineEnd: 0,\n            fontSize: token.handleFontSize\n          }\n        }\n      },\n      [`${componentCls}-handler`]: {\n        height: '50%',\n        overflow: 'hidden',\n        color: colorTextDescription,\n        fontWeight: 'bold',\n        lineHeight: 0,\n        textAlign: 'center',\n        cursor: 'pointer',\n        borderInlineStart: `${unit(lineWidth)} ${lineType} ${handleBorderColor}`,\n        transition: `all ${motionDurationMid} linear`,\n        '&:active': {\n          background: handleActiveBg\n        },\n        // Hover\n        '&:hover': {\n          height: `60%`,\n          [`\n              ${componentCls}-handler-up-inner,\n              ${componentCls}-handler-down-inner\n            `]: {\n            color: handleHoverColor\n          }\n        },\n        '&-up-inner, &-down-inner': Object.assign(Object.assign({}, resetIcon()), {\n          color: colorTextDescription,\n          transition: `all ${motionDurationMid} linear`,\n          userSelect: 'none'\n        })\n      },\n      [`${componentCls}-handler-up`]: {\n        borderStartEndRadius: borderRadius\n      },\n      [`${componentCls}-handler-down`]: {\n        borderEndEndRadius: borderRadius\n      }\n    }, genRadiusStyle(token, 'lg')), genRadiusStyle(token, 'sm')), {\n      // Disabled\n      '&-disabled, &-readonly': {\n        [`${componentCls}-handler-wrap`]: {\n          display: 'none'\n        },\n        [`${componentCls}-input`]: {\n          color: 'inherit'\n        }\n      },\n      [`\n          ${componentCls}-handler-up-disabled,\n          ${componentCls}-handler-down-disabled\n        `]: {\n        cursor: 'not-allowed'\n      },\n      [`\n          ${componentCls}-handler-up-disabled:hover &-handler-up-inner,\n          ${componentCls}-handler-down-disabled:hover &-handler-down-inner\n        `]: {\n        color: colorTextDisabled\n      }\n    })\n  }];\n};\nconst genAffixWrapperStyles = token => {\n  const {\n    componentCls,\n    paddingBlock,\n    paddingInline,\n    inputAffixPadding,\n    controlWidth,\n    borderRadiusLG,\n    borderRadiusSM,\n    paddingInlineLG,\n    paddingInlineSM,\n    paddingBlockLG,\n    paddingBlockSM\n  } = token;\n  return {\n    [`${componentCls}-affix-wrapper`]: Object.assign(Object.assign({\n      [`input${componentCls}-input`]: {\n        padding: `${unit(paddingBlock)} 0`\n      }\n    }, genBasicInputStyle(token)), {\n      // or number handler will cover form status\n      position: 'relative',\n      display: 'inline-flex',\n      width: controlWidth,\n      padding: 0,\n      paddingInlineStart: paddingInline,\n      '&-lg': {\n        borderRadius: borderRadiusLG,\n        paddingInlineStart: paddingInlineLG,\n        [`input${componentCls}-input`]: {\n          padding: `${unit(paddingBlockLG)} 0`\n        }\n      },\n      '&-sm': {\n        borderRadius: borderRadiusSM,\n        paddingInlineStart: paddingInlineSM,\n        [`input${componentCls}-input`]: {\n          padding: `${unit(paddingBlockSM)} 0`\n        }\n      },\n      [`&:not(${componentCls}-disabled):hover`]: {\n        zIndex: 1\n      },\n      '&-focused, &:focus': {\n        zIndex: 1\n      },\n      [`&-disabled > ${componentCls}-disabled`]: {\n        background: 'transparent'\n      },\n      [`> div${componentCls}`]: {\n        width: '100%',\n        border: 'none',\n        outline: 'none',\n        [`&${componentCls}-focused`]: {\n          boxShadow: 'none !important'\n        }\n      },\n      '&::before': {\n        display: 'inline-block',\n        width: 0,\n        visibility: 'hidden',\n        content: '\"\\\\a0\"'\n      },\n      [`${componentCls}-handler-wrap`]: {\n        zIndex: 2\n      },\n      [componentCls]: {\n        color: 'inherit',\n        '&-prefix, &-suffix': {\n          display: 'flex',\n          flex: 'none',\n          alignItems: 'center',\n          pointerEvents: 'none'\n        },\n        '&-prefix': {\n          marginInlineEnd: inputAffixPadding\n        },\n        '&-suffix': {\n          position: 'absolute',\n          insetBlockStart: 0,\n          insetInlineEnd: 0,\n          zIndex: 1,\n          height: '100%',\n          marginInlineEnd: paddingInline,\n          marginInlineStart: inputAffixPadding\n        }\n      }\n    })\n  };\n};\nexport default genStyleHooks('InputNumber', token => {\n  const inputNumberToken = mergeToken(token, initInputToken(token));\n  return [genInputNumberStyles(inputNumberToken), genAffixWrapperStyles(inputNumberToken),\n  // =====================================================\n  // ==             Space Compact                       ==\n  // =====================================================\n  genCompactItemStyle(inputNumberToken)];\n}, prepareComponentToken, {\n  unitless: {\n    handleOpacity: true\n  }\n});","map":{"version":3,"names":["unit","genBasicInputStyle","genInputGroupStyle","genPlaceholderStyle","initInputToken","genBorderlessStyle","genFilledGroupStyle","genFilledStyle","genOutlinedGroupStyle","genOutlinedStyle","resetComponent","resetIcon","genCompactItemStyle","genStyleHooks","mergeToken","prepareComponentToken","genRadiusStyle","_ref","size","componentCls","borderRadiusSM","borderRadiusLG","borderRadius","borderStartEndRadius","borderEndEndRadius","genInputNumberStyles","token","lineWidth","lineType","fontSizeLG","controlHeightLG","controlHeightSM","colorError","paddingInlineSM","paddingBlockSM","paddingBlockLG","paddingInlineLG","colorTextDescription","motionDurationMid","handleHoverColor","paddingInline","paddingBlock","handleBg","handleActiveBg","colorTextDisabled","controlWidth","handleOpacity","handleBorderColor","filledHandleBg","lineHeightLG","calc","Object","assign","display","width","margin","padding","background","borderBlockStart","direction","fontSize","lineHeight","height","sub","mul","equal","input","color","textAlign","verticalAlign","borderStartStartRadius","borderEndStartRadius","cursor","backgroundColor","border","outline","transition","appearance","colorTextPlaceholder","webkitAppearance","opacity","position","insetBlockStart","insetInlineEnd","handleWidth","flexDirection","alignItems","justifyContent","flex","marginInlineEnd","handleFontSize","overflow","fontWeight","borderInlineStart","userSelect","genAffixWrapperStyles","inputAffixPadding","paddingInlineStart","zIndex","boxShadow","visibility","content","pointerEvents","marginInlineStart","inputNumberToken","unitless"],"sources":["/var/www/gavt/node_modules/antd/es/input-number/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { genBasicInputStyle, genInputGroupStyle, genPlaceholderStyle, initInputToken } from '../../input/style';\nimport { genBorderlessStyle, genFilledGroupStyle, genFilledStyle, genOutlinedGroupStyle, genOutlinedStyle } from '../../input/style/variants';\nimport { resetComponent, resetIcon } from '../../style';\nimport { genCompactItemStyle } from '../../style/compact-item';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport { prepareComponentToken } from './token';\nexport const genRadiusStyle = (_ref, size) => {\n  let {\n    componentCls,\n    borderRadiusSM,\n    borderRadiusLG\n  } = _ref;\n  const borderRadius = size === 'lg' ? borderRadiusLG : borderRadiusSM;\n  return {\n    [`&-${size}`]: {\n      [`${componentCls}-handler-wrap`]: {\n        borderStartEndRadius: borderRadius,\n        borderEndEndRadius: borderRadius\n      },\n      [`${componentCls}-handler-up`]: {\n        borderStartEndRadius: borderRadius\n      },\n      [`${componentCls}-handler-down`]: {\n        borderEndEndRadius: borderRadius\n      }\n    }\n  };\n};\nconst genInputNumberStyles = token => {\n  const {\n    componentCls,\n    lineWidth,\n    lineType,\n    borderRadius,\n    fontSizeLG,\n    controlHeightLG,\n    controlHeightSM,\n    colorError,\n    paddingInlineSM,\n    paddingBlockSM,\n    paddingBlockLG,\n    paddingInlineLG,\n    colorTextDescription,\n    motionDurationMid,\n    handleHoverColor,\n    paddingInline,\n    paddingBlock,\n    handleBg,\n    handleActiveBg,\n    colorTextDisabled,\n    borderRadiusSM,\n    borderRadiusLG,\n    controlWidth,\n    handleOpacity,\n    handleBorderColor,\n    filledHandleBg,\n    lineHeightLG,\n    calc\n  } = token;\n  return [{\n    [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genBasicInputStyle(token)), {\n      display: 'inline-block',\n      width: controlWidth,\n      margin: 0,\n      padding: 0,\n      borderRadius\n    }), genOutlinedStyle(token, {\n      [`${componentCls}-handler-wrap`]: {\n        background: handleBg,\n        [`${componentCls}-handler-down`]: {\n          borderBlockStart: `${unit(lineWidth)} ${lineType} ${handleBorderColor}`\n        }\n      }\n    })), genFilledStyle(token, {\n      [`${componentCls}-handler-wrap`]: {\n        background: filledHandleBg,\n        [`${componentCls}-handler-down`]: {\n          borderBlockStart: `${unit(lineWidth)} ${lineType} ${handleBorderColor}`\n        }\n      },\n      '&:focus-within': {\n        [`${componentCls}-handler-wrap`]: {\n          background: handleBg\n        }\n      }\n    })), genBorderlessStyle(token)), {\n      '&-rtl': {\n        direction: 'rtl',\n        [`${componentCls}-input`]: {\n          direction: 'rtl'\n        }\n      },\n      '&-lg': {\n        padding: 0,\n        fontSize: fontSizeLG,\n        lineHeight: lineHeightLG,\n        borderRadius: borderRadiusLG,\n        [`input${componentCls}-input`]: {\n          height: calc(controlHeightLG).sub(calc(lineWidth).mul(2)).equal(),\n          padding: `${unit(paddingBlockLG)} ${unit(paddingInlineLG)}`\n        }\n      },\n      '&-sm': {\n        padding: 0,\n        borderRadius: borderRadiusSM,\n        [`input${componentCls}-input`]: {\n          height: calc(controlHeightSM).sub(calc(lineWidth).mul(2)).equal(),\n          padding: `${unit(paddingBlockSM)} ${unit(paddingInlineSM)}`\n        }\n      },\n      // ===================== Out Of Range =====================\n      '&-out-of-range': {\n        [`${componentCls}-input-wrap`]: {\n          input: {\n            color: colorError\n          }\n        }\n      },\n      // Style for input-group: input with label, with button or dropdown...\n      '&-group': Object.assign(Object.assign(Object.assign({}, resetComponent(token)), genInputGroupStyle(token)), {\n        '&-wrapper': Object.assign(Object.assign(Object.assign({\n          display: 'inline-block',\n          textAlign: 'start',\n          verticalAlign: 'top',\n          [`${componentCls}-affix-wrapper`]: {\n            width: '100%'\n          },\n          // Size\n          '&-lg': {\n            [`${componentCls}-group-addon`]: {\n              borderRadius: borderRadiusLG,\n              fontSize: token.fontSizeLG\n            }\n          },\n          '&-sm': {\n            [`${componentCls}-group-addon`]: {\n              borderRadius: borderRadiusSM\n            }\n          }\n        }, genOutlinedGroupStyle(token)), genFilledGroupStyle(token)), {\n          // Fix the issue of using icons in Space Compact mode\n          // https://github.com/ant-design/ant-design/issues/45764\n          [`&:not(${componentCls}-compact-first-item):not(${componentCls}-compact-last-item)${componentCls}-compact-item`]: {\n            [`${componentCls}, ${componentCls}-group-addon`]: {\n              borderRadius: 0\n            }\n          },\n          [`&:not(${componentCls}-compact-last-item)${componentCls}-compact-first-item`]: {\n            [`${componentCls}, ${componentCls}-group-addon`]: {\n              borderStartEndRadius: 0,\n              borderEndEndRadius: 0\n            }\n          },\n          [`&:not(${componentCls}-compact-first-item)${componentCls}-compact-last-item`]: {\n            [`${componentCls}, ${componentCls}-group-addon`]: {\n              borderStartStartRadius: 0,\n              borderEndStartRadius: 0\n            }\n          }\n        })\n      }),\n      [`&-disabled ${componentCls}-input`]: {\n        cursor: 'not-allowed'\n      },\n      [componentCls]: {\n        '&-input': Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), {\n          width: '100%',\n          padding: `${unit(paddingBlock)} ${unit(paddingInline)}`,\n          textAlign: 'start',\n          backgroundColor: 'transparent',\n          border: 0,\n          borderRadius,\n          outline: 0,\n          transition: `all ${motionDurationMid} linear`,\n          appearance: 'textfield',\n          fontSize: 'inherit'\n        }), genPlaceholderStyle(token.colorTextPlaceholder)), {\n          '&[type=\"number\"]::-webkit-inner-spin-button, &[type=\"number\"]::-webkit-outer-spin-button': {\n            margin: 0,\n            /* stylelint-disable-next-line property-no-vendor-prefix */\n            webkitAppearance: 'none',\n            appearance: 'none'\n          }\n        })\n      }\n    })\n  },\n  // Handler\n  {\n    [componentCls]: Object.assign(Object.assign(Object.assign({\n      [`&:hover ${componentCls}-handler-wrap, &-focused ${componentCls}-handler-wrap`]: {\n        opacity: 1\n      },\n      [`${componentCls}-handler-wrap`]: {\n        position: 'absolute',\n        insetBlockStart: 0,\n        insetInlineEnd: 0,\n        width: token.handleWidth,\n        height: '100%',\n        borderStartStartRadius: 0,\n        borderStartEndRadius: borderRadius,\n        borderEndEndRadius: borderRadius,\n        borderEndStartRadius: 0,\n        opacity: handleOpacity,\n        display: 'flex',\n        flexDirection: 'column',\n        alignItems: 'stretch',\n        transition: `opacity ${motionDurationMid} linear ${motionDurationMid}`,\n        // Fix input number inside Menu makes icon too large\n        // We arise the selector priority by nest selector here\n        // https://github.com/ant-design/ant-design/issues/14367\n        [`${componentCls}-handler`]: {\n          display: 'flex',\n          alignItems: 'center',\n          justifyContent: 'center',\n          flex: 'auto',\n          height: '40%',\n          [`\n              ${componentCls}-handler-up-inner,\n              ${componentCls}-handler-down-inner\n            `]: {\n            marginInlineEnd: 0,\n            fontSize: token.handleFontSize\n          }\n        }\n      },\n      [`${componentCls}-handler`]: {\n        height: '50%',\n        overflow: 'hidden',\n        color: colorTextDescription,\n        fontWeight: 'bold',\n        lineHeight: 0,\n        textAlign: 'center',\n        cursor: 'pointer',\n        borderInlineStart: `${unit(lineWidth)} ${lineType} ${handleBorderColor}`,\n        transition: `all ${motionDurationMid} linear`,\n        '&:active': {\n          background: handleActiveBg\n        },\n        // Hover\n        '&:hover': {\n          height: `60%`,\n          [`\n              ${componentCls}-handler-up-inner,\n              ${componentCls}-handler-down-inner\n            `]: {\n            color: handleHoverColor\n          }\n        },\n        '&-up-inner, &-down-inner': Object.assign(Object.assign({}, resetIcon()), {\n          color: colorTextDescription,\n          transition: `all ${motionDurationMid} linear`,\n          userSelect: 'none'\n        })\n      },\n      [`${componentCls}-handler-up`]: {\n        borderStartEndRadius: borderRadius\n      },\n      [`${componentCls}-handler-down`]: {\n        borderEndEndRadius: borderRadius\n      }\n    }, genRadiusStyle(token, 'lg')), genRadiusStyle(token, 'sm')), {\n      // Disabled\n      '&-disabled, &-readonly': {\n        [`${componentCls}-handler-wrap`]: {\n          display: 'none'\n        },\n        [`${componentCls}-input`]: {\n          color: 'inherit'\n        }\n      },\n      [`\n          ${componentCls}-handler-up-disabled,\n          ${componentCls}-handler-down-disabled\n        `]: {\n        cursor: 'not-allowed'\n      },\n      [`\n          ${componentCls}-handler-up-disabled:hover &-handler-up-inner,\n          ${componentCls}-handler-down-disabled:hover &-handler-down-inner\n        `]: {\n        color: colorTextDisabled\n      }\n    })\n  }];\n};\nconst genAffixWrapperStyles = token => {\n  const {\n    componentCls,\n    paddingBlock,\n    paddingInline,\n    inputAffixPadding,\n    controlWidth,\n    borderRadiusLG,\n    borderRadiusSM,\n    paddingInlineLG,\n    paddingInlineSM,\n    paddingBlockLG,\n    paddingBlockSM\n  } = token;\n  return {\n    [`${componentCls}-affix-wrapper`]: Object.assign(Object.assign({\n      [`input${componentCls}-input`]: {\n        padding: `${unit(paddingBlock)} 0`\n      }\n    }, genBasicInputStyle(token)), {\n      // or number handler will cover form status\n      position: 'relative',\n      display: 'inline-flex',\n      width: controlWidth,\n      padding: 0,\n      paddingInlineStart: paddingInline,\n      '&-lg': {\n        borderRadius: borderRadiusLG,\n        paddingInlineStart: paddingInlineLG,\n        [`input${componentCls}-input`]: {\n          padding: `${unit(paddingBlockLG)} 0`\n        }\n      },\n      '&-sm': {\n        borderRadius: borderRadiusSM,\n        paddingInlineStart: paddingInlineSM,\n        [`input${componentCls}-input`]: {\n          padding: `${unit(paddingBlockSM)} 0`\n        }\n      },\n      [`&:not(${componentCls}-disabled):hover`]: {\n        zIndex: 1\n      },\n      '&-focused, &:focus': {\n        zIndex: 1\n      },\n      [`&-disabled > ${componentCls}-disabled`]: {\n        background: 'transparent'\n      },\n      [`> div${componentCls}`]: {\n        width: '100%',\n        border: 'none',\n        outline: 'none',\n        [`&${componentCls}-focused`]: {\n          boxShadow: 'none !important'\n        }\n      },\n      '&::before': {\n        display: 'inline-block',\n        width: 0,\n        visibility: 'hidden',\n        content: '\"\\\\a0\"'\n      },\n      [`${componentCls}-handler-wrap`]: {\n        zIndex: 2\n      },\n      [componentCls]: {\n        color: 'inherit',\n        '&-prefix, &-suffix': {\n          display: 'flex',\n          flex: 'none',\n          alignItems: 'center',\n          pointerEvents: 'none'\n        },\n        '&-prefix': {\n          marginInlineEnd: inputAffixPadding\n        },\n        '&-suffix': {\n          position: 'absolute',\n          insetBlockStart: 0,\n          insetInlineEnd: 0,\n          zIndex: 1,\n          height: '100%',\n          marginInlineEnd: paddingInline,\n          marginInlineStart: inputAffixPadding\n        }\n      }\n    })\n  };\n};\nexport default genStyleHooks('InputNumber', token => {\n  const inputNumberToken = mergeToken(token, initInputToken(token));\n  return [genInputNumberStyles(inputNumberToken), genAffixWrapperStyles(inputNumberToken),\n  // =====================================================\n  // ==             Space Compact                       ==\n  // =====================================================\n  genCompactItemStyle(inputNumberToken)];\n}, prepareComponentToken, {\n  unitless: {\n    handleOpacity: true\n  }\n});"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,kBAAkB,EAAEC,kBAAkB,EAAEC,mBAAmB,EAAEC,cAAc,QAAQ,mBAAmB;AAC/G,SAASC,kBAAkB,EAAEC,mBAAmB,EAAEC,cAAc,EAAEC,qBAAqB,EAAEC,gBAAgB,QAAQ,4BAA4B;AAC7I,SAASC,cAAc,EAAEC,SAAS,QAAQ,aAAa;AACvD,SAASC,mBAAmB,QAAQ,0BAA0B;AAC9D,SAASC,aAAa,EAAEC,UAAU,QAAQ,sBAAsB;AAChE,SAASC,qBAAqB,QAAQ,SAAS;AAC/C,OAAO,MAAMC,cAAc,GAAGA,CAACC,IAAI,EAAEC,IAAI,KAAK;EAC5C,IAAI;IACFC,YAAY;IACZC,cAAc;IACdC;EACF,CAAC,GAAGJ,IAAI;EACR,MAAMK,YAAY,GAAGJ,IAAI,KAAK,IAAI,GAAGG,cAAc,GAAGD,cAAc;EACpE,OAAO;IACL,CAAE,KAAIF,IAAK,EAAC,GAAG;MACb,CAAE,GAAEC,YAAa,eAAc,GAAG;QAChCI,oBAAoB,EAAED,YAAY;QAClCE,kBAAkB,EAAEF;MACtB,CAAC;MACD,CAAE,GAAEH,YAAa,aAAY,GAAG;QAC9BI,oBAAoB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