/* ========================================================================== helpers.ts -------------------------------------------------------------------------- Pure functions. No store, no fetching, no React. Replaces the source's moment.js usage and its Redux-coupled gating predicates (which took a `referral` plus the logged-in `user` and compared creator ids); the owner/applied questions are now answered by the caller through the `viewer` prop. Loaded as a plain