"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("styled-components"),o=require("../../utils/index.js");function i(t){return t&&t.__esModule?t:{default:t}}var r=i(e);const n=r.default.div`
  display: flex;
  align-items: center;
  justify-content: center;
`,g=r.default(n).withConfig({shouldForwardProp:o.convertToTransientProps(["isSubtle"])})`
  svg {
    height: ${o.getSpacing("s04")};
    width: ${o.getSpacing("s04")};
    margin-right: ${o.getSpacing("s01")};
    fill: ${o.getColorAlias("contentLight")};
  }
`,s=r.default(n).withConfig({shouldForwardProp:o.convertToTransientProps(["isSubtle"])})`
  border-radius: ${({size:t,theme:l})=>t==="large"?l.radius.roundedB:l.radius.roundedA};
  width: fit-content;
  height: fit-content;
  padding: ${({size:t,theme:l})=>t==="large"?` 2px ${l.spacing.s01}`:` ${l.spacing.s00} ${l.spacing.s01}`};
  color: ${o.getColorAlias("contentLight")};
  text-align: center;
  font-family: ${t=>t.theme.font.familyPrimary};
  font-weight: ${t=>t.theme.font.weightRegular};
  letter-spacing: ${o.getSpacing("s00")};
  ${({size:t})=>t==="small"?e.css`
          ${o.getFontSize("size12")};
        `:e.css`
          ${o.getFontSize("size14")};
        `}
`,a=r.default(s)`
  color: ${o.getColorAlias("contentDefault")};
  svg {
    fill: ${o.getColorAlias("contentDefault")};
  }
`,c=r.default(s)(t=>t.isSubtle?e.css`
        background-color: ${o.getColorAlias("containerStrong")};
        color: ${o.getColorAlias("contentDefault")};
        svg {
          fill: ${o.getColorAlias("contentDefault")};
        }
      `:e.css`
        background-color: ${o.getColorAlias("containerInverse")};
        color: ${o.getColorAlias("contentInverse")};
        svg {
          fill: ${o.getColorAlias("contentInverse")};
        }
      `),u=r.default(s)`
  background-color: ${({isSubtle:t})=>t?e.css`
          ${o.getColorAlias("supportPositive02")}
        `:e.css`
          ${o.getColorAlias("supportPositive")}
        `};
  ${({theme:t,isSubtle:l})=>l&&t.mode==="light"&&e.css`
      color: ${o.getColorAlias("supportPositive")};
      svg {
        fill: ${o.getColorAlias("supportPositive")};
      }
    `};
`,d=r.default(s)`
  background-color: ${({isSubtle:t})=>t?e.css`
          ${o.getColorAlias("supportError02")}
        `:e.css`
          ${o.getColorAlias("supportError")}
        `};
  ${({theme:t,isSubtle:l})=>l&&t.mode==="light"&&e.css`
      color: ${o.getColorAlias("supportError")};
      svg {
        fill: ${o.getColorAlias("supportError")};
      }
    `};
`,f=r.default(a)`
  background-color: ${o.getColorAlias("supportInfo02")};
`,p=r.default(a)`
  background-color: ${o.getColorAlias("supportWarning02")};
`,$=r.default(a)`
  background-color: ${o.getColorAlias("supportBrand02")};
`,v=r.default(a)`
  background: none;
`,A=r.default(a)`
  background-color: ${o.getColorAlias("containerDefault")};
`,T=r.default(a)`
  background: none;
  border: 1px solid ${o.getColorAlias("borderStrong")};
`;exports.FlexDiv=n;exports.IconWrapper=g;exports.Tag=s;exports.TagBrand=$;exports.TagError=d;exports.TagGhost=v;exports.TagInfo=f;exports.TagNeutral=c;exports.TagNeutralAlternative=A;exports.TagOutline=T;exports.TagPositive=u;exports.TagSubtle=a;exports.TagWarning=p;
