viewof d = {
const d = XYPad(store.x, store.y);
store.on(`x.d`, x => (d.x = x));
store.on(`y.d`, y => (d.y = y));
invalidation.then(() => store.on(`x.d`, null));
invalidation.then(() => store.on(`y.d`, null));
const updateX = () => store.call('x', this, d.x);
const updateY = () => store.call('y', this, d.y);
d.addEventListener("inputX", updateX);
d.addEventListener("inputY", updateY);
invalidation.then(() => d.removeEventListener("input", updateX));
invalidation.then(() => d.removeEventListener("input", updateY));
return d;
}