1window.nextivaDemoFormSubmittedDataLayerBridge||(window.nextivaDemoFormSubmittedDataLayerBridge=!0,document.addEventListener("nextivaDemoFormSubmitted",(function(){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"nextivaDemoFormSubmitted"})}))),function(){if(window.nextivaHubspotFormAnalyticsBridge)return;window.nextivaHubspotFormAnalyticsBridge=!0;const e="form.hs-form, form.hs-form-private, .hbspt-form form",t=new WeakMap,n=new WeakSet;let s=null;function o(e){if(t.has(e))return t.get(e);const n={viewed:!1,started:!1};return t.set(e,n),n}function r(e,t){const n={event:e},s=function(e){const t=e.closest("[data-form-id]");return e.dataset.formId||e.getAttribute("data-form-id")||t?.getAttribute("data-form-id")||e.id||""}(t);s&&(n.hubspot_form_id=s),window.dataLayer=window.dataLayer||[],window.dataLayer.push(n)}function a(e){const t=o(e);t.viewed||(t.viewed=!0,s?.unobserve(e),r("nextivaHubspotFormViewed",e))}function i(e){if(!e.getClientRects().length)return!1;for(let t=e;t&&t!==document.documentElement;t=t.parentElement){const e=window.getComputedStyle(t);if("none"===e.display||"hidden"===e.visibility||"0"===e.opacity)return!1}return!0}function l(t){if(!(t.isTrusted&&t.target instanceof Element&&function(e){if(!e.matches("input, select, textarea")||e.disabled)return!1;const t=String(e.type||"").toLowerCase();return!["button","hidden","image","reset","submit"].includes(t)&&i(e)}(t.target)))return;const n=t.target.closest("form");if(!n||!n.matches(e))return;const s=o(n);a(n),s.started||(s.started=!0,r("nextivaHubspotFormStarted",n))}function c(t){t instanceof Element&&(t.matches(e)&&d(t),t.querySelectorAll(e).forEach(d))}function d(e){o(e).viewed||(e.closest("[data-demo-modal].is-open")?a(e):n.has(e)||(s?(n.add(e),s.observe(e)):a(e)))}function u(){"IntersectionObserver"in window&&(s=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&i(e.target)&&a(e.target)}))}),{threshold:.1})),c(document.documentElement),new MutationObserver((e=>{e.forEach((e=>{"attributes"!==e.type?e.addedNodes.forEach(c):e.target.matches("[data-demo-modal].is-open")&&c(e.target)}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["class"],childList:!0,subtree:!0})}document.addEventListener("input",l,!0),document.addEventListener("change",l,!0),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",u,{once:!0}):u()}(),window.addEventListener("message",(function(e){if("hsFormCallback"===e.data.type&&"onReady"===e.data.eventName){const e=document.querySelectorAll(".hbspt-form form, form.hs-form, form.hs-form-private");if(!e?.length)return;e.forEach((e=>{if("1"===e.dataset.nextivaHubspotFormReady)return;e.dataset.nextivaHubspotFormReady="1";const s=e.classList.contains("legacy-styles");let o=!1;const r=(e.closest(".hbspt-form")||e).querySelectorAll(".get-started-popup input.hs-input");r?.forEach((e=>{e.removeAttribute("placeholder")}));const a=e.querySelectorAll("input.hs-input"),i=e.querySelectorAll("select.hs-input"),l=e.querySelectorAll("input.hs-input, select.hs-input");function c(e){return Boolean(e&&"tel"===e.type&&e.closest(".hs-fieldtype-intl-phone"))}function d(e){if(!c(e))return!1;const t=String(e.value||"").trim();return!t||0===t.replace(/^\+\d{1,4}\s*/,"").replace(/\D/g,"").length}function u(e){return!e.value.length||d(e)}function m(e){e.closest(".hs-form-field")?.classList.toggle("nextiva-empty-field",!o&&u(e))}function f(e){!o&&u(e)&&(c(e)&&"1"===e.closest("form")?.dataset.demoSubmitted||(e.closest(".hs-form-field")?.querySelectorAll(".hs-error-msgs, .demo-error-message, .input.error-ct span.invalid.error.red").forEach((e=>{e.dataset.nextivaEmptyErrorHidden="1",e.style.setProperty("display","none","important")})),e.closest(".hs-form-field")?.classList.remove("hs-error"),e.classList.remove("error","invalid"),e.removeAttribute("aria-invalid")))}function v(e){e.closest(".hs-form-field")?.querySelectorAll('[data-nextiva-empty-error-hidden="1"]').forEach((e=>{e.style.removeProperty("display"),delete e.dataset.nextivaEmptyErrorHidden}))}function h(){o=!0,l.forEach(m),l.forEach(v)}a?.forEach((e=>{if(e?.addEventListener("input",(function(){const t=e.closest(".hs-form-field")?.querySelector("label");m(e),e.value.length&&!d(e)||o?v(e):f(e),e.value.length>0&&!d(e)?(e.classList.add("valid"),e.closest(".get-started-popup")&&t&&(t.style.display="none")):(e.classList.remove("valid"),e.closest(".get-started-popup")&&t&&(t.style.display=""))})),e?.addEventListener("focus",(function(){const t=e.closest(".hs-form-field")?.querySelector("label");m(e),!t||e.value.length||s?t&&e.value.length&&s?t.classList.add("focus-label"):t&&!e.value.length&&s&&(t.classList.add("active"),t.classList.add("focus-label")):t.classList.add("active")})),e?.addEventListener("blur",(function(){const t=e.closest(".hs-form-field")?.querySelector("label");m(e),f(e),window.setTimeout((()=>{f(e)}),0),t&&0===e.value.length&&!s?(t.classList.remove("active"),t.classList.remove("focus-label")):t&&e.value.length>0&&!s||s&&t&&e.value.length>0?(t.classList.add("active"),t.classList.remove("focus-label")):s&&t&&0===e.value.length&&t.classList.remove("focus-label")})),e.value.length>0){const t=e.closest(".hs-form-field")?.querySelector("label");t&&t.classList.add("active")}m(e)})),i?.forEach((e=>{function n(){e.value||(m(e),o?t(e):f(e),document.removeEventListener("click",n))}m(e),e.value&&e.classList.add("valid"),e.addEventListener("click",(function(){document.removeEventListener("click",n),document.addEventListener("click",n)})),e.addEventListener("change",(function(){const n=e.closest(".hs-form-field"),s=n?.querySelector(".hs-error-msgs");m(e),e.value?(e.classList.add("valid"),s&&setTimeout((()=>{s.remove(),e.classList.add("valid")}),200)):o?t(e):f(e)})),e.addEventListener("focus",(function(){const t=e.closest(".input");t?.classList?.toggle("open")})),e.addEventListener("blur",(function(){const t=e.closest(".input");t?.classList?.toggle("open"),m(e),o||f(e)}))})),e.addEventListener("submit",h);const p=e.querySelector(".actions input[type='submit']");
1p?.addEventListener("click",(function(o){if(h(),i.forEach((e=>{e.value||t(e)})),s){let e=!1;a.forEach((t=>{const n=t.closest(".hs-form-field")?.querySelector("label");n&&!t.value.length&&s&&n.classList.add("active"),window.setTimeout((()=>{!e&&t.classList.contains("invalid")&&(e=!0,t.focus())}),100)}))}const r=e.querySelector("input[name='firstname']"),l=e.querySelector("input[name='email']"),c=e.querySelector("input[name='company']"),d=r?.value.trim(),u=c?.value.trim(),m=l?.value.trim();d&&n("form_name",d,600),u&&n("form_company",u,600),m&&n("form_email",m,600)}))}))}function t(e){const t=e.closest(".hs-form-field");if(!t.querySelector(".hs-error-msgs")){const n=document.createElement("ul");n.className="hs-error-msgs inputs-list",n.setAttribute("role","alert");const s=document.createElement("li"),o=document.createElement("label");o.className="hs-error-msg",o.textContent="Please complete this required field.",s.appendChild(o),n.appendChild(s),t.appendChild(n),e.classList.add("invalid"),e.classList.remove("valid")}}function n(e,t,n){const s=new Date(Date.now()+1e3*n).toUTCString(),o=window.location.hostname;document.cookie=`${e}=${encodeURIComponent(t)}; path=/; domain=${o}; expires=${s}; SameSite=Lax`}}));
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.