const e=require("../_util/type.js"),t=require("../_util/props-util/index.js"),n=require("../config-provider/hooks/useConfigInject.js"),r=require("../_util/vue-types/index.js"),i=require("../dropdown/dropdown.js");let a=require("vue"),o=require("@antsoo-lib/icons");var s=()=>({prefixCls:String,href:String,separator:r.default.any,dropdownProps:e.objectType(),overlay:r.default.any,onClick:e.eventType()}),c=(0,a.defineComponent)({compatConfig:{MODE:3},name:`ABreadcrumbItem`,inheritAttrs:!1,__ANT_BREADCRUMB_ITEM:!0,props:s(),slots:Object,setup(e,{slots:r,attrs:s,emit:c}){let{prefixCls:l}=n.default(`breadcrumb`,e),u=(n,s)=>{let c=t.getPropsSlot(r,e,`overlay`);return c?(0,a.createVNode)(i.default,{...e.dropdownProps,overlay:c,placement:`bottom`},{default:()=>[(0,a.createVNode)(`span`,{class:`${s}-overlay-link`},[n,(0,a.createVNode)(o.DownOutlined,null,null)])]}):n},d=e=>{c(`click`,e)};return()=>{let n=t.getPropsSlot(r,e,`separator`)??`/`,i=t.getPropsSlot(r,e),{class:o,style:c,...f}=s,p;return p=e.href===void 0?(0,a.createVNode)(`span`,{class:`${l.value}-link`,onClick:d,...f},[i]):(0,a.createVNode)(`a`,{class:`${l.value}-link`,onClick:d,...f},[i]),p=u(p,l.value),i==null?null:(0,a.createVNode)(`li`,{class:o,style:c},[p,n&&(0,a.createVNode)(`span`,{class:`${l.value}-separator`},[n])])}}});exports.breadcrumbItemProps=s,exports.default=c;