1 2var timeout = 100; 3var closetimer = 0; 4var ddmenuitem = 0; 5var icodeInit = true; 6var icode = ""; 7var passwordMsg = ""; 8var trxUserRec; 9var custServLink = (panelSite == "MIN") ? "<a href='/IRXPhysPortalWeb/CustomerService'>Contact Customer Service.</a>" : 10 "<a href='/ASPhysPortal/CustomerService'>Contact Customer Service.</a>"; 11 12console.log("irxphys.js: panelSite=" + panelSite); 13 14 15function checkInviteCode(butName) { 16 icode = $('#invcode').val().toUpperCase().trim(); 17 $('#invErr1').hide(); 18 $('#invErr2').hide(); 19 if ((icode==INV_CODE_PROMPT) || (icode=="")) { 20 if (butName=="next") { 21 $('#invErr1').show(); 22 $("#invcode").focus(); 23 $('#codebut').html("SIGN IN"); 24 if (getMobileDevice.any()) $("#nocode").popup("open"); 25 } else if (butName=="reg") { 26 $("#regbut").hide(); 27 $("#codebut").hide(); 28 if (getMobileDevice.any()) 29 $(location).attr('href', "/IRXPhysPortalMobile?gotoreg=1"); 30 else 31 $(location).attr('href', "/IRXPhysPortal/Registration/Verification"); 32 } 33 } else if ((icode.length < 7) || (! /^[a-zA-Z][a-zA-Z][a-zA-Z][?:a-zA-Z0-9]?[0-9][0-9][0-9][0-9]$/.test(icode))) { 34 $('#invErr2').show(); 35 $("#invcode").val(""); 36 $("#invcode").focus(); 37 $('#codebut').html("SIGN IN"); 38 39 if (getMobileDevice.any()) { 40 RegistrationDAO.isRegcode(icode, function(retVal) { 41 $("#regCode").val(icode); 42 if (retVal) { // good reg code 43 if ($("#PERSON_TYPE_CODE option").size() == 1) { // not init 44 showLoading(); 45 RegistrationDAO.getPersonTypes( function(ptypes) { 46 dwr.util.addOptions("PERSON_TYPE_CODE", ptypes.personTypeNames); 47 $("#PERSON_TYPE_CODE").selectmenu("refresh"); 48 hideLoading(); 49 $("#popupRegCode").popup("open", ""); 50 }); 51 } else { 52 $("#popupRegCode").popup("open", ""); 53 } 54 } else { 55 if ($("#badcode").length) $("#badcode").popup("open"); 56 } 57 }); 58 } 59 } else { 60 // DB lookup 61 $("#regbut").hide(); 62 //$("#codebut").hide(); 63 RegistrationDAO.checkInvitationCode("INV_CODE", icode, "REGISTRATION", replyCheckInvitationCode); 64 } 65} 66 67 68 69 70function replyCheckInvitationCode(trxUser) { // username == invitation code 71 if (trxUser != null ) { 72 document.cookie = "TRXID" + "=" + trxUser.targetrx_id; 73 74 if (trxUser.registration_status_code == "RECOVERY") { 75 targetrx_id = trxUser.targetrx_id; 76 77 RegistrationDAO.getUserRegistered(targetrx_id, "", function(u) { 78 trxUserBean = u; 79 80 if (getMobileDevice.any()) { 81 $.mobile.navigate('#recoveryPage'); 82 } else { 83 if (panelSite == "MIN") 84 $(location).attr('href', "/IRXPhysPortalWeb/ResetAccount"); 85 else if (panelSite == "AS") 86 $(location).attr('href', "/ASPhysPortal/ResetAccount"); 87 } 88 }); 89 } else if (trxUser.registration_status_code == "PARTIAL") { 90 if (panelSite == "AS") { 91 if (getMobileDevice.any()) 92 $(location).attr('href', "/ASPhysPortalMobile/Registration/Verification"); 93 else 94 $(location).attr('href', "/ASPhysPortal/Registration/Verification"); 95 } else { 96 if (trxUser.edc_status_code=="TARGET") { 97 if (getMobileDevice.any()) 98 $(location).attr('href', "/IRXPhysPortalMobile/EDCOverview?invcode="+icode); 99 else 100 $(location).attr('href', "/IRXPhysPortal/EDCOverview?invcode="+icode); 101 } else { 102 if (getMobileDevice.any()) 103 $(location).attr('href', "/IRXPhysPortalMobile/WEBOverview"); 104 else 105 $(location).attr('href', "/IRXPhysPortal/Registration/Verification"); 106 } 107 } 108 } else if (trxUser.registration_status_code != null) { 109 trxUserBean = trxUser = null; 110 RegistrationDAO.setSessionObject("trxUser", null); 111 if (getMobileDevice.any()) { 112 resetInvCode(); 113 $("#alreadyReg").popup("open"); 114 } else { 115 resetInvCode(); 116 $('#invErr3').show(); 117 } 118 } else { 119 if (trxUser.edc_status_code == "NONE") { // WEB - not registered goto registration 120 if (panelSite == "AS") { // Alpha 121 if (getMobileDevice.any()) 122 $(location).attr('href', "/ASPhysPortalMobile/Registration/Verification"); 123 else 124 $(location).attr('href', "/ASPhysPortal/Registration/Verification"); 125 } else { // MIN 126 if (getMobileDevice.any()) 127 $(location).attr('href', "/IRXPhysPortalMobile/WEBOverview"); 128 else 129 $(location).attr('href', "/IRXPhysPortalWeb/Registration/Verification"); 130 } 131 } else if (trxUser.edc_status_code == "TARGET") { // EDC - not registered so goto overview page 132 if (panelSite == "AS") { // Alpha 133 if (getMobileDevice.any()) 134 $(location).attr('href', "/ASPhysPortalMobile/Registration/Verification"); 135 else 136 $(location).attr('href', "/ASPhysPortal/Registration/Verification"); 137 } else { // MIN 138 if (getMobileDevice.any()) 139 $(location).attr('href', "/IRXPhysPortalMobile/EDCOverview?invcode="+icode); 140 else 141 $(location).attr('href', "/IRXPhysPortal/EDCOverview?invcode="+icode); 142 } 143 } 144 } 145 } else { // invalid code from DB 146 resetInvCode(); 147 if (getMobileDevice.any()) $("#badcode").popup("open"); 148 } 149} 150 151 152// NEW 153function validateResetAccount(step) { 154 var filter = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i;
155 var email = $("#EMAIL_ADDRESS").val().trim(); 156 var cEmail = $("#CONFIRM_EMAIL_ADDRESS").val().trim(); 157 var dea = $("#DEA_NUM").val().trim(); 158 var step1Pass = true; 159 160 $("#recoverValidMsg").hide(); 161 if (step == 1) { 162 if (email != cEmail) { 163 $("#recoverValidMsg").html("Email and Confirm Email do not match.").show(); 164 step1Pass = false; 165 } else if (filter.test(email) == false) { 166 $("#recoverValidMsg").html("Email is not valid.").show(); 167 step1Pass = false; 168 } 169 170 if (dea.length != 4) { 171 $("#recoverValidMsg").html("Please enter the last 4 digits of your DEA number.").show(); 172 step1Pass = false; 173 } 174 175 if (step1Pass) { 176 RegistrationDAO.checkDEA(trxUserBean.targetrx_id, dea, function(deaFound) { 177 console.log("deaFound = "+deaFound); 178 if (deaFound) { 179 waitSpinnerOn('#sendCodeBtn', PLEASE_WAIT); 180 181 trxUserBean.email_address = email; 182 trxUserBean.email_verified_flag = "N"; 183 trxUserBean.email_verified_date = null; 184 185 RegistrationDAO.setUser(trxUserBean, "update", "RESET_ACCOUNT", function (status) { 186 $("#USER_NAME").attr('disabled', 'disabled'); 187 $("#EMAIL_ADDRESS").attr('disabled', 'disabled'); 188 $("#CONFIRM_EMAIL_ADDRESS").attr('disabled', 'disabled'); 189 $("#sendCodeBtn").hide(); 190 // send code 191 RegistrationDAO.initiatePasswordReset(trxUserBean, function (retVal) { 192 // check status 193 if (retVal==false) { 194 $("#recoverValidMsg").html("We had a problem sending your email. " + custServLink).show(); 195 waitSpinnerOff('#sendCodeBtn'); 196 } else { 197 $("#emailVerificationCode-container_control").show(); 198 $("#checkCodeBtn").show(); 199 $("#emailVerificationCode").focus(); 200 waitSpinnerOff('#sendCodeBtn'); 201 } 202 }); 203 }); 204 205 } else { 206 $("#recoverValidMsg").html("Your DEA number does not match our records. " +custServLink).show(); 207 } 208 }); 209 } 210 } else if (step == 2) { 211 var code = $("#emailVerificationCode").val().trim(); 212 213 if (code == "") { 214 $("#recoverValidMsg").html("Please enter the code from the email we sent you.").show(); 215 } else { 216 RegistrationDAO.validateCode(trxUserBean, code, function (status) { 217 // handle bad/expired code 218 if (status==0) { 219 $("#recoverValidMsg").html("The code you entered is either incorrect or expired.<br/>"+ 220 "Click the "SEND CODE" button here to generate a new code.</a>").show(); 221 } else { // good code 222 $("#emailVerificationCode-container_control").hide(); 223 $("#checkCodeBtn").hide(); 224 $("#PASSWORD-container_control").show(); 225 $("#CONFIRM_PASSWORD-container_control").show(); 226 $("#changePassBtn").show(); 227 } 228 }); 229 } 230 } else if (step == 3) { 231 var pass = $("#PASSWORD").val().trim(); 232 var cPass = $("#CONFIRM_PASSWORD").val().trim(); 233 234 if (!isPassword(pass)) { 235 $("#recoverValidMsg").html(passwordMsg).show(); 236 $("#PASSWORD").focus(); 237 } else if (pass != cPass) { 238 $("#recoverValidMsg").html("Your confirmation password does not match your password.").show(); 239 $("#CONFIRM_PASSWORD").focus(); 240 } else { 241 waitSpinnerOn('#changePassBtn', PLEASE_WAIT); 242 243 // change users password 244 RegistrationDAO.changePasswordRecovery(trxUserBean, null, pass, "TRX", trxUserBean.targetrx_id+"", true, function (regStatusCode) { 245 waitSpinnerOff('#changePassBtn'); 246 if (regStatusCode != null) { 247 // set reg status to FULL 248 trxUserBean.registration_status_code = regStatusCode; 249 $("#recoverValidMsg").html("Your password has been changed. Please click the LOGIN button below and use your email address and your new password.").show(); 250 $("#changePassBtn").hide(); 251 $("#loginBtn").show(); 252 253 } else { 254 // something went wrong 255 $("#recoverValidMsg").html("We had a problem changing your password. "+custServLink).show(); 256 } 257 }); 258 } 259 } 260} 261 262function resetInvCode() { 263 $("#regbut").show(); 264 $("#codebut").show(); 265 $("#invcode").val(""); 266 $('#codebut').html("SIGN IN"); 267} 268 269 270function floatElementRight(papname) { 271 $(name).find('div#dynamicInput').addClass("rightParagraphColumn"); 272 var hint = parseInt($('#paragraph_${content.UUID}').css('height')) +50; 273 $('#paragraph_<%=uname%>').find('div.box-${content.backgroundcolor}-body2').css('height', hint+'px'); 274} 275 276function waitSpinnerOn(divid, msg, img) { 277 if (img==null) img = "wait24.gif"; 278 var waitSpinnerMsg = "<div class='wait_msg'><img src='/staticContent/Content/images/"+img+"' /> "+msg+"</div>"; 279 $(divid).hide(); 280 $(divid).before(waitSpinnerMsg); 281} 282 283function waitSpinnerOff(divid) { 284 $(divid).show(); 285 $(".wait_msg").remove(); 286} 287 288function closeToCustServ() { 289 window.opener.location = "/Contact-Us.html"; 290 window.close(); 291} 292 293function csLogin() { 294 $("#aspnetForm").submit(); 295} 296 297function loader(url) { 298 $("#SURVEY_ACTIVITY").attr('disabled', 'disabled'); 299 var gotourl = "/sitejsp/loading.jsp?url="+url; 300 window.location=gotourl; 301 //$("#SURVEY_ACTIVITY").removeAttr('disabled'); 302} 303 304function showLoading() { 305 $("body").addClass('ui-disabled'); 306 $.mobile.loading("show",{ 307 text: "Loading", 308 textVisible: true 309 }); 310} 311 312function hideLoading() { 313 $.mobile.loading("hide"); 314 $("body").removeClass('ui-disabled'); 315} 316 317 318function setCookie(cname,cvalue,exdays) { 319 var d = new Date(); 320 d.setTime(d.getTime()+(exdays*24*60*60*1000)); 321 322 var expires = "expires="+d.toGMTString(); 323 document.cookie = cname + "=" + cvalue + "; " + expires; 324} 325 326function getCookie(cname) { 327 var name = cname + "="; 328 var ca = document.cookie.split(';'); 329 for(var i=0; i<ca.length; i++) 330 { 331 var c = ca[i].trim(); 332 if (c.indexOf(name)==0) return c.substring(name.length,c.length); 333 } 334 return ""; 335} 336 337 338function doRecovery() { 339 var email = $("#email").val().trim(); 340 $("#recoveryErr").html("").hide(); 341 342 if ($("#code").is(':visible')) { // step 2 - code 343 var code = $("#code").val().trim(); 344 var filter = /[0-9]{6}/ 345 346 if (!filter.test(code)) { 347 $("#recoveryErr").html("The code must be a 6 digit number.").show(); 348 } else { 349 // check db for correct code 350 RegistrationDAO.validateCode(trxUser, code, function (status) { 351 // handle bad/expired code 352 if (status==0) { 353 $("#recoveryErr").html("The code you entered is either incorrect or expired.<br/>"+ 354 "<a href='#' onclick='resendCode();'>Click here to generate a new code.</a>").show(); 355 } else { // good code 356 $("#forgotDialog").modal("hide"); 357 $("#resetPassDialog").modal("show"); 358 } 359 }); 360 } 361 } else { //step 1 - email 362 if (!isValidEmail(email)) { 363 $("#recoveryErr").html("Please enter a valid email address.").show(); 364 } else { 365 waitSpinnerOn('#emailRecovery', PLEASE_WAIT); 366 RegistrationDAO.findUserByEmail(email, foundEmail); 367 } 368 } 369} 370 371function foundEmail(userRec) { 372 if (userRec != null) { 373 trxUser = userRec; 374 debugger 375 RegistrationDAO.initiatePasswordReset(trxUser, function (retVal) { 376 // check status 377 if (retVal==false) { 378 $("#recoveryErr").html("We had a problem sending your email. " + custServLink).show(); 379 } else { 380 $("#codeBody").show(); 381 $("#code").focus(); 382 } 383 waitSpinnerOff('#emailRecovery'); 384 }); 385 } else { 386 $("#recoveryErr").html("We could not find that email in our records. " + custServLink).show(); 387 waitSpinnerOff('#emailRecovery'); 388 } 389} 390 391 392function doReset() { 393 var newPass = $("#newPass").val().trim(); 394 var confPass = $("#newPassConf").val().trim(); 395 396 $("#contPassbut2").hide(); 397 $("#resetPassErr").html("").hide(); 398 $("#passMsg").html(""); 399 400 if (!isPassword(newPass)) { 401 $("#resetPassErr").html(passwordMsg).show(); 402 $("#newPass").focus(); 403 } else if (newPass != confPass) { 404 $("#resetPassErr").html("Your confirmation password does not match your password.").show(); 405 $("#newPassConf").focus(); 406 } else { 407 waitSpinnerOn('#contPassbut', PLEASE_WAIT); 408 $("#closePass").hide(); 409 var userName = trxUser.username; 410 411 // change users password 412 RegistrationDAO.changePasswordRecovery(trxUser, null, newPass, "TRX", trxUser.targetrx_id+"", false, function (status) { 413 waitSpinnerOff('#recoveryMsg'); 414 if (status != null) { 415 $("#passMsg").html("Your password has been changed. Please login with your email and your new password."); 416 $("#wait").remove(); 417 $("#contPassbut").hide(); 418 $("#closePass").hide(); 419 $("#contPassbut2").show(); 420 } else { 421 // something went wrong 422 $("#passMsg").html("We had a problem changing your password. "+custServLink); 423 $("#wait").remove(); 424 $("#contPassbut").hide(); 425 $("#closePass").show(); 426 } 427 }); 428 } 429} 430 431function resendCode() { 432 $("#recoveryMsg").html("<b>Please check your email for a message with your new code and user name. Your code is 6 digits long.</b>"); 433 $("#recoveryMsg").append("<br/><input id='code' type='text' size='6' maxlength='6' onkeydown='if(checkEnter(this,event)) doRecovery();' placeholder='Enter code'/>"); 434 435 // getCodeFromDB 436 RegistrationDAO.initiatePasswordReset(trxUser, function (status) { 437 // check status 438 if (status==false) { 439 $("#recoveryErr").html("<b>We had a problem sending your email.</b> " + custServLink).show(); 440 } 441 }); 442} 443 444 445function doRecoveryNoEmail() { 446 var uidType = $("#uidType").val(); 447 var uidVal = $("#uidVal").val().trim(); 448 var lName = $("#lastName").val().trim(); 449 var ptc = $("#prof").val(); 450 451 $("#recoveryErr2").html("").hide(); 452 453 if ($("#code2").is(':visible')) { 454 var code = $("#code2").val().trim(); 455 var filter = /[0-9]{6}/ 456 457 if (!filter.test(code)) { 458 $("#recoveryErr2").html("The code must be a 6 digit number.").show(); 459 } else { 460 // check db for correct code 461 RegistrationDAO.validateCode(trxUserRec, code, function (status) { 462 // handle bad/expired code 463 if (status==0) { 464 $("#recoveryErr2").html("The code you entered is either incorrect or expired.<br/>"+ 465 "<a href='#' onclick='resendCode();'>Click here to generate a new code.</a>").show(); 466 } else { // good code 467 $("#forgotDialogOldEmail").modal("hide"); 468 $("#resetPassDialog").modal("show"); 469 trxUser = trxUserRec; 470 RegistrationDAO.setUser(trxUserRec, "update", "FORGOT_REG"); // changes email 471 472 } 473 }); 474 } 475 return; 476 } 477 478 if ($("#step1").is(':visible')) { 479 $("#step2").hide(); 480 $("#step3").hide(); 481 482 if (lName == "") { 483 $("#recoveryErr2").html("Please enter your last name.").show(); 484 } else if (uidVal == "") { 485 $("#recoveryErr2").html("Please enter your " + $("#uidType option:selected").text()).show(); 486 } else { 487 488 RegistrationDAO.checkAltIDGetUser(uidType, ptc, uidVal, lName, "RECOVERY", function(retVal) { 489 console.log("checkAltIDGetUser:"); 490 console.log(retVal); 491 if (retVal != null) { 492 trxUserRec = retVal; 493 $("#step1").hide(); 494 $("#step2").show(); 495 } else {
496 $("#recoveryErr2").html("We could not validate your information."+custServLink).show(); 497 } 498 }); 499 } 500 } else if ($("#step2").is(':visible')) { // step2 501 var oldEmail = $("#oldEmail").val().trim().toUpperCase(); 502 var zipCode = $("#zipCode").val().trim(); 503 504 if (((trxUserRec.email_address.toUpperCase() == oldEmail) || (trxUserRec.alt_email_address.toUpperCase() == oldEmail)) && 505 ((trxUserRec.mail_postal_code == zipCode) || (trxUserRec.primary_postal_code == zipCode) || (trxUserRec.secondary_postal_code == zipCode))) { 506 $("#step2").hide(); 507 $("#step3").show(); 508 } else { 509 $("#recoveryErr2").html("We could not validate your information."+custServLink).show(); 510 } 511 512 } else if ($("#step3").is(':visible')) { // step 3 513 var newEmail = $("#newEmail").val().trim().toUpperCase(); 514 if (isValidEmail(newEmail)) { 515 516 RegistrationDAO.findUserByEmail(newEmail, function(retVal) { 517 console.log("Found user is: " + retVal); 518 if (retVal == null) { // email not reg so send code 519 trxUserRec.email_address = newEmail; 520 RegistrationDAO.initiatePasswordReset(trxUserRec, function(retVal2) { 521 console.log("initiatePasswordReset user is: " + retVal2); 522 if (retVal2) 523 $("#codeBody2").show(); 524 else 525 $("#recoveryErr").html("We had a problem sending your email. " + custServLink).show(); 526 }); 527 } else { 528 $("#recoveryErr2").html("This email address is already registered."+custServLink).show(); 529 } 530 }); 531 532 } else { 533 $("#recoveryErr2").html("You entered an invalid email.").show(); 534 } 535 } 536} 537 538 539// Email Validation 540function isValidEmail($email){ 541 var filter = /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i; 542 if(filter.test($email)){ 543 return true; 544 }else{ 545 return false; 546 } 547 548} 549 550// Password Validation. The password length must be greater then 8 551function isPassword($pwd) { 552 var reNum = /[0-9]/, reLow = /[a-z]/, reUp = /[A-Z]/, reSpec = /[!@#$%^&*]/; 553 passwordMsg = ""; 554 555 if ($pwd.length < 8) passwordMsg = "<li>Your password must be at least 8 characters.</li>"; 556 if (!reNum.test($pwd)) passwordMsg += "<li>Your password must contain at least one number.</li>"; 557 if (!reUp.test($pwd)) passwordMsg += "<li>Your password must contain at least one upper case letter.</li>"; 558 if (!reLow.test($pwd)) passwordMsg += "<li>Your password must contain at least one lower case letter.</li>"; 559 if (!reSpec.test($pwd)) passwordMsg += "<li>Your password must contain at least one special character (!@#$%^&*).</li>"; 560 561 if (passwordMsg == "") { 562 return true 563 } else { 564 return false; 565 } 566 567} 568 569function limitKeypress(event, value, maxLength) { 570 if (value != undefined && value.toString().length >= maxLength) { 571 event.preventDefault(); 572 } 573} 574 575function checkEnter (field, evt) { 576 var keyCode = document.layers ? evt.which : document.all ? evt.keyCode : evt.keyCode; 577 if (keyCode != 13) 578 return false; 579 else 580 return true; 581} 582 583function isCookieEnable(){ 584 var cookieEnabled=(navigator.cookieEnabled)? true : false 585 if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled){ 586 document.cookie="testcookie" 587 cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false 588 } 589 return (cookieEnabled); 590} 591 592var getMobileDevice = { 593 Android: function() { 594 return navigator.userAgent.match(/Android/i); 595 }, 596 BlackBerry: function() { 597 return navigator.userAgent.match(/BlackBerry/i); 598 }, 599 iOS: function() { 600 return navigator.userAgent.match(/iPhone|iPad|iPod/i); 601 }, 602 Opera: function() { 603 return navigator.userAgent.match(/Opera Mini/i); 604 }, 605 Windows: function() { 606 return navigator.userAgent.match(/IEMobile/i); 607 }, 608 any: function() { 609 return (getMobileDevice.Android() || getMobileDevice.BlackBerry() || getMobileDevice.iOS() || getMobileDevice.Opera() || getMobileDevice.Windows()); 610 } 611}; 612 613//////////fileinc ///////////////// 614 615 616// for rounded buttons 617function niftyButtons() { 618 alert("nifty1"); 619 if(!NiftyCheck()) 620 return; 621 622 var bgcolor = "#fff"; 623 $('div.butdiv').each(function(index) { 624 if ($(this).attr("bg")) 625 bgcolor = $(this).attr("bg"); 626 else 627 bgcolor = "#FFF"; 628 Rounded("div#"+$(this).attr("id"),"all",bgcolor,"#60BE39","smooth"); 629 $(this).css("visibility","visible"); 630 }); 631} 632
633// for rounded buttons 634function niftyButton(butid) { 635 alert("nifty2"); 636 if(!NiftyCheck()) 637 return; 638 639 var bgcolor = "#fff"; 640 $(butid).each(function(index) { 641 if ($(this).css("visibility")=="visible") return; 642 643 if ($(this).attr("bg")) 644 bgcolor = $(this).attr("bg"); 645 else 646 bgcolor = "#FFF"; 647 Rounded("div#"+$(this).attr("id"),"all",bgcolor,"#60BE39","smooth"); 648 $(this).css("visibility","visible"); 649 }); 650} 651 652// Google Analytics
vendor: 127 bytes, line 653
653window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', '
653G-ZVE8QX6H96
vendor: 5 bytes, lines 653-654
653'); 654
655// Facebook Pixel Code 656!function(f,b,e,v,n,t,s) 657{if(f.fbq)return;n=f.fbq=function(){n.callMethod? 658n.callMethod.apply(n,arguments):n.queue.push(arguments)};console.log("Facebook:"+b.baseURI); 659if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 660n.queue=[];t=b.createElement(e);t.async=!0; 661t.src=v;s=b.getElementsByTagName(e)[0]; 662s.parentNode.insertBefore(t,s)}(window, document,'script', 663'https://connect.facebook.net/en_US/fbevents.js'); 664 665 666//BouncePilot Initialization 667(function () { 668 function al() { 669 var s = document.createElement('script'); 670 s.type = 'text/javascript'; 671 s.async = true; 672 s.src = 'https://static.bouncepilot.com/af91acc4-cfad-48c8-905d-f8e6bd641845.js'; 673 var x = document.getElementsByTagName('script')[0]; 674 x.parentNode.insertBefore(s, x); 675 } 676 677 if (window.attachEvent) window.attachEvent('onload', al); 678 else window.addEventListener('load', al, false); 679 console.log("BP Init"); 680})(); 681
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.