import{REDOCLY_ROUTE_RBAC as i,REDOCLY_TEAMS_RBAC as h}from"@redocly/config";import{SEARCH_DOCUMENT_METADATA_KEY as r}from"../../../constants/plugins/search.js";class R{title;url;path;facets;text="";id;[h];[i];tags=[];[r];constructor(o,s,E,t,a,e){this.title=o,this.url=s,this.path=E,this.facets=t,this.id=s,this[h]=a,this[i]=e,Object.keys(t).forEach(c=>{this.tags=[...this.tags,t[c]]}),this[r]={}}}export{R as MdSearchDocument};
