1function decodeHtmlEntities(htmlString){const textarea=document.createElement("textarea");return textarea.innerHTML=htmlString,textarea.value}function processAcentraTextContent(node){const acentraRegex=/Acentra(?!(\s| )Health)/g;let matches=[];function processNode(textNode){let originalText=textNode.nodeValue,modifiedText=originalText;const allAcentraRegex=/Acentra/g;let match;for(;null!==(match=allAcentraRegex.exec(originalText));)matches.push({match:match[0],node:textNode});if(acentraRegex.test(originalText)){modifiedText=originalText.replace(acentraRegex,"Acentra Health");const decodedText=decodeHtmlEntities(modifiedText);modifiedText!==originalText&&(textNode.nodeValue=decodedText,console.log("Replaced in text node:"),console.log(textNode),console.log(`"${originalText}" -> "${modifiedText}"`))}}const walker=document.createTreeWalker(node,NodeFilter.SHOW_TEXT,{acceptNode:function(node){return!node.parentNode||"SCRIPT"!==node.parentNode.nodeName&&"STYLE"!==node.parentNode.nodeName?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}},!1);let currentNode;for(;currentNode=walker.nextNode();)processNode(currentNode)}function scrubAcentraText(){processAcentraTextContent(document.body)}document.addEventListener("DOMContentLoaded",scrubAcentraText); 2//# sourceURL=https://47946009.fs1.hubspotusercontent-na1.net/hubfs/47946009/hub_generated/template_assets/1/193132816796/1790092407572/template_scrub-brandname.js
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.