angular.module("app").controller("SaveConflictModalController",["$modalScope","conflicts",function(e,o){e.takeFromRemote=[],e.isStatic=!1,e.conflicts=o,e.toggleFromRemote=function(o){var t=e.takeFromRemote.indexOf(o);t<0?e.takeFromRemote.push(o):e.takeFromRemote.splice(t,1)},e.takeMine=function(o){var t=e.takeFromRemote.indexOf(o.drop);t>=0&&e.takeFromRemote.splice(t,1)},e.takeTheirs=function(o){e.takeFromRemote.indexOf(o.drop)<0&&e.takeFromRemote.push(o.drop)},e.useFromRemote=function(o){return e.takeFromRemote.indexOf(o)>=0}}]);