/* * Portal web app on the page: service worker registration, new-release check of an open app, the install * invitation (5 looks) with a guide for every device, notification opt-in, app badge, offline reading and counters. * Plain JS for every template (no Alpine or build step); settings come from