!function(t,e,o){var c,u,i=e.getElementById("loco-fs"),a=e.getElementById("loco-move"),l=a.path.value;function d(n){o(a).find("button.button-primary").each(function(t,e){e.disabled=n})}i&&a&&(c=t.loco.fs.init(i).setForm(a).listen(function(t){d(!(t&&u))}),o(a).change(function(t){var e,n=t.target||{};"dest"!==n.name||!n.checked&&"text"!==n.type||(e=n.value)&&e!==u&&(u=e,d(!0),l!==e&&(i.dest.value=e,c.connect()))}).submit(function(t){return!!u||(t.preventDefault(),!1)}))}(window,document,jQuery);