import {MeasureUnit}from'@scandit/web-datacapture-core';function i(t){return {[MeasureUnit.Fraction]:2,[MeasureUnit.Pixel]:0}[t]}function n(t){return {value:t.value,unit:i(t.unit)}}export{i as a,n as b};