!function(e){"use strict";woodmartThemeModule.wdElementorAddAction("frontend/element_ready/global",function(e){e.removeClass("wd-animation-ready wd-animated wd-in"),woodmartThemeModule.$document.trigger("wdElementorGlobalReady")}),e.each(["frontend/element_ready/column","frontend/element_ready/container"],function(e,t){woodmartThemeModule.wdElementorAddAction(t,function(e){e.removeClass("wd-animation-ready wd-animated wd-in"),setTimeout(function(){woodmartThemeModule.$document.trigger("wdElementorColumnReady")},100)})}),woodmartThemeModule.$window.on("elementor/frontend/init",function(){elementorFrontend.isEditMode()&&"enabled"===woodmart_settings.elementor_no_gap&&(e.each(["frontend/element_ready/section","frontend/element_ready/container"],function(e,t){woodmartThemeModule.wdElementorAddAction(t,function(e){e.removeClass("wd-animation-ready wd-animated wd-in"),woodmartThemeModule.$document.trigger("wdElementorSectionReady")}),elementorFrontend.hooks.addAction(t,function(e){var t,n,o=e.data("model-cid");void 0!==elementorFrontend.config.elements.data[o]&&(t=elementorFrontend.config.elements.data[o],n="",void 0!==t.attributes.elType&&("container"===t.attributes.elType?n="boxed"!==t.attributes.content_width||t.attributes.boxed_width.size:"section"===t.attributes.elType&&(n=t.attributes.content_width.size)),n||e.addClass("wd-negative-gap"))})}),elementor.channels.editor.on("change:section change:container",function(t){!function(t){var n=t.elementSettingsModel.changed;if(void 0!==n.content_width||void 0!==n.boxed_width){var o=[];"container"===t.elementSettingsModel.attributes.elType?void 0!==n.boxed_width&&(o=n.boxed_width.size):void 0!==n.content_width&&(o=n.content_width.size);var d=t._parent.model.id,i=e(".elementor-element-"+d);o?i.removeClass("wd-negative-gap"):i.addClass("wd-negative-gap")}}(t)}))})}(jQuery);
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):(t="undefined"!=typeof globalThis?globalThis:t||self).bdtUIkit=e()}(this,function(){"use strict";const{hasOwnProperty:t,toString:e}=Object.prototype;function i(e,i){return t.call(e,i)}const n=/\B([A-Z])/g,s=Z(t=>t.replace(n,"-$1").toLowerCase()),o=/-(\w)/g,r=Z(t=>(t.charAt(0).toLowerCase()+t.slice(1)).replace(o,(t,e)=>e.toUpperCase())),a=Z(t=>t.charAt(0).toUpperCase()+t.slice(1));function l(t,e){var i;return null==(i=null==t?void 0:t.startsWith)?void 0:i.call(t,e)}function h(t,e){var i;return null==(i=null==t?void 0:t.endsWith)?void 0:i.call(t,e)}function c(t,e){var i;return null==(i=null==t?void 0:t.includes)?void 0:i.call(t,e)}function d(t,e){var i;return null==(i=null==t?void 0:t.findIndex)?void 0:i.call(t,e)}const{isArray:u,from:f}=Array,{assign:p}=Object;function g(t){return"function"==typeof t}function m(t){return null!==t&&"object"==typeof t}function v(t){return"[object Object]"===e.call(t)}function b(t){return m(t)&&t===t.window}function w(t){return 9===y(t)}function $(t){return y(t)>=1}function x(t){return 1===y(t)}function y(t){return!b(t)&&m(t)&&t.nodeType}function S(t){return"boolean"==typeof t}function I(t){return"string"==typeof t}function k(t){return"number"==typeof t}function C(t){return k(t)||I(t)&&!isNaN(t-parseFloat(t))}function T(t){return!(u(t)?t.length:m(t)&&Object.keys(t).length)}function E(t){return void 0===t}function A(t){return S(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function D(t){const e=Number(t);return!isNaN(e)&&e}function _(t){return parseFloat(t)||0}function M(t){return t&&P(t)[0]}function P(t){return $(t)?[t]:Array.from(t||[]).filter($)}function O(t){if(b(t))return t;const e=w(t=M(t))?t:null==t?void 0:t.ownerDocument;return(null==e?void 0:e.defaultView)||window}function B(t,e){return t===e||m(t)&&m(e)&&Object.keys(t).length===Object.keys(e).length&&H(t,(t,i)=>t===e[i])}function N(t,e,i){return t.replace(new RegExp(`${e}|${i}`,"g"),t=>t===e?i:e)}function z(t){return t[t.length-1]}function H(t,e){for(const i in t)if(!1===e(t[i],i))return!1;return!0}function F(t,e){return t.slice().sort(({[e]:t=0},{[e]:i=0})=>t>i?1:i>t?-1:0)}function j(t,e){return t.reduce((t,i)=>t+_(g(e)?e(i):i[e]),0)}function L(t,e){const i=new Set;return t.filter(({[e]:t})=>!i.has(t)&&i.add(t))}function W(t,e){return e.reduce((e,i)=>({...e,[i]:t[i]}),{})}function q(t,e=0,i=1){return Math.min(Math.max(D(t)||0,e),i)}function V(){}function R(...t){return[["bottom","top"],["right","left"]].every(([e,i])=>Math.min(...t.map(({[e]:t})=>t))-Math.max(...t.map(({[i]:t})=>t))>0)}function U(t,e){return t.x<=e.right&&t.x>=e.left&&t.y<=e.bottom&&t.y>=e.top}function Y(t,e,i){const n="width"===e?"height":"width";return{[n]:t[e]?Math.round(i*t[n]/t[e]):t[n],[e]:i}}function X(t,e){t={...t};for(const i in t)t=t[i]>e[i]?Y(t,i,e[i]):t;return t}const J={ratio:Y,contain:X,cover:function(t,e){t=X(t,e);for(const i in t)t=t[i]<e[i]?Y(t,i,e[i]):t;return t}};function G(t,e,i=0,n=!1){e=P(e);const{length:s}=e;return s?(t=C(t)?D(t):"next"===t?i+1:"previous"===t?i-1:"last"===t?s-1:e.indexOf(M(t)),n?q(t,0,s-1):(t%=s)<0?t+s:t):-1}function Z(t){const e=Object.create(null);return(i,...n)=>e[i]||(e[i]=t(i,...n))}function K(t,...e){for(const i of P(t)){const t=nt(e).filter(t=>!et(i,t));t.length&&i.classList.add(...t)}}function Q(t,...e){for(const i of P(t)){const t=nt(e).filter(t=>et(i,t));t.length&&i.classList.remove(...t)}}function tt(t,e,i){i=nt(i),Q(t,e=nt(e).filter(t=>!c(i,t))),K(t,i)}function et(t,e){return[e]=nt(e),P(t).some(t=>t.classList.contains(e))}function it(t,e,i){const n=nt(e);E(i)||(i=!!i);for(const e of P(t))for(const t of n)e.classList.toggle(t,i)}function nt(t){return t?u(t)?t.map(nt).flat():String(t).split(" ").filter(Boolean):[]}function st(t,e,i){var n;if(m(e))for(const i in e)st(t,i,e[i]);else{if(E(i))return null==(n=M(t))?void 0:n.getAttribute(e);for(const n of P(t))g(i)&&(i=i.call(n,st(n,e))),null===i?rt(n,e):n.setAttribute(e,i)}}function ot(t,e){return P(t).some(t=>t.hasAttribute(e))}function rt(t,e){P(t).forEach(t=>t.removeAttribute(e))}function at(t,e){for(const i of[e,`data-${e}`])if(ot(t,i))return st(t,i)}const lt="undefined"!=typeof window,ht=lt&&"rtl"===document.dir,ct=lt&&"ontouchstart"in window,dt=lt&&window.PointerEvent,ut=dt?"pointerdown":ct?"touchstart":"mousedown",ft=dt?"pointermove":ct?"touchmove":"mousemove",pt=dt?"pointerup":ct?"touchend":"mouseup",gt=dt?"pointerenter":ct?"":"mouseenter",mt=dt?"pointerleave":ct?"":"mouseleave",vt=dt?"pointercancel":"touchcancel",bt={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};function wt(t){return P(t).some(t=>bt[t.tagName.toLowerCase()])}const $t=lt&&Element.prototype.checkVisibility||function(){return this.offsetWidth||this.offsetHeight||this.getClientRects().length};function xt(t){return P(t).some(t=>$t.call(t))}const yt="input,select,textarea,button";function St(t){return P(t).some(t=>Et(t,yt))}const It=`${yt},a[href],[tabindex]`;function kt(t){return Et(t,It)}function Ct(t){var e;return null==(e=M(t))?void 0:e.parentElement}function Tt(t,e){return P(t).filter(t=>Et(t,e))}function Et(t,e){return P(t).some(t=>t.matches(e))}function At(t,e){const i=[];for(;t=Ct(t);)e&&!Et(t,e)||i.push(t);return i}function Dt(t,e){const i=(t=M(t))?f(t.children):[];return e?Tt(i,e):i}function _t(t,e){return e?P(t).indexOf(M(e)):Dt(Ct(t)).indexOf(t)}function Mt(t){return(t=M(t))&&["origin","pathname","search"].every(e=>t[e]===location[e])}function Pt(t){if(Mt(t)){const{hash:e,ownerDocument:i}=M(t),n=decodeURIComponent(e).slice(1);return i.getElementById(n)||i.getElementsByName(n)[0]}}function Ot(t,e){return Nt(t,Ht(t,e))}function Bt(t,e){return zt(t,Ht(t,e))}function Nt(t,e){return M(Vt(t,M(e),"querySelector"))}function zt(t,e){return P(Vt(t,M(e),"querySelectorAll"))}function Ht(t,e=document){return I(t)&&Lt(t).isContextSelector||w(e)?e:e.ownerDocument}const Ft=/([!>+~-])(?=\s+[!>+~-]|\s*$)/g,jt=/(\([^)]*\)|[^,])+/g,Lt=Z(t=>{t=t.replace(Ft,"$1 *");let e=!1;const i=[];for(let n of t.match(jt))n=n.trim(),e||(e=["!","+","~","-",">"].includes(n[0])),i.push(n);return{selector:i.join(","),selectors:i,isContextSelector:e}}),Wt=/(\([^)]*\)|\S)*/,qt=Z(t=>{t=t.slice(1).trim();const[e]=t.match(Wt);return[e,t.slice(e.length+1)]});function Vt(t,e=document,i){if(!t||!I(t))return t;const n=Lt(t);if(!n.isContextSelector)return Rt(e,i,n.selector);t="";const s=1===n.selectors.length;for(let o of n.selectors){let n,r=e;if("!"===o[0]&&([n,o]=qt(o),r=e.parentElement.closest(n),!o&&s))return r;if(r&&"-"===o[0]&&([n,o]=qt(o),r=r.previousElementSibling,r=Et(r,n)?r:null,!o&&s))return r;if(r){if(s)return"~"===o[0]||"+"===o[0]?(o=`:scope > :nth-child(${_t(r)+1}) ${o}`,r=r.parentElement):">"===o[0]&&(o=`:scope ${o}`),Rt(r,i,o);t+=`${t?",":""}${Ut(r)} ${o}`}}return w(e)||(e=e.ownerDocument),Rt(e,i,t)}function Rt(t,e,i){try{return t[e](i)}catch(t){return null}}function Ut(t){const e=[];for(;t.parentNode;){const i=st(t,"id");if(i){e.unshift(`#${Yt(i)}`);break}{let{tagName:i}=t;"HTML"!==i&&(i+=`:nth-child(${_t(t)+1})`),e.unshift(i),t=t.parentNode}}return e.join(" > ")}function Yt(t){return I(t)?CSS.escape(t):""}function Xt(...t){let[e,i,n,s,o=!1]=Qt(t);s.length>1&&(s=function(t){return e=>u(e.detail)?t(e,...e.detail):t(e)}(s)),(null==o?void 0:o.self)&&(s=function(t){return function(e){if(e.target===e.currentTarget||e.target===e.current)return t.call(null,e)}}(s)),n&&(s=function(t,e){return i=>{const n=">"===t[0]?zt(t,i.currentTarget).reverse().find(t=>t.contains(i.target)):i.target.closest(t);n&&(i.current=n,e.call(this,i),delete i.current)}}(n,s));for(const t of i)for(const i of e)i.addEventListener(t,s,o);return()=>Jt(e,i,s,o)}function Jt(...t){let[e,i,,n,s=!1]=Qt(t);for(const t of i)for(const i of e)i.removeEventListener(t,n,s)}function Gt(...t){const[e,i,n,s,o=!1,r]=Qt(t),a=Xt(e,i,n,t=>{const e=!r||r(t);e&&(a(),s(t,e))},o);return a}function Zt(t,e,i){return ie(t).every(t=>t.dispatchEvent(Kt(e,!0,!0,i)))}function Kt(t,e=!0,i=!1,n){return I(t)&&(t=new CustomEvent(t,{bubbles:e,cancelable:i,detail:n})),t}function Qt(t){return t[0]=ie(t[0]),I(t[1])&&(t[1]=t[1].split(" ")),g(t[2])&&t.splice(2,0,!1),t}function te(t){return t&&"addEventListener"in t}function ee(t){return te(t)?t:M(t)}function ie(t){return u(t)?t.map(ee).filter(Boolean):I(t)?zt(t):te(t)?[t]:P(t)}function ne(t){return"touch"===t.pointerType||!!t.touches}function se(t){var e,i;const{clientX:n,clientY:s}=(null==(e=t.touches)?void 0:e[0])||(null==(i=t.changedTouches)?void 0:i[0])||t;return{x:n,y:s}}const oe={"animation-iteration-count":!0,"column-count":!0,"fill-opacity":!0,"flex-grow":!0,"flex-shrink":!0,"font-weight":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,widows:!0,"z-index":!0,zoom:!0};function re(t,e,i,n){const s=P(t);for(const t of s)if(I(e)){if(e=ae(e),E(i))return getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,C(i)&&!oe[e]?`${i}px`:i||k(i)?i:"",n)}else{if(u(e)){const i={};for(const n of e)i[n]=re(t,n);return i}if(m(e))for(const n in e)re(t,n,e[n],i)}return s[0]}const ae=Z(t=>{if(l(t,"--"))return t;t=s(t);const{style:e}=document.documentElement;if(t in e)return t;for(const i of["webkit","moz"]){const n=`-${i}-${t}`;if(n in e)return n}}),le="bdt-transition",he="transitionend",ce="transitioncanceled";const de={start:function(t,e,i=400,n="linear"){return i=Math.round(i),Promise.all(P(t).map(t=>new Promise((s,o)=>{for(const i in e)re(t,i);const r=setTimeout(()=>Zt(t,he),i);Gt(t,[he,ce],({type:e})=>{clearTimeout(r),Q(t,le),re(t,{transitionProperty:"",transitionDuration:"",transitionTimingFunction:""}),e===ce?o():s(t)},{self:!0}),K(t,le),re(t,{transitionProperty:Object.keys(e).map(ae).join(","),transitionDuration:`${i}ms`,transitionTimingFunction:n,...e})})))},async stop(t){Zt(t,he),await Promise.resolve()},async cancel(t){Zt(t,ce),await Promise.resolve()},inProgress:t=>et(t,le)},ue="bdt-animation",fe="animationend",pe="animationcanceled";function ge(t,e,i=200,n,s){return Promise.all(P(t).map(t=>new Promise((o,r)=>{et(t,ue)&&Zt(t,pe);const a=[e,ue,`${ue}-${s?"leave":"enter"}`,n&&`bdt-transform-origin-${n}`,s&&`${ue}-reverse`],l=setTimeout(()=>Zt(t,fe),i);Gt(t,[fe,pe],({type:e})=>{clearTimeout(l),e===pe?r():o(t),re(t,"animationDuration",""),Q(t,a)},{self:!0}),re(t,"animationDuration",`${i}ms`),K(t,a)})))}const me={in:ge,out:(t,e,i,n)=>ge(t,e,i,n,!0),inProgress:t=>et(t,ue),cancel(t){Zt(t,pe)}};function ve(t,...e){return e.some(e=>{var i;return(null==(i=null==t?void 0:t.tagName)?void 0:i.toLowerCase())===e.toLowerCase()})}function be(t){return(t=Pe(t)).innerHTML="",t}function we(t,e){return E(e)?Pe(t).innerHTML:xe(be(t),e)}const $e=Ie("prepend"),xe=Ie("append"),ye=Ie("before"),Se=Ie("after");function Ie(t){return function(e,i){var n;const s=P(I(i)?De(i):i);return null==(n=Pe(e))||n[t](...s),_e(s)}}function ke(t){P(t).forEach(t=>t.remove())}function Ce(t,e){for(e=M(ye(t,e));e.firstElementChild;)e=e.firstElementChild;return xe(e,t),e}function Te(t,e){return P(P(t).map(t=>t.hasChildNodes()?Ce(f(t.childNodes),e):xe(t,e)))}function Ee(t){P(t).map(Ct).filter((t,e,i)=>i.indexOf(t)===e).forEach(t=>t.replaceWith(...t.childNodes))}const Ae=/^<(\w+)\s*\/?>(?:<\/\1>)?$/;function De(t){const e=Ae.exec(t);if(e)return document.createElement(e[1]);const i=document.createElement("template");return i.innerHTML=t.trim(),_e(i.content.childNodes)}function _e(t){return t.length>1?t:t[0]}function Me(t,e){if(x(t))for(e(t),t=t.firstElementChild;t;)Me(t,e),t=t.nextElementSibling}function Pe(t,e){return Be(t)?M(De(t)):Nt(t,e)}function Oe(t,e){return Be(t)?P(De(t)):zt(t,e)}function Be(t){return I(t)&&l(t.trim(),"<")}const Ne={width:["left","right"],height:["top","bottom"]};function ze(t){const e=x(t)?M(t).getBoundingClientRect():{height:Le(t),width:We(t),top:0,left:0};return{height:e.height,width:e.width,top:e.top,left:e.left,bottom:e.top+e.height,right:e.left+e.width}}function He(t,e){e&&re(t,{left:0,top:0});const i=ze(t);if(t){const{scrollY:e,scrollX:n}=O(t),s={height:e,width:n};for(const t in Ne)for(const e of Ne[t])i[e]+=s[t]}if(!e)return i;for(const n of["left","top"])re(t,n,e[n]-i[n])}function Fe(t){let{top:e,left:i}=He(t);const{ownerDocument:{body:n,documentElement:s},offsetParent:o}=M(t);let r=o||s;for(;r&&(r===n||r===s)&&"static"===re(r,"position");)r=r.parentNode;if(x(r)){const t=He(r);e-=t.top+_(re(r,"borderTopWidth")),i-=t.left+_(re(r,"borderLeftWidth"))}return{top:e-_(re(t,"marginTop")),left:i-_(re(t,"marginLeft"))}}function je(t){const e=[(t=M(t)).offsetTop,t.offsetLeft];for(;t=t.offsetParent;)if(e[0]+=t.offsetTop+_(re(t,"borderTopWidth")),e[1]+=t.offsetLeft+_(re(t,"borderLeftWidth")),"fixed"===re(t,"position")){const i=O(t);return e[0]+=i.scrollY,e[1]+=i.scrollX,e}return e}const Le=qe("height"),We=qe("width");function qe(t){const e=a(t);return(i,n)=>{if(E(n)){if(b(i))return i[`inner${e}`];if(w(i)){const t=i.documentElement;return Math.max(t[`offset${e}`],t[`scroll${e}`])}return(n="auto"===(n=re(i=M(i),t))?i[`offset${e}`]:_(n)||0)-Ve(i,t)}return re(i,t,n||0===n?+n+Ve(i,t)+"px":"")}}function Ve(t,e,i="border-box"){return re(t,"boxSizing")===i?j(Ne[e].map(a),e=>_(re(t,`padding${e}`))+_(re(t,`border${e}Width`))):0}function Re(t){for(const e in Ne)for(const i in Ne[e])if(Ne[e][i]===t)return Ne[e][1-i];return t}function Ue(t,e="width",i=window,n=!1){return I(t)?j(Xe(t),t=>{const s=Ge(t);return s?function(t,e){return t*_(e)/100}("vh"===s?function(){if(Ze)return Ze;Ke||(Ke=Pe("<div>"),re(Ke,{height:"100vh",position:"fixed"}),Xt(window,"resize",()=>Ze=null));return xe(document.body,Ke),Ze=Ke.clientHeight,ke(Ke),Ze}():"vw"===s?We(O(i)):n?i[`offset${a(e)}`]:ze(i)[e],t):t}):_(t)}const Ye=/-?\d+(?:\.\d+)?(?:v[wh]|%|px)?/g,Xe=Z(t=>t.toString().replace(/\s/g,"").match(Ye)||[]),Je=/(?:v[hw]|%)$/,Ge=Z(t=>(t.match(Je)||[])[0]);let Ze,Ke;const Qe={read:function(t){return ti.push(t),si(),t},write:function(t){return ei.push(t),si(),t},clear:function(t){ri(ti,t),ri(ei,t)},flush:ni},ti=[],ei=[];let ii=!1;function ni(){oi(ti),oi(ei.splice(0)),ii=!1,(ti.length||ei.length)&&si()}function si(){ii||(ii=!0,queueMicrotask(ni))}function oi(t){let e;for(;e=t.shift();)try{e()}catch(t){console.error(t)}}function ri(t,e){const i=t.indexOf(e);return~i&&t.splice(i,1)}class ai{init(){let t;this.positions=[],this.unbind=Xt(document,"mousemove",e=>t=se(e)),this.interval=setInterval(()=>{t&&(this.positions.push(t),this.positions.length>5&&this.positions.shift())},50)}cancel(){var t;null==(t=this.unbind)||t.call(this),clearInterval(this.interval)}movesTo(t){if(!this.positions||this.positions.length<2)return!1;const e=ze(t),{left:i,right:n,top:s,bottom:o}=e,[r]=this.positions,a=z(this.positions),l=[r,a];if(U(a,e))return!1;return[[{x:i,y:s},{x:n,y:o}],[{x:i,y:o},{x:n,y:s}]].some(t=>{const i=function([{x:t,y:e},{x:i,y:n}],[{x:s,y:o},{x:r,y:a}]){const l=(a-o)*(i-t)-(r-s)*(n-e);if(0===l)return!1;const h=((r-s)*(e-o)-(a-o)*(t-s))/l;if(h<0)return!1;return{x:t+h*(i-t),y:e+h*(n-e)}}(l,t);return i&&U(i,e)})}}function li(t,e,i={},{intersecting:n=!0}={}){const s=new IntersectionObserver(n?(t,i)=>{t.some(t=>t.isIntersecting)&&e(t,i)}:e,i);for(const e of P(t))s.observe(e);return s}const hi=lt&&window.ResizeObserver;function ci(t,e,i={box:"border-box"}){if(hi)return fi(ResizeObserver,t,e,i);const n=[Xt(window,"load resize",e),Xt(document,"loadedmetadata load",e,!0)];return{disconnect:()=>n.map(t=>t())}}function di(t){return{disconnect:Xt([window,window.visualViewport],"resize",t)}}function ui(t,e,i){return fi(MutationObserver,t,e,i)}function fi(t,e,i,n){const s=new t(i);for(const t of P(e))s.observe(t,n);return s}function pi(t){wi(t)&&yi(t,{func:"playVideo",method:"play"}),bi(t)&&t.play().catch(V)}function gi(t){wi(t)&&yi(t,{func:"pauseVideo",method:"pause"}),bi(t)&&t.pause()}function mi(t){wi(t)&&yi(t,{func:"mute",method:"setVolume",value:0}),bi(t)&&(t.muted=!0)}function vi(t){return bi(t)||wi(t)}function bi(t){return ve(t,"video")}function wi(t){return ve(t,"iframe")&&($i(t)||xi(t))}function $i(t){return!!t.src.match(/\/\/.*?youtube(-nocookie)?\.[a-z]+\/(watch\?v=[^&\s]+|embed)|youtu\.be\/.*/)}function xi(t){return!!t.src.match(/vimeo\.com\/video\/.*/)}async function yi(t,e){await function(t){if(t[Ii])return t[Ii];const e=$i(t),i=xi(t),n=++ki;let s;return t[Ii]=new Promise(o=>{e&&Gt(t,"load",()=>{const e=()=>Si(t,{event:"listening",id:n});s=setInterval(e,100),e()}),Gt(window,"message",o,!1,({data:t})=>{try{return t=JSON.parse(t),e&&(null==t?void 0:t.id)===n&&"onReady"===t.event||i&&Number(null==t?void 0:t.player_id)===n}catch(t){}}),t.src=`${t.src}${c(t.src,"?")?"&":"?"}${e?"enablejsapi=1":`api=1&player_id=${n}`}`}).then(()=>clearInterval(s))}(t),Si(t,e)}function Si(t,e){t.contentWindow.postMessage(JSON.stringify({event:"command",...e}),"*")}const Ii="_ukPlayer";let ki=0;function Ci(t,{offset:e=0}={}){const i=xt(t)?Ei(t,!1,["hidden"]):[];return i.reduce((n,s,o)=>{const{scrollTop:r,scrollHeight:a,offsetHeight:l}=s,h=_i(s),c=a-h.height,{height:d,top:u}=i[o-1]?_i(i[o-1]):He(t);let f=Math.ceil(u-h.top-e+r);return e>0&&l<d+e?f+=e:e=0,f>c?(e-=f-c,f=c):f<0&&(e-=f,f=0),()=>function(t,e,n,s){return new Promise(o=>{const r=t.scrollTop,a=(l=Math.abs(e),40*Math.pow(l,.375));var l;const h=Date.now(),c=Bi(t)===t,d=He(n).top+(c?0:r);let u=0,f=15;!function l(){const p=(g=q((Date.now()-h)/a),.5*(1-Math.cos(Math.PI*g)));var g;let m=0;i[0]===t&&r+e<s&&(m=He(n).top+(c?0:t.scrollTop)-d-ze(Mi(n)).height),t.scrollTop=r+(e+m)*p,1!==p||u!==m&&f--?(u=m,requestAnimationFrame(l)):o()}()})}(s,f-r,t,c).then(n)},()=>Promise.resolve())()}function Ti(t,e=0,i=0){if(!xt(t))return 0;const n=Ai(t,!0),{scrollHeight:s,scrollTop:o}=n,{height:r}=_i(n),a=s-r,l=je(t)[0]-je(n)[0],h=Math.max(0,l-r+e),c=Math.min(a,l+t.offsetHeight-i);return h<c?q((o-h)/(c-h)):1}function Ei(t,e=!1,i=[]){const n=Bi(t);let s=At(t).reverse();s=s.slice(s.indexOf(n)+1);const o=d(s,t=>"fixed"===re(t,"position"));return~o&&(s=s.slice(o)),[n].concat(s.filter(t=>re(t,"overflow").split(" ").some(t=>c(["auto","scroll",...i],t))&&(!e||t.scrollHeight>_i(t).height))).reverse()}function Ai(...t){return Ei(...t)[0]}function Di(t){return Ei(t,!1,["hidden","clip"])}function _i(t){const e=O(t),i=Bi(t),n=t.contains(i);if(n&&e.visualViewport){let{height:t,width:i,scale:n,pageTop:s,pageLeft:o}=e.visualViewport;return t=Math.round(t*n),i=Math.round(i*n),{height:t,width:i,top:s,left:o,bottom:s+t,right:o+i}}let s=He(n?e:t);if("inline"===re(t,"display"))return s;const{body:o,documentElement:r}=e.document,l=n?i===r||i.clientHeight<o.clientHeight?i:o:t;for(let[t,e,i,n]of[["width","x","left","right"],["height","y","top","bottom"]]){const o=s[t]%1;s[i]+=_(re(l,`border-${i}-width`)),s[t]=s[e]=l[`client${a(t)}`]-(o?o<.5?-o:1-o:0),s[n]=s[t]+s[i]}return s}function Mi(t){const{left:e,width:i,top:n}=ze(t);for(const s of n?[0,n]:[0]){let n;for(const o of O(t).document.elementsFromPoint(e+i/2,s))o.contains(t)||et(o,"bdt-togglable-leave")||!(Oi(o,"fixed")&&Pi(At(t).reverse().find(t=>!t.contains(o)&&!Oi(t,"static")))<Pi(o)||Oi(o,"sticky")&&Ct(o).contains(t))||n&&!(ze(n).height<ze(o).height)||(n=o);if(n)return n}}function Pi(t){return _(re(t,"zIndex"))}function Oi(t,e){return re(t,"position")===e}function Bi(t){return O(t).document.scrollingElement}const Ni=[["width","x","left","right"],["height","y","top","bottom"]];function zi(t,e,i){i={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],placement:[],...i},u(e)||(e=[e,e]),He(t,Hi(t,e,i))}function Hi(t,e,i){const n=Fi(t,e,i),{boundary:s,viewportOffset:o=0,placement:r}=i;let a=n;for(const[l,[h,,c,d]]of Object.entries(Ni)){const u=Wi(t,e[l],o,s,l);if(Ui(n,u,l))continue;let f=0;if("flip"===r[l]){const s=i.attach.target[l];if(s===d&&n[d]<=u[d]||s===c&&n[c]>=u[c])continue;f=Yi(t,e,i,l)[c]-n[c];const r=qi(t,e[l],o,l);if(!Ui(ji(n,f,l),r,l)){if(Ui(n,r,l))continue;if(i.recursion)return!1;const s=Xi(t,e,i);if(s&&Ui(s,r,1-l))return s;continue}}else if("shift"===r[l]){const t=He(e[l]),{offset:s}=i;f=q(q(n[c],u[c],u[d]-n[h]),t[c]-n[h]+s[l],t[d]-s[l])-n[c]}a=ji(a,f,l)}return a}function Fi(t,e,i){let{attach:n,offset:s}={attach:{element:["left","top"],target:["left","top"],...i.attach},offset:[0,0],...i},o=He(t);for(const[t,[i,,r,a]]of Object.entries(Ni)){const l=n.target[t]===n.element[t]?_i(e[t]):He(e[t]);o=ji(o,l[r]-o[r]+Li(n.target[t],a,l[i])-Li(n.element[t],a,o[i])+ +s[t],t)}return o}function ji(t,e,i){const[,n,s,o]=Ni[i],r={...t};return r[s]=t[n]=t[s]+e,r[o]+=e,r}function Li(t,e,i){return"center"===t?i/2:t===e?i:0}function Wi(t,e,i,n,s){let o=Ri(...Vi(t,e).map(_i));return i&&(o[Ni[s][2]]+=i,o[Ni[s][3]]-=i),n&&(o=Ri(o,He(u(n)?n[s]:n))),o}function qi(t,e,i,n){const[s,o,r,l]=Ni[n],[h]=Vi(t,e),c=_i(h);return["auto","scroll"].includes(re(h,`overflow-${o}`))&&(c[r]-=h[`scroll${a(r)}`],c[l]=c[r]+h[`scroll${a(s)}`]),c[r]+=i,c[l]-=i,c}function Vi(t,e){return Di(e).filter(e=>e.contains(t))}function Ri(...t){let e={};for(const i of t)for(const[,,t,n]of Ni)e[t]=Math.max(e[t]||0,i[t]),e[n]=Math.min(...[e[n],i[n]].filter(Boolean));return e}function Ui(t,e,i){const[,,n,s]=Ni[i];return t[n]>=e[n]&&t[s]<=e[s]}function Yi(t,e,{offset:i,attach:n},s){return Fi(t,e,{attach:{element:Ji(n.element,s),target:Ji(n.target,s)},offset:Zi(i,s)})}function Xi(t,e,i){return Hi(t,e,{...i,attach:{element:i.attach.element.map(Gi).reverse(),target:i.attach.target.map(Gi).reverse()},offset:i.offset.reverse(),placement:i.placement.reverse(),recursion:!0})}function Ji(t,e){const i=[...t],n=Ni[e].indexOf(t[e]);return~n&&(i[e]=Ni[e][1-n%2+2]),i}function Gi(t){for(let e=0;e<Ni.length;e++){const i=Ni[e].indexOf(t);if(~i)return Ni[1-e][i%2+2]}}function Zi(t,e){return(t=[...t])[e]*=-1,t}var Ki=Object.freeze({__proto__:null,$:Pe,$$:Oe,Animation:me,Dimensions:J,MouseTracker:ai,Transition:de,addClass:K,after:Se,append:xe,apply:Me,assign:p,attr:st,before:ye,boxModelAdjust:Ve,camelize:r,children:Dt,clamp:q,createEvent:Kt,css:re,data:at,dimensions:ze,each:H,empty:be,endsWith:h,escape:Yt,fastdom:Qe,filter:Tt,find:Nt,findAll:zt,findIndex:d,flipPosition:Re,fragment:De,getCoveringElement:Mi,getEventPos:se,getIndex:G,getTargetedElement:Pt,hasAttr:ot,hasClass:et,hasOwn:i,hasTouch:ct,height:Le,html:we,hyphenate:s,inBrowser:lt,includes:c,index:_t,intersectRect:R,isArray:u,isBoolean:S,isDocument:w,isElement:x,isEmpty:T,isEqual:B,isFocusable:kt,isFunction:g,isInView:function(t,e=0,i=0){return!!xt(t)&&R(...Di(t).map(t=>{const{top:n,left:s,bottom:o,right:r}=_i(t);return{top:n-e,left:s-i,bottom:o+e,right:r+i}}).concat(He(t)))},isInput:St,isNode:$,isNumber:k,isNumeric:C,isObject:m,isPlainObject:v,isRtl:ht,isSameSiteAnchor:Mt,isString:I,isTag:ve,isTouch:ne,isUndefined:E,isVideo:vi,isVisible:xt,isVoidElement:wt,isWindow:b,last:z,matches:Et,memoize:Z,mute:mi,noop:V,observeIntersection:li,observeMutation:ui,observeResize:ci,observeViewportResize:di,off:Jt,offset:He,offsetPosition:je,offsetViewport:_i,on:Xt,once:Gt,overflowParents:Di,parent:Ct,parents:At,pause:gi,pick:W,play:pi,pointInRect:U,pointerCancel:vt,pointerDown:ut,pointerEnter:gt,pointerLeave:mt,pointerMove:ft,pointerUp:pt,position:Fe,positionAt:zi,prepend:$e,propName:ae,query:Ot,queryAll:Bt,ready:function(t){"loading"===document.readyState?Gt(document,"DOMContentLoaded",t):t()},remove:ke,removeAttr:rt,removeClass:Q,replaceClass:tt,scrollIntoView:Ci,scrollParent:Ai,scrollParents:Ei,scrolledOver:Ti,selFocusable:It,selInput:yt,sortBy:F,startsWith:l,sumBy:j,swap:N,toArray:f,toBoolean:A,toEventTargets:ie,toFloat:_,toNode:M,toNodes:P,toNumber:D,toPx:Ue,toWindow:O,toggleClass:it,trigger:Zt,ucfirst:a,uniqueBy:L,unwrap:Ee,width:We,wrapAll:Ce,wrapInner:Te}),Qi={connected(){K(this.$el,this.$options.id)}};const tn=["days","hours","minutes","seconds"];var en={mixins:[Qi],props:{date:String,clsWrapper:String,role:String},data:{date:"",clsWrapper:".bdt-countdown-%unit%",role:"timer"},connected(){st(this.$el,"role",this.role),this.date=_(Date.parse(this.$props.date)),this.end=!1,this.start()},disconnected(){this.stop()},events:{name:"visibilitychange",el:()=>document,handler(){document.hidden?this.stop():this.start()}},methods:{start(){this.stop(),this.update(),this.timer||(Zt(this.$el,"countdownstart"),this.timer=setInterval(this.update,1e3))},stop(){this.timer&&(clearInterval(this.timer),Zt(this.$el,"countdownstop"),this.timer=null)},update(){const t=function(t){const e=Math.max(0,t-Date.now())/1e3;return{total:e,seconds:e%60,minutes:e/60%60,hours:e/60/60%24,days:e/60/60/24}}(this.date);t.total||(this.stop(),this.end||(Zt(this.$el,"countdownend"),this.end=!0));for(const e of tn){const i=Pe(this.clsWrapper.replace("%unit%",e),this.$el);if(!i)continue;let n=Math.trunc(t[e]).toString().padStart(2,"0");i.textContent!==n&&(n=n.split(""),n.length!==i.children.length&&we(i,n.map(()=>"<span></span>").join("")),n.forEach((t,e)=>i.children[e].textContent=t))}}}};const nn={};function sn(t,e,i){return nn.computed(g(t)?t.call(i,i):t,g(e)?e.call(i,i):e)}function on(t,e){return t=t&&!u(t)?[t]:t,e?t?t.concat(e):u(e)?e:[e]:t}function rn(t,e){return E(e)?t:e}function an(t,e,n){const s={};if(g(e)&&(e=e.options),e.extends&&(t=an(t,e.extends,n)),e.mixins)for(const i of e.mixins)t=an(t,i,n);for(const e in t)o(e);for(const n in e)i(t,n)||o(n);function o(i){s[i]=(nn[i]||rn)(t[i],e[i],n)}return s}function ln(t,e=[]){try{return t?l(t,"{")?JSON.parse(t):e.length&&!c(t,":")?{[e[0]]:t}:t.split(";").reduce((t,e)=>{const[i,n]=e.split(/:(.*)/);return i&&!E(n)&&(t[i.trim()]=n.trim()),t},{}):{}}catch(t){return{}}}function hn(t,e){return t===Boolean?A(e):t===Number?D(e):"list"===t?function(t){return u(t)?t:I(t)?t.split(cn).map(t=>C(t)?D(t):A(t.trim())):[t]}(e):t===Object&&I(e)?ln(e):t?t(e):e}nn.events=nn.watch=nn.observe=nn.created=nn.beforeConnect=nn.connected=nn.beforeDisconnect=nn.disconnected=nn.destroy=on,nn.args=function(t,e){return!1!==e&&on(e||t)},nn.update=function(t,e){return F(on(t,g(e)?{read:e}:e),"order")},nn.props=function(t,e){if(u(e)){const t={};for(const i of e)t[i]=String;e=t}return nn.methods(t,e)},nn.computed=nn.methods=function(t,e){return e?t?{...t,...e}:e:t},nn.i18n=nn.data=function(t,e,i){return i?sn(t,e,i):e?t?function(i){return sn(t,e,i)}:e:t};const cn=/,(?![^(]*\))/;function dn(t,e="update"){t._connected&&t._updates.length&&(t._queued||(t._queued=new Set,Qe.read(()=>{t._connected&&function(t,e){for(const{read:i,write:n,events:s=[]}of t._updates){if(!e.has("update")&&!s.some(t=>e.has(t)))continue;let o;i&&(o=i.call(t,t._data,e),o&&v(o)&&p(t._data,o)),n&&!1!==o&&Qe.write(()=>{t._connected&&n.call(t,t._data,e)})}}(t,t._queued),t._queued=null})),t._queued.add(e.type||e))}function un(t){return wn(ci,t,"resize")}function fn(t){return wn(li,t)}function pn(t){return wn(ui,t)}function gn(t={}){return fn({handler:function(e,i){const{targets:n=this.$el,preload:s=5}=t;for(const t of P(g(n)?n(this):n))Oe('[loading="lazy"]',t).slice(0,s-1).forEach(t=>rt(t,"loading"));for(const t of e.filter(({isIntersecting:t})=>t).map(({target:t})=>t))i.unobserve(t)},...t})}function mn(t){return wn((t,e)=>di(e),t,"resize")}function vn(t){return wn((t,e)=>{return{disconnect:Xt((i=t,P(i).map(t=>{const{ownerDocument:e}=t,i=Ai(t,!0);return i===e.scrollingElement?e:i})),"scroll",e,{passive:!0})};var i},t,"scroll")}function bn(t){return{observe:(t,e)=>({observe:V,unobserve:V,disconnect:Xt(t,ut,e,{passive:!0})}),handler(t){if(!ne(t))return;const e=se(t),i="tagName"in t.target?t.target:Ct(t.target);Gt(document,`${pt} ${vt} scroll`,t=>{const{x:n,y:s}=se(t);("scroll"!==t.type&&i&&n&&Math.abs(e.x-n)>100||s&&Math.abs(e.y-s)>100)&&setTimeout(()=>{var t,o,r,a;Zt(i,"swipe"),Zt(i,"swipe"+(t=e.x,o=e.y,r=n,a=s,Math.abs(t-r)>=Math.abs(o-a)?t-r>0?"Left":"Right":o-a>0?"Up":"Down"))})})},...t}}function wn(t,e,i){return{observe:t,handler(){dn(this,i)},...e}}var $n={props:{margin:String,firstColumn:Boolean},data:{margin:"bdt-margin-small-top",firstColumn:"bdt-first-column"},observe:[pn({options:{childList:!0}}),pn({options:{attributes:!0,attributeFilter:["style"]},target:({$el:t})=>[t,...Dt(t)]}),un({target:({$el:t})=>[t,...Dt(t)]})],update:{read(){return{rows:xn(Dt(this.$el))}},write({rows:t}){for(const e of t)for(const i of e)it(i,this.margin,t[0]!==e),it(i,this.firstColumn,e[ht?e.length-1:0]===i)},events:["resize"]}};function xn(t){const e=[[]],i=t.some((e,i)=>i&&t[i-1].offsetParent!==e.offsetParent);for(const n of t){if(!xt(n))continue;const t=yn(n,i);for(let s=e.length-1;s>=0;s--){const o=e[s];if(!o[0]){o.push(n);break}const r=yn(o[0],i);if(t.top>=r.bottom-1&&t.top!==r.top){e.push([n]);break}if(t.bottom-1>r.top||t.top===r.top){let e=o.length-1;for(;e>=0;e--){const n=yn(o[e],i);if(t.left>=n.left)break}o.splice(e+1,0,n);break}if(0===s){e.unshift([n]);break}}}return e}function yn(t,e=!1){let{offsetTop:i,offsetLeft:n,offsetHeight:s,offsetWidth:o}=t;return e&&([i,n]=je(t)),{top:i,left:n,bottom:i+s,right:n+o}}async function Sn(t,e,i){await Cn();let n=Dt(e);const s=n.map(t=>In(t,!0)),o={...re(e,["height","padding"]),display:"block"},r=n.concat(e);await Promise.all(r.map(de.cancel)),re(r,"transitionProperty","none"),await t(),n=n.concat(Dt(e).filter(t=>!c(n,t))),await Promise.resolve(),re(r,"transitionProperty","");const a=st(e,"style"),l=re(e,["height","padding"]),[h,d]=function(t,e,i){const n=e.map((t,e)=>!(!Ct(t)||!(e in i))&&(i[e]?xt(t)?kn(t):{opacity:0}:{opacity:xt(t)?1:0})),s=n.map((n,s)=>{const o=Ct(e[s])===t&&(i[s]||In(e[s]));if(!o)return!1;if(n){if(!("opacity"in n)){const{opacity:t}=o;t%1?n.opacity=1:delete o.opacity}}else delete o.opacity;return o});return[n,s]}(e,n,s),u=n.map(t=>({style:st(t,"style")}));n.forEach((t,e)=>d[e]&&re(t,d[e])),re(e,o),Zt(e,"scroll"),await Cn();const f=n.map((t,n)=>Ct(t)===e&&de.start(t,h[n],i,"ease")).concat(de.start(e,l,i,"ease"));try{await Promise.all(f),n.forEach((t,i)=>{st(t,u[i]),Ct(t)===e&&re(t,"display",0===h[i].opacity?"none":"")}),st(e,"style",a)}catch(t){st(n,"style",""),function(t,e){for(const i in e)re(t,i,"")}(e,o)}}function In(t,e){const i=re(t,"zIndex");return!!xt(t)&&{display:"",opacity:e?re(t,"opacity"):"0",pointerEvents:"none",position:"absolute",zIndex:"auto"===i?_t(t):i,...kn(t)}}function kn(t){const{height:e,width:i}=ze(t);return{height:e,width:i,transform:"",...Fe(t),...re(t,["marginTop","marginLeft"])}}function Cn(){return new Promise(t=>requestAnimationFrame(t))}const Tn="bdt-transition-leave",En="bdt-transition-enter";function An(t,e,i,n=0){const s=Dn(e,!0),o={opacity:1},r={opacity:0},a=t=>()=>s===Dn(e)?t():Promise.reject(),l=a(async()=>{K(e,Tn),await Promise.all(Mn(e).map((t,e)=>new Promise(s=>setTimeout(()=>de.start(t,r,i/2,"ease").then(s),e*n)))),Q(e,Tn)}),h=a(async()=>{const a=Le(e);K(e,En),t(),re(Dt(e),{opacity:0}),await Cn();const l=Dt(e),h=Le(e);re(e,"alignContent","flex-start"),Le(e,a);const c=Mn(e);re(l,r);const d=c.map(async(t,e)=>{var s;await(s=e*n,new Promise(t=>setTimeout(t,s))),await de.start(t,o,i/2,"ease")});a!==h&&d.push(de.start(e,{height:h},i/2+c.length*n,"ease")),await Promise.all(d).then(()=>{Q(e,En),s===Dn(e)&&(re(e,{height:"",alignContent:""}),re(l,{opacity:""}),delete e.dataset.transition)})});return et(e,Tn)?_n(e).then(h):et(e,En)?_n(e).then(l).then(h):l().then(h)}function Dn(t,e){return e&&(t.dataset.transition=1+Dn(t)),D(t.dataset.transition)||0}function _n(t){return Promise.all(Dt(t).filter(de.inProgress).map(t=>new Promise(e=>Gt(t,"transitionend transitioncanceled",e))))}function Mn(t){return xn(Dt(t)).flat().filter(xt)}var Pn={props:{duration:Number,animation:Boolean},data:{duration:150,animation:"slide"},methods:{animate(t,e=this.$el){const i=this.animation;return("fade"===i?An:"delayed-fade"===i?(...t)=>An(...t,40):i?Sn:()=>(t(),Promise.resolve()))(t,e,this.duration).catch(V)}}};const On=9,Bn=27,Nn=32,zn=35,Hn=36,Fn=37,jn=38,Ln=39,Wn=40;var qn={mixins:[Pn],args:"target",props:{target:String,selActive:Boolean},data:{target:"",selActive:!1,attrItem:"bdt-filter-control",cls:"bdt-active",duration:250},computed:{children:({target:t},e)=>Oe(`${t} > *`,e),toggles:({attrItem:t},e)=>Oe(`[${t}],[data-${t}]`,e)},watch:{toggles(t){this.updateState();const e=Oe(this.selActive,this.$el);for(const i of t){!1!==this.selActive&&it(i,this.cls,c(e,i));const t=Yn(i);ve(t,"a")&&st(t,"role","button")}},children(t,e){e&&this.updateState()}},events:{name:"click keydown",delegate:({attrItem:t})=>`[${t}],[data-${t}]`,handler(t){"keydown"===t.type&&t.keyCode!==Nn||t.target.closest("a,button")&&(t.preventDefault(),this.apply(t.current))}},methods:{apply(t){const e=this.getState(),i=Rn(t,this.attrItem,this.getState());var n,s;n=e,s=i,["filter","sort"].every(t=>B(n[t],s[t]))||this.setState(i)},getState(){return this.toggles.filter(t=>et(t,this.cls)).reduce((t,e)=>Rn(e,this.attrItem,t),{filter:{"":""},sort:[]})},async setState(t,e=!0){t={filter:{"":""},sort:[],...t},Zt(this.$el,"beforeFilter",[this,t]);for(const e of this.toggles)it(e,this.cls,Un(e,this.attrItem,t));await Promise.all(Oe(this.target,this.$el).map(i=>{const n=()=>function(t,e,i){const n=Object.values(t.filter).join("");for(const t of i)re(t,"display",n&&!Et(t,n)?"none":"");const[s,o]=t.sort;if(s){const t=function(t,e,i){return[...t].sort((t,n)=>at(t,e).localeCompare(at(n,e),void 0,{numeric:!0})*("asc"===i||-1))}(i,s,o);B(t,i)||xe(e,t)}}(t,i,Dt(i));return e?this.animate(n,i):n()})),Zt(this.$el,"afterFilter",[this])},updateState(){Qe.write(()=>this.setState(this.getState(),!1))}}};function Vn(t,e){return ln(at(t,e),["filter"])}function Rn(t,e,i){const{filter:n,group:s,sort:o,order:r="asc"}=Vn(t,e);return(n||E(o))&&(s?n?(delete i.filter[""],i.filter[s]=n):(delete i.filter[s],(T(i.filter)||""in i.filter)&&(i.filter={"":n||""})):i.filter={"":n||""}),E(o)||(i.sort=[o,r]),i}function Un(t,e,{filter:i={"":""},sort:[n,s]}){const{filter:o="",group:r="",sort:a,order:l="asc"}=Vn(t,e);return E(a)?r in i&&o===i[r]||!o&&r&&!(r in i)&&!i[""]:n===a&&s===l}function Yn(t){return Pe("a,button",t)||t}let Xn;function Jn(t){const e=Xt(t,"touchstart",e=>{if(1!==e.targetTouches.length||Et(e.target,'input[type="range"'))return;let i=se(e).y;const n=Xt(t,"touchmove",e=>{const n=se(e).y;n!==i&&(i=n,Ei(e.target).some(e=>{if(!t.contains(e))return!1;let{scrollHeight:i,clientHeight:n}=e;return n<i})||e.preventDefault())},{passive:!1});Gt(t,"scroll touchend touchcanel",n,{capture:!0})},{passive:!0});if(Xn)return e;Xn=!0;const{scrollingElement:i}=document;return re(i,{overflowY:CSS.supports("overflow","clip")?"clip":"hidden",touchAction:"none",paddingRight:We(window)-i.clientWidth||""}),()=>{Xn=!1,e(),re(i,{overflowY:"",touchAction:"",paddingRight:""})}}var Gn={props:{container:Boolean},data:{container:!0},computed:{container({container:t}){return!0===t&&this.$container||t&&Pe(t)}}},Zn={props:{cls:Boolean,animation:"list",duration:Number,velocity:Number,origin:String,transition:String},data:{cls:!1,animation:[!1],duration:200,velocity:.2,origin:!1,transition:"ease",clsEnter:"bdt-togglable-enter",clsLeave:"bdt-togglable-leave"},computed:{hasAnimation:({animation:t})=>!!t[0],hasTransition:({animation:t})=>["slide","reveal"].some(e=>l(t[0],e))},methods:{async toggleElement(t,e,i){try{return await Promise.all(P(t).map(t=>{const n=S(e)?e:!this.isToggled(t);if(!Zt(t,"before"+(n?"show":"hide"),[this]))return Promise.reject();const s=(g(i)?i:!1!==i&&this.hasAnimation?this.hasTransition?Qn:ts:Kn)(t,n,this),o=n?this.clsEnter:this.clsLeave;K(t,o),Zt(t,n?"show":"hide",[this]);const r=()=>{Q(t,o),Zt(t,n?"shown":"hidden",[this])};return s?s.then(r,()=>(Q(t,o),Promise.reject())):r()})),!0}catch(t){return!1}},isToggled(t=this.$el){return!!et(t=M(t),this.clsEnter)||!et(t,this.clsLeave)&&(this.cls?et(t,this.cls.split(" ")[0]):xt(t))},_toggle(t,e){if(!t)return;let i;e=Boolean(e),this.cls?(i=c(this.cls," ")||e!==et(t,this.cls),i&&it(t,this.cls,c(this.cls," ")?void 0:e)):(i=e===t.hidden,i&&(t.hidden=!e)),Oe("[autofocus]",t).some(t=>xt(t)?t.focus()||!0:t.blur()),i&&Zt(t,"toggled",[e,this])}}};function Kn(t,e,{_toggle:i}){return me.cancel(t),de.cancel(t),i(t,e)}async function Qn(t,e,{animation:i,duration:n,velocity:s,transition:o,_toggle:r}){var a;const[l="reveal",h="top"]=(null==(a=i[0])?void 0:a.split("-"))||[],d=[["left","right"],["top","bottom"]],u=d[c(d[0],h)?0:1],f=u[1]===h,p=["width","height"][d.indexOf(u)],g=`margin-${u[0]}`,m=`margin-${h}`;let v=ze(t)[p];const b=de.inProgress(t);await de.cancel(t),e&&r(t,!0);const w=Object.fromEntries(["padding","border","width","height","minWidth","minHeight","overflowY","overflowX",g,m].map(e=>[e,t.style[e]])),$=ze(t),x=_(re(t,g)),y=_(re(t,m)),S=$[p]+y;b||e||(v+=y);const[I]=Te(t,"<div>");re(I,{boxSizing:"border-box",height:$.height,width:$.width,...re(t,["overflow","padding","borderTop","borderRight","borderBottom","borderLeft","borderImage",m])}),re(t,{padding:0,border:0,minWidth:0,minHeight:0,[m]:0,width:$.width,height:$.height,overflow:"hidden",[p]:v});const k=v/S;n=(s*S+n)*(e?1-k:k);const C={[p]:e?S:0};f&&(re(t,g,S-v+x),C[g]=e?x:S+x),!f^"reveal"===l&&(re(I,g,-S+v),de.start(I,{[g]:e?0:-S},n,o));try{await de.start(t,C,n,o)}finally{re(t,w),Ee(I.firstChild),e||r(t,!1)}}function ts(t,e,i){const{animation:n,duration:s,_toggle:o}=i;return e?(o(t,!0),me.in(t,n[0],s,i.origin)):me.out(t,n[1]||n[0],s,i.origin).then(()=>o(t,!1))}const es=[];var is={mixins:[Qi,Gn,Zn],props:{selPanel:String,selClose:String,escClose:Boolean,bgClose:Boolean,stack:Boolean,role:String},data:{cls:"bdt-open",escClose:!0,bgClose:!0,overlay:!0,stack:!1,role:"dialog"},computed:{panel:({selPanel:t},e)=>Pe(t,e),transitionElement(){return this.panel},bgClose({bgClose:t}){return t&&this.panel}},connected(){st(this.panel||this.$el,"role",this.role),this.overlay&&st(this.panel||this.$el,"aria-modal",!0)},beforeDisconnect(){c(es,this)&&this.toggleElement(this.$el,!1,!1)},events:[{name:"click",delegate:({selClose:t})=>`${t},a[href*="#"]`,handler(t){const{current:e,defaultPrevented:i}=t,{hash:n}=e;!i&&n&&Mt(e)&&!this.$el.contains(Pe(n))?this.hide():Et(e,this.selClose)&&(t.preventDefault(),this.hide())}},{name:"toggle",self:!0,handler(t){t.defaultPrevented||(t.preventDefault(),this.isToggled()===c(es,this)&&this.toggle())}},{name:"beforeshow",self:!0,handler(t){if(c(es,this))return!1;!this.stack&&es.length?(Promise.all(es.map(t=>t.hide())).then(this.show),t.preventDefault()):es.push(this)}},{name:"show",self:!0,handler(){this.stack&&re(this.$el,"zIndex",_(re(this.$el,"zIndex"))+es.length);const t=[this.overlay&&ss(this),this.overlay&&Jn(this.$el),this.bgClose&&os(this),this.escClose&&rs(this)];Gt(this.$el,"hidden",()=>t.forEach(t=>t&&t()),{self:!0}),K(document.documentElement,this.clsPage)}},{name:"shown",self:!0,handler(){kt(this.$el)||st(this.$el,"tabindex","-1"),Et(this.$el,":focus-within")||this.$el.focus()}},{name:"hidden",self:!0,handler(){c(es,this)&&es.splice(es.indexOf(this),1),re(this.$el,"zIndex",""),es.some(t=>t.clsPage===this.clsPage)||Q(document.documentElement,this.clsPage)}}],methods:{toggle(){return this.isToggled()?this.hide():this.show()},show(){return this.container&&Ct(this.$el)!==this.container?(xe(this.container,this.$el),new Promise(t=>requestAnimationFrame(()=>this.show().then(t)))):this.toggleElement(this.$el,!0,ns)},hide(){return this.toggleElement(this.$el,!1,ns)}}};function ns(t,e,{transitionElement:i,_toggle:n}){return new Promise((s,o)=>Gt(t,"show hide",()=>{var r;null==(r=t._reject)||r.call(t),t._reject=o,n(t,e);const a=Gt(i,"transitionstart",()=>{Gt(i,"transitionend transitioncancel",s,{self:!0}),clearTimeout(l)},{self:!0}),l=setTimeout(()=>{a(),s()},(c=re(i,"transitionDuration"))?h(c,"ms")?_(c):1e3*_(c):0);var c})).then(()=>delete t._reject)}function ss(t){return Xt(document,"focusin",e=>{z(es)!==t||t.$el.contains(e.target)||t.$el.focus()})}function os(t){return Xt(document,ut,({target:e})=>{z(es)!==t||t.overlay&&!t.$el.contains(e)||t.panel.contains(e)||Gt(document,`${pt} ${vt} scroll`,({defaultPrevented:i,type:n,target:s})=>{i||n!==pt||e!==s||t.hide()},!0)})}function rs(t){return Xt(document,"keydown",e=>{27===e.keyCode&&z(es)===t&&t.hide()})}var as={slide:{show:t=>[{transform:hs(-100*t)},{transform:hs()}],percent:t=>ls(t),translate:(t,e)=>[{transform:hs(-100*e*t)},{transform:hs(100*e*(1-t))}]}};function ls(t){return Math.abs(new DOMMatrix(re(t,"transform")).m41/t.offsetWidth)}function hs(t=0,e="%"){return`translate3d(${t+=t?e:""}, 0, 0)`}function cs(t){return`scale3d(${t}, ${t}, 1)`}function ds(t,e,i){Zt(t,Kt(e,!1,!1,i))}function us(){let t;return{promise:new Promise(e=>t=e),resolve:t}}var fs={props:{i18n:Object},data:{i18n:null},methods:{t(t,...e){var i,n,s;let o=0;return(null==(s=(null==(i=this.i18n)?void 0:i[t])||(null==(n=this.$options.i18n)?void 0:n[t]))?void 0:s.replace(/%s/g,()=>e[o++]||""))||""}}},ps={props:{autoplay:Boolean,autoplayInterval:Number,pauseOnHover:Boolean},data:{autoplay:!1,autoplayInterval:7e3,pauseOnHover:!0},connected(){st(this.list,"aria-live",this.autoplay?"off":"polite"),this.autoplay&&this.startAutoplay()},disconnected(){this.stopAutoplay()},update(){st(this.slides,"tabindex","-1")},events:[{name:"visibilitychange",el:()=>document,filter:({autoplay:t})=>t,handler(){document.hidden?this.stopAutoplay():this.startAutoplay()}}],methods:{startAutoplay(){this.stopAutoplay(),this.interval=setInterval(()=>{this.stack.length||this.draggable&&Et(this.$el,":focus-within")&&!Et(this.$el,":focus")||this.pauseOnHover&&Et(this.$el,":hover")||this.show("next")},this.autoplayInterval)},stopAutoplay(){clearInterval(this.interval)}}};const gs={passive:!1,capture:!0},ms={passive:!0,capture:!0},vs="touchmove mousemove",bs="touchend touchcancel mouseup click input scroll",ws=t=>t.preventDefault();var $s={props:{draggable:Boolean},data:{draggable:!0,threshold:10},created(){for(const t of["start","move","end"]){const e=this[t];this[t]=t=>{const i=se(t).x*(ht?-1:1);this.prevPos=i===this.pos?this.prevPos:this.pos,this.pos=i,e(t)}}},events:[{name:"touchstart mousedown",passive:!0,delegate:({selList:t})=>`${t} > *`,handler(t){var e;!this.draggable||this.parallax||!ne(t)&&(e=t.target,"none"!==re(e,"userSelect")&&f(e.childNodes).some(t=>3===t.nodeType&&t.textContent.trim()))||t.target.closest(yt)||t.button>0||this.length<2||this.start(t)}},{name:"dragstart",handler(t){t.preventDefault()}},{name:vs,el:({list:t})=>t,handler:V,...gs}],methods:{start(){this.drag=this.pos,this._transitioner?(this.percent=this._transitioner.percent(),this.drag+=this._transitioner.getDistance()*this.percent*this.dir,this._transitioner.cancel(),this._transitioner.translate(this.percent),this.dragging=!0,this.stack=[]):this.prevIndex=this.index,Xt(document,vs,this.move,gs),Xt(document,bs,this.end,ms),re(this.list,"userSelect","none")},move(t){const e=this.pos-this.drag;if(0===e||this.prevPos===this.pos||!this.dragging&&Math.abs(e)<this.threshold)return;this.dragging||Xt(this.list,"click",ws,gs),t.cancelable&&t.preventDefault(),this.dragging=!0,this.dir=e<0?1:-1;let{slides:i,prevIndex:n}=this,s=Math.abs(e),o=this.getIndex(n+this.dir),r=xs.call(this,n,o);for(;o!==n&&s>r;)this.drag-=r*this.dir,n=o,s-=r,o=this.getIndex(n+this.dir),r=xs.call(this,n,o);this.percent=s/r;const a=i[n],l=i[o],h=this.index!==o,d=n===o;let u;for(const t of[this.index,this.prevIndex])c([o,n],t)||(Zt(i[t],"itemhidden",[this]),d&&(u=!0,this.prevIndex=n));(this.index===n&&this.prevIndex!==n||u)&&Zt(i[this.index],"itemshown",[this]),h&&(this.prevIndex=n,this.index=o,d||(Zt(a,"beforeitemhide",[this]),Zt(a,"itemhide",[this])),Zt(l,"beforeitemshow",[this]),Zt(l,"itemshow",[this])),this._transitioner=this._translate(Math.abs(this.percent),a,!d&&l)},end(){if(Jt(document,vs,this.move,gs),Jt(document,bs,this.end,ms),this.dragging)if(this.dragging=null,this.index===this.prevIndex)this.percent=1-this.percent,this.dir*=-1,this._show(!1,this.index,!0),this._transitioner=null;else{const t=(ht?this.dir*(ht?1:-1):this.dir)<0==this.prevPos>this.pos;this.index=t?this.index:this.prevIndex,t&&(this.percent=1-this.percent),this.show(this.dir>0&&!t||this.dir<0&&t?"next":"previous",!0)}setTimeout(()=>Jt(this.list,"click",ws,gs)),re(this.list,{userSelect:""}),this.drag=this.percent=null}}};function xs(t,e){return this._getTransitioner(t,t!==e&&e).getDistance()||this.slides[t].offsetWidth}function ys(t,e,i){t._watches.push({name:i,...v(e)?e:{handler:e}})}const Ss={subtree:!0,childList:!0};function Is(t,e,n){t._hasComputed=!0,Object.defineProperty(t,e,{enumerable:!0,get(){const{_computed:s,$props:o,$el:r}=t;if(!i(s,e)&&(s[e]=(n.get||n).call(t,o,r),n.observe&&t._computedObserver)){const e=n.observe.call(t,o);t._computedObserver.observe(["~","+","-"].includes(e[0])?r.parentElement:r.getRootNode(),Ss)}return s[e]},set(i){const{_computed:s}=t;s[e]=n.set?n.set.call(t,i):i,E(s[e])&&delete s[e]}})}function ks(t){t._hasComputed&&(!function(t,e){t._updates.unshift(e)}(t,{read:()=>function(t,e){for(const{name:n,handler:s,immediate:o=!0}of t._watches)(t._initial&&o||i(e,n)&&!B(e[n],t[n]))&&s.call(t,t[n],e[n]);t._initial=!1}(t,Cs(t)),events:["resize","computed"]}),t._computedObserver=ui(t.$el,()=>dn(t,"computed"),Ss))}function Cs(t){const e={...t._computed};return t._computed={},e}function Ts(t,e,i){let{name:n,el:s,handler:o,capture:r,passive:a,delegate:l,filter:h,self:c}=v(e)?e:{name:i,handler:e};s=g(s)?s.call(t,t):s||t.$el,!s||u(s)&&!s.length||h&&!h.call(t,t)||t._events.push(Xt(s,n,l?I(l)?l:l.call(t,t):null,I(o)?t[o]:o.bind(t),{passive:a,capture:r,self:c}))}function Es(t,...e){t._observers.push(...e)}function As(t,e){let{observe:n,target:s=t.$el,handler:o,options:r,filter:a,args:l}=e;if(a&&!a.call(t,t))return;const h=`_observe${t._observers.length}`;g(s)&&!i(t,h)&&Is(t,h,()=>{const e=s.call(t,t);return u(e)?P(e):e}),o=I(o)?t[o]:o.bind(t),g(r)&&(r=r.call(t,t));const c=n(i(t,h)?t[h]:s,o,r,l);g(s)&&u(t[h])&&ys(t,{handler:Ds(c,r),immediate:!1},h),Es(t,c)}function Ds(t,e){return(i,n)=>{for(const e of n)c(i,e)||(t.unobserve?t.unobserve(e):t.observe&&t.disconnect());for(const s of i)c(n,s)&&t.unobserve||t.observe(s,e)}}function _s(t){const e={},{args:i=[],props:n={},el:o,id:a}=t;if(!n)return e;for(const t in n){const i=s(t);let r=at(o,i);E(r)||(r=n[t]===Boolean&&""===r||hn(n[t],r),"target"===i&&l(r,"_")||(e[t]=r))}const h=ln(at(o,a),i);for(const t in h){const i=r(t);E(n[i])||(e[i]=hn(n[i],h[t]))}return e}const Ms=Z((t,e)=>{const i=Object.keys(e),n=i.concat(t).map(t=>[s(t),`data-${s(t)}`]).flat();return{attributes:i,filter:n}});function Ps(t,e){var i;null==(i=t.$options[e])||i.forEach(e=>e.call(t))}function Os(t){t._connected||(!function(t){const{$options:e,$props:n}=t,s=_s(e);p(n,s);const{computed:o,methods:r}=e;for(let e in n)!(e in s)||o&&i(o,e)||r&&i(r,e)||(t[e]=n[e])}(t),Ps(t,"beforeConnect"),t._connected=!0,function(t){t._events=[];for(const e of t.$options.events||[])if(i(e,"handler"))Ts(t,e);else for(const i in e)Ts(t,e[i],i)}(t),function(t){t._data={},t._updates=[...t.$options.update||[]]}(t),function(t){t._watches=[];for(const e of t.$options.watch||[])for(const[i,n]of Object.entries(e))ys(t,n,i);t._initial=!0}(t),function(t){t._observers=[];for(const e of t.$options.observe||[])As(t,e)}(t),function(t){const{$options:e,$props:i}=t,{id:n,props:s,el:o}=e;if(!s)return;const{attributes:a,filter:l}=Ms(n,s),h=new MutationObserver(s=>{const o=_s(e);s.some(({attributeName:t})=>{const e=t.replace("data-","");return(e===n?a:[r(e),r(t)]).some(t=>!E(o[t])&&o[t]!==i[t])})&&t.$reset()});h.observe(o,{attributes:!0,attributeFilter:l}),Es(t,h)}(t),ks(t),Ps(t,"connected"),dn(t))}function Bs(t){t._connected&&(Ps(t,"beforeDisconnect"),function(t){t._events.forEach(t=>t()),delete t._events}(t),function(t){t._data=null}(t),function(t){for(const e of t._observers)e.disconnect()}(t),function(t){var e;null==(e=t._computedObserver)||e.disconnect(),delete t._computedObserver,Cs(t)}(t),Ps(t,"disconnected"),t._connected=!1)}let Ns=0;function zs(t,e={}){e.data=function({data:t={}},{args:e=[],props:i={}}){u(t)&&(t=t.slice(0,e.length).reduce((t,i,n)=>(v(i)?p(t,i):t[e[n]]=i,t),{}));for(const e in t)E(t[e])?delete t[e]:i[e]&&(t[e]=hn(i[e],t[e]));return t}(e,t.constructor.options),t.$options=an(t.constructor.options,e,t),t.$props={},t._uid=Ns++,function(t){const{data:e={}}=t.$options;for(const i in e)t.$props[i]=t[i]=e[i]}(t),function(t){const{methods:e}=t.$options;if(e)for(const i in e)t[i]=e[i].bind(t)}(t),function(t){const{computed:e}=t.$options;if(t._computed={},e)for(const i in e)Is(t,i,e[i])}(t),Ps(t,"created"),e.el&&t.$mount(e.el)}const Hs=function(t){zs(this,t)};Hs.util=Ki,Hs.options={},Hs.version="3.21.7";const Fs="__uikit__",js={};function Ls(t,e){var i,n;const o="bdt-"+s(t);if(!e)return js[o].options||(js[o]=Hs.extend(js[o])),js[o];t=r(t),Hs[t]=(e,i)=>Ws(t,e,i);const a=null!=(i=e.options)?i:{...e};return a.id=o,a.name=t,null==(n=a.install)||n.call(a,Hs,a,t),Hs._initialized&&!a.functional&&requestAnimationFrame(()=>Ws(t,`[${o}],[data-${o}]`)),js[o]=a}function Ws(t,e,i,...n){const s=Ls(t);return s.options.functional?new s({data:v(e)?e:[e,i,...n]}):e?Oe(e).map(o)[0]:o();function o(e){const n=Vs(e,t);if(n){if(!i)return n;n.$destroy()}return new s({el:e,data:i})}}function qs(t){return(null==t?void 0:t[Fs])||{}}function Vs(t,e){return qs(t)[e]}function Rs(t,e){t=t?M(t):document.body;for(const i of At(t).reverse())Us(i,e);Me(t,t=>Us(t,e))}function Us(t,e){const i=qs(t);for(const t in i)dn(i[t],e)}let Ys=1;function Xs(t,e=null){return(null==e?void 0:e.id)||`${t.$options.id}-${Ys++}`}var Js={i18n:{next:"Next slide",previous:"Previous slide",slideX:"Slide %s",slideLabel:"%s of %s",role:"String"},data:{selNav:!1,role:"region"},computed:{nav:({selNav:t},e)=>Pe(t,e),navChildren(){return Dt(this.nav)},selNavItem:({attrItem:t})=>`[${t}],[data-${t}]`,navItems(t,e){return Oe(this.selNavItem,e)}},watch:{nav(t,e){st(t,"role","tablist"),this.padNavitems(),e&&this.$emit()},list(t){ve(t,"ul")&&st(t,"role","presentation")},navChildren(t){st(t,"role","presentation"),this.padNavitems(),this.updateNav()},navItems(t){for(const e of t){const t=at(e,this.attrItem),i=Pe("a,button",e)||e;let n,s=null;if(C(t)){const e=D(t),o=this.slides[e];o&&(o.id||(o.id=Xs(this,o)),s=o.id),n=this.t("slideX",_(t)+1),st(i,"role","tab")}else this.list&&(this.list.id||(this.list.id=Xs(this,this.list)),s=this.list.id),n=this.t(t);st(i,{"aria-controls":s,"aria-label":st(i,"aria-label")||n})}},slides(t){t.forEach((t,e)=>st(t,{role:this.nav?"tabpanel":"group","aria-label":this.t("slideLabel",e+1,this.length),"aria-roledescription":this.nav?null:"slide"})),this.padNavitems()}},connected(){st(this.$el,{role:this.role,"aria-roledescription":"carousel"})},update:[{write(){this.navItems.concat(this.nav).forEach(t=>t&&(t.hidden=!this.maxIndex)),this.updateNav()},events:["resize"]}],events:[{name:"click keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){!t.target.closest("a,button")||"click"!==t.type&&t.keyCode!==Nn||(t.preventDefault(),this.show(at(t.current,this.attrItem)))}},{name:"itemshow",handler:"updateNav"},{name:"keydown",delegate:({selNavItem:t})=>t,filter:({parallax:t})=>!t,handler(t){const{current:e,keyCode:i}=t;if(!C(at(e,this.attrItem)))return;let n=i===Hn?0:i===zn?"last":i===Fn?"previous":i===Ln?"next":-1;~n&&(t.preventDefault(),this.show(n))}}],methods:{updateNav(){const t=this.getValidIndex();for(const e of this.navItems){const i=at(e,this.attrItem),n=Pe("a,button",e)||e;if(C(i)){const s=D(i)===t;it(e,this.clsActive,s),it(n,"bdt-disabled",this.parallax),st(n,{"aria-selected":s,tabindex:s&&!this.parallax?null:-1}),s&&n&&Et(Ct(e),":focus-within")&&n.focus()}else it(e,"bdt-invisible",this.finite&&("previous"===i&&0===t||"next"===i&&t>=this.maxIndex))}},padNavitems(){if(!this.nav)return;const t=[];for(let e=0;e<this.length;e++){const i=`${this.attrItem}="${e}"`;t[e]=this.navChildren.findLast(t=>t.matches(`[${i}]`))||Pe(`<li ${i}><a href></a></li>`)}B(t,this.navChildren)||we(this.nav,t)}}};var Gs={mixins:[ps,$s,Js,fs],props:{clsActivated:String,easing:String,index:Number,finite:Boolean,velocity:Number},data:()=>({easing:"ease",finite:!1,velocity:1,index:0,prevIndex:-1,stack:[],percent:0,clsActive:"bdt-active",clsActivated:"",clsEnter:"bdt-slide-enter",clsLeave:"bdt-slide-leave",clsSlideActive:"bdt-slide-active",Transitioner:!1,transitionOptions:{}}),connected(){this.prevIndex=-1,this.index=this.getValidIndex(this.$props.index),this.stack=[]},disconnected(){Q(this.slides,this.clsActive)},computed:{duration:({velocity:t},e)=>Zs(e.offsetWidth/t),list:({selList:t},e)=>Pe(t,e),maxIndex(){return this.length-1},slides(){return Dt(this.list)},length(){return this.slides.length}},watch:{slides(t,e){e&&this.$emit()}},events:{itemshow({target:t}){K(t,this.clsEnter,this.clsSlideActive)},itemshown({target:t}){Q(t,this.clsEnter)},itemhide({target:t}){K(t,this.clsLeave)},itemhidden({target:t}){Q(t,this.clsLeave,this.clsSlideActive)}},methods:{show(t,e=!1){var i;if(this.dragging||!this.length||this.parallax)return;const{stack:n}=this,s=e?0:n.length,o=()=>{n.splice(s,1),n.length&&this.show(n.shift(),!0)};if(n[e?"unshift":"push"](t),!e&&n.length>1)return void(2===n.length&&(null==(i=this._transitioner)||i.forward(Math.min(this.duration,200))));const r=this.getIndex(this.index),a=et(this.slides,this.clsActive)&&this.slides[r],l=this.getIndex(t,this.index),h=this.slides[l];if(a===h)return void o();if(this.dir=function(t,e){return"next"===t?1:"previous"===t||t<e?-1:1}(t,r),this.prevIndex=r,this.index=l,a&&!Zt(a,"beforeitemhide",[this])||!Zt(h,"beforeitemshow",[this,a]))return this.index=this.prevIndex,void o();const c=this._show(a,h,e).then(()=>{a&&Zt(a,"itemhidden",[this]),Zt(h,"itemshown",[this]),n.shift(),this._transitioner=null,n.length&&requestAnimationFrame(()=>n.length&&this.show(n.shift(),!0))});return a&&Zt(a,"itemhide",[this]),Zt(h,"itemshow",[this]),c},getIndex(t=this.index,e=this.index){return q(G(t,this.slides,e,this.finite),0,Math.max(0,this.maxIndex))},getValidIndex(t=this.index,e=this.prevIndex){return this.getIndex(t,e)},async _show(t,e,i){if(this._transitioner=this._getTransitioner(t,e,this.dir,{easing:i?e.offsetWidth<600?"cubic-bezier(0.25, 0.46, 0.45, 0.94)":"cubic-bezier(0.165, 0.84, 0.44, 1)":this.easing,...this.transitionOptions}),!i&&!t)return void this._translate(1);const{length:n}=this.stack;return this._transitioner[n>1?"forward":"show"](n>1?Math.min(this.duration,75+75/(n-1)):this.duration,this.percent)},_translate(t,e=this.prevIndex,i=this.index){const n=this._getTransitioner(e!==i&&e,i);return n.translate(t),n},_getTransitioner(t=this.prevIndex,e=this.index,i=this.dir||1,n=this.transitionOptions){return new this.Transitioner(k(t)?this.slides[t]:t,k(e)?this.slides[e]:e,i*(ht?-1:1),n)}}};function Zs(t){return.5*t+300}var Ks={mixins:[Gs],props:{animation:String},data:{animation:"slide",clsActivated:"bdt-transition-active",Animations:as,Transitioner:function(t,e,i,{animation:n,easing:s}){const{percent:o,translate:r,show:a=V}=n,l=a(i),{promise:h,resolve:c}=us();return{dir:i,show(n,o=0,r){const a=r?"linear":s;return n-=Math.round(n*q(o,-1,1)),this.translate(o),ds(e,"itemin",{percent:o,duration:n,timing:a,dir:i}),ds(t,"itemout",{percent:1-o,duration:n,timing:a,dir:i}),Promise.all([de.start(e,l[1],n,a),de.start(t,l[0],n,a)]).then(()=>{this.reset(),c()},V),h},cancel:()=>de.cancel([e,t]),reset(){for(const i in l[0])re([e,t],i,"")},async forward(t,e=this.percent()){return await this.cancel(),this.show(t,e,!0)},translate(n){this.reset();const s=r(n,i);re(e,s[1]),re(t,s[0]),ds(e,"itemtranslatein",{percent:n,dir:i}),ds(t,"itemtranslateout",{percent:1-n,dir:i})},percent:()=>o(t||e,e,i),getDistance:()=>null==t?void 0:t.offsetWidth}}},computed:{animation:({animation:t,Animations:e})=>({...e[t]||e.slide,name:t}),transitionOptions(){return{animation:this.animation}}},observe:un(),events:{beforeitemshow({target:t}){K(t,this.clsActive)},itemshown({target:t}){K(t,this.clsActivated)},itemhidden({target:t}){Q(t,this.clsActive,this.clsActivated)}}},Qs={...as,fade:{show:()=>[{opacity:0},{opacity:1}],percent:t=>1-re(t,"opacity"),translate:t=>[{opacity:1-t},{opacity:t}]},scale:{show:()=>[{opacity:0,transform:cs(.8)},{opacity:1,transform:cs(1)}],percent:t=>1-re(t,"opacity"),translate:t=>[{opacity:1-t,transform:cs(1-.2*t)},{opacity:t,transform:cs(.8+.2*t)}]}},to={mixins:[is,Ks],functional:!0,props:{delayControls:Number,preload:Number,videoAutoplay:Boolean,template:String},data:()=>({preload:1,videoAutoplay:!1,delayControls:3e3,items:[],cls:"bdt-open",clsPage:"bdt-lightbox-page",selList:".bdt-lightbox-items",attrItem:"bdt-lightbox-item",selClose:".bdt-close-large",selCaption:".bdt-lightbox-caption",pauseOnHover:!1,velocity:2,Animations:Qs,template:'<div class="bdt-lightbox bdt-overflow-hidden"> <div class="bdt-lightbox-items"></div> <div class="bdt-lightbox-toolbar bdt-position-top bdt-text-right bdt-transition-slide-top bdt-transition-opaque"> <button class="bdt-lightbox-toolbar-icon bdt-close-large" type="button" bdt-close></button> </div> <a class="bdt-lightbox-button bdt-position-center-left bdt-position-medium bdt-transition-fade" href bdt-slidenav-previous bdt-lightbox-item="previous"></a> <a class="bdt-lightbox-button bdt-position-center-right bdt-position-medium bdt-transition-fade" href bdt-slidenav-next bdt-lightbox-item="next"></a> <div class="bdt-lightbox-toolbar bdt-lightbox-caption bdt-position-bottom bdt-text-center bdt-transition-slide-bottom bdt-transition-opaque"></div> </div>'}),created(){const t=Pe(this.template),e=Pe(this.selList,t);this.items.forEach(()=>xe(e,"<div>"));const i=Pe("[bdt-close]",t),n=this.t("close");i&&n&&(i.dataset.i18n=JSON.stringify({label:n})),this.$mount(xe(this.container,t))},events:[{name:`${ft} ${ut} keydown`,handler:"showControls"},{name:"click",self:!0,delegate:({selList:t})=>`${t} > *`,handler(t){t.defaultPrevented||this.hide()}},{name:"shown",self:!0,handler:"showControls"},{name:"hide",self:!0,handler(){this.hideControls(),Q(this.slides,this.clsActive),de.stop(this.slides)}},{name:"hidden",self:!0,handler(){this.$destroy(!0)}},{name:"keyup",el:()=>document,handler({keyCode:t}){if(!this.isToggled(this.$el)||!this.draggable)return;let e=-1;t===Fn?e="previous":t===Ln?e="next":t===Hn?e=0:t===zn&&(e="last"),~e&&this.show(e)}},{name:"beforeitemshow",handler(t){this.isToggled()||(this.draggable=!1,t.preventDefault(),this.toggleElement(this.$el,!0,!1),this.animation=Qs.scale,Q(t.target,this.clsActive),this.stack.splice(1,0,this.index))}},{name:"itemshow",handler(){const t=Pe(this.selCaption,this.$el);if(t){const e=(this.getItem().caption||"").replace(/<script[^>]*>.*?<\/script>/gi,"").replace(/<img[^>]*>/gi,"").replace(/<iframe[^>]*>.*?<\/iframe>/gi,"").replace(/javascript:/gi,"").replace(/on\w+\s*=/gi,"").replace(/<a[^>]*href\s*=\s*["']?javascript:/gi,'<a href="#"').replace(/<a[^>]*href\s*=\s*["']?data:/gi,'<a href="#"');t.innerHTML=e}for(let t=-this.preload;t<=this.preload;t++)this.loadItem(this.index+t)}},{name:"itemshown",handler(){this.draggable=this.$props.draggable}},{name:"itemload",async handler(t,e){const{source:i,type:n,alt:s="",poster:o,attrs:r={}}=e;if(this.setItem(e,"<span bdt-spinner></span>"),!i)return;let a;const l={allowfullscreen:"",style:"max-width: 100%; box-sizing: border-box;","bdt-responsive":"","bdt-video":`${this.videoAutoplay}`};if("image"===n||i.match(/\.(avif|jpe?g|jfif|a?png|gif|svg|webp)($|\?)/i)){const t=eo("img",{src:i,alt:s,...r});Xt(t,"load",()=>this.setItem(e,t)),Xt(t,"error",()=>this.setError(e))}else if("video"===n||i.match(/\.(mp4|webm|ogv)($|\?)/i)){const t=eo("video",{src:i,poster:o,controls:"",playsinline:"","bdt-video":`${this.videoAutoplay}`,...r});Xt(t,"loadedmetadata",()=>this.setItem(e,t)),Xt(t,"error",()=>this.setError(e))}else if("iframe"===n||i.match(/\.(html|php)($|\?)/i))this.setItem(e,eo("iframe",{src:i,allowfullscreen:"",class:"bdt-lightbox-iframe",...r}));else if(a=i.match(/\/\/(?:.*?youtube(-nocookie)?\..*?(?:[?&]v=|\/shorts\/)|youtu\.be\/)([\w-]{11})[&?]?(.*)?/))this.setItem(e,eo("iframe",{src:`https://www.youtube${a[1]||""}.com/embed/${a[2]}${a[3]?`?${a[3]}`:""}`,width:1920,height:1080,...l,...r}));else if(a=i.match(/\/\/.*?vimeo\.[a-z]+\/(\d+)[&?]?(.*)?/))try{const{height:t,width:n}=await(await fetch(`https://vimeo.com/api/oembed.json?maxwidth=1920&url=${encodeURI(i)}`,{credentials:"omit"})).json();this.setItem(e,eo("iframe",{src:`https://player.vimeo.com/video/${a[1]}${a[2]?`?${a[2]}`:""}`,width:n,height:t,...l,...r}))}catch(t){this.setError(e)}}}],methods:{loadItem(t=this.index){const e=this.getItem(t);this.getSlide(e).childElementCount||Zt(this.$el,"itemload",[e])},getItem(t=this.index){return this.items[G(t,this.slides)]},setItem(t,e){Zt(this.$el,"itemloaded",[this,we(this.getSlide(t),e)])},getSlide(t){return this.slides[this.items.indexOf(t)]},setError(t){this.setItem(t,'<span bdt-icon="icon: bolt; ratio: 2"></span>')},showControls(){clearTimeout(this.controlsTimer),this.controlsTimer=setTimeout(this.hideControls,this.delayControls),K(this.$el,"bdt-active","bdt-transition-active")},hideControls(){Q(this.$el,"bdt-active","bdt-transition-active")}}};function eo(t,e){const i=De(`<${t}>`);return st(i,e),i}var io={install:function(t,e){t.lightboxPanel||t.component("lightboxPanel",to);p(e.props,t.component("lightboxPanel").options.props)},props:{toggle:String},data:{toggle:"a"},computed:{toggles:({toggle:t},e)=>Oe(t,e)},watch:{toggles(t){this.hide();for(const e of t)ve(e,"a")&&st(e,"role","button")}},disconnected(){this.hide()},events:{name:"click",delegate:({toggle:t})=>`${t}:not(.bdt-disabled)`,handler(t){t.defaultPrevented||(t.preventDefault(),this.show(t.current))}},methods:{show(t){const e=L(this.toggles.map(no),"source");if(x(t)){const{source:i}=no(t);t=d(e,({source:t})=>i===t)}return this.panel=this.panel||this.$create("lightboxPanel",{...this.$props,items:e}),Xt(this.panel.$el,"hidden",()=>this.panel=null),this.panel.show(t)},hide(){var t;return null==(t=this.panel)?void 0:t.hide()}}};function no(t){const e={};for(const i of["href","caption","type","poster","alt","attrs"])e["href"===i?"source":i]=at(t,i);return e.attrs=ln(e.attrs),e}var so={mixins:[Gn],functional:!0,args:["message","status"],data:{message:"",status:"",timeout:5e3,group:"",pos:"top-center",clsContainer:"bdt-notification",clsClose:"bdt-notification-close",clsMsg:"bdt-notification-message"},install:function(t){t.notification.closeAll=function(e,i){Me(document.body,n=>{const s=t.getComponent(n,"notification");!s||e&&e!==s.group||s.close(i)})}},computed:{marginProp:({pos:t})=>`margin-${t.match(/[a-z]+(?=-)/)[0]}`,startProps(){return{opacity:0,[this.marginProp]:-this.$el.offsetHeight}}},created(){const t=`${this.clsContainer}-${this.pos}`,e=`data-${this.clsContainer}-container`,i=Pe(`.${t}[${e}]`,this.container)||xe(this.container,`<div class="${this.clsContainer} ${t}" ${e}></div>`);this.$mount(xe(i,`<div class="${this.clsMsg}${this.status?` ${this.clsMsg}-${this.status}`:""}" role="alert"> <a href class="${this.clsClose}" data-bdt-close></a> <div>${this.message}</div> </div>`))},async connected(){const t=_(re(this.$el,this.marginProp));await de.start(re(this.$el,this.startProps),{opacity:1,[this.marginProp]:t}),this.timeout&&(this.timer=setTimeout(this.close,this.timeout))},events:{click(t){t.target.closest('a[href="#"],a[href=""]')&&t.preventDefault(),this.close()},[gt](){this.timer&&clearTimeout(this.timer)},[mt](){this.timeout&&(this.timer=setTimeout(this.close,this.timeout))}},methods:{async close(t){this.timer&&clearTimeout(this.timer),t||await de.start(this.$el,this.startProps),(t=>{const e=Ct(t);Zt(t,"close",[this]),ke(t),(null==e?void 0:e.hasChildNodes())||ke(e)})(this.$el)}}};var oo={props:{media:Boolean},data:{media:!1},connected(){const t=function(t,e){if(I(t))if(l(t,"@"))t=_(re(e,`--bdt-breakpoint-${t.slice(1)}`));else if(isNaN(t))return t;return t&&C(t)?`(min-width: ${t}px)`:""}(this.media,this.$el);if(this.matchMedia=!0,t){this.mediaObj=window.matchMedia(t);const e=()=>{this.matchMedia=this.mediaObj.matches,Zt(this.$el,Kt("mediachange",!1,!0,[this.mediaObj]))};this.offMediaObj=Xt(this.mediaObj,"change",()=>{e(),this.$emit("resize")}),e()}},disconnected(){var t;null==(t=this.offMediaObj)||t.call(this)}};function ro(t){return xt(t)?Math.ceil(Math.max(0,...Oe("[stroke]",t).map(t=>{var e;return(null==(e=t.getTotalLength)?void 0:e.call(t))||0}))):0}const ao={x:co,y:co,rotate:co,scale:co,color:uo,backgroundColor:uo,borderColor:uo,blur:fo,hue:fo,fopacity:fo,grayscale:fo,invert:fo,saturate:fo,sepia:fo,opacity:function(t,e,i){1===i.length&&i.unshift(ko(e,t,""));return i=$o(i),(e,n)=>{e[t]=yo(i,n)}},stroke:function(t,e,i){1===i.length&&i.unshift(0);const n=Io(i),s=ro(e);if(i=$o(i.reverse(),t=>(t=_(t),"%"===n?t*s/100:t)),!i.some(([t])=>t))return V;return re(e,"strokeDasharray",s),(t,e)=>{t.strokeDashoffset=yo(i,e)}},bgx:po,bgy:po},{keys:lo}=Object;var ho={mixins:[oo],props:Co(lo(ao),"list"),data:Co(lo(ao),void 0),computed:{props(t,e){const i={};for(const e in t)e in ao&&!E(t[e])&&(i[e]=t[e].slice());const n={};for(const t in i)n[t]=ao[t](t,e,i[t],i);return n}},events:{load(){this.$emit()}},methods:{reset(){for(const t in this.getCss(0))re(this.$el,t,"")},getCss(t){const e={};for(const i in this.props)this.props[i](e,q(t));return e.willChange=Object.keys(e).map(ae).join(","),e}}};function co(t,e,i){let n,s=Io(i)||{x:"px",y:"px",rotate:"deg"}[t]||"";return"x"===t||"y"===t?(t=`translate${a(t)}`,n=t=>_(_(t).toFixed("px"===s?0:6))):"scale"===t&&(s="",n=t=>{var i;return Io([t])?Ue(t,"width",e,!0)/e["offset"+((null==(i=t.endsWith)?void 0:i.call(t,"vh"))?"Height":"Width")]:_(t)}),1===i.length&&i.unshift("scale"===t?1:0),i=$o(i,n),(e,n)=>{e.transform=`${e.transform||""} ${t}(${yo(i,n)}${s})`}}function uo(t,e,i){return 1===i.length&&i.unshift(ko(e,t,"")),i=$o(i,t=>function(t,e){return ko(t,"color",e).split(/[(),]/g).slice(1,-1).concat(1).slice(0,4).map(_)}(e,t)),(e,n)=>{const[s,o,r]=xo(i,n),a=s.map((t,e)=>(t+=r*(o[e]-t),3===e?_(t):parseInt(t,10))).join(",");e[t]=`rgba(${a})`}}function fo(t,e,i){1===i.length&&i.unshift(0);const n=Io(i)||{blur:"px",hue:"deg"}[t]||"%";return t={fopacity:"opacity",hue:"hue-rotate"}[t]||t,i=$o(i),(e,s)=>{const o=yo(i,s);e.filter=`${e.filter||""} ${t}(${o+n})`}}function po(t,e,i,n){1===i.length&&i.unshift(0);const s="bgy"===t?"height":"width";n[t]=$o(i,t=>Ue(t,s,e));const o=["bgx","bgy"].filter(t=>t in n);if(2===o.length&&"bgx"===t)return V;if("cover"===ko(e,"backgroundSize",""))return function(t,e,i,n){const s=function(t){const e=re(t,"backgroundImage").replace(/^none|url\(["']?(.+?)["']?\)$/,"$1");if(bo[e])return bo[e];const i=new Image;if(e&&(i.src=e,!i.naturalWidth&&!vo[e]))return Gt(i,"error load",()=>{bo[e]=wo(i),Zt(t,Kt("load",!1))}),vo[e]=!0,wo(i);return bo[e]=wo(i)}(e);if(!s.width)return V;const o={width:e.offsetWidth,height:e.offsetHeight},r=["bgx","bgy"].filter(t=>t in n),a={};for(const t of r){const e=n[t].map(([t])=>t),i=Math.min(...e),s=Math.max(...e),r=e.indexOf(i)<e.indexOf(s),l=s-i;a[t]=(r?-l:0)-(r?i:s)+"px",o["bgy"===t?"height":"width"]+=l}const l=J.cover(s,o);for(const t of r){const i="bgy"===t?"height":"width",n=l[i]-o[i];a[t]=`max(${go(e,t)},-${n}px) + ${a[t]}`}const h=mo(r,a,n);return(t,e)=>{h(t,e),t.backgroundSize=`${l.width}px ${l.height}px`,t.backgroundRepeat="no-repeat"}}(0,e,0,n);const r={};for(const t of o)r[t]=go(e,t);return mo(o,r,n)}function go(t,e){return ko(t,`background-position-${e.slice(-1)}`,"")}function mo(t,e,i){return function(n,s){for(const o of t){const t=yo(i[o],s);n[`background-position-${o.slice(-1)}`]=`calc(${e[o]} + ${t}px)`}}}const vo={},bo={};function wo(t){return{width:t.naturalWidth,height:t.naturalHeight}}function $o(t,e=_){const i=[],{length:n}=t;let s=0;for(let o=0;o<n;o++){let[r,a]=I(t[o])?t[o].trim().split(/ (?![^(]*\))/):[t[o]];if(r=e(r),a=a?_(a)/100:null,0===o?null===a?a=0:a&&i.push([r,0]):o===n-1&&(null===a?a=1:1!==a&&(i.push([r,a]),a=1)),i.push([r,a]),null===a)s++;else if(s){const t=i[o-s-1][1],e=(a-t)/(s+1);for(let n=s;n>0;n--)i[o-n][1]=t+e*(s-n+1);s=0}}return i}function xo(t,e){const i=d(t.slice(1),([,t])=>e<=t)+1;return[t[i-1][0],t[i][0],(e-t[i-1][1])/(t[i][1]-t[i-1][1])]}function yo(t,e){const[i,n,s]=xo(t,e);return i+Math.abs(i-n)*s*(i<n?1:-1)}const So=/^-?\d+(?:\.\d+)?(\S+)?/;function Io(t,e){var i;for(const e of t){const t=null==(i=e.match)?void 0:i.call(e,So);if(t)return t[1]}return e}function ko(t,e,i){const n=t.style[e],s=re(re(t,e,i),e);return t.style[e]=n,s}function Co(t,e){return t.reduce((t,i)=>(t[i]=e,t),{})}function To(t,e){return e>=0?Math.pow(t,e+1):1-Math.pow(1-t,1-e)}var Eo={mixins:[ho],props:{target:String,viewport:Number,easing:Number,start:String,end:String},data:{target:!1,viewport:1,easing:1,start:0,end:0},computed:{target:({target:t},e)=>Ao(t&&Ot(t,e)||e),start({start:t}){return Ue(t,"height",this.target,!0)},end({end:t,viewport:e}){return Ue(t||(e=100*(1-e))&&`${e}vh+${e}%`,"height",this.target,!0)}},observe:[mn(),vn({target:({target:t})=>t}),un({target:({$el:t,target:e})=>[t,e,Ai(e,!0)]})],update:{read({percent:t},e){if(e.has("scroll")||(t=!1),!xt(this.$el))return!1;if(!this.matchMedia)return;const i=t;return{percent:t=To(Ti(this.target,this.start,this.end),this.easing),style:i!==t&&this.getCss(t)}},write({style:t}){this.matchMedia?t&&re(this.$el,t):this.reset()},events:["scroll","resize"]}};function Ao(t){return t?"offsetTop"in t?t:Ao(Ct(t)):document.documentElement}var Do={props:{parallax:Boolean,parallaxTarget:Boolean,parallaxStart:String,parallaxEnd:String,parallaxEasing:Number},data:{parallax:!1,parallaxTarget:!1,parallaxStart:0,parallaxEnd:0,parallaxEasing:0},observe:[un({target:({$el:t,parallaxTarget:e})=>[t,e],filter:({parallax:t})=>t}),vn({filter:({parallax:t})=>t})],computed:{parallaxTarget({parallaxTarget:t},e){return t&&Ot(t,e)||this.list}},update:{read(){if(!this.parallax)return!1;const t=this.parallaxTarget;if(!t)return!1;const e=To(Ti(t,Ue(this.parallaxStart,"height",t,!0),Ue(this.parallaxEnd,"height",t,!0)),this.parallaxEasing);return{parallax:this.getIndexAt(e)}},write({parallax:t}){const[e,i]=t,n=this.getValidIndex(e+Math.ceil(i)),s=this.slides[e],o=this.slides[n],{triggerShow:r,triggerShown:a,triggerHide:l,triggerHidden:h}=function(t){const{clsSlideActive:e,clsEnter:i,clsLeave:n}=t;return{triggerShow:s,triggerShown:o,triggerHide:r,triggerHidden:a};function s(i){et(i,n)&&(r(i),a(i)),et(i,e)||(Zt(i,"beforeitemshow",[t]),Zt(i,"itemshow",[t]))}function o(e){et(e,i)&&Zt(e,"itemshown",[t])}function r(r){et(r,e)||s(r),et(r,i)&&o(r),et(r,n)||(Zt(r,"beforeitemhide",[t]),Zt(r,"itemhide",[t]))}function a(e){et(e,n)&&Zt(e,"itemhidden",[t])}}(this);if(~this.prevIndex)for(const t of new Set([this.index,this.prevIndex]))c([n,e],t)||(l(this.slides[t]),h(this.slides[t]));const d=this.prevIndex!==e||this.index!==n;this.dir=1,this.prevIndex=e,this.index=n,s!==o&&l(s),r(o),d&&a(s),this._translate(s===o?1:i,s,o)},events:["scroll","resize"]},methods:{getIndexAt(t){const e=t*(this.length-1);return[Math.floor(e),e%1]}}};var _o={update:{write(){if(this.stack.length||this.dragging||this.parallax)return;const t=this.getValidIndex();~this.prevIndex&&this.index===t?this._translate(1):this.show(t)},events:["resize"]}},Mo={observe:gn({target:({slides:t})=>t,targets:t=>t.getAdjacentSlides()}),methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}};function Po(t,e,i){const n=No(t,e);return i?n-function(t,e){return ze(e).width/2-ze(t).width/2}(t,e):Math.min(n,Oo(e))}function Oo(t){return Math.max(0,Bo(t)-ze(t).width)}function Bo(t,e){return j(Dt(t).slice(0,e),t=>ze(t).width)}function No(t,e){return t&&(Fe(t).left+(ht?ze(t).width-ze(e).width:0))*(ht?-1:1)||0}function zo(t,e){e-=1;const i=ze(t).width,n=e+i+2;return Dt(t).filter(s=>{const o=No(s,t),r=o+Math.min(ze(s).width,i);return o>=e&&r<=n})}var Ho={mixins:[Qi,Gs,_o,Do,Mo],props:{center:Boolean,sets:Boolean,active:String},data:{center:!1,sets:!1,attrItem:"bdt-slider-item",selList:".bdt-slider-items",selNav:".bdt-slider-nav",clsContainer:"bdt-slider-container",active:"all",Transitioner:function(t,e,i,{center:n,easing:s,list:o}){const r=t?Po(t,o,n):Po(e,o,n)+ze(e).width*i,a=e?Po(e,o,n):r+ze(t).width*i*(ht?-1:1),{promise:l,resolve:h}=us();return{dir:i,show(e,n=0,r){const c=r?"linear":s;return e-=Math.round(e*q(n,-1,1)),re(o,"transitionProperty","none"),this.translate(n),re(o,"transitionProperty",""),n=t?n:q(n,0,1),ds(this.getItemIn(),"itemin",{percent:n,duration:e,timing:c,dir:i}),t&&ds(this.getItemIn(!0),"itemout",{percent:1-n,duration:e,timing:c,dir:i}),de.start(o,{transform:hs(-a*(ht?-1:1),"px")},e,c).then(h,V),l},cancel:()=>de.cancel(o),reset(){re(o,"transform","")},async forward(t,e=this.percent()){return await this.cancel(),this.show(t,e,!0)},translate(n){if(n===this.percent())return;const s=this.getDistance()*i*(ht?-1:1);re(o,"transform",hs(q(s-s*n-a,-Bo(o),ze(o).width)*(ht?-1:1),"px"));const r=this.getActives(),l=this.getItemIn(),h=this.getItemIn(!0);n=t?q(n,-1,1):0;for(const s of Dt(o)){const a=c(r,s),d=s===l,u=s===h;ds(s,"itemtranslate"+(d||!u&&(a||i*(ht?-1:1)==-1^No(s,o)>No(t||e))?"in":"out"),{dir:i,percent:u?1-n:d?n:a?1:0})}},percent:()=>Math.abs((new DOMMatrix(re(o,"transform")).m41*(ht?-1:1)+r)/(a-r)),getDistance:()=>Math.abs(a-r),getItemIn(i=!1){let s=this.getActives(),r=zo(o,Po(e||t,o,n));if(i){const t=s;s=r,r=t}return r[d(r,t=>!c(s,t))]},getActives:()=>zo(o,Po(t||e,o,n))}}},computed:{finite({finite:t}){return t||function(t,e){if(!t||t.length<2)return!0;const{width:i}=ze(t);if(!e)return Math.ceil(Bo(t))<Math.trunc(i+function(t){return Math.max(0,...Dt(t).map(t=>ze(t).width))}(t));const n=Dt(t),s=Math.trunc(i/2);for(const t in n){const e=n[t],i=ze(e).width,o=new Set([e]);let r=0;for(const e of[-1,1]){let a=i/2,l=0;for(;a<s;){const i=n[G(+t+e+l++*e,n)];if(o.has(i))return!0;a+=ze(i).width,o.add(i)}r=Math.max(r,i/2+ze(n[G(+t+e,n)]).width/2-(a-s))}if(Math.trunc(r)>j(n.filter(t=>!o.has(t)),t=>ze(t).width))return!0}return!1}(this.list,this.center)},maxIndex(){if(!this.finite||this.center&&!this.sets)return this.length-1;if(this.center)return z(this.sets);let t=0;const e=Oo(this.list),i=d(this.slides,i=>{if(t>=e)return!0;t+=ze(i).width});return~i?i:this.length-1},sets({sets:t}){if(!t||this.parallax)return;let e=0;const i=[],n=ze(this.list).width;for(let t=0;t<this.length;t++){const s=ze(this.slides[t]).width;e+s>n&&(e=0),this.center?e<n/2&&e+s+ze(this.slides[G(t+1,this.slides)]).width/2>n/2&&(i.push(t),e=n/2-s/2):0===e&&i.push(Math.min(t,this.maxIndex)),e+=s}return i.length?i:void 0},transitionOptions(){return{center:this.center,list:this.list}},slides(){return Dt(this.list).filter(xt)}},connected(){it(this.$el,this.clsContainer,!Pe(`.${this.clsContainer}`,this.$el))},observe:un({target:({slides:t,$el:e})=>[e,...t]}),update:{write(){for(const t of this.navItems){const e=D(at(t,this.attrItem));!1!==e&&(t.hidden=!this.maxIndex||e>this.maxIndex||this.sets&&!c(this.sets,e))}this.reorder(),this.parallax||this._translate(1),this.updateActiveClasses()},events:["resize"]},events:{beforeitemshow(t){!this.dragging&&this.sets&&this.stack.length<2&&!c(this.sets,this.index)&&(this.index=this.getValidIndex());const e=Math.abs(this.index-this.prevIndex+(this.dir>0&&this.index<this.prevIndex||this.dir<0&&this.index>this.prevIndex?(this.maxIndex+1)*this.dir:0));if(!this.dragging&&e>1){for(let t=0;t<e;t++)this.stack.splice(1,0,this.dir>0?"next":"previous");return void t.preventDefault()}const i=this.dir<0||!this.slides[this.prevIndex]?this.index:this.prevIndex,n=Bo(this.list)/this.length;this.duration=Zs(n/this.velocity)*(ze(this.slides[i]).width/n),this.reorder()},itemshow(){~this.prevIndex&&K(this._getTransitioner().getItemIn(),this.clsActive),this.updateActiveClasses(this.prevIndex)},itemshown(){this.updateActiveClasses()}},methods:{reorder(){if(this.finite)return void re(this.slides,"order","");const t=this.dir>0&&this.slides[this.prevIndex]?this.prevIndex:this.index;if(this.slides.forEach((e,i)=>re(e,"order",this.dir>0&&i<t?1:this.dir<0&&i>=this.index?-1:"")),!this.center||!this.length)return;const e=this.slides[t];let i=ze(this.list).width/2-ze(e).width/2,n=0;for(;i>0;){const e=this.getIndex(--n+t,t),s=this.slides[e];re(s,"order",e>t?-2:-1),i-=ze(s).width}},updateActiveClasses(t=this.index){let e=this._getTransitioner(t).getActives();"all"!==this.active&&(e=[this.slides[this.getValidIndex(t)]]);const n=[this.clsActive,!this.sets||c(this.sets,_(this.index))?this.clsActivated:""];for(const t of this.slides){const s=c(e,t);it(t,n,s),st(t,"aria-hidden",!s);for(const e of Oe(It,t))i(e,"_tabindex")||(e._tabindex=st(e,"tabindex")),st(e,"tabindex",s?e._tabindex:-1)}},getValidIndex(t=this.index,e=this.prevIndex){if(t=this.getIndex(t,e),!this.sets)return t;let i;do{if(c(this.sets,t))return t;i=t,t=this.getIndex(t+this.dir,e)}while(t!==i);return t},getAdjacentSlides(){const{width:t}=ze(this.list),e=-t,i=2*t,n=ze(this.slides[this.index]).width,s=this.center?t/2-n/2:0,o=new Set;for(const t of[-1,1]){let r=s+(t>0?n:0),a=0;do{const e=this.slides[this.getIndex(this.index+t+a++*t)];r+=ze(e).width*t,o.add(e)}while(this.length>a&&r>e&&r<i)}return Array.from(o)},getIndexAt(t){let e=-1;let i=t*(this.center?Bo(this.list)-(ze(this.slides[0]).width/2+ze(z(this.slides)).width/2):Bo(this.list,this.maxIndex)),n=0;do{const t=ze(this.slides[++e]).width,s=this.center?t/2+ze(this.slides[e+1]).width/2:t;n=i/s%1,i-=s}while(i>=0&&e<this.maxIndex);return[e,n]}}};var Fo={mixins:[ho],beforeConnect(){this.item=this.$el.closest(`.${this.$options.id.replace("parallax","items")} > *`)},disconnected(){this.item=null},events:[{name:"itemin itemout",self:!0,el:({item:t})=>t,handler({type:t,detail:{percent:e,duration:i,timing:n,dir:s}}){Qe.read(()=>{if(!this.matchMedia)return;const o=this.getCss(Lo(t,s,e)),r=this.getCss(jo(t)?.5:s>0?1:0);Qe.write(()=>{re(this.$el,o),de.start(this.$el,r,i,n).catch(V)})})}},{name:"transitioncanceled transitionend",self:!0,el:({item:t})=>t,handler(){de.cancel(this.$el)}},{name:"itemtranslatein itemtranslateout",self:!0,el:({item:t})=>t,handler({type:t,detail:{percent:e,dir:i}}){Qe.read(()=>{if(!this.matchMedia)return void this.reset();const n=this.getCss(Lo(t,i,e));Qe.write(()=>re(this.$el,n))})}}]};function jo(t){return h(t,"in")}function Lo(t,e,i){return i/=2,jo(t)^e<0?i:1-i}var Wo={...as,fade:{show:()=>[{opacity:0,zIndex:0},{zIndex:-1}],percent:t=>1-re(t,"opacity"),translate:t=>[{opacity:1-t,zIndex:0},{zIndex:-1}]},scale:{show:()=>[{opacity:0,transform:cs(1.5),zIndex:0},{zIndex:-1}],percent:t=>1-re(t,"opacity"),translate:t=>[{opacity:1-t,transform:cs(1+.5*t),zIndex:0},{zIndex:-1}]},pull:{show:t=>t<0?[{transform:hs(30),zIndex:-1},{transform:hs(),zIndex:0}]:[{transform:hs(-100),zIndex:0},{transform:hs(),zIndex:-1}],percent:(t,e,i)=>i<0?1-ls(e):ls(t),translate:(t,e)=>e<0?[{transform:hs(30*t),zIndex:-1},{transform:hs(-100*(1-t)),zIndex:0}]:[{transform:hs(100*-t),zIndex:0},{transform:hs(30*(1-t)),zIndex:-1}]},push:{show:t=>t<0?[{transform:hs(100),zIndex:0},{transform:hs(),zIndex:-1}]:[{transform:hs(-30),zIndex:-1},{transform:hs(),zIndex:0}],percent:(t,e,i)=>i>0?1-ls(e):ls(t),translate:(t,e)=>e<0?[{transform:hs(100*t),zIndex:0},{transform:hs(-30*(1-t)),zIndex:-1}]:[{transform:hs(-30*t),zIndex:-1},{transform:hs(100*(1-t)),zIndex:0}]}},qo={mixins:[Qi,Ks,_o,Do,Mo],props:{ratio:String,minHeight:String,maxHeight:String},data:{ratio:"16:9",minHeight:void 0,maxHeight:void 0,selList:".bdt-slideshow-items",attrItem:"bdt-slideshow-item",selNav:".bdt-slideshow-nav",Animations:Wo},watch:{list(t){re(t,{aspectRatio:this.ratio?this.ratio.replace(":","/"):void 0,minHeight:this.minHeight,maxHeight:this.maxHeight,minWidth:"100%",maxWidth:"100%"})}},methods:{getAdjacentSlides(){return[1,-1].map(t=>this.slides[this.getIndex(this.index+t)])}}},Vo={mixins:[Qi,Pn],props:{group:String,threshold:Number,clsItem:String,clsPlaceholder:String,clsDrag:String,clsDragState:String,clsBase:String,clsNoDrag:String,clsEmpty:String,clsCustom:String,handle:String},data:{group:!1,threshold:5,clsItem:"bdt-sortable-item",clsPlaceholder:"bdt-sortable-placeholder",clsDrag:"bdt-sortable-drag",clsDragState:"bdt-drag",clsBase:"bdt-sortable",clsNoDrag:"bdt-sortable-nodrag",clsEmpty:"bdt-sortable-empty",clsCustom:"",handle:!1,pos:{}},events:{name:ut,passive:!1,handler:"init"},computed:{target:(t,e)=>(e.tBodies||[e])[0],items(){return Dt(this.target)},isEmpty(){return!this.items.length},handles({handle:t},e){return t?Oe(t,e):this.items}},watch:{isEmpty(t){it(this.target,this.clsEmpty,t)},handles(t,e){re(e,{touchAction:"",userSelect:""}),re(t,{touchAction:"none",userSelect:"none"})}},update:{write(t){if(!this.drag||!Ct(this.placeholder))return;const{pos:{x:e,y:i},origin:{offsetTop:n,offsetLeft:s},placeholder:o}=this;re(this.drag,{top:i-n,left:e-s});const r=this.getSortable(document.elementFromPoint(e,i));if(!r)return;const{items:a}=r;if(a.some(de.inProgress))return;const l=function(t,e){return t[d(t,t=>U(e,ze(t)))]}(a,{x:e,y:i});if(a.length&&(!l||l===o))return;const h=this.getSortable(o),c=function(t,e,i,n,s,o){if(!Dt(t).length)return;const r=ze(e);if(!o)return function(t,e){const i=1===Dt(t).length;i&&xe(t,e);const n=Dt(t),s=n.some((t,e)=>{const i=ze(t);return n.slice(e+1).some(t=>{const e=ze(t);return!Uo([i.left,i.right],[e.left,e.right])})});i&&ke(e);return s}(t,i)||s<r.top+r.height/2?e:e.nextElementSibling;const a=ze(i),l=Uo([r.top,r.bottom],[a.top,a.bottom]),[h,c,d,u]=l?[n,"width","left","right"]:[s,"height","top","bottom"],f=a[c]<r[c]?r[c]-a[c]:0;if(a[d]<r[d])return!(f&&h<r[d]+f)&&e.nextElementSibling;if(f&&h>r[u]-f)return!1;return e}(r.target,l,o,e,i,r===h&&t.moved!==l);!1!==c&&(c&&o===c||(r!==h?(h.remove(o),t.moved=l):delete t.moved,r.insert(o,c),this.touched.add(r)))},events:["move"]},methods:{init(t){const{target:e,button:i,defaultPrevented:n}=t,[s]=this.items.filter(t=>t.contains(e));!s||n||i>0||St(e)||e.closest(`.${this.clsNoDrag}`)||this.handle&&!e.closest(this.handle)||(t.preventDefault(),this.pos=se(t),this.touched=new Set([this]),this.placeholder=s,this.origin={target:e,index:_t(s),...this.pos},Xt(document,ft,this.move),Xt(document,pt,this.end),this.threshold||this.start(t))},start(t){this.drag=function(t,e){let i;if(ve(e,"li","tr")){i=Pe("<div>"),xe(i,e.cloneNode(!0).children);for(const t of e.getAttributeNames())st(i,t,e.getAttribute(t))}else i=e.cloneNode(!0);return xe(t,i),re(i,"margin","0","important"),re(i,{boxSizing:"border-box",width:e.offsetWidth,height:e.offsetHeight,padding:re(e,"padding")}),Le(i.firstElementChild,Le(e.firstElementChild)),i}(this.$container,this.placeholder);const{left:e,top:i}=ze(this.placeholder);p(this.origin,{offsetLeft:this.pos.x-e,offsetTop:this.pos.y-i}),K(this.drag,this.clsDrag,this.clsCustom),K(this.placeholder,this.clsPlaceholder),K(this.items,this.clsItem),K(document.documentElement,this.clsDragState),Zt(this.$el,"start",[this,this.placeholder]),function(t){let e=Date.now();Ro=setInterval(()=>{let{x:i,y:n}=t;n+=document.scrollingElement.scrollTop;const s=.3*(Date.now()-e);e=Date.now(),Ei(document.elementFromPoint(i,t.y)).reverse().some(t=>{let{scrollTop:e,scrollHeight:i}=t;const{top:o,bottom:r,height:a}=_i(t);if(o<n&&o+35>n)e-=s;else{if(!(r>n&&r-35<n))return;e+=s}if(e>0&&e<i-a)return t.scrollTop=e,!0})},15)}(this.pos),this.move(t)},move:function(t){let e;return function(...i){e||(e=!0,t.call(this,...i),requestAnimationFrame(()=>e=!1))}}(function(t){p(this.pos,se(t)),!this.drag&&(Math.abs(this.pos.x-this.origin.x)>this.threshold||Math.abs(this.pos.y-this.origin.y)>this.threshold)&&this.start(t),this.$emit("move")}),end(){if(Jt(document,ft,this.move),Jt(document,pt,this.end),!this.drag)return;clearInterval(Ro);const t=this.getSortable(this.placeholder);this===t?this.origin.index!==_t(this.placeholder)&&Zt(this.$el,"moved",[this,this.placeholder]):(Zt(t.$el,"added",[t,this.placeholder]),Zt(this.$el,"removed",[this,this.placeholder])),Zt(this.$el,"stop",[this,this.placeholder]),ke(this.drag),this.drag=null;for(const{clsPlaceholder:t,clsItem:e}of this.touched)for(const i of this.touched)Q(i.items,t,e);this.touched=null,Q(document.documentElement,this.clsDragState)},insert(t,e){K(this.items,this.clsItem),e&&e.previousElementSibling!==t?this.animate(()=>ye(e,t)):e||this.target.lastElementChild===t||this.animate(()=>xe(this.target,t))},remove(t){this.target.contains(t)&&this.animate(()=>ke(t))},getSortable(t){do{const e=this.$getComponent(t,"sortable");if(e&&(e===this||!1!==this.group&&e.group===this.group))return e}while(t=Ct(t))}}};let Ro;function Uo(t,e){return t[1]>e[0]&&e[1]>t[0]}var Yo={props:{pos:String,offset:Boolean,flip:Boolean,shift:Boolean,inset:Boolean},data:{pos:"bottom-"+(ht?"right":"left"),offset:!1,flip:!0,shift:!0,inset:!1},connected(){this.pos=this.$props.pos.split("-").concat("center").slice(0,2),[this.dir,this.align]=this.pos,this.axis=c(["top","bottom"],this.dir)?"y":"x"},methods:{positionAt(t,e,i){let n=[this.getPositionOffset(t),this.getShiftOffset(t)];const s=[this.flip&&"flip",this.shift&&"shift"],o={element:[this.inset?this.dir:Re(this.dir),this.align],target:[this.dir,this.align]};if("y"===this.axis){for(const t in o)o[t].reverse();n.reverse(),s.reverse()}const r=Xo(t),a=ze(t);re(t,{top:-a.height,left:-a.width}),zi(t,e,{attach:o,offset:n,boundary:i,placement:s,viewportOffset:this.getViewportOffset(t)}),r()},getPositionOffset(t=this.$el){return Ue(!1===this.offset?re(t,"--bdt-position-offset"):this.offset,"x"===this.axis?"width":"height",t)*(c(["left","top"],this.dir)?-1:1)*(this.inset?-1:1)},getShiftOffset(t=this.$el){return"center"===this.align?0:Ue(re(t,"--bdt-position-shift-offset"),"y"===this.axis?"width":"height",t)*(c(["left","top"],this.align)?1:-1)},getViewportOffset:t=>Ue(re(t,"--bdt-position-viewport-offset"))}};function Xo(t){const e=Ai(t),{scrollTop:i}=e;return()=>{i!==e.scrollTop&&(e.scrollTop=i)}}var Jo={mixins:[Gn,Zn,Yo],data:{pos:"top",animation:["bdt-animation-scale-up"],duration:100,cls:"bdt-active"},connected(){var t;kt(t=this.$el)||st(t,"tabindex","0")},disconnected(){this.hide()},methods:{show(){if(this.isToggled(this.tooltip||null))return;const{delay:t=0,title:e}=function(t){const{el:e,id:i,data:n}=t;return["delay","title"].reduce((t,i)=>({[i]:at(e,i),...t}),{...ln(at(e,i),["title"]),...n})}(this.$options);if(!e)return;const i=st(this.$el,"title"),n=Xt(this.$el,["blur",mt],t=>!ne(t)&&this.hide());this.reset=()=>{st(this.$el,{title:i,"aria-describedby":null}),n()};const s=Xs(this);st(this.$el,{title:null,"aria-describedby":s}),clearTimeout(this.showTimer),this.showTimer=setTimeout(()=>this._show(e,s),t)},async hide(){var t;Et(this.$el,"input:focus")||(clearTimeout(this.showTimer),this.isToggled(this.tooltip||null)&&await this.toggleElement(this.tooltip,!1,!1),null==(t=this.reset)||t.call(this),ke(this.tooltip),this.tooltip=null)},async _show(t,e){this.tooltip=xe(this.container,`<div id="${e}" class="bdt-${this.$options.name}" role="tooltip"> <div class="bdt-${this.$options.name}-inner">${t}</div> </div>`),Xt(this.tooltip,"toggled",(t,e)=>{if(!e)return;const i=()=>this.positionAt(this.tooltip,this.$el);i();const[n,s]=function(t,e,[i,n]){const s=He(t),o=He(e),r=[["left","right"],["top","bottom"]];for(const t of r){if(s[t[0]]>=o[t[1]]){i=t[1];break}if(s[t[1]]<=o[t[0]]){i=t[0];break}}const a=c(r[0],i)?r[1]:r[0];return n=a.find(t=>s[t]===o[t])||"center",[i,n]}(this.tooltip,this.$el,this.pos);this.origin="y"===this.axis?`${Re(n)}-${s}`:`${s}-${Re(n)}`;const o=[Gt(document,`keydown ${ut}`,this.hide,!1,t=>t.type===ut&&!this.$el.contains(t.target)||"keydown"===t.type&&t.keyCode===Bn),Xt([document,...Di(this.$el)],"scroll",i,{passive:!0})];Gt(this.tooltip,"hide",()=>o.forEach(t=>t()),{self:!0})}),await this.toggleElement(this.tooltip,!0)||this.hide()}},events:{[`focus ${gt} ${ut}`](t){ne(t)&&t.type!==ut||this.show()}}};var Go={mixins:[fs],i18n:{invalidMime:"Invalid File Type: %s",invalidName:"Invalid File Name: %s",invalidSize:"Invalid File Size: %s Kilobytes Max"},props:{allow:String,clsDragover:String,concurrent:Number,maxSize:Number,method:String,mime:String,multiple:Boolean,name:String,params:Object,type:String,url:String},data:{allow:!1,clsDragover:"bdt-dragover",concurrent:1,maxSize:0,method:"POST",mime:!1,multiple:!1,name:"files[]",params:{},type:"",url:"",abort:V,beforeAll:V,beforeSend:V,complete:V,completeAll:V,error:V,fail:V,load:V,loadEnd:V,loadStart:V,progress:V},events:{change(t){Et(t.target,'input[type="file"]')&&(t.preventDefault(),t.target.files&&this.upload(t.target.files),t.target.value="")},drop(t){Ko(t);const e=t.dataTransfer;(null==e?void 0:e.files)&&(Q(this.$el,this.clsDragover),this.upload(e.files))},dragenter(t){Ko(t)},dragover(t){Ko(t),K(this.$el,this.clsDragover)},dragleave(t){Ko(t),Q(this.$el,this.clsDragover)}},methods:{async upload(t){if(!(t=f(t)).length)return;Zt(this.$el,"upload",[t]);for(const e of t){if(this.maxSize&&1e3*this.maxSize<e.size)return void this.fail(this.t("invalidSize",this.maxSize));if(this.allow&&!Zo(this.allow,e.name))return void this.fail(this.t("invalidName",this.allow));if(this.mime&&!Zo(this.mime,e.type))return void this.fail(this.t("invalidMime",this.mime))}this.multiple||(t=t.slice(0,1)),this.beforeAll(this,t);const e=function(t,e){const i=[];for(let n=0;n<t.length;n+=e)i.push(t.slice(n,n+e));return i}(t,this.concurrent),i=async t=>{const n=new FormData;t.forEach(t=>n.append(this.name,t));for(const t in this.params)n.append(t,this.params[t]);try{const t=await async function(t,e){const i={data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:V,responseType:"",...e};return await i.beforeSend(i),function(t,e){return new Promise((i,n)=>{const{xhr:s}=e;for(const t in e)if(t in s)try{s[t]=e[t]}catch(t){}s.open(e.method.toUpperCase(),t);for(const t in e.headers)s.setRequestHeader(t,e.headers[t]);Xt(s,"load",()=>{0===s.status||s.status>=200&&s.status<300||304===s.status?i(s):n(p(Error(s.statusText),{xhr:s,status:s.status}))}),Xt(s,"error",()=>n(p(Error("Network Error"),{xhr:s}))),Xt(s,"timeout",()=>n(p(Error("Network Timeout"),{xhr:s}))),s.send(e.data)})}(t,i)}(this.url,{data:n,method:this.method,responseType:this.type,beforeSend:t=>{const{xhr:e}=t;Xt(e.upload,"progress",this.progress);for(const t of["loadStart","load","loadEnd","abort"])Xt(e,t.toLowerCase(),this[t]);return this.beforeSend(t)}});this.complete(t),e.length?await i(e.shift()):this.completeAll(t)}catch(t){this.error(t)}};await i(e.shift())}}};function Zo(t,e){return e.match(new RegExp(`^${t.replace(/\//g,"\\/").replace(/\*\*/g,"(\\/[^\\/]+)*").replace(/\*/g,"[^\\/]+").replace(/((?!\\))\?/g,"$1.")}$`,"i"))}function Ko(t){t.preventDefault(),t.stopPropagation()}var Qo=Object.freeze({__proto__:null,Countdown:en,Filter:qn,Lightbox:io,LightboxPanel:to,Notification:so,Parallax:Eo,Slider:Ho,SliderParallax:Fo,Slideshow:qo,SlideshowParallax:Fo,Sortable:Vo,Tooltip:Jo,Upload:Go});function tr(t){Zt(document,"uikit:init",t),document.body&&Me(document.body,nr),new MutationObserver(t=>t.forEach(er)).observe(document,{subtree:!0,childList:!0}),new MutationObserver(t=>t.forEach(ir)).observe(document,{subtree:!0,attributes:!0}),t._initialized=!0}function er({addedNodes:t,removedNodes:e}){for(const e of t)Me(e,nr);for(const t of e)Me(t,sr)}function ir({target:t,attributeName:e}){var i;const n=or(e);n&&(ot(t,e)?Ws(n,t):null==(i=Vs(t,n))||i.$destroy())}function nr(t){const e=qs(t);for(const t in e)Os(e[t]);for(const e of t.getAttributeNames()){const i=or(e);i&&Ws(i,t)}}function sr(t){const e=qs(t);for(const t in e)Bs(e[t])}function or(t){l(t,"data-")&&(t=t.slice(5));const e=js[t];return e&&(e.options||e).name}!function(t){let e;t.component=Ls,t.getComponents=qs,t.getComponent=Vs,t.update=Rs,t.use=function(t){if(!t.installed)return t.call(null,this),t.installed=!0,this},t.mixin=function(t,e){(e=(I(e)?this.component(e):e)||this).options=an(e.options,t)},t.extend=function(t){t||(t={});const e=this,i=function(t){zs(this,t)};return(i.prototype=Object.create(e.prototype)).constructor=i,i.options=an(e.options,t),i.super=e,i.extend=e.extend,i},Object.defineProperty(t,"container",{get:()=>e||document.body,set(t){e=Pe(t)}})}(Hs),function(t){t.prototype.$mount=function(t){const e=this;!function(t,e){t[Fs]||(t[Fs]={}),t[Fs][e.$options.name]=e}(t,e),e.$options.el=t,document.contains(t)&&Os(e)},t.prototype.$destroy=function(t=!1){const e=this,{el:i}=e.$options;i&&Bs(e),Ps(e,"destroy"),function(t,e){var i;null==(i=t[Fs])||delete i[e.$options.name],T(t[Fs])&&delete t[Fs]}(i,e),t&&ke(e.$el)},t.prototype.$create=Ws,t.prototype.$emit=function(t){dn(this,t)},t.prototype.$update=function(t=this.$el,e){Rs(t,e)},t.prototype.$reset=function(){Bs(this),Os(this)},t.prototype.$getComponent=Vs,Object.defineProperties(t.prototype,{$el:{get(){return this.$options.el}},$container:Object.getOwnPropertyDescriptor(t,"container")})}(Hs);var rr={mixins:[Qi,Zn],props:{animation:Boolean,targets:String,active:null,collapsible:Boolean,multiple:Boolean,toggle:String,content:String,offset:Number},data:{targets:"> *",active:!1,animation:!0,collapsible:!0,multiple:!1,clsOpen:"bdt-open",toggle:"> .bdt-accordion-title",content:"> .bdt-accordion-content",offset:0},computed:{items:({targets:t},e)=>Oe(t,e),toggles({toggle:t}){return this.items.map(e=>Pe(t,e))},contents({content:t}){return this.items.map(e=>{var i;return(null==(i=e._wrapper)?void 0:i.firstElementChild)||Pe(t,e)})}},watch:{items(t,e){if(e||et(t,this.clsOpen))return;const i=!1!==this.active&&t[Number(this.active)]||!this.collapsible&&t[0];i&&this.toggle(i,!1)},toggles(){this.$emit()},contents(t){for(const e of t){const t=et(this.items.find(t=>t.contains(e)),this.clsOpen);ar(e,!t)}this.$emit()}},observe:gn(),events:[{name:"click keydown",delegate:({targets:t,$props:e})=>`${t} ${e.toggle}`,async handler(t){var e;"keydown"===t.type&&t.keyCode!==Nn||(t.preventDefault(),null==(e=this._off)||e.call(this),this._off=function(t){const e=Ai(t,!0);let i;return function n(){i=requestAnimationFrame(()=>{const{top:i}=ze(t);i<0&&(e.scrollTop+=i),n()})}(),()=>requestAnimationFrame(()=>cancelAnimationFrame(i))}(t.target),await this.toggle(_t(this.toggles,t.current)),this._off())}},{name:"shown hidden",self:!0,delegate:({targets:t})=>t,handler(){this.$emit()}}],update(){const t=Tt(this.items,`.${this.clsOpen}`);for(const e in this.items){const i=this.toggles[e],n=this.contents[e];if(!i||!n)continue;i.id=Xs(this,i),n.id=Xs(this,n);const s=c(t,this.items[e]);st(i,{role:ve(i,"a")?"button":null,"aria-controls":n.id,"aria-expanded":s,"aria-disabled":!this.collapsible&&t.length<2&&s}),st(n,{role:"region","aria-labelledby":i.id}),ve(n,"ul")&&st(Dt(n),"role","presentation")}},methods:{toggle(t,e){let i=[t=this.items[G(t,this.items)]];const n=Tt(this.items,`.${this.clsOpen}`);if(this.multiple||c(n,i[0])||(i=i.concat(n)),!(!this.collapsible&&n.length<2&&c(n,t)))return Promise.all(i.map(t=>this.toggleElement(t,!c(n,t),(t,i)=>{if(it(t,this.clsOpen,i),!1!==e&&this.animation)return async function(t,e,{content:i,duration:n,velocity:s,transition:o}){var r;i=(null==(r=t._wrapper)?void 0:r.firstElementChild)||Pe(i,t),t._wrapper||(t._wrapper=Ce(i,"<div>"));const a=t._wrapper;re(a,"overflow","hidden");const l=_(re(a,"height"));await de.cancel(a),ar(i,!1);const h=j(["marginTop","marginBottom"],t=>re(i,t))+ze(i).height,c=l/h;n=(s*h+n)*(e?1-c:c),re(a,"height",l),await de.start(a,{height:e?h:0},n,o),Ee(i),delete t._wrapper,e||ar(i,!0)}(t,i,this);ar(Pe(this.content,t),!i)})))}}};function ar(t,e){t&&(t.hidden=e)}var lr={mixins:[Qi,Zn],args:"animation",props:{animation:Boolean,close:String},data:{animation:!0,selClose:".bdt-alert-close",duration:150},events:{name:"click",delegate:({selClose:t})=>t,handler(t){t.preventDefault(),this.close()}},methods:{async close(){await this.toggleElement(this.$el,!1,hr),this.$destroy(!0)}}};function hr(t,e,{duration:i,transition:n,velocity:s}){const o=_(re(t,"height"));return re(t,"height",o),de.start(t,{height:0,marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,borderTop:0,borderBottom:0,opacity:0},s*o+i,n)}var cr={args:"autoplay",props:{automute:Boolean,autoplay:Boolean},data:{automute:!1,autoplay:!0},beforeConnect(){"inview"!==this.autoplay||ot(this.$el,"preload")||(this.$el.preload="none"),ve(this.$el,"iframe")&&!ot(this.$el,"allow")&&(this.$el.allow="autoplay"),"hover"===this.autoplay&&(ve(this.$el,"video")?this.$el.tabindex=0:this.autoplay=!0),this.automute&&mi(this.$el)},events:[{name:`${gt} focusin`,filter:({autoplay:t})=>c(t,"hover"),handler(t){var e;!ne(t)||((e=this.$el).paused||e.ended)?pi(this.$el):gi(this.$el)}},{name:`${mt} focusout`,filter:({autoplay:t})=>c(t,"hover"),handler(t){ne(t)||gi(this.$el)}}],observe:[fn({filter:({$el:t,autoplay:e})=>e&&"hover"!==e&&vi(t),handler([{isIntersecting:t}]){document.fullscreenElement||(t?pi(this.$el):gi(this.$el))},args:{intersecting:!1},options:({$el:t,autoplay:e})=>({root:"inview"===e?null:Ct(t)})})]};var dr={mixins:[cr],props:{width:Number,height:Number},data:{automute:!0},created(){this.useObjectFit=ve(this.$el,"img","video")},observe:un({target:({$el:t})=>ur(t)||Ct(t),filter:({useObjectFit:t})=>!t}),update:{read(){if(this.useObjectFit)return!1;const{ratio:t,cover:e}=J,{$el:i,width:n,height:s}=this;let o={width:n,height:s};if(!n||!s){const e={width:i.naturalWidth||i.videoWidth||i.clientWidth,height:i.naturalHeight||i.videoHeight||i.clientHeight};o=n?t(e,"width",n):s?t(e,"height",s):e}const{offsetHeight:r,offsetWidth:a}=ur(i)||Ct(i),l=e(o,{width:a,height:r});return!(!l.width||!l.height)&&l},write({height:t,width:e}){re(this.$el,{height:t,width:e})},events:["resize"]}};function ur(t){for(;t=Ct(t);)if("static"!==re(t,"position"))return t}let fr;var pr={mixins:[Gn,Yo,Zn],args:"pos",props:{mode:"list",toggle:Boolean,boundary:Boolean,boundaryX:Boolean,boundaryY:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,stretch:Boolean,delayShow:Number,delayHide:Number,autoUpdate:Boolean,clsDrop:String,animateOut:Boolean,bgScroll:Boolean,closeOnScroll:Boolean},data:{mode:["click","hover"],toggle:"- *",boundary:!1,boundaryX:!1,boundaryY:!1,target:!1,targetX:!1,targetY:!1,stretch:!1,delayShow:0,delayHide:800,autoUpdate:!0,clsDrop:!1,animateOut:!1,bgScroll:!0,animation:["bdt-animation-fade"],cls:"bdt-open",container:!1,closeOnScroll:!1},computed:{boundary:({boundary:t,boundaryX:e,boundaryY:i},n)=>[Ot(e||t,n)||window,Ot(i||t,n)||window],target({target:t,targetX:e,targetY:i},n){return e||(e=t||this.targetEl),i||(i=t||this.targetEl),[!0===e?window:Ot(e,n),!0===i?window:Ot(i,n)]}},created(){this.tracker=new ai},beforeConnect(){this.clsDrop=this.$props.clsDrop||this.$options.id},connected(){K(this.$el,"bdt-drop",this.clsDrop),this.toggle&&!this.targetEl&&(this.targetEl=function(t){const{$el:e}=t.$create("toggle",Ot(t.toggle,t.$el),{target:t.$el,mode:t.mode});return st(e,"aria-haspopup",!0),e}(this)),this._style=W(this.$el.style,["width","height"])},disconnected(){this.isActive()&&(this.hide(!1),fr=null),re(this.$el,this._style)},events:[{name:"click",delegate:()=>".bdt-drop-close",handler(t){t.preventDefault(),this.hide(!1)}},{name:"click",delegate:()=>'a[href*="#"]',handler({defaultPrevented:t,current:e}){const{hash:i}=e;!t&&i&&Mt(e)&&!this.$el.contains(Pe(i))&&this.hide(!1)}},{name:"beforescroll",handler(){this.hide(!1)}},{name:"toggle",self:!0,handler(t,e){t.preventDefault(),this.isToggled()?this.hide(!1):this.show(null==e?void 0:e.$el,!1)}},{name:"toggleshow",self:!0,handler(t,e){t.preventDefault(),this.show(null==e?void 0:e.$el)}},{name:"togglehide",self:!0,handler(t){t.preventDefault(),Et(this.$el,":focus,:hover")||this.hide()}},{name:`${gt} focusin`,filter:({mode:t})=>c(t,"hover"),handler(t){ne(t)||this.clearTimers()}},{name:`${mt} focusout`,filter:({mode:t})=>c(t,"hover"),handler(t){!ne(t)&&t.relatedTarget&&this.hide()}},{name:"toggled",self:!0,handler(t,e){e&&(this.clearTimers(),this.position())}},{name:"show",self:!0,handler(){fr=this,this.tracker.init(),st(this.targetEl,"aria-expanded",!0);const t=[gr(this),vr(this),wr(this),this.autoUpdate&&mr(this),this.closeOnScroll&&br(this)];Gt(this.$el,"hide",()=>t.forEach(t=>t&&t()),{self:!0}),this.bgScroll||Gt(this.$el,"hidden",Jn(this.$el),{self:!0})}},{name:"beforehide",self:!0,handler:"clearTimers"},{name:"hide",handler({target:t}){this.$el===t?(fr=this.isActive()?null:fr,this.tracker.cancel(),st(this.targetEl,"aria-expanded",null)):fr=null===fr&&this.$el.contains(t)&&this.isToggled()?this:fr}}],update:{write(){this.isToggled()&&!et(this.$el,this.clsEnter)&&this.position()}},methods:{show(t=this.targetEl,e=!0){if(this.isToggled()&&t&&this.targetEl&&t!==this.targetEl&&this.hide(!1,!1),this.targetEl=t,this.clearTimers(),!this.isActive()){if(fr){if(e&&fr.isDelaying())return void(this.showTimer=setTimeout(()=>Et(t,":hover")&&this.show(),10));let i;for(;fr&&i!==fr&&!fr.$el.contains(this.$el);)i=fr,fr.hide(!1,!1)}this.container&&Ct(this.$el)!==this.container&&xe(this.container,this.$el),this.showTimer=setTimeout(()=>this.toggleElement(this.$el,!0),e&&this.delayShow||0)}},hide(t=!0,e=!0){const i=()=>this.toggleElement(this.$el,!1,this.animateOut&&e);this.clearTimers(),this.isDelayedHide=t,t&&this.isDelaying()?this.hideTimer=setTimeout(this.hide,50):t&&this.delayHide?this.hideTimer=setTimeout(i,this.delayHide):i()},clearTimers(){clearTimeout(this.showTimer),clearTimeout(this.hideTimer),this.showTimer=null,this.hideTimer=null},isActive(){return fr===this},isDelaying(){return[this.$el,...Oe(".bdt-drop",this.$el)].some(t=>this.tracker.movesTo(t))},position(){const t=Xo(this.$el);Q(this.$el,"bdt-drop-stack"),re(this.$el,this._style),this.$el.hidden=!0;const e=this.target.map(t=>function(t,e){return _i(Di(e).find(e=>e.contains(t)))}(this.$el,t)),i=this.getViewportOffset(this.$el),n=[[0,["x","width","left","right"]],[1,["y","height","top","bottom"]]];for(const[t,[s,o]]of n)this.axis!==s&&c([s,!0],this.stretch)&&re(this.$el,{[o]:Math.min(He(this.boundary[t])[o],e[t][o]-2*i),[`overflow-${s}`]:"auto"});const s=e[0].width-2*i;this.$el.hidden=!1,re(this.$el,"maxWidth",""),this.$el.offsetWidth>s&&K(this.$el,"bdt-drop-stack"),re(this.$el,"maxWidth",s),this.positionAt(this.$el,this.target,this.boundary);for(const[t,[s,o,r,a]]of n)if(this.axis===s&&c([s,!0],this.stretch)){const n=Math.abs(this.getPositionOffset()),l=He(this.target[t]),h=He(this.$el);re(this.$el,{[o]:(l[r]>h[r]?l[this.inset?a:r]-Math.max(He(this.boundary[t])[r],e[t][r]+i):Math.min(He(this.boundary[t])[a],e[t][a]-i)-l[this.inset?r:a])-n,[`overflow-${s}`]:"auto"}),this.positionAt(this.$el,this.target,this.boundary)}t()}}};function gr(t){const e=()=>t.$emit(),i=[di(e),ci(Di(t.$el).concat(t.target),e)];return()=>i.map(t=>t.disconnect())}function mr(t,e=()=>t.$emit()){return Xt([document,...Di(t.$el)],"scroll",e,{passive:!0})}function vr(t){return Xt(document,"keydown",e=>{e.keyCode===Bn&&t.hide(!1)})}function br(t){return mr(t,()=>t.hide(!1))}function wr(t){return Xt(document,ut,({target:e})=>{t.$el.contains(e)||Gt(document,`${pt} ${vt} scroll`,({defaultPrevented:i,type:n,target:s})=>{var o;i||n!==pt||e!==s||(null==(o=t.targetEl)?void 0:o.contains(e))||t.hide(!1)},!0)})}var $r={mixins:[Qi,Gn],props:{align:String,clsDrop:String,boundary:Boolean,dropbar:Boolean,dropbarAnchor:Boolean,duration:Number,mode:Boolean,offset:Boolean,stretch:Boolean,delayShow:Boolean,delayHide:Boolean,target:Boolean,targetX:Boolean,targetY:Boolean,animation:Boolean,animateOut:Boolean,closeOnScroll:Boolean},data:{align:ht?"right":"left",clsDrop:"bdt-dropdown",clsDropbar:"bdt-dropnav-dropbar",boundary:!0,dropbar:!1,dropbarAnchor:!1,duration:200,container:!1,selNavItem:"> li > a, > ul > li > a"},computed:{dropbarAnchor:({dropbarAnchor:t},e)=>Ot(t,e)||e,dropbar({dropbar:t}){return t?(t=this._dropbar||Ot(t,this.$el)||Pe(`+ .${this.clsDropbar}`,this.$el))||(this._dropbar=Pe("<div></div>")):null},dropContainer(t,e){return this.container||e},dropdowns({clsDrop:t},e){var i;const n=Oe(`.${t}`,e);if(this.dropContainer!==e)for(const e of Oe(`.${t}`,this.dropContainer)){const t=null==(i=this.getDropdown(e))?void 0:i.targetEl;!c(n,e)&&t&&this.$el.contains(t)&&n.push(e)}return n},items:({selNavItem:t},e)=>Oe(t,e)},watch:{dropbar(t){K(t,"bdt-dropbar","bdt-dropbar-top",this.clsDropbar,`bdt-${this.$options.name}-dropbar`)},dropdowns(){this.initializeDropdowns()}},connected(){this.initializeDropdowns()},disconnected(){ke(this._dropbar),delete this._dropbar},events:[{name:"mouseover focusin",delegate:({selNavItem:t})=>t,handler({current:t}){const e=this.getActive();e&&c(e.mode,"hover")&&e.targetEl&&!t.contains(e.targetEl)&&!e.isDelaying()&&e.hide(!1)}},{name:"keydown",self:!0,delegate:({selNavItem:t})=>t,handler(t){var e;const{current:i,keyCode:n}=t,s=this.getActive();n===Wn&&(null==s?void 0:s.targetEl)===i&&(t.preventDefault(),null==(e=Pe(It,s.$el))||e.focus()),xr(t,this.items,s)}},{name:"keydown",el:({dropContainer:t})=>t,delegate:({clsDrop:t})=>`.${t}`,handler(t){var e;const{current:i,keyCode:n,target:s}=t;if(St(s)||!c(this.dropdowns,i))return;const o=this.getActive();let r=-1;if(n===Hn?r=0:n===zn?r="last":n===jn?r="previous":n===Wn?r="next":n===Bn&&(null==(e=o.targetEl)||e.focus()),~r){t.preventDefault();const e=Oe(It,i);e[G(r,e,d(e,t=>Et(t,":focus")))].focus()}xr(t,this.items,o)}},{name:"mouseleave",el:({dropbar:t})=>t,filter:({dropbar:t})=>t,handler(){const t=this.getActive();t&&c(t.mode,"hover")&&!this.dropdowns.some(t=>Et(t,":hover"))&&t.hide()}},{name:"beforeshow",el:({dropContainer:t})=>t,filter:({dropbar:t})=>t,handler({target:t}){this.isDropbarDrop(t)&&(this.dropbar.previousElementSibling!==this.dropbarAnchor&&Se(this.dropbarAnchor,this.dropbar),K(t,`${this.clsDrop}-dropbar`))}},{name:"show",el:({dropContainer:t})=>t,filter:({dropbar:t})=>t,handler({target:t}){if(!this.isDropbarDrop(t))return;const e=this.getDropdown(t),i=()=>{const i=Math.max(...At(t,`.${this.clsDrop}`).concat(t).map(t=>He(t).bottom));He(this.dropbar,{left:He(this.dropbar).left,top:this.getDropbarOffset(e.getPositionOffset())}),this.transitionTo(i-He(this.dropbar).top+_(re(t,"marginBottom")),t)};this._observer=ci([e.$el,...e.target],i),i()}},{name:"beforehide",el:({dropContainer:t})=>t,filter:({dropbar:t})=>t,handler(t){const e=this.getActive();Et(this.dropbar,":hover")&&e.$el===t.target&&this.isDropbarDrop(e.$el)&&c(e.mode,"hover")&&e.isDelayedHide&&!this.items.some(t=>e.targetEl!==t&&Et(t,":focus"))&&t.preventDefault()}},{name:"hide",el:({dropContainer:t})=>t,filter:({dropbar:t})=>t,handler({target:t}){var e;if(!this.isDropbarDrop(t))return;null==(e=this._observer)||e.disconnect();const i=this.getActive();i&&i.$el!==t||this.transitionTo(0)}}],methods:{getActive(){var t;return c(this.dropdowns,null==(t=fr)?void 0:t.$el)&&fr},async transitionTo(t,e){const{dropbar:i}=this,n=Le(i);if(e=n<t&&e,await de.cancel([e,i]),e){const s=He(e).top-He(i).top-n;s>0&&re(e,"transitionDelay",s/t*this.duration+"ms")}re(e,"clipPath",`polygon(0 0,100% 0,100% ${n}px,0 ${n}px)`),Le(i,n),await Promise.all([de.start(i,{height:t},this.duration),de.start(e,{clipPath:`polygon(0 0,100% 0,100% ${t}px,0 ${t}px)`},this.duration).finally(()=>re(e,{clipPath:"",transitionDelay:""}))]).catch(V)},getDropdown(t){return this.$getComponent(t,"drop")||this.$getComponent(t,"dropdown")},isDropbarDrop(t){return c(this.dropdowns,t)&&et(t,this.clsDrop)},getDropbarOffset(t){const{$el:e,target:i,targetY:n}=this,{top:s,height:o}=He(Ot(n||i||e,e));return s+o+t},initializeDropdowns(){this.$create("drop",this.dropdowns.filter(t=>!this.getDropdown(t)),{...this.$props,flip:!1,shift:!0,pos:`bottom-${this.align}`,boundary:!0===this.boundary?this.$el:this.boundary})}}};function xr(t,e,i){var n,s,o;const{current:r,keyCode:a}=t;let l=-1;a===Hn?l=0:a===zn?l="last":a===Fn?l="previous":a===Ln?l="next":a===On&&(null==(n=i.targetEl)||n.focus(),null==(s=i.hide)||s.call(i,!1)),~l&&(t.preventDefault(),null==(o=i.hide)||o.call(i,!1),e[G(l,e,e.indexOf(i.targetEl||r))].focus())}var yr={mixins:[Qi],args:"target",props:{target:Boolean},data:{target:!1},computed:{input:(t,e)=>Pe(yt,e),state(){return this.input.nextElementSibling},target({target:t},e){return t&&(!0===t&&Ct(this.input)===e&&this.input.nextElementSibling||Pe(t,e))}},update(){var t;const{target:e,input:i}=this;if(!e)return;let n;const s=St(e)?"value":"textContent",o=e[s],r=(null==(t=i.files)?void 0:t[0])?i.files[0].name:Et(i,"select")&&(n=Oe("option",i).filter(t=>t.selected)[0])?n.textContent:i.value;o!==r&&(e[s]=r)},events:[{name:"change",handler(){this.$emit()}},{name:"reset",el:({$el:t})=>t.closest("form"),handler(){this.$emit()}}]},Sr={extends:$n,mixins:[Qi],name:"grid",props:{masonry:Boolean,parallax:String,parallaxStart:String,parallaxEnd:String,parallaxJustify:Boolean},data:{margin:"bdt-grid-margin",clsStack:"bdt-grid-stack",masonry:!1,parallax:0,parallaxStart:0,parallaxEnd:0,parallaxJustify:!1},connected(){this.masonry&&K(this.$el,"bdt-flex-top","bdt-flex-wrap-top")},observe:vn({filter:({parallax:t,parallaxJustify:e})=>t||e}),update:[{write({rows:t}){it(this.$el,this.clsStack,!t.some(t=>t.length>1))},events:["resize"]},{read(t){const{rows:e}=t;let{masonry:i,parallax:n,parallaxJustify:s,margin:o}=this;if(n=Math.max(0,Ue(n)),!(i||n||s)||Ir(e)||e[0].some((t,i)=>e.some(e=>e[i]&&e[i].offsetWidth!==t.offsetWidth)))return t.translates=t.scrollColumns=!1;let r,a,l=function(t,e){const i=t.flat().find(t=>et(t,e));return _(i?re(i,"marginTop"):re(t[0][0],"paddingLeft"))}(e,o);i?[r,a]=function(t,e,i){const n=[],s=[],o=Array(t[0].length).fill(0);let r=0;for(let a of t){ht&&(a=a.reverse());let t=0;for(const l in a){const{offsetWidth:h,offsetHeight:c}=a[l],d=i?l:o.indexOf(Math.min(...o));kr(n,d,a[l]),kr(s,d,[(d-l)*h*(ht?-1:1),o[d]-r]),o[d]+=c+e,t=Math.max(t,c)}r+=t+e}return[n,s]}(e,l,"next"===i):r=function(t){const e=[];for(const i of t)for(const t in i)kr(e,t,i[t]);return e}(e);const h=r.map(t=>j(t,"offsetHeight")+l*(t.length-1)),c=Math.max(0,...h);let d,u,f;return(n||s)&&(d=h.map((t,e)=>s?c-t+n:n/(e%2||8)),s||(n=Math.max(...h.map((t,e)=>t+d[e]-c))),u=Ue(this.parallaxStart,"height",this.$el,!0),f=Ue(this.parallaxEnd,"height",this.$el,!0)),{columns:r,translates:a,scrollColumns:d,parallaxStart:u,parallaxEnd:f,padding:n,height:a?c:""}},write({height:t,padding:e}){re(this.$el,"paddingBottom",e||""),!1!==t&&re(this.$el,"height",t)},events:["resize"]},{read({rows:t,scrollColumns:e,parallaxStart:i,parallaxEnd:n}){return{scrolled:!(!e||Ir(t))&&Ti(this.$el,i,n)}},write({columns:t,scrolled:e,scrollColumns:i,translates:n}){(e||n)&&t.forEach((t,s)=>t.forEach((t,o)=>{let[r,a]=n&&n[s][o]||[0,0];e&&(a+=e*i[s]),re(t,"transform",`translate(${r}px, ${a}px)`)}))},events:["scroll","resize"]}]};function Ir(t){return t.flat().some(t=>"absolute"===re(t,"position"))}function kr(t,e,i){t[e]||(t[e]=[]),t[e].push(i)}var Cr={args:"target",props:{target:String,row:Boolean},data:{target:"> *",row:!0},computed:{elements:({target:t},e)=>Oe(t,e)},observe:un({target:({$el:t,elements:e})=>e.reduce((t,e)=>t.concat(e,...e.children),[t])}),events:{name:"loadingdone",el:()=>document.fonts,handler(){this.$emit("resize")}},update:{read(){return{rows:(this.row?xn(this.elements):[this.elements]).map(Tr)}},write({rows:t}){for(const{heights:e,elements:i}of t)i.forEach((t,i)=>re(t,"minHeight",e[i]))},events:["resize"]}};function Tr(t){if(t.length<2)return{heights:[""],elements:t};let e=t.map(Er);const i=Math.max(...e);return{heights:t.map((t,n)=>e[n].toFixed(2)===i.toFixed(2)?"":i),elements:t}}function Er(t){const e=W(t.style,["display","minHeight"]);xt(t)||re(t,"display","block","important"),re(t,"minHeight","");const i=ze(t).height-Ve(t,"height","content-box");return re(t,e),i}var Ar={args:"target",props:{target:String},data:{target:""},computed:{target:{get:({target:t},e)=>Ot(t,e),observe:({target:t})=>t}},observe:un({target:({target:t})=>t}),update:{read(){return!!this.target&&{height:this.target.offsetHeight}},write({height:t}){re(this.$el,{minHeight:t})},events:["resize"]}},Dr={props:{expand:Boolean,offsetTop:Boolean,offsetBottom:Boolean,minHeight:Number},data:{expand:!1,offsetTop:!1,offsetBottom:!1,minHeight:0},observe:[mn({filter:({expand:t})=>t}),un({target:({$el:t})=>Ei(t)})],update:{read(){if(!xt(this.$el))return!1;let t="";const e=Ve(this.$el,"height","content-box"),{body:i,scrollingElement:n}=document,s=Ai(this.$el),{height:o}=_i(s===i?n:s),r=n===s||i===s;if(t="calc("+(r?"100vh":`${o}px`),this.expand){t+=` - ${ze(s).height-ze(this.$el).height}px`}else{if(this.offsetTop)if(r){const e=!0===this.offsetTop?this.$el:Ot(this.offsetTop,this.$el),{top:i}=He(e);t+=i>0&&i<o/2?` - ${i}px`:""}else t+=` - ${Ve(s,"height",re(s,"boxSizing"))}px`;!0===this.offsetBottom?t+=` - ${ze(this.$el.nextElementSibling).height}px`:C(this.offsetBottom)?t+=` - ${this.offsetBottom}vh`:this.offsetBottom&&h(this.offsetBottom,"px")?t+=` - ${_(this.offsetBottom)}px`:I(this.offsetBottom)&&(t+=` - ${ze(Ot(this.offsetBottom,this.$el)).height}px`)}return t+=(e?` - ${e}px`:"")+")",{minHeight:t}},write({minHeight:t}){re(this.$el,"minHeight",`max(${this.minHeight||0}px, ${t})`)},events:["resize"]}},_r='<svg width="20" height="20" viewBox="0 0 20 20"><circle fill="none" stroke="#000" stroke-width="1.1" cx="9" cy="9" r="7"/><path fill="none" stroke="#000" stroke-width="1.1" d="M14,14 L18,18 L14,14 Z"/></svg>',Mr={args:"src",props:{width:Number,height:Number,ratio:Number},data:{ratio:1},connected(){this.svg=this.getSvg().then(t=>{if(!this._connected)return;const e=function(t,e){if(wt(e)||ve(e,"canvas")){e.hidden=!0;const i=e.nextElementSibling;return Pr(t,i)?i:Se(e,t)}const i=e.lastElementChild;return Pr(t,i)?i:xe(e,t)}(t,this.$el);return this.svgEl&&e!==this.svgEl&&ke(this.svgEl),Or.call(this,e,t),this.svgEl=e},V)},disconnected(){this.svg.then(t=>{this._connected||(wt(this.$el)&&(this.$el.hidden=!1),ke(t),this.svgEl=null)}),this.svg=null},methods:{async getSvg(){}}};function Pr(t,e){return ve(t,"svg")&&ve(e,"svg")&&t.innerHTML===e.innerHTML}function Or(t,e){const i=["width","height"];let n=i.map(t=>this[t]);n.some(t=>t)||(n=i.map(t=>st(e,t)));const s=st(e,"viewBox");s&&!n.some(t=>t)&&(n=s.split(" ").slice(2)),n.forEach((e,n)=>st(t,i[n],_(e)*this.ratio||null))}var Br={mixins:[Mr],args:"src",props:{src:String,icon:String,attributes:"list",strokeAnimation:Boolean},data:{strokeAnimation:!1},observe:[pn({async handler(){const t=await this.svg;t&&Nr.call(this,t)},options:{attributes:!0,attributeFilter:["id","class","style"]}})],async connected(){c(this.src,"#")&&([this.src,this.icon]=this.src.split("#"));const t=await this.svg;t&&(Nr.call(this,t),this.strokeAnimation&&function(t){const e=ro(t);e&&re(t,"--bdt-animation-stroke",e)}(t))},methods:{async getSvg(){return ve(this.$el,"img")&&!this.$el.complete&&"lazy"===this.$el.loading&&await new Promise(t=>Gt(this.$el,"load",t)),function(t,e){e&&c(t,"<symbol")&&(t=Fr(t)[e]||t);return jr(t)}(await zr(this.src),this.icon)||Promise.reject("SVG not found.")}}};function Nr(t){const{$el:e}=this;K(t,st(e,"class"),"bdt-svg");for(let i=0;i<e.style.length;i++){const n=e.style[i];re(t,n,re(e,n))}for(const e in this.attributes){const[i,n]=this.attributes[e].split(":",2);st(t,i,n)}this.$el.id||rt(t,"id")}const zr=Z(async t=>t?l(t,"data:")?decodeURIComponent(t.split(",")[1]):(await fetch(t)).text():Promise.reject());const Hr=/<symbol([^]*?id=(['"])(.+?)\2[^]*?<\/)symbol>/g,Fr=Z(function(t){const e={};let i;for(Hr.lastIndex=0;i=Hr.exec(t);)e[i[3]]=`<svg ${i[1]}svg>`;return e});function jr(t){const e=document.createElement("template");return e.innerHTML=t,e.content.firstElementChild}const Lr={spinner:'<svg width="30" height="30" viewBox="0 0 30 30"><circle fill="none" stroke="#000" cx="15" cy="15" r="14"/></svg>',totop:'<svg width="18" height="10" viewBox="0 0 18 10"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 9 9 1 17 9"/></svg>',marker:'<svg width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="11" x="9" y="4"/><rect width="11" height="1" x="4" y="9"/></svg>',"close-icon":'<svg width="14" height="14" viewBox="0 0 14 14"><line fill="none" stroke="#000" stroke-width="1.1" x1="1" y1="1" x2="13" y2="13"/><line fill="none" stroke="#000" stroke-width="1.1" x1="13" y1="1" x2="1" y2="13"/></svg>',"close-large":'<svg width="20" height="20" viewBox="0 0 20 20"><line fill="none" stroke="#000" stroke-width="1.4" x1="1" y1="1" x2="19" y2="19"/><line fill="none" stroke="#000" stroke-width="1.4" x1="19" y1="1" x2="1" y2="19"/></svg>',"drop-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"nav-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"nav-parent-icon-large":'<svg width="14" height="14" viewBox="0 0 14 14"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 4 7 10 13 4"/></svg>',"navbar-parent-icon":'<svg width="12" height="12" viewBox="0 0 12 12"><polyline fill="none" stroke="#000" stroke-width="1.1" points="1 3.5 6 8.5 11 3.5"/></svg>',"navbar-toggle-icon":'<svg width="20" height="20" viewBox="0 0 20 20"><style>.bdt-navbar-toggle-icon svg&gt;[class*=&quot;line-&quot;]{transition:0.2s ease-in-out;transition-property:transform, opacity;transform-origin:center;opacity:1}.bdt-navbar-toggle-icon svg&gt;.line-3{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{opacity:1}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-2{transform:rotate(45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-3{transform:rotate(-45deg)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1,.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{opacity:0}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-1{transform:translateY(6px) scaleX(0)}.bdt-navbar-toggle-animate[aria-expanded=&quot;true&quot;] svg&gt;.line-4{transform:translateY(-6px) scaleX(0)}</style><rect width="20" height="2" y="3" class="line-1"/><rect width="20" height="2" y="9" class="line-2"/><rect width="20" height="2" y="9" class="line-3"/><rect width="20" height="2" y="15" class="line-4"/></svg>',"overlay-icon":'<svg width="40" height="40" viewBox="0 0 40 40"><rect width="1" height="40" x="19" y="0"/><rect width="40" height="1" x="0" y="19"/></svg>',"pagination-next":'<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="1 1 6 6 1 11"/></svg>',"pagination-previous":'<svg width="7" height="12" viewBox="0 0 7 12"><polyline fill="none" stroke="#000" stroke-width="1.2" points="6 1 1 6 6 11"/></svg>',"search-icon":_r,"search-medium":'<svg width="24" height="24" viewBox="0 0 24 24"><circle fill="none" stroke="#000" stroke-width="1.1" cx="10.5" cy="10.5" r="9.5"/><line fill="none" stroke="#000" stroke-width="1.1" x1="23" y1="23" x2="17" y2="17"/></svg>',"search-large":'<svg width="40" height="40" viewBox="0 0 40 40"><circle fill="none" stroke="#000" stroke-width="1.8" cx="17.5" cy="17.5" r="16.5"/><line fill="none" stroke="#000" stroke-width="1.8" x1="38" y1="39" x2="29" y2="30"/></svg>',"search-toggle-icon":_r,"slidenav-next":'<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="1.225,23 12.775,12 1.225,1"/></svg>',"slidenav-next-large":'<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="4.002,38.547 22.527,20.024 4,1.5"/></svg>',"slidenav-previous":'<svg width="14" height="24" viewBox="0 0 14 24"><polyline fill="none" stroke="#000" stroke-width="1.4" points="12.775,1 1.225,12 12.775,23"/></svg>',"slidenav-previous-large":'<svg width="25" height="40" viewBox="0 0 25 40"><polyline fill="none" stroke="#000" stroke-width="2" points="20.527,1.5 2,20.024 20.525,38.547"/></svg>'},Wr={install:function(t){t.icon.add=(e,i)=>{const n=I(e)?{[e]:i}:e;H(n,(t,e)=>{Lr[e]=t,delete ea[e]}),t._initialized&&Me(document.body,e=>H(t.getComponents(e),t=>{t.$options.isIcon&&t.icon in n&&t.$reset()}))}},mixins:[Mr],args:"icon",props:{icon:String},isIcon:!0,beforeConnect(){K(this.$el,"bdt-icon")},methods:{async getSvg(){const t=function(t){if(t=ia[t]||t,!Lr[t])return null;ea[t]||(ea[t]=jr(Lr[function(t){return ht?N(N(t,"left","right"),"previous","next"):t}(t)]||Lr[t]));return ea[t].cloneNode(!0)}(this.icon);if(!t)throw"Icon not found.";return t}}},qr={args:!1,extends:Wr,data:t=>({icon:s(t.constructor.options.name)}),beforeConnect(){K(this.$el,this.$options.id)}},Vr={extends:qr,beforeConnect(){const t=this.$props.icon;this.icon=this.$el.closest(".bdt-nav-primary")?`${t}-large`:t}},Rr={extends:qr,mixins:[fs],i18n:{toggle:"Open Search",submit:"Submit Search"},beforeConnect(){const t=et(this.$el,"bdt-search-toggle")||et(this.$el,"bdt-navbar-toggle");if(this.icon=t?"search-toggle-icon":et(this.$el,"bdt-search-icon")&&this.$el.closest(".bdt-search-large")?"search-large":this.$el.closest(".bdt-search-medium")?"search-medium":this.$props.icon,!ot(this.$el,"aria-label"))if(t){const t=this.t("toggle");st(this.$el,"aria-label",t)}else{const t=this.$el.closest("a,button");if(t){st(t,"aria-label",this.t("submit"))}}}},Ur={extends:qr,beforeConnect(){st(this.$el,"role","status")},methods:{async getSvg(){const t=await Wr.methods.getSvg.call(this);return 1!==this.ratio&&re(Pe("circle",t),"strokeWidth",1/this.ratio),t}}},Yr={extends:qr,mixins:[fs],beforeConnect(){const t=this.$el.closest("a,button");st(t,"role",null!==this.role&&ve(t,"a")?"button":this.role);const e=this.t("label");e&&!ot(t,"aria-label")&&st(t,"aria-label",e)}},Xr={extends:Yr,beforeConnect(){K(this.$el,"bdt-slidenav");const t=this.$props.icon;this.icon=et(this.$el,"bdt-slidenav-large")?`${t}-large`:t}},Jr={extends:Yr,i18n:{label:"Open menu"}},Gr={extends:Yr,i18n:{label:"Close"},beforeConnect(){this.icon="close-"+(et(this.$el,"bdt-close-large")?"large":"icon")}},Zr={extends:Yr,i18n:{label:"Open"}},Kr={extends:Yr,i18n:{label:"Back to top"}},Qr={extends:Yr,i18n:{label:"Next page"},data:{role:null}},ta={extends:Yr,i18n:{label:"Previous page"},data:{role:null}},ea={};const ia={twitter:"x"};var na={args:"dataSrc",props:{dataSrc:String,sources:String,margin:String,target:String,loading:String},data:{dataSrc:"",sources:!1,margin:"50%",target:!1,loading:"lazy"},connected(){"lazy"!==this.loading?this.load():aa(this.$el)&&(this.$el.loading="lazy",sa(this.$el))},disconnected(){this.img&&(this.img.onload=""),delete this.img},observe:fn({handler(t,e){this.load(),e.disconnect()},options:({margin:t})=>({rootMargin:t}),filter:({loading:t})=>"lazy"===t,target:({$el:t,$props:e})=>e.target?[t,...Bt(e.target,t)]:t}),methods:{load(){if(this.img)return this.img;const t=aa(this.$el)?this.$el:function(t,e,i){const n=new Image;return function(t,e){if((e=function(t){if(!t)return[];if(l(t,"["))try{t=JSON.parse(t)}catch(e){t=[]}else t=ln(t);u(t)||(t=[t]);return t.filter(t=>!T(t))}(e)).length){const i=De("<picture>");for(const t of e){const e=De("<source>");st(e,t),xe(i,e)}xe(i,t)}}(n,i),ra(t,n),n.onload=()=>{sa(t,n.currentSrc)},st(n,"src",e),n}(this.$el,this.dataSrc,this.sources);return rt(t,"loading"),sa(this.$el,t.currentSrc),this.img=t}}};function sa(t,e){if(aa(t)){const e=Ct(t);(ve(e,"picture")?Dt(e):[t]).forEach(t=>ra(t,t))}else if(e){!c(t.style.backgroundImage,e)&&(re(t,"backgroundImage",`url(${Yt(e)})`),Zt(t,Kt("load",!1)))}}const oa=["data-src","data-srcset","sizes"];function ra(t,e){for(const i of oa){const n=at(t,i);n&&st(e,i.replace(/^(data-)+/,""),n)}}function aa(t){return ve(t,"img")}var la={props:{target:String,selActive:String},data:{target:!1,selActive:!1},computed:{target:({target:t},e)=>t?Oe(t,e):e},observe:[fn({handler(t){this.isIntersecting=t.some(({isIntersecting:t})=>t),this.$emit()},target:({target:t})=>t,args:{intersecting:!1}}),pn({target:({target:t})=>t,options:{attributes:!0,attributeFilter:["class"],attributeOldValue:!0}}),{target:({target:t})=>t,observe:(t,e)=>{const i=ci([...P(t),document.documentElement],e),n=[Xt(document,"scroll itemshown itemhidden",e,{passive:!0,capture:!0}),Xt(document,"show hide transitionstart",t=>(e(),i.observe(t.target))),Xt(document,"shown hidden transitionend transitioncancel",t=>(e(),i.unobserve(t.target)))];return{observe:i.observe.bind(i),unobserve:i.unobserve.bind(i),disconnect(){i.disconnect(),n.map(t=>t())}}},handler(){this.$emit()}}],update:{read(){if(!this.isIntersecting)return!1;for(const t of P(this.target)){let e=!this.selActive||Et(t,this.selActive)?ha(t):"";!1!==e&&tt(t,"bdt-light bdt-dark",e)}}}};function ha(t){const e=ze(t),i=ze(window);if(!R(e,i))return!1;const{left:n,top:s,height:o,width:r}=e;let a;for(const e of[.25,.5,.75]){const l=t.ownerDocument.elementsFromPoint(Math.max(0,Math.min(n+r*e,i.width-1)),Math.max(0,Math.min(s+o/2,i.height-1)));for(const e of l){if(t.contains(e)||!ca(e)||e.closest('[class*="-leave"]')&&l.some(t=>e!==t&&Et(t,'[class*="-enter"]')))continue;const i=re(e,"--bdt-inverse");if(i){if(i===a)return`bdt-${i}`;a=i;break}}}return a?`bdt-${a}`:""}function ca(t){if("visible"!==re(t,"visibility"))return!1;for(;t;){if("0"===re(t,"opacity"))return!1;t=Ct(t)}return!0}var da={mixins:[Qi,oo],props:{fill:String},data:{fill:"",clsWrapper:"bdt-leader-fill",clsHide:"bdt-leader-hide",attrFill:"data-fill"},computed:{fill:({fill:t},e)=>t||re(e,"--bdt-leader-fill-content")},connected(){[this.wrapper]=Te(this.$el,`<span class="${this.clsWrapper}">`)},disconnected(){Ee(this.wrapper.childNodes)},observe:un(),update:{read(){return{width:Math.trunc(this.$el.offsetWidth/2),fill:this.fill,hide:!this.matchMedia}},write({width:t,fill:e,hide:i}){it(this.wrapper,this.clsHide,i),st(this.wrapper,this.attrFill,new Array(t).join(e))},events:["resize"]}},ua={install:function({modal:t}){function e(e,i,n=V,s=V){i={bgClose:!1,escClose:!0,...i,i18n:{...t.i18n,...null==i?void 0:i.i18n}};const o=t.dialog(e(i),i);return p(new Promise(t=>{const e=Xt(o.$el,"hide",()=>t(n()));Xt(o.$el,"submit","form",i=>{i.preventDefault(),t(s(o)),e(),o.hide()})}),{dialog:o})}t.dialog=function(e,i){const n=t(Pe(`<div><div class="bdt-modal-dialog">${e}</div></div>`),{stack:!0,role:"alertdialog",...i});return n.show(),Xt(n.$el,"hidden",async()=>{await Promise.resolve(),n.$destroy(!0)},{self:!0}),n},t.alert=function(t,i){return e(({i18n:e})=>`<div class="bdt-modal-body">${I(t)?t:we(t)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-primary bdt-modal-close" autofocus>${e.ok}</button> </div>`,i)},t.confirm=function(t,i){return e(({i18n:e})=>`<form> <div class="bdt-modal-body">${I(t)?t:we(t)}</div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${e.cancel}</button> <button class="bdt-button bdt-button-primary" autofocus>${e.ok}</button> </div> </form>`,i,()=>Promise.reject())},t.prompt=function(t,i,n){const s=e(({i18n:e})=>`<form class="bdt-form-stacked"> <div class="bdt-modal-body"> <label>${I(t)?t:we(t)}</label> <input class="bdt-input" autofocus> </div> <div class="bdt-modal-footer bdt-text-right"> <button class="bdt-button bdt-button-default bdt-modal-close" type="button">${e.cancel}</button> <button class="bdt-button bdt-button-primary">${e.ok}</button> </div> </form>`,n,()=>null,()=>r.value),{$el:o}=s.dialog,r=Pe("input",o);return r.value=i||"",Xt(o,"show",()=>r.select()),s},t.i18n={ok:"Ok",cancel:"Cancel"}},mixins:[is],data:{clsPage:"bdt-modal-page",selPanel:".bdt-modal-dialog",selClose:'[class*="bdt-modal-close"]'},events:[{name:"fullscreenchange webkitendfullscreen",capture:!0,handler(t){ve(t.target,"video")&&this.isToggled()&&!document.fullscreenElement&&this.hide()}},{name:"show",self:!0,handler(){et(this.panel,"bdt-margin-auto-vertical")?K(this.$el,"bdt-flex"):re(this.$el,"display","block"),Le(this.$el)}},{name:"hidden",self:!0,handler(){re(this.$el,"display",""),Q(this.$el,"bdt-flex")}}]};var fa={extends:rr,data:{targets:"> .bdt-parent",toggle:"> a",content:"> ul"}};const pa="bdt-navbar-transparent";var ga={extends:$r,props:{dropbarTransparentMode:Boolean},data:{clsDrop:"bdt-navbar-dropdown",selNavItem:".bdt-navbar-nav > li > a,a.bdt-navbar-item,button.bdt-navbar-item,.bdt-navbar-item a,.bdt-navbar-item button,.bdt-navbar-toggle",dropbarTransparentMode:!1},computed:{navbarContainer:(t,e)=>e.closest(".bdt-navbar-container")},watch:{items(){const t=et(this.$el,"bdt-navbar-justify"),e=Oe(".bdt-navbar-nav, .bdt-navbar-left, .bdt-navbar-right",this.$el);for(const i of e){re(i,"flexGrow",t?Oe(".bdt-navbar-nav > li > a, .bdt-navbar-item, .bdt-navbar-toggle",i).length:"")}}},events:[{name:"show",el:({dropContainer:t})=>t,handler({target:t}){"remove"===this.getTransparentMode(t)&&et(this.navbarContainer,pa)&&(Q(this.navbarContainer,pa),this._transparent=!0)}},{name:"hide",el:({dropContainer:t})=>t,async handler(){await new Promise(t=>setTimeout(t)),!this.getActive()&&this._transparent&&(K(this.navbarContainer,pa),this._transparent=null)}}],methods:{getTransparentMode(t){if(!this.navbarContainer)return;if(this.dropbar&&this.isDropbarDrop(t))return this.dropbarTransparentMode;const e=this.getDropdown(t);return e&&et(t,"bdt-dropbar")?e.inset?"behind":"remove":void 0},getDropbarOffset(t){const{top:e,height:i}=He(this.navbarContainer);return e+("behind"===this.dropbarTransparentMode?0:i+t)}}};var ma={mixins:[is],args:"mode",props:{mode:String,flip:Boolean,overlay:Boolean,swiping:Boolean},data:{mode:"slide",flip:!1,overlay:!1,clsPage:"bdt-offcanvas-page",clsContainer:"bdt-offcanvas-container",selPanel:".bdt-offcanvas-bar",clsFlip:"bdt-offcanvas-flip",clsContainerAnimation:"bdt-offcanvas-container-animation",clsSidebarAnimation:"bdt-offcanvas-bar-animation",clsMode:"bdt-offcanvas",clsOverlay:"bdt-offcanvas-overlay",selClose:".bdt-offcanvas-close",container:!1,swiping:!0},computed:{clsFlip:({flip:t,clsFlip:e})=>t?e:"",clsOverlay:({overlay:t,clsOverlay:e})=>t?e:"",clsMode:({mode:t,clsMode:e})=>`${e}-${t}`,clsSidebarAnimation:({mode:t,clsSidebarAnimation:e})=>"none"===t||"reveal"===t?"":e,clsContainerAnimation:({mode:t,clsContainerAnimation:e})=>"push"!==t&&"reveal"!==t?"":e,transitionElement({mode:t}){return"reveal"===t?Ct(this.panel):this.panel}},observe:bn({filter:({swiping:t})=>t}),update:{read(){this.isToggled()&&!xt(this.$el)&&this.hide()},events:["resize"]},events:[{name:"touchmove",self:!0,passive:!1,filter:({overlay:t})=>t,handler(t){t.cancelable&&t.preventDefault()}},{name:"show",self:!0,handler(){"reveal"!==this.mode||et(Ct(this.panel),this.clsMode)||(Ce(this.panel,"<div>"),K(Ct(this.panel),this.clsMode));const{body:t,scrollingElement:e}=document;K(t,this.clsContainer,this.clsFlip),re(t,"touch-action","pan-y pinch-zoom"),re(this.$el,"display","block"),re(this.panel,"maxWidth",e.clientWidth),K(this.$el,this.clsOverlay),K(this.panel,this.clsSidebarAnimation,"reveal"===this.mode?"":this.clsMode),Le(t),K(t,this.clsContainerAnimation),this.clsContainerAnimation&&(va().content+=",user-scalable=0")}},{name:"hide",self:!0,handler(){Q(document.body,this.clsContainerAnimation),re(document.body,"touch-action","")}},{name:"hidden",self:!0,handler(){this.clsContainerAnimation&&function(){const t=va();t.content=t.content.replace(/,user-scalable=0$/,"")}(),"reveal"===this.mode&&Ee(this.panel),Q(this.panel,this.clsSidebarAnimation,this.clsMode),Q(this.$el,this.clsOverlay),re(this.$el,"display",""),re(this.panel,"maxWidth",""),Q(document.body,this.clsContainer,this.clsFlip)}},{name:"swipeLeft swipeRight",handler(t){this.isToggled()&&h(t.type,"Left")^this.flip&&this.hide()}}]};function va(){return Pe('meta[name="viewport"]',document.head)||xe(document.head,'<meta name="viewport">')}var ba={mixins:[Qi],props:{selContainer:String,selContent:String,minHeight:Number},data:{selContainer:".bdt-modal",selContent:".bdt-modal-dialog",minHeight:150},computed:{container:({selContainer:t},e)=>e.closest(t),content:({selContent:t},e)=>e.closest(t)},observe:un({target:({container:t,content:e})=>[t,e]}),update:{read(){return!!(this.content&&this.container&&xt(this.$el))&&{max:Math.max(this.minHeight,Le(this.container)-(ze(this.content).height-Le(this.$el)))}},write({max:t}){re(this.$el,{minHeight:this.minHeight,maxHeight:t})},events:["resize"]}},wa={props:["width","height"],connected(){K(this.$el,"bdt-responsive-width"),re(this.$el,"aspectRatio",`${this.width}/${this.height}`)}},$a={props:{offset:Number},data:{offset:0},connected(){!function(t){xa.size||Xt(document,"click",ya);xa.add(t)}(this)},disconnected(){var t;t=this,xa.delete(t),xa.size||Jt(document,"click",ya)},methods:{async scrollTo(t){t=t&&Pe(t)||document.body,Zt(this.$el,"beforescroll",[this,t])&&(await Ci(t,{offset:this.offset}),Zt(this.$el,"scrolled",[this,t]))}}};const xa=new Set;function ya(t){if(!t.defaultPrevented)for(const e of xa)e.$el.contains(t.target)&&Mt(e.$el)&&(t.preventDefault(),window.location.href!==e.$el.href&&window.history.pushState({},"",e.$el.href),e.scrollTo(Pt(e.$el)))}const Sa="bdt-scrollspy-inview";var Ia={args:"cls",props:{cls:String,target:String,hidden:Boolean,margin:String,repeat:Boolean,delay:Number},data:()=>({cls:"",target:!1,hidden:!0,margin:"-1px",repeat:!1,delay:0}),computed:{elements:({target:t},e)=>t?Oe(t,e):[e]},watch:{elements(t){this.hidden&&re(Tt(t,`:not(.${Sa})`),"opacity",0)}},connected(){this.elementData=new Map},disconnected(){for(const[t,e]of this.elementData.entries())Q(t,Sa,(null==e?void 0:e.cls)||"");delete this.elementData},observe:fn({target:({elements:t})=>t,handler(t){const e=this.elementData;for(const{target:i,isIntersecting:n}of t){e.has(i)||e.set(i,{cls:at(i,"bdt-scrollspy-class")||this.cls});const t=e.get(i);!this.repeat&&t.show||(t.show=n)}this.$emit()},options:({margin:t})=>({rootMargin:t}),args:{intersecting:!1}}),update:[{write(t){for(const[e,i]of this.elementData.entries())!i.show||i.inview||i.queued?!i.show&&i.inview&&!i.queued&&this.repeat&&this.toggle(e,!1):(i.queued=!0,t.promise=(t.promise||Promise.resolve()).then(()=>new Promise(t=>setTimeout(t,this.delay))).then(()=>{this.toggle(e,!0),setTimeout(()=>{i.queued=!1,this.$emit()},300)}))}}],methods:{toggle(t,e){var i,n;const s=null==(i=this.elementData)?void 0:i.get(t);if(!s)return;let o;if(null==(n=s.off)||n.call(s),re(t,"opacity",!e&&this.hidden?0:""),it(t,Sa,e),it(t,s.cls),o=s.cls.match(/\bbdt-animation-[\w-]+/g)){const i=()=>Q(t,o);e?s.off=Gt(t,"animationcancel animationend",i,{self:!0}):i()}Zt(t,e?"inview":"outview"),s.inview=e}}},ka={props:{cls:String,closest:Boolean,scroll:Boolean,target:String,offset:Number},data:{cls:"bdt-active",closest:!1,scroll:!1,target:'a[href]:not([role="button"])',offset:0},computed:{links:({target:t},e)=>Oe(t,e).filter(t=>Mt(t)),elements({closest:t}){return this.links.map(e=>e.closest(t||"*"))}},watch:{links(t){this.scroll&&this.$create("scroll",t,{offset:this.offset})}},observe:[fn(),vn()],update:[{read(){const t=this.links.map(t=>Pt(t)||t.ownerDocument),{length:e}=t;if(!e||!xt(this.$el))return!1;const i=Ai(t,!0),{scrollTop:n,scrollHeight:s}=i,o=_i(i);let r=!1;if(n>=s-o.height)r=e-1;else{const e=this.offset+ze(Mi()).height+.1*o.height;for(let i=0;i<t.length&&!(He(t[i]).top-o.top-e>0);i++)r=+i}return{active:r}},write({active:t}){const e=!1!==t&&!et(this.elements[t],this.cls);this.links.forEach(t=>t.blur());for(let e=0;e<this.elements.length;e++)it(this.elements[e],this.cls,+e===t);e&&Zt(this.$el,"active",[t,this.elements[t]])},events:["scroll","resize"]}]},Ca={mixins:[Qi,oo],props:{position:String,top:null,bottom:null,start:null,end:null,offset:String,overflowFlip:Boolean,animation:String,clsActive:String,clsInactive:String,clsFixed:String,clsBelow:String,selTarget:String,showOnUp:Boolean,targetOffset:Number},data:{position:"top",top:!1,bottom:!1,start:!1,end:!1,offset:0,overflowFlip:!1,animation:"",clsActive:"bdt-active",clsInactive:"",clsFixed:"bdt-sticky-fixed",clsBelow:"bdt-sticky-below",selTarget:"",showOnUp:!1,targetOffset:!1},computed:{target:({selTarget:t},e)=>t&&Pe(t,e)||e},connected(){this.start=Ea(this.start||this.top),this.end=Ea(this.end||this.bottom),this.placeholder=Pe("+ .bdt-sticky-placeholder",this.$el)||Pe('<div class="bdt-sticky-placeholder"></div>'),this.isFixed=!1,this.setActive(!1)},beforeDisconnect(){this.isFixed&&(this.hide(),Q(this.target,this.clsInactive)),Aa(this.$el),ke(this.placeholder),this.placeholder=null},observe:[mn(),vn({target:()=>document.scrollingElement}),un({target:({$el:t})=>[t,Ma(t),document.scrollingElement],handler(t){this.$emit(this._data.resized&&t.some(({target:t})=>t===Ma(this.$el))?"update":"resize"),this._data.resized=!0}})],events:[{name:"load hashchange popstate",el:()=>window,filter:({targetOffset:t})=>!1!==t,handler(){const{scrollingElement:t}=document;location.hash&&0!==t.scrollTop&&setTimeout(()=>{const e=He(Pe(location.hash)),i=He(this.$el);this.isFixed&&R(e,i)&&(t.scrollTop=Math.ceil(e.top-i.height-Ue(this.targetOffset,"height",this.placeholder)-Ue(this.offset,"height",this.placeholder)))})}}],update:[{read({height:t,width:e,margin:i,sticky:n},s){if(this.inactive=!this.matchMedia||!xt(this.$el)||!this.$el.offsetHeight,this.inactive)return;const o=this.isFixed&&s.has("update");o&&(_a(this.target),this.hide()),this.active||(({height:t,width:e}=ze(this.$el)),i=re(this.$el,"margin")),o&&this.show();const r=Ue("100vh","height"),a=Le(window),l=Math.max(0,document.scrollingElement.scrollHeight-r);let h=this.position;this.overflowFlip&&t>r&&(h="top"===h?"bottom":"top");const c=this.isFixed?this.placeholder:this.$el;let d=Ue(this.offset,"height",n?this.$el:c);"bottom"===h&&(t<a||this.overflowFlip)&&(d+=a-t);const u=this.overflowFlip?0:Math.max(0,t+d-r),f=He(c).top,p=ze(this.$el).height,g=(!1===this.start?f:Ta(this.start,this.$el,f))-d,m=!1===this.end?l:Math.min(l,Ta(this.end,this.$el,f+t,!0)-p-d+u);return n=l&&!this.showOnUp&&g+d===f&&m===Math.min(l,Ta(!0,this.$el,0,!0)-p-d+u)&&"visible"===re(Ma(this.$el),"overflowY"),{start:g,end:m,offset:d,overflow:u,height:t,elHeight:p,width:e,margin:i,top:je(c)[0],sticky:n,viewport:r,maxScrollHeight:l}},write({height:t,width:e,margin:i,offset:n,sticky:s}){if((this.inactive||s||!this.isFixed)&&Aa(this.$el),this.inactive)return;s&&(t=e=i=0,re(this.$el,{position:"sticky",top:n}));const{placeholder:o}=this;re(o,{height:t,width:e,margin:i}),(Ct(o)!==Ct(this.$el)||s^_t(o)<_t(this.$el))&&((s?ye:Se)(this.$el,o),o.hidden=!0)},events:["resize"]},{read({scroll:t=0,dir:e="down",overflow:i,overflowScroll:n=0,start:s,end:o,elHeight:r,height:a,sticky:l,maxScrollHeight:h}){const c=Math.min(document.scrollingElement.scrollTop,h),d=t<=c?"down":"up",u=this.isFixed?this.placeholder:this.$el;return{dir:d,prevDir:e,scroll:c,prevScroll:t,below:c>He(u).top+(l?Math.min(a,r):a),offsetParentTop:He(u.offsetParent).top,overflowScroll:q(n+q(c,s,o)-q(t,s,o),0,i)}},write(t,e){const i=e.has("scroll"),{initTimestamp:n=0,dir:s,prevDir:o,scroll:r,prevScroll:a=0,top:l,start:h,below:c}=t;if(r<0||r===a&&i||this.showOnUp&&!i&&!this.isFixed)return;const d=Date.now();if((d-n>300||s!==o)&&(t.initScroll=r,t.initTimestamp=d),!(this.showOnUp&&!this.isFixed&&Math.abs(t.initScroll-r)<=30&&Math.abs(a-r)<=10))if(this.inactive||r<h||this.showOnUp&&(r<=h||"down"===s&&i||"up"===s&&!this.isFixed&&!c)){if(!this.isFixed)return void(me.inProgress(this.$el)&&l>r&&(me.cancel(this.$el),this.hide()));if(this.animation&&c){if(et(this.$el,"bdt-animation-leave"))return;me.out(this.$el,this.animation).then(()=>this.hide(),V)}else this.hide()}else this.isFixed?this.update():this.animation&&c?(this.show(),me.in(this.$el,this.animation).catch(V)):(_a(this.target),this.show())},events:["resize","resizeViewport","scroll"]}],methods:{show(){this.isFixed=!0,this.update(),this.placeholder.hidden=!1},hide(){const{offset:t,sticky:e}=this._data;this.setActive(!1),Q(this.$el,this.clsFixed,this.clsBelow),e?re(this.$el,"top",t):re(this.$el,{position:"",top:"",width:"",marginTop:""}),this.placeholder.hidden=!0,this.isFixed=!1},update(){let{width:t,scroll:e=0,overflow:i,overflowScroll:n=0,start:s,end:o,offset:r,offsetParentTop:a,sticky:l,below:h}=this._data;const c=0!==s||e>s;if(!l){let s="fixed";e>o&&(r+=o-a+n-i,s="absolute"),re(this.$el,{position:s,width:t,marginTop:0},"important")}re(this.$el,"top",r-n),this.setActive(c),it(this.$el,this.clsBelow,h),K(this.$el,this.clsFixed)},setActive(t){const e=this.active;this.active=t,t?(tt(this.target,this.clsInactive,this.clsActive),e!==t&&Zt(this.$el,"active")):(tt(this.target,this.clsActive,this.clsInactive),e!==t&&(_a(this.target),Zt(this.$el,"inactive")))}}};function Ta(t,e,i,n){if(!t)return 0;if(C(t)||I(t)&&t.match(/^-?\d/))return i+Ue(t,"height",e,!0);{const i=!0===t?Ma(e):Ot(t,e);return He(i).bottom-(n&&(null==i?void 0:i.contains(e))?_(re(i,"paddingBottom")):0)}}function Ea(t){return"true"===t||"false"!==t&&t}function Aa(t){re(t,{position:"",top:"",marginTop:"",width:""})}const Da="bdt-transition-disable";function _a(t){et(t,Da)||(K(t,Da),requestAnimationFrame(()=>Q(t,Da)))}function Ma(t){for(;t=Ct(t);)if(xt(t))return t}const Pa=".bdt-disabled *, .bdt-disabled, [disabled]";var Oa={mixins:[Zn],args:"connect",props:{connect:String,toggle:String,itemNav:String,active:Number,followFocus:Boolean,swiping:Boolean},data:{connect:"~.bdt-switcher",toggle:"> * > :first-child",itemNav:!1,active:0,cls:"bdt-active",attrItem:"bdt-switcher-item",selVertical:".bdt-nav",followFocus:!1,swiping:!0},computed:{connects:{get:({connect:t},e)=>Bt(t,e),observe:({connect:t})=>t},connectChildren(){return this.connects.map(t=>Dt(t)).flat()},toggles:({toggle:t},e)=>Oe(t,e),children(t,e){return Dt(e).filter(t=>this.toggles.some(e=>t.contains(e)))}},watch:{connects(t){this.swiping&&re(t,"touchAction","pan-y pinch-zoom"),this.$emit()},connectChildren(){let t=Math.max(0,this.index());for(const e of this.connects)Dt(e).forEach((e,i)=>it(e,this.cls,i===t));this.$emit()},toggles(t){this.$emit();const e=this.index();this.show(~e?e:t[this.active]||t[0])}},connected(){st(this.$el,"role","tablist")},observe:[gn({targets:({connectChildren:t})=>t}),bn({target:({connects:t})=>t,filter:({swiping:t})=>t})],events:[{name:"click keydown",delegate:({toggle:t})=>t,handler(t){Et(t.current,Pa)||"click"!==t.type&&t.keyCode!==Nn||(t.preventDefault(),this.show(t.current))}},{name:"keydown",delegate:({toggle:t})=>t,handler(t){const{current:e,keyCode:i}=t,n=Et(this.$el,this.selVertical);let s=i===Hn?0:i===zn?"last":i===Fn&&!n||i===jn&&n?"previous":i===Ln&&!n||i===Wn&&n?"next":-1;if(~s){t.preventDefault();const i=this.toggles.filter(t=>!Et(t,Pa)),n=i[G(s,i,i.indexOf(e))];n.focus(),this.followFocus&&this.show(n)}}},{name:"click",el:({$el:t,connects:e,itemNav:i})=>e.concat(i?Bt(i,t):[]),delegate:({attrItem:t})=>`[${t}],[data-${t}]`,handler(t){t.target.closest("a,button")&&(t.preventDefault(),this.show(at(t.current,this.attrItem)))}},{name:"swipeRight swipeLeft",filter:({swiping:t})=>t,el:({connects:t})=>t,handler({type:t}){this.show(h(t,"Left")?"next":"previous")}}],update(){var t;for(const t of this.connects)ve(t,"ul")&&st(t,"role","presentation");st(Dt(this.$el),"role","presentation");for(const e in this.toggles){const i=this.toggles[e],n=null==(t=this.connects[0])?void 0:t.children[e];st(i,"role","tab"),n&&(i.id=Xs(this,i),n.id=Xs(this,n),st(i,"aria-controls",n.id),st(n,{role:"tabpanel","aria-labelledby":i.id}))}st(this.$el,"aria-orientation",Et(this.$el,this.selVertical)?"vertical":null)},methods:{index(){return d(this.children,t=>et(t,this.cls))},show(t){const e=this.toggles.filter(t=>!Et(t,Pa)),i=this.index(),n=G(!$(t)||c(e,t)?t:0,e,G(this.toggles[i],e)),s=G(e[n],this.toggles);this.children.forEach((t,e)=>{it(t,this.cls,s===e),st(this.toggles[e],{"aria-selected":s===e,tabindex:s===e?null:-1})});const o=i>=0&&i!==n;this.connects.forEach(async({children:t})=>{const e=f(t).filter((t,e)=>e!==s&&et(t,this.cls));await this.toggleElement(e,!1,o)&&await this.toggleElement(t[s],!0,o)})}}},Ba={mixins:[Qi],extends:Oa,props:{media:Boolean},data:{media:960,attrItem:"bdt-tab-item",selVertical:".bdt-tab-left,.bdt-tab-right"},connected(){const t=et(this.$el,"bdt-tab-left")?"bdt-tab-left":!!et(this.$el,"bdt-tab-right")&&"bdt-tab-right";t&&this.$create("toggle",this.$el,{cls:t,mode:"media",media:this.media})}};var Na={mixins:[oo,Zn],args:"target",props:{href:String,target:null,mode:"list",queued:Boolean},data:{href:!1,target:!1,mode:"click",queued:!0},computed:{target:{get:({target:t},e)=>(t=Bt(t||e.hash,e)).length?t:[e],observe:({target:t})=>t}},connected(){c(this.mode,"media")||(kt(this.$el)||st(this.$el,"tabindex","0"),!this.cls&&ve(this.$el,"a")&&st(this.$el,"role","button"))},observe:gn({targets:({target:t})=>t}),events:[{name:ut,filter:({mode:t})=>c(t,"hover"),handler(t){this._preventClick=null,!ne(t)||S(this._showState)||this.$el.disabled||(Zt(this.$el,"focus"),Gt(document,ut,()=>Zt(this.$el,"blur"),!0,t=>!this.$el.contains(t.target)),c(this.mode,"click")&&(this._preventClick=!0))}},{name:`mouseenter mouseleave ${gt} ${mt} focus blur`,filter:({mode:t})=>c(t,"hover"),handler(t){if(ne(t)||this.$el.disabled)return;const e=c(["mouseenter",gt,"focus"],t.type),i=this.isToggled(this.target);e||!(!S(this._showState)||"blur"!==t.type&&Et(this.$el,":focus")||"blur"===t.type&&Et(this.$el,":hover"))?e&&S(this._showState)&&i!==this._showState||(this._showState=e?i:null,this.toggle("toggle"+(e?"show":"hide"))):i===this._showState&&(this._showState=null)}},{name:"keydown",filter:({$el:t,mode:e})=>c(e,"click")&&!ve(t,"input"),handler(t){32===t.keyCode&&(t.preventDefault(),this.$el.click())}},{name:"click",filter:({mode:t})=>["click","hover"].some(e=>c(t,e)),handler(t){let e;(this._preventClick||t.target.closest('a[href="#"], a[href=""]')||(e=t.target.closest("a[href]"))&&(!this.isToggled(this.target)||e.hash&&Et(this.target,e.hash)))&&t.preventDefault(),!this._preventClick&&c(this.mode,"click")&&this.toggle()}},{name:"mediachange",filter:({mode:t})=>c(t,"media"),el:({target:t})=>t,handler(t,e){e.matches^this.isToggled(this.target)&&this.toggle()}}],methods:{async toggle(t){if(!Zt(this.target,t||"toggle",[this]))return;if(ot(this.$el,"aria-expanded")&&st(this.$el,"aria-expanded",!this.isToggled(this.target)),!this.queued)return this.toggleElement(this.target);const e=this.target.filter(t=>et(t,this.clsLeave));if(e.length){for(const t of this.target){const i=c(e,t);this.toggleElement(t,i,i)}return}const i=this.target.filter(this.isToggled);await this.toggleElement(i,!1)&&await this.toggleElement(this.target.filter(t=>!c(i,t)),!0)}}};return H(Object.freeze({__proto__:null,Accordion:rr,Alert:lr,Close:Gr,Cover:dr,Drop:pr,DropParentIcon:qr,Dropdown:pr,Dropnav:$r,FormCustom:yr,Grid:Sr,HeightMatch:Cr,HeightPlaceholder:Ar,HeightViewport:Dr,Icon:Wr,Img:na,Inverse:la,Leader:da,Margin:$n,Marker:Zr,Modal:ua,Nav:fa,NavParentIcon:Vr,Navbar:ga,NavbarParentIcon:qr,NavbarToggleIcon:Jr,Offcanvas:ma,OverflowAuto:ba,OverlayIcon:qr,PaginationNext:Qr,PaginationPrevious:ta,Responsive:wa,Scroll:$a,Scrollspy:Ia,ScrollspyNav:ka,SearchIcon:Rr,SlidenavNext:Xr,SlidenavPrevious:Xr,Spinner:Ur,Sticky:Ca,Svg:Br,Switcher:Oa,Tab:Ba,Toggle:Na,Totop:Kr,Video:cr}),(t,e)=>Hs.component(e,t)),function(t){lt&&window.MutationObserver&&(document.body?requestAnimationFrame(()=>tr(t)):new MutationObserver((e,i)=>{document.body&&(tr(t),i.disconnect())}).observe(document.documentElement,{childList:!0}))}(Hs),H(Qo,(t,e)=>Hs.component(e,t)),Hs});
var debounce=function(t,e,s){var o;return function(){var r=this,a=arguments,l=s&&!o;clearTimeout(o),o=setTimeout(function(){o=null,s||t.apply(r,a)},e),l&&t.apply(r,a)}};function epObserveTarget(t,e){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s.rootMargin=s.rootMargin||"10% 0px 0px 0px",new IntersectionObserver(function(t,o){t.forEach(function(t){t.isIntersecting&&(e(t),s.loop||o.unobserve(t.target))})},s).observe(t)}function EP_SAFE_HTML(t){const e={img:["src","alt","title","width","height","style"],a:["href","title","target","rel"],p:["class","style","id"],b:["class","style"],i:["class","style"],u:["class","style"],strong:["class","style"],em:["class","style"],br:[],hr:["class","style"],ul:["class","style"],ol:["class","style"],li:["class","style"],div:["class","style","id"],span:["class","style","id"],blockquote:["cite","class","style"],code:["class","style"],pre:["class","style"],h1:["class","style","id"],h2:["class","style","id"],h3:["class","style","id"],h4:["class","style","id"],h5:["class","style","id"],h6:["class","style","id"],table:["class","style","id"],thead:["class","style"],tbody:["class","style"],tfoot:["class","style"],tr:["class","style"],th:["class","style","scope"],td:["class","style","colspan","rowspan"]};return t=t.replace(/<\/?([a-zA-Z0-9]+)([^>]*)>/g,(t,s,o)=>{if(s=s.toLowerCase(),!e.hasOwnProperty(s))return"";const r=e[s];return`<${s}${o.replace(/([a-zA-Z0-9-]+)\s*=\s*("[^"]*"|'[^']*'|[^\s>]*)/g,(t,e,s)=>(e=e.toLowerCase(),!r.includes(e)||e.startsWith("on")||/^javascript:/i.test(s)?"":`${e}=${s}`))}>`})}function returnCurrencySymbol(t=null){if(null===t)return"";let e={USD:"$",EUR:"€",CRC:"₡",GBP:"£",ILS:"₪",INR:"₹",JPY:"¥",KRW:"₩",NGN:"₦",PHP:"₱",PLN:"zł",PYG:"₲",THB:"฿",UAH:"₴",VND:"₫"};return void 0!==e[t]?e[t]:""}!function(t){t(document).ajaxComplete(function(e,s,o){if(s.responseJSON&&void 0!==s.responseJSON.cart_hash&&s.responseJSON.cart_hash){var r=!1;if(o.url&&o.url.indexOf("wc-ajax=add_to_cart")>-1&&(r=!0),o.data&&o.data.indexOf("action=add_to_cart")>-1&&(r=!0),r&&t(".bdt-offcanvas").hasClass("__update_cart")){let e=t(".bdt-offcanvas.__update_cart").attr("id");bdtUIkit.util.ready(function(){bdtUIkit.offcanvas("#"+e).show()})}}}),jQuery(document).ready(function(){jQuery(".bdt-ss-link").on("click",function(){var t=jQuery("<input>");jQuery("body").append(t),t.val(jQuery(this).data("url")).select(),document.execCommand ("copy"),t.remove(),jQuery(this).find(".bdt-social-share-title").html(jQuery(this).data("copied")),setTimeout(()=>{jQuery(this).find(".bdt-social-share-title").html(jQuery(this).data("orginal"))},5e3)});const t={"elementor-widget-bdt-post-grid-tab":{selectors:[".bdt-post-grid-desc-inner a",".bdt-post-grid-tab-readmore"]},"elementor-widget-bdt-post-grid":{selectors:[".bdt-post-grid-title a",".bdt-post-grid-readmore"]},"elementor-widget-bdt-post-card":{selectors:[".bdt-post-card-title a",".bdt-post-card-button"]},"elementor-widget-bdt-post-block":{selectors:[".bdt-post-block-title a",".bdt-post-block-read-more"]},"elementor-widget-bdt-post-block-modern":{selectors:[".bdt-post-block-modern-title a",".bdt-post-block-modern-read-more"]},"elementor-widget-bdt-post-gallery":{selectors:[".bdt-post-gallery-title-link",".bdt-gallery-item-link"]},"elementor-widget-bdt-post-list":{selectors:[".bdt-title a",".bdt-image a"]},"elementor-widget-bdt-post-slider":{selectors:[".bdt-post-slider-title-wrap a",".bdt-post-slider-button"]}};if(Object.keys(t).forEach(function(e){jQuery("."+e).length>0&&void 0!==jQuery("."+e).data("settings")&&"yes"===jQuery("."+e).data("settings").bdt_link_new_tab&&t[e].selectors.forEach(function(t){jQuery(t).attr("target","_blank")})}),jQuery(".bdt-pass-input-wrapper").find("i").on("click",function(){jQuery(this).hasClass("fa-eye")&&jQuery(this).toggleClass("fa-eye-slash");let t=jQuery(this).closest(".bdt-pass-input-wrapper").find("input");"password"==t.attr("type")?jQuery(t).attr("type","text"):jQuery(t).attr("type","password")}),document.body.classList.contains("elementor-page")){var e={init:function(){this.initGlassEffect()},initGlassEffect:function(){jQuery(".bdt-glass-effect-yes").each(function(){var t=jQuery(this);if(!t.data("glass-effect-overlay-added")){var e=jQuery('<div class="bdt-glass-effect-overlay"></div>');t.prepend(e),e.css({position:"absolute","z-index":"0",inset:"0",filter:"url(#glass-distortion)",overflow:"hidden",isolation:"isolate","backdrop-filter":"blur(var(--ep-glass-effect-blur, 3px))"}),t.data("glass-effect-overlay-added",!0)}})}};function s(){"undefined"!=typeof elementorFrontend&&elementorFrontend.hooks&&"function"==typeof elementorFrontend.hooks.addAction&&elementorFrontend.hooks.addAction("frontend/element_ready/global",function(){e.init()})}e.init(),"undefined"!=typeof elementorFrontend&&elementorFrontend.hooks&&"function"==typeof elementorFrontend.hooks.addAction?s():jQuery(window).one("elementor/frontend/init",s)}})}(jQuery);(()=>{"use strict";const e=async(e,t,n,o=!0)=>{const r=window.location.hash;if(!r)return;const c=e.querySelector(`[data-title="${r.substring(1)}"]`);if(!c)return;const i=c.dataset.accordionIndex,a=c.closest(".bdt-ep-accordion");if(!i||!a)return;const d=a.id,s=window.bdtUIkit?.accordion(e);if(!s)return;const l=parseInt(i,10);if("yes"===t.activeScrollspy&&d){const e=document.getElementById(d);e&&await((e,t=0,n=1e3)=>new Promise(o=>{const r=window.scrollY,c=e.getBoundingClientRect().top-t;let i=null;const a=e=>{null===i&&(i=e);const t=e-i,d=Math.min(t/n,1),s=d<.5?2*d*d:1-Math.pow(-2*d+2,2)/2;window.scrollTo(0,r+c*s),t<n?requestAnimationFrame(a):o()};requestAnimationFrame(a)}))(e,t.hashTopOffset,n),s.toggle(l,!1)}else s.toggle(l,o)},t=t=>{const n=(t?.jquery?t[0]:t).querySelector(".bdt-ep-accordion-container");if(!n)return;const o=n.querySelector(".bdt-ep-accordion");if(!o)return;const r=o.dataset.settings;if(!r)return;let c;try{c="string"==typeof r?JSON.parse(r):r}catch(e){return void console.error("Failed to parse accordion settings:",e)}const{activeHash:i="no",hashScrollspyTime:a=1e3,closeAllItemsOnMobile:d=!1}=c;if(d&&window.matchMedia("(max-width: 767px)").matches&&n.querySelectorAll(".bdt-ep-accordion-item.bdt-open").forEach(e=>{e.classList.remove("bdt-open");const t=e.querySelector(".bdt-ep-accordion-content");t&&(t.hidden=!0)}),"yes"===i){const t=new AbortController,n=t.signal,r=()=>e(o,c,a,!1),i=t=>{const n=t.currentTarget.dataset.title;n&&(window.location.hash=n.trim(),e(o,c,1e3))},d=()=>e(o,c,1e3);"complete"===document.readyState?r():window.addEventListener("load",r,{signal:n,once:!0}),window.addEventListener("hashchange",d,{signal:n}),o.querySelectorAll(".bdt-ep-accordion-title").forEach(e=>{e.addEventListener("click",i,{signal:n})}),o._cleanupAccordion=()=>t.abort()}};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-accordion.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-acf-accordion.default",t))})})();(()=>{"use strict";const e=e=>{const t=e.querySelectorAll('.bdt-ep-advanced-calculator-field-wrap input[type="text"], \n                      .bdt-ep-advanced-calculator-field-wrap input[type="hidden"], \n                      .bdt-ep-advanced-calculator-field-wrap input[type="checkbox"], \n                      .bdt-ep-advanced-calculator-field-wrap input[type="radio"], \n                      .bdt-ep-advanced-calculator-field-wrap input[type="number"], \n                      .bdt-ep-advanced-calculator-field-wrap select'),r=[],n=[],a=new Set;let l=1;return t.forEach((e,t)=>{if(!((e,t)=>{const r=e.type;return"radio"===r?!(!e.checked||t.has(e.name)||(t.add(e.name),0)):"checkbox"!==r||e.checked})(e,a))return;const o=e.value,c=(e=>{if(null==e||""===e)return null;const t=Number(e);return Number.isInteger(t)?t:parseFloat(e)})(o),u=`f${l}`;null===c||isNaN(c)||n.push({variable:u,value:c}),r.push({type:e.type,index:t,value:o,variable:u,real_value:c}),l++}),[r,n]},t=(t,r)=>{const[,n]=e(t);if(0===n.length)return;const a=(e=>{if(!e?.formula)return null;const t=e.formula.match(/'(.*)'/);return t?t[1]:null})(r);if(!a)return;const l=((e,t)=>{const r=new Map(t.map(({variable:e,value:t})=>[e,t]));return e.replace(/f([1-9]\d{0,2}|1000)\b/g,e=>r.has(e)?r.get(e):"null")})(a,n),o=(e=>{if(!window.formulajs)return console.error("FormulaJS library is not loaded"),null;try{return new Function("formulajs",`return formulajs.${e}`)(window.formulajs)}catch(e){return console.error("Formula execution error:",e),null}})(l);null===o||isNaN(o)?((e,t=5e3)=>{const r=e.querySelector(".bdt-ep-advanced-calculator-error");r&&(r.classList.remove("bdt-hidden"),setTimeout(()=>{r.classList.add("bdt-hidden")},t))})(t):((e,t)=>{const r=e.querySelector(".bdt-ep-advanced-calculator-result span");r&&(r.textContent=t.toFixed(2))})(t,o)},r=e=>{const r=(e?.jquery?e[0]:e).querySelector(".bdt-ep-advanced-calculator");if(!r)return;const n=r.dataset.settings;if(!n)return;let a;try{a="string"==typeof n?JSON.parse(n):n}catch(e){return void console.error("Failed to parse calculator settings:",e)}if(!a?.id)return;const l=document.querySelector(a.id);if(!l)return;const o=l.querySelector(".bdt-ep-advanced-calculator-form");if(!o)return;const c=new AbortController,u=c.signal;"submit"===a.resultShow?o.addEventListener("submit",e=>{e.preventDefault(),t(l,a)},{signal:u}):"change"===a.resultShow&&(o.addEventListener("change",e=>{e.target.matches("input, select")&&t(l,a)},{signal:u}),o.addEventListener("input",e=>{e.target.matches('input[type="number"], input[type="text"]')&&t(l,a)},{signal:u})),r._cleanupCalculator=()=>{c.abort()}};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-calculator.default",r)})})();(()=>{"use strict";const e=e=>{const t=e?.jquery?e[0]:e,n=t.querySelector(".bdt-ep-advanced-counter");if(!n)return;const r=n.dataset.settings;if(!r)return;let o;try{o="string"==typeof r?JSON.parse(r):r}catch(e){return void console.error("Failed to parse counter settings:",e)}const{countNumber:i=0,countStart:a=0,language:u,decimalPlaces:s=0,duration:l=0,useEasing:c=null,useGrouping:d=null,counterSeparator:f="",decimalSymbol:p="",counterPrefix:m="",counterSuffix:g="",id:y}=o;if("undefined"==typeof CountUp)return void console.error("CountUp.js library is not loaded");const b={startVal:a,numerals:u,decimalPlaces:s,duration:l,useEasing:null!==c,useGrouping:null!==d,separator:f,decimal:p,prefix:m,suffix:g},v=()=>{const e=t.querySelector(".bdt-count-this")||n.querySelector(".bdt-count-this")||(y?document.getElementById(y):null);if(!e)return;const r=new CountUp(e,i,b);r.error?console.error("CountUp initialization error:",r.error):r.start()};"function"==typeof epObserveTarget?epObserveTarget(t,v):(console.warn("epObserveTarget is not available, initializing counter immediately"),v())};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-counter.default",e)})})();(()=>{"use strict";const e=e=>{const t=e?.jquery?e[0]:e,i=t.querySelector(".bdt-ep-advanced-divider");if(!i)return;const n=i.dataset.settings;if(!n)return;let o;try{o="string"==typeof n?JSON.parse(n):n}catch(e){return void console.error("Failed to parse divider settings:",e)}if(!window.bdtUIkit?.svg)return void console.error("bdtUIkit.svg is not available");const r=i.querySelector("img");if(!r)return;const{animation:d=!1,loop:s=!1}=o;!0===d?"function"==typeof epObserveTarget?epObserveTarget(t,()=>{window.bdtUIkit.svg(r,{strokeAnimation:!0})},{loop:s}):(console.warn("epObserveTarget is not available, initializing divider immediately"),window.bdtUIkit.svg(r,{strokeAnimation:!0})):window.bdtUIkit.svg(r)};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-divider.default",e)})})();(()=>{"use strict";const e=(e,t="")=>{const o=t?`<div class="bdt-map-tooltip-top-image"><img class="bdt-map-image" src="${t}" alt="" /></div>`:"",n=e.website?`<a href="${e.website}">${e.website}</a>`:"",a=e.phone?`<a href="tel:${e.phone}">${e.phone}</a>`:"",s=e.content?`<span class="bdt-tooltip-content">${(e=>{const t=document.createElement("div");t.innerHTML=e,t.querySelectorAll("script").forEach(e=>e.remove());const o=["onclick","onload","onerror","onmouseover","onmouseout","onmouseenter","onmouseleave","onfocus","onblur","onchange","onsubmit","onkeydown","onkeyup","onkeypress"];return t.querySelectorAll("*").forEach(e=>{o.forEach(t=>e.removeAttribute(t))}),t.innerHTML})(e.content)}</span><br>`:"",r=e.place?`<h5 class="bdt-tooltip-place">${e.place}</h5>`:"";return`<div class="bdt-map-tooltip-view">\n              <div class="bdt-map-tooltip-view-inner">\n                ${o}\n                <div class="bdt-map-tooltip-bottom-footer">\n                  ${e.title?`<h4 class="bdt-tooltip-title">${e.title}</h4>`:""}\n                  ${r}\n                  ${s}\n                  ${n}\n                  ${a}\n                </div>\n              </div>\n            </div>`},t=(e,t)=>{const o=t.toLowerCase();e.forEach(e=>{const t=e.textContent.toLowerCase();e.style.display=t.includes(o)?"":"none"})},o=async(e,t)=>{const{position:o,title:n,icon:a}=t;if(window.google?.maps?.marker?.AdvancedMarkerElement)try{const{AdvancedMarkerElement:t,PinElement:s}=await google.maps.importLibrary("marker"),r={map:e,position:o,title:n,gmpClickable:!0};if(a){const e=document.createElement("img");e.src=a,e.style.width="32px",e.style.height="32px",r.content=e}else r.content=new s;return new t(r)}catch(e){console.warn("AdvancedMarkerElement failed, falling back to Marker:",e)}const s={position:o,map:e,title:n};return a&&(s.icon=a),new google.maps.Marker(s)},n=async(n,a,s,r,l,i,c,p)=>{if(n.removeAttribute("style"),!window.google?.maps)return void console.error("Google Maps API is not loaded");const d={center:{lat:parseFloat(a.lat),lng:parseFloat(a.lng)},zoom:a.zoom||15,mapTypeId:google.maps.MapTypeId[a.mapTypeId?.toUpperCase()]||google.maps.MapTypeId.ROADMAP,zoomControl:void 0===a.zoomControl||a.zoomControl,zoomControlOptions:{position:google.maps.ControlPosition.TOP_LEFT},mapTypeControl:void 0===a.mapTypeControl||a.mapTypeControl,streetViewControl:void 0===a.streetViewControl||a.streetViewControl,scrollwheel:void 0===a.scrollwheel||a.scrollwheel,fullscreenControl:!0,mapId:"DEMO_MAP_ID"},m=new google.maps.Map(p,d),u=new google.maps.InfoWindow,g=[];let y=null,v=null;v=((e,t,o=null)=>{const n=t.dataset.map_style;if(!n)return null;if(o)return e.setOptions({styles:o}),o;try{const t="string"==typeof n?JSON.parse(n):n;return e.setOptions({styles:t}),t}catch(e){return console.error("Error parsing map styles:",e),null}})(m,p,v);for(const t of s){const n=t.image||"",a={lat:parseFloat(t.lat),lng:parseFloat(t.lng)},s=await o(m,{position:a,title:t.title,icon:t.icon});s instanceof google.maps.Marker?s.addListener("click",()=>{const o=e(t,n);u.setContent(o),u.open(m,s)}):s.addEventListener("gmp-click",()=>{const o=e(t,n);u.setContent(o),u.open(m,s)}),g.push(s)}const w=new AbortController,{signal:f}=w;p.dataset.map_geocode&&c?.addEventListener("submit",async e=>{e.preventDefault();const t=new google.maps.Geocoder,n=i.value.trim();n&&t.geocode({address:n},async(e,t)=>{if("OK"===t&&e[0]){const t=e[0].geometry.location;m.setCenter(t),y&&(y.map=null),y=await o(m,{position:t,title:n})}else console.warn("Geocode was not successful:",t)})},{signal:f}),r.forEach(t=>{t.addEventListener("click",async()=>{const n=t.dataset.settings;if(!n)return;let s;try{s="string"==typeof n?JSON.parse(n):n}catch(e){return void console.error("Failed to parse list item settings:",e)}const r={lat:parseFloat(s.lat),lng:parseFloat(s.lng)};m.setCenter(r),m.setZoom(a.zoom),y&&(y.map=null);const l=s.image?.[0]||"";y=await o(m,{position:r,title:s.title,icon:s.icon});const i=e(s,l);u.setContent(i),u.open(m,y),v&&m.setOptions({styles:v})},{signal:f})});const b=((e,t=300)=>{let o;return function(...n){clearTimeout(o),o=setTimeout(()=>{clearTimeout(o),e(...n)},t)}})(e=>{t(r,e)},300);l&&l.addEventListener("submit",e=>{e.preventDefault();const o=i.value;t(r,o)},{signal:f}),i&&i.addEventListener("input",e=>{b(e.target.value)},{signal:f}),p._cleanupMap=()=>{w.abort(),y&&(void 0!==y.map?y.map=null:y.setMap&&y.setMap(null)),g.forEach(e=>{void 0!==e.map?e.map=null:e.setMap&&e.setMap(null)})}},a=e=>{const t=e?.jquery?e[0]:e,o=t.querySelector(".bdt-advanced-gmap");if(!o)return;const a=t.querySelector(".bdt-advanced-map"),s=t.querySelectorAll("ul.bdt-gmap-lists div.bdt-gmap-list-item"),r=t.querySelector(".bdt-search"),l=t.querySelector(".bdt-search-input"),i=t.querySelector(".bdt-gmap-search-wrapper > form"),c=o.dataset.map_settings,p=o.dataset.map_markers;if(!c||!p)return void console.error("Map settings or markers data is missing");let d,m;try{d="string"==typeof c?JSON.parse(c):c,m="string"==typeof p?JSON.parse(p):p}catch(e){return void console.error("Failed to parse map data:",e)}const u=()=>{n(a,d,m,s,r,l,i,o)};window.elementorFrontend?.isEditMode()||"complete"===document.readyState?u():window.addEventListener("load",u,{once:!0})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-gmap.default",a)})})();(()=>{"use strict";const t=t=>{const e=t.textContent.trim();if(!e)return;const n=e.split(/\s+/),o=document.createDocumentFragment();n.forEach(t=>{const e=document.createElement("span");e.textContent=t+" ",e.style.color=`#${Math.floor(16777215*Math.random()).toString(16).padStart(6,"0")}`,o.appendChild(e)}),t.textContent="",t.appendChild(o)},e=e=>{const n=(e?.jquery?e[0]:e).querySelector(".bdt-ep-advanced-heading");if(!n)return;const o=n.querySelector(".bdt-ep-advanced-heading-main-title-inner");if(!o)return;const r=n.dataset.settings;if(!r)return;let d;try{d="string"==typeof r?JSON.parse(r):r}catch(t){return void console.error("Failed to parse heading settings:",t)}"yes"===d.titleMultiColor&&t(o)};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-heading.default",e)})})();(()=>{"use strict";const e=e=>{const t=e?.jquery?e[0]:e,n=t.querySelector(".bdt-ep-advanced-icon-box");if(!n)return;const o=n.querySelector(".bdt-ep-advanced-icon-box-separator-wrap > img");o&&(window.bdtUIkit?.svg?"function"==typeof epObserveTarget?epObserveTarget(t,()=>{window.bdtUIkit.svg(o,{strokeAnimation:!0})}):(console.warn("epObserveTarget is not available, initializing icon box immediately"),window.bdtUIkit.svg(o,{strokeAnimation:!0})):console.error("bdtUIkit.svg is not available"))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-icon-box.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-advanced-image-gallery");if(!t)return;const n=t.dataset.settings;if(!n)return;let o;try{o="string"==typeof n?JSON.parse(n):n}catch(e){return void console.error("Failed to parse image gallery settings:",e)}if(!0===o.tiltShow){if("undefined"==typeof VanillaTilt)return void console.error("VanillaTilt library is not loaded");const e=document.querySelectorAll(`${o.id} [data-tilt]`);e.length>0&&VanillaTilt.init(e)}};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-image-gallery.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-image-gallery.bdt-carousel",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-acf-gallery.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-acf-gallery.bdt-carousel",e))})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelectorAll(".bdt-ep-advanced-progress-bar-item");0!==t.length&&("function"==typeof epObserveTarget?t.forEach((e,t)=>{epObserveTarget(e,()=>{e.querySelectorAll(".bdt-ep-advanced-progress-bar-fill").forEach(e=>{const a=parseFloat(e.dataset.maxValue)||100,r=parseFloat(e.dataset.width)||0,n=parseFloat(e.dataset.animationDelay)||0,o=100*r/a;e.style.width=`${o}%`,e.style.transitionDelay=t*n+"s";const s=e.querySelector(".bdt-ep-advanced-progress-bar-parcentage");s&&(s.style.transform="scale(1)")})})}):console.warn("epObserveTarget is not available"))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-progress-bar.default",e)})})();(()=>{"use strict";class t{constructor(t,e,i){this.element=t,this.settings=e,this.isEditMode=i,this.widgetId=e.widgetId,this.abortController=new AbortController,this.signal=this.abortController.signal}setLocalize(){if(this.isEditMode)return void this.clearLocalize();this.clearLocalize();const t=60*this.settings.displayTimesExpire*60,e=Date.now()+1e3*t;if(null===localStorage.getItem(this.widgetId)&&(localStorage.setItem(this.widgetId,"0"),localStorage.setItem(`${this.widgetId}_expiresIn`,e.toString())),null!==localStorage.getItem(this.widgetId)){let t=parseInt(localStorage.getItem(this.widgetId),10)||0;t++,localStorage.setItem(this.widgetId,t.toString())}}clearLocalize(){const t=parseInt(localStorage.getItem(`${this.widgetId}_expiresIn`),10);Date.now()>=t&&(localStorage.removeItem(`${this.widgetId}_expiresIn`),localStorage.removeItem(this.widgetId))}modalFire(){const t=this.settings.displayTimes||1,e=parseInt(localStorage.getItem(this.widgetId),10)||0;!1!==t&&e>=t||window.bdtUIkit?.modal&&window.bdtUIkit.modal(this.element,{bgclose:!1,keyboard:!1}).show()}setupAgeVerify(){let t=parseInt(localStorage.getItem(this.widgetId),10)||0;const e=this.element,i=e.querySelectorAll(".bdt-button"),o=!this.isEditMode&&this.settings.redirect_link;let s=this.settings.requiredAge;i.forEach(i=>{i.addEventListener("click",()=>{const n=e.querySelector(".bdt-age-input");let l=parseInt(n?.value,10)||0;if(i.classList.contains("data-val-yes")&&(l=18),i.classList.contains("data-val-no")&&(s=18,l=1),l>=s)this.setLocalize(),t+=1,window.bdtUIkit?.modal&&window.bdtUIkit.modal(this.element).hide();else{const t=document.querySelector(".modal-msg-text");t&&t.classList.remove("bdt-hidden"),!1!==o&&window.location.replace(o)}},{signal:this.signal})}),window.bdtUIkit?.util&&window.bdtUIkit.util.on(this.element,"hidden",()=>{this.isEditMode||(!1===o&&t<=0?setTimeout(()=>{this.modalFire()},1500):!1!==o&&t<=0&&window.location.replace(o))})}setupCloseBtnDelay(){const{widgetId:t,delayTime:e}=this.settings,i=document.getElementById(t);if(!i)return;const o=i.querySelector("#bdt-modal-close-button");o&&(o.style.display="none",window.bdtUIkit?.util&&(window.bdtUIkit.util.on(i,"shown",()=>{o.style.display="none",setTimeout(()=>{o.style.display="",o.style.opacity="0",o.style.transition="opacity 0.3s",setTimeout(()=>{o.style.opacity="1"},10)},e)}),window.bdtUIkit.util.on(i,"hide",()=>{o.style.display="none"})))}init(){this.modalFire(),this.setupAgeVerify(),this.settings.closeBtnDelayShow&&this.setupCloseBtnDelay()}destroy(){this.abortController.abort()}}const e=e=>{const i=(e?.jquery?e[0]:e).querySelectorAll(".bdt-age-gate");if(0===i.length)return;const o=Boolean(window.elementorFrontend?.isEditMode());i.forEach(e=>{const i=e.dataset.settings;if(!i)return;let s;try{s="string"==typeof i?JSON.parse(i):i}catch(t){return void console.error("Failed to parse age gate settings:",t)}const n=new t(e,s,o);n.init(),e._ageGateInstance=n})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-age-gate.default",e)})})();(()=>{"use strict";const e=e=>{const t=e instanceof jQuery?e[0]:e,n=t.querySelector(".bdt-heading"),o=t.querySelector(".bdt-heading > *");if(!o)return;const a=o.querySelector(".bdt-animated-heading");let i;try{const e=a?.dataset.settings;i=e?JSON.parse(e):null}catch(e){i=null}if(i){if("animated"===i.layout)n.style.display="block",jQuery(a).Morphext(i);else if("typed"===i.layout)new Typed("#"+a.id,i);else if("split_text"===i.layout){const e=gsap.timeline(),t=new SplitText(o,{type:"chars, words, lines"});gsap.set(o,{perspective:i.anim_perspective}),e.clear().time(0),t.revert(),t.split({type:"chars, words, lines"});const n="lines"===i.animation_on?t.lines:"chars"===i.animation_on?t.chars:t.words,a={opacity:0,scale:i.anim_scale,y:i.anim_rotation_y,rotationX:i.anim_rotation_x,transformOrigin:i.anim_transform_origin};i.anim_repeat&&(a.repeat=-1,i.anim_yoyo&&(a.yoyo=!0)),e.staggerFrom(n,.5,a,i.anim_duration)}else if("gsap_slide"===i.layout){const e=n.querySelector(".bdt-gsap-mask");let t=i.gsap_slide_mask_color||"";if(!t){const e=n.closest(".elementor-section");e&&(t=window.getComputedStyle(e).backgroundColor),t&&"rgba(0, 0, 0, 0)"!==t&&"transparent"!==t||(t=window.getComputedStyle(n).backgroundColor),t&&"rgba(0, 0, 0, 0)"!==t&&"transparent"!==t||(t=window.getComputedStyle(document.body).backgroundColor||"#262626")}if(e){Object.assign(e.style,{position:"absolute",top:"0",left:"100%",width:"200%",height:"100%",maxWidth:"none",backgroundImage:`linear-gradient(to right, transparent, ${t} 50%, ${t})`,pointerEvents:"none"});const n={xPercent:i.gsap_slide_xpercent??-100,duration:i.gsap_slide_duration??3,repeat:-1,repeatDelay:i.gsap_slide_repeat_delay??.5,ease:"none"};i.gsap_slide_yoyo&&(n.yoyo=!0),gsap.to(e,n)}else console.warn("BDT Animated Heading: Mask element not found for GSAP Slide")}o.style.transition="opacity 0.5s ease",o.style.opacity="1"}else console.warn("BDT Animated Heading: No settings found")};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-animated-heading.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e instanceof jQuery?e[0]:e).querySelector(".bdt-audio-player .jp-jplayer");if(!t)return;const o=t.dataset.settings;if(!o)return;let r;try{r="string"==typeof o?JSON.parse(o):o}catch(e){return void console.error("Failed to parse audio player settings:",e)}if("undefined"==typeof jQuery||!jQuery.fn.jPlayer)return void console.error("jPlayer library is not loaded");const n=t.nextElementSibling,s=n?.classList.contains("jp-audio")?n.id:null;if(!s)return void console.error("Audio player container not found");const a=jQuery(t),i=jQuery(n);a.jPlayer({ready:function(e){jQuery(this).jPlayer("setMedia",{title:r.audio_title,mp3:r.audio_source}),!0===r.autoplay&&jQuery(this).jPlayer("play",1)},play:function(){i.removeClass("bdt-player-played"),jQuery(this).jPlayer("pauseOthers")},ended:function(){i.addClass("bdt-player-played")},timeupdate:function(e){!0===r.time_restrict&&e.jPlayer.status.currentTime>r.restrict_duration&&jQuery(this).jPlayer("stop")},cssSelectorAncestor:`#${s}`,useStateClassSkin:!0,autoBlur:r.smooth_show,smoothPlayBar:!0,keyEnabled:r.keyboard_enable,remainingDuration:!0,toggleDuration:!0,volume:r.volume_level,loop:r.loop})},t=e=>{const t=e instanceof jQuery?e[0]:e,o=t.querySelector(".bdt-audio-player.skin-showcase");if(!o)return;const r=o.dataset.settings;if(!r)return;let n;try{n="string"==typeof r?JSON.parse(r):r}catch(e){return void console.error("Failed to parse showcase settings:",e)}const s=Boolean(window.elementorFrontend?.isEditMode?.()),a=Array.isArray(n.songs)?n.songs:[];if(!a.some(e=>e?.audio))return;const i=t.getAttribute("data-id")||t.closest("[data-id]")?.getAttribute("data-id"),l=o.querySelector(".bdt-ap-showcase-audio"),d=o.querySelector(".bdt-ap-showcase-playlist"),c=o.querySelectorAll(".bdt-ap-showcase-playlist-item"),u=o.querySelectorAll(".bdt-ap-showcase-like-btn"),p=o.querySelector(".bdt-ap-showcase-volume-range"),h=o.querySelector(".bdt-ap-showcase-volume"),m=o.querySelector(".bdt-ap-showcase-volume-icon"),y=o.querySelector(".bdt-ap-showcase-progress-bar"),b=o.querySelector(".bdt-ap-showcase-progress-current"),g=o.querySelector(".bdt-ap-showcase-progress-total"),w=o.querySelector(".bdt-ap-showcase-play-pause"),v=o.querySelector(".bdt-ap-showcase-play-icon"),f=o.querySelector(".bdt-ap-showcase-prev"),S=o.querySelector(".bdt-ap-showcase-next"),L=o.querySelector(".bdt-ap-showcase-shuffle"),x=o.querySelector(".bdt-ap-showcase-swiper"),E=!1!==n.show_shuffle,_=!1!==n.show_like,P=!1!==n.show_duration,q=!1!==n.show_progress_time,N=!1!==n.auto_next,k=Number(n.swiper_speed)||700;if(!(l&&d&&p&&y&&w&&v&&f&&S&&x))return;const A=(e,t)=>{e&&(e.addEventListener("click",t),e.addEventListener("keydown",e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),t(e))}))},M=e=>{if(!m)return;const t=e<=0?"mute":e<=50?"medium":"high";m.dataset.volumeLevel=t},j=(e=Number(p.value))=>{const t=Number(p.max)||100,o=Math.min(Math.max(Number(e)||0,0),t);p.style.setProperty("--volume-percent",t>0?o/t*100+"%":"0%")};(()=>{if(!d)return;o._playlistScrollAbort&&o._playlistScrollAbort.abort();const e=new AbortController,t=e.signal;o._playlistScrollAbort=e;const r=()=>o.querySelectorAll(".bdt-ap-showcase-playlist-item"),n=()=>window.innerWidth<=580,s=()=>Math.max(0,d.scrollHeight-d.clientHeight),a=()=>{const e=r();if(!e.length||!((e=r().length)=>n()?e>=3:e>5)(e.length))return d.classList.remove("is-scrollable"),d.classList.remove("is-scrollable-ssr-mobile"),d.style.removeProperty("--playlist-visible-height"),void d.style.removeProperty("max-height");d.classList.add("is-scrollable");const t=n()?3:5,o=Math.ceil(((e,t=r())=>Array.from(t).slice(0,e).reduce((e,t)=>{const o=window.getComputedStyle(t),r=Number.parseFloat(o.marginBottom)||0;return e+t.offsetHeight+r},0))(t,e));d.style.setProperty("--playlist-visible-height",`${o}px`),d.style.maxHeight=`${o}px`,d.classList.remove("is-scrollable-ssr-mobile")};let i=d.scrollTop,l=null;const c=e=>Math.max(0,Math.min(s(),e)),u=()=>{a(),d.classList.contains("is-scrollable")&&(i=c(i),d.scrollTop=i)};u();let p=0;d.addEventListener("touchstart",e=>{d.classList.contains("is-scrollable")&&(p=e.touches[0].clientY)},{passive:!0,signal:t}),d.addEventListener("touchmove",e=>{if(!d.classList.contains("is-scrollable")||s()<=0)return;const t=e.touches[0].clientY-p,o=d.scrollTop<=0,r=d.scrollTop+d.clientHeight>=d.scrollHeight-1;o&&t>0||r&&t<0||e.stopPropagation()},{passive:!0,signal:t});const h=()=>{const e=d.scrollTop,t=i-e;if(Math.abs(t)<.5)return e!==i&&(d.scrollTop=i),void(l=null);d.scrollTop=e+.16*t,l=requestAnimationFrame(h)},m=()=>{i=d.scrollTop};let y;if(d.addEventListener("wheel",e=>{d.classList.contains("is-scrollable")&&(s()<=0||(e.preventDefault(),e.stopPropagation(),null===l&&m(),i=c(i+(e=>{let t=e.deltaY;return 1===e.deltaMode?t*=16:2===e.deltaMode&&(t*=d.clientHeight),t})(e)),null===l&&(l=requestAnimationFrame(h))))},{passive:!1,signal:t}),d.addEventListener("scroll",()=>{null===l&&m()},{passive:!0,signal:t}),window.addEventListener("resize",()=>{clearTimeout(y),y=window.setTimeout(u,150)},{signal:t}),"undefined"!=typeof ResizeObserver){const t=new ResizeObserver(()=>{requestAnimationFrame(u)});t.observe(d),e.signal.addEventListener("abort",()=>{t.disconnect()})}})();const{index:T,previewChanged:C}=(()=>{let e=Number.isInteger(n.initial_index)?n.initial_index:Number.parseInt(n.initial_index,10);if(Number.isNaN(e)&&(e=0),e=Math.max(0,Math.min(e,a.length-1)),!s)return{index:e,previewChanged:!1};const t=i?(window.__bdtShowcasePreview=window.__bdtShowcasePreview||{},window.__bdtShowcasePreview[i]=window.__bdtShowcasePreview[i]||{songs:[]},window.__bdtShowcasePreview[i]):null,o=a.map(e=>({audio:e?.audio||""}));if(!t)return{index:e,previewChanged:!1};const r=((e,t)=>{if(!e.length)return null;if(t.length>e.length){for(let o=e.length;o<t.length;o+=1)if(t[o]?.audio)return o;return t.length-1}let o=null;for(let r=0;r<t.length;r+=1){const n=e[r]?.audio||"",s=t[r]?.audio||"";s&&n!==s&&(o=r)}return o})(t.songs,o);return t.songs=o,null!==r&&r>=0&&r<a.length?{index:r,previewChanged:!0}:{index:e,previewChanged:!1}})();let F=T;if(!a[F]?.audio){const e=a.findIndex(e=>e?.audio);e>=0&&(F=e)}let I=!1,Q=null;const $=e=>{const t=v.querySelector(".icon-play"),o=v.querySelector(".icon-pause");if(t&&o&&(t.style.display=e?"none":"inline-block",o.style.display=e?"inline-block":"none",w)){const t=e?w.dataset.tooltipPause||"Pause":w.dataset.tooltipPlay||"Play";((e,t,o="top")=>{e&&t&&(e.setAttribute("data-bdt-tooltip",`title: ${t}; pos: ${o};`),window.bdtUIkit?.tooltip&&window.bdtUIkit.tooltip(e))})(w,t)}},H=e=>{c.forEach((t,o)=>{t.classList.toggle("active-playlist-item",o===e)})},O=e=>{if(!Number.isFinite(e)||e<0)return"0:00";const t=Math.floor(e),o=Math.floor(t/3600),r=Math.floor(t%3600/60),n=t%60;return o>0?`${o}:${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`:`${r}:${String(n).padStart(2,"0")}`},B=()=>{q&&(b&&(b.textContent=O(l.currentTime)),g&&(g.textContent=O(l.duration)))},D=(e=l.currentTime)=>{const t=Number.isFinite(l.duration)?l.duration:Number(y.max),o=t>0?t:0,r=o>0?Math.min(Math.max(Number(e)||0,0),o):0;o>0&&(y.max=String(o)),y.value=String(r),y.style.setProperty("--progress-percent",o>0?r/o*100+"%":"0%")},U=(e,t)=>{const o=c[e];if(!o)return;const r=o.querySelector(".bdt-ap-showcase-duration");r&&(r.textContent=O(t))},z=()=>{const e=l.play();e&&"function"==typeof e.then?e.then(()=>$(!0)).catch(()=>$(!1)):$(!0)},R=()=>{l.pause(),$(!1)},Y=e=>{const t=a[e];t?.audio&&(l.src=t.audio,z(),H(e),(e=>{if(!Q)return;("number"==typeof Q.realIndex?Q.realIndex:Q.activeIndex)!==e&&Q.slideTo(e)})(e),I=!0)};l.loop=!0===n.loop;const J=Number(n.volume);if(l.volume=Math.max(0,Math.min(1,Number.isFinite(J)?J:1)),p.value=String(Math.round(100*l.volume)),M(Number(p.value)),j(Number(p.value)),(()=>{if(!h)return;let e=null;const t=()=>{clearTimeout(e),h.classList.add("is-hovering")};h.addEventListener("mouseover",t),h.addEventListener("mouseout",t=>{h.contains(t.relatedTarget)||(clearTimeout(e),e=window.setTimeout(()=>{h.classList.remove("is-hovering")},280))}),h.addEventListener("click",e=>{e.target.closest(".bdt-ap-showcase-volume-range")||(e.stopPropagation(),h.classList.toggle("is-open"))}),document.addEventListener("click",()=>{h.classList.remove("is-open")}),p.addEventListener("focus",()=>{h.classList.add("is-open"),t()})})(),H(F),(()=>{if("undefined"==typeof Swiper)return;const e=window.innerWidth<=580?{effect:"slide",slidesPerView:1,spaceBetween:0,grabCursor:!0,speed:k,initialSlide:F}:{effect:"cards",cardsEffect:{perSlideOffset:9,perSlideRotate:3},grabCursor:!0,speed:k,initialSlide:F};try{Q=new Swiper(x,e)}catch(e){Q=new Swiper(x,{grabCursor:!0,speed:k,initialSlide:F})}Q&&Q.on("slideChange",()=>{const e="number"==typeof Q.realIndex?Q.realIndex:Q.activeIndex;e!==F&&(F=e,Y(F))})})(),P&&a.forEach((e,t)=>{if(!e?.audio)return;const o=new Audio;o.preload="metadata",o.src=e.audio;const r=()=>{Number.isFinite(o.duration)&&o.duration>0&&U(t,o.duration),o.removeAttribute("src"),o.load()};o.addEventListener("loadedmetadata",r,{once:!0}),o.addEventListener("error",r,{once:!0})}),!0===n.autoplay||s&&C)Y(F);else{const e=a[F];e?.audio&&(l.src=e.audio),I=!0,$(!1)}c.forEach((e,t)=>{e.addEventListener("click",()=>{F=t,Y(t)})}),_&&u.forEach(e=>{A(e,t=>{t.stopPropagation(),e.classList.toggle("is-liked")})}),o.querySelectorAll(".bdt-ap-showcase-controls [data-bdt-tooltip], .bdt-ap-showcase-progress [data-bdt-tooltip]").forEach(e=>{window.bdtUIkit?.tooltip&&window.bdtUIkit.tooltip(e)}),A(w,()=>{I?l.paused?z():R():Y(F)}),A(S,()=>{F=(F+1)%a.length,Y(F)}),A(f,()=>{F=(F-1+a.length)%a.length,Y(F)}),E&&L&&A(L,()=>{const e=Math.floor(Math.random()*a.length);F=e!==F?e:(e+1)%a.length,Y(F)}),l.addEventListener("loadedmetadata",()=>{D(l.currentTime||0),P&&U(F,l.duration),B()}),l.addEventListener("timeupdate",()=>{l.paused||D(l.currentTime),B()}),y.addEventListener("input",()=>{l.currentTime=Number(y.value),D(Number(y.value)),B()}),y.addEventListener("change",()=>{l.paused||z()}),p.addEventListener("input",()=>{const e=Number(p.value);l.volume=e/100,M(e),j(e)}),l.addEventListener("play",()=>$(!0)),l.addEventListener("pause",()=>$(!1)),l.addEventListener("ended",()=>{if(N&&F<a.length-1)return F+=1,void Y(F);R(),D(l.duration||Number(y.max)||0),B()})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-audio-player.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-audio-player.bdt-poster",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-audio-player.bdt-showcase",t))})})();(()=>{"use strict";window.addEventListener("elementor/frontend/init",()=>{const e=elementorModules.frontend.handlers.Base;let t;t=e.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{format:"code128"}},onElementChange:debounce(function(e){-1!==e.indexOf("ep_barcode")&&this.run()},400),settings:function(e){return this.getElementSettings(`ep_barcode_${e}`)},run:function(){const e=this.getDefaultSettings();if(!(this.$element instanceof jQuery?this.$element[0]:this.$element).querySelector(".bdt-ep-barcode"))return;const t=this.settings("content");if(!t)return void console.warn("Barcode content is empty");if(e.displayValue="yes"===this.settings("show_label"),e.format=this.settings("format")||"code128",e.text=this.settings("label_text")||"",e.width=this.settings("width.size")||2,e.height=this.settings("height.size")||40,e.fontOptions=this.settings("font_width")||"normal",e.textAlign=this.settings("label_alignment")||"center",e.textPosition=this.settings("label_position")||"bottom",e.textMargin=this.settings("label_spacing.size")||2,e.margin=0,"undefined"==typeof JsBarcode)return void console.error("JsBarcode library is not loaded");const n=`#bdt-ep-barcode-${this.$element.data("id")}`;try{JsBarcode(n,t,e)}catch(e){console.error("Barcode generation error:",e)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-barcode.default",e=>{elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})})();(()=>{"use strict";const e=async e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-brand-carousel");if(!t)return;const r=t.querySelector(".swiper-carousel");if(!r)return;const n=t.dataset.settings;if(!n)return;let o;try{o="string"==typeof n?JSON.parse(n):n}catch(e){return void console.error("Failed to parse brand carousel settings:",e)}const s=elementorFrontend?.utils?.swiper;if(s)try{const e=await new s(r,o);o.pauseOnHover&&(r.addEventListener("mouseenter",()=>{e.autoplay?.stop()}),r.addEventListener("mouseleave",()=>{e.autoplay?.start()}))}catch(e){console.error("Swiper initialization error:",e)}else console.error("Swiper is not available")};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-brand-carousel.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e instanceof jQuery?e[0]:e).querySelector(".bdt-ep-business-hours");if(!t)return;const n=t.querySelector(".bdt-ep-business-hours-current-time");if(!n)return;const o=t.dataset.settings;if(!o)return;let r;try{r="string"==typeof o?JSON.parse(o):o}catch(e){return void console.error("Failed to parse business hours settings:",e)}const{business_hour_style:s,timeNotation:i,dynamic_timezone:c,dynamic_timezone_default:u}=r;if("dynamic"!==s)return;if("undefined"==typeof jQuery||!jQuery.fn.jclock)return void console.error("jclock library is not loaded");const d="static"===s?u:c;if(!d)return void console.warn("Timezone offset is not set");const a={format:"12h"===i?"%I:%M:%S %p":"%H:%M:%S",timeNotation:i,am_pm:!0,utc:!0,utc_offset:d};jQuery(n).jclock(a)};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-business-hours.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelectorAll(".bdt-dual-button .bdt-ep-button[data-onclick]");t.length&&t.forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const n=e.dataset.onclick?.trim().replace(/[\(\);\s]/g,"");n&&("function"==typeof window[n]?window[n]():console.warn(`Function "${n}" is not defined.`))})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-dual-button.default",e)})})();(()=>{"use strict";const e=(e,t,r,o,s,n)=>a=>"yes"===r&&"yes"===n?e+((e,t,r)=>{if(e=String(e),r){const t=parseFloat(e);return t>=1e9?(t/1e9).toFixed(1).replace(/\.0$/,"")+"G":t>=1e6?(t/1e6).toFixed(1).replace(/\.0$/,"")+"M":t>=1e3?(t/1e3).toFixed(1).replace(/\.0$/,"")+"K":e}const[o,s=""]=e.split("."),n=o.replace(/(\d+)(\d{3})/,"$1"+t+"$2");return s?`${n}.${s}`:n})(a,o,s)+t:e+a+t,t=t=>{const r=t?.jquery?t[0]:t,o=r.querySelector(".bdt-chart");if(!o)return;const s=o.dataset.settings,n=o.dataset.suffixprefix;if(!s)return;let a,i;try{a="string"==typeof s?JSON.parse(s):s,i="string"==typeof n?JSON.parse(n):n??{}}catch(e){return void console.error("Failed to parse chart settings:",e)}epObserveTarget(r,()=>{const t=o.querySelector(":scope > canvas");if(!t)return;const r=t.getContext("2d"),s=new Chart(r,a);if("pie"===a.type||"doughnut"===a.type)return;const n=a.valueSeparator??"no",c=a.separatorSymbol??",",l=(a.xAxesSeparator,a.yAxesSeparator??"no"),p="yes"===a.kFormatter,d=i.suffix_prefix_status??"no";("yes"===d||"yes"===n)&&((t,r,o,s,n,a,i,c)=>{const l="yes"===a?r.y_custom_prefix??"":"",p="yes"===a?r.y_custom_suffix??"":"",d=e(l,p,o,s,n,c);"horizontalBar"===r.type?t.options.scales.x.ticks={callback:d}:["bar","line","bubble"].includes(r.type)&&(t.options.scales.y.ticks={callback:d}),t.update()})(s,i,n,c,p,d,0,l)},{root:null,rootMargin:"0px",threshold:.8})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-chart.default",t)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-carousel");if(!t)return;const n=t.querySelector(".swiper-carousel"),o=t.dataset.settings;if(!o)return;let r;try{r="string"==typeof o?JSON.parse(o):o}catch(e){return void console.error("Failed to parse carousel settings:",e)}const d=window.elementorFrontend.utils.swiper;!async function(){const e=await new d(n,r);r.pauseOnHover&&(n.addEventListener("mouseenter",()=>e.autoplay.stop()),n.addEventListener("mouseleave",()=>e.autoplay.start()))}()};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-carousel.bdt-alice",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-carousel.bdt-vertical",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-carousel.bdt-ramble",e))})})();(()=>{"use strict";const e=e=>{const t=e instanceof jQuery?e[0]:e,n=t.querySelector(".bdt-circle-menu");if(!n)return;const r=n.dataset.settings;if(!r)return;let i;try{i="string"==typeof r?JSON.parse(r):r}catch(e){return void console.error("Failed to parse circle menu settings:",e)}const{direction:o,item_diameter:d,circle_radius:s,speed:c,delay:a,step_out:l,step_in:u,trigger:p,transition_function:m}=i;jQuery(n).circleMenu({direction:o,item_diameter:d,circle_radius:s,speed:c,delay:a,step_out:l,step_in:u,trigger:p,transition_function:m});const y=t.dataset.id;t.querySelectorAll(".bdt-tippy-tooltip").forEach(e=>{tippy(e,{allowHTML:!0,theme:`bdt-tippy-${y}`})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-circle-menu.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-circle-info");if(!t)return;const r=t.dataset.settings;if(!r)return;let c;try{c="string"==typeof r?JSON.parse(r):r}catch(e){return void console.error("Failed to parse circle info settings:",e)}epObserveTarget(t,()=>{((e,t,r,c)=>{const n=document.querySelectorAll(`#${e} .bdt-ep-circle-info-sub-circle`),o=document.querySelectorAll(`#${e} .bdt-ep-circle-info-item`),i=document.querySelector(`#${e} .bdt-ep-circle-info-inner`);if(!i)return;let s=2;(r<=0||!1===t)&&(r=1e11);const l=(e,t)=>{e.forEach(e=>e.classList.remove(t))},a=(e,t)=>{e[t]&&e[t].classList.add("active")};!0===t&&setInterval(()=>{const e=i.querySelector(".bdt-ep-circle-info-sub-circle.active"),t=e?parseInt(e.dataset.circleIndex,10):0,r=n.length;(t>r||s>r)&&(s=1),l(n,"active");const c=i.querySelector(`[data-circle-index='${s}']`);c&&c.classList.add("active"),l(o,"active"),a(o,s-1),s++;const d=360-36*(s-2),u=36*(s-2);i.querySelectorAll(".bdt-ep-circle-info-sub-circle i, .bdt-ep-circle-info-sub-circle svg").forEach(e=>{e.style.transform=`rotate(${d}deg)`,e.style.transition="2s"}),i.style.transform=`rotate(${u}deg)`,i.style.transition="1s"},r);const d=()=>{const{width:e,height:t}=i.getBoundingClientRect();Array.from(n).reverse().forEach((r,c)=>{const o=c*(360/n.length),i=e/2*Math.cos(o*Math.PI/180),s=t/2*Math.sin(o*Math.PI/180);r.style.transform=`translate3d(${i.toFixed(5)}px,${s.toFixed(5)}px,0)`})};let u;d(),window.addEventListener("resize",()=>{clearTimeout(u),u=setTimeout(d,50)});const f="click"===c?"click":"mouseover";n.forEach((e,t)=>{e.addEventListener(f,()=>{e.classList.contains("active")||(l(n,"active"),l(o,"active"),a(n,t),a(o,t))},!0)})})(c.id,c.circleMoving,c.movingTime,c.mouseEvent)},{root:null,rootMargin:"0px",threshold:.8})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-circle-info.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-content-switcher");if(!t)return;const n=e=>{const n=t.dataset[e];if(n)try{return"string"==typeof n?JSON.parse(n):n}catch(t){return void console.error(`Failed to parse content switcher data-${e}:`,t)}},c=n("settings"),r=n("linkedSections"),i=n("linkedWidgets"),o=Boolean(elementorFrontend.isEditMode()),s=r?`bdt-content-switcher-section-${r.id}`:null,d=e=>{if(!r?.positionUnchanged||!s)return;const t=document.querySelectorAll(`#${s} .bdt-switcher-section-content-inner`);t.forEach(e=>e.classList.remove("bdt-active")),t[e]?.classList.add("bdt-active")},a=e=>{i&&Object.entries(i.widgets).forEach(([t,n])=>{const c=document.getElementById(n);if(!c)return;const r=+t===e;c.style.opacity=r?"1":"0",c.style.display=r?"block":"none"})};if(void 0===r||o||Object.entries(r.sections).forEach(([e,n])=>{const c=+e,i=t.querySelectorAll(".bdt-switcher-content")[c],o=document.getElementById(n);if(o)if(!0!==r.positionUnchanged){const e=i?.querySelector(".bdt-switcher-item-content-section");i&&e&&e.appendChild(o)}else{const e=t.querySelectorAll(".bdt-switcher-content"),n=t.querySelector(".bdt-primary")?.classList.contains("bdt-active"),r=e[c]?.classList.contains("bdt-active"),i=0===c&&n||c>0&&r?"bdt-active":"";document.getElementById(s)||o.parentElement.insertAdjacentHTML("beforeend",`<div id="${s}" class="bdt-switcher bdt-switcher-section-content"></div>`);document.getElementById(s).appendChild(o);const d=document.createElement("div");d.className=`bdt-switcher-section-content-inner ${i}`.trim(),o.parentNode.insertBefore(d,o),d.appendChild(o)}}),void 0===i||o||Object.entries(i.widgets).forEach(([e,n])=>{const r=document.getElementById(n);if(!r)return;const i=+e,o=t.querySelectorAll(".bdt-switcher-content");let s=!1;"button"!==c?.switcherStyle?0===i?s=t.querySelector(".bdt-primary")?.classList.contains("bdt-active")??!1:1===i&&(s=t.querySelector(".bdt-secondary")?.classList.contains("bdt-active")??!1):s=o[i]?.classList.contains("bdt-active")??!1,Object.assign(r.style,{opacity:s?"1":"0",display:s?"block":"none",gridRowStart:"1",gridColumnStart:"1"}),r.parentElement.style.display="grid"}),"button"!==c?.switcherStyle){const e=t.querySelector('input[type="checkbox"]'),n=t.querySelector(".bdt-primary-switcher"),c=t.querySelector(".bdt-secondary-switcher"),r=t.querySelector(".bdt-primary-icon"),i=t.querySelector(".bdt-secondary-icon"),o=t.querySelector(".bdt-primary-text"),s=t.querySelector(".bdt-secondary-text"),l=t.querySelector(".bdt-switcher-content.bdt-primary"),b=t.querySelector(".bdt-switcher-content.bdt-secondary"),y=e=>{[n,r,o,l].forEach(t=>{t?.classList.toggle("bdt-active",!e)}),[c,i,s,b].forEach(t=>{t?.classList.toggle("bdt-active",e)}),d(e?1:0),a(e?1:0)};e?.addEventListener("change",e=>y(e.target.checked))}else{t.querySelectorAll(".bdt-content-switcher-tab").forEach(e=>{e.addEventListener("click",()=>{const n=e.id,c=t.querySelector(`.bdt-switcher-content[data-content-id="${n}"]`),r=[...e.parentElement.children].indexOf(e);[...e.parentElement.children].forEach(e=>e.classList.remove("bdt-active")),e.classList.add("bdt-active"),[...e.parentElement.nextElementSibling?.children??[]].forEach(e=>e.classList.remove("bdt-active")),c?.classList.add("bdt-active"),d(r),a(r)})})}};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-content-switcher.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-cookie-consent");if(!t)return;if(Boolean(elementorFrontend.isEditMode()))return;const n=e=>{const n=t.dataset[e];if(n)try{return"string"==typeof n?JSON.parse(n):n}catch(t){return void console.error(`Failed to parse cookie consent data-${e}:`,t)}},o=n("settings"),i=n("gtag");window.cookieconsent.initialise(o);const d=document.querySelector(".cc-compliance"),a=document.createElement("button");if(a.className="btn-denyCookie bdt-cc-close-btn cc-btn cc-dismiss",a.innerHTML='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">\n            <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18 17.94 6M18 18 6.06 6"/>\n        </svg>',d?.appendChild(a),a.addEventListener("click",()=>{t.style.display="none",document.cookie="element_pack_cookie_widget_gtag=denied; max-age=604800; path=/"}),document.cookie.includes("element_pack_cookie_widget_gtag=denied"))return void(t.style.display="none");if(!i?.gtag_enabled)return;const r=e=>gtag("consent","update",e),c={ad_user_data:i.ad_user_data,ad_personalization:i.ad_personalization,ad_storage:i.ad_storage,analytics_storage:i.analytics_storage};document.querySelector(".cc-btn.cc-dismiss")?.addEventListener("click",()=>{r(c)}),a.addEventListener("click",()=>{r({ad_storage:"denied",analytics_storage:"denied"})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-cookie-consent.default",e)})})();(()=>{"use strict";const e=(e,t,o)=>{let n="";if(o){const e=new Date;e.setTime(e.getTime()+60*o*60*1e3),n=`; expires=${e.toUTCString()}`}document.cookie=`${e}=${t??""}${n}; path=/`},t=e=>{const t=document.cookie.split(";").find(t=>t.trimStart().startsWith(e+"="));return t?t.trimStart().slice(e.length+1):null},o=e=>{const t=e-Date.now();return{total:t,seconds:Math.floor(t/1e3%60)}},n=n=>{const d=(n?.jquery?n[0]:n).querySelector(".bdt-countdown-wrapper");if(!d)return;const r=d.dataset.settings;if(!r)return;let i;try{i="string"==typeof r?JSON.parse(r):r}catch(e){return void console.error("Failed to parse countdown settings:",e)}const{endTime:c,loopHours:s,isLogged:a}=i,l=document.body.classList.contains("elementor-editor-active");if(!s){const e=document.querySelector(`${i.id}-timer`),t=bdtUIkit.countdown(e,{date:i.finalTime}),n=setInterval(()=>{const{seconds:e}=o(t.date);e<0&&(clearInterval(n),l||(document.querySelector(`${i.id}-msg`)?.style.setProperty("display","none"),("none"!==i.endActionType||i.triggerId)&&(async(e,t)=>{try{const o=new URLSearchParams({action:"element_pack_countdown_end",endTime:t,couponTrickyId:e.couponTrickyId}),n=await fetch(e.adminAjaxUrl,{method:"POST",body:o});if("ended"!==await n.text())return;"message"===e.endActionType&&(document.querySelector(e.msgId)?.style.setProperty("display","block"),document.querySelector(`${e.id}-timer`)?.style.setProperty("display","none")),"url"===e.endActionType&&e.redirectUrl?.includes("http")&&setTimeout(()=>{window.location.href=e.redirectUrl},e.redirectDelay),e.triggerId&&setTimeout(()=>{document.getElementById(e.triggerId)?.click()},1500)}catch(e){console.error("Countdown end action failed:",e)}})(i,c)))},1e3)}if(s){const n=(u=6,m=14,Math.floor(Math.random()*(m-u+1)+u)),d=60*s*60*1e3-60*n*1e3,r=new Date(Date.now()+d).toISOString(),c=t("bdtCountdownLoopTime"),l=null===c||"undefined"===c;l&&!1===a&&e("bdtCountdownLoopTime",r,s);const y=!1!==a?r:t("bdtCountdownLoopTime"),w=document.querySelector(`${i.id}-timer`);w?.setAttribute("data-bdt-countdown",`date: ${y}`);const p=bdtUIkit.countdown(w,{date:y}).date;setInterval(()=>{const{seconds:t}=o(p);t>0&&l&&!1===a&&(e("bdtCountdownLoopTime",r,s),bdtUIkit.countdown(w,{date:y}))},1e3)}var u,m};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-countdown.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-countdown.bdt-tiny-countdown",n))})})();(()=>{"use strict";const t=(t,e)=>{if(null==t||null===e)return;const n=Number(e);if(!Number.isFinite(n))return;const o=t.$el&&t.$el.parentElement;o&&(o.style.zIndex=String(n))},e=async(e,n=!1)=>{const o=window.ElementPackConfig.contact_form,a=(t=>{const e=t&&t.closest("[data-bdt-notification-z-index]"),n=e&&e.dataset?e.dataset.bdtNotificationZIndex:"";return void 0!==n&&""!==n?n:null})(e),i=bdtUIkit.notification({message:`<div bdt-spinner></div> ${o.sending_msg}`,timeout:!1,status:"primary"});t(i,a);try{const o=await fetch(e.getAttribute("action"),{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(new FormData(e)).toString()}),i=await o.text(),r=(new DOMParser).parseFromString(i,"text/html").body.firstElementChild,s=r?.dataset.redirect,c=r?.dataset.external,d=r?.dataset.resetstatus;bdtUIkit.notification.closeAll();const l=bdtUIkit.notification({message:`<div class="bdt-contact-form-success-message-${n}">${i}</div>`});t(l,a),s&&"no"!==s&&bdtUIkit.util.on(document,"close",t=>{t.detail[0]===l&&window.open(s,c)}),localStorage.setItem("bdtCouponCode",e.id),d&&"no"!==d&&e.reset()}catch(t){console.error("Contact form submission error:",t)}};window.elementPackGICCB=()=>{const t=window.ElementPackConfig.contact_form;return new Promise((n,o)=>{if("undefined"==typeof grecaptcha)return bdtUIkit.notification({message:`<div bdt-spinner></div> ${t.captcha_nd}`,timeout:!1,status:"warning"}),o();const a=grecaptcha.getResponse();if(!a)return bdtUIkit.notification({message:`<div bdt-spinner></div> ${t.captcha_nr}`,timeout:!1,status:"warning"}),o();const i=Array.from(document.querySelectorAll("textarea.g-recaptcha-response")).find(t=>t.value===a),r=i?.closest("form.bdt-contact-form-form"),s=r?.getAttribute("action");s&&""!==s&&e(r),grecaptcha.reset()})};const n=t=>{const n=t?.jquery?t[0]:t,o=n.dataset.id;n.querySelectorAll('.bdt-contact-form input[type="tel"]').forEach(t=>{t.addEventListener("input",()=>{t.value=t.value.replace(/[^0-9+]/g,"")})});const a=n.querySelector(".bdt-contact-form .without-recaptcha");a&&a.addEventListener("submit",t=>{t.preventDefault(),t.stopPropagation(),e(a,o)})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-contact-form.default",n)})})();(()=>{"use strict";const e=(e,t)=>{if(document.getElementById(t))return;const n=document.createElement("script");n.id=t,n.src=e,n.setAttribute("data-timestamp",+new Date),(document.head||document.body).appendChild(n)},t=t=>{const n=(t?.jquery?t[0]:t).querySelector(".bdt-comment-container");if(!n)return;const o=n.dataset.settings;if(!o)return;let i;try{i="string"==typeof o?JSON.parse(o):o}catch(e){return void console.error("Failed to parse comment settings:",e)}"disqus"===i.layout?(window.disqus_config=function(){this.page.url=i.permalink,this.page.identifier=i.identifier??n.id},e(`//${i.username}.disqus.com/embed.js`,"dsq-embed-scr")):"facebook"===i.layout&&(window.fbAsyncInit=function(){FB.init({appId:i.app_id,autoLogAppEvents:!0,xfbml:!0,version:"v3.2"})},e("https://connect.facebook.net/en_US/sdk.js","facebook-jssdk"))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-comment.default",t)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-custom-gallery");if(!t)return;const n=JSON.parse(t.dataset.settings||"{}");if(!0===n.tiltShow){const e=document.querySelectorAll(n.id+" [data-tilt]");VanillaTilt.init(e)}};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-gallery.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-gallery.bdt-abetis",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-gallery.bdt-fedara",e))})})();(()=>{"use strict";const e=async e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-custom-carousel");if(!t)return;const n=t.querySelector(".swiper-carousel"),o=JSON.parse(t.dataset.settings||"{}"),r=elementorFrontend.utils.swiper;await new r(n,o),o.pauseOnHover&&(n.addEventListener("mouseenter",()=>n.swiper.autoplay.stop()),n.addEventListener("mouseleave",()=>n.swiper.autoplay.start()))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-carousel.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-custom-carousel.bdt-custom-content",e))})})();(()=>{"use strict";const e=e=>{const t=(e instanceof jQuery?e[0]:e).querySelector(".bdt-coupon-code");if(!t)return;const o=t.dataset.settings;if(!o)return;let n;try{n="string"==typeof o?JSON.parse(o):o}catch(e){return void console.error("Failed to parse coupon code settings:",e)}const c=Boolean(elementorFrontend.isEditMode()),i=n.triggerURL;let r=!1;const s=e=>{const t=!0===n.is_external?"_blank":"_self";if(window.open(e,t),"_self"===t&&e.includes("#")){const t=e.split("#")[1],o=t?document.getElementById(t):null;if(o){const e=o.getBoundingClientRect().top+window.scrollY-100;window.scrollTo({top:e,behavior:"smooth"})}}},a=()=>t.classList.add("active"),d=()=>{a(),i&&s(i),(async e=>{try{const t=new URLSearchParams({action:"element_pack_coupon_code",coupon_code:e}),o=await fetch(n.adminAjaxURL,{method:"POST",body:t}),c=await o.text(),i=document.querySelector(n.couponId);if(!i)return;const r=i.querySelector(".bdt-coupon-code-text");r?r.innerHTML=c:i.innerHTML=c}catch(e){const t=document.querySelector(n.couponId);t&&(t.innerHTML="Something wrong, please contact support team."),console.error("Coupon decode failed:",e)}})(n.couponCode),r=!0};if(!0!==n.triggerByAction){new ClipboardJS(n.couponMsgId,{target:e=>e.nextElementSibling}).on("success",e=>{e.trigger.classList.add("active"),e.clearSelection(),setTimeout(()=>e.trigger.classList.remove("active"),3e3)})}if("style-2"===n.couponLayout&&!0===n.triggerByAction){new ClipboardJS(n.couponId,{target:e=>e}).on("success",e=>{t.querySelector(n.couponId)?.classList.add("active"),e.clearSelection(),setTimeout(()=>{t.querySelector(n.couponId)?.classList.remove("active")},2e3)}),t.addEventListener("click",()=>{if(!t.classList.contains("active")&&!1!==n.triggerAttention){const e=n.triggerInputId,t=document.querySelector(`[name="${e.slice(1)}"]`)?.closest("form");t?.classList.add("ep-shake-animation-cc"),setTimeout(()=>t?.classList.remove("ep-shake-animation-cc"),5e3)}})}t.addEventListener("click",()=>{t.classList.contains("active")||!0===n.triggerByAction||(a(),i&&setTimeout(()=>s(i),2e3))}),c||jQuery(document).on("ajaxComplete",(e,t,o)=>{if(r)return;const c=n.triggerInputId;c&&!0===n.triggerByAction?o.data?.toLowerCase().includes(c.slice(1))&&d():!0===n.triggerByAction&&d()})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-coupon-code.default",e)})})();(()=>{"use strict";window.addEventListener("elementor/frontend/init",()=>{if(!window.elementorFrontend?.hooks)return;const e=elementorModules.frontend.handlers.Base.extend({bindEvents(){this.run()},getDefaultSettings:()=>({left:"unset",time:".5s",mixColor:"#fff",backgroundColor:"#fff",saveInCookies:!1,label:"🌓",autoMatchOsTheme:!1}),onElementChange:debounce(function(){this.run()},400),settings(e){return this.getElementSettings(e)},setCookie(e,t,o){let d="";if(o){const e=new Date;e.setTime(e.getTime()+24*o*60*60*1e3),d="; expires="+e.toUTCString()}document.cookie=e+"="+(t||"")+d+"; path=/"},getCookie(e){const t=e+"=";for(let e of document.cookie.split(";"))if(e=e.trim(),0===e.indexOf(t))return e.substring(t.length);return null},eraseCookie(e){document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"},run(){const e=this.getDefaultSettings();e.time=this.settings("time.size")/1e3+"s",e.mixColor=this.settings("mix_color"),e.backgroundColor=this.settings("default_background"),e.saveInCookies="yes"===this.settings("saveInCookies"),e.autoMatchOsTheme="yes"===this.settings("autoMatchOsTheme");const t=this.settings("day_mode_icon_background"),o=this.settings("dark_mode_icon_background");t&&(e.buttonColorDark=t),o&&(e.buttonColorLight=o);const d=[...document.body.classList].filter(e=>/^bdt-dark-mode-\S+/.test(e));document.body.classList.remove(...d),document.body.classList.add("bdt-dark-mode-position-"+this.settings("toggle_position"));const s=this.settings("ignore_element");if(s&&document.querySelectorAll(s).forEach(e=>e.classList.add("darkmode-ignore")),!e.mixColor)return;document.querySelectorAll(".darkmode-toggle, .darkmode-layer, .darkmode-background").forEach(e=>e.remove());const r=new Darkmode(e);r.showWidget(),"dark"===this.settings("default_mode")?(r.toggle(),document.body.classList.add("darkmode--activated"),document.querySelectorAll(".darkmode-layer").forEach(e=>{e.classList.add("darkmode-layer--simple","darkmode-layer--expanded")})):(document.body.classList.remove("darkmode--activated"),document.querySelectorAll(".darkmode-layer").forEach(e=>{e.classList.remove("darkmode-layer--simple","darkmode-layer--expanded")}));if(!document.body.classList.contains("elementor-editor-active")&&e.saveInCookies){document.querySelectorAll(".darkmode-toggle").forEach(e=>{e.addEventListener("click",()=>{this.eraseCookie("bdtDarkModeUserAction"),this.setCookie("bdtDarkModeUserAction",r.isActivated()?"dark":"light",10)})});const e=this.getCookie("bdtDarkModeUserAction");null!==e&&"undefined"!==e&&("dark"===e?(r.toggle(),document.body.classList.add("darkmode--activated"),document.querySelectorAll(".darkmode-layer").forEach(e=>{e.classList.add("darkmode-layer--simple","darkmode-layer--expanded")})):(document.body.classList.remove("darkmode--activated"),document.querySelectorAll(".darkmode-layer").forEach(e=>{e.classList.remove("darkmode-layer--simple","darkmode-layer--expanded")})))}}});elementorFrontend.hooks.addAction("frontend/element_ready/bdt-dark-mode.default",t=>{elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})})();(()=>{"use strict";const e=async e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-dynamic-carousel");if(!t)return;const n=t.querySelector(".swiper-carousel"),r=JSON.parse(t.dataset.settings||"{}"),o=elementorFrontend.utils.swiper;await new o(n,r),r.pauseOnHover&&(n.addEventListener("mouseenter",()=>n.swiper.autoplay.stop()),n.addEventListener("mouseleave",()=>n.swiper.autoplay.start()))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-dynamic-carousel.default",e)})})();(()=>{"use strict";const e=async e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-facebook-feed-carousel");if(!t)return;const n=t.querySelector(".swiper-carousel"),o=JSON.parse(t.dataset.settings||"{}"),r=elementorFrontend.utils.swiper;await new r(n,o),o.pauseOnHover&&(n.addEventListener("mouseenter",()=>n.swiper.autoplay.stop()),n.addEventListener("mouseleave",()=>n.swiper.autoplay.start()))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-facebook-feed-carousel.default",e)})})();(()=>{"use strict";const e=async e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-fancy-slider");if(!t)return;const n=t.querySelector(".swiper-carousel"),r=JSON.parse(t.dataset.settings||"{}"),o=elementorFrontend.utils.swiper;await new o(n,r),r.pauseOnHover&&(n.addEventListener("mouseenter",()=>n.swiper.autoplay.stop()),n.addEventListener("mouseleave",()=>n.swiper.autoplay.start()))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-fancy-slider.default",e)})})();(()=>{"use strict";const t=t=>{const e=(t?.jquery?t[0]:t).querySelector(".bdt-ep-fancy-tabs");if(!e)return;const n=e.dataset.settings,a=n?JSON.parse(n):{},c=a.tabs_id;if(!c)return;const s=document.querySelectorAll(`#${c} .bdt-ep-fancy-tabs-item`),o=document.querySelectorAll(`#${c} .bdt-ep-fancy-tabs-content`),d=a.mouse_event||"click";s.forEach(t=>{t.addEventListener(d,function(){const t=this.dataset.id;o.forEach(t=>{t.className="bdt-ep-fancy-tabs-content"});const e=t?document.getElementById(t):null;e&&(e.className="bdt-ep-fancy-tabs-content active"),s.forEach(t=>{t.className="bdt-ep-fancy-tabs-item"}),this.className="bdt-ep-fancy-tabs-item active"})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-fancy-tabs.default",t)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelectorAll(".bdt-flip-box");if(!t.length)return;const n=t[0].dataset.settings,o=n?JSON.parse(n):{};if(!o)return;const r=o.flipTrigger;t.forEach(e=>{"click"===r?e.addEventListener("click",()=>e.classList.toggle("bdt-active")):"hover"===r&&(e.addEventListener("mouseenter",()=>e.classList.add("bdt-active")),e.addEventListener("mouseleave",()=>e.classList.remove("bdt-active")))})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-flip-box.default",e)})})();(()=>{"use strict";const e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.2 16.34a7.5 7.5 0 1 1 1.38-1.45l4.2 4.2a1 1 0 1 1-1.42 1.41l-4.16-4.16zm-4.7.16a6 6 0 1 0 0-12 6 6 0 0 0 0 12z"></path></svg>',t=(e,t={})=>{const n=document.createElement(e);return Object.entries(t).forEach(([e,t])=>{"class"===e?n.className=t:"html"===e||"innerHTML"===e?n.innerHTML=t:"textContent"===e?n.textContent=t:"id"===e||"type"===e||"placeholder"===e||"target"===e||"href"===e?n.setAttribute(e,t):null!=t&&e in n&&(n[e]=t)}),n},n=n=>{const l=n?.jquery?n[0]:n,o=l.querySelector(".bdt-floating-knowledgebase");if(!o)return;const s=l.querySelector("#bdt-floating-help-center"),r=o.querySelector(".bdt-icon-wrapper"),i=o.dataset.settings,a=i?JSON.parse(i):{};if(!a)return;let c,p=[],d=[];const h={linkColor:"#007bff",showHelperText:!0,helperTextLabel:a.helperTextLabel||"Have any queries?<br /><strong>Check Help Center</strong>",showContactUsLink:!0,contactUsLabel:a.supportLinkText||"Still no luck? We can help!",contactUsLink:a.supportLink||"/contact-us",noResultsLabel:a.noSearchResultText||"Sorry, we don't have any results. Updates are being added all the time.",resetOnPopupClose:!1,btnZindex:999,popupZindex:998,onPopupOpen:()=>{},onPopupClose:()=>{}},u=()=>{const e=s.querySelector(".floating-help-center__popup"),t=s.querySelector(".floating-help-center__btn"),n="floating-help-center__popup--active";e?.classList.contains(n)?(e.classList.remove(n),t?.classList.remove(n),h.onPopupClose.call(this)):(h.resetOnPopupClose&&S(),e?.classList.add(n),t?.classList.add(n),h.onPopupOpen.call(this))},v=()=>{s.querySelectorAll("#htmlContent, #noResultTxt").forEach(e=>e.remove());const e=s.querySelector("#listItemsContainer");e&&(e.innerHTML=""),s.querySelector("#floatingHelpCenterPopup")?.classList.remove("bdt-content-open")},g=e=>{const t=s.querySelector(".searchbox__input");t&&(e&&""!==e?(t.value=" ",d.push(e)):t.value="")},f=(e,t,n,l)=>{const o=l?n.toUpperCase():n,s=[],r=e=>{e&&"object"==typeof e&&(l?e[t]&&String(e[t]).toUpperCase().indexOf(o)>-1&&s.push(e):e[t]===n&&s.push(e),Object.keys(e).forEach(t=>r(e[t])))};return r(e),s},b=()=>{const e=s.querySelector(".searchbox__input");e&&(e.readOnly=p.length>1)};let x=null;const y=()=>{p.pop(),d.pop();const e=p.pop(),t=d.pop();g(t),_(e),b()},w=(t,n)=>{void 0!==n&&"search"===n||p.push(t),(()=>{const t=s.querySelector(".searchbox__search-icon");if(!t)return;x&&(t.removeEventListener("click",x),x=null);const n=s.querySelector("#floatingHelpCenterPopup");p.length>1?(t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M15.45 17.97L9.5 12.01a.25.25 0 0 1 0-.36l5.87-5.87a.75.75 0 0 0-1.06-1.06l-5.87 5.87c-.69.68-.69 1.8 0 2.48l5.96 5.96a.75.75 0 0 0 1.06-1.06z"></path></svg>',x=y,t.addEventListener("click",x),n?.classList.add("bdt-content-expand")):(t.innerHTML=e,n?.classList.remove("bdt-content-expand"))})(),v()},m=e=>{const n=s.querySelector("#listItemsContainer");n&&e.forEach(e=>{const l=t("li",{class:"help-list__item"}),o=t("span",{class:"help-list__item-arrow",html:'<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="currentColor" d="M6.47 4.29l3.54 3.53c.1.1.1.26 0 .36L6.47 11.7a.75.75 0 1 0 1.06 1.06l3.54-3.53c.68-.69.68-1.8 0-2.48L7.53 3.23a.75.75 0 0 0-1.06 1.06z"></path></svg>'}),s=t("span",{class:"help-list__item-txt",html:e.title});l.appendChild(s),l.appendChild(o),l.addEventListener("click",()=>{const e=l.querySelector(".help-list__item-txt")?.textContent??"",t=f(c,"title",e);g(e),_(t),b()}),n.appendChild(l)})},C=()=>{s.querySelectorAll("#htmlContent a").forEach(e=>{e.addEventListener("click",function(e){const t=this.getAttribute("data-title");if(t&&""!==t){e.preventDefault();const n=f(c,"title",t);g(t),_(n)}})})},L=(e,n)=>{s.querySelector(".searchbox__cross-icon")?.style.setProperty("display","none");const l=t("div",{id:"htmlContent",class:"html-content",html:n}),o=s.querySelector(".searchbox__input"),r=e||(o?.value??"").trim(),i=t("h5",{id:"contentTitle",class:"html-content__title",html:r});l.insertBefore(i,l.firstChild),l.querySelectorAll("a:not(.callout-block a)").forEach(e=>{e.style.color=h.linkColor});const a=s.querySelector("#listItemsContainer");a?.parentNode?.insertBefore(l,a),s.querySelector("#floatingHelpCenterPopup")?.classList.add("bdt-content-open"),C()},_=(e,n)=>{const l=Array.isArray(e)?e:e?[e]:[];if(0===l.length)return void(()=>{if(v(),s.querySelector("#noResultTxt"))return;const e=t("p",{id:"noResultTxt",class:"no-result",html:h.noResultsLabel}),n=s.querySelector(".searchbox");n?.insertAdjacentElement("afterend",e)})();if(l.length>1)return w(l,n),void m(l);if("search"===n)return w(l,n),void m(l);const o=l.pop();return"string"==typeof o?(w([o],n),void L("",o)):Object.prototype.hasOwnProperty.call(o,"nodes")?(w(o.nodes,n),void m(o.nodes)):(w([o.html],n),void L(o.title,o.html))},S=()=>{p=[],d=[],g(""),s.querySelector(".searchbox__cross-icon")?.style.setProperty("display","none"),_(c),s.querySelectorAll("#htmlContent, #noResultTxt").forEach(e=>e.remove())},q=function(){const e=s.querySelector(".searchbox__cross-icon"),t=this.value??"";if(""!==t.trim()){e?.style.setProperty("display","block");const n=f(c,"title",t,!0);_(n,"search")}else e?.style.setProperty("display","none"),S()};c=a.data_source||[],(()=>{const e=t("div",{class:"floating-help-center__btn"});e.style.zIndex=h.btnZindex,e.addEventListener("click",u);const n=t("button",{class:"btn"});if(r&&(r.classList.remove("bdt-hidden"),n.appendChild(r)),h.showHelperText){const n=t("p",{class:"helper-txt",html:h.helperTextLabel});e.appendChild(n)}e.appendChild(n),s.appendChild(e)})(),(n=>{const l=t("div",{id:"floatingHelpCenterPopup",class:"floating-help-center__popup"});l.style.zIndex=h.popupZindex;const o=t("div",{class:"searchbox"}),r=t("div",{class:"searchbox__search-icon",html:e}),i=t("input",{class:"searchbox__input",type:"text",placeholder:"Search..."}),c=t("div",{class:"searchbox__cross-icon",html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M13.06 12.15l5.02-5.03a.75.75 0 1 0-1.06-1.06L12 11.1 6.62 5.7a.75.75 0 1 0-1.06 1.06l5.38 5.38-5.23 5.23a.75.75 0 1 0 1.06 1.06L12 13.2l4.88 4.87a.75.75 0 1 0 1.06-1.06l-4.88-4.87z"></path></svg>'});c.style.display="none";const p=t("div",{class:"bdt-resizer-icon",html:'<svg class="bdt-expand" xmlns="http://www.w3.org/2000/svg" height="24" width="24" fill="currentColor"><path d="M2.675 21.325v-8.65h2.65v4.15l11.5-11.5h-4.15v-2.65h8.65v8.65h-2.65v-4.15l-11.5 11.5h4.15v2.65Z"></path></svg><svg class="bdt-close" xmlns="http://www.w3.org/2000/svg" height="24" width="24" fill="currentColor"><path d="m3.075 22.775-1.85-1.85L7.5 14.65H3.35V12H12v8.65H9.35V16.5ZM12 12V3.35h2.65V7.5l6.275-6.275 1.85 1.85L16.5 9.35h4.15V12Z"></path></svg>'});c.addEventListener("click",S),p.addEventListener("click",()=>l.classList.toggle("bdt-content-expand")),i.addEventListener("input",q),o.appendChild(r),o.appendChild(i),o.appendChild(c),o.appendChild(p);const d=t("ul",{id:"listItemsContainer",class:"help-list"}),u=t("div",{id:"externalLinkWrap",class:"external"}),v=t("a",{class:"external__link",target:"_blank",href:h.contactUsLink});v.textContent=h.contactUsLabel;const g=t("span",{class:"external__arrow",html:'<svg fill="#3a3f3f" width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.268 5.824L5.232 11.86a.75.75 0 1 1-1.06-1.06L10.22 4.75H5.75a.75.75 0 0 1 0-1.5h6.268a.75.75 0 0 1 .75.75v6.243a.75.75 0 0 1-1.5 0v-4.42z" fill="currentColor"></path></svg>'});v.appendChild(g),u.appendChild(v);const f=t("div",{id:"headerWrap",class:"bdt-header"});if(a.logo?.url){const e=a.title||a.logo?.alt;f.insertAdjacentHTML("beforeend",`<div class="bdt-header-logo"><img src="${a.logo.url}" alt="${e}"></div>`)}a.title&&f.insertAdjacentHTML("beforeend",`<div class="bdt-header-title">${a.title}</div>`),a.description&&f.insertAdjacentHTML("beforeend",`<div class="bdt-header-description">${a.description}</div>`),l.appendChild(f),l.appendChild(o),l.appendChild(d),h.showContactUsLink&&l.appendChild(u),s.appendChild(l),_(n)})(c),window.floatingHelpCenter={init(){},toggle:u,isOpen:()=>s?.querySelector(".floating-help-center__popup")?.classList.contains("floating-help-center__popup--active")??!1}};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-floating-knowledgebase.default",n)})})();(()=>{"use strict";const e=e=>{const t=e?.jquery?e[0]:e,o=t.querySelector(".bdt-helpdesk");if(!o)return;const n=o.querySelector(".bdt-helpdesk-icons"),d=n?.querySelectorAll(":scope > .bdt-tippy-tooltip")??[],r=t.dataset.id??"";d.forEach(e=>{tippy(e,{allowHTML:!0,theme:"bdt-tippy-"+r})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-helpdesk.default",e)})})();(()=>{"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-hover-box");if(!t)return;const o=t.dataset.settings,s=o?JSON.parse(o):{},n=s?.box_id;if(!n)return;const c=document.querySelectorAll(`#${n} .bdt-ep-hover-box-item`),r=document.querySelectorAll(`#${n} .bdt-ep-hover-box-content`),a=s.mouse_event||"click";c.forEach(e=>{e.addEventListener(a,function(){const e=this.dataset.id;r.forEach(e=>{e.className="bdt-ep-hover-box-content"});const t=e?document.getElementById(e):null;t&&(t.className="bdt-ep-hover-box-content active"),c.forEach(e=>{e.className="bdt-ep-hover-box-item"}),this.className="bdt-ep-hover-box-item active"})})},t=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-hover-box");if(!t)return;const o=t.dataset.settings,s=(o?JSON.parse(o):{}).mouse_event||"click",n=t.querySelectorAll(".bdt-ep-hover-box-item"),c=e=>t.querySelector(`[data-id="${e}"]`),r=e=>document.getElementById(e),a=e=>{const t=c(e);t?.parentElement?.querySelectorAll(":scope > .bdt-ep-hover-box-item").forEach(e=>{e!==t&&e.classList.add("invisiable")})};n.forEach(e=>{e.addEventListener(s,function(){const e=this.dataset.id;if(!e)return;(e=>{const t=r(e);t?.parentElement?.querySelectorAll(":scope > .active").forEach(e=>{e!==t&&e.classList.remove("active")})})(e),(e=>{const t=c(e);t?.parentElement?.querySelectorAll(":scope > .active").forEach(e=>{e!==t&&e.classList.remove("active")})})(e);const t=r(e),o=c(e);"click"===s?(t?.classList.toggle("active"),o?.classList.toggle("active"),a(e)):(t?.classList.add("active"),o?.classList.add("active"),a(e))})}),"mouseover"===s?n.forEach(e=>{e.addEventListener("mouseleave",function(){const e=this.dataset.id;if(!e)return;const t=r(e),o=c(e);t?.parentElement?.querySelectorAll(":scope > *").forEach(e=>{e.classList.remove("active")}),t?.classList.remove("active"),o?.parentElement?.querySelectorAll(":scope > *").forEach(e=>{e.classList.remove("active","invisiable")}),o?.classList.remove("active","invisiable")})}):t.addEventListener("click",e=>{const t=e.target.closest(".bdt-ep-hover-box-item");t&&(t.classList.contains("invisiable")?n.forEach(e=>e.classList.add("invisiable")):t.classList.contains("active")&&n.forEach(e=>e.classList.remove("invisiable")))})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-hover-box.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-hover-box.bdt-envelope",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-hover-box.bdt-flexure",t))})})();(()=>{"use strict";const e=e=>{let t=0,r=0,o=!1;const d=document.getElementById(e);if(!d)return;setInterval(()=>{r=d.currentTime;if(!o&&r<t+.015&&!d.paused){const e=d.closest(".bdt-hover-video")?.querySelector(".hover-video-loader");e?.classList.add("active"),o=!0}if(o&&r>t+.015&&!d.paused){const e=d.closest(".bdt-hover-video")?.querySelector(".hover-video-loader");e?.classList.remove("active"),o=!1}t=r},50)},t=t=>{const r=(t?.jquery?t[0]:t).querySelector(".bdt-hover-video");if(!r)return;const o=r.dataset.settings,d=o?JSON.parse(o):{};if(!d?.id)return;const s=document.getElementById(d.id);if(!s)return;const n=r.querySelectorAll(".bdt-hover-wrapper-list video"),a=n[0]?.parentElement,i=()=>{const e=Array.from(n);e.forEach(t=>{t.addEventListener("ended",function(){const t=this.nextElementSibling,o=e[0],d=t&&"VIDEO"===t.tagName?t:o;d.parentElement?.querySelectorAll(":scope > *").forEach(e=>{e.style.display=e===d?"block":"none",e.classList.toggle("active",e===d)}),r.querySelectorAll(".bdt-hover-bar-list .bdt-hover-progress").forEach(e=>{e.style.width="0%"}),r.querySelectorAll(".bdt-hover-btn-wrapper .bdt-hover-progress").forEach(e=>{e.style.width="0%"}),r.querySelectorAll(".bdt-hover-btn-wrapper [data-id]").forEach(e=>{e.classList.toggle("active",e.dataset.id===d.id)}),d.play()})})};if(n.forEach(t=>{const o=()=>(t=>{"yes"===d.videoReplay&&(t.currentTime=0),t.play(),e(t.id);const r=()=>{t.removeEventListener("ended",r),setTimeout(()=>{t.currentTime=0,t.play(),e(t.id),t.addEventListener("ended",r)},1500)};t.addEventListener("ended",r,{once:!0})})(t);t.addEventListener("mouseenter",o),t.addEventListener("click",o),t.addEventListener("mouseout",function(){"yes"===d.posterAgain?(this.currentTime=0,this.load()):this.pause()}),t.addEventListener("timeupdate",function(){const e=a?.querySelector("video.active");if(!e)return;((e,t)=>{const o=r.querySelector(`.bdt-hover-bar-list [data-id="${e}"]`),d=r.querySelector(`.bdt-hover-btn-wrapper .bdt-hover-progress[data-id="${e}"]`),s=t.duration?t.currentTime/t.duration*100:0;o&&(o.style.width=s+"%"),d&&(d.style.width=s+"%")})(e.id,e)})}),r.querySelector(".autoplay")){const e=r.querySelector(".bdt-hover-wrapper-list video");e?.play(),i()}s.querySelectorAll(".bdt-hover-btn").forEach(t=>{const o=function(){const t=this.dataset.id;t&&(((t,r=!1)=>{const o=document.getElementById(t);o&&(o.parentElement?.querySelectorAll(":scope > *").forEach(e=>{e.style.display=e===o?"block":"none",e.classList.toggle("active",e===o)}),r&&(o.currentTime=0),o.play(),e(t))})(t,"yes"===d.videoReplay),r.querySelectorAll(".bdt-hover-bar-list .bdt-hover-progress").forEach(e=>e.classList.remove("active")),r.querySelector(`.bdt-hover-bar-list [data-id="${t}"]`)?.classList.add("active"),r.querySelectorAll(".bdt-hover-btn-wrapper [data-id]").forEach(e=>{e.classList.toggle("active",e.dataset.id===t)}))};t.addEventListener("mouseenter",o),t.addEventListener("click",o)})},r=t=>{const r=(t?.jquery?t[0]:t).querySelector(".bdt-hover-video");if(!r)return;const o=r.dataset.settings,d=o?JSON.parse(o):{};if(!d?.id)return;const s=document.getElementById(d.id);if(!s)return;const n=r.querySelectorAll(".bdt-hover-wrapper-list video"),a=n[0]?.parentElement,i=()=>{const e=Array.from(n);e.forEach(t=>{t.addEventListener("ended",function(){const t=this.nextElementSibling,o=e[0],d=t&&"VIDEO"===t.tagName?t:o;d.parentElement?.querySelectorAll(":scope > *").forEach(e=>{e.style.display=e===d?"block":"none",e.classList.toggle("active",e===d)}),r.querySelectorAll(".bdt-hover-bar-list .bdt-hover-progress").forEach(e=>{e.style.width="0%"}),d.play()})})};if(n.forEach(e=>{e.addEventListener("timeupdate",function(){const e=a?.querySelector("video.active");if(!e)return;const t=e.id,o=r.querySelector(`.bdt-hover-bar-list [data-id="${t}"]`),d=e.duration?e.currentTime/e.duration*100:0;o&&(o.style.width=d+"%")})}),r.querySelector(".autoplay")){const e=r.querySelector(".hover-video-list video");e?.play(),i()}s.querySelectorAll(".bdt-hover-mask-list .bdt-hover-mask").forEach(t=>{t.addEventListener("mouseenter",function(){const t=this.dataset.id;if(!t)return;const o=document.getElementById(t);o?.parentElement?.querySelectorAll(":scope > *").forEach(e=>{"VIDEO"===e.tagName&&(e.pause(),e.style.display=e.id===t?"block":"none",e.classList.toggle("active",e.id===t))}),"yes"===d.videoReplay&&(o.currentTime=0),o?.play(),e(t),r.querySelectorAll(".bdt-hover-bar-list .bdt-hover-progress").forEach(e=>e.classList.remove("active")),r.querySelector(`.bdt-hover-bar-list [data-id="${t}"]`)?.classList.add("active"),r.querySelectorAll(".bdt-hover-mask-list [data-id]").forEach(e=>{e.classList.toggle("active",e.dataset.id===t)});const s=()=>{o?.removeEventListener("ended",s),setTimeout(()=>{o?.play(),e(t),o?.addEventListener("ended",s)},1500)};o?.addEventListener("ended",s,{once:!0})}),t.addEventListener("click",function(){const t=this.dataset.id;if(!t)return;const o=document.getElementById(t);o?.parentElement?.querySelectorAll(":scope > video").forEach(e=>{e.pause(),e.style.display=e.id===t?"block":"none",e.classList.toggle("active",e.id===t)}),"yes"===d.videoReplay&&(o.currentTime=0),o?.play(),e(t),r.querySelectorAll(".bdt-hover-bar-list .bdt-hover-progress").forEach(e=>e.classList.remove("active")),r.querySelector(`.bdt-hover-bar-list [data-id="${t}"]`)?.classList.add("active"),r.querySelectorAll(".bdt-hover-mask-list [data-id]").forEach(e=>{e.classList.toggle("active",e.dataset.id===t)});const s=()=>{o?.removeEventListener("ended",s),setTimeout(()=>{o?.play(),e(t),o?.addEventListener("ended",s)},1500)};o?.addEventListener("ended",s,{once:!0})})});const l=s.querySelector(".bdt-hover-mask-list");l&&l.addEventListener("mouseout",e=>{if(l.contains(e.relatedTarget))return;const t=r.querySelectorAll(".bdt-hover-wrapper-list video");t?.forEach(e=>{"yes"===d.posterAgain?(e.currentTime=0,e.load()):e.pause()})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-hover-video.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-hover-video.accordion",r),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-hover-video.vertical",r))})})();(()=>{"use strict";const e=e=>{const t=(e instanceof jQuery?e[0]:e).querySelector(".bdt-honeycombs-area");if(!t)return;const o=t.querySelector(".bdt-honeycombs");if(!o)return;const n=o.dataset.settings,d=n?JSON.parse(n):{};d&&(jQuery(o).honeycombs({combWidth:d.width,margin:d.margin,threshold:3,widthTablet:d.width_tablet,widthMobile:d.width_mobile,viewportLg:d.viewport_lg,viewportMd:d.viewport_md}),o.classList.add("honeycombs-loaded"))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-honeycombs.default",e)})})();(()=>{"use strict";window.addEventListener("elementor/frontend/init",()=>{if(!window.elementorFrontend?.hooks)return;const e=elementorModules.frontend.handlers.Base;class t extends e{bindEvents(){this.run()}getDefaultSettings(){return{allowHTML:!0}}settings(e){return this.getElementSettings(`horizontal_scroller_${e}`)}sectionJoiner(){const e=this.$element[0]?.dataset?.id,t=`.elementor-element-${e} .bdt-ep-hc-wrapper`,n=(this.settings("section_list")??[]).map(e=>`#${e.horizontal_scroller_section_id}`).filter(e=>document.querySelector(e));if(!n.length)return;const r=document.querySelectorAll(n.join(", ")),o=document.querySelector(t);o&&r.forEach(e=>o.appendChild(e))}horizontalScroller(){gsap.registerPlugin(ScrollTrigger,ScrollToPlugin);const e=this.$element[0]?.dataset?.id,t=`.elementor-element-${e} .bdt-ep-hc-wrapper`,n=document.querySelector(t),r=document.querySelectorAll(`${t} nav li`),o=gsap.utils.toArray(`${t} > .elementor-element`);if(!o.length)return;const l=o.length-1,s=1/l,i=!!this.settings("auto_fill")&&s;let d=0;const c=gsap.to(o,{xPercent:-100*l,ease:"none",scrollTrigger:{trigger:t,pin:!0,scrub:!0,snap:i,end:()=>"+="+(n.scrollWidth-innerWidth),onUpdate:e=>{const t=Math.round(e.progress/s);this.settings("show_dots")&&t!==d&&(r[d]?.classList.remove("is-active"),r[t]?.classList.add("is-active"),d=t)}}});r.forEach((e,t)=>{e.addEventListener("click",()=>{gsap.to(window,{scrollTo:{y:c.scrollTrigger.start+t*innerWidth,autoKill:!1},duration:1})})})}run(){if(elementorFrontend.isEditMode())return;const e=this.$element[0]?.dataset?.id,t=`.elementor-element-${e}`,n=document.querySelector(t);ScrollTrigger.matchMedia({"(min-width: 1024px)":()=>{n?.classList.add("bdt-ep-hc-active"),this.sectionJoiner(),this.horizontalScroller()},"(max-width: 1023px)":()=>{n?.classList.remove("bdt-ep-hc-active")}})}}elementorFrontend.hooks.addAction("frontend/element_ready/bdt-horizontal-scroller.default",e=>{elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})})();!function(){"use strict";const e=e=>{const t=e?.jquery?e[0]:e,n=t.querySelector(".bdt-icon-mobile-menu-wrap");if(!n)return;const o=n.querySelectorAll("ul > li > .bdt-tippy-tooltip"),i=t.dataset.id||"";o.forEach(e=>{tippy(e,{allowHTML:!0,theme:"bdt-tippy-"+i})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-icon-mobile-menu.default",e)})}();!function(){"use strict";const t=t=>{const e=t?.jquery?t[0]:t,n=e.querySelector("div.bdt-icon-nav");if(!n)return;const o=n.querySelectorAll(".bdt-icon-nav > .bdt-tippy-tooltip"),d=e.dataset.id||"";o.forEach(t=>{tippy(t,{allowHTML:!0,theme:"bdt-tippy-"+d})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-iconnav.default",t)})}();!function(){"use strict";const t=t=>{const e=(t instanceof jQuery?t[0]:t).querySelectorAll(".bdt-iframe > iframe");if(!e.length)return;const n=e[0],o="true"===n.dataset.auto_height||"yes"===n.dataset.auto_height,r=parseInt(n.dataset.throttle,10)||300,s=parseInt(n.dataset.threshold,10)||100,a="false"!==n.dataset.live;jQuery(e).recliner({throttle:r,threshold:s,live:a}),o&&e.forEach(t=>{t.addEventListener("lazyshow",function(){try{const t=this.contentDocument,e=t?.documentElement?.scrollHeight??t?.documentElement?.offsetHeight??this.offsetHeight;this.style.height=e+"px"}catch(t){}})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-iframe.default",t)})}();!function(){"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-instagram");if(!t)return;let n={};try{const e=t.dataset.settings;n=e?JSON.parse(e):{}}catch(e){}const r=t.querySelector(".bdt-load-more"),o=t.querySelector(".bdt-grid");if(!o)return;let d=n.current_page??1;const a=async()=>{n.current_page=d;const e=new URLSearchParams;for(const[t,r]of Object.entries(n))null!=r&&e.append(t,"object"==typeof r?JSON.stringify(r):String(r));try{const t=await fetch(window.ElementPackConfig?.ajaxurl||"",{method:"POST",body:e,headers:{"X-Requested-With":"XMLHttpRequest"}}),n=await t.text();o.insertAdjacentHTML("beforeend",n)}finally{r&&r.classList.remove("bdt-load-more-loading")}};a(),r&&r.addEventListener("click",()=>{r.classList.add("bdt-load-more-loading"),d++,a()})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&(elementorFrontend.hooks.addAction("frontend/element_ready/bdt-instagram.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-instagram.bdt-instagram-carousel",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-instagram.bdt-classic-grid",e))})}();!function(){"use strict";const e=(e,t)=>{t.forEach(e=>e.classList.remove("active")),e.classList.add("active")},t=e=>{const t=e.parentElement;return t?[...t.children].filter(t=>t!==e):[]},i=i=>{const n=(i?.jquery?i[0]:i).querySelector(".bdt-ep-image-accordion");if(!n)return;let s={};try{const e=n.dataset.settings;s=e?JSON.parse(e):{}}catch(e){}const c=n.querySelectorAll(".bdt-ep-image-accordion-item"),a=c.length;if(c.forEach(e=>e.setAttribute("tabindex","0")),!0===s.activeItem&&s.activeItemNumber<=a){c.forEach(e=>e.classList.remove("active"));const e=s.activeItemNumber-1;c[e]&&c[e].classList.add("active")}const o=s.mouse_event||"click";if(c.forEach(i=>{i.addEventListener(o,function(){e(this,t(this))}),i.addEventListener("focus",function(){e(this,t(this))}),i.addEventListener("keydown",function(t){"Enter"!==t.key&&" "!==t.key||(t.preventDefault(),e(this,siblings(this)))})}),!0!==s.activeItem&&document.body.addEventListener(o,function(e){n.contains(e.target)||c.forEach(e=>e.classList.remove("active"))}),s.swiping){let e=0,t=0;c.forEach(i=>{i.addEventListener("touchstart",function(t){e=t.changedTouches[0]?.screenX??0}),i.addEventListener("touchend",function(n){t=n.changedTouches[0]?.screenX??0;const s=t-e,a=i.previousElementSibling,o=i.nextElementSibling;s>50&&a?(c.forEach(e=>e.classList.remove("active")),a.classList.add("active")):s<-50&&o&&(c.forEach(e=>e.classList.remove("active")),o.classList.add("active"))})})}s.inactiveItemOverlay&&(c.forEach(e=>{e.addEventListener(o,function(e){e.stopPropagation(),this.classList.contains("active")?(this.classList.remove("bdt-inactive"),t(this).forEach(e=>e.classList.add("bdt-inactive"))):t(this).forEach(e=>e.classList.remove("bdt-inactive"))})}),document.addEventListener(o,function(){c.forEach(e=>e.classList.remove("bdt-inactive"))}))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-accordion.default",i)})}();!function(){"use strict";const e=e=>"string"!=typeof e?"":e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;"),o=o=>{const t=(o?.jquery?o[0]:o).querySelectorAll(".image-compare");if(!t.length)return;const r=t[0];let n={};try{const e=r.dataset.settings;n=e?JSON.parse(e):{}}catch(e){}const a={controlColor:n.bar_color,controlShadow:n.add_circle_shadow,addCircle:n.add_circle,addCircleBlur:n.add_circle_blur,showLabels:n.no_overlay,labelOptions:{before:e(n.before_label||""),after:e(n.after_label||""),onHover:n.on_hover},smoothing:n.smoothing,smoothingAmount:n.smoothing_amount??0,hoverStart:n.move_slider_on_hover,verticalMode:n.orientation,startingPoint:n.default_offset_pct,fluidMode:!1};t.forEach(e=>{new ImageCompare(e,a).mount()})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-compare.default",o)})}();!function(){"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-ep-image-expand");if(!t)return;let n={};try{const e=t.dataset.settings;n=e?JSON.parse(e):{}}catch(e){}const a=t.querySelectorAll(".bdt-ep-image-expand-item"),i="bdt-animation-"+(n.default_animation_type||"fade");if(a.forEach(e=>{e.addEventListener("click",function(){this.classList.toggle("active"),document.body.classList.add("bdt-ep-image-expanded")})}),document.addEventListener("click",function(e){document.body.classList.contains("bdt-ep-image-expanded")&&(t.contains(e.target)||(a.forEach(e=>e.classList.remove("active")),t.querySelectorAll(".bdt-ep-image-expand-item .bdt-ep-image-expand-content *").forEach(e=>e.classList.remove(i)),t.querySelectorAll(".bdt-ep-image-expand-button").forEach(e=>e.classList.remove("bdt-animation-slide-bottom"))))}),"yes"===n.animation_status){const e=n.animation_of||".bdt-ep-image-expand-sub-title";a.forEach(a=>{const i=[...a.querySelectorAll(e)];if(!i.length||"undefined"==typeof SplitText||"undefined"==typeof gsap)return;const o=i.map(e=>(gsap.set(e,{perspective:400}),new SplitText(e,{type:"chars, words, lines"}))),s=gsap.timeline();a.addEventListener("click",function(){t.querySelectorAll(".bdt-ep-image-expand-button").forEach(e=>{e.classList.remove("bdt-animation-slide-bottom"),e.classList.add("bdt-invisible")}),setTimeout(()=>{s.clear().time(0),o.forEach(e=>e.revert()),o.forEach(e=>e.split({type:"chars, words, lines"}));let e=[];o.forEach(t=>{e="lines"===n.animation_on?e.concat(t.lines):"chars"===n.animation_on?e.concat(t.chars):e.concat(t.words)}),s.staggerFrom(e,.5,{opacity:0,scale:n.anim_scale??0,y:n.anim_rotation_y??80,rotationX:n.anim_rotation_x??180,transformOrigin:n.anim_transform_origin||"0% 50% -50"},.1).then(()=>{t.querySelectorAll(".bdt-ep-image-expand-button").forEach(e=>e.classList.remove("bdt-invisible"));const e=t.querySelector(".bdt-ep-image-expand-item.active .bdt-ep-image-expand-button");e?.classList.add("bdt-animation-slide-bottom")}),s.play()},1e3)})})}else t.addEventListener("click",function(e){const n=e.target.closest(".bdt-ep-image-expand-item");if(!n)return;((e,t)=>{const n=e.parentElement;return n?[...n.children].filter(n=>n!==e&&(!t||n.matches(t))):[]})(n,".bdt-ep-image-expand-item").forEach(e=>{e.querySelectorAll(".bdt-ep-image-expand-content *").forEach(e=>e.classList.remove(i))}),n.querySelectorAll(".bdt-ep-image-expand-content *").forEach(e=>e.classList.remove(i)),setTimeout(()=>{const e=t.querySelector(".bdt-ep-image-expand-item.active");e?.querySelectorAll(".bdt-ep-image-expand-content *").forEach(e=>e.classList.add(i))},1e3)})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-expand.default",e)})}();!function(){"use strict";const t=t=>{const e=t?.jquery?t[0]:t,n=e.querySelector(".bdt-image-stack");if(!n)return;const o=n.querySelectorAll(".bdt-tippy-tooltip"),d=e.dataset.id||"";o.forEach(t=>{tippy(t,{allowHTML:!0,theme:"bdt-tippy-"+d})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-stack.default",t)})}();!function(){"use strict";const e=e=>{const t=(e instanceof jQuery?e[0]:e).querySelector(".bdt-image-magnifier");if(!t)return;const n=t.querySelector(":scope > .bdt-image-magnifier-image");if(!n)return;let o={};try{const e=t.dataset.settings;o=e?JSON.parse(e):{}}catch(e){}jQuery(n).ImageZoom(o)};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-image-magnifier.default",e)})}();!function(){"use strict";const e=e=>{const t=(e?.jquery?e[0]:e).querySelector(".bdt-interactive-card");if(!t)return;let n={};try{const e=t.dataset.settings;n=e?JSON.parse(e):{}}catch(e){}if(!n.id)return;const d=document.getElementById(n.id);d&&"function"==typeof wavify&&(wavify(d,{height:60,bones:n.wave_bones??3,amplitude:n.wave_amplitude??40,speed:n.wave_speed??.25}),setTimeout(()=>{t.classList.add("bdt-wavify-active")},1e3))};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-interactive-card.default",e)})}();!function(){"use strict";const e=async e=>{const t=e?.jquery?e[0]:e,r=t.querySelector(".bdt-interactive-tabs-content"),a=t.querySelector(".bdt-interactive-tabs");if(!r||!a)return;const n=r.querySelector(".swiper-carousel");if(!n)return;let s={};try{const e=r.dataset.settings;s=e?JSON.parse(e):{}}catch(e){}const i=elementorFrontend?.utils?.swiper;if(!i)return;const o=await new i(n,s);s.pauseOnHover&&(n.addEventListener("mouseenter",()=>n.swiper?.autoplay?.stop()),n.addEventListener("mouseleave",()=>n.swiper?.autoplay?.start()));const c=()=>{t.querySelectorAll(".bdt-interactive-tabs-iframe").forEach(e=>{const t=e.src;e.src="",t&&(e.src=t.replace(/autoplay=1|autoplay=true/gi,"autoplay=0"))})},d=a.querySelectorAll(".bdt-interactive-tabs-item"),l=d[0];l&&l.classList.add("bdt-active"),o.on("slideChange",()=>{d.forEach(e=>e.classList.remove("bdt-active"));const e=d[o.realIndex];e&&e.classList.add("bdt-active"),c()}),a.querySelectorAll(".bdt-interactive-tabs-wrap .bdt-interactive-tabs-item[data-slide]").forEach(e=>{e.addEventListener("click",t=>{t.preventDefault();const r=parseInt(e.dataset.slide,10)||0;c(),o.slideTo(r+1)})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-interactive-tabs.default",e)})}();!function(){"use strict";const e=e=>{const t=e?.jquery?e[0]:e,o=t.querySelector(".bdt-lottie-container");if(!o)return;let n={};try{const e=o.dataset.settings;n=e?JSON.parse(e):{}}catch(e){}const a=()=>{let e="";if(1==n.is_json_url)n.json_path&&(e=n.json_path);else if(n.json_code){const t=new Blob([n.json_code],{type:"application/javascript"});e=URL.createObjectURL(t)}if(!e)return;const a=lottie.loadAnimation({container:o,path:e,renderer:n.lottie_renderer,autoplay:"autoplay"===n.play_action,loop:n.loop});if(e.startsWith("blob:")&&URL.revokeObjectURL(e),a.addEventListener("DOMLoaded",()=>{const e=a.firstFrame,t=a.totalFrames,o=o=>(o=Math.min(100,Math.max(0,o)),e+(t-e)*o/100),i=o(n.start_point??0),r=o(n.end_point??100);a.playSegments([i,r],!0)}),a.setSpeed(n.speed??1),n.play_action){let e=o;"column"===n.play_action?e=t.closest(".elementor-element")||o:"section"===n.play_action&&(e=t.closest(".elementor-section")||o),"click"===n.play_action?e.addEventListener("click",()=>a.goToAndPlay(0)):"autoplay"!==n.play_action&&e.addEventListener("mouseenter",()=>a.goToAndPlay(0))}};"scroll"===n.view_type?epObserveTarget(t,a):a()};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-lottie-image.default",e)})}();!function(){"use strict";const e=e=>{const t=e?.jquery?e[0]:e,o=t.querySelector(".bdt-lottie-container");if(!o)return;let n={};try{const e=o.dataset.settings;n=e?JSON.parse(e):{}}catch(e){}const a=()=>{let e="";if(1==n.is_json_url)n.json_path&&(e=n.json_path);else if(n.json_code){const t=new Blob([n.json_code],{type:"application/javascript"});e=URL.createObjectURL(t)}if(!e)return;const a=lottie.loadAnimation({container:o,path:e,renderer:n.lottie_renderer,autoplay:"autoplay"===n.play_action,loop:n.loop});if(e.startsWith("blob:")&&URL.revokeObjectURL(e),a.addEventListener("DOMLoaded",()=>{const e=a.firstFrame,t=a.totalFrames,o=o=>(o=Math.min(100,Math.max(0,o)),e+(t-e)*o/100),l=o(n.start_point??0),i=o(n.end_point??100);a.playSegments([l,i],!0)}),a.setSpeed(n.speed??1),n.play_action){let e=o;if("column"===n.play_action?e=t.closest(".elementor-element")||o:"section"===n.play_action&&(e=t.closest(".elementor-section")||o),"click"===n.play_action){(t.closest(".elementor-element")||o).addEventListener("click",()=>a.goToAndPlay(0))}else"autoplay"!==n.play_action&&e.addEventListener("mouseenter",()=>a.goToAndPlay(0))}};"scroll"===n.view_type?epObserveTarget(t,a):a()};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-lottie-icon-box.default",e)})}();!function(){"use strict";const e=e=>{const t=e?.jquery?e[0]:e,o=t.querySelector(".bdt-logo-grid-wrapper");if(!o)return;const n=o.querySelectorAll(":scope > .bdt-tippy-tooltip"),r=t.dataset.id||"";n.forEach(e=>{tippy(e,{allowHTML:!0,theme:"bdt-tippy-"+r})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-logo-grid.default",e)})}();!function(){"use strict";const e=e=>{const t=e?.jquery?e[0]:e,o=t.querySelector(".bdt-logo-carousel-wrapper");if(!o)return;const n=o.querySelectorAll(":scope > .bdt-tippy-tooltip"),r=t.dataset.id||"";n.forEach(e=>{tippy(e,{allowHTML:!0,theme:"bdt-tippy-"+r})})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-logo-carousel.default",e)})}();!function(){"use strict";const e={initAjaxLoading(t,n){const a=t instanceof jQuery?t[0]:t;(a?.querySelectorAll('.ep-ajax-megamenu[data-ajax-load="true"]')||[]).forEach(t=>{const a=t.dataset?.id,o=t.closest("li.ep-has-megamenu");if(!o||!a)return;const i="click"===n?"click":"mouseenter";o.addEventListener(i,()=>{t.dataset.ajaxLoaded||(t.dataset.ajaxLoaded="true",e.loadAjaxContent(t,a))})})},initAjaxMobileLoading(t){const n=t instanceof jQuery?t[0]:t;if(!n)return;const a=n.dataset?.id;n.removeAttribute("hidden"),e.loadAjaxContent(n,a)},async loadAjaxContent(t,n){const a=t instanceof jQuery?t[0]:t,o=a?.closest(".ep-has-megamenu"),i=o?.querySelector(".ep-menu-nav-link");if(!i)return;if(i.classList.contains("ajax-loading"))return;i.classList.add("ajax-loading");const s=document.createElement("span");s.className="bdt-megamenu-indicator bdt-spinner",s.setAttribute("bdt-spinner","ratio: 0.5"),i.appendChild(s);try{const t=new URL("/wp-json/element-pack/v1/megamenu/ajax_content/",window.location.origin);t.searchParams.set("id",n);const o=await fetch(t,{method:"GET",headers:{Accept:"application/json"}}),s=await o.json();e.cleanupLoading(i),s?.content?(a.innerHTML=s.content,e.reinitializeWidgets(a)):e.showError(a)}catch(t){console.error("MegaMenu Ajax Error:",t),a?.dataset&&delete a.dataset.ajaxLoaded,e.cleanupLoading(i),e.showError(a)}},cleanupLoading(e){const t=e instanceof jQuery?e[0]:e;t&&(t.classList.remove("ajax-loading"),t.querySelector(".bdt-spinner")?.remove())},reinitializeWidgets(e){const t=e instanceof jQuery?e[0]:e;if("undefined"==typeof elementorFrontend||!t)return;const n=t.querySelectorAll(".elementor-element"),a=window.jQuery;n.forEach(e=>{a&&elementorFrontend.elementsHandler.runReadyTrigger(a(e))})},showError(e){const t=e instanceof jQuery?e[0]:e;t&&(t.innerHTML='<li class="ep-ajax-error">Failed to load content</li>')}};window.addEventListener("elementor/frontend/init",function(){if(!window.elementorModules?.frontend?.handlers?.Base||!window.elementorFrontend?.hooks)return;const t=elementorModules.frontend.handlers.Base.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{}},onElementChange:debounce(function(e){-1!==e.indexOf("ep_megamenu_")&&this.run()},400),settings:function(e){return this.getElementSettings("ep_megamenu_"+e)},run:function(){const t=this,n=this.getDefaultSettings(),a=this.$element[0],o=a?.querySelector(".ep-megamenu"),i=this.$element.data("id");if(!o)return;const s=this.getElementSettings("mobile_menu_type")||"hamburger";e.initAjaxLoading(o,this.settings("mode")),o.querySelectorAll(".megamenu-header-mobile").forEach(e=>e.removeAttribute("style")),o.classList.remove("initialized"),o.querySelectorAll(".ep-has-megamenu").forEach(e=>{if(e.querySelector(".ep-item.active")){const t=e.querySelector(":scope > .ep-menu-nav-link");t&&t.classList.add("active")}});const r=o.querySelectorAll(".ep-megamenu-vertical-dropdown");if(r.length&&window.bdtUIkit){const e={offset:this.settings("vertical_dropdown_offset")??"10",animation:this.settings("vertical_dropdown_animation_type")??"fade",duration:this.settings("vertical_dropdown_animation_duration")??"200",delayHide:this.settings("vertical_dropdown_delay_hide")??"800",mode:this.settings("vertical_dropdown_mode")??"click",animateOut:this.settings("vertical_dropdown_animate_out")??!1};r.forEach(t=>bdtUIkit.drop(t,e))}const l=o.querySelectorAll(".ep-has-megamenu"),c=o.querySelectorAll(".ep-default-submenu-panel");n.flip=!1,n.offset=""!==this.settings("offset.size")?this.settings("offset.size"):"10",n.animation=this.settings("animation_type")??"fade",n.duration=this.settings("animation_duration")??"200",n.delayHide=this.settings("delay_hide")??"800",n.mode=this.settings("mode")??"hover",n.animateOut=this.settings("animate_out")??!1,l.forEach(e=>{const a=e.querySelector(".ep-megamenu-panel");if(!a||!window.bdtUIkit)return;const s=e.dataset?.widthType;let r=e.closest(".e-con-inner")||e.closest(".elementor-container");if("horizontal"===t.settings("direction"))switch(s){case"custom":n.stretch=null,n.target=null,n.boundary=null,n.pos=e.dataset?.contentPos,a.style.minWidth=e.dataset?.contentWidth||"",a.style.maxWidth=e.dataset?.contentWidth||"";break;case"full":n.stretch="x",n.target="#ep-megamenu-"+i,n.boundary=!1;break;default:n.stretch="x",n.target="#ep-megamenu-"+i,n.boundary=r}else if("vertical"===t.settings("direction")){if("custom"===s)n.stretch=!1,n.target=!1,n.boundary=!1,a.style.minWidth=e.dataset?.contentWidth||"",a.style.maxWidth=e.dataset?.contentWidth||"";else n.stretch="x";n.pos="1"===o.dataset?.isRtl?"left-top":"right-top"}bdtUIkit.drop(a,{...n})}),c.forEach(e=>{const a={...n};if("horizontal"===t.settings("direction"))a.pos=e.classList.contains("ep-parent-element")?"bottom-left":"right-top";else if("vertical"===t.settings("direction")){a.stretch=!1;const t=e.querySelector(".ep-megamenu-panel");t&&(t.style.paddingLeft="20px"),a.pos="1"===o.dataset?.isRtl?"left-top":"right-top"}a.stretch=!1,a.target=!1,a.flip=!0,window.bdtUIkit&&bdtUIkit.drop(e,a)});let d=a?.closest(".elementor-top-section")||a?.closest(".elementor-element.e-con.e-parent")||a?.closest(".elementor-widget-bdt-mega-menu");if(!d)return;if(!d.querySelector(".ep-virtual-area")){const e=document.getElementById("ep-megamenu-"+i);if(e){const t=e.cloneNode(!0),n=document.createElement("div");n.className="ep-virtual-area",n.appendChild(t),d.appendChild(n)}const t=d.querySelector(".ep-virtual-area");t&&(t.querySelectorAll("[id]").forEach(e=>{const t=e.getAttribute("id");t&&e.setAttribute("id",t+"-virtual")}),t.querySelectorAll("[fill]").forEach(e=>{const t=e.getAttribute("fill")||"";t.startsWith("url(#")&&e.setAttribute("fill",t.slice(0,-1)+"-virtual)")}))}const u=d.querySelector(".ep-virtual-area");if(u&&(u.querySelectorAll(".bdt-navbar-nav").forEach(e=>e.removeAttribute("class")),u.querySelectorAll(".menu-item").forEach(e=>{e.removeAttribute("data-width-type"),e.removeAttribute("data-content-width"),e.removeAttribute("data-content-pos")}),u.querySelectorAll(".menu-item-has-children").forEach(e=>e.classList.add("ep-has-megamenu")),u.querySelectorAll(".ep-megamenu-panel").forEach(e=>{e.className="bdt-accordion-content"}),u.querySelectorAll(".bdt-accordion-content").forEach(e=>e.removeAttribute("style"))),a?.querySelectorAll(".details").forEach(e=>e.classList.remove("hidden")),o.querySelectorAll(".sub-menu-toggle").forEach(e=>e.remove()),u&&!u.querySelector(".bdt-accrodion-title-megamenu")){u.querySelectorAll(".ep-menu-nav-link").forEach(e=>{const t=document.createElement("span");t.className="bdt-accordion-title bdt-accrodion-title-megamenu",e.parentNode.insertBefore(t,e),t.appendChild(e),e.onclick=e=>e.stopPropagation()}),u.querySelectorAll(".bdt-megamenu-indicator").forEach(e=>e.remove());u.querySelectorAll(".ep-has-megamenu .bdt-accordion-title").forEach(e=>{const t=document.createElement("i");t.className="bdt-megamenu-indicator ep-icon-arrow-down-3",e.appendChild(t)})}const m=o.querySelector(".bdt-navbar-toggle"),p=d?.querySelector(".ep-virtual-area");p&&window.bdtUIkit&&bdtUIkit.drop(p,{offset:""!==this.settings("offset_mobile.size")?this.settings("offset_mobile.size"):"5",toggle:m,animation:this.settings("animation_type")??"fade",duration:this.settings("animation_duration")??"200",mode:"click"});const h="#ep-megamenu-"+i+"-virtual",f=document.querySelector(h);if(f&&window.bdtUIkit&&(bdtUIkit.accordion(h,{offset:10}),f.addEventListener("show",function(t){const n=t.target?.querySelector("[data-ajax-load='true']");n&&!n.dataset.ajaxLoaded&&(n.dataset.ajaxLoaded="true",e.initAjaxMobileLoading(n))})),m){const e=m.querySelectorAll("svg");e.length&&(e[e.length-1].style.display="none"),m.addEventListener("click",e=>{e.stopPropagation(),m.querySelectorAll("svg").forEach(e=>{e.style.display="none"===e.style.display?"":"none"})})}if(document.addEventListener("click",e=>{if(m&&p&&!m.contains(e.target)&&!p.contains(e.target)){const e=m.querySelectorAll("svg");e.length&&(e[0].style.display="",e.length>1&&(e[e.length-1].style.display="none"))}}),"offcanvas"===s){const e=a?.querySelector(".ep-megamenu-offcanvas"),t=e?.querySelector(".ep-offcanvas-nav");e&&t&&window.bdtUIkit&&(t.querySelectorAll(".ep-megamenu-panel, .ep-default-submenu-panel").forEach(e=>{e.classList.remove("bdt-drop","bdt-open")}),bdtUIkit.offcanvas(e),t.querySelectorAll("li.ep-has-megamenu, li.menu-item-has-children").forEach(e=>{const t=e.querySelector(":scope > a"),n=e.querySelector(":scope > .ep-megamenu-panel, :scope > .ep-default-submenu-panel, :scope > .sub-menu");t&&n&&(n.classList.remove("bdt-drop","bdt-open"),n.style.display="none",t.addEventListener("click",t=>{t.preventDefault(),e.classList.contains("menu-open")?(e.classList.remove("menu-open"),n.style.display="none"):([...e.parentElement?.children||[]].filter(t=>t!==e&&t.classList.contains("menu-open")).forEach(e=>{e.classList.remove("menu-open");const t=e.querySelector(":scope > .ep-megamenu-panel, :scope > .ep-default-submenu-panel, :scope > .sub-menu");t&&(t.style.display="none")}),e.classList.add("menu-open"),n.style.display="")}))}))}}});elementorFrontend.hooks.addAction("frontend/element_ready/bdt-mega-menu.default",e=>{elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}();!function(){"use strict";window.addEventListener("elementor/frontend/init",function(){if(!window.elementorModules?.frontend?.handlers?.Base||!window.elementorFrontend?.hooks)return;let e,t=elementorModules.frontend.handlers.Base;e=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:debounce(function(e){-1!==e.indexOf("marquee_")&&this.run()},400),settings:function(e){return this.getElementSettings("marquee_"+e)},run:function(){if(elementorFrontend.isEditMode())return;const e=this.$element[0],t=e?.dataset?.id??"";var r=this,n=(this.getDefaultSettings(),e?.querySelector(".bdt-marquee"));if(!n)return;let a=this.getElementSettings("marquee_rotate");a&&0!==a.size&&""!==a.size?(e?.parentElement&&(e.parentElement.style.overflow="hidden"),e&&(e.style.marginInlineStart="-100px")):e&&(e.style.overflow="hidden"),"yes"===r.settings("advanced")&&(document.body.style.overflowX="hidden");var o=".elementor-element-"+t;const s=r.settings("direction")||"left",i="top"===s||"bottom"===s;let d=gsap.utils.toArray(o+" .marquee-content");d=((e,t)=>{if(t){let t=e.reduce((e,t)=>e+t.offsetHeight,0);if(0==t)return e;let r=n.offsetHeight||500;for(;t<2*r;)e.forEach(e=>{const t=e.cloneNode(!0);e.parentNode.appendChild(t)}),t=(e=gsap.utils.toArray(o+" .marquee-content")).reduce((e,t)=>e+t.offsetHeight,0)}else{let t=e.reduce((e,t)=>e+t.offsetWidth,0);if(0==t)return e;let r=window.innerWidth;for(;t<r;)e.forEach(e=>{const t=e.cloneNode(!0);e.parentNode.appendChild(t)}),t=(e=gsap.utils.toArray(o+" .marquee-content")).reduce((e,t)=>e+t.offsetWidth,0)}return e})(d,i);const l=i?"top"===s:"right"===s;let p,g=r.settings("speed")?r.settings("speed")/100:1,u="yes"===r.settings("clickable"),c="yes"===r.settings("pause_on_hover"),f="yes"===r.settings("draggable"),m=r.settings("spacing")?r.settings("spacing"):0;r.settings("loop");const h=i?r.verticalLoop(d,{paused:!1,draggable:f,repeat:-1,speed:g,paddingBottom:m,reversed:l,center:!0,reversedDirection:l,onChange:(e,t)=>{p&&p.classList.remove("active"),e.classList.add("active"),p=e}}):r.horizontalLoop(d,{paused:!1,draggable:f,repeat:-1,speed:g,paddingRight:m,reversed:l,center:!0,reversedDirection:l,onChange:(e,t)=>{p&&p.classList.remove("active"),e.classList.add("active"),p=e}});if(c&&r.pauseOnHover(h,d),u){let e=!1;d.forEach(t=>{t.addEventListener("mouseleave",()=>{e&&(e=!1,h.reversed()?(h.play(),h.reverse()):h.play())})}),d.forEach((t,r)=>{t.addEventListener("click",()=>{e=!0,h.toIndex(r,{duration:.8,ease:"power1.inOut"})})})}},pauseOnHover:function(e,t){t?.length&&t.forEach(t=>{t.addEventListener("mouseenter",()=>e.pause()),t.addEventListener("mouseleave",()=>{e.reversed()?(e.play(),e.reverse()):e.play()})})},horizontalLoop:function(e,t,r=!1){e=gsap.utils.toArray(e);let n,a,o,s=(t=t||{}).onChange,i=gsap.timeline({repeat:t.repeat,paused:t.paused,defaults:{ease:"none"},onReverseComplete:()=>i.totalTime(i.rawTime()+100*i.duration())}),d=e.length,l=e[0].offsetLeft,p=[],g=[],u=[],c=[],f=0,m=t.center,h=100*(t.speed||1),v=!1===t.snap?e=>e:gsap.utils.snap(t.snap||1),y=0,w=!0===m?e[0].parentNode:gsap.utils.toArray(m)[0]||e[0].parentNode,b=()=>{let r,a=w.getBoundingClientRect();e.forEach((e,t)=>{g[t]=parseFloat(gsap.getProperty(e,"width","px")),c[t]=v(parseFloat(gsap.getProperty(e,"x","px"))/g[t]*100+gsap.getProperty(e,"xPercent")),r=e.getBoundingClientRect(),u[t]=r.left-(t?a.right:a.left),a=r}),gsap.set(e,{xPercent:e=>c[e]}),n=e[d-1].offsetLeft+c[d-1]/100*g[d-1]-l+u[0]+e[d-1].offsetWidth*gsap.getProperty(e[d-1],"scaleX")+(parseFloat(t.paddingRight)||0)},x=()=>{y=m?i.duration()*(w.offsetWidth/2)/n:0,m&&p.forEach((e,t)=>{p[t]=a(i.labels["label"+t]+i.duration()*g[t]/2/n-y)})},P=(e,t,r)=>{let n,a=e.length,o=1e10,s=0;for(;a--;)n=Math.abs(e[a]-t),n>r/2&&(n=r-n),n<o&&(o=n,s=a);return s},E=()=>{let t,r,o,s,f;for(i.clear(),t=0;t<d;t++)r=e[t],o=c[t]/100*g[t],s=r.offsetLeft+o-l+u[0],f=s+g[t]*gsap.getProperty(r,"scaleX"),i.to(r,{xPercent:v((o-f)/g[t]*100),duration:f/h},0).fromTo(r,{xPercent:v((o-f+n)/g[t]*100)},{xPercent:c[t],duration:(o-f+n-o)/h,immediateRender:!1},f/h).add("label"+t,s/h),p[t]=s/h;a=gsap.utils.wrap(0,i.duration())},T=e=>{let t=i.progress();i.progress(0,!0),b(),e&&E(),x(),e&&i.draggable?i.time(p[f],!0):i.progress(t,!0)};function L(e,t){t=t||{},r&&(e=d-e),Math.abs(e-f)>d/2&&(e+=e>f?-d:d);let n=gsap.utils.wrap(0,d,e),s=p[n];return s>i.time()!=e>f&&(s+=i.duration()*(e>f?1:-1)),(s<0||s>i.duration())&&(t.modifiers={time:a}),f=n,t.overwrite=!0,gsap.killTweensOf(o),i.tweenTo(s,t)}if(gsap.set(e,{x:0}),b(),E(),x(),window.addEventListener("resize",()=>T(!0)),i.next=e=>L(f+1,e),i.previous=e=>L(f-1,e),i.current=()=>f,i.toIndex=(e,t)=>L(e,t),i.closestIndex=e=>{let t=P(p,i.time(),i.duration());return e&&(f=t),t},i.times=p,i.progress(1,!0).progress(0,!0),t.reversed&&(i.vars.onReverseComplete(),i.reverse()),t.draggable&&"function"==typeof Draggable){o=document.createElement("div");let t,r,s,d=gsap.utils.wrap(0,1),l=()=>i.progress(d(r+(s.startX-s.x)*t)),g=()=>i.closestIndex(!0);"undefined"==typeof InertiaPlugin&&console.warn("InertiaPlugin required for momentum-based scrolling and snapping. https://greensock.com/club"),s=Draggable.create(o,{trigger:e[0].parentNode,type:"x",onPressInit(){gsap.killTweensOf(i),r=i.progress(),T(),t=1/n,gsap.set(o,{x:r/-t})},onDrag:l,onThrowUpdate:l,inertia:!0,snap:e=>{let r=-e*t*i.duration(),n=a(r),o=p[P(p,n,i.duration())]-n;return Math.abs(o)>i.duration()/2&&(o+=o<0?i.duration():-i.duration()),(r+o)/i.duration()/-t},onRelease:g,onThrowComplete:g})[0],i.draggable=s}return i.closestIndex(!0),s&&s(e[f],f),i},verticalLoop:function(e,t,r=!1){e=gsap.utils.toArray(e);let n,a,o,s=(t=t||{}).onChange,i=gsap.timeline({repeat:t.repeat,paused:t.paused,defaults:{ease:"none"},onReverseComplete:()=>i.totalTime(i.rawTime()+100*i.duration())}),d=e.length,l=e[0].offsetTop,p=[],g=[],u=[],c=[],f=0,m=t.center,h=100*(t.speed||1),v=!1===t.snap?e=>e:gsap.utils.snap(t.snap||1),y=0,w=!0===m?e[0].parentNode:gsap.utils.toArray(m)[0]||e[0].parentNode,b=()=>{let r,a=w.getBoundingClientRect();e.forEach((e,t)=>{g[t]=parseFloat(gsap.getProperty(e,"height","px")),c[t]=v(parseFloat(gsap.getProperty(e,"y","px"))/g[t]*100+gsap.getProperty(e,"yPercent")),r=e.getBoundingClientRect(),u[t]=r.top-(t?a.bottom:a.top),a=r}),gsap.set(e,{yPercent:e=>c[e]}),n=e[d-1].offsetTop+c[d-1]/100*g[d-1]-l+u[0]+e[d-1].offsetHeight*gsap.getProperty(e[d-1],"scaleY")+(parseFloat(t.paddingBottom)||0)},x=()=>{y=m?i.duration()*(w.offsetHeight/2)/n:0,m&&p.forEach((e,t)=>{p[t]=a(i.labels["label"+t]+i.duration()*g[t]/2/n-y)})},P=(e,t,r)=>{let n,a=e.length,o=1e10,s=0;for(;a--;)n=Math.abs(e[a]-t),n>r/2&&(n=r-n),n<o&&(o=n,s=a);return s},E=()=>{let t,r,o,s,f;for(i.clear(),t=0;t<d;t++)r=e[t],o=c[t]/100*g[t],s=r.offsetTop+o-l+u[0],f=s+g[t]*gsap.getProperty(r,"scaleY"),i.to(r,{yPercent:v((o-f)/g[t]*100),duration:f/h},0).fromTo(r,{yPercent:v((o-f+n)/g[t]*100)},{yPercent:c[t],duration:(o-f+n-o)/h,immediateRender:!1},f/h).add("label"+t,s/h),p[t]=s/h;a=gsap.utils.wrap(0,i.duration())},T=e=>{let t=i.progress();i.progress(0,!0),b(),e&&E(),x(),e&&i.draggable?i.time(p[f],!0):i.progress(t,!0)};function L(e,t){t=t||{},r&&(e=d-e),Math.abs(e-f)>d/2&&(e+=e>f?-d:d);let n=gsap.utils.wrap(0,d,e),s=p[n];return s>i.time()!=e>f&&(s+=i.duration()*(e>f?1:-1)),(s<0||s>i.duration())&&(t.modifiers={time:a}),f=n,t.overwrite=!0,gsap.killTweensOf(o),i.tweenTo(s,t)}if(gsap.set(e,{y:0}),b(),E(),x(),window.addEventListener("resize",()=>T(!0)),i.next=e=>L(f+1,e),i.previous=e=>L(f-1,e),i.current=()=>f,i.toIndex=(e,t)=>L(e,t),i.closestIndex=e=>{let t=P(p,i.time(),i.duration());return e&&(f=t),t},i.times=p,i.progress(1,!0).progress(0,!0),t.reversed&&(i.vars.onReverseComplete(),i.reverse()),t.draggable&&"function"==typeof Draggable){o=document.createElement("div");let t,r,s,d=gsap.utils.wrap(0,1),l=()=>i.progress(d(r+(s.startY-s.y)*t)),g=()=>i.closestIndex(!0);"undefined"==typeof InertiaPlugin&&console.warn("InertiaPlugin required for momentum-based scrolling and snapping. https://greensock.com/club"),s=Draggable.create(o,{trigger:e[0].parentNode,type:"y",onPressInit(){gsap.killTweensOf(i),r=i.progress(),T(),t=1/n,gsap.set(o,{y:r/-t})},onDrag:l,onThrowUpdate:l,inertia:!0,snap:e=>{let r=-e*t*i.duration(),n=a(r),o=p[P(p,n,i.duration())]-n;return Math.abs(o)>i.duration()/2&&(o+=o<0?i.duration():-i.duration()),(r+o)/i.duration()/-t},onRelease:g,onThrowComplete:g})[0],i.draggable=s}return i.closestIndex(!0),s&&s(e[f],f),i}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-marquee.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})}();!function(){"use strict";function e(e){const t=e?.jquery?e[0]:e,o=t?.querySelectorAll?.(".bdt-modal")||[];o.length&&o.forEach(e=>{const t=function(e){const t=e?.jquery?e[0]:e,o=t?.getAttribute?.("data-settings");if(!o)return null;try{return JSON.parse(o)}catch{return null}}(e);if(!t)return;const o=t.id,n=t.displayTimes,i=t.scrollDirection,s=t.scrollSelector,r=t.scrollOffset,l=t.splashInactivity,a=t.closeBtnDelayShow,d=t.delayTime,c=t.splashDelay,m=t.widgetId,u=t.layout,w=Boolean(elementorFrontend?.isEditMode?.());let h;const y={setLocalize(){if((document.body.classList.contains("logged-in")||w)&&!0!==t.cacheOnAdmin)return localStorage.removeItem(m+"_expiresIn"),void localStorage.removeItem(m);this.clearLocalize();const e=60*(t.displayTimesExpire||4)*60,o=Date.now()+1e3*e;null===localStorage.getItem(m)&&(localStorage.setItem(m,"0"),localStorage.setItem(m+"_expiresIn",String(o)));const n=parseInt(localStorage.getItem(m)||"0",10)+1;localStorage.setItem(m,String(n))},clearLocalize(){const e=parseInt(localStorage.getItem(m+"_expiresIn")||"0",10);Date.now()>=e&&(localStorage.removeItem(m+"_expiresIn"),localStorage.removeItem(m))},modalFire(){if("splash"===u||"exit"===u||"on_scroll"===u){y.setLocalize();const e=parseInt(localStorage.getItem(m)||"0",10);if(!1!==n&&e>n)return}window.bdtUIkit&&bdtUIkit.modal(e).show()},closeBtnDelayShow(){const t=e.querySelector("#bdt-modal-close-button");t&&(t.style.display="none",e.addEventListener("shown",function o(){t.style.display="",t.style.opacity="0",t.style.transition=`opacity ${d||300}ms`,requestAnimationFrame(()=>{t.style.opacity="1"}),e.removeEventListener("shown",o)}),e.addEventListener("hide",function o(){t.style.display="none",e.removeEventListener("hide",o)}))},customTrigger(){const e=String(o||"").startsWith("#")?o:"#"+o,t=document.querySelector(e);t&&t.addEventListener("click",e=>{e.preventDefault(),y.modalFire()})},scrollDetect(e){let t=0,o=!1;window.addEventListener("scroll",()=>{const n=t;t=window.scrollY,o||(requestAnimationFrame(()=>{e(t,n),o=!1}),o=!0)})},modalFireOnSelector(){if(!s)return;const e=document.querySelector(s);if(!e)return;if(e.dataset.modalSelectorInit)return;e.dataset.modalSelectorInit="1";const t=m+"-fired";window.addEventListener("scroll",()=>{const o=e.getBoundingClientRect().top+window.scrollY,n=e.offsetHeight,i=window.innerHeight;window.scrollY>o+n-i&&(e.classList.contains(t)||y.modalFire(),e.classList.add(t))})},onScroll(){this.scrollDetect((e,t)=>{const o=document.documentElement.scrollHeight,n=window.innerHeight,s=r/100,l=m+"-fired";t>e&&"up"===i?document.body.classList.contains(l)||(y.modalFire(),document.body.classList.add(l)):t<e&&"down"===i&&0!==t?e/(o-n)>s&&(document.body.classList.contains(l)||(y.modalFire(),document.body.classList.add(l))):t<e&&"selector"===i&&0!==t&&y.modalFireOnSelector()})},exitPopup(){document.addEventListener("mouseleave",e=>{w||(e.clientY<=0||e.clientX<=0||e.clientX>=window.innerWidth||e.clientY>=window.innerHeight)&&y.modalFire()})},resetTimer(){clearTimeout(h),h=setTimeout(()=>y.modalFire(),l)},splashInactivity(){const e=()=>y.resetTimer();window.addEventListener("load",e),window.addEventListener("mousemove",e),window.addEventListener("mousedown",e),window.addEventListener("touchstart",e),window.addEventListener("click",e),window.addEventListener("keydown",e),window.addEventListener("scroll",e,!0)},splashTiming(){setTimeout(()=>y.modalFire(),c)},splashInit(){l?this.splashInactivity():this.splashTiming()},defaultLayout(){const e=String(o||"").startsWith("#")?o:"#"+o,t=document.querySelector(e);t&&t.addEventListener("click",e=>{e.preventDefault(),y.modalFire()})},init(){"default"===u&&y.defaultLayout(),"splash"===u&&y.splashInit(),"exit"===u&&y.exitPopup(),"on_scroll"===u&&y.onScroll(),"custom"===u&&y.customTrigger(),a&&y.closeBtnDelayShow()}};if(y.init(),function(e){const t=e.querySelector(".bdt-modal-body");t&&"1"!==t.dataset.epModalLinksBound&&(t.dataset.epModalLinksBound="1",t.addEventListener("click",function(e){const o=e.target&&e.target.closest&&e.target.closest("a[href]");if(!o||!t.contains(o))return;const n=o.getAttribute("href")||"";n&&"#"!==n.charAt(0)&&!/^javascript:/i.test(n)&&0===e.button&&(e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||o.hasAttribute("download")||window.setTimeout(function(){if(!e.defaultPrevented)return;let t="";try{t=new URL(o.href,window.location.href).protocol}catch(e){return}"http:"!==t&&"https:"!==t||("_blank"===o.target?window.open(o.href,"_blank","noopener,noreferrer"):window.location.assign(o.href))},0))}))}(e),t&&!w&&!1!==t.custom_section){const o=document.querySelector(t.custom_section),n=e.querySelector(".bdt-modal-body");o&&n&&(e.classList.add("elementor","elementor-"+(t.pageID||"")),n.appendChild(o))}})}window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-modal.default",e)})}();!function(){"use strict";const t=t=>{const e=(t?.jquery?t[0]:t).querySelector(".bdt-mailchimp");if(!e)return;const i=window.ElementPackConfig?.mailchimp??{subscribing:"Subscribing..."};e.addEventListener("submit",async t=>{t.preventDefault(),window.bdtUIkit?.notification?.({message:"<span bdt-spinner></span> "+i.subscribing,timeout:!1,status:"primary"});try{const t=new FormData(e),i=e.getAttribute("action")||"",n=await fetch(i||window.location.href,{method:"POST",body:t,headers:{"X-Requested-With":"XMLHttpRequest"}}),o=await n.text();window.bdtUIkit?.notification?.closeAll?.(),window.bdtUIkit?.notification?.({message:o,status:"success"})}catch(t){window.bdtUIkit?.notification?.closeAll?.(),window.bdtUIkit?.notification?.({message:t?.message||"Request failed",status:"danger"})}})};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-mailchimp.default",t)})}();!function(){"use strict";const t=t=>{if("function"!=typeof t.getBoundingClientRect)return!0;const e=t.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)},e=e=>{const n=e?.jquery?e[0]:e,i=n.querySelector(".bdt-marker-wrapper");if(!i)return;const o=i.querySelectorAll(".bdt-tippy-tooltip"),r=n.dataset.id||"";o.forEach(e=>{const n="true"===e.dataset.alwaysShow,i=e.dataset.tippyTrigger||"mouseenter focus",o=tippy(e,{allowHTML:!0,theme:"bdt-tippy-"+r,interactive:!0,trigger:n?"manual":i,showOnCreate:!1,hideOnClick:!1});if(n&&setTimeout(()=>{t(e)&&(t=>{if(!t)return!1;const e=t.getBoundingClientRect();if(0===e.width||0===e.height)return!1;const n=window.getComputedStyle(t);return"none"!==n.display&&"hidden"!==n.visibility})(e)&&o.show()},500),"click"===i||"mouseenter focus"===i){let t=n;e.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation(),t=!t,t?o.show():o.hide()})}});const d=i.querySelectorAll('.bdt-tippy-tooltip[data-always-show="true"]');if(d.length>0){let e;const n=()=>{d.forEach(e=>{const n=e._tippy;n&&(t(e)?n.state.isVisible||n.show():n.state.isVisible&&n.hide())})};window.addEventListener("scroll",()=>{e&&clearTimeout(e),e=setTimeout(n,100)}),setTimeout(n,500),setTimeout(n,1e3),setTimeout(n,1500)}};window.addEventListener("elementor/frontend/init",()=>{window.elementorFrontend?.hooks&&elementorFrontend.hooks.addAction("frontend/element_ready/bdt-marker.default",e)})}();!function(t){"use strict";t.epNewsTickerOld=function(e,i){var n={effect:"fade",direction:"ltr",autoPlay:!1,interval:4e3,scrollSpeed:2,pauseOnHover:!1,position:"auto",zIndex:99999},s=this;s.settings={},s._element=t(e),s._label=s._element.children(".bdt-news-ticker-label"),s._news=s._element.children(".bdt-news-ticker-content"),s._ul=s._news.children("ul"),s._li=s._ul.children("li"),s._controls=s._element.children(".bdt-news-ticker-controls"),s._prev=s._controls.find(".bdt-news-ticker-prev").parent(),s._action=s._controls.find(".bdt-news-ticker-action").parent(),s._next=s._controls.find(".bdt-news-ticker-next").parent(),s._pause=!1,s._controlsIsActive=!0,s._totalNews=s._ul.children("li").length,s._activeNews=0,s._interval=!1,s._frameId=null;var l=function(){var t=parseFloat(s._ul.css("marginLeft"));t-=s.settings.scrollSpeed/2,s._ul.css({marginLeft:t}),t<=-s._ul.find("li:first-child").outerWidth()&&(s._ul.find("li:first-child").insertAfter(s._ul.find("li:last-child")),s._ul.css({marginLeft:0})),!1===s._pause&&(s._frameId=requestAnimationFrame(l),window.requestAnimationFrame&&s._frameId||setTimeout(l,16))},a=function(){var t=parseFloat(s._ul.css("marginRight"));t-=s.settings.scrollSpeed/2,s._ul.css({marginRight:t}),t<=-s._ul.find("li:first-child").outerWidth()&&(s._ul.find("li:first-child").insertAfter(s._ul.find("li:last-child")),s._ul.css({marginRight:0})),!1===s._pause&&(s._frameId=requestAnimationFrame(a)),window.requestAnimationFrame&&s._frameId||setTimeout(a,16)},c=function(){"rtl"===s.settings.direction?s._ul.stop().animate({marginRight:-s._ul.find("li:first-child").outerWidth()},300,function(){s._ul.find("li:first-child").insertAfter(s._ul.find("li:last-child")),s._ul.css({marginRight:0}),s._controlsIsActive=!0}):s._ul.stop().animate({marginLeft:-s._ul.find("li:first-child").outerWidth()},300,function(){s._ul.find("li:first-child").insertAfter(s._ul.find("li:last-child")),s._ul.css({marginLeft:0}),s._controlsIsActive=!0})},o=function(){"rtl"===s.settings.direction?(parseInt(s._ul.css("marginRight"),10)>=0&&(s._ul.css({"margin-right":-s._ul.find("li:last-child").outerWidth()}),s._ul.find("li:last-child").insertBefore(s._ul.find("li:first-child"))),s._ul.stop().animate({marginRight:0},300,function(){s._controlsIsActive=!0})):(parseInt(s._ul.css("marginLeft"),10)>=0&&(s._ul.css({"margin-left":-s._ul.find("li:last-child").outerWidth()}),s._ul.find("li:last-child").insertBefore(s._ul.find("li:first-child"))),s._ul.stop().animate({marginLeft:0},300,function(){s._controlsIsActive=!0}))},r=function(){switch(s._controlsIsActive=!0,s.settings.effect){case"typography":s._ul.find("li").hide(),s._ul.find("li").eq(s._activeNews).width(30).show(),s._ul.find("li").eq(s._activeNews).animate({width:"100%",opacity:1},1500);break;case"fade":s._ul.find("li").hide(),s._ul.find("li").eq(s._activeNews).fadeIn();break;case"slide-down":s._totalNews<=1?s._ul.find("li").animate({top:30,opacity:0},300,function(){t(this).css({top:-30,opacity:0,display:"block"}),t(this).animate({top:0,opacity:1},300)}):(s._ul.find("li:visible").animate({top:30,opacity:0},300,function(){t(this).hide()}),s._ul.find("li").eq(s._activeNews).css({top:-30,opacity:0}).show(),s._ul.find("li").eq(s._activeNews).animate({top:0,opacity:1},300));break;case"slide-up":s._totalNews<=1?s._ul.find("li").animate({top:-30,opacity:0},300,function(){t(this).css({top:30,opacity:0,display:"block"}),t(this).animate({top:0,opacity:1},300)}):(s._ul.find("li:visible").animate({top:-30,opacity:0},300,function(){t(this).hide()}),s._ul.find("li").eq(s._activeNews).css({top:30,opacity:0}).show(),s._ul.find("li").eq(s._activeNews).animate({top:0,opacity:1},300));break;case"slide-right":s._totalNews<=1?s._ul.find("li").animate({left:"50%",opacity:0},300,function(){t(this).css({left:-50,opacity:0,display:"block"}),t(this).animate({left:0,opacity:1},300)}):(s._ul.find("li:visible").animate({left:"50%",opacity:0},300,function(){t(this).hide()}),s._ul.find("li").eq(s._activeNews).css({left:-50,opacity:0}).show(),s._ul.find("li").eq(s._activeNews).animate({left:0,opacity:1},300));break;case"slide-left":s._totalNews<=1?s._ul.find("li").animate({left:"-50%",opacity:0},300,function(){t(this).css({left:"50%",opacity:0,display:"block"}),t(this).animate({left:0,opacity:1},300)}):(s._ul.find("li:visible").animate({left:"-50%",opacity:0},300,function(){t(this).hide()}),s._ul.find("li").eq(s._activeNews).css({left:"50%",opacity:0}).show(),s._ul.find("li").eq(s._activeNews).animate({left:0,opacity:1},300));break;default:s._ul.find("li").hide(),s._ul.find("li").eq(s._activeNews).show()}},d=function(){if(s._pause=!1,s.settings.autoPlay)if("scroll"===s.settings.effect)"rtl"===s.settings.direction?s._ul.width()>s._news.width()?a():s._ul.css({marginRight:0}):s._ul.width()>s._news.width()?l():s._ul.css({marginLeft:0});else s.pause(),s._interval=setInterval(function(){s.next()},s.settings.interval)},f=function(){s._element.width()<480?(s._label.hide(),"rtl"==s.settings.direction?s._news.css({right:0}):s._news.css({left:0})):(s._label.show(),"rtl"==s.settings.direction?s._news.css({right:s._label.outerWidth()}):s._news.css({left:s._label.outerWidth()}))};s.init=function(){s.settings=t.extend({},n,i),s._element.addClass("bdt-effect-"+s.settings.effect+" bdt-direction-"+s.settings.direction),function(){if(s._label.length>0&&("rtl"==s.settings.direction?s._news.css({right:s._label.outerWidth()}):s._news.css({left:s._label.outerWidth()})),s._controls.length>0){var e=s._controls.outerWidth();"rtl"==s.settings.direction?s._news.css({left:e}):s._news.css({right:e})}if("scroll"===s.settings.effect){var i=0;s._li.each(function(){i+=t(this).outerWidth()}),i+=50,s._ul.css({width:i})}}(),"scroll"!=s.settings.effect&&r(),d(),s.settings.autoPlay?s._action.find("span").removeClass("bdt-news-ticker-play").addClass("bdt-news-ticker-pause"):s._action.find("span").removeClass("bdt-news-ticker-pause").addClass("bdt-news-ticker-play"),s._element.on("mouseleave",function(e){var i=t(document.elementFromPoint(e.clientX,e.clientY)).parents(".bdt-breaking-news")[0];t(this)[0]!==i&&(!0===s.settings.pauseOnHover?!0===s.settings.autoPlay&&s.play():!0===s.settings.autoPlay&&!0===s._pause&&s.play())}),s._element.on("mouseenter",function(){!0===s.settings.pauseOnHover&&s.pause()}),s._next.on("click",function(){s._controlsIsActive&&(s._controlsIsActive=!1,s.pause(),s.next())}),s._prev.on("click",function(){s._controlsIsActive&&(s._controlsIsActive=!1,s.pause(),s.prev())}),s._action.on("click",function(){s._controlsIsActive&&(s._action.find("span").hasClass("bdt-news-ticker-pause")?(s._action.find("span").removeClass("bdt-news-ticker-pause").addClass("bdt-news-ticker-play"),s.stop()):(s.settings.autoPlay=!0,s._action.find("span").removeClass("bdt-news-ticker-play").addClass("bdt-news-ticker-pause")))}),f(),t(window).on("resize",function(){f(),s.pause(),s.play()})},s.pause=function(){s._pause=!0,clearInterval(s._interval),cancelAnimationFrame(s._frameId)},s.stop=function(){s._pause=!0,s.settings.autoPlay=!1},s.play=function(){d()},s.next=function(){"scroll"===s.settings.effect?c():(s._activeNews++,s._activeNews>=s._totalNews&&(s._activeNews=0),r())},s.prev=function(){"scroll"===s.settings.effect?o():(s._activeNews--,s._activeNews<0&&(s._activeNews=s._totalNews-1),r())},s.init()},t.fn.epNewsTickerOld=function(e){return this.each(function(){if(null==t(this).data("epNewsTickerOld")){var i=new t.epNewsTickerOld(this,e);t(this).data("epNewsTickerOld",i)}})}}(jQuery),function(){"use strict";var t=function(t,e){var i=t.find(".bdt-news-ticker"),n=i.data("settings");i.length&&e(i).epNewsTickerOld(n)};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-news-ticker.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,e){var n=t.find(".bdt-notification-wrapper"),o=n.data("settings");if(n.length){if(!1===Boolean(elementorFrontend.isEditMode())){if(e(t).is(".elementor-hidden-desktop, .elementor-hidden-tablet, .elementor-hidden-mobile"))return;if("yes"==o.externalSystem&&0==o.externalSystemValid)return;!0===o.linkWithConfetti&&jQuery.ajax({type:"post",dataType:"json",url:ElementPackConfig.ajaxurl,data:{action:"ep_connect_confetti",data:"empty"},success:function(){}})}var i="#"+o.id,a=o.notifyTimeout,r=o.notifyType,l=o.notifyFixPosition,s=Boolean(elementorFrontend.isEditMode());void 0===o.notifyTimeout&&(a=null),bdtUIkit.util.on(document,"beforehide","[bdt-alert]",function(t){"top"===l&&e("html").attr("style","margin-top: unset !important")}),{htmlMarginRemove:function(){e("html").css({"margin-top":"unset  !important"})},appendBody:function(){e("body > "+i).slice(1).remove(),e(i).prependTo(e("body"))},showNotify:function(){e(i).removeClass("bdt-hidden")},notifyFixed:function(){this.htmlMarginRemove(),setTimeout(function(){if("top"==l){var t=e(".bdt-notify-wrapper").outerHeight();e(".admin-bar").length&&(t+=32,e(i).attr("style","margin-top: 32px !important")),e("html").attr("style","margin-top: "+t+"px !important"),e("html").css({transition:"margin-top .8s ease"}),e(window).on("resize",function(){t=e(".bdt-notify-wrapper").outerHeight(),e(".admin-bar").length&&(t+=32),e("html").attr("style","margin-top: "+t+"px !important")})}},1e3)},notifyRelative:function(){e("body > "+i).remove()},notifyPopup:function(){bdtUIkit.notification({message:o.msg,status:o.notifyStatus,pos:o.notifyPosition,timeout:a})},notifyFire:function(){"fixed"===r?"relative"!==l?(this.appendBody(),this.notifyFixed()):(this.htmlMarginRemove(),this.notifyRelative()):this.notifyPopup()},setLocalize:function(){if(s)this.clearLocalize();else{var t=o.id,e=60*o.displayTimesExpire*60,n=Date.now()+1e3*e;if(null===localStorage.getItem(t)&&(localStorage.setItem(t,0),localStorage.setItem(t+"_expiresIn",n)),null!==localStorage.getItem(t)){var i=parseInt(localStorage.getItem(t),10);i++,localStorage.setItem(t,i)}}},clearLocalize:function(){var t=parseInt(localStorage.getItem(o.id+"_expiresIn"),10);Date.now()>=t&&(localStorage.removeItem(o.id+"_expiresIn"),localStorage.removeItem(o.id))},notificationInit:function(){var t=this;this.setLocalize();var n=o.displayTimes,i=parseInt(localStorage.getItem(o.id),10);!1!==n&&i>n||(this.showNotify(),"onload"!=o.notifyEvent&&"inDelay"!=o.notifyEvent||e(document).ready(function(){setTimeout(function(){t.notifyFire()},o.notifyInDelay)}),"click"!=o.notifyEvent&&"mouseover"!=o.notifyEvent||e(o.notifySelector).on(o.notifyEvent,function(){t.notifyFire()}))}}.notificationInit(),e(".bdt-notify-wrapper.bdt-position-fixed .bdt-alert-close").on("click",function(t){e("html").attr("style","margin-top: unset !important"),e(".admin-bar").length&&e("html").attr("style","margin-top: 32px !important")})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-notification.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var n=function(n,t){const e=n.find(".bdt-offcanvas");e.length&&t.each(e,function(n,e){const o=t(this),i=o.data("settings").id;t(i).length&&t(i).on("click",function(n){n.preventDefault(),bdtUIkit.offcanvas(o).show()})})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-offcanvas.default",n)})}(jQuery,window.elementorFrontend);!function(){"use strict";function o(o){var e=document.createElement("div");return e.innerHTML=o,e.querySelectorAll("script").forEach(function(o){o.remove()}),e.querySelectorAll("[onclick], [onload], [onerror], [onmouseover], [onmouseout]").forEach(function(o){o.removeAttribute("onclick"),o.removeAttribute("onload"),o.removeAttribute("onerror"),o.removeAttribute("onmouseover"),o.removeAttribute("onmouseout")}),e}var e=function(e,t){const n=e.find(".bdt-open-street-map"),r=n.data("settings"),a=n.data("map_markers");if(!n.length)return;const i=L.map(n[0],{zoomControl:r.zoomControl,scrollWheelZoom:!1}).setView([r.lat,r.lng],r.zoom);if(""!==r.mapboxToken&&!1!==r.mapboxToken){const o="https://api.mapbox.com/styles/v1/{id}/tiles/{z}/{x}/{y}?access_token="+r.mapboxToken;L.tileLayer(o,{maxZoom:18,attribution:'Map data &copy; <a href="https://www.openstreetmap.org/">OpenStreetMap</a> contributors, <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, Imagery &copy; <a href="https://www.mapbox.com/">Mapbox</a>',id:"mapbox/streets-v11",tileSize:512,zoomOffset:-1}).addTo(i)}else L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'}).addTo(i);for(var c in a)if(""!=a[c].iconUrl&&void 0!==a[c].iconUrl){const e=new(L.Icon.extend({options:{iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[2,-41]}}))({iconUrl:a[c].iconUrl});L.marker([a[c].lat,a[c].lng],{icon:e}).bindPopup(o(a[c].infoWindow)).addTo(i)}else""!=a[c].lat&&void 0!==a[c].lat&&L.marker([a[c].lat,a[c].lng]).bindPopup(o(a[c].infoWindow)).addTo(i)};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-open-street-map.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,e){const d=t.find(".bdt-price-table"),n=d.find(".bdt-price-table-feature-inner"),i=d.data("settings");if(!d.length)return;if(i.read_more_toggle){const t=d.find(".bdt-read-more-features"),n=d.find(".bdt-read-more-features").data("bdt-default-load");d.find(".bdt-price-table-features-list").each(function(){e(this).find("li:gt("+n+")").hide()}),t.off("click").on("click",function(t){t.preventDefault();const d=e(this),i=d.closest(".bdt-price-table").find(".bdt-price-table-features-list").find("li:gt("+n+")"),o=d.data("bdt-less"),a=d.data("bdt-more");d.hasClass("bdt-more")?(i.each(function(t){const d=e(this);setTimeout(function(){d.slideDown(200)},50*t)}),d.text(o).addClass("bdt-less").removeClass("bdt-more")):d.hasClass("bdt-less")&&(i.slideUp(300),d.text(a).addClass("bdt-more").removeClass("bdt-less"))})}const o=n.find("> .bdt-tippy-tooltip"),a=t.data("id");o.each(function(t){tippy(this,{allowHTML:!0,theme:"bdt-tippy-"+a})})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-price-table.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-price-table.bdt-partait",t),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-price-table.bdt-erect",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var n=function(n,t){const e=n.find(".bdt-ep-product-carousel");if(!e.length)return;const o=e.find(".swiper-carousel"),r=e.data("settings"),i=elementorFrontend.utils.swiper;!async function(){await new i(o,r),r.pauseOnHover&&t(o).hover(function(){this.swiper.autoplay.stop()},function(){this.swiper.autoplay.start()})}()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-product-carousel.default",n)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){const t=e.find(".bdt-panel-slider");if(!t.length)return;const o=t.find(".swiper-carousel"),i=t.data("settings"),d=t.data("widget-settings"),r=elementorFrontend.utils.swiper;!async function(){await new r(o,i);i.pauseOnHover&&n(o).hover(function(){this.swiper.autoplay.stop()},function(){this.swiper.autoplay.start()})}(),1==d.mouseInteractivity&&setTimeout(()=>{const e=n(d.id).find(".bdt-panel-slide-item");n(e).each((e,t)=>{const o=n(t).get(0);new Parallax(o,{selector:".bdt-panel-slide-thumb",hoverOnly:!0,pointerEvents:!0})})},2e3)};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-panel-slider.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-panel-slider.bdt-middle",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-panel-slider.always-visible",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){const r=e.find(".bdt-progress-pie");r.length&&epObserveTarget(e[0],function(){r.asPieProgress({namespace:"pieProgress",classes:{svg:"bdt-progress-pie-svg",number:"bdt-progress-pie-number",content:"bdt-progress-pie-content"}}),r.asPieProgress("start")},{root:null,rootMargin:"0px",threshold:1})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-progress-pie.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,n){var e=t.find(".bdt-post-gallery-wrapper"),o=t.find(".bdt-post-gallery"),i=o.data("settings"),a=e.find(".bdt-ep-grid-filters-wrapper"),l=void 0!==i&&void 0!==i._skin?i._skin.split("-").pop():"default",r=n(".elementor-editor-active").length>0;const d=i.id+" [data-tilt]";if(e.length&&(1==i.tilt_show&&v(d),a.length)){var s=a.data("hash-settings"),c=s.activeHash,f=s.hashTopOffset||70,u=s.hashScrollspyTime||1e3,h={},p=e.find(".bdt-ep-grid-filter"),g=p.find(".bdt-option"),m=e.find("#bdt-loading-image");c&&(n(document).ready(function(){setTimeout(function(){w()},100)}),n(window).on("load",function(){setTimeout(function(){w()},100)}),n(window).on("hashchange",function(){w()})),g.on("click",function(t){t.preventDefault();var e=n(this),o=e.data("slug");if(p.removeClass("bdt-active"),e.parent().addClass("bdt-active"),b(o),c){const t=n.trim(o),e=encodeURIComponent(t);window.location.hash=e,history.replaceState(null,null,"#"+t)}})}function b(t){n(m).show(),!r&&h[t]?(o.fadeOut(200,function(){n(this).html(h[t]).fadeIn(300).css("transform","translateY(-10px)").animate({transform:"translateY(0)"},300)}),n(m).hide()):n.ajax({url:ElementPackConfig.ajaxurl,data:{action:"bdt_post_gallery",settings:i,category:t,_skin:l,nonce:ElementPackConfig.nonce},type:"POST",dataType:"HTML",beforeSend:function(){n(m).show()},success:function(e){h[t]=e,o.fadeOut(200,function(){n(this).html(e).fadeIn(300,function(){var t;1==i.tilt_show&&(t=d,document.querySelectorAll(t).forEach(function(t){t.vanillaTilt&&t.vanillaTilt.destroy()}),v(d),function(t){var n=new MutationObserver(function(n){n.forEach(function(n){"childList"===n.type&&v(t)})}),e=document.querySelector(i.id);e&&n.observe(e,{childList:!0,subtree:!0})}(d))})})},error:function(t){console.log(t)},complete:function(){n(m).hide()}})}function w(){if(window.location.hash){var t=window.location.hash.substring(1),o=decodeURIComponent(t),i=p.find("[data-slug]").filter(function(){return n.trim(n(this).attr("data-slug")).toLowerCase()===n.trim(o).toLowerCase()});i.length&&(p.removeClass("bdt-active"),i.parent().addClass("bdt-active"),b(i.data("slug")),n("html, body").animate({easing:"slow",scrollTop:e.offset().top-f},u))}}function v(t){var n=document.querySelectorAll(t);n.length>0&&VanillaTilt.init(n)}};jQuery(window).on("elementor/frontend/init",function(){["bdt-post-gallery.default","bdt-post-gallery.bdt-abetis","bdt-post-gallery.bdt-fedara","bdt-post-gallery.bdt-trosia"].forEach(n=>elementorFrontend.hooks.addAction(`frontend/element_ready/${n}`,t))})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var n,t=elementorModules.frontend.handlers.Base;n=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{}},onElementChange:debounce(function(e){-1!==e.indexOf("post_grid")&&this.run()},400),settings:function(e){return this.getElementSettings("post_grid_"+e)},run:function(){var n=this.settings("ajax_loadmore"),t=this.$element.find(".bdt-post-grid");if(t.length&&void 0!==n){var o=this.settings("show_loadmore"),i=this.settings("show_infinite_scroll"),d=this.$element.find(".bdt-loadmore-container"),s=t.find(".bdt-grid"),a=d.find(".bdt-loadmore"),r=!1,l=t.data("settings"),u=t.data("settings-button"),c=l.posts_per_page,g=function(){var n={action:"ep_loadmore_posts",settings:l,readMore:u,per_page:l.ajax_item_load,offset:c,paged:l.paged,nonce:l.nonce};jQuery.ajax({url:window.ElementPackConfig.ajaxurl,type:"post",data:n,success:function(n){e(s).append(n.markup),c+=l.ajax_item_load,l.paged+=1,r=!1,"yes"===o&&a.html("Load More"),e(n.markup).length<l.ajax_item_load&&(a.hide(),d.hide())}})};"yes"===o&&e(a).on("click",function(){r||(r=!0,a.html("loading..."),g())}),"yes"===i&&e(window).scroll(function(){e(window).scrollTop()==e(document).height()-e(window).height()&&(e(a).css("display","block"),g())})}}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-post-grid.default",function(e){elementorFrontend.elementsHandler.addHandler(n,{$element:e})})})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,n){const e=t.find(".bdt-post-grid-tab"),d=e.find(".gridtab");e.length&&d.gridtab(e.data("settings"))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-post-grid-tab.default",t)})}(jQuery,window.elementorFrontend);!function(t){const n={};t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-post-list.default",function(e){e.find(".bdt-post-list-wrap").each(function(){if(t(this)[0]){const e=t(this).data("show-hide"),i=t(this).find(".bdt-option"),o=t(this).find(".bdt-post-list-header"),d=t(this).find(".bdt-post-list"),s=t(this).find("#bdt-loading-image"),a=d.data("settings");i.on("click",function(i){const f=t(this).data("slug");o.find(".bdt-filter-list").removeClass("bdt-active"),t(this).parent().addClass("bdt-active"),i.preventDefault(),function(i){t(s).show(),n[i]?(d.html(n[i]),console.log("Using cached data for category:",i),t(s).hide()):t.ajax({url:ElementPackConfig.ajaxurl,data:{action:"bdt_post_list",nonce:ElementPackConfig.nonce,settings:a,post_type:a["post-type"],showHide:e,category:i,human_diff_time:e.human_diff_time,human_diff_time_short:e.human_diff_time_short,bdt_link_new_tab:e.bdt_link_new_tab},type:"POST",dataType:"HTML",beforeSend:function(){t(s).show()},success:function(t){n[i]=t,d.html(t)},error:function(t){console.log(t)},complete:function(){t(s).hide()}})}(f)})}})})})}(jQuery);!function(){"use strict";var e=function(e,n){const t=e.find(".bdt-qrcode"),o=e.find(".bdt-qrcode-image");if(!t.length)return;const d=t.data("settings");d.image=o[0],t.qrcode(d)};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-qrcode.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,t){var r=e.find(".bdt-reading-progress");if(r.length){var n=r.data("settings");jQuery(document).ready(function(){var e,o,s,i={borderSize:10,mainBgColor:"#E6F4F7",lightBorderColor:"#A2ECFB",darkBorderColor:"#39B4CC"},d=n.progress_bg,a=n.scroll_bg,l=t(r),c="bdt-reading-progress-border",g="bdt-reading-progress-circle",u="bdt-reading-progress-text",p=function(){e=window.innerHeight,o=document.body.offsetHeight,s=o-e},h=function(){var e=document.createEvent("Event");e.initEvent("scroll",!1,!1),window.dispatchEvent(e)};p(),t(l).html("<div class='"+c+"'><div class='"+g+"'><span class='"+u+"'></span></div></div>"),t("."+c,l).css({"background-color":a,"background-image":"linear-gradient(91deg, transparent 50%,"+i.lightBorderColor+"50%), linear-gradient(90deg,"+i.lightBorderColor+"50%, transparent 50%"}),t("."+g,l).css({width:i.width-i.borderSize,height:i.height-i.borderSize}),t(window).on("scroll",function(){var e=window.scrollY||document.documentElement.scrollTop;!function(e){var r=Math.round(100*e);("number"!=typeof e||!isFinite(e)||r<0||r>100)&&(r=0);var n=360*r/100;n<=180?t("."+c,l).css("background-image","linear-gradient("+(90+n)+"deg, transparent 50%, "+d+" 50%),linear-gradient(90deg, "+d+" 50%, transparent 50%)"):t("."+c,l).css("background-image","linear-gradient("+(n-90)+"deg, transparent 50%, "+a+" 50%),linear-gradient(90deg, "+d+" 50%, transparent 50%)"),t("."+u,l).text(r+"%")}("number"==typeof s&&isFinite(s)&&s>0?Math.max(0,Math.min(1,e/s)):0)}),t(window).on("resize",function(){p(),h()}),t(window).on("load",function(){p(),h()}),h()})}},t=function(e,t){if(e.find(".bdt-progress-with-cursor").length){document.getElementsByTagName("body")[0].addEventListener("mousemove",function(e){r.style.left=e.clientX+"px",r.style.top=e.clientY+"px",n.style.left=e.clientX+"px",n.style.top=e.clientY+"px",o.style.left=e.clientX+"px",o.style.top=e.clientY+"px"});var r=document.querySelector(".bdt-cursor"),n=document.querySelector(".bdt-cursor2"),o=document.querySelector(".bdt-cursor3");a();for(var s=document.querySelectorAll(".hover-target"),i=s.length-1;i>=0;i--)l(s[i]);t(document).ready(function(){var e=document.querySelector(".bdt-progress-wrap path"),r=e.getTotalLength();e.style.transition=e.style.WebkitTransition="none",e.style.strokeDasharray=r+" "+r,e.style.strokeDashoffset=r,e.getBoundingClientRect(),e.style.transition=e.style.WebkitTransition="stroke-dashoffset 10ms linear";var n=function(){var n=t(window).scrollTop(),o=t(document).height()-t(window).height(),s=r-n*r/o;e.style.strokeDashoffset=s};n(),jQuery(window).on("scroll",n)})}function d(e){n.classList.add("hover"),o.classList.add("hover")}function a(e){n.classList.remove("hover"),o.classList.remove("hover")}function l(e){e.addEventListener("mouseover",d),e.addEventListener("mouseout",a)}},r=function(e,t){e.find(".bdt-horizontal-progress").length&&t("#bdt-progress").progress({size:"3px",wapperBg:"#eee",innerBg:"#DA4453"})},n=function(e,t){if(e.find(".bdt-progress-with-top").length){var r=document.querySelector(".bdt-progress-wrap path"),n=r.getTotalLength();r.style.transition=r.style.WebkitTransition="none",r.style.strokeDasharray=n+" "+n,r.style.strokeDashoffset=n,r.getBoundingClientRect(),r.style.transition=r.style.WebkitTransition="stroke-dashoffset 10ms linear";var o=function(){var e=jQuery(window).scrollTop(),t=jQuery(document).height()-jQuery(window).height(),o=n-e*n/t;r.style.strokeDashoffset=o};o(),jQuery(window).on("scroll",o);jQuery(window).on("scroll",function(){jQuery(this).scrollTop()>50?jQuery(".bdt-progress-wrap").addClass("active-progress"):jQuery(".bdt-progress-wrap").removeClass("active-progress")}),jQuery(".bdt-progress-wrap").on("click",function(e){return e.preventDefault(),jQuery("html, body").animate({scrollTop:0},550),!1})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.bdt-progress-with-cursor",t),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.bdt-horizontal-progress",r),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-progress.bdt-back-to-top-with-progress",n)})}(jQuery,window.elementorFrontend);!function(e){e(window).on("elementor/frontend/init",function(){let t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},settings:function(e){return this.getElementSettings("reading_timer_"+e)},calculateReadingTime:function(e){let t=e.split(/\s+/).filter(function(e){return""!==e}).length,n=this.settings("avg_words_per_minute")?this.settings("avg_words_per_minute").size:200,i=Math.floor(t/n),s=Math.floor(t%n/(n/60)),o=this.settings("minute_text")?this.settings("minute_text"):"min read",d=this.settings("seconds_text")?this.settings("seconds_text"):"sec read";return t>=n?`${i} ${o}`:`${s} ${d}`},run:function(){const t=`.elementor-element-${this.$element.data("id")} .bdt-reading-timer`,n=this.settings("content_id");let i=this.settings("minute_text")?this.settings("minute_text"):"min read";if(Boolean(elementorFrontend.isEditMode()))e(t).append("2 "+i);else if(n){ReadingContent=e(document).find(`#${n}`).text();const i=this.calculateReadingTime(ReadingContent);e(t).append(i)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-reading-timer.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){var t=e.find(".bdt-remote-arrows"),o=t.data("settings"),d=Boolean(elementorFrontend.isEditMode());if(t.length){if(!o.remoteId){var i=e.closest(".elementor-section, .e-con .e-con-inner");o.remoteId=i}n(o.remoteId).find(".swiper").length<=0?1==d&&n(o.id+"-notice").removeClass("bdt-hidden"):(n(o.id+"-notice").addClass("bdt-hidden"),n(document).ready(function(){setTimeout(()=>{const e=n(o.remoteId).find(".swiper")[0].swiper;n(o.id).find(".bdt-prev").on("click",function(){e.slidePrev()}),n(o.id).find(".bdt-next").on("click",function(){e.slideNext()})},3e3)}))}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-remote-arrows.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,t){var n=e.find(".bdt-remote-fraction"),i=n.data("settings"),d=i.pad,o=Boolean(elementorFrontend.isEditMode());if(n.length){if(!i.remoteId){var r=e.closest(".elementor-section, .e-con .e-con-inner");i.remoteId=r}if(t(i.remoteId).find(".swiper").length<=0)1==o&&t(i.id+"-notice").removeClass("bdt-hidden");else{t(i.id+"-notice").addClass("bdt-hidden");var a=0;!function e(){var n=t(i.remoteId).find(".swiper")[0],d=n&&n.swiper;d?d.initialized?s(d):d.once("init",function(){s(d)}):++a<100&&setTimeout(e,100)}()}}function s(e){var n=t(i.remoteId).find(".swiper-slide-active"),o=n.data("swiper-slide-index");void 0===o&&(o=n.index());var r=t(i.remoteId).find(".swiper-slide:not(.swiper-slide-duplicate)").length;r+="",o=o+1+"",t(i.id).find(".bdt-current").text(o.padStart(d,"0")),t(i.id).find(".bdt-total").text(r.padStart(d,"0")),e.on("slideChangeTransitionEnd",function(){var n=e.realIndex+1+"";t(i.id).find(".bdt-current").text(n.padStart(d,"0"))})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-remote-fraction.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,i){var t=e.find(".bdt-remote-pagination"),d=t.data("settings"),n=Boolean(elementorFrontend.isEditMode());if(t.length){if(!d.remoteId){var a=e.closest(".elementor-section, .e-con .e-con-inner");d.remoteId=a}if(i(d.remoteId).find(".swiper").length<=0)1==n&&i(d.id+"-notice").removeClass("bdt-hidden");else{i(d.id+"-notice").addClass("bdt-hidden");var o=0;!function e(){var t=i(d.remoteId).find(".swiper")[0],n=t&&t.swiper;n?n.initialized?s(n):n.once("init",function(){s(n)}):++o<100&&setTimeout(e,100)}()}}function s(e){var t=i(d.id).find(".bdt-pagination-wrapper");if("automatic"===d.paginationType){var n=function(e){if(e.params.loop&&e.slides&&e.slides.length){for(var i=-1,t=0;t<e.slides.length;t++){var d=e.slides[t].getAttribute("data-swiper-slide-index");null!=d&&(i=Math.max(i,parseInt(d,10)))}return i>=0?i+1:e.slides.length}return e.slides?e.slides.length:0}(e);t.empty();for(var a=0;a<n;a++)t.append('<a href="javascript:void(0);" class="bdt-item" data-index="'+a+'"><div class="bdt-pagination">'+(a+1)+"</div></a>")}var o=i(d.remoteId).find(".swiper-slide-active"),s=o.data("swiper-slide-index");void 0===s&&(s=o.index()),i(d.id).find(".bdt-item:eq("+s+")").addClass("bdt-active"),i(d.id).find(".bdt-item").on("click",function(){var t=i(this).data("index");d.loopStatus?e.slideToLoop(t):e.slideTo(t),i(d.id).find(".bdt-item").removeClass("bdt-active"),i(d.id).find(".bdt-item:eq("+t+")").addClass("bdt-active"),i(d.id).addClass("wait--")}),e.on("slideChangeTransitionEnd",function(t){i(d.id).hasClass("wait--")?i(d.id).removeClass("wait--"):(i(d.id).find(".bdt-item").removeClass("bdt-active"),i(d.id).find(".bdt-item:eq("+e.realIndex+")").addClass("bdt-active"))})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-remote-pagination.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,i){var t=e.find(".bdt-remote-thumbs"),d=t.data("settings"),n=Boolean(elementorFrontend.isEditMode());if(t.length){if(!d.remoteId){var a=e.closest(".elementor-section, .e-con .e-con-inner");d.remoteId=a}if(i(d.remoteId).find(".swiper").length<=0)1==n&&i(d.id+"-notice").removeClass("bdt-hidden");else{i(d.id+"-notice").addClass("bdt-hidden");var s=0;!function e(){var t=i(d.remoteId).find(".swiper")[0],n=t&&t.swiper;n?n.initialized?o(n):n.once("init",function(){o(n)}):++s<100&&setTimeout(e,100)}()}}function r(e,t){var d=null;if(e.params.loop)for(var n=0;n<e.slides.length;n++){var a=e.slides[n].getAttribute("data-swiper-slide-index");if(null!==a&&parseInt(a,10)===t){d=e.slides[n];break}}if(!d&&e.slides[t]&&(d=e.slides[t]),!d)return"";var s=i(d).find("img").first();return s.length&&s.attr("src")||""}function o(e){var t=i(d.id).find(".bdt-thumbs-wrapper");if("automatic"===d.thumbsType){var n=function(e){if(!e.slides||!e.slides.length)return 0;if(e.params.loop){for(var i=-1,t=0;t<e.slides.length;t++){var d=e.slides[t].getAttribute("data-swiper-slide-index");null!=d&&(i=Math.max(i,parseInt(d,10)))}return i>=0?i+1:e.slides.length}return e.slides.length}(e);t.empty();for(var a=0;a<n;a++){var s=r(e,a)||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";t.append('<a href="javascript:void(0);" class="bdt-item" data-index="'+a+'"><img src="'+s+'" alt="" /></a>')}}var o=i(d.remoteId).find(".swiper-slide-active"),l=o.data("swiper-slide-index");void 0===l&&(l=o.index()),i(d.id).find(".bdt-item:eq("+l+")").addClass("bdt-active"),i(d.id).find(".bdt-item").on("click",function(){var t=i(this).data("index");d.loopStatus?e.slideToLoop(t):e.slideTo(t),i(d.id).find(".bdt-item").removeClass("bdt-active"),i(d.id).find(".bdt-item:eq("+t+")").addClass("bdt-active"),i(d.id).addClass("wait--")}),e.on("slideChangeTransitionEnd",function(){i(d.id).hasClass("wait--")?i(d.id).removeClass("wait--"):(i(d.id).find(".bdt-item").removeClass("bdt-active"),i(d.id).find(".bdt-item:eq("+e.realIndex+")").addClass("bdt-active"))})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-remote-thumbs.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){var t=e.find(".bdt-review-card-carousel");if(!t.length)return;var r=t.find(".swiper-carousel"),o=t.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(r,o);o.pauseOnHover&&n(r).hover(function(){this.swiper.autoplay.stop()},function(){this.swiper.autoplay.start()})}()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-review-card-carousel.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";const e=function(e,n){const t=e.find(".bdt-slider");if(!t.length)return;const o=t.find(".swiper-carousel"),r=t.data("settings"),i=elementorFrontend.utils.swiper;!async function(){await new i(o,r),r.pauseOnHover&&n(o).hover(function(){this.swiper.autoplay.stop()},function(){this.swiper.autoplay.start()})}()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-slider.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-acf-slider.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";const n=function(n,e){const t=n.find(".bdt-slideshow");if(!t.length)return;const o=e(t).find(".bdt-thumbnav-wrapper > .bdt-thumbnav-scroller");e(o).mThumbnailScroller({axis:"yx",type:"hover-precise"})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-slideshow.default",n)})}(jQuery,window.elementorFrontend);!function(){"use strict";var n=function(n,t){var e=n.find(".bdt-slinky-vertical-menu"),i=e.attr("id");if(!e.length)return;const r=t("#"+i).slinky();"rtl"===document.documentElement.dir&&(r._move=function(n,e=()=>{}){const o=Math.round(parseInt(t("#"+i).children().first().get(0).style.right,10))||0;t("#"+i).children().first().css("right",o-100*n+"%"),"function"==typeof e&&setTimeout(e,r.settings.speed)})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-slinky-vertical-menu.default",n)})}(jQuery,window.elementorFrontend);!function(){"use strict";const t=function(t,n){const e=t.find(".bdt-dotnav > li");if(!e.length)return;const o=e.find("> .bdt-tippy-tooltip"),i=t.data("id");o.each(function(){tippy(this,{allowHTML:!0,theme:"bdt-tippy-"+i})})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-scrollnav.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e,t=function(t,n){var s=t.find(".bdt-search-container"),a=t.find(".bdt-ajax-search");let r;if(n(t).find(".bdt-navbar-dropdown-close").on("click",function(){bdtUIkit.drop(t.find(".bdt-navbar-dropdown")).hide()}),a.length){var c=n(a).find(".bdt-search-result"),l=n(a).data("settings"),i=n(s).data("settings"),d=n(a).attr("anchor-target");d="yes"===d?"_blank":"_self",clearTimeout(e),i&&i.element_connect&&n(i.element_selector).hide(),n(a).on("keyup keypress",function(e){if(13===(e.keyCode||e.which))return e.preventDefault(),!1}),a.find(".bdt-search-input").keyup(function(){r=n(this).val(),e=setTimeout(function(){n(a).addClass("bdt-search-loading"),jQuery.ajax({url:window.ElementPackConfig.ajaxurl,type:"post",data:{action:"element_pack_search",nonce:window.ElementPackConfig.nonce,s:r,settings:l},success:function(e){if((e=n.parseJSON(e)).results.length>0)if(r.length>=3){var t=`<div class="bdt-search-result-inner">\n                          <h3 class="bdt-search-result-header">${window.ElementPackConfig.search.search_result}<i class="ep-icon-close bdt-search-result-close-btn"></i></h3>\n                          <ul class="bdt-list bdt-list-divider">`;for(let n=0;n<e.results.length;n++){const s=e.results[n];t+=`<li class="bdt-search-item" data-url="${s.url}">\n                            <a href="${s.url}" target="${d}">\n                            <div class="bdt-search-title">${s.title}</div>\n                            <div class="bdt-search-text">${s.text}</div>\n                            </a>\n                          </li>`}t+=`</ul><a class="bdt-search-more">${window.ElementPackConfig.search.more_result}</a></div>`,c.html(t),c.show(),n(".bdt-search-result-close-btn").on("click",function(e){n(".bdt-search-result").hide(),n(".bdt-search-input").val("")}),n(a).removeClass("bdt-search-loading"),n(".bdt-search-more").on("click",function(e){e.preventDefault(),n(a).submit()})}else c.hide();else if(r.length>3){var s=`<div class="bdt-search-result-inner">\n                                  <h3 class="bdt-search-result-header">${window.ElementPackConfig.search.search_result}<i class="ep-icon-close bdt-search-result-close-btn"></i></h3>\n                                  <div class="bdt-search-text">${r} ${window.ElementPackConfig.search.not_found}</div>\n                                </div>`;c.html(s),c.show(),n(".bdt-search-result-close-btn").on("click",function(e){n(".bdt-search-result").hide(),n(".bdt-search-input").val("")}),n(a).removeClass("bdt-search-loading"),i&&i.element_connect&&(c.hide(),setTimeout(function(){n(i.element_selector).show()},1500))}else c.hide(),n(a).removeClass("bdt-search-loading")}})},450)})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-search.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";const n=function(n,t){const o=n.find(".bdt-scroll-button");if(!o.length)return;const e=o.data("selector"),c=o.data("settings");1==c.HideOnBeforeScrolling&&t(window).scroll(function(){t(window).scrollTop()>300?o.css("opacity","1"):o.css("opacity","0")}),t(o).on("click",function(n){n.preventDefault(),bdtUIkit.scroll(o,c).scrollTo(t(e))})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-scroll-button.default",n)})}(jQuery,window.elementorFrontend);!function(){"use strict";const e=function(e,t){const n=e.find(".bdt-source-code");if(!n.length)return;const o=n.find("pre > code");new ClipboardJS(".bdt-copy-button",{target:function(e){return e.nextElementSibling}}).on("success",function(e){e.trigger.textContent="copied!",setTimeout(function(){e.clearSelection(),e.trigger.textContent="copy"},2e3)}),Prism.highlightElement(o.get(0))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-source-code.default",e)})}(jQuery,window.elementorFrontend);!function(e){e(window).on("elementor/frontend/init",function(){let t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},settings:function(e){return this.getElementSettings("stacker_"+e)},sectionJoiner:function(){const t=this.$element.data("id"),n=[],r=".elementor-element-"+t+" .bdt-ep-stacker";this.settings("section_list").forEach(e=>{n.push("#"+e.stacker_section_id)});let s,o=[];const i=document.querySelector(".elementor-top-section"),c=document.getElementsByClassName("e-con");function l(e,t){const n=[];for(const r in e){const s=e[r];t.indexOf(s)>-1&&n.push(s)}return n}i&&(s=document.querySelectorAll(".elementor-top-section")),c.length>0&&(s=document.querySelectorAll(".elementor-element.e-con")),s.forEach(e=>{const t=e.getAttribute("id");o.push("#"+t)});const a=function(){const e=Array.prototype.slice.apply(arguments).slice(1);let t=arguments[0];for(const n in e)if(t=l(e[n],t),t==[])break;return t}(o,n).toString();if(a){const t=document.querySelectorAll(a);e(r).append(t)}},StackerOpacity:function(){},StackerScript:function(){let e;gsap.registerPlugin(ScrollTrigger);const t=".elementor-element-"+this.$element.data("id");let n="yes"==this.settings("stacking_opacity"),r=this.settings("stacking_space")?this.settings("stacking_space").size:40,s=this.settings("scroller_start")?this.settings("scroller_start").size+"%":"10%",o="yes"==this.settings("3d_effect"),i=this.settings("scale_ratio")?this.settings("scale_ratio").size/100:.85;e=gsap.utils.toArray(t+" .bdt-ep-stacker > .elementor-element"),e.forEach((t,c)=>{let l=ScrollTrigger.create({trigger:e[e.length-1],start:`top-=${0*c} ${s}`});n&&(gsap.set(t,{opacity:0}),gsap.from(t,{opacity:1,scrollTrigger:{trigger:t,scrub:!0,start:`top-=${r*c} ${s}`,end:()=>l.start+0},ease:"none"})),o&&(gsap.set(t,{scale:1,y:0,transformOrigin:"center top",zIndex:c+1}),gsap.to(t,{scale:Math.pow(i,e.length-1-c),y:0,scrollTrigger:{trigger:t,scrub:!0,start:`top-=${r*c} ${s}`,end:()=>l.start+0},ease:"none"})),ScrollTrigger.create({trigger:t,start:`top-=${r*c} ${s}`,end:()=>l.start+0,endTrigger:e[e.length-1],pin:!0,pinSpacing:!1,ease:"none",toggleActions:"restart none none reverse"})})},run:function(){const t=".elementor-element-"+this.$element.data("id")+" .bdt-ep-stacker";Boolean(elementorFrontend.isEditMode())?e(t).append('<div class="bdt-alert-warning" bdt-alert><a class="bdt-alert-close" bdt-close></a><p>Stacker Widget Placed Here (Only Visible for Editor).</p></div>'):(this.sectionJoiner(),this.StackerScript())}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-stacker.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);!function(){"use strict";const t=function(t,n){const e=t.find(".bdt-static-carousel");if(!e.length)return;const o=e.find(".swiper-carousel"),i=e.data("settings"),r=elementorFrontend.utils.swiper;!async function(){await new r(o,i),i.pauseOnHover&&n(o).hover(function(){this.swiper.autoplay.stop()},function(){this.swiper.autoplay.start()})}()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-static-carousel.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";const t=function(t,n){const e=t.find(".bdt-static-grid-tab");if(!e.length)return;const d=e.find(".gridtab"),i=e.data("settings");n(d).gridtab(i)};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-static-grid-tab.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,e){var n=t.find(".bdt-step-flow"),o=n.find(".bdt-title-separator-wrapper > img");n.length&&epObserveTarget(t[0],function(){bdtUIkit.svg(o,{strokeAnimation:!0})},{root:null,rootMargin:"0px",threshold:.8})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-step-flow.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,i){var e=(y=t.find(".bdt-switchers")).data("settings"),n=y.data("activator"),d=y.data("bdt-link-widget"),c=Boolean(elementorFrontend.isEditMode());if(n){const g=`#bdt-switcher-activator-${n.id}`,f=`#bdt-switcher-${n.id}`;function k(t){if(bdtUIkit.switcher(g).show(t),bdtUIkit.switcher(f).show(t),d){const e=0===t;i(d.linkWidgetTargetA).css({opacity:e?1:0,display:e?"block":"none"}),i(d.linkWidgetTargetB).css({opacity:e?0:1,display:e?"none":"block"})}}bdtUIkit.util.on(n.switchA,"click",()=>k(0)),bdtUIkit.util.on(n.switchB,"click",()=>k(1))}if(void 0!==e&&!1===c){var s=y.find(".bdt-switcher > div > div > .bdt-switcher-item-a"),o=y.find(".bdt-switcher > div > div > .bdt-switcher-item-b"),a=i(".elementor").find(".elementor-element#"+e["switch-a-content"]),r=i(".elementor").find(".elementor-element#"+e["switch-b-content"]);if(!0!==e.positionUnchanged&&(s.length&&a.length&&a.appendTo(s),o.length&&r.length&&r.appendTo(o)),1==e.positionUnchanged){i("#bdt-tabs-"+e.id).find(".bdt-switcher").remove();var l=i("#"+e["switch-a-content"]),w=i("#"+e["switch-b-content"]);i("#"+e["switch-a-content"]).parent().append(`<div id="bdt-switcher-${e.id}" class="bdt-switcher bdt-switcher-item-content" style="width:100%;"></div>`),l.appendTo(i("#bdt-switcher-"+e.id)),w.appendTo(i("#bdt-switcher-"+e.id));var h,b="";"a"==e.defaultActive?h="bdt-active":b="bdt-active",i("#"+e["switch-a-content"]).wrapAll('<div class="bdt-switcher-item-content-inner '+h+'"></div>'),i("#"+e["switch-b-content"]).wrapAll('<div class="bdt-switcher-item-content-inner '+b+'"></div>')}}if(void 0!==d&&!1===c){var p=i(d.linkWidgetTargetA),v=i(d.linkWidgetTargetB),y="#bdt-switcher-"+d.id;"a"==d.defaultActive?(p.css({opacity:1,display:"block"}),v.css({opacity:0,display:"none"})):(p.css({opacity:0,display:"none"}),v.css({opacity:1,display:"block"})),p.css({"grid-row-start":1,"grid-column-start":1}),v.css({"grid-row-start":1,"grid-column-start":1}),p.parent().css({display:"grid"}),bdtUIkit.util.on(y,"shown",function(t){0==bdtUIkit.util.index(t.target)?(p.css({opacity:1,display:"block"}),v.css({opacity:0,display:"none"})):(v.css({opacity:1,display:"block"}),p.css({opacity:0,display:"none"}))})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-switcher.default",t)})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{}},settings:function(e){return this.getElementSettings("svg_blob_"+e)},run:function(){var e=this.getDefaultSettings(),t=this.$element.find(".bdt-svg-blob");if(!t.length)return;const n=t.data("settings");e={targets:t.find("path")[0],d:[{value:n||[]}],easing:"easeOutQuad",direction:"alternate",loop:"yes"===this.settings("loop"),duration:""!==this.settings("duration.size")?this.settings("duration.size"):2e3,delay:""!==this.settings("delay.size")?this.settings("delay.size"):10,endDelay:""!==this.settings("end_delay.size")?this.settings("end_delay.size"):10},anime(e)}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-svg-blob.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var t,i=elementorModules.frontend.handlers.Base;t=i.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{}},onElementChange:debounce(function(e){-1!==e.indexOf("svg_image_")&&this.run()},400),settings:function(e){return this.getElementSettings("svg_image_"+e)},killExistingAnimations:function(e){ScrollTrigger.getAll().forEach(function(t){t.trigger&&t.trigger.classList&&t.trigger.classList.contains("elementor-element-"+e)&&t.kill()})},run:function(){gsap.registerPlugin(DrawSVGPlugin,ScrollTrigger);var t=this.$element.data("id"),i=this.$element.find(".bdt-svg-image");if(i.length&&"yes"===this.settings("draw")){this.killExistingAnimations(t);var n=this.getDefaultSettings(),s=i.find("path, circle, rect, ellipse, polyline, line, polygon");if(s.length){var r=this.settings("drawer_type");n.repeat="yes"===this.settings("repeat")?-1:0,n.yoyo="yes"===this.settings("yoyo");var o=(this.settings("animation_duration.size")||100)/100,a=void 0!==this.settings("animation_start_point.size")?this.settings("animation_start_point.size")+"%":"0%",g=void 0!==this.settings("animation_end_point.size")?this.settings("animation_end_point.size")+"%":"100%",l="yes"===this.settings("draw_live");l&&(a+=" live",g+=" live");var d,m=this.settings("easing"),u=m&&"none"!==m?m:"linear",f={each:void 0!==this.settings("stagger.size")?this.settings("stagger.size"):.1,from:this.settings("stagger_from")||"start"},h=gsap.timeline(n);if("automatic"===r){var c=this.settings("anim_rev")?"pause play reverse":"none",v="custom"!==this.settings("animate_trigger")?this.settings("animate_trigger"):(this.settings("animate_offset.size")||50)+"%";n.scrollTrigger={trigger:".elementor-element-"+t,toggleActions:"play "+c,start:"top "+v},h=gsap.timeline(n)}if("hover"===r&&(h.pause(),i.off("mouseenter mouseleave").on("mouseenter",function(){h.play()}).on("mouseleave",function(){h.pause()})),"viewport"===r){var p=void 0!==this.settings("animate_offset.size")?this.settings("animate_offset.size"):50,_=void 0!==this.settings("scroll_length.size")?this.settings("scroll_length.size"):600,w=void 0!==this.settings("scrub.size")?this.settings("scrub.size"):1;w=0===w||w,(h=gsap.timeline({repeat:1,yoyo:!0,scrollTrigger:{trigger:".elementor-element-"+t,start:"top "+p+"%",end:"+="+_,scrub:w,invalidateOnRefresh:!0}})).fromTo(s,{drawSVG:"0%"+(l?" live":"")},{duration:1,drawSVG:"100%"+(l?" live":""),stagger:f,ease:u})}else h.fromTo(s,{drawSVG:a},{duration:o,drawSVG:g,stagger:f,ease:u});if(!window.__epSvgImageResizeBound)window.__epSvgImageResizeBound=!0,e(window).on("resize.ep-svg-image",function(){clearTimeout(d),d=setTimeout(function(){"undefined"!=typeof ScrollTrigger&&ScrollTrigger.refresh()},150)})}}}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-svg-image.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{}},onElementChange:debounce(function(e){-1!==e.indexOf("svg_maps")&&this.run()},400),settings:function(e){return this.getElementSettings("svg_maps_"+e)},createColorAxisArray:function(){const e=this.settings("region_axis_color"),t=[];return e.forEach(e=>{""!==e.axis_color&&t.push(e.axis_color)}),t},createCustomRegion:function(e,t,n){const i=this.settings("array_regions"),o=[];e.addColumn("string","Country"),e.addColumn("number","Population"),e.addColumn({type:"string",role:"tooltip",p:{html:!0}}),i.forEach((i,s)=>{o.push(i.active_region_color?i.active_region_color:"#146C94"),t.colors=o,e.addRows([[{v:i.active_region_code,f:""!==i.active_region_name?i.active_region_name:i.active_region_code},s,i.active_tooltip_content]]),n[i.active_region_code]={url:i.region_link?i.region_link.url:"",target:i.region_link&&!i.region_link.is_external?"_self":""}})},createDataVisRegions:function(e){const t=[],n=this.settings("region_value_title"),i=this.settings("data_visual_array_regions");return t[0]=["Country",n],i.forEach(n=>{t.push([n.visual_data_region_name,n.visual_data_value]),e[n.visual_data_region_name]={url:n.visual_data_region_link?n.visual_data_region_link.url:"",target:n.visual_data_region_link&&!n.visual_data_region_link.is_external?"_self":""}}),{data:google.visualization.arrayToDataTable(t)}},run:function(){const e=this;var t=this.getDefaultSettings(),n=this.$element.data("id");if(!this.$element.find(".bdt-svg-maps").length)return;const i=document.getElementById(`bdt-svg-maps-${n}`);google.charts.load("current",{packages:["geochart"]}),google.charts.setOnLoadCallback(function(){var n=new google.visualization.DataTable;let o=[],s=[];switch(e.settings("region_type")){case"continent":t.region=e.settings("display_region_continent")?e.settings("display_region_continent"):"002";break;case"subcontinent":t.region=e.settings("display_region_sub_continent")?e.settings("display_region_sub_continent"):"015";break;case"countries":t.region=e.settings("display_region_countries")?e.settings("display_region_countries"):"AU";break;default:t.region="world"}t.width=e.settings("width")?e.settings("width").size:600,t.height=e.settings("height")?e.settings("height").size:400,t.backgroundColor=e.settings("background_color")?e.settings("background_color"):"#81d4fa",t.datalessRegionColor=e.settings("dataless_region_color")?e.settings("dataless_region_color"):"#f8bbd0",t.tooltip={isHtml:!0,trigger:e.settings("tooltip_trigger")?e.settings("tooltip_trigger"):"focus",textStyle:{bold:"yes"===e.settings("tooltip_font_weight"),italic:"yes"===e.settings("tooltip_font_style")}},"yes"!==e.settings("show_legend")?t.legend="none":t.legend={textStyle:{color:e.settings("legend_font_color")?e.settings("legend_font_color"):"#000000",fontSize:e.settings("legend_font_size")?e.settings("legend_font_size"):16,bold:"yes"===e.settings("legend_font_weight"),italic:"yes"===e.settings("legend_font_style")}};if("regions"===e.settings("display_mode"))if("custom"===e.settings("display_type"))e.createCustomRegion(n,t,o);else{const i=e.createDataVisRegions(o);n=i.data,t.colorAxis={colors:e.createColorAxisArray()}}var a=new google.visualization.GeoChart(i);google.visualization.events.addListener(a,"select",()=>{const t=a.getSelection();if(1===t.length){const i=t[0].row,a=n.getValue(i,0);switch(e.settings("display_mode")){case"regions":""!==o[a].url&&window.open(o[a].url,o[a].target);break;case"markers":""!==s[a].url&&window.open(s[a].url,s[a].target)}}}),a.draw(n,t)})}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-svg-maps.default",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,e){const n=t.find(".bdt-tabs-area"),i=n.find(".bdt-tabs"),o=i.find(".bdt-tab"),a=Boolean(elementorFrontend.isEditMode());if(!n.length)return;const d=i.data("settings"),s=d.hashScrollspyTime,c=d.hashTopOffset,r=d.navStickyOffset;"undefined"==r&&(r=10);const l=function(t){t&&t.length&&"undefined"!=typeof elementorFrontend&&(t.find(".elementor-element").each(function(){elementorFrontend.elementsHandler.runReadyTrigger(e(this))}),t.find(".swiper").each(function(){this.swiper&&"function"==typeof this.swiper.update&&this.swiper.update()}),window.dispatchEvent(new Event("resize")))},f=n.find(".bdt-switcher.bdt-switcher-item-content");function h(t,n,i,o){if(window.location.hash){var a=decodeURIComponent(window.location.hash.substring(1)),d=e(t).find("[data-title]").filter(function(){return e.trim(e(this).attr("data-title")).toLowerCase()===e.trim(a).toLowerCase()});if(d.length){var s=d.closest(t).attr("id");e("html, body").animate({easing:"slow",scrollTop:e("#"+s).offset().top-o},i,function(){}).promise().then(function(){try{bdtUIkit.tab(n).show(d.data("tab-index"))}catch{}})}}}function u(t,n,i){var o=window.location.hash.substring(1),a=decodeURIComponent(o),d=e(t).find("[data-title]").filter(function(){return e(this).attr("data-title").toLowerCase()===a.toLowerCase()});if(d.length){var s=d.closest(t).attr("id");e("html, body").animate({easing:"slow",scrollTop:e("#"+s).offset().top-i},1e3,function(){}).promise().then(function(){bdtUIkit.tab(n).show(d.data("tab-index"))})}}f.length&&(bdtUIkit.util.on(f,"shown",function(t){l(e(t.target))}),o.length&&bdtUIkit.util.on(o,"shown",function(){l(f.children(".bdt-active").first())}),l(f.children(".bdt-active").first())),t.find(".bdt-template-modal-iframe-edit-link").each(function(){var t=e(e(this).data("modal-element"));e(this).on("click",function(e){bdtUIkit.modal(t).show()}),t.on("beforehide",function(){window.parent.location.reload()})}),"yes"==d.activeHash&&"bdt-sticky-custom"!=d.status&&(e(document).ready(function(){setTimeout(function(){h(i,o,s,c)},100)}),e(window).on("load",function(){setTimeout(function(){h(i,o,s,c)},100)}),e(i).find(".bdt-tabs-item-title").off("click").on("click",function(t){t.preventDefault();const n=e.trim(e(this).attr("data-title")),i=encodeURIComponent(n);window.location.hash=i,history.replaceState(null,null,"#"+n)}),e(window).on("hashchange",function(t){h(i,o,s,c)})),"bdt-sticky-custom"==d.status&&(e(i).find(".bdt-tabs-item-title").bind().click("click",function(t){if("yes"==d.activeHash){const t=e.trim(e(this).attr("data-title")),n=encodeURIComponent(t);window.location.hash=n,history.replaceState(null,null,"#"+t)}else e("html, body").animate({easing:"slow",scrollTop:e(i).offset().top-r},500,function(){})}),"yes"==d.activeHash&&"bdt-sticky-custom"==d.status&&(e(document).ready(function(){window.location.hash&&setTimeout(function(){u(i,o,r)},100)}),e(window).on("load",function(){window.location.hash&&setTimeout(function(){u(i,o,r)},100)}),e(window).on("hashchange",function(t){u(i,o,r)})));var b=d.linkWidgetSettings,m=d.activeItem-1;if(void 0!==b&&!1===a&&(b.forEach(function(t,n){0==n&&(e("#bdt-tab-content-"+d.linkWidgetId).parent().remove(),e(t).parent().wrapInner('<div class="bdt-switcher-wrapper" />'),e(t).parent().wrapInner('<div id="bdt-tab-content-'+d.linkWidgetId+'" class="bdt-switcher bdt-switcher-item-content" />'),null==d.activeItem&&e(t).addClass("bdt-active")),void 0!==d.activeItem&&n==m&&e(t).addClass("bdt-active"),e(t).attr("data-content-id","tab-"+(n+1))}),o.find("a").on("click",function(){let t=e(this).data("tab-index");const n=e("#bdt-tab-content-"+d.linkWidgetId+">");n.removeClass("bdt-active");const i=n.eq(t).addClass("bdt-active");l(i)})),void 0!==d.sectionBg){if(void 0===d.sectionBgSelector)return;var w=(d.sectionBgSelector+"-ep-dynamic").substring(1);e(`#${w}-wrapper`).length&&e(`#${w}-wrapper`).remove();var p=`<div id="${w}-wrapper"  style="position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; left: 0;" >`;e(d.sectionBg).each(function(t){let e='<div class="bdt-hidden '+w+" bdt-animation-"+d.sectionBgAnim+'" style=" width: 100%; height: 100%; transition: all .5s;">';e+='<img src="'+d.sectionBg[t]+'" style=" height: 100%; width: 100%; object-fit: cover;" >',e+="</div>",p+=e}),p+="</div>",e(d.sectionBgSelector).prepend(p);var v=o.find(">.bdt-tabs-item.bdt-active").index();e(`.${w}:eq('${v}')`).removeClass("bdt-hidden"),n.find(".bdt-tabs-item-title").on("click",function(){let t=e(this).data("tab-index");e("."+w+":eq("+t+")").siblings().addClass("bdt-hidden"),e("."+w+":eq("+t+")").removeClass("bdt-hidden")})}var g=d.linkSectionSettings;void 0!==g&&!1===a&&g.forEach(function(t,n){let i=e("#bdt-tab-content-"+d.linkWidgetId),o=e(t);i.find(".bdt-tab-content-item:eq("+n+")").html(o)})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-tabs.default",t),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-acf-tabs.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){var t=e.find(".bdt-data-table"),o=t.data("settings"),a=t.find("> table"),d=Boolean(elementorFrontend.isEditMode());t.length&&(o.language=window.ElementPackConfig.data_table.language,d&&(DataTable.ext.errMode=function(e,n,t){console.log(t,n)}),a.DataTable(o))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-table.default",e)})}(jQuery,window.elementorFrontend);!function(t){"use strict";var o=function(t,o){var n=t.find(".bdt-table-of-content");if(n.length){var i=t.find(".table-of-content-layout-fixed").first();i.length&&!i.data("ep-toc-moved")&&(i.data("ep-toc-moved",!0),i.after('<div class="bdt-toc-fixed-placeholder" style="width:320px;min-height:1px;" aria-hidden="true"></div>'),i.appendTo("body"));var d=n.data("settings")||{};n.tocify(d),d.showAndHide&&(n.find(".tocify-subheader").hide(),n.on("click.toc-ep","li",function(){n.tocify("option","showAndHideOnScroll",!1),clearTimeout(n.data("ep-toc-scroll-lock")),n.data("ep-toc-scroll-lock",setTimeout(function(){n.tocify("option","showAndHideOnScroll",!0)},2500))})),d&&d.hashNavigation&&e(n)}};function e(o){var e=window.location.hash;e&&e.length>1&&setTimeout(function(){var n=t('[name="'+e.substring(1)+'"]');if(n.length){var i=o.data("settings"),d=i&&i.scrollTo||0;t("html, body").animate({scrollTop:n.offset().top-d},800)}},1500)}jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-table-of-content.default",o)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,o){var t=e.find(".bdt-tags-cloud");if(t.length){var n=t.data("settings"),a=n.basic_tags_bg_type,d=n.basic_tags_solid_bg;jQuery.fn.prettyTag=function(e){var n=jQuery.extend({randomColor:!0,tagicon:!0,tags_color:e.tags_color},e);return this.each(function(){if(1==n.tagicon){var e=o(this).find("a"),a=document.createElement("i");o(t).find(a).addClass("fas fa-tags").prependTo(e)}"random"==n.tags_color?function(){var e=o(t).find("li").length,a=o(t).find("a"),d=["#ff0084","#ff66ff","#43cea2","#D38312","#73C8A9","#9D50BB","#780206","#FF4E50","#ADD100","#0F2027","#00c6ff","#81D8D0","#5CB3FF","#95B9C7","#C11B17","#3B9C9C","#FF7F50","#FFD801","#79BAEC","#F660AB","#3D3C3A","#3EA055"],i=0,r=0;do{if(r>21&&(r=0),1==n.randomColor){var s=Math.floor(22*Math.random());o(a).eq(i).css({background:d[s]})}else o(a).eq(i).css({background:d[r]});i++,r++}while(i<=e)}():void 0!==d?o(t).find(".bdt-tags-list li a").css("background-color",d):o(t).find(".bdt-tags-list li a").css("background-color","#3FB8FD")})},o(t).find(".bdt-tags-list").prettyTag({tags_color:a})}},o=function(e,o){var t=e.find(".bdt-tags-cloud");if(t.length){var n=t.data("settings"),a=n.animationType||"hover",d=null,i=n.dragControl||!1,r=n.freezeActive||!1;"always"===a&&(d=[.2,.1],i=!1,r=!1);var s=n.maxSpeed||.05;0===s&&(s=.05);try{TagCanvas.Start(n.idmyCanvas,n.idTags,{textColour:n.textColour,outlineColour:n.outlineColour,reverse:!0,depth:n.depth,maxSpeed:s,initial:d,activeCursor:n.activeCursor,bgColour:n.bgColour,bgOutlineThickness:n.bgOutlineThickness,bgRadius:n.bgRadius,dragControl:i,fadeIn:n.fadeIn,freezeActive:r,outlineDash:n.outlineDash,outlineDashSpace:n.globe_outline_dash_space,outlineDashSpeed:n.globe_outline_dash_speed,outlineIncrease:n.outlineIncrease,outlineMethod:n.outlineMethod,outlineRadius:n.outlineRadius,outlineThickness:n.outlineThickness,shadow:n.shadow,shadowBlur:n.shadowBlur,wheelZoom:n.wheelZoom})}catch(e){document.getElementById(n.idCanvas).style.display="none"}}},t=function(e,o){var t=e.find(".bdt-tags-cloud");if(t.length){var n=t.data("settings"),a=e.find("#"+n.idCloud);jQuery(document).ready(function(){setTimeout(i,0)}),jQuery(window).on("resize",function(){var e=a.find("#awesomeCloud"+n.idCloud);e.length&&(e.remove(),a.children().show(),setTimeout(d,0))})}function d(){if(a.length){var e=a.width(),o=a.height();e<=0||o<=0?setTimeout(d,50):a.awesomeCloud({size:{grid:9,factor:1},color:{background:"rgba(156,145,255,0)",start:"#20f",end:"rgb(200,0,0)"},options:{background:"rgba(165,184,255,0)",color:n.cloudColor,sort:"highest"},font:"'Times New Roman', Times, serif",shape:n.cloudStyle})}}function i(){a.find("canvas").remove(),a.children().show(),d()}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-tags-cloud.default",e),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-tags-cloud.bdt-animated",o),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-tags-cloud.bdt-cloud",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){var i=e.find(".bdt-timeline-skin-olivier");i.length&&n(i).timeline({visibleItems:i.data("visible_items")})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-timeline.bdt-olivier",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,e){var n,i=t.find(".bdt-time-zone"),o=i.data("settings"),r=o.gmt,a=o.dateFormat,s="yes"===o.enableDST;if(i.length){var c={digitalClock:function(){n="12h"==o.timeHour?"%I:%M:%S %p":"%H:%M:%S";var t,i=o.dateFormat;i="emptyDate"!=i?'<div class="bdt-time-zone-date"> '+o.dateFormat+" </div>":"",t="emptyCountry"!=o.country?'<div  class="bdt-time-zone-country">'+o.country+"</div>":" ";const a=new Date;let c=r,d="";if(s&&this.isDSTActive(a,r)&&("local"!==r&&(c=parseFloat(r)+1),d='<small class="bdt-dst-indicator" style="margin-left: 5px;">DST</small>'),""!=r){var l={format:'<div class="bdt-time-zone-dt"> '+t+" "+i+' <div class="bdt-time-zone-time">'+n+d+"</div> </div>",timeNotation:o.timeHour,am_pm:!0,utc:"local"!=r,utcOffset:"local"==r?null:c};e("#"+o.id).jclock(l)}},isDSTActive:function(t,e){if(!s)return!1;if("local"===e){const e=new Date(t.getFullYear(),0,1).getTimezoneOffset(),n=new Date(t.getFullYear(),6,1).getTimezoneOffset();if(!(e!==n))return!1;return t.getTimezoneOffset()===Math.min(e,n)}const n=t.getMonth(),i=t.getDate(),o=parseFloat(e);if(o>=-12&&o<=14)if(o>0){if(n>2&&n<9)return!0;if(2===n&&i>=25)return!0;if(9===n&&i<=25)return!0}else if(o<0&&o>=-12){if(n<3||n>8)return!0;if(3===n&&i<=7)return!0;if(8===n&&i>=25)return!0}return!1},convertToTimeZoneAndFormat:function(t,e){const n=t.getTime()+6e4*t.getTimezoneOffset();let i=0;s&&this.isDSTActive(t,e)&&(i=1);const o=new Date(n+36e5*(parseFloat(e)+i));let r=o.getHours(),a=o.getMinutes(),c=o.getSeconds();const d=r>=12?"PM":"AM";return r=r%12||12,a=a<10?"0"+a:a,c=c<10?"0"+c:c,{hours:r,minutes:a,seconds:c,ampm:d,getDate:o.toDateString()}},formatDate:function(t,e){var n=new Date(t);return e?e.replace(/%([a-zA-Z])/g,function(t,e){switch(e){case"d":return String(n.getDate()).padStart(2,"0");case"m":return String(n.getMonth()+1).padStart(2,"0");case"y":return String(n.getFullYear()).slice(-2);case"Y":return String(n.getFullYear());case"b":return n.toLocaleString("default",{month:"short"});case"a":return n.toLocaleString("default",{weekday:"short"});default:return e}}):(console.error("Invalid format option"),"")},date:function(){let t=new Date,n=r,o=c.convertToTimeZoneAndFormat(t,n).getDate;const s=this.formatDate(o,a);e(i).find(".bdt-time-zone-date").text(s)},updateTime:function(){const t=this;setInterval(function(){let n=new Date,o="local"===r?n.getTimezoneOffset()/-60:r,a=c.convertToTimeZoneAndFormat(n,o),d=6*a.seconds,l=6*a.minutes+d/60,m=a.hours%12/12*360+90+l/12;e(i).find(".bdt-clock-hour").css("transform","rotate("+m+"deg)"),e(i).find(".bdt-clock-minute").css("transform","rotate("+l+"deg)"),e(i).find(".bdt-clock-second").css("transform","rotate("+d+"deg)"),e(i).find(".bdt-clock-am-pm").text(a.ampm);const f=t.isDSTActive(n,o),u=e(i).find(".bdt-dst-indicator");if(f&&s){if(0===u.length){const t=e('<small class="bdt-dst-indicator" style="margin-left: 5px;">DST</small>');e(i).find(".bdt-clock-am-pm").append(t)}}else u.remove()},1e3),this.date()},init:function(){"digital"==o.clock_style?this.digitalClock():this.updateTime()}};epObserveTarget(t[0],function(){c.init()})}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-time-zone.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){var r=e.find(".bdt-advanced-counter");r.length&&epObserveTarget(e[0],function(){var e=n(r).data("settings"),t={startVal:e.countStart??0,numerals:e.language,decimalPlaces:e.decimalPlaces??0,duration:e.duration??0,useEasing:null!==e.useEasing,useGrouping:null!==e.useGrouping,separator:e.counterSeparator??"",decimal:e.decimalSymbol??"",prefix:e.counterPrefix??"",suffix:e.counterSuffix??""},o=new CountUp(e.id,e.countNumber??0,t);o.error?console.error(o.error):o.start()},{root:null,rootMargin:"0px",threshold:.8})};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-total-count.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,i){var o=t.find(".bdt-show-hide-container"),e=o.find(".bdt-show-hide");if(o.length){var s=e.data("settings"),n=s.id,l=s.scrollspy_time,d=s.scrollspy_top_offset,a=s.by_widget_selector_status,h=s.toggle_initially_open,f=s.source_selector,g=s.widget_visibility,c=s.widget_visibility_tablet,b=s.widget_visibility_mobile,w=s.viewport_lg,r=s.viewport_md,u=g;"undefined"!=s.widget_visibility&&null!=s.widget_visibility||(u=g=0),"undefined"!=s.widget_visibility_tablet&&null!=s.widget_visibility_tablet||(c=g),"undefined"!=s.widget_visibility_mobile&&null!=s.widget_visibility_mobile||(b=g),i(window).resize(function(){u=window.outerWidth>w?g:window.outerWidth>r?c:b}),i(e).find(".bdt-show-hide-title").off("click").on("click",function(t){var o=i(this);!function(t,o,e,n,l){if("yes"===s.status_scrollspy&&"yes"!==a){if(i(t).find(".bdt-show-hide-item")){"yes"===s.hash_location&&(window.location.hash=i.trim(o));var d=i("#bdt-show-hide-"+o).find(".bdt-show-hide-item");i("html, body").animate({easing:"slow",scrollTop:i(d).offset().top-l},n,function(){}).promise().then(function(){i(e).siblings(".bdt-show-hide-content").slideToggle("slow",function(){i(e).parent().toggleClass("bdt-open")})})}}else"yes"===a?(i(e).parent().toggleClass("bdt-open"),i(e).siblings(".bdt-show-hide-content").slideToggle("slow",function(){})):i(e).siblings(".bdt-show-hide-content").slideToggle("slow",function(){i(e).parent().toggleClass("bdt-open")})}(e,n,o,l,d)}),i(window).on("load",function(){0!=i(o).find("#bdt-show-hide-"+window.location.hash.substring(1)).length&&"yes"===s.hash_location&&function(){n=window.location.hash.substring(1);var t=i("#bdt-show-hide-"+n).find(".bdt-show-hide-title"),o=i("#bdt-show-hide-"+n).find(".bdt-show-hide-item");i("html, body").animate({easing:"slow",scrollTop:i(o).offset().top-d},l,function(){}).promise().then(function(){i(t).siblings(".bdt-show-hide-content").slideToggle("slow",function(){i(t).parent().toggleClass("bdt-open")})})}()}),"yes"===a&&(i(e).find(".bdt-show-hide-title").on("click",function(){"yes"===s.status_scrollspy?i("html, body").animate({easing:"slow",scrollTop:i(f).offset().top-d},l,function(){}).promise().then(function(){i(f).hasClass("bdt-fold-close")?(i(f).removeClass("bdt-fold-close toggle_initially_open").addClass("bdt-fold-open"),_(i(f),500)):i(f).css({height:u+"px"}).addClass("bdt-fold-close").removeClass("bdt-fold-open")}):i(f).hasClass("bdt-fold-close")?(i(f).removeClass("bdt-fold-close toggle_initially_open").addClass("bdt-fold-open"),_(i(f),500)):i(f).css({height:u+"px",transition:"all 1s ease-in-out 0s"}).addClass("bdt-fold-close").removeClass("bdt-fold-open")}),"yes"===h?i(f).addClass("bdt-fold-toggle bdt-fold-open toggle_initially_open"):i(f).addClass("bdt-fold-toggle bdt-fold-close toggle_initially_open"),i(window).resize(function(){p()}),p())}function _(t,i){var o=t.height(),e=t.css("height","auto").height();t.height(o),t.stop().animate({height:e},i)}function p(){i(f).hasClass("bdt-fold-close")?i(f).css({height:u+"px"}):_(i(f),500)}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-toggle.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,e){var n=t.find(".bdt-twitter-carousel");if(!n.length)return;var o=n.find(".swiper-carousel"),r=n.data("settings");const i=elementorFrontend.utils.swiper;!async function(){await new i(o,r),r.pauseOnHover&&e(o).hover(function(){this.swiper.autoplay.stop()},function(){this.swiper.autoplay.start()})}()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-twitter-carousel.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var t=function(t,e){var n=t.find(".bdt-twitter-slider");if(!n.length)return;var r=n.find(".swiper-carousel"),i=n.data("settings");const o=elementorFrontend.utils.swiper;!async function(){await new o(r,i),i.pauseOnHover&&e(r).hover(function(){this.swiper.autoplay.stop()},function(){this.swiper.autoplay.start()})}()};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-twitter-slider.default",t)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,t){var n=e.find(".bdt-threesixty-product-viewer"),r=n.data("settings"),i=n.find("> .bdt-tspv-container"),o=n.find("> .bdt-tspv-fb");n.length&&("remote"===r.source_type&&(r.source=SpriteSpin.sourceArray(r.source,{frame:r.frame_limit,digits:r.image_digits})),epObserveTarget(e[0],function(){i.spritespin(r)}),o.on("click",function(e){e.preventDefault(),i.spritespin("api").requestFullscreen()}))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-threesixty-product-viewer.default",e)})}(jQuery,window.elementorFrontend);!function(e){"use strict";window.is_fb_loggedin=!1,window.is_google_loggedin=!1;var n=function(n){var t=n.find(".redirect_after_login").val();e.ajax({type:"POST",dataType:"json",url:element_pack_ajax_login_config.ajaxurl,data:n.serialize(),beforeSend:function(e){bdtUIkit.notification({message:"<div bdt-spinner></div> "+element_pack_ajax_login_config.loadingmessage,timeout:!1})},success:function(e){var i=n.find(".element-pack-google-recaptcha");if(i.length>0){var a=i.attr("data-widgetid");grecaptcha.reset(a),grecaptcha.execute(a)}1==e.loggedin?(bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:"<span bdt-icon='icon: check'></span> "+e.message,status:"primary"}),document.location.href=t):(bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:"<div class=\"bdt-flex\"><span bdt-icon='icon: warning'></span><span>"+e.message+"</span></div>",status:"warning"}))},error:function(e){bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:"<span bdt-icon='icon: warning'></span>"+element_pack_ajax_login_config.unknownerror,status:"warning"})}})},t=function(n){var t=n.find(".redirect_after_login").val();FB.api("/me",{fields:"id, name, first_name, last_name, email, link, gender, locale, picture"},function(n){var i=FB.getAuthResponse().userID,a=FB.getAuthResponse().accessToken;window.is_fb_loggedin=!0;var o={id:n.id,name:n.name,first_name:n.first_name,last_name:n.last_name,email:n.email,link:n.link};e.ajax({url:window.ElementPackConfig.ajaxurl,method:"post",data:{action:"element_pack_social_facebook_login",data:o,method:"post",dataType:"json",userID:i,security_string:a,lang:element_pack_ajax_login_config.language},dataType:"json",beforeSend:function(e){bdtUIkit.notification({message:"<div bdt-spinner></div> "+element_pack_ajax_login_config.loadingmessage,timeout:!1})},success:function(e){!0===e.success?void 0===t?location.reload():window.location=t:location.reload()},complete:function(e,n){bdtUIkit.notification.closeAll()}})})},i=function(){var n,t=e(".element-pack-google-recaptcha");t.length>0&&t.each(function(){var t=e(this),i=t.attr("data-widgetid");void 0!==i&&!1!==i||(n=grecaptcha.render(e(this).attr("id"),{sitekey:t.data("sitekey"),callback:function(e){""!==e&&t.append(jQuery("<input>",{type:"hidden",value:e,class:"g-recaptcha-response"}))}}),t.attr("data-widgetid",n))})};window.onLoadElementPackLoginCaptcha=i;var a=function(e,i){var a=e.find(".bdt-user-login"),o=e.find("form.bdt-user-login-form"),c=e.find(".element-pack-google-recaptcha"),l=a.find(".fb_btn_link"),d=a.find("#google_btn_link"),s=a.find(".redirect_after_login").val();if(o.length>0&&o.on("submit",function(e){e.preventDefault(),n(o)}),elementorFrontend.isEditMode()&&void 0===c.attr("data-widgetid")&&onLoadElementPackLoginCaptcha(),c.length>0&&grecaptcha.ready(function(){var e=c.attr("data-widgetid");grecaptcha.execute(e)}),l.length>0&&l.on("click",function(){is_fb_loggedin||FB.login(function(e){e.authResponse&&t(a)},{scope:"email"})}),d.length>0){var r=d.data("clientid");gapi.load("auth2",function(){gapi.auth2.init({client_id:r,cookiepolicy:"single_host_origin"}).attachClickHandler("google_btn_link",{},function(e){var n=e.getBasicProfile();n.getName(),n.getEmail();if(window.is_google_loggedin){var t=e.getAuthResponse().id_token;i.ajax({url:window.ElementPackConfig.ajaxurl,method:"post",data:{action:"element_pack_social_google_login",id_token:t},dataType:"json",beforeSend:function(e){bdtUIkit.notification({message:"<div bdt-spinner></div> "+element_pack_ajax_login_config.loadingmessage,timeout:!1})},success:function(e){!0===e.success&&(void 0===s?location.reload():window.location=s)},complete:function(e,n){bdtUIkit.notification.closeAll()}})}},function(e){})}),d.on("click",function(){window.is_google_loggedin=!0})}};e(document).on("click",".bdt-user-login .bdt-toggle-pass-wrapper",function(){var n=e(this).prev("input"),t=e(this).find("i");"password"===n.attr("type")?t.removeClass("ep-icon-eye-blocked").addClass("ep-icon-eye"):t.removeClass("ep-icon-eye").addClass("ep-icon-eye-blocked")}),e(document).on("click",".bdt-ep-logout-ajax",function(n){n.preventDefault();var t=e(this),i=t.data("redirect"),a=t.data("nonce");if(i){var o="undefined"!=typeof element_pack_ajax_login_config&&element_pack_ajax_login_config.ajaxurl?element_pack_ajax_login_config.ajaxurl:"undefined"!=typeof ElementPackConfig&&ElementPackConfig.ajaxurl?ElementPackConfig.ajaxurl:"";o?e.post(o,{action:"element_pack_ajax_logout",nonce:a}).done(function(e){e&&e.success?window.location.href=i:location.reload()}).fail(function(){location.reload()}):location.reload()}}),jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-login.default",a),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-login.bdt-dropdown",a),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-login.bdt-modal",a)})}(jQuery,window.elementorFrontend);!function(e){"use strict";var t=function(t,a){bdtUIkit.notification({message:"<div bdt-spinner></div>"+e(t).find(".bdt_spinner_message").val(),timeout:!1}),e(t).find("button.bdt-button").attr("disabled",!0);var n=e(t).find(".redirect_after_register").val();e.ajax({type:"POST",dataType:"json",url:element_pack_ajax_login_config.ajaxurl,data:{action:"element_pack_ajax_register",first_name:e(t).find(".first_name").val(),terms:e(t).find(".user_terms").is(":checked"),last_name:e(t).find(".last_name").val(),email:e(t).find(".user_email").val(),password:e(t).find(".user_password").val(),is_password_required:e(t).find(".is_password_required").val(),"g-recaptcha-response":e(t).find("#g-recaptcha-response").val(),widget_id:a.data("id"),page_id:e(t).find(".page_id").val(),security:e(t).find("#bdt-user-register-sc").val(),lang:element_pack_ajax_login_config.language},success:function(a){var i=t.find(".element-pack-google-recaptcha");if(i.length>0){var d=i.attr("data-widgetid");grecaptcha.reset(d),grecaptcha.execute(d)}!0===a.registered?(bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:"<div class=\"bdt-flex\"><span bdt-icon='icon: info'></span><span>"+a.message+"</span></div>",status:"primary"}),n&&(document.location.href=n)):(bdtUIkit.notification.closeAll(),bdtUIkit.notification({message:"<div class=\"bdt-flex\"><span bdt-icon='icon: warning'></span><span>"+a.message+"</span></div>",status:"warning"})),e(t).find("button.bdt-button").attr("disabled",!1)}})},a=function(){var t,a=e(".element-pack-google-recaptcha");a.length>0&&a.each(function(){var a=e(this),n=a.attr("data-widgetid");void 0!==n&&!1!==n||(t=grecaptcha.render(e(this).attr("id"),{sitekey:a.data("sitekey"),callback:function(e){""!==e&&a.append(jQuery("<input>",{type:"hidden",value:e,class:"g-recaptcha-response"}))}}),a.attr("data-widgetid",t))})};window.onLoadElementPackRegisterCaptcha=a;var n=function(e,a){var n=e.find(".bdt-user-register-widget"),i=e.find(".element-pack-google-recaptcha"),d=e.find(".bdt-user-register");n.on("submit",function(a){a.preventDefault(),t(n,e)}),elementorFrontend.isEditMode()&&void 0===i.attr("data-widgetid")&&onLoadElementPackRegisterCaptcha(),i.length>0&&grecaptcha.ready(function(){var e=i.attr("data-widgetid");grecaptcha.execute(e)});var r=d.data("settings");if(r&&void 0!==r.passStrength){var s=0,o=a("#"+r.id),c=a("#"+r.id).find(".bdt-progress-bar"),l={progress:function(e=0){e<=100&&a(c).css({width:e+"%"})},formula:function(e,t){return t<6?(s=0,a(c).css("background","#ff4d4d")):t<8?(s=10,a(c).css("background","#ffff1a")):null==e.match(/0|1|2|3|4|5|6|7|8|9/)&&null==e.match(/[A-Z]/)?(s=40,a(c).css("background","#ffc14d")):t<12?(s=50,a(c).css("background","#1aff1a")):(s=60,a(c).css("background","#1aff1a")),null!=e.match(/[a-z]/)&&(s+=10),null!=e.match(/[A-Z]/)&&(s+=10),null!=e.match(/0|1|2|3|4|5|6|7|8|9/)&&(s+=10),null!=e.match(/\W/)&&null!=e.match(/\D/)&&(s+=10),s},forceStrongPass:function(e){e>=70?a(o).find(".elementor-field-type-submit .bdt-button").prop("disabled",!1):a(o).find(".elementor-field-type-submit .bdt-button").prop("disabled",!0)},init:function(){e.find(".user_password").keyup(function(){var e=a(this).val(),t=e.length;let n=l.formula(e,t);l.progress(n),void 0!==r.forceStrongPass&&l.forceStrongPass(n)}),void 0!==r.forceStrongPass&&a(o).find(".elementor-field-type-submit .bdt-button").prop("disabled",!0),e.find(".confirm_password").keyup(function(){let t=a(this).val(),n=t.length,i=l.formula(t,n);l.progress(i),t!==e.find(".user_password").val()?(e.find(".bdt-user-register-pass-res").removeClass("bdt-hidden"),a(o).find(".elementor-field-type-submit .bdt-button").prop("disabled",!0)):(e.find(".bdt-user-register-pass-res").addClass("bdt-hidden"),void 0!==r.forceStrongPass&&l.forceStrongPass(i))})}};l.init()}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-register.default",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-register.bdt-dropdown",n),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-user-register.bdt-modal",n)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,s){var t=e.find(".bdt-vertical-menu");if(t.length){var i=t.data("settings"),n=s("#"+i.id);"inner"===i.submenuType?s(t).find(".bdt-menu-arrow").on("click",function(e){e.preventDefault(),e.stopPropagation();var t=s(this).closest("li"),i=t.find("> ul");if(i.length)if(t.siblings().each(function(){var e=s(this).find("> ul.mm-show");if(e.length){var t=e[0].scrollHeight;e.removeClass("mm-show").addClass("mm-collapsing").css("height",t+"px"),e[0].offsetHeight,setTimeout(function(){e.css("height","0px")},10),setTimeout(function(){e.removeClass("mm-collapsing").addClass("mm-collapse").css("height","")},360),s(this).removeClass("mm-active")}}),i.hasClass("mm-show")){t.removeClass("mm-active");var n=i[0].scrollHeight;i.removeClass("mm-show").addClass("mm-collapsing").css("height",n+"px"),i[0].offsetHeight,setTimeout(function(){i.css("height","0px")},10),setTimeout(function(){i.removeClass("mm-collapsing").addClass("mm-collapse").css("height","")},360)}else{t.addClass("mm-active"),i.removeClass("mm-collapse").addClass("mm-collapsing"),i.css("height","0px");var o=i[0].scrollHeight;setTimeout(function(){i.css("height",o+"px")},10),setTimeout(function(){i.removeClass("mm-collapsing").addClass("mm-show"),i.css("height","")},360)}}):n.metisMenu(),"yes"==i.removeParentLink&&s(t).find(".has-arrow").attr("href","javascript:void(0);")}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-vertical-menu.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){var t=e.find(".rvs-container");function o(){var e=t.data("__RVSlider__");e&&"function"==typeof e.resize&&e.resize()}t.length&&(n(t).rvslider(),setTimeout(o,150),setTimeout(o,500))};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-video-gallery.default",e)})}(jQuery,window.elementorFrontend);!function(){"use strict";var e=function(e,n){var t=e.find(".bdt-weather");if(t.length){var r=t.data("settings");!1!==r.dynamicBG&&(n(t).css("background-image","url("+r.url+")"),n(t).css({"background-size":"cover","background-position":"center center","background-repeat":"no-repeat"}))}};jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-weather.default",e)})}(jQuery,window.elementorFrontend);!function(t){"use strict";var e=function(t,e){var o=t.find(".bdt-ep-webhook-form.without-recaptcha"),i=o.find(".bdt-ep-webhook-form-form"),a=o.data("settings");o.length&&e(a.id).find(".bdt-ep-webhook-form-form").on("submit",function(t){t.preventDefault(),n(i)})};function n(e){var n=window.ElementPackConfig.contact_form,o=t(e).serialize();o=(o+="&action=submit_webhook_form")+"&nonce="+ElementPackConfig.nonce,t.ajax({url:ElementPackConfig.ajaxurl,type:"post",data:o,beforeSend:function(){bdtUIkit.notification({message:"<div bdt-spinner></div> "+n.sending_msg,timeout:!1,status:"primary"})},success:function(t){let e=JSON.parse(t);bdtUIkit.notification.closeAll(),1==e.success?bdtUIkit.notification({message:'<div bdt-icon="icon: check"></div> '+e.message}):bdtUIkit.notification({message:'<div bdt-icon="icon: close"></div> '+e.message})}})}window.elementPackWfGICCB=function(){var e=window.ElementPackConfig.contact_form;return new Promise(function(o,i){void 0===grecaptcha&&(bdtUIkit.notification({message:"<div bdt-spinner></div> "+e.captcha_nd,timeout:!1,status:"warning"}),i());var a=grecaptcha.getResponse();a||(bdtUIkit.notification({message:"<div bdt-spinner></div> "+e.captcha_nr,timeout:!1,status:"warning"}),i());var c=t("textarea.g-recaptcha-response").filter(function(){return t(this).val()===a}).closest("form.bdt-ep-webhook-form-form"),r=c.attr("action");r&&""!==r&&n(c),grecaptcha.reset()})},jQuery(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/bdt-webhook-form.default",e)})}(jQuery,window.elementorFrontend);(()=>{"use strict";window.addEventListener("elementor/frontend/init",()=>{const e=elementorModules.frontend.handlers.Base.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:debounce(function(e){-1!==e.indexOf("element_pack_agbg_")&&this.run()},400),settings:function(e){return this.getElementSettings(`element_pack_agbg_${e}`)},parseColor:function(e){if(/^rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*([\d.]*)\)$/.test(e)){const[,t,n,r,s="1"]=e.match(/^rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*([\d.]*)\)$/);if(1===parseFloat(s))return`#${((1<<24)+(parseInt(t,10)<<16)+(parseInt(n,10)<<8)+parseInt(r,10)).toString(16).slice(1)}`;return`rgba(${t}, ${n}, ${r}, .${s.toString().split(".")[1]||"0"})`}if(/^#([A-Fa-f0-9]{8})$/.test(e)){const t=e.match(/[A-Fa-f0-9]{2}/g).map(e=>parseInt(e,16)),n=parseFloat((t[3]/255).toFixed(2));if(1===n)return`#${e.slice(1,7)}`;const r=n.toString().split(".")[1]||"0";return`rgba(${t[0]}, ${t[1]}, ${t[2]}, .${r})`}if(/^#([A-Fa-f0-9]{6})$/.test(e))return e.toLowerCase();if(/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,?\s*([\d.]*)\)$/.test(e)){const[,t,n,r,s="1"]=e.match(/^hsla?\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,?\s*([\d.]*)\)$/);if(1===parseFloat(s))return`hsl(${t}, ${n}%, ${r}%)`;return`hsla(${t}, ${n}%, ${r}%, .${s.toString().split(".")[1]||"0"})`}return e},run:function(){if("yes"!==this.settings("show"))return;const e=this.$element.data("id"),t=document.querySelector(`.elementor-element-${e}`);if(!t)return;let n=t.querySelector(".bdt-animated-gradient-background");n||(n=document.createElement("canvas"),n.id=`canvas-basic-${e}`,n.className="bdt-animated-gradient-background",t.prepend(n));const r=n.id,s=this.settings("color_list").map(e=>[this.parseColor(e.start_color),this.parseColor(e.end_color)]),a=this.settings("direction")||"diagonal",i=this.settings("transitionSpeed.size")||5500;if("undefined"==typeof Granim)return void console.error("Granim library is not loaded");new Granim({element:`#${r}`,direction:a,isPausedWhenNotInView:!0,states:{"default-state":{gradients:s,transitionSpeed:i}}})}});elementorFrontend.hooks.addAction("frontend/element_ready/section",t=>{elementorFrontend.elementsHandler.addHandler(e,{$element:t})}),elementorFrontend.hooks.addAction("frontend/element_ready/container",t=>{elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})})();(()=>{"use strict";window.addEventListener("elementor/frontend/init",()=>{const e=elementorModules.frontend.handlers.Base.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{direction:"alternate"}},settings:function(e){return this.getElementSettings(`ep_bg_expand_${e}`)},onElementChange:debounce(function(e){-1!==e.indexOf("ep_bg_expand_")&&this.run()},400),run:function(){this.getDefaultSettings();let e=this.$element.get(0);if("yes"!==this.settings("enable"))return;if(this.settings("selector")){const n=this.settings("selector");e="string"==typeof n?document.querySelector(n):n}if(!e)return void console.error("Background expand element not found");if("undefined"==typeof gsap||!gsap.timeline)return void console.error("GSAP library is not loaded");gsap.timeline({scrollTrigger:{trigger:e,start:"top center",end:"100% bottom",toggleActions:"restart none none reverse",onEnter:()=>e.classList.add("bdt-bx-active"),onEnterBack:()=>e.classList.remove("bdt-bx-active")}})}});elementorFrontend.hooks.addAction("frontend/element_ready/section",n=>{elementorFrontend.elementsHandler.addHandler(e,{$element:n})}),elementorFrontend.hooks.addAction("frontend/element_ready/container",n=>{elementorFrontend.elementsHandler.addHandler(e,{$element:n})})})})();(()=>{"use strict";window.addEventListener("elementor/frontend/init",()=>{const e=elementorModules.frontend.handlers.Base.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{media:!1,easing:1,viewport:1}},onElementChange:debounce(function(e){-1===e.indexOf("section_parallax_")&&-1===e.indexOf("ep_parallax_")||this.run()},400),settings:function(e){return this.getElementSettings(e)},run:function(){if(elementorFrontend.isEditMode())return;this.bgParallax&&(this.bgParallax.$destroy(),this.bgParallax=null);const e=this.getElementSettings(),a=this.getDefaultSettings(),t=this.$element.data("id");if("yes"!==e.section_parallax_on)return;const n=document.querySelector(`.elementor-element-${t}`);if(n){if(e.section_parallax_x_value?.size&&(a.bgx=e.section_parallax_x_value.size||0),e.section_parallax_value?.size&&(a.bgy=e.section_parallax_value.size||0),e.ep_parallax_bg_colors&&((e.ep_parallax_bg_border_color_start||e.ep_parallax_bg_border_color_end)&&(a.borderColor=[e.ep_parallax_bg_border_color_start||0,e.ep_parallax_bg_border_color_end||0]),(e.ep_parallax_bg_color_start||e.ep_parallax_bg_color_end)&&(a.backgroundColor=[e.ep_parallax_bg_color_start||0,e.ep_parallax_bg_color_end||0])),e.section_parallax_x_value||e.section_parallax_value||e.ep_parallax_bg_colors){if(!window.bdtUIkit?.parallax)return void console.error("bdtUIkit.parallax is not available");this.bgParallax=window.bdtUIkit.parallax(n,a)}}else console.warn(`Element with ID ${t} not found`)},onDestroy:function(){this.bgParallax&&(this.bgParallax.$destroy(),this.bgParallax=null)}});elementorFrontend.hooks.addAction("frontend/element_ready/section",a=>{elementorFrontend.elementsHandler.addHandler(e,{$element:a})}),elementorFrontend.hooks.addAction("frontend/element_ready/container",a=>{elementorFrontend.elementsHandler.addHandler(e,{$element:a})})})})();(()=>{"use strict";const e=()=>{"undefined"!=typeof confetti&&document.querySelectorAll("[data-ep-confetti]").forEach(e=>{if("yes"===e.dataset.epConfettiFallbackInit)return;const t=(e=>{if(!e||"string"!=typeof e)return null;try{return JSON.parse(e)}catch(e){return null}})(e.getAttribute("data-ep-confetti"));if(!t||"yes"!==t.ep_widget_cf_confetti)return;e.dataset.epConfettiFallbackInit="yes";const i=(e,i)=>{const r=t[e];if(r&&"object"==typeof r&&Object.prototype.hasOwnProperty.call(r,"size")){const e=parseFloat(r.size);return Number.isNaN(e)?i:e}const n=parseFloat(r);return Number.isNaN(n)?i:n},r={resize:!0,useWorker:!0,particleCount:i("ep_widget_cf_particle_count",100),startVelocity:i("ep_widget_cf_start_velocity",45),spread:i("ep_widget_cf_spread",70),angle:i("ep_widget_cf_angle",90),scalar:i("ep_widget_cf_scalar",1)};""!==t.ep_widget_cf_z_index&&null!==t.ep_widget_cf_z_index&&void 0!==t.ep_widget_cf_z_index&&(r.zIndex=t.ep_widget_cf_z_index),"yes"===t.ep_widget_cf_origin&&(r.origin={x:i("ep_widget_cf_origin_x",.5),y:i("ep_widget_cf_origin_y",.6)});const n=t.ep_widget_cf_colors||"",s=t.ep_widget_cf_shapes||"",o=n?n.split(","):["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],a=s?s.split(/,|\|/):["circle","square"],_=(e,t)=>Math.random()*(t-e)+e;n&&(r.colors=o),s&&(r.shapes=a);const c=t.ep_widget_cf_shape_type||"basic";"emoji"===c&&t.ep_widget_cf_shapes_emoji&&"function"==typeof confetti.shapeFromText&&(r.shapes=t.ep_widget_cf_shapes_emoji.split(/,|\|/).map(e=>confetti.shapeFromText({text:e}))),"svg"===c&&t.ep_widget_cf_shapes_svg&&"function"==typeof confetti.shapeFromPath&&(r.shapes=t.ep_widget_cf_shapes_svg.split("|").map(e=>confetti.shapeFromPath({path:e,matrix:[.03597122302158273,0,0,.03597122302158273,-4.856115107913669,-5.071942446043165]})));const p=t.ep_widget_cf_trigger_type||"load",d=t.ep_widget_cf_type||"basic",f=()=>{if("random"===d&&(r.angle=_(55,i("ep_widget_cf_angle",90)),r.spread=_(50,i("ep_widget_cf_spread",70)),r.particleCount=_(55,i("ep_widget_cf_particle_count",100))),"fireworks"===d){const e=i("ep_widget_cf_fireworks_duration",1500),r=Date.now()+e,n={startVelocity:i("ep_widget_cf_start_velocity",30),spread:i("ep_widget_cf_spread",360),shapes:s?a:["circle","circle","square"],ticks:60,zIndex:t.ep_widget_cf_z_index||0},o=setInterval(()=>{const t=r-Date.now();if(t<=0)return void clearInterval(o);const i=t/e*50;confetti({...n,particleCount:i,origin:{x:_(.1,.3),y:Math.random()-.2}}),confetti({...n,particleCount:i,origin:{x:_(.7,.9),y:Math.random()-.2}})},250);return}if("school-pride"===d){const e=i("ep_widget_cf_fireworks_duration",1500),t=Date.now()+e,r=i("ep_widget_cf_angle",60),n=i("ep_widget_cf_spread",55),_=i("ep_widget_cf_particle_count",2),c=s?a:["circle","circle","square"],p=()=>{confetti({particleCount:_,angle:r,spread:n,shapes:c,colors:o,origin:{x:0}}),confetti({particleCount:_,angle:2*r,spread:n,shapes:c,colors:o,origin:{x:1}}),Date.now()<t&&requestAnimationFrame(p)};return void p()}if("snow"===d){let e=i("ep_widget_cf_fireworks_duration",1500);"yes"!==t.ep_widget_cf_anim_infinite||elementorFrontend.isEditMode()||(e=864e5);const r=Date.now()+e,n=i("ep_widget_cf_particle_count",1),c=i("ep_widget_cf_start_velocity",0),p=s?a:["circle"];let d=1;const f=()=>{const t=r-Date.now(),i=Math.max(200,t/e*500);d=Math.max(.8,d-.001),confetti({particleCount:n,startVelocity:c,ticks:i,origin:{x:Math.random(),y:Math.random()*d-.2},colors:o,shapes:p,gravity:_(.4,.6),scalar:_(.4,1),drift:_(-.4,.4)}),t>0&&requestAnimationFrame(f)};return void f()}confetti(r)};if("delay"!==p)if("ajax-success"!==p)if("onview"!==p||"function"!=typeof epObserveTarget){if("click"===p||"mouseenter"===p){const e=t.ep_widget_cf_trigger_selector;if(e){try{document.querySelectorAll(e).forEach(e=>e.addEventListener(p,f))}catch(e){}return}}f()}else epObserveTarget(e,f);else jQuery(document).on("ajaxComplete",f);else setTimeout(f,i("ep_widget_cf_trigger_delay",1e3))})};e(),window.addEventListener("elementor/frontend/init",()=>{const t=elementorModules.frontend.handlers.Base.extend({bindEvents(){this.run()},getDefaultSettings:()=>({resize:!0,useWorker:!0}),onElementChange:debounce(function(e){-1!==e.indexOf("ep_widget_cf_")&&this.run()},400),settings(e){return this.getElementSettings("ep_widget_cf_"+e)},parseJSON(e){if(!e||"string"!=typeof e)return null;try{return JSON.parse(e)}catch(e){return null}},unwrap(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"value")?this.unwrap(e.value):e},getByPath(e,t){if(e&&t)return t.split(".").reduce((e,t)=>{if(e&&"object"==typeof e&&t in e)return e[t]},e)},normalizeAtomicSettings(e){if(!e||"object"!=typeof e)return null;const t=this.unwrap(e.ep_widget_cf_confetti);if(!0!==t&&"yes"!==t&&1!==t&&"1"!==t)return null;const i=(e,t)=>{const i=this.unwrap(e);return i&&"object"==typeof i&&Object.prototype.hasOwnProperty.call(i,"size")?isNaN(parseFloat(i.size))?t:parseFloat(i.size):isNaN(parseFloat(i))?t:parseFloat(i)},r=(e,t)=>{const i=this.unwrap(e);return"string"==typeof i&&""!==i?i:t},n=e=>{const t=this.unwrap(e);return!0===t||"yes"===t||1===t||"1"===t?"yes":""};return{ep_widget_cf_confetti:"yes",ep_widget_cf_type:r(e.ep_widget_cf_type,"basic"),ep_widget_cf_fireworks_duration:{size:i(e.ep_widget_cf_fireworks_duration,1500)},ep_widget_cf_anim_infinite:n(e.ep_widget_cf_anim_infinite),ep_widget_cf_particle_count:{size:i(e.ep_widget_cf_particle_count,100)},ep_widget_cf_start_velocity:{size:i(e.ep_widget_cf_start_velocity,45)},ep_widget_cf_spread:{size:i(e.ep_widget_cf_spread,70)},ep_widget_cf_angle:{size:i(e.ep_widget_cf_angle,90)},ep_widget_cf_colors:r(e.ep_widget_cf_colors,""),ep_widget_cf_shape_type:r(e.ep_widget_cf_shape_type,"basic"),ep_widget_cf_shapes:r(e.ep_widget_cf_shapes,"square|circle"),ep_widget_cf_shapes_emoji:r(e.ep_widget_cf_shapes_emoji,"🎃|🎄|💜"),ep_widget_cf_shapes_svg:r(e.ep_widget_cf_shapes_svg,""),ep_widget_cf_scalar:{size:i(e.ep_widget_cf_scalar,1)},ep_widget_cf_origin:n(e.ep_widget_cf_origin),ep_widget_cf_origin_x:{size:i(e.ep_widget_cf_origin_x,.5)},ep_widget_cf_origin_y:{size:i(e.ep_widget_cf_origin_y,.6)},ep_widget_cf_trigger_type:r(e.ep_widget_cf_trigger_type,"load"),ep_widget_cf_trigger_selector:r(e.ep_widget_cf_trigger_selector,""),ep_widget_cf_trigger_delay:{size:i(e.ep_widget_cf_trigger_delay,3e3)},ep_widget_cf_z_index:this.unwrap(e.ep_widget_cf_z_index)}},getAtomicSettingsFromElement(e){if(!e)return null;const t=e.querySelector("[data-ep-confetti]")||e.closest("[data-ep-confetti]");if(!t)return null;const i=this.parseJSON(t.getAttribute("data-ep-confetti"));return i&&Object.prototype.hasOwnProperty.call(i,"ep_widget_cf_confetti")?this.normalizeAtomicSettings(i)||i:null},randomInRange:(e,t)=>Math.random()*(t-e)+e,run(){const e=this.$element,t=this.getAtomicSettingsFromElement(e&&e[0]?e[0]:null),i=e=>t?this.getByPath(t,"ep_widget_cf_"+e):this.settings(e);if("yes"!==i("confetti"))return;const r=this.getDefaultSettings();i("z_index")&&(r.zIndex=i("z_index")),i("particle_count.size")&&(r.particleCount=i("particle_count.size")||100),i("start_velocity.size")&&(r.startVelocity=i("start_velocity.size")||45),i("spread.size")&&(r.spread=i("spread.size")||70),i("scalar.size")&&(r.scalar=i("scalar.size")||1),i("angle.size")&&(r.angle=i("angle.size")||90),i("origin")&&(i("origin_x.size")||i("origin_y.size"))&&(r.origin={x:i("origin_x.size")||.5,y:i("origin_y.size")||.6});const n=i("colors")||"",s=i("shapes")||"",o=n?n.split(","):["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],a=s?s.split(/,|\|/):["circle","square"];n&&(r.colors=o),s&&(r.shapes=a);const _=i("shape_type");"emoji"===_&&i("shapes_emoji")&&(r.shapes=i("shapes_emoji").split(/,|\|/).map(e=>confetti.shapeFromText({text:e}))),"svg"===_&&i("shapes_svg")&&(r.shapes=i("shapes_svg").split("|").map(e=>confetti.shapeFromPath({path:e,matrix:[.03597122302158273,0,0,.03597122302158273,-4.856115107913669,-5.071942446043165]})));const c=i("type"),p=i("trigger_type"),d=()=>{if("random"===c&&(r.angle=this.randomInRange(55,i("angle.size")||90),r.spread=this.randomInRange(50,i("spread.size")||70),r.particleCount=this.randomInRange(55,i("particle_count.size")||100)),"fireworks"===c){const e=i("fireworks_duration.size")||1500,t=Date.now()+e,r={startVelocity:i("start_velocity.size")||30,spread:i("spread.size")||360,shapes:s?a:["circle","circle","square"],ticks:60,zIndex:i("z_index")||0},n=setInterval(()=>{const i=t-Date.now();if(i<=0)return void clearInterval(n);const s=i/e*50;confetti({...r,particleCount:s,origin:{x:this.randomInRange(.1,.3),y:Math.random()-.2}}),confetti({...r,particleCount:s,origin:{x:this.randomInRange(.7,.9),y:Math.random()-.2}})},250)}if("school-pride"===c){const e=i("fireworks_duration.size")||1500,t=Date.now()+e,r=i("angle.size")||60,n=i("spread.size")||55,_=i("particle_count.size")||2,c=s?a:["circle","circle","square"],p=()=>{confetti({particleCount:_,angle:r,spread:n,shapes:c,colors:o,origin:{x:0}}),confetti({particleCount:_,angle:2*r,spread:n,shapes:c,colors:o,origin:{x:1}}),Date.now()<t&&requestAnimationFrame(p)};p()}if("snow"===c){let e=i("fireworks_duration.size")||1500;"yes"!==i("anim_infinite")||elementorFrontend.isEditMode()||(e=864e5);const t=Date.now()+e,r=i("particle_count.size")||1,n=i("start_velocity.size")||0,_=s?a:["circle"];let c=1;const p=()=>{const i=t-Date.now(),s=Math.max(200,i/e*500);c=Math.max(.8,c-.001),confetti({particleCount:r,startVelocity:n,ticks:s,origin:{x:Math.random(),y:Math.random()*c-.2},colors:o,shapes:_,gravity:this.randomInRange(.4,.6),scalar:this.randomInRange(.4,1),drift:this.randomInRange(-.4,.4)}),i>0&&requestAnimationFrame(p)};p()}"basic"!==c&&"random"!==c||(this.instance=confetti(r))};if("click"===p||"mouseenter"===p){const e=i("trigger_selector");if(e)try{document.querySelectorAll(e).forEach(e=>{e.addEventListener(p,d)})}catch(t){console.error("Invalid confetti trigger selector:",e,t)}}else"ajax-success"===p?jQuery(document).on("ajaxComplete",d):"delay"===p?setTimeout(d,i("trigger_delay.size")||1e3):"onview"===p?epObserveTarget(e[0],d):d()}}),i=e=>{elementorFrontend.elementsHandler.addHandler(t,{$element:e})};elementorFrontend.hooks.addAction("frontend/element_ready/widget",i),elementorFrontend.hooks.addAction("frontend/element_ready/section",i),elementorFrontend.hooks.addAction("frontend/element_ready/container",i),e(),window.setTimeout(e,300),window.setTimeout(e,1e3)})})();!function(e){e(window).on("elementor/frontend/init",function(){let t,s=elementorModules.frontend.handlers.Base;t=s.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{}},onElementChange:debounce(function(e){-1!==e.indexOf("element_pack_cursor_effects_")&&this.run()},400),settings:function(e){return this.getElementSettings("element_pack_cursor_effects_"+e)},copyCursorVarsToWrapper:function(e,t){var s=this.$element[0],r=window.getComputedStyle(s);if(["cursor-ball-color","cursor-ball-size","cursor-circle-color","cursor-circle-size","cursor-text-label","cursor-image-size"].forEach(function(t){var s=r.getPropertyValue("--"+t).trim();s&&e.style.setProperty("--"+t,s)}),"image"===t){var i=this.$element.attr("data-bdt-cursor-image-size"),n=this.settings("image_size"),o=i;!o&&n&&n.size&&(o=n.size+(n.unit||"px")),o||(o=r.getPropertyValue("--cursor-image-size").trim()),o&&e.style.setProperty("--cursor-image-size",o)}},applyImageSize:function(e){var t=e.style.getPropertyValue("--cursor-image-size").trim();if(t||(t=this.$element.attr("data-bdt-cursor-image-size")),!t){var s=this.settings("image_size");s&&s.size&&(t=s.size+(s.unit||"px"))}t&&(e.style.setProperty("--cursor-image-size",t),e.querySelectorAll(".bdt-cursor-image").forEach(function(e){e.style.width=t,e.style.height=t,e.style.maxWidth="none"}))},run:function(){var t=this.$element.data("id"),s="bdt-cursor-effects-wrap-"+t;if("yes"!==this.settings("show")){var r=document.getElementById(s);return void(r&&r.remove())}const i="yes"===this.settings("disable_on_mobile"),n=window.innerWidth<=767;if(i&&n){var o=document.getElementById(s);return void(o&&o.remove())}var a=this.getDefaultSettings(),d=".elementor-element-"+t,c=this.$element,l=this.settings("style"),u=this.settings("source"),m="bdt-ep-cursor-gsap-"+t,f=c[0],g="image"===u&&"yes"===this.settings("image_gsap_animation")&&c.hasClass("cursor-effects-smooth-animation-yes");if(!g){var p=document.getElementById(m);p&&p.remove(),(v=document.getElementById(s))&&v.remove(),f._bdtGsapTicker&&(gsap.ticker.remove(f._bdtGsapTicker),f._bdtGsapTicker=null),f._bdtGsapHandlers&&(f.removeEventListener("mousemove",f._bdtGsapHandlers.move),f.removeEventListener("mouseleave",f._bdtGsapHandlers.leave),f._bdtGsapHandlers=null)}if(g){var v;(v=document.getElementById(s))&&v.remove();var b=this.settings("image_src.url"),h=this.settings("gsap_width.size")||385,y=this.settings("gsap_height.size")||280,_=document.getElementById(m);_&&_.remove(),e("body").append('<div id="'+m+'" class="bdt-cursor-gsap-gallery" style="position:fixed;top:0;left:0;width:'+h+"px;height:"+y+'px;z-index:9999;overflow:hidden;pointer-events:none;will-change:transform;"><img class="bdt-cursor-image" src="'+b+'" style="width:100%;height:100%;object-fit:cover;display:block;"></div>');var w=document.getElementById(m);gsap.set(w,{autoAlpha:0,xPercent:-50,yPercent:-50}),f._bdtGsapHandlers&&(f.removeEventListener("mousemove",f._bdtGsapHandlers.move),f.removeEventListener("mouseleave",f._bdtGsapHandlers.leave));var z=gsap.quickTo(w,"x",{duration:.5,ease:"power3.out"}),E=gsap.quickTo(w,"y",{duration:.5,ease:"power3.out"}),x=!1,H=function(e){z(e.clientX),E(e.clientY),x||(x=!0,gsap.to(w,{autoAlpha:1,duration:.4,ease:"power2.out"}))},k=function(){x=!1,gsap.to(w,{autoAlpha:0,duration:.3,ease:"power2.in"})};return f._bdtGsapHandlers={move:H,leave:k},f.addEventListener("mousemove",H),void f.addEventListener("mouseleave",k)}var G="";if("image"===u)G='<div class="bdt-cursor-effects"><div id="bdt-ep-cursor-ball-effects-'+t+'" class="ep-cursor-ball"><img class="bdt-cursor-image" src="'+this.settings("image_src.url")+'"></div></div>';else if("icons"===u){var I=this.settings("icons.value.url"),B=this.settings("icons.value");G=void 0!==I?'<div class="bdt-cursor-effects"><div id="bdt-ep-cursor-ball-effects-'+t+'" class="ep-cursor-ball"><img class="bdt-cursor-image" src="'+I+'"></img></div></div>':'<div class="bdt-cursor-effects"><div id="bdt-ep-cursor-ball-effects-'+t+'" class="ep-cursor-ball"><i class="'+B+' bdt-cursor-icons"></i></div></div>'}else if("text"===u){G='<div class="bdt-cursor-effects"><div id="bdt-ep-cursor-ball-effects-'+t+'" class="ep-cursor-ball"><span class="bdt-cursor-text">'+this.settings("text_label")+"</span></div></div>"}else G='<div class="bdt-cursor-effects '+l+'"><div id="bdt-ep-cursor-ball-effects-'+t+'" class="ep-cursor-ball"></div><div id="bdt-ep-cursor-circle-effects-'+t+'"  class="ep-cursor-circle"></div></div>';if(G){document.getElementById(s)&&document.getElementById(s).remove();var $=document.createElement("div");$.id=s,$.className="bdt-cursor-effects-yes bdt-cursor-effects-body-wrap"+("icons"===u?" bdt-cursor-effects--icons":"")+("image"===u?" bdt-cursor-effects--image":""),$.innerHTML=G,this.copyCursorVarsToWrapper($,u),document.body.appendChild($),"image"===u&&this.applyImageSize($)}var S="#bdt-ep-cursor-ball-effects-"+this.$element.data("id");const C=document.querySelector(S);if(C&&(a.models=d,a.speed=1,a.centerMouse=!0,new Cotton(C,a),"default"===u)){const e="#bdt-ep-cursor-circle-effects-"+this.$element.data("id"),t=document.querySelector(e);t&&(a.models=d,a.speed=this.settings("speed")?this.settings("speed.size"):.725,a.centerMouse=!0,new Cotton(t,a))}}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/section",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/container",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);(()=>{"use strict";window.addEventListener("elementor/frontend/init",()=>{if(!window.elementorFrontend?.hooks)return;const t=elementorModules.frontend.handlers.Base.extend({bindEvents(){this.run()},getDefaultSettings:()=>({direction:"alternate",easing:"easeInOutSine",loop:!0}),settings(t){return this.getElementSettings("ep_floating_effects_"+t)},onElementChange:debounce(function(t){-1!==t.indexOf("ep_floating")&&(this.anime&&this.anime.restart(),this.run())},400),run(){const t=this.getDefaultSettings(),s=this.$element[0];this.settings("translate_toggle")&&(0===this.settings("translate_x.sizes.from").length&&0===this.settings("translate_x.sizes.to").length||(t.translateX={value:[this.settings("translate_x.sizes.from")||0,this.settings("translate_x.sizes.to")||0],duration:this.settings("translate_duration.size"),delay:this.settings("translate_delay.size")||0}),0===this.settings("translate_y.sizes.from").length&&0===this.settings("translate_y.sizes.to").length||(t.translateY={value:[this.settings("translate_y.sizes.from")||0,this.settings("translate_y.sizes.to")||0],duration:this.settings("translate_duration.size"),delay:this.settings("translate_delay.size")||0})),this.settings("rotate_toggle")&&"yes"!==this.settings("rotate_infinite")&&(0===this.settings("rotate_x.sizes.from").length&&0===this.settings("rotate_x.sizes.to").length||(t.rotateX={value:[this.settings("rotate_x.sizes.from")||0,this.settings("rotate_x.sizes.to")||0],duration:this.settings("rotate_duration.size"),delay:this.settings("rotate_delay.size")||0}),0===this.settings("rotate_y.sizes.from").length&&0===this.settings("rotate_y.sizes.to").length||(t.rotateY={value:[this.settings("rotate_y.sizes.from")||0,this.settings("rotate_y.sizes.to")||0],duration:this.settings("rotate_duration.size"),delay:this.settings("rotate_delay.size")||0}),0===this.settings("rotate_z.sizes.from").length&&0===this.settings("rotate_z.sizes.to").length||(t.rotateZ={value:[this.settings("rotate_z.sizes.from")||0,this.settings("rotate_z.sizes.to")||0],duration:this.settings("rotate_duration.size"),delay:this.settings("rotate_delay.size")||0})),this.settings("scale_toggle")&&(0===this.settings("scale_x.sizes.from").length&&0===this.settings("scale_x.sizes.to").length||(t.scaleX={value:[this.settings("scale_x.sizes.from")||0,this.settings("scale_x.sizes.to")||0],duration:this.settings("scale_duration.size"),delay:this.settings("scale_delay.size")||0}),0===this.settings("scale_y.sizes.from").length&&0===this.settings("scale_y.sizes.to").length||(t.scaleY={value:[this.settings("scale_y.sizes.from")||0,this.settings("scale_y.sizes.to")||0],duration:this.settings("scale_duration.size"),delay:this.settings("scale_delay.size")||0})),this.settings("skew_toggle")&&(0===this.settings("skew_x.sizes.from").length&&0===this.settings("skew_x.sizes.to").length||(t.skewX={value:[this.settings("skew_x.sizes.from")||0,this.settings("skew_x.sizes.to")||0],duration:this.settings("skew_duration.size"),delay:this.settings("skew_delay.size")||0}),0===this.settings("skew_y.sizes.from").length&&0===this.settings("skew_y.sizes.to").length||(t.skewY={value:[this.settings("skew_y.sizes.from")||0,this.settings("skew_y.sizes.to")||0],duration:this.settings("skew_duration.size"),delay:this.settings("skew_delay.size")||0})),this.settings("border_radius_toggle")&&(s.style.overflow="hidden",0===this.settings("border_radius.sizes.from").length&&0===this.settings("border_radius.sizes.to").length||(t.borderRadius={value:[this.settings("border_radius.sizes.from")||0,this.settings("border_radius.sizes.to")||0],duration:this.settings("border_radius_duration.size"),delay:this.settings("border_radius_delay.size")||0})),this.settings("opacity_toggle")&&(0===this.settings("opacity_start.size").length&&0===this.settings("opacity_end.size").length||(t.opacity={value:[this.settings("opacity_start.size")||1,this.settings("opacity_end.size")||0],duration:this.settings("opacity_duration.size"),easing:"linear"})),this.settings("easing")&&(t.easing=this.settings("easing")),this.settings("show")&&(t.targets=s,(this.settings("translate_toggle")||this.settings("rotate_toggle")||this.settings("scale_toggle")||this.settings("skew_toggle")||this.settings("border_radius_toggle")||this.settings("opacity_toggle"))&&(this.anime=window.anime&&window.anime(t)))}});elementorFrontend.hooks.addAction("frontend/element_ready/widget",s=>{elementorFrontend.elementsHandler.addHandler(t,{$element:s})})})})();!function(e,t){"use strict";var n=["default","custom-layout","stripe","ribbon","corner","flag","pill","bubble","normal","bookmark","bookmark-vertical"];e(window).on("elementor/frontend/init",function(){if(t?.hooks&&!window.__epGlobalBadgeInitialized){window.__epGlobalBadgeInitialized=!0;var i=elementorModules.frontend.handlers.Base.extend({bindEvents:function(){this.run()},settings:function(e){return this.getElementSettings("ep_global_badge_"+e)},isEditMode:function(){return e("body").hasClass("elementor-editor-active")||t.isEditMode&&t.isEditMode()},shouldRenderBadgeViaJs:function(){return this.isEditMode()},getSvgCode:function(){var e=this.getElementSettings("ep_global_badge_svg_code");return"string"==typeof e&&e.trim()?e:this.settings("svg_code")||""},hasSvgLayer:function(){return"yes"===this.settings("svg_layer")&&!!this.getSvgCode()},getSvgInnerStyle:function(){var e,t,n;return this.hasSvgLayer()?"overflow:visible;min-inline-size:"+(t=(e=this.getElementSettings("ep_global_badge_svg_width"))&&void 0!==e.size&&""!==e.size?e.size:100)+(n=e&&e.unit?e.unit:"px")+";min-block-size:"+t+n+";":""},getEditor:function(){return window.elementor||window.parent&&window.parent.elementor},getElementorHelpers:function(){var e=this.getEditor();return e&&e.helpers?e.helpers:null},refreshBadgeAfterSvgIconLoad:function(){this.shouldRenderBadgeViaJs()&&"yes"===this.settings("enable")&&(this.updateBadgeMarkup(),this.syncBadgePositionClass(),this.syncBadgeStyleClass(),this.syncBadgeLayoutStyles(),this.ensureBadgePlacement(),this.initFloatingIfNeeded(),this.initBadgeLottie(this.getBadgeElement()))},getSvgIconHtml:function(e){var t,n=this.getElementorHelpers(),i=e.value,s=this;return i&&i.url?n&&n.renderIcon&&(t=n.renderIcon(null,e,{"aria-hidden":!0}))&&t.value?t.value:(i.id&&n&&n.fetchInlineSvg&&this._pendingSvgIconId!==i.id&&(this._pendingSvgIconId=i.id,n.fetchInlineSvg(i.url,function(e){s._pendingSvgIconId=null,e&&(n._inlineSvg&&(n._inlineSvg[i.id]=e),s.refreshBadgeAfterSvgIconLoad())})),""):""},needsMarkupRefresh:function(e){return["ep_global_badge_enable","ep_global_badge_text","ep_global_badge_icon","ep_global_badge_icon_type","ep_global_badge_icon_selected","ep_global_badge_lottie_json_source","ep_global_badge_lottie_json_path","ep_global_badge_lottie_upload_json_file","ep_global_badge_lottie_json_code","ep_global_badge_lottie_loop","ep_global_badge_lottie_speed","ep_global_badge_lottie_start_point","ep_global_badge_lottie_end_point","ep_global_badge_lottie_renderer","ep_global_badge_clip_path","ep_global_badge_clip_path_value","ep_global_badge_svg_layer","ep_global_badge_svg_code"].some(function(t){return e===t||0===e.indexOf(t)})},getBadgeIconType:function(){return"lottie"===this.settings("icon_type")?"lottie":"icon"},hasLottieContent:function(){var e,t=this.settings("lottie_json_source")||"url";return"url"===t?!!this.settings("lottie_json_path"):"local"===t?!("string"!=typeof(e=this.getElementSettings("ep_global_badge_lottie_upload_json_file"))||!e)||(!(!e||!e.url&&!e.id)||!!this.settings("lottie_upload_json_file")):"custom"===t&&!!(this.settings("lottie_json_code")||"").trim()},hasBadgeIconContent:function(){var e;return"yes"===this.settings("icon")&&("lottie"===this.getBadgeIconType()?this.hasLottieContent():!(!(e=this.settings("icon_selected"))||!e.value))},getLottieDataSettings:function(){var e,t,n,i,s=this.settings("lottie_json_source")||"url",a="",o="",l=!0;return"url"===s?a=this.settings("lottie_json_path")||"":"local"===s?a="string"==typeof(e=this.getElementSettings("ep_global_badge_lottie_upload_json_file"))?e:e&&e.url?e.url:this.settings("lottie_upload_json_file")||"":"custom"===s&&(o=this.settings("lottie_json_code")||"",l=!1),t=this.getElementSettings("ep_global_badge_lottie_start_point"),n=this.getElementSettings("ep_global_badge_lottie_end_point"),i=this.getElementSettings("ep_global_badge_lottie_speed"),{loop:"yes"===this.settings("lottie_loop"),is_json_url:l,json_path:a,json_code:o,speed:i&&void 0!==i.size?i.size:1,play_action:"autoplay",start_point:t&&void 0!==t.size?t.size:0,end_point:n&&void 0!==n.size?n.size:100,lottie_renderer:this.settings("lottie_renderer")||"svg"}},getLottieHtml:function(){var e="bdt-ep-global-badge-lottie-"+this.getID();return this.hasLottieContent()?'<div id="'+e+'" class="bdt-lottie-container" data-settings="'+JSON.stringify(this.getLottieDataSettings()).replace(/"/g,"&quot;")+'" aria-hidden="true"></div>':""},initBadgeLottie:function(e){e&&e.length&&void 0!==window.lottie&&e.find(".bdt-lottie-container").each(function(){var e,t,n=this,i={};n._epGlobalBadgeLottie&&(n._epGlobalBadgeLottie.destroy(),n._epGlobalBadgeLottie=null);try{i=n.dataset.settings?JSON.parse(n.dataset.settings):{}}catch(e){i={}}1==i.is_json_url||!0===i.is_json_url?i.json_path&&(e=i.json_path):i.json_code&&(e=URL.createObjectURL(new Blob([i.json_code],{type:"application/javascript"}))),e&&(t=window.lottie.loadAnimation({container:n,path:e,renderer:i.lottie_renderer||"svg",autoplay:"autoplay"===i.play_action,loop:i.loop}),0===e.indexOf("blob:")&&URL.revokeObjectURL(e),t.addEventListener("DOMLoaded",function(){var e=t.firstFrame,n=t.totalFrames,s=function(t){return t=Math.min(100,Math.max(0,t)),e+(n-e)*t/100},a=s(i.start_point??0),o=s(i.end_point??100);t.playSegments([a,o],!0)}),t.setSpeed(i.speed??1),n._epGlobalBadgeLottie=t)})},needsLayoutRefresh:function(e){return/ep_global_badge_(offset_x|offset_y|rotate|horizontal|vertical|style)/.test(e)},normalizeStyleSlug:function(e){return"custom-layout"===e?"custom-layout":"default"},onElementChange:function(e){if(-1!==e.indexOf("ep_global_badge_")){if(this.animeInstance&&(this.animeInstance.pause(),this.animeInstance=null),"ep_global_badge_enable"===e)return this.syncWrapperClasses(),void("yes"===this.settings("enable")?(this.updateBadgeMarkup(),this.initFloatingIfNeeded()):this.removeAllBadges());this.needsMarkupRefresh(e)?this.debouncedMarkupRefresh():this.needsLayoutRefresh(e)?this.scheduleLayoutRefresh():this.isEditMode()&&(this.ensureBadgeExists(),this.ensureBadgePlacement())}},debouncedMarkupRefresh:debounce(function(){this.shouldRenderBadgeViaJs()&&(this.updateBadgeMarkup(),this.ensureBadgePlacement(),this.initFloatingIfNeeded(),this.initBadgeLottie(this.getBadgeElement()))},200),scheduleLayoutRefresh:function(){var e=this;this._layoutRaf||(this._layoutRaf=requestAnimationFrame(function(){e._layoutRaf=null,e.syncBadgePositionClass(),e.syncBadgeStyleClass(),e.syncBadgeLayoutStyles(),e.ensureBadgePlacement()}))},onDestroy:function(){this._layoutRaf&&(cancelAnimationFrame(this._layoutRaf),this._layoutRaf=null),this.animeInstance&&(this.animeInstance.pause(),this.animeInstance=null)},escapeHtml:function(t){return e("<div/>").text(t||"").html()},getBadgeMountElement:function(){var t,n=this.getID();return n&&(t=e(".elementor-element-"+n)).length?t.first():((t=this.$element).hasClass("e-con-inner")&&(t=t.closest(".e-con.elementor-element")),t.hasClass("elementor-widget")||t.hasClass("e-con")||t.hasClass("elementor-element")?t:(t=t.closest(".elementor-element.e-con, .elementor-element.elementor-widget")).length?t.first():this.$element)},getElementType:function(){return this.getBadgeMountElement().attr("data-element_type")||""},isContainerElement:function(){return"container"===this.getElementType()},isWidgetElement:function(){return"widget"===this.getElementType()},getBadgeForAttr:function(){return String(this.getID()||"")},unwrapWidgetMount:function(){var e=this.getBadgeMountElement(),t=e.parent(".bdt-ep-global-badge-mount");t.length&&(t.children(".bdt-ep-global-badge").appendTo(e),e.unwrap())},getBadgeInsertParent:function(){var e,t=this.getBadgeMountElement();return this.isWidgetElement()?t:this.isContainerElement()&&(e=t.children(".e-con-inner").first()).length||(e=t.children(".elementor-container, .elementor-widget-wrap").first()).length?e:t},syncWrapperClasses:function(){var e=this.getBadgeMountElement();"yes"===this.settings("enable")?e.addClass("bdt-ep-global-badge-active"):e.removeClass("bdt-ep-global-badge-active")},getBadgeElement:function(){var t=this.getBadgeForAttr();return t?e('.bdt-ep-global-badge[data-ep-global-badge-for="'+t+'"]').first():e()},dedupeBadges:function(){var t,n=this.getBadgeForAttr();n&&((t=e('.bdt-ep-global-badge[data-ep-global-badge-for="'+n+'"]')).length<=1||t.slice(1).remove())},removeAllBadges:function(){var t=this.getBadgeForAttr();t&&e('.bdt-ep-global-badge[data-ep-global-badge-for="'+t+'"]').remove()},ensureBadgePlacement:function(){var e,t=this.getBadgeMountElement(),n=this.getBadgeElement();if(n.length){if(this.isWidgetElement())return this.unwrapWidgetMount(),void(n.parent()[0]!==t[0]&&n.detach().appendTo(t));(e=this.getBadgeInsertParent()).length&&n.parent()[0]!==e[0]&&n.detach().appendTo(e)}},rehomeBadgeIntoMount:function(){this.dedupeBadges(),this.ensureBadgePlacement()},getPositionClass:function(){var e=this.settings("horizontal")||"right",t=this.settings("vertical")||"top",n={left:{top:"top-left",bottom:"bottom-left"},right:{top:"top-right",bottom:"bottom-right"}};return n[e]&&n[e][t]?n[e][t]:"top-right"},getSliderCSSValue:function(e){var t=this.getElementSettings("ep_global_badge_"+e);return t&&""!==t.size&&void 0!==t.size&&null!==t.size?String(t.size)+(t.unit||"px"):null},getLayoutTransformValue:function(){return"translate("+(this.getSliderCSSValue("offset_x")||"0px")+", "+(this.getSliderCSSValue("offset_y")||"0px")+") rotate("+(this.getSliderCSSValue("rotate")||"0deg")+")"},clearWrapperLayoutVars:function(){var e=this.getBadgeMountElement()[0];e&&(e.style.removeProperty("--ep-global-badge-offset-x"),e.style.removeProperty("--ep-global-badge-offset-y"),e.style.removeProperty("--ep-global-badge-rotate"))},syncBadgeLayoutStyles:function(){var e=this.getBadgeElement();this.clearWrapperLayoutVars(),e.length&&e.css("transform",this.getLayoutTransformValue())},syncBadgePositionClass:function(){var e,t,n,i=this.getBadgeElement();if(i.length){for(e=this.getPositionClass(),t=["top-left","top-right","bottom-left","bottom-right","top","bottom","left","right"],n=0;n<t.length;n++)i.removeClass("bdt-position-"+t[n]);i.addClass("bdt-position-"+e)}},syncBadgeStyleClass:function(){var e,t,i=this.getBadgeElement();if(i.length){for(e=this.normalizeStyleSlug(this.settings("style")||"default"),t=0;t<n.length;t++)i.removeClass("bdt-ep-global-badge--"+n[t]);i.addClass("bdt-ep-global-badge--"+e)}},getIconHtml:function(){var e,t=this.settings("icon_selected"),n=this.getBadgeIconType();return this.hasBadgeIconContent()?"lottie"===n?this.getLottieHtml():t&&t.value?"svg"===t.library?this.getSvgIconHtml(t):((e=this.getElementorHelpers())&&e.enqueueIconFonts&&t.library&&e.enqueueIconFonts(t.library),'<i class="'+t.value+'" aria-hidden="true"></i>'):"":""},getBadgeIconWrapHtml:function(e){return e?'<span class="bdt-ep-global-badge-icon bdt-ep-global-badge-icon--'+this.getBadgeIconType()+'">'+e+"</span>":""},updateBadgeMarkup:function(){var e,t,n,i,s,a,o,l,g,r=this.getBadgeMountElement(),d=this.getLayoutTransformValue(),h=this.getBadgeForAttr();if(this.removeAllBadges(),"yes"===this.settings("enable")){e=this.normalizeStyleSlug(this.settings("style")||"default"),t=this.getPositionClass(),n=this.settings("text")||"";var u=this.hasSvgLayer();i=this.getSvgInnerStyle(),"yes"===this.settings("clip_path")&&this.settings("clip_path_value")&&(i+="clip-path:"+this.settings("clip_path_value")+";-webkit-clip-path:"+this.settings("clip_path_value")+";"),s="",u&&(s='<div class="bdt-ep-global-badge-svg" aria-hidden="true">'+this.getSvgCode()+"</div>"),a=this.getIconHtml(),o="",n&&(o='<span class="bdt-ep-global-badge-text">'+this.escapeHtml(n)+"</span>"),l='<div class="bdt-ep-global-badge bdt-position-small bdt-position-'+t+" bdt-ep-global-badge--"+e+(u?" bdt-ep-global-badge-has-svg":"")+'" data-ep-global-badge-for="'+h+'" style="transform:'+d+'"><div class="bdt-ep-global-badge-inner"'+(i?' style="'+i+'"':"")+">"+s+'<div class="bdt-ep-global-badge-content">'+this.getBadgeIconWrapHtml(a)+o+"</div></div></div>",(g=this.getBadgeInsertParent()).length?g.append(l):r.append(l),this.ensureBadgePlacement(),this.initBadgeLottie(this.getBadgeElement())}},ensureBadgeExists:function(){"yes"===this.settings("enable")&&!this.getBadgeElement().length&&this.shouldRenderBadgeViaJs()&&this.updateBadgeMarkup()},getSpeedDuration:function(e){var t=parseFloat(this.settings(e+".size"))||1;return Math.max(300,Math.round(3e3/t))},hasRangeValue:function(e){var t=this.settings(e+".sizes.from"),n=this.settings(e+".sizes.to");return(void 0!==t||void 0!==n)&&Number(t)!==Number(n)},initFloatingIfNeeded:function(){var e=this.getBadgeElement().find(".bdt-ep-global-badge-inner").first();e.length&&"yes"===this.settings("floating")&&this.initFloating(e[0])},run:function(){if("yes"!==this.settings("enable"))return this.removeAllBadges(),void this.syncWrapperClasses();this.isWidgetElement()&&this.unwrapWidgetMount(),this.syncWrapperClasses(),this.rehomeBadgeIntoMount(),this.getBadgeElement().find(".bdt-ep-global-badge-svg").length&&this.getBadgeElement().addClass("bdt-ep-global-badge-has-svg"),!this.getBadgeElement().length&&this.shouldRenderBadgeViaJs()&&this.updateBadgeMarkup(),this.syncBadgePositionClass(),this.syncBadgeStyleClass(),this.syncBadgeLayoutStyles(),this.ensureBadgePlacement(),this.initFloatingIfNeeded(),this.initBadgeLottie(this.getBadgeElement())},initFloating:function(e){var t,n,i=this;if("function"==typeof window.anime){if(t={targets:e,direction:"alternate",loop:!0,easing:"easeInOutSine"},n=!1,"yes"===this.settings("floating_translate_toggle")){var s=this.getSpeedDuration("floating_translate_speed");this.hasRangeValue("floating_translate_x")&&(t.translateX={value:[this.settings("floating_translate_x.sizes.from")||0,this.settings("floating_translate_x.sizes.to")||0],duration:s},n=!0),this.hasRangeValue("floating_translate_y")&&(t.translateY={value:[this.settings("floating_translate_y.sizes.from")||0,this.settings("floating_translate_y.sizes.to")||0],duration:s},n=!0)}if("yes"===this.settings("floating_rotate_toggle")){var a=this.getSpeedDuration("floating_rotate_speed");["x","y","z"].forEach(function(e){var s="floating_rotate_"+e;if(i.hasRangeValue(s)){var o="rotate"+e.toUpperCase();t[o]={value:[i.settings(s+".sizes.from")||0,i.settings(s+".sizes.to")||0],duration:a},n=!0}})}if("yes"===this.settings("floating_opacity_toggle")){var o=this.settings("floating_opacity_start.size"),l=this.settings("floating_opacity_end.size");void 0===o&&void 0===l||(t.opacity={value:[void 0!==o?o:1,void 0!==l?l:.5],duration:this.getSpeedDuration("floating_opacity_speed"),easing:"linear"},n=!0)}if("yes"===this.settings("floating_blur_toggle")){var g=this.settings("floating_blur_start.size")||0,r=this.settings("floating_blur_end.size")||4;t.filter={value:["blur("+g+"px)","blur("+r+"px)"],duration:this.getSpeedDuration("floating_blur_speed")},n=!0}n&&(this.animeInstance=window.anime(t))}}}),s=function(e){var n=e;e.hasClass("e-con-inner")&&(n=e.closest(".e-con.elementor-element")),n.length||(n=e),t.elementsHandler.addHandler(i,{$element:n})};t.hooks.addAction("frontend/element_ready/widget",s),t.hooks.addAction("frontend/element_ready/container",s),t.hooks.addAction("frontend/element_ready/section",s),t.hooks.addAction("frontend/element_ready/column",s),t.hooks.addAction("frontend/element_ready/global",function(e){var t=e.hasClass("e-con")?e:e.find(".e-con").first();t.length&&t.hasClass("bdt-ep-global-badge-yes")&&(t.find(".bdt-ep-global-badge[data-ep-global-badge-for]").length||s(t))})}})}(jQuery,window.elementorFrontend);(()=>{"use strict";const e=()=>{const e=document.getElementById("ep-hash-link");if(!e)return;const t=e.dataset.settings,n=t?JSON.parse(t):{};if(!n?.container||!n?.selector)return;const o=document.querySelector(n.container);if(!o)return;const s=o.querySelectorAll(n.selector);if(s.length&&(s.forEach((e,t)=>{e.classList.add("ep-hash-link-inner-el");const n=(e=>{const t=e.replace(/\s+/g,"-").toLowerCase(),n="!@#$^&%*()+=-[]/{}|:<>?,.".replace(/[\]\\^-]/g,"\\$&");return t.replace(new RegExp("["+n+"]","g"),"")})(e.textContent??""),o=document.createElement("a");o.id="ep-hash-link-"+t,o.dataset.id=String(t),o.className="ep-hash-link",o.href="#"+t+"_"+n,e.parentNode.insertBefore(o,e),o.appendChild(e)}),window.location.hash)){const e=window.location.hash.split("_")[0].slice(1),t=e?"ep-hash-link-"+e:null;if(t){const e=document.getElementById(t);if(e){const t=e.getBoundingClientRect().top+window.scrollY-150;window.scrollTo({top:t,behavior:"smooth"})}}}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()})();!function(){"use strict";window.addEventListener("elementor/frontend/init",()=>{if(!window.elementorModules?.frontend?.handlers?.Base||!window.elementorFrontend?.hooks)return;const e=elementorModules.frontend.handlers.Base.extend({bindEvents(){this.run()},onElementChange:debounce(function(e){-1!==e.indexOf("element_pack_image_parallax_effects_")&&this.run()},400),settings(e){return this.getElementSettings("element_pack_image_parallax_effects_"+e)},run(){const e=this.$element[0],n=e?.querySelector(".elementor-image");if(!n)return;const t=n.querySelector("img"),r=t?.src;if(!r)return;if("yes"!==this.settings("enable"))return;const a=n.querySelector(".bdt-image-parallax-wrapper");a&&a.remove();const l=document.createElement("div");l.className="bdt-image-parallax-wrapper",l.setAttribute("bdt-parallax","bgy: -200"),l.style.backgroundImage="url("+r+")",n.appendChild(l)}});elementorFrontend.hooks.addAction("frontend/element_ready/widget",n=>{elementorFrontend.elementsHandler.addHandler(e,{$element:n})})})}();!function(t){"use strict";t(window).on("elementor/frontend/init",function(){var e,n=elementorModules.frontend.handlers.Base;function i(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}e=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{type:"underline",multiline:!0}},onElementChange:debounce(function(t){-1!==t.indexOf("ep_notation_")&&this.run()},400),isEditMode:function(){return!!(window.elementorFrontend&&elementorFrontend.isEditMode&&elementorFrontend.isEditMode())||t("body").hasClass("elementor-editor-active")},isAtomicWidget:function(){var t=this.getAtomicSettings();return!(!t||"yes"!==t.active||!Array.isArray(t.list))},settings:function(t){return this.getElementSettings("ep_notation_"+t)},getSliderSize:function(t,e){return t&&"object"==typeof t&&void 0!==t.size?t.size:"number"==typeof t?t:e},cleanupNotations:function(){this.$element.find("[data-notation]").each(function(){t(this).removeAttr("data-notation").siblings(".rough-annotation").remove()}),this.$element.find(".rough-annotation").remove()},getWidgetTargetElement:function(){var e=this.$element;if(!this.isAtomicWidget()){var n=this.findElement(" > :not(style)");return this.isEditMode()&&n.length>1?n.get(1):n.get(0)||e.get(0)}var i=e.find(".e-heading-base, .e-paragraph-base, .elementor-heading-title, .bdt-heading-tag, .bdt-ep-advanced-heading-main-title-inner").first();if(i.length)return i.get(0);if((i=e.find("h1, h2, h3, h4, h5, h6, p").filter(function(){return t.trim(t(this).text()).length>0}).first()).length)return i.get(0);var s=this.findElement(" > :not(style)");if(s.length>1){var o=s.filter(".elementor-widget-container").first();if(o.length){var r=o.children(":not(style)").first();if(r.length)return r.get(0)}return s.last().get(0)}return s.get(0)||e.get(0)},getAtomicSettings:function(){var t=this.$element.get(0);if(!t)return null;var e=t.matches("[data-ep-notation]")?t:t.querySelector("[data-ep-notation]");if(!e)return null;var n=e.getAttribute("data-ep-notation");if(!n)return null;try{var i=JSON.parse(n);return i&&"yes"===i.active&&Array.isArray(i.list)&&i.list.length?i:null}catch(t){return null}},getSettingValue:function(t){if(!this.isAtomicWidget())return this.settings(t);var e=this.getAtomicSettings();return e&&void 0!==e[t]?e[t]:this.settings(t)},run:function(){if("yes"==this.getSettingValue("active")){this.cleanupNotations();var e=this.$element,n="ep-"+this.getID(),i=this.getID(),s=this,o=this.getSettingValue("list");if(o&&Array.isArray(o)){var r=!!t("body").hasClass("rtl"),a=this.isEditMode();o.forEach(o=>{var h="",c="",l=this.getDefaultSettings();if("widget"==o.ep_notation_select_type){var u=s.getWidgetTargetElement();u&&t(u).attr("data-notation",n),h='[data-notation="'+n+'"]'}if("custom"==o.ep_notation_select_type){var d=o.ep_notation_custom_selector;h=o.ep_notation_custom_selector&&d.length>1?'[data-id="'+i+'"]  '+d:".-bdt-empty"}if("bracket"==o.ep_notation_type&&(c="string"==typeof(c=o.ep_notation_bracket_on||"left,right")?c.split(","):["left","right"],l.brackets=c),h.length>0){var f=null;if(!(f=0===h.indexOf("[data-notation=")?e[0].querySelector(h):"custom"===o.ep_notation_select_type&&o.ep_notation_custom_selector&&e[0].querySelector(o.ep_notation_custom_selector)||document.querySelector(h)))return;if(l.type=o.ep_notation_type,l.color=o.ep_notation_color||"#f23427",l.animationDuration=s.getSliderSize(o.ep_notation_anim_duration,800),l.strokeWidth=s.getSliderSize(o.ep_notation_stroke_width,1),l.rtl=r,l.infinityLoop="yes"===o.ep_notation_infinity_loop&&!a,l.loopDelay=s.getSliderSize(o.ep_notation_loop_delay,2e3),f){t(f).siblings(".rough-annotation").remove();var g=function(){const t="http://www.w3.org/2000/svg";class e{constructor(t){this.seed=t}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}}function n(t,e,n,i,s){return{type:"path",ops:c(t,e,n,i,s)}}function i(t,e,i){const s=(t||[]).length;if(s>2){const n=[];for(let e=0;e<s-1;e++)n.push(...c(t[e][0],t[e][1],t[e+1][0],t[e+1][1],i));return e&&n.push(...c(t[s-1][0],t[s-1][1],t[0][0],t[0][1],i)),{type:"path",ops:n}}return 2===s?n(t[0][0],t[0][1],t[1][0],t[1][1],i):{type:"path",ops:[]}}function s(t,e,n,s,o){return function(t,e){return i(t,!0,e)}([[t,e],[t+n,e],[t+n,e+s],[t,e+s]],o)}function o(t,e,n,i,s){return function(t,e,n,i){const[s,o]=g(i.increment,t,e,i.rx,i.ry,1,i.increment*a(.1,a(.4,1,n),n),n);let r=d(s,null,n);if(!n.disableMultiStroke){const[s]=g(i.increment,t,e,i.rx,i.ry,1.5,0,n),o=d(s,null,n);r=r.concat(o)}return{estimatedPoints:o,opset:{type:"path",ops:r}}}(t,e,s,function(t,e,n){const i=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(t/2,2)+Math.pow(e/2,2))/2)),s=Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*i),o=2*Math.PI/s;let r=Math.abs(t/2),a=Math.abs(e/2);const c=1-n.curveFitting;return r+=h(r*c,n),a+=h(a*c,n),{increment:o,rx:r,ry:a}}(n,i,s)).opset}function r(t){return t.randomizer||(t.randomizer=new e(t.seed||0)),t.randomizer.next()}function a(t,e,n,i=1){return n.roughness*i*(r(n)*(e-t)+t)}function h(t,e,n=1){return a(-t,t,e,n)}function c(t,e,n,i,s,o=!1){const r=o?s.disableMultiStrokeFill:s.disableMultiStroke,a=u(t,e,n,i,s,!0,!1);if(r)return a;const h=u(t,e,n,i,s,!0,!0);return a.concat(h)}function u(t,e,n,i,s,o,a){const c=Math.pow(t-n,2)+Math.pow(e-i,2),l=Math.sqrt(c);let u=1;u=l<200?1:l>500?.4:-.0016668*l+1.233334;let d=s.maxRandomnessOffset||0;d*d*100>c&&(d=l/10);const f=d/2,g=.2+.2*r(s);let p=s.bowing*s.maxRandomnessOffset*(i-e)/200,m=s.bowing*s.maxRandomnessOffset*(t-n)/200;p=h(p,s,u),m=h(m,s,u);const _=[],v=()=>h(f,s,u),y=()=>h(d,s,u);return o&&(a?_.push({op:"move",data:[t+v(),e+v()]}):_.push({op:"move",data:[t+h(d,s,u),e+h(d,s,u)]})),a?_.push({op:"bcurveTo",data:[p+t+(n-t)*g+v(),m+e+(i-e)*g+v(),p+t+2*(n-t)*g+v(),m+e+2*(i-e)*g+v(),n+v(),i+v()]}):_.push({op:"bcurveTo",data:[p+t+(n-t)*g+y(),m+e+(i-e)*g+y(),p+t+2*(n-t)*g+y(),m+e+2*(i-e)*g+y(),n+y(),i+y()]}),_}function d(t,e,n){const i=t.length,s=[];if(i>3){const o=[],r=1-n.curveTightness;s.push({op:"move",data:[t[1][0],t[1][1]]});for(let e=1;e+2<i;e++){const n=t[e];o[0]=[n[0],n[1]],o[1]=[n[0]+(r*t[e+1][0]-r*t[e-1][0])/6,n[1]+(r*t[e+1][1]-r*t[e-1][1])/6],o[2]=[t[e+1][0]+(r*t[e][0]-r*t[e+2][0])/6,t[e+1][1]+(r*t[e][1]-r*t[e+2][1])/6],o[3]=[t[e+1][0],t[e+1][1]],s.push({op:"bcurveTo",data:[o[1][0],o[1][1],o[2][0],o[2][1],o[3][0],o[3][1]]})}if(e&&2===e.length){const t=n.maxRandomnessOffset;s.push({op:"lineTo",data:[e[0]+h(t,n),e[1]+h(t,n)]})}}else 3===i?(s.push({op:"move",data:[t[1][0],t[1][1]]}),s.push({op:"bcurveTo",data:[t[1][0],t[1][1],t[2][0],t[2][1],t[2][0],t[2][1]]})):2===i&&s.push(...c(t[0][0],t[0][1],t[1][0],t[1][1],n));return s}function g(t,e,n,i,s,o,r,a){const c=[],l=[],u=h(.5,a)-Math.PI/2;l.push([h(o,a)+e+.9*i*Math.cos(u-t),h(o,a)+n+.9*s*Math.sin(u-t)]);for(let r=u;r<2*Math.PI+u-.01;r+=t){const t=[h(o,a)+e+i*Math.cos(r),h(o,a)+n+s*Math.sin(r)];c.push(t),l.push(t)}return l.push([h(o,a)+e+i*Math.cos(u+2*Math.PI+.5*r),h(o,a)+n+s*Math.sin(u+2*Math.PI+.5*r)]),l.push([h(o,a)+e+.98*i*Math.cos(u+r),h(o,a)+n+.98*s*Math.sin(u+r)]),l.push([h(o,a)+e+.9*i*Math.cos(u+.5*r),h(o,a)+n+.9*s*Math.sin(u+.5*r)]),[l,c]}function p(t,e){return{maxRandomnessOffset:2,roughness:"highlight"===t?3:1.5,bowing:1,stroke:"#000",strokeWidth:1.5,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,combineNestedSvgPaths:!1,disableMultiStroke:"double"!==t,disableMultiStrokeFill:!1,seed:e}}function m(e,r,a,h,c,l){const u=[];let d=a.strokeWidth||2;const f=function(t){const e=t.padding;if(e||0===e){if("number"==typeof e)return[e,e,e,e];if(Array.isArray(e)){const t=e;if(t.length)switch(t.length){case 4:return[...t];case 1:return[t[0],t[0],t[0],t[0]];case 2:return[...t,...t];case 3:return[...t,t[1]];default:return[t[0],t[1],t[2],t[3]]}}}return[5,5,5,5]}(a),g=void 0===a.animate||!!a.animate,m=a.iterations||1,_=a.rtl?1:0,v=p("single",l);switch(a.type){case"underline":{const t=r.y+r.h+f[2];for(let e=_;e<m+_;e++)e%2?u.push(n(r.x+r.w,t,r.x,t,v)):u.push(n(r.x,t,r.x+r.w,t,v));break}case"strike-through":{const t=r.y+r.h/2;for(let e=_;e<m+_;e++)e%2?u.push(n(r.x+r.w,t,r.x,t,v)):u.push(n(r.x,t,r.x+r.w,t,v));break}case"box":{const t=r.x-f[3],e=r.y-f[0],n=r.w+(f[1]+f[3]),i=r.h+(f[0]+f[2]);for(let o=0;o<m;o++)u.push(s(t,e,n,i,v));break}case"bracket":{const t=Array.isArray(a.brackets)?a.brackets:a.brackets?[a.brackets]:["right"],e=r.x-2*f[3],n=r.x+r.w+2*f[1],s=r.y-2*f[0],o=r.y+r.h+2*f[2];for(const a of t){let t;switch(a){case"bottom":t=[[e,r.y+r.h],[e,o],[n,o],[n,r.y+r.h]];break;case"top":t=[[e,r.y],[e,s],[n,s],[n,r.y]];break;case"left":t=[[r.x,s],[e,s],[e,o],[r.x,o]];break;case"right":t=[[r.x+r.w,s],[n,s],[n,o],[r.x+r.w,o]]}t&&u.push(i(t,!1,v))}break}case"crossed-off":{const t=r.x,e=r.y,i=t+r.w,s=e+r.h;for(let o=_;o<m+_;o++)o%2?u.push(n(i,s,t,e,v)):u.push(n(t,e,i,s,v));for(let o=_;o<m+_;o++)o%2?u.push(n(t,s,i,e,v)):u.push(n(i,e,t,s,v));break}case"circle":{const t=p("double",l),e=r.w+(f[1]+f[3]),n=r.h+(f[0]+f[2]),i=r.x-f[3]+e/2,s=r.y-f[0]+n/2,a=Math.floor(m/2),h=m-2*a;for(let r=0;r<a;r++)u.push(o(i,s,e,n,t));for(let t=0;t<h;t++)u.push(o(i,s,e,n,v));break}case"highlight":{const t=p("highlight",l);d=.95*r.h;const e=r.y+r.h/2;for(let i=_;i<m+_;i++)i%2?u.push(n(r.x+r.w,e,r.x,e,t)):u.push(n(r.x,e,r.x+r.w,e,t));break}case"soft-wave":{const t=r.y+r.h+f[2];for(let e=_;e<m+_;e++){const e=[];for(let n=0;n<=r.w;n+=4){const i=r.x+n,s=t+8*Math.sin(.06*n)+4*Math.cos(.04*n)+2*Math.sin(.02*n);e.push([i,s])}u.push(i(e,!1,v))}break}}if(u.length){const n=function(t){const e=[];for(const n of t){let t="";for(const i of n.ops){const n=i.data;switch(i.op){case"move":t.trim()&&e.push(t.trim()),t=`M${n[0]} ${n[1]} `;break;case"bcurveTo":t+=`C${n[0]} ${n[1]}, ${n[2]} ${n[3]}, ${n[4]} ${n[5]} `;break;case"lineTo":t+=`L${n[0]} ${n[1]} `}}t.trim()&&e.push(t.trim())}return e}(u),i=[],s=[];let o=0;const r=(t,e,n)=>t.setAttribute(e,n);for(const h of n){const n=document.createElementNS(t,"path");if(r(n,"d",h),r(n,"fill","none"),r(n,"stroke",a.color||"currentColor"),r(n,"stroke-width",""+d),g){const t=n.getTotalLength();i.push(t),o+=t}e.appendChild(n),s.push(n)}if(g){let t=0;for(let e=0;e<s.length;e++){const n=s[e],r=i[e],a=o?c*(r/o):0,l=h+t,u=n.style;u.strokeDashoffset=""+r,u.strokeDasharray=""+r,u.animation=`rough-notation-dash ${a}ms ease-out ${l}ms forwards`,t+=a}}}}class _{constructor(t,e){this._state="unattached",this._resizing=!1,this._seed=Math.floor(Math.random()*2**31),this._lastSizes=[],this._animationDelay=0,this._loopTimeout=null,this._resizeListener=()=>{this._resizing||(this._resizing=!0,setTimeout(()=>{this._resizing=!1,"showing"===this._state&&this.haveRectsChanged()&&this.show()},400))},this._e=t,this._config=JSON.parse(JSON.stringify(e)),this.attach()}get animate(){return this._config.animate}set animate(t){this._config.animate=t}get animationDuration(){return this._config.animationDuration}set animationDuration(t){this._config.animationDuration=t}get iterations(){return this._config.iterations}set iterations(t){this._config.iterations=t}get color(){return this._config.color}set color(t){this._config.color!==t&&(this._config.color=t,this.refresh())}get strokeWidth(){return this._config.strokeWidth}set strokeWidth(t){this._config.strokeWidth!==t&&(this._config.strokeWidth=t,this.refresh())}get padding(){return this._config.padding}set padding(t){this._config.padding!==t&&(this._config.padding=t,this.refresh())}attach(){if("unattached"===this._state&&this._e.parentElement){const e=this._e.parentElement.querySelector(".rough-annotation");e&&e.remove(),function(){if(!window.__rno_kf_s){const t=window.__rno_kf_s=document.createElement("style");t.textContent="@keyframes rough-notation-dash { to { stroke-dashoffset: 0; }}",document.head.appendChild(t)}}();const n=this._svg=document.createElementNS(t,"svg");n.setAttribute("class","rough-annotation");const i=n.style;i.position="absolute",i.top="0",i.left="0",i.overflow="visible",i.pointerEvents="none",i.width="100px",i.height="100px";const s="highlight"===this._config.type;if(this._e.insertAdjacentElement(s?"beforebegin":"afterend",n),this._state="not-showing",s){const t=window.getComputedStyle(this._e).position;(!t||"static"===t)&&(this._e.style.position="relative")}this.attachListeners()}}detachListeners(){window.removeEventListener("resize",this._resizeListener),this._ro&&this._ro.unobserve(this._e)}attachListeners(){this.detachListeners(),window.addEventListener("resize",this._resizeListener,{passive:!0}),!this._ro&&"ResizeObserver"in window&&(this._ro=new window.ResizeObserver(t=>{for(const e of t)e.contentRect&&this._resizeListener()})),this._ro&&this._ro.observe(this._e)}haveRectsChanged(){if(this._lastSizes.length){const t=this.rects();if(t.length!==this._lastSizes.length)return!0;for(let e=0;e<t.length;e++)if(!this.isSameRect(t[e],this._lastSizes[e]))return!0}return!1}isSameRect(t,e){const n=(t,e)=>Math.round(t)===Math.round(e);return n(t.x,e.x)&&n(t.y,e.y)&&n(t.w,e.w)&&n(t.h,e.h)}isShowing(){return"not-showing"!==this._state}refresh(){this.isShowing()&&!this.pendingRefresh&&(this.pendingRefresh=Promise.resolve().then(()=>{this.isShowing()&&this.show(),delete this.pendingRefresh}))}show(){switch(this._loopTimeout&&(clearTimeout(this._loopTimeout),this._loopTimeout=null),this._state){case"unattached":break;case"showing":this.hide(),this._svg&&this.render(this._svg,!0);break;case"not-showing":this.attach(),this._svg&&this.render(this._svg,!1)}this._config.infinityLoop&&this._config.loopDelay&&(this._loopTimeout=setTimeout(()=>{this.hide(),setTimeout(()=>{this.show()},100)},this._config.animationDuration+this._config.loopDelay))}hide(){if(this._loopTimeout&&(clearTimeout(this._loopTimeout),this._loopTimeout=null),this._svg)for(;this._svg.lastChild;)this._svg.removeChild(this._svg.lastChild);this._state="not-showing"}remove(){this._svg&&this._svg.parentElement&&this._svg.parentElement.removeChild(this._svg),this._svg=void 0,this._state="unattached",this.detachListeners()}render(t,e){let n=this._config;e&&(n=JSON.parse(JSON.stringify(this._config)),n.animate=!1);const i=this.rects();let s=0;i.forEach(t=>s+=t.w);const o=n.animationDuration||800;let r=0;for(let e=0;e<i.length;e++){const a=o*(i[e].w/s);m(t,i[e],n,r+this._animationDelay,a,this._seed),r+=a}this._lastSizes=i,this._state="showing"}rects(){const t=[];if(this._svg)if(this._config.multiline){const e=this._e.getClientRects();for(let n=0;n<e.length;n++)t.push(this.svgRect(this._svg,e[n]))}else t.push(this.svgRect(this._svg,this._e.getBoundingClientRect()));return t}svgRect(t,e){const n=t.getBoundingClientRect(),i=e;return{x:(i.x||i.left)-(n.x||n.left),y:(i.y||i.top)-(n.y||n.top),w:i.width,h:i.height}}}var v=function(t,e){return new _(t,e)}(f,l);v.show()};a?g():"function"==typeof epObserveTarget?epObserveTarget(e[0],g):g()}}})}}else this.cleanupNotations()}});var s=null;window.epRunAtomicNotationFallback=function(){s&&window.clearTimeout(s),s=window.setTimeout(function(){s=null,t(".elementor-element[data-id]").each(function(){var e=t(this);(e.is("[data-ep-notation]")||e.find("[data-ep-notation]").length)&&i(e)})},150)},elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(t){i(t)}),elementorFrontend.hooks.addAction("frontend/element_ready/e-heading.default",function(t){i(t)}),elementorFrontend.hooks.addAction("frontend/element_ready/e-paragraph.default",function(t){i(t)}),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){var n=t(e);n.length&&(n.is("[data-ep-notation]")||n.find("[data-ep-notation]").length)&&i(n)})})}(jQuery,window.elementorFrontend);!function(t){"use strict";t(window).on("elementor/frontend/init",function(){var t,s=elementorModules.frontend.handlers.Base;t=s.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{media:!1,easing:1,viewport:1}},onElementChange:debounce(function(t){-1!==t.indexOf("ep_parallax_effects")&&this.run()},400),settings:function(t){return this.getElementSettings("ep_parallax_effects_"+t)},run:function(){const t=this.getDefaultSettings(),s=this.$element[0];this.settings("y")&&(this.settings("y_custom_show")?t.y=this.settings("y_custom_value"):(this.settings("y_start.size")||this.settings("y_end.size"))&&(t.y=[this.settings("y_start.size")||0,this.settings("y_end.size")||0])),this.settings("x")&&(this.settings("x_custom_show")?t.x=this.settings("x_custom_value"):(this.settings("x_start.size")||this.settings("x_end.size"))&&(t.x=[this.settings("x_start.size"),this.settings("x_end.size")])),this.settings("opacity_toggole")&&(this.settings("opacity_custom_show")?t.opacity=this.settings("opacity_custom_value"):"htov"===this.settings("opacity")?t.opacity=[0,1]:"vtoh"===this.settings("opacity")&&(t.opacity=[1,0])),this.settings("blur")&&(this.settings("blur_start.size")||this.settings("blur_end.size"))&&(t.blur=[this.settings("blur_start.size")||0,this.settings("blur_end.size")||0]),this.settings("rotate")&&(this.settings("rotate_start.size")||this.settings("rotate_end.size"))&&(t.rotate=[this.settings("rotate_start.size")||0,this.settings("rotate_end.size")||0]),this.settings("scale")&&(this.settings("scale_start.size")||this.settings("scale_end.size"))&&(t.scale=[this.settings("scale_start.size")||1,this.settings("scale_end.size")||1]),this.settings("hue")&&this.settings("hue_value.size")&&(t.hue=this.settings("hue_value.size")),this.settings("sepia")&&this.settings("sepia_value.size")&&(t.sepia=this.settings("sepia_value.size")),this.settings("viewport")&&(this.settings("viewport_start")&&(t.start=this.settings("viewport_start")),this.settings("viewport_end")&&(t.end=this.settings("viewport_end"))),this.settings("media_query")&&(t.media=this.settings("media_query")),this.settings("easing")&&this.settings("easing_value.size")&&(t.easing=this.settings("easing_value.size")),this.settings("target")&&"section"===this.settings("target")&&(t.target=".elementor-section.elementor-element-"+jQuery(s).closest("section").data("id")),this.settings("show")&&(this.settings("y")||this.settings("x")||this.settings("opacity")||this.settings("blur")||this.settings("rotate")||this.settings("scale")||this.settings("hue")||this.settings("sepia")||this.settings("viewport")||this.settings("media_query")||this.settings("easing")||this.settings("target"))&&bdtUIkit.parallax(s,t)}}),elementorFrontend.hooks.addAction("frontend/element_ready/section",function(s){elementorFrontend.elementsHandler.addHandler(t,{$element:s})}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(s){elementorFrontend.elementsHandler.addHandler(t,{$element:s})})})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var n,t=elementorModules.frontend.handlers.Base;n=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:debounce(function(e){-1!==e.indexOf("section_particles")&&this.run()},400),settings:function(e){return this.getElementSettings("section_particles_"+e)},run:function(){const n="bdt-particle-container-"+this.$element.data("id"),t=this.$element.data("id"),i=e(".elementor-element-"+t);this.particleID=n;let o={particles:{number:{value:80,density:{enable:!0,value_area:800}},color:{value:"#ffffff"},shape:{type:"circle",stroke:{width:0,color:"#000000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:.5,random:!1,anim:{enable:!1,speed:1,opacity_min:.1,sync:!1}},size:{value:3,random:!0,anim:{enable:!1,speed:40,size_min:.1,sync:!1}},line_linked:{enable:!0,distance:150,color:"#ffffff",opacity:.4,width:1},move:{enable:!0,speed:6,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:600,rotateY:1200}}},interactivity:{detect_on:"canvas",events:{onhover:{enable:!1,mode:"repulse"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:400,line_linked:{opacity:1}},bubble:{distance:400,size:40,duration:2,opacity:8,speed:3},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}}},retina_detect:!0};this.settings("js")&&0!==this.settings("js").length&&(o=JSON.parse(this.settings("js"))),this.settings("on")&&(0===e("#"+n).length&&e(i).prepend('<div id="'+n+'" class="bdt-particle-container"></div>'),particlesJS(n,o))}}),elementorFrontend.hooks.addAction("frontend/element_ready/section",function(e){elementorFrontend.elementsHandler.addHandler(n,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/container",function(e){elementorFrontend.elementsHandler.addHandler(n,{$element:e})})})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},settings:function(e){return this.getElementSettings("element_pack_reveal_effects_"+e)},run:function(){if("yes"!==this.settings("enable"))return;var t=this.$element.data("id"),n=e(".elementor-element-"+t);e(n).attr("data-ep-reveal","ep-reveal-"+t);const i='*[data-ep-reveal="ep-reveal-'+t+'"]',s=document.querySelector(i),r=new RevealFx(s,{revealSettings:{bgColors:this.settings("color")?[this.settings("color")]:["#333"],direction:this.settings("direction")?String(this.settings("direction")):String("c"),duration:this.settings("speed")?Number(100*this.settings("speed.size")):Number(500),easing:this.settings("easing")?String(this.settings("easing")):String("easeOutQuint"),onHalfway:function(e,t){e.style.opacity=1}}});epObserveTarget(s,function(){r.reveal()},{root:null,rootMargin:"0px",threshold:.8})}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);!function(t){"use strict";t(window).on("elementor/frontend/init",function(){var e,n=elementorModules.frontend.handlers.Base;e=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{multi:!0}},onElementChange:debounce(function(t){-1!==t.indexOf("ep_ripple_")&&this.run()},400),settings:function(t){return this.getElementSettings("ep_ripple_"+t)},run:function(){if("yes"===this.settings("enable")){this.$element;var e=this.getDefaultSettings(),n="ep-"+this.getID(),i=".elementor-element-"+this.getID(),s="";"widgets"===this.settings("selector")&&(s=i+" > :first-child"),"images"===this.settings("selector")&&(s=i+" img"),"buttons"===this.settings("selector")&&(s=i+" a"),"both"===this.settings("selector")&&(s=i+" a,"+i+" img"),"custom"===this.settings("selector")&&this.settings("custom_selector")&&(s=this.settings("custom_selector")),""!==s&&(t(document).on("click",'[href="#"]',function(t){t.preventDefault()}),this.settings("on")&&(e.on=this.settings("on")),this.settings("easing")&&(e.easing=this.settings("easing")),this.settings("duration.size")&&(e.duration=this.settings("duration.size")),this.settings("opacity.size")&&(e.opacity=this.settings("opacity.size")),this.settings("color")&&(e.color=this.settings("color")),document.querySelectorAll(s).forEach(function(i){"IMG"==i.tagName?(t(i).wrap('<div id="bdt-ripple-effect-img-wrapper-'+n+'"></div>'),window.rippler=t.ripple("#bdt-ripple-effect-img-wrapper-"+n,e)):window.rippler=t.ripple(s,e)}))}}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})})})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(e){var t,r=elementorModules.frontend.handlers.Base;function s(e){if(!e||"string"!=typeof e)return null;try{return JSON.parse(e)}catch(e){return null}}function n(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"value")?n(e.value):e}function i(e,t,r){var s=e?e[t]:null;return null==(s=n(s))||""===s?r:s}function a(e,t){return(e=n(e))&&"object"==typeof e&&void 0!==e.size&&(e=e.size),e=parseFloat(e),isNaN(e)?t:e}function o(e,t){return"string"==typeof(e=n(e))&&""!==e?e:t}function l(e){var t,r,s,l;return e?e.enable||e.animation_type||e.fill_bg?e:!0!==(l=n(l=e.ep_widget_sf_fx_enable))&&"yes"!==l&&1!==l&&"1"!==l?null:((t=i(e,"ep_widget_sf_fx_fill_bg",""))||(r=i(e,"ep_widget_sf_fx_fill_bg_start_color","#08aeec"),s=i(e,"ep_widget_sf_fx_fill_bg_end_color","#2af598"),t="linear-gradient("+function(e){return e=parseFloat(e),isNaN(e)&&(e=90),parseFloat(e.toFixed(4)).toString()}(i(e,"ep_widget_sf_fx_fill_bg_angle",90))+"deg, "+r+" 0%, "+s+" 100%)"),{enable:"yes",animation_type:i(e,"ep_widget_sf_fx_animation_type","scroll_fill"),base_color:i(e,"ep_widget_sf_fx_base_color","rgba(156, 156, 156, 0.5)"),fill_bg:t,sg_start_scale:{size:a(e.ep_widget_sf_fx_sg_start_scale,2)},sg_end_scale:{size:a(e.ep_widget_sf_fx_sg_end_scale,1)},sg_start_opacity:{size:a(e.ep_widget_sf_fx_sg_start_opacity,0)},sg_end_opacity:{size:a(e.ep_widget_sf_fx_sg_end_opacity,1)},sg_start_color:o(e.ep_widget_sf_fx_sg_start_color,"#00e239"),sg_end_color:o(e.ep_widget_sf_fx_sg_end_color,"#ffffff"),sg_stagger:{size:a(e.ep_widget_sf_fx_sg_stagger,.1)},sg_duration:{size:a(e.ep_widget_sf_fx_sg_duration,1.5)},sg_start_trigger:o(e.ep_widget_sf_fx_sg_start_trigger,"top 80%"),sg_end_trigger:o(e.ep_widget_sf_fx_sg_end_trigger,"top 30%"),rgm_mask_color:o(e.ep_widget_sf_fx_rgm_mask_color,"#000000"),rgm_x_percent:{size:a(e.ep_widget_sf_fx_rgm_x_percent,-100)},rgm_start_trigger:o(e.ep_widget_sf_fx_rgm_start_trigger,"top 80%"),rgm_end_trigger:o(e.ep_widget_sf_fx_rgm_end_trigger,"top 20%")}):null}function g(e,t){if(e.length&&t){var r=t.animation_type||"scroll_fill";"scaling_gradient_text"===r?function(e,t){e.each(function(){var e=this,r=jQuery(e);if(!r.hasClass("bdt-sg-processed")){r.addClass("bdt-sg-processed"),e.classList.add("bdt-scroll-effect-yes","bdt-scroll-effect-scaling_gradient_text");var s=a(t.sg_start_scale,2),n=a(t.sg_end_scale,1),i=a(t.sg_start_opacity,0),l=a(t.sg_end_opacity,1),g=o(t.sg_start_color,"#08AEEC"),d=o(t.sg_end_color,"#ffffff"),_=a(t.sg_stagger,.1),c=a(t.sg_duration,1.5),f=o(t.sg_start_trigger,"top bottom"),p=o(t.sg_end_trigger,"bottom top"),u=r.text().split("").map(function(e){return" "===e?'<span class="bdt-sg-letter" style="display: inline-flex;">&nbsp;</span>':'<span class="bdt-sg-letter" style="display: inline-flex;">'+e+"</span>"}).join("");r.html(u);var m=r.find(".bdt-sg-letter");"undefined"!=typeof gsap&&"undefined"!=typeof ScrollTrigger?(gsap.set(m.get(),{scale:s,opacity:i,color:g,webkitTextFillColor:g}),gsap.fromTo(m.get(),{scale:s,opacity:i,color:g,webkitTextFillColor:g},{scrollTrigger:{trigger:e,start:f,end:p,scrub:1,markers:!1,invalidateOnRefresh:!0},scale:n,opacity:l,color:d,webkitTextFillColor:d,stagger:_,ease:"power2.out",duration:c})):m.css({transform:"scale("+n+")",opacity:l,color:d,"-webkit-text-fill-color":d})}})}(e,t):"reveal_gradient_mask"===r?function(e,t){e.each(function(){var e=this,r=jQuery(e);if(!r.hasClass("bdt-rgm-processed")){r.addClass("bdt-rgm-processed"),e.classList.add("bdt-scroll-effect-yes","bdt-scroll-effect-reveal_gradient_mask");var s=a(t.rgm_x_percent,-100),n=o(t.rgm_start_trigger,"top 80%"),i=o(t.rgm_end_trigger,"top 20%"),l=o(t.rgm_mask_color,"#262626"),g=jQuery('<div class="bdt-rgm-wrapper"></div>');g.css({position:"relative",display:"inline-block",width:"auto",height:"auto"});var d=jQuery('<div class="bdt-rgm-mask"></div>');d.css({position:"absolute",top:"0",bottom:"0",left:"100%",width:"200%","max-width":"none","background-image":"linear-gradient(to right, transparent, "+l+" 50%, "+l+")","pointer-events":"none","z-index":"1"}),g.html(r.html()),g.append(d),r.html(g),r.css({display:"inline-block",position:"relative"}),"undefined"!=typeof gsap&&"undefined"!=typeof ScrollTrigger&&(gsap.set(d.get(0),{xPercent:0}),gsap.to(d.get(0),{xPercent:s,ease:"none",scrollTrigger:{trigger:e,start:n,end:i,scrub:1,invalidateOnRefresh:!0}}))}})}(e,t):function(e,t){e.each(function(){var e,r=this,s=t.fill_bg||"linear-gradient(90deg, #08aeec 0%, #2af598 100%)",n=t.base_color||"rgba(156, 156, 156, 0.5)";e=r,"undefined"!=typeof ScrollTrigger&&ScrollTrigger.getAll&&ScrollTrigger.getAll().forEach(function(t){t.trigger===e&&t.kill()}),r.setAttribute("data-ep-scroll-fill-effect",JSON.stringify(t)),r.classList.add("bdt-scroll-effect-yes","bdt-scroll-effect-scroll_fill"),r.style.backgroundImage=s+", linear-gradient("+n+", "+n+")",r.style.backgroundRepeat="no-repeat",r.style.backgroundSize="0% 100%, 100% 100%",r.style.backgroundPosition="left center, left center",r.style.transition="background-size 0.25s linear",r.style.setProperty("background-clip","text"),r.style.setProperty("-webkit-background-clip","text"),r.style.setProperty("color","transparent"),r.style.setProperty("-webkit-text-fill-color","transparent"),"undefined"!=typeof gsap&&"undefined"!=typeof ScrollTrigger?gsap.to(r,{scrollTrigger:{trigger:r,start:"top bottom",end:"bottom center",scrub:1,markers:!1,invalidateOnRefresh:!0},backgroundSize:"100% 100%, 100% 100%"}):r.style.backgroundSize="100% 100%, 100% 100%"})}(e,t)}}function d(){var e=jQuery('.elementor-widget-e-heading .e-heading-base, [data-widget_type^="e-heading"] .e-heading-base, .e-heading-base[data-ep-scroll-fill-effect]');"undefined"!=typeof gsap&&"undefined"!=typeof ScrollTrigger&&gsap.registerPlugin&&gsap.registerPlugin(ScrollTrigger),e.each(function(){var e,t,r;g(jQuery(this),(t=(e=this).closest("[data-id]"),!(r=s(e.getAttribute("data-ep-scroll-fill-effect")))&&t&&(r=s(t.getAttribute("data-ep-scroll-fill-effect"))),!r&&t&&(r=jQuery(t).data("settings")||s(t.getAttribute("data-settings"))),l(r)))}),"undefined"!=typeof ScrollTrigger&&ScrollTrigger.refresh&&ScrollTrigger.refresh()}t=r.extend({bindEvents:function(){this.run()},onElementChange:debounce(function(e){-1!==e.indexOf("ep_widget_sf_fx_")&&(this.cleanup(),this.run())},400),settings:function(e){return this.getElementSettings("ep_widget_sf_fx_"+e)},cleanup:function(){var e=this.$element;"undefined"!=typeof ScrollTrigger&&ScrollTrigger.getAll&&ScrollTrigger.getAll().forEach(function(t){t.trigger&&e.find(t.trigger).length>0&&t.kill()}),e.find(".bdt-sg-processed, .bdt-rgm-processed").removeClass("bdt-sg-processed bdt-rgm-processed")},run:function(){var e,t=this.$element,r=this;if("yes"===this.settings("enable")){if(t.hasClass("elementor-widget-text-editor")?0===(e=t.children("h1, h2, h3, h4, h5, h6, p, div, span")).length&&(e=t.find("h1, h2, h3, h4, h5, h6, p").first()):e=jQuery(t).find(".elementor-heading-title, .bdt-heading-tag span, .bdt-ep-advanced-heading-main-title-inner"),0!==e.length){var s=r.settings("animation_type"),n="scaling_gradient_text"===s&&Boolean(elementorFrontend.isEditMode()),i="reveal_gradient_mask"===s&&Boolean(elementorFrontend.isEditMode());if(!n&&!i){if("undefined"==typeof gsap||"undefined"==typeof ScrollTrigger)return;gsap.registerPlugin(ScrollTrigger)}if("scaling_gradient_text"===s){if(Boolean(elementorFrontend.isEditMode()))return;r.applyScalingGradientEffect(e)}else if("reveal_gradient_mask"===s){if(Boolean(elementorFrontend.isEditMode()))return;r.applyRevealGradientMask(e)}else gsap.set(e,{backgroundSize:"0% 100%"}),gsap.to(e,{scrollTrigger:{trigger:e,start:"top bottom",end:"bottom center",scrub:1,markers:!1,invalidateOnRefresh:!0},backgroundSize:"100% 200%"})}}else this.cleanup()},applyScalingGradientEffect:function(e){var t=this;e.each(function(){var e=jQuery(this);if(!e.hasClass("bdt-sg-processed")){e.addClass("bdt-sg-processed");var r=t.settings("sg_start_scale")?t.settings("sg_start_scale").size:2,s=t.settings("sg_end_scale")?t.settings("sg_end_scale").size:1,n=void 0!==t.settings("sg_start_opacity")&&null!==t.settings("sg_start_opacity")?t.settings("sg_start_opacity").size:0,i=void 0!==t.settings("sg_end_opacity")&&null!==t.settings("sg_end_opacity")?t.settings("sg_end_opacity").size:1,a=t.settings("sg_start_color"),o=t.settings("sg_end_color"),l=a&&""!==a?a:"#08AEEC",g=o&&""!==o?o:"#ffffff",d=t.settings("sg_stagger")?t.settings("sg_stagger").size:.1,_=t.settings("sg_duration")?t.settings("sg_duration").size:1.5,c=t.settings("sg_start_trigger")||"top bottom",f=t.settings("sg_end_trigger")||"bottom top",p=e.text().split("").map(function(e){return" "===e?'<span class="bdt-sg-letter" style="display: inline-flex;">&nbsp;</span>':'<span class="bdt-sg-letter" style="display: inline-flex;">'+e+"</span>"}).join("");e.html(p);var u=e.find(".bdt-sg-letter");gsap.set(u.get(),{scale:r,opacity:n,color:l,webkitTextFillColor:l}),gsap.fromTo(u.get(),{scale:r,opacity:n,color:l,webkitTextFillColor:l},{scrollTrigger:{trigger:e.get(0),start:c,end:f,scrub:1,markers:!1,invalidateOnRefresh:!0},scale:s,opacity:i,color:g,webkitTextFillColor:g,stagger:d,ease:"power2.out",duration:_})}})},applyRevealGradientMask:function(e){var t=this;e.each(function(){var e=jQuery(this);if(!e.hasClass("bdt-rgm-processed")){e.addClass("bdt-rgm-processed");var r=t.settings("rgm_x_percent")?t.settings("rgm_x_percent").size:-100,s=t.settings("rgm_start_trigger")||"top 80%",n=t.settings("rgm_end_trigger")||"top 20%",i=t.settings("rgm_mask_color"),a=i&&""!==i?i:"#262626",o=jQuery('<div class="bdt-rgm-wrapper"></div>');o.css({position:"relative",display:"inline-block",width:"auto",height:"auto"});var l=jQuery('<div class="bdt-rgm-mask"></div>');l.css({position:"absolute",top:"0",bottom:"0",left:"100%",width:"200%","max-width":"none","background-image":"linear-gradient(to right, transparent, "+a+" 50%, "+a+")","pointer-events":"none","z-index":"1"}),o.html(e.html()),o.append(l),e.html(o),e.css({display:"inline-block",position:"relative"}),gsap.set(l.get(0),{xPercent:0}),gsap.to(l.get(0),{xPercent:r,ease:"none",scrollTrigger:{trigger:e.get(0),start:s,end:n,scrub:1,invalidateOnRefresh:!0}})}})}}),elementorFrontend.hooks.addAction("frontend/element_ready/heading.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/text-editor.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-advanced-heading.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/e-heading.default",function(){d()}),d(),jQuery(window).on("load",d)})}(jQuery,window.elementorFrontend);!function(t){"use strict";function n(n){if(!n.attr("data-bdt-sticky"))return;const e=n.offset(),i=e?e.left:0;let o=!1;function s(e){if(n.hasClass("bdt-active")){if(!o){const s=function(){const e=n.outerWidth(),o=t(document).width();return"rtl"===t("html").attr("dir")||t("body").hasClass("rtl")?Math.max(o-e-i,0):i}();n.css({"inset-inline-start":s+"px",transition:e?"none":"inset-inline-start 0.15s ease-out"}),o=!0}}else o&&(n.css({"inset-inline-start":"",transition:"inset-inline-start 0.15s ease-out"}),o=!1)}const c=function(t,n){let e;return function(){clearTimeout(e),e=setTimeout(function(){clearTimeout(e),t()},n)}}(function(){o&&s(!0)},100);t(window).on("resize",c);new MutationObserver(function(t){t.forEach(function(t){"attributes"===t.type&&"class"===t.attributeName&&requestAnimationFrame(function(){s(!1)})})}).observe(n[0],{attributes:!0,attributeFilter:["class"]}),n.on("active",function(){requestAnimationFrame(function(){s(!0)})}),n.on("inactive",function(){requestAnimationFrame(function(){s(!1)})}),setTimeout(function(){s(!0)},150)}const e=function(t,e){const i=t;i.each(function(){const t=e(this).find(".elementor-inner-section.bdt-sticky");t.length&&t.wrap('<div class="bdt-sticky-wrapper"></div>')});let o=i.find("[data-bdt-sticky]");0===o.length&&(o=e("[data-bdt-sticky]")),o.each(function(){n(e(this))})};t(document).ready(function(){t("[data-bdt-sticky]").each(function(){n(t(this))})}),t(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/section",e)})}(jQuery,window.elementorFrontend);jQuery(window).on("elementor/frontend/init",()=>{const e={"fade-in":{opacity:0},"fade-in-up":{opacity:0,y:50},"fade-in-down":{opacity:0,y:-50},"fade-in-left":{opacity:0,x:-50},"fade-in-right":{opacity:0,x:50},"zoom-in":{scale:0},"zoom-out":{scale:2},"rotate-in":{rotation:-360},"flip-x":{rotationX:180},"flip-y":{rotationY:180},bounce:{y:-30},pulse:{scale:.9},swing:{rotation:15},shake:{x:-10},"slide-in-left":{x:-100},"slide-in-right":{x:100},"slide-in-up":{y:100},"slide-in-down":{y:-100}},t=["bounce","pulse","swing","shake"],n=t=>e[t]||{opacity:0},a=()=>{document.querySelectorAll('.bdt-shape-builder[data-animation-enabled="true"][data-animation-trigger="on-load"]').forEach(e=>{const t=e.dataset.animationName,a=parseFloat(e.dataset.animationDuration)||1,o=parseFloat(e.dataset.animationDelay)||0,i=e.dataset.animationEasing||"none",r=parseInt(e.dataset.animationRepeat,10)||0,s=e.dataset.animationYoyo,d=parseFloat(e.dataset.animationViewport)||.1,l=n(t),c=((e,t={})=>{const n={...t,transformOrigin:"center center"};return"opacity"in e&&(n.opacity=1),"x"in e&&(n.x=0),"y"in e&&(n.y=0),"scale"in e&&(n.scale=1),"rotation"in e&&(n.rotation=0),"rotationX"in e&&(n.rotationX=0),"rotationY"in e&&(n.rotationY=0),n})(l,{duration:a,delay:o,ease:i,repeat:r,yoyo:s});gsap.set(e,{...l,transformOrigin:"center center"});const u=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(gsap.to(e,c),u.unobserve(e))})},{threshold:d,rootMargin:"0px"});u.observe(e)}),document.querySelectorAll(".elementor-element[data-settings]").forEach(e=>{const a=e.getAttribute("data-settings");if(!a)return;let o;try{const e=jQuery("<textarea/>").html(a).text();o=JSON.parse(e)}catch(e){return}if(!o.bdt_shape_builder_list||!Array.isArray(o.bdt_shape_builder_list))return;const i=o.bdt_shape_builder_list.filter(e=>"yes"===e.shape_builder_animation_popover&&"on-hover"===e.animation_trigger_type);if(0===i.length)return;const r=[];i.forEach(a=>{const o=a._id,i=e.querySelector(`.bdt-shape-builder.elementor-repeater-item-${o}`);if(!i)return;const s=a.animation_name||"fade-in",d=a.animation_duration?.size?parseFloat(a.animation_duration.size):1,l=a.animation_easing||"none",c=n(s);gsap.set(i,{opacity:1});const u=gsap.timeline({paused:!0});t.includes(s)?u.to(i,{...c,duration:d/2,ease:l,yoyo:!0,repeat:1}):u.to(i,{...c,duration:d,ease:l}),r.push(u)}),r.length>0&&(e.addEventListener("mouseenter",()=>{r.forEach(e=>e.restart())}),e.addEventListener("mouseleave",()=>{r.forEach(e=>e.reverse())}))})},o=()=>{document.querySelectorAll(".bdt-shape-builder").forEach(e=>{const t=e.dataset.wrapperId;if(!t)return;const n=document.querySelector(`.${t}`);n&&n.appendChild(e)}),a()};["container","section","column","inner-section"].forEach(e=>{elementorFrontend.hooks.addAction(`frontend/element_ready/${e}`,o)}),jQuery(window).on("load",o)});!function(e){e(window).on("elementor/frontend/init",function(){var t,n=elementorModules.frontend.handlers.Base;function o(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}function r(){e(".elementor-element[data-id]").each(function(){var t=e(this);(t.is("[data-ep-sound-effects]")||t.find("[data-ep-sound-effects]").length)&&o(t)})}t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{event:"hover"}},onElementChange:debounce(function(e){-1!==e.indexOf("ep_sound_effects_")&&this.run()},400),settings:function(e){return this.getElementSettings("ep_sound_effects_"+e)},isAtomicWidget:function(){return!!this.getAtomicSettings()},getAtomicSettings:function(){var e=this.$element.get(0);if(!e)return null;var t=e.matches("[data-ep-sound-effects]")?e:e.querySelector("[data-ep-sound-effects]");if(!t){var n=this.findElement("> :first-child").get(0);n&&(t=n.matches("[data-ep-sound-effects]")?n:n.querySelector("[data-ep-sound-effects]")||n)}if(!t)return null;var o=t.getAttribute("data-ep-sound-effects");if(!o)return null;try{var r=JSON.parse(o);return r&&"yes"===r.active?r:null}catch(e){return null}},getSettingValue:function(e){var t=this.getAtomicSettings();return t&&void 0!==t[e]?t[e]:this.settings(e)},getSoundEffectsRoot:function(){var e=this.$element,t=this.findElement(".elementor-widget-container").first();if(t.length)return t.get(0);var n=this.findElement("> :not(style)").first();return n.length?n.get(0):e.get(0)},resolveCustomSelector:function(t){var n=this.$element,o=(t||"").trim();if(!o)return e();var r=n.find(o);return r.length||(r=n.filter(o)),r.length||-1!==o.indexOf(".")||-1!==o.indexOf("#")||-1!==o.indexOf(" ")||(r=n.find("#"+o)).length||(r=n.find("."+o)),r},resolveSoundEffectsTargets:function(){var t=this.getSettingValue("select_type"),n=this.getSettingValue("element_selector"),o="ep-sound-effects"+this.getID(),r=this.$element,i=this.getSoundEffectsRoot();if("custom"===t)return this.resolveCustomSelector(n);i&&e(i).attr("id",o);var u="#"+o;return"anchor_tag"===t?this.isAtomicWidget()?r.find("a"):e(u+" a"):"widget"===t?this.isAtomicWidget()?i?e(u):r:e(u):e()},run:function(){if("yes"==this.getSettingValue("active")){var t,n,o=this.resolveSoundEffectsTargets();if(o&&o.length){if("hosted_url"!==this.getSettingValue("source"))t=this.getSettingValue("source_local_link")+this.getSettingValue("source");else{var r=this.getSettingValue("hosted_url"),i=this.getSettingValue("hosted_url_mp3");r&&r.url&&(t=r.url.replace(/\.[^/.]+$/,"")),i&&i.url&&(n=i.url.replace(/\.[^/.]+$/,""))}if(t){if(!document.createElement("audio").canPlayType)return console.error("Oh man 😩! \nYour browser doesn't support audio awesomeness."),function(){};var u=document.createElement("audio"),s=document.createElement("source"),d=document.createElement("source"),a=!1;u.setAttribute("preload",!0),s.setAttribute("type","audio/mpeg"),d.setAttribute("type","audio/ogg"),u.appendChild(s),u.appendChild(d),document.body.appendChild(u);var l=this;jQuery(document).ready(function(){"hover"==l.getSettingValue("event")&&(jQuery(o).on("mouseenter",function(){c()}),jQuery(o).on("mouseleave",function(){f()}),jQuery(o).on("click",function(){f()}),jQuery(o).on("touchstart",function(){c()})),"click"==l.getSettingValue("event")&&e(o).on("click",function(){c()})})}}}function c(){var e,o;t&&(n&&(e=n+".mp3"),o=t+".ogg",a||(a=!0,d.addEventListener("error",function(){console.error("😶 D'oh! The ogg file URL is wrong!")})),(e||o)&&(n&&s.setAttribute("src",e),d.setAttribute("src",o),u.load()),u.play())}function f(){u.pause(),u.currentTime=0}}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",o),elementorFrontend.hooks.addAction("frontend/element_ready/e-heading.default",o),elementorFrontend.hooks.addAction("frontend/element_ready/e-paragraph.default",o),elementorFrontend.hooks.addAction("frontend/element_ready/e-button.default",o),elementorFrontend.hooks.addAction("frontend/element_ready/global",function(t){var n=e(t);n.length&&(n.is("[data-ep-sound-effects]")||n.find("[data-ep-sound-effects]").length)&&o(n)}),r(),jQuery(window).on("load",r)})}(jQuery,window.elementorFrontend);!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var t,n=elementorModules.frontend.handlers.Base;function i(e){if(!e||"string"!=typeof e)return null;try{return JSON.parse(e)}catch(e){return null}}function s(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"value")?s(e.value):e}function r(){jQuery('.elementor-widget-e-heading .e-heading-base, [data-widget_type^="e-heading"] .e-heading-base, .e-heading-base[data-ep-threed-text]').each(function(){var t=this,n=t.closest("[data-id]"),r=i(t.getAttribute("data-ep-threed-text"));!r&&n&&(r=i(n.getAttribute("data-ep-threed-text"))),!r&&n&&(r=jQuery(n).data("settings")||i(n.getAttribute("data-settings"))),(r=function(e){return e?e.active||e.depth||e.layers?e:!0!==s(e.ep_threed_text_active)&&"yes"!==s(e.ep_threed_text_active)?null:{active:"yes",depth:{size:parseFloat(s(e.ep_threed_text_depth)||30),unit:"px"},layers:parseInt(s(e.ep_threed_text_layers)||8,10),depth_color:s(e.ep_threed_text_depth_color)||"",perspective:{size:parseFloat(s(e.ep_threed_text_perspective)||500),unit:"px"},fade:s(e.ep_threed_text_fade)?"yes":"",event:s(e.ep_threed_text_event)||"none",event_rotation:{size:parseFloat(s(e.ep_threed_text_event_rotation)||35),unit:"deg"},event_direction:s(e.ep_threed_text_event_direction)||"default"}:null}(r))&&function(t,n,i){if(t.length&&n&&"yes"===n.active){var s=t.get(0),r=i||t.attr("id")||"ep-atomic-"+Date.now()+"-"+Math.floor(1e4*Math.random()),d="#"+r,a={depth:"30px",layers:8};t.attr("id",r),n.depth&&n.depth.size&&(a.depth=n.depth.size+(n.depth.unit||"px")),n.layers&&(a.layers=n.layers),n.perspective&&n.perspective.size&&(a.perspective=n.perspective.size+"px"),n.fade&&(a.fade="yes"===n.fade||!0===n.fade),n.event&&(a.event=n.event),n.event_rotation&&"none"!==n.event&&(a.eventRotation=n.event_rotation.size+"deg"),n.event_direction&&"none"!==n.event&&(a.eventDirection=n.event_direction);var o=t.html();if(t.parent().find(".ep-z-text-duplicate").remove(),t.parent().append('<div class="ep-z-text-duplicate" style="display:none;">'+o+"</div>"),o=t.parent().find(".ep-z-text-duplicate:first").html(),t.find(".z-text").remove(),new Ztextify(d,a,o),n.depth_color)e(d).find(".z-layers .z-layer:not(:first-child)").css("color",n.depth_color);else if(s){var p=window.getComputedStyle(s).color;e(d).find(".z-layers .z-layer:not(:first-child)").css("color",p)}}}(jQuery(t),r,"ep-atomic-"+(n?n.getAttribute("data-id"):Date.now()))})}t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{depth:"30px",layers:8}},onElementChange:debounce(function(e){-1!==e.indexOf("ep_threed_text_")&&this.run()},400),settings:function(e){return this.getElementSettings("ep_threed_text_"+e)},run:function(){var t=this.getDefaultSettings(),n=this.findElement(".elementor-heading-title, .bdt-main-heading-inner"),i="ep-"+this.getID(),s="#"+i;if(jQuery(n).attr("id",i),this.settings("depth.size")&&(t.depth=this.settings("depth.size")+this.settings("depth.unit")||"30px"),this.settings("layers")&&(t.layers=this.settings("layers")||8),this.settings("perspective.size")&&(t.perspective=this.settings("perspective.size")+"px"||"500px"),this.settings("fade")&&(t.fade=!!this.settings("fade")),this.settings("event")&&(t.event=this.settings("event")||"pointer"),this.settings("event_rotation")&&"none"!=this.settings("event")&&(t.eventRotation=this.settings("event_rotation.size")+"deg"||"35deg"),this.settings("event_direction")&&"none"!=this.settings("event")&&(t.eventDirection=this.settings("event_direction")||"default"),"yes"==this.settings("active")){var r=e(s).html();e(s).parent().append('<div class="ep-z-text-duplicate" style="display:none;">'+r+"</div>"),r=e(s).parent().find(".ep-z-text-duplicate:first").html(),e(s).find(".z-text").remove(),new Ztextify(s,t,r)}if(this.settings("depth_color")){var d=this.settings("depth_color")||"#fafafa";e(s).find(".z-layers .z-layer:not(:first-child)").css("color",d)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/e-heading.default",function(){r()}),r(),jQuery(window).on("load",r)})}(jQuery,window.elementorFrontend);!function(e){e(window).on("elementor/frontend/init",function(){let t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},settings:function(e){return this.getElementSettings("element_pack_tile_scroll_"+e)},run:function(){if("yes"==this.settings("show")){const t=this.$element.data("id"),n="bdt-tile-scroll-container-"+t;if(0===e("#"+n).length){let l=this.settings("display"),i=`\n                        <div id="${n}" class="bdt-tile-scroll bdt-tile-scroll--${l}">\n                            <div class="bdt-tile-scroll__wrap">`;this.settings("elements").forEach(e=>{let n,s=e.element_pack_tile_scroll_images,o=e.element_pack_tile_scroll_x_start.size,r=e.element_pack_tile_scroll_x_end.size;n="horizontal"===l?'data-bdt-parallax="target: .elementor-element-'+t+"; viewport: 1.1; x:"+o+","+r+'"':'data-bdt-parallax="y:'+o+","+r+'"',i+=`<div class="bdt-tile-scroll__line" ${n}>`,s.forEach(e=>{i+=`<div class=" bdt-tile-scroll__line-img" style="background-image:url(${e.url})" loading="lazy"></div>`}),i+="</div>"}),i+="</div></div>",e(".elementor-element-"+t).prepend(i)}}}}),elementorFrontend.hooks.addAction("frontend/element_ready/section",function(e){e.hasClass("bdt-tile-scroll-yes")&&elementorFrontend.elementsHandler.addHandler(t,{$element:e})}),elementorFrontend.hooks.addAction("frontend/element_ready/container",function(e){e.hasClass("bdt-tile-scroll-yes")&&elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);!function(e){e(window).on("elementor/frontend/init",function(){var n,t=elementorModules.frontend.handlers.Base;n=t.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:debounce(function(e){-1!==e.indexOf("element_pack_ris_")&&this.run()},400),settings:function(e){return this.getElementSettings("element_pack_ris_"+e)},run:function(){const n=this.$element.data("id");let t=e(".elementor-element-"+n);const s=this;if("yes"!==this.settings("enable"))return;this.settings("selector")&&(t=e(".elementor-element-"+n).find(this.settings("selector")));t.find("img").each(function(){const n=e(this);if(!n.hasClass("element-pack-ris-image")){const i=n.clone();i.addClass("element-pack-ris-image");const o=e(n).parent().find(".element-pack-ris-image");o.length>1&&o.not(":first").remove(),o.length<1&&e(n).parent().append(i),t.addClass("bdt-realistic-image-shadow"),"yes"===s.settings("on_hover")&&t.addClass("bdt-hover")}})}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){elementorFrontend.elementsHandler.addHandler(n,{$element:e})})})}(jQuery,window.elementorFrontend);!function(t){t(window).on("elementor/frontend/init",function(){var t,e=elementorModules.frontend.handlers.Base;t=e.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{allowHTML:!0}},onElementChange:debounce(function(t){-1!==t.indexOf("element_pack_widget_")&&(this.instance.destroy(),this.run())},400),settings:function(t){return this.getElementSettings("element_pack_widget_"+t)},run:function(){var t=this.getDefaultSettings(),e=this.$element.data("id"),i=document.querySelector(".elementor-element-"+e);this.settings("tooltip_text")&&(t.content=EP_SAFE_HTML(this.settings("tooltip_text"))),t.arrow=!!this.settings("tooltip_arrow"),t.followCursor=!!this.settings("tooltip_follow_cursor"),this.settings("tooltip_placement")&&(t.placement=this.settings("tooltip_placement")),this.settings("tooltip_trigger")&&(this.settings("tooltip_custom_trigger")?t.triggerTarget=document.querySelector(this.settings("tooltip_custom_trigger")):t.trigger=this.settings("tooltip_trigger")),this.settings("tooltip_animation")&&("fill"===this.settings("tooltip_animation")?t.animateFill=!0:t.animation=this.settings("tooltip_animation")),(this.settings("tooltip_x_offset.size")||this.settings("tooltip_y_offset.size"))&&(t.offset=[this.settings("tooltip_x_offset.size")||0,this.settings("tooltip_y_offset.size")||0]),this.settings("tooltip")&&(t.theme="bdt-tippy-"+e,this.instance=tippy(i,t))}}),elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);jQuery(document).ready(function(){jQuery("body").on("click",".bdt-element-link",function(){var e=jQuery(this),r=e.data("ep-wrapper-link");if(r&&r.url&&(/^(https?:\/\/|tel:|mailto:|sms:)/.test(r.url)||r.url.startsWith("#"))){var t="bdt-element-link-"+e.data("id");0===jQuery("#"+t).length&&jQuery("body").append(jQuery("<a/>").prop({target:r.is_external?"_blank":"_self",href:r.url,class:"bdt-hidden",id:t,rel:r.is_external?"noopener noreferrer":""})),jQuery("#"+t)[0].click()}})});!function(e){"use strict";e(window).on("elementor/frontend/init",function(){var t,n=elementorModules.frontend.handlers.Base;t=n.extend({bindEvents:function(){this.run()},getDefaultSettings:function(){return{}},onElementChange:debounce(function(e){-1!==e.indexOf("wc")&&this.run()},400),settings:function(e){return this.getElementSettings("wc_products_"+e)},run:function(){this.getDefaultSettings();const t=this.settings("enable_ajax_loadmore"),n=this.$element.find(".bdt-wc-products");if(!n.length||void 0===t)return;const o=this.settings("show_loadmore"),d=this.settings("show_infinite_scroll"),i=this.$element.find(".bdt-loadmore-container"),s=n.find(".bdt-wc-products-wrapper"),a=i.find(".bdt-loadmore");let r=!1;const l=n.data("settings");let c=Number(l.posts_per_page);const u=()=>{const t={action:"bdt_ep_wc_products_load_more",settings:l,per_page:l.ajax_item_load,offset:c,nonce:l.nonce,paged:l.paged};e.ajax({url:window.ElementPackConfig.ajaxurl,type:"post",data:t,success:t=>{e(s).append(t.markup),c+=l.ajax_item_load,l.paged+=1,r=!1,"yes"===o&&a.html("Load More"),e(t.markup).length<l.ajax_item_load&&(a.hide(),i.hide())}})},m=()=>{r||(r=!0,a.html("Loading..."),u())};"yes"===o&&e(a).on("click",m),"yes"===d&&e(window).scroll(()=>{e(window).scrollTop()!==e(document).height()-e(window).height()||r||(e(a).css("display","block"),r=!0,u())})}}),elementorFrontend.hooks.addAction("frontend/element_ready/bdt-wc-products.default",function(e){elementorFrontend.elementsHandler.addHandler(t,{$element:e})})})}(jQuery,window.elementorFrontend);
!function(e){woodmartThemeModule.headerBuilder=function(){var s,l=e(".whb-header"),d=e(".wd-hb"),o=e(".whb-sticky-row"),a="",r=woodmartThemeModule.$window,t=!1,h=300,n="",w=l.hasClass("whb-hide-on-scroll");if(o.each(function(){var s=e(this);if(s[0].offsetHeight>10)return a=s,!1}),l.hasClass("whb-sticky-real")||l.hasClass("whb-scroll-slide")){var i=e("#wpadminbar"),c=l.find(".whb-main-header")[0].offsetHeight,f=i.length>0?i[0].offsetHeight:0;if(l.hasClass("whb-sticky-real")){if(0===a.length||a[0].offsetHeight<10||"undefined"!=typeof elementorFrontend&&elementorFrontend.isEditMode())return;l.addClass("whb-sticky-prepared"),h=Math.ceil(a.offset().top)-f}l.hasClass("whb-scroll-slide")&&(h=c+f)}if(l.hasClass("whb-sticky-clone")){var b=[];b.cloneClass=l.find(".whb-general-header").attr("class"),w&&(b.wrapperClasses="whb-hide-on-scroll"),e(".whb-clone").length&&e(".whb-clone").remove(),n=(n=(n=(n=(n=woodmart_settings.whb_header_clone).replace(/<%([^%>]+)?%>|{{([^{}]+)}}/g,function(s){var d=s.slice(2,-2);return l.find(d).length?e("<div>").append(l.find(d).first().clone()).html():void 0!==b[d]?b[d]:""})).replace(/<link[^>]*>/g,"")).replace("whb-col-1","")).replace("dropdowns-loading",""),l.after(n),(l=l.parent().find(".whb-clone")).find(".whb-row").removeClass("whb-flex-equal-sides").addClass("whb-flex-flex-middle"),window.dispatchEvent(new CustomEvent("wdHeaderBuilderCloneCreated"))}function u(){l.hasClass("whb-boxed")&&(e(".wd-offsets-calculated .wd-dropdown-menu").attr("style",""),e(".wd-offsets-calculated").removeClass("wd-offsets-calculated"),woodmartThemeModule.$window.trigger("wdHeaderBuilderStickyChanged"))}r.on("scroll",function(){var o=h,a=woodmartThemeModule.$window.scrollTop(),r=woodmartThemeModule.$window.height(),n=woodmartThemeModule.$document.height();d.length>0&&d.hasClass("wd-display")&&(o+=d[0].offsetHeight),!e(".wd-hb-close").length&&l.hasClass("whb-scroll-stick")&&(o=h),a>o?t||(t=!0,l.addClass("whb-sticked"),u()):t&&(t=!1,l.removeClass("whb-sticked"),u());var i=100;l.hasClass("whb-scroll-stick")&&(i=500),w&&(s-a>0&&a>o?(l.addClass("whb-scroll-up"),l.removeClass("whb-scroll-down")):a-s>0&&a+r!==n&&a>o+i?(l.addClass("whb-scroll-down"),l.removeClass("whb-scroll-up")):a<=o?(l.removeClass("whb-scroll-down"),l.removeClass("whb-scroll-up")):a+r>=n-5&&(l.addClass("whb-scroll-up"),l.removeClass("whb-scroll-down"))),s=a}),woodmartThemeModule.$document.trigger("wdHeaderBuilderInited")},["wdEventStarted","wdUpdatedHeader"].forEach(e=>{window.addEventListener(e,function(){woodmartThemeModule.headerBuilder()})})}(jQuery);
!function(e){woodmartThemeModule.menuOverlay=function(){var d=".wd-header-nav.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-hover, .wd-header-cats.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-hover, .wd-sticky-nav:not(.wd-opened), .wd-header-cats.wd-with-overlay.wd-event-hover, .wd-header-my-account.wd-with-overlay, .wd-header-cart.wd-with-overlay, .wd-header-search.wd-display-dropdown.wd-with-overlay",o="",t=e(".wd-close-side");woodmartThemeModule.$document.on("mouseleave",d,function(){e(this).parents(".wd-header-cats.wd-with-overlay.wd-event-click.wd-opened").length||t.trigger("wdCloseSideAction",["hide","hover","wd-location-header-sticky wd-location-header wd-location-header-cats wd-location-sticky-nav"])}),woodmartThemeModule.$document.on("mouseenter mousemove",d,function(){var d=e(this);if(!(t.hasClass("wd-close-side-opened")||woodmartThemeModule.$window.width()<768)){var o=d.parents(".whb-header").length,a=d.parents(".whb-clone").length,n=d.hasClass("wd-sticky-nav"),w=d.parents(".wd-header-cats").length,i="";o?(i=d.parents(".whb-sticked").length?"wd-location-header-sticky":"wd-location-header",w&&(i+=" wd-location-header-cats")):a?i="wd-location-header-sticky":n&&(i="wd-location-sticky-nav"),t.trigger("wdCloseSideAction",["show","hover",i])}}),woodmartThemeModule.$document.on("click",".wd-header-nav.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-click, .wd-header-cats.wd-with-overlay .item-level-0.menu-item-has-children.wd-event-click, .wd-header-cats.wd-with-overlay.wd-event-click, .wd-search-form.wd-with-overlay .wd-search-cat",function(d){var o=e(this);o.parents(".wd-header-cats.wd-with-overlay.wd-event-click.wd-opened").length||o.parents(".wd-header-cats.wd-with-overlay.wd-event-hover").length||setTimeout(function(){var e=o.hasClass("wd-opened")?"show":"hide";t.trigger("wdCloseSideAction",[e,"click"])})}),woodmartThemeModule.$document.on("click touchstart",".wd-close-side.wd-location-header",function(){e(this).removeClass("wd-location-header wd-close-side-opened")}),t.on("wdCloseSideAction",function(e,d,a,n="wd-location-header"){"hover"===a&&"click"===o||(o="click"===a&&"hide"===d?"":a,"show"===d?t.addClass("wd-close-side-opened").addClass(n):t.removeClass("wd-close-side-opened").removeClass(n))})},["wdEventStarted","wdUpdatedHeader"].forEach(e=>{window.addEventListener(e,function(){woodmartThemeModule.menuOverlay()})})}(jQuery);
!function(e){woodmartThemeModule.menuOffsets=function(){e(".wd-header-main-nav ul.menu > li, .wd-header-secondary-nav ul.menu > li, .widget_nav_mega_menu ul.menu:not(.wd-nav-vertical) > li, .wd-header-main-nav .wd-dropdown.wd-design-aside ul > li").each(function(){var d=e(this);function s(){d.hasClass("wd-offsets-calculated")||d.parents(".wd-design-aside").length||(d.find(" > .menu-item-has-children").each(function(){!function(d){var s,o,n,a=d.find(" > .wd-dropdown-menu"),t=a.outerWidth(),w=a.offset();if(a.attr("style",""),t&&w)if(a.hasClass("wd-design-full-width")||a.hasClass("wd-design-aside"))o=woodmartThemeModule.$window.width(),woodmartThemeModule.$body.hasClass("rtl")?(n=o-w.left-t)+t>=o&&(s=n+t-o,a.css({right:-s})):w.left+t>=o&&(s=w.left+t-o,a.css({left:-s}));else if(a.hasClass("wd-design-sized")||a.hasClass("wd-design-full-height")){o=woodmart_settings.site_width,(woodmartThemeModule.$window.width()<o||!o||d.parents(".whb-header").hasClass("whb-full-width"))&&(o=woodmartThemeModule.$window.width()),n=o-w.left-t;var i,l=15,r=(woodmartThemeModule.$window.width()-o)/2,m=e(".wd-sticky-nav");woodmartThemeModule.$body.hasClass("wd-sticky-nav-enabled")&&m.length&&(l-=m.width()/2),woodmartThemeModule.$body.hasClass("rtl")?(i=r+n)+t>=o&&(s=i+t-o,a.css({right:-s-l})):(i=w.left-r)+t>=o&&(s=i+t-o,a.css({left:-s-l}))}}(e(this))}),woodmartThemeModule.$document.trigger("resize.vcRowBehaviour"),d.addClass("wd-offsets-calculated"))}d.hasClass("menu-item")&&(d=e(this).parent()),d.on("mouseenter mousemove",function(){s()}),woodmartThemeModule.$window.on("wdHeaderBuilderStickyChanged",s),"yes"===woodmart_settings.clear_menu_offsets_on_resize&&setTimeout(function(){woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){d.removeClass("wd-offsets-calculated"),d.find(" > .menu-item-has-children > .wd-dropdown-menu").attr("style","")},300))},2e3)})},woodmartThemeModule.menuDropdownAside=function(){e(".wd-nav .wd-design-aside, .wd-header-cats.wd-open-dropdown .wd-nav").each(function(){var d=e(this).find(".menu-item");if(d.length){var s=d.first();s.hasClass("menu-item-has-children")||s.parents(".wd-sub-menu-wrapp").addClass("wd-empty-item"),s.addClass("wd-opened").find(".wd-dropdown").addClass("wd-opened"),d.on("mouseover",function(){var d=e(this),s=d.parents(".wd-sub-menu-wrapp");d.hasClass("wd-opened")||(d.hasClass("item-level-1")&&(d.hasClass("menu-item-has-children")?s.removeClass("wd-empty-item"):s.addClass("wd-empty-item")),d.siblings().removeClass("wd-opened").find(".wd-dropdown").removeClass("wd-opened"),d.addClass("wd-opened").find(".wd-dropdown").addClass("wd-opened"))})}})},window.addEventListener("wdEventStarted",function(){setTimeout(function(){woodmartThemeModule.menuDropdownAside(),woodmartThemeModule.menuOffsets()},100)}),window.addEventListener("wdUpdatedHeader",function(){e(".whb-header .wd-offsets-calculated").removeClass("wd-offsets-calculated"),e(".whb-header .menu-item.wd-opened, .whb-header .wd-dropdown.wd-opened").removeClass("wd-opened"),e(".whb-header .wd-dropdown-menu").attr("style",""),woodmartThemeModule.menuDropdownAside(),woodmartThemeModule.menuOffsets()})}(jQuery);
!function(e){woodmartThemeModule.menuSetUp=function(){var n=e(".wd-nav, .wd-header-cats, .wd-search-cat"),d="wd-opened";if(e(".mobile-nav").find("ul.wd-nav-mobile").find(" > li").has(".wd-dropdown-menu").addClass("menu-item-has-children"),woodmartThemeModule.$document.on("click",".wd-nav .wd-event-click > a, .wd-header-cats.wd-event-click > span, .wd-search-cat-btn",function(n){n.preventDefault();var t=e(this);t.parent().siblings().hasClass(d)&&t.parent().siblings().removeClass(d),t.parent().toggleClass(d)}),woodmartThemeModule.$document.on("click",function(t){var o=t.target;if(!(!(e("."+d).length>0)||e(o).is(".wd-event-hover")||e(o).parents().is(".wd-event-hover")||e(o).parents().is("."+d)||e(o).is("."+d)||e(o).is(".wd-sticky-nav")||o.closest(".wd-cookies-popup")||o.closest(".wd-fb-holder")||0!==e(".mfp-ready").length||0!==e(".pswp--open").length)){if(n.find(".wd-event-click."+d).removeClass(d),n.hasClass("wd-event-click")&&n.removeClass(d),e(o).closest(".wd-with-overlay").length)return;e(".wd-close-side").trigger("wdCloseSideAction",["hide","click"])}}),"yes"===woodmart_settings.menu_item_hover_to_click_on_responsive){function t(){woodmartThemeModule.$window.width()<=1024?n.find(" > .menu-item-has-children.wd-event-hover").each(function(){e(this).data("original-event","hover").removeClass("wd-event-hover").addClass("wd-event-click")}):n.find(" > .wd-event-click").each(function(){var n=e(this);"hover"===n.data("original-event")&&n.removeClass("wd-event-click").addClass("wd-event-hover")})}t(),woodmartThemeModule.$window.on("resize",woodmartThemeModule.debounce(function(){t()},300))}},["wdEventStarted","wdUpdatedHeader"].forEach(e=>{window.addEventListener(e,function(){woodmartThemeModule.menuSetUp()})})}(jQuery);
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports&&"function"==typeof require?e(require("jquery")):e(jQuery)}(function(e){"use strict";var t={escapeRegExChars:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},createNode:function(e){var t=document.createElement("div");return t.className=e,t.style.position="absolute",t.style.display="none",t}};function n(t,s){var i=function(){},o=this,a={ajaxSettings:{},autoSelectFirst:!1,appendTo:document.body,serviceUrl:null,lookup:null,onSelect:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:n.formatResult,delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:i,onSearchComplete:i,onSearchError:i,preserveInput:!1,containerClass:"wd-search-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(e,t,n){return-1!==e.value.toLowerCase().indexOf(n)},paramName:"query",transformResult:function(e){return"string"==typeof e?JSON.parse(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1};o.element=t,o.el=e(t),o.suggestions=[],o.badQueries=[],o.selectedIndex=-1,o.currentValue=o.element.value,o.intervalId=0,o.cachedResponse={},o.onChangeInterval=null,o.onChange=null,o.isLocal=!1,o.suggestionsContainer=null,o.noSuggestionsContainer=null,o.options=e.extend({},a,s),o.classes={selected:"wd-active",suggestion:"wd-suggestion"},o.hint=null,o.hintValue="",o.selection=null,o.initialize(),o.setOptions(s)}n.utils=t,e.Autocomplete=n,n.formatResult=function(e,n){var s="("+t.escapeRegExChars(n)+")";return e.value.replace(new RegExp(s,"gi"),"<strong>$1</strong>").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/&lt;(\/?strong)&gt;/g,"<$1>")},n.prototype={killerFn:null,initialize:function(){var t,s=this,i=`.${s.classes.suggestion}`,o=s.classes.selected,a=s.options;s.element.setAttribute("autocomplete","off"),s.killerFn=function(t){0===e(t.target).closest("."+s.options.containerClass).length&&(s.killSuggestions(t),s.disableKillerFn())},s.noSuggestionsContainer=e('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),s.suggestionsContainer=n.utils.createNode(a.containerClass),(t=e(s.suggestionsContainer)).appendTo(a.appendTo),"auto"!==a.width&&t.width(a.width),t.on("mouseover.autocomplete",i,function(t){if(e(this).hasClass("wd-not-found"))return t.preventDefault(),!1;s.activate(e(this).data("index"))}),t.on("mouseout.autocomplete",function(){s.selectedIndex=-1,t.find("."+o).removeClass(o)}),t.on("click.autocomplete",i,function(t){if(e(this).hasClass("wd-not-found")||e(this).hasClass("wd-search-title"))return t.preventDefault(),!1;var n=e(this).find("> a").length>0;s.select(e(this).data("index"),n)}),s.fixPositionCapture=function(){s.visible&&s.fixPosition()},e(window).on("resize.autocomplete",s.fixPositionCapture),s.el.on("keydown.autocomplete",function(e){s.onKeyPress(e)}),s.el.on("keyup.autocomplete",function(e){s.onKeyUp(e)}),s.el.on("blur.autocomplete",function(){s.onBlur()}),s.el.on("focus.autocomplete",function(){s.onFocus()}),s.el.on("change.autocomplete",function(e){s.onKeyUp(e)}),s.el.on("input.autocomplete",function(e){s.onKeyUp(e)});var l=s.el.parent().find(".wd-clear-search");l&&l.on("click",function(e){s.onClearSearch(e)})},onClearSearch:function(e){var t=this;e.target.classList.contains("wd-clear-search")&&e.target.classList.add("wd-hide"),t.clear(),t.killSuggestions(e),t.el.trigger("focus")},onFocus:function(){var e=this;e.fixPosition(),0===e.options.minChars&&0===e.el.val().length&&e.onValueChange()},onBlur:function(){this.enableKillerFn()},abortAjax:function(){var e=this;e.currentRequest&&(e.currentRequest.abort(),e.currentRequest=null)},setOptions:function(t){var n=this,s=n.options;e.extend(s,t),n.isLocal=Array.isArray(s.lookup),n.isLocal&&(s.lookup=n.verifySuggestionsFormat(s.lookup)),s.orientation=n.validateOrientation(s.orientation,"bottom"),e(n.suggestionsContainer).css({"max-height":s.maxHeight+"px",width:s.width+"px","z-index":s.zIndex})},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){var e=this;e.disabled=!0,clearInterval(e.onChangeInterval),e.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var t=this,n=e(t.suggestionsContainer),s=n.parent().get(0);if(s===document.body||t.options.forceFixPosition){var i=t.options.orientation,o=n.outerHeight(),a=t.el.outerHeight(),l=t.el.offset(),r={top:l.top,left:l.left};if("auto"===i){var u=e(window).height(),c=e(window).scrollTop(),g=-c+l.top-o,d=c+u-(l.top+a+o);i=Math.max(g,d)===g?"top":"bottom"}if(r.top+="top"===i?-o:a,s!==document.body){var h,p=n.css("opacity");t.visible||n.css("opacity",0).show(),h=n.offsetParent().offset(),r.top-=h.top,r.left-=h.left,t.visible||n.css("opacity",p).hide()}"auto"===t.options.width&&(r.width=t.el.outerWidth()-2+"px"),n.css(r)}},enableKillerFn:function(){e(document).on("click.autocomplete",this.killerFn)},disableKillerFn:function(){e(document).off("click.autocomplete",this.killerFn)},killSuggestions:function(t){var n=this,s=e(t.target).hasClass("wd-clear-search");n.stopKillSuggestions(),n.intervalId=window.setInterval(function(){n.visible&&(n.el.val(n.currentValue),n.hide(!1,s)),n.stopKillSuggestions()},50)},stopKillSuggestions:function(){window.clearInterval(this.intervalId)},isCursorAtEnd:function(){var e,t=this.el.val().length,n=this.element.selectionStart;return"number"==typeof n?n===t:!document.selection||((e=document.selection.createRange()).moveStart("character",-t),t===e.text.length)},onKeyPress:function(e){var t=this;if(t.disabled||t.visible||40!==e.which||!t.currentValue){if(!t.disabled&&t.visible){switch(e.which){case 27:t.el.val(t.currentValue),t.hide();break;case 39:if(t.hint&&t.options.onHint&&t.isCursorAtEnd()){t.selectHint();break}return;case 9:if(t.hint&&t.options.onHint)return void t.selectHint();if(-1===t.selectedIndex)return void t.hide();if(t.select(t.selectedIndex),!1===t.options.tabDisabled)return;break;case 13:if(-1===t.selectedIndex)return void t.hide(!0);t.select(t.selectedIndex,!0);break;case 38:t.moveUp();break;case 40:t.moveDown();break;default:return}e.stopImmediatePropagation(),e.preventDefault()}}else t.suggest()},onKeyUp:function(e){var t=this;if(!t.disabled){switch(e.which){case 38:case 40:return}clearInterval(t.onChangeInterval),t.currentValue!==t.el.val()&&(t.findBestHint(),t.options.deferRequestBy>0?t.onChangeInterval=setInterval(function(){t.onValueChange()},t.options.deferRequestBy):t.onValueChange())}},onValueChange:function(){var t=this,n=t.options,s=t.el.val(),i=t.getQuery(s);t.selection&&t.currentValue!==i&&(t.selection=null,(n.onInvalidateSelection||e.noop).call(t.element)),clearInterval(t.onChangeInterval),t.currentValue=s,t.selectedIndex=-1,n.triggerSelectOnValidInput&&t.isExactMatch(i)?t.select(0):i.length<n.minChars?t.hide():t.getSuggestions(i)},isExactMatch:function(e){var t=this.suggestions;return 1===t.length&&t[0].value.toLowerCase()===e.toLowerCase()},getQuery:function(e){var t,n,s=this.options.delimiter;return s?null==(n=(t=e.split(s))[t.length-1])?"":"string"==typeof n?n.trim():(n+"").replace("/^[\\s\ufeff ]+|[\\s\ufeff ]+$/g",""):e},getSuggestionsLocal:function(t){var n,s=this.options,i=t.toLowerCase(),o=s.lookupFilter,a=parseInt(s.lookupLimit,10);return n={suggestions:e.grep(s.lookup,function(e){return o(e,t,i)})},a&&n.suggestions.length>a&&(n.suggestions=n.suggestions.slice(0,a)),n},getSuggestions:function(t){var n,s,i,o,a=this,l=a.options,r=l.serviceUrl;l.params[l.paramName]=t,s=l.ignoreParams?null:l.params,!1!==l.onSearchStart.call(a.element,l.params)&&("function"!=typeof l.lookup?(a.isLocal?n=a.getSuggestionsLocal(t):("function"==typeof r&&(r=r.call(a.element,t)),i=r+"?"+e.param(s||{}),n=a.cachedResponse[i]),n&&Array.isArray(n.suggestions)?(a.suggestions=n.suggestions,a.suggest(),l.onSearchComplete.call(a.element,t,n.suggestions)):a.isBadQuery(t)?l.onSearchComplete.call(a.element,t,[]):(a.abortAjax(),o={url:r,data:s,type:l.type,dataType:l.dataType},e.extend(o,l.ajaxSettings),a.currentRequest=e.ajax(o).done(function(e){var n;a.currentRequest=null,n=l.transformResult(e,t),a.processResponse(n,t,i),l.onSearchComplete.call(a.element,t,n.suggestions)}).fail(function(e,n,s){l.onSearchError.call(a.element,t,e,n,s)}))):l.lookup(t,function(e){a.suggestions=e.suggestions,a.suggest(),l.onSearchComplete.call(a.element,t,e.suggestions)}))},isBadQuery:function(e){if(!this.options.preventBadQueries)return!1;for(var t=this.badQueries,n=t.length;n--;)if(0===e.indexOf(t[n]))return!0;return!1},hide:function(t=!1,n=!1){if(!t){var s=this,i=e(s.suggestionsContainer);"function"==typeof s.options.onHide&&s.visible&&s.options.onHide.call(s.element,i,n),s.visible=!1,s.selectedIndex=-1,clearInterval(s.onChangeInterval),e(s.suggestionsContainer).hide(),s.signalHint(null)}},suggest:function(){if(0!==this.suggestions.length){var t,n=this,s=n.options,i=s.groupBy,o=s.formatResult,a=n.getQuery(n.currentValue),l=n.classes.suggestion,r=n.classes.selected,u=e(n.suggestionsContainer),c=e(n.noSuggestionsContainer),g=s.beforeRender,d="";if(s.triggerSelectOnValidInput&&n.isExactMatch(a))n.select(0);else{var h=function(n,s=""){return e.each(n,function(e,n){i&&(s+=function(e){var n=e.data[i];return t===n?"":'<div class="autocomplete-group"><strong>'+(t=n)+"</strong></div>"}(n));var r=l;n.item_classes&&(r+=" "+n.item_classes),s+='<div class="'+r+'" data-index="'+e+'">'+o(n,a)+"</div>"}),s},p=0,f=n.suggestions.reduce((e,t)=>{const n=t.group||"default";return e[n]||(e[n]={}),e[n][p]=t,p++,e},{});f?e.each(f,function(t,n){e.each(n,function(e,t){t&&t.divider&&(d+='<div class="wd-search-title title" data-index="'+e+'">'+t.divider+"</div>",delete n[e])}),d=h(n,d+=`<div class="wd-suggestions-group wd-type-${t}">`),d+="</div>"}):d=h(n.suggestions),this.adjustContainerWidth(),c.detach(),u.html(d),"function"==typeof g&&g.call(n.element,u),n.fixPosition(),u.show(),s.autoSelectFirst&&(n.selectedIndex=0,u.scrollTop(0),u.children("."+l).first().addClass(r)),n.visible=!0,n.findBestHint()}}else this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var t=this,n=e(t.suggestionsContainer),s=e(t.noSuggestionsContainer);this.adjustContainerWidth(),s.detach(),n.empty(),n.append(s),t.fixPosition(),n.show(),t.visible=!0},adjustContainerWidth:function(){var t,n=this,s=n.options,i=e(n.suggestionsContainer);"auto"===s.width&&(t=n.el.outerWidth()-2,i.width(t>0?t:300))},findBestHint:function(){var t=this,n=t.el.val().toLowerCase(),s=null;n&&(e.each(t.suggestions,function(e,t){var i=0===t.value.toLowerCase().indexOf(n);return i&&(s=t),!i}),t.signalHint(s))},signalHint:function(t){var n="",s=this;t&&(n=s.currentValue+t.value.substr(s.currentValue.length)),s.hintValue!==n&&(s.hintValue=n,s.hint=t,(this.options.onHint||e.noop)(n))},verifySuggestionsFormat:function(t){return t.length&&"string"==typeof t[0]?e.map(t,function(e){return{value:e,data:null}}):t},validateOrientation:function(t,n){return t=e.trim(t||"").toLowerCase(),-1===e.inArray(t,["auto","bottom","top"])&&(t=n),t},processResponse:function(e,t,n){var s=this,i=s.options;e.suggestions=s.verifySuggestionsFormat(e.suggestions),i.noCache||(s.cachedResponse[n]=e,i.preventBadQueries&&0===e.suggestions.length&&s.badQueries.push(t)),t===s.getQuery(s.currentValue)&&(s.suggestions=e.suggestions,s.suggest())},activate:function(t){var n=this,s=n.classes.selected,i=e(n.suggestionsContainer),o=i.find(`.${n.classes.suggestion}[data-index="${t}"]`);return i.find("."+s).removeClass(s),n.selectedIndex=t,-1!==n.selectedIndex&&o?(e(o).addClass(s),o):null},selectHint:function(){var t=this,n=e.inArray(t.hint,t.suggestions);t.select(n)},select:function(e,t=!1){t||(this.hide(),this.onSelect(e))},moveUp:function(){var t=this;if(-1!==t.selectedIndex)return 0===t.selectedIndex?(e(t.suggestionsContainer).children().first().removeClass(t.classes.selected),t.selectedIndex=-1,t.el.val(t.currentValue),void t.findBestHint()):void t.adjustScroll(t.selectedIndex-1)},moveDown:function(){var e=this;e.selectedIndex!==e.suggestions.length-1&&e.adjustScroll(e.selectedIndex+1)},adjustScroll:function(t){var n=this,s=n.activate(t);if(s){var i,o,a,l=e(s).outerHeight();i=s.offsetTop,a=(o=e(n.suggestionsContainer).scrollTop())+n.options.maxHeight-l,i<o?e(n.suggestionsContainer).scrollTop(i):i>a&&e(n.suggestionsContainer).scrollTop(i-n.options.maxHeight+l),n.options.preserveInput||n.el.val(n.getValue(n.suggestions[t].value)),n.signalHint(null)}},onSelect:function(e){var t=this,n=t.options.onSelect,s=t.suggestions[e];t.currentValue=t.getValue(s.value),t.currentValue===t.el.val()||t.options.preserveInput||t.el.val(t.currentValue),t.signalHint(null),t.suggestions=[],t.selection=s,"function"==typeof n&&n.call(t.element,s)},getValue:function(e){var t,n,s=this.options.delimiter;return s?1===(n=(t=this.currentValue).split(s)).length?e:t.substr(0,t.length-n[n.length-1].length)+e:e},dispose:function(){var t=this;t.el.off(".autocomplete").removeData("autocomplete"),t.disableKillerFn(),e(window).off("resize.autocomplete",t.fixPositionCapture),e(t.suggestionsContainer).remove()}},e.fn.devbridgeAutocomplete=function(t,s){var i="autocomplete";return 0===arguments.length?this.first().data(i):this.each(function(){var o=e(this),a=o.data(i);"string"==typeof t?a&&"function"==typeof a[t]&&a[t](s):(a&&a.dispose&&a.dispose(),a=new n(this,t),o.data(i,a))})}});
!function(e){woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.ajaxSearch()}),e.each(["frontend/element_ready/wd_search.default"],function(e,a){woodmartThemeModule.wdElementorAddAction(a,function(){woodmartThemeModule.ajaxSearch()})}),woodmartThemeModule.ajaxSearch=function(){void 0!==e.fn.devbridgeAutocomplete&&(e("form.woodmart-ajax-search").each(function(){var a=e(this),t=parseInt(a.data("count")),d=parseInt(a.data("thumbnail")),s=parseInt(a.data("symbols_count")),n=a.find('[name="product_cat"]'),r=a.parent(),o=a.data("post_type"),l=woodmart_settings.ajaxurl+"?action=woodmart_ajax_search",c=parseInt(a.data("price")),i=a.data("sku"),u=a.parents(".wd-search-full-screen").length,h=a.parents(".wd-search-full-screen-2").length,w=a.parents(".wd-search-dropdown").length,p=r.find(`.wd-search-results${u||h?"":" > "}.wd-scroll-content`),m=r.find(".wd-search-results"),f=a.data("include_cat_search");function g(t){0!==a.parents(".wd-search-form.wd-display-form.wd-with-overlay").length&&e(".wd-close-side").trigger("wdCloseSideAction",["open"===t?"show":"hide","click"])}t>0&&(l+="&number="+t),l+="&post_type="+o,n.length&&""!==n.val()&&(l+="&product_cat="+n.val()),f&&"yes"===f&&(l+="&include_cat_search="+f),a.find('[type="text"]').on("focus keyup cat_selected",function(r){let v=e(this),_={action:"woodmart_ajax_search",number:t>0?t:void 0,post_type:o};if(v.hasClass("wd-search-inited")||(v.devbridgeAutocomplete({serviceUrl:l,appendTo:p,minChars:s,deferRequestBy:woodmart_settings.ajax_search_delay,onHide:function(e,t){h&&m.removeClass("wd-no-results");var d=h?a.parent().parent():a.parent(),s="function"==typeof woodmartThemeModule.beforeSearchcontent&&d.find(".wd-search-history, .wd-search-requests, .wd-search-area").length;t||s||g("close"),s||d.find(".wd-search-results").removeClass("wd-opened"),t||h||u?d.removeClass("wd-searched"):s||setTimeout(function(){d.removeClass("wd-searched")},400)},onSearchStart:function(){a.addClass("wd-search-loading")},beforeRender:function(t){w||g("open"),e(t).find(".wd-not-found-msg").parent().addClass("wd-not-found");var d=e(t).find(".wd-suggestion:not(.wd-not-found)").length>0;if(e(t).find('[class*="wd-type-"]')||(d=t[0].childElementCount>2),d){var s=a.serializeArray(),n=a.attr("action")+"?"+e.param(s);e(t).append('<a class="wd-all-results" href="'+n+'">'+woodmart_settings.all_results+"</a>")}e(t).removeAttr("style")},onSelect:function(e){e.permalink.length>0&&(window.location.href=e.permalink),a.parent().find(".wd-search-results").removeClass("wd-opened")},onSearchComplete:function(){a.removeClass("wd-search-loading"),woodmartThemeModule.$document.trigger("wood-images-loaded")},formatResult:function(e,t){"&"===t&&(t="&#038;");var s="("+t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")+")",n="";if(e.divider&&(n+=' <div class="suggestion-divider-title title">'+e.divider+"</div>"),d&&e.thumbnail&&(n+=' <div class="wd-suggestion-thumb">'+e.thumbnail+"</div>"),e.value&&(n+=' <div class="wd-suggestion-content wd-set-mb reset-last-child">',n+='<div class="wd-entities-title">'+e.value.replace(new RegExp(s,"gi"),"<strong>$1</strong>").replace(/&lt;(\/?strong)&gt;/g,"<$1>")+"</div>"),i&&e.sku&&(n+=' <p class="wd-suggestion-sku">'+e.sku+"</p>"),c&&e.price&&(n+=' <p class="price">'+e.price+"</p>"),e.value&&(n+=" </div>"),e.permalink){var r="";e.value&&(r=`aria-label="${e.value.replace(/(<([^>]+)>)/gi,"")}"`),n+=` <a class="wd-fill" href="${e.permalink}" ${r}></a>`}return e.products_not_found&&(n='<span class="wd-not-found-msg">'+e.value+"</span>"),h&&(e.no_results?m.addClass("wd-no-results"):m.removeClass("wd-no-results")),u||h||m.addClass("wd-opened"),h?a.parent().parent().addClass("wd-searched"):a.parent().addClass("wd-searched"),n}}),v.addClass("wd-search-inited")),n.length&&"cat_selected"===r.type){""!==n.val()&&(_.product_cat=n.val());let e=a.find('[type="text"]').devbridgeAutocomplete(),t=woodmart_settings.ajaxurl+"?"+new URLSearchParams(_).toString();f&&"yes"===f&&(t+="&include_cat_search="+f),e.setOptions({serviceUrl:t}),e.hide(),e.onValueChange()}}),woodmartThemeModule.$document.on("click",function(t){var d=t.target;e(d).is(".wd-search-form")||e(d).parents().is(".wd-search-form")||e(d).is(".wd-search-full-screen")||e(d).parents().is(".wd-search-full-screen")||e(d).is(".wd-clear-search")||a.find('[type="text"]').devbridgeAutocomplete("hide")}),e(".wd-search-results > .wd-scroll-content").on("click",function(e){e.stopPropagation()})}),e(".wd-header-search.wd-display-dropdown > a").on("click",function(e){e.preventDefault()}))},e(document).ready(function(){woodmartThemeModule.ajaxSearch()}),window.addEventListener("wdUpdatedHeader",function(){woodmartThemeModule.ajaxSearch()})}(jQuery);
woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.clearSearch()}),jQuery.each(["frontend/element_ready/wd_search.default"],function(e,t){woodmartThemeModule.wdElementorAddAction(t,function(){woodmartThemeModule.clearSearch()})}),woodmartThemeModule.clearSearch=function(){function e(e,t){e.value.length?t.classList.remove("wd-hide"):t.classList.add("wd-hide")}document.querySelectorAll("form .wd-clear-search").forEach(function(t){var o=t.closest("form").querySelector("input");o&&(e(o,t),o.addEventListener("keyup",function(){e(o,t)})),t.addEventListener("click",function(o){o.preventDefault();var r=t.parentNode.querySelector("input");r.value="",e(r,t);var d=r.closest(".wd-search-form.wd-display-form.wd-with-overlay"),n=d?d.querySelector(".wd-dropdown-results"):null;if(n){var c=n.querySelector(".wd-search-history"),l=n.querySelector(".wd-search-requests"),a=n.querySelector(".wd-search-area");c&&0!==c.childElementCount||l&&0!==l.childElementCount||a&&(0!==a.childElementCount||0!==a.textContent.length)||document.querySelectorAll(".wd-close-side").forEach(function(e){var t=new CustomEvent("wdCloseSideAction",{detail:["hide","click"]});e.dispatchEvent(t)})}})})},window.addEventListener("wdEventStarted",function(){woodmartThemeModule.clearSearch()});
!function(e){woodmartThemeModule.simpleDropdown=function(){e(".wd-search-cat").each(function(){var d=e(this),t=d.find(".wd-search-cat-btn"),n=d.find("> input"),i=d.find("> .wd-dropdown"),a=d.parent().parent().find(".s");function o(){if(!(woodmartThemeModule.$window.width()<=768||a.hasClass("wd-padding-inited")||"yes"!==woodmart_settings.search_input_padding)){var e=d.innerWidth()+d.parent().siblings(".searchsubmit").innerWidth()+17,t="padding-right";woodmartThemeModule.$body.hasClass("rtl")&&(t="padding-left"),a.css(t,e),a.addClass("wd-padding-inited")}}a.on("focus",function(){o()}),t.on("click",function(t){t.preventDefault(),void 0!==e.fn.devbridgeAutocomplete&&d.siblings('[type="text"]').devbridgeAutocomplete("hide")}),i.on("click","a",function(a){a.preventDefault();var r=e(this),s=r.data("val"),l=r.text();i.find(".current-item").removeClass("current-item"),r.parent().addClass("current-item"),0!==s?(i.find("ul:not(.children) > li:first-child").show(),n.attr("disabled",null)):0===s&&(i.find("ul:not(.children) > li:first-child").hide(),n.attr("disabled","disabled")),t.find("span").text(l),n.val(s),n.closest("form.woodmart-ajax-search").find('[type="text"]').trigger("cat_selected"),d.removeClass("wd-opened"),o()})})},e(document).ready(function(){woodmartThemeModule.simpleDropdown()}),window.addEventListener("wdUpdatedHeader",function(){woodmartThemeModule.simpleDropdown()})}(jQuery);
!function(e){woodmartThemeModule.$document.on("wdShopPageInit",function(){woodmartThemeModule.loginSidebar()}),woodmartThemeModule.loginSidebar=function(){var o=woodmartThemeModule.$body,d=e(".login-form-side"),n=e(".wd-close-side");woodmartThemeModule.$document.on("click",".login-side-opener",function(e){d.length&&(e.preventDefault(),r()?i():setTimeout(function(){t()},10))}),o.on("click touchstart",".wd-close-side",function(){r()&&i()}),o.on("click",".close-side-widget",function(e){e.preventDefault(),r()&&i()}),woodmartThemeModule.$document.on("keyup",function(e){27===e.keyCode&&r()&&i()});var i=function(){d.trigger("wdCloseSide"),d.removeClass("wd-opened"),n.removeClass("wd-close-side-opened")},t=function(){d.trigger("wdOpenSide"),d.find("form").removeClass("hidden-form"),d.addClass("wd-opened"),n.addClass("wd-close-side-opened")};d.find(".woocommerce-notices-wrapper > ul").length>0&&t();var r=function(){return d.hasClass("wd-opened")}},e(document).ready(function(){woodmartThemeModule.loginSidebar()})}(jQuery);
!function(t){woodmartThemeModule.$document.on("wdShopPageInit wdArrowsLoadProducts wdLoadMoreLoadProducts wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdBackHistory wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.updateWishlistButtonState()}),woodmartThemeModule.wishlist=function(){var e="woodmart_wishlist_count",o="woodmart_wishlist_products";if(woodmart_settings.is_multisite&&(e+="_"+woodmart_settings.current_blog_id,o+="_"+woodmart_settings.current_blog_id),"undefined"!=typeof Cookies){var s=Cookies.get(e),d=0;if(void 0!==s)try{d=JSON.parse(s)}catch(l){console.log("cant parse cookies json")}void 0!==woodmart_settings.wishlist_expanded&&"yes"===woodmart_settings.wishlist_expanded||i(d),woodmartThemeModule.$body.on("click",".wd-wishlist-btn a",function(s){var d=t(this);s.preventDefault();var n=d.data("product-id"),l=t(`.wd-wishlist-btn a[data-product-id='${n}']`),c=d.data("key");if(woodmartThemeModule.$body.hasClass("logged-in")||"undefined"==typeof Cookies){if(l.addClass("loading"),!l.hasClass("added")&&void 0!==woodmart_settings.wishlist_expanded&&"yes"===woodmart_settings.wishlist_expanded&&"disable"!==woodmart_settings.wishlist_show_popup&&woodmartThemeModule.$body.hasClass("logged-in"))return void woodmartThemeModule.$document.trigger("wdShowWishlistGroupPopup",[n,c]);l.hasClass("added")?t.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_remove_from_wishlist",product_id:n,key:woodmart_settings.wishlist_page_nonce},dataType:"json",method:"GET",success:function(e){void 0!==e.count&&i(e.count),e.fragments&&(woodmartThemeModule.$document.trigger("wdWishlistSaveFragments",[e.fragments,e.hash]),t.each(e.fragments,function(e,o){var s=t(e);woodmartThemeModule.removeDuplicatedStylesFromHTML(o,function(t){s.replaceWith(t)},s)})),r(l,!1)},error:function(){console.log("We cant remove from wishlist. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){l.removeClass("loading")}}):a(n,"",c)}else{var w=!0,u={},h=Cookies.get(o);if(void 0!==h&&h){var m=JSON.parse(h);Object.keys(m).length&&(u=m)}l.hasClass("added")&&void 0!==u[n]?(w=!1,delete u[n]):u[n]={product_id:n};var p=Object.keys(u).length;i(p),Cookies.set(o,JSON.stringify(u),{expires:parseInt(woodmart_settings.wishlist_cookie_expires),path:woodmart_settings.cookie_path,secure:woodmart_settings.cookie_secure_param}),Cookies.set(e,p,{expires:parseInt(woodmart_settings.wishlist_cookie_expires),path:woodmart_settings.cookie_path,secure:woodmart_settings.cookie_secure_param}),r(l,w)}}),woodmartThemeModule.$body.on("click",".wd-wishlist-remove",function(s){s.preventDefault();var d=t(this),a="";if(d.parents(".wd-wishlist-group").length&&(a=d.parents(".wd-wishlist-group").data("group-id")),d.addClass("loading"),woodmartThemeModule.$body.hasClass("logged-in")||"undefined"==typeof Cookies||1===d.parents(".wd-products").find(".wd-product").length)n(d.data("product-id"),a,d.parents(".wd-products"),function(){d.removeClass("loading")});else{d.parents(".wd-product").find("link").appendTo("head"),d.parents(".wd-product").remove();var r=Cookies.get(o),l={};void 0!==r&&r&&(l=JSON.parse(r),Object.keys(l).length&&delete l[d.data("product-id")]);var c=Object.keys(l).length;i(c),Cookies.set(o,JSON.stringify(l),{expires:parseInt(woodmart_settings.wishlist_cookie_expires),path:woodmart_settings.cookie_path,secure:woodmart_settings.cookie_secure_param}),Cookies.set(e,c,{expires:parseInt(woodmart_settings.wishlist_cookie_expires),path:woodmart_settings.cookie_path,secure:woodmart_settings.cookie_secure_param})}}),woodmartThemeModule.$body.on("click",".wd-wishlist-checkbox",function(e){var o=t(this),s=o.parents(".wd-product"),d=o.parents(".wd-products-element").siblings(".wd-wishlist-bulk-action"),i=d.find(".wd-wishlist-select-all");s.toggleClass("wd-current-product"),i.hasClass("wd-selected")&&d.hasClass("wd-visible")&&!s.hasClass("wd-current-product")&&i.removeClass("wd-selected"),s.siblings(".product").length===s.siblings(".wd-current-product").length&&s.hasClass("wd-current-product")&&i.addClass("wd-selected"),s.siblings(".wd-current-product").length||!d.hasClass("wd-visible")||s.hasClass("wd-current-product")?d.addClass("wd-visible"):d.removeClass("wd-visible")}),woodmartThemeModule.$body.on("click",".wd-wishlist-remove-action > a",function(e){e.preventDefault();var o=t(this),s=o.parents(".wd-wishlist-bulk-action").siblings(".wd-products-element").find(".products"),d=s.find(".wd-current-product"),i=[],a="";d.length&&confirm(woodmart_settings.wishlist_remove_notice)&&(o.addClass("loading"),o.parents(".wd-wishlist-group").length&&(a=o.parents(".wd-wishlist-group").data("group-id")),d.each(function(){i.push(t(this).data("id"))}),n(i,a,s,function(){o.parents(".wd-wishlist-bulk-action").removeClass("wd-visible"),o.removeClass("loading")}))}),woodmartThemeModule.$body.on("click",".wd-wishlist-select-all > a",function(e){e.preventDefault();var o=t(this).parent(),s=o.parents(".wd-wishlist-bulk-action").siblings(".wd-products-element").find(".products");o.hasClass("wd-selected")?(s.find(".product").removeClass("wd-current-product").find(".wd-wishlist-checkbox").prop("checked",!1),o.removeClass("wd-selected"),o.parents(".wd-wishlist-bulk-action").removeClass("wd-visible")):(s.find(".product").addClass("wd-current-product").find(".wd-wishlist-checkbox").prop("checked",!0),o.addClass("wd-selected"))}),woodmartThemeModule.$document.on("wdAddProductToWishlist",function(t,e,o,s,d){a(e,o,s,d)}),woodmartThemeModule.$document.on("wdRemoveProductToWishlist",function(t,e,o,s,d){n(e,o,s,d)}),woodmartThemeModule.$document.on("wdUpdateWishlistContent",function(e,o){var s,d;s=o,d=t(".wd-wishlist-content"),i(s.count),d.length>0&&!d.hasClass("wd-wishlist-preview")&&woodmartThemeModule.removeDuplicatedStylesFromHTML(s.wishlist_content,function(t){d.replaceWith(t),woodmartThemeModule.$document.trigger("wdUpdateWishlist")},d)})}function i(e){var o=t(".wd-header-wishlist");o.length>0&&o.find(".wd-tools-count").text(e)}function a(e,o,s,d=""){var a=t(".wd-wishlist-btn a[data-product-id="+e+"]");t.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_add_to_wishlist",product_id:e,group:o,key:s},dataType:"json",method:"GET",success:function(e){e?(e.count&&i(e.count),e.fragments&&(woodmartThemeModule.$document.trigger("wdWishlistSaveFragments",[e.fragments,e.hash]),t.each(e.fragments,function(e,o){var s=t(e);woodmartThemeModule.removeDuplicatedStylesFromHTML(o,function(t){s.replaceWith(t)},s)})),r(a)):console.log("something wrong loading wishlist data ",e),d&&d()},error:function(){console.log("We cant add to wishlist. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){a.removeClass("loading")}})}function n(e,o,s,d=""){var a="";s&&void 0!==s.data("atts")&&((a=s.data("atts")).ajax_page=s.attr("data-paged")),t.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_remove_from_wishlist",product_id:e,group_id:o,key:woodmart_settings.wishlist_page_nonce,atts:a},dataType:"json",method:"GET",success:function(e){if(e.wishlist_content){var o=s.parents(".wd-products-element"),a=o.parents(".wd-wishlist-content");i(e.count),n=e,(r=o).length&&!t(".wd-wishlist-content").hasClass("wd-wishlist-preview")&&woodmartThemeModule.removeDuplicatedStylesFromHTML(n.wishlist_content,function(t){r.replaceWith(t),woodmartThemeModule.$document.trigger("wdUpdateWishlist")},r),setTimeout(function(){var e=t(".wd-wishlist-content .wd-pagination").find("a.page-numbers");e.length&&e.each(function(){var e=t(this),o=e.attr("href").split("product-page=")[1],s=parseInt(o);e.attr("href",window.location.origin+window.location.pathname+"?product-page="+s)})},500),e.hasOwnProperty("count")&&0===e.count&&a.find(".wd-wishlist-head, .wd-wishlist-bulk-action").remove()}else console.log("something wrong loading wishlist data ",e);var n,r;e.fragments&&woodmartThemeModule.$document.trigger("wdUpdateWishlistFragments",[e.fragments,e.hash]),d&&d()},error:function(){console.log("We cant remove from wishlist. Something wrong with AJAX response. Probably some PHP conflict.")}})}function r(t,e=!0){var o=woodmart_settings.wishlist_remove_button_text;e||(o=woodmart_settings.wishlist_add_button_text),t.find(".wd-action-text").length>0?t.find(".wd-action-text").text(o):t.text(o),e?t.addClass("added"):t.removeClass("added"),woodmartThemeModule.$document.trigger("added_to_wishlist"),setTimeout(function(){woodmartThemeModule.$document.trigger("wdUpdateTooltip",t)})}},woodmartThemeModule.updateWishlistButtonState=function(){if(void 0!==woodmart_settings.wishlist_save_button_state&&"yes"===woodmart_settings.wishlist_save_button_state&&"undefined"!=typeof Cookies&&!woodmartThemeModule.$body.hasClass("logged-in")){var e="woodmart_wishlist_products",o={};woodmart_settings.is_multisite&&(e+="_"+woodmart_settings.current_blog_id);var s=Cookies.get(e);void 0!==s&&s&&(o=Object.values(JSON.parse(s))),o.length&&t.each(o,function(e,o){var s=t(".wd-wishlist-btn a[data-product-id="+o.product_id+"]");if(s.length&&!s.hasClass("added")){s.addClass("added");var d=woodmart_settings.wishlist_remove_button_text;s.find(".wd-action-text").length>0?s.find(".wd-action-text").text(d):s.text(d)}})}},t(document).ready(function(){woodmartThemeModule.wishlist(),woodmartThemeModule.updateWishlistButtonState()})}(jQuery);
!function(e){woodmartThemeModule.$document.on("wdShopPageInit wdUpdateWishlist wdArrowsLoadProducts wdLoadMoreLoadProducts wdProductsTabsLoaded wdSearchFullScreenContentLoaded wdBackHistory wdRecentlyViewedProductLoaded",function(){woodmartThemeModule.woodmartCompare()}),woodmartThemeModule.woodmartCompare=function(){var t=woodmartThemeModule.$body,o="woodmart_compare_list",a="";function r(t){var a=e(this),r=a.data("id"),n=e(`.wd-compare-btn a[data-id='${r}']`),d=e(".wd-header-compare");if(n.hasClass("added"))return!0;if(t.preventDefault(),!d.find(".wd-dropdown-compare").length){var i=[],s=Cookies.get(o);return void 0!==s&&s&&(i=Object.values(JSON.parse(s))),i.length&&-1!==i.indexOf(r.toString())||i.push(r.toString()),m(i.length),Cookies.set(o,JSON.stringify(i),{expires:parseInt(woodmart_settings.cookie_expires),path:woodmart_settings.cookie_path,secure:woodmart_settings.cookie_secure_param}),void c(n)}a.addClass("loading"),jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_add_to_compare",id:r},dataType:"json",method:"GET",success:function(t){if(t.count){var a=e(".wd-header-compare");a.length>0&&a.find(".wd-tools-count").text(t.count),c(n)}else console.log("something wrong loading compare data ",t);t.fragments&&(e.each(t.fragments,function(t,o){e(t).replaceWith(o)}),sessionStorage.setItem(o+"_fragments",JSON.stringify(t.fragments)))},error:function(){console.log("We cant add to compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){n.removeClass("loading")}})}function n(t){t.stopImmediatePropagation(),t.preventDefault();var d=e(this).data("id").toString(),i=e(`.wd-compare-btn a[data-id='${d}']`),s=[];a&&(s=Object.values(JSON.parse(a))),s=s.filter(function(e){return e!==d}),Cookies.set(o,JSON.stringify(s),{expires:parseInt(woodmart_settings.cookie_expires),path:woodmart_settings.cookie_path,secure:woodmart_settings.cookie_secure_param}),a=Cookies.get(o),i.removeClass("added"),i.find(".wd-action-text").length>0?i.find(".wd-action-text").text(woodmart_settings.compare_origin_button_text):i.text(woodmart_settings.compare_origin_button_text),i.off("click",n),i.on("click",r),woodmartThemeModule.$document.trigger("wdUpdateTooltip",i),m(s.length)}function d(t,a){var r=a.find(".wd-loader-overlay");r.addClass("wd-loading"),jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_remove_category_from_compare",category_id:t,key:woodmart_settings.compare_page_nonce},dataType:"json",method:"GET",success:function(t){t.table?(i(t),t.fragments&&(e.each(t.fragments,function(t,o){e(t).replaceWith(o)}),sessionStorage.setItem(o+"_fragments",JSON.stringify(t.fragments)))):console.log("something wrong loading compare data ",t)},error:function(){console.log("We cant remove product compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){r.removeClass("wd-loading");var t=e(".wd-compare-table").first();setTimeout(function(){t.addClass("wd-active")},100),setTimeout(function(){t.addClass("wd-in"),woodmartThemeModule.$document.trigger("wood-images-loaded")},200)}})}function i(t){var o=e(".wd-header-compare"),a=e(".wd-compare-table, .wd-compare-page");o.length>0&&o.find(".wd-tools-count").text(t.count),woodmartThemeModule.removeDuplicatedStylesFromHTML(t.table,function(e){a.replaceWith(e)},a),void 0!==woodmart_settings.compare_by_category&&"yes"===woodmart_settings.compare_by_category&&woodmartThemeModule.$document.trigger("wdTabsInit")}function s(){jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_get_fragment_product_category_compare"},dataType:"json",method:"GET",success:function(t){t.fragments?(e.each(t.fragments,function(t,o){e(t).replaceWith(o)}),sessionStorage.setItem(o+"_fragments",JSON.stringify(t.fragments))):console.log("something wrong loading compare data ",t)},error:function(){console.log("We cant remove product compare. Something wrong with AJAX response. Probably some PHP conflict.")}})}function c(e){var t=woodmart_settings.compare_added_button_text;e.find(".wd-action-text").length>0?e.find(".wd-action-text").text(t):e.text(t),e.addClass("added"),woodmartThemeModule.$document.trigger("added_to_compare"),woodmartThemeModule.$document.trigger("wdUpdateTooltip",e)}function m(t){var o=e(".wd-header-compare");o.length>0&&o.find(".wd-tools-count").text(t)}woodmart_settings.is_multisite&&(o+="_"+woodmart_settings.current_blog_id),"undefined"!=typeof Cookies&&(a=Cookies.get(o),function(){if(void 0!==woodmart_settings.compare_save_button_state&&"yes"===woodmart_settings.compare_save_button_state&&"undefined"!=typeof Cookies){var t=a?Object.values(JSON.parse(a)):[],o=t.length?e(t.map(e=>`.wd-compare-btn a[data-id='${e}']`).join(", ")):[];o.length&&e.each(o,function(t,o){var a=e(o);a.length&&!a.hasClass("added")&&(a.addClass("added"),a.find(".wd-action-text").length>0?a.find(".wd-action-text").text(woodmart_settings.compare_removed_button_text):a.text(woodmart_settings.compare_removed_button_text),a.off("click.wdCompareSaved").on("click.wdCompareSaved",n),woodmartThemeModule.$document.trigger("wdUpdateTooltip",a))})}}(),function(){var t=e(".wd-header-compare");if(!(t.length<=0)){if(void 0!==a)try{var r=JSON.parse(a);t.find(".wd-tools-count").text(r.length)}catch(n){console.log("cant parse cookies json")}else t.find(".wd-tools-count").text(0);if(void 0!==woodmart_settings.compare_by_category&&"yes"===woodmart_settings.compare_by_category)try{!function(){if(woodmartThemeModule.supports_html5_storage){var t=JSON.parse(sessionStorage.getItem(o+"_fragments"));"undefined"==typeof actions||"1"!==actions.is_lang_switched&&"1"!==actions.force_reset||(t=""),t?e.each(t,function(t,o){e(t).replaceWith(o)}):s()}else s()}()}catch(n){s()}}}(),t.off(".wdCompare"),t.on("click.wdCompare",".wd-compare-btn a",r),t.on("click.wdCompare",".wd-compare-remove",function(t){t.preventDefault();var a=e(this),r=a.data("id"),n="";void 0!==woodmart_settings.compare_by_category&&"yes"===woodmart_settings.compare_by_category&&(n=a.parents(".wd-compare-table").data("category-id"))&&1>=a.parents(".compare-value").siblings().length?d(n,a.parents(".wd-compare-page")):(a.addClass("loading"),jQuery.ajax({url:woodmart_settings.ajaxurl,data:{action:"woodmart_remove_from_compare",id:r,category_id:n,key:woodmart_settings.compare_page_nonce},dataType:"json",method:"GET",success:function(t){t.table?(i(t),t.fragments&&(e.each(t.fragments,function(t,o){e(t).replaceWith(o)}),sessionStorage.setItem(o+"_fragments",JSON.stringify(t.fragments)))):console.log("something wrong loading compare data ",t)},error:function(){console.log("We cant remove product compare. Something wrong with AJAX response. Probably some PHP conflict.")},complete:function(){a.removeClass("loading")}}))}),t.on("change.wdCompare",".wd-compare-select",function(t){t.preventDefault();var o=e(this),a=o.parents(".wd-compare-page"),r=a.find(".wd-compare-table[data-category-id="+o.val()+"]"),n=a.find(".wd-compare-table.wd-active");a.find(".wd-compare-cat-link").attr("href",r.data("category-url")),n.removeClass("wd-in"),setTimeout(function(){n.removeClass("wd-active")},100),setTimeout(function(){r.addClass("wd-active")},100),setTimeout(function(){r.addClass("wd-in"),woodmartThemeModule.$document.trigger("wood-images-loaded")},200)}),t.on("click.wdCompare",".wd-compare-remove-cat",function(t){t.preventDefault();var o=e(this);d(o.parents(".wd-compare-header").find(".wd-compare-select").val(),o.parents(".wd-compare-page"))}))},window.addEventListener("pageshow",function(){var t=e(".wd-compare-select");if(t.length){var o=e(".wd-compare-table.wd-active");o.length&&o.data("category-id").toString()===t.val().toString()||t.trigger("change.wdCompare")}}),e(document).ready(function(){woodmartThemeModule.woodmartCompare()})}(jQuery);
!function(o){woodmartThemeModule.onRemoveFromCart=function(){"no"!==woodmart_settings.woocommerce_ajax_add_to_cart&&woodmartThemeModule.$document.on("click",".widget_shopping_cart .remove",function(e){e.preventDefault(),o(this).parent().addClass("removing-process")})},o(document).ready(function(){woodmartThemeModule.onRemoveFromCart()})}(jQuery);
!function(e){woodmartThemeModule.headerCategoriesMenu=function(){if(!(woodmartThemeModule.windowWidth>1024)){var n=e(".wd-header-cats"),o=n.find(".categories-menu-dropdown"),a=n.find(".menu-item-has-children"),d=(n.find(".menu-opener"),200);a.find("> a").before('<span class="drop-category"></span>'),o.on("click",".drop-category",function(){var n=e(this),o=n.parent().find("> .wd-dropdown-menu, >.sub-sub-menu");o.hasClass("child-open")?(n.removeClass("act-icon"),o.slideUp(d).removeClass("child-open")):(n.addClass("act-icon"),o.slideDown(d).addClass("child-open"))}),n.on("click",".menu-opener",function(e){e.preventDefault(),s()?t():i()}),o.on("click","a",function(){t(),o.stop().attr("style","")});var s=function(){return o.hasClass("categories-opened")},i=function(){o.addClass("categories-opened").stop().slideDown(d)},t=function(){o.removeClass("categories-opened").stop().slideUp(d)}}},e(document).ready(function(){woodmartThemeModule.headerCategoriesMenu()})}(jQuery);
!function t(e,i,s){function o(r,a){if(!i[r]){if(!e[r]){var h="function"==typeof require&&require;if(!a&&h)return h(r,!0);if(n)return n(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var l=i[r]={exports:{}};e[r][0].call(l.exports,function(t){var i=e[r][1][t];return o(i?i:t)},l,l.exports,t,e,i,s)}return i[r].exports}for(var n="function"==typeof require&&require,r=0;r<s.length;r++)o(s[r]);return o}({1:[function(t,e,i){"use strict";function s(t){this.getElement(t.element),this.x1=0,this.y1=0,this.name=t.name||!1,this.elToSetClassOn=t.elToSetClassOn||"body",this.direction=t.direction||"diagonal",this.customDirection=t.customDirection||{},this.validateInput("direction"),this.isPausedWhenNotInView=t.isPausedWhenNotInView||!1,this.states=t.states,this.stateTransitionSpeed=t.stateTransitionSpeed||1e3,this.previousTimeStamp=null,this.progress=0,this.isPaused=!1,this.isCleared=!1,this.isPausedBecauseNotInView=!1,this.context=this.canvas.getContext("2d"),this.channels={},this.channelsIndex=0,this.activeState=t.defaultStateName||"default-state",this.isChangingState=!1,this.currentColors=[],this.currentColorsPos=[],this.activetransitionSpeed=null,this.eventPolyfill(),this.scrollDebounceThreshold=t.scrollDebounceThreshold||300,this.scrollDebounceTimeout=null,this.isImgLoaded=!1,this.isCanvasInWindowView=!1,this.firstScrollInit=!0,this.animating=!1,this.gradientLength=this.states[this.activeState].gradients[0].length,t.image&&t.image.source&&(this.image={source:t.image.source,position:t.image.position||["center","center"],stretchMode:t.image.stretchMode||!1,blendingMode:t.image.blendingMode||!1}),this.events={start:new CustomEvent("granim:start"),end:new CustomEvent("granim:end"),gradientChange:function(t){return new CustomEvent("granim:gradientChange",{detail:{isLooping:t.isLooping,colorsFrom:t.colorsFrom,colorsTo:t.colorsTo,activeState:t.activeState},bubbles:!1,cancelable:!1})}},this.callbacks={onStart:"function"==typeof t.onStart&&t.onStart,onGradientChange:"function"==typeof t.onGradientChange&&t.onGradientChange,onEnd:"function"==typeof t.onEnd&&t.onEnd},this.getDimensions(),this.canvas.setAttribute("width",this.x1),this.canvas.setAttribute("height",this.y1),this.setColors(),this.image&&(this.validateInput("image"),this.prepareImage()),this.pauseWhenNotInViewNameSpace=this.pauseWhenNotInView.bind(this),this.setSizeAttributesNameSpace=this.setSizeAttributes.bind(this),this.onResize(),this.isPausedWhenNotInView?this.onScroll():this.image||(this.refreshColorsAndPos(),this.animation=requestAnimationFrame(this.animateColors.bind(this)),this.animating=!0),this.callbacks.onStart&&this.callbacks.onStart(),this.canvas.dispatchEvent(this.events.start)}s.prototype.animateColors=t("./animateColors.js"),s.prototype.changeBlendingMode=t("./changeBlendingMode.js"),s.prototype.changeDirection=t("./changeDirection.js"),s.prototype.changeState=t("./changeState.js"),s.prototype.clear=t("./clear.js"),s.prototype.convertColorToRgba=t("./convertColorToRgba.js"),s.prototype.destroy=t("./destroy.js"),s.prototype.eventPolyfill=t("./eventPolyfill.js"),s.prototype.getColor=t("./getColor.js"),s.prototype.getColorDiff=t("./getColorDiff.js"),s.prototype.getColorPos=t("./getColorPos.js"),s.prototype.getColorPosDiff=t("./getColorPosDiff.js"),s.prototype.getCurrentColors=t("./getCurrentColors.js"),s.prototype.getCurrentColorsPos=t("./getCurrentColorsPos.js"),s.prototype.getDimensions=t("./getDimensions.js"),s.prototype.getElement=t("./getElement.js"),s.prototype.getLightness=t("./getLightness.js"),s.prototype.makeGradient=t("./makeGradient.js"),s.prototype.onResize=t("./onResize.js"),s.prototype.onScroll=t("./onScroll.js"),s.prototype.pause=t("./pause.js"),s.prototype.pauseWhenNotInView=t("./pauseWhenNotInView.js"),s.prototype.play=t("./play.js"),s.prototype.prepareImage=t("./prepareImage.js"),s.prototype.refreshColorsAndPos=t("./refreshColorsAndPos.js"),s.prototype.setColors=t("./setColors.js"),s.prototype.setDirection=t("./setDirection.js"),s.prototype.setSizeAttributes=t("./setSizeAttributes.js"),s.prototype.triggerError=t("./triggerError.js"),s.prototype.validateInput=t("./validateInput.js"),e.exports=s},{"./animateColors.js":2,"./changeBlendingMode.js":3,"./changeDirection.js":4,"./changeState.js":5,"./clear.js":6,"./convertColorToRgba.js":7,"./destroy.js":8,"./eventPolyfill.js":9,"./getColor.js":10,"./getColorDiff.js":11,"./getColorPos.js":12,"./getColorPosDiff.js":13,"./getCurrentColors.js":14,"./getCurrentColorsPos.js":15,"./getDimensions.js":16,"./getElement.js":17,"./getLightness.js":18,"./makeGradient.js":19,"./onResize.js":20,"./onScroll.js":21,"./pause.js":22,"./pauseWhenNotInView.js":23,"./play.js":24,"./prepareImage.js":25,"./refreshColorsAndPos.js":26,"./setColors.js":27,"./setDirection.js":28,"./setSizeAttributes.js":29,"./triggerError.js":30,"./validateInput.js":31}],2:[function(t,e,i){"use strict";e.exports=function(t){var e,i,s,o=t-this.previousTimeStamp>100,n=void 0===this.states[this.activeState].loop||this.states[this.activeState].loop;(null===this.previousTimeStamp||o)&&(this.previousTimeStamp=t),this.progress=this.progress+(t-this.previousTimeStamp),e=(this.progress/this.activetransitionSpeed*100).toFixed(2),this.previousTimeStamp=t,this.refreshColorsAndPos(e),e<100?this.animation=requestAnimationFrame(this.animateColors.bind(this)):this.channelsIndex<this.states[this.activeState].gradients.length-2||n?(this.isChangingState&&(this.activetransitionSpeed=this.states[this.activeState].transitionSpeed||5e3,this.isChangingState=!1),this.previousTimeStamp=null,this.progress=0,this.channelsIndex++,i=!1,this.channelsIndex===this.states[this.activeState].gradients.length-1?i=!0:this.channelsIndex===this.states[this.activeState].gradients.length&&(this.channelsIndex=0),s=void 0===this.states[this.activeState].gradients[this.channelsIndex+1]?this.states[this.activeState].gradients[0]:this.states[this.activeState].gradients[this.channelsIndex+1],this.setColors(),this.animation=requestAnimationFrame(this.animateColors.bind(this)),this.callbacks.onGradientChange&&this.callbacks.onGradientChange({isLooping:i,colorsFrom:this.states[this.activeState].gradients[this.channelsIndex],colorsTo:s,activeState:this.activeState}),this.canvas.dispatchEvent(this.events.gradientChange({isLooping:i,colorsFrom:this.states[this.activeState].gradients[this.channelsIndex],colorsTo:s,activeState:this.activeState}))):(cancelAnimationFrame(this.animation),this.callbacks.onEnd&&this.callbacks.onEnd(),this.canvas.dispatchEvent(new CustomEvent("granim:end")))}},{}],3:[function(t,e,i){"use strict";e.exports=function(t){this.context.clearRect(0,0,this.x1,this.y1),this.context.globalCompositeOperation=this.image.blendingMode=t,this.validateInput("blendingMode"),this.isPaused&&this.refreshColorsAndPos()}},{}],4:[function(t,e,i){"use strict";e.exports=function(t){this.context.clearRect(0,0,this.x1,this.y1),this.direction=t,this.validateInput("direction"),this.isPaused&&this.refreshColorsAndPos()}},{}],5:[function(t,e,i){"use strict";e.exports=function(t){var e=this;this.activeState!==t&&(this.isPaused||(this.isPaused=!0,this.pause()),this.channelsIndex=-1,this.activetransitionSpeed=this.stateTransitionSpeed,this.activeColorsDiff=[],this.activeColorsPosDiff=[],this.activeColors=this.getCurrentColors(),this.activeColorsPos=this.getCurrentColorsPos(),this.progress=0,this.previousTimeStamp=null,this.isChangingState=!0,this.states[t].gradients[0].forEach(function(t,i,s){var o=e.convertColorToRgba(e.getColor(t)),n=e.getColorPos(t,i),r=e.getColorDiff(e.activeColors[i],o),a=e.getColorPosDiff(e.activeColorsPos[i],n);e.activeColorsDiff.push(r),e.activeColorsPosDiff.push(a)}),this.activeState=t,this.play())}},{}],6:[function(t,e,i){"use strict";e.exports=function(){this.isPaused?this.isPaused=!1:cancelAnimationFrame(this.animation),this.isCleared=!0,this.context.clearRect(0,0,this.x1,this.y1)}},{}],7:[function(t,e,i){"use strict";function s(t){var e=Object.keys(h),i=0;for(i;i<e.length;i++)if(a=h[e[i]].exec(t))return e[i];return!1}function o(t){var e=/^#?([a-f\d])([a-f\d])([a-f\d])$/i;t=t.replace(e,function(t,e,i,s){return e+e+i+i+s+s});var i=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return i?[parseInt(i[1],16),parseInt(i[2],16),parseInt(i[3],16),1]:null}function n(t,e,i){return i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function r(t,e,i,s){var o,r,a,h,c;return 0===e?o=r=a=i:(h=i<.5?i*(1+e):i+e-i*e,c=2*i-h,o=n(c,h,t+1/3),r=n(c,h,t),a=n(c,h,t-1/3)),[Math.round(255*o),Math.round(255*r),Math.round(255*a),s]}var a,h={hexa:/^#(?:[0-9a-fA-F]{3}){1,2}$/,rgba:/^rgba\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3}), ?(.?\d{1,3})\)$/,rgb:/^rgb\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3})\)$/,hsla:/^hsla\((\d{1,3}), ?(\d{1,3})%, ?(\d{1,3})%, ?(.?\d{1,3})\)$/,hsl:/^hsl\((\d{1,3}), ?(\d{1,3})%, ?(\d{1,3})%\)$/};e.exports=function(t){switch(s(t)){default:this.triggerError("colorType");case"hexa":return o(t);case"rgba":return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),parseFloat(a[4])];case"rgb":return[parseInt(a[1],10),parseInt(a[2],10),parseInt(a[3],10),1];case"hsla":return r(parseInt(a[1],10)/360,parseInt(a[2],10)/100,parseInt(a[3],10)/100,parseFloat(a[4]));case"hsl":return r(parseInt(a[1],10)/360,parseInt(a[2],10)/100,parseInt(a[3],10)/100,1)}}},{}],8:[function(t,e,i){"use strict";e.exports=function(){this.onResize("removeListeners"),this.onScroll("removeListeners"),this.clear()}},{}],9:[function(t,e,i){"use strict";e.exports=function(){function t(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=document.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i}"function"!=typeof window.CustomEvent&&(t.prototype=window.Event.prototype,window.CustomEvent=t)}},{}],10:[function(t,e,i){"use strict";e.exports=function(t){return"string"==typeof t?t:"object"==typeof t&&t.color?t.color:void this.triggerError("gradient.color")}},{}],11:[function(t,e,i){"use strict";e.exports=function(t,e){var i=0,s=[];for(i;i<4;i++)s.push(e[i]-t[i]);return s}},{}],12:[function(t,e,i){"use strict";e.exports=function(t,e){return"object"==typeof t&&t.pos?t.pos:parseFloat(e?(1/(this.gradientLength-1)*e).toFixed(2):0)}},{}],13:[function(t,e,i){"use strict";e.exports=function(t,e){return e-t}},{}],14:[function(t,e,i){"use strict";e.exports=function(){var t,e,i=[];for(t=0;t<this.currentColors.length;t++)for(i.push([]),e=0;e<4;e++)i[t].push(this.currentColors[t][e]);return i}},{}],15:[function(t,e,i){"use strict";e.exports=function(){var t,e=[];for(t=0;t<this.currentColorsPos.length;t++)e.push(this.currentColorsPos[t]);return e}},{}],16:[function(t,e,i){"use strict";e.exports=function(){this.x1=this.canvas.offsetWidth,this.y1=this.canvas.offsetHeight}},{}],17:[function(t,e,i){"use strict";e.exports=function(t){if(t instanceof HTMLCanvasElement)this.canvas=t;else{if("string"!=typeof t)throw new Error("The element you used is neither a String, nor a HTMLCanvasElement");this.canvas=document.querySelector(t)}if(!this.canvas)throw new Error("`"+t+"` could not be found in the DOM")}},{}],18:[function(t,e,i){"use strict";e.exports=function(){var t,e,i=this.getCurrentColors(),s=null,o=i.map(function(t){return Math.max(t[0],t[1],t[2])});for(e=0;e<o.length;e++)s=null===s?o[e]:s+o[e],e===o.length-1&&(t=Math.round(s/(e+1)));return t>=128?"light":"dark"}},{}],19:[function(t,e,i){"use strict";e.exports=function(){var t=this.setDirection(),e=document.querySelector(this.elToSetClassOn).classList,i=0;for(this.context.clearRect(0,0,this.x1,this.y1),this.image&&this.context.drawImage(this.imageNode,this.imagePosition.x,this.imagePosition.y,this.imagePosition.width,this.imagePosition.height),i;i<this.currentColors.length;i++)t.addColorStop(this.currentColorsPos[i],"rgba("+this.currentColors[i][0]+", "+this.currentColors[i][1]+", "+this.currentColors[i][2]+", "+this.currentColors[i][3]+")");this.name&&("light"===this.getLightness()?(e.remove(this.name+"-dark"),e.add(this.name+"-light")):(e.remove(this.name+"-light"),e.add(this.name+"-dark"))),this.context.fillStyle=t,this.context.fillRect(0,0,this.x1,this.y1)}},{}],20:[function(t,e,i){"use strict";e.exports=function(t){return"removeListeners"===t?void window.removeEventListener("resize",this.setSizeAttributesNameSpace):void window.addEventListener("resize",this.setSizeAttributesNameSpace)}},{}],21:[function(t,e,i){"use strict";e.exports=function(t){return"removeListeners"===t?void window.removeEventListener("scroll",this.pauseWhenNotInViewNameSpace):(window.addEventListener("scroll",this.pauseWhenNotInViewNameSpace),void this.pauseWhenNotInViewNameSpace())}},{}],22:[function(t,e,i){"use strict";e.exports=function(t){var e="isPausedBecauseNotInView"===t;this.isCleared||(e||(this.isPaused=!0),cancelAnimationFrame(this.animation),this.animating=!1)}},{}],23:[function(t,e,i){"use strict";e.exports=function(){var t=this;this.scrollDebounceTimeout&&clearTimeout(this.scrollDebounceTimeout),this.scrollDebounceTimeout=setTimeout(function(){var e=t.canvas.getBoundingClientRect();if(t.isCanvasInWindowView=!(e.bottom<0||e.right<0||e.left>window.innerWidth||e.top>window.innerHeight),t.isCanvasInWindowView){if(!t.isPaused||t.firstScrollInit){if(t.image&&!t.isImgLoaded)return;t.isPausedBecauseNotInView=!1,t.play("isPlayedBecauseInView"),t.firstScrollInit=!1}}else!t.image&&t.firstScrollInit&&(t.refreshColorsAndPos(),t.firstScrollInit=!1),t.isPaused||t.isPausedBecauseNotInView||(t.isPausedBecauseNotInView=!0,t.pause("isPausedBecauseNotInView"))},this.scrollDebounceThreshold)}},{}],24:[function(t,e,i){"use strict";e.exports=function(t){var e="isPlayedBecauseInView"===t;e||(this.isPaused=!1),this.isCleared=!1,this.animating||(this.animation=requestAnimationFrame(this.animateColors.bind(this)),this.animating=!0)}},{}],25:[function(t,e,i){"use strict";e.exports=function(){function t(){function t(t){var i,s=e[t+"1"],o=e["x"===t?"imgOriginalWidth":"imgOriginalHeight"],n="x"===t?e.image.position[0]:e.image.position[1];switch(n){case"center":i=o>s?-(o-s)/2:(s-o)/2,e.imagePosition[t]=i,e.imagePosition["x"===t?"width":"height"]=o;break;case"top":e.imagePosition.y=0,e.imagePosition.height=o;break;case"bottom":e.imagePosition.y=s-o,e.imagePosition.height=o;break;case"right":e.imagePosition.x=s-o,e.imagePosition.width=o;break;case"left":e.imagePosition.x=0,e.imagePosition.width=o}if(e.image.stretchMode)switch(n="x"===t?e.image.stretchMode[0]:e.image.stretchMode[1]){case"none":break;case"stretch":e.imagePosition[t]=0,e.imagePosition["x"===t?"width":"height"]=s;break;case"stretch-if-bigger":if(o<s)break;e.imagePosition[t]=0,e.imagePosition["x"===t?"width":"height"]=s;break;case"stretch-if-smaller":if(o>s)break;e.imagePosition[t]=0,e.imagePosition["x"===t?"width":"height"]=s}}var i,s;for(i=0;i<2;i++)s=i?"y":"x",t(s)}var e=this;return this.imagePosition||(this.imagePosition={x:0,y:0,width:0,height:0}),this.image.blendingMode&&(this.context.globalCompositeOperation=this.image.blendingMode),this.imageNode?void t():(this.imageNode=new Image,this.imageNode.onerror=function(){throw new Error("Granim: The image source is invalid.")},this.imageNode.onload=function(){e.imgOriginalWidth=e.imageNode.width,e.imgOriginalHeight=e.imageNode.height,t(),e.refreshColorsAndPos(),e.isPausedWhenNotInView&&!e.isCanvasInWindowView||(e.animation=requestAnimationFrame(e.animateColors.bind(e))),e.isImgLoaded=!0},void(this.imageNode.src=this.image.source))}},{}],26:[function(t,e,i){"use strict";e.exports=function(t){var e,i,s,o,n=this;for(s=0;s<this.activeColors.length;s++){for(o=0;o<4;o++)e=n.activeColors[s][o]+(3!==o?Math.ceil(n.activeColorsDiff[s][o]/100*t):Math.round(n.activeColorsDiff[s][o]/100*t*100)/100),e<=255&&e>=0&&(n.currentColors[s][o]=e);i=parseFloat((n.activeColorsPos[s]+n.activeColorsPosDiff[s]/100*t).toFixed(4)),i<=1&&i>=0&&(n.currentColorsPos[s]=i)}this.makeGradient()}},{}],27:[function(t,e,i){"use strict";e.exports=function(){var t,e,i,s,o=this;return this.channels[this.activeState]||(this.channels[this.activeState]=[]),void 0!==this.channels[this.activeState][this.channelsIndex]?(this.activeColors=this.channels[this.activeState][this.channelsIndex].colors,this.activeColorsDiff=this.channels[this.activeState][this.channelsIndex].colorsDiff,this.activeColorsPos=this.channels[this.activeState][this.channelsIndex].colorsPos,void(this.activeColorsPosDiff=this.channels[this.activeState][this.channelsIndex].colorsPosDiff)):(this.channels[this.activeState].push([{}]),this.channels[this.activeState][this.channelsIndex].colors=[],this.channels[this.activeState][this.channelsIndex].colorsDiff=[],this.channels[this.activeState][this.channelsIndex].colorsPos=[],this.channels[this.activeState][this.channelsIndex].colorsPosDiff=[],this.activeColors=[],this.activeColorsDiff=[],this.activeColorsPos=[],this.activeColorsPosDiff=[],this.states[this.activeState].gradients[this.channelsIndex].forEach(function(n,r){var a=o.getColorPos(n,r),n=o.getColor(n),h=o.convertColorToRgba(n),c=o.channels[o.activeState];c[o.channelsIndex].colors.push(h),o.activeColors.push(h),c[o.channelsIndex].colorsPos.push(a),o.activeColorsPos.push(a),o.isCurrentColorsSet||(o.currentColors.push(o.convertColorToRgba(n)),o.currentColorsPos.push(a)),o.channelsIndex===o.states[o.activeState].gradients.length-1?(t=o.getColorDiff(c[o.channelsIndex].colors[r],c[0].colors[r]),e=o.getColorPosDiff(c[o.channelsIndex].colorsPos[r],c[0].colorsPos[r])):(i=o.convertColorToRgba(o.getColor(o.states[o.activeState].gradients[o.channelsIndex+1][r])),s=o.getColorPos(o.states[o.activeState].gradients[o.channelsIndex+1][r],r),t=o.getColorDiff(c[o.channelsIndex].colors[r],i),e=o.getColorPosDiff(c[o.channelsIndex].colorsPos[r],s)),c[o.channelsIndex].colorsDiff.push(t),o.activeColorsDiff.push(t),c[o.channelsIndex].colorsPosDiff.push(e),o.activeColorsPosDiff.push(e)}),this.activetransitionSpeed=this.states[this.activeState].transitionSpeed||5e3,void(this.isCurrentColorsSet=!0))}},{}],28:[function(t,e,i){"use strict";function s(t,e){return t.indexOf("%")>-1?e/100*parseInt(t.split("%")[0],10):parseInt(t.split("px")[0],10)}e.exports=function(){var t=this.context;switch(this.direction){case"diagonal":return t.createLinearGradient(0,0,this.x1,this.y1);case"left-right":return t.createLinearGradient(0,0,this.x1,0);case"top-bottom":return t.createLinearGradient(this.x1/2,0,this.x1/2,this.y1);case"radial":return t.createRadialGradient(this.x1/2,this.y1/2,this.x1/2,this.x1/2,this.y1/2,0);case"custom":return t.createLinearGradient(s(this.customDirection.x0,this.x1),s(this.customDirection.y0,this.y1),s(this.customDirection.x1,this.x1),s(this.customDirection.y1,this.y1))}}},{}],29:[function(t,e,i){"use strict";e.exports=function(){this.getDimensions(),this.canvas.setAttribute("width",this.x1),this.canvas.setAttribute("height",this.y1),this.image&&this.prepareImage(),this.refreshColorsAndPos()}},{}],30:[function(t,e,i){"use strict";e.exports=function(t){var e="https://sarcadass.github.io/granim.js/api.html";throw new Error('Granim: Input error on "'+t+'" option.\nCheck the API '+e+".")}},{}],31:[function(t,e,i){"use strict";function s(t){for(var e,i=!0,s=0;i&&s<t.length;){if(e=t[s],"string"!=typeof e)i=!1;else{var o=null,n=null;e.indexOf("px")!==-1&&(n="px"),e.indexOf("%")!==-1&&(n="%"),o=e.split(n).filter(function(t){return t.length>0}),(!n||o.length>2||!o[0]||o[1]||!/^-?\d+\.?\d*$/.test(o[0]))&&(i=!1)}s++}return i}e.exports=function(t){var e=["left","center","right"],i=["top","center","bottom"],o=["none","stretch","stretch-if-smaller","stretch-if-bigger"],n=["multiply","screen","normal","overlay","darken","lighten","lighter","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],r=["diagonal","left-right","top-bottom","radial","custom"];switch(t){case"image":Array.isArray(this.image.position)&&2===this.image.position.length&&e.indexOf(this.image.position[0])!==-1&&i.indexOf(this.image.position[1])!==-1||this.triggerError("image.position"),this.image.stretchMode&&(Array.isArray(this.image.stretchMode)&&2===this.image.stretchMode.length&&o.indexOf(this.image.stretchMode[0])!==-1&&o.indexOf(this.image.stretchMode[1])!==-1||this.triggerError("image.stretchMode"));break;case"blendingMode":n.indexOf(this.image.blendingMode)===-1&&(this.clear(),this.triggerError("blendingMode"));break;case"direction":r.indexOf(this.direction)===-1?this.triggerError("direction"):"custom"===this.direction&&(s([this.customDirection.x0,this.customDirection.x1,this.customDirection.y0,this.customDirection.y1])||this.triggerError("customDirection"))}}},{}],32:[function(t,e,i){window.Granim=t("./lib/Granim.js")},{"./lib/Granim.js":1}]},{},[32]);
!function(t,r){"object"==typeof exports&&"object"==typeof module?module.exports=r():"function"==typeof define&&define.amd?define("jquery-qrcode",[],r):"object"==typeof exports?exports["jquery-qrcode"]=r():t["jquery-qrcode"]=r()}("undefined"!=typeof self?self:this,function(){return function(e){var n={};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=e,o.c=n,o.d=function(t,r,e){o.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:e})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(r,t){if(1&t&&(r=o(r)),8&t)return r;if(4&t&&"object"==typeof r&&r&&r.__esModule)return r;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:r}),2&t&&"string"!=typeof r)for(var n in r)o.d(e,n,function(t){return r[t]}.bind(null,n));return e},o.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(r,"a",r),r},o.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},o.p="",o(o.s=0)}([function(v,t,p){(function(t){function c(t){return t&&"string"==typeof t.tagName&&"IMG"===t.tagName.toUpperCase()}function a(t,r,e,n){var o={},i=p(2);i.stringToBytes=i.stringToBytesFuncs["UTF-8"];var a=i(e,r);a.addData(t),a.make(),n=n||0;var u=a.getModuleCount(),s=u+2*n;return o.text=t,o.level=r,o.version=e,o.module_count=s,o.is_dark=function(t,r){return r-=n,0<=(t-=n)&&t<u&&0<=r&&r<u&&a.isDark(t,r)},o.add_blank=function(a,u,f,c){var l=o.is_dark,g=1/s;o.is_dark=function(t,r){var e=r*g,n=t*g,o=e+g,i=n+g;return l(t,r)&&(o<a||f<e||i<u||c<n)}},o}function h(t,r,e,n,o){e=Math.max(1,e||1),n=Math.min(40,n||40);for(var i=e;i<=n;i+=1)try{return a(t,r,i,o)}catch(t){}}function i(t,r,e){c(e.background)?r.drawImage(e.background,0,0,e.size,e.size):e.background&&(r.fillStyle=e.background,r.fillRect(e.left,e.top,e.size,e.size));var n=e.mode;1===n||2===n?function(t,r,e){var n=e.size,o="bold "+e.mSize*n+"px "+e.fontname,i=d("<canvas/>")[0].getContext("2d");i.font=o;var a=i.measureText(e.label).width,u=e.mSize,f=a/n,c=(1-f)*e.mPosX,l=(1-u)*e.mPosY,g=c+f,s=l+u;1===e.mode?t.add_blank(0,l-.01,n,s+.01):t.add_blank(c-.01,l-.01,.01+g,s+.01),r.fillStyle=e.fontcolor,r.font=o,r.fillText(e.label,c*n,l*n+.75*e.mSize*n)}(t,r,e):!c(e.image)||3!==n&&4!==n||function(t,r,e){var n=e.size,o=e.image.naturalWidth||1,i=e.image.naturalHeight||1,a=e.mSize,u=a*o/i,f=(1-u)*e.mPosX,c=(1-a)*e.mPosY,l=f+u,g=c+a;3===e.mode?t.add_blank(0,c-.01,n,g+.01):t.add_blank(f-.01,c-.01,.01+l,g+.01),r.drawImage(e.image,f*n,c*n,u*n,a*n)}(t,r,e)}function l(t,r,e,n,o,i,a,u){t.is_dark(a,u)&&r.rect(n,o,i,i)}function g(t,r,e,n,o,i,a,u){var f=t.is_dark,c=n+i,l=o+i,g=e.radius*i,s=a-1,h=a+1,d=u-1,v=u+1,p=f(a,u),w=f(s,d),y=f(s,u),m=f(s,v),b=f(a,v),k=f(h,v),C=f(h,u),B=f(h,d),x=f(a,d);p?function(t,r,e,n,o,i,a,u,f,c){a?t.moveTo(r+i,e):t.moveTo(r,e),u?(t.lineTo(n-i,e),t.arcTo(n,e,n,o,i)):t.lineTo(n,e),f?(t.lineTo(n,o-i),t.arcTo(n,o,r,o,i)):t.lineTo(n,o),c?(t.lineTo(r+i,o),t.arcTo(r,o,r,e,i)):t.lineTo(r,o),a?(t.lineTo(r,e+i),t.arcTo(r,e,n,e,i)):t.lineTo(r,e)}(r,n,o,c,l,g,!y&&!x,!y&&!b,!C&&!b,!C&&!x):function(t,r,e,n,o,i,a,u,f,c){a&&(t.moveTo(r+i,e),t.lineTo(r,e),t.lineTo(r,e+i),t.arcTo(r,e,r+i,e,i)),u&&(t.moveTo(n-i,e),t.lineTo(n,e),t.lineTo(n,e+i),t.arcTo(n,e,n-i,e,i)),f&&(t.moveTo(n-i,o),t.lineTo(n,o),t.lineTo(n,o-i),t.arcTo(n,o,n-i,o,i)),c&&(t.moveTo(r+i,o),t.lineTo(r,o),t.lineTo(r,o-i),t.arcTo(r,o,r+i,o,i))}(r,n,o,c,l,g,y&&x&&w,y&&b&&m,C&&b&&k,C&&x&&B)}function n(t,r){var e=h(r.text,r.ecLevel,r.minVersion,r.maxVersion,r.quiet);if(!e)return null;var n=d(t).data("qrcode",e),o=n[0].getContext("2d");return i(e,o,r),function(t,r,e){var n,o,i=t.module_count,a=e.size/i,u=l;for(0<e.radius&&e.radius<=.5&&(u=g),r.beginPath(),n=0;n<i;n+=1)for(o=0;o<i;o+=1)u(t,r,e,e.left+o*a,e.top+n*a,a,n,o);if(c(e.fill)){r.strokeStyle="rgba(0,0,0,0.5)",r.lineWidth=2,r.stroke();var f=r.globalCompositeOperation;r.globalCompositeOperation="destination-out",r.fill(),r.globalCompositeOperation=f,r.clip(),r.drawImage(e.fill,0,0,e.size,e.size),r.restore()}else r.fillStyle=e.fill,r.fill()}(e,o,r),n}function r(t){var r=d("<canvas/>").attr("width",t.size).attr("height",t.size);return n(r,t)}function o(t){return f&&"canvas"===t.render?r(t):f&&"image"===t.render?function(t){return d("<img/>").attr("src",r(t)[0].toDataURL("image/png"))}(t):function(t){var r=h(t.text,t.ecLevel,t.minVersion,t.maxVersion,t.quiet);if(!r)return null;var e,n,o=t.size,i=t.background,a=Math.floor,u=r.module_count,f=a(o/u),c=a(.5*(o-f*u)),l={position:"relative",left:0,top:0,padding:0,margin:0,width:o,height:o},g={position:"absolute",padding:0,margin:0,width:f,height:f,"background-color":t.fill},s=d("<div/>").data("qrcode",r).css(l);for(i&&s.css("background-color",i),e=0;e<u;e+=1)for(n=0;n<u;n+=1)r.is_dark(e,n)&&d("<div/>").css(g).css({left:c+n*f,top:c+e*f}).appendTo(s);return s}(t)}var e,u=t.window,d=u.jQuery,f=!(!(e=u.document.createElement("canvas")).getContext||!e.getContext("2d")),s={render:"canvas",minVersion:1,maxVersion:40,ecLevel:"L",left:0,top:0,size:200,fill:"#000",background:"#fff",text:"no text",radius:0,quiet:0,mode:0,mSize:.1,mPosX:.5,mPosY:.5,label:"no label",fontname:"sans",fontcolor:"#000",image:null};d.fn.qrcode=v.exports=function(t){var e=d.extend({},s,t);return this.each(function(t,r){"canvas"===r.nodeName.toLowerCase()?n(r,e):d(r).append(o(e))})}}).call(this,p(1))},function(t,r){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,r,e){var n,o,i,a=function(){function i(t,r){function a(t,r){l=function(t){for(var r=new Array(t),e=0;e<t;e+=1){r[e]=new Array(t);for(var n=0;n<t;n+=1)r[e][n]=null}return r}(g=4*u+17),e(0,0),e(g-7,0),e(0,g-7),i(),o(),d(t,r),7<=u&&s(t),null==n&&(n=p(u,f,c)),v(n,r)}var u=t,f=w[r],l=null,g=0,n=null,c=[],h={},e=function(t,r){for(var e=-1;e<=7;e+=1)if(!(t+e<=-1||g<=t+e))for(var n=-1;n<=7;n+=1)r+n<=-1||g<=r+n||(l[t+e][r+n]=0<=e&&e<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==e||6==e)||2<=e&&e<=4&&2<=n&&n<=4)},o=function(){for(var t=8;t<g-8;t+=1)null==l[t][6]&&(l[t][6]=t%2==0);for(var r=8;r<g-8;r+=1)null==l[6][r]&&(l[6][r]=r%2==0)},i=function(){for(var t=y.getPatternPosition(u),r=0;r<t.length;r+=1)for(var e=0;e<t.length;e+=1){var n=t[r],o=t[e];if(null==l[n][o])for(var i=-2;i<=2;i+=1)for(var a=-2;a<=2;a+=1)l[n+i][o+a]=-2==i||2==i||-2==a||2==a||0==i&&0==a}},s=function(t){for(var r=y.getBCHTypeNumber(u),e=0;e<18;e+=1){var n=!t&&1==(r>>e&1);l[Math.floor(e/3)][e%3+g-8-3]=n}for(e=0;e<18;e+=1){n=!t&&1==(r>>e&1);l[e%3+g-8-3][Math.floor(e/3)]=n}},d=function(t,r){for(var e=f<<3|r,n=y.getBCHTypeInfo(e),o=0;o<15;o+=1){var i=!t&&1==(n>>o&1);o<6?l[o][8]=i:o<8?l[o+1][8]=i:l[g-15+o][8]=i}for(o=0;o<15;o+=1){i=!t&&1==(n>>o&1);o<8?l[8][g-o-1]=i:o<9?l[8][15-o-1+1]=i:l[8][15-o-1]=i}l[g-8][8]=!t},v=function(t,r){for(var e=-1,n=g-1,o=7,i=0,a=y.getMaskFunction(r),u=g-1;0<u;u-=2)for(6==u&&(u-=1);;){for(var f=0;f<2;f+=1)if(null==l[n][u-f]){var c=!1;i<t.length&&(c=1==(t[i]>>>o&1)),a(n,u-f)&&(c=!c),l[n][u-f]=c,-1==(o-=1)&&(i+=1,o=7)}if((n+=e)<0||g<=n){n-=e,e=-e;break}}},p=function(t,r,e){for(var n=C.getRSBlocks(t,r),o=B(),i=0;i<e.length;i+=1){var a=e[i];o.put(a.getMode(),4),o.put(a.getLength(),y.getLengthInBits(a.getMode(),t)),a.write(o)}var u=0;for(i=0;i<n.length;i+=1)u+=n[i].dataCount;if(o.getLengthInBits()>8*u)throw"code length overflow. ("+o.getLengthInBits()+">"+8*u+")";for(o.getLengthInBits()+4<=8*u&&o.put(0,4);o.getLengthInBits()%8!=0;)o.putBit(!1);for(;!(o.getLengthInBits()>=8*u||(o.put(236,8),o.getLengthInBits()>=8*u));)o.put(17,8);return function(t,r){for(var e=0,n=0,o=0,i=new Array(r.length),a=new Array(r.length),u=0;u<r.length;u+=1){var f=r[u].dataCount,c=r[u].totalCount-f;n=Math.max(n,f),o=Math.max(o,c),i[u]=new Array(f);for(var l=0;l<i[u].length;l+=1)i[u][l]=255&t.getBuffer()[l+e];e+=f;var g=y.getErrorCorrectPolynomial(c),s=m(i[u],g.getLength()-1).mod(g);for(a[u]=new Array(g.getLength()-1),l=0;l<a[u].length;l+=1){var h=l+s.getLength()-a[u].length;a[u][l]=0<=h?s.getAt(h):0}}var d=0;for(l=0;l<r.length;l+=1)d+=r[l].totalCount;var v=new Array(d),p=0;for(l=0;l<n;l+=1)for(u=0;u<r.length;u+=1)l<i[u].length&&(v[p]=i[u][l],p+=1);for(l=0;l<o;l+=1)for(u=0;u<r.length;u+=1)l<a[u].length&&(v[p]=a[u][l],p+=1);return v}(o,n)};return h.addData=function(t,r){var e=null;switch(r=r||"Byte"){case"Numeric":e=x(t);break;case"Alphanumeric":e=T(t);break;case"Byte":e=M(t);break;case"Kanji":e=A(t);break;default:throw"mode:"+r}c.push(e),n=null},h.isDark=function(t,r){if(t<0||g<=t||r<0||g<=r)throw t+","+r;return l[t][r]},h.getModuleCount=function(){return g},h.make=function(){if(u<1){for(var t=1;t<40;t++){for(var r=C.getRSBlocks(t,f),e=B(),n=0;n<c.length;n++){var o=c[n];e.put(o.getMode(),4),e.put(o.getLength(),y.getLengthInBits(o.getMode(),t)),o.write(e)}var i=0;for(n=0;n<r.length;n++)i+=r[n].dataCount;if(e.getLengthInBits()<=8*i)break}u=t}a(!1,function(){for(var t=0,r=0,e=0;e<8;e+=1){a(!0,e);var n=y.getLostPoint(h);(0==e||n<t)&&(t=n,r=e)}return r}())},h.createTableTag=function(t,r){t=t||2;var e="";e+='<table style="',e+=" border-width: 0px; border-style: none;",e+=" border-collapse: collapse;",e+=" padding: 0px; margin: "+(r=void 0===r?4*t:r)+"px;",e+='">',e+="<tbody>";for(var n=0;n<h.getModuleCount();n+=1){e+="<tr>";for(var o=0;o<h.getModuleCount();o+=1)e+='<td style="',e+=" border-width: 0px; border-style: none;",e+=" border-collapse: collapse;",e+=" padding: 0px; margin: 0px;",e+=" width: "+t+"px;",e+=" height: "+t+"px;",e+=" background-color: ",e+=h.isDark(n,o)?"#000000":"#ffffff",e+=";",e+='"/>';e+="</tr>"}return e+="</tbody>",e+="</table>"},h.createSvgTag=function(t,r){var e={};"object"==typeof t&&(t=(e=t).cellSize,r=e.margin),t=t||2,r=void 0===r?4*t:r;var n,o,i,a,u=h.getModuleCount()*t+2*r,f="";for(a="l"+t+",0 0,"+t+" -"+t+",0 0,-"+t+"z ",f+='<svg version="1.1" xmlns="http://www.w3.org/2000/svg"',f+=e.scalable?"":' width="'+u+'px" height="'+u+'px"',f+=' viewBox="0 0 '+u+" "+u+'" ',f+=' preserveAspectRatio="xMinYMin meet">',f+='<rect width="100%" height="100%" fill="white" cx="0" cy="0"/>',f+='<path d="',o=0;o<h.getModuleCount();o+=1)for(i=o*t+r,n=0;n<h.getModuleCount();n+=1)h.isDark(o,n)&&(f+="M"+(n*t+r)+","+i+a);return f+='" stroke="transparent" fill="black"/>',f+="</svg>"},h.createDataURL=function(o,t){o=o||2,t=void 0===t?4*o:t;var r=h.getModuleCount()*o+2*t,i=t,a=r-t;return L(r,r,function(t,r){if(i<=t&&t<a&&i<=r&&r<a){var e=Math.floor((t-i)/o),n=Math.floor((r-i)/o);return h.isDark(n,e)?0:1}return 1})},h.createImgTag=function(t,r,e){t=t||2,r=void 0===r?4*t:r;var n=h.getModuleCount()*t+2*r,o="";return o+="<img",o+=' src="',o+=h.createDataURL(t,r),o+='"',o+=' width="',o+=n,o+='"',o+=' height="',o+=n,o+='"',e&&(o+=' alt="',o+=e,o+='"'),o+="/>"},h.createASCII=function(t,r){if((t=t||1)<2)return function(t){t=void 0===t?2:t;var r,e,n,o,i,a=1*h.getModuleCount()+2*t,u=t,f=a-t,c={"██":"█","█ ":"▀"," █":"▄","  ":" "},l={"██":"▀","█ ":"▀"," █":" ","  ":" "},g="";for(r=0;r<a;r+=2){for(n=Math.floor((r-u)/1),o=Math.floor((r+1-u)/1),e=0;e<a;e+=1)i="█",u<=e&&e<f&&u<=r&&r<f&&h.isDark(n,Math.floor((e-u)/1))&&(i=" "),u<=e&&e<f&&u<=r+1&&r+1<f&&h.isDark(o,Math.floor((e-u)/1))?i+=" ":i+="█",g+=t<1&&f<=r+1?l[i]:c[i];g+="\n"}return a%2&&0<t?g.substring(0,g.length-a-1)+Array(1+a).join("▀"):g.substring(0,g.length-1)}(r);t-=1,r=void 0===r?2*t:r;var e,n,o,i,a=h.getModuleCount()*t+2*r,u=r,f=a-r,c=Array(t+1).join("██"),l=Array(t+1).join("  "),g="",s="";for(e=0;e<a;e+=1){for(o=Math.floor((e-u)/t),s="",n=0;n<a;n+=1)i=1,u<=n&&n<f&&u<=e&&e<f&&h.isDark(o,Math.floor((n-u)/t))&&(i=0),s+=i?c:l;for(o=0;o<t;o+=1)g+=s+"\n"}return g.substring(0,g.length-1)},h.renderTo2dContext=function(t,r){r=r||2;for(var e=h.getModuleCount(),n=0;n<e;n++)for(var o=0;o<e;o++)t.fillStyle=h.isDark(n,o)?"black":"white",t.fillRect(n*r,o*r,r,r)},h}i.stringToBytes=(i.stringToBytesFuncs={default:function(t){for(var r=[],e=0;e<t.length;e+=1){var n=t.charCodeAt(e);r.push(255&n)}return r}}).default,i.createStringToBytes=function(u,f){var i=function(){function t(){var t=r.read();if(-1==t)throw"eof";return t}for(var r=S(u),e=0,n={};;){var o=r.read();if(-1==o)break;var i=t(),a=t()<<8|t();n[String.fromCharCode(o<<8|i)]=a,e+=1}if(e!=f)throw e+"!="+f;return n}(),a="?".charCodeAt(0);return function(t){for(var r=[],e=0;e<t.length;e+=1){var n=t.charCodeAt(e);if(n<128)r.push(n);else{var o=i[t.charAt(e)];"number"==typeof o?(255&o)==o?r.push(o):(r.push(o>>>8),r.push(255&o)):r.push(a)}}return r}};var a=1,u=2,o=4,f=8,w={L:1,M:0,Q:3,H:2},n=0,c=1,l=2,g=3,s=4,h=5,d=6,v=7,y=function(){function e(t){for(var r=0;0!=t;)r+=1,t>>>=1;return r}var r=[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],t={};return t.getBCHTypeInfo=function(t){for(var r=t<<10;0<=e(r)-e(1335);)r^=1335<<e(r)-e(1335);return 21522^(t<<10|r)},t.getBCHTypeNumber=function(t){for(var r=t<<12;0<=e(r)-e(7973);)r^=7973<<e(r)-e(7973);return t<<12|r},t.getPatternPosition=function(t){return r[t-1]},t.getMaskFunction=function(t){switch(t){case n:return function(t,r){return(t+r)%2==0};case c:return function(t,r){return t%2==0};case l:return function(t,r){return r%3==0};case g:return function(t,r){return(t+r)%3==0};case s:return function(t,r){return(Math.floor(t/2)+Math.floor(r/3))%2==0};case h:return function(t,r){return t*r%2+t*r%3==0};case d:return function(t,r){return(t*r%2+t*r%3)%2==0};case v:return function(t,r){return(t*r%3+(t+r)%2)%2==0};default:throw"bad maskPattern:"+t}},t.getErrorCorrectPolynomial=function(t){for(var r=m([1],0),e=0;e<t;e+=1)r=r.multiply(m([1,p.gexp(e)],0));return r},t.getLengthInBits=function(t,r){if(1<=r&&r<10)switch(t){case a:return 10;case u:return 9;case o:case f:return 8;default:throw"mode:"+t}else if(r<27)switch(t){case a:return 12;case u:return 11;case o:return 16;case f:return 10;default:throw"mode:"+t}else{if(!(r<41))throw"type:"+r;switch(t){case a:return 14;case u:return 13;case o:return 16;case f:return 12;default:throw"mode:"+t}}},t.getLostPoint=function(t){for(var r=t.getModuleCount(),e=0,n=0;n<r;n+=1)for(var o=0;o<r;o+=1){for(var i=0,a=t.isDark(n,o),u=-1;u<=1;u+=1)if(!(n+u<0||r<=n+u))for(var f=-1;f<=1;f+=1)o+f<0||r<=o+f||0==u&&0==f||a==t.isDark(n+u,o+f)&&(i+=1);5<i&&(e+=3+i-5)}for(n=0;n<r-1;n+=1)for(o=0;o<r-1;o+=1){var c=0;t.isDark(n,o)&&(c+=1),t.isDark(n+1,o)&&(c+=1),t.isDark(n,o+1)&&(c+=1),t.isDark(n+1,o+1)&&(c+=1),0!=c&&4!=c||(e+=3)}for(n=0;n<r;n+=1)for(o=0;o<r-6;o+=1)t.isDark(n,o)&&!t.isDark(n,o+1)&&t.isDark(n,o+2)&&t.isDark(n,o+3)&&t.isDark(n,o+4)&&!t.isDark(n,o+5)&&t.isDark(n,o+6)&&(e+=40);for(o=0;o<r;o+=1)for(n=0;n<r-6;n+=1)t.isDark(n,o)&&!t.isDark(n+1,o)&&t.isDark(n+2,o)&&t.isDark(n+3,o)&&t.isDark(n+4,o)&&!t.isDark(n+5,o)&&t.isDark(n+6,o)&&(e+=40);var l=0;for(o=0;o<r;o+=1)for(n=0;n<r;n+=1)t.isDark(n,o)&&(l+=1);return e+=10*(Math.abs(100*l/r/r-50)/5)},t}(),p=function(){for(var r=new Array(256),e=new Array(256),t=0;t<8;t+=1)r[t]=1<<t;for(t=8;t<256;t+=1)r[t]=r[t-4]^r[t-5]^r[t-6]^r[t-8];for(t=0;t<255;t+=1)e[r[t]]=t;var n={glog:function(t){if(t<1)throw"glog("+t+")";return e[t]},gexp:function(t){for(;t<0;)t+=255;for(;256<=t;)t-=255;return r[t]}};return n}();function m(n,o){if(void 0===n.length)throw n.length+"/"+o;var r=function(){for(var t=0;t<n.length&&0==n[t];)t+=1;for(var r=new Array(n.length-t+o),e=0;e<n.length-t;e+=1)r[e]=n[e+t];return r}(),i={getAt:function(t){return r[t]},getLength:function(){return r.length},multiply:function(t){for(var r=new Array(i.getLength()+t.getLength()-1),e=0;e<i.getLength();e+=1)for(var n=0;n<t.getLength();n+=1)r[e+n]^=p.gexp(p.glog(i.getAt(e))+p.glog(t.getAt(n)));return m(r,0)},mod:function(t){if(i.getLength()-t.getLength()<0)return i;for(var r=p.glog(i.getAt(0))-p.glog(t.getAt(0)),e=new Array(i.getLength()),n=0;n<i.getLength();n+=1)e[n]=i.getAt(n);for(n=0;n<t.getLength();n+=1)e[n]^=p.gexp(p.glog(t.getAt(n))+r);return m(e,0).mod(t)}};return i}function b(){var e=[],o={writeByte:function(t){e.push(255&t)},writeShort:function(t){o.writeByte(t),o.writeByte(t>>>8)},writeBytes:function(t,r,e){r=r||0,e=e||t.length;for(var n=0;n<e;n+=1)o.writeByte(t[n+r])},writeString:function(t){for(var r=0;r<t.length;r+=1)o.writeByte(t.charCodeAt(r))},toByteArray:function(){return e},toString:function(){var t="";t+="[";for(var r=0;r<e.length;r+=1)0<r&&(t+=","),t+=e[r];return t+="]"}};return o}var k,t,C=(k=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12,7,37,13],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],(t={}).getRSBlocks=function(t,r){var e=function(t,r){switch(r){case w.L:return k[4*(t-1)+0];case w.M:return k[4*(t-1)+1];case w.Q:return k[4*(t-1)+2];case w.H:return k[4*(t-1)+3];default:return}}(t,r);if(void 0===e)throw"bad rs block @ typeNumber:"+t+"/errorCorrectionLevel:"+r;for(var n,o,i=e.length/3,a=[],u=0;u<i;u+=1)for(var f=e[3*u+0],c=e[3*u+1],l=e[3*u+2],g=0;g<f;g+=1)a.push((n=l,o=void 0,(o={}).totalCount=c,o.dataCount=n,o));return a},t),B=function(){var e=[],n=0,o={getBuffer:function(){return e},getAt:function(t){var r=Math.floor(t/8);return 1==(e[r]>>>7-t%8&1)},put:function(t,r){for(var e=0;e<r;e+=1)o.putBit(1==(t>>>r-e-1&1))},getLengthInBits:function(){return n},putBit:function(t){var r=Math.floor(n/8);e.length<=r&&e.push(0),t&&(e[r]|=128>>>n%8),n+=1}};return o},x=function(t){var r=a,n=t,e={getMode:function(){return r},getLength:function(t){return n.length},write:function(t){for(var r=n,e=0;e+2<r.length;)t.put(o(r.substring(e,e+3)),10),e+=3;e<r.length&&(r.length-e==1?t.put(o(r.substring(e,e+1)),4):r.length-e==2&&t.put(o(r.substring(e,e+2)),7))}},o=function(t){for(var r=0,e=0;e<t.length;e+=1)r=10*r+i(t.charAt(e));return r},i=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);throw"illegal char :"+t};return e},T=function(t){var r=u,n=t,e={getMode:function(){return r},getLength:function(t){return n.length},write:function(t){for(var r=n,e=0;e+1<r.length;)t.put(45*o(r.charAt(e))+o(r.charAt(e+1)),11),e+=2;e<r.length&&t.put(o(r.charAt(e)),6)}},o=function(t){if("0"<=t&&t<="9")return t.charCodeAt(0)-"0".charCodeAt(0);if("A"<=t&&t<="Z")return t.charCodeAt(0)-"A".charCodeAt(0)+10;switch(t){case" ":return 36;case"$":return 37;case"%":return 38;case"*":return 39;case"+":return 40;case"-":return 41;case".":return 42;case"/":return 43;case":":return 44;default:throw"illegal char :"+t}};return e},M=function(t){var r=o,e=i.stringToBytes(t),n={getMode:function(){return r},getLength:function(t){return e.length},write:function(t){for(var r=0;r<e.length;r+=1)t.put(e[r],8)}};return n},A=function(t){var r=f,n=i.stringToBytesFuncs.SJIS;if(!n)throw"sjis not supported.";!function(t,r){var e=n("友");if(2!=e.length||38726!=(e[0]<<8|e[1]))throw"sjis not supported."}();var o=n(t),e={getMode:function(){return r},getLength:function(t){return~~(o.length/2)},write:function(t){for(var r=o,e=0;e+1<r.length;){var n=(255&r[e])<<8|255&r[e+1];if(33088<=n&&n<=40956)n-=33088;else{if(!(57408<=n&&n<=60351))throw"illegal char at "+(e+1)+"/"+n;n-=49472}n=192*(n>>>8&255)+(255&n),t.put(n,13),e+=2}if(e<r.length)throw"illegal char at "+(e+1)}};return e},S=function(t){var e=t,n=0,o=0,i=0,r={read:function(){for(;i<8;){if(n>=e.length){if(0==i)return-1;throw"unexpected end of file./"+i}var t=e.charAt(n);if(n+=1,"="==t)return i=0,-1;t.match(/^\s$/)||(o=o<<6|a(t.charCodeAt(0)),i+=6)}var r=o>>>i-8&255;return i-=8,r}},a=function(t){if(65<=t&&t<=90)return t-65;if(97<=t&&t<=122)return t-97+26;if(48<=t&&t<=57)return t-48+52;if(43==t)return 62;if(47==t)return 63;throw"c:"+t};return r},L=function(t,r,e){for(var n=function(t,r){var n=t,o=r,g=new Array(t*r),e={setPixel:function(t,r,e){g[r*n+t]=e},write:function(t){t.writeString("GIF87a"),t.writeShort(n),t.writeShort(o),t.writeByte(128),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(0),t.writeByte(255),t.writeByte(255),t.writeByte(255),t.writeString(","),t.writeShort(0),t.writeShort(0),t.writeShort(n),t.writeShort(o),t.writeByte(0);var r=i(2);t.writeByte(2);for(var e=0;255<r.length-e;)t.writeByte(255),t.writeBytes(r,e,255),e+=255;t.writeByte(r.length-e),t.writeBytes(r,e,r.length-e),t.writeByte(0),t.writeString(";")}},i=function(t){for(var r=1<<t,e=1+(1<<t),n=t+1,o=s(),i=0;i<r;i+=1)o.add(String.fromCharCode(i));o.add(String.fromCharCode(r)),o.add(String.fromCharCode(e));var a=b(),u=function(t){var e=t,n=0,o=0,r={write:function(t,r){if(t>>>r!=0)throw"length over";for(;8<=n+r;)e.writeByte(255&(t<<n|o)),r-=8-n,t>>>=8-n,n=o=0;o|=t<<n,n+=r},flush:function(){0<n&&e.writeByte(o)}};return r}(a);u.write(r,n);var f=0,c=String.fromCharCode(g[f]);for(f+=1;f<g.length;){var l=String.fromCharCode(g[f]);f+=1,o.contains(c+l)?c+=l:(u.write(o.indexOf(c),n),o.size()<4095&&(o.size()==1<<n&&(n+=1),o.add(c+l)),c=l)}return u.write(o.indexOf(c),n),u.write(e,n),u.flush(),a.toByteArray()},s=function(){var r={},e=0,n={add:function(t){if(n.contains(t))throw"dup key:"+t;r[t]=e,e+=1},size:function(){return e},indexOf:function(t){return r[t]},contains:function(t){return void 0!==r[t]}};return n};return e}(t,r),o=0;o<r;o+=1)for(var i=0;i<t;i+=1)n.setPixel(i,o,e(i,o));var a=b();n.write(a);for(var u=function(){function e(t){a+=String.fromCharCode(r(63&t))}var n=0,o=0,i=0,a="",t={},r=function(t){if(t<0);else{if(t<26)return 65+t;if(t<52)return t-26+97;if(t<62)return t-52+48;if(62==t)return 43;if(63==t)return 47}throw"n:"+t};return t.writeByte=function(t){for(n=n<<8|255&t,o+=8,i+=1;6<=o;)e(n>>>o-6),o-=6},t.flush=function(){if(0<o&&(e(n<<6-o),o=n=0),i%3!=0)for(var t=3-i%3,r=0;r<t;r+=1)a+="="},t.toString=function(){return a},t}(),f=a.toByteArray(),c=0;c<f.length;c+=1)u.writeByte(f[c]);return u.flush(),"data:image/gif;base64,"+u};return i}();a.stringToBytesFuncs["UTF-8"]=function(t){return function(t){for(var r=[],e=0;e<t.length;e++){var n=t.charCodeAt(e);n<128?r.push(n):n<2048?r.push(192|n>>6,128|63&n):n<55296||57344<=n?r.push(224|n>>12,128|n>>6&63,128|63&n):(e++,n=65536+((1023&n)<<10|1023&t.charCodeAt(e)),r.push(240|n>>18,128|n>>12&63,128|n>>6&63,128|63&n))}return r}(t)},o=[],void 0===(i="function"==typeof(n=function(){return a})?n.apply(r,o):n)||(t.exports=i)}])});
!function(o){woodmartThemeModule.scrollTop=function(){var l=o(".scrollToTop");woodmartThemeModule.$window.on("scroll",function(){o(this).scrollTop()>100?l.addClass("button-show"):l.removeClass("button-show")}),l.on("click",function(){return o("html, body").animate({scrollTop:0},800),!1})},o(document).ready(function(){woodmartThemeModule.scrollTop()})}(jQuery);
function openMobileNavEvent(e){e.preventDefault();var t=document.querySelector(".wd-side-hidden-nav");t.classList.contains("wd-opened")?woodmartThemeModule.closeMobileNavigation():(this.parentNode.classList.add("wd-opened"),woodmartThemeModule.openMobileNavigation(t))}woodmartThemeModule.$document.on("wdCloseMobileMenu wdPjaxStart",function(){woodmartThemeModule.closeMobileNavigation()}),woodmartThemeModule.mobileNavigationClickAction=function(e){e&&e.addEventListener("click",function(e){var t=e.target.closest(".wd-nav");if(t){var o,n,i=t.classList.contains("wd-layout-dropdown"),d=t.classList.contains("wd-layout-drilldown"),a=t.classList.contains("wd-drilldown-slide"),l=e.target.closest(".wd-nav-mob-tab li"),s=e.target.closest(".menu-item-has-children > a"),r=e.target.closest(".menu-item-has-children > .wd-nav-opener"),c=e.target.closest(".mobile-nav"),u="arrow";if(this.classList.contains("wd-opener-item")&&(u="item"),woodmartThemeModule.$document.trigger("wood-images-loaded"),l){if(e.preventDefault(),l.classList.contains("wd-active"))return;var m=l.dataset.menu,w=null!==c&&c.querySelector(".wd-active");w&&w.classList.remove("wd-active"),l.classList.add("wd-active"),null!==c&&(c.querySelectorAll(".wd-nav-mobile").forEach(function(e){e.classList.remove("wd-active")}),void 0!==m&&c.querySelectorAll(`.mobile-${m}-menu`).forEach(function(e){e.classList.add("wd-active")}))}if(i){if("item"===u&&(s||r)||"arrow"===u&&r){e.preventDefault(),o=("item"===u&&s||r).parentNode;var v=(n=Array.from(o.children)).find(function(e){return e.classList.contains("wd-nav-opener")}),h=n.filter(function(e){return"UL"===e.tagName||e.classList.contains("wd-sub-menu")});o.classList.contains("opener-page")?(o.classList.remove("opener-page"),0!==h.length&&h.forEach(function(e){woodmartThemeModule.slideUp(e,200)}),[".wd-dropdown-menu .container > ul",".wd-dropdown-menu > ul"].forEach(function(e){var t=o.querySelectorAll(e);0!==t.length&&t.forEach(function(e){woodmartThemeModule.slideUp(e,200)})}),void 0!==v&&v.classList.remove("wd-active")):(o.classList.add("opener-page"),0!==h.length&&h.forEach(function(e){woodmartThemeModule.slideDown(e,200)}),[".wd-dropdown-menu .container > ul",".wd-dropdown-menu > ul"].forEach(function(e){var t=o.querySelectorAll(e);0!==t.length&&t.forEach(function(e){woodmartThemeModule.slideDown(e,200)})}),void 0!==v&&v.classList.add("wd-active"))}}else if(d){var f,p,g=e.target.closest(".menu-item-has-children .wd-drilldown-back a"),b=e.target.closest(".menu-item-has-children .wd-drilldown-back .wd-nav-opener");if(("item"===u&&(s||r)||"arrow"===u&&r)&&(f=(o=("item"===u&&s||r).parentNode).closest("ul"),void 0!==(p=(n=Array.from(o.children)).find(function(e){return e.classList.contains("wd-sub-menu")||e.classList.contains("sub-sub-menu")})))){e.preventDefault(),o.setAttribute("aria-expanded",!0),f.classList.add("wd-drilldown-hide"),f.classList.remove("wd-drilldown-show"),p.classList.add("wd-drilldown-show"),p.setAttribute("aria-expanded",!1);var L=p.querySelector(".wd-drilldown-back a"),y=L.textContent;if(y=(y=y.replaceAll("\t","")).replaceAll("\n",""),o.classList.contains("item-level-0")){var M=null;if(null!==c&&(M=c.querySelector(".wd-nav-mob-tab li.wd-active .nav-link-text")),null!==M){var S=M.textContent;S=(S=S.replaceAll("\t","")).replaceAll("\n",""),!y.includes(S)&&S.length>0&&(L.textContent=woodmart_settings.mobile_navigation_drilldown_back_to.replace("%s",S))}else o.classList.contains("cat-item")?L.textContent=woodmart_settings.mobile_navigation_drilldown_back_to_categories:y.includes(woodmart_settings.mobile_navigation_drilldown_back_to_main_menu)||(L.textContent=woodmart_settings.mobile_navigation_drilldown_back_to_main_menu)}else{var _,q=f.closest("li").querySelector(".woodmart-nav-link");_=null!==q.querySelector(".nav-link-text")?q.querySelector(".nav-link-text").textContent:null!==q.querySelector("span")?q.querySelector("span").textContent:q.textContent,!y.includes(_)&&_.length>0&&(L.textContent=woodmart_settings.mobile_navigation_drilldown_back_to.replace("%s",_))}a&&(this.querySelector("ul.wd-active").style.height=`${p.offsetHeight}px`)}(g||b)&&(e.preventDefault(),f=(o=(g||b).closest(".menu-item")).closest("ul"),p=(n=Array.from(o.children)).find(function(e){return e.classList.contains("wd-sub-menu")||e.classList.contains("sub-sub-menu")}),o.setAttribute("aria-expanded",!1),o.classList.contains("item-level-0")||f.classList.add("wd-drilldown-show"),f.classList.remove("wd-drilldown-hide"),p.classList.remove("wd-drilldown-show"),p.setAttribute("aria-expanded",!0),a&&(o.classList.contains("item-level-0")?this.querySelector("ul.wd-active").style.height="":this.querySelector("ul.wd-active").style.height=`${f.offsetHeight}px`))}}})},woodmartThemeModule.mobileNavigationAddOpeners=function(e){e.forEach(function(e){if(!e.querySelector(":scope > .wd-nav-opener")&&!e.closest(".widget_nav_mega_menu")){var t=document.createElement("span");t.classList.add("wd-nav-opener"),e.appendChild(t)}})},woodmartThemeModule.mobileNavigationCloseSideWidgets=function(e){e&&e.forEach(function(e){e.addEventListener("click",function(e){e.preventDefault(),woodmartThemeModule.closeMobileNavigation()})})},woodmartThemeModule.openMobileNavigation=function(e){var t=document.querySelector(".wd-close-side");e&&(e.classList.add("wd-opened"),jQuery(e).trigger("wdOpenSide")),t&&t.classList.add("wd-close-side-opened"),woodmartThemeModule.$document.trigger("wood-images-loaded")},woodmartThemeModule.closeMobileNavigation=function(){var e=document.querySelector(".wd-header-mobile-nav.wd-opened"),t=document.querySelector(".mobile-nav.wd-opened"),o=document.querySelector(".wd-close-side.wd-close-side-opened"),n=document.querySelector(".mobile-nav .searchform input[type=text]");e&&e.classList.remove("wd-opened"),t&&(t.classList.remove("wd-opened"),jQuery(t).trigger("wdCloseSide")),t&&o&&o.classList.remove("wd-close-side-opened"),n&&n.blur()},woodmartThemeModule.mobileNavigation=function(){var e=document.querySelectorAll(".wd-side-hidden-nav .wd-nav-mobile .menu-item-has-children"),t=document.querySelectorAll(".wd-side-hidden-nav"),o=document.querySelector(".wd-close-side"),n=document.querySelectorAll(".mobile-nav .login-side-opener, .mobile-nav .close-side-widget");woodmartThemeModule.mobileNavigationAddOpeners(e),t.forEach(function(e){woodmartThemeModule.mobileNavigationClickAction(e)}),document.querySelectorAll(".wd-header-mobile-nav > a").forEach(function(e){e.addEventListener("click",openMobileNavEvent)}),o&&(o.addEventListener("click",function(e){e.preventDefault(),woodmartThemeModule.closeMobileNavigation()}),o.addEventListener("touchstart",function(e){e.preventDefault(),woodmartThemeModule.closeMobileNavigation()},{passive:!1})),woodmartThemeModule.$document.on("keyup",function(e){27===e.keyCode&&document.querySelector(".wd-side-hidden-nav").classList.contains("wd-opened")&&woodmartThemeModule.closeMobileNavigation()}),woodmartThemeModule.mobileNavigationCloseSideWidgets(n)},window.addEventListener("load",function(){woodmartThemeModule.mobileNavigation()}),window.addEventListener("wdUpdatedHeader",function(){woodmartThemeModule.mobileNavigation()}),window.addEventListener("wdHeaderBuilderCloneCreated",function(){var e=document.querySelector(".whb-clone .wd-header-mobile-nav > a");e&&e.addEventListener("click",openMobileNavEvent)});
(function(){
njtWhatsApp.ready(function(){
njtWhatsApp.createWidget(document.querySelector("#wa"),{
accounts: njt_wa.accounts,
timezone: njt_wa_global.timezone,
gdprStatus: njt_wa.gdprStatus,
defaultAvatar: njt_wa_global.defaultAvatarSVG,
options: njt_wa.options,
urlSettings: njt_wa_global.urlSettings
});
const wa_root_wrap=document.querySelector('#wa').closest('a')
if(wa_root_wrap&&!wa_root_wrap.getAttribute('href')) wa_root_wrap.href="#"
document.body.dispatchEvent(new CustomEvent('njt-whatsapp-popup-init', {bubbles: true, detail: {
accounts: njt_wa.accounts,
timezone: njt_wa_global.timezone,
gdprStatus: njt_wa.gdprStatus,
defaultAvatar: njt_wa_global.defaultAvatarSVG,
options: njt_wa.options,
urlSettings: njt_wa_global.urlSettings
}}))
});
})();