1const DEBUG=!0,serviceWorkerVer="/sw.js?v=1.1.6";var url=window.location.origin,fullUrl=url+serviceWorkerVer;function registrationServiceWorker(e){e.register(serviceWorkerVer).then(e=>{DEBUG&&console.log(`[SW] ÐаÑегиÑÑÑиÑован service worker Ð´Ð»Ñ Ð°Ð´ÑеÑа (scope): ${e.scope}`)}).catch(e=>{DEBUG&&console.log(`[SW] ÐÑи ÑегиÑÑÑаÑии service worker пÑоизоÑла оÑибка: ${e}`)})}function removeServiceWorker(e){e.getRegistrations().then(function(e){for(var r of e)r.unregister(),DEBUG&&console.log("[SW] ÐÑедÑдÑÑÐ°Ñ Ð²ÐµÑÑÐ¸Ñ service worker бÑла ÑÑпеÑно Ñдалена"),DEBUG&&console.log("[SW] ! ÐÐ»Ñ ÑÑÑановки новой веÑÑии пеÑезагÑÑзиÑе ÑÑÑаниÑÑ")})}function removeCache(e){caches.delete(e).then(function(r){DEBUG&&console.log("[SW] ÐÑÑ "+e+" оÑиÑен")})}"serviceWorker"in navigator&&window.addEventListener("load",()=>{null!==navigator.serviceWorker.controller&&(DEBUG&&console.log("[SW] ТекÑÑÐ°Ñ Ð²ÐµÑÑÐ¸Ñ Ð² бÑаÑзеÑе "+navigator.serviceWorker.controller.scriptURL),DEBUG&&console.log("[SW] ÐÐ¾Ð²Ð°Ñ Ð²ÐµÑÑÐ¸Ñ "+fullUrl)),null===navigator.serviceWorker.controller?registrationServiceWorker(navigator.serviceWorker):navigator.serviceWorker.controller.scriptURL!==fullUrl?(removeServiceWorker(navigator.serviceWorker),removeCache("workbox-precache-v2-"+url+"/"),removeCache("workbox-precache-"+url+"/"),removeCache("workbox-precache-"+url+"/-temp"),removeCache("workbox-precache"),removeCache("images"),removeCache("main"),removeCache("other")):DEBUG&&console.log("[SW] ÐкÑивнÑй service worker поÑледней веÑÑии найден, повÑоÑно не ÑегиÑÑÑиÑÑем")});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.