( function ( g ) { var t = { PLATFORM_WINDOWS: 'windows', PLATFORM_IPHONE: 'iphone', PLATFORM_IPOD: 'ipod', PLATFORM_IPAD: 'ipad', PLATFORM_BLACKBERRY: 'blackberry', PLATFORM_BLACKBERRY_10: 'blackberry_10', PLATFORM_SYMBIAN: 'symbian_series60', PLATFORM_SYMBIAN_S40: 'symbian_series40', PLATFORM_J2ME_MIDP: 'j2me_midp', PLATFORM_ANDROID: 'android', PLATFORM_ANDROID_TABLET: 'android_tablet', PLATFORM_FIREFOX_OS: 'firefoxOS', PLATFORM_MOBILE_GENERIC: 'mobile_generic', userAgent : false, // Shortcut to the browser User Agent String. matchedPlatformName : false, // Matched platform name. False otherwise. matchedUserAgentName : false, // Matched UA String. False otherwise. init: function() { try { t.userAgent = g.navigator.userAgent.toLowerCase(); t.getPlatformName(); t.getMobileUserAgentName(); } catch ( e ) { console.error( e ); } }, initForTest: function( userAgent ) { t.matchedPlatformName = false; t.matchedUserAgentName = false; try { t.userAgent = userAgent.toLowerCase(); t.getPlatformName(); t.getMobileUserAgentName(); } catch ( e ) { console.error( e ); } }, /** * This method detects the mobile User Agent name. */ getMobileUserAgentName: function() { if ( t.matchedUserAgentName !== false ) return t.matchedUserAgentName; if ( t.userAgent === false ) return false; if ( t.isChromeForIOS() ) t.matchedUserAgentName = 'chrome-for-ios'; else if ( t.isTwitterForIpad() ) t.matchedUserAgentName = 'twitter-for-ipad'; else if ( t.isTwitterForIphone() ) t.matchedUserAgentName = 'twitter-for-iphone'; else if ( t.isIPhoneOrIPod() ) t.matchedUserAgentName = 'iphone'; else if ( t.isIPad() ) t.matchedUserAgentName = 'ipad'; else if ( t.isAndroidTablet() ) t.matchedUserAgentName = 'android_tablet'; else if ( t.isAndroid() ) t.matchedUserAgentName = 'android'; else if ( t.isBlackberry10() ) t.matchedUserAgentName = 'blackberry_10'; else if ( has( 'blackberry' ) ) t.matchedUserAgentName = 'blackberry'; else if ( t.isBlackberryTablet() ) t.matchedUserAgentName = 'blackberry_tablet'; else if ( t.isWindowsPhone7() ) t.matchedUserAgentName = 'win7'; else if ( t.isWindowsPhone8() ) t.matchedUserAgentName = 'winphone8'; else if ( t.isOperaMini() ) t.matchedUserAgentName = 'opera-mini'; else if ( t.isOperaMobile() ) t.matchedUserAgentName = 'opera-mobi'; else if ( t.isKindleFire() ) t.matchedUserAgentName = 'kindle-fire'; else if ( t.isSymbianPlatform() ) t.matchedUserAgentName = 'series60'; else if ( t.isFirefoxMobile() ) t.matchedUserAgentName = 'firefox_mobile'; else if ( t.isFirefoxOS() ) t.matchedUserAgentName = 'firefoxOS'; else if ( t.isFacebookForIphone() ) t.matchedUserAgentName = 'facebook-for-iphone'; else if ( t.isFacebookForIpad() ) t.matchedUserAgentName = 'facebook-for-ipad'; else if ( t.isWordPressForIos() ) t.matchedUserAgentName = 'ios-app'; else if ( has( 'iphone' ) ) t.matchedUserAgentName = 'iphone-unknown'; else if ( has( 'ipad' ) ) t.matchedUserAgentName = 'ipad-unknown'; return t.matchedUserAgentName; }, /** * This method detects the mobile platform name. */ getPlatformName : function() { if ( t.matchedPlatformName !== false ) return t.matchedPlatformName; if ( t.userAgent === false ) return false; if ( has( 'windows ce' ) || has( 'windows phone' ) ) { t.matchedPlatformName = t.PLATFORM_WINDOWS; } else if ( has( 'ipad' ) ) { t.matchedPlatformName = t.PLATFORM_IPAD; } else if ( has( 'ipod' ) ) { t.matchedPlatformName = t.PLATFORM_IPOD; } else if ( has( 'iphone' ) ) { t.matchedPlatformName = t.PLATFORM_IPHONE; } else if ( has( 'android' ) ) { if ( t.isAndroidTablet() ) t.matchedPlatformName = t.PLATFORM_ANDROID_TABLET; else t.matchedPlatformName = t.PLATFORM_ANDROID; } else if ( t.isKindleFire() ) { t.matchedPlatformName = t.PLATFORM_ANDROID_TABLET; } else if ( t.isBlackberry10() ) { t.matchedPlatformName = t.PLATFORM_BLACKBERRY_10; } else if ( has( 'blackberry' ) ) { t.matchedPlatformName = t.PLATFORM_BLACKBERRY; } else if ( t.isBlackberryTablet() ) { t.matchedPlatformName = t.PLATFORM_BLACKBERRY; } else if ( t.isSymbianPlatform() ) { t.matchedPlatformName = t.PLATFORM_SYMBIAN; } else if ( t.isSymbianS40Platform() ) { t.matchedPlatformName = t.PLATFORM_SYMBIAN_S40; } else if ( t.isJ2MEPlatform() ) { t.matchedPlatformName = t.PLATFORM_J2ME_MIDP; } else if ( t.isFirefoxOS() ) { t.matchedPlatformName = t.PLATFORM_FIREFOX_OS; } else if ( t.isFirefoxMobile() ) { t.matchedPlatformName = t.PLATFORM_MOBILE_GENERIC; } return t.matchedPlatformName; }, /** * Detect the BlackBerry OS version. * * Note: This is for smartphones only. Does not work on BB tablets. */ getBlackBerryOSVersion : check( function() { if ( t.isBlackberry10() ) return '10'; if ( ! has( 'blackberry' ) ) return false; var rv = -1; // Return value assumes failure. var re; if ( has( 'webkit' ) ) { // Detecting the BB OS version for devices running OS 6.0 or higher re = /Version\/([\d\.]+)/i; } else { // BlackBerry devices <= 5.XX re = /BlackBerry\w+\/([\d\.]+)/i; } if ( re.exec( t.userAgent ) != null ) rv = RegExp.$1.toString(); return rv === -1 ? false : rv; } ), /** * Detects if the current UA is iPhone Mobile Safari or another iPhone or iPod Touch Browser. */ isIPhoneOrIPod : check( function() { return has( 'safari' ) && ( has( 'iphone' ) || has( 'ipod' ) ); } ), /** * Detects if the current device is an iPad. */ isIPad : check( function() { return has( 'ipad' ) && has( 'safari' ); } ), /** * Detects if the current UA is Chrome for iOS */ isChromeForIOS : check( function() { return t.isIPhoneOrIPod() && has( 'crios/' ); } ), /** * Detects if the current browser is the Native Android browser. */ isAndroid : check( function() { if ( has( 'android' ) ) { return ! ( t.isOperaMini() || t.isOperaMobile() || t.isFirefoxMobile() ); } } ), /** * Detects if the current browser is the Native Android Tablet browser. */ isAndroidTablet : check( function() { if ( has( 'android' ) && ! has( 'mobile' ) ) { return ! ( t.isOperaMini() || t.isOperaMobile() || t.isFirefoxMobile() ); } } ), /** * Detects if the current browser is Opera Mobile */ isOperaMobile : check( function() { return has( 'opera' ) && has( 'mobi' ); } ), /** * Detects if the current browser is Opera Mini */ isOperaMini : check( function() { return has( 'opera' ) && has( 'mini' ); } ), /** * isBlackberry10() can be used to check the User Agent for a BlackBerry 10 device. */ isBlackberry10 : check( function() { return has( 'bb10' ) && has( 'mobile' ); } ), /** * isBlackberryTablet() can be used to check the User Agent for a RIM blackberry tablet */ isBlackberryTablet : check( function() { return has( 'playbook' ) && has( 'rim tablet' ); } ), /** * Detects if the current browser is a Windows Phone 7 device. */ isWindowsPhone7 : check( function () { return has( 'windows phone os 7' ); } ), /** * Detects if the current browser is a Windows Phone 8 device. */ isWindowsPhone8 : check( function () { return has( 'windows phone 8' ); } ), /** * Detects if the device platform is J2ME. */ isJ2MEPlatform : check( function () { return has( 'j2me/midp' ) || ( has( 'midp' ) && has( 'cldc' ) ); } ), /** * Detects if the device platform is the Symbian Series 40. */ isSymbianS40Platform : check( function() { if ( has( 'series40' ) ) { return has( 'nokia' ) || has( 'ovibrowser' ) || has( 'nokiabrowser' ); } } ), /** * Detects if the device platform is the Symbian Series 60. */ isSymbianPlatform : check( function() { if ( has( 'webkit' ) ) { // First, test for WebKit, then make sure it's either Symbian or S60. return has( 'symbian' ) || has( 'series60' ); } else if ( has( 'symbianos' ) && has( 'series60' ) ) { return true; } else if ( has( 'nokia' ) && has( 'series60' ) ) { return true; } else if ( has( 'opera mini' ) ) { return has( 'symbianos' ) || has( 'symbos' ) || has( 'series 60' ); } } ), /** * Detects if the current browser is the Kindle Fire Native browser. */ isKindleFire : check( function() { return has( 'silk/' ) && has( 'silk-accelerated=' ); } ), /** * Detects if the current browser is Firefox Mobile (Fennec) */ isFirefoxMobile : check( function() { return has( 'fennec' ); } ), /** * Detects if the current browser is the native FirefoxOS browser */ isFirefoxOS : check( function() { return has( 'mozilla' ) && has( 'mobile' ) && has( 'gecko' ) && has( 'firefox' ); } ), /** * Detects if the current UA is Facebook for iPad */ isFacebookForIpad : check( function() { if ( ! has( 'ipad' ) ) return false; return has( 'facebook' ) || has( 'fbforiphone' ) || has( 'fban/fbios;' ); } ), /** * Detects if the current UA is Facebook for iPhone */ isFacebookForIphone : check( function() { if ( ! has( 'iphone' ) ) return false; return ( has( 'facebook' ) && ! has( 'ipad' ) ) || ( has( 'fbforiphone' ) && ! has( 'tablet' ) ) || ( has( 'fban/fbios;' ) && ! has( 'tablet' ) ); // FB app v5.0 or higher } ), /** * Detects if the current UA is Twitter for iPhone */ isTwitterForIphone : check( function() { if ( has( 'ipad' ) ) return false; return has( 'twitter for iphone' ); } ), /** * Detects if the current UA is Twitter for iPad */ isTwitterForIpad : check( function() { return has( 'twitter for ipad' ) || ( has( 'ipad' ) && has( 'twitter for iphone' ) ); } ), /** * Detects if the current UA is WordPress for iOS */ isWordPressForIos : check( function() { return has( 'wp-iphone' ); } ) }; function has( str ) { return t.userAgent.indexOf( str ) != -1; } function check( fn ) { return function() { return t.userAgent === false ? false : fn() || false; } } g.wpcom_mobile_user_agent_info = t; } )( typeof window !== 'undefined' ? window : this ); ; /** * A class to log JS errors to Kibana * @class * * @constructor * * @property event the event object * @property feature the feature property on the API endpoint */ ( function() { function LogErrors( event, feature ) { this.event = event || window.event; this.feature = feature || ''; } /** * Makes POST request to js-errors public API endpoint */ LogErrors.prototype.logToEndpoint = function() { var xhr = new XMLHttpRequest(); var errorData = JSON.stringify( { feature: this.feature, message: 'Error Message: "' + this.event.message + '"' + '\nLine Number: ' + this.event.lineno + '\nURL: ' + this.event.target.location.href + '\nFile: ' + this.event.filename, } ); var params = 'error=' + encodeURIComponent( errorData ); xhr.onreadystatechange = function() { if ( xhr.readyState === 4 && xhr.status === 200 ) { console.log( 'The JavaScript errors have successfully been reported.' ); } } xhr.open( 'POST', 'https://public-api.wordpress.com/rest/v1.1/js-error', true ); xhr.setRequestHeader( 'Content-type', 'application/x-www-form-urlencoded' ); xhr.send( params ); }; /** * Instantiates LogErrors and fires off call to endpoint, * removing itself after executed once. * * @property event the event object */ var handleInitialError = function( event ) { if ( event.message && 0 === event.message.toLowerCase().indexOf( 'script error' ) && ! event.filename ) { return; } var errors = new LogErrors( event, 'h4_js_errors' ); errors.logToEndpoint(); window.removeEventListener( 'error', handleInitialError ); }; /** * Attach handleInitialError to 'error' event */ window.addEventListener( 'error', handleInitialError ); } )(); ; (()=>{"use strict";var t={2127:(t,e,n)=>{var r=n(9329),s=n(2405);function o(t,e){return t+Math.floor(Math.random()*(e-t+1))}(0,r.A)((()=>{document.querySelectorAll(".lp-footer-section").forEach((t=>{t.querySelectorAll("[data-dictionary]").forEach((t=>{const e=function(t){const{parse:e}=JSON;let n;try{n=e(t)}catch(r){try{n=e(atob(t))}catch(t){}}return Array.isArray(n)?n.map((t=>String(t).trim())).filter(Boolean):[]}(function(t,e){const n=t.getAttribute(e);return t.removeAttribute(e),n}(t,"data-dictionary"));if(e.length<1)return;const n=t.innerHTML.trim();!function(t,e){const n=e.length;let r=-1;const i=i=>{(0,s.A)(i)||(i=((t,e,n)=>{if(!(0,s.A)(n)||n<0||n>e)return o(0,e);const r=o(0,e-1);return r+(r>=n?1:0)})(0,n-1,r)),t.innerHTML=e[i],r=i};if(n<2)return i(0);i(),function(t,e){new IntersectionObserver((t=>{t.forEach((({isIntersecting:t})=>{t||e()}))}),{rootMargin:"1px 1px 1px 1px"}).observe(t)}(t,i)}(t,e.map((t=>t.replace("Automattic",n))))}))}))})),(0,r.A)((()=>{function t(t){const e=t.target.value;((t,e,n)=>{(n={domain:".wordpress.com",expires:1,path:"/",...n}).expires=new Date(Date.now()+24*n.expires*60*60*1e3).toGMTString();const r=[["wpcom_locale",e].map(encodeURIComponent).join("=")];for(const t in n)r.push(`${t}=${n[t]}`);document.cookie=r.join("; ")})(0,e,{expires:1825}),function(t){if(!t)return;const e=t.getAttribute("data-href")+document.location.search;t.setAttribute("href",e),t.click()}(document.querySelector(`.lp-language-picker__link[lang="${e}"]`))}Array.from(document.querySelectorAll(".lp-language-picker__content")).forEach((e=>{e.addEventListener("change",t)}))}));(0,r.A)((()=>{let t=-1;const e=Array.from(document.querySelectorAll(".lp-footer-stack")),n=()=>{e.forEach((t=>t.open=!0))},r=n=>{(0,s.A)(n)&&(t=n),e.forEach(((e,n)=>{n!==t&&(e.open=!1)}))},o=()=>window.innerWidth>=1152,i=()=>{o()?n():r()};addEventListener("resize",i),requestAnimationFrame(i),e.forEach(((e,s)=>{const i=e.querySelector("summary");i.addEventListener("click",(a=>{if(a.detail>0&&i.blur(),o())return a.preventDefault(),a.stopImmediatePropagation(),t=-1,n();s!==t&&!0!==e.open?r(s):t=-1}))}))}))},9329:(t,e,n)=>{n.d(e,{A:()=>s});const r=t=>{o(document,"DOMContentLoaded",t)};r.load=t=>{o(window,"load",t)};const s=r;function o(t,e,n){let r=!1;const s=()=>{r||(n(document),r=!0)};if("complete"===document.readyState)return setTimeout(s,0);t.addEventListener(e,s)}},2405:(t,e,n)=>{n.d(e,{A:()=>r});const r=t=>!isNaN(t)&&"number"==typeof t}},e={};function n(r){var s=e[r];if(void 0!==s)return s.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};n.r(r),n.d(r,{linear:()=>g,quadraticOut:()=>y,quinticOut:()=>b}),n(2127);const s=JSON.parse('{"zR":"/wp-admin/admin-ajax.php?action=landpack_form_nonce"}');var o=n(9329);const i="_wpnonce";function a(t,e=!0){t.querySelectorAll("button, input, textarea, select").forEach(e?t=>t.setAttribute("disabled",""):t=>t.removeAttribute("disabled"))}function c(t,e,n){const r=t.querySelector(".lp-form-message"),s=`lp-form-message lp-form-message--${e}`;return r&&!n?r.remove():!r&&n?t.insertAdjacentHTML("afterbegin",`
${n}
`):void(r&&n&&(r.className=s,r.innerHTML=n))}(0,o.A)((()=>{const t="lp-form--is-fetching",e="lp-form--is-success",n="lp-form--is-failed";function r(t,e){const n=t.target.dataset;n.fetchCompleteEvent&&document.querySelector("body").dispatchEvent(new CustomEvent(n.fetchCompleteEvent,{detail:{response:e}}))}!function(){const t=document.querySelectorAll(`.lp-form input[name="${i}"]`);t.length&&fetch(s.zR).then((t=>t.json())).then((t=>t.success?t[i]:Promise.reject())).then((e=>{t.forEach((t=>{t.setAttribute("value",e)}))})).catch((()=>{console.error(`Could not initialize ${i}`)}))}(),function(){const t=document.querySelector(".lp-form .lp-form-message");t&&t.scrollIntoView()}(),document.querySelectorAll(".lp-form__fetch-data:not(.lp-form--is-xhr)").forEach((s=>{const o=s.getAttribute("method")||"GET",i=s.getAttribute("action");s.classList.remove(e,n),i&&s.addEventListener("submit",(async a=>{a.preventDefault(),s.classList.add(t);try{const n=new URL(i),c=new URLSearchParams(new FormData(a.target));for(const[t,e]of c.entries())n.searchParams.append(t,e);const l=await fetch(n.toString(),{method:o});if(s.classList.remove(t),!l)return;if(200!==l.status)throw new Error("Failed to fetch data");s.classList.add(e),r(a,l)}catch(t){s.classList.add(n),console.error("There was a problem with the fetch operation:",t.message)}}))})),document.querySelectorAll(".lp-form--is-xhr").forEach((s=>{s.addEventListener("submit",(o=>{o.preventDefault();const i=o.target,l=i.getAttribute("action");s.classList.remove(e,n);const u=Object.fromEntries(new FormData(i));a(i),c(i),l&&(s.classList.add(t),fetch(l,{method:i.getAttribute("method"),body:JSON.stringify(u),headers:{Accept:"application/json","Content-Type":"application/json"},credentials:"include"}).then((t=>t.json())).then((e=>(s.classList.remove(t),"ok"===e.status||200===e.status?e:Promise.reject(e)))).then((t=>{const n=i.getAttribute("data-success-action");r(o,t),n?location.href=n:(s.classList.add(e),c(i,"success",t?.message||t?.body?.message||"Your response has been sent."))})).catch((t=>{a(i,!1),s.classList.add(n),c(i,"error",t?.message||t?.body?.message||"There’s been an error.")})))}))}))})),(0,o.A)((()=>{document.querySelectorAll(".lp-form-typed input").forEach((t=>{const e=t.closest(".lp-form-typed-field");e&&(t.addEventListener("focus",(()=>{e.classList.add("lp-form-field--is-focused")})),t.addEventListener("blur",(()=>{t.value||e.classList.remove("lp-form-field--is-focused")})))}))}));const l=t=>"function"==typeof t;var u=n(2405);let d=new Map;window._landpack_ui_dropdowns instanceof Map?d=window._landpack_ui_dropdowns:window._landpack_ui_dropdowns=d;class p{constructor(t){return t&&t instanceof HTMLElement?d.has(t)?d.get(t):(d.set(t,this),this.rootElement=t,this.triggerElement=t.querySelector("button[aria-expanded]"),this.triggerContentElement=this.triggerElement.querySelector(":first-child"),this.options=[],this.optionElements=Array.from(t.querySelectorAll("[role=option]")).reduce(((t,e)=>{const n=e.getAttribute("data-value");return n?(this.options.push(n),{...t,[n]:e}):t}).bind(this),{}),this.name=String(t.getAttribute("data-name")),this.__setValue(t.getAttribute("data-value")),void this.close().__addEventListeners()):new h}close(){return this.isOpen=!1,this.__clearCurrentIndex().__dispatch("close"),this.rootElement.classList.remove("lp-ui-dropdown--is-open"),this.triggerElement.setAttribute("aria-expanded","false"),this}on(t,e){return l(e)?this.__on(t,(t=>{t.$===this&&e(t)})):this}open(){return this.isOpen||(this.isOpen=!0,this.__clearCurrentIndex().__dispatch("open"),this.rootElement.classList.add("lp-ui-dropdown--is-open"),this.triggerElement.setAttribute("aria-expanded","true")),this}select(t){const e=this.value;return e===t?this:((0,u.A)(t)&&(t=this.options[t]),e===t?this:this.__setValue(t).__dispatch("select"))}__addEventListeners(){const{optionElements:t,triggerElement:e}=this;e.addEventListener("click",(t=>{if(t.preventDefault(),t.stopPropagation(),t.detail>0&&e.blur(),this.isOpen)return this.close();this.open()}).bind(this)),document.addEventListener("click",this.close.bind(this)),this.__on("open",(({$:t})=>{t!==this&&this.close()}));for(const e in t)t[e].addEventListener("click",(t=>{t.preventDefault(),t.stopPropagation(),this.select(e).__click().close()}).bind(this));return document.addEventListener("keydown",(t=>{if(!this.isOpen)return this;const n=()=>t.preventDefault(),r=(()=>{e.focus(),this.close()}).bind(this);switch(t.which){case 0:case 13:case 32:this.__hasCurrentIndex()&&(n(),this.select(this.currentIndex).__click(),r());break;case 38:case 37:n(),this.__moveCurrentIndex(-1);break;case 40:case 39:n(),this.__moveCurrentIndex();break;case 27:case 9:n(),r()}}).bind(this)),this.__on(`select:${this.name}`,(({$:t})=>{t!==this&&this.select(t.value)}))}__clearCurrentIndex(){return delete this.currentIndex,Object.values(this.optionElements).forEach((t=>{t.setAttribute("aria-current","false")})),this}__click(){return this.__dispatch("click")}__dispatch(t){const{name:e,value:n}=this,r={name:e,type:t,value:n,$:this};return[t,e,n].reduce(((t,e)=>(((t,e,n)=>{var r;r=t,"[object String]"===Object.prototype.toString.call(r)&&(n=e,e=t,t=window);const s=n?new CustomEvent(e,{detail:n}):new Event(e);t.dispatchEvent(s)})(t+=`:${e}`,r),t)),"lp:ui-dropdown"),this}__hasCurrentIndex(){return(0,u.A)(this.currentIndex)}__moveCurrentIndex(t=1){let{currentIndex:e,optionElements:n}=this;this.__hasCurrentIndex()?e+=t:e=t<0?-1:0;const r=this.options.length;return this.currentIndex=e=(e+r)%r,this.options.forEach(((t,r)=>{n[t].setAttribute("aria-current",String(r===e))})),this}__on(t,e){return addEventListener(`lp:ui-dropdown:${t}`,(t=>e.call(this,t.detail)).bind(this)),this}__setValue(t){if(this.value===t)return this;this.value=t;const{optionElements:e,rootElement:n}=this;return t?n.setAttribute("data-value",t):n.removeAttribute("data-value"),this.options.forEach((n=>{e[n].setAttribute("aria-selected",String(n===t))})),this.__updateTriggerContent()}__updateTriggerContent(){const t=this.triggerContentElement,e=this.optionElements[this.value].querySelector(":first-child")||{},n=document.createElement(t.tagName);return n.innerHTML=e.innerHTML||"",n.className=` ${e.className||""}`.replace(/(\slp-ui-dropdown__)menu/gi,"$1trigger").trim(),t.replaceWith(n),this.triggerContentElement=n,this}}class h{close(){return this}on(){return this}open(){return this}select(){return this}}(0,o.A)((()=>{document.querySelectorAll(".lp-ui-dropdown").forEach((t=>new p(t)))})),(0,o.A)((()=>{const t=document.querySelectorAll(".lp-section--has-animated-icons");if(0===t.length)return;const e=new Map;t.forEach((t=>{e.set(t,(t=>{const e=t.querySelectorAll('[class^="lp-icon-"][class*="-anim"], [class^="anim-"]');return Array.from(e).map((t=>{const e=[...t.classList].find((t=>t.includes("anim")));return t.classList.remove(e),{className:e,icon:t}}))})(t))}));const n=new IntersectionObserver((t=>{t.forEach((t=>{e.get(t.target).forEach((e=>{e.icon.classList.toggle(e.className,t.isIntersecting)}))}))}),{threshold:.5});t.forEach((t=>{n.observe(t)}))}));const m="aria-hidden";(0,o.A)((()=>{const t=Array.from(document.querySelectorAll(".lp-block--has-breakpoints, .lp-section--is-breakpoint")),e=()=>{t.forEach((t=>{!function(t){return!t.offsetParent}(t)?t.removeAttribute(m):t.setAttribute(m,"true")}))};addEventListener("resize",e),e()})),(0,o.A)((()=>{const t=document.querySelector(".lp-promo-banner-cswp");if(t){const e=document.querySelector("div.lp-root"),n=document.querySelector("body");t.style.position="sticky",t.style.padding="0",t.style.top="0",t.style.zIndex="990",n.insertBefore(t,e),t.style.display="block";const r=document.querySelector(".close-promo-banner-cswp");function s(){t.style.display="none",r.removeEventListener("click",s)}r.addEventListener("click",s)}})),window._landpackPlanPricesRequestState=window._landpackPlanPricesRequestState||{sharedPromises:{},sharedParams:{}};const f=function(t){const e=(t=>(Object.keys(t).forEach((e=>0!==t[e]&&!t[e]&&delete t[e])),t))(t.query);if("function"==typeof window.WPCOM_Proxy_Request)return new Promise(((n,r)=>window.WPCOM_Proxy_Request({...t,query:{...e,http_envelope:1}}).done(n).fail(r)));const n=new URLSearchParams(e).toString();return fetch(`https://public-api.wordpress.com/${t.apiNamespace}${t.path}?${n}`,{credentials:"include"}).then((t=>t.json()))},_=(t,e="lp-product-price")=>{const n=[];for(const r of t){const t=r.split("--");2===t.length&&t[0]===e&&n.push(t[1])}return n};function g(t){return t}function y(t){return t*(2-t)}function b(t){return--t*t*t*t*t+1}(0,o.A)((()=>{const{search:t}=window.location,e=new URLSearchParams(t),n=document.querySelector('[class^="lp-product-forced-currency--"]')?.className.split("--")[1],r=e.get("currency")||n,s=Array.from(document.querySelectorAll(".lp-product-price"));if(!r&&0===s.length)return;const o=s.map((t=>Array.from(t.classList.values()))).flat(),i=_(o,"lp-product-price");i.push(..._(o,"lp-product-price-cross-monthly")),f({path:"/products",apiNamespace:"rest/v1.0",query:{currency:r,locale:window.landpack_locale,productSlugs:i.join(",")}}).then((t=>{[...s].forEach((e=>{const r=_(Array.from(e.classList),"lp-product-price"),s=r.length?t[r[0]]:null;if(!s)return;let{combined_cost_display:o,combined_sale_cost_display:i,product_term_localized:a=""}=s;const c=_(Array.from(e.classList),"lp-product-price-options"),l=c.includes("hide-period-string"),u=c.includes("show-on-sale-after-original-price"),d=c?.find((t=>t.startsWith("show-prop-")))?.replace("show-prop-",""),p=_(Array.from(e.classList),"lp-product-price-cross-monthly")[0],h=p&&t[p];h&&(o=h.combined_cost_display,a=h.product_term_localized,i=`${s.cost_per_month_display}/${h.product_term_localized}`),d&&s[d]&&(i=null,o=s[d],"USD"===n&&(o=o.replace("US$","$")));const m=i?(()=>{const t=`${o}${!l&&a?"/"+a:""}`,e=`${i}`;return u?`${t} ${e}`:`${e} ${t}`})():`${o}${!l&&a?"/"+a:""}`;e.innerHTML=m,e.classList.add("lp-product-price--is-loaded")}))})).catch((()=>{}))})),(0,o.A)((()=>{Array.from(document.querySelectorAll(".lp-no-default-validation")).forEach((t=>{t.addEventListener("invalid",(t=>{t.preventDefault()}),!0)}))}));const v=()=>{},A=()=>performance.now(),{max:w,min:E}=Math,L=new class{constructor(t){this.running=!1,this._updateValues(t),this._duration=t.duration,this._ease=r[t.ease]||g}start(t){return t.from&&t.to&&this._updateValues(t),this._onUpdateCallback=t.update,this._onEndCallback=t.end,l(this._onUpdateCallback)||(this._onUpdateCallback=v),l(this._onEndCallback)||(this._onEndCallback=v),this._startAnimation(),this}stop(){return this.running?(this._interrupted=!0,this._endAnimation(),this):this}_updateValues(t){this._valuesFrom={...t.from},this._valuesTo={...t.to}}_startAnimation(){this.running=!0,this._interrupted=!1,this._start=A(),requestAnimationFrame(this._runAnimation.bind(this))}_runAnimation(){this.running&&(this._nextFrame(),requestAnimationFrame(this._runAnimation.bind(this)))}_updateAnimation(){const t=this._getInterpolatedValues();this._onUpdateCallback(t,this._progress)}_endAnimation(){this.running=!1,this._interrupted||this._onUpdateCallback({...this._valuesTo},1),this._onEndCallback()}_nextFrame(){this._progress=(A()-this._start)/this._duration,this._progress<1?this._updateAnimation():this._endAnimation()}_getInterpolatedValues(){const t={};return Object.keys(this._valuesFrom).forEach((e=>{let n=this._valuesFrom[e],r=this._valuesTo[e];(0,u.A)(n)||(n=0),(0,u.A)(r)||(r=0),t[e]=this._ease(this._progress)*(r-n)+n}).bind(this)),t}}({duration:1e3,ease:"quinticOut"});function S(t,e){return t&&t.classList.contains("lp-block")&&(!e||t.classList.contains(e))}(0,o.A)((()=>{Array.from(document.querySelectorAll('.lp-root a[href^="#"]:not([href="#"])')).forEach((t=>{if(t.closest(".lp-skip-smooth-scroll"))return;const e=t.getAttribute("href").substring(1),n=document.getElementById(e);n&&t.addEventListener("click",(e=>{var r;e.preventDefault(),r=t.href,history.replaceState({},"",r),setTimeout((()=>function(t){const e=document.documentElement,n=document.body,r=e.scrollLeft,s=e.scrollTop,o=(t=>{const e=t.getBoundingClientRect(),n=t.ownerDocument.defaultView;return{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}})(t),i=w(0,o.left),a=w(0,(p=o.top,p-=50,["wpadminbar","wpcom-domain-upsell"].forEach((t=>{const e=document.getElementById(t);e&&(p-=e.offsetHeight||0)})),p)),c=w(0,n.scrollWidth-window.innerWidth),l=w(0,n.scrollHeight-window.innerHeight),u=E(i,c),d=E(a,l);var p;L.stop(),L.start({from:{x:r,y:s},to:{x:u,y:d},update:({x:t,y:e})=>{window.scrollTo(t,e)},end:()=>function(t){const e=["input","select","textarea"],n=t.tagName.toLowerCase();if(e.includes(n))return t.focus();if("form"===n||function(t){return S(t,"lp-content")}(t)||function(t){return t&&t.classList.contains("lp-form__content")&&S(t.parentNode,"lp-form")}(t)){const n=t.querySelector(e.join(", "));n&&n.focus()}}(t)})}(n)))}))}))})),(0,o.A)((()=>{Array.from(document.getElementsByClassName("lp-sticky-observed")).forEach((t=>{new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting?t.classList.remove("lp-is-sticky"):t.classList.add("lp-is-sticky")}))})).observe(t);const e=t.closest(".lp-section");e?e.classList.add("lp-section--has-sticky-content"):t.classList.add("lp-section--has-sticky-content")}))})),(0,o.A)((()=>{const t=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const n=e.target,r=n.querySelector(".wp-block-heading");try{window._tkq?.push(["recordEvent","wpcom_page_section_view",{name:n.getAttribute("data-section-name")||"",container_class:n.className,heading_text:(r?.textContent||"").trim()}])}catch(t){}t.unobserve(n)}}))}),{threshold:[.1]});document.querySelectorAll(".lp-root > .lp-section, [data-section-name]").forEach((e=>{t.observe(e)}))}))})();; (()=>{"use strict";var e={d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},t={};e.r(t),e.d(t,{linear:()=>y,quadraticOut:()=>v,quinticOut:()=>g});const n=(e,t,n)=>{var o;o=e,"[object String]"===Object.prototype.toString.call(o)&&(n=t,t=e,e=window);const r=n?new CustomEvent(t,{detail:n}):new Event(t);e.dispatchEvent(r)},o=e=>{i(document,"DOMContentLoaded",e)};o.load=e=>{i(window,"load",e)};const r=o;function i(e,t,n){let o=!1;const r=()=>{o||(n(document),o=!0)};if("complete"===document.readyState)return setTimeout(r,0);e.addEventListener(t,r)}r((()=>{!function(){const e=function(){const e=document.createElement("div");return e.className="x-hidden",e.style.font="-apple-system-body",document.body.appendChild(e)}();requestAnimationFrame((()=>{const t=window.getComputedStyle(e),o=t.getPropertyValue("font-family"),r=parseInt(t.getPropertyValue("font-size"),10),i="UICTFontTextStyleBody"===o&&r>17?()=>{return e="js-dynamic-type-on",document.documentElement.classList.add(e),void n("lp:detect:dynamic-type");var e}:()=>{};requestAnimationFrame((()=>{e.remove(),requestAnimationFrame(i)}))}))}()}));const s=(e,t,n)=>{if(n=Boolean(n),e.setAttribute(`aria-${t}`,String(n)),"hidden"===t&&n){const t=document.activeElement;t!==document.body&&e.contains(t)&&t.blur()}},a=e=>"function"==typeof e,c=d(Object);function d(e){return(()=>{}).toString.call(e)}const u=e=>l(e);function l(e){const t={};return Object.keys(e).forEach((n=>{const o=e[n];if(!(e=>{if(!e)return!1;const t=Object.getPrototypeOf(Object(e));if(null===t)return!0;const n={}.hasOwnProperty.call(t,"constructor")&&t.constructor;return a(n)&&d(n)===c})(o))return void(t[n]=o);const r=l(o);Object.keys(r).forEach((e=>{t[n+"."+e]=r[e]}))})),t}const p=(e,t)=>Array.from(e).reduce(((e,n)=>{const o=n.getAttribute(`data-${t}`);return o&&(e[o]=n),e}),{}),m=(e,t)=>{const n=!a(t);return Object.keys(e).reduce(((o,r)=>({...o,[r]:n?t:t(e[r],r)})),{})},f=e=>!isNaN(e)&&"number"==typeof e,h=(e,t,n,o,r,i=!0)=>{let s=function(e,t,n,o){let r="translate",i=[e,t];return o&&(r+="3d",i.push(n)),i=i.map((e=>e?`${e}px`:0)),`${r}(${i.join(", ")})`}(t,n,o,i);return f(r)&&(s+=` ${function(e,t){return t?`scale3d(${e}, ${e}, 1)`:`scale(${e})`}(r,i)}`),e.style.transform=s};function y(e){return e}function v(e){return e*(2-e)}function g(e){return--e*e*e*e*e+1}const w=()=>{},E=()=>performance.now();class b{constructor(e){this.running=!1,this._updateValues(e),this._duration=e.duration,this._ease=t[e.ease]||y}start(e){return e.from&&e.to&&this._updateValues(e),this._onUpdateCallback=e.update,this._onEndCallback=e.end,a(this._onUpdateCallback)||(this._onUpdateCallback=w),a(this._onEndCallback)||(this._onEndCallback=w),this._startAnimation(),this}stop(){return this.running?(this._interrupted=!0,this._endAnimation(),this):this}_updateValues(e){this._valuesFrom={...e.from},this._valuesTo={...e.to}}_startAnimation(){this.running=!0,this._interrupted=!1,this._start=E(),requestAnimationFrame(this._runAnimation.bind(this))}_runAnimation(){this.running&&(this._nextFrame(),requestAnimationFrame(this._runAnimation.bind(this)))}_updateAnimation(){const e=this._getInterpolatedValues();this._onUpdateCallback(e,this._progress)}_endAnimation(){this.running=!1,this._interrupted||this._onUpdateCallback({...this._valuesTo},1),this._onEndCallback()}_nextFrame(){this._progress=(E()-this._start)/this._duration,this._progress<1?this._updateAnimation():this._endAnimation()}_getInterpolatedValues(){const e={};return Object.keys(this._valuesFrom).forEach((t=>{let n=this._valuesFrom[t],o=this._valuesTo[t];f(n)||(n=0),f(o)||(o=0),e[t]=this._ease(this._progress)*(o-n)+n}).bind(this)),e}}r((()=>{const e=document.querySelector(".x-dropdown");if(!e)return;const t=e.querySelector(".x-dropdown-bottom"),o=t.querySelector(".x-dropdown-bottom-fill"),r=p(e.querySelectorAll(".x-dropdown-content"),"dropdown-name"),i=Object.keys(r),a=m(r,(e=>e.querySelectorAll("[role=menuitem]"))),c=p(document.querySelectorAll("[data-dropdown-trigger]"),"dropdown-trigger"),d=-6,l=.85;let f,y,v,g=0,w=0,E={},_={};function L(){g=e.offsetWidth,E=m(r,(e=>e.offsetHeight)),w=Object.values(E).reduce(((e,t)=>Math.max(e,t)),0),_=m(c,(e=>Math.round((e=>{const t=e.getBoundingClientRect(),n=e.ownerDocument.defaultView;return{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}})(e).left+(e.offsetWidth-g)/2)));const n=w+"px";t.style.height=n,o.style.height=n}let x,O={};const k=m(r,0),S=new IntersectionObserver((e=>{e.forEach((({intersectionRatio:e})=>{e<=0&&n("lp:dropdown:_leave")}))}));function A(t,n){!function(t,n){(n||t!==x)&&(e.style.opacity=t,x=t)}(t["dropdown.opacity"],n),function(e,t){i.forEach((n=>{const o=e["contents.opacity."+n];(t||o!==k[n])&&(r[n].style.opacity=o,k[n]=o)}))}(t,n),function(t,n){const o=t.x||0,r=t.y||0,i=t.scale,s=O;(n||s.x!==o||s.y!==r||s.scale!==i)&&(h(e,o,r,0,i),O={x:o,y:r,scale:i})}({x:t["dropdown.transform.x"],y:t["dropdown.transform.y"],scale:t["dropdown.transform.scale"]},n),function(e,t){e=Math.min(e,w),(t||e!==v)&&(h(o,0,e-w),v=e)}(t["dropdown.height"],n)}function q(e,t){if(f===e)return;y&&y.stop();const o=!(f||y&&y.running),a=!e,c={dropdown:o?{height:E[e],opacity:x,transform:{x:_[e],y:d,scale:l}}:{height:v,opacity:x,transform:O},contents:{opacity:o?m(k,0):k}},p={dropdown:a?{height:v,opacity:0,transform:{x:O.x,y:d,scale:l}}:{height:E[e],opacity:1,transform:{x:_[e],y:0,scale:1}},contents:{opacity:a?k:m(k,((t,n)=>e===n?1:0))}},h={from:u(c),to:u(p),duration:a?150:450,ease:a?"quadraticOut":"quinticOut"};!function(e){f=e,S.disconnect(),e&&S.observe(r[e]),i.forEach((t=>{s(r[t],"hidden",t!==e)})),e?n("lp:dropdown:show",{name:e}):n("lp:dropdown:hide")}(e),t?y=new b(h).start({update:A,complete(){y=!1}}):A(h.to)}function j(){q(!1),L()}function C(e){return i.includes(e)}function F(e){if(!C(f))return;const t=a[f],n=t.length,o=t[(e.detail.index+n)%n];o&&o.focus()}j(),addEventListener("resize",j),addEventListener("load",(function(){L()})),addEventListener("lp:detect:dynamic-type",j),addEventListener("lp:dropdown:_leave",(()=>q(!1))),addEventListener("lp:trigger:select",(e=>{const{name:t}=e.detail;q(!!C(t)&&t,!0)})),addEventListener("lp:trigger:arrow-down",F),addEventListener("lp:trigger:arrow-up",F),i.forEach((e=>{const t=r[e];["mouseenter","mouseleave"].forEach((o=>{t.addEventListener(o,(()=>{n(`lp:dropdown:${o}`,{name:e})}))}))}))})),r((()=>{const e=document.querySelector(".x-menu");if(!e)return;const t=e.querySelector(".x-menu-content"),o=e.querySelector(".x-menu-button"),r=t.querySelectorAll("[role=menuitem]"),i=r.length;let a=!1,c=!1;const d=new IntersectionObserver((e=>{e.forEach((({intersectionRatio:e})=>{e<=0&&n("lp:menu:_leave")}))}));function u(o){a&&o!==c&&(c=o,s(e,"hidden",!o),e.classList.toggle("x-menu--open",o),o?(d.observe(t),n("lp:menu:show")):(d.disconnect(),n("lp:menu:hide")))}function l(e){if(!c)return;const t=(e.detail.index+i)%i,n=r[t];n&&n.focus()}function p(e){e.target.classList.contains("x-menu-link")||a&&e.stopPropagation()}setTimeout((()=>{a||(e.classList.add("x-menu--active"),a=!0)}),0),addEventListener("lp:trigger:select",(e=>{u("menu"===e.detail.name)})),addEventListener("lp:menu:_leave",(()=>u(!1))),addEventListener("lp:trigger:arrow-down",l),addEventListener("lp:trigger:arrow-up",l),o.addEventListener("click",(()=>{a&&(o.blur(),u(!1))})),t.addEventListener("click",p),t.addEventListener("touchstart",p)})),r((()=>{const e=document.querySelector(".x-nav-link--menu"),t={...p(document.querySelectorAll("[data-dropdown-trigger]"),"dropdown-trigger"),...e&&{menu:e}},o=Object.keys(t);if(0===o.length)return;let r,i,a,c;function d(e,t){n(`lp:trigger:${e}`,{...t,name:r})}function u(e){const n=t[r],o=Boolean(n&&n===document.activeElement);switch(e.which){case 38:case 37:e.preventDefault(),d("arrow-up",{index:(c=f(c)?c-1:-1,c)});break;case 40:case 39:e.preventDefault(),d("arrow-down",{index:(c=f(c)?c+1:0,c)});break;case 27:case 9:o||(e.preventDefault(),n.focus()),l(0,!1)}}function l(e,n){clearTimeout(i),i=setTimeout((()=>{!function(e){r!==e&&(r=e,c=null,o.forEach((n=>{s(t[n],"expanded",n===e)})),d("select"))}(n),n?a||(a=!0,document.addEventListener("keydown",u)):(a=!1,document.removeEventListener("keydown",u))}),e)}o.forEach((e=>{const n=t[e],o=t=>{t.preventDefault(),t.stopPropagation(),t.target.closest("button").blur(),l(0,e)},i=()=>{l(0,e)};n.addEventListener("click",o),n.addEventListener("touchstart",o),"menu"!==e&&(n.addEventListener("focus",i),n.addEventListener("mouseenter",(()=>{n.removeEventListener("focus",i),document.activeElement.blur(),l(r?0:150,e)})),n.addEventListener("mouseleave",(()=>{n.addEventListener("focus",i),l(50,!1)})))})),addEventListener("lp:dropdown:mouseenter",(e=>{l(0,e.detail.name)})),addEventListener("lp:dropdown:mouseleave",(()=>{l(350,!1)})),addEventListener("lp:dropdown:hide",(()=>{l(0,!1)})),addEventListener("lp:menu:hide",(()=>{l(0,!1)})),document.addEventListener("click",(()=>{l(50,!1)}))}))})();; (()=>{"use strict";const o={AED:{symbol:"د.إ."},AFN:{symbol:"؋"},ALL:{symbol:"Lek"},AMD:{symbol:"֏"},ANG:{symbol:"ƒ"},AOA:{symbol:"Kz"},ARS:{symbol:"$"},AUD:{symbol:"A$"},AWG:{symbol:"ƒ"},AZN:{symbol:"₼"},BAM:{symbol:"КМ"},BBD:{symbol:"Bds$"},BDT:{symbol:"৳"},BGN:{symbol:"лв."},BHD:{symbol:"د.ب."},BIF:{symbol:"FBu"},BMD:{symbol:"$"},BND:{symbol:"$"},BOB:{symbol:"Bs"},BRL:{symbol:"R$"},BSD:{symbol:"$"},BTC:{symbol:"Ƀ"},BTN:{symbol:"Nu."},BWP:{symbol:"P"},BYR:{symbol:"р."},BZD:{symbol:"BZ$"},CAD:{symbol:"C$"},CDF:{symbol:"FC"},CHF:{symbol:"CHF"},CLP:{symbol:"$"},CNY:{symbol:"¥"},COP:{symbol:"$"},CRC:{symbol:"₡"},CUC:{symbol:"CUC"},CUP:{symbol:"$MN"},CVE:{symbol:"$"},CZK:{symbol:"Kč"},DJF:{symbol:"Fdj"},DKK:{symbol:"kr."},DOP:{symbol:"RD$"},DZD:{symbol:"د.ج."},EGP:{symbol:"ج.م."},ERN:{symbol:"Nfk"},ETB:{symbol:"ETB"},EUR:{symbol:"€"},FJD:{symbol:"FJ$"},FKP:{symbol:"£"},GBP:{symbol:"£"},GEL:{symbol:"Lari"},GHS:{symbol:"₵"},GIP:{symbol:"£"},GMD:{symbol:"D"},GNF:{symbol:"FG"},GTQ:{symbol:"Q"},GYD:{symbol:"G$"},HKD:{symbol:"HK$"},HNL:{symbol:"L."},HRK:{symbol:"kn"},HTG:{symbol:"G"},HUF:{symbol:"Ft"},IDR:{symbol:"Rp"},ILS:{symbol:"₪"},INR:{symbol:"₹"},IQD:{symbol:"د.ع."},IRR:{symbol:"﷼"},ISK:{symbol:"kr."},JMD:{symbol:"J$"},JOD:{symbol:"د.ا."},JPY:{symbol:"¥"},KES:{symbol:"S"},KGS:{symbol:"сом"},KHR:{symbol:"៛"},KMF:{symbol:"CF"},KPW:{symbol:"₩"},KRW:{symbol:"₩"},KWD:{symbol:"د.ك."},KYD:{symbol:"$"},KZT:{symbol:"₸"},LAK:{symbol:"₭"},LBP:{symbol:"ل.ل."},LKR:{symbol:"₨"},LRD:{symbol:"L$"},LSL:{symbol:"M"},LYD:{symbol:"د.ل."},MAD:{symbol:"د.م."},MDL:{symbol:"lei"},MGA:{symbol:"Ar"},MKD:{symbol:"ден."},MMK:{symbol:"K"},MNT:{symbol:"₮"},MOP:{symbol:"MOP$"},MRO:{symbol:"UM"},MTL:{symbol:"₤"},MUR:{symbol:"₨"},MVR:{symbol:"MVR"},MWK:{symbol:"MK"},MXN:{symbol:"MX$"},MYR:{symbol:"RM"},MZN:{symbol:"MT"},NAD:{symbol:"N$"},NGN:{symbol:"₦"},NIO:{symbol:"C$"},NOK:{symbol:"kr"},NPR:{symbol:"₨"},NZD:{symbol:"NZ$"},OMR:{symbol:"﷼"},PAB:{symbol:"B/."},PEN:{symbol:"S/."},PGK:{symbol:"K"},PHP:{symbol:"₱"},PKR:{symbol:"₨"},PLN:{symbol:"zł"},PYG:{symbol:"₲"},QAR:{symbol:"﷼"},RON:{symbol:"lei"},RSD:{symbol:"Дин."},RUB:{symbol:"₽"},RWF:{symbol:"RWF"},SAR:{symbol:"﷼"},SBD:{symbol:"S$"},SCR:{symbol:"₨"},SDD:{symbol:"LSd"},SDG:{symbol:"£"},SEK:{symbol:"kr"},SGD:{symbol:"S$"},SHP:{symbol:"£"},SLL:{symbol:"Le"},SOS:{symbol:"S"},SRD:{symbol:"$"},STD:{symbol:"Db"},SVC:{symbol:"₡"},SYP:{symbol:"£"},SZL:{symbol:"E"},THB:{symbol:"฿"},TJS:{symbol:"TJS"},TMT:{symbol:"m"},TND:{symbol:"د.ت."},TOP:{symbol:"T$"},TRY:{symbol:"TL"},TTD:{symbol:"TT$"},TVD:{symbol:"$T"},TWD:{symbol:"NT$"},TZS:{symbol:"TSh"},UAH:{symbol:"₴"},UGX:{symbol:"USh"},USD:{},UYU:{symbol:"$U"},UZS:{symbol:"сўм"},VEB:{symbol:"Bs."},VEF:{symbol:"Bs. F."},VND:{symbol:"₫"},VUV:{symbol:"VT"},WST:{symbol:"WS$"},XAF:{symbol:"F"},XCD:{symbol:"$"},XOF:{symbol:"F"},XPF:{symbol:"F"},YER:{symbol:"﷼"},ZAR:{symbol:"R"},ZMW:{symbol:"ZK"},WON:{symbol:"₩"}},s=new Map,l="en";function e(o,s){return!(!s.stripZeros||!Number.isInteger(o))}function n({locale:o,currency:e,noDecimals:r}){const t=function({locale:o,currency:s,noDecimals:l}){return`currency:${s},locale:${o},noDecimals:${l}`}({locale:o,currency:e,noDecimals:r});if(s.has(t)){const o=s.get(t);if(o)return o}try{const l=new Intl.NumberFormat(function(o){return`${o}-u-nu-latn`}(o),{style:"currency",currency:e,...r?{maximumFractionDigits:0,minimumFractionDigits:0}:{}});return s.set(t,l),l}catch(s){return console.warn(`formatCurrency was called with a non-existent locale "${o}"; falling back to ${l}`),n({locale:l,currency:e,noDecimals:r})}}function r(o,s){return n({locale:o,currency:s,noDecimals:!1}).resolvedOptions().maximumFractionDigits}function t(o,s,l){isNaN(o)&&(console.warn("formatCurrency was called with NaN"),o=0),l.isSmallestUnit&&(Number.isInteger(o)||(console.warn("formatCurrency was called with isSmallestUnit and a float which will be rounded",o),o=Math.round(o)),o/=10**s);const e=Math.pow(10,s);return Math.round(o*e)/e}const m=function(){const s={};let m,c="";function y(o){return o.locale??m??("undefined"==typeof window?l:window.navigator?.languages?.length>0?window.navigator.languages[0]:window.navigator?.language??l)}function a(o,s,l){return n({locale:y(l),currency:s,noDecimals:e(o,l)})}function b(o){return function(o){return Boolean(i(o))}(o)?o:(console.warn(`getCurrencyObject was called with a non-existent currency "${o}"; falling back to USD`),"USD")}function i(l){return"USD"===l&&""!==c&&"US"!==c?{symbol:"US$"}:s[l]??o[l]}return{formatCurrency:function(o,s,l={}){const e=y(l),n=i(s=b(s)),m=t(o,r(e,s),l);return a(m,s,l).formatToParts(m).reduce(((o,s)=>"currency"===s.type&&n?.symbol?o+n.symbol:o+s.value),"")},getCurrencyObject:function(o,s,l={}){const e=y(l),n=i(s=b(s)),m=t(o,r(e,s),l),c=a(m,s,l).formatToParts(m);let u="",d="$",p="before",D=!1,S=!1,f="",w="";c.forEach((o=>{switch(o.type){case"currency":return d=n?.symbol??o.value,void(D&&(p="after"));case"group":case"integer":return f+=o.value,void(D=!0);case"decimal":case"fraction":return w+=o.value,D=!0,void(S=!0);case"minusSign":return void(u="-")}}));const h=!Number.isInteger(m)&&S;return{sign:u,symbol:d,symbolPosition:p,integer:f,fraction:w,hasNonZeroFraction:h}},setCurrencySymbol:function(o,l){s[o]||(s[o]={}),s[o].symbol=l},setDefaultLocale:function(o){m=o},geolocateCurrencySymbol:async function(){const o=await(globalThis.fetch?.("https://public-api.wordpress.com/geo/").then((o=>o.json())).catch((o=>{console.warn("Fetching geolocation for format-currency failed.",o)})));var s;s=o,"string"==typeof s?.country_short&&o.country_short&&(c=o.country_short)}}}();function c(...o){return m.formatCurrency(...o)}m.formatCurrency;window._landpackPlanPricesRequestState=window._landpackPlanPricesRequestState||{sharedPromises:{},sharedParams:{}};const y=o=>(Object.keys(o).forEach((s=>0!==o[s]&&!o[s]&&delete o[s])),o),a=o=>{b(document,"DOMContentLoaded",o)};function b(o,s,l){let e=!1;const n=()=>{e||(l(document),e=!0)};if("complete"===document.readyState)return setTimeout(n,0);o.addEventListener(s,n)}a.load=o=>{b(window,"load",o)};const i=(o,s="lp-plan-price")=>{const l={};for(const e of o){const o=e.split("--");2===o.length&&(l[o[0].replace(s+"-","")]=o[1])}return l},u=(o,s)=>o.find((o=>o.attrs[s]))?.attrs[s];a((()=>{const{search:o}=window.location,s=new URLSearchParams(o),l=Array.from(document.querySelectorAll(".lp-plan-price")).map((o=>({element:o,attrs:i(o.classList)})));if(!l.length)return;const e=u(l,"coupon-code");(o=>{const{hostname:s,pathname:l,search:e}=window.location,n=new URLSearchParams(e),r={hostname:s,pathname:l,currency:n.get("currency"),coupon_code:n.get("coupon")},t=y({...r,...o}),m=window._landpackPlanPricesRequestState,c=new URLSearchParams(t).toString();return m.sharedPromises[c]||(m.sharedPromises[c]=new Promise(((o,s)=>{window.landpackPricingData?.plans?o(window.landpackPricingData.plans):function(o){const s=y(o.query);if("function"==typeof window.WPCOM_Proxy_Request)return new Promise(((l,e)=>window.WPCOM_Proxy_Request({...o,query:{...s,http_envelope:1}}).done(l).fail(e)));const l=new URLSearchParams(s).toString();return fetch(`https://public-api.wordpress.com/${o.apiNamespace}${o.path}?${l}`,{credentials:"include"}).then((o=>o.json()))}({path:"/plans",apiNamespace:"rest/v1.5",query:t}).then(o).catch(s)}))),m.sharedPromises[c]})({currency:u(l,"currency")||s.get("currency"),coupon_code:e}).then((o=>{const s=o.reduce(((o,s)=>({...o,[s.product_slug]:s})),{});[...l].forEach((o=>{const{element:l,attrs:e}=o,n=s[e.product],r={stripZeros:!0,isSmallestUnit:!0},t=n.orig_cost_integer&&c(d(n.orig_cost_integer,n.bill_period),n.currency_code,r),m=c(d(n.raw_price_integer,n.bill_period),n.currency_code,r);let y="";t&&t!==m&&(y+=`${t} `),y+=`${m}`,l.innerHTML=y,l.classList.add("lp-plan-price--is-loaded")}))})).catch((()=>{}))}));const d=(o,s)=>31===s?o:o/(s/365*12)})();; (()=>{"use strict";const e=e=>{t(document,"DOMContentLoaded",e)};function t(e,t,n){let o=!1;const r=()=>{o||(n(document),o=!0)};if("complete"===document.readyState)return setTimeout(r,0);e.addEventListener(t,r)}e.load=e=>{t(window,"load",e)},e((()=>{function e(e){e.querySelectorAll(".is-cloned").forEach((e=>e.parentNode.removeChild(e)));const t=e.getBoundingClientRect().width;if(!t)return;let n=Math.ceil(window.innerWidth/t);for(;n>0;)[...e.cloneNode(!0).children].forEach((t=>{t.classList.add("is-cloned"),e.appendChild(t)})),n--;const o=(t+parseInt(getComputedStyle(e).getPropertyValue("row-gap")))*("rtl"===document.documentElement.getAttribute("dir")?1:-1);e.style.setProperty("--scroll-end",`${o}px`)}const t=new IntersectionObserver((e=>{e.forEach((e=>{e.isIntersecting&&e.target.classList.add("is-scrolling")}))}));document.querySelectorAll(".lp-content-area--scrolling").forEach((n=>{let o=window.innerWidth;window.addEventListener("resize",(()=>{const t=window.innerWidth;t!==o&&(e(n),o=t)})),e(n),t.observe(n)}))}))})();; (()=>{"use strict";const e=e=>{t(document,"DOMContentLoaded",e)};function t(e,t,o){let r=!1;const n=()=>{r||(o(document),r=!0)};if("complete"===document.readyState)return setTimeout(n,0);e.addEventListener(t,n)}e.load=e=>{t(window,"load",e)},e((()=>{document.querySelectorAll(".lp-floating-promo-banner").forEach((e=>{!function(e){const t=document.querySelector("div.lp-root");document.querySelector("body").insertBefore(e,t);const o=e.dataset.urlParameter,r=e.dataset.couponCode,n=new URLSearchParams(window.location.search).get(o)?.trim()||"",c=n.toLowerCase()!==r.toLowerCase();!r||n&&!c?(function(e,t){if(!t)return;const o=["start","setup"];document.querySelectorAll("a").forEach((r=>{if(!r.href)return;const n=new URL(r.href);o.some((e=>n.href.includes(`https://wordpress.com/${e}`)))&&(n.searchParams.set(e,t),r.href=n.toString())}))}(o,r),e.classList.remove("hidden"),function(e){const t=e.querySelector(".lp-floating-promo-banner__close");t&&t.addEventListener("click",(()=>{e.remove()}))}(e)):e.remove()}(e)}))}))})();; (()=>{"use strict";const t=t=>{n(document,"DOMContentLoaded",t)};t.load=t=>{n(window,"load",t)};const e=t;function n(t,e,n){let i=!1;const s=()=>{i||(n(document),i=!0)};if("complete"===document.readyState)return setTimeout(s,0);t.addEventListener(e,s)}class i{constructor(t){if(this.rootElement=t,t.classList.contains("lp-logo-bar--has-wrap"))return;const e=this.contentElement=t.querySelector("*");e&&(this.contentElementInnerHTML=e.innerHTML,this.__resetContentProperties(),this.__setObserver(),this.__setMouseEvents(),addEventListener("resize",this.__handleResize.bind(this)))}__resetContentProperties(){const{contentElement:t,contentElementInnerHTML:e,rootElement:n}=this,i=this.contextWidth=n.offsetWidth;this.__setContent(e);let s=e,o=1;const r=this.contentWidth=this.__determineContentWidth();for(;(o-1-.5)*r<=i;)s+=e,o+=1;o>1&&(t.innerHTML=s)}__setContent(t){this.contentElement.innerHTML=t||""}__determineContentWidth(){return Array.from(this.contentElement.children).reduce(((t,e)=>{const n=getComputedStyle(e,null);return t+e.offsetWidth+(parseInt(n.getPropertyValue("margin-inline-end"),10)||0)}),0)}__setObserver(){new IntersectionObserver((t=>{t.forEach((({isIntersecting:t})=>{this.isVisible=t,this[t?"start":"stop"]()}).bind(this))}).bind(this)).observe(this.rootElement)}__setMouseEvents(){const{rootElement:t}=this;t.addEventListener("mouseenter",(()=>{this.mouseOverTimeout=setTimeout((()=>{this.hasMouseOver=!0,this.stop()}).bind(this),150)}).bind(this)),t.addEventListener("mouseleave",(()=>{clearTimeout(this.mouseOverTimeout),this.hasMouseOver=!1,this.start()}).bind(this))}__handleResize(){clearTimeout(this.resizeEndTimeout),this.__setContent(),this.resizeEndTimeout=setTimeout(this.__resetContentProperties.bind(this),150)}start(){if(!this.animation){if(!this.isVisible||this.hasMouseOver)return this.stop();this.animationTime=this.__time(),this.animationValue=this.animationValue||0,this.animation=!0,requestAnimationFrame(this.__animate.bind(this))}}__time(){return performance.now()}__animate(){if(!this.animation)return;const{animationTime:t,animationValue:e,contentElement:n,contentWidth:i,contextWidth:s}=this,o=this.__time(),r=e-(o-t)/20,a=.5*i;((t,e,n,i,s,o=!0)=>{let r=function(t,e,n,i){let s="translate",o=[t,e];return i&&(s+="3d",o.push(n)),o=o.map((t=>t?`${t}px`:0)),`${s}(${o.join(", ")})`}(e,n,i,o);(t=>!isNaN(t)&&"number"==typeof t)(s)&&(r+=` ${function(t,e){return e?`scale3d(${t}, ${t}, 1)`:`scale(${t})`}(s,o)}`),t.style.transform=r})(n,((r+a)%i-a)*("rtl"===document.documentElement.getAttribute("dir")?-1:1),0,0,!1,!Boolean("chrome"in window&&s>=2e3)),this.animationTime=o,this.animationValue=r,requestAnimationFrame(this.__animate.bind(this))}stop(){this.animation=!1}}e((()=>{for(const t of document.getElementsByClassName("lp-logo-bar"))new i(t)}))})();; (()=>{"use strict";const t=t=>{s(document,"DOMContentLoaded",t)};t.load=t=>{s(window,"load",t)};const e=t;function s(t,e,s){let n=!1;const o=()=>{n||(s(document),n=!0)};if("complete"===document.readyState)return setTimeout(o,0);t.addEventListener(e,o)}const n="lp-typed--is-on",o="lp-typed--has-focus",r="lp-typed__content__character";class i{constructor(t){this.rootElement=t,this.indicatorElement=this.rootElement.querySelector(".lp-typed__content__indicator");const e=this.rootElement.querySelector(".lp-typed__content__data");if(!this.indicatorElement||!e)return;this.syncedElement=this.rootElement.parentElement.parentElement.querySelector(".lp-image-stack"),this.syncedElement&&this.syncedElement.setAttribute("data-current-frame",0);const s=(n=e.textContent,String(n||"").split(/\n+/).map((t=>t.trim())).filter(Boolean).join("\n"));var n;const o=s.split(/\n+/);this.content=s,this.contentLines=o,this.contentLineCount=o.length,e.remove(),this.reset()}reset(){return clearTimeout(this.__nextStepTimeout),this.rootElement.classList.remove(n,o),this.__clearCharacters(),this.active=!1,this}start(){if(this.content&&!this.active)return this.active=!0,this.rootElement.classList.add(n),this.__scheduleLong((()=>{this.__type(0,0)})),this}__clearCharacters(){const{rootElement:t}=this;t.classList.remove(o),Array.from(t.getElementsByClassName(r)).forEach((t=>t.remove()))}__schedule(t,e){this.active&&(this.__nextStepTimeout=setTimeout(e.bind(this),Math.round(Math.random()*t/2)+t))}__scheduleShort(t){return this.__schedule(50,t)}__scheduleLong(t){return this.__schedule(800,t)}__type(t,e){const s=this.contentLines[t].charAt(e);s?(this.__insertCharacter(s),this.__scheduleShort((()=>{this.__type(t,e+1)}))):this.__scheduleLong((()=>{this.__focus(),this.__scheduleLong((()=>{this.__clearCharacters(),this.__scheduleLong((()=>{this.__type((t+1)%this.contentLineCount,0),this.syncedElement&&this.syncedElement.setAttribute("data-current-frame",(t+1)%this.contentLineCount)}))}))}))}__insertCharacter(t){const{indicatorElement:e}=this,s=document.createElement("span");s.textContent=t.replace(/\s+/," "),s.className=r,e.parentNode.insertBefore(s,e)}__focus(){this.active&&this.rootElement.classList.add(o)}}e.load((()=>{Array.from(document.getElementsByClassName("lp-typed")).forEach((t=>{const e=new i(t);new IntersectionObserver((t=>{t.forEach((t=>{t.intersectionRatio>0?e.start():e.reset()}))}),{threshold:[0,1]}).observe(t)}))}))})();;