(()=>{"use strict";const t="undefined"!=typeof window&&"function"==typeof window.jQuery?window.jQuery:null;!function(t,e,c){function n(){var n=t.location.href,o=void 0!==e.title?e.title:"";const r=e.querySelector(".ht-ctc-chat");let s={},a={};const i=function(){let t="",e=9999;try{t=navigator.userAgent||"",e=screen.width||9999}catch(t){}return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)||e<=1025?"yes":"no"}();var _=new Map;const l=["__proto__","prototype","constructor","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],d=t=>!("string"!=typeof t||0===t.length||!/^[a-zA-Z0-9_-]+$/.test(t)||l.includes(t));function u(t,e){let c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return t&&"object"==typeof t&&d(e)&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:c}function h(t,e,c){return!(!t||"object"!=typeof t||!d(e)||(t[e]=c,0))}function p(){if(localStorage.getItem("ht_ctc_storage"))try{const t=JSON.parse(localStorage.getItem("ht_ctc_storage"));_=new Map(Object.entries(t||{}))}catch{_=new Map}else _=new Map}function y(t){return!(!d(t)||!_.has(t))&&_.get(t)}function f(t,e){if(p(),!d(t))return;_.set(t,e);const c=JSON.stringify(Object.fromEntries(_));localStorage.setItem("ht_ctc_storage",c)}function g(t){return t instanceof Element?[t]:"string"==typeof t?Array.from(e.querySelectorAll(t)):[]}p();const v={show(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";const s=g(t);if(c)return".ctc_opt_in"===t?void c(t).fadeOut(200).fadeIn(200).fadeOut(200).fadeIn(200):void c(t).show(e||void 0);s.forEach(t=>{o&&o.split(/\s+/).forEach(e=>{e.trim()&&t.classList.add(e.trim())}),r&&r.split(/\s+/).forEach(e=>{e.trim()&&t.classList.remove(e.trim())}),e?t.style.setProperty("--ht-ctc-el-duration",`${e}ms`):t.style.removeProperty("--ht-ctc-el-duration"),n&&function(t,e){if(!t||!e)return;"none"===t.style.display&&(t.style.display="");const c=e.split(/\s+/).filter(Boolean);c.forEach(e=>{t.classList.remove(e),t.offsetWidth,t.classList.add(e)});const n=()=>{c.forEach(e=>t.classList.remove(e)),t.removeEventListener("animationend",n),clearTimeout(o)},o=setTimeout(n,2e3);t.addEventListener("animationend",n)}(t,n),o||r||e||n||(t.style.display="block")})},hide(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"";const s=g(t);c?c(t).hide(e):s.forEach(t=>{o&&t.classList.add(o),r&&t.classList.remove(r),e?t.style.setProperty("--ht-ctc-el-duration",`${e}ms`):t.style.removeProperty("--ht-ctc-el-duration"),n&&t.classList.add(`ht-ctc-${n}`),o||r||e||n||(t.style.display="none")})}};function m(){e.dispatchEvent(new CustomEvent("ht_ctc_event_configure",{detail:{ctc:s,ctc_values:a}}));var t=e.querySelector(".ht_ctc_chat_data");t&&t.remove();const c={config:{ctc:s,ctc_values:a,is_mobile:i,url:n,post_title:o},api:{storage:{get:y,set:f,raw:_},ui:v,greetings:{open:E,close:S,closeAfterClick:w,initListeners:b,display:k},notifications:{display:j,stop:O},chat:{openLink:P,displaySettings:x},utils:{isSafeObjectKey:d,getSafeProperty:u,setSafeProperty:h}}};e.dispatchEvent(new CustomEvent("ht_ctc_event_init",{detail:c})),e.dispatchEvent(new CustomEvent("ht_ctc_event_settings",{detail:{ctc:s}})),function(){if(r){e.dispatchEvent(new CustomEvent("ht_ctc_event_chat")),x(r),r.addEventListener("click",function(){e.querySelector(".ht_ctc_chat_greetings_box")||P(r)}),b(),r&&r.addEventListener("click",function(t){if(t.target.closest(".ht_ctc_chat_greetings_box_link")){t.preventDefault();const c=e.querySelector("#ctc_opt");c?c.checked||y("g_optin")?(P(r),w()):v.show(".ctc_opt_in","","ht-ctc-fade-in","",""):(P(r),w()),e.dispatchEvent(new CustomEvent("ht_ctc_event_greetings"))}});const t=e.querySelector("#ctc_opt");t&&t.addEventListener("change",function(){t.checked&&(e.querySelector(".ctc_opt_in")&&v.hide(".ctc_opt_in",100),f("g_optin","y"),setTimeout(()=>{P(r),w()},500))})}}(),e.addEventListener("click",function(t){const e=t.target.closest(".ht-ctc-sc-chat");e&&P(e)}),e.addEventListener("click",function(t){const e=t.target.closest(".ctc_chat, #ctc_chat");e&&(P(e),e.classList.contains("ctc_woo_place")&&t.preventDefault());const c=t.target.closest('[href="#ctc_chat"]');c&&(t.preventDefault(),P(c))})}function b(){if(r){const t=e.querySelector(".ht_ctc_chat_greetings_box");t&&r.addEventListener("click",function(e){e.target.closest(".ht_ctc_chat_style")&&(t.classList.contains("ctc_greetings_opened")?S("user_closed"):E("user_opened"))}),r.addEventListener("click",function(t){t.target.closest(".ctc_greetings_close_btn")&&S("user_closed")})}}function k(){const t=e.querySelector(".ht_ctc_chat_greetings_box");if(t){if(s.g_device){if("yes"!==i&&"mobile"===s.g_device)return void t.remove();if("yes"===i&&"desktop"===s.g_device)return void t.remove()}e.dispatchEvent(new CustomEvent("ht_ctc_event_after_chat_displayed",{detail:{ctc:s,greetings_open:E,greetings_close:S}})),s.g_init&&"user_closed"!==y("g_user_action")&&("default"===s.g_init?"yes"!==i&&E("init"):"open"===s.g_init&&E("init"));const c=e.querySelectorAll('.ctc_greetings, #ctc_greetings, .ctc_greetings_now, [href="#ctc_greetings"]');c.length>0&&c.forEach(function(t){t.addEventListener("click",function(t){t.preventDefault(),S("element"),E("element")})})}}function E(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"open";O();const c=e.querySelector(".ht-ctc-chat .ctc_cta_stick");c&&c.remove();const n=e.querySelector(".ht_ctc_chat_greetings_box");n&&("init"===t?v.show(".ht_ctc_chat_greetings_box",70,"","ht_ctc_greetings_box_open",""):v.show(".ht_ctc_chat_greetings_box",400,"","ht_ctc_greetings_box_open",""),n.classList.add("ctc_greetings_opened"),n.classList.remove("ctc_greetings_closed")),f("g_action",t),"user_opened"===t&&f("g_user_action",t),function(){if(e.querySelector(".ctc_greetings_modal")&&!e.querySelector(".ht_ctc_modal_backdrop")){const t=e.createElement("div");function c(t){"Escape"===t.key&&(S("user_closed"),e.removeEventListener("keydown",c))}t.className="ht_ctc_modal_backdrop",e.body.appendChild(t),t.addEventListener("click",function(){S("user_closed")}),e.addEventListener("keydown",c)}}()}function w(){L(),setTimeout(()=>{S("chat_clicked")},500)}function S(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"close";L(),"element"===t?v.hide(".ht_ctc_chat_greetings_box",70,"","ht-ctc-display-unset",""):v.hide(".ht_ctc_chat_greetings_box",400,"","","ht_ctc_greetings_box_open");const c=e.querySelector(".ht_ctc_chat_greetings_box");c&&(c.classList.add("ctc_greetings_closed"),c.classList.remove("ctc_greetings_opened")),f("g_action",t),"user_closed"===t&&f("g_user_action",t)}function L(){const t=e.querySelector(".ht_ctc_modal_backdrop");t&&t.remove()}function x(t){s.schedule&&"yes"===s.schedule?e.dispatchEvent(new CustomEvent("ht_ctc_event_display",{detail:{ctc:s,display_chat:q,ht_ctc_chat:t,online_content:C}})):(q(t),C())}function q(t){if("yes"===i){if("show"===s.dis_m){const c=e.querySelector(".ht_ctc_desktop_chat");c&&c.remove(),t.style.cssText=s.pos_m+s.css,s.side_m&&t.style.setProperty("--side",s.side_m),A(t)}}else if("show"===s.dis_d){const c=e.querySelector(".ht_ctc_mobile_chat");c&&c.remove(),t.style.cssText=s.pos_d+s.css,s.side_d&&t.style.setProperty("--side",s.side_d),A(t)}}function A(t){var c=s.se;c=parseInt(s.se),isNaN(c)?v.show(t,"","","ht-ctc-display-unset",""):v.show(t,c,"","ht-ctc-display-unset",""),k(),j(),function(t){var c=t.classList.contains("ht_ctc_entry_animation")?1200:120;setTimeout(function(){t.classList.add("ht_ctc_animation",s.ani)},c);const n=e.querySelector(".ht-ctc-chat"),o=e.querySelector(".ht-ctc-chat .ht-ctc-cta-hover");n&&o&&(n.addEventListener("mouseenter",function(){v.show(".ht-ctc-chat .ht-ctc-cta-hover",120,"","ht-ctc-cta-stick","ht-ctc-opacity-hide")}),n.addEventListener("mouseleave",function(){v.hide(".ht-ctc-chat .ht-ctc-cta-hover",100,"","ht-ctc-opacity-hide","ht-ctc-cta-stick")}))}(t)}function C(){e.querySelector(".for_greetings_header_image_badge")&&(e.querySelectorAll(".for_greetings_header_image_badge").forEach(t=>{t.classList.add("g_header_badge_online")}),v.show(".for_greetings_header_image_badge","","","ht-ctc-display-unset",""))}function j(){const t=e.querySelector(".ht_ctc_notification");if(t&&"stop"!==y("n_badge")){const o=e.querySelector(".ctc_nb");if(o){const t=o.closest(".ht_ctc_style"),r=e.querySelector(".ht_ctc_badge");if(t&&r){var c,n;const e=null===(c=t.querySelector(".ctc_nb"))||void 0===c?void 0:c.getAttribute("data-nb_top"),o=null===(n=t.querySelector(".ctc_nb"))||void 0===n?void 0:n.getAttribute("data-nb_right");null!==e&&(r.style.top=e),null!==o&&(r.style.right=o)}}const r=s.n_time?1e3*s.n_time:150;setTimeout(()=>{t.style.display=""},r)}}function O(){const t=e.querySelector(".ht_ctc_notification");t&&(f("n_badge","stop"),t.remove())}function P(c){e.dispatchEvent(new CustomEvent("ht_ctc_event_number",{detail:{ctc:s}}));var r=s.number,_=s.pre_filled;if(c.hasAttribute("data-number")&&""!==c.getAttribute("data-number")&&(r=c.getAttribute("data-number")),c.hasAttribute("data-pre_filled")){const t=c.getAttribute("data-pre_filled")||"";_=(s.prefix_pre_filled?s.prefix_pre_filled:"")+t}try{_=_.replaceAll("%","%25");var l=t.location.href;_=_.replace(/\[url]/gi,l),_=encodeURIComponent(decodeURI(_))}catch(t){}if(""!==r||s.custom_url_m&&""!==s.custom_url_m||s.custom_url_d&&""!==s.custom_url_d){var p="https://wa.me/"+r+"?text="+_,y=s.url_target_d?s.url_target_d:"_blank";"yes"===i?(s.url_structure_m&&"wa_colon"===s.url_structure_m&&(p="whatsapp://send?phone="+r+"&text="+_,y="_self"),s.custom_url_m&&""!==s.custom_url_m&&(p=s.custom_url_m)):(s.url_structure_d&&"web"===s.url_structure_d&&(p="https://web.whatsapp.com/send?phone="+r+"&text="+_),s.custom_url_d&&""!==s.custom_url_d&&(p=s.custom_url_d));var f="popup"===y?"scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=788,height=514,left=100,top=100":"noopener";t.open(p,y,f),s.chat_number=r,function(){if(s.analytics&&"session"===s.analytics){if(sessionStorage.getItem("ht_ctc_analytics"))return;sessionStorage.setItem("ht_ctc_analytics","done")}function c(c){var r=s.chat_number&&""!==s.chat_number?s.chat_number:s.number;try{e.dispatchEvent(new CustomEvent("ht_ctc_event_apply_variables",{detail:{templateString:c}})),c=(c=(c=(c=void 0!==t.apply_variables_value?t.apply_variables_value:c).replace("{number}",r)).replace("{title}",o)).replace("{url}",n)}catch(t){}return c}var r="event_"+Math.floor(1e4+9e4*Math.random());s.ctc_pixel_event_id=r,e.dispatchEvent(new CustomEvent("ht_ctc_event_analytics"));var i=s.chat_number&&""!==s.chat_number?s.chat_number:s.number,_=new Map;const l=()=>Object.fromEntries(_);var p="Click to Chat for WhatsApp",y="chat: "+i,f=o+", "+n;if(s.ga){var g=s.g_an_event_name&&""!==s.g_an_event_name?s.g_an_event_name:"click to chat";g=c(g);const q=a.g_an_params_v4||a.g_an_params;Array.isArray(q)&&q.forEach(t=>{if(t){var e,n;if("object"==typeof t)e=t.key,n=t.value;else if("string"==typeof t&&d(t)){const c=u(a,t);c&&"object"==typeof c&&(e=c.key,n=c.value)}"string"==typeof e&&(e=c(e),n=c(n),d(e)&&_.set(e,n))}});var v=0,m="no",b=[];if("undefined"!=typeof dataLayer)try{"undefined"==typeof gtag&&(t.gtag=function(){dataLayer.push(...arguments)},m="yes");var k=[];function A(t,e){t&&"string"==typeof t&&""!==t.trim()&&(b.includes(t)||b.push(t))}try{var E;const C=null===(E=t.google_tag_data)||void 0===E?void 0:E.tidr;null!=C&&C.destination&&"object"==typeof C.destination&&Object.keys(C.destination).forEach(t=>{A(t)})}catch(j){}try{var w;const O=null===(w=t.google_tag_data)||void 0===w||null===(w=w.tidr)||void 0===w?void 0:w.container;O&&"object"==typeof O&&Object.values(O).forEach(t=>{Array.isArray(t.destinations)&&t.destinations.forEach(t=>{"string"==typeof t&&t.startsWith("G-")&&A(t)})})}catch(P){}try{Array.isArray(t.dataLayer)&&t.dataLayer.forEach(t=>{Array.isArray(t)&&"config"===t[0]&&"string"==typeof t[1]?A(t[1]):null!=t&&t.send_to&&"string"==typeof t.send_to&&A(t.send_to)})}catch(T){}b.forEach(function(t){var e;e=(e=t).toUpperCase(),k.includes(e)||(k.push(e),(e.startsWith("G-")||e.startsWith("GT-"))&&(_.set("send_to",e),gtag("event",g,l()),v++))})}catch(I){}0===v&&"no"===m&&("undefined"!=typeof gtag?gtag("event",g,l()):"undefined"!=typeof ga&&void 0!==ga.getAll?ga.getAll()[0].send("event",p,y,f):"undefined"!=typeof __gaTracker&&__gaTracker("send","event",p,y,f))}if("undefined"!=typeof dataLayer&&s.gtm){let M=s.gtm_event_name||"Click to chat";M=c(M);const D={};D.event=M;const N=a.gtm_params_v4||a.gtm_params;Array.isArray(N)&&N.forEach(t=>{if(!t)return;let e,n;if("object"==typeof t)e=t.key,n=t.value;else if("string"==typeof t&&d(t)){const c=u(a,t);c&&"object"==typeof c&&(e=c.key,n=c.value)}if("string"!=typeof e)return;const o=c(e),r=c(n);d(o)&&h(D,o,r)}),dataLayer.push(D)}if(s.ads&&"undefined"!=typeof gtag_report_conversion&>ag_report_conversion(),s.fb&&"undefined"!=typeof fbq){var S=s.pixel_event_name&&""!==s.pixel_event_name?s.pixel_event_name:"Click to Chat by HoliThemes",L=a.pixel_event_type&&""!==a.pixel_event_type?a.pixel_event_type:"trackCustom",x=new Map;const U=a.pixel_params_v4||a.pixel_params;Array.isArray(U)&&U.forEach(t=>{if(!t)return;let e,n;if("object"==typeof t)e=t.key,n=t.value;else if("string"==typeof t&&d(t)){const c=u(a,t);c&&"object"==typeof c&&(e=c.key,n=c.value)}"string"==typeof e&&(e=c(e),n=c(n),d(e)&&x.set(e,n))}),s.ctc_pixel_event_id="",fbq(L,S,Object.fromEntries(x),{eventID:r})}}(),function(t){var c=s&&s.hook_url;if(!c)return;if(Array.isArray(T)){const t={};T.forEach((e,c)=>{h(t,"value"+(c+1),e)}),s.hook_v=t}e.dispatchEvent(new CustomEvent("ht_ctc_event_hook",{detail:{ctc:s,number:t}}));var n=s.hook_v&&"object"==typeof s.hook_v?s.hook_v:{};let o;s.hook_url&&(c=s.hook_url);if("json"===s.webhook_format){var r=new URLSearchParams;Object.keys(n).forEach(t=>{const e=u(n,t);r.append(t,"object"==typeof e?JSON.stringify(e):e)}),o=r.toString()}else o=new URLSearchParams(n).toString();fetch(c,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded;charset=UTF-8"},body:o}).catch(t=>{})}(r),O()}else if(s.no_number){const t=e.querySelector(".ctc-no-number-message");t&&(t.style.display="block")}}"undefined"!=typeof ht_ctc_chat_var&&(s=ht_ctc_chat_var),"undefined"!=typeof ht_ctc_variables&&(a=ht_ctc_variables),0===Object.keys(s).length||0===Object.keys(a).length?function(){const c=e.querySelector(".ht_ctc_chat_data");if(0===Object.keys(s).length&&c)try{const e=(null==c?void 0:c.getAttribute("data-settings"))||"";s=JSON.parse(e),t.ht_ctc_chat_var=s}catch(t){}0===Object.keys(a).length&&(a={g_an_event_name:"click to chat",pixel_event_name:"Click to Chat by HoliThemes",pixel_event_type:"trackCustom",g_an_params:[{key:"number",value:"{number}"},{key:"title",value:"{title}"},{key:"url",value:"{url}"}],pixel_params:[{key:"Category",value:"Click to Chat for WhatsApp"},{key:"return_type",value:"chat"},{key:"ID",value:"{number}"},{key:"Title",value:"{title}"}]},t.ht_ctc_variables=a),m()}():m();var T=s.hook_v?s.hook_v:""}c||function(){const t=e.querySelector(".ht_ctc_chat_greetings_box"),c=e.querySelector(".ht_ctc_greetings");t&&c&&(c.style.setProperty("pointer-events","none"),t.classList.add("ht_ctc_greetings_box"),t.style.removeProperty("display"),t.style.setProperty("pointer-events","auto"));const n=e.querySelector(".ht-ctc-chat .ht-ctc-cta-hover");n&&(n.classList.add("ht-ctc-opacity-hide"),n.style.removeProperty("display"))}(),"loading"!==e.readyState?n():e.addEventListener("DOMContentLoaded",n)}(window,document,t)})(); /*! WOW wow.js - v1.3.0 - 2016-10-04 * https://wowjs.uk * Copyright (c) 2016 Thomas Grainger; Licensed MIT */!function(a,b){if("function"==typeof define&&define.amd)define(["module","exports"],b);else if("undefined"!=typeof exports)b(module,exports);else{var c={exports:{}};b(c,c.exports),a.WOW=c.exports}}(this,function(a,b){"use strict";function c(a,b){if(!(a instanceof b))throw new TypeError("Cannot call a class as a function")}function d(a,b){return b.indexOf(a)>=0}function e(a,b){for(var c in b)if(null==a[c]){var d=b[c];a[c]=d}return a}function f(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)}function g(a){var b=arguments.length<=1||void 0===arguments[1]?!1:arguments[1],c=arguments.length<=2||void 0===arguments[2]?!1:arguments[2],d=arguments.length<=3||void 0===arguments[3]?null:arguments[3],e=void 0;return null!=document.createEvent?(e=document.createEvent("CustomEvent"),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e}function h(a,b){null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():"on"+b in(null!=a)&&a["on"+b]()}function i(a,b,c){null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent("on"+b,c):a[b]=c}function j(a,b,c){null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent("on"+b,c):delete a[b]}function k(){return"innerHeight"in window?window.innerHeight:document.documentElement.clientHeight}Object.defineProperty(b,"__esModule",{value:!0});var l,m,n=function(){function a(a,b){for(var c=0;c=0){var b=a.target||a.srcElement;b.className=b.className.replace(this.config.animateClass,"").trim()}}},{key:"customStyle",value:function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a}},{key:"vendorSet",value:function(a,b){for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];a[""+c]=d;for(var e=0;e=e&&f>=c}},{key:"disabled",value:function(){return!this.config.mobile&&f(navigator.userAgent)}}]),a}();b["default"]=r,a.exports=b["default"]}); new WOW().init();; !function(t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Parallax=t()}(function(){return(function t(e,i,n){function o(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(s)return s(r,!0);var h=Error("Cannot find module '"+r+"'");throw h.code="MODULE_NOT_FOUND",h}var u=i[r]={exports:{}};e[r][0].call(u.exports,function(t){return o(e[r][1][t]||t)},u,u.exports,t,e,i,n)}return i[r].exports}for(var s="function"==typeof require&&require,r=0;r1)for(var i=1;ii?i:t:te?e:t},data:function(t,e){return r.deserialize(t.getAttribute("data-"+e))},deserialize:function(t){return"true"===t||"false"!==t&&("null"===t?null:!isNaN(parseFloat(t))&&isFinite(t)?parseFloat(t):t)},camelCase:function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():""})},accelerate:function(t){r.css(t,"transform","translate3d(0,0,0) rotate(0.0001deg)"),r.css(t,"transform-style","preserve-3d"),r.css(t,"backface-visibility","hidden")},transformSupport:function(t){for(var e=document.createElement("div"),i=!1,n=null,o=!1,s=null,a=null,l=0,h=r.vendors.length;l0&&"none"!==n,c.style.overflow=d,u.removeChild(e),m&&(u.removeAttribute("style"),u.parentNode.removeChild(u))}}return o},css:function(t,e,i){var n=r.propertyCache[e];if(!n){for(var o=0,s=r.vendors.length;othis.calibrationThreshold||Math.abs(e)>this.calibrationThreshold)&&this.queueCalibration(0),this.portrait?(this.motionX=this.calibrateX?e:this.inputY,this.motionY=this.calibrateY?t:this.inputX):(this.motionX=this.calibrateX?t:this.inputX,this.motionY=this.calibrateY?e:this.inputY),this.motionX*=this.elementWidth*(this.scalarX/100),this.motionY*=this.elementHeight*(this.scalarY/100),isNaN(parseFloat(this.limitX))||(this.motionX=r.clamp(this.motionX,-this.limitX,this.limitX)),isNaN(parseFloat(this.limitY))||(this.motionY=r.clamp(this.motionY,-this.limitY,this.limitY)),this.velocityX+=(this.motionX-this.velocityX)*this.frictionX,this.velocityY+=(this.motionY-this.velocityY)*this.frictionY;for(var i=0;ithis.windowWidth;this.portrait!==o&&(this.portrait=o,this.calibrationFlag=!0),this.calibrationFlag&&(this.calibrationFlag=!1,this.calibrationX=i,this.calibrationY=n),this.inputX=i,this.inputY=n}},{key:"onDeviceOrientation",value:function(t){var e=t.beta,i=t.gamma;null!==e&&null!==i&&(this.orientationStatus=1,this.rotate(e,i))}},{key:"onDeviceMotion",value:function(t){var e=t.rotationRate.beta,i=t.rotationRate.gamma;null!==e&&null!==i&&(this.motionStatus=1,this.rotate(e,i))}},{key:"onMouseMove",value:function(t){var e=t.clientX,i=t.clientY;if(this.hoverOnly&&(ethis.elementPositionX+this.elementWidth||ithis.elementPositionY+this.elementHeight))return this.inputX=0,void(this.inputY=0);this.relativeInput?(this.clipRelativeInput&&(e=Math.min(e=Math.max(e,this.elementPositionX),this.elementPositionX+this.elementWidth),i=Math.min(i=Math.max(i,this.elementPositionY),this.elementPositionY+this.elementHeight)),this.elementRangeX&&this.elementRangeY&&(this.inputX=(e-this.elementPositionX-this.elementCenterX)/this.elementRangeX,this.inputY=(i-this.elementPositionY-this.elementCenterY)/this.elementRangeY)):this.windowRadiusX&&this.windowRadiusY&&(this.inputX=(e-this.windowCenterX)/this.windowRadiusX,this.inputY=(i-this.windowCenterY)/this.windowRadiusY)}},{key:"destroy",value:function(){this.disable(),clearTimeout(this.calibrationTimer),clearTimeout(this.detectionTimer),this.element.removeAttribute("style");for(var t=0;tm&&("back"==r.data("sens")?(g=1,r.data("sens","go")):g++),Y0&&g<=y){var h=e;"back"==r.data("sens")&&(h=i,i=-i,v=$,y=b),s=jQuery.easing[v](null,g,h,i,y)}(s=Math.ceil(s*this.round)/this.round)==n&&o==i&&(s=i),a[t]||(a[t]=0),a[t]+=s,n!=a[t]&&(r.data("_"+t,a[t]),l=!0)}},this))}if(l){if(void 0!=a.z){var X=d.perspective;void 0==X&&(X=800);var _=r.parent();_.data("style")||_.data("style",_.attr("style")||""),_.attr("style","perspective:"+X+"px; -webkit-perspective:"+X+"px; "+_.data("style"))}void 0==a.scaleX&&(a.scaleX=1),void 0==a.scaleY&&(a.scaleY=1),void 0==a.scaleZ&&(a.scaleZ=1),void 0!=a.scale&&(a.scaleX*=a.scale,a.scaleY*=a.scale,a.scaleZ*=a.scale);var x,k="translate3d("+(a.x?a.x:0)+"px, "+(a.y?a.y:0)+"px, "+(a.z?a.z:0)+"px)",C=k+" "+("rotateX("+(a.rotateX?a.rotateX:0)+"deg) rotateY("+(a.rotateY?a.rotateY:0)+"deg) rotateZ("+(a.rotateZ?a.rotateZ:0)+"deg)")+" "+("scaleX("+a.scaleX+") scaleY("+a.scaleY+") scaleZ("+a.scaleZ)+");";this._log(C),r.attr("style","transform:"+C+" -webkit-transform:"+C+" "+h)}},this)),window.requestAnimationFrame?window.requestAnimationFrame(jQuery.proxy(this._onScroll,this,!1)):this._requestAnimationFrame(jQuery.proxy(this._onScroll,this,!1))}};; !function($,b){"use strict";var a={eventID:"DtThemeJs",document:$(document),window:$(window),body:$("body"),classes:{toggled:"active",isOverlay:"overlay--enabled",mobileMainMenuActive:"dt_mobilenav-mainmenu--active",headerSearchActive:"dt_header-search--active",headerSidebarActive:"sidebar--active"},init:function(){this.document.on("ready",this.documentReadyRender.bind(this)),this.document.on("ready",this.menuFocusAccessibility.bind(this)),this.document.on("ready",this.headerHeight.bind(this)),this.document.on("ready",this.topbarMobile.bind(this)),this.document.on("ready",this.mobileNavRight.bind(this)),this.window.on("ready",this.documentReadyRender.bind(this))},documentReadyRender:function(){this.document.on("click."+this.eventID,".dt_mobilenav-mainmenu-toggle",this.menuToggleHandler.bind(this)).on("click."+this.eventID,".dt_header-closemenu",this.menuToggleHandler.bind(this)).on("click."+this.eventID,this.hideHeaderMobilePopup.bind(this)).on("click."+this.eventID,".dt_mobilenav-dropdown-toggle",this.verticalMobileSubMenuLinkHandle.bind(this)).on("click."+this.eventID,".dt_header-closemenu",this.resetVerticalMobileMenu.bind(this)).on("hideHeaderMobilePopup."+this.eventID,this.resetVerticalMobileMenu.bind(this)).on("click."+this.eventID,".dt_navbar-search-toggle",this.searchPopupHandler.bind(this)).on("click."+this.eventID,".dt_search-close",this.searchPopupHandler.bind(this)).on("click."+this.eventID,".dt_navbar-sidebar-toggle",this.sidebarPopupHandler.bind(this)).on("click."+this.eventID,".dt_sidebar-close",this.sidebarPopupHandler.bind(this)),this.window.on("scroll."+this.eventID,this.scrollToSticky.bind(this)).on("resize."+this.eventID,this.headerHeight.bind(this))},scrollToSticky:function(b){var a=$(".is--sticky");this.window.scrollTop()>=220?a.addClass("on"):a.removeClass("on")},headerHeight:function(d){var a=$(".dt_header-navwrapper"),b=$(".dt_header-navwrapperinner"),c=0;$("body").find("div").hasClass("is--sticky")&&(b.each(function(){var a=this.clientHeight;a>c&&(c=a)}),a.css("min-height",c))},topbarAccessibility:function(){var b,a,d,c=document.querySelector(".dt_mobilenav-topbar");var f=document.querySelector(".dt_mobilenav-topbar-toggle"),e=c.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),g=e[e.length-1];if(!c)return!1;for(a=0,d=(b=c.getElementsByTagName("a")).length;a0?a.hide():(a.show(),a.on("click",function(b){c.slideToggle(),a.toggleClass("active"),b.preventDefault()}),this.topbarAccessibility())},mobileNavRight:function(){$(".dt_navbar-right .dt_navbar-cart-item").clone().prependTo(".dt_mobilenav-right .dt_navbar-list-right")},menuFocusAccessibility:function(a){$(".dt_navbar-nav, .widget_nav_menu").find("a").on("focus blur",function(){$(this).parents("ul, li").toggleClass("focus")})},menuToggleHandler:function(c){var b=$(".dt_mobilenav-mainmenu-content"),a=$(".dt_mobilenav-mainmenu-toggle");this.body.toggleClass(this.classes.mobileMainMenuActive),this.body.toggleClass(this.classes.isOverlay),a.toggleClass(this.classes.toggled),b.fadeToggle(),this.body.hasClass(this.classes.mobileMainMenuActive)?$(".dt_header-closemenu").focus():a.focus(),this.menuAccessibility()},hideHeaderMobilePopup:function(a){var b=$(".dt_mobilenav-mainmenu-toggle"),c=$(".dt_mobilenav-mainmenu");!$(a.target).closest(b).length&&!$(a.target).closest(c).length&&this.body.hasClass(this.classes.mobileMainMenuActive)&&(this.body.removeClass(this.classes.mobileMainMenuActive),this.body.removeClass(this.classes.isOverlay),b.removeClass(this.classes.toggled),mobileMainmenuContent.fadeOut(),this.document.trigger("hideHeaderMobilePopup."+this.eventID),a.stopPropagation())},verticalMobileSubMenuLinkHandle:function(a){a.preventDefault();var b=$(a.currentTarget);b.closest(".dt_mobilenav-mainmenu .dt_navbar-mainmenu"),b.parents(".dropdown-menu").length,this.isRTL,setTimeout(function(){b.parent().toggleClass("current"),b.next().slideToggle()},250)},resetVerticalMobileMenu:function(a){$(".dt_mobilenav-mainmenu .dt_navbar-mainmenu");var b=$(".dt_mobilenav-mainmenu .menu-item"),c=$(".dt_mobilenav-mainmenu .dropdown-menu");setTimeout(function(){b.removeClass("current"),c.hide()},250)},menuAccessibility:function(){var b,a,d,c=document.querySelector(".dt_mobilenav-mainmenu-content");var f=document.querySelector(".dt_header-closemenu:not(.off--layer)"),e=c.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),g=e[e.length-1];if(!c)return!1;for(a=0,d=(b=c.getElementsByTagName("a")).length;a0&&c.after(''),$(document).on("click",".dt-btn-loadmore",function(c){c.preventDefault(),a.filter(":hidden").slice(0,b.whenClickBtn).slideDown(),0==a.filter(":hidden").length&&$(".dt-btn-loadmore").parent().parent().fadeOut("slow"),$("html, body").animate({scrollTop:a.filter(":visible").last().offset().top},b.delayToScroll)})})}}(jQuery); (function($){'use strict';if(document.body.classList.contains('btn--effect-two')||document.body.classList.contains('btn--effect-three')){document.querySelectorAll('.btn--effect-two .dt-btn .dt-btn-text, .btn--effect-three .dt-btn .dt-btn-text').forEach(button=>button.innerHTML=``+button.textContent.trim().split('').join(``)+'')} function site_preloader(){if($('.dt_preloader').length){$('.dt_preloader').delay(1000).fadeOut(500)}} if($(".dt_preloader-close").length){$(".dt_preloader-close").on("click",function(){$('.dt_preloader').delay(200).fadeOut(500)})} var animationDelay=2500,barAnimationDelay=3800,barWaiting=barAnimationDelay-3000,lettersDelay=50,typeLettersDelay=150,selectionDuration=500,typeAnimationDelay=selectionDuration+800,revealDuration=600,revealAnimationDelay=1500;function initHeadline(){singleLetters($('.dt_heading.dt_heading_2').find('b'));singleLetters($('.dt_heading.dt_heading_3').find('b'));singleLetters($('.dt_heading.dt_heading_8').find('b'));singleLetters($('.dt_heading.dt_heading_9').find('b'));animateHeadline($('.dt_heading'))} function singleLetters($words){$words.each(function(){var word=$(this),letters=word.text().split(''),selected=word.hasClass('is_on');for(var i in letters){if(word.parents('.dt_heading_3').length>0)letters[i]=''+letters[i]+'';letters[i]=(selected)?''+letters[i]+'':''+letters[i]+''} var newLetters=letters.join('');word.html(newLetters).css('opacity',1)})} function animateHeadline($headlines){var duration=animationDelay;$headlines.each(function(){var headline=$(this);if(headline.hasClass('dt_heading_4')){duration=barAnimationDelay;setTimeout(function(){headline.find('.dt_heading_inner').addClass('is-loading')},barWaiting)}else if(headline.hasClass('dt_heading_6')){var spanWrapper=headline.find('.dt_heading_inner'),newWidth=spanWrapper.width()+10 spanWrapper.css('width',newWidth)}else if(!headline.hasClass('dt_heading_2')){var words=headline.find('.dt_heading_inner b'),width=0;words.each(function(){var wordWidth=$(this).width();if(wordWidth>width)width=wordWidth});headline.find('.dt_heading_inner').css('width',width)};setTimeout(function(){hideWord(headline.find('.is_on').eq(0))},duration)})} function hideWord($word){var nextWord=takeNext($word);if($word.parents('.dt_heading').hasClass('dt_heading_2')){var parentSpan=$word.parent('.dt_heading_inner');parentSpan.addClass('selected').removeClass('waiting');setTimeout(function(){parentSpan.removeClass('selected');$word.removeClass('is_on').addClass('is_off').children('i').removeClass('in').addClass('out')},selectionDuration);setTimeout(function(){showWord(nextWord,typeLettersDelay)},typeAnimationDelay)}else if($word.parents('.dt_heading').hasClass('dt_heading_2')||$word.parents('.dt_heading').hasClass('dt_heading_3')||$word.parents('.dt_heading').hasClass('dt_heading_8')||$word.parents('.dt_heading').hasClass('dt_heading_9')){var bool=($word.children('i').length>=nextWord.children('i').length)?!0:!1;hideLetter($word.find('i').eq(0),$word,bool,lettersDelay);showLetter(nextWord.find('i').eq(0),nextWord,bool,lettersDelay)}else if($word.parents('.dt_heading').hasClass('dt_heading_6')){$word.parents('.dt_heading_inner').animate({width:'2px'},revealDuration,function(){switchWord($word,nextWord);showWord(nextWord)})}else if($word.parents('.dt_heading').hasClass('dt_heading_4')){$word.parents('.dt_heading_inner').removeClass('is-loading');switchWord($word,nextWord);setTimeout(function(){hideWord(nextWord)},barAnimationDelay);setTimeout(function(){$word.parents('.dt_heading_inner').addClass('is-loading')},barWaiting)}else{switchWord($word,nextWord);setTimeout(function(){hideWord(nextWord)},animationDelay)}} function showWord($word,$duration){if($word.parents('.dt_heading').hasClass('dt_heading_2')){showLetter($word.find('i').eq(0),$word,!1,$duration);$word.addClass('is_on').removeClass('is_off')}else if($word.parents('.dt_heading').hasClass('dt_heading_6')){$word.parents('.dt_heading_inner').animate({'width':$word.width()+10},revealDuration,function(){setTimeout(function(){hideWord($word)},revealAnimationDelay)})}} function hideLetter($letter,$word,$bool,$duration){$letter.removeClass('in').addClass('out');if(!$letter.is(':last-child')){setTimeout(function(){hideLetter($letter.next(),$word,$bool,$duration)},$duration)}else if($bool){setTimeout(function(){hideWord(takeNext($word))},animationDelay)} if($letter.is(':last-child')&&$('html').hasClass('no-csstransitions')){var nextWord=takeNext($word);switchWord($word,nextWord)}} function showLetter($letter,$word,$bool,$duration){$letter.addClass('in').removeClass('out');if(!$letter.is(':last-child')){setTimeout(function(){showLetter($letter.next(),$word,$bool,$duration)},$duration)}else{if($word.parents('.dt_heading').hasClass('dt_heading_2')){setTimeout(function(){$word.parents('.dt_heading_inner').addClass('waiting')},200)} if(!$bool){setTimeout(function(){hideWord($word)},animationDelay)}}} function takeNext($word){return(!$word.is(':last-child'))?$word.next():$word.parent().children().eq(0)} function switchWord($oldWord,$newWord){$oldWord.removeClass('is_on').addClass('is_off');$newWord.removeClass('is_off').addClass('is_on')} if($('.dt_slider-carousel').length){$('.dt_slider-carousel').owlCarousel({rtl:$("html").attr("dir")=='rtl'?!0:!1,loop:!0,margin:0,nav:!0,dots:!1,animateOut:'fadeOut',animateIn:'fadeIn',active:!0,smartSpeed:1000,autoplay:!0,autoplayTimeout:12000,navText:['',''],responsive:{0:{nav:!1,items:1},600:{nav:!1,items:1},800:{items:1},1024:{items:1}}})} if($('.dt_service_carousel').length){var $column=$(".dt_service").hasClass("dt_service--three")?5:$(".dt_service").hasClass("dt_service--fifteen")||$(".dt_service").hasClass("dt_service--seventeen")?4:3;$(".dt_service_carousel").owlCarousel({rtl:$("html").attr("dir")=='rtl'?!0:!1,margin:25,loop:!0,dots:!1,navText:['',''],autoHeight:!0,autoplay:!0,autoplayTimeout:30000,smartSpeed:2000,stagePadding:17,responsive:{0:{items:1,nav:!1},576:{items:2,nav:!1},992:{stagePadding:17,items:$column,nav:!1}}})} if($('.dt_uptop').length){var progressPath=document.querySelector('.dt_uptop path');var pathLength=progressPath.getTotalLength();progressPath.style.transition=progressPath.style.WebkitTransition='none';progressPath.style.strokeDasharray=pathLength+' '+pathLength;progressPath.style.strokeDashoffset=pathLength;progressPath.getBoundingClientRect();progressPath.style.transition=progressPath.style.WebkitTransition='stroke-dashoffset 10ms linear';var updateProgress=function(){var scroll=$(window).scrollTop();var height=$(document).height()-$(window).height();var progress=pathLength-(scroll*pathLength/height);progressPath.style.strokeDashoffset=progress} updateProgress();$(window).scroll(updateProgress);var offset=50;var duration=550;$(window).on('scroll',function(){if($(this).scrollTop()>offset){$('.dt_uptop').addClass('active')}else{$('.dt_uptop').removeClass('active')}});$('.dt_uptop').on('click',function(event){event.preventDefault();jQuery('html, body').animate({scrollTop:0},duration);return!1})} if($('.parallax-scene-1').length){var scene=$('.parallax-scene-1').get(0);var parallaxInstance=new Parallax(scene)} if($('.parallax-scene-2').length){var scene=$('.parallax-scene-2').get(0);var parallaxInstance=new Parallax(scene)} if($(".dt_pagetitle .canvas").length){let cnvs=document.getElementById("canvas"),c2d=cnvs.getContext("2d");cnvs.width=window.innerWidth,cnvs.height=window.innerHeight;let particlesArray=[];window.addEventListener("resize",function(){cnvs.width=window.innerWidth,cnvs.height=window.innerHeight});let cursor={x:null,y:null};cnvs.addEventListener("click",function(e){cursor.x=e.x,cursor.y=e.y;for(let t=0;t<10;t++)particlesArray.push(new particles)}),cnvs.addEventListener("mousemove",function(e){cursor.x=e.x,cursor.y=e.y;for(let t=0;t<10;t++)particlesArray.push(new particles)});class particles{constructor(){this.x=cursor.x,this.y=cursor.y,this.size=10*Math.random()+1,this.speedX=3*Math.random()-1.5,this.speedY=3*Math.random()-1.5,this.color="#ffffff"} update(){this.x+=this.speedX,this.y+=this.speedY,this.size>.2&&(this.size-=.1)} draw(){c2d.strokeStyle=this.color,c2d.lineWidth=.4,c2d.beginPath(),c2d.arc(this.x,this.y,this.size,0,2*Math.PI),c2d.stroke()}} let hndlParticles=()=>{for(let e=0;e{c2d.clearRect(0,0,cnvs.width,cnvs.height),hndlParticles(),requestAnimationFrame(anim)} anim()} if($(".dt_service--nine").length){$('.dt_service--nine .dt_item_inner').hover(function(){$(this).find('.dt_item_hover').slideToggle(300);return!1});$('.dt_service--nine .dt_item_inner').hover(function(){$(this).find('.dt_item_holder .dt_item_title').slideToggle(300);$(this).find('.dt_item_holder .dt_item_content').slideToggle(300);$(this).find('.dt_item_icon').slideToggle(300);return!0})} $(window).on('load',function(){site_preloader();initHeadline()})})(jQuery);