1importScripts('https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js'); 2importScripts('https://www.gstatic.com/firebasejs/8.10.0/firebase-messaging.js'); 3 4firebase.initializeApp({ 5 apiKey: "AIzaSyCwqXe7pVm0S2Yw2b38wmtr80i90d1q4i8", 6 authDomain: "urent-242005.firebaseapp.com", 7 projectId: "urent-242005", 8 storageBucket: "urent-242005.appspot.com", 9 messagingSenderId: "866007792401", 10 appId: "1:866007792401:web:9432e24c45e73f949faab0", 11 measurementId: "G-G-2VJPZGG6F3" 12}); 13 14const messaging = firebase.messaging(); 15 16// [END background_handler] 17 18messaging.onBackgroundMessage((payload) => { 19 const {title, body} = payload.notification; 20 21 const notificationTitle = title; 22 const notificationOptions = { 23 body: body, 24 icon: '/assets/header/logo-blue.svg' 25 }; 26 27 return self.registration.showNotification(notificationTitle, 28 notificationOptions); 29}); 30 31
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.