A panoptic model for planetesimal formation and pebble delivery