1uvDOMReady(function() 2{ 3 var uvformwfc = document.getElementById('uv-resformwfc'); 4 var pristinePristine = new Pristine(uvformwfc); 5 6 uvformwfc.addEventListener('submit', function(e) 7 { 8 e.preventDefault(); 9 document.querySelector('.uvcaptcha').style.display = "none"; 10 if(pristinePristine.validate() && grecaptcha.getResponse() != "") 11 { 12 uvformwfc.classList.add("sending"); 13 14 let fullname = document.getElementById('btffirstname').value+' '+document.getElementById('btflastname').value; 15 document.getElementById('btffullname').value = fullname; 16 document.getElementById('btfsubject').value = fullname; 17 18 var request = new XMLHttpRequest(); 19 var formData=new FormData(uvformwfc); 20 21 var uvaction = "uvpx_loadbefirstpro"; 22 if(uvformwfc.attributes['data-proxy']) 23 { 24 uvaction = uvformwfc.attributes['data-proxy'].value; 25 } 26 27 request.open('POST', '/wp-admin/admin-ajax.php?action='+uvaction); 28 request.send(formData); 29 request.onerror = function(){alert("There was a connection error of some sort");}; 30 request.onload = function() 31 { 32 if(this.response=="0") 33 { 34 uvformwfc.classList.remove("sending"); 35 alert("There was a connection error of some sort"); 36 } 37 else 38 { 39 btflastname = document.getElementById('btflastname').value; 40 if(btflastname!="Feedback") 41 window.top.location.href = this.response; 42 else 43 document.querySelector('.uvform-msg').innerHTML = "<span>Thank you for your feedback</span>"; 44 } 45 }; 46 } 47 else 48 { 49 console.log("No validate"); 50 uvPristineAriadescribedby(uvformwfc); 51 if(grecaptcha.getResponse() == "") 52 { 53 document.querySelector('.uvcaptcha').style.display = "block"; 54 } 55 } 56 }); 57 58 59 var uvreservevipexp = document.querySelector('#uvreservevipexp a'); 60 if (typeof(uvreservevipexp) != 'undefined' && uvreservevipexp != null) 61 { 62 document.querySelector('#uvreservevipexp a').addEventListener('click', function(e) 63 { 64 65 66 var uvreservationform = "<div class='uv-pop-header' id='uv-pop-header'><div class='uvtitle' id='uvtitle'><a href='javascript:void(0)' class='uvtitle_a uv-afocus'>Reserve Vip Experience</a></div></div>"; 67 uvreservationform += "<div class='uv-wfc-formbox uv-pop-body'><form class='uvform' action='/wp-admin/admin-ajax.php?action=uvpx_loadbefirstpro' id='uv-resformwfc-popup'><fieldset><legend class='uv-hide'>Urvenue form reservation</legend>
67<input type='hidden' name='urvenuecode' value='408878836.YcPN1QG'><input type='hidden' name='papaid' value='408884593'><input type='hidden' name='templateid' value='11012'><input type='hidden' name='famid' value='11085'><input type='hidden' name='varnames[]' value='VV11085V11012VV0V8V1V1'><input type='hidden' name='varnames[]' value='VV11085V11012VV0V27V1V1'><input type='hidden' name='varnames[]' value='VV11085V11012VV0V7V1V1'><input type='hidden' name='varnames[]' value='VV11085V11012VV0V9V1V1'><input type='hidden' name='varnames[]' value='VV11085V11012VV0V18V1V1'><input type='hidden' name='VV11085V11012VV0V8V1V1' value='New Lead' id='btfsubjectpopup' ><input type='hidden' name='VV11085V11012VV0V27V1V1' value='' id='btffullnamepopup' ><div class='uv-wfc-inputcont form-group'><label for='btffirstnamepopup' >FIRST NAME *</label><input id='btffirstnamepopup' name='firsname' type='text' velue='' aria-describedby='error_firsname' autocomplete='given-name' required></div><div class='uv-wfc-inputcont form-group'><label for='btflastnamepopup' >LAST NAME *</label><input id='btflastnamepopup' name='lastname' type='text' velue='' aria-describedby='error_lastname' autocomplete='family-name' required></div><div class='uv-wfc-inputcont form-group'><label for='VV11085V11012VV0V7V1V1' >EMAIL *</label><input name='VV11085V11012VV0V7V1V1' id='VV11085V11012VV0V7V1V1' type='email' velue='' aria-describedby='error_email' autocomplete='email' required></div><div class='uv-wfc-inputcont form-group'><label for='VV11085V11012VV0V18V1V1' >PHONE*</label><input name='VV11085V11012VV0V18V1V1' id='VV11085V11012VV0V18V1V1' type='tel' velue='' aria-describedby='error_phone' autocomplete='phone' required></div><div class='uv-wfc-inputcont form-group'><label for='btfguestspopup' ># GUESTS </label><input id='btfguestspopup' name='guests' type='number' velue='' min='1' max='100' style='max-width: 150px' aria-describedby='error_guests' required></div><div class='uv-wfc-inputcont form-group'><label for='btfextrainfopopup' >NOTES</label><textarea id='btfextrainfopopup' name='VV11085V11012VV0V9V1V1'></textarea></div><div class='uv-pt20 pb10 uv-h80' style='margin-bottom: 20px;'><div class='g-recaptcha' id='g-recaptcha2' data-sitekey='6LcQXiUTAAAAAEUmZoLIkyS9MkzhAOB9xNadupel'></div><label class='uvcaptcha' id='uvcaptcha2'>Captcha is required</label></div><button class='wp-block-button__link no-border-radius' type='submit'>Submit</button><p>By submitting this form, I agree by electronic signature to: (1) be contacted by SMS text at my mobile phone number and by email (Consent is not required as a condition of purchase); (2) <a href='https://www.wynnlasvegas.com/privacy-policy' target='_blank' class='uv-urlline'>Privacy Policy</a>; and (3) the <a href='http://www.wynnsocial.com/pages/terms' target='_blank' class='uv-urlline'>Terms of Use</a>. Text STOP to stop. Msg & Data Rates May Apply.</p><div class='uvform-msg'><span>SENDING...</span><div class='successbox'><i class='check'></i></div></div></fieldset></form>"; 68 uvClearPopup(uv_pop_up, uvreservationform); 69 uvFadePopup(uv_pop_up); 70 71 let captchaPopupId = grecaptcha.render('g-recaptcha2', { 72 sitekey: '6LcQXiUTAAAAAEUmZoLIkyS9MkzhAOB9xNadupel' 73 }); 74 document.querySelector("#uvcaptcha2").style.display="none"; 75 var uvformwfcpopup = document.getElementById('uv-resformwfc-popup'); 76 var pristinePristinepopup = new Pristine(uvformwfcpopup); 77 uvformwfcpopup.addEventListener('submit', function(e) 78 { 79 e.preventDefault(); 80 if(pristinePristinepopup.validate() && grecaptcha.getResponse(captchaPopupId) != "") 81 { 82 uvformwfcpopup.classList.add("sending"); 83 let fullname = document.getElementById('btffirstnamepopup').value+' '+document.getElementById('btflastnamepopup').value; 84 document.getElementById('btffullnamepopup').value = fullname; 85 document.getElementById('btfsubjectpopup').value = fullname; 86 87 let uvaditionalinfo = document.getElementById("btfextrainfopopup").value; 88 uvaditionalinfo = uvaditionalinfo + " --- Guests: " + document.getElementById("btfguestspopup").value; 89 document.getElementById("btfextrainfopopup").value = uvaditionalinfo; 90 91 var request = new XMLHttpRequest(); 92 var formData=new FormData(uvformwfcpopup); 93 request.open('POST', '/wp-admin/admin-ajax.php?action=uvpx_loadbefirstpro'); 94 request.send(formData); 95 request.onerror = function() 96 { 97 alert('There was a connection error of some sort'); 98 }; 99 request.onload = function() 100 { 101 if(this.response=='0') 102 { 103 uvformwfcpopup.classList.remove('sending'); 104 alert('There was a connection error of some sort'); 105 } 106 else 107 { 108 console.log("response = "+this.response); 109 window.top.location.href = this.response; 110 } 111 }; 112 } 113 else 114 { 115 console.log('no validate'); 116 uvPristineAriadescribedby(uvformwfcpopup); 117 if(grecaptcha.getResponse(captchaPopupId) == "") 118 { 119 document.querySelector("#uvcaptcha2").style.display="block"; 120 } 121 } 122 }); 123 }); 124 } 125});
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.