import{Aa as l,Da as m,De as d,S as u,ga as h,pa as p,xa as f}from"./chunk-SKPDQO4E.js";var g=function(a,e,r,n){var s=arguments.length,t=s<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,i;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(a,e,r,n);else for(var o=a.length-1;o>=0;o--)(i=a[o])&&(t=(s<3?i(t):s>3?i(e,r,t):i(e,r))||t);return s>3&&t&&Object.defineProperty(e,r,t),t},c=class{elementRef;renderer;propagateChange=e=>{};trueValue=!0;falseValue=!1;constructor(e,r){this.elementRef=e,this.renderer=r}onHostChange(e){this.propagateChange(e.target.checked?this.trueValue:this.falseValue)}writeValue(e){e===this.trueValue?this.renderer.setProperty(this.elementRef.nativeElement,"checked",!0):this.renderer.setProperty(this.elementRef.nativeElement,"checked",!1)}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){}setDisabledState(e){}static ctorParameters=()=>[{type:h},{type:p}];static propDecorators={trueValue:[{type:l}],falseValue:[{type:l}],onHostChange:[{type:m,args:["change",["$event"]]}]}};c=g([f({selector:"input[type=checkbox][customValue]",providers:[{provide:d,useExisting:u(()=>c),multi:!0}],standalone:!0})],c);export{c as a};
