PageSourceSearch

https://www.buildtorentconference.com/wp-content/themes/zonda-events-theme/dist/js/frontend.js?m=1790297542g

js buildtorentconference.com collected 2026-10-05 01:01:24 UTC 5,345 bytes, 1 lines download raw bytes

1!function(){"use strict";var t=(()=>{const t=["utm_source","utm_medium","utm_campaign","utm_term","utm_content"],e="utm_params",n='.cta[data-preserve-utm="true"]';let r=null;const o=(t=!0)=>{if(t&&null!==r)return r;const n=document.cookie.split("; ").find(t=>t.startsWith(`${e}=`));if(n)try{return r=JSON.parse(decodeURIComponent(n.split("=")[1])),r}catch(t){return r=null,null}return r=null,null},a=(e,n)=>{if(!n)return e;try{const r=new URL(e);return t.forEach(t=>{n[t]&&!r.searchParams.has(t)&&r.searchParams.set(t,n[t])}),r.toString()}catch(t){return console.error("Invalid URL:",t),e}};return{init:()=>{const i=(()=>{const e=new URLSearchParams(window.location.search),n={};return t.forEach(t=>{e.has(t)&&(n[t]=e.get(t))}),Object.keys(n).length>0?n:null})();i&&(t=>{if(!t)return;const n=new Date;n.setTime(n.getTime()+864e5);const o=encodeURIComponent(JSON.stringify(t));document.cookie=`${e}=${o}; expires=${n.toUTCString()}; path=/; SameSite=Lax`,r=t})(i);const s=o();var c;(c=s)&&document.querySelectorAll(n).forEach(t=>{t.href&&""!==t.href.trim()&&!t.href.startsWith("javascript:")&&(t.href=a(t.href,c))})}}})();var e=(()=>{let t=null,e=null,n=null,r=null;const o=e=>{r.textContent=e,t.setAttribute("aria-invalid","true"),t.focus()},a=()=>{r.textContent="",t.removeAttribute("aria-invalid")},i=n=>{n.preventDefault();if(""===t.value.trim())return void o(t.dataset.errorRequired);if(!t.checkValidity())return void o(t.dataset.errorInvalid);a();const{emailSubject:r,emailTo:i}=e?{emailSubject:e.dataset.emailSubject||"Contact",emailTo:e.dataset.emailTo||"[email protected]"}:{emailSubject:"Contact",emailTo:"[email protected]"};window.location.href=`mailto:${i}?subject=${encodeURIComponent(r)}`};return{init:()=>{t=document.querySelector("#contact-email"),e=document.querySelector("#btn-for-email"),n=e?e.closest("form"):null,r=document.querySelector("#contact-email-error"),t&&e&&n&&r&&(n.addEventListener("submit",i),t.addEventListener("input",a))}}})();var n=(()=>{let t=null,e=null,n=null,r=null;const o=()=>r.matches,a=()=>e.classList.contains("open"),i=t=>!!t&&n.contains(t),s=n=>{e.classList.toggle("open",n),t.classList.toggle("open",n),t.setAttribute("aria-expanded",n?"true":"false"),document.body.classList.toggle("has-open-menu",n)},c=({restoreFocus:n=!1}={})=>{s(!1),e.inert=o(),n&&t.focus()},l=()=>{o()?c():(s(!1),e.inert=!1)},u=t=>{t.preventDefault(),a()?c():(e.inert=!1,s(!0))},d=t=>{"Escape"===t.key&&o()&&a()&&(t.preventDefault(),c({restoreFocus:!0}))},m=t=>{o()&&a()&&!i(t.target)&&c()},h=t=>{o()&&a()&&!i(t.relatedTarget)&&c()};return{init:()=>{t=document.querySelector("#menuButton"),e=document.querySelector("#menuItems"),t&&e&&(n=t.closest(".header-menu-container")||e.parentElement,r=window.matchMedia("(max-width: 59.9375rem)"),l(),r.addEventListener("change",l),t.addEventListener("click",u),document.addEventListener("click",m),document.addEventListener("keydown",d),n.addEventListener("focusout",h))}}})();var r=(()=>{let t=null,e=null,n=null;const r=()=>e.classList.contains("open"),o=t=>!!t&&n.contains(t),a=n=>{e.classList.toggle("open",n),t.classList.toggle("open",n),t.setAttribute("aria-expanded",n?"true":"false")},i=({restoreFocus:e=!1}={})=>{a(!1),e&&t.focus()},s=t=>{t.preventDefault(),r()?i():a(!0)},c=t=>{"Escape"===t.key&&r()&&(t.preventDefault(),i({restoreFocus:!0}))},l=t=>{r()&&!o(t.target)&&i()},u=t=>{r()&&!o(t.relatedTarget)&&i()};return{init:()=>{t=document.querySelector("#dropdownButton"),e=document.querySelector("#dropdownItems"),t&&e&&(n=t.closest(".dropdown-menu-container")||e.parentElement,i(),t.addEventListener("click",s),document.addEventListener("click",l),document.addEventListener("keydown",c),n.addEventListener("focusout",u))}}})();var o={CLASS_NAME:"is-clickable-card",DATA_ATTRIBUTE:"data-is-clickable-card",DATA_ATTRIBUTE_SECONDARY_LINK:"data-is-clickable-card-secondary-link",MAX_ALLOWED_SCROLL_DISTANCE:5,MAX_ALLOWED_TIME_BETWEEN_EVENTS:200,getEventMetadata(t){return{timestamp:+new Date,verticalScrollPosition:window.scrollY,horizontalScrollPosition:t.scrollLeft}},setupIsClickableCard(t){const e=t.querySelector(":where( h1, h2, h3, h4, h5, h6, .wp-block-button ) a, .card-link");if(!e)return;t.setAttribute(this.DATA_ATTRIBUTE,"");let n,r;t.querySelectorAll(':where(button, a, [role="button"])').forEach(t=>{t!==e&&t.setAttribute(this.DATA_ATTRIBUTE_SECONDARY_LINK,"")});let o=!1;const a=e=>{"mousedown"===e.type&&o||(o="touchstart"===e.type,r=this.getEventMetadata(t))},i=a=>
1{if("mouseup"===a.type&&o)return void(o=!1);if(!r)return;n=this.getEventMetadata(t);const i=a.target.closest("button"),s=a.target.closest("a");if(i||s)return;if(n.timestamp-r.timestamp>this.MAX_ALLOWED_TIME_BETWEEN_EVENTS)return;if(Math.abs(n.verticalScrollPosition-r.verticalScrollPosition)>this.MAX_ALLOWED_SCROLL_DISTANCE)return;if(Math.abs(n.horizontalScrollPosition-r.horizontalScrollPosition)>this.MAX_ALLOWED_SCROLL_DISTANCE)return;const c=new MouseEvent("click",a);e.dispatchEvent(c)};t.addEventListener("mousedown",a),t.addEventListener("mouseup",i),t.addEventListener("touchstart",a,{passive:!0}),t.addEventListener("touchend",i,{passive:!0})},init(){const t=document.querySelectorAll(`.${this.CLASS_NAME}`);t.length&&t.forEach(t=>{this.setupIsClickableCard(t)})}};document.addEventListener("DOMContentLoaded",()=>{t.init(),e.init(),n.init(),r.init(),o.init()})}();

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.