import{Da as o,Ga as c,da as s,ua as l}from"./chunk-X3RCWQ3R.js";import{i as t}from"./chunk-SR6RTMQI.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:3d16453f213eb5db982e7e7dd90631843ac5d3f860726a614777c3e9e3f9b57e*/
//# sourceMappingURL=chunk-QMQKTJ6D.js.map
