1importScripts('https://www.gstatic.com/firebasejs/10.8.1/firebase-app-compat.js'); 2importScripts('https://www.gstatic.com/firebasejs/10.8.1/firebase-messaging-compat.js'); 3 4firebase.initializeApp({ 5 /*apiKey: "AIzaSyAUTuu5O577vWjFsc6m_mqMnp1rtPjhc3U", 6 authDomain: "nikachoob-88607.firebaseapp.com", 7 projectId: "nikachoob-88607", 8 storageBucket: "nikachoob-88607.firebasestorage.app", 9 messagingSenderId: "973954887738", 10 appId: "1:973954887738:web:fc44b5ee38e150bf4a4503", 11 vapidKey: "BGwIKi9-cnmlF7BEpOguE-aCuGE9oIUGAOIYDFabcrgN1IEdKqZCqGIq"*/ 12 apiKey: "AIzaSyAUTuu5O577vWjFsc6m_mqMnp1rtPjhc3U", 13 authDomain: "nikachoob-88607.firebaseapp.com", 14 projectId: "nikachoob-88607", 15 storageBucket: "nikachoob-88607.firebasestorage.app", 16 messagingSenderId: "973954887738", 17 appId: "1:973954887738:web:fc44b5ee38e150bf4a4503", 18 measurementId: "G-9TDXC812HC" 19}); 20 21const messaging = firebase.messaging(); 22 23messaging.onBackgroundMessage(function(payload) { 24 console.log('[firebase-messaging-sw.js] Received background message ', payload); 25 26 const notificationTitle = payload.notification.title; 27 const notificationOptions = { 28 body: payload.notification.body, 29 icon: '/icon.png' 30 }; 31 32 self.registration.showNotification(notificationTitle, notificationOptions); 33});
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.