Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}}),require(`../../chunk-Bmb41Sf3.cjs`);const e=require(`../../common/utils/index.cjs`),t=require(`../../_plugin-vue_export-helper-D8jCH6HB.cjs`),n=require(`../../localization/index.cjs`),r=require(`./breadcrumbs-constants.cjs`),i=require(`./breadcrumb-item.cjs`);let a=require(`vue`);var o={compatConfig:{MODE:3},name:`DtBreadcrumbs`,components:{DtBreadcrumbItem:i.default},props:{breadcrumbs:{type:Array,default:()=>[],validate(e){return e.every(({href:e,label:t})=>e!==void 0&&t!==void 0)}},inverted:{type:Boolean,default:!1},ariaLabel:{type:String,default:``}},data(){return{BREADCRUMBS_INVERTED_MODIFIER:r.BREADCRUMBS_INVERTED_MODIFIER,i18n:new n.DialtoneLocalization}},methods:{getBreadcrumbItemKey(t){return`breadcrumbs-item-${t}-${e.default.getUniqueString()}`}}},s=[`aria-label`];function c(e,t,n,r,i,o){let c=(0,a.resolveComponent)(`dt-breadcrumb-item`);return(0,a.openBlock)(),(0,a.createElementBlock)(`nav`,{"aria-label":n.ariaLabel||i.i18n.$t(`DIALTONE_BREADCRUMBS_ARIA_LABEL`),"data-qa":`dt-breadcrumbs`,class:(0,a.normalizeClass)([`d-breadcrumbs`,{[i.BREADCRUMBS_INVERTED_MODIFIER]:n.inverted}])},[(0,a.createElementVNode)(`ol`,null,[(0,a.renderSlot)(e.$slots,`default`,{},()=>[((0,a.openBlock)(!0),(0,a.createElementBlock)(a.Fragment,null,(0,a.renderList)(n.breadcrumbs,(e,t)=>((0,a.openBlock)(),(0,a.createBlock)(c,(0,a.mergeProps)({key:o.getBreadcrumbItemKey(t),inverted:n.inverted},{ref_for:!0},e),null,16,[`inverted`]))),128))])])],10,s)}var l=t.t(o,[[`render`,c]]);exports.default=l;
//# sourceMappingURL=breadcrumbs.cjs.map