PageSourceSearch

https://www.booker.com/sites/default/files/public/js/js_vYIckn29mk…bnFOrmZeSlJ-SmV-uk5-UmJObpZSEK5iRUgNgC_Ixcs

js booker.com collected 2026-10-01 10:37:02 UTC 73,811 bytes, 4 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function($,Drupal){'use strict';Drupal.behaviors.marketoMunchkin={attach:function(context,settings){const init=function(){let config=getMunchkinID();let cookiesAccepted=true;if(typeof GDPR!=='undefined')cookiesAccepted=GDPR.cookiesAccepted();if(cookiesAccepted&&typeof Munchkin!=='undefined'&&config){let result=Munchkin.init(config);return result;}else{if(!cookiesAccepted){let domain="."+document.domain;document.cookie='_mkto_trk=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/; domain='+domain;}}};const getMunchkinID=function(){if(typeof (settings.marketoForms)!='undefined'&&typeof (settings.marketoForms.munchkinId)!='undefined'&&settings.marketoForms.munchkinId)return settings.marketoForms.munchkinId;if(typeof (settings.marketoForms)!='undefined'&&settings.marketoForms){for(let key in settings.marketoForms)if(settings.marketoForms.hasOwnProperty(key)&&typeof (settings.marketoForms[key])==='object'&&settings.marketoForms[key]!==null&&settings.marketoForms[key].munchkinId)return settings.marketoForms[key].munchkinId;}return false;};if(typeof GDPR!=='undefined'&&!GDPR.initialisationComplete)$(window).on("gdpr:load",function(){init();});else init();}};})(jQuery,Drupal);;
3(function($,Drupal){"use strict";Drupal.marketoForms=Drupal.marketoForms||{};Drupal.marketoForms.loadedForms=Drupal.marketoForms.loadedForms||[];Drupal.marketoForms.scriptsLoaded=Drupal.marketoForms.scriptsLoaded||false;
3const SALES_INQUIRY_EN=1311;const SALES_INQUIRY_ES=1317;const SALES_INQUIRY_FR=1318;const SALES_INQUIRY_DE=1319;const SALES_INQUIRY_IT=2985;const SALES_INQUIRY_PAID_SOCIAL=3481;const SALES_INQUIRY_STEP2_EN=3307;const SALES_INQUIRY_STEP2_ES=3515;const SALES_INQUIRY_STEP2_FR=3507;const SALES_INQUIRY_STEP2_DE=3510;const SALES_INQUIRY_STEP2_IT=3514;const SALES_INQUIRY_STEP2_PAID_SOCIAL=3482;const MULTI_STEP_FORM=1560;const CHILIPIPER_RESPONSE=3196;const SALES_INQUIRY_STANDARD_FORMS=[SALES_INQUIRY_EN,SALES_INQUIRY_ES,SALES_INQUIRY_FR,SALES_INQUIRY_DE,SALES_INQUIRY_IT];const CHILIPIPER_FORMS=[MULTI_STEP_FORM,...SALES_INQUIRY_STANDARD_FORMS,SALES_INQUIRY_PAID_SOCIAL];const STEP2_FORM_MAP={[SALES_INQUIRY_EN]:SALES_INQUIRY_STEP2_EN,[SALES_INQUIRY_ES]:SALES_INQUIRY_STEP2_ES,[SALES_INQUIRY_FR]:SALES_INQUIRY_STEP2_FR,[SALES_INQUIRY_DE]:SALES_INQUIRY_STEP2_DE,[SALES_INQUIRY_IT]:SALES_INQUIRY_STEP2_IT,[SALES_INQUIRY_PAID_SOCIAL]:SALES_INQUIRY_STEP2_PAID_SOCIAL};const LIBRARY_HOST_TIMEOUT_MS=8000;const FORMS2_PATH="/js/forms2/js/forms2.min.js";const waitForLibrary=function(timeoutMs,hasFailed){return new Promise(function(resolve,reject){const deadline=Date.now()+timeoutMs;(function poll(){if(typeof window.MktoForms2!=="undefined")resolve();else if(hasFailed()||Date.now()>=deadline)reject();else setTimeout(poll,100);})();});};const loadLibraryFrom=function(host){let failed=false;const script=document.createElement("script");script.src=host+FORMS2_PATH;script.async=true;script.onerror=function(){failed=true;};document.head.appendChild(script);return waitForLibrary(LIBRARY_HOST_TIMEOUT_MS,function(){return failed;});};const noticeLibraryError=function(message){if(typeof newrelic!=="undefined")newrelic.noticeError(new Error(message));};Drupal.marketoForms.libraryReady=Drupal.marketoForms.libraryReady||null;const loadLibrary=function(){if(Drupal.marketoForms.libraryReady)return Drupal.marketoForms.libraryReady;const settings=(typeof drupalSettings!=="undefined"&&drupalSettings.marketoForms)||{};const firstConfig=Object.values(settings).find(function(config){return config&&config.formId;})||{};const primaryHost=firstConfig.instanceHost;const alternativeHost=firstConfig.alternativeInstanceHost;const primaryFailed=function(){return window.mktoForms2LoadFailed===true;};Drupal.marketoForms.libraryReady=waitForLibrary(LIBRARY_HOST_TIMEOUT_MS,primaryFailed).then(function(){return primaryHost;},function(){noticeLibraryError("MktoForms2 failed to load: "+primaryHost);if(!alternativeHost)throw new Error("No alternative Marketo host configured");return loadLibraryFrom(alternativeHost).then(function(){return alternativeHost;},function(){noticeLibraryError("MktoForms2 failed to load: "+alternativeHost);throw new Error("MktoForms2 unavailable from every host");});});return Drupal.marketoForms.libraryReady;};Drupal.marketoForms.whenLibraryReady=function(onReady,onFail){loadLibrary().then(onReady,onFail||function(){});};Drupal.behaviors.marketoForms={attach:function(context,settings){const getMarketoFormsSettings=function(){if(typeof settings.marketoForms!=="undefined"&&settings.marketoForms)return settings.marketoForms;return [];};const init=function(marketoConfig){let $formInstances=$("form."+marketoConfig.htmlClass,context);if($formInstances.length)injectMarketoForms(marketoConfig);MktoForms2.whenReady(function(form){let formId=form.getId();let $form=form.getFormElem();if(CHILIPIPER_FORMS.includes(formId))MktoForms2.loadForm(marketoConfig.instanceHost,marketoConfig.munchkinId,CHILIPIPER_RESPONSE);if(formId===CHILIPIPER_RESPONSE)form.onSuccess(function(){return false;});if(!$form.hasClass("processed-marketo")){processFormFields(form);$form.addClass("processed-marketo");}if(document.Cookie){let geolocationCookie=document.Cookie.read("STYXKEY_mbGeolocation");let geolocationInfo=geolocationCookie?safeJsonParse(geolocationCookie):null;let businessModeUserCookie=document.Cookie.read("BusinessModeUser");let clientId=businessModeUserCookie?(safeJsonParse(businessModeUserCookie)||{}).cid||null:null;if(geolocationInfo){prefillFromCookies($form,geolocationInfo,clientId);handleOptInCheckboxVisibility(geolocationInfo);}else document.addEventListener("geoDataLoaded",function(){geolocationCookie=document.Cookie.read("STYXKEY_mbGeolocation");geolocationInfo=geolocationCookie?safeJsonParse(geolocationCookie):null;
3if(geolocationInfo){prefillFromCookies($form,geolocationInfo,clientId);handleOptInCheckboxVisibility(geolocationInfo);}},{once:true});}$form.trigger("whenFormElRendered"+$form.attr("data-form-id"));if(marketoConfig.removeSourceStyles)removeMarketoSourceStylesheets(form);if(!Drupal.marketoForms.scriptsLoaded){Drupal.marketoForms.scriptsLoaded=true;$.getScript("/modules/custom/e3_marketo-master/js/e3_marketo_validation.js");$.getScript("/modules/custom/e3_marketo-master/js/tealiumSubmit.js");}});};const injectMarketoForms=function(marketoConfig){let arrayFrom=Function.prototype.call.bind(Array.prototype.slice);let marketoFormDataAttr="data-form-id";MktoForms2.whenRendered(function(form){let formEl=form.getFormElem()[0];let randomSuffix="_"+new Date().getTime()+Math.random();arrayFrom(formEl.querySelectorAll("label[for]")).forEach(function(labelEl){let forEl=formEl.querySelector('[id="'+labelEl.htmlFor+'"]');if(forEl)labelEl.htmlFor=forEl.id=forEl.id+randomSuffix;});});let loadForm=MktoForms2.loadForm.bind(MktoForms2,marketoConfig.instanceHost,marketoConfig.munchkinId,marketoConfig.formId);let formEls=arrayFrom($("form["+marketoFormDataAttr+"="+marketoConfig.formId+"]:not(.mktoHasWidth)"));let seenInstances=[];formEls=formEls.filter(function(element){let dataInstance=element.getAttribute("data-instance");if(dataInstance&&seenInstances.indexOf(dataInstance)>-1)return false;seenInstances.push(dataInstance);return true;});(function loadFormCb(formEls){let formEl=formEls.shift();if(typeof formEl!=="undefined"){let dataInstance=formEl.getAttribute("data-instance");formEl.id="mktoForm_"+marketoConfig.formId;if($("form#marketo-form-"+marketoConfig.formId+"-"+dataInstance).length<1&&Drupal.marketoForms.loadedForms.indexOf(marketoConfig.formId+"-"+dataInstance)===-1)loadForm(function(form){Drupal.marketoForms.loadedForms.push(marketoConfig.formId+"-"+dataInstance);formEl.id="marketo-form-"+marketoConfig.formId+"-"+dataInstance;marketoFormPostLoad(form,marketoConfig,dataInstance);if(formEls.length>0)loadFormCb(formEls);});}})(formEls);};const marketoHandleError=function(marketoConfig){let $form=$("form."+marketoConfig.htmlClass,context);if($form.length>0&&typeof marketoConfig.loadErrorMessage!=="undefined"){let $formWrapper=$form.parent(marketoConfig.formWrapper);$formWrapper.addClass("no-marketo").addClass("mktoFallbackMessage");$form.replaceWith(marketoConfig.loadErrorMessage);$formWrapper.closest(".marketo-steps-wrapper").removeClass("hidden");}};const processFormFields=function(form){form.getFormElem().find(".mktoField").each(function(){let $field=$(this);let fieldName=$field.attr("name");if(typeof fieldName!=="undefined")$field.parents(".mktoFormRow").addClass("mktoField"+fieldName);if($field.is("input:not([type=checkbox]):not([type=radio])"))setInputStateTracker($field);if($field.is("select")){$field.parents(".mktoFieldWrap").addClass("marketo-form-item");setSelectStateTracker($field);}if($field.is("select[multiple=multiple]"))$field.parents(".mktoFieldWrap").addClass("marketo-multiple-select");if($field.is("textarea")){$field.parents(".mktoFieldWrap").addClass("marketo-form-item");setInputStateTracker($field);}if($field.is("input[type=checkbox]"))$field.parents(".mktoFieldWrap").addClass("marketo-checkbox");if($field.is("input[type=radio]")){$field.parents(".mktoFieldWrap").addClass("marketo-radio");$field.next('label').addBack('input').wrapAll('<span class="marketo-radio-wrapper">');}});};const setInputStateTracker=function(input){let $wrapper=input.parents(".mktoFieldWrap").addClass("marketo-form-item");let events="propertychange change paste input";input.on("focus",function(){$wrapper.addClass("marketo-focus-form-item");}).on("blur",function(){$wrapper.removeClass("marketo-focus-form-item");});input.on(events,function(){if(this.value===""||this.value.length<1)$wrapper.removeClass("has-value");else $wrapper.addClass("has-value");});if(input[0].value)$wrapper.addClass("has-value");};const setSelectStateTracker=function(select){let $wrapper=select.parents(".mktoFieldWrap").addClass("marketo-form-item");select.on("focus",function(){$wrapper.addClass("marketo-focus-form-item");}).on("blur",function(){$wrapper.removeClass("marketo-focus-form-item");});select.on("change",function(){$wrapper.addClass("has-value");});if(select[0].value)$wrapper.addClass("has-value");};const safeJsonParse=function(jsonString){try{return JSON.parse(jsonString);}catch(e){if(typeof newrelic!=="undefined")newrelic.noticeError('Failed to parse JSON: '+e.message);return null;}};
3const prefillFromCookies=function($form,geolocationInfo,clientId){const cookieToMarketoFieldMap={"visit_utm_source":"UTM_Source__c","visit_utm_medium":"UTM_Medium__c","visit_utm_campaign":"UTM_Ad_Campaign__c","visit_utm_term":"UTM_Ad_Keyword__c","visit_utm_content":"UTM_Content__c","visit_ad_group":"UTM_Ad_Group__c","visit_gclid":"GCLID__c","visit_im_ref":"Impact_clickId__c"};for(let cookieName in cookieToMarketoFieldMap){let cookieValue=document.Cookie.read(cookieName);let marketoField=cookieToMarketoFieldMap[cookieName];if(marketoField&&cookieValue)$form.find("[name='"+marketoField+"']").val(cookieValue);}if(geolocationInfo){if(geolocationInfo.postalCode)$form.find("[name='inferredPostalCodeTealium']").val(geolocationInfo.postalCode);if(geolocationInfo.countryName)$form.find("[name='InferredCountry']").val(geolocationInfo.countryName);}if(clientId)$form.find("[name='clientID']").val(clientId);};const handleOptInCheckboxVisibility=function(geolocationInfo){const countriesWithImpliedConsent=["us","au","br","mx","pr","de","nl","ar","at","be","bg","cy","cz","dk","eg","id","it","lt","lu","ng","no","pk","pl","ph","pt","qa","ro","sa","ch","tr"];let hideOptIn=geolocationInfo&&countriesWithImpliedConsent.includes(geolocationInfo.isoCode);if(!hideOptIn)document.querySelectorAll(".mktoFieldunsubscribeConfirmation").forEach(function(el){el.classList.add("reveal");});};const marketoFormPostLoad=function(form,marketoConfig,dataInstance){let instanceConfig=marketoConfig[dataInstance];if(instanceConfig.hiddenFields)form.addHiddenFields(instanceConfig.hiddenFields);form.onSubmit(function(form){handleOnSubmit(form);});form.onSuccess(function(values,followUpUrl){return handleOnSuccess(form,values,followUpUrl,instanceConfig,marketoConfig,dataInstance);});};const handleOnSubmit=function(form){const values=form.getValues()||{};if(values.hasOwnProperty('URL_of_Last_Form_Submitted__c')){const urlValue=window.location.href.replace(/^https?:\/\//i,'');form.vals({URL_of_Last_Form_Submitted__c:urlValue});}const companyName=(values.Company||'').trim().toLowerCase();const firstName=(values.FirstName||'').trim().toLowerCase();const lastName=(values.LastName||'').trim().toLowerCase();form.vals({unsupported:'false'});if(companyName&&(companyName===firstName||companyName===lastName))form.vals({unsupported:'true'});};const handleOnSuccess=function(form,values,followUpUrl,instanceConfig,marketoConfig,dataInstance){let formId=form.getId();if(formId===MULTI_STEP_FORM)activateChiliPiper(values);if(SALES_INQUIRY_STANDARD_FORMS.includes(formId)||formId===SALES_INQUIRY_PAID_SOCIAL)if(!window.twoStepSalesInquiryActivated)activateChiliPiper(values);$(once('marketo-submitted',document,context)).trigger("marketoSubmit",[form,values,followUpUrl]);if(instanceConfig.submissionCallbacks){for(let callbackKey in instanceConfig.submissionCallbacks){if(!instanceConfig.submissionCallbacks.hasOwnProperty(callbackKey))continue;let callbackName=instanceConfig.submissionCallbacks[callbackKey];if(typeof Drupal.behaviors.marketoForms[callbackName]==="function")Drupal.behaviors.marketoForms[callbackName](form,marketoConfig,values,dataInstance);}}let thankYouMessage=document.querySelector(".thank-you-message");if(thankYouMessage&&thankYouMessage.getBoundingClientRect().top<0)if(typeof scrollToSmooth==="function")scrollToSmooth(thankYouMessage);else if(typeof newrelic!=="undefined")newrelic.noticeError('scrollToSmooth is not available');else console.log('scrollToSmooth is not available');if(instanceConfig.skipMarketoRedirects)return false;};const activateChiliPiper=function(lead){if(window.ChiliPiper&&typeof window.ChiliPiper.submit==="function")ChiliPiper.submit("mindbodyonline","marketo-form-router",{lead,onSuccess:function(response){const chiliPiperResponseForm=MktoForms2.getForm(CHILIPIPER_RESPONSE);if(!chiliPiperResponseForm){if(typeof newrelic!=="undefined")newrelic.noticeError('ChiliPiper response form not available');return;}chiliPiperResponseForm.vals({meetingDirectAssignment:response.assigneeId,Email:lead.Email});chiliPiperResponseForm.submit();}});else if(typeof newrelic!=="undefined")newrelic.noticeError('ChiliPiper is not available');else console.log('ChiliPiper is not available');};const activateTwoStepSalesInquiry=function(marketoConfig){if(window.twoStepSalesInquiryActivated)return;window.twoStepInitialFormId=null;window.twoStepInitialFormValues=null;MktoForms2.whenReady(function(form){const formId=form.getId();if(SALES_INQUIRY_STANDARD_FORMS.includes(formId)||formId===SALES_INQUIRY_PAID_SOCIAL)setupInitialSalesInquiryForm(form,formId,marketoConfig);const STEP2_FORM_IDS=Object.values(STEP2_FORM_MAP);if(STEP2_FORM_IDS.includes(formId))setupAdditionalDetailsForm(form);});window.twoStepSalesInquiryActivated=true;};const setupInitialSalesInquiryForm=function(form,formId,marketoConfig){const step2FormId=STEP2_FORM_MAP[formId];MktoForms2.loadForm(marketoConfig.instanceHost,marketoConfig.munchkinId,step2FormId);form.onSuccess(function(values){window.twoStepInitialFormId=formId;window.twoStepInitialFormValues=values;if(SALES_INQUIRY_STANDARD_FORMS.includes(formId))activateChiliPiper(values);const thankYouMessage=document.querySelector(".thank-you-message");const formContainer=document.querySelector(".form__container:has(.thank-you-message)");if(!thankYouMessage||!formContainer)return;window.twoStepThankYouMessage=thankYouMessage;const existingStep2Form=MktoForms2.getForm(step2FormId);if(existingStep2Form)swapToAdditionalDetailsForm(existingStep2Form,thankYouMessage,formContainer,marketoConfig);else MktoForms2.whenReady(function(readyForm){if(readyForm.getId()===step2FormId)swapToAdditionalDetailsForm(readyForm,thankYouMessage,formContainer,marketoConfig);});});};const swapToAdditionalDetailsForm=function(additionalDetailsForm,thankYouMessage,formContainer,marketoConfig){const heading=document.createElement("div");heading.classList.add("twoStepSalesInquiry--copy","form__formHeading");const h2=document.createElement("h2");h2.classList.add("heading--zeta");h2.textContent=Drupal.t("Tell us a bit more about your business");heading.appendChild(h2);formContainer.insertBefore(heading,formContainer.firstChild);const subheading=document.createElement("div");subheading.classList.add("twoStepSalesInquiry--copy","form__formSubheading","paragraph","paragraph--multiple");const p=document.createElement("p");p.textContent=Drupal.t("We\u2019ll personalize your demo");subheading.appendChild(p);formContainer.insertBefore(subheading,heading.nextSibling);thankYouMessage.replaceWith(additionalDetailsForm.getFormElem()[0]);if(marketoConfig.removeSourceStyles)removeMarketoSourceStylesheets(additionalDetailsForm);};const setupAdditionalDetailsForm=function(form){form.getFormElem().find("button[type='submit']").on("click",function(){const websiteValue=form.getValues()['Website'];const urlRegex=/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/;if(urlRegex.test(websiteValue)&&!websiteValue.includes('https://')&&!websiteValue.includes('http://'))form.vals({Website:'https://'+websiteValue});});form.onSuccess(function(){if(window.twoStepInitialFormId===SALES_INQUIRY_PAID_SOCIAL&&window.twoStepInitialFormValues)activateChiliPiper(window.twoStepInitialFormValues);if(window.twoStepThankYouMessage){document.querySelectorAll(".twoStepSalesInquiry--copy").forEach((el)=>el.remove());form.getFormElem().replaceWith(window.twoStepThankYouMessage);}return false;});};const removeMarketoSourceStylesheets=function(form){let formEl=form.getFormElem()[0];let $form=form.getFormElem();let arrayFrom=Function.prototype.call.bind(Array.prototype.slice);$(formEl).find('*[class^="mkto"][style]').removeAttr("style");$form.removeAttr("style").removeClass("mktoForm").find(".mktoButton").removeClass("mktoButton");$(".mktoAsterix, .mktoClear, .mktoOffset, .mktoGutter",context).remove();$(".mktoRequiredField .mktoLabel",context).addClass("form-required");let styleSheets=arrayFrom(document.styleSheets);
3styleSheets.forEach(function(ss){if([mktoForms2BaseStyle,mktoForms2ThemeStyle].indexOf(ss.ownerNode)!==-1||formEl.contains(ss.ownerNode))ss.disabled=true;});let mktoInlineFonts=$("#mktoFontUrl");if(mktoInlineFonts.length>0)mktoInlineFonts.remove();let mktoInlineStyles=$("#mktoForms2ThemeStyle").next("style");let mktoFormStyles=$form.find("style");if(mktoInlineStyles.length>0)mktoInlineStyles.remove();if(mktoFormStyles.length>0)mktoFormStyles.remove();form.getFormElem().closest(".marketo-steps-wrapper").removeClass("hidden");};let marketoSettingsAll=getMarketoFormsSettings();let marketoConfigs=[];for(let marketoProp in marketoSettingsAll){if(!marketoSettingsAll.hasOwnProperty(marketoProp))continue;if(marketoProp==="munchkinId"||marketoProp==="loadErrorMessage")continue;marketoConfigs.push(marketoSettingsAll[marketoProp]);}if(!marketoConfigs.length)return;Drupal.marketoForms.whenLibraryReady(function(host){marketoConfigs.forEach(function(marketoConfig){if(host)marketoConfig.instanceHost=host;init(marketoConfig);});activateTwoStepSalesInquiry(marketoConfigs[0]);},function(){marketoConfigs.forEach(marketoHandleError);});},submitMarketoForm:function submitMarketoForm(form,marketoConfig,values){if(marketoConfig.thankYouComponent){let $form=form.getFormElem();let $marketoWrapper=$form.closest(".form-content-wrapper");if($marketoWrapper.length)$marketoWrapper.html(marketoConfig.thankYouComponent);else{$marketoWrapper=$form.closest(marketoConfig.entityWrapper);$marketoWrapper.replaceWith(marketoConfig.thankYouComponent);}}},showAllThankyouMessages:function showAllThankyouMessages(){var allMktoForms=MktoForms2.allForms();var that=this;var settings=drupalSettings.marketoForms;for(var item in allMktoForms){var form=allMktoForms[item];var formString="marketo-form-"+form.getId();var config=settings[formString];that.submitMarketoForm(form,config);}}};window.getUrlParameter=function(name){name=name.replace(/[\[]/,'\\[').replace(/[\]]/,'\\]');const regex=new RegExp('[\\?&]'+name+'=([^&#]*)');const results=regex.exec(location.search);return results===null?'':decodeURIComponent(results[1].replace(/\+/g,' '));};})(jQuery,Drupal);;
4!function(){const e=document.querySelectorAll(".draggable");let t,n,o=!1;function i(e){o=!0,this.classList.add("active"),t=e.pageX-this.offsetLeft,n=this.scrollLeft;}function r(){o=!1,this.classList.remove("active");}function a(){o=!1,this.classList.remove("active");}function s(e){if(!o)return;e.preventDefault();const i=e.pageX-this.offsetLeft-t;this.scrollLeft=n-i;}function l(e){e.scrollWidth<=e.clientWidth?(e.classList.remove("draggable"),e.removeEventListener("mousedown",i),e.removeEventListener("mouseleave",r),e.removeEventListener("mouseup",a),e.removeEventListener("mousemove",s)):(e.classList.add("draggable"),e.addEventListener("mousedown",i),e.addEventListener("mouseleave",r),e.addEventListener("mouseup",a),e.addEventListener("mousemove",s));}e.forEach((e)=>l(e)),window.addEventListener("resize",function(e){let t;return function(){const n=this,o=arguments;clearTimeout(t),t=setTimeout(()=>e.apply(n,o),250);};}(()=>{e.forEach((e)=>l(e));}));const c=new IntersectionObserver((e)=>{e.forEach((e)=>{e.isIntersecting&&l(e.target);});});e.forEach((e)=>c.observe(e));}(),function(){const e=document.querySelectorAll(".carousel");e.length&&e.forEach((e)=>{function t(t){const o=t.target,i=document.getElementById(o.getAttribute("aria-controls")),r=o.parentNode.querySelectorAll(".carousel__tab"),a=e.querySelectorAll(".carousel__panel");r.forEach((e)=>{e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1");}),a.forEach((e)=>{e.setAttribute("aria-hidden","true"),e.inert=!0;}),o.setAttribute("aria-selected","true"),o.setAttribute("tabindex","0"),i.setAttribute("aria-hidden","false"),i.inert=!1,i.focus(),n();}function n(){const t=e.querySelector(".carousel__arrows");if(!t)return;const n=e.querySelector('.carousel__panel[aria-hidden="false"]');if(!n)return;const o=n.scrollWidth-n.clientWidth>1;t.hidden=!o;const i=e.querySelector(".carousel__nav");i&&!e.querySelector(".carousel__tabs")&&(i.hidden=!o);}function o(e){const n=e.keyCode;if(37===n||39===n){const o=e.target,i=39===n?o.nextElementSibling:o.previousElementSibling;i&&"tab"===i.role&&(i.focus(),t({target:i}));}}if(e.querySelectorAll(".carousel__tab").forEach((e)=>{e.addEventListener("click",t),e.addEventListener("keydown",o);}),e.querySelector(".carousel__arrows")){const t=e.querySelector(".carousel__item").offsetWidth+24;e.querySelector(".carousel__arrows__left").addEventListener("click",()=>{const n=e.querySelector('.carousel__panel[aria-hidden="false"]');n.scroll({left:n.scrollLeft-t,behavior:"smooth"});}),e.querySelector(".carousel__arrows__right").addEventListener("click",()=>{const n=e.querySelector('.carousel__panel[aria-hidden="false"]');n.scroll({left:n.scrollLeft+t,behavior:"smooth"});}),n(),window.addEventListener("load",n),new ResizeObserver(n).observe(e);}});}(),function(){const e=document.querySelectorAll(".js-faqList--collapse");if(!e.length)return;const t="faqList__item--isRevealed";e.forEach((e)=>{const n=e.querySelectorAll(".faqList__item");n[0]&&n[0].classList.add(t);for(let e=0;e<n.length;e++)n[e].addEventListener("click",function(e){if(this.classList.contains(t)){if("A"===e.target.tagName)return;this.classList.remove(t);}else this.classList.add(t);});});}(),document.querySelectorAll(".form__outerContainer:has(.marketo-form:not(.mktoHasWidth))").forEach((e)=>{const t=new MutationObserver((n)=>
4{n.forEach((n)=>{n.target.querySelector(".mktoHasWidth")&&(e.style.animation="none",e.style.opacity="1",e.style.pointerEvents="auto",t.disconnect());});});t.observe(e,{childList:!0,subtree:!0}),setTimeout(()=>{e.querySelector(".mktoHasWidth")||(e.style.animation="none",e.style.opacity="1",e.style.pointerEvents="auto",t.disconnect());},3e3);}),function(){const e=document.querySelectorAll(".logoBar");if(!e.length)return;const t="function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;e.forEach((e)=>{const n=e.querySelector(".logoBar__scroll");if(!n)return;if(t)return;Array.prototype.forEach.call(Array.prototype.slice.call(n.children),(e)=>{const t=e.cloneNode(!0);t.setAttribute("aria-hidden","true"),Array.prototype.forEach.call(t.querySelectorAll("a, button, [tabindex]"),(e)=>{e.setAttribute("tabindex","-1");}),t.matches("a, button, [tabindex]")&&t.setAttribute("tabindex","-1"),n.appendChild(t);});let o=0;function i(){const e=getComputedStyle(n),t=parseInt(e.gap)||0,i=n.scrollWidth;o=0===i?0:i/2+t/2,f();}let r=0;const a=50;let s=null,l=!1,c=!0,d=null;function u(e){null===d&&(d=e);const t=(e-d)/1e3;d=e,r+=a*t,n.scrollLeft=r,r>=o&&(r=0,n.scrollLeft=0),s=requestAnimationFrame(u);}function f(){!l&&!c&&o>0?null===s&&(d=null,s=requestAnimationFrame(u)):null!==s&&(cancelAnimationFrame(s),s=null);}i(),"function"==typeof ResizeObserver?new ResizeObserver(i).observe(n):window.addEventListener("resize",i),"function"==typeof IntersectionObserver?new IntersectionObserver((e)=>{c=!e[0].isIntersecting,c?f():i();}).observe(e):(c=!1,f());const v=()=>{l=!0,f();},h=()=>{l=!1,f();};"function"==typeof window.PointerEvent?(n.addEventListener("pointerenter",v),n.addEventListener("pointerleave",h),n.addEventListener("pointercancel",h)):(n.addEventListener("mouseenter",v),n.addEventListener("mouseleave",h)),window.addEventListener("beforeunload",()=>{cancelAnimationFrame(s);});});}(),function(){const e=document.querySelectorAll(".sectionInteractive");if(e.length){const t=(e,t)=>{(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<=767&&"function"==typeof scrollToSmooth&&scrollToSmooth(t),e.forEach((e)=>{e.classList.remove("active");}),t.classList.add("active");},n=function(e,t){let n=e.querySelectorAll(".interactiveCard__media img")[0];if(n){let e=n.height;e>1&&t.style.setProperty("min-height",e+"px");}};e.forEach((e)=>{const o=e.querySelectorAll(".sectionInteractive__shadowDiv")[0],i=e.querySelectorAll(".interactiveCard");i.forEach((e)=>{const r=e.querySelectorAll(".interactiveCard__headingWrapper")[0],a=e.querySelectorAll(".interactiveCard__media")[0];r.addEventListener("click",()=>{t(i,e),n(e,o);}),new ResizeObserver(function(){n(e,o);}).observe(a);});});}}(),function(){const e=document.querySelectorAll(".sectionInteractiveTwo");e.length&&e.forEach((e)=>{let t=!1,n=!1;const o=e.querySelector(".jsSectionInteractiveTwoUnderline"),i=e.querySelectorAll(".interactiveCard"),r=e.querySelector(".sectionInteractiveTwo__nav"),a=r.querySelectorAll(".sectionInteractiveTwo__nav__link"),s=e.querySelector(".active");function l(){if(window.innerWidth<1024)return void i.forEach((e)=>{e.style.height="auto";});let e=0;i.forEach((t)=>{t.style.height="auto",t.offsetHeight>e&&(e=t.offsetHeight);}),i.forEach((t)=>{t.style.height=`${e}px`;});}new IntersectionObserver((e)=>{e.forEach((e)=>{t=!e.isIntersecting;});}).observe(r),window.addEventListener("load",function(){if(o.style.left=`${s.offsetLeft}px`,o.style.width=`${s.offsetWidth}px`,""!==this.location.hash){const e=document.querySelector(`#tab-${this.location.hash.slice(1)}`);e&&(e.scrollIntoView({behavior:"smooth",block:"center"}),e.click());}}),window.addEventListener("load",function(){l();});var c=!1;r.scrollWidth>r.offsetWidth&&(c=!0,r.style.cursor="grab");var d,u,f=!1;r.addEventListener("mousedown",function(e){c&&(f=!0,r.style.cursor="grabbing",d=e.pageX-r.offsetLeft,u=r.scrollLeft);}),r.addEventListener("mouseleave",function(){c&&(f=!1,r.style.cursor="grab");}),r.addEventListener("mouseup",function(){a.forEach((e)=>{e.style.pointerEvents="auto";}),c&&(r.style.cursor="grab",f=!1);}),r.addEventListener("mousemove",function(e){if(c&&f){e.preventDefault(),a.forEach((e)=>{e.style.pointerEvents="none";});var t=1.5*(e.pageX-r.offsetLeft-d);r.scrollLeft=u-t;}}),window.addEventListener("resize",function(){r.scrollWidth>r.offsetWidth?c=!0:(c=!1,r.style.cursor="default"),l();const t=e.querySelector(".active");o.style.left=`${t.offsetLeft}px`,o.style.width=`${t.offsetWidth}px`;});const v=(t)=>{a.forEach((e)=>{e.classList.remove("active"),e.setAttribute("aria-selected","false");}),t.classList.add("active"),t.setAttribute("aria-selected","true");const n=r.getBoundingClientRect().left,s=r.getBoundingClientRect().right,l=t.getBoundingClientRect().left,c=t.getBoundingClientRect().right;l<n+20?r.scrollBy({left:l-n-20,behavior:"smooth"}):c>s-20&&r.scrollBy({left:c-s+20,behavior:"smooth"}),o.style.left=`${t.offsetLeft}px`,o.style.width=`${t.offsetWidth}
4px`,i.forEach((e)=>{e.classList.remove("active");}),e.querySelector("#"+t.getAttribute("aria-controls")).classList.add("active");};a.forEach((e)=>{e.addEventListener("click",function(){v(e);});});let h=0,p=null;function m(){if(!t&&!n){h++,h>=a.length&&(h=0);const e=a[h];v(e);}}setTimeout(function(){clearInterval(p),p=setInterval(m,3e3);},2e3),e.addEventListener("click",function(){n=!0;});});}(),function(){const e=document.querySelectorAll("[data-stat-bar]");if(!e.length)return;function t(e){e.querySelectorAll("[data-stat]").forEach(function(e,t){e.style.setProperty("--stat-delay",120*t+"ms"),e.classList.add("stat--visible");});}if("function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches||"function"!=typeof IntersectionObserver)return void e.forEach(t);const n=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(t(e.target),n.unobserve(e.target));});},{threshold:.25});e.forEach(function(e){n.observe(e);});}(),function(){const e=document.querySelectorAll("[data-video-testimonials-carousel]");if(!e.length)return;const t="videoTestimonialsCarousel__track--overflow",n="function"==typeof window.matchMedia,o=n?window.matchMedia("(min-width: 1024px)"):null,i=n?window.matchMedia("(prefers-reduced-motion: reduce)"):null;function r(){return !(!i||!i.matches);}function a(){return o?o.matches:window.innerWidth>=1024;}let s=null;function l(){}function c(e,t){let n=null;return function(){clearTimeout(n),n=setTimeout(e,t);};}e.forEach(function(e){const n=e.querySelector("[data-video-testimonials-track]"),d=Array.prototype.slice.call(e.querySelectorAll("[data-video-testimonial]")),u=e.querySelector("[data-video-testimonials-prev]"),f=e.querySelector("[data-video-testimonials-next]"),v=e.querySelector("[data-video-testimonials-status]"),h={status:e.getAttribute("data-label-status")||"Video testimonial by @name, @position of @total",statusGeneric:e.getAttribute("data-label-status-generic")||"Video testimonial @position of @total"};if(!n||!d.length)return;const p=d.map((e,t)=>({card:e,index:t,media:e.querySelector("[data-video-testimonial-media]"),playerHost:e.querySelector("[data-video-testimonial-player]"),control:e.querySelector("[data-video-testimonial-control]"),playIcon:e.querySelector(".videoTestimonial__icon--play"),scrub:e.querySelector("[data-video-testimonial-scrub]"),scrubFill:e.querySelector("[data-video-testimonial-scrub-fill]"),previewToggle:e.querySelector("[data-video-testimonial-preview-toggle]"),labels:{play:e.getAttribute("data-label-play")||"Play video testimonial",pause:e.getAttribute("data-label-pause")||"Pause video testimonial",positionText:e.getAttribute("data-label-position-text")||"@current of @total",previewPause:e.getAttribute("data-label-preview-pause")||"Pause preview",previewResume:e.getAttribute("data-label-preview-resume")||"Resume preview"},pauseIcon:e.querySelector(".videoTestimonial__icon--pause"),name:e.getAttribute("data-name")||"",vimeoId:(e.getAttribute("data-video-testimonial-id")||"").trim(),vimeoHash:(e.getAttribute("data-video-testimonial-hash")||"").trim(),player:null,ready:!1,failed:!1,engaged:!1,userPaused:!1,previewPaused:!1,hovered:!1,playing:!1,autoplayBlocked:!1,wantPlaying:null,position:0,duration:0,watchedSeconds:0,watchStartedAt:null,milestones:[]})),m=parseInt(n.getAttribute("data-active-index"),10),g={activeIndex:Math.min(Math.max(isNaN(m)?0:m,0),p.length-1),inView:!1,overflow:!1,playersRequested:!1,animating:!1,settleMuteUntil:0};function y(){return p[g.activeIndex];}const w={autopause:!1,autoplay:!1,byline:!1,controls:!1,dnt:!0,keyboard:!1,loop:!0,muted:!0,pip:!1,playsinline:!0,portrait:!1,texttrack:"en",title:!1};function b(e){const t=e===y(),n=e.engaged&&e.playing&&!e.userPaused;if(e.card.classList.toggle("videoTestimonial--active",t),e.card.classList.toggle("videoTestimonial--hovered",e.hovered),e.card.classList.toggle("videoTestimonial--showControl",function(e){const t=e===y();return !e.failed&&(a()?t&&(!e.engaged||e.userPaused||!e.playing)||e.hovered:t);}(e)),e.card.classList.toggle("videoTestimonial--playing",e.playing),e.card.classList.toggle("videoTestimonial--engaged",e.engaged),e.scrub&&e.scrub.setAttribute("tabindex",e.engaged?"0":"-1"),t?e.card.setAttribute("aria-current","true"):e.card.removeAttribute("aria-current"),e.playIcon&&e.playIcon.toggleAttribute("hidden",n),e.pauseIcon&&e.pauseIcon.toggleAttribute("hidden",!n),e.control&&e.control.setAttribute("aria-label",n?e.labels.pause:e.labels.play),e.previewToggle){const n=t&&!e.engaged&&e.ready&&!e.failed;e.previewToggle.toggleAttribute("hidden",!n),e.previewToggle.textContent=e.previewPaused?e.labels.previewResume:e.labels.previewPause,e.previewToggle.setAttribute("aria-pressed",e.previewPaused?"true":"false");}}function E(){p.forEach(b);}function L(e,t,n){const o=e.card.querySelector(".videoTestimonial__company"),i=Object.assign({vimeoId:e.vimeoId,name:e.name,company:o?o.textContent.trim():"",index:e.index,position:Math.round(e.position||0),duration:Math.round(e.duration||0),percent:e.duration?Math.round(e.position/e.duration*100):0},n||{});e.card.dispatchEvent(new CustomEvent("videotestimonial:"+t,{bubbles:!0,detail:i}));}function S(e){null===e.watchStartedAt&&(e.watchStartedAt=performance.now());}function A(e){return null!==e.watchStartedAt&&(e.watchedSeconds+=(performance.now()-e.watchStartedAt)/1e3,e.wat
4chStartedAt=null),Math.round(e.watchedSeconds);}function _(e){e.previewPaused=!e.previewPaused,P(),b(e);}function q(e){const t=Math.max(0,Math.round(e||0));return Math.floor(t/60)+":"+String(t%60).padStart(2,"0");}function x(e){if(!e.scrub||!e.scrubFill)return;const t=e.duration?Math.min(100,Math.max(0,e.position/e.duration*100)):0;e.scrubFill.style.width=t+"%",e.scrub.setAttribute("aria-valuenow",String(Math.round(t))),e.scrub.setAttribute("aria-valuetext",e.labels.positionText.replace("@current",q(e.position)).replace("@total",q(e.duration)));}function I(e,t){e.player&&e.ready&&e.duration&&(e.position=Math.min(e.duration,Math.max(0,t)),x(e),e.player.setCurrentTime(e.position).catch(l));}function P(){p.forEach((e)=>{const t=function(e){return !(e!==y()||!e.ready||e.failed)&&(e.engaged?!e.userPaused:!r()&&!e.previewPaused&&g.inView);}(e);e.player&&e.ready&&t!==e.wantPlaying&&(e.wantPlaying=t,t?e.player.play().then(()=>{e.autoplayBlocked=!1;}).catch(()=>{e.engaged||(e.autoplayBlocked=!0,e.wantPlaying=!1,b(e));}):e.player.pause().catch(l));});}function T(e,t){e.engaged||(e.watchedSeconds=0,e.watchStartedAt=null,e.milestones=[],L(e,"play",{trigger:t||"button"})),e.engaged=!0,e.userPaused=!1,e.previewPaused=!1,e.autoplayBlocked=!1,e.player&&e.ready?(a()||e.player.requestFullscreen().catch(l),e.player.setCurrentTime(0).catch(l),e.player.setMuted(!1).catch(l),e.wantPlaying=!0,e.player.play().catch(()=>{e.userPaused=!0,e.wantPlaying=!1,b(e);}),e.playing&&S(e),b(e)):b(e);}function k(e,t){e.engaged&&"complete"!==t&&L(e,"pause",{reason:t||"switch",watchedSeconds:A(e)}),e.engaged=!1,e.userPaused=!1,e.previewPaused=!1,e.watchStartedAt=null,e.player&&e.player.setMuted(!0).catch(l);}function M(){const e=y().card,t=e.offsetLeft+e.offsetWidth/2-n.clientWidth/2;return Math.max(0,Math.min(t,n.scrollWidth-n.clientWidth));}let W=null;function C(e){if(!g.overflow)return;if(null!==W&&(cancelAnimationFrame(W),W=null,g.animating=!1,n.style.scrollSnapType=""),e||r()){const e=M();return void (Math.abs(n.scrollLeft-e)>=1&&(g.settleMuteUntil=performance.now()+300,n.scrollLeft=e));}const t=n.scrollLeft,o=performance.now();g.animating=!0,n.style.scrollSnapType="none";const i=(e)=>{const r=Math.min(1,(e-o)/450),a=1-Math.pow(1-r,3);n.scrollLeft=t+(M()-t)*a,r<1?W=requestAnimationFrame(i):(W=null,g.animating=!1,g.settleMuteUntil=performance.now()+300,n.style.scrollSnapType="");};W=requestAnimationFrame(i);}function R(){const e=g.overflow&&a();[u,f].forEach((t)=>{t&&(t.hidden=!e);}),u&&(u.disabled=0===g.activeIndex),f&&(f.disabled=g.activeIndex===p.length-1);}function O(e,t){const n=t||{},o=p[e];if(!o)return;const i=y();i!==o&&(k(i,"switch"),g.activeIndex=e,L(o,"activate",{trigger:n.trigger||"click"})),n.sound&&T(o,n.trigger||"button"),!1!==n.scroll&&C(),R(),P(),E(),function(){if(!v)return;const e=y(),t=e.name?h.status:h.statusGeneric;v.textContent=t.replace("@name",e.name).replace("@position",String(e.index+1)).replace("@total",String(p.length));}();}function V(){n.classList.remove(t),g.overflow=n.scrollWidth>n.clientWidth+1,n.classList.toggle(t,g.overflow),function(){let e=0;p.forEach((t)=>{const n=getComputedStyle(t.card),o=parseFloat(n.getPropertyValue("--video-testimonial-active-width"))||t.card.offsetWidth,i=t.card.querySelector(".videoTestimonial__caption"),r=16*o/9+(i?i.offsetHeight:0);e=Math.max(e,r);}),n.style.setProperty("--video-testimonials-line-height",Math.ceil(e)+"px");}(),R(),E(),P(),g.animating||C(!0);}function H(){g.playersRequested||(g.playersRequested=!0,(window.Vimeo&&window.Vimeo.Player?Promise.resolve(window.Vimeo):(s||(s=new Promise((e,t)=>{const n=document.createElement("script");n.src="https://player.vimeo.com/api/player.js",n.async=!0,n.onload=()=>e(window.Vimeo),n.onerror=()=>{s=null,t(new Error("Vimeo Player SDK failed to load"));},document.head.appendChild(n);})),s)).then((e)=>{p.forEach((t)=>function(e,t){if(!t.playerHost||!/^\d+$/.test(t.vimeoId))return t.failed=!0,void b(t);t.vimeoHash&&!/^[a-f0-9]+$/i.test(t.vimeoHash)&&(console.warn("[video-testimonials-carousel] Ignoring malformed Vimeo hash for video "+t.vimeoId+"."),t.vimeoHash="");let n="https://player.vimeo.com/video/"+t.vimeoId;t.vimeoHash&&(n+="?h="+encodeURIComponent(t.vimeoHash));const o=new e.Player(t.playerHost,Object.assign({url:n},w));function i(){t.engaged&&(L(t,"complete",{watchedSeconds:A(t)}),k(t,"complete"),t.wantPlaying=null,P(),b(t));}t.player=o,o.ready().then(()=>{const e=t.playerHost.querySelector("iframe");e&&(e.setAttribute("title",t.name?"Video testimonial by "+t.name:"Video testimonial"),e.setAttribute("tabindex","-1")),t.ready=!0,function(e){e.player.getTextTracks().then((t)=>{if(!t||!t.length)return;const n=t.find((e)=>/^en/i.test(e.language||""))||t[0];e.player.enableTextTrack(n.language,n.kind).catch(l);}).catch(l);}(t),o.getDuration().then((e)=>{t.duration=e,x(t);}).catch(l),t.engaged?T(t):P(),b(t);}).catch((e)=>{t.failed=!0,console.warn("[video-testimonials-carousel] Vimeo video "+t.vimeoId+" could not be loaded.",e),b(t);}),o.on("play",()=>{t.playing=!0,t.engaged&&S(t),b(t);}),o.on("pause",()=>{t.playing=!1,t.engaged&&A(t),b(t);}),o.on("ended",i),o.on("error",(e)=>{e&&e.method||(t.failed=!0,console.warn("[video-testimonials-carousel] Vimeo video "+t.vimeoId+" reported an error.",e),b(t));}),o.on("timeupdate",(e)=>{const n=t.position;if(t.position=e.seconds,t.duration=e.duration,x(t),t.engaged&&t.duration&&n>t.duration-2&&t.position<1)i();else{if(t.engaged&&t.duration){const e=t.position/t.duration*100;
4[25,50,75].forEach((n)=>{e>=n&&-1===t.milestones.indexOf(n)&&(t.milestones.push(n),L(t,"progress",{milestone:n}));});}}}),o.on("fullscreenchange",(e)=>{e.fullscreen||!t.engaged||a()||(k(t,"fullscreen_exit"),t.wantPlaying=null,P(),b(t));});}(e,t));}).catch((e)=>{console.warn("[video-testimonials-carousel]",e.message),p.forEach((e)=>{e.failed=!0,b(e);});}));}function B(e,t){e.hovered!==t&&(e.hovered=t,E());}function F(){if(!g.overflow||g.animating||performance.now()<g.settleMuteUntil)return;const e=n.scrollLeft+n.clientWidth/2;let t=g.activeIndex,o=1/0;p.forEach((n)=>{const i=Math.abs(n.card.offsetLeft+n.card.offsetWidth/2-e);i<o&&(o=i,t=n.index);}),t!==g.activeIndex&&O(t,{scroll:!1,trigger:"swipe"});}if(p.forEach((e)=>{"function"==typeof window.PointerEvent?(e.card.addEventListener("pointerenter",(t)=>{"touch"!==t.pointerType&&B(e,!0);}),e.card.addEventListener("pointerleave",(t)=>{"touch"!==t.pointerType&&B(e,!1);}),e.card.addEventListener("pointercancel",()=>B(e,!1))):(e.card.addEventListener("mouseenter",()=>B(e,!0)),e.card.addEventListener("mouseleave",()=>B(e,!1))),e.card.addEventListener("focusin",()=>B(e,!0)),e.card.addEventListener("focusout",(t)=>{t.relatedTarget&&e.card.contains(t.relatedTarget)||B(e,!1);}),e.control&&e.control.addEventListener("click",(t)=>{if(t.stopPropagation(),!e.failed){if(e===y())return e.engaged&&e.playing&&!e.userPaused?(e.userPaused=!0,e.wantPlaying=!1,e.player.pause().catch(l),L(e,"pause",{reason:"button",watchedSeconds:A(e)}),void b(e)):e.engaged&&e.userPaused?(e.userPaused=!1,e.wantPlaying=!0,e.player.play().catch(l),void b(e)):void T(e,"button");O(e.index,{sound:!0,trigger:"button"});}}),function(e){if(!e.scrub)return;const t=(t)=>{const n=e.scrub.getBoundingClientRect();n.width&&I(e,(t.clientX-n.left)/n.width*e.duration);};e.scrub.addEventListener("pointerdown",(n)=>{e.engaged&&(n.preventDefault(),e.scrub.setPointerCapture(n.pointerId),e.scrub.classList.add("videoTestimonial__scrub--seeking"),t(n));}),e.scrub.addEventListener("pointermove",(n)=>{e.scrub.classList.contains("videoTestimonial__scrub--seeking")&&t(n);}),["pointerup","pointercancel","lostpointercapture"].forEach((t)=>{e.scrub.addEventListener(t,()=>{e.scrub.classList.remove("videoTestimonial__scrub--seeking");});}),e.scrub.addEventListener("click",(e)=>e.stopPropagation()),e.scrub.addEventListener("keydown",(t)=>{if(!e.engaged)return;const n={ArrowLeft:e.position-5,ArrowDown:e.position-5,ArrowRight:e.position+5,ArrowUp:e.position+5,Home:0,End:e.duration};t.key in n&&(t.preventDefault(),I(e,n[t.key]));});}(e),e.media&&e.media.addEventListener("click",()=>{e.failed||(e===y()?e.engaged||_(e):O(e.index));}),e.previewToggle&&e.previewToggle.addEventListener("click",(t)=>{t.stopPropagation(),e!==y()||e.engaged||e.failed||_(e);});}),n.addEventListener("keydown",(e)=>{"ArrowLeft"!==e.key&&"ArrowRight"!==e.key||e.target instanceof Element&&e.target.closest('[role="slider"]')||(e.preventDefault(),O(g.activeIndex+("ArrowRight"===e.key?1:-1),{trigger:"key"}));}),u&&u.addEventListener("click",()=>O(g.activeIndex-1,{trigger:"arrow"})),f&&f.addEventListener("click",()=>O(g.activeIndex+1,{trigger:"arrow"})),"onscrollend" in window?n.addEventListener("scrollend",F):n.addEventListener("scroll",c(F,150),{passive:!0}),"function"==typeof ResizeObserver?new ResizeObserver(V).observe(e):window.addEventListener("resize",c(V,150)),o&&"function"==typeof o.addEventListener&&o.addEventListener("change",()=>{k(y(),"switch"),V();}),i&&"function"==typeof i.addEventListener&&i.addEventListener("change",()=>{P(),E();}),"function"==typeof IntersectionObserver){const t=new IntersectionObserver((e)=>{e.some((e)=>e.isIntersecting)&&(H(),t.disconnect());}
4,{rootMargin:"100% 0px"});t.observe(e),new IntersectionObserver((e)=>{g.inView=e[0].isIntersecting,P(),E();},{threshold:.25}).observe(n);}else g.inView=!0,H();V();});}();document.Cookie={tryDecodeURI:function(e){var t="";try{t=decodeURIComponent(e);}catch(n){t=e;}return t;},tryEncodeURI:function(e){var t="";try{t=encodeURIComponent(e);}catch(n){t="",window.newrelic&&newrelic.noticeError(n.message+" "+e);}return t;},create:function(e,t,n){var o=new Date(),r="";n&&(o.setTime(o.getTime()+24*n*60*60*1e3),r="; expires="+o.toGMTString()),document.cookie=e+"="+t+r+"; path=/";},read:function(e){for(var t=e+"=",n=document.Cookie.tryDecodeURI(document.cookie).split(";"),o=0;o<n.length;o++){for(var r=n[o];" "==r.charAt(0);)r=r.substring(1);if(0==r.indexOf(t))return r.substring(t.length,r.length);}return null;},erase:function(e){document.Cookies.create(e,"",-1);}};!function(){/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);var e=document.getElementById("video-bg-homepage");if(e)if(function(e){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var n=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(location.search);return null===n?"":decodeURIComponent(n[1].replace(/\+/g," "));}("dontPlayVideo"));else{var n="/themes/mindbody/video/homepage",i=0;window.screen&&(window.screen.width&&(i=window.screen.width),window.screen.height&&i<window.screen.height&&(i=window.screen.height)),i&&(i<400?n+="-400":i<751&&(n+="-600"));var o=document.createElement("source");o.src=n+".mp4",o.type="video/mp4",e.appendChild(o);var t=0;e.addEventListener("error",function(n){t||(e.load(),e.play(),t++);},!0),e.play(),setTimeout(function(){e.style&&(e.style="min-height:2px;");},1e3);}}();if(window.Element&&!Element.prototype.closest&&(Element.prototype.closest=function(e){var t,o=(this.document||this.ownerDocument).querySelectorAll(e),n=this;do for(t=o.length;--t>=0&&o.item(t)!==n;);while(t<0&&(n=n.parentElement));return n;}),"function"!=typeof window.CustomEvent){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var o=document.createEvent("CustomEvent");return o.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),o;}e.prototype=window.Event.prototype,window.CustomEvent=e;}!function(){var e,t={polyfill:function(){var e=navigator.userAgent.indexOf("MSIE ")>0||!!navigator.userAgent.match(/Trident.*rv\:11\./)||navigator.userAgent.indexOf("Edge/")>0;if(!("KeyboardEvent" in window)||"key" in KeyboardEvent.prototype&&!e)return !1;var o={get:function(e){var o=t.keys[this.which||this.keyCode];return Array.isArray(o)&&(o=o[+this.shiftKey]),o;},enumerable:!0,configurable:!0};return Object.defineProperty(KeyboardEvent.prototype,"key",o),o;},keys:{3:"Cancel",6:"Help",8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",28:"Convert",29:"NonConvert",30:"Accept",31:"ModeChange",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",41:"Select",42:"Print",43:"Execute",44:"PrintScreen",45:"Insert",46:"Delete",48:["0",")"],49:["1","!"],50:["2","@"],51:["3","#"],52:["4","$"],53:["5","%"],54:["6","^"],55:["7","&"],56:["8","*"],57:["9","("],91:"OS",93:"ContextMenu",106:"*",107:"+",109:"-",110:".",111:"/",144:"NumLock",145:"ScrollLock",181:"VolumeMute",182:"VolumeDown",183:"VolumeUp",186:[";",":"],187:["=","+"],188:[",","<"],189:["-","_"],190:[".",">"],191:["/","?"],192:["`","~"],219:["[","{"],220:["\\","|"],221:["]","}"],222:["'",'"'],224:"Meta",225:"AltGraph",246:"Attn",247:"CrSel",248:"ExSel",249:"EraseEof",250:"Play",251:"ZoomOut"}};for(e=1;e<25;e++)t.keys[111+e]="F"+e;var o="";for(e=65;e<91;e++)o=String.fromCharCode(e),t.keys[e]=[o.toLowerCase(),o.toUpperCase()];for(e=96;e<106;e++)o=String.fromCharCode(e-48),t.keys[e]=o;"function"==typeof define&&define.amd?define("keyboardevent-key-polyfill",t):"undefined"!=typeof exports&&"undefined"!=typeof module?module.exports=t:window&&(window.keyboardeventKeyPolyfill=t);}(),keyboardeventKeyPolyfill.polyfill(),String.prototype.format=function(){var e=this;for(var t in arguments){var o=new RegExp(`\\{${t}\\}`,"g");e=e.replace(o,arguments[t]);}return e;};Drupal.behaviors.dropDowns={attach:function(e,t){var l=document.querySelectorAll("form .js-ctnr-dropdown");
4if(0!=l.length){$=jQuery;var c="",o=0;s(),$(once("dropdowns",l,e)).each(function(){let t=this,c=t.classList.contains("js-multiselect");t.addEventListener("keydown",u);let o=$(t)[0].dataset.selectelement;if(o){var r=document.getElementById(o);if(c)Array.from(r.selectedOptions).forEach(function(e){let l=e.index,c=t.querySelectorAll(".customSelect__options input")[l];c&&(c.checked=!0);}),i(t,r);else{let e=r.options.selectedIndex,l=r.options[e].text;t.querySelectorAll(".customSelect__options input")[e].checked=!0,t.querySelectorAll(".customSelect__options li")[e].classList.toggle("dp-n");let c=t.querySelector(".customSelect__content__selectedItem");c.innerHTML=l,0==e?$(c).removeClass("active"):$(c).addClass("active");}}t.addEventListener("focus",function(e){e.target.classList.contains("js-open")||function(){for(var e=0;e<l.length;e++)l[e].classList.remove("js-open");}(),e.target.classList.add("js-open");});let a=t.querySelectorAll(".customSelect__options label");$(once("dropdowns",a,e)).each(function(e,l){let o=function(){let o=l.previousElementSibling;if(c){if(o.checked=!o.checked,r){r.options[e].selected=o.checked,i(t,r);let l=r.parentElement.parentElement.querySelector(".views-auto-submit-click");l&&l.click(),n(r);}}else{t.classList.remove("js-open");var a=t.querySelector("ul"),u=l.parentNode;s(t),function(e){let t=e.querySelectorAll("li");for(var l=0;l<t.length;l++)t[l].classList.remove("dp-n");}(a),u.classList.add("dp-n");var d=t.querySelector(".customSelect__content__selectedItem");if(e>0&&d?d.classList.add("active"):d.classList.remove("active"),o.checked=!0,t.querySelector(".customSelect__content__selectedItem").innerHTML=l.textContent,r){r.options[e].selected=!0;let t=r.parentElement.parentElement.querySelector(".views-auto-submit-click");t&&t.click(),n(r);}}};l.addEventListener("click",o),l.addEventListener("keydown",(e)=>{13===e.keyCode&&o();});});}),window.addEventListener("click",function(e){if(null==e.target.closest(".customSelect")){let e=document.querySelectorAll(".customSelect.js-open");for(var t=0;t<e.length;t++)e[t].classList.remove("js-open");}}),window.addEventListener("touchstart",function(e){if(null==e.target.closest(".customSelect")){let e=document.querySelectorAll(".customSelect.js-open");for(var t=0;t<e.length;t++)e[t].classList.remove("js-open");}});}function n(e){if("createEvent" in document){var t=document.createEvent("HTMLEvents");t.initEvent("change",!1,!0),e.dispatchEvent(t);}else e.fireEvent("onchange");}function s(e=null){let t=e?e.querySelectorAll(".customSelect__options input"):document.querySelectorAll("form .js-ctnr-dropdown .customSelect__options input");for(var l=0;l<t.length;l++)t[l].checked=!1;}function r(e){let t=e.querySelectorAll(":focus");for(var l=0;l<t.length;l++)t[l].blur();}function i(e,t){let l=Array.from(t.selectedOptions),c=e.querySelector(".customSelect__content__selectedItem");0===l.length?(c.innerHTML=Drupal.t(function(e){let t="Filter by";const l=document.querySelector(`label[for="${e.id}"]`);if(l){const e=l.textContent.trim().toLowerCase();if(e)return t="Filter by "+e,t;}}(t)),c.classList.remove("active")):1===l.length?(c.innerHTML=l[0].text,c.classList.add("active")):(c.innerHTML=Drupal.formatPlural(l.length,"1 option selected","@count options selected"),c.classList.add("active"));}function a(e){e.querySelectorAll("label")[0].focus();}function u(e){var t=e.target,l=t.closest(".customSelect"),n=l.querySelector(":focus");if(l){if(l.classList.contains("js-open")){var s=e.key;if(s&&s.match(/^[0-9a-zA-Z]{1}$/))return c+=s,clearTimeout(o),void (o=setTimeout(function(){!function(e,t){if(e&&t&&t.toLowerCase){t=t.toLowerCase();var l=e.querySelectorAll("li:not(.dp-n)");if(l&&l.length)for(var c=0;c<l.length;c++){var o=l[c].querySelector("label");if(o&&(o=o.innerText.toLowerCase()).startsWith(t)){r(e),a(l[c]);break;}}}}(l,c),c="";},500));}switch(e.keyCode){case 9:var i=l.querySelectorAll(".customSelect__options")[0].lastChild.querySelectorAll("label")[0];n&&n===i&&l.classList.remove("js-open");break;case 27:l.classList.remove("js-open"),n&&n.blur();break;case 13:if(l.classList.contains("removeEnterEvents"))break;if(l.classList.contains("js-open")){if(n){n.blur();var u=n.querySelector("label");u&&u.click();}}else{var d=t.closest("form");if(d){var f=d.querySelector("[type='submit']");f&&f.click();}}e.preventDefault();}}}}};!function(){function e(e){var o="",n="",i="",t="",c="";if(e){e.city&&e.city.names&&e.city.names&&e.city.names.en&&(o=document.Cookie.tryEncodeURI(e.city.names.en)),e.country&&(e.country.names&&e.country.names.en&&(n=document.Cookie.tryEncodeURI(e.country.names.en)),e.country.iso_code&&e.country.iso_code.toLowerCase&&(c=e.country.iso_code.toLowerCase())),e.postal&&e.postal.code&&(i=document.Cookie.tryEncodeURI(e.postal.code)),e.subdivisions&&e.subdivisions[0]&&e.subdivisions[0].names&&e.subdivisions[0].names.en&&(t=document.Cookie.tryEncodeURI(e.subdivisions[0].names.en));var a={city:o,countryName:n,isoCode:c,postalCode:i,subdivision:t};document.Cookie.create("STYXKEY_mbGeolocation",JSON.stringify(a),90);let d=new Event("geoDataLoaded",{bubbles:!1,cancelable:!0});document.dispatchEvent(d);}}function o(e){window.geolocationFailed=1,"undefined"!=typeof newrelic&&newrelic.noticeError("MaxMind geoip2 city lookup failed: "+(e&&e.error?e.error:"unknown error"));let o=new Event("geoDataFailed",{bubbles:!1,cancelable:!0});document.dispatchEvent(o);}if(null==document.Cookie.read("STYXKEY_mbGeolocation")){const n=1e4,i=Date.now(),t=setInterval(()=>{if(window.geoip2)clearInterval(t),window.geoip2.city(e,o);else{if(Date.now()-i>=n){clearInterval(t),window.geolocationFailed=1,"undefined"!=typeof newrelic&&newrelic.noticeError("MaxMind geoip2 script failed to load within "+n+"ms");let e=new Event("geoDataFailed",{bubbles:!1,cancelable:!0});document.dispatchEvent(e);}}},100);}else{let e=new Event("geoDataLoaded",{bubbles:!1,cancelable:!0});document.dispatchEvent(e);}}();Drupal.behaviors.mindbodyMainMenuNavigation={attach(){"use strict";const e=document.querySelectorAll(".region--main-navigation, .region--mobile-menu nav");if(0===e.length)return;const t=["click","keydown"],n="active",i=document.querySelector(".getADemoSticky");var o=function(e,t){if(t&&"mouseover"===t.type)if((window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)<1024)return;if(e.classList.contains(n))return;const o=e.parentElement.querySelectorAll("."+n+".menu-item-view-mode--mega_menu");o.length>0&&o.forEach((e)=>{l(e);}),e.classList.add(n),e.setAttribute("aria-expanded","true"),e.querySelectorAll(".menu-link")[0].focus(),i&&i.classList.add(n);},l=function(e){e.classList.remove(n),e.setAttribute("aria-expanded","fal
4se"),e.querySelectorAll(".menu-link")[0].blur(),i&&i.classList.remove(n);};e.forEach((e)=>{const c=e.querySelectorAll(".menu-item--expanded > a"),a=e.querySelectorAll(".menu-item-view-mode--mega_menu.menu-item--expanded"),s=e.querySelectorAll(".menu-item-view-mode--collapsible"),r=e.querySelectorAll(".mobile-menu-back");c.forEach((e)=>{t.forEach((t)=>{e.addEventListener(t,(e)=>{e.preventDefault();});});}),a.forEach((e)=>{(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>=1024&&(e.addEventListener("mouseover",function(t){o(e,t);},!1),e.addEventListener("mouseleave",function(){l(e);},!1)),t.forEach((t)=>{e.addEventListener(t,function(t){t.keyCode&&13!==t.keyCode||(t.target.classList.contains("menu-item-view-mode--mega_menu")||t.target.parentElement.classList.contains("menu-item-view-mode--mega_menu"))&&o(e);});});});let m=(e)=>{let t=e.querySelector(".menu-dropdown"),i=t.scrollHeight;e.classList.toggle(n),e.setAttribute("aria-expanded",e.classList.contains(n)),e.classList.contains(n)?t.style.height=i+"px":t.style.height="0px";};s.forEach((e)=>{e.querySelector(".menu-link").addEventListener("click",function(){e.classList.contains("toggling")||(e.classList.add("toggling"),m(e),setTimeout(()=>{e.classList.remove("toggling");},500));});}),document.addEventListener("click",function(t){let o=e.querySelectorAll("."+n+":not(.menu-item-view-mode--collapsible)");i&&i.contains(t.target)||o.length>0&&o.forEach((e)=>{e.contains(t.target)||e.classList.remove(n);});}),document.addEventListener("keyup",function(t){if(27===t.keyCode){let t=e.querySelectorAll("."+n),i=t[t.length-1];i&&(i.classList.contains("menu-item-view-mode--collapsible")?m(i):i.classList.contains("menu-item-view-mode--mega_menu")&&l(i));}}),r.forEach((e)=>{e.addEventListener("click",(e)=>{let t=e.target.closest(".active");t&&l(t);});});});}};Drupal.behaviors.mindbodyMobileMenuTrigger={attach(e){const t="mobile-menu"===e.id?e:e.querySelector("#mobile-menu"),s=e.classList&&e.classList.contains("menu-trigger")?e:e.querySelectorAll(".menu-trigger");if(!t||0==s.length)return;const n=document.querySelector(".getADemoSticky"),o="active";t.classList.contains("js-processed")||s.forEach((e)=>{e.addEventListener("click",function(e){e.stopPropagation(),t.classList.toggle(o),document.body.classList.toggle("mobileMenuOpen");}),t.classList.add("js-processed");}
4),document.addEventListener("click",function(e){if(n&&n.contains(e.target))return;t.contains(e.target)||(t.classList.remove(o),n&&n.classList.remove(o),document.body.classList.remove("mobileMenuOpen"));});}};!function(){const e=document.querySelector(".nav--landing__ctaDemo");if(!e)return;let t=document.querySelector('[id^="form-"]');t||(t=document.querySelector("#demo")),t&&(e.classList.remove("dp-n"),e.setAttribute("href",`#${t.id}`));}();setTimeout(()=>{if(document.getElementById("pendo-base")){const e=(t)=>{!t.toElement&&!t.relatedTarget&&t.clientY<10&&(document.removeEventListener("mouseout",e),document.querySelector("body").classList.add("js-pendo-visible"));},t=(e)=>{(e.target.classList.contains("_pendo-close-guide")||27===e.keyCode)&&(document.querySelector("body").classList.remove("js-pendo-visible"),document.removeEventListener("keydown",t)),o.setCookie("pendoExitIntentShown",!0,60);},o={setCookie(e,t,o){let n="";if(o){const e=new Date();e.setTime(e.getTime()+24*o*60*60*1e3),n="; expires="+e.toUTCString();}document.cookie=e+"="+(t||"")+n+";";},getCookie(e){const t=document.cookie.split(";");for(const o of t)if(o.indexOf(e+"=")>-1)return o.split("=")[1];return null;}};o.getCookie("pendoExitIntentShown")||setTimeout(()=>{document.addEventListener("mouseout",e),document.addEventListener("keydown",t),document.querySelector("#pendo-base").addEventListener("click",t);},5e3);}},5e3);Drupal.behaviors.scrollTo={attach:function(t,e){if(window.scrollToSmooth=function(t,e){t=t instanceof jQuery?t:$(t);let i=$("#header-main").outerHeight()||$("#header-landing").outerHeight()||0,n=function(){let e=t.offset().top-i;return window.matchMedia("(max-width: 767px)").matches&&t.find(":input:enabled:visible:first").length>0&&(e=t.find(":input:enabled:visible:first").offset().top-i-200),e;};if($("html, body").animate({scrollTop:n()},{duration:1e3,step:function(t,e){e.end=n();}}),!e)if(t.find(":input:enabled:visible:first").length>0&&!window.matchMedia("(max-width: 767px)").matches)t.find(":input:enabled:visible:first").focus();else{if(t.focus(),t.is(":focus"))return !1;t.attr("tabindex","-1"),t.focus();}return !1;},window.location.hash){var i=window.location.hash;if(!i.startsWith("#modal-video-")){var n=$(i);n.length&&scrollToSmooth(n);}}window.handleScrollTo=function(t){if(location.pathname.replace(/^\//,"")==this.pathname.replace(/^\//,"")&&location.hostname==this.hostname){if($(this).attr("href").startsWith("#modal-video-"))return;var e=$(this.hash),i=$(this).hasClass("js-no-focus"),n=$(this).closest(".js-multi-step-form");(e=e.length?e:$("[name="+this.hash.slice(1)+"]")).length&&!n.length&&scrollToSmooth(e,i);}return window.tealiumEngagementHandler&&tealiumEngagementHandler(t),!1;},$(document).on("click",'a[href^="#"]:not([href="#"])',window.handleScrollTo);}};!function(){const e=document.querySelector(".pageHome__elt__list");if(e){const o=document.querySelector(".pageHome__elt__arrows__left"),t=document.querySelector(".pageHome__elt__arrows__right");o&&(o.onclick=function(){e.scroll({left:e.scrollLeft-300,behavior:"smooth"});}),t&&(t.onclick=function(){e.scroll({left:e.scrollLeft+300,behavior:"smooth"});});}}();window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(o,t){t=t||window;for(var i=0;i<this.length;i++)o.call(t,this[i],i,this);});!function(){if(document.querySelectorAll(".js-collapse .js-collapseItem").length>0){const e=document.querySelectorAll(".js-collapse"),l=document.querySelectorAll(".js-collapseItemParent");for(let t=0;t<l.length;t++){const s=l[t],c=e[t];s.style.height=0,c.classList.add("js-collapsed"),c.addEventListener("click",function(){const e=this.querySelector(".js-collapseItemParent"),l=this.querySelector(".js-collapseItem").clientHeight;"0px"==e.style.height?(e.style.height=l+"px",this.classList.remove("js-collapsed")):(e.style.height=0,this.classList.add("js-collapsed"));});}}}();if("IntersectionObserver" in window&&"IntersectionObserverEntry" in window&&"intersectionRatio" in window.IntersectionObserverEntry.prototype){let e,r=document.getElementById("header-main"),t="0px";if((e=document.querySelector(".pageHome__hero"))?t="-150px":(e=document.querySelector(".pageCulture__hero"))?t="-50px":(e=document.querySelector(".pageCareers__hero"))&&(t="-250px"),e)new IntersectionObserver((e)=>{e[0].isIntersecting?r.classList.add("header-within-hero"):r.classList.remove("header-within-hero");},{rootMargin:`${t} 0px 0px 0px`}).observe(e);}new MutationObserver(function(e,t){if("undefined"!=typeof truste)return function(){if("object"!=typeof truste.eu)return;"#cookie-preferences"===window.location.hash&&(truste.eu.clickListener(),history.replaceState({},document.title,window.location.pathname+window.location.search));const e=document.querySelectorAll('a[href*="#cookie-preferences"]');0!=e.length&&e.forEach((e)=>{e.addEventListener("click",function(t){e.hostname===window.location.hostname&&(t.preventDefault(),truste.eu.clickListener());});});}(),void t.disconnect();}).observe(document,{childList:!0,subtree:!0});!function(){$=jQuery;let n=[location.hostname],o=["clients.mindbodyonline.com","developers.mindbodyonline.com","consulting.mindbodyonline.com","integrations.mindbodyonline.com","mindbody.one","support.mindbodyonline.com","www.mindbodyonline.com/explore"];$("a").filter(function(){if(this.href){for(const n of o)if(-1!==this.href.toLowerCase().indexOf(n))return !0;for(const o of n)if(-1!==this.href.toLowerCase().indexOf(o))return !1;return !0;}}).attr({target:"_blank",rel:function(){let n=$(this).attr("rel");return void 0!==n&&!1!==n?n+" noopener":"noopener";}}).addClass("link--external");}();(function(){function recordTealiumClickEvents(){function reportErrorToNewRelic(e){"undefined"!=typeof newrelic?newrelic.noticeError(e):console.log("newrelic not found");}var reportedBadDetails={};
4function parseTealiumDetails(detailsString,element,fallback){try{return eval("("+detailsString+")");}catch(e){if(!reportedBadDetails[detailsString]){reportedBadDetails[detailsString]=!0;var selector=element&&element.className?"."+String(element.className).split(" ")[0]:"unknown element";reportErrorToNewRelic(new Error("Unparseable data-tealium-details on "+selector+"; falling back to default click tracking. Editorial punctuation in the attribute is the usual cause."));}return fallback;}}function sendToTealium(e){try{utag.link(e);}catch(e){reportErrorToNewRelic(e);}}function getNameByAttribute(e){var t="";if(e)for(var n=e.attributes,a=0;a<n.length;a++){var r=n[a];r.name.match("data-tealium-")&&(t=r.name.replace("data-tealium-",""));}return t;}function getCategoryByName(e){var t="",n={navigation:["breadcrumb_link_click","footer_link_click","login","nav_menu_link_click","top_nav_menu_link_click"],download:["ungated_content_download"],engagement:["hub_page_cta_click","hub_page_header_link_click","breadcrumb_search","product_navigation_search","education_hub_search"],event_engagement:["event_interest"]};for(var a in n)if(-1!==n[a].indexOf(e)){t=a;break;}return t;}function getClickDetailInfo(e){if(e){var t=e.innerText;return t||(t=e.href),t&&(t=t.trim()),t;}}function getClickElement(e){var t=0,n=0;return (isATag(e)||"BUTTON"===e.nodeName||e.className.indexOf("btn")>-1||e.className.indexOf("ctnr-dropdown")>-1||e.className.indexOf("menu-link")>-1)&&(t=e,(n=e.closest("a"))&&(t=n)),!t&&e&&((t=e.closest("a"))||(t=e.closest("button")),t||(t=e.closest(".btn")),t||((t=e.closest(".ctnr-dropdown"))&&t.closest(".js-open")&&(t=""),t||(t=e.closest(".btn")))),t;}function isCtnrDropdown(e){return e&&e.className.indexOf("ctnr-dropdown")>-1;}function isATag(e){return e&&"A"===e.nodeName;}window.tealiumEngagementHandler=function(e){var t={tealium_event:"unnamed_click",event_category:"uncategorized",event_action:"",event_detail:""},n=e.target,a=0,r="";if("click"==e.type&&"submit"===n.type){let e=n.form?n.form.elements[0].value:null;if(!e)return;r=e,t.event_action="search",a=n;}else if("click"==e.type)r=isCtnrDropdown(a=getClickElement(n))?getClickDetailInfo(n):getClickDetailInfo(a),t.event_action="click";else{if("focusin"!==e.type||"submit"===n.type)return;a=e.target,t.tealium_event="form_field_focus",t.event_category="engagement",t.event_action="click",r=`${document.title.replace(" | Booker","")}_${e.target.name}`;}if(r&&(t.event_detail=r),a){var i=getNameByAttribute(a),l="";if(i&&(l=getCategoryByName(i))&&(t.tealium_event=i,t.event_category=l),(!a||!a.closest(".custom-submission-form")||i||isATag(a))&&!(a&&isCtnrDropdown(a)&&a.closest(".views-exposed-form"))){var o=a.getAttribute("data-tealium-details");if(o&&(t=parseTealiumDetails(o,a,t)),a&&a.closest(".menu-panel-wrapper")&&"submit"!==n.type&&"search"!==n.type){let e=a.closest(".menu-panel-wrapper").dataset.panelControlledByMenuTitle.toLowerCase();e&&(t.tealium_event=`${e}_panel_click`);}sendToTealium(t);}}},window.addEventListener("click",tealiumEngagementHandler),window.addEventListener("keyup",tealiumEngagementHandler);var forms=document.querySelectorAll("form");forms.forEach((e)=>{e.addEventListener("focusin",tealiumEngagementHandler);}),Drupal.behaviors.tealiumEventTracking={attach:function(e,t){jQuery(".views-auto-submit-click",e).click(function(){if(this.parentNode&&this.parentNode.parentNode){var e=this.parentNode.parentNode;if(e){for(var t="",n=e.querySelectorAll(".ctnr-dropdown .selectedItem"),a="",r=0;r<n.length;r++)(a=n[r].innerHTML)&&0!==a.indexOf("Filter by")&&(t+=a+" & ");var i=e.querySelectorAll("[type='text']");for(r=0;r<i.length;r++)(a=i[r].value)&&(t+=a+" & ");sendToTealium({tealium_event:"learning_hub_search",event_category:"engagement",event_action:"search",event_detail:t=t?t.substring(0,t.length-3):"blank"});}}});}},Drupal.behaviors.tealiumEventTracking.attach();}var observer=new MutationObserver(function(e,t){if("undefined"!=typeof utag)return recordTealiumClickEvents(),void t.disconnect();});observer.observe(document,{childList:!0,subtree:!0});})();!function(){const e=document.querySelectorAll(".share");if(!e.length)return;if(!document.querySelector("meta[property='og:description']"))return;const t=document.URL,r=document.querySelector("meta[property='og:description']").content,n=document.title,o=document.createElement("span");o.classList.add("share__btnItem__message"),o.innerText="Copied!";const c=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,(e)=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`);};function i(e,t){const r=(screen.width-570)/2,n="menubar=no,toolbar=no,status=no,width=570,height=570,top="+(screen.height-570)/2+",left="+r;try{window.open(e,"NewWindow",n);}catch{t.classList.add("error");}}e.forEach((e)=>{const s=e.querySelector(".share__btn--native"),a=e.querySelector(".share__btn--twitter"),l=e.querySelector(".share__btn--facebook"),d=e.querySelector(".share__btn--linkedin"),u=e.querySelector(".share__btn--copy");if(s&&s.addEventListener("click",function(){try{navigator.share({url:t,title:n,text:r});}catch{s.style.display="none";document.querySelectorAll(".share__btnItem--desktopOnly").forEach((e)=>{e.style.display="flex";});}}),l&&l.addEventListener("click",function(){i("https://www.facebook.com/sharer/sharer.php?u="+c(t),l);}),a&&a.addEventListener("click",function(){i("https://twitter.com/intent/tweet?url="+c(t)+"&text="+c(r),a);}),d&&d.addEventListener("click",function(){i("https://www.linkedin.com/sharing/share-offsite/?url="+c(t),d);}),u){let e;u.addEventListener("click",function(){clearTimeout(e);try{navigator.clipboard.writeText(t).then(()=>{o.remove(),u.after(o),u.classList.add("active"),e=setTimeout(()=>{o.remove(),u.classList.remove("active");},"2000");});}catch{u.classList.add("error");}});}});}();var n=["p","h1","h2"];
4n.forEach(function(n){document.querySelectorAll(n).forEach(function(n){var e=n.innerHTML.trim(),r=(e=e.split(" "))[e.length-1];if(e.length>2&&!r.includes("&nbsp;")&&r.length<8){r="&nbsp;"+r,e.pop();var i=e.join(" ");n.innerHTML=i+r;}});});!function(){var e={"videotestimonial:activate":{tealium_event:"video_testimonial_activate",event_action:"activate"},"videotestimonial:play":{tealium_event:"video_testimonial_play",event_action:"play"},"videotestimonial:progress":{tealium_event:"video_testimonial_progress",event_action:"progress"},"videotestimonial:pause":{tealium_event:"video_testimonial_pause",event_action:"pause"},"videotestimonial:complete":{tealium_event:"video_testimonial_complete",event_action:"complete"}};function t(e){var t=[e.name,e.company].filter(Boolean).join(", ")||"Video testimonial";return e.vimeoId?t+" ("+e.vimeoId+")":t;}function i(e,t){switch(e){case "videotestimonial:activate":return "via "+(t.trigger||"click");case "videotestimonial:play":return "via "+(t.trigger||"button");case "videotestimonial:progress":return t.milestone+"%";case "videotestimonial:pause":return Math.round(t.watchedSeconds||0)+"s watched, "+(t.percent||0)+"% ("+(t.reason||"switch")+")";case "videotestimonial:complete":return Math.round(t.watchedSeconds||0)+"s watched";default:return "";}}Object.keys(e).forEach(function(n){document.addEventListener(n,function(a){var o=a.detail||{};!function(e){if("undefined"!=typeof utag&&"function"==typeof utag.link)try{utag.link(e);}catch(e){"undefined"!=typeof newrelic&&newrelic.noticeError(e);}}({tealium_event:e[n].tealium_event,event_category:"engagement",event_action:e[n].event_action,event_detail:t(o)+" | "+i(n,o)});});});}();!function(){document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll(".pricing__plansOverview__plan").forEach((e,t)=>{setTimeout(()=>{e.classList.add("pricing__plansOverview__plan--visible");},100*t);});}),document.addEventListener("DOMContentLoaded",function(){const e=document.querySelectorAll(".pricing__plansOverview__plan__expandBtn");e.forEach((t)=>{t.addEventListener("click",function(){const t="true"===this.getAttribute("aria-expanded");this.setAttribute("aria-expanded",!t),e.forEach((e)=>{e!==this&&e.setAttribute("aria-expanded",!1);});});});});const e=document.getElementById("pricing__keyFeatures__tableExpandBtn"),t=document.getElementById("pricing__keyFeatures__tableWrapper");if(e&&t){const n=function(){const e="true"===this.getAttribute("aria-expanded");if(e){const e=document.querySelector(".pricing__keyFeatures"),t=document.getElementById("header-main"),n=t?t.offsetHeight:0,i=e.getBoundingClientRect().top+window.scrollY-n;window.scrollY>i&&window.scrollTo({top:i});}this.setAttribute("aria-expanded",!e),t.classList.toggle("pricing__keyFeatures__tableWrapper--closed");};e.addEventListener("click",n);}function n(){const e=document.getElementById("pricing__keyFeatures__table");if(!e)return;function t(t,n){const i=t.cellIndex;e.querySelectorAll(`td:nth-child(${i+1})`).forEach(function(e){e.classList.toggle("active",n);});}e.querySelectorAll("td").forEach(function(e){e.addEventListener("mouseenter",function(){t(this,!0);}),e.addEventListener("mouseleave",function(){t(this,!1);});});}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n();}();$=jQuery,$(document).ajaxComplete(function(e,t,o){var r=$(".productUpdates__monthGroup__title");if(r.length<2)return;let c={};for(let e of r){let t=e.textContent.trim();c[t]?e.remove():c[t]=e;}}),Drupal.behaviors.productUpdates={attach:function(e,t){const o=e.querySelector(".viewsExposedFiltersForm__searchInput");if(o){const e=o.closest("form").querySelector('input[name="combine"]');let t;e&&e.value&&(o.value=e.value),o.addEventListener("input",function(){const e=this.closest("form"),o=e.querySelector('input[name="combine"]');o&&(o.value=this.value),clearTimeout(t),t=setTimeout(function(){const t=e.querySelector(".js-form-submit");t&&t.click();},1500);}),o.addEventListener("keydown",function(e){if("Enter"===e.key){e.preventDefault();const t=this.closest("form").querySelector(".js-form-submit");t&&t.click();}});}e===document&&document.addEventListener("click",function(e){if(e.target.closest(".viewsExposedFiltersForm__toggleFilters")){e.preventDefault();const t=e.target.closest(".viewsExposedFiltersForm__toggleFilters"),o=t.closest("form").querySelector(".viewsExposedFiltersForm__filters");o&&o.classList.toggle("active"),t.classList.toggle("active");}}),e===document&&document.addEventListener("click",function(e){if(e.target.closest(".viewsExposedFiltersForm__clearFilters")){e.preventDefault();const t=e.target.closest(".viewsExposedFiltersForm__clearFilters").closest("form");t.querySelectorAll("input, select, textarea").forEach(function(e){"checkbox"===e.type||"radio"===e.type?e.checked=!1:e.value="";});const o=t.querySelector(".js-form-submit");o&&o.click();}}),e.querySelectorAll(".productUpdate__copyUrlLink").forEach(function(e){e.dataset.copyUrlBound||(e.dataset.copyUrlBound="true",e.addEventListener("click",function(t){t.preventDefault();const o=e.getAttribute("data-url");if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(o);else{const e=document.createElement("textarea");e.value=o,e.setAttribute("readonly",""),e.style.position="absolute",e.style.left="-9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e);}alert("URL copied to clipboard");}));});}};;

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.