PageSourceSearch

https://usercentrics.com/wp-content/themes/usercentrics/dist/compo…/js/reveal-card.js?ver=1790224964

js usercentrics.com collected 2026-09-24 07:01:48 UTC 1,311 bytes, 1 lines download raw bytes

1var e=class e{static#e=10;#t;#n;#r=0;#i=null;constructor(e){e&&(this.#t=e,this.#n=globalThis.matchMedia(`(hover: hover) and (pointer: fine)`).matches,this.#n&&e.addEventListener(`pointerenter`,e=>this.#o(e)),e.addEventListener(`pointerdown`,e=>this.#s(e)),e.addEventListener(`pointerup`,e=>this.#c(e)),this.#a())}#a(){let e=this.#t.querySelector(`.uc-reveal-card__button a, .uc-reveal-card__button button, a.uc-button`);e&&(e.tabIndex=-1,this.#t.addEventListener(`keydown`,t=>{(t.key===`Enter`||t.key===` `)&&(t.preventDefault(),e.click())}))}#o(e){e.pointerType===`mouse`&&(Date.now()-this.#r<800||this.#l(`Reveal Card Opened`))}#s(e){e.pointerType!==`mouse`&&(this.#i={x:e.clientX,y:e.clientY})}#c(t){if(t.pointerType===`mouse`)return;if(this.#r=Date.now(),t.target.closest(`a, button`)){this.#i=null;return}let n=this.#i;if(this.#i=null,n&&(Math.abs(t.clientX-n.x)>e.#e||Math.abs(t.clientY-n.y)>e.#e))return;let r=this.#t.classList.toggle(`is-revealed`);this.#l(r?`Reveal Card Opened`:`Reveal Card Closed`)}#l(e){globalThis.dataLayer=globalThis.dataLayer||[],globalThis.dataLayer.push({event:e,Label:this.#t.dataset.trackLabel||``,URL:globalThis.location.href})}};globalThis.UcRevealCard=e,document.addEventListener(`DOMContentLoaded`,()=>{document.querySelectorAll(`.uc-reveal-card`).forEach(t=>new e(t))});

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.