1!function(e){Drupal.behaviors.a2aPushNotificationsRegisterServiceWorker={attach:function(o,n){!function(){"use strict";var o,r=n.pushNotificationsAnalyticsId;function t(e){const o=(e+"=".repeat((4-e.length%4)%4)).replace(/\-/g,"+").replace(/_/g,"/"),n=window.atob(o);return Uint8Array.from([...n].map(e=>e.charCodeAt(0)))}"serviceWorker"in navigator&&window.addEventListener("load",function(){o=navigator.serviceWorker.register("/casa/service-worker.js?gaId="+r+"&v=3").then(function(r){return console.log(r),r.update(),console.log(navigator.serviceWorker),console.log("Service worker successfully registered."),new Promise(function(e,o){const n=Notification.requestPermission(function(o){e(o)});n&&n.then(e,o)}).then(function(r){if("granted"!==r)throw new Error("We weren't granted permission.");o.then(function(e){const o={userVisibleOnly:!0,applicationServerKey:t("BFN_8Jjgkxq7sBZAN9d7x1ECzAyQNrX0ueIliDm--DQmuQJPaqP_3a1ZZGog_SgjiHXrkmzsHf4hca_MVEm5PE8")};return e.pushManager.subscribe(o)}).then(function(o){return function(o){console.log(n.pushNotificationsSubscriberRestPath);var r=JSON.parse(JSON.stringify(o));console.log(r);var t={};t.endpoint=r.endpoint,t.p256dh=r.keys.p256dh,t.auth=r.keys.auth,e.ajax({url:n.pushNotificationsSubscriberRestPath,method:"POST",data:JSON.stringify(t),headers:{Accept:"application/json","Content-Type":"application/json"},success:function(e,o,n){console.log("Sottoscrizione memorizzata correttamente.")},error:function(e,o,n){console.log("E' avvenuto un errore. Stato della chiamata: "+o),console.log(e),console.log(n)}})}(o),console.log("Received PushSubscription: ",JSON.stringify(o)),o})}),r}).catch(function(e){console.log("BBBBB"),console.error("Unable to register service worker.",e)})}),"serviceWorker"in navigator&&window}()}}}(jQuery);
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.