1!function(){var e={684:function(){document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector(".breadcrumbs-section");if(!e)return;const t=e.querySelector(".breadcrumbs-block"),n=e.querySelector(".breadcrumbs-scroll-btn"),i=e.querySelector(".breadcrumbs-scroll-bg");if(!t||!n)return;const r=()=>{const e=t.scrollWidth>t.clientWidth+2,r=Math.ceil(t.scrollLeft+t.clientWidth)>=t.scrollWidth-1,o=!e||r;n.classList.toggle("is-hidden",o),i?.classList.toggle("is-hidden",o)};requestAnimationFrame(r),t.addEventListener("scroll",r,{passive:!0}),window.addEventListener("resize",r),n.addEventListener("click",()=>{t.scrollBy({left:Math.round(.8*t.clientWidth),behavior:"smooth"})})})},290:function(){document.querySelectorAll(".calendly-embed-block").forEach(e=>{let t=e.getAttribute("data-url"),n=e.getAttribute("data-url-params");Calendly.initInlineWidget({url:"https://calendly.com/"+t+"?hide_event_type_details=1&hide_landing_page_details=1&hide_gdpr_banner=1&"+n,parentElement:e,resize:!0})});const e=document.body.getAttribute("style");new MutationObserver(t=>{t.forEach(t=>{t.addedNodes.forEach(t=>{if(1!==t.nodeType||!t.classList.contains("calendly-overlay"))return;let n=t.querySelector(".calendly-popup-content")?.getAttribute("data-url");n&&function(e){let t=document.querySelector(".hs-form-html, .hbspt-form");if(!t)return!1;document.querySelector(".calendly-inline-scheduler")?.remove();let n=document.createElement("div");return n.className="calendly-inline-scheduler",t.style.display="none",t.insertAdjacentElement("afterend",n),Calendly.initInlineWidget({url:e,parentElement:n,resize:!0}),n.scrollIntoView({behavior:"smooth",block:"start"}),!0}(n)&&(t.remove(),document.body.setAttribute("style",e||""))})})}).observe(document.body,{childList:!0})},884:function(){document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector(".catalog-release-history-section");if(e){const u=e.querySelectorAll(".filter-categories-toggle svg"),h=e.querySelector(".filter-widget-toggle svg"),p=e.querySelector(".apply-filter-btn"),m=e.querySelector(".filter-widget"),f=m?.querySelector(".applied-filters-wrapper"),y=m?.querySelector(".applied-filters-body"),g=m?.querySelector(".filter-clear"),v=e.querySelector(".mobile-filter-widget-toggle, .mobile-filter-widget-toggle svg"),b=m?.querySelector(".filter-widget-toggle .close-filter-widget");function t(e){const t=e.querySelectorAll(".filter-item"),i=e.querySelector(".show-all-items");e.querySelector(".filter-search-input").value="",e.querySelector(".clear-search").classList.add("hidden"),e.querySelector(".filter-no-items-found").classList.add("hidden"),e.querySelector(".products-filter").classList.remove("hidden"),i.innerText=i.dataset.showAll,n(t,i)}function n(e,t){let n=0,i=t.dataset.itemsNumber;e.forEach(e=>{n<i?e.classList.remove("hidden"):e.classList.add("hidden"),n++}
1),n>i&&t.classList.remove("less","hidden")}v?.addEventListener("click",i),b?.addEventListener("click",i),g?.addEventListener("click",function(){m.querySelectorAll(".filter-item-checkbox:checked").forEach(e=>{a(e.value)}),d(!1),s(o())}),p?.addEventListener("click",function(){E.min=q.min,E.max=q.max,w&&E.min&&c(w);if(function(){const e=o(),{searches:t}=function(e={}){const{filterRoot:t=m,filterSelector:n=".filter",checkboxSelector:i=".filter-item-checkbox:checked",match:r="exact",caseInsensitive:o=!0}=e,s=new Map;t?.querySelectorAll(n)?.forEach(e=>{const t=Number.parseInt(e.dataset.column,10);if(!Number.isInteger(t))return;const n=[...e.querySelectorAll(i)].map(e=>{let t=(e.value??"").trim();if(!t){const n=e.closest("label");n&&(t=n.textContent.trim())}return t}).filter(Boolean);if(n.length){const e=s.get(t)||[];s.set(t,Array.from(new Set([...e,...n])))}});const a=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),l=[];return s.forEach((e,t)=>{const n=e.map(a),i="exact"===r?`^(${n.join("|")})$`:`(${n.join("|")})`;l.push({column:t,search:i,regex:!0,smart:!1,caseInsensitive:o})}),{byColumn:s,searches:l,hasActive:l.length>0,toFormData(){const e=new FormData;return s.forEach((t,n)=>e.append(`col_${n}`,JSON.stringify(t))),e}}}({filterRoot:document.querySelector(".category-sidebar"),match:"contains"});e.columns().every(function(){this.search("")}),"function"==typeof e.search&&e.search("");t.forEach(t=>e.column(t.column).search(t.search,t.regex,t.smart,t.caseInsensitive)),e.draw()}("filters"),window.innerWidth<992){m?.classList.add("mobile-hidden"),document.body.classList.remove("disable-scroll");const t=e.querySelector(".filter-widget-body"),n=e.querySelector(".filter-widget-footer");t.classList.toggle("d-none"),n.classList.toggle("d-none")}}),m?.addEventListener("click",function(e){const i=e.target;i.matches(".filter-item-checkbox")?(r=i).checked?function(e){if(!y)return;const t=y.querySelector(".applied-filter-item-template");if(!t)return;let n=t.cloneNode(!0);const i=e.parentElement.innerText.trim();n.dataset.id=e.value,n.classList.remove("applied-filter-item-template","d-none");const r=n.querySelector(".applied-filter-item-title");r&&(r.innerText=i),y.appendChild(n),l()}(r):a(r.value):i.closest(".clear-search")?t(i.closest(".filter")):i.matches(".show-all-items")?function(e){const t=e.closest(".filter-items").querySelectorAll(".filter-item");e.classList.contains("less")?(e.classList.remove("less"),e.innerText=e.dataset.showAll,n(t,e)):(e.classList.add("less"),e.innerText=e.dataset.showLess,t.forEach(e=>{e.classList.remove("hidden")}))}(i):i.closest(".applied-filter-item-remove")&&a(i.closest(".applied-filter-item").dataset.id);var r}),u.forEach(e=>e.addEventListener("click",r)),h?.addEventListener("click",function(t){const n=t.currentTarget,i=e.querySelector(".filter-widget-header"),r=e.querySelector(".filter-widget-body"),s=e.querySelector(".filter-widget-footer");if(i&&r&&s){i.classList.toggle("active");const t=r.classList.toggle("d-none");s.classList.toggle("d-none"),n.classList.toggle("rotated");e.querySelector(".category-sidebar")?.closest('[class*="col-"]');const a=e.querySelector('table[id^="tablepress-"]')?.closest('[class*="col-"]');a&&(a.classList.toggle("col-lg-12",t),a.classList.toggle("col-lg-8",!t));try{const e=o();e?.columns?.adjust&&e.columns.adjust(),e?.draw&&e.draw(!1)}catch(e){}}}),m?.addEventListener("input",function(e){e.target.matches(".filter-search-input")&&function(e){const n=e.value.toLowerCase().trim(),i=e.closest(".filter"),r=i.querySelector(".show-all-items"),o=i.querySelector(".clear-search");let s=i.querySelectorAll(".filter-item");if(n.length>0){r.classList.add("hidden"),o.classList.remove("hidden"),s.forEach(e=>{e.textContent.toLowerCase().includes(n)?e.classList.remove("hidden"):e.classList.add("hidden")}),i.querySelectorAll(".filter-item:not(.hidden)").length>0?i.querySelector(".filter-no-items-found").classList.add("hidden"):(i.querySelector(".filter-no-items-found").classList.remove("hidden"),i.querySelector(".products-filter").classList.add("hidden"))}else t(i)}(e.target)});const L=4,S="__date_range__";let w,q={min:null,max:null},E={min:null,max:null};const A=e.querySelector(".date-filter"),C=A?.querySelector(".filter-categories-body");let k=C?.querySelector(".filter-date-range-input");const x=A?.querySelector(".clear-date-range");function i(){m.classList.toggle("mobile-hidden");const t=m.classList.contains("mobile-hidden");document.body.classList[t?"remove":"add"]("disable-scroll");const n=e.querySelector(".filter-widget-body"),i=e.querySelector(".filter-widget-footer");n.classList.toggle("d-none"),i.classList.toggle("d-none")}function r(e){const t=e.currentTarget,n=t.closest(".filter-categories-wrapper"),i=n?.querySelector(".filter-categories-body");n&&i&&(n.classList.toggle("body-hidden"),i.classList.toggle("d-none"),t.classList.toggle("rotated"))}function o(){const t=e.querySelector('table[id^="tablepress-"]');if(!t)throw new Error("TablePress table not found");if("function"!=typeof window.DataTable)throw new Error("DataTables v2 (no-jQuery) is not loaded");const n="function"==typeof DataTable.get&&DataTable.get(t)||new DataTable(t);
1return n._initialOrder=Array.isArray(n.order?.())?n.order():null,n}function s(e){if(e){"function"==typeof e.search&&e.search("");try{let t=0;if(e.columns&&"function"==typeof e.columns&&e.columns().count)t=e.columns().count();else{const n=e.table?.node?.()||e.table?.node||null;t=n?n.querySelectorAll("thead th").length:0}for(let n=0;n<t;n++)"function"==typeof e.column&&e.column(n).search("")}catch(e){}"function"==typeof e.draw&&e.draw()}}function a(e){if(!y||!m)return;[...y.querySelectorAll(".applied-filter-item")].filter(t=>t.dataset.id===e).forEach(e=>e.remove());const t=m.querySelector('input[type="checkbox"][value="'+e+'"]');t?t.checked=!1:e===S&&d(!1),l()}function l(){if(!m)return;const e=y?.querySelectorAll(".applied-filter-item")||[];let t=0;e.forEach(e=>{e.classList.contains("applied-filter-item-template")||t++});const n=m.querySelector(".filter-widget-count"),i=v?.querySelector(".mobile-filter-widget-count");f&&f.classList[t>0?"remove":"add"]("d-none"),n&&(n.innerText=String(t),n.classList[t>0?"remove":"add"]("d-none")),i&&(i.innerText=String(t),i.classList[t>0?"remove":"add"]("d-none")),g?.classList[t>0?"remove":"add"]("hidden"),p?.classList[t>0?"remove":"add"]("disabled"),0===t&&s(o())}function c(e){if(!y)return;const t=y.querySelector(".applied-filter-item-template");if(t){if(y.querySelectorAll(`.applied-filter-item[data-id="${S}"]`).forEach(e=>e.remove()),q.min){const n=t.cloneNode(!0);n.dataset.id=S,n.classList.remove("applied-filter-item-template","d-none");const i=e.formatDate(q.min,"M d, Y"),r=q.max?e.formatDate(q.max,"M d, Y"):i,o=n.querySelector(".applied-filter-item-title");o&&(o.textContent=`${i} â ${r}`),y.appendChild(n)}l()}}function d(e){if(w?.clear(),q={min:null,max:null},E={min:null,max:null},x?.classList.add("d-none"),y?.querySelectorAll(`.applied-filter-item[data-id="${S}"]`).forEach(e=>e.remove()),l(),e)try{const e=o();e?.draw&&e.draw()}catch(e){}}if("function"==typeof window.flatpickr&&k&&(w=flatpickr(k,{mode:"range",altInput:!0,maxDate:"today",altFormat:"M d, Y",dateFormat:"M d, Y",locale:{rangeSeparator:" â "},allowInput:!0,clickOpens:!0,appendTo:A,position:"auto",static:!0,onReady(e,t,n){n.calendarContainer.style.zIndex="1055"},onChange(e,t,n){const i=e[0]||null,r=e[1]||e[0]||null;q.min=i,q.max=r,c(n),x&&x.classList[i?"remove":"add"]("d-none")}}),x?.addEventListener("click",()=>d(!1))),DataTable?.ext?.search&&Array.isArray(DataTable.ext.search)){if(!DataTable.ext.search.some(e=>e&&!0===e._isDateRangeFilter)){const M=function(e,t){const n=E.min instanceof Date,i=E.max instanceof Date;if(!n&&!i)return!0;const r=function(e){if(!e)return null;const t=String(e).trim().replace(/,/g,""),n=(e,t,n,i=0,r=0,o=0,s=null)=>{let a=Number(i)||0,l=Number(r)||0,c=Number(o)||0;return s&&(12===a&&(a=0),"PM"===String(s).toUpperCase()&&(a+=12)),new Date(Number(e),Number(t)-1,Number(n),a,l,c)};let i=/^([A-Za-z]+)\s+(\d{1,2})\s+(\d{4})(?:\s+(\d{1,2}):(\d{2})(?::(\d{2}))?\s*(AM|PM)?)?$/i.exec(t);if(i){const e=(r=i[1])&&{january:1,jan:1,february:2,feb:2,march:3,mar:3,april:4,apr:4,may:5,june:6,jun:6,july:7,jul:7,august:8,aug:8,september:9,sep:9,sept:9,october:10,oct:10,november:11,nov:11,december:12,dec:12}[r.toLowerCase()]||NaN;if(!Number.isNaN(e))return n(i[3],e,i[2],i[4],i[5],i[6],i[7])}var r;if(i=/^(\d{1,2})\/(\d{1,2})\/(\d{4})(?:\s+(\d{1,2}):(\d{2})(?::(\d{2}))?\s*(AM|PM)?)?$/i.exec(t),i)return n(i[3],i[2],i[1],i[4],i[5],i[6],i[7]);if(i=/^(\d{1,2})\.(\d{1,2})\.(\d{4})(?:\s+(\d{1,2}):(\d{2})(?::(\d{2}))?\s*(AM|PM)?)?$/i.exec(t),i)return n(i[3],i[2],i[1],i[4],i[5],i[6],i[7]);if(i=/^(\d{4})-(\d{1,2})-(\d{1,2})(?:[T\s](\d{1,2}):(\d{2})(?::(\d{2}))?(?:\.\d+)??\s*(AM|PM)?)?$/i.exec(t),i)return n(i[1],i[2],i[3],i[4],i[5],i[6],i[7]);if(i=/^(\d{1,2})\/(\d{1,2})\/(\d{4})(?:\s+(\d{1,2}):(\d{2})(?::(\d{2}))?\s*(AM|PM)?)?$/i.exec(t),i){const e=Number(i[1]),t=Number(i[2]);if(e<=12&&t>12)return n(i[3],i[1],i[2],i[4],i[5],i[6],i[7])}const o=Date.parse(t);return Number.isNaN(o)?null:new Date(o)}(t?.[L]);if(!r)return!0;const o=new Date(r.getFullYear(),r.getMonth(),r.getDate()),s=!n||o>=new Date(E.min.getFullYear(),E.min.getMonth(),E.min.getDate()),a=!i||o<=new Date(E.max.getFullYear(),E.max.getMonth(),E.max.getDate());return s&&a};M._isDateRangeFilter=!0,DataTable.ext.search.push(M)}}}})},629:function(){document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".category-item-parent-toggle").forEach(e
1=>{e.addEventListener("click",t=>{t.stopPropagation();const n=e.closest(".category-item-parent-toggle-wrap"),i=n?.parentElement||e.closest(".category-item-parent");let r=i?.querySelector(":scope > .category-item-children");if(!r){const e=i?.nextElementSibling;e?.classList.contains("category-item-children")&&(r=e)}e.classList.toggle("active"),r?.classList.toggle("active")})})})},702:function(){document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelectorAll("pre > code");e.length>0&&e.forEach(e=>{const t=e.parentNode,n=document.createElement("button");n.className="copy-code-button",n.type="button",n.innerText=js_vars.copy,n.addEventListener("click",()=>{const t=e.innerText.replace(/\u00A0/g," ");navigator.clipboard.writeText(t).then(()=>{n.innerText=js_vars.copied,n.classList.add("copied"),setTimeout(()=>{n.innerText=js_vars.copy,n.classList.remove("copied")},2e3)})}),t.style.position="relative",t.appendChild(n)})})},225:function(){document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".clth-copy-icon").forEach(e=>{e.addEventListener("click",()=>{const t=e.getAttribute("data-heading-id"),n=`${window.location.href.split("#")[0]}#${t}`,i=e.querySelector(".clth-tooltip");navigator.clipboard.writeText(n).then(()=>{i.textContent="Copied!",setTimeout(()=>{i.textContent="Copy Link"},2e3)})})})})},499:function(){document.addEventListener("DOMContentLoaded",function(){const e=Array.from(document.querySelectorAll(".doc-items")),t=new WeakMap;function n(){e.forEach(e=>{const n=t.get(e);n&&n.layout()})}e.forEach(function(e){if("undefined"==typeof Masonry||t.has(e))return;const n=new Masonry(e,{itemSelector:".docs-item",columnWidth:".docs-item",percentPosition:!0,gutter:30});t.set(e,n),"function"==typeof imagesLoaded?imagesLoaded(e).on("progress",function(){n.layout()}):window.addEventListener("load",function(){n.layout()},{once:!0})});const i=(()=>{let e;return()=>{clearTimeout(e),e=setTimeout(n,120)}})();if(window.addEventListener("resize",i),document.addEventListener("docs:relayout",i),"MutationObserver"in window){const t=new MutationObserver(i);e.forEach(e=>t.observe(e,{childList:!0,subtree:!0}))}const r=document.querySelector(".category-list-wrapper"),o=document.querySelector(".expand-collapse-btn.expand-btn"),s=document.querySelector(".expand-collapse-btn.collapse-btn");function a(e,t){const n=e.querySelector(":scope > .category-item-parent-toggle-wrap > .category-item-parent-toggle"),i=e.querySelector(":scope > .category-item-children");n&&i&&(n.classList.toggle("active",t),n.setAttribute("aria-expanded",String(t)),i.classList.toggle("active",t))}r?.addEventListener("click",function(e){const t=e.target.closest(".category-item-parent-toggle");if(!t)return;const n=t.closest(".category-item-parent");if(!n)return;a(n,!t.classList.contains("active")),i()}),r?.addEventListener("keydown",function(e){const t=e.target.closest(".category-item-parent-toggle");if(t&&("Enter"===e.key||" "===e.key)){e.preventDefault();const n=t.closest(".category-item-parent");if(!n)return;a(n,!t.classList.contains("active")),i()}}),o?.addEventListener("click",function(){r?.querySelectorAll(".category-item-parent").forEach(e=>a(e,!0)),n()}),s?.addEventListener("click",function(){r?.querySelectorAll(".category-item-parent").forEach(e=>{const t=!!e.querySelector(":scope a.active");a(e,t)}),n()});const l=document.querySelector(".sidebar-collapse"),c=document.querySelector(".sidebar-expand"),d=document.querySelector(".sidebar-wrapper");l?.addEventListener("click",function(){d&&(d.style.display="none",c.style.display="flex")}),c?.addEventListener("click",function(){d&&(d.style.display="block",c.style.display="none")});let u=document.querySelector(".docs-search-wrapper"),h=u?.querySelector(".docs-search-input"),p=u?.querySelector(".search-btn"),m=u?.querySelector(".clear-search"),f=document.querySelector(".docs-search-result"),y=parseInt(u?.dataset.scopeId||"0",10)||0,g=u?.querySelector(".search-btn-icon"),v=u?.querySelector(".svg-loader"),b=document.querySelector(".docs-default"),L=!0;function S(e="No results found."){const t=function(){let e=f.querySelector(".doc-items-wrap")||f,t=e.querySelector(".docs-no-results");return t||(t=document.createElement("div"),t.className="docs-no-results hidden",e.appendChild(t)),t}();t.textContent=e,t.classList.remove("hidden")}function w(){const e=f.querySelector(".docs-no-results");e&&(e.textContent="",e.classList.add("hidden"))}function q(){const e=document.querySelector(".docs-search-result .doc-items");if(w(),!e)return;const t=window.Masonry?Masonry.data(e):null;t?(t.remove(t.getItemElements()),t.layout()):e.innerHTML=""}function E(){"undefined"!=typeof Masonry&&document.querySelectorAll(".doc-items").forEach(e
1=>{let t=Masonry.data(e);t||(t=new Masonry(e,{itemSelector:".docs-item",columnWidth:".docs-item",percentPosition:!0,gutter:30})),"function"==typeof imagesLoaded?imagesLoaded(e,()=>t.layout()):t.layout()})}function A(){if(!L)return;const e=(h.value||"").trim();if(e.length<3)return q(),b?.classList.remove("hidden"),void E();L=!1,q(),b?.classList.add("hidden"),p?.setAttribute("disabled","disabled"),g?.classList.add("hidden"),v?.classList.remove("hidden");const t=new FormData;t.append("action","docs_search_articles"),t.append("search_text",e),y>0&&t.append("scope_id",String(y)),fetch(js_vars.ajaxurl,{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"},body:t}).then(e=>e.text()).then(e=>{try{return e?JSON.parse(e):{}}catch(t){throw console.error("Invalid JSON response:",e),t}}).then(e=>{e.success&&e.data?(!function(e){const t=document.querySelector(".docs-search-result .doc-items");if(!t)return;const n=document.createElement("div");n.innerHTML=e;const i=n.querySelectorAll(".docs-item");i.forEach(e=>t.appendChild(e)),"function"==typeof imagesLoaded&&imagesLoaded(t,function(){const e=window.Masonry?Masonry.data(t):null;e&&(e.appended(i),e.layout())})}(e.data),w(),b?.classList.add("hidden")):S(e.message||"No results found.")}).catch(e=>console.error("AJAX request failed:",e)).finally(()=>{g?.classList.remove("hidden"),v?.classList.add("hidden"),p?.removeAttribute("disabled"),L=!0})}function C(e=!0){h.value="",e&&h.focus(),m?.classList.add("hidden"),q(),w(),b?.classList.remove("hidden"),E()}h?.addEventListener("input",function(){const e=h.value.length>0;m?.classList.toggle("hidden",!e),e||C(!1)}),p?.addEventListener("click",e=>{e.preventDefault(),A()}),h?.addEventListener("keydown",e=>{"Enter"===e.key&&(e.preventDefault(),A())}),m?.addEventListener("click",e=>{e.preventDefault(),C()});const k=document.querySelector(".single-docs .post-content");if(k){k.querySelectorAll("table").forEach(e=>{if(!e.parentElement.classList.contains("table-responsive")){const t=document.createElement("div");t.className="table-responsive",e.parentNode.insertBefore(t,e),t.appendChild(e)}})}})},833:function(){if("undefined"!=typeof luxon){const{DateTime:t}=luxon,n=Intl.DateTimeFormat().resolvedOptions().timeZone,i=t.now().setZone(n),r=js_vars.utc_offset;function e({startStr:e,endStr:i,timezone:o,container:s}){const a=o||r,l=t.fromFormat(e,"LLLL d, yyyy h:mm a",{zone:a,locale:"en-US"}),c=t.fromFormat(i,"LLLL d, yyyy h:mm a",{zone:a,locale:"en-US"});if(!l.isValid||!c.isValid)return console.error("Invalid date format:",e,i),null;const d=l.setZone(n),u=c.setZone(n),h=d.toLocaleString(t.DATE_MED),p=d.toLocaleString(t.TIME_SIMPLE).replace(/ AM| PM/i,""),m=u.toLocaleString(t.TIME_SIMPLE),f=s.querySelector(".event-date span");f&&(f.textContent=h);const y=s.querySelector(".event-start");y&&(y.textContent=p);const g=s.querySelector(".event-end");g&&(g.textContent=m);const v=s.querySelector(".event-timezone");return v&&(v.textContent=d.offsetNameShort),{start:l,localStart:d}}document.querySelectorAll(".event-wrap").forEach(o=>{const s=o.querySelector(".event-countdown");if(!s)return;const a=s.getAttribute("data-event-date"),l=e({startStr:`${a} ${s.getAttribute("data-event-start")}`,endStr:`${a} ${s.getAttribute("data-event-end")}`,timezone:s.getAttribute("data-event-timezone")||r,container:o});if(!l)return;const c=l.start;if(c.plus({days:1})<i)return void(o.style.display="none");const d=()=>{const e=t.now().setZone(n),i=c.diff(e,["days","hours","minutes","seconds"]).toObject(),r=(e,t)=>{const n=s.querySelector(`.event-countdown-item.${e} .event-countdown-item-num`);n&&(n.textContent=Math.max(0,Math.floor(t)))};if(c<=e)return["days","hours","mins","sec"].forEach(e=>r(e,0)),void clearInterval(u);r("days",i.days),r("hours",i.hours),r("mins",i.minutes),r("sec",i.seconds)},u=setInterval(d,1e3);d()}),document.querySelectorAll(".events-wrap").forEach(t=>{const n=parseInt(t.getAttribute("data-events-quantity"),10),o=t.querySelectorAll(".event-item");let s=0;if(o.forEach(t=>{const n=t.getAttribute("data-event-date"),o=e({startStr:`${n} ${t.getAttribute("data-event-start")}`,endStr:`${n} ${t.getAttribute("data-event-end")}`,timezone:t.getAttribute("data-event-timezone")||r,container:t});o&&(o.start.plus({days:1})<i?(t.style.display="none",t.classList.add("past-event-date"),t.classList.remove("event-item-hidden")):s++)}),0===s)t.style.display="none";else if(s<=n){t.querySelectorAll(".event-item.event-item-hidden").forEach(e
1=>{e.style.display="flex",e.classList.remove("event-item-hidden")});const e=t.querySelector(".show-more-less");e&&(e.style.display="none")}}),document.querySelectorAll(".event-extended-section").forEach(e=>{const t=t=>[...e.querySelectorAll(t)].some(e=>"none"!==e.style.display);if(!t(".event-wrap")&&!t(".events-wrap")){const t=e.querySelector(".section-desc:not(.section-no-events)"),n=e.querySelector(".section-no-events");t&&(t.style.display="none"),n&&(n.style.display="")}}),document.documentElement.classList.add("js-events-ready");const o=document.querySelector(".single-events .container .event-date");if(o){const s=o.getAttribute("data-event-date");e({startStr:`${s} ${o.getAttribute("data-event-start")}`,endStr:`${s} ${o.getAttribute("data-event-end")}`,timezone:o.getAttribute("data-event-timezone")||r,container:o})}}document.querySelectorAll(".load-more-events").forEach(e=>{e.addEventListener("click",function(){const e=this.dataset.termId,t=parseInt(this.dataset.page),n=this.closest(".tab-pane"),i=n.querySelector(".past-events");this.querySelector("svg")?.style.setProperty("display","none"),n.querySelector(".loading-events-img")?.style.setProperty("display","block");const r=new FormData;r.append("action","load_more_events"),r.append("page",t),r.append("term_id",e),r.append("nonce",js_vars.nonce),fetch(js_vars.ajaxurl,{method:"POST",body:r}).then(e=>e.json()).then(e=>{const r=this.querySelector("svg"),o=n.querySelector(".loading-events-img");if(e.html)if(i.insertAdjacentHTML("beforeend",e.html),r&&(r.style.display="inline-block"),o&&(o.style.display="none"),e.is_last_page)this.style.display="none";else{const e=t+1;this.dataset.page=e}else this.style.display="none"}).catch(()=>{alert("Failed to load, try again.")})})})},20:function(){document.addEventListener("DOMContentLoaded",()=>{let e=document.querySelector(".hero-animation.safari"),t=document.querySelector(".hero-animation.not-safari");/^((?!chrome|android).)*safari/i.test(navigator.userAgent)&&(e&&e.classList.remove("d-none"),t&&t.classList.add("d-none"))})},985:function(){!function(){const e=document.querySelector(".page-header"),t="hs-web-interactives-top-banner-open";let n=0,i=!1;function r(){return document.querySelector('[id^="hs-overlay-cta-"]')}function o(){if(!e)return;const n=r(),i=document.body.classList.contains(t)&&n?n.offsetHeight:0;document.documentElement.style.setProperty("--scroll-offset",`${i+e.offsetHeight}px`)}function s(i=!1){const s=document.body,a=r();if(!s.classList.contains(t)||!e||!a)return e.style.top="",n=0,void o();const l=a.offsetHeight;(i||l!==n)&&(e.style.top=`${l}px`,n=l),o()}new MutationObserver(()=>{const e=r();if(e&&!i){i=!0,s(!0),new MutationObserver(()=>{s()}).observe(e,{childList:!0,subtree:!0,characterData:!0});let t=0;const n=40,r=setInterval(()=>{s(),t++,t>n&&clearInterval(r)},500)}}).observe(document.body,{childList:!0,subtree:!0}),new MutationObserver(s).observe(document.body,{attributes:!0,attributeFilter:["class"]}),window.addEventListener("resize",()=>s(!0)),o()}()},91:function(){document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelectorAll(".partners-map");if(0===e.length)return;if(!window.google||!google.maps)return void console.error("Google Maps API not loaded.");const t=window.PartnersMap&&PartnersMap.markers||[],n=window.PartnersMap&&PartnersMap.defaultCenter||[20,10],i=[{featureType:"all",elementType:"geometry",stylers:[{color:"#202c3e"}]},{featureType:"all",elementType:"labels.text.fill",stylers:[{gamma:.01},{lightness:20},{weight:"1.39"},{color:"#ffffff"}]},{featureType:"all",elementType:"labels.text.stroke",stylers:[{weight:.96},{saturation:9},{visibility:"on"},{color:"#000000"}]},{featureType:"all",elementType:"labels.icon",stylers:[{visibility:"off"}]},{featureType:"landscape",elementType:"geometry",stylers:[{lightness:30},{saturation:9},{color:"#29446b"}]},{featureType:"poi",elementType:"geometry",stylers:[{saturation:20}]},{featureType:"poi.park",elementType:"geometry",stylers:[{lightness:20},{saturation:-20}]},{featureType:"road",elementType:"geometry",stylers:[{lightness:10},{saturation:-30}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#193a55"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{saturation:25},{lightness:25},{weight:"0.01"}]},{featureType:"water",elementType:"all",stylers:[{lightness:-20}]}];window.PartnersMapInstances=window.PartnersMapInstances||{};let r=0;
1e.forEach(e=>{const o=e.closest(".partners-map-wrap")||document.body,s=o.getAttribute("data-map-id")||"map-"+ ++r;o.setAttribute("data-map-id",s);const a=new google.maps.Map(e,{zoom:11,center:{lat:Number(n[0]),lng:Number(n[1])},styles:i,disableDefaultUI:!0,zoomControl:!0,fullscreenControl:!0,gestureHandling:"cooperative"}),l=new google.maps.LatLngBounds,c={};let h=null;const p={path:google.maps.SymbolPath.CIRCLE,scale:6,fillColor:"#1E1E2D",fillOpacity:1,strokeColor:"#ffffff",strokeWeight:4},m={path:google.maps.SymbolPath.CIRCLE,scale:6,fillColor:"#1BBC9B",fillOpacity:1,strokeColor:"#ffffff",strokeWeight:4};t.forEach(e=>{const t={lat:Number(e.lat),lng:Number(e.lng)},n=new google.maps.Marker({position:t,map:a,title:e.name,icon:p});c[e.id]=n,l.extend(t),n.addListener("click",()=>{h&&h!==n&&h.setIcon(p),n.setIcon(m),h=n;const t=new CustomEvent("partners:countryClick",{detail:{instanceId:s,...e}});window.dispatchEvent(t)})}),l.isEmpty()||a.fitBounds(l),google.maps.event.addListenerOnce(a,"bounds_changed",()=>{a.getZoom()>5&&a.setZoom(5)}),window.PartnersMapInstances[s]={id:s,map:a,wrap:o,markersById:c,resetActiveMarker(){h&&(h.setIcon(p),h=null)},openBySlug(e){d(s,e)},closePanels(){u(s)}}});const o=".country-panels",s=".country-panel",a="data-country-slug",l="active";function c(e){const t=window.PartnersMapInstances[e];return t?t.wrap.querySelector(o):null}function d(e,t){if(!t)return;const n=c(e);if(!n)return;const i=String(t).trim().toLowerCase(),r=window.CSS&&CSS.escape?CSS.escape(i):i;n.querySelectorAll(s).forEach(e=>e.classList.remove(l));const o=n.querySelector(`${s}[${a}="${r}"]`);o?(n.classList.add(l),o.classList.add(l)):console.warn(`[${e}] Country panel not found for slug:`,i)}function u(e){const t=c(e);if(!t)return;t.classList.remove(l),t.querySelectorAll(s).forEach(e=>e.classList.remove(l));const n=window.PartnersMapInstances[e];n&&"function"==typeof n.resetActiveMarker&&n.resetActiveMarker()}window.addEventListener("partners:countryClick",e=>{const{instanceId:t,slug:n}=e.detail||{};d(t,n)}),document.addEventListener("click",e=>{const t=e.target.closest(".close-panel");if(!t)return;const n=t.closest(".partners-map-wrap");if(!n)return;u(n.getAttribute("data-map-id"))}),document.addEventListener("keydown",e=>{if("Escape"!==e.key)return;const t=document.querySelector(".partners-map-wrap .country-panels.active");if(!t)return;const n=t.closest(".partners-map-wrap");if(!n)return;u(n.getAttribute("data-map-id"))})})},163:function(){document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector(".release-notes-section");if(e){let t;const n=e.querySelector(".date-filter"),i=n?.querySelector(".filter-categories-body");let r=i?.querySelector(".filter-date-range-input");const o=n?.querySelector(".clear-date-range");"function"==typeof window.flatpickr&&r&&(t=flatpickr(r,{mode:"range",altInput:!0,maxDate:"today",altFormat:"M d, Y",dateFormat:"M d, Y",locale:{rangeSeparator:" â "},allowInput:!0,clickOpens:!0,appendTo:n,position:"auto",static:!0,onReady(e,t,n){n.calendarContainer.style.zIndex="1055"},onChange(e,t,n){const i=e[0]||null,s=e[1]||e[0]||null;i?r.dataset.dateMin=n.formatDate(i,"Y-m-d"):delete r.dataset.dateMin,s?r.dataset.dateMax=n.formatDate(s,"Y-m-d"):delete r.dataset.dateMax,o&&o.classList[i?"remove":"add"]("d-none")}}),o?.addEventListener("click",()=>(t?.clear(),o?.classList.add("d-none"),void(r&&(delete r.dataset.dateMin,delete r.dataset.dateMax)))))}})},447:function(){document.addEventListener("DOMContentLoaded",function(){const e=document.querySelector(".pmpc-scroll-up"),t=window.innerHeight,n=document.body.scrollHeight;function i(){100*(window.scrollY+t/2)/n>=40?e.classList.add("pmpc-scroll-up-visible"):e.classList.remove("pmpc-scroll-up-visible")}i(),e.addEventListener("click",function(){window.scrollTo({top:0,behavior:"smooth"})}),window.addEventListener("scroll",i)})},625:function(){document.addEventListener("DOMContentLoaded",function(){const e=document.querySelector(".post-content"),t=document.querySelector("#post-table-of-contents"),n=document.querySelector("#post-table-of-contents .post-toc-widget-body");if(!e||!t||!n)return;const i=e.querySelectorAll("h2, h3, h4, h5, h6");let r="",o=0,s=!1,a=!1,l=!1;function c(e){const t=e.cloneNode(!0),n=t.querySelector(".clth-copy-icon");return n&&n.remove(),t.textContent.trim()}i.forEach((e,t)=>
1{e.id||(e.id="heading-"+o++);let n=e.tagName.toLowerCase(),d=i[t+1]?i[t+1].tagName.toLowerCase():null,u=d&&["h3","h4","h5","h6"].includes(d);var h;"h2"===n?(a=!0,l=!0,s&&(r+="</div></div></div>",s=!1),r+=`\n <div class="post-toc-heading-item" data-heading-id="${e.id}">\n <div class="post-toc-heading-item-title">\n <div class="post-toc-heading-item-link" data-anchor="${e.id}">${c(e)}</div>\n ${u?(h=e.id,`<div class="post-toc-heading-item-toggle" data-anchor="${h}" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 18 18" fill="none"><path d="M13.4992 11.6251C13.4005 11.6257 13.3026 11.6067 13.2112 11.5694C13.1199 11.5321 13.0367 11.4771 12.9667 11.4076L9.53166 7.9651C9.46194 7.89481 9.37899 7.83901 9.2876 7.80094C9.1962 7.76286 9.09817 7.74326 8.99916 7.74326C8.90015 7.74326 8.80212 7.76286 8.71073 7.80094C8.61934 7.83901 8.53639 7.89481 8.46666 7.9651L5.03166 11.4076C4.89043 11.5488 4.69889 11.6282 4.49916 11.6282C4.29944 11.6282 4.10789 11.5488 3.96666 11.4076C3.82543 11.2664 3.74609 11.0748 3.74609 10.8751C3.74609 10.7762 3.76557 10.6783 3.80342 10.5869C3.84126 10.4955 3.89673 10.4125 3.96666 10.3426L7.40916 6.90761C7.83662 6.49693 8.4064 6.26758 8.99916 6.26758C9.59193 6.26758 10.1617 6.49693 10.5892 6.90761L14.0317 10.3426C14.102 10.4123 14.1578 10.4953 14.1958 10.5867C14.2339 10.6781 14.2535 10.7761 14.2535 10.8751C14.2535 10.9741 14.2339 11.0721 14.1958 11.1635C14.1578 11.2549 14.102 11.3379 14.0317 11.4076C13.9616 11.4771 13.8785 11.5321 13.7871 11.5694C13.6957 11.6067 13.5979 11.6257 13.4992 11.6251Z" fill="#ABADCF"/></svg></div>`):""}\n </div>\n ${u?'<div class="post-toc-heading-item-children"><div class="post-toc-heading-item-children-inner">':"</div>"}\n `,s=u):["h3","h4","h5","h6"].includes(n)&&(a=!0,l?s&&(r+=`<div class="post-toc-heading-item-child ${e.tagName.toLowerCase()}" data-anchor="${e.id}">${c(e)}</div>`):r+=`\n <div class="post-toc-heading-item">\n <div class="post-toc-heading-item-title">\n <div class="post-toc-heading-item-link" data-anchor="${e.id}">${c(e)}</div>\n </div>\n </div>\n `)}),s&&(r+="</div></div></div>"),a&&(n.innerHTML=r,t.style.display="block");const d=window.matchMedia("(max-width: 991.98px)"),u=t.querySelector(".post-toc-widget-header");function h(){const e=d.matches;t.classList.toggle("post-toc-collapsed",e),u&&u.setAttribute("aria-expanded",String(!e))}function p(){if(!d.matches)return;const e=t.classList.toggle("post-toc-collapsed");u.setAttribute("aria-expanded",String(!e))}function m(e,t){e.style.maxHeight=t?e.scrollHeight+"px":"0px",e.parentElement.classList.toggle("is-open",t)}function f(){n.querySelectorAll(".post-toc-heading-item-children").forEach(e=>m(e,!1))}u&&(u.addEventListener("click",p),u.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),p())})),d.addEventListener("change",h),h();const y=Array.from(n.querySelectorAll(".post-toc-heading-item-link, .post-toc-heading-item-child"));function g(e){y.forEach(t=>t.classList.toggle("active",t===e));const t=e.closest(".post-toc-heading-item");n.querySelectorAll(".post-toc-heading-item-children").forEach(e=>{m(e,e.parentElement===t)})}let v=!1;if(n.querySelectorAll(".post-toc-heading-item-link, .post-toc-heading-item-child, .post-toc-heading-item-toggle").forEach(e=>{e.addEventListener("click",function(){if(this.classList.contains("post-toc-heading-item-toggle")&&d.matches){const e=this.closest(".post-toc-heading-item").querySelector(":scope > .post-toc-heading-item-children"),t=e.style.maxHeight&&"0px"!==e.style.maxHeight;return f(),void m(e,!t)}const e=document.getElementById(this.getAttribute("data-anchor"));if(e&&e.scrollIntoView({behavior:"smooth",block:"start"}),!d.matches){g(this.classList.contains("post-toc-heading-item-toggle")?this.closest(".post-toc-heading-item").querySelector(".post-toc-heading-item-link"):this),v=!0,setTimeout(()=>{v=!1},700)}})}),y.length){function b(){if(d.matches||v)return;const e=function(){const e=parseFloat(document.documentElement.style.getPropertyValue("--scroll-offset"));return Number.isFinite(e)?e:140}()+2;g(y.reduce((t,n)=>{const i=document.getElementById(n.getAttribute("data-anchor"));return i&&i.getBoundingClientRect().top<=e?n:t},y[0]))}let L=!1;window.addEventListener("scroll",()=>{L||(L=!0,requestAnimationFrame(()=>{L=!1,b()}))},{passive:!0}),window.addEventListener("resize",()=>{d.matches?n.querySelectorAll(".post-toc-heading-item-children").forEach(e
1=>{e.style.maxHeight&&"0px"!==e.style.maxHeight&&m(e,!0)}):b()},{passive:!0}),d.addEventListener("change",()=>{d.matches?(y.forEach(e=>e.classList.remove("active")),f()):b()}),d.matches?f():b()}})},943:function(){document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelectorAll(".timeline-block"),t=window.innerWidth>=992;if(!("IntersectionObserver"in window))return void e.forEach(e=>{e.classList.add("animate-left"),e.querySelectorAll(".timeline-block-item").forEach(e=>{e.classList.add("active")})});if(!t)return void e.forEach(e=>{new IntersectionObserver((t,n)=>{t.forEach(t=>{t.isIntersecting&&(e.classList.add("animate-left"),e.querySelectorAll(".timeline-block-item").forEach((e,t)=>{setTimeout(()=>e.classList.add("active"),100*t)}),n.unobserve(t.target))})},{threshold:.1}).observe(e)});const n=Array.from(e).map(()=>({activatedItems:0,topLineDone:!1,sideLineDone:!1,topLineProgress:0,sideLineHeight:0}));let i=!1;function r(){const t=Array.from(e).find(e=>{const t=e.getBoundingClientRect();return e.classList.contains("last-block")&&t.top<window.innerHeight});e.forEach((i,r)=>{const o=i.getBoundingClientRect(),s=o.height,a=Math.min(window.innerHeight,o.bottom)-Math.max(0,o.top);if(a<=0||s<=0)return;let l=Math.min(1,Math.max(0,a/s));t&&r<e.length-1&&(l=1),function(t,i,r,o){const s=n[i],a=t.querySelectorAll(".timeline-block-item"),l=t.querySelector(".top-line"),c=t.querySelector(".side-line");if(r>.05&&!t.classList.contains("animate"))if(t.classList.add("animate"),t.classList.contains("last-block")){const n=e[i-1],r=n?.classList.contains("b-left")?"left-to-right":"right-to-left";t.classList.add(r)}else t.classList.add(t.classList.contains("b-left")?"right-to-left":"left-to-right");if(i>0&&!n[i-1]?.sideLineDone)return;if(l&&!s.topLineDone){const e=Math.max(s.topLineProgress,r);s.topLineProgress=e,l.style.width=100*e+"%",e>=1&&(s.topLineDone=!0,t.classList.contains("last-block")&&l.classList.add("gradient-end"),s.sideStartTimestamp=performance.now())}if(c&&s.topLineDone&&!s.sideLineDone&&!t.classList.contains("last-block")){const e=o.top,t=o.height,n=window.innerHeight-e,i=Math.min(Math.max(n/t,0),1),r=Math.pow(i,.4);c.style.height=r*t+"px",r>=1&&(c.classList.add("active"),s.sideLineDone=!0)}const d=o.left,u=o.width,h=parseFloat(l?.style.width||"0"),p=t.classList.contains("right-to-left"),m=d+u*h/100,f=d+u-u*h/100,y=Array.from(a);p&&y.reverse();y.forEach(e=>{if(e.classList.contains("active"))return;const t=e.getBoundingClientRect(),n=t.left+t.width/2;(p?n>=f:n<=m)&&(e.classList.add("active"),s.activatedItems++)})}(i,r,l,o)})}window.addEventListener("scroll",()=>{i||(requestAnimationFrame(()=>{r(),i=!1}),i=!0)}),r()})}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}!function(){"use strict";n(20);(new class{init(){if(this.container=document.querySelector(".articles-section"),!this.container)return;this.filterContainer=this.container.querySelector(".filter-widget");const e=()=>this.initSearch();"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e,{once:!0}):e()}initSearch(){this.cacheElements(),this.attachEventListeners(),this.page=1,this.canBeLoaded=!0,this.activeController=null,this.lastRequestId=0,this.applyFiltersFromURL(),"undefined"!=typeof Masonry&&this.initMasonry()}cacheElements(){this.searchContainer=this.container.querySelector(".articles-search-wrapper"),this.searchInput=this.searchContainer?.querySelector(".blog-search-input"),this.searchBtn=this.searchContainer?.querySelector(".search-btn"),this.clearSearchBtn=this.searchContainer?.querySelector(".clear-search"),this.searchResultContainer=this.container.querySelector(".articles-search-result"),this.enableMasonry=!!this.searchResultContainer&&!this.searchResultContainer.classList.contains("no-masonry"),this.searchIcon=this.searchContainer?.querySelector(".search-btn-icon"),this.searchLoader=this.searchContainer?.querySelector(".svg-loader"),this.urlParams=new URLSearchParams(window.location.search),this.filterContainer&&(this.appliedFiltersWrapper=this.filterContainer.querySelector(".applied-filters-wrapper"),this.appliedFiltersContainer=this.filterContainer.querySelector(".applied-filters-body"),this.applyFilterBtn=this.filterContainer.querySelector(".apply-filter-btn"),this.applyFilterLoader=this.filterContainer.querySelector(".apply-filter-loader"),this.clearFilterBtn=this.filterContainer.querySelector(".filter-clear"),this.toggleBodyBtns=this.filterContainer.querySelectorAll(".filter-categories-toggle svg, .filter-tags-toggle svg"),this.toggleWidgetBodyBtn=this.filterContainer.querySelector(".filter-widget-toggle svg"),this.closeFilterWidgetBtn=this.filterContainer.querySelector(".filter-widget-toggle .close-filter-widget")),this.showMoreWrapper=this.container.querySelector(".show-more-articles-wrapper"),this.showMoreWrapper&&(this.showMoreArrow=this.showMoreWrapper.querySelector(".show-more-articles-arrow"),this.showMoreLoader=this.showMoreWrapper.querySelector(".svg-loader"),this.showMoreBtn=this.showMoreWrapper.querySelector(".show-more-articles-btn")),this.relatedTagsWidgetcontainer=this.container.querySelector(".related-tags-widget"),this.mobileFilterToggle=this.container.querySelector(".mobile-filter-widget-toggle, .mobile-filter-widget-toggle svg")}attachEventListeners(){this.filterContainer?.addEventListener("change",this.handleSpecialFilters.bind(this)),this.searchBtn?.addEventListener("click",this.handleTextSearch.bind(this)),this.searchInput?.addEventListener("keydown",this.handleSearchByEnter.bind(this)),this.searchInput?.addEventListener("input",this.handleSearchInput.bind(this)),this.clearSearchBtn?.addEventListener("click",this.resetSearchInput.bind(this)),this.applyFilterBtn?.addEventListener("click",this.applyFilters.bind(this)),this.clearFilterBtn?.addEventListener("click",this.clearFilters.bind(this)),this.filterContainer?.addEventListener("click",this.handleFilterActions.bind(this)),this.filterContainer?.addEventListener("input",this.handleFilterSearchInput.bind(this)),this.relatedTagsWidgetcontainer?.addEventListener("input",this.handleFilterSearchInput.bind(this)),this.relatedTagsWidgetcontainer?.addEventListener("click",this.handleFilterActions.bind(this)),this.toggleBodyBtns?.length&&this.toggleBodyBtns.forEach(e
1=>{e.addEventListener("click",this.handleToggleBody.bind(this))}),this.toggleWidgetBodyBtn?.addEventListener("click",this.handleWidgetToggleBody.bind(this)),this.showMoreBtn?.addEventListener("click",this.showMoreClick.bind(this)),this.mobileFilterToggle?.addEventListener("click",this.toggleFilterWidget.bind(this)),this.closeFilterWidgetBtn?.addEventListener("click",this.toggleFilterWidget.bind(this))}applyFiltersFromURL(){if(!this.filterContainer)return;this.filterContainer.querySelectorAll(".filter-item-checkbox").forEach(e=>e.checked=!1);const e=this.appliedFiltersContainer?.querySelectorAll(".applied-filter-item:not(.applied-filter-item-template)");e?.forEach(e=>e.remove());let t=!1;this.filterContainer.querySelectorAll(".filter").forEach(e=>{const n=e.dataset.name;if(!n)return;const i=`filter_${n}`,r=this.urlParams.get(i);if(!r)return;r.split(",").map(e=>e.trim()).forEach(n=>{const i=e.querySelector(`input[value="${n}"]`);i&&(i.checked=!0,this.addAppliedFilterItem(i),t=!0)})}),t&&(this.updateAppliedFiltersCounter(),this.applyFilters())}updateURLWithFilters(){if(!this.filterContainer)return;const e=new URL(window.location);this.filterContainer.querySelectorAll(".filter").forEach(t=>{const n=t.dataset.name;if(!n)return;const i=`filter_${n}`,r=[...t.querySelectorAll(".filter-item-checkbox:checked")].map(e=>e.value).filter(e=>e);r.length>0?e.searchParams.set(i,r.join(",")):e.searchParams.delete(i)}),window.history.replaceState({},"",e)}handleFilterActions(e){e.target.matches(".filter-item-checkbox")?this.handleFilterItemClick(e.target):e.target.matches(".show-all-items")?this.showAllFilterItems(e.target):e.target.closest(".clear-search")?this.clearFilterSearch(e.target.closest(".filter")):e.target.closest(".applied-filter-item-remove")&&this.removeAppliedFilterItem(e.target.closest(".applied-filter-item").dataset.id)}handleSpecialFilters(e){if(e.target.matches(".filter-date-range-input")){const t=e.target,n=t.dataset.dateMin||"",i=t.dataset.dateMax||"";if(n||i){const e=t.value.trim();e&&this.addOrUpdateDateAppliedFilter(e)}else this.removeAppliedFilterItem("date-range")}}handleFilterSearchInput(e){e.target.matches(".filter-search-input")&&this.searchFilterItems(e.target)}handleSearchInput(){const e=this.searchInput.value.length>0;this.clearSearchBtn?.classList.toggle("hidden",!e),e||this.resetSearchInput()}resetSearchInput(e=!0){this.searchInput.value="",e&&this.searchInput.focus(),this.clearSearchBtn.classList.add("hidden"),this.triggerSearch()}handleTextSearch(){this.searchInput?.value&&this.triggerSearch("textsearch")}handleSearchByEnter(e){"Enter"===e.key&&this.triggerSearch("textsearch")}handleFilterItemClick(e){const t=e.closest(".filter-item-has-children");if(t){const n=t.closest(".filter-item-wrapper")?.querySelectorAll(".filter-item-child input");n.forEach(t=>{t.checked!==e.checked&&(t.checked=e.checked,this.toggleFilterItem(t))})}this.toggleFilterItem(e);const n=e.closest(".filter"),i=n.closest(".filter-tabs");i&&i.querySelectorAll(".filter").forEach(e=>{e!==n&&e.querySelectorAll(".filter-item-child input").forEach(e=>{e.checked&&(e.checked=!1,this.toggleFilterItem(e))})})}toggleFilterItem(e){e.checked?this.addAppliedFilterItem(e):this.removeAppliedFilterItem(e.value)}addOrUpdateDateAppliedFilter(e){if(!this.appliedFiltersContainer)return;const t="date-range";let n=this.appliedFiltersContainer.querySelector(`.applied-filter-item[data-id="${t}"]`);if(!n){const e=this.appliedFiltersContainer.querySelector(".applied-filter-item-template");if(!e)return;n=e.cloneNode(!0),n.dataset.id=t,n.classList.remove("applied-filter-item-template","d-none"),this.appliedFiltersContainer.appendChild(n)}n.querySelector(".applied-filter-item-title").innerText=e,this.updateAppliedFiltersCounter()}addAppliedFilterItem(e){if(!this.appliedFiltersContainer)return;const t=this.appliedFiltersContainer.querySelector(".applied-filter-item-template");if(!t)return;let n=t.cloneNode(!0);const i=e.parentElement.innerText.trim()||"";n.dataset.id=e.value,n.classList.remove("applied-filter-item-template","d-none"),n.querySelector(".applied-filter-item-title").innerText=i,this.appliedFiltersContainer.appendChild(n),this.updateAppliedFiltersCounter()}removeAppliedFilterItem(e){if(!this.appliedFiltersContainer)return;[...this.appliedFiltersContainer.querySelectorAll(".applied-filter-item")].filter(t=>
1t.dataset.id===e).forEach(e=>e.remove());const t=this.filterContainer.querySelector('input[type="checkbox"][value="'+e+'"]');t&&(t.checked=!1),this.updateAppliedFiltersCounter()}updateAppliedFiltersCounter(){if(!this.filterContainer||!this.appliedFiltersContainer)return;let e=0;this.appliedFiltersContainer.querySelectorAll(".applied-filter-item").forEach(t=>{t.classList.contains("applied-filter-item-template")||e++});const t=this.filterContainer.querySelector(".filter-widget-count"),n=this.mobileFilterToggle.querySelector(".mobile-filter-widget-count");e>0?(this.appliedFiltersWrapper.classList.remove("d-none"),t&&(t.innerText=e,t.classList.remove("d-none")),n&&(n.innerText=e,n.classList.remove("d-none")),this.clearFilterBtn.classList.remove("hidden"),this.applyFilterBtn.classList.remove("disabled")):(this.appliedFiltersWrapper.classList.add("d-none"),t&&(t.innerText=e,t.classList.add("d-none")),n&&(n.innerText=e,n.classList.add("d-none")),this.clearFilterBtn.classList.add("hidden"),this.applyFilterBtn.classList.add("disabled"),this.triggerSearch())}searchFilterItems(e){const t=e.value.toLowerCase().trim(),n=e.closest(".filter");if(!n)return;const i=n.querySelector(".show-all-items"),r=n.querySelector(".clear-search"),o=n.querySelectorAll(".filter-item");if(t.length>0){i.classList.add("hidden"),r.classList.remove("hidden"),o.forEach(e=>{e.textContent.toLowerCase().includes(t)?e.classList.remove("hidden"):e.classList.add("hidden")}),n.querySelectorAll(".filter-item:not(.hidden)").length>0?n.querySelector(".filter-no-items-found").classList.add("hidden"):n.querySelector(".filter-no-items-found").classList.remove("hidden")}else this.clearFilterSearch(n)}clearFilterSearch(e){if(!e)return;const t=e.querySelectorAll(".filter-item"),n=e.querySelector(".show-all-items");e.querySelector(".filter-search-input").value="",e.querySelector(".clear-search").classList.add("hidden"),e.querySelector(".filter-no-items-found").classList.add("hidden"),n.innerText=n.dataset.showAll,this.resetFilterItems(t,n)}showAllFilterItems(e){const t=e.closest(".filter-items").querySelectorAll(".filter-item");t&&(e.classList.contains("less")?(e.classList.remove("less"),e.innerText=e.dataset.showAll,this.resetFilterItems(t,e)):(e.classList.add("less"),e.innerText=e.dataset.showLess,t.forEach(e=>{e.classList.remove("hidden")})))}resetFilterItems(e,t){let n=0,i=Number(t.dataset.itemsNumber||0);e.forEach(e=>{e.classList.toggle("hidden",n>=i),n++}),n>i&&t.classList.remove("less","hidden")}clearFilters(){this.filterContainer.querySelectorAll(".filter-item-checkbox:checked").forEach(e=>{this.removeAppliedFilterItem(e.value)});const e=this.filterContainer.querySelector(".date-filter");if(e){const t=e.querySelector(".filter-date-range-input"),n=e.querySelector(".clear-date-range");t&&(t._flatpickr?t._flatpickr.clear():t.value="",delete t.dataset.dateMin,delete t.dataset.dateMax),n?.classList.add("d-none"),this.removeAppliedFilterItem("date-range")}this.resetSearchInput(!1),this.updateURLWithFilters()}showMoreClick(){this.page++,this.triggerSearch("loadmore")}applyFilters(){this.triggerSearch("filters")}setLoadingState(e,t){"loadmore"===e?(this.showMoreArrow?.classList.toggle("hidden",t),this.showMoreLoader?.classList.toggle("hidden",!t)):"textsearch"===e?(this.searchIcon?.classList.toggle("hidden",t),this.searchLoader?.classList.toggle("hidden",!t)):"filters"===e&&this.applyFilterLoader?.classList.toggle("hidden",!t)}triggerSearch(e=""){if(!this.canBeLoaded)return;if(!this.searchResultContainer)return;this.activeController&&this.activeController.abort(),this.activeController=new AbortController;const t=++this.lastRequestId;this.canBeLoaded=!1,"loadmore"!==e&&(this.page=1);const n=this.getSearchData();this.setLoadingState(e,!0),fetch(js_vars.ajaxurl,{method:"POST",headers:{"X-Requested-With":"XMLHttpRequest"},body:n,signal:this.activeController.signal}).then(e=>e.text()).then(e=>{try{return e?JSON.parse(e):{}}catch(t){throw console.error("Invalid JSON response:",e),t}}).then(e=>{t===this.lastRequestId&&(this.updateURLWithFilters(),this.displaySearchResults(e))}).catch(e=>{"AbortError"!==e?.name&&console.error("AJAX request failed:",e)}).finally(()=>{t===this.lastRequestId&&(this.canBeLoaded=!0,this.setLoadingState(e,!1))})}getSearchData(){let e=new FormData;e.append("action","blog_search_articles"),this.container.dataset.posttype&&e.append("post_type",this.container.dataset.posttype),this.container.dataset.authorid&&e.append("author",this.container.dataset.authorid),this.container.dataset.currentcatid?e.append("current_category_id",this.container.dataset.currentcatid):this.container.dataset.currenttagid?e.append("current_tag_id",this.container.dataset.currenttagid):this.container.dataset.ancestorid&&e.append("ancestor_id",this.container.dataset.ancestorid),e.append("search_text",this.searchInput.value),e.append("paged",this.page);const t=new Map;this.filterContainer?.querySelectorAll(".filter").forEach(n=>{const i=n.dataset.name;if(!i)return;const r=[...n.querySelectorAll(".filter-item-checkbox:checked")].map(e=>e.value).map(e=>{const t=Number(e);return Number.isFinite(t)&&String(t)===String(e).trim()?t:e}).filter(e=>""!==e&&null!=e);if(t.has(i)||t.set(i,[]),t.set(i,[...t.get(i),...r]),n.classList.contains("date-filter")){const t=n.querySelector(".filter-date-range-input");if(!t)return;const i=t.dataset.dateMin||"",r=t.dataset.dateMax||"";if(i||r){i&&e.append("date_min",i),r&&e.append("date_max",r||i);const n=t.value.trim();n&&this.addOrUpdateDateAppliedFilter(n)}else this.removeAppliedFilterItem("date-range")}});for(const[n,i]of t.entries())e.append(n,JSON.stringify(i));return e}displaySearchResults(e){e.success&&e.data?(1===this.page&&(this.searchResultContainer.innerHTML=""),this.enableMasonry?function(e,t=".articles-wrapper"){let n=document.querySelector(t);if(!n)return;let i=document.createElement("div");i.innerHTML=e;let r=i.querySelectorAll(".article-item");
1r.forEach(e=>{n.appendChild(e)}),"function"==typeof imagesLoaded&&imagesLoaded(n,function(){let e=Masonry.data(n);e&&(e.appended(r),e.layout())})}(e.data,".articles-search-result"):this.searchResultContainer.insertAdjacentHTML("beforeend",e.data),e.total_pages===this.page?this.showMoreWrapper?.classList.add("hidden"):this.showMoreWrapper?.classList.remove("hidden")):(this.searchResultContainer.innerHTML=e.message||"No results found.",this.showMoreWrapper?.classList.add("hidden")),this.searchIcon?.classList.remove("hidden"),this.searchLoader?.classList.add("hidden"),this.showMoreArrow?.classList.remove("hidden"),this.showMoreLoader?.classList.add("hidden"),this.applyFilterLoader?.classList.add("hidden"),window.innerWidth<992&&(this.filterContainer.classList.add("mobile-hidden"),document.body.classList.remove("disable-scroll"))}handleToggleBody(e){const t=e.currentTarget.closest(".filter-categories-wrapper, .filter-tags-wrapper, .filter-authors-wrapper");if(!t)return;const n=t.querySelector(".filter-categories-body, .filter-tags-body");n&&(n.classList.toggle("d-none"),e.currentTarget.classList.toggle("rotated"))}handleWidgetToggleBody(e){let t=this.filterContainer.querySelector(".filter-widget-header"),n=this.filterContainer.querySelector(".filter-widget-body"),i=this.filterContainer.querySelector(".filter-widget-footer");t.classList.toggle("active"),n.classList.toggle("d-none"),i.classList.toggle("d-none"),e.currentTarget.classList.toggle("rotated")}toggleFilterWidget(){this.filterContainer.classList.toggle("mobile-hidden"),this.filterContainer.classList.contains("mobile-hidden")?document.body.classList.remove("disable-scroll"):document.body.classList.add("disable-scroll")}initMasonry(){this.searchResultContainer&&this.enableMasonry&&new Masonry(this.searchResultContainer,{itemSelector:".article-item",columnWidth:".article-item",percentPosition:!0,gutter:30})}}).init();n(629),n(625),n(985),n(943),n(833),n(447),n(499),n(884),n(91);function e(e,t=document.getElementsByClassName("content-filter-section")){let n=e?e.split(",").map(e=>e.trim()):[],i=t[0].nextElementSibling;for(;i;){let e=i.getAttribute("data-filter")?i.getAttribute("data-filter").split(",").map(e=>e.trim()):[],t=n.some(t=>e.includes(t));i.style.display=t?"block":"none",i=i.nextElementSibling}}function t(t=document){const n="string"==typeof t?document.querySelector(t):t;n&&(n.querySelectorAll(".pmpc-dropdown-btn").forEach(e=>{"1"!==e.dataset.bound&&(e.dataset.bound="1",e.addEventListener("click",()=>{e.classList.toggle("active"),e.nextElementSibling?.classList.toggle("active")},{passive:!0}))}),n.querySelectorAll(".pmpc-dropdown-item").forEach(t=>{"1"!==t.dataset.bound&&(t.dataset.bound="1",t.addEventListener("click",()=>{const i=t.closest(".pmpc-dropdown-wrap"),r=t.closest("section")||n,o=i?.querySelector(".pmpc-dropdown-btn"),s=i?.querySelector(".pmpc-dropdown-btn span");s&&(s.textContent=t.textContent.trim()),i?.querySelector(".pmpc-dropdown-item.active")?.classList.remove("active"),t.classList.add("active");const a=t.getAttribute("data-bs-target");a&&(r.querySelector(".tab-pane.active")?.classList.remove("active","show"),r.querySelector(a)?.classList.add("active","show"));const l=t.getAttribute("data-block-filter");if(l){document.querySelectorAll("[data-block-filter]").forEach(e=>{document.body.classList.remove(e.getAttribute("data-block-filter"))}),document.body.classList.add(l),t.closest(".content-filter-dropdown")&&history.replaceState(null,"","#"+(t.dataset.blockFilterSlug||l));const i=n.querySelector(".content-filter-section");let r=i?.nextElementSibling;for(;r;)r.style.display="none",r=r.nextElementSibling;e(l)}o?.classList.remove("active"),o?.nextElementSibling?.classList.remove("active")}))}))}document.addEventListener("DOMContentLoaded",function(){const e=document.querySelector(".lever-section");if(!e)return;const n=e.querySelector(".job-filters"),i=e.querySelector(".job-boards");if(!n||!i)return;i&&(i.innerHTML='<div class="jobs-loading">Loading open rolesâ¦</div>');const r={team:"",location:"",commitment:"",workplace:""};let o=null;const s=new URLSearchParams({action:"get_lever_html",ts:Date.now()});function a(e){return(e||"").toString().trim().toLowerCase()}
1function l(){i.querySelectorAll(".job-card").forEach(e=>{const t=!r.team||a(e.dataset.team)===r.team,n=!r.location||a(e.dataset.location)===r.location,i=!r.commitment||a(e.dataset.commitment)===r.commitment,o=!r.workplace||a(e.dataset.locationType)===r.workplace,s=t&&n&&i&&o,l=e.closest(".job-card-wrap");l&&(l.style.display=s?"":"none")}),i.querySelectorAll(".job-board-item").forEach(e=>{const t=e.querySelectorAll(".job-card-wrap"),n=Array.from(t).some(e=>"none"!==e.style.display);e.style.display=n?"":"none"}),function(){const e=Array.from(i.querySelectorAll(".job-board-item")).filter(e=>"none"!==e.style.display);e.forEach(t=>{1===e.length?t.classList.add("no-border"):t.classList.remove("no-border")})}()}(function(e,t,n=12e3){const i=new AbortController,r=setTimeout(()=>i.abort(),n);if(o)try{o.abort()}catch(e){}return o=i,fetch(e,{...t,signal:i.signal}).finally(()=>clearTimeout(r))})(js_vars.ajaxurl,{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json"},cache:"no-store",body:s}).then(e=>e.json()).then(({success:r,data:o})=>{if(!r||!o)throw new Error("Fetch failed");if(!!(!o.boards_html||""===o.boards_html.trim()))return n.innerHTML="",i.innerHTML="",void(e.style.display="none");i.innerHTML=o.boards_html,n.innerHTML=o.filters_html||"",t(n),t(i),l()}).catch(e=>{console.error(e),i.innerHTML='<div class="jobs-error">We couldnât load open roles right now.</div>'}),n.addEventListener("click",function(e){const t=e.target.closest(".pmpc-dropdown-item");if(!t)return;const n=[{cls:"team-filter-dropdown",key:"team"},{cls:"location-filter-dropdown",key:"location"},{cls:"work-filter-dropdown",key:"commitment"},{cls:"workplace-filter-dropdown",key:"workplace"}].find(e=>t.closest(`.${e.cls}`));if(!n)return;const i=t.closest(`.${n.cls}`),o=a(t.dataset.jobFilter);i.querySelectorAll(".pmpc-dropdown-item").forEach(e=>e.classList.remove("active")),t.classList.add("active"),r[n.key]=o,l()})});var i;n(702),n(225),n(163),n(684),n(290);t(),(i=jQuery)(document).ready(function(){let t=i(window).width();function n(e,t){i(e).on("click",function(e){e.preventDefault();let n=i(this).closest(t);n.length&&function(e,t=500){0!==i(e).length&&i("html, body").animate({scrollTop:e.offset().top},t)}(n,50)})}i(window).height(),i(document).height(),n(".solutions-categories .solutions-nav-link",".solutions-section"),n(".webinar-archive-categories .webinar-archive-nav-link",".webinar-archive-section"),n(".features-bp-categories .features-bp-nav-link",".features-bp-section"),n(".content-filter-categories .content-filter-link",".content-filter-section"),n(".content-filter-dropdown .pmpc-dropdown-item",".content-filter-section");let r=document.querySelectorAll(".show-more-less.features");r&&r.forEach(e=>{e.addEventListener("click",()=>{let t=e.closest("section");if(t){let n=t.querySelectorAll(".feature-item-hidden");h(e,n,"flex")}})});let o=document.querySelectorAll(".show-more-less.security-compliance");o&&o.forEach(e=>{e.addEventListener("click",()=>{let t=e.closest("section");if(t){const n=window.innerWidth<=992?".item-hidden, .tablet-hidden":".item-hidden",i=t.querySelectorAll(n);h(e,i,"block")}})});let s=document.querySelectorAll(".show-more-less.faqs");s&&s.forEach(e=>{e.addEventListener("click",()=>{let t=e.closest("section");if(t){let n=t.querySelectorAll(".accordion-item.hidden-item");h(e,n)}})});let a=document.querySelectorAll(".show-more-less.events");a&&a.forEach(e=>{e.addEventListener("click",()=>{let t=e.closest("section");if(t){let n=t.querySelectorAll(".event-item-hidden");h(e,n,"flex")}})}),i(".load-more-reviews").on("click",function(){let e=i(this),t=e.data("term-id"),n=e.parents(".tab-pane").find(".reviews-list-wrap .row"),r=e.data("page");i.ajax({url:js_vars.ajaxurl,type:"POST",data:{action:"load_more_reviews",page:r,term_id:t,nonce:js_vars.nonce},beforeSend:function(){i(".load-more-reviews > svg").hide(),i(".loading-reviews-img").show()},success:function(t){t.html?(n.append(t.html),i(".load-more-reviews > svg").show(),i(".loading-reviews-img").hide(),t.is_last_page?e.hide():e.data("page",r+1)):e.hide()},error:function(){alert("Failed to load, try again.")}})});
1let l=document.getElementById("video-modal"),c=document.getElementById("video-frame"),d=new bootstrap.Modal(l);function u(){i(".widget-title").hasClass("active")?i(".widget-title:not(.active)").next().hide():i(".footer-widgets .row div").first().find(".widget-title").addClass("active").next().show()}function h(e,t,n="block"){t.forEach(function(e){"none"===e.style.display||""===e.style.display?e.style.display=n:e.style.display="none"}),e.querySelector(".show-more-less .more-less-txt:nth-child(1)").classList.toggle("active"),e.querySelector(".show-more-less .more-less-txt:nth-child(2)").classList.toggle("active")}document.querySelectorAll(".section-video-play").forEach(e=>{e.addEventListener("click",()=>{if(e.closest(".swiper-slide-prev")||e.closest(".swiper-slide-next"))return;let t=e.querySelector(".section-video-play-btn");if(t){let e=t.getAttribute("data-video-url"),n="";if(e.includes("youtube.com")||e.includes("youtu.be"))n=e+"?modestbranding=1&rel=0&controls=1&showinfo=0&html5=1&autoplay=1";else if(e.includes("vimeo.com")){const t=function(e){const t=e.match(/vimeo\.com\/(\d+)(?:\/([a-zA-Z0-9]+))?/);return t?{id:t[1],token:t[2]?t[2]:""}:null}(e);t&&(n=`https://player.vimeo.com/video/${t.id}?autoplay=1&title=0&byline=0&portrait=0`,t.token&&(n+=`&h=${t.token}`))}n&&(c.setAttribute("src",n),d.show())}})}),l.addEventListener("hidden.bs.modal",function(){c.setAttribute("src","")}),t<=767.98&&u(),i(window).resize(function(){t=i(window).width(),t<767.98?u():i(".footer-widget div").show()}),i(".widget-title").on("click",function(){t<=767.98&&(i(this).hasClass("active")||(i(".widget-title.active").removeClass("active"),i(".footer-widget div:not(.widget-title)").slideUp(),i(this).addClass("active").next().slideToggle()))}),"undefined"!=typeof Fancybox&&"function"==typeof Fancybox.bind&&i('[data-fancybox="post-gallery"]').length&&Fancybox.bind(".entry-content a[data-fancybox]",{Carousel:{Thumbs:{showOnStart:!1}},caption:function(e,t){return t.$trigger?.dataset?.caption||t.$trigger?.querySelector("img")?.alt||""}});const p=document.querySelectorAll('[id^="pricing-modal-"]');p&&p.forEach((e,t)=>{let n=e.querySelector('select[name="ProductForQuote"]');if(n){let e=n.closest(".pricing-item-wrap");if(e){let i=e.querySelector(".pricing-item-subtitle"),r=e.querySelector(".pricing-item-title");if(i&&r){let e=i.textContent.trim(),o=r.textContent.trim(),s=e.replace(/\s+/g,"")+" "+o.replace(/\s+/g,""),a=Array.from(n.options).find(e=>e.textContent.includes(s));a&&n.value!==a.value&&(n.value=a.value,setTimeout(function(){n.dispatchEvent(new Event("change",{bubbles:!0,cancelable:!0}))},200*(t+1)))}else console.warn("Subtitle or title element missing in parentDropdownBlock:",e)}}}),document.addEventListener("click",function(e){if(e.target.classList.contains("wpcf7-submit")){var t=document.querySelectorAll(".ajax-loader");if(Array.from(t).some(e=>e.classList.contains("is-active")))return e.preventDefault(),!1}}),i(".features-bp-categories-dropdown .pmpc-dropdown-item, .features-bp-nav-link").on("click",function(e){let t=i(this).data("bs-target"),n=i(t).find('table[id^="tablepress-"]');n.length&&n.each(function(){!function(e){if(i(e).data("reinitialized"))i(e).DataTable().columns.adjust();else if(i.fn.DataTable.isDataTable(e)){let t=i(e).DataTable(),n=t.settings().init();t.destroy(),i(e).DataTable(n),i(e).data("reinitialized",!0)}}(i(this))})}),i.fn.dataTable&&!i.fn.dataTable.ext.search.pmpcExtraFilterRegistered&&(i.fn.dataTable.ext.search.push(function(e,t,n){let r=i(e.nTable).data("extraFilterValue");if(!r)return!0;let o=e.aoData[n].nTr,s=i(o).find(".publishing-info-cell .popover-content").map(function(){return i(this).text().trim()}).get().join(" ");return new RegExp("\\b"+r+"\\b","i").test(s)}),i.fn.dataTable.ext.search.pmpcExtraFilterRegistered=!0),i(".table-filter-btn").on("click",function(){let e=i(this),t=e.parents(".tab-pane").find('table[id^="tablepress-"]');if(e.hasClass("active"))return e.removeClass("active"),void t.each(function(){let e=i(this).DataTable();i(this).removeData("extraFilterValue"),e.draw()});e.closest(".table-extra-filters").find(".table-filter-btn").removeClass("active"),e.addClass("active");let n=e.data("table-filter-value");t.each(function(){let e=i(this).DataTable();i(this).data("extraFilterValue",n),e.draw()})});let m=null,f=null,y=null;document.querySelectorAll(".popover-trigger").forEach(function(e){const t=e.closest(".info-cell").querySelector(".popover-content"),n=t?t.innerHTML:"",i=new bootstrap.Popover(e,{trigger:"manual",html:!0,placement:"top",content:n});function r(){clearTimeout(y),clearTimeout(f),y=setTimeout(function(){m&&m!==i&&m&&(m.hide(),m=null),i.show(),m=i,function(e){const t=document.querySelector(".popover");t&&(t.addEventListener("mouseenter",function(){clearTimeout(f)}),t.addEventListener("mouseleave",function(t){o(t,e)}))}(e)},200)}function o(e,t){clearTimeout(y),f=setTimeout(function(){const n=document.querySelector(".popover");s(e,t)||n&&s(e,n)||(i.hide(),m=null)},300)}function s(e,t){const n=t.getBoundingClientRect();return n.left<=e.clientX&&e.clientX<=n.right&&n.top<=e.clientY&&e.clientY
1<=n.bottom}e.addEventListener("mouseenter",function(){r()}),e.addEventListener("focus",function(){r()}),e.addEventListener("mouseleave",function(t){o(t,e)}),e.addEventListener("blur",function(t){o(t,e)})});let g=i(".content-filter-section");if(g.length){let M=g[0].nextElementSibling;for(;M;)M.style.display="none",M=M.nextElementSibling;let T=window.location.hash?window.location.hash.substring(1):"",F=T?document.querySelector('.content-filter-link[data-block-filter-slug="'+CSS.escape(T)+'"]')||document.querySelector('.content-filter-link[data-block-filter="'+CSS.escape(T)+'"]'):null,I=null;if(!F&&T&&(I=document.getElementById(T),I)){let O=I.closest("[data-filter]");if(O){let R=O.getAttribute("data-filter").split(",").map(e=>e.trim())[0];F=document.querySelector('.content-filter-link[data-block-filter="'+CSS.escape(R)+'"]')}}if(F){document.querySelectorAll(".content-filter-link").forEach(e=>e.classList.remove("active")),F.classList.add("active");let P=document.querySelector('.content-filter-dropdown .pmpc-dropdown-item[data-block-filter-slug="'+CSS.escape(T)+'"]')||document.querySelector('.content-filter-dropdown .pmpc-dropdown-item[data-block-filter="'+CSS.escape(T)+'"]');if(P){let W=document.querySelector(".content-filter-dropdown .pmpc-dropdown-btn span");W&&(W.textContent=P.textContent.trim()),document.querySelector(".content-filter-dropdown .pmpc-dropdown-item.active")?.classList.remove("active"),P.classList.add("active")}}let D,_=document.querySelector(".content-filter-link.active");if(_){let H=_.getAttribute("data-block-filter");document.body.classList.add(H),e(H,g)}if(F){let z=I||g[0];z.scrollIntoView({behavior:"smooth"});let Y=new ResizeObserver(()=>z.scrollIntoView({behavior:"auto"})),U=function(){Y.disconnect(),window.removeEventListener("wheel",U),window.removeEventListener("touchstart",U),window.removeEventListener("keydown",U)};Y.observe(document.body),window.addEventListener("wheel",U,{passive:!0}),window.addEventListener("touchstart",U,{passive:!0}),window.addEventListener("keydown",U),setTimeout(U,3e3)}document.querySelectorAll(".content-filter-link").forEach(t=>{t.addEventListener("click",function(){let t=this;if(t.classList.contains("active")){let e=t.getAttribute("data-block-filter");history.replaceState(null,"","#"+(t.dataset.blockFilterSlug||e))}else{document.querySelectorAll(".content-filter-link").forEach(e=>{e.classList.remove("active")}),document.querySelectorAll(".content-filter-link").forEach(e=>{let t=e.getAttribute("data-block-filter");t&&document.body.classList.remove(t)}),t.classList.add("active");let n=t.getAttribute("data-block-filter");for(document.body.classList.add(n),history.replaceState(null,"","#"+(t.dataset.blockFilterSlug||n)),M=g[0].nextElementSibling;M;)M.style.display="none",M=M.nextElementSibling;e(n,g)}})}),D=t>992?document.querySelector(".content-filter-categories"):document.querySelector(".content-filter-dropdown");const B=document.querySelector("#page-footer"),$=D.offsetHeight,N=document.createElement("div");function j(){const e=D.classList.contains("fixed-nav"),t=D.getBoundingClientRect().top,n=N.getBoundingClientRect().top,i=e?n:t,r=B.offsetTop-160,o=window.pageYOffset+$<r;i<=0&&o?(D.classList.add("fixed-nav"),N.style.display="block"):(D.classList.remove("fixed-nav"),N.style.display="none")}N.style.height=`${$}px`,N.style.display="none",D.parentNode.insertBefore(N,D),window.addEventListener("scroll",j,{passive:!0}),j()}const v=document.querySelectorAll(".wpcf7");v.length>0&&v.forEach(e=>{const t=e.querySelector(".file-attach-wrapper");if(t){const n=t.querySelector("input"),i=e.querySelector(".file-label span"),r=e.querySelector(".file-btn");n&&i&&r&&(n.addEventListener("change",e=>{const t=e.target.files;i.innerHTML=t.length?t[0].name:"Attach File",r.style.display=t.length?"block":"none"}),r.addEventListener("click",e=>{e.preventDefault(),n.value="",i.innerHTML="Attach File",r.style.display="none"}))}});const b=i("#page-header"),L=i(".single-docs .docs-sidebar, #post-table-of-contents");let S=window.pageYOffset,w=!1;i(document).on("scroll",()=>{const e=window.pageYOffset,t=e-S;Math.abs(t)<10||(e>50&&t>0&&!w?(w=!0,b.addClass("page-header--hidden"),L.addClass("page-header-hidden")):t<0&&w&&(w=!1,b.removeClass("page-header--hidden"),L.removeClass("page-header-hidden")),S=e)}),document.addEventListener("wpcf7mailsent",function(e){let t=e.detail.contactFormId,n=document.querySelector('.hero-modal-video-wrap[data-form-id="'+t+'"]');
1n&&(document.querySelector(".hero-modal-form-wrap").style.display="none",n.style.display="block")},!1);const q=document.querySelectorAll(".show-search"),E=document.querySelector(".close-search"),A=document.querySelector(".search-form-wrap");q.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),A&&(A.style.display="block",A.style.opacity="0",requestAnimationFrame(()=>{A.style.transition="opacity 0.3s",A.style.opacity="1"}))})}),E&&E.addEventListener("click",function(){const e=document.querySelector(".algolia-autocomplete");e&&(e.style.display="none"),A&&(A.style.transition="opacity 0.3s",A.style.opacity="0",setTimeout(()=>{A.style.display="none";const e=document.querySelector(".search-field");e&&(e.value="")},300))});let C=window.location.hash;if(C){let V=document.querySelector(`[data-faq-slug="${C}"]`);if(V&&V.classList.contains("accordion-collapse")){let Z=V.closest(".tab-pane"),J=V.closest(".accordion-item");J&&function(e,t,n){let i,r;if(o=e,!(o?.offsetWidth||o?.offsetHeight||o?.getClientRects().length)){if(t)i=t.querySelector(".show-more-less"),r=t.querySelectorAll(".accordion-item.hidden-item");else{let e=n.closest("section");i=e?.querySelector(".show-more-less"),r=e?.querySelectorAll(".accordion-item.hidden-item")}i&&r.length&&h(i,r)}var o}(J,Z,V),V&&!V.classList.contains("show")&&new bootstrap.Collapse(V,{toggle:!0}),Z&&(k=Z.id,document.querySelectorAll(`[data-bs-target="#${k}"]`).forEach(e=>{e?.click()})),setTimeout(()=>{J.scrollIntoView({behavior:"smooth",block:"start"})},300)}}var k;function x(e){const t=e.querySelector("svg:first-of-type"),n=e.querySelector(".copy-faq-link-copied");t.style.display="none",n.style.display="inline-block",setTimeout(()=>{n.style.display="none",t.style.display="inline-block"},1e3)}document.querySelectorAll(".copy-faq-link").forEach(function(e){e.addEventListener("click",function(){const e=this.getAttribute("data-faq-anchor");if(e)if(navigator.clipboard&&navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(()=>{x(this)}).catch(e=>{console.error("Clipboard write failed:",e)});else{const t=document.createElement("input");t.value=e,document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999);try{document.execCommand("copy"),x(this)}catch(e){console.error("execCommand copy failed:",e)}document.body.removeChild(t)}})})})}()}();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.