text: "use strict";function demo(t){let e=t.closest(".demo__item").find('input[type="number"]'),o=t.data("controller")._model;function r(t,e){t.prop("value",e),t.attr("value",e)}e.on("input",i=>{let[n,l]=[e.eq(0).prop("value"),e.eq(1).prop("value")];o.ghost&&l&&r(o.ghost,l),n&&r(t,n),o.followProperty(),o.updateProperty()}),t.add(o.ghost?o.ghost:"").on("input",t=>{1===o.direction?(r(e.eq(0),o.valueLow.toString()),r(e.eq(1),o.valueHight.toString())):2===o.direction?r(e.eq(0),o.valueLow.toString()):r(e.eq(0),o.valueHight.toString())}),t.add(o.ghost?o.ghost:"").triggerHandler("input")}
  //# sourceMappingURL=demo.min.js.map