PageSourceSearch

https://buildots.com/wp-content/themes/baseline/dist/frontend.js?ver=1790262819

js buildots.com collected 2026-09-25 18:46:49 UTC 15,567 bytes, 1 lines download raw bytes

1(()=>{var e,t,r,i={837(){const e=new WeakMap;function t(e){return Array.from(e.querySelectorAll('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea'))}function r(e,t){const r=new Set((e||"").split(/\s+/).filter(Boolean));return r.add(t),Array.from(r).join(" ")}function i(e){!function(e){t(e).forEach(t=>{if(t.getAttribute("aria-label")||t.getAttribute("aria-labelledby"))return;const r=function(e,t){if(e.id){const r=Array.from(t.querySelectorAll("label")).find(t=>t.getAttribute("for")===e.id),i=r?.textContent?.trim();if(i)return i.replace(/\s*\*$/,"").trim()}const r=e.closest("label"),i=r?.textContent?.trim();if(i)return i.replace(/\s*\*$/,"").trim();const n=e.closest(".hs-form-field")?.querySelector("label:not(.hs-error-msg)"),o=n?.textContent?.trim();if(o)return o.replace(/\s*\*$/,"").trim();if("SELECT"===e.tagName){const r=function(e,t){if(e.id){const r=Array.from(t.querySelectorAll("label")).find(t=>t.getAttribute("for")===e.id),i=r?.textContent?.trim();if(i)return i}const r=e.querySelector('option[value=""]')||e.querySelector("option[disabled]"),i=r?.textContent?.trim();return i?i.replace(/\s*\*$/,"").trim():""}(e,t);if(r)return r}const s=e.getAttribute("placeholder")?.trim();if(s)return s.replace(/\s*\*$/,"").trim();const a=e.getAttribute("name")?.trim();return a?a.replace(/[_-]+/g," ").replace(/\s+/g," ").trim().replace(/\b\w/g,e=>e.toUpperCase()):""}(t,e);r&&t.setAttribute("aria-label",r)})}(e),function(e){t(e).forEach(e=>{(function(e,t){if(t.required||"true"===t.getAttribute("aria-required"))return!0;const r=e?.querySelector(".hs-form-required"),i=e?.querySelector("label:not(.hs-error-msg)");return Boolean(r||i?.textContent?.includes("*"))})(e.closest(".hs-form-field"),e)&&"true"!==e.getAttribute("aria-required")&&e.setAttribute("aria-required","true")})}(e),function(e){e.querySelectorAll(".hs-form-field").forEach((t,i)=>{const n=t.querySelector('input:not([type="hidden"]):not([type="submit"]):not([type="button"]), select, textarea');if(!n)return;const o=t.querySelector(".hs-error-msgs, .hs-error-msg"),s=o?.textContent?.trim(),a=n.dataset.baselineErrorId;if(!s){if(a){const e=(l=n.getAttribute("aria-describedby"),u=a,(l||"").split(/\s+/).filter(e=>e&&e!==u).join(" "));e?n.setAttribute("aria-describedby",e):n.removeAttribute("aria-describedby"),delete n.dataset.baselineErrorId}return void("true"===n.getAttribute("aria-invalid")&&n.removeAttribute("aria-invalid"))}var l,u;o.id||(o.id=`${e.id||"hubspot-form"}-error-${i}`),"alert"!==o.getAttribute("role")&&o.setAttribute("role","alert"),"true"!==n.getAttribute("aria-invalid")&&n.setAttribute("aria-invalid","true");const d=r(n.getAttribute("aria-describedby"),o.id);n.getAttribute("aria-describedby")!==d&&n.setAttribute("aria-describedby",d),n.dataset.baselineErrorId!==o.id&&(n.dataset.baselineErrorId=o.id)})}(e)}function n(e){const t=e.querySelector("[data-baseline-form-status]");if(t)return t;const i=e.ownerDocument.createElement("div");i.id=`${e.id}-status`,i.className="sr-only",i.setAttribute("role","status"),i.setAttribute("aria-live","polite"),i.setAttribute("aria-atomic","true"),i.setAttribute("data-baseline-form-status","true"),e.prepend(i);const n=r(e.getAttribute("aria-describedby"),i.id);return e.setAttribute("aria-describedby",n),i}function o(e,t){const r=n(e);r.textContent="",e.ownerDocument.defaultView.setTimeout(()=>{r.textContent=t},50)}function s(e,t){e.setAttribute("aria-busy",t?"true":"false")}const a=new IntersectionObserver(t=>{t.forEach(t=>{if(!t.isIntersecting)return;const r=t.target;n(r),s(r,!0),o(r,`Loading ${r.dataset.formLabel||"form"}.`),function(t,r){const i=function(t){return e.has(t)||e.set(t,{loading:!1,loaded:!1,queue:[]}),e.get(t)}(t);if(i.loaded)return void r();if(i.queue.push(r),i.loading)return;i.loading=!0;const n=t.createElement("script");n.src="https://js-eu1.hsforms.net/forms/embed/v2.js",n.async=!0,n.onload=()=>{i.loaded=!0,i.queue.forEach(e=>e()),i.queue=[]},t.body.appendChild(n)}(r.ownerDocument,()=>function(e){if(e.dataset.formRendered)return;const t=e.dataset.portalId,r=e.dataset.formId;if(!t||!r)return;const n=e.ownerDocument.defaultView;n.hbspt.forms.create({portalId:t,formId:r,target:`#${e.id}`,onFormReady(){s(e,!1),i(e),function(e){if("true"===e.dataset.formAccessibilityObserved)return;e.dataset.formAccessibilityObserved="true";let t=null;new e.ownerDocument.defaultView.MutationObserver(()=>{t&&e.ownerDocument.defaultView.cancelAnimationFrame(t),t=e.ownerDocument.defaultView.requestAnimationFrame(()=>{i(e)})}).observe(e,{attributes:!0,childList:!0,subtree:!0})}(e),o(e,`${e.dataset.formLabel||"Form"} is ready.`),e.dispatchEvent(new n.CustomEvent("hsform:ready",{bubbles:!0,detail:{formId:r}}))},onFormSubmit(){i(e),o(e,"Submitting form.")},onFormSubmitted(t,a){e.dataset.formSubmitted="true",s(e,!1),i(e),o(e,"Form submitted successfully."),e.dispatchEvent(new n.CustomEvent("hsform:submitted",{bubbles:!0,detail:{formId:r,data:a}}))}}),e.dataset.formRendered="true"}(r)),a.unobserve(r)})},{rootMargin:"300px"});window.BaselineForms={init:function(e=document){const t=e.querySelectorAll(".baseline-hubspot-form");t.length&&t.forEach((e,t)=>{e.dataset.formObserved||(e.dataset.formObserved="true",e.id||(e.id=`hubspot-form-${t}`),n(e),a.observe(e))})}}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};
1return i[e].call(r.exports,r,r.exports,o),r.exports}o.m=i,o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(r,i){if(1&i&&(r=this(r)),8&i)return r;if("object"==typeof r&&r){if(4&i&&r.__esModule)return r;if(16&i&&"function"==typeof r.then)return r}var n=Object.create(null);o.r(n);var s={};e=e||[null,t({}),t([]),t(t)];for(var a=2&i&&r;("object"==typeof a||"function"==typeof a)&&!~e.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach(e=>s[e]=()=>r[e]);return s.default=()=>r,o.d(n,s),n},o.d=(e,t)=>{for(var r in t)o.o(t,r)&&!o.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce((t,r)=>(o.f[r](e,t),t),[])),o.u=e=>e+"."+{42:"91bff0f44bd060faa74d",119:"e2770cfcffe2be3ebae0"}[e]+".js",o.miniCssF=e=>e+".css",o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o.l=(e,t,i,n)=>{if(r[e])r[e].push(t);else{var s,a;if(void 0!==i)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var d=l[u];if(d.getAttribute("src")==e){s=d;break}}s||(a=!0,(s=document.createElement("script")).charset="utf-8",o.nc&&s.setAttribute("nonce",o.nc),s.src=e),r[e]=[t];var c=(t,i)=>{s.onerror=s.onload=null,clearTimeout(h);var n=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach(e=>e(i)),t)return t(i)},h=setTimeout(c.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=c.bind(null,s.onerror),s.onload=c.bind(null,s.onload),a&&document.head.appendChild(s)}},o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.p="/wp-content/themes/baseline/dist/",(()=>{if("undefined"!=typeof document){var e={343:0};o.f.miniCss=(t,r)=>{e[t]?r.push(e[t]):0!==e[t]&&{119:1}[t]&&r.push(e[t]=(e=>new Promise((t,r)=>{var i=o.miniCssF(e),n=o.p+i;if(((e,t)=>{for(var r=document.getElementsByTagName("link"),i=0;i<r.length;i++){var n=(s=r[i]).getAttribute("data-href")||s.getAttribute("href");if("stylesheet"===s.rel&&(n===e||n===t))return s}var o=document.getElementsByTagName("style");for(i=0;i<o.length;i++){var s;if((n=(s=o[i]).getAttribute("data-href"))===e||n===t)return s}})(i,n))return t();((e,t,r,i,n)=>{var s=document.createElement("link");s.rel="stylesheet",s.type="text/css",o.nc&&(s.nonce=o.nc),s.onerror=s.onload=r=>{if(s.onerror=s.onload=null,"load"===r.type)i();else{var o=r&&r.type,a=r&&r.target&&r.target.href||t,l=new Error("Loading CSS chunk "+e+" failed.\n("+o+": "+a+")");l.name="ChunkLoadError",l.code="CSS_CHUNK_LOAD_FAILED",l.type=o,l.request=a,s.parentNode&&s.parentNode.removeChild(s),n(l)}},s.href=t,document.head.appendChild(s)})(e,n,0,t,r)}))(t).then(()=>{e[t]=0},r=>{throw delete e[t],r}))}}})(),(()=>{var e={343:0};o.f.j=(t,r)=>{var i=o.o(e,t)?e[t]:void 0;if(0!==i)if(i)r.push(i[2]);else{var n=new Promise((r,n)=>i=e[t]=[r,n]);r.push(i[2]=n);var s=o.p+o.u(t),a=new Error;o.l(s,r=>{if(o.o(e,t)&&(0!==(i=e[t])&&(e[t]=void 0),i)){var n=r&&("load"===r.type?"missing":r.type),s=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+n+": "+s+")",a.name="ChunkLoadError",a.type=n,a.request=s,i[1](a)}},"chunk-"+t,t)}};var t=(t,r)=>{var i,n,[s,a,l]=r,u=0;if(s.some(t=>0!==e[t])){for(i in a)o.o(a,i)&&(o.m[i]=a[i]);l&&l(o)}for(t&&t(r);u<s.length;u++)n=s[u],o.o(e,n)&&e[n]&&e[n][0](),e[n]=0},r=globalThis.webpackChunk=globalThis.webpackChunk||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),(()=>{"use strict";const e=window.wp.domReady;var t=o.n(e);function r(e){const t=e.dataset.src;if(!t)return;if(e.querySelector("source"))return;const r=document.createElement("source");r.src=t,r.type="video/mp4",e.appendChild(r),e.removeAttribute("data-src"),e.load()}const i=[".blog-post-article .bottom-wrap h6",".intelligence-lab-article .bottom-wrap h6"].join(", "),n=[{selector:".form-wrap > h5.wp-block-heading",level:2}],s=e=>{if(e.scrollWidth>e.clientWidth+1)return e.hasAttribute("tabindex")||e.setAttribute("tabindex","0"),e.setAttribute("role","regi
1on"),void e.setAttribute("aria-label",(e=>{const t=e.querySelector("figcaption");return t&&t.textContent.trim()?t.textContent.trim():"Scrollable table"})(e));"region"===e.getAttribute("role")&&(e.removeAttribute("role"),e.removeAttribute("aria-label"),e.removeAttribute("tabindex"))},a=(e=document)=>{const t=Array.from(e.querySelectorAll("main .wp-block-table"));return t.forEach(s),t};o(837);class l{constructor(e,t={}){e&&Element.prototype.closest&&"IntersectionObserver"in window&&(this._motionQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this._motionQuery.matches||(this._onMotionChange=e=>{e.matches&&this.destroy()},this._motionQuery.addEventListener("change",this._onMotionChange),this.els=[...document.querySelectorAll(e)],this.els.length&&(this.speed=t.speed??.1,this.ease=t.ease??.07,this.scale=t.scale??1,this.currents=this.els.map(()=>0),this.rafIds=this.els.map(()=>null),this.visible=new Set,this._onScroll=()=>{this.visible.forEach(e=>this.scheduleTick(e))},this._onResize=()=>{clearTimeout(this._resizeTimer),this._resizeTimer=setTimeout(()=>this._handleResize(),200)},this.init())))}lerp(e,t,r){return e+(t-e)*r}_parseAttr(e,t){const r=parseFloat(e);return isNaN(r)?t:r}tick(e,t){const r=this._parseAttr(e.dataset.spSpeed,this.speed),i=this._parseAttr(e.dataset.spEase,this.ease),n=this._parseAttr(e.dataset.spScale,this.scale),o=e.getBoundingClientRect(),s=(o.top+o.height/2-window.innerHeight/2)*r*-1;this.currents[t]=this.lerp(this.currents[t],s,i),e.style.transform=`translateY(${this.currents[t].toFixed(2)}px) scale(${n})`,Math.abs(s-this.currents[t])>.5?this.rafIds[t]=requestAnimationFrame(()=>this.tick(e,t)):(this.currents[t]=s,this.rafIds[t]=null)}scheduleTick(e){!this.rafIds[e]&&this.visible.has(e)&&(this.rafIds[e]=requestAnimationFrame(()=>this.tick(this.els[e],e)))}_handleResize(){this.currents=this.els.map(()=>0),this.visible.forEach(e=>this.scheduleTick(e))}init(){this._indexMap=new Map(this.els.map((e,t)=>
1[e,t])),this.els.forEach(e=>{e.style.willChange="transform"});const e=new IntersectionObserver(e=>{e.forEach(e=>{const t=this._indexMap.get(e.target);void 0!==t&&(e.isIntersecting?(this.visible.add(t),this.scheduleTick(t)):(this.visible.delete(t),this.rafIds[t]&&(cancelAnimationFrame(this.rafIds[t]),this.rafIds[t]=null)))})},{rootMargin:"0px"});this.els.forEach(t=>e.observe(t)),this.observer=e,window.addEventListener("scroll",this._onScroll,{passive:!0}),window.addEventListener("resize",this._onResize,{passive:!0})}destroy(){this.observer&&this.observer.disconnect(),this.rafIds.forEach(e=>e&&cancelAnimationFrame(e)),this.els.forEach(e=>{e.style.transform="",e.style.willChange=""}),window.removeEventListener("scroll",this._onScroll),window.removeEventListener("resize",this._onResize),this._motionQuery&&this._onMotionChange&&this._motionQuery.removeEventListener("change",this._onMotionChange),clearTimeout(this._resizeTimer)}}const u=".cookie-preferences-li a, a[href='#cookieprefs']",d=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(",");function c(e){if(!e)return!1;const t=window.getComputedStyle(e),r=e.getBoundingClientRect();return"none"!==t.display&&"hidden"!==t.visibility&&r.width>0&&r.height>0}function h(){return Array.from(document.querySelectorAll('#CybotCookiebotDialog, [id^="CybotCookiebotDialog"]')).find(c)||null}function f(e){let t=0;const r=()=>{!function(){const e=h();return!!e&&(e.hasAttribute("tabindex")||e.setAttribute("tabindex","-1"),(e.querySelector(d)||e).focus({preventScroll:!0}),!0)}()?(t+=1,t<20?window.setTimeout(r,100):e.setAttribute("aria-expanded","false")):function(e){const t=new MutationObserver(()=>{h()||function(e,t){t.disconnect(),e.setAttribute("aria-expanded","false"),document.body.contains(e)&&e.focus({preventScroll:!0})}(e,t)});t.observe(document.body,{attributes:!0,attributeFilter:["style","class","aria-hidden"],childList:!0,subtree:!0})}(e)};r()}t()(async()=>{if(window.BaselineForms.init(),((e=document)=>{e.querySelectorAll(i).forEach(e=>{e.setAttribute("role","presentation"),e.removeAttribute("aria-level")}),n.forEach(({selector:t,level:r})=>{e.querySelectorAll(t).forEach(e=>{e.setAttribute("role","heading"),e.setAttribute("aria-level",String(r))})});const t=Array.from(e.querySelectorAll("main h1, main h2, main h3, main h4, main h5, main h6")).filter(e=>(e=>{if(e.hidden||e.closest('[hidden], [aria-hidden="true"], [inert]'))return!1;const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility)return!1;const r=e.getBoundingClientRect();return r.width>0&&r.height>0})(e)&&"presentation"!==e.getAttribute("role"));let r=0,o=0;t.forEach(e=>{const t=(e=>{const t=Number.parseInt(e.getAttribute("aria-level"),10);return Number.isInteger(t)&&t>=1&&t<=6?t:Number.parseInt(e.tagName.slice(1),10)})(e);let i=t;t===o?i=r:r>0&&t>r+1&&(i=r+1),i!==t&&(e.setAttribute("role","heading"),e.setAttribute("aria-level",String(i))),o=t,r=i})})(),a(),document.querySelectorAll(u).forEach(e=>{e.setAttribute("aria-haspopup","dialog"),e.setAttribute("aria-expanded","false")}),function(e=document,t={}){const{disableLazy:i=!1}=t,n=e.querySelectorAll("video[data-src]");if(!n.length)return;if(i)return void n.forEach(e=>r(e));const o=new IntersectionObserver((e,t)=>{e.forEach(e=>{if(!e.isIntersecting)return;const i=e.target;r(i),i.hasAttribute("autoplay")&&(i.muted=!0,i.play().catch(()=>{})),t.unobserve(i)})},{root:null,rootMargin:"0px 0px 200px 0px",threshold:.1});n.forEach(e=>o.observe(e))}(),new l(".parallax-item"),!window.matchMedia("(prefers-reduced-motion: reduce)").matches){const e=(await o.e(42).then(o.t.bind(o,42,23))).default;await o.e(119).then(o.bind(o,119)),e.init({duration:1e3,once:!0})}let e;window.addEventListener("resize",function(){window.clearTimeout(e),e=window.setTimeout(a,200)}),document.addEventListener("click",function(e){const t=e.target.closest(u);t&&(e.preventDefault(),e.stopPropagation(),"undefined"!=typeof Cookiebot&&"function"==typeof Cookiebot.show&&(t.setAttribute("aria-expanded","true"),Cookiebot.show(),f(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.