/**handles:swv,contact-form-7,morphext-js,welcomebar-frontjs,detectmobilebrowser,mystickymenu,splw-scripts,jquery-numerator,eael-general,awplife-we-snow-christmas-snow-js,awplife-we-snow-snow-falling-js,awplife-we-snow-snowfall-master-js,smartmenus,e-sticky,splw-old-script**/
(()=>{"use strict";var s={d:(t,e)=>{for(var i in e)s.o(e,i)&&!s.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},o={},t;function e(t){if(this.formData={},this.tree={},!(t instanceof FormData))return this;this.formData=t;const s=()=>{const i=new Map;return i.largestIndex=0,i.set=function(t,e){""===t?t=i.largestIndex++:/^[0-9]+$/.test(t)&&(t=parseInt(t),i.largestIndex<=t&&(i.largestIndex=t+1)),Map.prototype.set.call(i,t,e)},i};this.tree=s();const e=/^(?<name>[a-z][-a-z0-9_:]*)(?<array>(?:\[(?:[a-z][-a-z0-9_:]*|[0-9]*)\])*)/i;for(const[t,i]of this.formData){const o=t.match(e);if(o)if(""===o.groups.array)this.tree.set(o.groups.name,i);else{const t=[...o.groups.array.matchAll(/\[([a-z][-a-z0-9_:]*|[0-9]*)\]/gi)].map(([t,e])=>e);t.unshift(o.groups.name);const e=t.pop();t.reduce((t,e)=>{if(/^[0-9]+$/.test(e)&&(e=parseInt(e)),t.get(e)instanceof Map)return t.get(e);var i=s();return t.set(e,i),i},this.tree).set(e,i)}}}s.r(o),s.d(o,{all:()=>M,any:()=>F,date:()=>d,dayofweek:()=>v,email:()=>a,enum:()=>u,file:()=>h,maxdate:()=>j,maxfilesize:()=>I,maxitems:()=>g,maxlength:()=>y,maxnumber:()=>A,mindate:()=>z,minfilesize:()=>$,minitems:()=>w,minlength:()=>x,minnumber:()=>b,number:()=>f,required:()=>i,requiredfile:()=>n,tel:()=>c,time:()=>m,url:()=>l}),e.prototype.entries=function(){return this.tree.entries()},e.prototype.get=function(t){return this.tree.get(t)},e.prototype.getAll=function(t){if(!this.has(t))return[];const o=t=>{const e=[];if(t instanceof Map)for(var[i,s]of t)e.push(...o(s));else""!==t&&e.push(t);return e};return o(this.get(t))},e.prototype.has=function(t){return this.tree.has(t)},e.prototype.keys=function(){return this.tree.keys()},e.prototype.values=function(){return this.tree.values()};const r=e;function p({rule:t,field:e,error:i,...s}){this.rule=t,this.field=e,this.error=i,this.properties=s}const i=function(t){if(0===t.getAll(this.field).length)throw new p(this)},n=function(t){if(0===t.getAll(this.field).length)throw new p(this)},a=function(t){if(!t.getAll(this.field).every(t=>{if((t=t.trim()).length<6)return!1;if(-1===t.indexOf("@",1))return!1;if(t.indexOf("@")!==t.lastIndexOf("@"))return!1;const[e,i]=t.split("@",2);if(!/^[a-zA-Z0-9!#$%&\'*+\/=?^_`{|}~\.-]+$/.test(e))return!1;if(/\.{2,}/.test(i))return!1;if(/(?:^[ \t\n\r\0\x0B.]|[ \t\n\r\0\x0B.]$)/.test(i))return!1;var t=i.split(".");if(t.length<2)return!1;for(const s of t){if(/(?:^[ \t\n\r\0\x0B-]|[ \t\n\r\0\x0B-]$)/.test(s))return!1;if(!/^[a-z0-9-]+$/i.test(s))return!1}return!0}))throw new p(this)},l=function(t){const e=t.getAll(this.field);if(!e.every(t=>{if(""===(t=t.trim()))return!1;try{return-1!==["http","https","ftp","ftps","mailto","news","irc","irc6","ircs","gopher","nntp","feed","telnet","mms","rtsp","sms","svn","tel","fax","xmpp","webcal","urn"].indexOf(new URL(t).protocol.replace(/:$/,""))}catch{return!1}}))throw new p(this)},c=function(t){if(!t.getAll(this.field).every(t=>(t=(t=t.trim()).replaceAll(/[()/.*#\s-]+/g,""),/^[+]?[0-9]+$/.test(t))))throw new p(this)},f=function(t){if(!t.getAll(this.field).every(t=>(t=t.trim(),!!/^[-]?[0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t)||!!/^[-]?(?:[0-9]+)?[.][0-9]+(?:[eE][+-]?[0-9]+)?$/.test(t))))throw new p(this)},d=function(t){if(!t.getAll(this.field).every(t=>{if(t=t.trim(),!/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t))return!1;const e=new Date(t);return!Number.isNaN(e.valueOf())}))throw new p(this)},m=function(t){if(!t.getAll(this.field).every(t=>{var e=t.trim().match(/^([0-9]{2})\:([0-9]{2})(?:\:([0-9]{2}))?$/);if(!e)return!1;var i=parseInt(e[1]),t=parseInt(e[2]),e=e[3]?parseInt(e[3]):0;return 0<=i&&i<=23&&0<=t&&t<=59&&0<=e&&e<=59}))throw new p(this)},h=function(t){if(!t.getAll(this.field).every(e=>e instanceof File&&this.accept?.some(t=>/^\.[a-z0-9]+$/i.test(t)?e.name.toLowerCase().endsWith(t.toLowerCase()):(t=>{const e=[],i=t.match(/^(?<toplevel>[a-z]+)\/(?<sub>[*]|[a-z0-9.+-]+)$/i);if(i){const t=i.groups.toplevel.toLowerCase(),n=i.groups.sub.toLowerCase();for(var[s,o]of(()=>{const t=new Map;return t.set("jpg|jpeg|jpe","image/jpeg"),t.set("gif","image/gif"),t.set("png","image/png"),t.set("bmp","image/bmp"),t.set("tiff|tif","image/tiff"),t.set("webp","image/webp"),t.set("ico","image/x-icon"),t.set("heic","image/heic"),t.set("asf|asx","video/x-ms-asf"),t.set("wmv","video/x-ms-wmv"),t.set("wmx","video/x-ms-wmx"),t.set("wm","video/x-ms-wm"),t.set("avi","video/avi"),t.set("divx","video/divx"),t.set("flv","video/x-flv"),t.set("mov|qt","video/quicktime"),t.set("mpeg|mpg|mpe","video/mpeg"),t.set("mp4|m4v","video/mp4"),t.set("ogv","video/ogg"),t.set("webm","video/webm"),t.set("mkv","video/x-matroska"),t.set("3gp|3gpp","video/3gpp"),t.set("3g2|3gp2","video/3gpp2"),t.set("txt|asc|c|cc|h|srt","text/plain"),t.set("csv","text/csv"),t.set("tsv","text/tab-separated-values"),t.set("ics","text/calendar"),t.set("rtx","text/richtext"),t.set("css","text/css"),t.set("htm|html","text/html"),t.set("vtt","text/vtt"),t.set("dfxp","application/ttaf+xml"),t.set("mp3|m4a|m4b","audio/mpeg"),t.set("aac","audio/aac"),t.set("ra|ram","audio/x-realaudio"),t.set("wav","audio/wav"),t.set("ogg|oga","audio/ogg"),t.set("flac","audio/flac"),t.set("mid|midi","audio/midi"),t.set("wma","audio/x-ms-wma"),t.set("wax","audio/x-ms-wax"),t.set("mka","audio/x-matroska"),t.set("rtf","application/rtf"),t.set("js","application/javascript"),t.set("pdf","application/pdf"),t.set("swf","application/x-shockwave-flash"),t.set("class","application/java"),t.set("tar","application/x-tar"),t.set("zip","application/zip"),t.set("gz|gzip","application/x-gzip"),t.set("rar","application/rar"),t.set("7z","application/x-7z-compressed"),t.set("exe","application/x-msdownload"),t.set("psd","application/octet-stream"),t.set("xcf","application/octet-stream"),t.set("doc","application/msword"),t.set("pot|pps|ppt","application/vnd.ms-powerpoint"),t.set("wri","application/vnd.ms-write"),t.set("xla|xls|xlt|xlw","application/vnd.ms-excel"),t.set("mdb","application/vnd.ms-access"),t.set("mpp","application/vnd.ms-project"),t.set("docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"),t.set("docm","application/vnd.ms-word.document.macroEnabled.12"),t.set("dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"),t.set("dotm","application/vnd.ms-word.template.macroEnabled.12"),t.set("xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"),t.set("xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"),t.set("xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"),t.set("xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"),t.set("xltm","application/vnd.ms-excel.template.macroEnabled.12"),t.set("xlam","application/vnd.ms-excel.addin.macroEnabled.12"),t.set("pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"),t.set("pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"),t.set("ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"),t.set("ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"),t.set("potx","application/vnd.openxmlformats-officedocument.presentationml.template"),t.set("potm","application/vnd.ms-powerpoint.template.macroEnabled.12"),t.set("ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"),t.set("sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"),t.set("sldm","application/vnd.ms-powerpoint.slide.macroEnabled.12"),t.set("onetoc|onetoc2|onetmp|onepkg","application/onenote"),t.set("oxps","application/oxps"),t.set("xps","application/vnd.ms-xpsdocument"),t.set("odt","application/vnd.oasis.opendocument.text"),t.set("odp","application/vnd.oasis.opendocument.presentation"),t.set("ods","application/vnd.oasis.opendocument.spreadsheet"),t.set("odg","application/vnd.oasis.opendocument.graphics"),t.set("odc","application/vnd.oasis.opendocument.chart"),t.set("odb","application/vnd.oasis.opendocument.database"),t.set("odf","application/vnd.oasis.opendocument.formula"),t.set("wp|wpd","application/wordperfect"),t.set("key","application/vnd.apple.keynote"),t.set("numbers","application/vnd.apple.numbers"),t.set("pages","application/vnd.apple.pages"),t})())("*"===n&&o.startsWith(t+"/")||o===i[0])&&e.push(...s.split("|"))}return e})(t).some(t=>(t="."+t.trim(),e.name.toLowerCase().endsWith(t.toLowerCase()))))))throw new p(this)},u=function(t){if(!t.getAll(this.field).every(e=>this.accept?.some(t=>e===String(t))))throw new p(this)},v=function(t){if(!t.getAll(this.field).every(t=>{const e=0===(t=new Date(t).getDay())?7:t;var t;return this.accept?.some(t=>e===parseInt(t))}))throw new p(this)},w=function(t){if(t.getAll(this.field).length<parseInt(this.threshold))throw new p(this)},g=function(t){var t=t.getAll(this.field);if(parseInt(this.threshold)<t.length)throw new p(this)},x=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach(t=>{"string"==typeof t&&(i+=t.length)}),0!==i&&i<parseInt(this.threshold))throw new p(this)},y=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach(t=>{"string"==typeof t&&(i+=t.length)}),parseInt(this.threshold)<i)throw new p(this)},b=function(t){if(!t.getAll(this.field).every(t=>!(parseFloat(t)<parseFloat(this.threshold))))throw new p(this)},A=function(t){if(!t.getAll(this.field).every(t=>!(parseFloat(this.threshold)<parseFloat(t))))throw new p(this)},z=function(t){if(!t.getAll(this.field).every(t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&t<this.threshold))))throw new p(this)},j=function(t){if(!t.getAll(this.field).every(t=>(t=t.trim(),!(/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(t)&&/^[0-9]{4,}-[0-9]{2}-[0-9]{2}$/.test(this.threshold)&&this.threshold<t))))throw new p(this)},$=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach(t=>{t instanceof File&&(i+=t.size)}),i<parseInt(this.threshold))throw new p(this)},I=function(t){const e=t.getAll(this.field);let i=0;if(e.forEach(t=>{t instanceof File&&(i+=t.size)}),parseInt(this.threshold)<i)throw new p(this)},O=({ruleObj:t,options:e})=>{const{rule:i,...s}=t;return"function"==typeof o[i]&&("function"!=typeof o[i].matches||o[i].matches(s,e))},E=({ruleObj:t,formDataTree:e,options:i})=>{var{rule:s}=t;o[s].call(t,e,i)},k=[],D=t=>[...k].reduce((e,i)=>t=>i(t,e),t),M=function(e,i={}){const t=(this.rules??[]).filter(t=>O({ruleObj:t,options:i})),s=D(E);if(!t.every(t=>{try{s({ruleObj:t,formDataTree:e,options:i})}catch(t){if(!(t instanceof p))throw t;if(void 0!==t.error)throw t;return!1}return!0}))throw new p(this)},F=function(e,i={}){const t=(this.rules??[]).filter(t=>O({ruleObj:t,options:i})),s=D(E);if(!t.some(t=>{try{s({ruleObj:t,formDataTree:e,options:i})}catch(t){if(!(t instanceof p))throw t;return!1}return!0}))throw new p(this)};window.swv={validators:o,validate:(t,e,i={})=>{const s=(t.rules??[]).filter(t=>O({ruleObj:t,options:i}));if(!s.length)return new Map;const o=D(E),n=new r(e),a=s.reduce((t,e)=>{try{o({ruleObj:e,formDataTree:n,options:i})}catch(e){if(!(e instanceof p))throw e;if(void 0!==e.field&&!t.has(e.field)&&void 0!==e.error)return t.set(e.field,e)}return t},new Map);for(const t of n.keys())a.has(t)||a.set(t,{validInputs:n.getAll(t)});return a},use:t=>{k.push(t)},...null!==(t=window.swv)&&void 0!==t?t:{}}})();
(()=>{"use strict";const n=window.wp.i18n,c=e=>Math.abs(parseInt(e,10)),o=(e,t,a)=>{var a=new CustomEvent(`wpcf7${t}`,{bubbles:!0,detail:a});(e="string"==typeof e?document.querySelector(e):e).dispatchEvent(a)},l=(e,t)=>{const a=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"]]);a.has(t)&&(t=a.get(t)),Array.from(a.values()).includes(t)||(t=`custom-${t=(t=t.replace(/[^0-9a-z]+/i," ").trim()).replace(/\s+/,"-")}`);var 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};o(e,"statuschanged",t)}return t},s=e=>{const{root:f,namespace:u="contact-form-7/v1"}=wpcf7.api;return t.reduceRight((t,a)=>e=>a(e,t),e=>{let t,a,{url:r,path:n,endpoint:o,headers:c,body:s,data:i,...l}=e;"string"==typeof o&&(t=u.replace(/^\/|\/$/g,""),a=o.replace(/^\//,""),n=a?t+"/"+a:t),"string"==typeof n&&(-1!==f.indexOf("?")&&(n=n.replace("?","&")),n=n.replace(/^\//,""),r=f+n),c={Accept:"application/json, */*;q=0.1",...c},delete c["X-WP-Nonce"],i&&(s=JSON.stringify(i),c["Content-Type"]="application/json");const p={code:"fetch_error",message:"You are probably offline."},d={code:"invalid_json",message:"The response is not a valid JSON response."};return window.fetch(r||n||window.location.href,{...l,headers:c,body:s}).then(e=>Promise.resolve(e).then(e=>{if(200<=e.status&&e.status<300)return e;throw e}).then(e=>{if(204===e.status)return null;if(e&&e.json)return e.json().catch(()=>{throw d});throw d}),()=>{throw p})})(e)},t=[];function a(a,r={}){const{target:n,scope:o=a,...e}=r;if(void 0!==a.wpcf7?.schema){const c={...a.wpcf7.schema};if(void 0!==n){if(!a.contains(n))return;if(!n.closest(".wpcf7-form-control-wrap[data-name]"))return;if(n.closest(".novalidate"))return}const s=o.querySelectorAll(".wpcf7-form-control-wrap"),i=Array.from(s).reduce((r,e)=>(e.closest(".novalidate")||e.querySelectorAll(":where( input, textarea, select ):enabled").forEach(e=>{if(e.name)switch(e.type){case"button":case"image":case"reset":case"submit":break;case"checkbox":case"radio":e.checked&&r.append(e.name,e.value);break;case"select-multiple":for(const t of e.selectedOptions)r.append(e.name,t.value);break;case"file":for(const a of e.files)r.append(e.name,a);break;default:r.append(e.name,e.value)}}),r),new FormData),t=a.getAttribute("data-status");Promise.resolve(l(a,"validating")).then(e=>{if(void 0!==swv){const e=swv.validate(c,i,r);for(const r of s)if(void 0!==r.dataset.name){var t=r.dataset.name;if(e.has(t)){const{error:r,validInputs:n}=e.get(t);d(a,t),void 0!==r&&p(a,t,r,{scope:o}),f(a,t,null!=n?n:[])}if(r.contains(n))break}}}).finally(()=>{l(a,t)})}}s.use=e=>{t.unshift(e)};const p=(t,e,a,r)=>{const{scope:n=t,...o}=null!=r?r:{},c=`${t.wpcf7?.unitTag}-ve-${e}`.replaceAll(/[^0-9a-z_-]+/gi,""),s=t.querySelector(`.wpcf7-form-control-wrap[data-name="${e}"] .wpcf7-form-control`);(()=>{const e=document.createElement("li");e.setAttribute("id",c),s&&s.id?e.insertAdjacentHTML("beforeend",`<a href="#${s.id}">${a}</a>`):e.insertAdjacentText("beforeend",a),t.wpcf7.parent.querySelector(".screen-reader-response ul").appendChild(e)})(),n.querySelectorAll(`.wpcf7-form-control-wrap[data-name="${e}"]`).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",c),"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")}))})})},d=(e,t)=>{var 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("")})})},f=(e,r,t)=>{e.querySelectorAll(`[data-reflection-of="${r}"]`).forEach(a=>{if("output"===a.tagName.toLowerCase()){const r=a;0===t.length&&t.push(r.dataset.default),t.slice(0,1).forEach(e=>{e instanceof File&&(e=e.name),r.textContent=e})}else a.querySelectorAll("output").forEach(e=>{e.hasAttribute("data-default")?0===t.length?e.removeAttribute("hidden"):e.setAttribute("hidden","hidden"):e.remove()}),t.forEach(e=>{e instanceof File&&(e=e.name);const t=document.createElement("output");t.setAttribute("name",r),t.textContent=e,a.appendChild(t)})})};function r(a,e={}){if(wpcf7.blocked)return i(a),void l(a,"submitting");const t=new FormData(a);e.submitter&&e.submitter.name&&t.append(e.submitter.name,e.submitter.value);const r={contactFormId:a.wpcf7.id,pluginVersion:a.wpcf7.pluginVersion,contactFormLocale:a.wpcf7.locale,unitTag:a.wpcf7.unitTag,containerPostId:a.wpcf7.containerPost,status:a.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};s({endpoint:`contact-forms/${a.wpcf7.id}/feedback`,method:"POST",body:t,wpcf7:{endpoint:"feedback",form:a,detail:r}}).then(e=>{var t=l(a,e.status);return r.status=e.status,r.apiResponse=e,["invalid","unaccepted","spam","aborted"].includes(t)?o(a,t,r):["sent","failed"].includes(t)&&o(a,`mail${t}`,r),o(a,"submit",r),e}).then(t=>{t.posted_data_hash&&(a.querySelector('input[name="_wpcf7_posted_data_hash"]').value=t.posted_data_hash),"mail_sent"===t.status&&(a.reset(),a.wpcf7.resetOnMailSent=!0),t.invalid_fields&&t.invalid_fields.forEach(e=>{p(a,e.field,e.message)}),a.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').insertAdjacentText("beforeend",t.message),a.querySelectorAll(".wpcf7-response-output").forEach(e=>{e.innerText=t.message})}).catch(e=>console.error(e))}s.use((e,t)=>{if(e.wpcf7&&"feedback"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;i(t),o(t,"beforesubmit",a),l(t,"submitting")}return t(e)});const i=t=>{t.querySelectorAll(".wpcf7-form-control-wrap").forEach(e=>{e.dataset.name&&d(t,e.dataset.name)}),t.wpcf7.parent.querySelector('.screen-reader-response [role="status"]').innerText="",t.querySelectorAll(".wpcf7-response-output").forEach(e=>{e.innerText=""})};function u(t){const e=new FormData(t),a={contactFormId:t.wpcf7.id,pluginVersion:t.wpcf7.pluginVersion,contactFormLocale:t.wpcf7.locale,unitTag:t.wpcf7.unitTag,containerPostId:t.wpcf7.containerPost,status:t.wpcf7.status,inputs:Array.from(e,e=>{const t=e[0],a=e[1];return!t.match(/^_/)&&{name:t,value:a}}).filter(e=>!1!==e),formData:e};s({endpoint:`contact-forms/${t.wpcf7.id}/refill`,method:"GET",wpcf7:{endpoint:"refill",form:t,detail:a}}).then(e=>{t.wpcf7.resetOnMailSent?(delete t.wpcf7.resetOnMailSent,l(t,"mail_sent")):l(t,"init"),a.apiResponse=e,o(t,"reset",a)}).catch(e=>console.error(e))}s.use((e,t)=>{if(e.wpcf7&&"refill"===e.wpcf7.endpoint){const{form:t,detail:a}=e.wpcf7;i(t),l(t,"resetting")}return t(e)});const m=(e,t)=>{for(const a in t){const r=t[a];e.querySelectorAll(`input[name="${a}"]`).forEach(e=>{e.value=""}),e.querySelectorAll(`img.wpcf7-captcha-${a.replaceAll(":","")}`).forEach(e=>{e.setAttribute("src",r)});const n=/([0-9]+)\.(png|gif|jpeg)$/.exec(r);n&&e.querySelectorAll(`input[name="_wpcf7_captcha_challenge_${a}"]`).forEach(e=>{e.value=n[1]})}},w=(e,t)=>{for(const a in t){const r=t[a][0],n=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=r,e.querySelector(`input[name="_wpcf7_quiz_answer_${a}"]`).value=n})}};function h(t){const e=new FormData(t);var a,r,n;t.wpcf7={id:c(e.get("_wpcf7")),status:t.getAttribute("data-status"),pluginVersion:e.get("_wpcf7_version"),locale:e.get("_wpcf7_locale"),unitTag:e.get("_wpcf7_unit_tag"),containerPost:c(e.get("_wpcf7_container_post")),parent:t.closest(".wpcf7"),get schema(){return wpcf7.schemas.get(this.id)}},wpcf7.schemas.set(t.wpcf7.id,void 0),t.querySelectorAll(".has-spinner").forEach(e=>{e.insertAdjacentHTML("afterend",'<span class="wpcf7-spinner"></span>')}),(n=t).querySelectorAll(".wpcf7-exclusive-checkbox").forEach(e=>{e.addEventListener("change",t=>{var e=t.target.getAttribute("name");n.querySelectorAll(`input[type="checkbox"][name="${e}"]`).forEach(e=>{e!==t.target&&(e.checked=!1)})})}),(r=t).querySelectorAll(".has-free-text").forEach(e=>{const t=e.querySelector("input.wpcf7-free-text"),a=e.querySelector('input[type="checkbox"], input[type="radio"]');t.disabled=!a.checked,r.addEventListener("change",e=>{t.disabled=!a.checked,e.target===a&&a.checked&&t.focus()})}),t.querySelectorAll(".wpcf7-validates-as-url").forEach(a=>{a.addEventListener("change",e=>{let t=a.value.trim();t&&!t.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==t.indexOf(".")&&(t=t.replace(/^\/+/,""),t="http://"+t),a.value=t})}),(e=>{if(e.querySelector(".wpcf7-acceptance")&&!e.classList.contains("wpcf7-acceptance-as-validation")){const t=()=>{let a=!0;e.querySelectorAll(".wpcf7-acceptance").forEach(e=>{var t;a&&!e.classList.contains("optional")&&(t=e.querySelector('input[type="checkbox"]'),(e.classList.contains("invert")&&t.checked||!e.classList.contains("invert")&&!t.checked)&&(a=!1))}),e.querySelectorAll(".wpcf7-submit").forEach(e=>{e.disabled=!a})};t(),e.addEventListener("change",e=>{t()}),e.addEventListener("wpcf7reset",e=>{t()})}})(t),(n=>{const o=(e,t)=>{var a=c(e.getAttribute("data-starting-value")),r=c(e.getAttribute("data-maximum-value")),n=c(e.getAttribute("data-minimum-value")),a=e.classList.contains("down")?a-t.value.length:t.value.length;e.setAttribute("data-current-value",a),e.innerText=a,r&&r<t.value.length?e.classList.add("too-long"):e.classList.remove("too-long"),n&&t.value.length<n?e.classList.add("too-short"):e.classList.remove("too-short")},t=r=>{r={init:!1,...r},n.querySelectorAll(".wpcf7-character-count").forEach(t=>{const e=t.getAttribute("data-target-name"),a=n.querySelector(`[name="${e}"]`);a&&(a.value=a.defaultValue,o(t,a),r.init&&a.addEventListener("keyup",e=>{o(t,a)}))})};t({init:!0}),n.addEventListener("wpcf7reset",e=>{t()})})(t),window.addEventListener("load",e=>{wpcf7.cached&&t.reset()}),t.addEventListener("reset",e=>{wpcf7.reset(t)}),t.addEventListener("submit",e=>{wpcf7.submit(t,{submitter:e.submitter}),e.preventDefault()}),t.addEventListener("wpcf7submit",e=>{e.detail.apiResponse.captcha&&m(t,e.detail.apiResponse.captcha),e.detail.apiResponse.quiz&&w(t,e.detail.apiResponse.quiz)}),t.addEventListener("wpcf7reset",e=>{e.detail.apiResponse.captcha&&m(t,e.detail.apiResponse.captcha),e.detail.apiResponse.quiz&&w(t,e.detail.apiResponse.quiz)}),t.addEventListener("change",e=>{e.target.closest(".wpcf7-form-control")&&wpcf7.validate(t,{target:e.target})}),t.addEventListener("wpcf7statuschanged",e=>{var e=e.detail.status;t.querySelectorAll(".active-on-any").forEach(e=>{e.removeAttribute("inert"),e.classList.remove("active-on-any")}),t.querySelectorAll(`.inert-on-${e}`).forEach(e=>{e.setAttribute("inert","inert"),e.classList.add("active-on-any")})})}document.addEventListener("DOMContentLoaded",e=>{var t;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:h,submit:r,reset:u,validate:a,schemas:new Map,...null!==(t=wpcf7)&&void 0!==t?t:{}},document.querySelectorAll("form .wpcf7").forEach(e=>{const t=document.createElement("p");t.setAttribute("class","wpcf7-form-in-wrong-place");const a=document.createElement("strong");a.append((0,n.__)("Error:","contact-form-7"));var r=(0,n.__)("This contact form is placed in the wrong place.","contact-form-7");t.append(a," ",r),e.replaceWith(t)}),document.querySelectorAll(".wpcf7 > form").forEach(e=>{wpcf7.init(e),e.closest(".wpcf7").classList.replace("no-js","js")});for(const n of wpcf7.schemas.keys())s({endpoint:`contact-forms/${n}/feedback/schema`,method:"GET"}).then(e=>{wpcf7.schemas.set(n,e)})}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,s,o,i,o,t,c,t,e,m;0!=jQuery("#wpadminbar").length&&(s=jQuery("#wpadminbar").height()),jQuery(window).width()<=600&&0!=jQuery(window).scrollTop()&&"top"==a?(jQuery(".mysticky-welcomebar-fixed").css("top","0px"),o=jQuery(".mysticky-welcomebar-fixed").outerHeight(),"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(o=0),jQuery("#mysticky-nav").css("top",o+"px")):"top"==a&&(i=s+jQuery(".mysticky-welcomebar-fixed").outerHeight(),"none"===jQuery(".mysticky-welcomebar-fixed").css("display")&&(i=s+0),jQuery(".mysticky-welcomebar-fixed").css("top",s+0+"px"),jQuery("#mysticky-nav").css("top",i+"px")),t&&(o=jQuery(".mysticky-welcomebar-fixed").outerHeight(),t=jQuery(".mystickyelements-fixed").height(),c=o+t,jQuery(window).width()<=1024&&jQuery(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top")&&("after_a_few_seconds"==e?jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&(t=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),setTimeout(function(){"top"==a?(jQuery(".mystickyelements-fixed").css("top",o),$("html").animate({"margin-top":c+"px"},1e3,function(){$("html").css("cssText","margin-top:"+c+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+o+"px !important"))},t)):"after_scroll"===e&&(e=100*$(window).scrollTop()/($(document).height()-$(window).height()),$(".mysticky-welcomebar-fixed").data("triger-sec")<e&&jQuery(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&("top"==a?(jQuery(".mystickyelements-fixed").css("top",o),$("html").animate({"margin-top":c+"px"},1e3,function(){$("html").css("cssText","margin-top:"+c+"px!important;")})):(jQuery(".mystickyelements-fixed").css("top",""),jQuery("html").attr("style","margin-bottom: "+o+"px !important"))))))}function IsEmail(e){var t;return!!/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/.test(e)}function validatePhone(e){var t,a;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(i){var c=0,c,m=(c=0!=i("#wpadminbar").length?i("#wpadminbar").height():c)+jQuery(".mysticky-welcomebar-fixed").outerHeight();"top"==jQuery(".mysticky-welcomebar-fixed").data("position")?jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("top","-"+m+"px"):jQuery(".mysticky-welcomebar-entry-effect-slide-in.mysticky-welcomebar-fixed").css("bottom","-"+m+"px");var e=i(".et_fixed_nav #top-header").outerHeight(),r=m+e,y=i(".mysticky-welcomebar-fixed").data("aftersubmission"),t,t,t,l,a,s,o,a,s,o;null===(t="dont_show_welcomebar"==y?localStorage.getItem("welcomebar_close"):"show_welcomebar_next_visit"==y?sessionStorage.getItem("welcomebar_close"):(sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close"),null))&&(l=jQuery(".mysticky-welcomebar-fixed").data("after-triger"),jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==l&&i(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&767<i(window).width()&&(a=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),s=i(".mysticky-welcomebar-fixed").data("position"),o=i(".mysticky-welcomebar-fixed").outerHeight(),setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),i(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==s?(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),jQuery(".mysticky-welcomebar-fixed").css("top",c+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",o+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.et_fixed_nav #main-header {top: '+o+"px !important}.et_fixed_nav #top-header + #main-header{top: "+r+"px !important}</style>"),i("html").animate({"margin-top":m+"px"},1e3,function(){i("html").css("cssText","margin-top:"+m+"px!important;")}),i("#mysticky-nav").css("top",m+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),i("html").attr("style","margin-bottom: "+m+"px !important"))},a)),i(window).width()<767&&"after_a_few_seconds"==l&&i(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&(a=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),s=i(".mysticky-welcomebar-fixed").data("position"),o=i(".mysticky-welcomebar-fixed").outerHeight(),setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),i(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==s?(jQuery(".mysticky-welcomebar-fixed").css("top",c+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-bottom",""),i("html").animate({"margin-top":m+"px"},1e3,function(){i("html").css("cssText","margin-top:"+m+"px!important;")}),i("#mysticky-nav").css("top",m+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-top",""),i("html").attr("style","margin-bottom: "+m+"px !important"))},a)),mystickyelements_present()),i(window).resize(function(){var e=jQuery(".mysticky-welcomebar-fixed").outerHeight(),t,t,t,a,a,s,o;null===(t="dont_show_welcomebar"==y?localStorage.getItem("welcomebar_close"):"show_welcomebar_next_visit"==y?sessionStorage.getItem("welcomebar_close"):(sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close"),null))&&(a=jQuery(".mysticky-welcomebar-fixed").data("after-triger"),i(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-notapper")?jQuery("body").removeClass("mysticky-welcomebar-apper"):jQuery("body").addClass("mysticky-welcomebar-apper"),"after_a_few_seconds"==a&&(a=1e3*jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),s=i(".mysticky-welcomebar-fixed").data("position"),o=i(".mysticky-welcomebar-fixed").outerHeight(),i(window).width()<767?i(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),i(".mysticky-welcomebar-fixed").addClass("entry-effect"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),"top"==s?(jQuery(".mysticky-welcomebar-fixed").css("top",c+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-bottom",""),i("html").animate({"margin-top":e+"px"},1e3,function(){i("html").css("cssText","margin-top:"+e+"px!important;")}),i(".mysticky-welcomebar-apper #mysticky-nav").css("top",e+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-top",""),i("html").attr("style","margin-bottom: "+e+"px !important"))},a):i(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&setTimeout(function(){jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),i(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==s?(jQuery(".mysticky-welcomebar-fixed").css("top",c+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-bottom",""),jQuery("#mysticky_divi_style").remove(),jQuery(".mysticky-welcomebar-apper.et_fixed_nav #top-header").css("top",o+"px"),jQuery("head").append('<style id="mysticky_divi_style" type="text/css">.mysticky-welcomebar-apper.et_fixed_nav #main-header {top: '+o+"px !important}.mysticky-welcomebar-apper.et_fixed_nav #top-header + #main-header{top: "+r+"px !important}</style>"),i("html").animate({"margin-top":e+"px"},1e3,function(){i("html").css("cssText","margin-top:"+e+"px!important;")}),i(".mysticky-welcomebar-apper #mysticky-nav").css("top",e+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-top",""),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),i("html").attr("style","margin-bottom: "+e+"px !important"))},a)),mystickyelements_present())}),jQuery(window).on("scroll",function(){var e,e,e,t,a,s,o,a,t;null===(e="dont_show_welcomebar"==y?localStorage.getItem("welcomebar_close"):"show_welcomebar_next_visit"==y?sessionStorage.getItem("welcomebar_close"):(sessionStorage.removeItem("welcomebar_close"),localStorage.removeItem("welcomebar_close"),null))&&(t=i(".mysticky-welcomebar-fixed").outerHeight(),"top"==(a=i(".mysticky-welcomebar-fixed").data("position"))&&i("#mysticky-nav").css("top",m+"px"),"after_scroll"===l&&(s=100*i(window).scrollTop()/(i(document).height()-i(window).height()),o=jQuery(".mysticky-welcomebar-fixed").data("triger-sec"),a=i(".mysticky-welcomebar-fixed").data("position"),t=i(".mysticky-welcomebar-fixed").outerHeight(),o<s&&(i(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-desktop")&&767<i(window).width()&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),i(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==a?(jQuery(".mysticky-welcomebar-fixed").css("top",c+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-bottom",""),i("html").animate({"margin-top":m+"px"},1e3,function(){i("html").css("cssText","margin-top:"+m+"px!important;")}),i("#mysticky-nav").css("top",m+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-top",""),i("html").attr("style","margin-bottom: "+m+"px !important"))),i(".mysticky-welcomebar-fixed").hasClass("mysticky-welcomebar-display-mobile")&&i(window).width()<767&&(jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-animation"),i(".mysticky-welcomebar-fixed").addClass("entry-effect"),"top"==a?(jQuery(".mysticky-welcomebar-fixed").css("top",c+0+"px"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-bottom",""),i("html").animate({"margin-top":m+"px"},1e3,function(){i("html").css("cssText","margin-top:"+m+"px!important;")}),i("#mysticky-nav").css("top",m+"px")):(jQuery(".mysticky-welcomebar-fixed").css("bottom","0"),jQuery(".mysticky-welcomebar-fixed").css("opacity","1"),i("html").css("margin-top",""),i("html").attr("style","margin-bottom: "+m+"px !important"))))),mystickyelements_present())}),jQuery(".mysticky-welcomebar-close, .mysticky-welcomebar-btn a").on("click",function(e){""==i(this).attr("href")&&e.preventDefault();var t=!0,e=100,a=0;if(0<jQuery(".mysticky-welcomebar-lead-content").length&&!i(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"),i(".input-error").length&&i(".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()?(i('<div class="input-error"><span>Please enter your name and email</span></div>').insertAfter(jQuery("#contact-lead-name-0")),t=!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()?(i('<div class="input-error"><span>Please enter your name and phone</span></div>').insertAfter(jQuery("#contact-lead-name-0")),t=!1):"none"!=jQuery("#contact-lead-name-0").css("display")&&""==jQuery("#contact-lead-name-0").val()?(i('<div class="input-error"><span>Please enter your name</span></div>').insertAfter(jQuery("#contact-lead-name-0")),t=!1):"none"!=jQuery("#contact-lead-email-0").css("display")&&""==jQuery("#contact-lead-email-0").val()?(i('<div class="input-error"><span>Please, enter your email</span></div>').insertAfter(jQuery("#contact-lead-email-0")),t=!1):"none"!=jQuery("#contact-lead-phone-0").css("display")&&""==jQuery("#contact-lead-phone-0").val()&&(i('<div class="input-error"><span>Please, enter your phone</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),t=!1),0==t?i(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"):i(".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())&&(i(".input-error").length&&i(".input-error").remove(),i('<div class="input-error"><span>Please, enter valid email</span></div>').insertAfter(jQuery("#contact-lead-email-0")),t=!1),"none"!=jQuery("#contact-lead-phone-0").css("display")&&1!=validatePhone(jQuery("#contact-lead-phone-0").val())&&(i(".input-error").length&&i(".input-error").remove(),i('<div class="input-error"><span>Please, enter valid phone</span></div>').insertAfter(jQuery("#contact-lead-phone-0")),t=!1),1!=t)return i(".mysticky-welcomebar-widget-0 .mysticky-welcomebar-fixed-wrap").css("margin-bottom","10px"),!1;var t=[],s;t.contact_name=jQuery("#contact-lead-name-0").val(),t.contact_email=jQuery("#contact-lead-email-0").val(),t.contact_phone=jQuery("#contact-lead-phone-0").val(),t.contact_page_link=jQuery("#contact-lead-pagelink-0").val(),1==i(".mysticky-welcomebar-fixed").data("show-success-message")&&(i(".mysticky-welcomebar-fixed .mysticky-welcomebar-lead-content").hide(),i(".mysticky-welcomebar-fixed .mysticky-welcomebar-content p").hide(),i(".mysticky-welcomebar-fixed .mysticky-welcomebar-btn.contact-lead-button").hide(),i(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content").show(),i(".mysticky-welcomebar-fixed .mysticky-welcomebar-thankyou-content p").show());var e=2e3;jQuery.ajax({url:welcomebar_frontjs.ajaxurl,type:"post",data:"contact_name="+t.contact_name+"&contact_email="+t.contact_email+"&contact_phone="+t.contact_phone+"&action=stickymenu_contact_lead_form&widget_id=0&page_link="+t.contact_page_link+"&save_form_lead=1&wpnonce="+welcomebar_frontjs.ajax_nonce,success:function(e){i(".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 i(this).hasClass("mysticky-welcomebar-close")&&localStorage.setItem("is_close_trigger_0","yes");setTimeout(function(){"show_welcomebar_every_page"!=y&&("dont_show_welcomebar"==y?(sessionStorage.removeItem("welcomebar_close"),localStorage.setItem("welcomebar_close","close")):"show_welcomebar_next_visit"==y&&(localStorage.removeItem("welcomebar_close"),sessionStorage.setItem("welcomebar_close","close")));var e=i(".mysticky-welcomebar-fixed").data("position"),t=i(".mysticky-welcomebar-fixed").outerHeight(),a,s;jQuery(".mysticky-welcomebar-fixed").addClass("mysticky-welcomebar-notapper"),jQuery("body").removeClass("mysticky-welcomebar-apper"),jQuery(".mysticky-welcomebar-fixed").slideUp("slow"),"top"==e?jQuery(".mysticky-welcomebar-fixed").css("top","-"+m+"px"):jQuery(".mysticky-welcomebar-fixed").css("bottom","-"+m+"px"),jQuery("#mysticky_divi_style").remove(),jQuery(".et_fixed_nav #top-header").css("top",""),jQuery("html").css("margin-top",""),jQuery("html").css("margin-bottom",""),i("#mysticky-nav").css("top","0px"),i(".mystickyelements-fixed").length&&i(window).width()<=1024&&i(".mystickyelements-fixed").hasClass("mystickyelements-position-mobile-top")&&"top"==e&&(s=i(".mystickyelements-fixed").height(),i(".mystickyelements-fixed").css("top",""),i("html").animate({"margin-top":s+"px"},1e3,function(){i("html").css("cssText","margin-top:"+s+"px!important;")}))},e),jQuery("#contact-lead-name-0").val(""),jQuery("#contact-lead-email-0").val(""),jQuery("#contact-lead-phone-0").val("")}),i(".mysticky-welcomebar-close").on("keydown",function(e){"13"==e.keyCode&&i(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"),t=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(e){"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 t,i=document.querySelector(option.mystickyClass),o=parseInt(option.disableWidth),s=parseInt(option.disableLargeWidth),n=option.mystickyTransition,d=parseInt(option.activationHeight),a=option.adminBar,r=option.mysticky_disable_down;C();for(var l=i.parentNode,c=document.createElement("div"),m=0,p=0;p<l.childNodes.length;p++)if(l.childNodes[p]==i){m=p;break}c.id="mysticky-wrap",c.appendChild(i),l.insertBefore(c,l.childNodes[m]);var y,f,u=i.parentNode,h=document.createElement("div");if(h.id="mysticky-nav",u.replaceChild(h,i),h.appendChild(i),"0"==d)var w=!0;E(),B();var v,x=0;S(),I();var k=d;P(),H();var g="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"),p=e(".mysticky-welcomebar-fixed").outerHeight(),u=e(".mysticky-welcomebar-fixed").length,w=e("body").hasClass("mysticky-welcomebar-apper");if(u&&parseInt(l)>=0&&"top"==m&&w){var L=p;x=0}else L="";if(t>=o&&(0==s||t<=s)){var C=g?window.scrollY:document.documentElement.scrollTop;if(0==document.documentElement.scrollTop&&h.classList.remove("wrapfixed"),0<=C){if(C>=b)C>=d&&i.classList.add("myfixed"),C>=d&&h.classList.add("wrapfixed"),C>=d&&(c.style.height=y+"px"),C>=d&&(i.style.width=v+"px"),"slide"==n&&("false"==r&&(h.style.top=C>=d+f-x?x+L+"px":"-"+f+"px"),y>f&&"false"==r&&(C<d+f&&(h.style.top="-"+y+"px"),C>=d+f&&(h.style.top=x+L+"px"))),h.classList.add("down"),h.classList.remove("up"),"on"==r&&(h.style.top="-"+(y+x)+"px",jQuery("#mysticky-nav "+option.mystickyClass+".elementor-sticky").hide());else{var E=g?window.scrollY:document.documentElement.scrollTop;!(E>k)&&(c.style.height=""),!(E>k)&&(i.style.width=""),"slide"==n?(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed"),"false"==r&&E<k+f+200-x&&(h.style.top="-"+f+"px")):(!(E>k)&&i.classList.remove("myfixed"),!(E>k)&&h.classList.remove("wrapfixed")),h.classList.remove("down"),h.classList.add("up"),"on"==r&&(h.style.top=x+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",N),window.addEventListener("orientationchange",N)}else console.log("myStickymenu: Entered Sticky Class does not exist, change it in Dashboard / Settings / myStickymenu / Sticky Class. ");function C(e){e=window;var i="inner";"innerWidth"in window||(i="client",e=document.documentElement||document.body),t=e[i+"Width"]}function E(){y=i.offsetHeight,parseInt(e(i).css("marginBottom"))>0&&(c.style.marginBottom=e(i).css("marginBottom")),"0"==y&&e(i).children().filter(":visible").each(function(){y=e(this).outerHeight(!0)})}function B(){i.classList.add("myfixed"),"0"==(f=e(".myfixed").outerHeight())&&e(".myfixed").children().filter(":visible").each(function(){f=e(this).outerHeight(!0)}),i.classList.remove("myfixed")}function S(){x="true"==a&&t>600&&e("#wpadminbar")[0]?e("#wpadminbar").height():0,h.style.top="slide"==n?"-"+f+"px":x+"px"}function I(){var t=e(i)[0].getBoundingClientRect();v=t.width}function P(){1==w&&("slide"==n&&(d=e(i).offset().top+y-x,k=e(i).offset().top+y-x,"on"==r&&(k=e(i).offset().top-x)),"fade"==n&&("false"==r&&(d=e(i).offset().top-x,k=e(i).offset().top-x),"on"==r&&(d=e(i).offset().top-x+y,k=e(i).offset().top-x)))}function H(){1==w&&y>f&&("slide"==n?(k=d,"on"==r&&(k=d-f)):(d=y,k=y))}function N(){e(window).width()!=L&&(h.classList.remove("up"),h.classList.remove("down"),e(".wrapfixed")[0]||(E(),i.style.removeProperty("width"),I()),C(),S(),B(),P(),H())}})}();
!function($){jQuery("body").find(".splw-lite-wrapper.lw-preloader-wrapper").each((function(){var lw_id=$(this).parent(".splw-main-wrapper").attr("id"),parents_siblings_id=$("#"+lw_id).find(".lw-preloader").attr("id");$(document).ready((function(){$("#"+parents_siblings_id).animate({opacity:0},600,(function(){$(this).remove()}))}))}))}(jQuery);
!function(t){"use strict";if("function"==typeof define&&define.amd)define(["jquery"],t);else if("object"==typeof exports)t(require("jquery"));else{if("undefined"==typeof jQuery)throw"jquery-numerator requires jQuery to be loaded first";t(jQuery)}}(function(t){function e(e,s){this.element=e,this.settings=t.extend({},i,s),this._defaults=i,this._name=n,this.init()}var n="numerator",i={easing:"swing",duration:500,delimiter:void 0,rounding:0,toValue:void 0,fromValue:void 0,queue:!1,onStart:function(){},onStep:function(){},onProgress:function(){},onComplete:function(){}};e.prototype={init:function(){this.parseElement(),this.setValue()},parseElement:function(){var e=t.trim(t(this.element).text());this.settings.fromValue=this.settings.fromValue||this.format(e)},setValue:function(){var e=this;t({value:e.settings.fromValue}).animate({value:e.settings.toValue},{duration:parseInt(e.settings.duration,10),easing:e.settings.easing,start:e.settings.onStart,step:function(n,i){t(e.element).text(e.format(n)),e.settings.onStep(n,i)},progress:e.settings.onProgress,complete:e.settings.onComplete})},format:function(t){var e=this;return t=parseInt(this.settings.rounding)<1?parseInt(t,10):parseFloat(t).toFixed(parseInt(this.settings.rounding)),e.settings.delimiter?this.delimit(t):t},delimit:function(t){var e=this;if(t=t.toString(),e.settings.rounding&&parseInt(e.settings.rounding,10)>0){var n=t.substring(t.length-(e.settings.rounding+1),t.length),i=t.substring(0,t.length-(e.settings.rounding+1));return e.addDelimiter(i)+n}return e.addDelimiter(t)},addDelimiter:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.settings.delimiter)}},t.fn[n]=function(i){return this.each(function(){t.data(this,"plugin_"+n)&&t.data(this,"plugin_"+n,null),t.data(this,"plugin_"+n,new e(this,i))})}});
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=101)}({101:function(e,t,n){"use strict";n.r(t);var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(e,t){return function(n,i,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(o(n)&&r(i))if("function"==typeof a)if("number"==typeof s){var c={callback:a,priority:s,namespace:i};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach((function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++}))}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,i,a,s)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,a){var s=e[t];if(o(i)&&(n||r(a))){if(!s[i])return 0;var l=0;if(n)l=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else for(var c=s[i].handlers,u=function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach((function(t){t.name===i&&t.currentIndex>=e&&t.currentIndex--})))},d=c.length-1;d>=0;d--)u(d);return"hookRemoved"!==i&&e.doAction("hookRemoved",i,a),l}}};var s=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!i||!i.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(o.__current.push(c);c.currentIndex<i.length;){var u=i[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return o.__current.pop(),n?s[0]:void 0}};var c=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var u=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var d=function(e,t){return function(n){var r=e[t];if(o(n))return r[n]&&r[n].runs?r[n].runs:0}},f=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=i(this,"actions"),this.addFilter=i(this,"filters"),this.removeAction=a(this,"actions"),this.removeFilter=a(this,"filters"),this.hasAction=s(this,"actions"),this.hasFilter=s(this,"filters"),this.removeAllActions=a(this,"actions",!0),this.removeAllFilters=a(this,"filters",!0),this.doAction=l(this,"actions"),this.applyFilters=l(this,"filters",!0),this.currentAction=c(this,"actions"),this.currentFilter=c(this,"filters"),this.doingAction=u(this,"actions"),this.doingFilter=u(this,"filters"),this.didAction=d(this,"actions"),this.didFilter=d(this,"filters")};var h=function(){return new f},p=h();p.addAction,p.addFilter,p.removeAction,p.removeFilter,p.hasAction,p.hasFilter,p.removeAllActions,p.removeAllFilters,p.doAction,p.applyFilters,p.currentAction,p.currentFilter,p.doingAction,p.doingFilter,p.didAction,p.didFilter,p.actions,p.filters;function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.isEditMode=!1,window.eael=window.ea={hooks:h(),isEditMode:!1,elementStatusCheck:function(e){return!(!window.eaElementList||!(e in window.eaElementList))||(window.eaElementList=y(y({},window.eaElementList),{},g({},e,!0)),!1)},debounce:function(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}}},eael.hooks.addAction("widgets.reinit","ea",(function(e){var t=jQuery(".eael-filter-gallery-container",e),n=jQuery(".eael-post-grid:not(.eael-post-carousel)",e),r=jQuery(".eael-twitter-feed-masonry",e),o=jQuery(".eael-instafeed",e),i=jQuery(".premium-gallery-container",e),a=jQuery(".eael-event-calendar-cls",e),s=jQuery(".eael-testimonial-slider",e),l=jQuery(".eael-tm-carousel",e),c=jQuery(".eael-post-carousel:not(.eael-post-grid)",e),u=jQuery(".eael-logo-carousel",e),d=jQuery(".eael-twitter-feed-carousel",e);t.length&&t.isotope("layout"),n.length&&n.isotope("layout"),r.length&&r.isotope("layout"),o.length&&o.isotope("layout"),i.length&&i.isotope("layout"),a.length&&eael.hooks.doAction("eventCalendar.reinit"),s.length&&eael.hooks.doAction("testimonialSlider.reinit"),l.length&&eael.hooks.doAction("teamMemberCarousel.reinit"),c.length&&eael.hooks.doAction("postCarousel.reinit"),u.length&&eael.hooks.doAction("logoCarousel.reinit"),d.length&&eael.hooks.doAction("twitterCarousel.reinit")}));var b,w=function(e){window.dispatchEvent(new Event("resize")),(e="object"===v(e)?e:jQuery(e)).find(".swiper-wrapper").each((function(){var e=jQuery(this).css("transform");jQuery(this).css("transform",e)}))};eael.hooks.addAction("ea-advanced-tabs-triggered","ea",w),eael.hooks.addAction("ea-advanced-accordion-triggered","ea",w),jQuery(window).on("elementor/frontend/init",(function(){window.isEditMode=elementorFrontend.isEditMode(),window.eael.isEditMode=elementorFrontend.isEditMode(),eael.hooks.doAction("init"),eael.isEditMode&&eael.hooks.doAction("editMode.init")})),function(e){eael.getToken=function(){localize.nonce&&!eael.noncegenerated&&e.ajax({url:localize.ajaxurl,type:"post",data:{action:"eael_get_token"},success:function(e){e.success&&(localize.nonce=e.data.nonce,eael.noncegenerated=!0)}})},eael.sanitizeURL=function(e){if(e.startsWith("/")||e.startsWith("#"))return e;try{var t=new URL(e);if(!["http:","https:","ftp:","ftps:","mailto:","news:","irc:","irc6:","ircs:","gopher:","nntp:","feed:","telnet:","mms:","rtsp:","sms:","svn:","tel:","fax:","xmpp:","webcal:","urn:"].includes(t.protocol))throw new Error("Invalid protocol");return t.toString()}catch(e){return console.error("Error sanitizing URL:",e.message),"#"}};var t=!0;window.addEventListener("hashchange",(function(){if(t){var e=window.location.hash.substr(1);"undefined"!==(e="safari"===e?"eael-safari":e)&&e&&jQuery("#"+e).trigger("click")}})),e("a").on("click",(function(n){var r,o=e(this).attr("href");(r=(o=void 0===o?"":o).startsWith("#"))||(r=(o=o.replace(localize.page_permalink,"")).startsWith("#")),r&&(t=!1,setTimeout((function(){t=!0}),100));try{if(o.startsWith("#!")){var i=o.replace("#!","#");e(i).trigger("click")}else if(r&&(e(o).hasClass("eael-tab-item-trigger")||e(o).hasClass("eael-accordion-header"))&&(e(o).trigger("click"),void 0!==o&&o)){var a=e(o).closest(".eael-advance-tabs");if(a.length>0){var s=a.data("custom-id-offset");s=s?parseFloat(s):0,e("html, body").animate({scrollTop:e(o).offset().top-s},300)}}}catch(e){}})),e(document).on("click",".e-n-tab-title",(function(){setTimeout((function(){window.dispatchEvent(new Event("resize"))}),100)}))}(jQuery),(b=jQuery)(document).on("click",".theme-savoy .eael-product-popup .nm-qty-minus, .theme-savoy .eael-product-popup .nm-qty-plus",(function(e){var t=b(this),n=t.closest(".quantity").find(".qty"),r=parseFloat(n.val()),o=parseFloat(n.attr("max")),i=parseFloat(n.attr("min")),a=n.attr("step");r&&""!==r&&"NaN"!==r||(r=0),""!==o&&"NaN"!==o||(o=""),""!==i&&"NaN"!==i||(i=0),"any"!==a&&""!==a&&void 0!==a&&"NaN"!==parseFloat(a)||(a=1),t.hasClass("nm-qty-plus")?o&&(o==r||r>o)?n.val(o):n.val(r+parseFloat(a)):i&&(i==r||r<i)?n.val(i):r>0&&n.val(r-parseFloat(a))})),function(e){e.fn.isInViewport=function(){if(e(this).length<1)return!1;var t=e(this).offset().top,n=t+e(this).outerHeight()/2,r=e(window).scrollTop(),o=r+e(window).height()/2;return n>r&&t<o},e(document).ready((function(){var e=new URLSearchParams(location.search);if(e.has("popup-selector")&&(e.has("eael-lostpassword")||e.has("eael-resetpassword"))){var t=e.get("popup-selector");t.length&&(t=t.replace(/_/g," "),setTimeout((function(){jQuery(t).trigger("click")}),300))}}))}(jQuery)}});
!function(v){v.snowfall=function(n,a){var t,a=v.extend({flakeCount:35,flakeColor:"#ffffff",flakeIndex:999999,minSize:1,maxSize:2,minSpeed:1,maxSpeed:5,round:!1,shadow:!1,collection:!1,collectionHeight:40,deviceorientation:!1},a),o=function t(e,i){return Math.round(e+Math.random()*(i-e))};function e(t,e,i,s,h){this.id=h,this.x=t,this.y=e,this.size=i,this.speed=s,this.step=0,this.stepSize=o(1,10)/100,a.collection&&(this.target=c[o(0,c.length-1)]);var s=v(document.createElement("div")).attr({class:"snowfall-flakes",id:"flake-"+this.id}).css({width:this.size,height:this.size,background:a.flakeColor,position:"absolute",top:this.y,left:this.x,fontSize:0,zIndex:a.flakeIndex});v(n).get(0).tagName===v(document).get(0).tagName?(v("body").append(s),n=v("body")):v(n).append(s),this.element=document.getElementById("flake-"+this.id),this.update=function(){if(this.y+=this.speed,this.y>l-(this.size+6)&&this.reset(),this.element.style.top=this.y+"px",this.element.style.left=this.x+"px",this.step+=this.stepSize,this.x+=!1===y?Math.cos(this.step):y+Math.cos(this.step),a.collection&&this.x>this.target.x&&this.x<this.target.width+this.target.x&&this.y>this.target.y&&this.y<this.target.height+this.target.y){var t=this.target.element.getContext("2d"),e=this.x-this.target.x,i=this.y-this.target.y,s=this.target.colData;if(void 0!==s[parseInt(e)][parseInt(i+this.speed+this.size)]||i+this.speed+this.size>this.target.height)if(i+this.speed+this.size>this.target.height){for(;i+this.speed+this.size>this.target.height&&0<this.speed;)this.speed*=.5;t.fillStyle="#fff",null==s[parseInt(e)][parseInt(i+this.speed+this.size)]?(s[parseInt(e)][parseInt(i+this.speed+this.size)]=1,t.fillRect(e,i+this.speed+this.size,this.size,this.size)):(s[parseInt(e)][parseInt(i+this.speed)]=1,t.fillRect(e,i+this.speed,this.size,this.size)),this.reset()}else this.speed=1,this.stepSize=0,parseInt(e)+1<this.target.width&&null==s[parseInt(e)+1][parseInt(i)+1]?this.x++:0<parseInt(e)-1&&null==s[parseInt(e)-1][parseInt(i)+1]?this.x--:(t.fillStyle="#fff",t.fillRect(e,i,this.size,this.size),s[parseInt(e)][parseInt(i)]=1,this.reset())}(this.x>d-r||this.x<r)&&this.reset()},this.reset=function(){this.y=0,this.x=o(r,d-r),this.stepSize=o(1,10)/100,this.size=o(100*a.minSize,100*a.maxSize)/100,this.speed=o(a.minSpeed,a.maxSpeed)}}v(n).data("snowfall",this);var i=[],s=0,h=0,l=v(n).height(),d=v(n).width(),r=0,p=0;if(!1!==a.collection){var f=document.createElement("canvas");if(f.getContext&&f.getContext("2d"))for(var c=[],g=v(a.collection),x=a.collectionHeight,h=0;h<g.length;h++){var u=g[h].getBoundingClientRect(),m=document.createElement("canvas"),z=[];if(0<u.top-x){document.body.appendChild(m),m.style.position="absolute",m.height=x,m.width=u.width,m.style.left=u.left+"px",m.style.top=u.top-x+"px";for(var w=0;w<u.width;w++)z[w]=[];c.push({element:m,x:u.left,y:u.top-x,width:u.width,height:x,colData:z})}}else a.collection=!1}for(v(n).get(0).tagName===v(document).get(0).tagName&&(r=25),v(window).bind("resize",function(){l=v(n).height(),d=v(n).width()}),h=0;h<a.flakeCount;h+=1)s=i.length,i.push(new e(o(r,d-r),o(0,l),o(100*a.minSize,100*a.maxSize)/100,o(a.minSpeed,a.maxSpeed),s));a.round&&v(".snowfall-flakes").css({"-moz-border-radius":a.maxSize,"-webkit-border-radius":a.maxSize,"border-radius":a.maxSize}),a.shadow&&v(".snowfall-flakes").css({"-moz-box-shadow":"1px 1px 1px #555","-webkit-box-shadow":"1px 1px 1px #555","box-shadow":"1px 1px 1px #555"});var y=!1;function S(){for(h=0;h<i.length;h+=1)i[h].update();p=setTimeout(function(){S()},30)}a.deviceorientation&&v(window).bind("deviceorientation",function(t){y=.1*t.originalEvent.gamma}),S(),this.clear=function(){v(n).children(".snowfall-flakes").remove(),i=[],clearTimeout(p)}},v.fn.snowfall=function(e){return"object"==typeof e||null==e?this.each(function(t){new v.snowfall(this,e)}):"string"==typeof e?this.each(function(t){var e=v(this).data("snowfall");e&&e.clear()}):void 0}}(jQuery);
!function(s){s.fn.snow=function(l){var r=s('<div class="we-flake" />').css({position:"absolute",top:"0px",bottom:"0px","z-index":"999999"}),f=s(document).height(),m=s(document).width(),d={flakeChar:"&#10054;",minSize:10,maxSize:20,newOn:500,flakeColor:["#ffffff"],durationMillis:null},l=s.extend({},d,l);r.html(l.flakeChar);var o=setInterval(function(){var o=Math.random()*m-100,n=.5+Math.random(),a=l.minSize+Math.random()*l.maxSize,e=f-d.maxSize-40,t=o-100+200*Math.random(),i=10*f+5e3*Math.random();r.clone().appendTo("body").css({left:o,opacity:n,"font-size":a,color:l.flakeColor[Math.floor(Math.random()*l.flakeColor.length)]}).animate({top:e,left:t,opacity:.2},i,"linear",function(){s(this).remove()})},l.newOn);l.durationMillis&&setTimeout(function(){removeInterval(o)},l.durationMillis)}}(jQuery);
Date.now || (Date.now = function() {
		return (new Date()).getTime()
}),
	function() {
		"use strict";
		for (var e = ["webkit", "moz"], t = 0; t < e.length && ! window.requestAnimationFrame; ++t) {
			var i                        = e[t];
			window.requestAnimationFrame = window[i + "RequestAnimationFrame"], window.cancelAnimationFrame = window[i + "CancelAnimationFrame"] || window[i + "CancelRequestAnimationFrame"]
		}
		if (/iP(ad|hone|od).*OS 6/.test( window.navigator.userAgent ) || ! window.requestAnimationFrame || ! window.cancelAnimationFrame) {
			var n                          = 0;
			window.requestAnimationFrame   = function(e) {
				var t = Date.now(),
					i = Math.max( n + 16, t );
				return setTimeout(
					function() {
						e( n = i )
					},
					i - t
				)
			}, window.cancelAnimationFrame = clearTimeout
		}
	}();
	var snowFall      = function() {
		function e() {
			var e = {
				flakeCount: 35,
				flakeColor: "#ffffff",
				flakeIndex: 999999,
				flakePosition: "absolute",
				minSize: 1,
				maxSize: 2,
				minSpeed: 1,
				maxSpeed: 2,
				round: ! 1,
				shadow: ! 1,
				collection: ! 1,
				image: ! 1,
				collectionHeight: 40
			},
			t     = [],
			n     = {},
			o     = 0,
			s     = 0,
			a     = 0,
			r     = 0,
			l     = function(e, t) {
				for (var i in t) {
					e.hasOwnProperty( i ) && (e[i] = t[i])
				}
			},
			h     = function(e, t) {
				e.style.webkitTransform = t, e.style.MozTransform = t, e.style.msTransform = t, e.style.OTransform = t, e.style.transform = t
			},
			m     = function(e, t) {
				return Math.round( e + Math.random() * (t - e) )
			},
			f     = function(e, t) {
				for (var i in t) {
					e.style[i] = t[i] + ("width" == i || "height" == i ? "px" : "")
				}
			},
			d     = function(t, i, n) {
				this.x = m( a, s - a ), this.y = m( 0, o ), this.size = i, this.speed = n, this.step = 0, this.stepSize = m( 1, 10 ) / 100, e.collection && (this.target = canvasCollection[m( 0, canvasCollection.length - 1 )]);
				var r  = null;
				e.image ? (r = new Image(), r.src = e.image) : (r = document.createElement( "div" ), f(
					r,
					{
						background: e.flakeColor
					}
				)), r.className                   = "snowfall-flakes", f(
					r,
					{
						width: this.size,
						height: this.size,
						position: e.flakePosition,
						top: 0,
						left: 0,
						"will-change": "transform",
						fontSize: 0,
						zIndex: e.flakeIndex
						}
				), e.round && f(
					r,
					{
						"-moz-border-radius": ~~e.maxSize + "px",
						"-webkit-border-radius": ~~e.maxSize + "px",
						borderRadius: ~~e.maxSize + "px"
						}
				), e.shadow && f(
					r,
					{
						"-moz-box-shadow": "1px 1px 1px #555",
						"-webkit-box-shadow": "1px 1px 1px #555",
						boxShadow: "1px 1px 1px #555"
						}
				), t.tagName === document.body.tagName ? document.body.appendChild( r ) : t.appendChild( r ), this.element = r, this.update = function() {
						this.y += this.speed, this.y > o - (this.size + 6) && this.reset(), h( this.element, "translateY(" + this.y + "px) translateX(" + this.x + "px)" ), this.step += this.stepSize, this.x += Math.cos( this.step ), (this.x + this.size > s - a || this.x < a) && this.reset()
				}, this.reset = function() {
					this.y = 0, this.x = m( a, s - a ), this.stepSize = m( 1, 10 ) / 100, this.size = m( 100 * e.minSize, 100 * e.maxSize ) / 100, this.element.style.width = this.size + "px", this.element.style.height = this.size + "px", this.speed = m( e.minSpeed, e.maxSpeed )
				}
			},
			w     = function() {
				for (var e = 0; e < t.length; e += 1) {
					t[e].update();
				}
				r                                = requestAnimationFrame(
					function() {
						w()
					}
				)
			};
			return {
				snow: function(r, h) {
					for (l( e, h ), n = r, o = n.offsetHeight, s = n.offsetWidth, n.snow = this, "body" === n.tagName.toLowerCase() && (a = 25), window.addEventListener(
						"resize",
						function() {
							o = n.clientHeight, s = n.offsetWidth
						},
						! 0
					), i = 0; i < e.flakeCount; i += 1) {
						t.push( new d( n, m( 100 * e.minSize, 100 * e.maxSize ) / 100, m( e.minSpeed, e.maxSpeed ) ) );
					}
					w()
				},
				clear: function() {
					var e = null;
					e     = n.getElementsByClassName ? n.getElementsByClassName( "snowfall-flakes" ) : n.querySelectorAll( ".snowfall-flakes" );
					for (var t = e.length; t--;) {
						e[t].parentNode === n && n.removeChild( e[t] );
					}
					cancelAnimationFrame( r )
				}
			}
		}
		return {
			snow: function(t, i) {
				if ("string" == typeof i) {
					if (t.length > 0) {
						for (var n = 0; n < t.length; n++) {
							t[n].snow && t[n].snow.clear();
						} } else {
						t.snow.clear();
						} } else if (t.length > 0) {
					for (var n = 0; n < t.length; n++) {
						( new e() ).snow( t[n], i );
					} } else {
							(new e()).snow( t, i )
					}
			}
		}
	}();

/*! SmartMenus jQuery Plugin - v1.2.1 - November 3, 2022
 * http://www.smartmenus.org/
 * Copyright Vasil Dinkov, Vadikom Web Ltd. http://vadikom.com; Licensed MIT */!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&"object"==typeof module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){function b(b){var i=".smartmenus_mouse";if(h||b)h&&b&&(a(document).off(i),h=!1);else{var j=!0,k=null,l={mousemove:function(b){var c={x:b.pageX,y:b.pageY,timeStamp:(new Date).getTime()};if(k){var d=Math.abs(k.x-c.x),g=Math.abs(k.y-c.y);if((d>0||g>0)&&d<=4&&g<=4&&c.timeStamp-k.timeStamp<=300&&(f=!0,j)){var h=a(b.target).closest("a");h.is("a")&&a.each(e,function(){if(a.contains(this.$root[0],h[0]))return this.itemEnter({currentTarget:h[0]}),!1}),j=!1}}k=c}};l[g?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(a){c(a.originalEvent)&&(f=!1)},a(document).on(d(l,i)),h=!0}}function c(a){return!/^(4|mouse)$/.test(a.pointerType)}function d(a,b){b||(b="");var c={};for(var d in a)c[d.split(" ").join(b+" ")+b]=a[d];return c}var e=[],f=!1,g="ontouchstart"in window,h=!1,i=window.requestAnimationFrame||function(a){return setTimeout(a,1e3/60)},j=window.cancelAnimationFrame||function(a){clearTimeout(a)},k=!!a.fn.animate;return a.SmartMenus=function(b,c){this.$root=a(b),this.opts=c,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in b.style||"webkitPerspective"in b.style,this.wasCollapsible=!1,this.init()},a.extend(a.SmartMenus,{hideAll:function(){a.each(e,function(){this.menuHideAll()})},destroy:function(){for(;e.length;)e[0].destroy();b(!0)},prototype:{init:function(c){var f=this;if(!c){e.push(this),this.rootId=((new Date).getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var g=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(d({"mouseover focusin":a.proxy(this.rootOver,this),"mouseout focusout":a.proxy(this.rootOut,this),keydown:a.proxy(this.rootKeyDown,this)},g)).on(d({mouseenter:a.proxy(this.itemEnter,this),mouseleave:a.proxy(this.itemLeave,this),mousedown:a.proxy(this.itemDown,this),focus:a.proxy(this.itemFocus,this),blur:a.proxy(this.itemBlur,this),click:a.proxy(this.itemClick,this)},g),"a"),g+=this.rootId,this.opts.hideOnClick&&a(document).on(d({touchstart:a.proxy(this.docTouchStart,this),touchmove:a.proxy(this.docTouchMove,this),touchend:a.proxy(this.docTouchEnd,this),click:a.proxy(this.docClick,this)},g)),a(window).on(d({"resize orientationchange":a.proxy(this.winResize,this)},g)),this.opts.subIndicators&&(this.$subArrow=a("<span/>").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),b()}if(this.$firstSub=this.$root.find("ul").each(function(){f.menuInit(a(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var h=/(index|default)\.[^#\?\/]*/i,i=/#.*/,j=window.location.href.replace(h,""),k=j.replace(i,"");this.$root.find("a:not(.mega-menu a)").each(function(){var b=this.href.replace(h,""),c=a(this);b!=j&&b!=k||(c.addClass("current"),f.opts.markCurrentTree&&c.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(b){if(!b){var c=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(c),c+=this.rootId,a(document).off(c),a(window).off(c),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var d=this;this.$root.find("ul").each(function(){var b=a(this);b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.dataSM("shown-before")&&((d.opts.subMenusMinWidth||d.opts.subMenusMaxWidth)&&b.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),b.dataSM("scroll-arrows")&&b.dataSM("scroll-arrows").remove(),b.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(b.attr("id")||"").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var b=a(this);0==b.attr("id").indexOf(d.accessIdPrefix)&&b.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),b||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),e.splice(a.inArray(this,e),1))},disable:function(b){if(!this.disabled){if(this.menuHideAll(),!b&&!this.opts.isPopup&&this.$root.is(":visible")){var c=this.$root.offset();this.$disableOverlay=a('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(b){return this.$touchScrollingSub?void(this.$touchScrollingSub=null):void((this.visibleSubMenus.length&&!a.contains(this.$root[0],b.target)||a(b.target).closest("a").length)&&this.menuHideAll())},docTouchEnd:function(b){if(this.lastTouch){if(this.visibleSubMenus.length&&(void 0===this.lastTouch.x2||this.lastTouch.x1==this.lastTouch.x2)&&(void 0===this.lastTouch.y2||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var c=this;this.hideTimeout=setTimeout(function(){c.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(a){if(this.lastTouch){var b=a.originalEvent.touches[0];this.lastTouch.x2=b.pageX,this.lastTouch.y2=b.pageY}},docTouchStart:function(a){var b=a.originalEvent.touches[0];this.lastTouch={x1:b.pageX,y1:b.pageY,target:b.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(b){for(var c=a(b).closest("ul");c.dataSM("in-mega");)c=c.parent().closest("ul");return c[0]||null},getHeight:function(a){return this.getOffset(a,!0)},getOffset:function(a,b){var c;"none"==a.css("display")&&(c={position:a[0].style.position,visibility:a[0].style.visibility},a.css({position:"absolute",visibility:"hidden"}).show());var d=a[0].getBoundingClientRect&&a[0].getBoundingClientRect(),e=d&&(b?d.height||d.bottom-d.top:d.width||d.right-d.left);return e||0===e||(e=b?a[0].offsetHeight:a[0].offsetWidth),c&&a.hide().css(c),e},getStartZIndex:function(a){var b=parseInt(this[a?"$root":"$firstSub"].css("z-index"));return!a&&isNaN(b)&&(b=parseInt(this.$root.css("z-index"))),isNaN(b)?1:b},getTouchPoint:function(a){return a.touches&&a.touches[0]||a.changedTouches&&a.changedTouches[0]||a},getViewport:function(a){var b=a?"Height":"Width",c=document.documentElement["client"+b],d=window["inner"+b];return d&&(c=Math.min(c,d)),c},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(a){return this.getOffset(a)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(a){return this.handleEvents()&&!this.isLinkInMegaMenu(a)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var b="fixed"==this.$root.css("position");return b||this.$root.parentsUntil("body").each(function(){if("fixed"==a(this).css("position"))return b=!0,!1}),b},isLinkInMegaMenu:function(b){return a(this.getClosestMenu(b[0])).hasClass("mega-menu")},isTouchMode:function(){return!f||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(b,c){var d=b.closest("ul"),e=d.dataSM("level");if(e>1&&(!this.activatedItems[e-2]||this.activatedItems[e-2][0]!=d.dataSM("parent-a")[0])){var f=this;a(d.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(d).each(function(){f.itemActivate(a(this).dataSM("parent-a"))})}if(this.isCollapsible()&&!c||this.menuHideSubMenus(this.activatedItems[e-1]&&this.activatedItems[e-1][0]==b[0]?e:e-1),this.activatedItems[e-1]=b,this.$root.triggerHandler("activate.smapi",b[0])!==!1){var g=b.dataSM("sub");g&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(g)}},itemBlur:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&this.$root.triggerHandler("blur.smapi",c[0])},itemClick:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==c.closest("ul")[0])return this.$touchScrollingSub=null,b.stopPropagation(),!1;if(this.$root.triggerHandler("click.smapi",c[0])===!1)return!1;var d=c.dataSM("sub"),e=!!d&&2==d.dataSM("level");if(d){var f=a(b.target).is(".sub-arrow"),g=this.isCollapsible(),h=/toggle$/.test(this.opts.collapsibleBehavior),i=/link$/.test(this.opts.collapsibleBehavior),j=/^accordion/.test(this.opts.collapsibleBehavior);if(d.is(":visible")){if(!g&&this.opts.showOnClick&&e)return this.menuHide(d),this.clickActivated=!1,this.focusActivated=!1,!1;if(g&&(h||f))return this.itemActivate(c,j),this.menuHide(d),!1}else if((!i||!g||f)&&(!g&&this.opts.showOnClick&&e&&(this.clickActivated=!0),this.itemActivate(c,j),d.is(":visible")))return this.focusActivated=!0,!1}return!(!g&&this.opts.showOnClick&&e||c.hasClass("disabled")||this.$root.triggerHandler("select.smapi",c[0])===!1)&&void 0}},itemDown:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&c.dataSM("mousedown",!0)},itemEnter:function(b){var c=a(b.currentTarget);if(this.handleItemEvents(c)){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var d=this;this.showTimeout=setTimeout(function(){d.itemActivate(c)},this.opts.showOnClick&&1==c.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",c[0])}},itemFocus:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(!this.focusActivated||this.isTouchMode()&&c.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==c[0]||this.itemActivate(c,!0),this.$root.triggerHandler("focus.smapi",c[0]))},itemLeave:function(b){var c=a(b.currentTarget);this.handleItemEvents(c)&&(this.isTouchMode()||(c[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),c.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",c[0]))},menuHide:function(b){if(this.$root.triggerHandler("beforehide.smapi",b[0])!==!1&&(k&&b.stop(!0,!0),"none"!=b.css("display"))){var c=function(){b.css("z-index","")};this.isCollapsible()?k&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,b,c):b.hide(this.opts.collapsibleHideDuration,c):k&&this.opts.hideFunction?this.opts.hideFunction.call(this,b,c):b.hide(this.opts.hideDuration,c),b.dataSM("scroll")&&(this.menuScrollStop(b),b.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),b.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),b.attr({"aria-expanded":"false","aria-hidden":"true"});var d=b.dataSM("level");this.activatedItems.splice(d-1,1),this.visibleSubMenus.splice(a.inArray(b,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",b[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var a=this.opts.isPopup?1:0,b=this.visibleSubMenus.length-1;b>=a;b--)this.menuHide(this.visibleSubMenus[b]);this.opts.isPopup&&(k&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(k&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(a){for(var b=this.activatedItems.length-1;b>=a;b--){var c=this.activatedItems[b].dataSM("sub");c&&this.menuHide(c)}},menuInit:function(a){if(!a.dataSM("in-mega")){a.hasClass("mega-menu")&&a.find("ul").dataSM("in-mega",!0);for(var b=2,c=a[0];(c=c.parentNode.parentNode)!=this.$root[0];)b++;var d=a.prevAll("a").eq(-1);d.length||(d=a.prevAll().find("a").eq(-1)),d.addClass("has-submenu").dataSM("sub",a),a.dataSM("parent-a",d).dataSM("level",b).parent().dataSM("sub",a);var e=d.attr("id")||this.accessIdPrefix+ ++this.idInc,f=a.attr("id")||this.accessIdPrefix+ ++this.idInc;d.attr({id:e,"aria-haspopup":"true","aria-controls":f,"aria-expanded":"false"}),a.attr({id:f,role:"group","aria-hidden":"true","aria-labelledby":e,"aria-expanded":"false"}),this.opts.subIndicators&&d[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(b){var c,e,f=b.dataSM("parent-a"),h=f.closest("li"),i=h.parent(),j=b.dataSM("level"),k=this.getWidth(b),l=this.getHeight(b),m=f.offset(),n=m.left,o=m.top,p=this.getWidth(f),q=this.getHeight(f),r=a(window),s=r.scrollLeft(),t=r.scrollTop(),u=this.getViewportWidth(),v=this.getViewportHeight(),w=i.parent().is("[data-sm-horizontal-sub]")||2==j&&!i.hasClass("sm-vertical"),x=this.opts.rightToLeftSubMenus&&!h.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&h.is("[data-sm-reverse]"),y=2==j?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,z=2==j?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(w?(c=x?p-k-y:y,e=this.opts.bottomToTopSubMenus?-l-z:q+z):(c=x?y-k:p-y,e=this.opts.bottomToTopSubMenus?q-z-l:z),this.opts.keepInViewport){var A=n+c,B=o+e;if(x&&A<s?c=w?s-A+c:p-y:!x&&A+k>s+u&&(c=w?s+u-k-A+c:y-k),w||(l<v&&B+l>t+v?e+=t+v-l-B:(l>=v||B<t)&&(e+=t-B)),w&&(B+l>t+v+.49||B<t)||!w&&l>v+.49){var C=this;b.dataSM("scroll-arrows")||b.dataSM("scroll-arrows",a([a('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],a('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).on({mouseenter:function(){b.dataSM("scroll").up=a(this).hasClass("scroll-up"),C.menuScroll(b)},mouseleave:function(a){C.menuScrollStop(b),C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){a.preventDefault()}}).insertAfter(b));var D=".smartmenus_scroll";if(b.dataSM("scroll",{y:this.cssTransforms3d?0:e-q,step:1,itemH:q,subH:l,arrowDownH:this.getHeight(b.dataSM("scroll-arrows").eq(1))}).on(d({mouseover:function(a){C.menuScrollOver(b,a)},mouseout:function(a){C.menuScrollOut(b,a)},"mousewheel DOMMouseScroll":function(a){C.menuScrollMousewheel(b,a)}},D)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:c+(parseInt(b.css("border-left-width"))||0),width:k-(parseInt(b.css("border-left-width"))||0)-(parseInt(b.css("border-right-width"))||0),zIndex:b.css("z-index")}).eq(w&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var E={};E[g?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(a){C.menuScrollTouch(b,a)},b.css({"touch-action":"none","-ms-touch-action":"none"}).on(d(E,D))}}}b.css({top:"auto",left:"0",marginLeft:c,marginTop:e-q})},menuScroll:function(a,b,c){var d,e=a.dataSM("scroll"),g=a.dataSM("scroll-arrows"),h=e.up?e.upEnd:e.downEnd;if(!b&&e.momentum){if(e.momentum*=.92,d=e.momentum,d<.5)return void this.menuScrollStop(a)}else d=c||(b||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(e.step));var j=a.dataSM("level");if(this.activatedItems[j-1]&&this.activatedItems[j-1].dataSM("sub")&&this.activatedItems[j-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(j-1),e.y=e.up&&h<=e.y||!e.up&&h>=e.y?e.y:Math.abs(h-e.y)>d?e.y+(e.up?d:-d):h,a.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+e.y+"px, 0)",transform:"translate3d(0, "+e.y+"px, 0)"}:{marginTop:e.y}),f&&(e.up&&e.y>e.downEnd||!e.up&&e.y<e.upEnd)&&g.eq(e.up?1:0).show(),e.y==h)f&&g.eq(e.up?0:1).hide(),this.menuScrollStop(a);else if(!b){this.opts.scrollAccelerate&&e.step<this.opts.scrollStep&&(e.step+=.2);var k=this;this.scrollTimeout=i(function(){k.menuScroll(a)})}},menuScrollMousewheel:function(a,b){if(this.getClosestMenu(b.target)==a[0]){b=b.originalEvent;var c=(b.wheelDelta||-b.detail)>0;a.dataSM("scroll-arrows").eq(c?0:1).is(":visible")&&(a.dataSM("scroll").up=c,this.menuScroll(a,!0))}b.preventDefault()},menuScrollOut:function(b,c){f&&(/^scroll-(up|down)/.test((c.relatedTarget||"").className)||(b[0]==c.relatedTarget||a.contains(b[0],c.relatedTarget))&&this.getClosestMenu(c.relatedTarget)==b[0]||b.dataSM("scroll-arrows").css("visibility","hidden"))},menuScrollOver:function(b,c){if(f&&!/^scroll-(up|down)/.test(c.target.className)&&this.getClosestMenu(c.target)==b[0]){this.menuScrollRefreshData(b);var d=b.dataSM("scroll"),e=a(window).scrollTop()-b.dataSM("parent-a").offset().top-d.itemH;b.dataSM("scroll-arrows").eq(0).css("margin-top",e).end().eq(1).css("margin-top",e+this.getViewportHeight()-d.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(b){var c=b.dataSM("scroll"),d=a(window).scrollTop()-b.dataSM("parent-a").offset().top-c.itemH;this.cssTransforms3d&&(d=-(parseFloat(b.css("margin-top"))-d)),a.extend(c,{upEnd:d,downEnd:d+this.getViewportHeight()-c.subH})},menuScrollStop:function(a){if(this.scrollTimeout)return j(this.scrollTimeout),this.scrollTimeout=0,a.dataSM("scroll").step=1,!0},menuScrollTouch:function(b,d){if(d=d.originalEvent,c(d)){var e=this.getTouchPoint(d);if(this.getClosestMenu(e.target)==b[0]){var f=b.dataSM("scroll");if(/(start|down)$/i.test(d.type))this.menuScrollStop(b)?(d.preventDefault(),this.$touchScrollingSub=b):this.$touchScrollingSub=null,this.menuScrollRefreshData(b),a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp});else if(/move$/i.test(d.type)){var g=void 0!==f.touchY?f.touchY:f.touchStartY;if(void 0!==g&&g!=e.pageY){this.$touchScrollingSub=b;var h=g<e.pageY;void 0!==f.up&&f.up!=h&&a.extend(f,{touchStartY:e.pageY,touchStartTime:d.timeStamp}),a.extend(f,{up:h,touchY:e.pageY}),this.menuScroll(b,!0,Math.abs(e.pageY-g))}d.preventDefault()}else void 0!==f.touchY&&((f.momentum=15*Math.pow(Math.abs(e.pageY-f.touchStartY)/(d.timeStamp-f.touchStartTime),2))&&(this.menuScrollStop(b),this.menuScroll(b),d.preventDefault()),delete f.touchY)}}},menuShow:function(a){if((a.dataSM("beforefirstshowfired")||(a.dataSM("beforefirstshowfired",!0),this.$root.triggerHandler("beforefirstshow.smapi",a[0])!==!1))&&this.$root.triggerHandler("beforeshow.smapi",a[0])!==!1&&(a.dataSM("shown-before",!0),k&&a.stop(!0,!0),!a.is(":visible"))){var b=a.dataSM("parent-a"),c=this.isCollapsible();if((this.opts.keepHighlighted||c)&&b.addClass("highlighted"),c)a.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(a.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(a.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&a.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var d=this.getWidth(a);a.css("max-width",this.opts.subMenusMaxWidth),d>this.getWidth(a)&&a.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(a)}var e=function(){a.css("overflow","")};c?k&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,a,e):a.show(this.opts.collapsibleShowDuration,e):k&&this.opts.showFunction?this.opts.showFunction.call(this,a,e):a.show(this.opts.showDuration,e),b.attr("aria-expanded","true"),a.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(a),this.$root.triggerHandler("show.smapi",a[0])}},popupHide:function(a){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},a?1:this.opts.hideTimeout)},popupShow:function(a,b){if(!this.opts.isPopup)return void alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),k&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:a,top:b});var c=this,d=function(){c.$root.css("overflow","")};k&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,d):this.$root.show(this.opts.showDuration,d),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(b){if(this.handleEvents())switch(b.keyCode){case 27:var c=this.activatedItems[0];if(c){this.menuHideAll(),c[0].focus();var d=c.dataSM("sub");d&&this.menuHide(d)}break;case 32:var e=a(b.target);if(e.is("a")&&this.handleItemEvents(e)){var d=e.dataSM("sub");d&&!d.is(":visible")&&(this.itemClick({currentTarget:b.target}),b.preventDefault())}}},rootOut:function(a){if(this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var b=this;this.hideTimeout=setTimeout(function(){b.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(a){this.handleEvents()&&!this.isTouchMode()&&a.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(a){if(this.handleEvents()){if(!("onorientationchange"in window)||"orientationchange"==a.type){var b=this.isCollapsible();this.wasCollapsible&&b||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=b}}else if(this.$disableOverlay){var c=this.$root.offset();this.$disableOverlay.css({top:c.top,left:c.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}}}}),a.fn.dataSM=function(a,b){return b?this.data(a+"_smartmenus",b):this.data(a+"_smartmenus")},a.fn.removeDataSM=function(a){return this.removeData(a+"_smartmenus")},a.fn.smartmenus=function(b){if("string"==typeof b){var c=arguments,d=b;return Array.prototype.shift.call(c),this.each(function(){var b=a(this).data("smartmenus");b&&b[d]&&b[d].apply(b,c)})}return this.each(function(){var c=a(this).data("sm-options")||null;c&&"object"!=typeof c&&(c=null,alert('ERROR\n\nSmartMenus jQuery init:\nThe value of the "data-sm-options" attribute must be valid JSON.')),c&&a.each(["showFunction","hideFunction","collapsibleShowFunction","collapsibleHideFunction"],function(){this in c&&delete c[this]}),new a.SmartMenus(this,a.extend({},a.fn.smartmenus.defaults,b,c))})},a.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(a,b){a.fadeOut(200,b)},collapsibleShowDuration:0,collapsibleShowFunction:function(a,b){a.slideDown(200,b)},collapsibleHideDuration:0,collapsibleHideFunction:function(a,b){a.slideUp(200,b)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},a});

!function(t){var o=function(o,s){var i,e,n,r,a=!1,c=!1,f=!1,p={},l={to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"sticky",stickyActive:"sticky-active",stickyEffects:"sticky-effects",spacer:"sticky-spacer"},isRTL:!1,handleScrollbarWidth:!1},d=function(t,o,s){var i={},e=t[0].style;s.forEach((function(t){i[t]=void 0!==e[t]?e[t]:""})),t.data("css-backup-"+o,i)},m=function(t,o){return t.data("css-backup-"+o)};const u=()=>{if(r=b(i,"width"),n=i.offset().left,e.isRTL){const t=e.handleScrollbarWidth?window.innerWidth:document.body.offsetWidth;n=Math.max(t-r-n,0)}};var h=function(){p.$spacer=i.clone().addClass(e.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),i.after(p.$spacer)},y=function(){p.$spacer.remove()},k=function(){d(i,"unsticky",["position","width","margin-top","margin-bottom","top","bottom","inset-inline-start"]);const t={position:"fixed",width:r,marginTop:0,marginBottom:0};t[e.to]=e.offset,t["top"===e.to?"bottom":"top"]="",n&&(t["inset-inline-start"]=n+"px"),i.css(t).addClass(e.classes.stickyActive)},v=function(){i.css(m(i,"unsticky")).removeClass(e.classes.stickyActive)},b=function(t,o,s){var i=getComputedStyle(t[0]),e=parseFloat(i[o]),n="height"===o?["top","bottom"]:["left","right"],r=[];return"border-box"!==i.boxSizing&&r.push("border","padding"),s&&r.push("margin"),r.forEach((function(t){n.forEach((function(o){e+=parseFloat(i[t+"-"+o])}))})),e},w=function(t){var o=p.$window.scrollTop(),s=b(t,"height"),i=innerHeight,e=t.offset().top-o,n=e-i;return{top:{fromTop:e,fromBottom:n},bottom:{fromTop:e+s,fromBottom:n+s}}},g=function(){v(),y(),a=!1,i.trigger("sticky:unstick")},$=function(){var t=w(i),o="top"===e.to;if(c){(o?t.top.fromTop>e.offset:t.bottom.fromBottom<-e.offset)&&(p.$parent.css(m(p.$parent,"childNotFollowing")),i.css(m(i,"notFollowing")),c=!1)}else{var s=w(p.$parent),a=getComputedStyle(p.$parent[0]),f=parseFloat(a[o?"borderBottomWidth":"borderTopWidth"]),l=o?s.bottom.fromTop-f:s.top.fromBottom+f;(o?l<=t.bottom.fromTop:l>=t.top.fromBottom)&&function(){d(p.$parent,"childNotFollowing",["position"]),p.$parent.css("position","relative"),d(i,"notFollowing",["position","inset-inline-start","top","bottom"]);const t={position:"absolute"};if(n=p.$spacer.position().left,e.isRTL){const t=i.parent().outerWidth(),o=p.$spacer.position().left;r=p.$spacer.outerWidth(),n=Math.max(t-r-o,0)}t["inset-inline-start"]=n+"px",t[e.to]="",t["top"===e.to?"bottom":"top"]=0,i.css(t),c=!0}()}},T=function(){var t,o=e.offset;if(a){var s=w(p.$spacer);t="top"===e.to?s.top.fromTop-o:-s.bottom.fromBottom-o,e.parent&&$(),t>0&&g()}else{var n=w(i);(t="top"===e.to?n.top.fromTop-o:-n.bottom.fromBottom-o)<=0&&(u(),h(),k(),a=!0,i.trigger("sticky:stick"),e.parent&&$())}!function(t){f&&-t<e.effectsOffset?(i.removeClass(e.classes.stickyEffects),f=!1):!f&&-t>=e.effectsOffset&&(i.addClass(e.classes.stickyEffects),f=!0)}(t)},B=function(){T()},C=function(){a&&(v(),y(),u(),h(),k(),e.parent&&(c=!1,$()))};this.destroy=function(){a&&g(),p.$window.off("scroll",B).off("resize",C),i.removeClass(e.classes.sticky)},e=jQuery.extend(!0,l,s),i=t(o).addClass(e.classes.sticky),p.$window=t(window),e.parent&&(p.$parent=i.parent(),"parent"!==e.parent&&(p.$parent=p.$parent.closest(e.parent))),p.$window.on({scroll:B,resize:C}),T()};t.fn.sticky=function(s){var i="string"==typeof s;return this.each((function(){var e=t(this);if(i){var n=e.data("sticky");if(!n)throw Error("Trying to perform the `"+s+"` method prior to initialization");if(!n[s])throw ReferenceError("Method `"+s+"` not found in sticky instance");n[s].apply(n,Array.prototype.slice.call(arguments,1)),"destroy"===s&&e.removeData("sticky")}else e.data("sticky",new o(this,s))})),this},window.Sticky=o}(jQuery);

!function($){$.fn.locationWeather=function(options){if(!this.length)return this;const defaults={descriptionTarget:null,maxTemperatureTarget:null,minTemperatureTarget:null,windSpeedTarget:null,humidityTarget:null,sunriseTarget:null,sunsetTarget:null,placeTarget:null,iconTarget:null,customIcons:null,units:"c",city:null,lat:null,lng:null,key:null,weatherDate:null,lang:"en",success:function(){},error:function(message){}},plugin=this,el=$(this);this.settings={},this.settings=$.extend({},defaults,options);const s=this.settings;function dateConverter(t){var a=new Date(1e3*t),months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],year=a.getFullYear(),month=months[a.getMonth()],date;return a.getDate()+" "+month+", "+year}const formatTime=function(unixTimestamp){const milliseconds=1e3*unixTimestamp,date=new Date(milliseconds);let hours=date.getHours();if(hours>12){let hoursRemaining;hours=12-(24-hours)}let minutes=date.getMinutes(),time;return minutes=minutes.toString(),minutes.length<2&&(minutes=0+minutes),hours+":"+minutes};let apiURL="https://api.openweathermap.org/data/2.5/weather?lang="+s.lang,weatherObj,temperature,minTemperature,maxTemperature;null!=s.city?apiURL+="&q="+s.city:null!=s.lat&&null!=s.lng&&(apiURL+="&lat="+s.lat+"&lon="+s.lng),null!=s.key&&(apiURL+="&appid="+s.key),$.ajax({type:"GET",url:apiURL,dataType:"jsonp",success:function(data){if(data){if("f"==s.units?(temperature=Math.round(1.8*(data.main.temp-273.15)+32)+"°F",minTemperature=Math.round(1.8*(data.main.temp_min-273.15)+32)+"°F",maxTemperature=Math.round(1.8*(data.main.temp_max-273.15)+32)+"°F"):(temperature=Math.round(data.main.temp-273.15)+"°C",minTemperature=Math.round(data.main.temp_min-273.15)+"°C",maxTemperature=Math.round(data.main.temp_max-273.15)+"°C"),weatherObj={city:`${data.name}, ${data.sys.country}`,temperature:{current:temperature,min:minTemperature,max:maxTemperature,units:s.units.toUpperCase()},description:data.weather[0].description,windspeed:`${Math.round(data.wind.speed)} Mps`,humidity:`${data.main.humidity}%`,sunrise:`${formatTime(data.sys.sunrise)} AM`,sunset:`${formatTime(data.sys.sunset)} PM`},el.html(temperature),null!=s.minTemperatureTarget&&$(s.minTemperatureTarget).text(minTemperature),null!=s.maxTemperatureTarget&&$(s.maxTemperatureTarget).text(maxTemperature),$(s.descriptionTarget).text(weatherObj.description),$(s.weatherDate).text(dateConverter(data.dt)),null!=s.iconTarget&&null!=data.weather[0].icon){let iconURL;if(null!=s.customIcons){const defaultIconFileName=data.weather[0].icon;let timeOfDay,iconName;timeOfDay=-1!=defaultIconFileName.indexOf("d")?"day":"night","01d"!=defaultIconFileName&&"01n"!=defaultIconFileName||(iconName="clear"),"02d"!=defaultIconFileName&&"02n"!=defaultIconFileName&&"03d"!=defaultIconFileName&&"03n"!=defaultIconFileName&&"04d"!=defaultIconFileName&&"04n"!=defaultIconFileName||(iconName="clouds"),"09d"!=defaultIconFileName&&"09n"!=defaultIconFileName||(iconName="shower-rain"),"10d"!=defaultIconFileName&&"10n"!=defaultIconFileName||(iconName="rain"),"11d"!=defaultIconFileName&&"11n"!=defaultIconFileName||(iconName="storm"),"13d"!=defaultIconFileName&&"13n"!=defaultIconFileName||(iconName="snow"),"50d"!=defaultIconFileName&&"50n"!=defaultIconFileName||(iconName="mist"),iconURL=`${s.customIcons}${timeOfDay}/${iconName}.png`}else iconURL=`https://openweathermap.org/img/w/${data.weather[0].icon}.png`;$(s.iconTarget).attr("src",iconURL)}null!=s.placeTarget&&$(s.placeTarget).text(weatherObj.city),null!=s.windSpeedTarget&&$(s.windSpeedTarget).text(weatherObj.windspeed),null!=s.humidityTarget&&$(s.humidityTarget).text(weatherObj.humidity),null!=s.sunriseTarget&&$(s.sunriseTarget).text(weatherObj.sunrise),null!=s.sunsetTarget&&$(s.sunsetTarget).text(weatherObj.sunset),s.success.call(this,weatherObj)}},error:function(jqXHR,textStatus,errorThrown){s.error.call(this,{error:textStatus})}})},$(".splw-main-wrapper:not(.splw-data-loaded)").each((function(){var lw_id=$(this).attr("id"),_this=$("#"+lw_id),shortcode_id=_this.data("shortcode-id");if("1"==splw_ajax_object.splw_skip_cache&&shortcode_id){var data={splw_nonce:splw_ajax_object.splw_nonce,action:"splw_ajax_location_weather",id:shortcode_id};_this.addClass("splw-data-loaded"),$.ajax({url:splw_ajax_object.ajax_url,data:data,type:"POST",success:function(response){response&&_this.replaceWith(response)}})}}))}(jQuery);