import{Ja as g,N as Bn,_s as ph,gn as Kr,io as hn}from"./chunk-b0nJCs5_.js";var c=class n{renderer=g(Kr);hostElement=g(Bn);pluginSelectorId=ph(void 0);ngOnInit(){let e=this.pluginSelectorId();if(!e)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-${e}`)}static ɵfac=function(i){return new(i||n)};static ɵdir=hn({type:n,selectors:[[``,`myPluginSelector`,``]],inputs:{pluginSelectorId:[1,`pluginSelectorId`]}})};export{c as t};
//# debugId=abbfb212-2b1a-549d-a0dc-6457515ea02d
//# sourceMappingURL=chunk-D1ftwTOw.js.map