resolvedsegment.js