{"ast":null,"code":"import { unit } from '@ant-design/cssinjs';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport { clearFix, resetComponent, resetIcon } from '../../style';\nimport { genCollapseMotion, initSlideMotion, initZoomMotion } from '../../style/motion';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport getHorizontalStyle from './horizontal';\nimport getRTLStyle from './rtl';\nimport getThemeStyle from './theme';\nimport getVerticalStyle from './vertical';\nconst genMenuItemStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow,\n    motionDurationMid,\n    motionEaseInOut,\n    motionEaseOut,\n    iconCls,\n    iconSize,\n    iconMarginInlineEnd\n  } = token;\n  return {\n    // >>>>> Item\n    [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n      position: 'relative',\n      display: 'block',\n      margin: 0,\n      whiteSpace: 'nowrap',\n      cursor: 'pointer',\n      transition: [`border-color ${motionDurationSlow}`, `background ${motionDurationSlow}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n      [`${componentCls}-item-icon, ${iconCls}`]: {\n        minWidth: iconSize,\n        fontSize: iconSize,\n        transition: [`font-size ${motionDurationMid} ${motionEaseOut}`, `margin ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow}`].join(','),\n        '+ span': {\n          marginInlineStart: iconMarginInlineEnd,\n          opacity: 1,\n          transition: [`opacity ${motionDurationSlow} ${motionEaseInOut}`, `margin ${motionDurationSlow}`, `color ${motionDurationSlow}`].join(',')\n        }\n      },\n      [`${componentCls}-item-icon`]: Object.assign({}, resetIcon()),\n      [`&${componentCls}-item-only-child`]: {\n        [`> ${iconCls}, > ${componentCls}-item-icon`]: {\n          marginInlineEnd: 0\n        }\n      }\n    },\n    // Disabled state sets text to gray and nukes hover/tab effects\n    [`${componentCls}-item-disabled, ${componentCls}-submenu-disabled`]: {\n      background: 'none !important',\n      cursor: 'not-allowed',\n      '&::after': {\n        borderColor: 'transparent !important'\n      },\n      a: {\n        color: 'inherit !important'\n      },\n      [`> ${componentCls}-submenu-title`]: {\n        color: 'inherit !important',\n        cursor: 'not-allowed'\n      }\n    }\n  };\n};\nconst genSubMenuArrowStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow,\n    motionEaseInOut,\n    borderRadius,\n    menuArrowSize,\n    menuArrowOffset\n  } = token;\n  return {\n    [`${componentCls}-submenu`]: {\n      [`&-expand-icon, &-arrow`]: {\n        position: 'absolute',\n        top: '50%',\n        insetInlineEnd: token.margin,\n        width: menuArrowSize,\n        color: 'currentcolor',\n        transform: 'translateY(-50%)',\n        transition: `transform ${motionDurationSlow} ${motionEaseInOut}, opacity ${motionDurationSlow}`\n      },\n      '&-arrow': {\n        // →\n        '&::before, &::after': {\n          position: 'absolute',\n          width: token.calc(menuArrowSize).mul(0.6).equal(),\n          height: token.calc(menuArrowSize).mul(0.15).equal(),\n          backgroundColor: 'currentcolor',\n          borderRadius,\n          transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `transform ${motionDurationSlow} ${motionEaseInOut}`, `top ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n          content: '\"\"'\n        },\n        '&::before': {\n          transform: `rotate(45deg) translateY(${unit(token.calc(menuArrowOffset).mul(-1).equal())})`\n        },\n        '&::after': {\n          transform: `rotate(-45deg) translateY(${unit(menuArrowOffset)})`\n        }\n      }\n    }\n  };\n};\n// =============================== Base ===============================\nconst getBaseStyle = token => {\n  const {\n    antCls,\n    componentCls,\n    fontSize,\n    motionDurationSlow,\n    motionDurationMid,\n    motionEaseInOut,\n    paddingXS,\n    padding,\n    colorSplit,\n    lineWidth,\n    zIndexPopup,\n    borderRadiusLG,\n    subMenuItemBorderRadius,\n    menuArrowSize,\n    menuArrowOffset,\n    lineType,\n    groupTitleLineHeight,\n    groupTitleFontSize\n  } = token;\n  return [\n  // Misc\n  {\n    '': {\n      [`${componentCls}`]: Object.assign(Object.assign({}, clearFix()), {\n        // Hidden\n        [`&-hidden`]: {\n          display: 'none'\n        }\n      })\n    },\n    [`${componentCls}-submenu-hidden`]: {\n      display: 'none'\n    }\n  }, {\n    [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), clearFix()), {\n      marginBottom: 0,\n      paddingInlineStart: 0,\n      // Override default ul/ol\n      fontSize,\n      lineHeight: 0,\n      listStyle: 'none',\n      outline: 'none',\n      // Magic cubic here but smooth transition\n      transition: `width ${motionDurationSlow} cubic-bezier(0.2, 0, 0, 1) 0s`,\n      [`ul, ol`]: {\n        margin: 0,\n        padding: 0,\n        listStyle: 'none'\n      },\n      // Overflow ellipsis\n      [`&-overflow`]: {\n        display: 'flex',\n        [`${componentCls}-item`]: {\n          flex: 'none'\n        }\n      },\n      [`${componentCls}-item, ${componentCls}-submenu, ${componentCls}-submenu-title`]: {\n        borderRadius: token.itemBorderRadius\n      },\n      [`${componentCls}-item-group-title`]: {\n        padding: `${unit(paddingXS)} ${unit(padding)}`,\n        fontSize: groupTitleFontSize,\n        lineHeight: groupTitleLineHeight,\n        transition: `all ${motionDurationSlow}`\n      },\n      [`&-horizontal ${componentCls}-submenu`]: {\n        transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-submenu, ${componentCls}-submenu-inline`]: {\n        transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationMid} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-submenu ${componentCls}-sub`]: {\n        cursor: 'initial',\n        transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-title-content`]: {\n        transition: `color ${motionDurationSlow}`,\n        // https://github.com/ant-design/ant-design/issues/41143\n        [`> ${antCls}-typography-ellipsis-single-line`]: {\n          display: 'inline',\n          verticalAlign: 'unset'\n        }\n      },\n      [`${componentCls}-item a`]: {\n        '&::before': {\n          position: 'absolute',\n          inset: 0,\n          backgroundColor: 'transparent',\n          content: '\"\"'\n        }\n      },\n      // Removed a Badge related style seems it's safe\n      // https://github.com/ant-design/ant-design/issues/19809\n      // >>>>> Divider\n      [`${componentCls}-item-divider`]: {\n        overflow: 'hidden',\n        lineHeight: 0,\n        borderColor: colorSplit,\n        borderStyle: lineType,\n        borderWidth: 0,\n        borderTopWidth: lineWidth,\n        marginBlock: lineWidth,\n        padding: 0,\n        '&-dashed': {\n          borderStyle: 'dashed'\n        }\n      }\n    }), genMenuItemStyle(token)), {\n      [`${componentCls}-item-group`]: {\n        [`${componentCls}-item-group-list`]: {\n          margin: 0,\n          padding: 0,\n          [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n            paddingInline: `${unit(token.calc(fontSize).mul(2).equal())} ${unit(padding)}`\n          }\n        }\n      },\n      // ======================= Sub Menu =======================\n      '&-submenu': {\n        '&-popup': {\n          position: 'absolute',\n          zIndex: zIndexPopup,\n          borderRadius: borderRadiusLG,\n          boxShadow: 'none',\n          transformOrigin: '0 0',\n          [`&${componentCls}-submenu`]: {\n            background: 'transparent'\n          },\n          // https://github.com/ant-design/ant-design/issues/13955\n          '&::before': {\n            position: 'absolute',\n            inset: 0,\n            zIndex: -1,\n            width: '100%',\n            height: '100%',\n            opacity: 0,\n            content: '\"\"'\n          },\n          [`> ${componentCls}`]: Object.assign(Object.assign(Object.assign({\n            borderRadius: borderRadiusLG\n          }, genMenuItemStyle(token)), genSubMenuArrowStyle(token)), {\n            [`${componentCls}-item, ${componentCls}-submenu > ${componentCls}-submenu-title`]: {\n              borderRadius: subMenuItemBorderRadius\n            },\n            [`${componentCls}-submenu-title::after`]: {\n              transition: `transform ${motionDurationSlow} ${motionEaseInOut}`\n            }\n          })\n        },\n        [`\n          &-placement-leftTop,\n          &-placement-bottomRight,\n          `]: {\n          transformOrigin: '100% 0'\n        },\n        [`\n          &-placement-leftBottom,\n          &-placement-topRight,\n          `]: {\n          transformOrigin: '100% 100%'\n        },\n        [`\n          &-placement-rightBottom,\n          &-placement-topLeft,\n          `]: {\n          transformOrigin: '0 100%'\n        },\n        [`\n          &-placement-bottomLeft,\n          &-placement-rightTop,\n          `]: {\n          transformOrigin: '0 0'\n        },\n        [`\n          &-placement-leftTop,\n          &-placement-leftBottom\n          `]: {\n          paddingInlineEnd: token.paddingXS\n        },\n        [`\n          &-placement-rightTop,\n          &-placement-rightBottom\n          `]: {\n          paddingInlineStart: token.paddingXS\n        },\n        [`\n          &-placement-topRight,\n          &-placement-topLeft\n          `]: {\n          paddingBottom: token.paddingXS\n        },\n        [`\n          &-placement-bottomRight,\n          &-placement-bottomLeft\n          `]: {\n          paddingTop: token.paddingXS\n        }\n      }\n    }), genSubMenuArrowStyle(token)), {\n      [`&-inline-collapsed ${componentCls}-submenu-arrow,\n        &-inline ${componentCls}-submenu-arrow`]: {\n        // ↓\n        '&::before': {\n          transform: `rotate(-45deg) translateX(${unit(menuArrowOffset)})`\n        },\n        '&::after': {\n          transform: `rotate(45deg) translateX(${unit(token.calc(menuArrowOffset).mul(-1).equal())})`\n        }\n      },\n      [`${componentCls}-submenu-open${componentCls}-submenu-inline > ${componentCls}-submenu-title > ${componentCls}-submenu-arrow`]: {\n        // ↑\n        transform: `translateY(${unit(token.calc(menuArrowSize).mul(0.2).mul(-1).equal())})`,\n        '&::after': {\n          transform: `rotate(-45deg) translateX(${unit(token.calc(menuArrowOffset).mul(-1).equal())})`\n        },\n        '&::before': {\n          transform: `rotate(45deg) translateX(${unit(menuArrowOffset)})`\n        }\n      }\n    })\n  },\n  // Integration with header element so menu items have the same height\n  {\n    [`${antCls}-layout-header`]: {\n      [componentCls]: {\n        lineHeight: 'inherit'\n      }\n    }\n  }];\n};\nexport const prepareComponentToken = token => {\n  var _a, _b, _c;\n  const {\n    colorPrimary,\n    colorError,\n    colorTextDisabled,\n    colorErrorBg,\n    colorText,\n    colorTextDescription,\n    colorBgContainer,\n    colorFillAlter,\n    colorFillContent,\n    lineWidth,\n    lineWidthBold,\n    controlItemBgActive,\n    colorBgTextHover,\n    controlHeightLG,\n    lineHeight,\n    colorBgElevated,\n    marginXXS,\n    padding,\n    fontSize,\n    controlHeightSM,\n    fontSizeLG,\n    colorTextLightSolid,\n    colorErrorHover\n  } = token;\n  const activeBarWidth = (_a = token.activeBarWidth) !== null && _a !== void 0 ? _a : 0;\n  const activeBarBorderWidth = (_b = token.activeBarBorderWidth) !== null && _b !== void 0 ? _b : lineWidth;\n  const itemMarginInline = (_c = token.itemMarginInline) !== null && _c !== void 0 ? _c : token.marginXXS;\n  const colorTextDark = new TinyColor(colorTextLightSolid).setAlpha(0.65).toRgbString();\n  return {\n    dropdownWidth: 160,\n    zIndexPopup: token.zIndexPopupBase + 50,\n    radiusItem: token.borderRadiusLG,\n    itemBorderRadius: token.borderRadiusLG,\n    radiusSubMenuItem: token.borderRadiusSM,\n    subMenuItemBorderRadius: token.borderRadiusSM,\n    colorItemText: colorText,\n    itemColor: colorText,\n    colorItemTextHover: colorText,\n    itemHoverColor: colorText,\n    colorItemTextHoverHorizontal: colorPrimary,\n    horizontalItemHoverColor: colorPrimary,\n    colorGroupTitle: colorTextDescription,\n    groupTitleColor: colorTextDescription,\n    colorItemTextSelected: colorPrimary,\n    itemSelectedColor: colorPrimary,\n    colorItemTextSelectedHorizontal: colorPrimary,\n    horizontalItemSelectedColor: colorPrimary,\n    colorItemBg: colorBgContainer,\n    itemBg: colorBgContainer,\n    colorItemBgHover: colorBgTextHover,\n    itemHoverBg: colorBgTextHover,\n    colorItemBgActive: colorFillContent,\n    itemActiveBg: controlItemBgActive,\n    colorSubItemBg: colorFillAlter,\n    subMenuItemBg: colorFillAlter,\n    colorItemBgSelected: controlItemBgActive,\n    itemSelectedBg: controlItemBgActive,\n    colorItemBgSelectedHorizontal: 'transparent',\n    horizontalItemSelectedBg: 'transparent',\n    colorActiveBarWidth: 0,\n    activeBarWidth,\n    colorActiveBarHeight: lineWidthBold,\n    activeBarHeight: lineWidthBold,\n    colorActiveBarBorderSize: lineWidth,\n    activeBarBorderWidth,\n    // Disabled\n    colorItemTextDisabled: colorTextDisabled,\n    itemDisabledColor: colorTextDisabled,\n    // Danger\n    colorDangerItemText: colorError,\n    dangerItemColor: colorError,\n    colorDangerItemTextHover: colorError,\n    dangerItemHoverColor: colorError,\n    colorDangerItemTextSelected: colorError,\n    dangerItemSelectedColor: colorError,\n    colorDangerItemBgActive: colorErrorBg,\n    dangerItemActiveBg: colorErrorBg,\n    colorDangerItemBgSelected: colorErrorBg,\n    dangerItemSelectedBg: colorErrorBg,\n    itemMarginInline,\n    horizontalItemBorderRadius: 0,\n    horizontalItemHoverBg: 'transparent',\n    itemHeight: controlHeightLG,\n    groupTitleLineHeight: lineHeight,\n    collapsedWidth: controlHeightLG * 2,\n    popupBg: colorBgElevated,\n    itemMarginBlock: marginXXS,\n    itemPaddingInline: padding,\n    horizontalLineHeight: `${controlHeightLG * 1.15}px`,\n    iconSize: fontSize,\n    iconMarginInlineEnd: controlHeightSM - fontSize,\n    collapsedIconSize: fontSizeLG,\n    groupTitleFontSize: fontSize,\n    // Disabled\n    darkItemDisabledColor: new TinyColor(colorTextLightSolid).setAlpha(0.25).toRgbString(),\n    // Dark\n    darkItemColor: colorTextDark,\n    darkDangerItemColor: colorError,\n    darkItemBg: '#001529',\n    darkPopupBg: '#001529',\n    darkSubMenuItemBg: '#000c17',\n    darkItemSelectedColor: colorTextLightSolid,\n    darkItemSelectedBg: colorPrimary,\n    darkDangerItemSelectedBg: colorError,\n    darkItemHoverBg: 'transparent',\n    darkGroupTitleColor: colorTextDark,\n    darkItemHoverColor: colorTextLightSolid,\n    darkDangerItemHoverColor: colorErrorHover,\n    darkDangerItemSelectedColor: colorTextLightSolid,\n    darkDangerItemActiveBg: colorError,\n    // internal\n    itemWidth: activeBarWidth ? `calc(100% + ${activeBarBorderWidth}px)` : `calc(100% - ${itemMarginInline * 2}px)`\n  };\n};\n// ============================== Export ==============================\nexport default (function (prefixCls) {\n  let rootCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : prefixCls;\n  let injectStyle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n  const useStyle = genStyleHooks('Menu', token => {\n    const {\n      colorBgElevated,\n      controlHeightLG,\n      fontSize,\n      darkItemColor,\n      darkDangerItemColor,\n      darkItemBg,\n      darkSubMenuItemBg,\n      darkItemSelectedColor,\n      darkItemSelectedBg,\n      darkDangerItemSelectedBg,\n      darkItemHoverBg,\n      darkGroupTitleColor,\n      darkItemHoverColor,\n      darkItemDisabledColor,\n      darkDangerItemHoverColor,\n      darkDangerItemSelectedColor,\n      darkDangerItemActiveBg,\n      popupBg,\n      darkPopupBg\n    } = token;\n    const menuArrowSize = token.calc(fontSize).div(7).mul(5).equal();\n    // Menu Token\n    const menuToken = mergeToken(token, {\n      menuArrowSize,\n      menuHorizontalHeight: token.calc(controlHeightLG).mul(1.15).equal(),\n      menuArrowOffset: token.calc(menuArrowSize).mul(0.25).equal(),\n      menuSubMenuBg: colorBgElevated,\n      calc: token.calc,\n      popupBg\n    });\n    const menuDarkToken = mergeToken(menuToken, {\n      itemColor: darkItemColor,\n      itemHoverColor: darkItemHoverColor,\n      groupTitleColor: darkGroupTitleColor,\n      itemSelectedColor: darkItemSelectedColor,\n      itemBg: darkItemBg,\n      popupBg: darkPopupBg,\n      subMenuItemBg: darkSubMenuItemBg,\n      itemActiveBg: 'transparent',\n      itemSelectedBg: darkItemSelectedBg,\n      activeBarHeight: 0,\n      activeBarBorderWidth: 0,\n      itemHoverBg: darkItemHoverBg,\n      // Disabled\n      itemDisabledColor: darkItemDisabledColor,\n      // Danger\n      dangerItemColor: darkDangerItemColor,\n      dangerItemHoverColor: darkDangerItemHoverColor,\n      dangerItemSelectedColor: darkDangerItemSelectedColor,\n      dangerItemActiveBg: darkDangerItemActiveBg,\n      dangerItemSelectedBg: darkDangerItemSelectedBg,\n      menuSubMenuBg: darkSubMenuItemBg,\n      // Horizontal\n      horizontalItemSelectedColor: darkItemSelectedColor,\n      horizontalItemSelectedBg: darkItemSelectedBg\n    });\n    return [\n    // Basic\n    getBaseStyle(menuToken),\n    // Horizontal\n    getHorizontalStyle(menuToken),\n    // Hard code for some light style\n    // Vertical\n    getVerticalStyle(menuToken),\n    // Hard code for some light style\n    // Theme\n    getThemeStyle(menuToken, 'light'), getThemeStyle(menuDarkToken, 'dark'),\n    // RTL\n    getRTLStyle(menuToken),\n    // Motion\n    genCollapseMotion(menuToken), initSlideMotion(menuToken, 'slide-up'), initSlideMotion(menuToken, 'slide-down'), initZoomMotion(menuToken, 'zoom-big')];\n  }, prepareComponentToken, {\n    deprecatedTokens: [['colorGroupTitle', 'groupTitleColor'], ['radiusItem', 'itemBorderRadius'], ['radiusSubMenuItem', 'subMenuItemBorderRadius'], ['colorItemText', 'itemColor'], ['colorItemTextHover', 'itemHoverColor'], ['colorItemTextHoverHorizontal', 'horizontalItemHoverColor'], ['colorItemTextSelected', 'itemSelectedColor'], ['colorItemTextSelectedHorizontal', 'horizontalItemSelectedColor'], ['colorItemTextDisabled', 'itemDisabledColor'], ['colorDangerItemText', 'dangerItemColor'], ['colorDangerItemTextHover', 'dangerItemHoverColor'], ['colorDangerItemTextSelected', 'dangerItemSelectedColor'], ['colorDangerItemBgActive', 'dangerItemActiveBg'], ['colorDangerItemBgSelected', 'dangerItemSelectedBg'], ['colorItemBg', 'itemBg'], ['colorItemBgHover', 'itemHoverBg'], ['colorSubItemBg', 'subMenuItemBg'], ['colorItemBgActive', 'itemActiveBg'], ['colorItemBgSelectedHorizontal', 'horizontalItemSelectedBg'], ['colorActiveBarWidth', 'activeBarWidth'], ['colorActiveBarHeight', 'activeBarHeight'], ['colorActiveBarBorderSize', 'activeBarBorderWidth'], ['colorItemBgSelected', 'itemSelectedBg']],\n    // Dropdown will handle menu style self. We do not need to handle this.\n    injectStyle,\n    unitless: {\n      groupTitleLineHeight: true\n    }\n  });\n  return useStyle(prefixCls, rootCls);\n});","map":{"version":3,"names":["unit","TinyColor","clearFix","resetComponent","resetIcon","genCollapseMotion","initSlideMotion","initZoomMotion","genStyleHooks","mergeToken","getHorizontalStyle","getRTLStyle","getThemeStyle","getVerticalStyle","genMenuItemStyle","token","componentCls","motionDurationSlow","motionDurationMid","motionEaseInOut","motionEaseOut","iconCls","iconSize","iconMarginInlineEnd","position","display","margin","whiteSpace","cursor","transition","join","minWidth","fontSize","marginInlineStart","opacity","Object","assign","marginInlineEnd","background","borderColor","a","color","genSubMenuArrowStyle","borderRadius","menuArrowSize","menuArrowOffset","top","insetInlineEnd","width","transform","calc","mul","equal","height","backgroundColor","content","getBaseStyle","antCls","paddingXS","padding","colorSplit","lineWidth","zIndexPopup","borderRadiusLG","subMenuItemBorderRadius","lineType","groupTitleLineHeight","groupTitleFontSize","marginBottom","paddingInlineStart","lineHeight","listStyle","outline","flex","itemBorderRadius","verticalAlign","inset","overflow","borderStyle","borderWidth","borderTopWidth","marginBlock","paddingInline","zIndex","boxShadow","transformOrigin","paddingInlineEnd","paddingBottom","paddingTop","prepareComponentToken","_a","_b","_c","colorPrimary","colorError","colorTextDisabled","colorErrorBg","colorText","colorTextDescription","colorBgContainer","colorFillAlter","colorFillContent","lineWidthBold","controlItemBgActive","colorBgTextHover","controlHeightLG","colorBgElevated","marginXXS","controlHeightSM","fontSizeLG","colorTextLightSolid","colorErrorHover","activeBarWidth","activeBarBorderWidth","itemMarginInline","colorTextDark","setAlpha","toRgbString","dropdownWidth","zIndexPopupBase","radiusItem","radiusSubMenuItem","borderRadiusSM","colorItemText","itemColor","colorItemTextHover","itemHoverColor","colorItemTextHoverHorizontal","horizontalItemHoverColor","colorGroupTitle","groupTitleColor","colorItemTextSelected","itemSelectedColor","colorItemTextSelectedHorizontal","horizontalItemSelectedColor","colorItemBg","itemBg","colorItemBgHover","itemHoverBg","colorItemBgActive","itemActiveBg","colorSubItemBg","subMenuItemBg","colorItemBgSelected","itemSelectedBg","colorItemBgSelectedHorizontal","horizontalItemSelectedBg","colorActiveBarWidth","colorActiveBarHeight","activeBarHeight","colorActiveBarBorderSize","colorItemTextDisabled","itemDisabledColor","colorDangerItemText","dangerItemColor","colorDangerItemTextHover","dangerItemHoverColor","colorDangerItemTextSelected","dangerItemSelectedColor","colorDangerItemBgActive","dangerItemActiveBg","colorDangerItemBgSelected","dangerItemSelectedBg","horizontalItemBorderRadius","horizontalItemHoverBg","itemHeight","collapsedWidth","popupBg","itemMarginBlock","itemPaddingInline","horizontalLineHeight","collapsedIconSize","darkItemDisabledColor","darkItemColor","darkDangerItemColor","darkItemBg","darkPopupBg","darkSubMenuItemBg","darkItemSelectedColor","darkItemSelectedBg","darkDangerItemSelectedBg","darkItemHoverBg","darkGroupTitleColor","darkItemHoverColor","darkDangerItemHoverColor","darkDangerItemSelectedColor","darkDangerItemActiveBg","itemWidth","prefixCls","rootCls","arguments","length","undefined","injectStyle","useStyle","div","menuToken","menuHorizontalHeight","menuSubMenuBg","menuDarkToken","deprecatedTokens","unitless"],"sources":["/Users/shanyi/Desktop/Projects/UC_Trains_Voice/react-demo/node_modules/antd/es/menu/style/index.js"],"sourcesContent":["import { unit } from '@ant-design/cssinjs';\nimport { TinyColor } from '@ctrl/tinycolor';\nimport { clearFix, resetComponent, resetIcon } from '../../style';\nimport { genCollapseMotion, initSlideMotion, initZoomMotion } from '../../style/motion';\nimport { genStyleHooks, mergeToken } from '../../theme/internal';\nimport getHorizontalStyle from './horizontal';\nimport getRTLStyle from './rtl';\nimport getThemeStyle from './theme';\nimport getVerticalStyle from './vertical';\nconst genMenuItemStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow,\n    motionDurationMid,\n    motionEaseInOut,\n    motionEaseOut,\n    iconCls,\n    iconSize,\n    iconMarginInlineEnd\n  } = token;\n  return {\n    // >>>>> Item\n    [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n      position: 'relative',\n      display: 'block',\n      margin: 0,\n      whiteSpace: 'nowrap',\n      cursor: 'pointer',\n      transition: [`border-color ${motionDurationSlow}`, `background ${motionDurationSlow}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n      [`${componentCls}-item-icon, ${iconCls}`]: {\n        minWidth: iconSize,\n        fontSize: iconSize,\n        transition: [`font-size ${motionDurationMid} ${motionEaseOut}`, `margin ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow}`].join(','),\n        '+ span': {\n          marginInlineStart: iconMarginInlineEnd,\n          opacity: 1,\n          transition: [`opacity ${motionDurationSlow} ${motionEaseInOut}`, `margin ${motionDurationSlow}`, `color ${motionDurationSlow}`].join(',')\n        }\n      },\n      [`${componentCls}-item-icon`]: Object.assign({}, resetIcon()),\n      [`&${componentCls}-item-only-child`]: {\n        [`> ${iconCls}, > ${componentCls}-item-icon`]: {\n          marginInlineEnd: 0\n        }\n      }\n    },\n    // Disabled state sets text to gray and nukes hover/tab effects\n    [`${componentCls}-item-disabled, ${componentCls}-submenu-disabled`]: {\n      background: 'none !important',\n      cursor: 'not-allowed',\n      '&::after': {\n        borderColor: 'transparent !important'\n      },\n      a: {\n        color: 'inherit !important'\n      },\n      [`> ${componentCls}-submenu-title`]: {\n        color: 'inherit !important',\n        cursor: 'not-allowed'\n      }\n    }\n  };\n};\nconst genSubMenuArrowStyle = token => {\n  const {\n    componentCls,\n    motionDurationSlow,\n    motionEaseInOut,\n    borderRadius,\n    menuArrowSize,\n    menuArrowOffset\n  } = token;\n  return {\n    [`${componentCls}-submenu`]: {\n      [`&-expand-icon, &-arrow`]: {\n        position: 'absolute',\n        top: '50%',\n        insetInlineEnd: token.margin,\n        width: menuArrowSize,\n        color: 'currentcolor',\n        transform: 'translateY(-50%)',\n        transition: `transform ${motionDurationSlow} ${motionEaseInOut}, opacity ${motionDurationSlow}`\n      },\n      '&-arrow': {\n        // →\n        '&::before, &::after': {\n          position: 'absolute',\n          width: token.calc(menuArrowSize).mul(0.6).equal(),\n          height: token.calc(menuArrowSize).mul(0.15).equal(),\n          backgroundColor: 'currentcolor',\n          borderRadius,\n          transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `transform ${motionDurationSlow} ${motionEaseInOut}`, `top ${motionDurationSlow} ${motionEaseInOut}`, `color ${motionDurationSlow} ${motionEaseInOut}`].join(','),\n          content: '\"\"'\n        },\n        '&::before': {\n          transform: `rotate(45deg) translateY(${unit(token.calc(menuArrowOffset).mul(-1).equal())})`\n        },\n        '&::after': {\n          transform: `rotate(-45deg) translateY(${unit(menuArrowOffset)})`\n        }\n      }\n    }\n  };\n};\n// =============================== Base ===============================\nconst getBaseStyle = token => {\n  const {\n    antCls,\n    componentCls,\n    fontSize,\n    motionDurationSlow,\n    motionDurationMid,\n    motionEaseInOut,\n    paddingXS,\n    padding,\n    colorSplit,\n    lineWidth,\n    zIndexPopup,\n    borderRadiusLG,\n    subMenuItemBorderRadius,\n    menuArrowSize,\n    menuArrowOffset,\n    lineType,\n    groupTitleLineHeight,\n    groupTitleFontSize\n  } = token;\n  return [\n  // Misc\n  {\n    '': {\n      [`${componentCls}`]: Object.assign(Object.assign({}, clearFix()), {\n        // Hidden\n        [`&-hidden`]: {\n          display: 'none'\n        }\n      })\n    },\n    [`${componentCls}-submenu-hidden`]: {\n      display: 'none'\n    }\n  }, {\n    [componentCls]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, resetComponent(token)), clearFix()), {\n      marginBottom: 0,\n      paddingInlineStart: 0,\n      // Override default ul/ol\n      fontSize,\n      lineHeight: 0,\n      listStyle: 'none',\n      outline: 'none',\n      // Magic cubic here but smooth transition\n      transition: `width ${motionDurationSlow} cubic-bezier(0.2, 0, 0, 1) 0s`,\n      [`ul, ol`]: {\n        margin: 0,\n        padding: 0,\n        listStyle: 'none'\n      },\n      // Overflow ellipsis\n      [`&-overflow`]: {\n        display: 'flex',\n        [`${componentCls}-item`]: {\n          flex: 'none'\n        }\n      },\n      [`${componentCls}-item, ${componentCls}-submenu, ${componentCls}-submenu-title`]: {\n        borderRadius: token.itemBorderRadius\n      },\n      [`${componentCls}-item-group-title`]: {\n        padding: `${unit(paddingXS)} ${unit(padding)}`,\n        fontSize: groupTitleFontSize,\n        lineHeight: groupTitleLineHeight,\n        transition: `all ${motionDurationSlow}`\n      },\n      [`&-horizontal ${componentCls}-submenu`]: {\n        transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-submenu, ${componentCls}-submenu-inline`]: {\n        transition: [`border-color ${motionDurationSlow} ${motionEaseInOut}`, `background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationMid} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-submenu ${componentCls}-sub`]: {\n        cursor: 'initial',\n        transition: [`background ${motionDurationSlow} ${motionEaseInOut}`, `padding ${motionDurationSlow} ${motionEaseInOut}`].join(',')\n      },\n      [`${componentCls}-title-content`]: {\n        transition: `color ${motionDurationSlow}`,\n        // https://github.com/ant-design/ant-design/issues/41143\n        [`> ${antCls}-typography-ellipsis-single-line`]: {\n          display: 'inline',\n          verticalAlign: 'unset'\n        }\n      },\n      [`${componentCls}-item a`]: {\n        '&::before': {\n          position: 'absolute',\n          inset: 0,\n          backgroundColor: 'transparent',\n          content: '\"\"'\n        }\n      },\n      // Removed a Badge related style seems it's safe\n      // https://github.com/ant-design/ant-design/issues/19809\n      // >>>>> Divider\n      [`${componentCls}-item-divider`]: {\n        overflow: 'hidden',\n        lineHeight: 0,\n        borderColor: colorSplit,\n        borderStyle: lineType,\n        borderWidth: 0,\n        borderTopWidth: lineWidth,\n        marginBlock: lineWidth,\n        padding: 0,\n        '&-dashed': {\n          borderStyle: 'dashed'\n        }\n      }\n    }), genMenuItemStyle(token)), {\n      [`${componentCls}-item-group`]: {\n        [`${componentCls}-item-group-list`]: {\n          margin: 0,\n          padding: 0,\n          [`${componentCls}-item, ${componentCls}-submenu-title`]: {\n            paddingInline: `${unit(token.calc(fontSize).mul(2).equal())} ${unit(padding)}`\n          }\n        }\n      },\n      // ======================= Sub Menu =======================\n      '&-submenu': {\n        '&-popup': {\n          position: 'absolute',\n          zIndex: zIndexPopup,\n          borderRadius: borderRadiusLG,\n          boxShadow: 'none',\n          transformOrigin: '0 0',\n          [`&${componentCls}-submenu`]: {\n            background: 'transparent'\n          },\n          // https://github.com/ant-design/ant-design/issues/13955\n          '&::before': {\n            position: 'absolute',\n            inset: 0,\n            zIndex: -1,\n            width: '100%',\n            height: '100%',\n            opacity: 0,\n            content: '\"\"'\n          },\n          [`> ${componentCls}`]: Object.assign(Object.assign(Object.assign({\n            borderRadius: borderRadiusLG\n          }, genMenuItemStyle(token)), genSubMenuArrowStyle(token)), {\n            [`${componentCls}-item, ${componentCls}-submenu > ${componentCls}-submenu-title`]: {\n              borderRadius: subMenuItemBorderRadius\n            },\n            [`${componentCls}-submenu-title::after`]: {\n              transition: `transform ${motionDurationSlow} ${motionEaseInOut}`\n            }\n          })\n        },\n        [`\n          &-placement-leftTop,\n          &-placement-bottomRight,\n          `]: {\n          transformOrigin: '100% 0'\n        },\n        [`\n          &-placement-leftBottom,\n          &-placement-topRight,\n          `]: {\n          transformOrigin: '100% 100%'\n        },\n        [`\n          &-placement-rightBottom,\n          &-placement-topLeft,\n          `]: {\n          transformOrigin: '0 100%'\n        },\n        [`\n          &-placement-bottomLeft,\n          &-placement-rightTop,\n          `]: {\n          transformOrigin: '0 0'\n        },\n        [`\n          &-placement-leftTop,\n          &-placement-leftBottom\n          `]: {\n          paddingInlineEnd: token.paddingXS\n        },\n        [`\n          &-placement-rightTop,\n          &-placement-rightBottom\n          `]: {\n          paddingInlineStart: token.paddingXS\n        },\n        [`\n          &-placement-topRight,\n          &-placement-topLeft\n          `]: {\n          paddingBottom: token.paddingXS\n        },\n        [`\n          &-placement-bottomRight,\n          &-placement-bottomLeft\n          `]: {\n          paddingTop: token.paddingXS\n        }\n      }\n    }), genSubMenuArrowStyle(token)), {\n      [`&-inline-collapsed ${componentCls}-submenu-arrow,\n        &-inline ${componentCls}-submenu-arrow`]: {\n        // ↓\n        '&::before': {\n          transform: `rotate(-45deg) translateX(${unit(menuArrowOffset)})`\n        },\n        '&::after': {\n          transform: `rotate(45deg) translateX(${unit(token.calc(menuArrowOffset).mul(-1).equal())})`\n        }\n      },\n      [`${componentCls}-submenu-open${componentCls}-submenu-inline > ${componentCls}-submenu-title > ${componentCls}-submenu-arrow`]: {\n        // ↑\n        transform: `translateY(${unit(token.calc(menuArrowSize).mul(0.2).mul(-1).equal())})`,\n        '&::after': {\n          transform: `rotate(-45deg) translateX(${unit(token.calc(menuArrowOffset).mul(-1).equal())})`\n        },\n        '&::before': {\n          transform: `rotate(45deg) translateX(${unit(menuArrowOffset)})`\n        }\n      }\n    })\n  },\n  // Integration with header element so menu items have the same height\n  {\n    [`${antCls}-layout-header`]: {\n      [componentCls]: {\n        lineHeight: 'inherit'\n      }\n    }\n  }];\n};\nexport const prepareComponentToken = token => {\n  var _a, _b, _c;\n  const {\n    colorPrimary,\n    colorError,\n    colorTextDisabled,\n    colorErrorBg,\n    colorText,\n    colorTextDescription,\n    colorBgContainer,\n    colorFillAlter,\n    colorFillContent,\n    lineWidth,\n    lineWidthBold,\n    controlItemBgActive,\n    colorBgTextHover,\n    controlHeightLG,\n    lineHeight,\n    colorBgElevated,\n    marginXXS,\n    padding,\n    fontSize,\n    controlHeightSM,\n    fontSizeLG,\n    colorTextLightSolid,\n    colorErrorHover\n  } = token;\n  const activeBarWidth = (_a = token.activeBarWidth) !== null && _a !== void 0 ? _a : 0;\n  const activeBarBorderWidth = (_b = token.activeBarBorderWidth) !== null && _b !== void 0 ? _b : lineWidth;\n  const itemMarginInline = (_c = token.itemMarginInline) !== null && _c !== void 0 ? _c : token.marginXXS;\n  const colorTextDark = new TinyColor(colorTextLightSolid).setAlpha(0.65).toRgbString();\n  return {\n    dropdownWidth: 160,\n    zIndexPopup: token.zIndexPopupBase + 50,\n    radiusItem: token.borderRadiusLG,\n    itemBorderRadius: token.borderRadiusLG,\n    radiusSubMenuItem: token.borderRadiusSM,\n    subMenuItemBorderRadius: token.borderRadiusSM,\n    colorItemText: colorText,\n    itemColor: colorText,\n    colorItemTextHover: colorText,\n    itemHoverColor: colorText,\n    colorItemTextHoverHorizontal: colorPrimary,\n    horizontalItemHoverColor: colorPrimary,\n    colorGroupTitle: colorTextDescription,\n    groupTitleColor: colorTextDescription,\n    colorItemTextSelected: colorPrimary,\n    itemSelectedColor: colorPrimary,\n    colorItemTextSelectedHorizontal: colorPrimary,\n    horizontalItemSelectedColor: colorPrimary,\n    colorItemBg: colorBgContainer,\n    itemBg: colorBgContainer,\n    colorItemBgHover: colorBgTextHover,\n    itemHoverBg: colorBgTextHover,\n    colorItemBgActive: colorFillContent,\n    itemActiveBg: controlItemBgActive,\n    colorSubItemBg: colorFillAlter,\n    subMenuItemBg: colorFillAlter,\n    colorItemBgSelected: controlItemBgActive,\n    itemSelectedBg: controlItemBgActive,\n    colorItemBgSelectedHorizontal: 'transparent',\n    horizontalItemSelectedBg: 'transparent',\n    colorActiveBarWidth: 0,\n    activeBarWidth,\n    colorActiveBarHeight: lineWidthBold,\n    activeBarHeight: lineWidthBold,\n    colorActiveBarBorderSize: lineWidth,\n    activeBarBorderWidth,\n    // Disabled\n    colorItemTextDisabled: colorTextDisabled,\n    itemDisabledColor: colorTextDisabled,\n    // Danger\n    colorDangerItemText: colorError,\n    dangerItemColor: colorError,\n    colorDangerItemTextHover: colorError,\n    dangerItemHoverColor: colorError,\n    colorDangerItemTextSelected: colorError,\n    dangerItemSelectedColor: colorError,\n    colorDangerItemBgActive: colorErrorBg,\n    dangerItemActiveBg: colorErrorBg,\n    colorDangerItemBgSelected: colorErrorBg,\n    dangerItemSelectedBg: colorErrorBg,\n    itemMarginInline,\n    horizontalItemBorderRadius: 0,\n    horizontalItemHoverBg: 'transparent',\n    itemHeight: controlHeightLG,\n    groupTitleLineHeight: lineHeight,\n    collapsedWidth: controlHeightLG * 2,\n    popupBg: colorBgElevated,\n    itemMarginBlock: marginXXS,\n    itemPaddingInline: padding,\n    horizontalLineHeight: `${controlHeightLG * 1.15}px`,\n    iconSize: fontSize,\n    iconMarginInlineEnd: controlHeightSM - fontSize,\n    collapsedIconSize: fontSizeLG,\n    groupTitleFontSize: fontSize,\n    // Disabled\n    darkItemDisabledColor: new TinyColor(colorTextLightSolid).setAlpha(0.25).toRgbString(),\n    // Dark\n    darkItemColor: colorTextDark,\n    darkDangerItemColor: colorError,\n    darkItemBg: '#001529',\n    darkPopupBg: '#001529',\n    darkSubMenuItemBg: '#000c17',\n    darkItemSelectedColor: colorTextLightSolid,\n    darkItemSelectedBg: colorPrimary,\n    darkDangerItemSelectedBg: colorError,\n    darkItemHoverBg: 'transparent',\n    darkGroupTitleColor: colorTextDark,\n    darkItemHoverColor: colorTextLightSolid,\n    darkDangerItemHoverColor: colorErrorHover,\n    darkDangerItemSelectedColor: colorTextLightSolid,\n    darkDangerItemActiveBg: colorError,\n    // internal\n    itemWidth: activeBarWidth ? `calc(100% + ${activeBarBorderWidth}px)` : `calc(100% - ${itemMarginInline * 2}px)`\n  };\n};\n// ============================== Export ==============================\nexport default (function (prefixCls) {\n  let rootCls = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : prefixCls;\n  let injectStyle = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n  const useStyle = genStyleHooks('Menu', token => {\n    const {\n      colorBgElevated,\n      controlHeightLG,\n      fontSize,\n      darkItemColor,\n      darkDangerItemColor,\n      darkItemBg,\n      darkSubMenuItemBg,\n      darkItemSelectedColor,\n      darkItemSelectedBg,\n      darkDangerItemSelectedBg,\n      darkItemHoverBg,\n      darkGroupTitleColor,\n      darkItemHoverColor,\n      darkItemDisabledColor,\n      darkDangerItemHoverColor,\n      darkDangerItemSelectedColor,\n      darkDangerItemActiveBg,\n      popupBg,\n      darkPopupBg\n    } = token;\n    const menuArrowSize = token.calc(fontSize).div(7).mul(5).equal();\n    // Menu Token\n    const menuToken = mergeToken(token, {\n      menuArrowSize,\n      menuHorizontalHeight: token.calc(controlHeightLG).mul(1.15).equal(),\n      menuArrowOffset: token.calc(menuArrowSize).mul(0.25).equal(),\n      menuSubMenuBg: colorBgElevated,\n      calc: token.calc,\n      popupBg\n    });\n    const menuDarkToken = mergeToken(menuToken, {\n      itemColor: darkItemColor,\n      itemHoverColor: darkItemHoverColor,\n      groupTitleColor: darkGroupTitleColor,\n      itemSelectedColor: darkItemSelectedColor,\n      itemBg: darkItemBg,\n      popupBg: darkPopupBg,\n      subMenuItemBg: darkSubMenuItemBg,\n      itemActiveBg: 'transparent',\n      itemSelectedBg: darkItemSelectedBg,\n      activeBarHeight: 0,\n      activeBarBorderWidth: 0,\n      itemHoverBg: darkItemHoverBg,\n      // Disabled\n      itemDisabledColor: darkItemDisabledColor,\n      // Danger\n      dangerItemColor: darkDangerItemColor,\n      dangerItemHoverColor: darkDangerItemHoverColor,\n      dangerItemSelectedColor: darkDangerItemSelectedColor,\n      dangerItemActiveBg: darkDangerItemActiveBg,\n      dangerItemSelectedBg: darkDangerItemSelectedBg,\n      menuSubMenuBg: darkSubMenuItemBg,\n      // Horizontal\n      horizontalItemSelectedColor: darkItemSelectedColor,\n      horizontalItemSelectedBg: darkItemSelectedBg\n    });\n    return [\n    // Basic\n    getBaseStyle(menuToken),\n    // Horizontal\n    getHorizontalStyle(menuToken),\n    // Hard code for some light style\n    // Vertical\n    getVerticalStyle(menuToken),\n    // Hard code for some light style\n    // Theme\n    getThemeStyle(menuToken, 'light'), getThemeStyle(menuDarkToken, 'dark'),\n    // RTL\n    getRTLStyle(menuToken),\n    // Motion\n    genCollapseMotion(menuToken), initSlideMotion(menuToken, 'slide-up'), initSlideMotion(menuToken, 'slide-down'), initZoomMotion(menuToken, 'zoom-big')];\n  }, prepareComponentToken, {\n    deprecatedTokens: [['colorGroupTitle', 'groupTitleColor'], ['radiusItem', 'itemBorderRadius'], ['radiusSubMenuItem', 'subMenuItemBorderRadius'], ['colorItemText', 'itemColor'], ['colorItemTextHover', 'itemHoverColor'], ['colorItemTextHoverHorizontal', 'horizontalItemHoverColor'], ['colorItemTextSelected', 'itemSelectedColor'], ['colorItemTextSelectedHorizontal', 'horizontalItemSelectedColor'], ['colorItemTextDisabled', 'itemDisabledColor'], ['colorDangerItemText', 'dangerItemColor'], ['colorDangerItemTextHover', 'dangerItemHoverColor'], ['colorDangerItemTextSelected', 'dangerItemSelectedColor'], ['colorDangerItemBgActive', 'dangerItemActiveBg'], ['colorDangerItemBgSelected', 'dangerItemSelectedBg'], ['colorItemBg', 'itemBg'], ['colorItemBgHover', 'itemHoverBg'], ['colorSubItemBg', 'subMenuItemBg'], ['colorItemBgActive', 'itemActiveBg'], ['colorItemBgSelectedHorizontal', 'horizontalItemSelectedBg'], ['colorActiveBarWidth', 'activeBarWidth'], ['colorActiveBarHeight', 'activeBarHeight'], ['colorActiveBarBorderSize', 'activeBarBorderWidth'], ['colorItemBgSelected', 'itemSelectedBg']],\n    // Dropdown will handle menu style self. We do not need to handle this.\n    injectStyle,\n    unitless: {\n      groupTitleLineHeight: true\n    }\n  });\n  return useStyle(prefixCls, rootCls);\n});"],"mappings":"AAAA,SAASA,IAAI,QAAQ,qBAAqB;AAC1C,SAASC,SAAS,QAAQ,iBAAiB;AAC3C,SAASC,QAAQ,EAAEC,cAAc,EAAEC,SAAS,QAAQ,aAAa;AACjE,SAASC,iBAAiB,EAAEC,eAAe,EAAEC,cAAc,QAAQ,oBAAoB;AACvF,SAASC,aAAa,EAAEC,UAAU,QAAQ,sBAAsB;AAChE,OAAOC,kBAAkB,MAAM,cAAc;AAC7C,OAAOC,WAAW,MAAM,OAAO;AAC/B,OAAOC,aAAa,MAAM,SAAS;AACnC,OAAOC,gBAAgB,MAAM,YAAY;AACzC,MAAMC,gBAAgB,GAAGC,KAAK,IAAI;EAChC,MAAM;IACJC,YAAY;IACZC,kBAAkB;IAClBC,iBAAiB;IACjBC,eAAe;IACfC,aAAa;IACbC,OAAO;IACPC,QAAQ;IACRC;EACF,CAAC,GAAGR,KAA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