()
| 275 | }; |
| 276 | }, |
| 277 | getOffers() { |
| 278 | return OFFERS.map((offer) => ({ |
| 279 | ...offer, |
| 280 | durationLabel: formatDurationRange( |
| 281 | offer.minDurationMs || offer.durationMs, |
| 282 | offer.maxDurationMs || offer.durationMs, |
| 283 | ), |
| 284 | })); |
| 285 | }, |
| 286 | getRemainingMs() { |
| 287 | return Math.max(0, state.remainingMs || state.adFreeUntil - Date.now()); |
| 288 | }, |
nothing calls this directly
no test coverage detected