(()=>{"use strict";const e=window.wp.i18n,t=e=>Math.abs(parseInt(e,10)),a=(e,t,a)=>{const n=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});"string"==typeof e&&(e=document.querySelector(e)),e.dispatchEvent(n)},n=(e,t)=>{const n=new Map([["init","init"],["validation_failed","invalid"],["acceptance_missing","unaccepted"],["spam","spam"],["aborted","aborted"],["mail_sent","sent"],["mail_failed","failed"],["submitting","submitting"],["resetting","resetting"],["validating","validating"],["payment_required","payment-required"]]);n.has(t)&&(t=n.get(t)),Array.from(n.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);const r=e.getAttribute("data-status");if(e.wpcf7.status=t,e.setAttribute("data-status",t),e.classList.add(t),r&&r!==t){e.classList.remove(r);const t={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,prevStatus:r};a(e,"statuschanged",t)}return t},r=e=>{const{root:t,namespace:a="contact-form-7/v1"}=wpcf7.api;return c.reduceRight(((e,t)=>a=>t(a,e)),(e=>{let n,r,{url:c,path:o,endpoint:s,headers:i,body:l,data:p,...d}=e;"string"==typeof s&&(n=a.replace(/^\/|\/$/g,""),r=s.replace(/^\//,""),o=r?n+"/"+r:n),"string"==typeof o&&(-1!==t.indexOf("?")&&(o=o.replace("?","&")),o=o.replace(/^\//,""),c=t+o),i={Accept:"application/json, */*;q=0.1",...i},delete i["X-WP-Nonce"],p&&(l=JSON.stringify(p),i["Content-Type"]="application/json");const f={code:"fetch_error",message:"You are probably offline."},u={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(c||o||window.location.href,{...d,headers:i,body:l}).then((e=>Promise.resolve(e).then((e=>{if(e.status>=200&&e.status<300)return e;throw e})).then((e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch((()=>{throw u}));throw u}))),(()=>{throw f}))}))(e)},c=[];function o(e,t={}){const{target:a,scope:r=e,...c}=t;if(void 0===e.wpcf7?.schema)return;const o={...e.wpcf7.schema};if(void 0!==a){if(!e.contains(a))return;if(!a.closest(".wpcf7-form-control-wrap[data-name]"))return;if(a.closest(".novalidate"))return}const p=r.querySelectorAll(".wpcf7-form-control-wrap"),d=Array.from(p).reduce(((e,t)=>(t.closest(".novalidate")||t.querySelectorAll(":where(input, textarea, select):enabled").forEach((t=>{if(t.name)switch(t.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":t.checked&&e.append(t.name,t.value);break;case"select-multiple":for(const a of t.selectedOptions)e.append(t.name,a.value);break;case"file":for(const a of t.files)e.append(t.name,a);break;default:e.append(t.name,t.value)}})),e)),new FormData),f=e.getAttribute("data-status");Promise.resolve(n(e,"validating")).then((n=>{if(void 0!==swv){const n=swv.validate(o,d,t);for(const t of p){if(void 0===t.dataset.name)continue;const c=t.dataset.name;if(n.has(c)){const{error:t,validInputs:a}=n.get(c);i(e,c),void 0!==t&&s(e,c,t,{scope:r}),l(e,c,null!=a?a:[])}if(t.contains(a))break}}})).finally((()=>{n(e,f)}))}r.use=e=>{c.unshift(e)};const s=(e,t,a,n)=>{const{scope:r=e,...c}=null!=n?n:{},o=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=e.querySelector(`.wpcf7-form-control-wrap[data-name="${t}"] .wpcf7-form-control`);(()=>{const t=document.createElement("li");t.setAttribute("id",o),s&&s.id?t.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):t.insertAdjacentText("beforeend",a),e.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(t)})(),r.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{const t=document.createElement("span");t.classList.add("wpcf7-not-valid-tip"),t.setAttribute("aria-hidden","true"),t.insertAdjacentText("beforeend",a),e.appendChild(t),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","true")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.classList.add("wpcf7-not-valid"),e.setAttribute("aria-describedby",o),"function"==typeof e.setCustomValidity&&e.setCustomValidity(a),e.closest(".use-floating-validation-tip")&&(e.addEventListener("focus",(e=>{t.setAttribute("style","display: none")})),t.addEventListener("click",(e=>{t.setAttribute("style","display: none")})))}))}))},i=(e,t)=>{const a=`${e.wpcf7?.unitTag}-ve-${t}`.replaceAll(/[^0-9a-z_-]+/gi,"");e.wpcf7.parent.querySelector(`.screen-reader-response ul li#${a}`)?.remove(),e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${t}"]`).forEach((e=>{e.querySelector(".wpcf7-not-valid-tip")?.remove(),e.querySelectorAll("[aria-invalid]").forEach((e=>{e.setAttribute("aria-invalid","false")})),e.querySelectorAll(".wpcf7-form-control").forEach((e=>{e.removeAttribute("aria-describedby"),e.classList.remove("wpcf7-not-valid"),"function"==typeof e.setCustomValidity&&e.setCustomValidity("")}))}))},l=(e,t,a)=>{e.querySelectorAll(`[data-reflection-of="${t}"]`).forEach((e=>{if("output"===e.tagName.toLowerCase()){const t=e;0===a.length&&a.push(t.dataset.default),a.slice(0,1).forEach((e=>{e instanceof File&&(e=e.name),t.textContent=e}))}else e.querySelectorAll("output").forEach((e=>{e.hasAttribute("data-default")?0===a.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()})),a.forEach((a=>{a instanceof File&&(a=a.name);const n=document.createElement("output");n.setAttribute("name",t),n.textContent=a,e.appendChild(n)}))}))};function p(e,t={}){if(wpcf7.blocked)return d(e),void n(e,"submitting");const c=new FormData(e);t.submitter&&t.submitter.name&&c.append(t.submitter.name,t.submitter.value);const o={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(c,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:c};r({endpoint:`contact-forms/${e.wpcf7.id}/feedback`,method:"POST",body:c,wpcf7:{endpoint:"feedback",form:e,detail:o}}).then((t=>{const r=n(e,t.status);return o.status=t.status,o.apiResponse=t,["invalid","unaccepted","spam","aborted"].includes(r)?a(e,r,o):["sent","failed"].includes(r)&&a(e,`mail${r}`,o),a(e,"submit",o),t})).then((t=>{t.posted_data_hash&&(e.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(e.reset(),e.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach((t=>{s(e,t.field,t.message)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=t.message}))})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:r}=e.wpcf7;d(t),a(t,"beforesubmit",r),n(t,"submitting")}return t(e)}));const d=e=>{e.querySelectorAll(".wpcf7-form-control-wrap").forEach((t=>{t.dataset.name&&i(e,t.dataset.name)})),e.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",e.querySelectorAll(".wpcf7-response-output").forEach((e=>{e.innerText=""}))};function f(e){const t=new FormData(e),c={contactFormId:e.wpcf7.id,pluginVersion:e.wpcf7.pluginVersion,contactFormLocale:e.wpcf7.locale,unitTag:e.wpcf7.unitTag,containerPostId:e.wpcf7.containerPost,status:e.wpcf7.status,inputs:Array.from(t,(e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}})).filter((e=>!1!==e)),formData:t};r({endpoint:`contact-forms/${e.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:e,detail:c}}).then((t=>{e.wpcf7.resetOnMailSent?(delete e.wpcf7.resetOnMailSent,n(e,"mail_sent")):n(e,"init"),c.apiResponse=t,a(e,"reset",c)})).catch((e=>console.error(e)))}r.use(((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;d(t),n(t,"resetting")}return t(e)}));const u=(e,t)=>{for(const a in t){const n=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach((e=>{e.value=""})),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach((e=>{e.setAttribute("src",n)}));const r=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);r&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach((e=>{e.value=r[1]}))}},m=(e,t)=>{for(const a in t){const n=t[a][0],r=t[a][1];e.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${a}"]`).forEach((e=>{e.querySelector(`input[name="${a}"]`).value="",e.querySelector(".wpcf7-quiz-label").textContent=n,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=r}))}};function w(e){const a=new FormData(e);e.wpcf7={id:t(a.get("_wpcf7")),status:e.getAttribute("data-status"),pluginVersion:a.get("_wpcf7_version"),locale:a.get("_wpcf7_locale"),unitTag:a.get("_wpcf7_unit_tag"),containerPost:t(a.get("_wpcf7_container_post")),parent:e.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(e.wpcf7.id,void 0),e.querySelectorAll(".has-spinner").forEach((e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')})),(e=>{e.querySelectorAll(".wpcf7-exclusive-checkbox").forEach((t=>{t.addEventListener("change",(t=>{const a=t.target.getAttribute("name");e.querySelectorAll(`input[type="checkbox"][name="${a}"]`).forEach((e=>{e!==t.target&&(e.checked=!1)}))}))}))})(e),(e=>{e.querySelectorAll(".has-free-text").forEach((t=>{const a=t.querySelector("input.wpcf7-free-text"),n=t.querySelector('input[type="checkbox"], input[type="radio"]');a.disabled=!n.checked,e.addEventListener("change",(e=>{a.disabled=!n.checked,e.target===n&&n.checked&&a.focus()}))}))})(e),(e=>{e.querySelectorAll(".wpcf7-validates-as-url").forEach((e=>{e.addEventListener("change",(t=>{let a=e.value.trim();a&&!a.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==a.indexOf(".")&&(a=a.replace(/^\/+/,""),a="http://"+a),e.value=a}))}))})(e),(e=>{if(!e.querySelector(".wpcf7-acceptance")||e.classList.contains("wpcf7-acceptance-as-validation"))return;const t=()=>{let t=!0;e.querySelectorAll(".wpcf7-acceptance").forEach((e=>{if(!t||e.classList.contains("optional"))return;const a=e.querySelector('input[type="checkbox"]');(e.classList.contains("invert")&&a.checked||!e.classList.contains("invert")&&!a.checked)&&(t=!1)})),e.querySelectorAll(".wpcf7-submit").forEach((e=>{e.disabled=!t}))};t(),e.addEventListener("change",(e=>{t()})),e.addEventListener("wpcf7reset",(e=>{t()}))})(e),(e=>{const a=(e,a)=>{const n=t(e.getAttribute("data-starting-value")),r=t(e.getAttribute("data-maximum-value")),c=t(e.getAttribute("data-minimum-value")),o=e.classList.contains("down")?n-a.value.trim().length:a.value.trim().length;e.setAttribute("data-current-value",o),e.innerText=o,r&&r<a.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),c&&a.value.length<c?e.classList.add("too-short"):e.classList.remove("too-short")},n=t=>{t={init:!1,...t},e.querySelectorAll(".wpcf7-character-count").forEach((n=>{const r=n.getAttribute("data-target-name"),c=e.querySelector(`[name="${r}"]`);c&&(c.value=c.defaultValue,a(n,c),t.init&&c.addEventListener("keyup",(e=>{a(n,c)})))}))};n({init:!0}),e.addEventListener("wpcf7reset",(e=>{n()}))})(e),window.addEventListener("load",(t=>{wpcf7.cached&&e.reset()})),e.addEventListener("reset",(t=>{wpcf7.reset(e)})),e.addEventListener("submit",(t=>{wpcf7.submit(e,{submitter:t.submitter}),t.preventDefault()})),e.addEventListener("wpcf7submit",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("wpcf7reset",(t=>{t.detail.apiResponse.captcha&&u(e,t.detail.apiResponse.captcha),t.detail.apiResponse.quiz&&m(e,t.detail.apiResponse.quiz)})),e.addEventListener("change",(t=>{t.target.closest(".wpcf7-form-control")&&wpcf7.validate(e,{target:t.target})})),e.addEventListener("wpcf7statuschanged",(t=>{const a=t.detail.status;e.querySelectorAll(".active-on-any").forEach((e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")})),e.querySelectorAll(`.inert-on-${a}`).forEach((e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")}))}))}document.addEventListener("DOMContentLoaded",(t=>{var a;if("undefined"!=typeof wpcf7)if(void 0!==wpcf7.api)if("function"==typeof window.fetch)if("function"==typeof window.FormData)if("function"==typeof NodeList.prototype.forEach)if("function"==typeof String.prototype.replaceAll){wpcf7={init:w,submit:p,reset:f,validate:o,schemas:new Map,...null!==(a=wpcf7)&&void 0!==a?a:{}},document.querySelectorAll("form .wpcf7[data-wpcf7-id]").forEach((t=>{const a=document.createElement("p");a.setAttribute("class","wpcf7-form-in-wrong-place");const n=document.createElement("strong");n.append((0,e.__)("Error:","contact-form-7"));const r=(0,e.__)("This contact form is placed in the wrong place.","contact-form-7");a.append(n," ",r),t.replaceWith(a)})),document.querySelectorAll(".wpcf7 > form").forEach((e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")}));for(const e of wpcf7.schemas.keys())r({endpoint:`contact-forms/${e}/feedback/schema`,method:"GET"}).then((t=>{wpcf7.schemas.set(e,t)}))}else console.error("Your browser does not support String.replaceAll().");else console.error("Your browser does not support NodeList.forEach().");else console.error("Your browser does not support window.FormData().");else console.error("Your browser does not support window.fetch().");else console.error("wpcf7.api is not defined.");else console.error("wpcf7 is not defined.")}))})();
!function(e){"use strict";const s="morphext",i={animation:"bounce",speed:2e3,autoInit:!0,phrases:[],animateCssVersion:"4.1.1",autoAttachAnimateCss:!0};function n(t){this.element=e(t),this._settings=e.extend({},i,JSON.parse(this.element.attr("data-morphext-options"))),this._defaults=i,this._init()}n.prototype={_init:function(){var t;this.element.addClass("morphext"),this._settings.autoAttachAnimateCss&&(t=`https://cdnjs.cloudflare.com/ajax/libs/animate.css/${this._settings.animateCssVersion}/animate.min.css`,e(`link[href='${t}']`).length||e(`<link href="${t}" rel="stylesheet">`).appendTo("head")),this._index=0,this.animate(),this.start()},animate:function(){this._index=this._index%this._settings.phrases.length;const t=document.createElement("span");t.classList.add("morphext__animated","animate__animated",`animate__${this._settings.animation}`),e(t).text(this._settings.phrases[this._index]),this.element.html(e(t).prop("outerHTML")),this._index+=1},start:function(){var t=this;this._interval=setInterval(function(){t.animate()},this._settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[s]=function(t){return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new n(this))})}}(jQuery);
function mystickyelements_present(){var e=jQuery(".mysticky-welcomebar-fixed").data("after-triger"),t=jQuery(".mystickyelements-fixed").length,a=jQuery(".mysticky-welcomebar-fixed").data("position"),s=0;if(0!=jQuery("#wpadminbar").length)s=jQuery("#wpadminbar").height();if(jQuery(window).width()<=600&&0!=jQuery(window).scrollTop()&&"top"==a){jQuery(".mysticky-welcomebar-fixed").css("top","0px");var i=jQuery(".mysticky-welcomebar-fixed").outerHeight();"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(i=0),jQuery("#mysticky-nav").css("top",i+"px")}else if("top"==a){var o=s+jQuery(".mysticky-welcomebar-fixed").outerHeight();"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(o=s+0),jQuery(".mysticky-welcomebar-fixed").css("top",s+0+"px"),jQuery("#mysticky-nav").css("top",o+"px")}if(t){i=jQuery(".mysticky-welcomebar-fixed").outerHeight();var c=jQuery(".mystickyelements-fixed").height(),r=i+c;if(jQuery(window).width()<=1024&&jQuery(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top"))if("after_a_few_seconds"==e){if(jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")){var m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec");setTimeout(function(){"top"==a?(jQuery(".mystickyelements-fixed").css("top",i),$("html").animate({"margin-top":r+"px"},1e3,function(){$("html").css("cssText","margin-top:"+r+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+i+"px !important"))},m)}}else if("after_scroll"===e){100*$(window).scrollTop()/($(document).height()-$(window).height())>$(".mysticky-welcomebar-fixed").data("triger-sec")&&jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&("top"==a?(jQuery(".mystickyelements-fixed").css("top",i),$("html").animate({"margin-top":r+"px"},1e3,function(){$("html").css("cssText","margin-top:"+r+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+i+"px !important")))}}}function IsEmail(e){return!!/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)}function validatePhone(e){return!!/^((\+[1-9]{1,4}[ \-]*)|(\([0-9]{2,3}\)[ \-]*)|([0-9]{2,4})[ \-]*)*?[0-9]{3,4}?[ \-]*[0-9]{3,4}?$/.test(e)}jQuery(document).ready(function(e){var t=0;if(0!=e("#wpadminbar").length)t=e("#wpadminbar").height();var a=t+jQuery(".mysticky-welcomebar-fixed").outerHeight();"top"==jQuery(".mysticky-welcomebar-fixed").data("position")?jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("top","-"+a+"px"):jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("bottom","-"+a+"px");var s=e(".et_fixed_nav #top-header").outerHeight(),i=a+s,o=e(".mysticky-welcomebar-fixed").data("aftersubmission");if("dont_show_welcomebar"==o)var c=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==o)c=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");c=null}if(null===c){var r=jQuery(".mysticky-welcomebar-fixed").data("after-triger");if(jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==r&&e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&e(window).width()>767){var m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),y=e(".mysticky-welcomebar-fixed").data("position"),l=e(".mysticky-welcomebar-fixed").outerHeight();setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==y?(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",l+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: '+l+"px !important}.et_fixed_nav #top-header + #main-header{top: "+i+"px !important}</style>"),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},m)}if(e(window).width()<767&&"after_a_few_seconds"==r&&e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")){m=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),y=e(".mysticky-welcomebar-fixed").data("position"),l=e(".mysticky-welcomebar-fixed").outerHeight();setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==y?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},m)}mystickyelements_present()}e(window).resize(function(){var a=jQuery(".mysticky-welcomebar-fixed").outerHeight();if("dont_show_welcomebar"==o)var s=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==o)s=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");s=null}if(null===s){var c=jQuery(".mysticky-welcomebar-fixed").data("after-triger");if(e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-notapper")?jQuery("body").removeClass("mysticky-welcomebar-apper"):jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==c){var r=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),m=e(".mysticky-welcomebar-fixed").data("position"),y=e(".mysticky-welcomebar-fixed").outerHeight();e(window).width()<767?e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e(".mysticky-welcomebar-apper #mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},r):e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".mysticky-welcomebar-apper.et_fixed_nav #top-header").css("top",y+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: '+y+"px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: "+i+"px !important}</style>"),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e(".mysticky-welcomebar-apper #mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))},r)}mystickyelements_present()}}),jQuery(window).on("scroll",function(){if("dont_show_welcomebar"==o)var s=localStorage.getItem("welcomebar_close");else if("show_welcomebar_next_visit"==o)s=sessionStorage.getItem("welcomebar_close");else{sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close");s=null}if(null===s){e(".mysticky-welcomebar-fixed").outerHeight();if("top"==(m=e(".mysticky-welcomebar-fixed").data("position"))&&e("#mysticky-nav").css("top",a+"px"),"after_scroll"===r){var i=100*e(window).scrollTop()/(e(document).height()-e(window).height()),c=jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),m=e(".mysticky-welcomebar-fixed").data("position");e(".mysticky-welcomebar-fixed").outerHeight();i>c&&(e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&e(window).width()>767&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))),e(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&e(window).width()<767&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),e(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==m?(jQuery(".mysticky-welcomebar-fixed").css("top",t+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-bottom",""),e("html").animate({"margin-top":a+"px"},1e3,function(){e("html").css("cssText","margin-top:"+a+"px!important;")}),e("#mysticky-nav").css("top",a+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),e("html").css("margin-top",""),e("html").attr("style","margin-bottom: "+a+"px !important"))))}mystickyelements_present()}}),jQuery(".mysticky-welcomebar-close, .mysticky-welcomebar-btn a").on("click",function(t){""==e(this).attr("href")&&t.preventDefault();var s=!0,i=100;if(jQuery(".mysticky-welcomebar-lead-content").length>0&&!e(this).hasClass("mysticky-welcomebar-close")){if(""==jQuery("#contact-lead-name-0").val()||""==jQuery("#contact-lead-phone-0").val()&&""==jQuery("#contact-lead-email-0").val())return localStorage.removeItem("welcomebar_close_0"),sessionStorage.removeItem("welcomebar_close_0"),e(".input-error").length&&e(".input-error").remove(),"none"!=jQuery("#contact-lead-name-0").css("display")&&""==jQuery("#contact-lead-name-0").val()&&"none"!=jQuery("#contact-lead-email-0").css("display")&&""==jQuery("#contact-lead-email-0").val()?(e('<div class="input-error"><span>Please enter your name and email</span></div>').insertAfter(jQuery("#contact-lead-name-0")),s=!1):"none"!=jQuery("#contact-lead-name-0").css("display")&&""==jQuery("#contact-lead-name-0").val()&&"none"!=jQuery("#contact-lead-phone-0").css("display")&&""==jQuery("#contact-lead-phone-0").val()?(e('<div class="input-error"><span>Please enter your name and phone</span></div>').insertAfter(jQuery("#contact-lead-name-0")),s=!1):"none"!=jQuery("#contact-lead-name-0").css("display")&&""==jQuery("#contact-lead-name-0").val()?(e('<div class="input-error"><span>Please enter your name</span></div>').insertAfter(jQuery("#contact-lead-name-0")),s=!1):"none"!=jQuery("#contact-lead-email-0").css("display")&&""==jQuery("#contact-lead-email-0").val()?(e('<div class="input-error"><span>Please, enter your email</span></div>').insertAfter(jQuery("#contact-lead-email-0")),s=!1):"none"!=jQuery("#contact-lead-phone-0").css("display")&&""==jQuery("#contact-lead-phone-0").val()&&(e('<div class="input-error"><span>Please, enter your phone</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),s=!1),0==s?e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"):e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0"),!1;if("none"!=jQuery("#contact-lead-email-0").css("display")&&1!=IsEmail(jQuery("#contact-lead-email-0").val())&&(e(".input-error").length&&e(".input-error").remove(),e('<div class="input-error"><span>Please, enter valid email</span></div>').insertAfter(jQuery("#contact-lead-email-0")),s=!1),"none"!=jQuery("#contact-lead-phone-0").css("display")&&1!=validatePhone(jQuery("#contact-lead-phone-0").val())&&(e(".input-error").length&&e(".input-error").remove(),e('<div class="input-error"><span>Please, enter valid phone</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),s=!1),1!=s)return e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"),!1;var c=[];c.contact_name=jQuery("#contact-lead-name-0").val(),c.contact_email=jQuery("#contact-lead-email-0").val(),c.contact_phone=jQuery("#contact-lead-phone-0").val(),c.contact_page_link=jQuery("#contact-lead-pagelink-0").val(),1==e(".mysticky-welcomebar-fixed").data("show-success-message")&&(e(".mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content").hide(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-content p").hide(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-btn.contact-lead-button").hide(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content").show(),e(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content p").show());i=2e3;jQuery.ajax({url:welcomebar_frontjs.ajaxurl,type:"post",data:"contact_name="+c.contact_name+"&contact_email="+c.contact_email+"&contact_phone="+c.contact_phone+"&action=stickymenu_contact_lead_form&widget_id=0&page_link="+c.contact_page_link+"&save_form_lead=1&wpnonce="+welcomebar_frontjs.ajax_nonce,success:function(t){e(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","0"),jQuery("#contact-lead-name-0").val(""),jQuery("#contact-lead-email-0").val(""),jQuery("#contact-lead-phone-0").val("")}})}else e(this).hasClass("mysticky-welcomebar-close")&&localStorage.setItem("is_close_trigger_0","yes");setTimeout(function(){"show_welcomebar_every_page"!=o&&("dont_show_welcomebar"==o?(sessionStorage.removeItem("welcomebar_close"),localStorage.setItem("welcomebar_close","close")):"show_welcomebar_next_visit"==o&&(localStorage.removeItem("welcomebar_close"),sessionStorage.setItem("welcomebar_close","close")));var t=e(".mysticky-welcomebar-fixed").data("position");e(".mysticky-welcomebar-fixed").outerHeight();if(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-notapper"),jQuery("body").removeClass("mysticky-welcomebar-apper"),jQuery(".mysticky-welcomebar-fixed").slideUp("slow"),"top"==t?jQuery(".mysticky-welcomebar-fixed").css("top","-"+a+"px"):jQuery(".mysticky-welcomebar-fixed").css("bottom","-"+a+"px"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),jQuery("html").css("margin-top",""),jQuery("html").css("margin-bottom",""),e("#mysticky-nav").css("top","0px"),e(".mystickyelements-fixed").length&&e(window).width()<=1024&&e(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top")&&"top"==t){var s=e(".mystickyelements-fixed").height();e(".mystickyelements-fixed").css("top",""),e("html").animate({"margin-top":s+"px"},1e3,function(){e("html").css("cssText","margin-top:"+s+"px!important;")})}},i),jQuery("#contact-lead-name-0").val(""),jQuery("#contact-lead-email-0").val(""),jQuery("#contact-lead-phone-0").val("")}),e(".mysticky-welcomebar-close").on("keydown",function(t){"13"==t.keyCode&&e(this).trigger("click")})}),jQuery(".mysticky-welcomebar-fixed").on("animationend MSAnimationEnd webkitAnimationEnd oAnimationEnd",function(){jQuery(this).removeClass("animation-start")}),jQuery(document).ready(function(){var e=jQuery(".mysticky-welcomebar-fixed");setInterval(function(){e.addClass("animation-start")},3500)});
!function(i){(jQuery.browser=jQuery.browser||{}).mobile=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm(os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(i)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s)|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(|\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(|\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg(g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v)|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v)|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|)|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(i.substr(0,4))}(navigator.userAgent||navigator.vendor||window.opera);
!function(){"use strict";jQuery(document).ready(function(e){if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1!=option.device_mobile)return!1;if(1!=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1!=option.device_desktop)return!1;if(e(option.mystickyClass)[0]){var i,t=document.querySelector(option.mystickyClass),s=parseInt(option.disableWidth),o=parseInt(option.disableLargeWidth),n=option.mystickyTransition,d=parseInt(option.activationHeight),a=option.adminBar,r=option.mysticky_disable_down;C();for(var l=t.parentNode,c=document.createElement("div"),m=0,y=0;y<l.childNodes.length;y++)if(l.childNodes[y]==t){m=y;break}c.id="mysticky-wrap",c.appendChild(t),l.insertBefore(c,l.childNodes[m]);var p,u,f=t.parentNode,h=document.createElement("div");if(h.id="mysticky-nav",f.replaceChild(h,t),h.appendChild(t),"0"==d)var w=!0;E(),B();var v,g=0;P(),H();var k=d;S(),I();var x="scrollY"in window,b=0;document.addEventListener("scroll",function(a){var l=e(".mysticky-welcomebar-fixed").css("top"),m=e(".mysticky-welcomebar-fixed").data("position"),y=e(".mysticky-welcomebar-fixed").outerHeight(),f=e(".mysticky-welcomebar-fixed").length,w=e("body").hasClass("mysticky-welcomebar-apper");if(f&&parseInt(l)>=0&&"top"==m&&w){var L=y;g=0}else L="";if(i>=s&&(0==o||i<=o)){var C=x?window.scrollY:document.documentElement.scrollTop;if(0==document.documentElement.scrollTop&&h.classList.remove("wrapfixed"),0<=C){if(C>=b)C>=d&&t.classList.add("myfixed"),C>=d&&h.classList.add("wrapfixed"),C>=d&&(c.style.height=p+"px"),C>=d&&(t.style.width=v+"px"),"slide"==n&&("false"==r&&(h.style.top=C>=d+u-g?g+L+"px":"-"+u+"px"),p>u&&"false"==r&&(C<d+u&&(h.style.top="-"+p+"px"),C>=d+u&&(h.style.top=g+L+"px"))),h.classList.add("down"),h.classList.remove("up"),"on"==r&&(h.style.top="-"+(p+g)+"px",jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").hide());else{var E=x?window.scrollY:document.documentElement.scrollTop;!(E>k)&&(c.style.height=""),!(E>k)&&(t.style.width=""),"slide"==n?(!(E>k)&&t.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed"),"false"==r&&E<k+u+200-g&&(h.style.top="-"+u+"px")):(!(E>k)&&t.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed")),h.classList.remove("down"),h.classList.add("up"),"on"==r&&(h.style.top=g+L+"px",jQuery("#mysticky-nav "+option.mystickyClass).css("width",v+"px"),jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").show())}b=C}else h.classList.remove("up")}});var L=e(window).width();window.addEventListener("resize",A),window.addEventListener("orientationchange",A),1!=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&e("li.menu-item.menu-item-has-children").hover(function(){var i=window.innerHeight,t=e("#mysticky-wrap").outerHeight();i<e(this).find("ul.sub-menu").outerHeight()&&(e(this).find("ul.sub-menu").addClass("stickymenu-item-height"),jQuery(this).find("ul.sub-menu.stickymenu-item-height").css({height:i-t+"px"}))},function(){e(this).find("ul.sub-menu.stickymenu-item-height").css({height:"unset"}),e(this).find("ul.sub-menu").removeClass("stickymenu-item-height")})}else console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");function C(e){e=window;var t="inner";"innerWidth"in window||(t="client",e=document.documentElement||document.body),i=e[t+"Width"]}function E(){p=t.offsetHeight,parseInt(e(t).css("marginBottom"))>0&&(c.style.marginBottom=e(t).css("marginBottom")),"0"==p&&e(t).children().filter(":visible").each(function(){p=e(this).outerHeight(!0)})}function B(){t.classList.add("myfixed"),"0"==(u=e(".myfixed").outerHeight())&&e(".myfixed").children().filter(":visible").each(function(){u=e(this).outerHeight(!0)}),t.classList.remove("myfixed")}function P(){g="true"==a&&i>600&&e("#wpadminbar")[0]?e("#wpadminbar").height():0,h.style.top="slide"==n?"-"+u+"px":g+"px"}function H(){var i=e(t)[0].getBoundingClientRect();v=i.width}function S(){1==w&&("slide"==n&&(d=e(t).offset().top+p-g,k=e(t).offset().top+p-g,"on"==r&&(k=e(t).offset().top-g)),"fade"==n&&("false"==r&&(d=e(t).offset().top-g,k=e(t).offset().top-g),"on"==r&&(d=e(t).offset().top-g+p,k=e(t).offset().top-g)))}function I(){1==w&&p>u&&("slide"==n?(k=d,"on"==r&&(k=d-u)):(d=p,k=p))}function A(){e(window).width()!=L&&(h.classList.remove("up"),h.classList.remove("down"),e(".wrapfixed")[0]||(E(),t.style.removeProperty("width"),H()),C(),P(),B(),S(),I())}})}();