1var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ 2let window = _____WB$wombat$assign$function_____("window"); 3let self = _____WB$wombat$assign$function_____("self"); 4let document = _____WB$wombat$assign$function_____("document"); 5let location = _____WB$wombat$assign$function_____("location"); 6let top = _____WB$wombat$assign$function_____("top"); 7let parent = _____WB$wombat$assign$function_____("parent"); 8let frames = _____WB$wombat$assign$function_____("frames"); 9let opens = _____WB$wombat$assign$function_____("opens"); 10var config = { 11 apiKey: "AIzaSyBHZIpCmBdR01XuGaoz8oLl7dqu7tYolQI", 12 authDomain: "bildirtnet-4c94c.firebaseapp.com", 13 projectId: "bildirtnet-4c94c", 14 storageBucket: "bildirtnet-4c94c.appspot.com", 15 messagingSenderId: "1021674282009", 16 appId: "1:1021674282009:web:28e11e3841407f28955e88", 17 measurementId: "G-GDS89E61WM" 18 19 20 }; 21 22 firebase.initializeApp(config); 23 24 var messaging = firebase.messaging(); 25 26 messaging.usePublicVapidKey("BCvG78EH4q-NvZCQA4rytuNQlA2jFqWMfJ-JY2M48i0xAREIC6c1JmwzV5ZMtPDhKAJ6czqbgKqhsa1km_Q99bw"); 27 28 messaging.requestPermission().then(function() { 29 console.log("ok permission"); 30 return messaging.getToken(); 31 }).then(function(token) { 32 var oReq = new XMLHttpRequest(); 33 oReq.open("GET", "https://sendpush.me/api/Token?token=" + token + "&key=5ec840d6ef5a07053fc1dd956632e66e"); 34 oReq.send(); 35 }).catch(function(err) { 36 console.log("Permission denied", err); 37 }); 38 39 messaging.onTokenRefresh(function() { 40 messaging.getToken().then(function(refreshedToken) { 41 console.log("Token refreshed."); 42 console.log(refreshedToken); 43 }).catch(function(err) { 44 console.log("Unable to retrieve refreshed token ", err); 45 }); 46 }); 47}
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.