import{Ea as o,Ha as c,da as s,va as l}from"./chunk-QXV2GR6R.js";import{i as t}from"./chunk-JJ4RDTEF.js";var a=(()=>{let e=class e{constructor(r,n){t(this,"renderer");t(this,"hostElement");t(this,"pluginSelectorId");this.renderer=r,this.hostElement=n}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}`)}};t(e,"\u0275fac",function(n){return new(n||e)(o(c),o(l))}),t(e,"\u0275dir",s({type:e,selectors:[["","myPluginSelector",""]],inputs:{pluginSelectorId:"pluginSelectorId"},standalone:!0}));let i=e;return i})();export{a};
/**i18n:224bcada6943fe8b17ea60808c2d370cec9507c3bd670ebe71692d099a3befa1*/
//# sourceMappingURL=chunk-HYCVYHIF.js.map
