!function(){var t;(t=jQuery)(window).on("et_pb_init_modules",(function(){window.et_pb_init_link=function(){t((()=>{const e=window.location.origin+window.location.pathname,n=window.location.href.split("#")[0];function i(t){return t?t.toLowerCase().replace(/\/+$/,""):""}function o(t){let e=!1;const n=[".et_pb_toggle_title",".mejs-container *",".et_pb_contact_field input",".et_pb_contact_field textarea",".et_pb_contact_field_checkbox *",".et_pb_contact_field_radio *",".et_pb_contact_captcha",".et_pb_tabs_controls a",".flex-control-nav *",".et_pb_menu__search-button",".et_pb_menu__close-search-button",".et_pb_menu__search-container *",".et_pb_fullwidth_header_scroll *"];for(let i=0;i<n.length;i++)if(t.is(n[i])){e=!0;break}return e}!function(){const c=[].concat(window?.diviElementLinkData??[],window?.et_link_options_data??[]);void 0!==c&&c.length>0&&t.each(c,((c,r)=>{if(!r.class||!r.url||!r.target)return;const a=t(`.${r.class}`);a.on("click",(c=>{if(c.target!==c.currentTarget&&!o(t(c.target))||c.target===c.currentTarget){c.stopPropagation();let{url:o}=r;if(o=o.replace(/&#91;/g,"["),o=o.replace(/&#93;/g,"]"),"_blank"===r.target)return void window.open(o);if("#product_reviews_tab"===o){const e=t(".reviews_tab a");if(e.length>0){e.trigger("click");const n=t("body").hasClass("et_smooth_scroll");et_pb_smooth_scroll(e,void 0,n?800:0),history.pushState(null,"",o)}}else if(o&&o.includes("#")){const r=o.indexOf("#"),a=o.substring(0,r),l=o.substring(r),_=i(a),s=i(e),d=i(n),p=!a||_===s||_===d,u=l.startsWith("#")&&l.slice(1).includes("#");if(p&&u)return void c.preventDefault();let b;try{b=t(l)}catch{b=t()}if(p&&b.length){const e=t("body").hasClass("et_smooth_scroll");et_pb_smooth_scroll(b,void 0,e?800:0),history.pushState(null,"",l)}else window.location=o}else window.location=o}})),a.on("click","a, button",(function(e){o(t(this))||e.stopPropagation()}))}))}()}))},window.et_pb_init_link()})),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryLink={}}();