(()=>{function e(n,t,r){var u;return{getUnitHeaders:function(){return n.resolve(u||(()=>{var e=n.resolve();return e=r.isActivatedFor("units-conversion")?t.get("unit").then(function(e){return u=e}):e})()).then(function(e){return e?{"X-Cumulocity-System-Of-Units":e}:{}})}}}e.$inject=["$q","c8yUserPreferences","c8yBeta"],angular.module("c8y.core").factory("c8yMeasurementUnits",e)})();