<\/p>)+/g,"");const n=e?.querySelector(".alm-paging-content");n?n.innerHTML=t:e.innerHTML=t}function vt(e,t){const{addons:n,extensions:o}=e,r={action:"alm_get_posts",query_type:t,id:e.id,post_id:parseInt(e.post_id),slug:e.slug,canonical_url:encodeURIComponent(e.canonical_url),posts_per_page:parseInt(e.posts_per_page),page:parseInt(e.page),offset:parseInt(e.offset),post_type:e.post_type,repeater:e.repeater,seo_start_page:e.start_page};return o.acf&&(r.acf=xt(e,"acf"),"relationship"!==o.acf_field_type&&(r.action="alm_acf")),n.comments&&(r.comments=xt(e,"comments"),r.posts_per_page=n.comments_per_page,r.action="alm_comments"),n.cta&&(r.cta=xt(e,"cta")),n.filters&&(r.filters=n.filters,r.filters_startpage=n.filters_startpage,r.filters_target=n.filters_target,r.facets=e.facets),n.nextpage&&(r.nextpage=xt(e,"nextpage"),r.action="alm_nextpage"),n.paging&&(r.paging=n.paging),n.preloaded&&(r.preloaded=n.preloaded,r.preloaded_amount=parseInt(n.preloaded_amount)),n.single_post&&(r.single_post=xt(e,"single_post")),o.term_query&&(r.term_query=xt(e,"term_query"),r.action="alm_get_terms"),e.extensions.users&&(r.users=xt(e,"users"),r.action="alm_users"),e.theme_repeater&&(r.theme_repeater=e.theme_repeater),e.listing.dataset.lang&&(r.lang=e.listing.dataset.lang),e.listing.dataset.stickyPosts&&(r.sticky_posts=e.listing.dataset.stickyPosts),e.listing.dataset.postFormat&&(r.post_format=e.listing.dataset.postFormat),e.listing.dataset.category&&(r.category=e.listing.dataset.category),e.listing.dataset.categoryAnd&&(r.category__and=e.listing.dataset.categoryAnd),e.listing.dataset.categoryNotIn&&(r.category__not_in=e.listing.dataset.categoryNotIn),e.listing.dataset.tag&&(r.tag=e.listing.dataset.tag),e.listing.dataset.tagAnd&&(r.tag__and=e.listing.dataset.tagAnd),e.listing.dataset.tagNotIn&&(r.tag__not_in=e.listing.dataset.tagNotIn),e.listing.dataset.taxonomy&&(r.taxonomy=e.listing.dataset.taxonomy),e.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=e.listing.dataset.taxonomyTerms),e.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=e.listing.dataset.taxonomyOperator),e.listing.dataset.taxonomyIncludeChildren&&(r.taxonomy_include_children=e.listing.dataset.taxonomyIncludeChildren),e.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=e.listing.dataset.taxonomyRelation),e.listing.dataset.sortKey&&(r.sort_key=e.listing.dataset.sortKey),e.listing.dataset.metaKey&&(r.meta_key=e.listing.dataset.metaKey),e.listing.dataset.metaValue&&(r.meta_value=e.listing.dataset.metaValue),e.listing.dataset.metaCompare&&(r.meta_compare=e.listing.dataset.metaCompare),e.listing.dataset.metaRelation&&(r.meta_relation=e.listing.dataset.metaRelation),e.listing.dataset.metaType&&(r.meta_type=e.listing.dataset.metaType),e.listing.dataset.author&&(r.author=e.listing.dataset.author),e.listing.dataset.year&&(r.year=e.listing.dataset.year),e.listing.dataset.month&&(r.month=e.listing.dataset.month),e.listing.dataset.day&&(r.day=e.listing.dataset.day),e.listing.dataset.order&&(r.order=e.listing.dataset.order),e.listing.dataset.orderby&&(r.orderby=e.listing.dataset.orderby),e.listing.dataset.postStatus&&(r.post_status=e.listing.dataset.postStatus),e.listing.dataset.postIn&&(r.post__in=e.listing.dataset.postIn),e.listing.dataset.postNotIn&&(r.post__not_in=e.listing.dataset.postNotIn),e.listing.dataset.exclude&&(r.exclude=e.listing.dataset.exclude),e.listing.dataset.search&&(r.search=e.listing.dataset.search),e.listing.dataset.s&&(r.search=e.listing.dataset.s),e.listing.dataset.customArgs&&(r.custom_args=e.listing.dataset.customArgs),e.listing.dataset.vars&&(r.vars=e.listing.dataset.vars),n.cache&&(r.cache_id=n.cache_id,r.cache_logged_in=n.cache_logged_in,r.cache_slug=function(e,t){const{addons:n,pagePrev:o,page:r,rel:a="next"}=e;return n.nextpage?`page-${r+n.nextpage_startpage}`:n.single_post?n.single_post_id:n.woocommerce||n.elementor?"prev"===a?`page-${o}`:`page-${r+1}`:Be()(JSON.stringify(t)).toString()}(e,r)),r}function xt(e,t){const{addons:n,extensions:o}=e;switch(t){case"acf":return{acf:"true",post_id:o.acf_post_id,field_type:o.acf_field_type,field_name:o.acf_field_name,parent_field_name:o.acf_parent_field_name,row_index:o.acf_row_index};case"comments":return{comments:"true",post_id:n.comments_post_id,per_page:n.comments_per_page,type:n.comments_type,style:n.comments_style,template:n.comments_template,callback:n.comments_callback};case"cta":return{cta:"true",cta_position:n.cta_position,cta_repeater:n.cta_repeater,cta_theme_repeater:n.cta_theme_repeater};case"nextpage":return{nextpage:"true",urls:n.nextpage_urls,scroll:n.nextpage_scroll,post_id:n.nextpage_post_id,startpage:n.nextpage_startpage,nested:e.nested};case"single_post":return{single_post:"true",id:n.single_post_id,slug:n.single_post_slug};case"term_query":return{term_query:"true",taxonomy:o.term_query_taxonomy,hide_empty:o.term_query_hide_empty,number:o.term_query_number};case"users":return{users:"true",role:e.listing.dataset.usersRole,include:e.listing.dataset.usersInclude,exclude:e.listing.dataset.usersExclude,per_page:e.posts_per_page,order:e.listing.dataset.usersOrder,orderby:e.listing.dataset.usersOrderby}}}const St=(e,t)=>new Promise((n=>{if(0===t)e.style.opacity=1,e.style.height="auto",n(!0);else{t/=10;let o=0;const r=setInterval((function(){o>.9&&(e.style.opacity=1,n(!0),clearInterval(r)),e.style.opacity=o,o+=.1}),t);e.style.height="auto"}})),At=(e,t)=>new Promise((n=>{t/=10,e.style.opacity=.5;const o=setInterval((function(){e.style.opacity<.1?(e.style.opacity=0,clearInterval(o),n(!0)):e.style.opacity-=.1}),t)}));function jt(e,t=!1,n=!1){if(0==(e.localize&&e.localize.post_count?parseInt(e.localize.post_count):0)&&!e.addons.single_post)return!1;if(e&&e.tableofcontents&&"masonry"!==e.transition){const o=e.tableofcontents.dataset.offset?parseInt(e.tableofcontents.dataset.offset):30,r=e.start_page?parseInt(e.start_page):0,a=e.addons.filters_startpage?parseInt(e.addons.filters_startpage):0,s=e.addons.nextpage_startpage?parseInt(e.addons.nextpage_startpage):0;let i=parseInt(e.page);const l=!!e.addons.preloaded;if(e.addons.paging||e.addons.nextpage)return!1;t?setTimeout((function(){if(e.addons.seo&&r>1||e.addons.filters&&a>1||e.addons.nextpage&&s>1){if(e.addons.seo&&r>1)for(let t=0;t <\/p>)+/g,"");const n=e?.querySelector(".alm-paging-content");n?n.innerHTML=t:e.innerHTML=t}function vt(e,t){const{addons:n,extensions:o}=e,r={action:"alm_get_posts",query_type:t,id:e.id,post_id:parseInt(e.post_id),slug:e.slug,canonical_url:encodeURIComponent(e.canonical_url),posts_per_page:parseInt(e.posts_per_page),page:parseInt(e.page),offset:parseInt(e.offset),post_type:e.post_type,repeater:e.repeater,seo_start_page:e.start_page};return o.acf&&(r.acf=xt(e,"acf"),"relationship"!==o.acf_field_type&&(r.action="alm_acf")),n.comments&&(r.comments=xt(e,"comments"),r.posts_per_page=n.comments_per_page,r.action="alm_comments"),n.cta&&(r.cta=xt(e,"cta")),n.filters&&(r.filters=n.filters,r.filters_startpage=n.filters_startpage,r.filters_target=n.filters_target,r.facets=e.facets),n.nextpage&&(r.nextpage=xt(e,"nextpage"),r.action="alm_nextpage"),n.paging&&(r.paging=n.paging),n.preloaded&&(r.preloaded=n.preloaded,r.preloaded_amount=parseInt(n.preloaded_amount)),n.single_post&&(r.single_post=xt(e,"single_post")),o.term_query&&(r.term_query=xt(e,"term_query"),r.action="alm_get_terms"),e.extensions.users&&(r.users=xt(e,"users"),r.action="alm_users"),e.theme_repeater&&(r.theme_repeater=e.theme_repeater),e.listing.dataset.lang&&(r.lang=e.listing.dataset.lang),e.listing.dataset.stickyPosts&&(r.sticky_posts=e.listing.dataset.stickyPosts),e.listing.dataset.postFormat&&(r.post_format=e.listing.dataset.postFormat),e.listing.dataset.category&&(r.category=e.listing.dataset.category),e.listing.dataset.categoryAnd&&(r.category__and=e.listing.dataset.categoryAnd),e.listing.dataset.categoryNotIn&&(r.category__not_in=e.listing.dataset.categoryNotIn),e.listing.dataset.tag&&(r.tag=e.listing.dataset.tag),e.listing.dataset.tagAnd&&(r.tag__and=e.listing.dataset.tagAnd),e.listing.dataset.tagNotIn&&(r.tag__not_in=e.listing.dataset.tagNotIn),e.listing.dataset.taxonomy&&(r.taxonomy=e.listing.dataset.taxonomy),e.listing.dataset.taxonomyTerms&&(r.taxonomy_terms=e.listing.dataset.taxonomyTerms),e.listing.dataset.taxonomyOperator&&(r.taxonomy_operator=e.listing.dataset.taxonomyOperator),e.listing.dataset.taxonomyIncludeChildren&&(r.taxonomy_include_children=e.listing.dataset.taxonomyIncludeChildren),e.listing.dataset.taxonomyRelation&&(r.taxonomy_relation=e.listing.dataset.taxonomyRelation),e.listing.dataset.sortKey&&(r.sort_key=e.listing.dataset.sortKey),e.listing.dataset.metaKey&&(r.meta_key=e.listing.dataset.metaKey),e.listing.dataset.metaValue&&(r.meta_value=e.listing.dataset.metaValue),e.listing.dataset.metaCompare&&(r.meta_compare=e.listing.dataset.metaCompare),e.listing.dataset.metaRelation&&(r.meta_relation=e.listing.dataset.metaRelation),e.listing.dataset.metaType&&(r.meta_type=e.listing.dataset.metaType),e.listing.dataset.author&&(r.author=e.listing.dataset.author),e.listing.dataset.year&&(r.year=e.listing.dataset.year),e.listing.dataset.month&&(r.month=e.listing.dataset.month),e.listing.dataset.day&&(r.day=e.listing.dataset.day),e.listing.dataset.order&&(r.order=e.listing.dataset.order),e.listing.dataset.orderby&&(r.orderby=e.listing.dataset.orderby),e.listing.dataset.postStatus&&(r.post_status=e.listing.dataset.postStatus),e.listing.dataset.postIn&&(r.post__in=e.listing.dataset.postIn),e.listing.dataset.postNotIn&&(r.post__not_in=e.listing.dataset.postNotIn),e.listing.dataset.exclude&&(r.exclude=e.listing.dataset.exclude),e.listing.dataset.search&&(r.search=e.listing.dataset.search),e.listing.dataset.s&&(r.search=e.listing.dataset.s),e.listing.dataset.customArgs&&(r.custom_args=e.listing.dataset.customArgs),e.listing.dataset.vars&&(r.vars=e.listing.dataset.vars),n.cache&&(r.cache_id=n.cache_id,r.cache_logged_in=n.cache_logged_in,r.cache_slug=function(e,t){const{addons:n,pagePrev:o,page:r,rel:a="next"}=e;return n.nextpage?`page-${r+n.nextpage_startpage}`:n.single_post?n.single_post_id:n.woocommerce||n.elementor?"prev"===a?`page-${o}`:`page-${r+1}`:Be()(JSON.stringify(t)).toString()}(e,r)),r}function xt(e,t){const{addons:n,extensions:o}=e;switch(t){case"acf":return{acf:"true",post_id:o.acf_post_id,field_type:o.acf_field_type,field_name:o.acf_field_name,parent_field_name:o.acf_parent_field_name,row_index:o.acf_row_index};case"comments":return{comments:"true",post_id:n.comments_post_id,per_page:n.comments_per_page,type:n.comments_type,style:n.comments_style,template:n.comments_template,callback:n.comments_callback};case"cta":return{cta:"true",cta_position:n.cta_position,cta_repeater:n.cta_repeater,cta_theme_repeater:n.cta_theme_repeater};case"nextpage":return{nextpage:"true",urls:n.nextpage_urls,scroll:n.nextpage_scroll,post_id:n.nextpage_post_id,startpage:n.nextpage_startpage,nested:e.nested};case"single_post":return{single_post:"true",id:n.single_post_id,slug:n.single_post_slug};case"term_query":return{term_query:"true",taxonomy:o.term_query_taxonomy,hide_empty:o.term_query_hide_empty,number:o.term_query_number};case"users":return{users:"true",role:e.listing.dataset.usersRole,include:e.listing.dataset.usersInclude,exclude:e.listing.dataset.usersExclude,per_page:e.posts_per_page,order:e.listing.dataset.usersOrder,orderby:e.listing.dataset.usersOrderby}}}const St=(e,t)=>new Promise((n=>{if(0===t)e.style.opacity=1,e.style.height="auto",n(!0);else{t/=10;let o=0;const r=setInterval((function(){o>.9&&(e.style.opacity=1,n(!0),clearInterval(r)),e.style.opacity=o,o+=.1}),t);e.style.height="auto"}})),At=(e,t)=>new Promise((n=>{t/=10,e.style.opacity=.5;const o=setInterval((function(){e.style.opacity<.1?(e.style.opacity=0,clearInterval(o),n(!0)):e.style.opacity-=.1}),t)}));function jt(e,t=!1,n=!1){if(0==(e.localize&&e.localize.post_count?parseInt(e.localize.post_count):0)&&!e.addons.single_post)return!1;if(e&&e.tableofcontents&&"masonry"!==e.transition){const o=e.tableofcontents.dataset.offset?parseInt(e.tableofcontents.dataset.offset):30,r=e.start_page?parseInt(e.start_page):0,a=e.addons.filters_startpage?parseInt(e.addons.filters_startpage):0,s=e.addons.nextpage_startpage?parseInt(e.addons.nextpage_startpage):0;let i=parseInt(e.page);const l=!!e.addons.preloaded;if(e.addons.paging||e.addons.nextpage)return!1;t?setTimeout((function(){if(e.addons.seo&&r>1||e.addons.filters&&a>1||e.addons.nextpage&&s>1){if(e.addons.seo&&r>1)for(let t=0;t0||e.addons.filters&&a>0||(i+=1)),Et(e,i,o))}}function Et(e,t,n){if(!e.tableofcontents)return!1;t=parseInt(t);const o=parseInt(e.posts_per_page),r=document.createElement("button");r.type="button",r.innerHTML=function(e,t){let n=t;if(e.addons.single_post){let o,r=t-1;if(e.addons.single_post_target){e.init||(r+=1);const t=document.querySelectorAll(".alm-single-post");t&&(o=t[r])}else o=document.querySelector(`.alm-single-post[data-page=${t-1}]`);n=o?o.dataset.title:n}const o=`almTOCLabel_${e.id}`;"function"==typeof window[o]&&(n=window[o](t,n));return n}(e,t+1),r.dataset.page=e.addons.single_post_target&&e.init?t-1:t+1,r.dataset.target=(t+1)*o-o+1,e.tableofcontents.appendChild(r),r.addEventListener("click",(function(){const t=this.dataset.page,o=this.dataset.target;let r=e.listing.children[o-1];if(e.addons.nextpage&&(r=document.querySelector(`.alm-nextpage[data-page="${t}"]`)),e.addons.single_post_target&&(r=document.querySelector(`.alm-single-post[data-page="${t}"]`)),!r)return;const a="function"==typeof dn?dn(r).top:r.offsetTop;cn(a-n),setTimeout((function(){Ke(e,r,o,!1)}),500)}))}function Pt(e,t=150,n,o="filter"){if(n.target){const r=document.querySelectorAll('.ajax-load-more-wrap[data-id="'+n.target.toLowerCase()+'"]');r&&r.forEach((function(r){Lt(e,t,n,o,r)}))}else{const r=document.querySelectorAll(".ajax-load-more-wrap");r&&r.forEach((function(r){Lt(e,t,n,o,r)}))}!function(){const e=document.querySelector(".alm-toc");e&&(e.innerHTML="")}()}function Lt(e,t,n,o,r){if("fade"===e||"masonry"===e){if("filter"===o)r.classList.add("alm-is-filtering"),At(r,t);setTimeout((function(){Ot(t,n,o,r)}),t)}else r.classList.add("alm-is-filtering"),Ot(t,n,o,r)}function Ot(e,t,n,o){const r=o.querySelector(".alm-btn-wrap"),a=o.querySelectorAll(".alm-listing");if(!a||!r)return!1;[...a].forEach((function(e){const t=e.querySelector(".alm-paging-content");t?t.innerHTML="":e.innerHTML=""}));const s=r.querySelector(".alm-load-more-btn");s&&s.classList.remove("done");const i=r.querySelector(".alm-paging");i&&(i.style.opacity=0),t.preloadedAmount=0,function(e,t,n,o){const r=o.querySelector(".alm-listing")||o.querySelector(".alm-comments");if(!r)return!1;if("filter"===n){for(let[e,n]of Object.entries(t))e=e.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase(),r.setAttribute("data-"+e,n);St(o,e)}let a="";t.target?(a=document.querySelector('.ajax-load-more-wrap[data-id="'+t.target+'"]'),a&&window.almInit(a)):(a=document.querySelector(".ajax-load-more-wrap"),a&&window.almInit(a));if("filter"===n)"function"==typeof almFilterComplete&&almFilterComplete()}(e,t,n,o)}const Tt=n(564);function It(e,t,n){e.masonry||console.warn("Ajax Load More: Unable to locate Masonry settings.");const{listing:o,last_loaded:r,speed:a}=e;return new Promise((s=>{const i=e.masonry.selector,l=e.masonry.animation,c="true"===e?.masonry?.horizontalorder,d=e.masonry.init;let p=e.masonry.columnwidth;const u=(a+100)/1e3+"s";let f="scale(0.5)",g="scale(1)";"zoom-out"===l&&(f="translateY(-20px) scale(1.25)",g="translateY(0) scale(1)"),"slide-up"===l&&(f="translateY(50px)",g="translateY(0)"),"slide-down"===l&&(f="translateY(-50px)",g="translateY(0)"),"none"===l&&(f="translateY(0)",g="translateY(0)"),p?isNaN(p)||(p=parseInt(p)):p=i,n?(o.parentNode.style.opacity=0,It(e,!0,!1),s(!0)):d&&t?Tt(o,(function(){const t={itemSelector:i,transitionDuration:u,columnWidth:p,horizontalOrder:c,hiddenStyle:{transform:f,opacity:0},visibleStyle:{transform:g,opacity:1}},n=window?.alm_masonry_vars;n&&Object.keys(n).forEach((function(e){t[e]=n[e]})),setTimeout((async function(){e.msnry=new Masonry(o,t),await St(o.parentNode,175),s(!0)}),25)})):r&&Tt(o,(function(){setTimeout((async function(){e.msnry.appended(r),s(!0)}),25)}))}))}async function Mt(e="show",t){const{placeholder:n,addons:o,rel:r}=t;if(!n||o.paging||"prev"===r)return!1;if("hide"===e)await At(n,175),setTimeout((function(){n.style.display="none"}),75);else n.style.display="block",St(n,175)}function Ct(e,t="standard"){if(!e.resultsText||"true"===e.nested)return!1;!function(e,t="standard"){if(!e.resultsText||!e.localize||"true"===e.nested)return!1;let n=0,o=0,r=0,a=0;const s=e.orginal_posts_per_page;switch(t){case"nextpage":n=parseInt(e.localize.page),r=n,o=parseInt(e.localize.total_posts),a=parseInt(o),Nt(e.resultsText,n,o,r,a,s);break;case"woocommerce":break;default:n=wt("page",e.id),o=wt("pages",e.id),r=wt("post_count",e.id),a=wt("total_posts",e.id),Nt(e.resultsText,n,o,r,a,s)}}(e,"nextpage"===t||"woocommerce"===t?t:"standard")}function Rt(e,t="standard"){if(!e.resultsText||!e.localize||"true"===e.nested)return!1;let n=0,o=Math.ceil(e.localize.total_posts/e.orginal_posts_per_page),r=parseInt(e.localize.post_count);const a=parseInt(e.localize.total_posts);switch(t){case"nextpage":n=e.addons.nextpage_startpage,r=n,o=a,Nt(e.resultsText,n,a,r,a,e.posts_per_page);break;case"preloaded":n=e.addons.paging&&e.addons.seo?e.start_page+1:parseInt(e.page)+1,Nt(e.resultsText,n,o,r,a,e.posts_per_page)}}const Nt=function(e,t,n,o,r,a){e.forEach((function(e){let s=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;const i=t*a-a+1,l=t*a,c=l<=r?l:r;n>0?(s=s.replace("{num}",`${t}`),s=s.replace("{page}",`${t}`),s=s.replace("{start}",`${i}`),s=s.replace("{end}",`${c}`),s=s.replace("{total}",`${n}`),s=s.replace("{pages}",`${n}`),s=s.replace("{post_count}",`${o}`),s=s.replace("{total_posts}",`${r}`),e.innerHTML=s):e.innerHTML=s}))};function kt(e){const{addons:t}=e;return new Promise((n=>{let o="standard";if(t.nextpage)o="nextpage",t.paging?e.AjaxLoadMore.setLocalizedVar("page",parseInt(e.page)+1):e.AjaxLoadMore.setLocalizedVar("page",parseInt(e.page)+parseInt(t.nextpage_startpage)+1);else if(t.woocommerce)o="woocommerce",e.AjaxLoadMore.setLocalizedVar("page",parseInt(e.page)+1);else{const n=parseInt(e.page)+1+(t.preloaded&&!t.paging?1:0);e.AjaxLoadMore.setLocalizedVar("page",parseInt(n));const o=Math.ceil(e.totalposts/e.orginal_posts_per_page);e.AjaxLoadMore.setLocalizedVar("pages",parseInt(o))}"true"===t.preloaded||t.nextpage||t.woocommerce||e.AjaxLoadMore.setLocalizedVar("total_posts",e.totalposts),e.AjaxLoadMore.setLocalizedVar("post_count",function(e){const{postcount:t,addons:n,start_page:o}=e,{preloaded_amount:r}=n;let a=parseInt(t)+parseInt(r);return a=o>1?a-parseInt(r):a,a=n.filters_startpage>1?a-parseInt(r):a,a=n.single_post?a+1:a,a=n.nextpage?a+1:a,a}(e)),Ct(e,o),n(!0)}))}var Ft=n(379),qt=n.n(Ft),Dt=n(795),Bt=n.n(Dt),Ut=n(569),zt=n.n(Ut),Ht=n(565),$t=n.n(Ht),Wt=n(216),Vt=n.n(Wt),Jt=n(589),Gt=n.n(Jt),Qt=n(789),Kt=n.n(Qt),Yt={};Yt.styleTagTransform=Gt(),Yt.setAttributes=$t(),Yt.insert=zt().bind(null,"head"),Yt.domAPI=Bt(),Yt.insertStyleElement=Vt();qt()(Kt(),Yt),Kt()&&Kt().locals&&Kt().locals;const Xt=n(129),Zt=n(564);qe.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",qe.interceptors.request.use((e=>(e.paramsSerializer=e=>Xt.stringify(e,{arrayFormat:"brackets",encode:!1}),e))),n(334);let en=!1;!function(){const e=function(e,t){"true"===alm_localize?.scrolltop&&window.scrollTo(0,0);let n=this;if(n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.postcount=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.rel="next",n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",e.classList.add("alm-"+t),e.setAttribute("data-alm-id",t),n.master_id=e.dataset.id?`ajax_load_more_${e.dataset.id}`:e.id,n.master_id=n.master_id.replace(/-/g,"_"),n.localize=window[n.master_id+"_vars"],window[n.master_id]=n,n.main=e,n.listing=e.querySelector(".alm-listing")||e.querySelector(".alm-comments"),n.content=n.listing,n.ajax=e.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.loading_style=n.listing.dataset.loadingStyle,n.canonical_url=e.dataset.canonicalUrl,n.nested=!!e.dataset.nested&&e.dataset.nested,n.is_search="true"===e?.dataset?.search&&"true",n.search_value="true"===n.is_search?n.slug:"",n.slug=e.dataset.slug,n.post_id=parseInt(e.dataset.postId),n.id=e.dataset.id?e.dataset.id:"",n.repeater=n?.listing?.dataset?.repeater||"default",n.theme_repeater=n?.listing?.dataset?.themeRepeater||!1,n.post_type=n?.listing?.dataset?.postType||"post",n.sticky_posts=n?.listing?.dataset?.stickyPosts||!1,n.btnWrap=e.querySelectorAll(".alm-btn-wrap"),n.btnWrap=[...n.btnWrap],n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button=n?.trigger?.querySelector("button.alm-load-more-btn")||null,n.button_labels={default:n?.listing?.dataset?.buttonLabel||alm_localize?.button_label,loading:n?.listing?.dataset?.buttonLoadingLabel||null,done:n?.listing?.dataset?.buttonDoneLabel||null},n.placeholder=n.main.querySelector(".alm-placeholder")||!1,n.scroll_distance=n?.listing?.dataset.scrollDistance||100,n.scroll_container=n?.listing?.dataset.scrollContainer||null,n.scroll_direction=n?.listing?.dataset?.scrollDirection||"vertical",n.max_pages=n?.listing?.dataset?.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n?.listing?.dataset?.pauseOverride||!1,n.pause=n?.listing?.dataset?.pause||!1,n.transition=n?.listing?.dataset?.transition||"fade",n.transition_delay=n?.listing?.dataset?.transitionDelay||0,n.speed=alm_localize?.speed?parseInt(alm_localize.speed):250,n.images_loaded="true"===n?.listing?.dataset?.imagesLoaded,n.destroy_after=!!n?.listing?.dataset?.destroyAfter&&parseInt(n.listing.dataset.destroyAfter),n.lazy_images="true"===n?.listing.dataset?.lazyImages,n.integration.woocommerce="true"===n?.listing?.dataset?.woocommerce,n.scroll="false"!==n?.listing?.dataset?.scroll,n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.offset=n?.listing?.dataset?.offset?parseInt(n.listing.dataset.offset):0,n.paged=!1,n=Ze(n),n=function(e){const{listing:t,addons:n}=e;return e.addons.woocommerce="true"===t?.dataset?.woo,e.addons.woocommerce&&t.dataset.wooSettings&&(e.addons.woocommerce_settings=JSON.parse(t.dataset.wooSettings),e.addons.woocommerce_settings.results_text=document.querySelectorAll(n?.woocommerce_settings?.results),e.page=parseInt(e.page)+parseInt(n.woocommerce_settings.paged)),e}(n),n=function(e){const{listing:t}=e;return e.addons.cache="true"===t?.dataset?.cache,e.addons.cache&&(e.addons.cache_id=t.dataset.cacheId,e.addons.cache_path=t.dataset.cachePath,e.addons.cache_logged_in=!!t.dataset.cacheLoggedIn&&t.dataset.cacheLoggedIn),e}(n),n=function(e){const{listing:t}=e;return e.addons.cta="true"===t?.dataset?.cta,e.addons.cta&&(e.addons.cta_position=t.dataset.ctaPosition,e.addons.cta_repeater=t.dataset.ctaRepeater,e.addons.cta_theme_repeater=t.dataset.ctaThemeRepeater),e}(n),n=function(e){const{listing:t}=e;return e.addons.nextpage="true"===t?.dataset?.nextpage,e.addons.nextpage&&(e.addons.nextpage_urls=void 0===t.dataset.nextpageUrls?"true":t.dataset.nextpageUrls,e.addons.nextpage_scroll=void 0===t.dataset.nextpageScroll?"false:30":t.dataset.nextpageScroll,e.addons.nextpage_post_id=!!t.dataset.nextpagePostId&&t.dataset.nextpagePostId,e.addons.nextpage_startpage=t.dataset.nextpageStartpage?parseInt(t.dataset.nextpageStartpage):1,e.addons.nextpage_title_template=t.dataset.nextpageTitleTemplate,e.addons.nextpage_postTitle=e.listing.dataset.nextpagePostTitle,e.posts_per_page=1,e.orginal_posts_per_page=1,e.addons.nextpage_post_id||(e.addons.nextpage=!1),e.addons.nextpage_startpage>1&&(e.paged=!0)),e}(n),n=function(e){const{listing:t}=e;if(e.addons.single_post="true"===t?.dataset?.singlePost,e.addons.single_post){if(e.addons.single_post_id=t.dataset.singlePostId,e.addons.single_post_query=t.dataset.singlePostQuery,e.addons.single_post_order=void 0===t.dataset.singlePostOrder?"previous":t.dataset.singlePostOrder,e.addons.single_post_init_id=t.dataset.singlePostId,e.addons.single_post_taxonomy=void 0===t.dataset.singlePostTaxonomy?"":t.dataset.singlePostTaxonomy,e.addons.single_post_excluded_terms=void 0===t.dataset.singlePostExcludedTerms?"":t.dataset.singlePostExcludedTerms,e.addons.single_post_progress_bar=void 0===t.dataset.singlePostProgressBar?"":t.dataset.singlePostProgressBar,e.addons.single_post_target=void 0===t.dataset.singlePostTarget?"":t.dataset.singlePostTarget,e.addons.single_post_preview=void 0!==t.dataset.singlePostPreview,e.addons.single_post_preview){const n=t.dataset.singlePostPreview.split(":");e.addons.single_post_preview_data={button_label:n[0]?n[0]:"Continue Reading",height:n[1]?n[1]:500,element:n[2]?n[2]:"default",className:"alm-single-post--preview"}}void 0===e.addons.single_post_id&&(e.addons.single_post_id="",e.addons.single_post_init_id=""),e.addons.single_post_permalink="",e.addons.single_post_title="",e.addons.single_post_slug="",e.addons.single_post_cache=!1,e.addons.single_post_title_template=t.dataset.singlePostTitleTemplate,e.addons.single_post_siteTitle=t.dataset.singlePostSiteTitle,e.addons.single_post_siteTagline=t.dataset.singlePostSiteTagline,e.addons.single_post_scroll=t.dataset.singlePostScroll,e.addons.single_post_scroll_speed=t.dataset.singlePostScrollSpeed,e.addons.single_post_scroll_top=t.dataset.singlePostScrolltop,e.addons.single_post_controls=t.dataset.singlePostControls}return e}(n),n=function(e){const{listing:t}=e;return e.addons.comments="true"===t?.dataset?.comments,e.addons.comments&&(e.addons.comments_post_id=t.dataset.comments_post_id,e.addons.comments_per_page=t.dataset.comments_per_page,e.addons.comments_per_page=void 0===e.addons.comments_per_page?"5":e.addons.comments_per_page,e.addons.comments_type=t.dataset.comments_type,e.addons.comments_style=t.dataset.comments_style,e.addons.comments_template=t.dataset.comments_template,e.addons.comments_callback=t.dataset.comments_callback),e}(n),n=function(e){const{listing:t}=e;return e.addons.preloaded="true"===t.dataset.preloaded,e.addons.preloaded_amount=t?.dataset?.preloadedAmount?parseInt(t.dataset.preloadedAmount):e.posts_per_page,e.addons.preloaded||(e.addons.preloaded_amount=0),e.addons.preloaded&&e?.localize?.total_posts&&parseInt(e.localize.total_posts)<=e.addons.preloaded_amount&&(e.addons.preloaded_total_posts=parseInt(e.localize.total_posts),e.disable_ajax=!0),e}(n),n=function(e){const{listing:t}=e;return e.addons.paging="true"===t.dataset.paging,e.addons.paging&&(e.addons.paging_init=!0,e.addons.paging_controls="true"===t.dataset.pagingControls,e.addons.paging_show_at_most=t.dataset.pagingShowAtMost?parseInt(t.dataset.pagingShowAtMost):6,e.addons.paging_classes=t.dataset.pagingClasses,e.addons.paging_first_label=t.dataset.pagingFirstLabel,e.addons.paging_previous_label=t.dataset.pagingPreviousLabel,e.addons.paging_next_label=t.dataset.pagingNextLabel,e.addons.paging_last_label=t.dataset.pagingLastLabel,e.addons.paging_scroll=!!t.dataset.pagingScroll&&t.dataset.pagingScroll,e.addons.paging_scrolltop=t.dataset.pagingScrolltop?parseInt(t.dataset.pagingScrolltop):100,e.addons.paging_container=t.querySelector(".alm-paging-content"),e.pause=!!e.addons.preloaded||e.pause),e}(n),n=nt(n),n=function(e){const{listing:t}=e;return e.addons.seo="true"===t.dataset.seo,e.addons.seo&&(e.addons.seo_offset=t.dataset.seoOffset||!1,e.addons.seo_permalink=t.dataset.seoPermalink,e.addons.seo_trailing_slash="false"===t.dataset.seoTrailingSlash?"":"/",e.addons.seo_leading_slash="true"===t.dataset.seoLeadingSlash?"/":"","true"===e.addons.seo_offset&&(e.offset=e.posts_per_page)),e.start_page=e?.listing?.dataset?.seoStartPage||"",e.start_page?(e.start_page=parseInt(e.start_page),e.addons.seo_scroll=t.dataset.seoScroll,e.addons.seo_scrolltop=t.dataset.seoScrolltop,e.addons.seo_controls=t.dataset.seoControls,e.paged=!1,e.start_page>1&&(e.paged=!0,e.addons.paging?e.page=e.start_page-1:e.posts_per_page=e.start_page*e.posts_per_page)):e.start_page=1,e}(n),n.extensions.users="true"===n.listing.dataset.users,n.extensions.users&&(n.orginal_posts_per_page=parseInt(n.listing.dataset.usersPerPage),n.posts_per_page=parseInt(n.listing.dataset.usersPerPage)),n.extensions.restapi="true"===n.listing.dataset.restapi,n.extensions.restapi&&(n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,""===n.extensions.restapi_template_id&&(n.extensions.restapi=!1)),n.extensions.acf="true"===n.listing.dataset.acf,n.extensions.acf&&(n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_row_index=n.listing.dataset.acfRowIndex,n.extensions.acf_post_id=n.listing.dataset.acfPostId,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1)),n.extensions.term_query="true"===n.listing.dataset.termQuery,n.extensions.term_query&&(n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_hide_empty=n.listing.dataset.termQueryHideEmpty,n.extensions.term_query_number=n.listing.dataset.termQueryNumber),(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.max_pages=void 0===n.max_pages||0===n.max_pages?9999:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1===n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=_t(n)),"masonry"===n.transition&&(n=function(e){e.masonry={},e.masonry.init=!0,e.msnry?e.msnry.destroy():e.msnry="";const t=JSON.parse(e.listing.dataset.masonryConfig);return t?(e.masonry.selector=t.selector,e.masonry.columnwidth=t.columnwidth,e.masonry.animation=""===t.animation?"standard":t.animation,e.masonry.horizontalorder=""===t.horizontalorder?"true":t.horizontalorder,e.images_loaded=!0,e.transition_delay=0):console.warn("Ajax Load More: Unable to locate Masonry configuration settings."),e}(n)),n.addons.paging)n.main.classList.add("alm-loading");else{const t=e.childNodes;if(t){const e=[...t].filter((function(e){return!!e.classList&&e.classList.contains("alm-btn-wrap")}));n.button=e?e[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1,n.button.style.display=""}const o=e.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.integration.woocommerce?(n.resultsText=document.querySelectorAll(".woocommerce-result-count"),n?.resultsText?.length<1&&(n.resultsText=document.querySelectorAll(".alm-results-text"))):n.resultsText=document.querySelectorAll(".alm-results-text"),n.resultsText?n.resultsText.forEach((function(e){e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true")})):n.resultsText=!1,n.tableofcontents=document.querySelector(".alm-toc")||!1,n.tableofcontents&&(n.tableofcontents.setAttribute("aria-live","polite"),n.tableofcontents.setAttribute("aria-atomic","true")),n.AjaxLoadMore.loadPosts=function(){n.disable_ajax||("function"==typeof almOnChange&&window.almOnChange(n),n.loading=!0,n.main.classList.add("alm-loading"),Mt("show",n),n.addons.paging||("prev"===n.rel?n.buttonPrev.classList.add("loading"):(n.button.classList.add("loading"),n.button_labels.loading&&(n.button.innerHTML=n.button_labels.loading))),n.AjaxLoadMore.ajax())},n.AjaxLoadMore.ajax=async function(e="standard"){if(n.extensions.restapi)n.AjaxLoadMore.restapi(n);else{const t=vt(n,e);if(n?.addons?.cache&&!["totalposts","totalpages"].includes(e)){const o=await async function(e,t){if(!e.addons.cache||e.addons.cache&&e.addons.cache_logged_in)return!1;const n={id:e.addons.cache_id,name:t.cache_slug},o=await He.get("ajax-load-more/cache/get",{params:n});return!(200!==o.status||!o.data)&&o.data}(n,Object.assign({},t));o?n.AjaxLoadMore.render(o):n.AjaxLoadMore.adminajax(t,e)}else n.AjaxLoadMore.adminajax(t,e)}},n.AjaxLoadMore.adminajax=async function(e,t){let{ajaxurl:o}=alm_localize;const{cache_slug:r=""}=e;n.addons.single_post&&n.addons.single_post_target&&(o=`${n.addons.single_post_permalink}?id=${n.addons.single_post_id}&alm_page=${parseInt(n.page)+1}`,e=""),(n.addons.woocommerce||n.addons.elementor&&"posts"===n.addons.elementor_type)&&(o=function(e,t="next"){if(!e||!e.trigger)return!1;let n=e.trigger.querySelector(".alm-load-more-btn");return"prev"===t&&(n=document.querySelector(".alm-load-more-btn--prev")),n?.dataset?.url||""}(n,n.rel),e="");const a=await qe.get(o,{params:e}).then((function(e){return n.addons.single_post&&n.addons.single_post_target?dt(n,e,r):n.addons.woocommerce?function(e,t,n,o){const r={html:"",meta:{postcount:0,totalposts:0}};if(200===n.status&&n.data){const{addons:a,pagePrev:s,rel:i="next",page:l,localize:c}=e,{total_posts:d}=c,{woocommerce_settings:p={}}=a,u="prev"===i?s:l+1,f=document.createElement("div");f.innerHTML=n.data;const g=f.querySelector("title").innerHTML;r.pageTitle=g;const m=f.querySelector(p.container);if(!m)return console.warn(`Ajax Load More WooCommerce: Unable to find WooCommerce ${p.container} element.`),r;const y=m?m.querySelector(p.products):null;y&&(y.classList.add("alm-woocommerce"),y.dataset.url=t,y.dataset.page=u,y.dataset.pageTitle=g);const h=m.querySelectorAll(p.products);h&&(r.html=m?m.innerHTML:"",r.meta.postcount=h.length,r.meta.totalposts=d,$e(e,r,o)),function(e="",t){if(e&&t&&t.addons.woocommerce_settings.results_text){const n=e.querySelector(t.addons.woocommerce_settings.results);t.addons.woocommerce_settings.results_text&&t.addons.woocommerce_settings.results_text.forEach((e=>{e.innerHTML=n.innerHTML}))}}(f,e)}return r}(n,o,e,r):n.addons.elementor?function(e,t,n,o){const r={html:"",meta:{postcount:0,totalposts:0}};if(200===n.status&&n.data){const{addons:a,page:s,button:i}=e,l=document.createElement("div");l.innerHTML=n.data;const c=tt(e,l);c?We(i,s+1,c):e.AjaxLoadMore.triggerDone();const d=l.querySelector("title").innerHTML;r.pageTitle=d;const p=l.querySelector(`${a.elementor_target} .${a.elementor_container_class}`);if(!p)return console.warn("Ajax Load More Elementor: Unable to find Elementor container element."),r;const u=p?p.querySelector(`.${a.elementor_item_class}`):null;u&&(u.classList.add("alm-elementor"),u.dataset.url=t,u.dataset.page=a.elementor_paged,u.dataset.pageTitle=d);const f=p.querySelectorAll(`.${a.elementor_item_class}`);f&&(r.html=p?p.innerHTML:"",r.meta.postcount=f.length,r.meta.totalposts=f.length,$e(e,r,o))}return r}(n,o,e,r):e.data})).catch((function(e){n.AjaxLoadMore.error(e,"adminajax")}));switch(t){case"standard":n.AjaxLoadMore.render(a);break;case"totalposts":case"totalpages":n.addons.paging&&n.addons.nextpage&&"function"==typeof almBuildPagination?(window.almBuildPagination(a.totalpages,n),n.totalpages=a.totalpages):n.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(a.totalposts,n)}},n.AjaxLoadMore.restapi=function(e){const{rest_api_url:t}=alm_localize,{restapi_base_url:n,restapi_namespace:o,restapi_endpoint:r,restapi_template_id:a}=e.extensions,s=wp.template(a),i=`${t}${n}/${o}/${r}`,l=function(e){return{id:e.id,post_id:parseInt(e.post_id),posts_per_page:e.posts_per_page,page:e.page,offset:e.offset,slug:e.slug,canonical_url:encodeURIComponent(e.canonical_url),post_type:e.post_type,post_format:e.listing.dataset.postFormat,category:e.listing.dataset.category,category__not_in:e.listing.dataset.categoryNotIn,tag:e.listing.dataset.tag,tag__not_in:e.listing.dataset.tagNotIn,taxonomy:e.listing.dataset.taxonomy,taxonomy_terms:e.listing.dataset.taxonomyTerms,taxonomy_operator:e.listing.dataset.taxonomyOperator,taxonomy_relation:e.listing.dataset.taxonomyRelation,meta_key:e.listing.dataset.metaKey,meta_value:e.listing.dataset.metaValue,meta_compare:e.listing.dataset.metaCompare,meta_relation:e.listing.dataset.metaRelation,meta_type:e.listing.dataset.metaType,author:e.listing.dataset.author,year:e.listing.dataset.year,month:e.listing.dataset.month,day:e.listing.dataset.day,post_status:e.listing.dataset.postStatus,order:e.listing.dataset.order,orderby:e.listing.dataset.orderby,post__in:e.listing.dataset.postIn,post__not_in:e.listing.dataset.postNotIn,search:e.listing.dataset.search,s:e.listing.dataset.s,custom_args:e.listing.dataset.customArgs,vars:e.listing.dataset.vars,lang:e.lang,preloaded:e.addons.preloaded,preloaded_amount:e.addons.preloaded_amount,seo_start_page:e.start_page}}(e);qe.get(i,{params:l}).then((function(t){const n=t.data,{html:o=null,meta:r=null}=n,a=r&&r.postcount?r.postcount:0,i=r&&r.totalposts?r.totalposts:0;let l="";for(let e=0;e0||e.addons.filters&&a>0||(i+=1)),Et(e,i,o))}}function Et(e,t,n){if(!e.tableofcontents)return!1;t=parseInt(t);const o=parseInt(e.posts_per_page),r=document.createElement("button");r.type="button",r.innerHTML=function(e,t){let n=t;if(e.addons.single_post){let o,r=t-1;if(e.addons.single_post_target){e.init||(r+=1);const t=document.querySelectorAll(".alm-single-post");t&&(o=t[r])}else o=document.querySelector(`.alm-single-post[data-page=${t-1}]`);n=o?o.dataset.title:n}const o=`almTOCLabel_${e.id}`;"function"==typeof window[o]&&(n=window[o](t,n));return n}(e,t+1),r.dataset.page=e.addons.single_post_target&&e.init?t-1:t+1,r.dataset.target=(t+1)*o-o+1,e.tableofcontents.appendChild(r),r.addEventListener("click",(function(){const t=this.dataset.page,o=this.dataset.target;let r=e.listing.children[o-1];if(e.addons.nextpage&&(r=document.querySelector(`.alm-nextpage[data-page="${t}"]`)),e.addons.single_post_target&&(r=document.querySelector(`.alm-single-post[data-page="${t}"]`)),!r)return;const a="function"==typeof dn?dn(r).top:r.offsetTop;cn(a-n),setTimeout((function(){Ke(e,r,o,!1)}),500)}))}function Pt(e,t=150,n,o="filter"){if(n.target){const r=document.querySelectorAll('.ajax-load-more-wrap[data-id="'+n.target.toLowerCase()+'"]');r&&r.forEach((function(r){Lt(e,t,n,o,r)}))}else{const r=document.querySelectorAll(".ajax-load-more-wrap");r&&r.forEach((function(r){Lt(e,t,n,o,r)}))}!function(){const e=document.querySelector(".alm-toc");e&&(e.innerHTML="")}()}function Lt(e,t,n,o,r){if("fade"===e||"masonry"===e){if("filter"===o)r.classList.add("alm-is-filtering"),At(r,t);setTimeout((function(){Ot(t,n,o,r)}),t)}else r.classList.add("alm-is-filtering"),Ot(t,n,o,r)}function Ot(e,t,n,o){const r=o.querySelector(".alm-btn-wrap"),a=o.querySelectorAll(".alm-listing");if(!a||!r)return!1;[...a].forEach((function(e){const t=e.querySelector(".alm-paging-content");t?t.innerHTML="":e.innerHTML=""}));const s=r.querySelector(".alm-load-more-btn");s&&s.classList.remove("done");const i=r.querySelector(".alm-paging");i&&(i.style.opacity=0),t.preloadedAmount=0,function(e,t,n,o){const r=o.querySelector(".alm-listing")||o.querySelector(".alm-comments");if(!r)return!1;if("filter"===n){for(let[e,n]of Object.entries(t))e=e.replace(/\W+/g,"-").replace(/([a-z\d])([A-Z])/g,"$1-$2").toLowerCase(),r.setAttribute("data-"+e,n);St(o,e)}let a="";t.target?(a=document.querySelector('.ajax-load-more-wrap[data-id="'+t.target+'"]'),a&&window.almInit(a)):(a=document.querySelector(".ajax-load-more-wrap"),a&&window.almInit(a));if("filter"===n)"function"==typeof almFilterComplete&&almFilterComplete()}(e,t,n,o)}const Tt=n(564);function It(e,t,n){e.masonry||console.warn("Ajax Load More: Unable to locate Masonry settings.");const{listing:o,last_loaded:r,speed:a}=e;return new Promise((s=>{const i=e.masonry.selector,l=e.masonry.animation,c="true"===e?.masonry?.horizontalorder,d=e.masonry.init;let p=e.masonry.columnwidth;const u=(a+100)/1e3+"s";let f="scale(0.5)",g="scale(1)";"zoom-out"===l&&(f="translateY(-20px) scale(1.25)",g="translateY(0) scale(1)"),"slide-up"===l&&(f="translateY(50px)",g="translateY(0)"),"slide-down"===l&&(f="translateY(-50px)",g="translateY(0)"),"none"===l&&(f="translateY(0)",g="translateY(0)"),p?isNaN(p)||(p=parseInt(p)):p=i,n?(o.parentNode.style.opacity=0,It(e,!0,!1),s(!0)):d&&t?Tt(o,(function(){const t={itemSelector:i,transitionDuration:u,columnWidth:p,horizontalOrder:c,hiddenStyle:{transform:f,opacity:0},visibleStyle:{transform:g,opacity:1}},n=window?.alm_masonry_vars;n&&Object.keys(n).forEach((function(e){t[e]=n[e]})),setTimeout((async function(){e.msnry=new Masonry(o,t),await St(o.parentNode,175),s(!0)}),25)})):r&&Tt(o,(function(){setTimeout((async function(){e.msnry.appended(r),s(!0)}),25)}))}))}async function Mt(e="show",t){const{placeholder:n,addons:o,rel:r}=t;if(!n||o.paging||"prev"===r)return!1;if("hide"===e)await At(n,175),setTimeout((function(){n.style.display="none"}),75);else n.style.display="block",St(n,175)}function Ct(e,t="standard"){if(!e.resultsText||"true"===e.nested)return!1;!function(e,t="standard"){if(!e.resultsText||!e.localize||"true"===e.nested)return!1;let n=0,o=0,r=0,a=0;const s=e.orginal_posts_per_page;switch(t){case"nextpage":n=parseInt(e.localize.page),r=n,o=parseInt(e.localize.total_posts),a=parseInt(o),Nt(e.resultsText,n,o,r,a,s);break;case"woocommerce":break;default:n=wt("page",e.id),o=wt("pages",e.id),r=wt("post_count",e.id),a=wt("total_posts",e.id),Nt(e.resultsText,n,o,r,a,s)}}(e,"nextpage"===t||"woocommerce"===t?t:"standard")}function Rt(e,t="standard"){if(!e.resultsText||!e.localize||"true"===e.nested)return!1;let n=0,o=Math.ceil(e.localize.total_posts/e.orginal_posts_per_page),r=parseInt(e.localize.post_count);const a=parseInt(e.localize.total_posts);switch(t){case"nextpage":n=e.addons.nextpage_startpage,r=n,o=a,Nt(e.resultsText,n,a,r,a,e.posts_per_page);break;case"preloaded":n=e.addons.paging&&e.addons.seo?e.start_page+1:parseInt(e.page)+1,Nt(e.resultsText,n,o,r,a,e.posts_per_page)}}const Nt=function(e,t,n,o,r,a){e.forEach((function(e){let s=(n=parseInt(n))>0?alm_localize.results_text:alm_localize.no_results_text;const i=t*a-a+1,l=t*a,c=l<=r?l:r;n>0?(s=s.replace("{num}",`${t}`),s=s.replace("{page}",`${t}`),s=s.replace("{start}",`${i}`),s=s.replace("{end}",`${c}`),s=s.replace("{total}",`${n}`),s=s.replace("{pages}",`${n}`),s=s.replace("{post_count}",`${o}`),s=s.replace("{total_posts}",`${r}`),e.innerHTML=s):e.innerHTML=s}))};function kt(e){const{addons:t}=e;return new Promise((n=>{let o="standard";if(t.nextpage)o="nextpage",t.paging?e.AjaxLoadMore.setLocalizedVar("page",parseInt(e.page)+1):e.AjaxLoadMore.setLocalizedVar("page",parseInt(e.page)+parseInt(t.nextpage_startpage)+1);else if(t.woocommerce)o="woocommerce",e.AjaxLoadMore.setLocalizedVar("page",parseInt(e.page)+1);else{const n=parseInt(e.page)+1+(t.preloaded&&!t.paging?1:0);e.AjaxLoadMore.setLocalizedVar("page",parseInt(n));const o=Math.ceil(e.totalposts/e.orginal_posts_per_page);e.AjaxLoadMore.setLocalizedVar("pages",parseInt(o))}"true"===t.preloaded||t.nextpage||t.woocommerce||e.AjaxLoadMore.setLocalizedVar("total_posts",e.totalposts),e.AjaxLoadMore.setLocalizedVar("post_count",function(e){const{postcount:t,addons:n,start_page:o}=e,{preloaded_amount:r}=n;let a=parseInt(t)+parseInt(r);return a=o>1?a-parseInt(r):a,a=n.filters_startpage>1?a-parseInt(r):a,a=n.single_post?a+1:a,a=n.nextpage?a+1:a,a}(e)),Ct(e,o),n(!0)}))}var Ft=n(379),qt=n.n(Ft),Dt=n(795),Bt=n.n(Dt),Ut=n(569),zt=n.n(Ut),Ht=n(565),$t=n.n(Ht),Wt=n(216),Vt=n.n(Wt),Jt=n(589),Gt=n.n(Jt),Qt=n(789),Kt=n.n(Qt),Yt={};Yt.styleTagTransform=Gt(),Yt.setAttributes=$t(),Yt.insert=zt().bind(null,"head"),Yt.domAPI=Bt(),Yt.insertStyleElement=Vt();qt()(Kt(),Yt),Kt()&&Kt().locals&&Kt().locals;const Xt=n(129),Zt=n(564);qe.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",qe.interceptors.request.use((e=>(e.paramsSerializer=e=>Xt.stringify(e,{arrayFormat:"brackets",encode:!1}),e))),n(334);let en=!1;!function(){const e=function(e,t){"true"===alm_localize?.scrolltop&&window.scrollTo(0,0);let n=this;if(n.AjaxLoadMore={},n.addons={},n.extensions={},n.integration={},n.window=window,n.page=0,n.postcount=0,n.totalposts=0,n.proceed=!1,n.disable_ajax=!1,n.init=!0,n.loading=!0,n.finished=!1,n.timer=null,n.rel="next",n.ua=window.navigator.userAgent?window.navigator.userAgent:"",n.vendor=window.navigator.vendor?window.navigator.vendor:"",e.classList.add("alm-"+t),e.setAttribute("data-alm-id",t),n.master_id=e.dataset.id?`ajax_load_more_${e.dataset.id}`:e.id,n.master_id=n.master_id.replace(/-/g,"_"),n.localized_var=`${n.master_id}_vars`,n.localize=window[n.localized_var],n.localize||(window[n.localized_var]={},n.localize=window[n.localized_var]),window[n.master_id]=n,n.main=e,n.listing=e.querySelector(".alm-listing")||e.querySelector(".alm-comments"),n.content=n.listing,n.ajax=e.querySelector(".alm-ajax"),n.container_type=n.listing.dataset.containerType,n.loading_style=n.listing.dataset.loadingStyle,n.canonical_url=e.dataset.canonicalUrl,n.nested=!!e.dataset.nested&&e.dataset.nested,n.is_search="true"===e?.dataset?.search&&"true",n.search_value="true"===n.is_search?n.slug:"",n.slug=e.dataset.slug,n.post_id=parseInt(e.dataset.postId),n.id=e.dataset.id?e.dataset.id:"",n.repeater=n?.listing?.dataset?.repeater||"default",n.theme_repeater=n?.listing?.dataset?.themeRepeater||!1,n.post_type=n?.listing?.dataset?.postType||"post",n.sticky_posts=n?.listing?.dataset?.stickyPosts||!1,n.btnWrap=e.querySelectorAll(".alm-btn-wrap"),n.btnWrap=[...n.btnWrap],n.btnWrap[n.btnWrap.length-1].style.visibility="visible",n.trigger=n.btnWrap[n.btnWrap.length-1],n.button=n?.trigger?.querySelector("button.alm-load-more-btn")||null,n.button_labels={default:n?.listing?.dataset?.buttonLabel||alm_localize?.button_label,loading:n?.listing?.dataset?.buttonLoadingLabel||null,done:n?.listing?.dataset?.buttonDoneLabel||null},n.placeholder=n.main.querySelector(".alm-placeholder")||!1,n.scroll_distance=n?.listing?.dataset.scrollDistance||100,n.scroll_container=n?.listing?.dataset.scrollContainer||null,n.scroll_direction=n?.listing?.dataset?.scrollDirection||"vertical",n.max_pages=n?.listing?.dataset?.maxPages?parseInt(n.listing.dataset.maxPages):0,n.pause_override=n?.listing?.dataset?.pauseOverride||!1,n.pause=n?.listing?.dataset?.pause||!1,n.transition=n?.listing?.dataset?.transition||"fade",n.transition_delay=n?.listing?.dataset?.transitionDelay||0,n.speed=alm_localize?.speed?parseInt(alm_localize.speed):250,n.images_loaded="true"===n?.listing?.dataset?.imagesLoaded,n.destroy_after=!!n?.listing?.dataset?.destroyAfter&&parseInt(n.listing.dataset.destroyAfter),n.lazy_images="true"===n?.listing.dataset?.lazyImages,n.integration.woocommerce="true"===n?.listing?.dataset?.woocommerce,n.scroll="false"!==n?.listing?.dataset?.scroll,n.orginal_posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.posts_per_page=parseInt(n.listing.dataset.postsPerPage),n.offset=n?.listing?.dataset?.offset?parseInt(n.listing.dataset.offset):0,n.paged=!1,n=Ze(n),n=function(e){const{listing:t,addons:n}=e;return e.addons.woocommerce="true"===t?.dataset?.woo,e.addons.woocommerce&&t.dataset.wooSettings&&(e.addons.woocommerce_settings=JSON.parse(t.dataset.wooSettings),e.addons.woocommerce_settings.results_text=document.querySelectorAll(n?.woocommerce_settings?.results),e.page=parseInt(e.page)+parseInt(n.woocommerce_settings.paged)),e}(n),n=function(e){const{listing:t}=e;return e.addons.cache="true"===t?.dataset?.cache,e.addons.cache&&(e.addons.cache_id=t.dataset.cacheId,e.addons.cache_path=t.dataset.cachePath,e.addons.cache_logged_in=!!t.dataset.cacheLoggedIn&&t.dataset.cacheLoggedIn),e}(n),n=function(e){const{listing:t}=e;return e.addons.cta="true"===t?.dataset?.cta,e.addons.cta&&(e.addons.cta_position=t.dataset.ctaPosition,e.addons.cta_repeater=t.dataset.ctaRepeater,e.addons.cta_theme_repeater=t.dataset.ctaThemeRepeater),e}(n),n=function(e){const{listing:t}=e;return e.addons.nextpage="true"===t?.dataset?.nextpage,e.addons.nextpage&&(e.addons.nextpage_urls=void 0===t.dataset.nextpageUrls?"true":t.dataset.nextpageUrls,e.addons.nextpage_scroll=void 0===t.dataset.nextpageScroll?"false:30":t.dataset.nextpageScroll,e.addons.nextpage_post_id=!!t.dataset.nextpagePostId&&t.dataset.nextpagePostId,e.addons.nextpage_startpage=t.dataset.nextpageStartpage?parseInt(t.dataset.nextpageStartpage):1,e.addons.nextpage_title_template=t.dataset.nextpageTitleTemplate,e.addons.nextpage_postTitle=e.listing.dataset.nextpagePostTitle,e.posts_per_page=1,e.orginal_posts_per_page=1,e.addons.nextpage_post_id||(e.addons.nextpage=!1),e.addons.nextpage_startpage>1&&(e.paged=!0)),e}(n),n=function(e){const{listing:t}=e;if(e.addons.single_post="true"===t?.dataset?.singlePost,e.addons.single_post){if(e.addons.single_post_id=t.dataset.singlePostId,e.addons.single_post_query=t.dataset.singlePostQuery,e.addons.single_post_order=void 0===t.dataset.singlePostOrder?"previous":t.dataset.singlePostOrder,e.addons.single_post_init_id=t.dataset.singlePostId,e.addons.single_post_taxonomy=void 0===t.dataset.singlePostTaxonomy?"":t.dataset.singlePostTaxonomy,e.addons.single_post_excluded_terms=void 0===t.dataset.singlePostExcludedTerms?"":t.dataset.singlePostExcludedTerms,e.addons.single_post_progress_bar=void 0===t.dataset.singlePostProgressBar?"":t.dataset.singlePostProgressBar,e.addons.single_post_target=void 0===t.dataset.singlePostTarget?"":t.dataset.singlePostTarget,e.addons.single_post_preview=void 0!==t.dataset.singlePostPreview,e.addons.single_post_preview){const n=t.dataset.singlePostPreview.split(":");e.addons.single_post_preview_data={button_label:n[0]?n[0]:"Continue Reading",height:n[1]?n[1]:500,element:n[2]?n[2]:"default",className:"alm-single-post--preview"}}void 0===e.addons.single_post_id&&(e.addons.single_post_id="",e.addons.single_post_init_id=""),e.addons.single_post_permalink="",e.addons.single_post_title="",e.addons.single_post_slug="",e.addons.single_post_cache=!1,e.addons.single_post_title_template=t.dataset.singlePostTitleTemplate,e.addons.single_post_siteTitle=t.dataset.singlePostSiteTitle,e.addons.single_post_siteTagline=t.dataset.singlePostSiteTagline,e.addons.single_post_scroll=t.dataset.singlePostScroll,e.addons.single_post_scroll_speed=t.dataset.singlePostScrollSpeed,e.addons.single_post_scroll_top=t.dataset.singlePostScrolltop,e.addons.single_post_controls=t.dataset.singlePostControls}return e}(n),n=function(e){const{listing:t}=e;return e.addons.comments="true"===t?.dataset?.comments,e.addons.comments&&(e.addons.comments_post_id=t.dataset.comments_post_id,e.addons.comments_per_page=t.dataset.comments_per_page,e.addons.comments_per_page=void 0===e.addons.comments_per_page?"5":e.addons.comments_per_page,e.addons.comments_type=t.dataset.comments_type,e.addons.comments_style=t.dataset.comments_style,e.addons.comments_template=t.dataset.comments_template,e.addons.comments_callback=t.dataset.comments_callback),e}(n),n=function(e){const{listing:t}=e;return e.addons.preloaded="true"===t.dataset.preloaded,e.addons.preloaded_amount=t?.dataset?.preloadedAmount?parseInt(t.dataset.preloadedAmount):e.posts_per_page,e.addons.preloaded||(e.addons.preloaded_amount=0),e.addons.preloaded&&e?.localize?.total_posts&&parseInt(e.localize.total_posts)<=e.addons.preloaded_amount&&(e.addons.preloaded_total_posts=parseInt(e.localize.total_posts),e.disable_ajax=!0),e}(n),n=function(e){const{listing:t}=e;return e.addons.paging="true"===t.dataset.paging,e.addons.paging&&(e.addons.paging_init=!0,e.addons.paging_controls="true"===t.dataset.pagingControls,e.addons.paging_show_at_most=t.dataset.pagingShowAtMost?parseInt(t.dataset.pagingShowAtMost):6,e.addons.paging_classes=t.dataset.pagingClasses,e.addons.paging_first_label=t.dataset.pagingFirstLabel,e.addons.paging_previous_label=t.dataset.pagingPreviousLabel,e.addons.paging_next_label=t.dataset.pagingNextLabel,e.addons.paging_last_label=t.dataset.pagingLastLabel,e.addons.paging_scroll=!!t.dataset.pagingScroll&&t.dataset.pagingScroll,e.addons.paging_scrolltop=t.dataset.pagingScrolltop?parseInt(t.dataset.pagingScrolltop):100,e.addons.paging_container=t.querySelector(".alm-paging-content"),e.pause=!!e.addons.preloaded||e.pause),e}(n),n=nt(n),n=function(e){const{listing:t}=e;return e.addons.seo="true"===t.dataset.seo,e.addons.seo&&(e.addons.seo_offset=t.dataset.seoOffset||!1,e.addons.seo_permalink=t.dataset.seoPermalink,e.addons.seo_trailing_slash="false"===t.dataset.seoTrailingSlash?"":"/",e.addons.seo_leading_slash="true"===t.dataset.seoLeadingSlash?"/":"","true"===e.addons.seo_offset&&(e.offset=e.posts_per_page)),e.start_page=e?.listing?.dataset?.seoStartPage||"",e.start_page?(e.start_page=parseInt(e.start_page),e.addons.seo_scroll=t.dataset.seoScroll,e.addons.seo_scrolltop=t.dataset.seoScrolltop,e.addons.seo_controls=t.dataset.seoControls,e.paged=!1,e.start_page>1&&(e.paged=!0,e.addons.paging?e.page=e.start_page-1:e.posts_per_page=e.start_page*e.posts_per_page)):e.start_page=1,e}(n),n.extensions.users="true"===n.listing.dataset.users,n.extensions.users&&(n.orginal_posts_per_page=parseInt(n.listing.dataset.usersPerPage),n.posts_per_page=parseInt(n.listing.dataset.usersPerPage)),n.extensions.restapi="true"===n.listing.dataset.restapi,n.extensions.restapi&&(n.extensions.restapi_base_url=n.listing.dataset.restapiBaseUrl,n.extensions.restapi_namespace=n.listing.dataset.restapiNamespace,n.extensions.restapi_endpoint=n.listing.dataset.restapiEndpoint,n.extensions.restapi_template_id=n.listing.dataset.restapiTemplateId,n.extensions.restapi_debug=n.listing.dataset.restapiDebug,""===n.extensions.restapi_template_id&&(n.extensions.restapi=!1)),n.extensions.acf="true"===n.listing.dataset.acf,n.extensions.acf&&(n.extensions.acf_field_type=n.listing.dataset.acfFieldType,n.extensions.acf_field_name=n.listing.dataset.acfFieldName,n.extensions.acf_parent_field_name=n.listing.dataset.acfParentFieldName,n.extensions.acf_row_index=n.listing.dataset.acfRowIndex,n.extensions.acf_post_id=n.listing.dataset.acfPostId,void 0!==n.extensions.acf_field_type&&void 0!==n.extensions.acf_field_name&&void 0!==n.extensions.acf_post_id||(n.extensions.acf=!1)),n.extensions.term_query="true"===n.listing.dataset.termQuery,n.extensions.term_query&&(n.extensions.term_query_taxonomy=n.listing.dataset.termQueryTaxonomy,n.extensions.term_query_hide_empty=n.listing.dataset.termQueryHideEmpty,n.extensions.term_query_number=n.listing.dataset.termQueryNumber),(void 0===n.pause||n.addons.seo&&n.start_page>1)&&(n.pause=!1),n.addons.preloaded&&n.addons.seo&&n.start_page>0&&(n.pause=!1),n.addons.filters&&n.addons.filters_startpage>0&&(n.pause=!1),n.addons.preloaded&&n.addons.paging&&(n.pause=!0),n.max_pages=void 0===n.max_pages||0===n.max_pages?9999:n.max_pages,n.scroll_distance=void 0===n.scroll_distance?100:n.scroll_distance,n.scroll_distance_perc=!1,-1===n.scroll_distance.toString().indexOf("%")?n.scroll_distance=parseInt(n.scroll_distance):(n.scroll_distance_perc=!0,n.scroll_distance_orig=parseInt(n.scroll_distance),n.scroll_distance=_t(n)),"masonry"===n.transition&&(n=function(e){e.masonry={},e.masonry.init=!0,e.msnry?e.msnry.destroy():e.msnry="";const t=JSON.parse(e.listing.dataset.masonryConfig);return t?(e.masonry.selector=t.selector,e.masonry.columnwidth=t.columnwidth,e.masonry.animation=""===t.animation?"standard":t.animation,e.masonry.horizontalorder=""===t.horizontalorder?"true":t.horizontalorder,e.images_loaded=!0,e.transition_delay=0):console.warn("Ajax Load More: Unable to locate Masonry configuration settings."),e}(n)),n.addons.paging)n.main.classList.add("alm-loading");else{const t=e.childNodes;if(t){const e=[...t].filter((function(e){return!!e.classList&&e.classList.contains("alm-btn-wrap")}));n.button=e?e[0].querySelector(".alm-load-more-btn"):container.querySelector(".alm-btn-wrap .alm-load-more-btn")}else n.button=container.querySelector(".alm-btn-wrap .alm-load-more-btn");n.button.disabled=!1,n.button.style.display=""}const o=e.querySelector(".alm-no-results");if(n.no_results=o?o.innerHTML:"",n.integration.woocommerce?(n.resultsText=document.querySelectorAll(".woocommerce-result-count"),n?.resultsText?.length<1&&(n.resultsText=document.querySelectorAll(".alm-results-text"))):n.resultsText=document.querySelectorAll(".alm-results-text"),n.resultsText?n.resultsText.forEach((function(e){e.setAttribute("aria-live","polite"),e.setAttribute("aria-atomic","true")})):n.resultsText=!1,n.tableofcontents=document.querySelector(".alm-toc")||!1,n.tableofcontents&&(n.tableofcontents.setAttribute("aria-live","polite"),n.tableofcontents.setAttribute("aria-atomic","true")),n.AjaxLoadMore.loadPosts=function(){n.disable_ajax||("function"==typeof almOnChange&&window.almOnChange(n),n.loading=!0,n.main.classList.add("alm-loading"),Mt("show",n),n.addons.paging||("prev"===n.rel?n.buttonPrev.classList.add("loading"):(n.button.classList.add("loading"),n.button_labels.loading&&(n.button.innerHTML=n.button_labels.loading))),n.AjaxLoadMore.ajax())},n.AjaxLoadMore.ajax=async function(e="standard"){if(n.extensions.restapi)n.AjaxLoadMore.restapi(n);else{const t=vt(n,e);if(n?.addons?.cache&&!["totalposts","totalpages"].includes(e)){const o=await async function(e,t){if(!e.addons.cache||e.addons.cache&&e.addons.cache_logged_in)return!1;const n={id:e.addons.cache_id,name:t.cache_slug},o=await He.get("ajax-load-more/cache/get",{params:n});return!(200!==o.status||!o.data)&&o.data}(n,Object.assign({},t));o?n.AjaxLoadMore.render(o):n.AjaxLoadMore.adminajax(t,e)}else n.AjaxLoadMore.adminajax(t,e)}},n.AjaxLoadMore.adminajax=async function(e,t){let{ajaxurl:o}=alm_localize;const{cache_slug:r=""}=e;n.addons.single_post&&n.addons.single_post_target&&(o=`${n.addons.single_post_permalink}?id=${n.addons.single_post_id}&alm_page=${parseInt(n.page)+1}`,e=""),(n.addons.woocommerce||n.addons.elementor&&"posts"===n.addons.elementor_type)&&(o=function(e,t="next"){if(!e||!e.trigger)return!1;let n=e.trigger.querySelector(".alm-load-more-btn");return"prev"===t&&(n=document.querySelector(".alm-load-more-btn--prev")),n?.dataset?.url||""}(n,n.rel),e="");const a=await qe.get(o,{params:e}).then((function(e){return n.addons.single_post&&n.addons.single_post_target?dt(n,e,r):n.addons.woocommerce?function(e,t,n,o){const r={html:"",meta:{postcount:0,totalposts:0}};if(200===n.status&&n.data){const{addons:a,pagePrev:s,rel:i="next",page:l,localize:c}=e,{total_posts:d}=c,{woocommerce_settings:p={}}=a,u="prev"===i?s:l+1,f=document.createElement("div");f.innerHTML=n.data;const g=f.querySelector("title").innerHTML;r.pageTitle=g;const m=f.querySelector(p.container);if(!m)return console.warn(`Ajax Load More WooCommerce: Unable to find WooCommerce ${p.container} element.`),r;const y=m?m.querySelector(p.products):null;y&&(y.classList.add("alm-woocommerce"),y.dataset.url=t,y.dataset.page=u,y.dataset.pageTitle=g);const h=m.querySelectorAll(p.products);h&&(r.html=m?m.innerHTML:"",r.meta.postcount=h.length,r.meta.totalposts=d,$e(e,r,o)),function(e="",t){if(e&&t&&t.addons.woocommerce_settings.results_text){const n=e.querySelector(t.addons.woocommerce_settings.results);t.addons.woocommerce_settings.results_text&&t.addons.woocommerce_settings.results_text.forEach((e=>{e.innerHTML=n.innerHTML}))}}(f,e)}return r}(n,o,e,r):n.addons.elementor?function(e,t,n,o){const r={html:"",meta:{postcount:0,totalposts:0}};if(200===n.status&&n.data){const{addons:a,page:s,button:i}=e,l=document.createElement("div");l.innerHTML=n.data;const c=tt(e,l);c?We(i,s+1,c):e.AjaxLoadMore.triggerDone();const d=l.querySelector("title").innerHTML;r.pageTitle=d;const p=l.querySelector(`${a.elementor_target} .${a.elementor_container_class}`);if(!p)return console.warn("Ajax Load More Elementor: Unable to find Elementor container element."),r;const u=p?p.querySelector(`.${a.elementor_item_class}`):null;u&&(u.classList.add("alm-elementor"),u.dataset.url=t,u.dataset.page=a.elementor_paged,u.dataset.pageTitle=d);const f=p.querySelectorAll(`.${a.elementor_item_class}`);f&&(r.html=p?p.innerHTML:"",r.meta.postcount=f.length,r.meta.totalposts=f.length,$e(e,r,o))}return r}(n,o,e,r):e.data})).catch((function(e){n.AjaxLoadMore.error(e,"adminajax")}));switch(t){case"standard":n.AjaxLoadMore.render(a);break;case"totalposts":case"totalpages":n.addons.paging&&n.addons.nextpage&&"function"==typeof almBuildPagination?(window.almBuildPagination(a.totalpages,n),n.totalpages=a.totalpages):n.addons.paging&&"function"==typeof almBuildPagination&&window.almBuildPagination(a.totalposts,n)}},n.AjaxLoadMore.restapi=function(e){const{rest_api_url:t}=alm_localize,{restapi_base_url:n,restapi_namespace:o,restapi_endpoint:r,restapi_template_id:a}=e.extensions,s=wp.template(a),i=`${t}${n}/${o}/${r}`,l=function(e){return{id:e.id,post_id:parseInt(e.post_id),posts_per_page:e.posts_per_page,page:e.page,offset:e.offset,slug:e.slug,canonical_url:encodeURIComponent(e.canonical_url),post_type:e.post_type,post_format:e.listing.dataset.postFormat,category:e.listing.dataset.category,category__not_in:e.listing.dataset.categoryNotIn,tag:e.listing.dataset.tag,tag__not_in:e.listing.dataset.tagNotIn,taxonomy:e.listing.dataset.taxonomy,taxonomy_terms:e.listing.dataset.taxonomyTerms,taxonomy_operator:e.listing.dataset.taxonomyOperator,taxonomy_relation:e.listing.dataset.taxonomyRelation,meta_key:e.listing.dataset.metaKey,meta_value:e.listing.dataset.metaValue,meta_compare:e.listing.dataset.metaCompare,meta_relation:e.listing.dataset.metaRelation,meta_type:e.listing.dataset.metaType,author:e.listing.dataset.author,year:e.listing.dataset.year,month:e.listing.dataset.month,day:e.listing.dataset.day,post_status:e.listing.dataset.postStatus,order:e.listing.dataset.order,orderby:e.listing.dataset.orderby,post__in:e.listing.dataset.postIn,post__not_in:e.listing.dataset.postNotIn,search:e.listing.dataset.search,s:e.listing.dataset.s,custom_args:e.listing.dataset.customArgs,vars:e.listing.dataset.vars,lang:e.lang,preloaded:e.addons.preloaded,preloaded_amount:e.addons.preloaded_amount,seo_start_page:e.start_page}}(e);qe.get(i,{params:l}).then((function(t){const n=t.data,{html:o=null,meta:r=null}=n,a=r&&r.postcount?r.postcount:0,i=r&&r.totalposts?r.totalposts:0;let l="";for(let e=0;e