text: !function(){if(!window.location.search.match(/receiver/gi)){var e=io.connect(window.location.origin),n=Math.random().toString().slice(2);console.log("View slide notes at "+window.location.origin+"/notes/"+n),window.open(window.location.origin+"/notes/"+n,"notes-"+n),Reveal.addEventListener("fragmentshown",function(){var i={fragment:"next",socketId:n};e.emit("fragmentchanged",i)}),Reveal.addEventListener("fragmenthidden",function(){var i={fragment:"previous",socketId:n};e.emit("fragmentchanged",i)}),Reveal.addEventListener("slidechanged",function(i){var t,o,d=i.currentSlide;d.nextElementSibling&&"SECTION"==d.parentNode.nodeName?(t=i.indexh,o=i.indexv+1):(t=i.indexh+1,o=0);var a=d.querySelector("aside.notes"),r={notes:a?a.innerHTML:"",indexh:i.indexh,indexv:i.indexv,nextindexh:t,nextindexv:o,socketId:n,markdown:a?"string"==typeof a.getAttribute("data-markdown"):!1};e.emit("slidechanged",r)})}}();