(()=>{function n(n,e){var t,r,o=[],u=c;return e.has("ngZone")&&(r=e.get("ngZone"),u=function(){return r.runOutsideAngular(c)}),function(n){return{start:function(){o.push(n),u()},refresh:_.noop,cancel:function(){_.pull(o,n),!o.length&&t&&(clearInterval(t),t=void 0)}}};function c(){!t&&o.length&&(t=setInterval(function(){_.forEach(o,function(n){return n()}),n.$applyAsync()},1e3))}}n.$inject=["$rootScope","$injector"],angular.module("c8y.core.measurements2").factory("RTAutoMove",n)})();