1// Clean rendered text when getting information from WordPress Rest API 2function cleanRenderedText(text){// Replace for - 3return text=text.replace("[…]","").split("’").join("'")// Replace for ' 4.split("…").join("...")// Replace for ... 5.split("&").join("&")// Replace for & 6.split("”").join("\"")// Replace for " 7.split("“").join("\"").split("–").join("-"),text}/** 8 * This bit is used for demo forms that pop up in lightboxes. 9 */function demo(){$("body").append("<div id='overlay'></div>");var overlay=$("#overlay"),lightForm=$("#light-form");// Show the overlay and form. 10//Close the form if black bg is clicked 11overlay.show(),lightForm.css("visibility","visible"),lightForm.show(),overlay.on("click",function(){closeDemo()})}function closeDemo(){var lightForm=$("#light-form"),overlay=$("#overlay");// Hide the form and overlay. 12lightForm.hide(),lightForm.css("visibility","hidden"),overlay.hide()}/** TextareaValidator class 13* This class provides pattern validation for textareas similar to how input elements 14* work with the 'pattern' attribute. It integrates with HTML5 validation states, allowing textareas to use :valid/:invalid CSS pseudo-classes and work with 15* form.checkValidity() and form.reportValidity() methods. 16* 17* 1. Built-in Validation Types (recommended for security): 18* ~ data-validate="safe-text" 19* - Allows: letters, numbers, spaces, common punctuation (.,!?@#$%&*()-+/:;'") 20* - Blocks: potentially dangerous chars like <>[]{}\|=^`~ 21* 22* ~ data-validate="strict-text" 23* - Allows: letters, numbers, spaces, basic punctuation (.,!?-) 24* - Very restrictive, safest option 25* 26* ~ data-validate="no-html" 27* - Blocks: < and > characters only 28* - Good for: preventing HTML injection while allowing most characters 29* 30* 2. Custom Patterns: 31* Use data-pattern attribute with a regular expression: 32* ~ data-pattern="^[a-zA-Z0-9\s]*$" 33* 34* 3. Error Messages: 35* ~ data-error-message="Please enter valid text without special symbols" 36* 37* 4. Max Length Attribute: 38* ~ data-maxlength="20" 39* - Default: 1200 characters when not set 40* 41* EXAMPLES: 42* 43* <!-- General safe text input --> 44* <textarea 45* data-validate="safe-text" 46* data-error-message="Contains invalid characters" 47* required> 48* </textarea> 49* 50* <!-- Custom email validation --> 51* <textarea 52* data-pattern="^([a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\s*\n?)*$" 53* data-error-message="Enter valid email addresses, one per line"> 54* </textarea> 55* 56* <!-- Very restrictive text --> 57* <textarea data-validate="strict-text"></textarea> 58* 59* <!-- Textarea with max length (default is 1200) --> 60* <textarea data-validate="safe-text" data-maxlength="20"></textarea> 61*/class TextareaValidator{constructor(){// Define built-in validation patterns 62this.patterns={"safe-text":{// Allows letters, numbers, spaces, newlines, and common punctuation 63// Excludes: < > [ ] { } | \ = ^ ` ~ and other potentially dangerous chars 64regex:/^[a-zA-Z0-9\s\n\r@.#&!%'ââ"ââ,?$*:;()+\-\/]*$/,invalidCharsRegex:/[^a-zA-Z0-9\s\n\r@.#&!%'ââ"ââ,?$*:;()+\-\/]/,description:"Safe characters only"},"strict-text":{// Very restrictive - only basic alphanumeric and minimal punctuation 65regex:/^[a-zA-Z0-9\s\n\r.,!?\-]*$/,invalidCharsRegex:/[^a-zA-Z0-9\s\n\r.,!?\-]/,description:"Basic characters only"},"no-html":{// Blocks HTML-like characters 66regex:/^[^<>]*$/,invalidCharsRegex:/[<>]/,description:"No HTML tags allowed"}},this.init()}init(){// Find all textareas with data-pattern or data-validate attributes 67const textareas=document.querySelectorAll("textarea[data-pattern], textarea[data-validate]");textareas.forEach(textarea=>this.setupValidation(textarea))}setupValidation(textarea){let regex,invalidCharsRegex,errorMessage;// Check if using built-in validation or custom pattern 68const validateType=textarea.getAttribute("data-validate"),customPattern=textarea.getAttribute("data-pattern"),maxLengthAttribute=parseInt(textarea.getAttribute("data-maxlength"),10),maxLength=maxLengthAttribute&&0<maxLengthAttribute?maxLengthAttribute:1200;if(validateType&&this.patterns[validateType])// Use built-in pattern 69regex=this.patterns[validateType].regex,invalidCharsRegex=this.patterns[validateType].invalidCharsRegex,errorMessage=textarea.getAttribute("data-error-message")||this.patterns[validateType].description;else if(customPattern)// Use custom pattern 70regex=new RegExp(customPattern),errorMessage=textarea.getAttribute("data-error-message")||"Invalid format";else return void console.error(`Validation not set for textarea with id => ${textarea.id}. ${validateType} is not a valid validation type.`);// Add event listeners 71textarea.addEventListener("input",()=>this.validateTextarea(textarea,regex,invalidCharsRegex,maxLength,errorMessage)),textarea.addEventListener("blur",()=>this.validateTextarea(textarea,regex,invalidCharsRegex,maxLength,errorMessage)),textarea.value.trim()&&this.validateTextarea(textarea,regex,invalidCharsRegex,maxLength,errorMessage)}validateTextarea(textarea,regex,invalidCharsRegex,maxLength,errorMessage){const value=textarea.value,errorElement=document.getElementById(textarea.name+"-desc"),successElement=document.getElementById(textarea.id+"-success");// Clear previous states 72// Skip validation if empty and not required 73if(this.clearValidationState(textarea,errorElement,successElement),!value&&!textarea.required)return!0;// Check if required field is empty 74if(!value&&textarea.required)return this.showError(textarea,errorElement,"Please fill out this field."),!1;// Test against pattern and length 75const isValidChars=regex.test(value),hasInvalidChars=invalidCharsRegex.test(value),isValidLength=value.length<=maxLength;if(!isValidLength)return errorMessage="Your comment cannot be longer than "+maxLength+" characters.",this.showError(textarea,errorElement,errorMessage),!1;if(!isValidChars){if(hasInvalidChars){const invalidChars=this.getInvalidCharacters(textarea,invalidCharsRegex);errorMessage=`Invalid Characters: ${invalidChars}`}return this.showError(textarea,errorElement,errorMessage),!1}return this.showSuccess(textarea,successElement),!0}showError(textarea,errorElement,message){textarea.setCustomValidity(message),errorElement&&(errorElement.textContent=message,errorElement.style.display="block")}showSuccess(textarea,successElement){textarea.setCustomValidity(""),successElement&&(successElement.style.display="block")}clearValidationState(textarea,errorElement,successElement){textarea.setCustomValidity(""),errorElement&&(errorElement.style.display="none"),successElement&&(successElement.style.display="none")}getInvalidCharacters(textarea,invalidCharsRegex){const invalidCharPattern=new RegExp(invalidCharsRegex.source,"gm"),invalidChars=textarea.value.match(invalidCharPattern);// Find all invalid characters 76if(invalidChars&&null!==invalidChars&&0<invalidChars.length){// Remove duplicates 77const uniqueInvalidChars=[...new Set(invalidChars)];return uniqueInvalidChars.join(" ")}return""}}$(document).ready(function(){$("a").on("click",function(){var hrefString=$(this).attr("href"),isDemoFormHref=null!==hrefString.match(/\/demo[\/|\s|\?|#]/gm);(isDemoFormHref||"#demo-form-container"===hrefString)&&pcDatalayer.pushRequestMeetingEvent()}),$("#skip-nav-link").on("click",function(){var skipNavTarget=$(this).attr("href");$(skipNavTarget).trigger("focus")}),($(".stickyBlogNav").length||$("body").hasClass("careers-page")||$("body").hasClass("legal-pages"))&&$("header").removeClass("shadow-lg"),new TextareaValidator}),$.fn.isInViewport=function(){var navbarHeight=1024<$(window).innerWidth()?267:117,elementTop=$(this).offset().top,elementBottom=elementTop+$(this).outerHeight()/2,viewportTop=$(window).scrollTop()+navbarHeight,viewportHalf=viewportTop+$(window).height()/2+100;return elementBottom>viewportTop&&elementTop<viewportHalf},window.addEventListener("load",()=>{!window.LottieInteractivity&&$("lottie-player").length&&($.getScript("/js/lottie-player-2.0.12/lottie-interactivity.js"),$.getScript("/js/lottie-player-2.0.12/lottie-player.min.js"))});// onload function to hide the fallback image once the JSON correctly loads 78const animationOnLoad=(playerID,imageID)=>{let lottiePlayer=document.getElementById(playerID),image=document.getElementById(imageID);lottiePlayer.classList.remove("d-none"),image.classList.add("d-none");// Restyle the controls inside the Shadow DOM 79const style=document.createElement("style");style.innerHTML="#lottie-stop-button, #lottie-seeker-input, #lottie-loop-toggle { display: none;}
79#lottie-controls {margin-top: -60px;z-index: 77;}",lottiePlayer.shadowRoot.appendChild(style);// Check against the user's reduced motion setting and reload the player with controls 80const reducedOnce=lottiePlayer.getAttribute("reducedMotion"),isReduced=!0===window.matchMedia(`(prefers-reduced-motion: reduce)`)||!0===window.matchMedia(`(prefers-reduced-motion: reduce)`).matches;if(isReduced&&!reducedOnce){const mediaURL=lottiePlayer.getAttribute("src");lottiePlayer.stop(),lottiePlayer.setAttribute("controls",!0),lottiePlayer.removeAttribute("autoplay"),lottiePlayer.removeAttribute("hover"),lottiePlayer.removeAttribute("inView"),lottiePlayer.removeAttribute("scroll"),lottiePlayer.setAttribute("reducedMotion",!0),lottiePlayer.setAttribute("loop",!0),lottiePlayer.load(mediaURL)}};$(window).on("load resize scroll",function(){$(".animate__animated").each(function(){$(this).isInViewport()&&($(this).addClass($(this).data("animation")),$(this).removeClass("hidden")),$(this).parent().addClass("overflow-hidden")})}),window.innerWidth>document.documentElement.clientWidth&&($("#desktop-navigation").is(":visible")&&$("header").hasClass("sticky")||1024>=$(window).width())&&($(document).on("show.bs.modal",function(){$("header").css("padding-right","17px")}),$(document).on("hidden.bs.modal",function(){$("header").removeAttr("style")}));/** 81 * resource-tile.js 82 */var gbResourceTile={};gbResourceTile.tileOpen=function(targetTile){var tileHover=targetTile.find(".tile-hover");tileHover.is(":visible")||tileHover.addClass("hover-open").fadeIn(200)},gbResourceTile.tileClose=function(targetTile){var tileHover=targetTile.find(".tile-hover");tileHover.is(":visible")&&tileHover.removeClass("hover-open").fadeOut(200)},gbResourceTile.tileExcerptTruncation=function(){$(".gb-resource-tile .post-excerpt p").each(function(){var trimmedString,maxLength=300;window.matchMedia("(min-width: 1200px)").matches?maxLength=200:window.matchMedia("(min-width: 992px)").matches?maxLength=150:window.matchMedia("(min-width: 768px)").matches?maxLength=100:window.matchMedia("(min-width: 576px)").matches&&(maxLength=150),$(this).text().length>maxLength&&(trimmedString=$(this).text().substr(0,maxLength),trimmedString=trimmedString.substr(0,Math.min(trimmedString.length,trimmedString.lastIndexOf(" "))),$(this).text(trimmedString+"..."))})},$(document).ready(function(){/* Replace register and trademark text with sup tags */$(".gb-resource-tile a").on("mouseenter focus",function(){gbResourceTile.tileOpen($(this))}).on("mouseleave blur",function(){gbResourceTile.tileClose($(this))}),gbResourceTile.tileExcerptTruncation(),$("p, h1 ,h2 ,h3 ,h4 ,h5 ,h6 , a, main li, .main-content li").each(function(){/* Specifying the li's in the 'main' tag of the pages for GB and legacy 83 to leave out the navigation in the header due to js issues with the dropdowns */var thisHTML=$(this).html();(-1!=thisHTML.indexOf("®")||-1!=thisHTML.indexOf("&reg;")||-1!=thisHTML.indexOf("\xAE")||-1!=thisHTML.indexOf("™")||-1!=thisHTML.indexOf("&trade;")||-1!=thisHTML.indexOf("\u2122"))&&(thisHTML.replace(/®/gi,"®").replace(/&reg;/gi,"®").replace(/®/gi,"®").replace(/™/gi,"™").replace(/&trade;/gi,"™").replace(/â¢/gi,"™"),$(".main-content :not(script,sup), main :not(script,sup), section :not(script,sup)").contents().filter(function(){return 3===this.nodeType}).replaceWith(function(){return this.nodeValue.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/[®â¢]/g,"<sup>$&</sup>")}))})}),$(document).ready(function(){// Desktop Navigation Sub Menus 84function desktopSubMenu(hoverLinks,activeCont,secondary){hoverLinks=$(hoverLinks),hoverLinks.on("mouseover",function(){var activeNavlink="",activeNavCont=$
84(activeCont);$(this).hasClass("active")||(hoverLinks.removeClass("active"),!0!==secondary&&$(this).addClass("active"),activeNavlink=$(this).data("nav"),activeNavlink!==activeNavCont.data("nav")&&(activeNavCont.removeClass("active"),$(".sub-dropdown div[data-nav=\""+activeNavlink+"\"]").addClass("active"),$(".secondary-sub-dropdown div[data-nav=\""+activeNavlink+"\"]").addClass("active"))),$(".industryCont").hasClass("active")?$(".who-we-help-nav").siblings(".sub-dropdown").addClass("twoColumn"):$(".who-we-help-nav").siblings(".sub-dropdown").removeClass("twoColumn"),$(".hrCont").hasClass("active")||$(".payCont").hasClass("active")||$(".tmCont").hasClass("active")?$(".solution-nav").siblings(".sub-dropdown").addClass("twoColumn"):$(".solution-nav").siblings(".sub-dropdown").removeClass("twoColumn"),!0!==$(this).data("secondary")&&($(this).parents().hasClass("about-us-sub-dropdown")||$(this).parents().hasClass("about-us-nav"))?$(".secondary-sub-dropdown .about-us-cont").removeClass("active"):!0!==$(this).data("secondary")&&($(this).parents().hasClass("who-we-help-dropdown")||$(this).parents().hasClass("who-we-help-nav"))?$(".secondary-sub-dropdown .who-we-help-cont").removeClass("active"):!0!==$(this).data("secondary")&&($(this).parents().hasClass("software-cont")||$(this).parents().hasClass("solution-nav"))&&$(".secondary-sub-dropdown .solution-products-cont").removeClass("active");"hide"===$(this).data("nav")?$(".secondary-sub-dropdown").addClass("d-none"):"medium"===$(this).data("nav")||"small"===$(this).data("nav")?$(".who-we-help-cont .secondary-sub-dropdown").removeClass("d-none"):"jobcat"===$(this).data("nav")||"bac"===$(this).data("nav")?$(".about-us-cont .secondary-sub-dropdown").removeClass("d-none"):["expense","benefits","learning","performance","time","applicant"].includes($(this).data("nav"))?$(".software-cont .secondary-sub-dropdown").removeClass("d-none"):$(".software-cont .secondary-sub-dropdown").addClass("d-none"),"hide"===$(this).data("nav")||!0===$(this).data("nav-auto")||$(".asset-management").hasClass("active")?$(".software-cont .dropdown-menu").addClass("w-auto"):$(".software-cont .dropdown-menu").removeClass("w-auto")})}// Our Solution Desktop 85function mobileSlidingMenus(header,subMenu){$(header).on("click",function(e){e.preventDefault(),$(this).hasClass("open")?($(this).removeClass("open"),$(this).next(subMenu).slideUp()):($(header).siblings(subMenu).slideUp(),$(header).removeClass("open"),$(header).siblings(subMenu).slideUp(),$(this).addClass("open"),$(this).next(subMenu).slideToggle())})}desktopSubMenu(".solution-nav > ul li a",".sub-dropdown .solution-products-cont.active"),desktopSubMenu(".who-we-help-nav > ul li > span",".sub-dropdown .who-we-help-cont.active"),desktopSubMenu(".about-us-nav > ul li a",".sub-dropdown .about-us-cont.active"),desktopSubMenu(".carCont > ul li a",".secondary-sub-dropdown .about-us-cont.active",!0),desktopSubMenu(".companyCont > ul li a",".secondary-sub-dropdown .who-we-help-cont.active",!0),desktopSubMenu(".tmCont > ul li a",".secondary-sub-dropdown .solution-products-cont.active",!0),desktopSubMenu(".payCont > ul li a",".secondary-sub-dropdown .solution-products-cont.active",!0),desktopSubMenu(".hrCont > ul li a",".secondary-sub-dropdown .solution-products-cont.active",!0),desktopSubMenu(".tlmCont > ul li a",".secondary-sub-dropdown .solution-products-cont.active",!0),desktopSubMenu(".taCont > ul li a",".secondary-sub-dropdown .solution-products-cont.active",!0),$(".login-btn").on("click",function(e){e.preventDefault()}),$("#menu-trigger").on("click",function(){$(this).hasClass("open")?($(this).removeClass("open"),$("#mobile-navigation").slideUp()):($(this).addClass("open"),$("#global-mobile-login-button").removeClass("open"),$("#mobile-login-links").slideUp(),$("#mobile-navigation").slideToggle(),$("#mobile-navigation ul.top-menu").css("paddingBottom",mobileNavHeight))});// Allows Login links to be tabbed through 86// Login Buttons/Links 87var loginLinksContainer=$(".login-dropdown"),loginLinks=$(".login-dropdown a"),lastLoginLink=$(".login-dropdown a:last"),loginButton=$(".login-btn");// Click outside the login menu to close it 88loginLinks.on("focus",function(){loginLinksContainer.css("display","block")}),lastLoginLink.on("focusout",function(){$(lastLoginLink).closest("ul.navbar-nav").next().on("focus",function(){loginLinksContainer.css("display","none"),loginLinksContainer.removeClass("active-login")})}),loginButton.on("focus",function(){loginLinksContainer.css("display","block"),loginLinksContainer.addClass("active-login")}),loginButton.on("focusout",function(){$(".primary-nav-links > li > a:last").on("focus",function(){loginLinksContainer.css("display","none"),loginLinksContainer.removeClass("active-login")})}),$(document).on("mouseup",function(e){loginButton.is(e.target)||0!==loginButton.has(e.target).length||(loginLinksContainer.removeClass("active-login"),loginLinksContainer.hide())}
88),mobileSlidingMenus(".sub-menu-header",".sub-menu"),mobileSlidingMenus(".dropdown-menu-header",".sub-menu"),mobileSlidingMenus(".secondary-menu-header",".sub-menu"),$("#global-mobile-login-button").on("click",function(e){e.preventDefault(),$("#mobile-navigation").slideUp(),$("#menu-trigger").removeClass("open"),$("#mobile-login-links").slideToggle(),$(this).toggleClass("open")}),$(".search-icon-item").on("keydown",e=>{"keydown"===e.type&&("Enter"===e.key||" "===e.key)&&$("#search-modal").modal("show")}),$(".search-icon-item").on("click",e=>{e.preventDefault(),$("#search-modal").modal("show")}),$("#search-modal").on("shown.bs.modal",function(){$("#autocomplete-0-input").focus()}),$("#search-modal").on("hidden.bs.modal",function(){$("#autocomplete-0-input").val(""),autocompleteRef?.setQuery&&autocompleteRef.setQuery("")})});/** 89 * scroll.js 90 */// Checking height for stick nav 91var gbHeaderHeight=$("#gb-header").hasClass("sticky")?$("#gb-header").outerHeight():0,blogNavHeight=$("body").children().hasClass("stickyBlogNav")?$(".stickyBlogNav").outerHeight():0,mobileNavHeight=1024>=window.innerWidth?$("#gb-header").outerHeight():0;// Adjust the nav height for /hr-payroll-glossary/ desktop view 92gbHeaderHeight=$("#main-content").children().hasClass("glossary-search")&&1024<=window.innerWidth?gbHeaderHeight+128:gbHeaderHeight;/** 93 * Scrolls the section into view when coming in from an external url with anchor 94 */function externalAnchorScroll(){var offset=$(":target").offset();if(offset){var scrollto=offset.top-(gbHeaderHeight+20);$("html, body").animate({scrollTop:scrollto},1e3)}}$(window).on("load",function(){window.location.hash&&setTimeout(externalAnchorScroll,50)});/** 95 * Smooth scrolls to an anchor tag on the page if a link is clicked. 96 */function smoothScrollToAnchor(){$("a[href*=\"#\"]:not([href=\"#\"])").on("click",function(e){if(location.pathname.replace(/^\//,"")===this.pathname.replace(/^\//,"")&&location.hostname===this.hostname){var target=$(this.hash);target=target.length?target:$("[name="+this.hash.slice(1)+"]");var stickyHeaderHeight;if(stickyHeaderHeight=0===blogNavHeight?gbHeaderHeight:1025>window.innerWidth?blogNavHeight+mobileNavHeight:blogNavHeight,target.length){const targetElement=$(this).attr("href");$(targetElement)&&!$(targetElement).hasClass("modal")||$(targetElement).hasClass("modal")&&"light-form"===$(targetElement).attr("id")?($("html,body").animate({scrollTop:target.offset().top-(stickyHeaderHeight+20)},1e3),e.preventDefault()):e.preventDefault()}}})}/** 97 * Run these on page load. 98 */$(document).ready(function(){// Smooth scroll to on page anchor when a link is clicked. 99smoothScrollToAnchor()});/** 100 * user-cookies.js 101 */var pcUserCookies={};pcUserCookies.cookieName="pcUser",pcUserCookies.defaultValues={dfw:!1,cl:!1,ee:!1,ac:!1,candidate:!1},pcUserCookies.pushToDataLayer=function(settingName,settingValue){"undefined"!=typeof dataLayer&&dataLayer.push({event:"pcUser",updated:settingName,newValue:settingValue,cookie:pcUserCookies.getRawCookie()})},pcUserCookies.getRawCookie=function(){for(var cookie,cookieName=pcUserCookies.cookieName+"=",cookieArray=document.cookie.split(";"),i=0;i<cookieArray.length;i++)if(cookie=cookieArray[i],cookie=cookie.trim(),0===cookie.indexOf(cookieName))return cookie=cookie.substring(cookieName.length,cookie.length),decodeURIComponent(cookie);return null},pcUserCookies.setCookie=function(cookieValue){if(null==cookieValue)return void console.error("PC Client Cookies: No cookie value passed to set cookie.");var cookieName=pcUserCookies.cookieName,CookieDate=new Date;CookieDate.setFullYear(CookieDate.getFullYear()+1),cookieValue=encodeURIComponent(cookieValue),document.cookie=cookieName+"="+cookieValue+"; expires="+CookieDate.toUTCString()+"; path=/;"},pcUserCookies.getCookieObj=function(){var cookie=pcUserCookies.getRawCookie();if(null==cookie)return pcUserCookies.defaultValues;cookie=cookie.split("&");var cookieObj={};for(var i in cookie){var cookieName=cookie[i].split("=")[0],cookieValue=cookie[i].split("=")[1];cookieValue="true"===cookieValue.toLowerCase(),cookieObj[cookieName]=cookieValue}return cookieObj},pcUserCookies.buildCookieValue=function(valuesObj){var newCookieValue="";for(var setting in valuesObj)valuesObj.hasOwnProperty(setting)&&(newCookieValue+=setting+"="+valuesObj[setting]+"&");// Remove trailing separator 102return newCookieValue.replace(/&\s*$/,"")}
102,pcUserCookies.setCookieValue=function(settingName,settingValue){if(null==pcUserCookies.defaultValues[settingName])return console.error("PC User Cookies: Invalid setting name passed to setCookieValue."),!1;if(null==settingValue&&(settingValue=!0),"boolean"!=typeof settingValue)return console.error("PC User Cookies: setCookieValue only accepts boolean values."),!1;var currentCookie=pcUserCookies.getCookieObj();if(currentCookie[settingName]!==settingValue){currentCookie[settingName]=settingValue;var newCookieValue=pcUserCookies.buildCookieValue(currentCookie);pcUserCookies.setCookie(newCookieValue),pcUserCookies.pushToDataLayer(settingName,settingValue)}return!0},pcUserCookies.bindEvents=function(){$("a[href=\"https://www.paycomonline.net/v4/cl/cl-login.php\"]").on("click",function(){pcUserCookies.setCookieValue("cl")}),$("a[href=\"https://www.paycomonline.net/v4/ee/ee-login.php\"]").on("click",function(){pcUserCookies.setCookieValue("ee")}),$("a[href=\"https://www.paycomonline.net/v4/cl/cl-login.php?ftype=2\"]").on("click",function(){pcUserCookies.setCookieValue("ac")}),$("a[href=\"https://www.paycomdfw.net/v4/cl/cl-login.php\"]").on("click",function(){pcUserCookies.setCookieValue("dfw"),pcUserCookies.setCookieValue("cl")}),$("a[href=\"https://www.paycomdfw.net/v4/ee/ee-login.php\"]").on("click",function(){pcUserCookies.setCookieValue("dfw"),pcUserCookies.setCookieValue("ee")}),$("a[href=\"https://www.paycomdfw.net/v4/cl/cl-login.php?ftype=2\"]").on("click",function(){pcUserCookies.setCookieValue("dfw"),pcUserCookies.setCookieValue("ac")}),$("a[href=\"/careers/\"]").on("click",function(){pcUserCookies.setCookieValue("candidate")})},pcUserCookies.returnValue=function(value){var cookie=pcUserCookies.getCookieObj(),val=cookie[value];return null==val&&(val=!1),val},pcUserCookies.isProspect=function(){var cookie=pcUserCookies.getCookieObj(),check=["cl","ee","ac"];for(var setting in check)if(setting=check[setting],!1!==cookie[setting])return!1;return!0},pcUserCookies.isDfw=function(){return pcUserCookies.returnValue("dfw")},pcUserCookies.isClient=function(){return pcUserCookies.returnValue("cl")},pcUserCookies.isAccountant=function(){return pcUserCookies.returnValue("ac")},pcUserCookies.isEmployee=function(){return pcUserCookies.returnValue("ee")},pcUserCookies.isCandidate=function(){return pcUserCookies.returnValue("candidate")},$(document).ready(function(){pcUserCookies.bindEvents()});/** 103 * paycom-utilityjs.js 104 */var paycomUtilityJS={};paycomUtilityJS.getDomain=function(url){var match,domain,hostName,parts;return null==url||""===url?null:(match=url.match(/:\/\/(www[0-9]?\.)?(.[^/:]+)/i),null!=match&&2<match.length&&"string"==typeof match[2]&&0<match[2].length?(hostName=match[2],domain=hostName,null!=hostName&&(parts=hostName.split(".").reverse(),null!=parts&&1<parts.length&&(domain=parts[1]+"."+parts[0])),domain):null)},paycomUtilityJS.assignNoFollow=function(){var domain,whitelistDomains=[location.hostname,"paycomonline.net","paycomcareers.com","paycom.com","paycomonline.com","paycomdfw.com"];$("a").each(function(){domain=paycomUtilityJS.getDomain($(this).attr("href"));null===domain||-1!==whitelistDomains.indexOf(domain)||$(this).attr("rel","nofollow")})},window.onload=function(){paycomUtilityJS.assignNoFollow()},document.addEventListener("DOMContentLoaded",function(){// Handle Backgroun
104d Image 105const lazyImages=document.querySelectorAll(".lazy-background"),observer=new IntersectionObserver(function(entries){entries.forEach(entry=>{entry.isIntersecting&&(entry.target.style.backgroundImage="url('"+entry.target.dataset.bgimage+"')",entry.target.classList.remove("lazy-background"),observer.unobserve(entry.target))})},{rootMargin:"100px"});lazyImages.forEach(image=>observer.observe(image))});
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.