import{b as v,g as D,j as w,n as y,z as F}from"./chunk-MTR2L2TG.js";import{j as I}from"./chunk-YJYOGSOO.js";import{Bc as d,Hb as p,Ic as b,Jc as g,Sb as r,Tb as m,Ub as C,Xc as x,hb as i,ob as u,pa as a,qa as c,tb as l,vc as f,wc as h}from"./chunk-FWZCAEAJ.js";var U=(()=>{let t=class t{set continuesCreation(e){this.formControl.setValue(e)}constructor(){this.formControl=new w(!1),this.continuesCreationChange=new u,this.text="CONTINUOUS_CREATION",this.subscription=this.formControl.valueChanges.subscribe(e=>{this.continuesCreationChange.next(e===null?!1:e)})}ngOnDestroy(){this.subscription?.unsubscribe(),this.subscription=void 0}};t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=c({type:t,selectors:[["app-continues-creation-switch"]],inputs:{continuesCreation:[a.HasDecoratorInputTransform,"continuesCreation","continuesCreation",x],text:"text"},outputs:{continuesCreationChange:"continuesCreationChange"},standalone:!0,features:[l,d],decls:5,vars:4,consts:[[1,"form-check","form-switch","mb-0"],["type","checkbox","role","switch","id","continuousCreation",1,"form-check-input",3,"formControl"],["for","continuousCreation",1,"form-check-label","text-nowrap"]],template:function(n,s){n&1&&(r(0,"div",0),C(1,"input",1),r(2,"label",2),f(3),b(4,"tr"),m()()),n&2&&(i(),p("formControl",s.formControl),i(2),h(g(4,2,s.text)))},dependencies:[F,v,D,y,I],encapsulation:2,changeDetection:0});let o=t;return o})();export{U as a};
