define(["log","ptp.js/ptp"],function(e,t){"use strict";var n,r;r=function(e){return"EV"+(e>=0?"+":"")+(e/1e3).toFixed(e%1e3===0?0:1)},n=function(){var n;n=document.querySelector("section.set-device-property select").value,e.append("Setting exposure to "+r(n)+"…"),t.setDeviceProperty({code:t.devicePropCodes.exposureBiasCompensation,data:t.dataFactory.createWord(n),onSuccess:function(){e.append("Exposure set")},onFailure:function(){e.appendError("Setting exposure failed")}})},document.querySelector("section.set-device-property button").onclick=n});