PageSourceSearch

https://montclairrejuvenationcenter.com/wp-content/cache/min/1/wp-…/assets/js/banner.js?ver=1790711518

js montclairrejuvenationcenter.com collected 2026-10-04 05:35:36 UTC 2,167 bytes, 17 lines download raw bytes

1(function(w,d){'use strict';var api=w.dmmConsent;var root=d.getElementById('dmm-cg');if(!api||!root){return}
2if(root.parentNode!==d.body){d.body.appendChild(root)}
3var badge=d.querySelector('.dmm-cg-open--badge');if(badge&&badge.parentNode!==d.body){d.body.appendChild(badge)}
4var cats=root.querySelector('.dmm-cg__cats');var saveBtn=root.querySelector('[data-dmm-action="save"]');var customizeBtn=root.querySelector('[data-dmm-action="customize"]');var lastFocus=null;function checked(){var boxes=root.querySelectorAll('[data-dmm-cat-input]');var out=[];for(var i=0;i<boxes.length;i++){if(boxes[i].checked){out.push(boxes[i].value)}}
5return out}
6function show(){lastFocus=d.activeElement;root.hidden=!1;d.documentElement.classList.add('dmm-cg-showing');var first=root.querySelector('.dmm-cg__btn');if(first){first.focus()}}
7function hide(){root.hidden=!0;d.documentElement.classList.remove('dmm-cg-showing');if(lastFocus&&lastFocus.focus){lastFocus.focus()}}
8function expand(){if(!cats||!saveBtn||!customizeBtn){return}
9cats.hidden=!1;saveBtn.hidden=!1;customizeBtn.hidden=!0;var current=api.get()||[];var boxes=root.querySelectorAll('[data-dmm-cat-input]');for(var i=0;i<boxes.length;i++){boxes[i].checked=current.indexOf(boxes[i].value)>-1&&!(api.gpc&&boxes[i].value==='marketing')}}
10root.addEventListener('click',function(ev){var btn=ev.target.closest?ev.target.closest('[data-dmm-action]'):null;if(!btn){return}
11var action=btn.getAttribute('data-dmm-action');if(action==='customize'){expand();return}
12if(action==='acknowledge'){api.acknowledge();hide();return}
13if(action==='accept'){api.acceptAll();hide();return}
14if(action==='reject'){api.rejectAll();hide();return}
15if(action==='save'){api.save(checked());hide()}});root.addEventListener('keydown',function(ev){if(ev.key==='Escape'&&api.get()){hide()}});d.addEventListener('click',function(ev){if(!ev.target.closest){return}
16var trigger=ev.target.closest('.dmm-cg-open, a[href="#cookie-sett
16ings"], a[href$="#cookie-settings"]');if(!trigger||root.contains(trigger)){return}
17ev.preventDefault();expand();show()});d.addEventListener('dmm:open',function(){expand();show()});if(!api.get()){show()}}(window,document))

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.