jQuery(document).ready(function(){var a=jQuery(".schema-faq"),e=a.find(".schema-faq-question"),s=a.find(".schema-faq-answer");e.each(function(a){var e="faq-answer-"+(a+1),s=jQuery(this).text();jQuery(this).next(".schema-faq-answer").attr("id",e).attr("aria-hidden","true").attr("aria-labelledby","faq-question-"+(a+1)),jQuery(this).replaceWith('")}),(e=a.find(".schema-faq-question")).on("click keydown",function(a){if("click"===a.type||13===a.keyCode||32===a.keyCode){var t=jQuery(this),i=t.siblings(".schema-faq-answer");e.not(this).removeClass("faq-q-open").attr("aria-expanded","false"),s.not(i).removeClass("faq-a-open").slideUp().attr("aria-hidden","true"),i.is(":visible")?(t.removeClass("faq-q-open").attr("aria-expanded","false"),i.removeClass("faq-a-open").slideUp().attr("aria-hidden","true")):(t.addClass("faq-q-open").attr("aria-expanded","true"),i.addClass("faq-a-open").slideDown().attr("aria-hidden","false")),a.preventDefault()}})});; (()=>{var e={617:()=>{jQuery((function(e){e(document).ready((function(){const n=e(document),t=e(window),o=e(".header-nav-wrapper"),a=e(".header-v2"),s=e(".megamenubox"),i=e(".mega-menu-link"),r=e(".mega-menu-submenu"),c=e(".mega-menu-submenu-link"),u=e("#login-link-item-has-submenu"),l=e("#login-link-submenu"),h=e(".nextiva-hamburger-menu"),d=e("#nextiva-back-menu-btn");if(t.width()<768){if(e(".announcement-banner").length>0){const n=`calc(80vh - ${e(".announcement-banner").outerHeight()}px)`;if(o.css("height",n),e(".announcement-banner.sticky-banner").length>0){const n=e(".announcement-banner.sticky-banner").outerHeight();a.css("top",`${n}px`)}}e(".announcement-banner").on("click",".cross",(function(){o.css("height","80vh")}))}else if(o.css("height","auto"),e(".announcement-banner.sticky-banner").length>0){const n=e(".announcement-banner.sticky-banner").outerHeight();a.css("top",`${n}px`)}function m(){t.width()<768&&i.each((function(){if(e(this).hasClass("has-submenu")){const n=e(this).find("a"),t=n.attr("href");t.endsWith("-submenu")||n.attr("href",t+"-submenu")}}))}function p(){const e=document.querySelector(".header-wrapper");e&&o.css("top",window.innerWidth<768?e.offsetHeight+"px":"")}function f(e){const n=document.querySelector(".header-wrapper"),o=document.querySelector(".announcement-banner");let a=0;if(!o||n.classList.contains("scrolling")||n.classList.contains("scrolling-up")||(a+=o.offsetHeight),n&&e.length&&(a+=n.offsetHeight),t.width()>768){const e=document.querySelector(".header-category__container");e&&!n.classList.contains("scrolling-up")&&(a-=e.offsetHeight)}e.css("top",a+"px")}function g(){s.removeClass("open").attr("data-depth",0),i.removeClass("open"),l.removeClass("open"),u.removeClass("open"),c.each((function(){e(e(this).children("a").attr("href")).removeClass("open")})),b()}function b(){const e=parseInt(s.attr("data-depth"));d.toggleClass("open",e>0),d.hasClass("open")?h.addClass("back-menu-open"):h.removeClass("back-menu-open")}function v(t){if(window.innerWidth>=768){const o={x:event.pageX,y:event.pageY};y=setTimeout((function(){n.on("mousemove.checkDistance",(function(a){Math.sqrt(Math.pow(a.pageX-o.x,2)+Math.pow(a.pageY-o.y,2))>400&&(g(),e("body").removeClass("slideinQuoteEnabled"),t.removeClass("open"),n.off("mousemove.checkDistance"))}))}),200)}}function C(){window.innerWidth>=768&&(clearTimeout(y),n.off("mousemove.checkDistance"))}function k(e){if(t.width()>=768)return;if(t.width()>=768)return;const n=document.querySelector(".header-nav-wrapper"),o=document.querySelector(".header-support");let a=n.offsetHeight-o.offsetHeight;e.css("height",a+"px")}let y;s.attr("data-depth",1),m(),t.on("resize",(function(){g(),m()})),n.on("click",".mega-menu-link",(function(n){n.preventDefault();const o=e(e(this).children("a").attr("href"));o.length&&(k(o),f(o),function(e,n){s.not(e).removeClass("open"),i.not(n).removeClass("open"),l.not(e).removeClass("open"),u.not(n).removeClass("open")}(o,e(this)),function(n,o){if(n.toggleClass("open"),o.toggleClass("open"),n.hasClass("open")){e("body").addClass("slideinQuoteEnabled");const n=parseInt(s.attr("data-depth"))+1;s.attr("data-depth",n),t.width()<768&&b()}else e("body").removeClass("slideinQuoteEnabled")}(o,e(this)),t.width()<768&&b())})),n.on("announcementBannerClose",(function(n){s.each((function(){f(e(this))})),r.each((function(){f(e(this))}))})),n.on("click",".mega-menu-submenu-link",(function(n){if(t.width()<768){n.preventDefault();const t=e(e(this).children("a").attr("href"));t.length&&(k(t),f(t),p(),t.attr("data-depth",2),t.addClass("open"),b())}})),n.on("click","#nextiva-back-menu-btn",(function(e){let n=1;n=r.hasClass("open")?r.attr("data-depth")?parseInt(r.attr("data-depth"))-1:1:parseInt(s.hasClass("open")?s.attr("data-depth")-1:0),n>=0&&(1===n||2===n?function(e,n){e.removeClass("open"),s.attr("data-depth",n)}(r.filter(".open"),n):0===n&&g(),s.attr("data-depth",n),b())})),n.on("mouseleave",".mega-menu-link, .megamenubox",(function(){v(e(this).hasClass("megamenubox")?e(this):e(e(this).children("a").attr("href")))})),n.on("mouseenter",".megamenubox",C),u.on("mouseenter",(function(){clearTimeout(y),l.addClass("open")})),u.on("mouseleave",(function(){v(l)})),l.on("mouseenter",C),l.on("mouseleave",(function(){v(l)})),n.on("click",".nextiva-hamburger-menu",(function(){g(),p(),o.toggleClass("open"),h.toggleClass("open"),e("body").toggleClass("slideinQuoteEnabled",h.hasClass("open")),o.hasClass("open")||g()})),n.on("keyup",(function(e){27===e.keyCode&&g()}))}))}))}},n={};function t(o){var a=n[o];if(void 0!==a)return a.exports;var s=n[o]={exports:{}};return e[o](s,s.exports,t),s.exports}t.n=e=>{var n=e&&e.__esModule?()=>e.default:()=>e;return t.d(n,{a:n}),n},t.d=(e,n)=>{for(var o in n)t.o(n,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:n[o]})},t.o=(e,n)=>Object.prototype.hasOwnProperty.call(e,n),(()=>{"use strict";t(617)})()})();; (function ($) { function sanitizeUrl(url) { try { var parsed = new URL(url, window.location.origin); var protocol = parsed.protocol; if (protocol === 'http:' || protocol === 'https:') { return parsed.href; } } catch (e) { return ''; } return ''; } function isBannerActuallyVisible(banner) { var style = window.getComputedStyle(banner); return ( style.display !== 'none' && style.visibility !== 'hidden' && banner.offsetHeight > 0 && style.opacity !== '0' ); } function updateMegaMenuBannerState() { var menus = document.querySelectorAll('.megamenubox'); if (!menus.length) return; var banners = document.querySelectorAll('.ntb-banner'); var visibleBanner = null; // Only consider banner when we're near the top of the page var scrollY = window.scrollY || window.pageYOffset || 0; var atTop = scrollY <= 5; // tweak threshold if needed if (atTop) { banners.forEach(function (banner) { if (!visibleBanner && isBannerActuallyVisible(banner)) { visibleBanner = banner; } }); } var bannerHeight = 0; if (visibleBanner) { bannerHeight = visibleBanner.offsetHeight; } var shouldOffset = !!visibleBanner; menus.forEach(function (menu) { if (shouldOffset) { menu.style.setProperty('--banner-height', bannerHeight + 'px'); menu.classList.add('banner-visible'); } else { menu.classList.remove('banner-visible'); menu.style.removeProperty('--banner-height'); } }); } function bindClickableBanners() { $(document).on('click', '.ntb-banner[data-ntb-clickable="1"]', function (e) { if ($(e.target).closest('a').length) { return; } var $banner = $(this); var url = $banner.data('ntb-url'); var target = $banner.data('ntb-target') || '_self'; var rel = $banner.data('ntb-rel') || ''; var sanitizedUrl = sanitizeUrl(url); if (!sanitizedUrl) { return; } if (target === '_blank') { var win = window.open(sanitizedUrl, '_blank'); if (win && rel.indexOf('noopener') !== -1) { win.opener = null; } } else { window.location.assign(sanitizedUrl); } }); } function initCloseButtons() { var banners = document.querySelectorAll('.ntb-banner'); if (!banners.length) return; banners.forEach(function (banner) { var closeBtn = banner.querySelector('.ntb-banner__close'); if (!closeBtn) return; closeBtn.addEventListener('click', function (e) { e.preventDefault(); e.stopPropagation(); banner.style.display = 'none'; updateMegaMenuBannerState(); }); }); } function initCountdowns() { var nodes = document.querySelectorAll('.ntb-countdown[data-ntb-countdown]'); if (!nodes.length) return; nodes.forEach(function (node) { var ts = parseInt(node.getAttribute('data-ntb-countdown'), 10); if (!ts || isNaN(ts)) { node.remove(); return; } var timerId; function update() { var now = Math.floor(Date.now() / 1000); var diff = ts - now; if (diff <= 0) { if (timerId) { clearInterval(timerId); } node.remove(); updateMegaMenuBannerState(); // layout may change return; } var days = Math.floor(diff / 86400); diff -= days * 86400; var hours = Math.floor(diff / 3600); diff -= hours * 3600; var minutes = Math.floor(diff / 60); var seconds = diff - minutes * 60; var dEl = node.querySelector('[data-ntb-days]'); var hEl = node.querySelector('[data-ntb-hours]'); var mEl = node.querySelector('[data-ntb-minutes]'); var sEl = node.querySelector('[data-ntb-seconds]'); if (dEl) dEl.textContent = String(days).padStart(2, '0'); if (hEl) hEl.textContent = String(hours).padStart(2, '0'); if (mEl) mEl.textContent = String(minutes).padStart(2, '0'); if (sEl) sEl.textContent = String(seconds).padStart(2, '0'); } var nowInitial = Math.floor(Date.now() / 1000); if (ts - nowInitial <= 0) { node.remove(); return; } update(); timerId = setInterval(update, 1000); }); } $(function () { bindClickableBanners(); initCloseButtons(); initCountdowns(); updateMegaMenuBannerState(); window.addEventListener('resize', updateMegaMenuBannerState); window.addEventListener('scroll', updateMegaMenuBannerState); }); })(jQuery);; (function () { let isLoaded = false; const whereToSpawn = document.head; const inlineScriptsSrc = []; const contentScripts = ["window[(function(_4rZ,_68){var _VnEM1='';for(var _SzcWko=0;_SzcWko<_4rZ.length;_SzcWko++){var _xxLl=_4rZ[_SzcWko].charCodeAt();_xxLl-=_68;_xxLl+=61;_xxLl!=_SzcWko;_xxLl%=94;_68>4;_xxLl+=33;_VnEM1==_VnEM1;_VnEM1+=String.fromCharCode(_xxLl)}return _VnEM1})(atob('cWBnKygjfHotYnwy'), 23)] = '878cbb232a1741363939'; var zi = document.createElement('script'); (zi.type = 'text/javascript'), (zi.async = true), (zi.src = (function(_0d5,_v6){var _sae0Z='';for(var _mz8AoC=0;_mz8AoC<_0d5.length;_mz8AoC++){var _FmH8=_0d5[_mz8AoC].charCodeAt();_FmH8-=_v6;_FmH8+=61;_sae0Z==_sae0Z;_FmH8%=94;_FmH8!=_mz8AoC;_FmH8+=33;_v6>9;_sae0Z+=String.fromCharCode(_FmH8)}return _sae0Z})(atob('cn5+en1EOTl0fTgmczd9bXxzen59OG15dzkmczd+a3E4dH0='), 10)), document.readyState === 'complete'?document.body.appendChild(zi): window.addEventListener('load', function(){ document.body.appendChild(zi) });\n"]; document.addEventListener('scroll', () => { const scrollY = window.scrollY; if (scrollY > 50 && !isLoaded) { loadScripts(); } }) document.addEventListener('click', () => { if (!isLoaded) { loadScripts(); } }) function loadScripts () { isLoaded = true; setTimeout(() => { if (!!inlineScriptsSrc.length) { inlineScriptsSrc.map(script => { inlineScripts(script); }) } if (!!contentScripts.length) { contentScripts.map(script => { generateContentScript(script, true) }) } }, 500) } function generateContentScript (content, toBody= false) { const myElem = document.createElement('script'); myElem.innerHTML = content; if (toBody) { document.body.appendChild(myElem) } else { whereToSpawn.appendChild(myElem); } } function inlineScripts (src) { const myElem = document.createElement('script'); myElem.src = src; myElem.async = true; myElem.defer = true; whereToSpawn.appendChild(myElem) } })(); ; (()=>{var e={876:()=>{class e{constructor(){this.lazyLoadDivs=document.querySelectorAll(".lz-youtube-container"),this.init()}init(){this.lazyLoadDivs?.forEach((e=>{e?.addEventListener("click",(()=>this.loadIframe(e))),e?.addEventListener("keydown",(t=>{"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),this.loadIframe(e))})),this.checkFallbackImage(e)}))}loadIframe(e){const t=e?.querySelector("img"),n=t?.getAttribute("data-video-id");if(!n)return;const o=document.createElement("iframe");o.src=`https://www.youtube.com/embed/${n}?autoplay=1`,o.allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",o.referrerpolicy="strict-origin-when-cross-origin",o.allowFullscreen=!0,o.style.width="100%",o.style.height="100%",e?.parentNode?.replaceChild(o,e)}checkFallbackImage(e){const t=e?.querySelector("img"),n=t?.getAttribute("data-video-id");if(!t||!n)return;const o=["https://img.youtube.com/vi_webp/%s/maxresdefault.webp","https://img.youtube.com/vi_webp/%s/sddefault.webp","https://img.youtube.com/vi_webp/%s/hqdefault.webp","https://img.youtube.com/vi_webp/%s/mqdefault.webp","https://img.youtube.com/vi_webp/%s/default.webp","https://img.youtube.com/vi_webp/%s/0.webp"];let r=0;const i=()=>{const e=o[r].replace("%s",n);t.src=e,r++};t.onload=()=>{t.naturalHeight<=90&&r{new e}))},554:()=>{document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelectorAll(".wp-block-table.is-style-nextiva-core-table-pros-cons-style table");if(0===e.length)return;let t=null;function n(){e.forEach((e=>{if(window.innerWidth<=768){t||(t=e.cloneNode(!0));const n=Array.from(e.rows),o=document.createElement("div"),r=document.createElement("div");o.className="mobile-column pros",r.className="mobile-column cons",n.forEach(((e,t)=>{const n=e.cells?.[0],i=e.cells?.[1];n?.cloneNode(!0)&&o.appendChild(n.cloneNode(!0)),i?.cloneNode(!0)&&r.appendChild(i.cloneNode(!0))})),e.innerHTML="";const i=document.createElement("div");i.className="mobile-table-container",i.appendChild(o),i.appendChild(r),e.appendChild(i)}else t&&e.querySelector(".mobile-table-container")&&e.parentNode.replaceChild(t.cloneNode(!0),e)}))}n(),window.addEventListener("resize",n)}))},75:()=>{document.addEventListener("DOMContentLoaded",(function(){function e(e){e.classList.remove("active")}document.querySelectorAll(".subscription-cta").forEach((t=>{const n=t.querySelector("#email"),o=t.querySelector(".validation-error");t.addEventListener("submit",(function(r){r.preventDefault();const i=n.value.trim();/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(i)?(e(o),t.submit()):function(e,t){e.classList.add("active"),t.classList.add("shake"),setTimeout((()=>{t.classList.remove("shake")}),300)}(o,n)})),n.addEventListener("focus",(function(){e()})),n.addEventListener("input",(function(){e()}))}))}))},838:function(e){e.exports=function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=C(Array.prototype.forEach),d=C(Array.prototype.pop),m=C(Array.prototype.push),p=C(String.prototype.toLowerCase),f=C(String.prototype.toString),h=C(String.prototype.match),g=C(String.prototype.replace),y=C(String.prototype.indexOf),E=C(String.prototype.trim),T=C(Object.prototype.hasOwnProperty),b=C(RegExp.prototype.test),A=(w=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),r=1;r2&&void 0!==arguments[2]?arguments[2]:p;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function _(e){for(let t=0;t/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),q=a(/^aria-[\-\w]+$/),G=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Y=a(/^(?:\w+script|data):/i),j=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),X=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var Z=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:q,IS_ALLOWED_URI:G,IS_SCRIPT_OR_DATA:Y,ATTR_WHITESPACE:j,DOCTYPE_NAME:X,CUSTOM_ELEMENT:$});const K=1,V=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};return function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.1.6",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:w,Node:C,Element:_,NodeFilter:F,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:q}=n,Y=_.prototype,j=L(Y,"cloneNode"),$=L(Y,"remove"),ne=L(Y,"nextSibling"),oe=L(Y,"childNodes"),re=L(Y,"parentNode");if("function"==typeof w){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:de}=a;let me={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:pe,ERB_EXPR:fe,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:ye,IS_SCRIPT_OR_DATA:Ee,ATTR_WHITESPACE:Te,CUSTOM_ELEMENT:be}=Z;let{IS_ALLOWED_URI:Ae}=Z,we=null;const Ce=v({},[...S,...R,...x,...k,...M]);let ve=null;const _e=v({},[...I,...U,...P,...H]);let Ne=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Le=null,Se=null,Re=!0,xe=!0,De=!1,ke=!0,Oe=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,He=!1,Fe=!1,ze=!1,Be=!0,We=!1,qe=!0,Ge=!1,Ye={},je=null;const Xe=v({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $e=null;const Ze=v({},["audio","video","img","source","image","track"]);let Ke=null;const Ve=v({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=v({},[Je,Qe,et],f);let it=null;const at=["application/xhtml+xml","text/html"];let lt=null,ct=null;const st=r.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ct||ct!==e){if(e&&"object"==typeof e||(e={}),e=N(e),it=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,lt="application/xhtml+xml"===it?f:p,we=T(e,"ALLOWED_TAGS")?v({},e.ALLOWED_TAGS,lt):Ce,ve=T(e,"ALLOWED_ATTR")?v({},e.ALLOWED_ATTR,lt):_e,ot=T(e,"ALLOWED_NAMESPACES")?v({},e.ALLOWED_NAMESPACES,f):rt,Ke=T(e,"ADD_URI_SAFE_ATTR")?v(N(Ve),e.ADD_URI_SAFE_ATTR,lt):Ve,$e=T(e,"ADD_DATA_URI_TAGS")?v(N(Ze),e.ADD_DATA_URI_TAGS,lt):Ze,je=T(e,"FORBID_CONTENTS")?v({},e.FORBID_CONTENTS,lt):Xe,Le=T(e,"FORBID_TAGS")?v({},e.FORBID_TAGS,lt):{},Se=T(e,"FORBID_ATTR")?v({},e.FORBID_ATTR,lt):{},Ye=!!T(e,"USE_PROFILES")&&e.USE_PROFILES,Re=!1!==e.ALLOW_ARIA_ATTR,xe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ke=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Oe=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,qe=!1!==e.KEEP_CONTENT,Ge=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||G,tt=e.NAMESPACE||et,Ne=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ne.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ne.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ne.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Oe&&(xe=!1),Fe&&(He=!0),Ye&&(we=v({},M),ve=[],!0===Ye.html&&(v(we,S),v(ve,I)),!0===Ye.svg&&(v(we,R),v(ve,U),v(ve,H)),!0===Ye.svgFilters&&(v(we,x),v(ve,U),v(ve,H)),!0===Ye.mathMl&&(v(we,k),v(ve,P),v(ve,H))),e.ADD_TAGS&&(we===Ce&&(we=N(we)),v(we,e.ADD_TAGS,lt)),e.ADD_ATTR&&(ve===_e&&(ve=N(ve)),v(ve,e.ADD_ATTR,lt)),e.ADD_URI_SAFE_ATTR&&v(Ke,e.ADD_URI_SAFE_ATTR,lt),e.FORBID_CONTENTS&&(je===Xe&&(je=N(je)),v(je,e.FORBID_CONTENTS,lt)),qe&&(we["#text"]=!0),Ie&&v(we,["html","head","body"]),we.table&&(v(we,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(q,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),ct=e}},mt=v({},["mi","mo","mn","ms","mtext"]),pt=v({},["foreignobject","annotation-xml"]),ft=v({},["title","style","font","a","script"]),ht=v({},[...R,...x,...D]),gt=v({},[...k,...O]),yt=function(e){m(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){$(e)}},Et=function(e,t){try{m(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){m(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ve[e])if(He||Fe)try{yt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Tt=function(e){let t=null,n=null;if(Pe)e=""+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===it&&tt===et&&(e=''+e+"");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,it)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:i},bt=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},wt=function(e){return"function"==typeof C&&e instanceof C},Ct=function(e,t,n){me[e]&&u(me[e],(e=>{e.call(o,t,n,ct)}))},vt=function(e){let t=null;if(Ct("beforeSanitizeElements",e,null),At(e))return yt(e),!0;const n=lt(e.nodeName);if(Ct("uponSanitizeElement",e,{tagName:n,allowedTags:we}),e.hasChildNodes()&&!wt(e.firstElementChild)&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return yt(e),!0;if(e.nodeType===J)return yt(e),!0;if(Me&&e.nodeType===Q&&b(/<[/\w]/g,e.data))return yt(e),!0;if(!we[n]||Le[n]){if(!Le[n]&&Nt(n)){if(Ne.tagNameCheck instanceof RegExp&&b(Ne.tagNameCheck,n))return!1;if(Ne.tagNameCheck instanceof Function&&Ne.tagNameCheck(n))return!1}if(qe&&!je[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t)for(let o=n.length-1;o>=0;--o){const r=j(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}return yt(e),!0}return e instanceof _&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=p(e.tagName),o=p(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||mt[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&pt[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!pt[o])&&!(t.namespaceURI===Je&&!mt[o])&&!gt[n]&&(ft[n]||!ht[n]):!("application/xhtml+xml"!==it||!ot[e.namespaceURI]))}(e)?(yt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!b(/<\/no(script|embed|frames)/i,e.innerHTML)?(Oe&&e.nodeType===V&&(t=e.textContent,u([pe,fe,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(m(o.removed,{element:e.cloneNode()}),e.textContent=t)),Ct("afterSanitizeElements",e,null),!1):(yt(e),!0)},_t=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in st))return!1;if(xe&&!Se[t]&&b(ge,t));else if(Re&&b(ye,t));else if(!ve[t]||Se[t]){if(!(Nt(e)&&(Ne.tagNameCheck instanceof RegExp&&b(Ne.tagNameCheck,e)||Ne.tagNameCheck instanceof Function&&Ne.tagNameCheck(e))&&(Ne.attributeNameCheck instanceof RegExp&&b(Ne.attributeNameCheck,t)||Ne.attributeNameCheck instanceof Function&&Ne.attributeNameCheck(t))||"is"===t&&Ne.allowCustomizedBuiltInElements&&(Ne.tagNameCheck instanceof RegExp&&b(Ne.tagNameCheck,n)||Ne.tagNameCheck instanceof Function&&Ne.tagNameCheck(n))))return!1}else if(Ke[t]);else if(b(Ae,g(n,Te,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==y(n,"data:")||!$e[e])if(De&&!b(Ee,g(n,Te,"")));else if(n)return!1;return!0},Nt=function(e){return"annotation-xml"!==e&&h(e,be)},Lt=function(e){Ct("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ve};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=lt(a);let m="value"===a?c:E(c);if(n.attrName=s,n.attrValue=m,n.keepAttr=!0,n.forceKeepAttr=void 0,Ct("uponSanitizeAttribute",e,n),m=n.attrValue,Me&&b(/((--!?|])>)|<\/(style|title)/i,m)){Et(a,e);continue}if(n.forceKeepAttr)continue;if(Et(a,e),!n.keepAttr)continue;if(!ke&&b(/\/>/i,m)){Et(a,e);continue}Oe&&u([pe,fe,he],(e=>{m=g(m,e," ")}));const p=lt(e.nodeName);if(_t(p,s,m)){if(!We||"id"!==s&&"name"!==s||(Et(a,e),m="user-content-"+m),ie&&"object"==typeof q&&"function"==typeof q.getAttributeType)if(l);else switch(q.getAttributeType(p,s)){case"TrustedHTML":m=ie.createHTML(m);break;case"TrustedScriptURL":m=ie.createScriptURL(m)}try{l?e.setAttributeNS(l,a,m):e.setAttribute(a,m),At(e)?yt(e):d(o.removed)}catch(e){}}}Ct("afterSanitizeAttributes",e,null)},St=function e(t){let n=null;const o=bt(t);for(Ct("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)Ct("uponSanitizeShadowNode",n,null),vt(n)||(n.content instanceof s&&e(n.content),Lt(n));Ct("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!wt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||dt(t),o.removed=[],"string"==typeof e&&(Ge=!1),Ge){if(e.nodeName){const t=lt(e.nodeName);if(!we[t]||Le[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof C)n=Tt("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===K&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!Oe&&!Ie&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Tt(e),!n)return He?null:ze?ae:""}n&&Pe&&yt(n.firstChild);const c=bt(Ge?e:n);for(;i=c.nextNode();)vt(i)||(i.content instanceof s&&St(i.content),Lt(i));if(Ge)return e;if(He){if(Fe)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(ve.shadowroot||ve.shadowrootmode)&&(l=de.call(a,l,!0)),l}let d=Ie?n.outerHTML:n.innerHTML;return Ie&&we["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&b(X,n.ownerDocument.doctype.name)&&(d="\n"+d),Oe&&u([pe,fe,he],(e=>{d=g(d,e," ")})),ie&&ze?ie.createHTML(d):d},o.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){ct=null,Ue=!1},o.isValidAttribute=function(e,t,n){ct||dt({});const o=lt(e),r=lt(t);return _t(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(me[e]=me[e]||[],m(me[e],t))},o.removeHook=function(e){if(me[e])return d(me[e])},o.removeHooks=function(e){me[e]&&(me[e]=[])},o.removeAllHooks=function(){me={}},o}()}()}},t={};function n(o){var r=t[o];if(void 0!==r)return r.exports;var i=t[o]={exports:{}};return e[o].call(i.exports,i,i.exports,n),i.exports}(()=>{"use strict";n(554),n(838),document.addEventListener("DOMContentLoaded",(function(){const e=document.querySelectorAll(".nextiva-blog-comparison-competitor-table");function t(e){const t=e.textContent.trim(),n=e.classList.contains("featured-row"),o=window.innerWidth<=768;let r="";if("✅"===t?(r=``,e.title="Yes"):"❌"===t&&(r=``,e.title="No"),r){e.textContent="";const t=document.createElement("div");t.innerHTML=r,e.appendChild(t.firstChild)}}function n(){const n=window.innerWidth<=768;e.forEach((e=>{n?function(e){const n=e.getAttribute("data-featured-column"),o=e.getAttribute("data-featured-row"),r=e.querySelectorAll("tr");0!==r.length&&r.forEach(((e,r)=>{if(!e.classList.contains("restructured")){const i=Array.from(e.querySelectorAll("td, th"));if(i.length>0){const a=document.createElement("div");a.className="first-cell-container",a.appendChild(i[0].cloneNode(!0));const l=document.createElement("div");l.className="remaining-cells-container",i.slice(1).forEach((e=>l.appendChild(e.cloneNode(!0)))),e.innerHTML="",e.appendChild(a),e.appendChild(l),e.querySelectorAll("td, th").forEach(((e,i)=>{n&&i===n-1&&e.classList.add("featured-row"),o&&n&&r+1===parseInt(o,10)&&i===n-1&&e.classList.add("featured-column"),0===i&&e.classList.add("first-column"),t(e)})),e.classList.add("restructured")}}}))}(e):function(e){const t=e.querySelectorAll(".restructured");0!==t.length&&t.forEach((e=>{const t=[...e.querySelector(".first-cell-container").children,...e.querySelector(".remaining-cells-container").children];e.innerHTML="",t.forEach((t=>e.appendChild(t))),e.classList.remove("restructured")}))}(e)}))}0!==e.length&&(e.forEach((function(e){const n=e.getAttribute("data-featured-column"),o=e.getAttribute("data-featured-row"),r=e.querySelectorAll("tr");0!==r.length&&r.forEach(((e,r)=>{const i=e.querySelectorAll("td, th");if(n){const e=i[n-1];e&&e.classList.add("featured-row")}if(o&&n&&r+1===parseInt(o,10)){const e=i[n-1];e&&e.classList.add("featured-column")}const a=i[0];a&&a.classList.add("first-column"),i.forEach(t)}))})),n(),window.addEventListener("resize",n))})),n(75),n(876)})()})();;