"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r={overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},c=o=>({boxSizing:"border-box",margin:0,padding:0,color:o.colorText,fontSize:o.fontSize,lineHeight:o.lineHeight,listStyle:"none",fontFamily:o.fontFamily}),s=()=>({display:"inline-flex",alignItems:"center",color:"inherit",fontStyle:"normal",lineHeight:0,textAlign:"center",textTransform:"none",verticalAlign:"-0.125em",textRendering:"optimizeLegibility","-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale","> *":{lineHeight:1},svg:{display:"inline-block"}}),a=()=>({"&::before":{display:"table",content:'""'},"&::after":{display:"table",clear:"both",content:'""'}}),b=o=>({a:{color:o.colorLink,textDecoration:o.linkDecoration,backgroundColor:"transparent",outline:"none",cursor:"pointer",transition:`color ${o.motionDurationSlow}`,"-webkit-text-decoration-skip":"objects","&:hover":{color:o.colorLinkHover},"&:active":{color:o.colorLinkActive},"&:active,\n  &:hover":{textDecoration:o.linkHoverDecoration,outline:0},"&:focus":{textDecoration:o.linkFocusDecoration,outline:0},"&[disabled]":{color:o.colorTextDisabled,cursor:"not-allowed"}}}),g=(o,e)=>{const{fontFamily:n,fontSize:l}=o,t=`[class^="${e}"], [class*=" ${e}"]`;return{[t]:{fontFamily:n,fontSize:l,boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"},[t]:{boxSizing:"border-box","&::before, &::after":{boxSizing:"border-box"}}}}},i=o=>({outline:`${o.lineWidthBold}px solid ${o.colorPrimaryBorder}`,outlineOffset:1,transition:"outline-offset 0s, outline 0s"}),d=o=>({"&:focus-visible":{...i(o)}});exports.clearFix=a;exports.genCommonStyle=g;exports.genFocusOutline=i;exports.genFocusStyle=d;exports.genLinkStyle=b;exports.resetComponent=c;exports.resetIcon=s;exports.textEllipsis=r;
