import{Ka as d,Mc as b,gc as g,hc as h,ia as l,ma as u,rb as c,va as p,xb as m,yb as f}from"./chunk-N3UOAVVW.js";import{a}from"./chunk-TWZW5B45.js";var v=["*"],r=class{constructor(t){this.options=t}};function C(e){return e.toLowerCase().replace(/(?:^\w|[A-Z]|\b\w)/g,t=>t.toUpperCase()).replace(/[-_]/g,"")}var D=(()=>{class e{constructor(n,o,i){this.elem=n,this.changeDetector=o,this.options=i}ngOnChanges(n){let i=Object.assign({},...this.options.map(s=>s.icons))[`Icon${C(n.name.currentValue)}`]??"";!i&&!this.options.some(s=>s.ignoreWarnings)&&console.warn(`Tabler Icon not found: ${n.name.currentValue}
Refer to documentation on https://github.com/pierreavn/angular-tabler-icons`),this.elem.nativeElement.innerHTML=i,this.changeDetector.markForCheck()}}return e.\u0275fac=function(n){return new(n||e)(c(d),c(b),c(r))},e.\u0275cmp=m({type:e,selectors:[["i-tabler"],["tabler-icon"]],inputs:{name:"name"},standalone:!1,features:[p],ngContentSelectors:v,decls:1,vars:0,template:function(n,o){n&1&&(g(),h(0))},styles:["[_nghost-%COMP%]{display:inline-block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}"]}),e})(),x=(()=>{class e{constructor(n){if(this.options=n,!this.options)throw new Error(`No icon provided. Make sure to use 'TablerIconsModule.pick({ ... })' when importing the module
Refer to documentation on https://github.com/pierreavn/angular-tabler-icons`)}static pick(n,o){return{ngModule:e,providers:[{provide:r,useValue:a({icons:n},o),multi:!0}]}}}return e.\u0275fac=function(n){return new(n||e)(u(r,8))},e.\u0275mod=f({type:e}),e.\u0275inj=l({}),e})();export{D as a,x as b};
