!function(){var t;(t=jQuery)(window).on("et_pb_init_modules",(function(){window.et_pb_init_link=function(){t((()=>{const o=window.location.origin+window.location.pathname,n=window.location.href.split("#")[0];function e(t){return t?t.toLowerCase().replace(/\/+$/,""):""}function i(t){let o=!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 e=0;e<n.length;e++)if(t.is(n[e])){o=!0;break}return o}!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&&!i(t(c.target))||c.target===c.currentTarget){c.stopPropagation();let{url:i}=r;if(i=i.replace(/&#91;/g,"["),i=i.replace(/&#93;/g,"]"),"_blank"===r.target)return void window.open(i);if("#product_reviews_tab"===i){const o=t(".reviews_tab a");if(o.length>0){o.trigger("click");const n=t("body").hasClass("et_smooth_scroll");et_pb_smooth_scroll(o,void 0,n?800:0),history.pushState(null,"",i)}}else if(i&&i.includes("#")){const c=i.indexOf("#"),r=i.substring(0,c),a=i.substring(c),_=e(r),l=e(o),s=e(n);if(r&&_!==l&&_!==s||!t(a).length)window.location=i;else{const o=t("body").hasClass("et_smooth_scroll")?800:0;et_pb_smooth_scroll(t(a),void 0,o),history.pushState(null,"",a)}}else window.location=i}})),a.on("click","a, button",(function(o){i(t(this))||o.stopPropagation()}))}))}()}))},window.et_pb_init_link()})),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryLink={}}();