import{Ga as o,Ja as l,Na as c,sa as s}from"./chunk-4JM6MIZ5.js";import{i as n}from"./chunk-QJQRWPYR.js";var u=(()=>{let e=class e{renderer;hostElement;pluginSelectorId;constructor(i,r){this.renderer=i,this.hostElement=r}ngOnInit(){if(!this.pluginSelectorId)return;if(this.hostElement.nativeElement.getAttribute("id"))throw new Error("Cannot set id on element that already has an id");this.renderer.setAttribute(this.hostElement.nativeElement,"id",`plugin-selector-${this.pluginSelectorId}`)}};n(e,"\u0275fac",function(r){return new(r||e)(o(l),o(s))}),n(e,"\u0275dir",c({type:e,selectors:[["","myPluginSelector",""]],inputs:{pluginSelectorId:"pluginSelectorId"}}));let t=e;return t})();export{u as a};
/**i18n:68865f44f2a527c44cf5136a17c76a0ff8308c2bae5c7c8d50070a5fb9847c44*/
//# sourceMappingURL=chunk-KHOKCASW.js.map
