1//Sitewide ADA by Userway -start- 2(function(d){ 3 var s = d.createElement("script"); 4 s.setAttribute("data-position", 3); 5 s.setAttribute("data-size", "large"); /* Size options (values: small, large)*/ 6 s.setAttribute("data-color", "#781300"); 7 s.setAttribute("data-type", "1"); /* Widget icon options (1=person, 2=chair, 3=eye, 4=text)*/ 8 s.setAttribute("data-mobile", true); 9 s.setAttribute("data-account", "0WmHMN2i2k"); 10 s.setAttribute("src", "https://cdn.userway.org/widget.js"); 11 (d.body || d.head).appendChild(s); 12})(document); 13//Sitewide ADA by Userway -end- 14 15//Weddings sitewide announcement banner 16$('.block_bc5c9004e51f42b5ac2c4386f5bc014e').appendTo('.headerAndNavContainer'); 17 18//Enable/disable wedding livestream -start- 19window.onload = function initStream() { 20 if(livestreamURL > -1) { 21 var titleWDate = document.getElementsByClassName('contentTitle')[0].innerText; 22 var wDate = titleWDate.match(/(\d+)/); 23 var dateResult = wDate[0]; 24 var streamDate = new Date(); 25 var msToStart = new Date( 26 streamDate.getFullYear(), 27 streamDate.getMonth(), 28 dateResult, 29 15, 0, 0, 0) - streamDate; 30 var msToEnd = new Date( 31 streamDate.getFullYear(), 32 streamDate.getMonth(), 33 dateResult, 34 22, 30, 0, 0) - streamDate; 35 36 setTimeout(function(){disableStream();}, msToEnd); 37 setTimeout(function(){enableStream();}, msToStart); 38 } 39}; 40 41function disableStream() { 42 if(livestreamURL > -1) { 43 const iFrame1Arr = ['iFrame1a', 'iFrame1b', 'iFrame1c']; 44 const display1Arr = ['display-option1a', 'display-option1b', 'display-option1c']; 45 const display2Arr = ['display-option2a', 'display-option2b', 'display-option2c']; 46 iFrame1Arr.forEach(function(element) {if(document.getElementById(element) !== null) {document.getElementById(element).src = '';}}); 47 display1Arr.forEach(function(element) {if(document.getElementById(element) !== null) {document.getElementById(element).style.display = 'none';}}); 48 display2Arr.forEach(function(element) {if(document.getElementById(element) !== null) {document.getElementById(element).style.display = 'block';}}); 49 } 50} 51 52function enableStream() { 53 if(livestreamURL > -1) { 54 const display1Arr = ['display-option1a', 'display-option1b', 'display-option1c']; 55 const display2Arr = ['display-option2a', 'display-option2b', 'display-option2c']; 56 display2Arr.forEach(function(element) {if(document.getElementById(element) !== null) {document.getElementById(element).style.display = 'none';}}); 57 display1Arr.forEach(function(element) {if(document.getElementById(element) !== null) {document.getElementById(element).style.display = 'block';}}); 58 } 59} 60//Enable & disable wedding livestream -end- 61 62//Google Analytics for exit link 63var captureOutboundLink = function(url) { 64 ga('send', 'event', 'outbound', 'click', url, { 65 'transport': 'beacon', 66 'hitCallback': function(){document.location = url;} 67 }); 68};
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.