System.register(["./index-legacy.DjPCm-Xr.js","./index-legacy.sLMPZLm9.js"],(function(t,e){"use strict";var n,r,i,o,s;return{setters:[t=>{n=t._},t=>{r=t.j,i=t.r,o=t.f,s=t.p}],execute:function(){function e(t,e,r){const{focusElCls:i,focus:o,borderElCls:s}=r,d=s?"> *":"",c=["hover",o?"focus":null,"active"].filter(Boolean).map((t=>`&:${t} ${d}`)).join(",");return{[`&-item:not(${e}-last-item)`]:{marginInlineEnd:-t.lineWidth},"&-item":n(n({[c]:{zIndex:2}},i?{[`&${i}`]:{zIndex:2}}:{}),{[`&[disabled] ${d}`]:{zIndex:0}})}}function d(t,e,n){const{borderElCls:r}=n,i=r?`> ${r}`:"";return{[`&-item:not(${e}-first-item):not(${e}-last-item) ${i}`]:{borderRadius:0},[`&-item:not(${e}-last-item)${e}-first-item`]:{[`& ${i}, &${t}-sm ${i}, &${t}-lg ${i}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&-item:not(${e}-first-item)${e}-last-item`]:{[`& ${i}, &${t}-sm ${i}, &${t}-lg ${i}`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}}t({c:function(t){const e=Symbol("contextKey");return{useProvide:(t,r)=>{const d=i({});return s(e,d),o((()=>{n(d,t,r||{})})),d},useInject:()=>r(e,t)||{}}},g:function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{focus:!0};const{componentCls:i}=t,o=`${i}-compact`;return{[o]:n(n({},e(t,o,r)),d(i,o,r))}}})}}}));
