text: lhcAppControllers.controller("StartChatFormCtrl",["$scope","$http","$location","$rootScope","$log",function(e,t,i,l,d){this.startchatfields=[],this.size=6,this.fieldtype="text",this.visibility="all",this.showcondition="always";var n=this;this.move=function(e,t){index=n.startchatfields.indexOf(e),newIndex=index+t,newIndex>-1&&newIndex<n.startchatfields.length&&(removedElement=n.startchatfields.splice(index,1)[0],n.startchatfields.splice(newIndex,0,removedElement))},this.addField=function(){n.startchatfields.push({fieldname:n.fieldname,defaultvalue:n.defaultvalue,fieldtype:n.fieldtype,visibility:n.visibility,fieldidentifier:n.fieldidentifier,size:n.size,isrequired:n.isrequired,hide_prefilled:n.hide_prefilled,options:n.options,showcondition:n.showcondition})},this.deleteField=function(e){n.startchatfields.splice(n.startchatfields.indexOf(e),1)},this.moveLeftField=function(e){n.move(e,-1)},this.moveRightField=function(e){n.move(e,1)}}]),lhcAppControllers.controller("StartChatFormURLCtrl",["$scope","$http","$location","$rootScope","$log",function(e,t,i,l,d){this.startchatfields=[];var n=this;this.move=function(e,t){index=n.startchatfields.indexOf(e),newIndex=index+t,newIndex>-1&&newIndex<n.startchatfields.length&&(removedElement=n.startchatfields.splice(index,1)[0],n.startchatfields.splice(newIndex,0,removedElement))},this.addField=function(){n.startchatfields.push({fieldname:n.fieldname,fieldidentifier:n.fieldidentifier})},this.deleteField=function(e){n.startchatfields.splice(n.startchatfields.indexOf(e),1)},this.moveLeftField=function(e){n.move(e,-1)},this.moveRightField=function(e){n.move(e,1)}}]);
  //# sourceMappingURL=9cc4f016bd92e4adb4c915e7e8d8e092.js.map
  