import{h}from"@stencil/core";export const RepositorySelection=({repository:o,defaultToggleButtonName:e,location:t})=>{var i;return h("div",{class:o?"repository-selection active-repository":"repository-selection no-selected-repository","data-test":"repository-selection"},o&&h("i",{class:"button-icon icon-1-5x icon-repo-"+o.type})," ",null!==(i=null==o?void 0:o.id)&&void 0!==i?i:e,t)};