var breeze_prefetch={"local_url":"https:\/\/www.centreforchiropractic.ca","ignore_remote_prefetch":"1","ignore_list":["wp-admin","wp-login.php"]};
/*! Created by Cloudways 
 On 27-01-2025 */
var timer,ready=e=>{"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)};function search_for_banned_links(t,r){if(!t.length)return!1;var e=-1!==(r=r.startsWith("/")?r.substring(1):r).indexOf("/")?r.indexOf("/"):r.indexOf("?"),n=-1!==e?r.substring(0,e):r;for(let e=0;e<t.length;e++){const i=t[e];if("wp-admin"===i||"wp-login.php"===i){if(n===i)return!0}else if(r.includes(i)||i.includes(r))return!0}return!1}function breeze_ignore_special_links(e,t){var r=!0;return-1!==t.indexOf("add-to-cart=")&&(r=!1),r=void 0!==e.dataset.product_id&&void 0!==e.dataset.quantity&&void 0!==e.dataset.product_sku?!1:r}ready(()=>{var a=[];addEventListener("mouseover",function(r){var n,i;r.target instanceof HTMLAnchorElement&&(n=new URL(breeze_prefetch.local_url).host,(i=r.target.attributes.href?r.target.attributes.href.value:null)&&(-1===i.indexOf(n)&&(i=r.target.href),timer=setTimeout(function(){var e,t;"#"!==i&&(t=i.replace(breeze_prefetch.local_url,""),e=new URL(i).host,""!==i.trim()&&!1===a.includes(i)&&n===e&&!1===search_for_banned_links(breeze_prefetch.ignore_list,t)&&!0===breeze_ignore_special_links(r.target,i)&&(a.push(i.trim()),(t=document.createElement("link")).href=i,t.rel="prefetch",document.head.appendChild(t)))},150)))}),addEventListener("mouseout",function(e){clearTimeout(timer)})});window.eae={};window.renderIconHtml=function(view,elementor,sett,control_name,wClass='',index=''){var icon_class='';let imageHtml='';let lottie_data=[];let iconHtml='';if(sett[control_name+'_graphic_type']!='none'&&sett[control_name+'_graphic_type']!=''){icon_class+=' eae-gbl-icon eae-graphic-type-'+sett[control_name+'_graphic_type']+' elementor-animation-'+sett[control_name+'_hover_animation'];if(wClass!=''){icon_class+=' '+wClass}
icon_class+=' eae-graphic-view-'+sett[control_name+'_view'];if(sett[control_name+'_view']!='default'){icon_class+=' eae-graphic-shape-'+sett[control_name+'_shape']}
if(sett[control_name+'_graphic_type']=='lottie'){if((sett[control_name+'_lottie_animation_url']!='')||(sett[control_name+'_source_json'].url!='')){icon_class+=' eae-lottie-animation eae-lottie';lottie_data={'loop':(sett[control_name+'_lottie_animation_loop']==='yes')?!0:!1,'reverse':(sett[control_name+'_lottie_animation_reverse']==='yes')?!0:!1,}
if(sett[control_name+'_source']=='media_file'&&(sett[control_name+'_source_json'].url!='')){lottie_data.url=sett[control_name+'_source_json'].url}else{lottie_data.url=sett[control_name+'_lottie_animation_url']}
view.addRenderAttribute('panel-icon-'+index,'data-lottie-settings',JSON.stringify(lottie_data))}}
view.addRenderAttribute('panel-icon-'+index,'class',icon_class);if(sett[control_name+'_graphic_type']=='lottie'){if(lottie_data.url!=undefined){iconHtml=`<span ${view.getRenderAttributeString( 'panel-icon-'+ index )}></span>`}}else{if(sett[control_name+'_graphic_type']==='icon'){if(sett[control_name+'_graphic_icon'].value!=''){var icon=elementor.helpers.renderIcon(view,sett[control_name+'_graphic_icon'],{'aria-hidden':!0},'i','object');imageHtml=icon.value;iconHtml=`<span ${ view.getRenderAttributeString( 'panel-icon-'+ index ) }>
                                ${imageHtml}
                                </span>`}}else{if(sett[control_name+'_graphic_image'].url!=''){var image={id:sett[control_name+'_graphic_image'].id,url:sett[control_name+'_graphic_image'].url,size:sett[control_name+'_graphic_image_size'],dimension:sett[control_name+'_graphic_image_custom_dimension'],model:view.getEditModel()};var image_url=elementor.imagesManager.getImageUrl(image);imageHtml='<img src="'+image_url+'" />';iconHtml=`<span ${ view.getRenderAttributeString( 'panel-icon-'+ index ) }>
                                    ${imageHtml}
                                </span>`}}}}
return iconHtml}
window.eae.validateHTMLTag=function($tag,$collection=null,$fallback=null){if($collection==null){$collection=['h1','h2','h3','h4','h5','h6','p','span','div']}
if($fallback==null){$fallback='h3'}
if($collection.includes($tag)){return $tag}else{return $fallback}};
/*! @license DOMPurify 3.1.6 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.6/LICENSE */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function C(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const L=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),D=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),v=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),O=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),M=i(["#text"]),I=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),F=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),H=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),$=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var K=Object.freeze({__proto__:null,MUSTACHE_EXPR:H,ERB_EXPR:z,TMPLIT_EXPR:B,DATA_ATTR:W,ARIA_ATTR:G,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,ATTR_WHITESPACE:X,DOCTYPE_NAME:q,CUSTOM_ELEMENT:$});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.1.6",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:H,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=C(j,"cloneNode"),$=C(j,"remove"),ne=C(j,"nextSibling"),oe=C(j,"childNodes"),re=C(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=K;let{IS_ALLOWED_URI:Ae}=K,Ne=null;const be=S({},[...L,...D,...v,...x,...M]);let Se=null;const Re=S({},[...I,...U,...P,...F]);let we=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ce=null,Le=null,De=!0,ve=!0,Oe=!1,xe=!0,ke=!1,Me=!0,Ie=!1,Ue=!1,Pe=!1,Fe=!1,He=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let $e=null;const Ke=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=null;const at=["application/xhtml+xml","text/html"];let lt=null,ct=null;const st=r.createElement("form"),ut=function(e){return e instanceof RegExp||e instanceof Function},mt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!ct||ct!==e){if(e&&"object"==typeof e||(e={}),e=w(e),it=-1===at.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,lt="application/xhtml+xml"===it?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,lt):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,lt):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),e.ADD_URI_SAFE_ATTR,lt):Ze,$e=E(e,"ADD_DATA_URI_TAGS")?S(w(Ke),e.ADD_DATA_URI_TAGS,lt):Ke,Xe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,lt):qe,Ce=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,lt):{},Le=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,lt):{},je=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,De=!1!==e.ALLOW_ARIA_ATTR,ve=!1!==e.ALLOW_DATA_ATTR,Oe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Me=!1!==e.SAFE_FOR_XML,Ie=e.WHOLE_DOCUMENT||!1,Fe=e.RETURN_DOM||!1,He=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,tt=e.NAMESPACE||et,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ut(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(ve=!1),He&&(Fe=!0),je&&(Ne=S({},M),Se=[],!0===je.html&&(S(Ne,L),S(Se,I)),!0===je.svg&&(S(Ne,D),S(Se,U),S(Se,F)),!0===je.svgFilters&&(S(Ne,v),S(Se,U),S(Se,F)),!0===je.mathMl&&(S(Ne,x),S(Se,P),S(Se,F))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,lt)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,lt)),e.ADD_URI_SAFE_ATTR&&S(Ve,e.ADD_URI_SAFE_ATTR,lt),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,e.FORBID_CONTENTS,lt)),Ge&&(Ne["#text"]=!0),Ie&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Ce.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),ct=e}},pt=S({},["mi","mo","mn","ms","mtext"]),ft=S({},["foreignobject","annotation-xml"]),dt=S({},["title","style","font","a","script"]),ht=S({},[...D,...v,...O]),gt=S({},[...x,...k]),Tt=function(e){p(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){$(e)}},yt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(Fe||He)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===it&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,it)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Ie?"html":"body")[0]:Ie?t.documentElement:i},_t=function(e){return ce.call(e.ownerDocument||e,e,H.SHOW_ELEMENT|H.SHOW_COMMENT|H.SHOW_TEXT|H.SHOW_PROCESSING_INSTRUCTION|H.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof b&&e instanceof b},bt=function(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,ct)}))},St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=lt(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return Tt(e),!0;if(e.nodeType===J)return Tt(e),!0;if(Me&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return Tt(e),!0;if(!Ne[n]||Ce[n]){if(!Ce[n]&&wt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||pt[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&ft[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!ft[o])&&!(t.namespaceURI===Je&&!pt[o])&&!gt[n]&&(dt[n]||!ht[n]):!("application/xhtml+xml"!==it||!ot[e.namespaceURI]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in st))return!1;if(ve&&!Le[t]&&_(ge,t));else if(De&&_(Te,t));else if(!Se[t]||Le[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!$e[e]){if(Oe&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Ct=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=lt(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,n),p=n.attrValue,Me&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(n.forceKeepAttr)continue;if(yt(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=lt(e.nodeName);if(Rt(f,s,p)){if(!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),At(e)?Tt(e):m(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},Lt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof s&&e(n.content),Ct(n));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||mt(t),o.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=lt(e.nodeName);if(!Ne[t]||Ce[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Fe&&!ke&&!Ie&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Et(e),!n)return Fe?null:ze?ae:""}n&&Pe&&Tt(n.firstChild);const c=_t(Ye?e:n);for(;i=c.nextNode();)St(i)||(i.content instanceof s&&Lt(i.content),Ct(i));if(Ye)return e;if(Fe){if(He)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Ie?n.outerHTML:n.innerHTML;return Ie&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){mt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){ct=null,Ue=!1},o.isValidAttribute=function(e,t,n){ct||mt({});const o=lt(e),r=lt(t);return Rt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return ne}));
;var sc_project=9388951;var sc_invisible=1;var sc_security="05a3a58f";!function(c,h,i,m,p){m=c.createElement(h),p=c.getElementsByTagName(h)[0],m.async=1,m.src=i,p.parentNode.insertBefore(m,p)}(document,"script","https://chimpstatic.com/mcjs-connected/js/users/634be4eca07025bc4ef9fd48c/811c1d925130c0ef6c7835211....");document.getElementById("ak_js_1").setAttribute("value",(new Date()).getTime());(function($,w){'use strict';let $window=$(w);$(document).ready(function(){let isEnable="";let isEnableLazyMove="";let speed=isEnableLazyMove?'0.7':'0.2';if(!isEnable){return}
if(typeof haCursor=='undefined'||haCursor==null){initiateHaCursorObject(speed)}
setTimeout(function(){let targetCursor=$('.ha-cursor');if(targetCursor){if(!isEnable){$('body').removeClass('hm-init-default-cursor-none');$('.ha-cursor').addClass('ha-init-hide')}else{$('body').addClass('hm-init-default-cursor-none');$('.ha-cursor').removeClass('ha-init-hide')}}},500)})}(jQuery,window));const lazyloadRunObserver=()=>{const lazyloadBackgrounds=document.querySelectorAll(`.e-con.e-parent:not(.e-lazyloaded)`);const lazyloadBackgroundObserver=new IntersectionObserver((entries)=>{entries.forEach((entry)=>{if(entry.isIntersecting){let lazyloadBackground=entry.target;if(lazyloadBackground){lazyloadBackground.classList.add('e-lazyloaded')}
lazyloadBackgroundObserver.unobserve(entry.target)}})},{rootMargin:'200px 0px 200px 0px'});lazyloadBackgrounds.forEach((lazyloadBackground)=>{lazyloadBackgroundObserver.observe(lazyloadBackground)})};const events=['DOMContentLoaded','elementor/lazyload/observe',];events.forEach((event)=>{document.addEventListener(event,lazyloadRunObserver)});var astra={"break_point":"921","isRtl":"","is_scroll_to_id":"","is_scroll_to_top":"","is_header_footer_builder_active":"","responsive_cart_click":"flyout","palette_key":""};
var astraGetParents=function(e,t){Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),a=t.length;0<=--a&&t.item(a)!==this;);return-1<a});for(var a=[];e&&e!==document;e=e.parentNode)t&&!e.matches(t)||a.push(e);return a},getParents=function(e,t){console.warn("getParents() function has been deprecated since version 2.5.0 or above of Astra Theme and will be removed in the future. Use astraGetParents() instead."),astraGetParents(e,t)},astraToggleClass=function(e,t){e.classList.contains(t)?e.classList.remove(t):e.classList.add(t)},toggleClass=function(e,t){console.warn("toggleClass() function has been deprecated since version 2.5.0 or above of Astra Theme and will be removed in the future. Use astraToggleClass() instead."),astraToggleClass(e,t)},astraTriggerEvent=((()=>{function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var a=document.createEvent("CustomEvent");return a.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),a}"function"!=typeof window.CustomEvent&&(e.prototype=window.Event.prototype,window.CustomEvent=e)})(),function(e,t){t=new CustomEvent(t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:{}),e.dispatchEvent(t)});astraSmoothScroll=function(e,t){e.preventDefault(),window.scrollTo({top:t,left:0,behavior:"smooth"})},astScrollToTopHandler=function(e,t){var a=getComputedStyle(t).content,n=t.dataset.onDevices,a=a.replace(/[^0-9]/g,"");"both"==n||"desktop"==n&&"769"==a||"mobile"==n&&""==a?(n=window.pageYOffset||document.body.scrollTop,e&&e.length?n>e.offsetHeight+100?t.style.display="block":t.style.display="none":300<window.pageYOffset?t.style.display="block":t.style.display="none"):t.style.display="none"},(()=>{for(var e,t,a,n,s,r=document.querySelectorAll(".main-header-menu-toggle"),o={},l=function(){var e=document.querySelector("body").style.overflow,t=(document.querySelector("body").style.overflow="hidden",window.innerWidth),a=(document.querySelector("body").style.overflow=e,astra.break_point),n=document.querySelectorAll(".main-header-bar-wrap");if(0<n.length)for(var s=0;s<n.length;s++)"DIV"==n[s].tagName&&n[s].classList.contains("main-header-bar-wrap")&&(a<t?(null!=r[s]&&r[s].classList.remove("toggled"),document.body.classList.remove("ast-header-break-point"),document.body.classList.add("ast-desktop"),astraTriggerEvent(document.body,"astra-header-responsive-enabled")):(document.body.classList.add("ast-header-break-point"),document.body.classList.remove("ast-desktop"),astraTriggerEvent(document.body,"astra-header-responsive-disabled")))},i=(l(),AstraToggleSubMenu=function(){for(var e,t=this.parentNode,a=(t.classList.contains("ast-submenu-expanded")&&document.querySelector("header.site-header").classList.contains("ast-menu-toggle-link")&&(this.classList.contains("ast-menu-toggle")||""===(e=t.querySelector("a").getAttribute("href"))&&"#"===e||(window.location=e)),t.querySelectorAll(".menu-item-has-children")),n=0;n<a.length;n++){a[n].classList.remove("ast-submenu-expanded");var s=a[n].querySelector(".sub-menu, .children");null!==s&&(s.style.display="none")}for(var o=t.parentNode.querySelectorAll(".menu-item-has-children"),n=0;n<o.length;n++)if(o[n]!=t){o[n].classList.remove("ast-submenu-expanded");for(var r=o[n].querySelectorAll(".sub-menu"),l=0;l<r.length;l++)r[l].style.display="none"}t.classList.contains("menu-item-has-children")&&(astraToggleClass(t,"ast-submenu-expanded"),t.classList.contains("ast-submenu-expanded")?t.querySelector(".sub-menu").style.display="block":t.querySelector(".sub-menu").style.display="none")},AstraNavigationMenu=function(e){console.warn("AstraNavigationMenu() function has been deprecated since version 1.6.5 or above of Astra Theme and will be removed in the future.")},AstraToggleMenu=function(e){if(console.warn("AstraToggleMenu() function has been deprecated since version 1.6.5 or above of Astra Theme and will be removed in the future. Use AstraToggleSubMenu() instead."),0<e.length)for(var t=0;t<e.length;t++)e[t].removeEventListener("click",AstraToggleSubMenu),e[t].addEventListener("click",AstraToggleSubMenu,!1)},AstraToggleSetup=function(){var e=document.querySelectorAll(".main-header-bar-navigation");if(0<r.length)for(var t,a=0;a<r.length;a++)if(r[a].setAttribute("data-index",a),o[a]||(o[a]=r[a],r[a].removeEventListener("click",astraNavMenuToggle),r[a].addEventListener("click",astraNavMenuToggle,!1)),void 0!==e[a]&&0<(t=document.querySelector("header.site-header").classList.contains("ast-menu-toggle-link")?e[a].querySelectorAll(".ast-header-break-point .main-header-menu .menu-item-has-children > .menu-link, .ast-header-break-point ul.main-header-menu .ast-menu-toggle"):e[a].querySelectorAll("ul.main-header-menu .ast-menu-toggle")).length)for(var n=0;n<t.length;n++)t[n].removeEventListener("click",AstraToggleSubMenu),t[n].addEventListener("click",AstraToggleSubMenu,!1)},astraNavMenuToggle=function(e){e.preventDefault();var e=document.querySelectorAll(".main-header-bar-navigation"),t=this.getAttribute("data-index");if(void 0===e[t])return!1;for(var a=e[t].querySelectorAll(".menu-item-has-children"),n=0;n<a.length;n++){a[n].classList.remove("ast-submenu-expanded");for(var s=a[n].querySelectorAll(".sub-menu"),o=0;o<s.length;o++)s[o].style.display="none"}-1!==(this.getAttribute("class")||"").indexOf("main-header-menu-toggle")&&(astraToggleClass(e[t],"toggle-on"),astraToggleClass(r[t],"toggled"),e[t].classList.contains("toggle-on")?(e[t].style.display="block",document.body.classList.add("ast-main-header-nav-open")):(e[t].style.display="",document.body.classList.remove("ast-main-header-nav-open")))},document.body.addEventListener("astra-header-responsive-enabled",function(){var e=document.querySelectorAll(".main-header-bar-navigation");if(0<e.length)for(var t=0;t<e.length;t++){null!=e[t]&&(e[t].classList.remove("toggle-on"),e[t].style.display="");for(var a=e[t].getElementsByClassName("sub-menu"),n=0;n<a.length;n++)a[n].style.display="";for(var s=e[t].getElementsByClassName("children"),o=0;o<s.length;o++)s[o].style.display="";for(var r=e[t].getElementsByClassName("ast-search-menu-icon"),l=0;l<r.length;l++)r[l].classList.remove("ast-dropdown-active"),r[l].style.display=""}},!1),window.addEventListener("resize",function(){"INPUT"!==document.activeElement.tagName&&(l(),AstraToggleSetup())}),document.addEventListener("DOMContentLoaded",function(){var e,t;for(AstraToggleSetup(),e=document.querySelectorAll(".navigation-accessibility"),t=0;t<=e.length-1;t++)e[t]&&(e=>{if(e){var t=e.getElementsByTagName("button")[0];if(void 0!==t||void 0!==(t=e.getElementsByTagName("a")[0])){var a=e.getElementsByTagName("ul")[0];if(void 0===a)t.style.display="none";else{a.setAttribute("aria-expanded","false"),-1===a.className.indexOf("nav-menu")&&(a.className+=" nav-menu"),t.onclick=function(){-1!==e.className.indexOf("toggled")?(e.className=e.className.replace(" toggled",""),t.setAttribute("aria-expanded","false"),a.setAttribute("aria-expanded","false")):(e.className+=" toggled",t.setAttribute("aria-expanded","true"),a.setAttribute("aria-expanded","true"))};for(var n=a.getElementsByTagName("a"),s=a.getElementsByTagName("ul"),o=0,r=s.length;o<r;o++)s[o].parentNode.setAttribute("aria-haspopup","true");for(o=0,r=n.length;o<r;o++)n[o].addEventListener("focus",m,!0),n[o].addEventListener("blur",g,!0),n[o].addEventListener("click",d,!0)}}}})(e[t])}),t=(e=navigator.userAgent).match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[],/trident/i.test(t[1])?h=/\brv[ :]+(\d+)/g.exec(e)||[]:"Chrome"===t[1]&&null!=(h=e.match(/\bOPR|Edge\/(\d+)/))||(t=t[2]?[t[1],t[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(h=e.match(/version\/(\d+)/i))&&t.splice(1,1,h[1]),e=document.body,"Safari"===t[0]&&t[1]<11&&e.classList.add("ast-safari-browser-less-than-11")),document.getElementsByClassName("astra-search-icon")),c=0;c<i.length;c++)i[c].onclick=function(e){var t;this.classList.contains("slide-search")&&(e.preventDefault(),(t=this.parentNode.parentNode.parentNode.querySelector(".ast-search-menu-icon")).classList.contains("ast-dropdown-active")?(""!==(t.querySelector(".search-field").value||"")&&t.querySelector(".search-form").submit(),t.classList.remove("ast-dropdown-active")):(t.classList.add("ast-dropdown-active"),t.querySelector(".search-field").setAttribute("autocomplete","off"),setTimeout(function(){t.querySelector(".search-field").focus()},200)))};function d(){var e=this||"";if(e&&!e.classList.contains("astra-search-icon")&&-1!==String(e).indexOf("#")){var t=e.parentNode;if(!document.body.classList.contains("ast-header-break-point")||document.querySelector("header.site-header").classList.contains("ast-menu-toggle-link")&&t.classList.contains("menu-item-has-children"))for(;-1===e.className.indexOf("nav-menu");)"li"===e.tagName.toLowerCase()&&-1!==e.className.indexOf("focus")&&(e.className=e.className.replace(" focus","")),e=e.parentElement;else{document.querySelector(".main-header-menu-toggle").classList.remove("toggled");(t=document.querySelector(".main-header-bar-navigation")).classList.remove("toggle-on"),t.style.display="none";var t=document.querySelector(".menu-below-header-toggle"),a=document.querySelector(".ast-below-header"),n=document.querySelector(".ast-below-header-actual-nav"),t=(t&&a&&n&&(t.classList.remove("toggled"),a.classList.remove("toggle-on"),n.style.display="none"),document.querySelector(".menu-above-header-toggle")),a=document.querySelector(".ast-above-header"),n=document.querySelector(".ast-above-header-navigation");t&&a&&n&&(t.classList.remove("toggled"),a.classList.remove("toggle-on"),n.style.display="none"),astraTriggerEvent(document.querySelector("body"),"astraMenuHashLinkClicked")}}}function u(e,t){for(;-1===e.className.indexOf(t);)"li"===e.tagName.toLowerCase()&&(e.classList.contains("focus")?e.classList.remove("focus"):e.classList.add("focus")),e=e.parentElement}function m(){u(this,"nav-menu")}function g(){var e=this||"";String(e).includes("#")&&document.body.classList.contains("ast-mouse-clicked")||u(e,"nav-menu")}if(document.querySelectorAll(".search-field").forEach(e=>{e.addEventListener("focus",function(e){var t=this.parentNode.parentNode.parentNode.querySelector(".ast-search-menu-icon");astraToggleClass(t,"ast-dropdown-active")}),e.addEventListener("blur",function(e){var t=this.parentNode.parentNode.parentNode.querySelector(".ast-search-menu-icon");t.classList.remove("ast-dropdown-active"),astraToggleClass(t,"ast-dropdown-active")})}),document.body.onclick=function(e){if(void 0!==e.target.classList&&!e.target.classList.contains("ast-search-menu-icon")&&0===astraGetParents(e.target,".ast-search-menu-icon").length&&0===astraGetParents(e.target,".ast-search-icon").length)for(var t=document.getElementsByClassName("ast-search-menu-icon"),a=0;a<t.length;a++)t[a].classList.remove("ast-dropdown-active")},"querySelector"in document&&"addEventListener"in window&&((a=document.body).addEventListener("mousedown",function(){a.classList.add("ast-mouse-clicked")}),a.addEventListener("keydown",function(){a.classList.remove("ast-mouse-clicked")})),astra.is_scroll_to_id){let s=e=>{let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t},e=e=>{let t=0;var a=document.querySelector(".site-header");a&&(0<(a=a.querySelectorAll("div[data-stick-support]")).length?a.forEach(e=>t+=e.clientHeight):"undefined"==typeof astraAddon||Number(astraAddon.sticky_hide_on_scroll)||(a=document.querySelector("#ast-fixed-header"))&&(t=a?.clientHeight,Number(astraAddon?.header_main_shrink))&&(a?.querySelectorAll(".ast-above-header-wrap, .ast-below-header-wrap"))?.forEach(()=>t-=10),a=e.target.closest("a").hash)&&(a=(a=document.querySelector(a))&&s(a)-t)&&astraSmoothScroll(e,a)},t=[];var h=document.querySelectorAll('a[href*="#"]:not([href="#"]):not([href="#0"]):not([href*="uagb-tab"]):not(.uagb-toc-link__trigger):not(.skip-link):not(.nav-links a):not([href*="tab-"])');if(h)for(var v of h)v.href.split("#")[0]!==location.href.split("#")[0]?t.push({hash:v.hash,url:v.href.split("#")[0]}):""!==v.hash&&v.addEventListener("click",e);window.addEventListener("DOMContentLoaded",e=>{for(var a of t)if(window.location.href.split("#")[0]===a.url){var n=document.querySelector(".site-header");let t=0;(n=n.querySelectorAll("div[data-stick-support]"))&&n.forEach(e=>{t+=e.clientHeight}),(n=document.querySelector(a.hash))&&(a=s(n)-t)&&astraSmoothScroll(e,a)}})}astra.is_scroll_to_top&&(n=document.querySelector("#page header"),s=document.getElementById("ast-scroll-top"),astScrollToTopHandler(n,s),window.addEventListener("scroll",function(){astScrollToTopHandler(n,s)}),s.onclick=function(e){astraSmoothScroll(e,0)})})();var eae={"ajaxurl":"https:\/\/www.centreforchiropractic.ca\/wp-admin\/admin-ajax.php","current_url":"aHR0cHM6Ly93d3cuY2VudHJlZm9yY2hpcm9wcmFjdGljLmNhL2dldC10by1rbm93LXlvdXItY2Ev","nonce":"a932c71497","plugin_url":"https:\/\/www.centreforchiropractic.ca\/wp-content\/plugins\/addon-elements-for-elementor-page-builder\/"};var eae_editor={"plugin_url":"https:\/\/www.centreforchiropractic.ca\/wp-content\/plugins\/addon-elements-for-elementor-page-builder\/"};
jQuery(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/wts-gmap.default",(function(e){var t=e.find(".eae-markers");0!=t.length&&(map=function(a){var n=(t=e.find(".eae-markers")).data("zoom"),i=a.find(".marker"),r=t.data("style"),o=(t.data("scroll"),{zoom:n,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,styles:r}),s=new google.maps.Map(a[0],o);return s.markers=[],i.each((function(){!function(a,n){var i=t.data("animate");t.data("show-info-window-onload");t=e.find(".eae-markers");var r=new google.maps.LatLng(a.attr("data-lat"),a.attr("data-lng"));if(icon_img=a.attr("data-icon"),""!=icon_img)var o={url:a.attr("data-icon"),scaledSize:new google.maps.Size(a.attr("data-icon-size"),a.attr("data-icon-size"))};var s=new google.maps.Marker({position:r,map:n,icon:o,animation:google.maps.Animation.DROP});"animate-yes"==i&&"yes"!=a.data("info-window")&&s.setAnimation(google.maps.Animation.BOUNCE);"animate-yes"==i&&google.maps.event.addListener(s,"click",(function(){s.setAnimation(null)}));if(n.markers.push(s),a.html()){var l=new google.maps.InfoWindow({content:a.html()});"yes"==a.data("info-window")&&l.open(n,s),google.maps.event.addListener(s,"click",(function(){l.open(n,s)}))}"animate-yes"==i&&google.maps.event.addListener(l,"closeclick",(function(){s.setAnimation(google.maps.Animation.BOUNCE)}))}(jQuery(this),s)})),function(e,t){var a=new google.maps.LatLngBounds;jQuery.each(e.markers,(function(e,t){var n=new google.maps.LatLng(t.position.lat(),t.position.lng());a.extend(n)})),1==e.markers.length?(e.setCenter(a.getCenter()),e.setZoom(t)):e.fitBounds(a)}(s,n),s}(e.find(".eae-markers")))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e){var t,a,n,i,r,o,s,l=[],d=[],c=e.children(".eae-section-bs").children(".eae-section-bs-inner");c&&c.data("eae-bg-slider")&&(slider_images=c.data("eae-bg-slider"),t=c.data("eae-bg-slider-transition"),a=c.data("eae-bg-slider-animation"),i=("yes"==(n=c.data("eae-bg-custom-overlay"))||c.data("eae-bg-slider-overlay"),eae_editor.plugin_url+"assets/lib/vegas/overlays/"+c.data("eae-bg-slider-overlay")),r=c.data("eae-bg-slider-cover"),o=c.data("eae-bs-slider-delay"),s=c.data("eae-bs-slider-timer"),"undefined"!=typeof slider_images&&(l=slider_images.split(","),jQuery.each(l,(function(e,t){var a=[];a.src=t,d.push(a)})),c.vegas({slides:d,transition:t,animation:a,overlay:i,cover:r,delay:o,timer:s,init:function(){"yes"==n&&c.children(".vegas-overlay").css("background-image","")}})))}))}));var isEditMode=!1,popupInstance=[];!function(e){e(window).on("elementor/frontend/init",(function(){var t=function(e){e.find(".e-con").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})),e.find(".elementor-section").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})),e.find(".elementor-column").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})),e.find(".elementor-widget").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}))},a=function(e,t){function a(e){$icons=t(document).find(e).find(".eae-ic-icon-wrap"),window.innerWidth<767?$icons.each((function(e,a){t(a).css("top",t(a).height()/2+8+"px"),t(a).next(".eae-info-circle-item__content-wrap").css("padding-top",t(a).height()/2+8+"px")})):$icons.each((function(e,a){t(a).css("margin-left",-.5*t(a).outerWidth()),t(a).css("margin-top",-.5*t(a).outerHeight()),$a=function(e){return e=(e-90)*Math.PI/180,{x:50+45*Math.cos(e),y:50+45*Math.sin(e)}}($angle),$b=360/$icons.length,t(a).css("left",$a.x+"%"),t(a).css("top",$a.y+"%"),$angle+=$b}))}$wrap_class=".elementor-element-"+e.data("id"),$angle=0,a(e);var n=null;function i(){"yes"==e.find(".eae-info-circle").data("autoplay")&&(n=setInterval(r,$autoplayDuration))}function r(){e.find(".eae-active").next().length>0?e.find(".eae-active").next().addClass("eae-active").siblings().removeClass("eae-active"):e.find(".eae-info-circle-item").eq(0).addClass("eae-active").siblings().removeClass("eae-active")}$autoplayDuration=e.find(".eae-info-circle").data("delay"),i(),e.find(".eae-ic-icon-wrap").hover((function(){clearInterval(n)}),(function(){i()})),e.find(".eae-info-circle-item").length>0&&t(e.find(".eae-info-circle-item")[0]).addClass("eae-active"),e.find(".eae-ic-icon-wrap").on("click",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),t(this).parent().addClass("eae-active")})),e.hasClass("eae-mouseenter-yes")&&e.find(".eae-ic-icon-wrap").on("mouseenter",(function(){e.find(".eae-info-circle-item").removeClass("eae-active"),t(this).parent().addClass("eae-active")})),window.addEventListener("resize",a.bind(this,$wrap_class))},n=function(e,t){const a=".elementor-element-"+e.data("id"),n=document.querySelector(a),i=n.querySelector(".eae-timeline"),r=i.dataset.topOffset,o=n.querySelectorAll(".eae-timeline-item"),s=n.querySelectorAll(".eae-tl-icon-wrapper"),l=n.querySelector(".eae-timline-progress-bar");n.querySelector(".eae-pb-inner-line"),s[s.length-1].getBoundingClientRect().bottom;function d(){const e=o[0].getBoundingClientRect(),t=(o[o.length-1].getBoundingClientRect(),s[0].getBoundingClientRect().bottom-e.top),a=s[0].getBoundingClientRect(),n=s[0].offsetLeft+s[0].offsetWidth/2,i=s[s.length-1].getBoundingClientRect();l.style.height=i.top-a.bottom+"px",l.style.top=t+"px",l.style.left=n+"px",l.style.display="block"}function c(){const e=n.querySelector(".eae-pb-inner-line"),t=Math.abs(window.scrollY+parseFloat(r)),a=i.getBoundingClientRect().top+window.scrollY;s[s.length-1].getBoundingClientRect().bottom,window.scrollY;t>a?(e.style.height=t-a+"px",o.forEach(((e,a)=>{let n=e.getBoundingClientRect().top+window.scrollY;t>n?e.classList.add("eae-tl-item-focused"):e.classList.remove("eae-tl-item-focused")}))):o[0].classList.remove("eae-tl-item-focused")}d(),c(),window.addEventListener("resize",(()=>{d()})),document.addEventListener("scroll",(()=>{window.requestAnimationFrame?window.requestAnimationFrame((()=>{c()})):c()}))};function i(e,t,a){var n=new Date;n.setTime(n.getTime()+60*a*60*1e3);var i="expires="+n.toUTCString();document.cookie=e+"="+t+";"+i+";path=/"}function r(e){for(var t=e+"=",a=decodeURIComponent(document.cookie).split(";"),n=0;n<a.length;n++){for(var i=a[n];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return""}var o=function(e,t){$is_rtl=jQuery("body").hasClass("rtl"),$wrapper=e.find(".eae-progress-bar");$wrapper.attr("data-skill");var a=$wrapper.attr("data-value"),n=$wrapper.attr("data-skin"),i=($wrapper.find(".eae-pb-bar-skill"),$wrapper.find(".eae-pb-bar-value")),r=$wrapper.find(".eae-pb-bar"),o=$wrapper.find(".eae-pb-bar-inner");"skin1"===n&&t(o).attr("style","width : "+a+"%"),"skin2"===n&&t(o).attr("style","width : "+a+"%"),"skin3"===n&&(t(i).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?t(i).attr("style","right :"+a+"%"):t(i).attr("style","left :"+a+"%"),t(o).attr("style","width :"+a+"%")),"skin4"===n&&(t(i).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?t(i).attr("style","right :"+a+"%"):t(i).attr("style","left :"+a+"%"),t(o).attr("style","width :"+a+"%"),t(r).addClass("eae-pb-bar--no-overflow")),"skin5"===n&&(t(i).addClass("eae-pb-bar-value--aligned-value"),$is_rtl?t(i).attr("style","right :"+a+"%"):t(i).attr("style","left :"+a+"%"),t(o).attr("style","width :"+a+"%")),$wrapper.each((function(e,t){let a=window.scrollY;const n=new IntersectionObserver((e=>{e.forEach((e=>{const t=window.scrollY;if(e.isIntersecting){let t=e.target.querySelector(".eae-pb-bar-value"),a=e.target.querySelector(".eae-pb-bar-skill"),n=e.target.querySelector(".eae-pb-bar-inner");null==t||t.classList.contains("js-animated")||t.classList.add("js-animated"),null==a||a.classList.contains("js-animated")||a.classList.add("js-animated"),null==n||n.classList.contains("js-animated")||n.classList.add("js-animated")}else e.isIntersecting||e.target.classList.remove("animate");a=t}))}),{root:null,rootMargin:"0px 0px -100px 0px",threshold:0});n.observe(t)}))},s=function(e,t){var a=e.find(".eae-content-switcher-wrapper"),n=(e.data("id"),a.find(".eae-content-switch-button"));n.each((function(e,i){t(this).on("click",(function(e){e.preventDefault();let i=t(this).find(".eae-content-switch-label");if(!t(this).hasClass("active")){t(n).removeClass("active");let e=t(i).attr("id");t(this).addClass("active");var r=t(a).find(".eae-cs-content-section");t(r).removeClass("active");let o=t(a).find(".eae-content-section-"+e);t(o).addClass("active"),window.dispatchEvent(new Event("resize"))}}))}))},l=function(e,t){let a=e.find(".eae-content-switcher-wrapper"),n=(e.data("id"),a.find(".eae-cs-switch-label")),i=a.find(".eae-content-switch-label.primary-label");const r=t(i).attr("item_id");let o=a.find(".eae-content-switch-label.secondary-label");const s=t(o).attr("item_id");let l=a.find(".eae-cs-content-section.eae-content-section-"+r),d=a.find(".eae-cs-content-section.eae-content-section-"+s);t(n).on("click",(function(e){t(this).find("input.eae-content-toggle-switch").is(":checked")?(o.addClass("active"),d.addClass("active"),i.removeClass("active"),l.removeClass("active")):(i.addClass("active"),l.addClass("active"),o.removeClass("active"),d.removeClass("active")),window.dispatchEvent(new Event("resize"))}))};e.fn.EAEHoverDirection=function(t){var a=e.extend({inaccuracy:30,speed:200},t);this.find(".overlay").css({top:-9999999}),this.mouseenter((function(t){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=t.pageX-parentOffset.left,relY=t.pageY-parentOffset.top,overlay.css({top:0,left:0,width:container.width(),height:container.height()}),relX>container.width()-a.inaccuracy?overlay.css({top:0,left:container.width()}):relX<a.inaccuracy?overlay.css({top:0,left:-container.width()}):relY>container.height()-a.inaccuracy?overlay.css({top:container.width(),left:0}):relY<a.inaccuracy&&overlay.css({top:-container.width(),left:0}),overlay.animate({top:0,left:0},a.speed)})),this.mouseleave((function(t){container=e(this),overlay=container.find(".overlay"),parentOffset=container.offset(),relX=t.pageX-parentOffset.left,relY=t.pageY-parentOffset.top,relX<=0&&overlay.animate({top:0,left:-container.width()},a.speed),relX>=container.width()&&overlay.animate({top:0,left:container.width()},a.speed),relY<=0&&overlay.animate({left:0,top:-container.height()},a.speed),relY>=container.height()&&overlay.animate({left:0,top:container.height()},a.speed)}))};let d=function(e,t){const a=e.find(".eae-chart-outer-container"),n=".elementor-element-"+e.data("id"),i=document.querySelector(n+" .eae-chart-outer-container"),r=e.find("#eae-chart-canvas");let o=a.data("settings");e.find(".eae-chart-outer-container");new IntersectionObserver(((e,t)=>{e.forEach((e=>{const a=e.target;e.isIntersecting&&(a.classList.contains("trigger")||(a.classList.add("trigger"),new Chart(r,o)),t.unobserve(a))}))}),{root:null,threshold:.3}).observe(i)};const c=function(e,t,a=null,n){let i={},r=[],o=".elementor-element-"+t+" .eae-swiper-container",s=elementorFrontend.config.responsive.activeBreakpoints;const l={slidesPerView:"slidesPerView",slidesPerGroup:"slidesPerGroup",spaceBetween:"spaceBetween"},d=".elementor-element-"+t;if(null!==a){t=a.data("id");o=d+' .eae-swiper-container[data-eae-slider-id="'+a.find(".swiper-container").data("eae-slider-id")+'"]'}if("yes"===n.data("show-thumbnail")){i=function(e,t,a,n){let i={};const r={};if(e.hasOwnProperty("mobile"))for(const e in t)a.hasOwnProperty(e)&&(i[e]=a[e].mobile);return n&&Object.keys(n).map((e=>{const t=parseInt(n[e]);"desktop"===e&&(e="default");const i=parseInt(a.spaceBetween[e]),o=parseInt(a.slidesPerView[e]);r[t-1]={spaceBetween:i,slidesPerView:o}})),i.breakpoints=r,i.direction="horizontal",i.watchSlidesVisibility=!0,i.watchSlidesProgress=!0,i.freeMode=!0,i.slideToClickedSlide=!0,i}(s,l,n.data("thumb-settings"),e.breakpoints_value),i.el=jQuery(".elementor-element-"+t+" .eae-thumb-container")}if(void 0===e)return!1;if(r={direction:e.direction,speed:e.speed,autoHeight:e.autoHeight,autoplay:e.autoplay,effect:e.effect,loop:e.loop,zoom:e.zoom,wrapperClass:"eae-swiper-wrapper",slideClass:"eae-swiper-slide",observer:!0,observeParents:!0},s.hasOwnProperty("mobile"))for(const t in l)e.hasOwnProperty(t)&&(r[t]=e[t].mobile);e.loop&&e.hasOwnProperty("slidersPerView")&&document.querySelectorAll(d+" .eae-swiper-slide").length<e.slidesPerView.tablet&&(r.loop=!1);const c={};if(e.hasOwnProperty("breakpoints_value")&&Object.keys(e.breakpoints_value).map((t=>{const a=parseInt(e.breakpoints_value[t]);"desktop"===t&&(t="default");const n=parseInt(e.spaceBetween[t]),i=parseInt(e.slidesPerView[t]),r=parseInt(e.slidesPerGroup[t]);c[a-1]={spaceBetween:n,slidesPerView:i,slidesPerGroup:r}})),r.breakpoints=c,r.keyboard="yes"===e.keyboard&&{enabled:!0,onlyInViewport:!0},"yes"===e.navigation&&(r.navigation={nextEl:d+" .eae-swiper-button-next",prevEl:d+" .eae-swiper-button-prev"}),""!==e.ptype&&(r.pagination={el:d+" .eae-swiper-pagination",type:e.ptype,clickable:e.clickable}),"yes"==e.scrollbar&&(r.scrollbar={el:d+" .eae-swiper-scrollbar",hide:!0}),r.thumbs={swiper:i},"undefined"==typeof Swiper){new(0,elementorFrontend.utils.swiper)(jQuery(o),r).then((a=>{let n=a;p(n);const i=e.pause_on_hover;"yes"==i&&e.autoplay&&f(n,i,t)}))}else{const a=new Swiper(".elementor-element-"+t+" .eae-swiper-container",r);p(a);const n=e.pause_on_hover;"yes"==n&&f(a,n,t)}jQuery(".elementor-element-"+t+" .eae-swiper-container").css("visibility","visible")},p=function(e){e.length>0?e.forEach((function(t){t.on("slideChangeTransitionStart",(function(){t.$wrapperEl.find(".ae-featured-bg-yes").each((function(){if("none"==jQuery(this).css("background-image")){let e=jQuery(this).attr("data-ae-bg");jQuery(this).css("background-image","url("+e+")")}})),t.$wrapperEl.find(".ae-bg-color-yes").each((function(){let e=jQuery(this).attr("data-ae-bg-color");"rgba(0, 0, 0, 0)"===jQuery(this).css("background-color")&&jQuery(this).css("background-color",e)})),t.$wrapperEl.find(".swiper-slide-duplicate").find(".elementor-invisible").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})),t.$wrapperEl.find(".swiper-slide").find(".animated").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}))})),t.on("click",(function(){const t=e.clickedSlide;if(void 0===t)return;const a=t.querySelector(".ae-link-yes");if(null!==a&&0!=a.length){void 0!==jQuery(a).data("ae-url")&&(jQuery(a).data("ae-url")&&jQuery(a).hasClass("ae-new-window-yes")?window.open(jQuery(a).data("ae-url")):location.href=jQuery(a).data("ae-url"))}})),t.init()})):(e.on("slideChangeTransitionStart",(function(){e.$wrapperEl.find(".ae-featured-bg-yes").each((function(){if("none"==jQuery(this).css("background-image")){let e=jQuery(this).attr("data-ae-bg");jQuery(this).css("background-image","url("+e+")")}})),e.$wrapperEl.find(".ae-bg-color-yes").each((function(){let e=jQuery(this).attr("data-ae-bg-color");"rgba(0, 0, 0, 0)"===jQuery(this).css("background-color")&&jQuery(this).css("background-color",e)})),e.$wrapperEl.find(".swiper-slide-duplicate").find(".elementor-invisible").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))})),e.$wrapperEl.find(".swiper-slide").find(".animated").each((function(){elementorFrontend.elementsHandler.runReadyTrigger(jQuery(this))}))})),e.on("click",(function(){const t=e.clickedSlide;if(void 0===t)return;const a=t.querySelector(".ae-link-yes");if(null!==a&&0!=a.length){void 0!==jQuery(a).data("ae-url")&&(jQuery(a).data("ae-url")&&jQuery(a).hasClass("ae-new-window-yes")?window.open(jQuery(a).data("ae-url")):location.href=jQuery(a).data("ae-url"))}})),e.init())},f=function(e,t,a){jQuery(".elementor-element-"+a+" .eae-swiper-container").hover((function(){e.autoplay.stop()}),(function(){e.autoplay.start()}))};var u,m=elementorModules.frontend.handlers.Base;u=m.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),a=t.querySelector(".wts-eae-coupon-code-wrapper");return{eid:e,element:t,wrapper:a}},onInit:function(){const{settings:t}=this.getDefaultSettings(),{wrapper:a}=this.getDefaultElements(),{element:n}=this.getDefaultElements();var i=n.querySelector(".eae-cc-button"),r=n.querySelector(".eae-code");if(n.querySelectorAll(".wts-eae-coupon-code-wrapper").forEach((e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),a=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&a.setDirection(-1)}})),null!=i&&i.addEventListener("click",(function(){const e=r.getAttribute("data-code-value"),a=document.createElement("textarea");a.value=e,document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a);const n=i.innerHTML;let o;"scratch"==t.coupon_type||"peel"==t.coupon_type||"slide"==t.coupon_type?i.innerText=t.peel_after_copy_button:i.innerText=t.after_copy_button,o="standard"==t.coupon_type?t.sta_speed:t.peel_speed,setTimeout((function(){i.innerHTML=n}),o)})),"peel"==t.coupon_type&&""!=t.dynamic_coupon){var o=new Peel("#fade-out",{corner:Peel.Corners.TOP_RIGHT});o.setFadeThreshold(.9),o.handleDrag((function(e,t,a){this.setPeelPosition(t,a),1===o.getAmountClipped()&&o.removeEvents()})),o.setPeelPosition(440,100)}if("pop"==t.sta_layout&&""!=t.dynamic_coupon){const C=a.querySelector(".eae-coupon-popup-link"),x=n.getAttribute("data-id");"svg"==t.pop_icon.library?($close_btn_html="",$close_btn_html='<svg class="eae-close" style="-webkit-mask-image: url('+t.pop_icon.value.url+"); mask-image: url("+t.pop_icon.value.url+'); "></svg>'):$close_btn_html='<i class="eae-close '+t.pop_icon.value+'"> </i>',e(C).eaePopup({type:"inline",midClick:!0,mainClass:"eae-coupon-popup eae-popup  eae-cc-"+x,closeMarkup:$close_btn_html,closeBtnInside:"yes"==t.btn_in_out,callbacks:{beforeOpen:function(){""!=t.effect&&(this.st.mainClass=" eae-coupon-popup eae-popup  eae-cc-"+x+" mfp-"+t.effect)},open:function(){var e=C.getAttribute("data-id");const a=document.querySelector(".eae-coupon-popup-"+e);var n=a.querySelector(".eae-cc-button"),i=a.querySelector(".eae-code");const r=n.innerText;n.addEventListener("click",(function(){const e=i.getAttribute("data-code-value"),o=document.createElement("textarea");o.value=e,a.appendChild(o),o.select(),document.execCommand("copy"),a.removeChild(o),n.innerText=t.after_copy_button,setTimeout((function(){n.innerText=r}),t.sta_speed)}))}}}),"yes"==t.preview_modal&&elementorFrontend.isEditMode()&&C.click()}if("slide"==t.coupon_type&&""!=t.dynamic_coupon){var s=a.querySelector(".eae-slide-fr");if("yes"==t.preview_modal&&elementorFrontend.isEditMode())s.style.display="none";else{var l=0,d=0,c=0;function p(e){c=e.clientX-l,e.clientY-d,c>2||c<t.Peel_scratch_width||(s.style.left=c+"px")}s.addEventListener("mousedown",(function(e){e.preventDefault(),l=e.clientX-s.offsetLeft,d=e.clientY-s.offsetTop,window.addEventListener("mousemove",p,!1)}),!1),window.addEventListener("mouseup",(function(){window.removeEventListener("mousemove",p,!1)}),!1);const S=s;let T;S.addEventListener("touchstart",(e=>{const t=e.touches[0];T=t.clientX-S.getBoundingClientRect().left,S.style.cursor="grabbing"})),S.addEventListener("touchmove",(e=>{if(void 0===T)return;const a=e.touches[0].clientX-T;a>4||a<t.Peel_scratch_width||(S.style.left=a+"px")})),S.addEventListener("touchend",(()=>{T=void 0,S.style.cursor="grab"}))}}if("scratch"===t.coupon_type&&""!=t.dynamic_coupon)if("yes"==t.preview_modal&&elementorFrontend.isEditMode())a.querySelector("#eae-scratch-canvas").style.display="none";else{var f,u;canvas=a.querySelector("#eae-scratch-canvas");var m=canvas.width,g=canvas.height,h=canvas.getContext("2d"),v=new Image,w=new Image;if(null==t.item_bg_image&&null==t.item_bg_color&&null==t.item_bg_color_b&&(v.src=eae.plugin_url+"assets/img/coupon/scratch_img.png",v.onload=function(){h.drawImage(v,0,0,m,g)}),null!=t.item_bg_image)v.src=t.item_bg_image.url,v.onload=function(){h.drawImage(v,0,0,m,g)};else if(null==t.item_bg_color_b&&"classic"==t.item_bg_background&&null==t.item_bg_image){if(null!=t.item_bg_color){let E=h.createLinearGradient(0,0,135,135);E.addColorStop(0,t.item_bg_color),h.fillStyle=E,h.fillRect(0,0,m,g)}}else if(null!=t.item_bg_color_b&&null!=t.item_bg_color&&"gradient"==t.item_bg_background&&null==t.item_bg_image){let L=h.createLinearGradient(0,0,t.item_bg_color_stop.size,t.item_bg_color_b_stop.size);L.addColorStop(0,t.item_bg_color),L.addColorStop(1,t.item_bg_color_b),h.fillStyle=L,h.fillRect(0,0,m,g)}function y(e,t){var a=0,n=0;if(void 0!==t.offsetParent)do{a+=t.offsetLeft,n+=t.offsetTop}while(t=t.offsetParent);return{x:(e.pageX||e.touches[0].clientX)-a,y:(e.pageY||e.touches[0].clientY)-n}}function b(e){f=!0,u=y(e,canvas)}function _(e){if(f){e.preventDefault();for(var t,n,i,r,o,s=y(e,canvas),l=(i=u,r=s,Math.sqrt(Math.pow(r.x-i.x,2)+Math.pow(r.y-i.y,2))),d=function(e,t){return Math.atan2(t.x-e.x,t.y-e.y)}(u,s),c=0;c<l;c++)t=u.x+Math.sin(d)*c-25,n=u.y+Math.cos(d)*c-25,h.globalCompositeOperation="destination-out",h.drawImage(w,t,n);u=s,o=function(e){(!e||e<1)&&(e=1);for(var t=h.getImageData(0,0,m,g).data,a=t.length,n=a/e,i=0,r=i=0;r<a;r+=e)0===parseInt(t[r])&&i++;return Math.round(i/n*100)}(32),(o=o||0)>40&&(a.querySelector(".eae-back-wrapper").style.zIndex="1",a.querySelector(".eae-coupon-canvas").remove())}}function k(e){f=!1}w.src=eae.plugin_url+"assets/img/coupon/brush.png",canvas.addEventListener("mousedown",b,!1),canvas.addEventListener("touchstart",b,!1),canvas.addEventListener("mousemove",_,!1),canvas.addEventListener("touchmove",_,!1),canvas.addEventListener("mouseup",k,!1),canvas.addEventListener("touchend",k,!1)}},onElementChange:function(e){const{wrapper:t}=this.getDefaultElements(),{settings:a}=this.getDefaultSettings();if((""!=a.dynamic_coupon&&"dynamic"==a.source||"static"==a.source)&&"scratch"===a.coupon_type)var n=t.querySelector("#eae-scratch-canvas");if("item_bg_background"==e||"item_bg_color"==e||"item_bg_color_b"==e||"item_bg_color_stop"==e||"item_bg_color_b_stop"==e){var i=n.width,r=n.height,o=n.getContext("2d");if(null==a.item_bg_color_b&&"classic"==a.item_bg_background&&(o.fillStyle=a.item_bg_color,o.fillRect(0,0,i,r)),null!=a.item_bg_color_b&&"gradient"==a.item_bg_background){let e=o.createLinearGradient(0,0,a.item_bg_color_stop.size,a.item_bg_color_b_stop.size);e.addColorStop(0,a.item_bg_color),e.addColorStop(1,a.item_bg_color_b),o.fillStyle=e,o.fillRect(0,0,i,r)}}}});var g;m=elementorModules.frontend.handlers.Base;g=m.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),a=t.querySelector(".eae-dropbar-wrapper");return{eid:e,element:t,wrapper:a}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:a}=this.getDefaultElements(),n=t.querySelector(".eae-drop-content");if("hover"===e.content_mode){let a;t.addEventListener("mouseenter",(()=>{clearTimeout(a),a=setTimeout((()=>{t.classList.add("eae-active")}),e.show_delay.size),t.classList.add("eae-animation")})),t.addEventListener("mouseleave",(()=>{e.caption_animation_out||t.classList.remove("eae-animation"),a=setTimeout((()=>{t.classList.remove("eae-active")}),e.hide_delay.size)}))}"click"===e.content_mode&&t.addEventListener("click",(()=>{t.classList.toggle("eae-active"),t.classList.contains("eae-active")?t.classList.add("eae-animation"):e.caption_animation_out||t.classList.remove("eae-animation")})),function(t,a,n){const i=t.parentElement.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.parentElement,s=window.innerWidth,l={"bottom-left":()=>({top:e.off_set.size?`${o.offsetHeight+e.off_set.size}`:"unset",left:0}),"bottom-center":()=>({top:e.off_set.size?`${o.offsetHeight+e.off_set.size}`:"unset",left:(i.width-r.width)/2}),"bottom-right":()=>({top:e.off_set.size?`${o.offsetHeight+e.off_set.size}`:"unset",left:i.width-r.width}),"top-left":()=>({top:-(r.height+e.off_set.size),left:0}),"top-center":()=>({top:-(r.height+e.off_set.size),left:(i.width-r.width)/2}),"top-right":()=>({top:-(r.height+e.off_set.size),left:i.width-r.width}),"left-top":()=>({top:0,left:-(r.width+e.off_set.size)}),"left-center":()=>({top:(i.height-r.height)/2,left:-(r.width+e.off_set.size)}),"left-bottom":()=>({top:i.height-r.height,left:-(r.width+e.off_set.size)}),"right-top":()=>({top:0,left:i.width+e.off_set.size}),"right-center":()=>({top:(i.height-r.height)/2,left:i.width+e.off_set.size}),"right-bottom":()=>({top:i.height-r.height,left:i.width+e.off_set.size})};if(!l[a])return void console.error("Invalid position provided");let{top:d,left:c}=l[a]();d="string"==typeof d?parseFloat(d):d,c="string"==typeof c?parseFloat(c):c;const p=r.width,f=i.left+c,u=f+p;f<0?c=-i.left:u>s&&(c-=u-s),t.style.top=`${d}px`,t.style.left=`${c}px`;const m={"slide-left":()=>{t.style.clipPath="inset(0 100% 0 0)"},"slide-top":()=>{t.style.clipPath="inset(0 0 100% 0)"},"slide-bottom":()=>{t.style.clipPath="inset(100% 0 0 0)"},"slide-right":()=>{t.style.clipPath="inset(0 0 0 100%)"},"animation-fade":()=>{t.style.opacity="0"}};if(m[n]){if(m[n](),o){const a=e=>{const a={"slide-left":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(0 100% 0 0)","slide-top":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(0 0 100% 0)","slide-bottom":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(100% 0 0 0)","slide-right":()=>t.style.clipPath=e?"inset(0 0 0 0)":"inset(0 0 0 100%)","animation-fade":()=>t.style.opacity=e?"1":"0"};a[n]&&a[n]()};let i,r=!1;"hover"===e.content_mode?(o.addEventListener("mouseenter",(()=>{clearTimeout(i),a(!0)})),o.addEventListener("mouseleave",(()=>{i=setTimeout((()=>{a(!1)}),e.hide_delay.size)}))):o.addEventListener("click",(()=>{r=!r,a(r)}))}}else console.error("Invalid animation type provided")}(n,e.content_position,e.content_animation);var i=t.querySelector(".eae-lottie-animation");if(null!=i){let e=JSON.parse(i.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:i,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/wts-ab-image.default",(function(e,t){e.find(".eae-img-comp-container").imagesLoaded().done((function(){ab_style=e.find(".eae-img-comp-container").data("ab-style"),slider_pos=e.find(".eae-img-comp-container").data("slider-pos"),"horizontal"===ab_style?(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-right-width")),function(e){var t,a;function n(t){var n,i,r,o=0;function s(e){e.preventDefault(),o=1,window.addEventListener("mousemove",d),n.addEventListener("touchmove",c)}function l(){o=0}function d(e){var t;if(0==o)return!1;(t=f(e))<0&&(t=0),t>i&&(t=i),u(t)}function c(e){var t;if(0==o)return!1;(t=p(e))<0&&(t=0),t>i&&(t=i),u(t)}function p(e){var a;return a=t.getBoundingClientRect(),e.changedTouches[0].clientX-a.left}function f(e){var a;return e=e||window.event,a=t.getBoundingClientRect(),e.pageX-a.left}function u(e){t.style.width=e+"px",n.style.left=t.offsetWidth-n.offsetWidth/2-separator_width/2+"px"}i=t.offsetWidth,r=t.offsetHeight,t.style.width=a+"px",(n=(n=e.find(".eae-img-comp-slider"))[0]).style.top=r/2-n.offsetHeight/2+"px",n.style.left=a-n.offsetWidth/2-separator_width/2+"px",e.hasClass("elementor-element-edit-mode")||(n.addEventListener("mousedown",s),window.addEventListener("mouseup",l),n.addEventListener("touchstart",s),window.addEventListener("touchstop",l))}t=e.find(".eae-img-comp-overlay"),a=(a=t.width())*slider_pos/100,n(t[0])}(e)):(separator_width=parseInt(e.find(".eae-img-comp-overlay").css("border-bottom-width")),function(e){var t;function a(t){var a,n,i,r=0;function o(e){e.preventDefault(),r=1,window.addEventListener("mousemove",l),a.addEventListener("touchmove",c)}function s(){r=0}function l(e){var t;if(0==r)return!1;(t=d(e))<0&&(t=0),t>i&&(t=i),f(t)}function d(e){var a,n=0;return e=e||window.event,a=t.getBoundingClientRect(),n=e.pageY-a.top,n-=window.pageYOffset}function c(e){var t;if(0==r)return!1;(t=p(e))<0&&(t=0),t>i&&(t=i),f(t)}function p(e){var a;return a=t.getBoundingClientRect(),e.changedTouches[0].clientY-a.top}function f(e){t.style.height=e+"px",a.style.top=t.offsetHeight-a.offsetHeight/2-separator_width/2+"px"}n=t.offsetWidth,i=t.offsetHeight,t.style.height=start_pos+"px",(a=(a=e.find(".eae-img-comp-slider"))[0]).style.top=start_pos-a.offsetHeight/2-separator_width/2+"px",a.style.left=n/2-a.offsetWidth/2+"px",e.hasClass("elementor-element-edit-mode")||(a.addEventListener("mousedown",o),window.addEventListener("mouseup",s),a.addEventListener("touchstart",o),window.addEventListener("touchstop",s))}t=e.find(".eae-img-comp-overlay"),start_pos=t.height(),start_pos=start_pos*slider_pos/100,a(t[0])}(e))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,t){e.hasClass("eae-particle-yes")&&(id=e.data("id"),element_type=e.data("element_type"),pdata=e.data("eae-particle"),pdata_wrapper=e.find(".eae-particle-wrapper").data("eae-pdata"),"undefined"!=typeof pdata&&""!=pdata?e.find(".eae-section-bs").length>0?(e.find(".eae-section-bs").after('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):("column"==element_type?e.prepend('<div class="eae-particle-wrapper" id="eae-particle-'+id+'"></div>'):e.prepend('<div class="eae-particle-wrapper " id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,pdata)):"undefined"!=typeof pdata_wrapper&&""!=pdata_wrapper&&(element_type,e.prepend('<div class="eae-particle-wrapper eae-particle-area" id="eae-particle-'+id+'"></div>'),particlesJS("eae-particle-"+id,JSON.parse(pdata_wrapper))))})),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,t){if(e.hasClass("eae-animated-gradient-yes"))if(id=e.data("id"),color=e.data("color"),angle=e.data("angle"),e.hasClass("elementor-element-edit-mode"))color=e.find(".animated-gradient").data("color"),angle=e.find(".animated-gradient").data("angle"),gradient_color_editor="linear-gradient("+angle+","+color+")",e.prepend('<div class="animated-gradient" style="background-image : '+gradient_color_editor+' "></div>');else{var a="linear-gradient("+angle+","+color+")";e.css("background-image",a)}})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-modal-popup.default",(function(e,a){new Event("eaePopupLoaded");$preview_modal=e.find(".eae-popup-wrapper").data("preview-modal");var n=e.find(".eae-popup-wrapper").data("effect");$close_btn_type=e.find(".eae-popup-wrapper").data("close-button-type"),$close_btn=e.find(".eae-popup-wrapper").data("close-btn"),"icon"==$close_btn_type?$close_btn_html='<i class="eae-close '+$close_btn+'"> </i>':$close_btn_html='<svg class="eae-close" style="-webkit-mask: url('+$close_btn+"); mask: url("+$close_btn+'); "></svg>';var i=e.find(".eae-popup-container"),r=i.attr("id");void 0!==popupInstance[r]&&null!==popupInstance[r]||(popupInstance[r]=i.find(".eae-popup-content").html(),i.find(".eae-popup-content").html("")),e.find(".eae-popup-wrapper .eae-popup-link").on("click",(function(){r=jQuery(this).data("id"),eae_popup_arr=jQuery(".eae-popup-container.eae-popup-"+r),eae_popup_arr.each((function(e,t){jQuery(t).find(".eae-popup-content").html(popupInstance[r])}))})),$magnific=e.find(".eae-popup-link").eaePopup({type:"inline",disableOn:0,key:null,midClick:!1,mainClass:"eae-popup eae-popup-"+e.find(".eae-popup-link").data("id")+" eae-wrap-"+e.find(".eae-popup-link").data("ctrl-id"),preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:e.find(".eae-popup-wrapper").data("close-in-out"),showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:200,prependTo:null,fixedContentPos:!0,fixedBgPos:"auto",overflowY:"auto",closeMarkup:$close_btn_html,tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0,callbacks:{beforeOpen:function(){""!=n&&(this.st.mainClass="eae-popup eae-popup-"+e.find(".eae-popup-link").data("id")+" eae-wrap-"+e.find(".eae-popup-link").data("ctrl-id")+" mfp-"+n)},open:function(){var a=e.find(".eae-popup-link").data("id"),n=jQuery(".eae-popup-"+a+".eae-popup-container .eae-modal-content");t(n);var i=n.find(".wpcf7-form");i.length>0&&i.each((function(e,t){wpcf7.init(t)}))},afterClose:function(){e.find(".eae-popup-container").find(".eae-popup-content").html("")}}}),"yes"==$preview_modal&&e.hasClass("elementor-element-edit-mode")&&e.find(".eae-popup-link").click()})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-testimonial-slider.default",(function(e,t){if(e.find(".eae-grid-wrapper").hasClass("eae-masonry-yes")){var a=e.find(".eae-grid").masonry({});a.imagesLoaded().progress((function(){a.masonry("layout")}))}if(e.find(".eae-layout-carousel").length){outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wclass=".elementor-element-"+wid;var n=outer_wrapper.data("direction"),i=outer_wrapper.data("speed"),r=outer_wrapper.data("autoplay"),o=outer_wrapper.data("duration"),s=outer_wrapper.data("effect"),l=outer_wrapper.data("space"),d=outer_wrapper.data("loop");d="yes"==d;var c=outer_wrapper.data("slides-per-view"),p=outer_wrapper.data("slides-per-group"),f=outer_wrapper.data("ptype"),u=outer_wrapper.data("navigation"),m=outer_wrapper.data("clickable"),g=outer_wrapper.data("keyboard"),h=outer_wrapper.data("scrollbar");adata={direction:n,effect:s,spaceBetween:l.desktop,loop:d,speed:i,slidesPerView:c.desktop,slidesPerGroup:p.desktop,observer:!0,mousewheel:{invert:!0},breakpoints:{1024:{spaceBetween:l.tablet,slidesPerView:c.tablet,slidesPerGroup:p.tablet},767:{spaceBetween:l.mobile,slidesPerView:c.mobile,slidesPerGroup:p.mobile}}},"fade"==s&&(adata.fadeEffect={crossFade:!1}),adata.autoplay="yes"==r&&{delay:o,disableOnInteraction:!1},"yes"==u&&(adata.navigation={nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}),""!=f&&(adata.pagination={el:".swiper-pagination",type:f}),"bullets"==f&&"yes"==m&&(adata.pagination={el:".swiper-pagination",clickable:!0,type:f}),"yes"==h&&(adata.scrollbar={el:".swiper-scrollbar",draggable:!0}),"yes"==g&&(adata.keyboard={enabled:!0,onlyInViewport:!0}),0==d&&(adata.autoplay={delay:o,stopOnLastSlide:!0,disableOnInteraction:!1}),window.mswiper=new Swiper(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container",adata),t(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .swiper-container").css("visibility","visible")}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin1",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin2",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin3",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-circle.skin4",a),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin1",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin2",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin3",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-timeline.skin4",n),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin1",(function(e,t){var a=e.find(".eae-evergreen-wrapper").data("egtime"),n=e.find(".eae-evergreen-wrapper").data("egt-expire"),o=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),d=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),p=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===o){m=new Date(a),a=m.getTime();var f="expires="+m.toUTCString();document.cookie=l+"="+m.getTime()+";"+f+";path=/"}else{var u=r(s),m="";if(""!==u){(m=new Date(parseInt(u))).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime();var g=new Date(parseInt(u));g.setTime(g.getTime()+60*n*60*1e3);var h="expires="+g.toUTCString();document.cookie=s+"="+u+";"+h+";path=/";var v=new Date(parseInt(u));v.setTime(v.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));f="expires="+v.toUTCString();a-p>0&&(document.cookie=l+"="+u+";"+f+";path=/")}else{temp_date=a,(m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime(),i(s,(new Date).getTime(),n);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&a-p<0)return d.length>0&&d.forEach((function(a){"redirect"===a&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url)&&(window.location.href=$url1)),"hide"===a&&(e.hasClass("elementor-element-edit-mode")||(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none"))),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})),days="00",hours="00",minutes="00",seconds="00",e.find("."+c).find("#eaedivDays").html(days),e.find("."+c).find("#eaedivHours").html(hours.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(minutes.slice(-2)),void e.find("."+c).find("#eaedivSeconds").html(seconds.slice(-2));e.hasClass("elementor-element-edit-mode")&&("countdown"===o?(m=new Date(a),a=m.getTime()):((m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime()));var b=setInterval((function(){var n=(new Date).getTime(),i=a-n,r=0,o=0,s=0,l=0;i>0?(r=Math.floor(i/864e5),o="0"+Math.floor(i%864e5/36e5),s="0"+Math.floor(i%36e5/6e4),l="0"+Math.floor(i%6e4/1e3)):(d.length>0&&(e.hasClass("elementor-element-edit-mode")||d.forEach((function(a){"redirect"===a&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url1)&&(window.location.href=$url1)),"hide"===a&&(e.find("#eaeclockdiv").css("display","none"),e.find(".egt-title").css("display","none")),"message"===a&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))}))),clearInterval(b),r="0",o="00",s="00",l="00"),r<10&&(r="0"+r),e.find("."+c).find("#eaedivDays").html(r),e.find("."+c).find("#eaedivHours").html(o.slice(-2)),e.find("."+c).find("#eaedivMinutes").html(s.slice(-2)),e.find("."+c).find("#eaedivSeconds").html(l.slice(-2))}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin2",(function(e,t){var a=e.find(".eae-evergreen-wrapper").data("egtime"),n=e.find(".eae-evergreen-wrapper").data("egt-expire"),o=e.find(".eae-evergreen-wrapper").data("element-type"),s="eae-"+e.find(".eae-evergreen-wrapper").data("id"),l="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),d=e.find(".eae-evergreen-wrapper").data("actions"),c=e.find(".eae-evergreen-wrapper").data("unqid"),p=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===o){m=new Date(a),a=m.getTime();var f="expires="+m.toUTCString();document.cookie=l+"="+m.getTime()+";"+f+";path=/"}else{var u=r(s),m="";if(""!==u){(m=new Date(parseInt(u))).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime();var g=new Date(parseInt(u));g.setTime(g.getTime()+60*n*60*1e3);var h="expires="+g.toUTCString();document.cookie=s+"="+u+";"+h+";path=/";var v=new Date(parseInt(u));v.setTime(v.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));f="expires="+v.toUTCString();a-p>0&&(document.cookie=l+"="+u+";"+f+";path=/")}else{temp_date=a,(m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime(),i(s,(new Date).getTime(),n);var w=new Date;w.setTime(w.getTime()+1e3*temp_date);var y="expires="+w.toUTCString();document.cookie=l+"="+(new Date).getTime()+";"+y+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")&&a-p<0)return void(d.length>0&&d.forEach((function(a){"redirect"===a&&($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url)&&(window.location.href=$url)),"hide"===a&&(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none")),"message"===a&&e.find("."+c).find(".eae-egt-message").css("display","block"),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));e.hasClass("elementor-element-edit-mode")&&("countdown"===o?(m=new Date(a),a=m.getTime()):((m=new Date).setSeconds(m.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),a=m.getTime()));var b=setInterval((function(){var n=(new Date).getTime(),i=a-n,r=Math.floor(i/864e5),o=Math.floor(i%864e5/36e5),s=Math.floor(i%36e5/6e4),l=Math.floor(i%6e4/1e3);if(e.find("."+c).find("#eaeulSec1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulSec").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulSec").find(".flip-clock-before").removeClass("flip-clock-before"),i<0)return clearInterval(b),void(d.length>0&&d.forEach((function(a){"redirect"===a&&(e.hasClass("elementor-element-edit-mode")||($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==t.trim($url1)&&(window.location.href=$url1))),"hide"===a&&(e.hasClass("elementor-element-edit-mode")||(e.find("."+c).find(".timer-container").css("display","none"),e.find("."+c).find(".egt-title").css("display","none"))),"message"===a&&(e.hasClass("elementor-element-edit-mode")||e.find("."+c).find(".eae-egt-message").css("display","block")),"hide_parent"===a&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none")))})));if(2===t.trim(l).length){var p="#eaeulSec1 li:eq( "+t.trim(l).charAt(1)+" )",f="#eaeulSec li:eq( "+t.trim(l).charAt(0)+" )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}else{p="#eaeulSec1 li:eq( "+t.trim(l).charAt(0)+" )",f="#eaeulSec li:eq( 0 )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulSec li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulSec li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulMin1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulMin").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulMin").find(".flip-clock-before").removeClass("flip-clock-before"),2==t.trim(s).length){p="#eaeulMin1 li:eq( "+t.trim(s).charAt(1)+" )",f="#eaeulMin li:eq( "+t.trim(s).charAt(0)+" )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}else{p="#eaeulMin1 li:eq( "+t.trim(s).charAt(0)+" )",f="#eaeulMin li:eq( 0 )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulMin li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulMin li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulHour1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulHour").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulHour").find(".flip-clock-before").removeClass("flip-clock-before"),2==t.trim(o).length){p="#eaeulHour1 li:eq( "+t.trim(o).charAt(1)+" )",f="#eaeulHour li:eq( "+t.trim(o).charAt(0)+" )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}else{p="#eaeulHour1 li:eq( "+t.trim(o).charAt(0)+" )",f="#eaeulHour li:eq( 0 )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulHour li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulHour li:first-child").addClass("flip-clock-before"))}if(e.find("."+c).find("#eaeulDay1").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1").find(".flip-clock-before").removeClass("flip-clock-before"),e.find("."+c).find("#eaeulDay").find(".flip-clock-active").removeClass("flip-clock-active"),e.find("."+c).find("#eaeulDay").find(".flip-clock-before").removeClass("flip-clock-before"),2==t.trim(r).length){p="#eaeulDay1 li:eq( "+t.trim(r).charAt(1)+" )",f="#eaeulDay li:eq( "+t.trim(r).charAt(0)+" )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay1 li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}else{p="#eaeulDay1 li:eq( "+t.trim(r).charAt(0)+" )",f="#eaeulDay li:eq( 0 )";e.find("."+c).find(p).next().length>0?(e.find("."+c).find(p).addClass("flip-clock-active"),e.find("."+c).find(p).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay1 li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before")),e.find("."+c).find(f).next().length>0?(e.find("."+c).find(f).addClass("flip-clock-active"),e.find("."+c).find(f).next().addClass("flip-clock-before")):(e.find("."+c).find("#eaeulDay li:last-child").addClass("flip-clock-active"),e.find("."+c).find("#eaeulDay li:first-child").addClass("flip-clock-before"))}}),1e3)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-evergreen-timer.skin3",(function(e,t){var a,n=e.find(".eae-evergreen-wrapper").data("egtime"),o=e.find(".eae-evergreen-wrapper").data("egt-expire"),s=e.find(".eae-evergreen-wrapper").data("element-type"),l="eae-"+e.find(".eae-evergreen-wrapper").data("id"),d="eae-temp-"+e.find(".eae-evergreen-wrapper").data("id"),c=e.find(".eae-evergreen-wrapper").data("actions"),p=e.find(".eae-evergreen-wrapper").data("days"),f=e.find(".eae-evergreen-wrapper").data("hours"),u=e.find(".eae-evergreen-wrapper").data("mins"),m=e.find(".eae-evergreen-wrapper").data("seconds"),g=e.find(".eae-evergreen-wrapper").data("unqid"),h=(new Date).getTime();if(!e.hasClass("elementor-element-edit-mode"))if("countdown"===s){y=new Date(n),n=y.getTime();var v="expires="+y.toUTCString();document.cookie=d+"="+y.getTime()+";"+v+";path=/"}else{var w=r(l),y="";if(""!==w){(y=new Date(parseInt(w))).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),n=y.getTime();var b=new Date(parseInt(w));b.setTime(b.getTime()+60*o*60*1e3);var _="expires="+b.toUTCString();document.cookie=l+"="+w+";"+_+";path=/";var k=new Date(parseInt(w));k.setTime(k.getTime()+1e3*e.find(".eae-evergreen-wrapper").data("egtime"));v="expires="+k.toUTCString();n-h>0&&(document.cookie=d+"="+w+";"+v+";path=/")}else{temp_date=n,(y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),n=y.getTime(),i(l,(new Date).getTime(),o);var C=new Date;C.setTime(C.getTime()+1e3*temp_date);var x="expires="+C.toUTCString();document.cookie=d+"="+(new Date).getTime()+";"+x+";path=/"}}if(!e.hasClass("elementor-element-edit-mode")){var S=E(n);if(parseInt(S.all)<1){if(c.length>0&&(c.forEach((function(t){"redirect"===t&&(e.hasClass("elementor-element-edit-mode")||($url=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url&&(window.location.href=$url))),"hide_parent"===t&&(e.hasClass("elementor-element-edit-mode")||($p_secs=e.closest("section"),$p_secs.css("display","none"))),"hide"===t&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===t&&e.find(".eae-egt-message").css("display","block")})),1===c.length&&(""===c[0]||"message"===c[0]))){var T=e.find("."+g).find("#timer")[0];"yes"===p&&(T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===f&&("yes"===p?t(T).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===p||"yes"===f?t(T).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===p||"yes"===f||"yes"===u?t(T).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):T.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>")}return}}function E(e){var t=n-new Date;return{days:Math.floor(t/864e5),hours:"0"+Math.floor(t/36e5%24),minutes:"0"+Math.floor(t/6e4%60),seconds:"0"+Math.floor(t/1e3%60),all:t}}function L(e){e.classList.add("fade"),setTimeout((function(){e.classList.remove("fade")}),700)}e.hasClass("elementor-element-edit-mode")&&("countdown"===s?(y=new Date(n),n=y.getTime()):((y=new Date).setSeconds(y.getSeconds()+e.find(".eae-evergreen-wrapper").data("egtime")),n=y.getTime())),E(n).all>1&&(a=setInterval((function(){var i=e.find("."+g).find("#timer")[0],r=E(n);"yes"===p&&(r.days<10&&(r.days="0"+r.days),i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.days+"</div></span>"),"yes"===f&&("yes"===p?t(i).append("<span class='egt-time eae-time-wrapper'><div>"+r.hours.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.hours.slice(-2)+"</div></span>"),"yes"===u&&("yes"===p||"yes"===f?t(i).append("<span class='egt-time eae-time-wrapper'><div>"+r.minutes.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.minutes.slice(-2)+"</div></span>"),"yes"===m&&("yes"===p||"yes"===f||"yes"===u?t(i).append("<span class='egt-time eae-time-wrapper'><div>"+r.seconds.slice(-2)+"</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>"+r.seconds.slice(-2)+"</div></span>");var o=i.getElementsByTagName("span");"yes"===p&&59==r.hours&&59==r.minutes&&59==r.seconds&&L(o[0]),"yes"===f&&("yes"===p?59==r.minutes&&59==r.seconds&&L(o[1]):59==r.minutes&&59==r.seconds&&L(o[0])),"yes"===u&&("yes"===p?"yes"===f?59==r.seconds&&L(o[2]):59==r.seconds&&L(o[1]):"yes"===f?59==r.seconds&&L(o[1]):59==r.seconds&&L(o[0])),"yes"===m&&("yes"===p?"yes"===f?"yes"===u&&L(o[3]):L("yes"===u?o[2]:o[1]):"yes"===f?"yes"===u&&L(o[2]):L("yes"===u?o[1]:o[0])),r.all<=1&&(clearInterval(a),"yes"===p&&(i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===f&&("yes"===p?t(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===u&&("yes"===p||"yes"===f?t(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),"yes"===m&&("yes"===p||"yes"===f||"yes"===u?t(i).append("<span class='egt-time eae-time-wrapper'><div>00</div></span>"):i.innerHTML="<span class='egt-time eae-time-wrapper'><div>00</div></span>"),e.hasClass("elementor-element-edit-mode")||c.length>0&&c.forEach((function(t){"redirect"===t&&($url1=e.find(".eae-evergreen-wrapper").data("redirected-url"),""!==$url1&&(window.location.href=$url1)),"hide"===t&&(e.find("#timer").css("display","none"),e.find(".egt-title").css("display","none"),e.find(".desc").css("display","none")),"message"===t&&e.find(".eae-egt-message").css("display","block"),"hide_parent"===t&&($p_secs=e.closest("section"),$p_secs.css("display","none"))})))}),1e3))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-comparisontable.default",(function(e,t){t(e.find(".eae-ct-heading")[0]).addClass("active"),e.find("ul").on("click","li",(function(){var a=t(this).index()+2;e.find("tr").find("td:not(:eq(0))").hide(),e.find("td:nth-child("+a+")").css("display","table-cell"),e.find("tr").find("th:not(:eq(0))").hide(),e.find("li").removeClass("active"),t(this).addClass("active")}));var a=window.matchMedia("(min-width: 767px)");function n(t){t.matches?e.find(".sep").attr("colspan",5):e.find(".sep").attr("colspan",2)}a.addListener(n),n(a)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin1",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin2",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin3",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin4",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-progress-bar.skin5",o),elementorFrontend.hooks.addAction("frontend/element_ready/eae-filterableGallery.default",(function(e,t){var a=e.find(".eae-fg-wrapper"),n=e.data("id"),i=a.attr("data-maxtilt"),r=a.attr("data-perspective"),o=a.attr("data-speed"),s=a.attr("data-tilt-axis"),l=a.attr("data-glare"),d=parseInt(a.attr("data-overlay-speed"));if(s="x"===s?"y":"y"===s?"x":"both","yes"===l)var c=a.attr("data-max-glare");l="yes"===l;var p=t(".elementor-element-"+n+" .eae-fg-image"),f=a.hasClass("masonry-yes")?"masonry":"fitRows";p.outerHeight();adata={percentPosition:!0,animationOptions:{duration:750,easing:"linear",queue:!1}},"fitRows"===f&&(adata.layoutMode="fitRows"),"masonry"===f&&(adata.masonry={columnWidth:".eae-gallery-item",horizontalOrder:!0}),e.hasClass("eae-show-all-yes")||(e.find(".eae-gallery-filter a").first().addClass("current"),adata.filter=e.find(".eae-gallery-filter a").first().attr("data-filter"));var u=p.isotope(adata);u.imagesLoaded().progress((function(){u.isotope("layout")})),e.find(".eae-tilt-yes")&&(atilt={maxTilt:i,perspective:r,easing:"linear",scale:1,speed:o,disableAxis:s,transition:!0,reset:!0,glare:l,maxGlare:c},e.find(".el-tilt").tilt(atilt)),t(".elementor-element-"+n+" .eae-gallery-filter a").on("click",(function(){e.find(".eae-gallery-filter .current").removeClass("current"),t(this).addClass("current");var a=t(this).attr("data-filter");adata.filter=a;var n=p.isotope(adata);return n.imagesLoaded().progress((function(){if(n.isotope("layout"),isEditMode)return!1;e.find(".eae-tilt-yes")&&(e.find(".el-tilt").tilt(atilt),e.find(".el-tilt").tilt.reset.call(e.find(".el-tilt")))})),!1})),a.hasClass("eae-hover-direction-effect")||e.find(".eae-gallery-item-inner").hover((function(){t(this).find(".eae-grid-overlay").addClass("animated")})),a.hasClass("eae-hover-direction-effect")&&(e.find(".eae-gallery-item-inner").hover((function(){t(this).find(".eae-grid-overlay").addClass("overlay")})),a.find(".eae-gallery-item-inner").EAEHoverDirection({speed:d}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin1",s),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin2",s),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin3",l),elementorFrontend.hooks.addAction("frontend/element_ready/eae-content-switcher.skin4",l),elementorFrontend.hooks.addAction("frontend/element_ready/global",(function(e,t){isEditMode||e.data("wts-url")&&"yes"==e.data("wts-link")&&e.on("click",(function(t){e.data("wts-url")&&"yes"==e.data("wts-new-window")?window.open(e.data("wts-url")):location.href=e.data("wts-url")}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-thumbgallery.default",(function(e,t){swiper_outer_wrapper=e.find(".eae-swiper-outer-wrapper"),wid=e.data("id"),wClass=".elementor-element-"+wid,thumb_outer_wrapper=e.find(".eae-gallery-thumbs");let a=swiper_outer_wrapper.data("swiper-settings"),n=(swiper_outer_wrapper.data("slides-per-view"),swiper_outer_wrapper.data("space"),elementorFrontend.config.responsive.activeBreakpoints);sliderData={direction:"horizontal",effect:a.effect,keyboard:{enabled:a.keyboard},speed:a.speed,loop:"yes"===a.loop,thumbs:{swiper:{el:wClass+" .eae-gallery-thumbs",direction:"horizontal",navigation:{nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"},speed:a.speed,loop:"yes"===a.loop,freeMode:!0,watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!0}}};const i={slidesPerView:"slidesPerView",slidesPerGroup:"slidesPerGroup",spaceBetween:"spaceBetween"};if(n.hasOwnProperty("mobile"))for(const e in i)a.hasOwnProperty(e)&&(sliderData[e]=a[e].mobile),a.thumbs.hasOwnProperty(e)&&(sliderData.thumbs.swiper[e]=a.thumbs[e].mobile);const r={},o={};a.hasOwnProperty("breakpoints_value")&&Object.keys(a.breakpoints_value).map((e=>{const t=parseInt(a.breakpoints_value[e]);if("desktop"===e&&(e="default"),"mobile"!==e){const n=parseInt(a.spaceBetween[e]);r[t-1]={spaceBetween:n};const i=parseInt(a.thumbs.spaceBetween[e]),s=parseInt(a.thumbs.slidesPerView[e]);o[t-1]={spaceBetween:i,slidesPerView:s}}})),sliderData.breakpoints=r,sliderData.thumbs.swiper.breakpoints=o,void 0!==a.autoplay&&(sliderData.thumbs.swiper.autoplay={delay:a.autoplay.duration,disableOnInteraction:a.autoplay.disableOnInteraction,reverseDirection:a.autoplay.reverseDirection}),"yes"==a.navigation&&(sliderData.navigation={nextEl:wClass+" .eae-swiper-button-next",prevEl:wClass+" .eae-swiper-button-prev"}),""!==a.pagination&&(sliderData.pagination={type:a.pagination,el:wClass+" .swiper-pagination",clickable:a.clickable}),void 0!==a.autoplay&&(sliderData.autoplay={delay:a.autoplay.duration,disableOnInteraction:a.autoplay.disableOnInteraction,reverseDirection:a.autoplay.reverseDirection}),swiperContainer=jQuery(".elementor-element-"+wid+" .eae-swiper-outer-wrapper .eae-swiper-container");const s=elementorFrontend.utils.swiper;null!==swiperContainer&&0===swiperContainer.length||new s(jQuery(swiperContainer),sliderData).then((e=>{const t=e,n=a.pauseOnHover;if("yes"==a.loop&&p(t,wid),"yes"==n&&f(t,n,wid,a),void 0!==a.autoplay){"yes"==a.pauseOnHover&&jQuery(wClass+" .eae-swiper-container").hover((function(){null!=t&&(t.autoplay.stop(),t.thumbs.swiper.autoplay.stop())}),(function(){null!=t&&(t.autoplay.start(),t.thumbs.swiper.autoplay.start())}))}}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.bar",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.horizontalBar",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-chart.line",d),elementorFrontend.hooks.addAction("frontend/element_ready/eae-data-table.default",(function(e,t){const a=e.find(".eae-table"),n=e.find(".eae-table-container");lottie_class=e.find(".eae-lottie"),settings=a.data("settings"),lottie_class.each((function(){let e=t(this).data("lottie-settings"),a=lottie.loadAnimation({container:document.getElementById(e.id),path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&a.setDirection(-1)})),!0===settings.sort?(head_class=t(".eae-table thead tr:not(:last-child)").addClass("eae-sort__ignoreRow"),a.tablesorter({sortReset:!1,sortRestart:!0})):head_class=t(".eae-table thead tr:not(:last-child)").removeClass("eae-sort__ignoreRow"),settings.search&&n.find("#eae-searchable").keyup((function(){_this=this,a.find(".eae-table__body tr").each((function(){-1===t(this).text().toLowerCase().indexOf(t(_this).val().toLowerCase())?t(this).addClass("eae-table-search-hide"):t(this).removeClass("eae-table-search-hide")}))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/CfStyler.default",(function(e,t){if(e.hasClass("elementor-element-edit-mode")&&t("#error-field-hidden").hasClass("validation-field-box")){e.find(".wpcf7-validates-as-required").parent().append("<p class='error-field'>The field is required.</p>")}})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-anythingcarousel.default",(function(e,t){const a=e.find(".eae-swiper-outer-wrapper"),n=e.data("id"),i=a.data("swiper-settings");c(i,n,e,a)})),elementorFrontend.hooks.addAction("frontend/element_ready/wts-content-ticker.default",(function(e){let t=e.data("id"),a=e.find(".swiper");swiper_outer=e.find(".eae-content-ticker-wrapper");let n=swiper_outer.data("swiper"),i={};if(i={effect:n.effect,loop:n.loop,speed:n.speed,slidesPerView:1,spaceBetween:30,fadeEffect:{crossFade:!0}},null!=n.autoplayDuration&&(i.autoplay={delay:n.autoplayDuration,disableOnInteraction:!0}),0!=n.keyboardControl&&(i.keyboard={enabled:!0}),"yes"===n.arrows&&(i.navigation={nextEl:".eae-navigation-icon-wrapper .eae-swiper-button-next",prevEl:".eae-navigation-icon-wrapper .eae-swiper-button-prev"}),"null"!=n.direction&&"slide"==n.effect&&(i.direction=n.direction),null!==jQuery(a)&&0===jQuery(a).length)return;new(0,elementorFrontend.utils.swiper)(jQuery(a),i).then((e=>{let a=e;"true"==n.pauseOnHover&&jQuery(".elementor-element-"+t+" .eae-content-ticker-content-wrapper").hover((function(){a.autoplay.stop()}),(function(){a.autoplay.start()}))}))})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-radial-charts.default",(function(e){let t=null;$wid=e.data("id");const a=document.querySelector(".elementor-element-"+$wid),n=a.querySelector(".eae-radial-chart"),i=(a.querySelector(".eae-radial-chart-container").dataset.chart,e.find(".eae-radial-chart-container")),r=e.find(".eae-radial-chart");let o=i.data("chart");"polarArea"==o.type&&"true"==o.enablePercentage&&(o.options.scales.r.ticks.callback=function(e,t,a){return`${e}%`});new IntersectionObserver(((e,a)=>{e.forEach((e=>{if(e.isIntersecting){e.target.classList.add("trigger"),null==t&&(t=new Chart(r,o))}}))}),{root:null,rootMargin:"0px 0px -300px 0px"}).observe(n)})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-coupon-code.default",(function(e){elementorFrontend.elementsHandler.addHandler(u,{$element:e})})),elementorFrontend.hooks.addAction("frontend/element_ready/eae-dropbar.default",(function(e){elementorFrontend.elementsHandler.addHandler(g,{$element:e})}))}))}(jQuery);
(()=>{var e={734:()=>{!function(e){const t=function(e){const t=e.attr("data-id");var n=document.querySelector(".elementor-element-"+t).querySelector(".eae-lottie-animation");if(null!=n){let e=JSON.parse(n.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:n,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-add-to-calendar.default",t)}))}(jQuery)},211:()=>{!function(e){const t=function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t);var i=n.querySelector(".eae-ah-icon.eae-lottie-animation"),a=n.querySelector(".eae-ah-title-icon.eae-lottie-animation"),o=n.querySelector(".eae-sep-icon.eae-lottie-animation");if(null!=i){let e=JSON.parse(i.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:i,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}if(null!=a){let e=JSON.parse(a.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:a,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}if(null!=o){let e=JSON.parse(o.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:o,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-advanced-heading.default",t)}))}(jQuery)},327:()=>{!function(e){const t=function(e){const t=e.attr("data-id");document.querySelector(".elementor-element-"+t).querySelector(".eae-list-wrapper").querySelectorAll(".eae-list-item").forEach((e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}))};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-advanced-list.default",t)}))}(jQuery)},259:()=>{!function(e){const t=function(t){const i=t.attr("data-id"),a=document.querySelector(".elementor-element-"+i).querySelector(".eae-price-table");window.addEventListener("resize",(function(){let e=a.getAttribute("data-stacked");this.window.innerWidth<=e?a.classList.add("enable-stacked"):a.classList.remove("enable-stacked")})),function(e){let t=e.find(".eae-price-table"),n=t.find(".eae-apt-switch-label"),i=t.find(".eae-apt-content-switch-button-text.eae-label-tab-1"),a=t.find(".eae-apt-content-switch-button-text.eae-label-tab-2"),o=t.find(".eae-apt-tab-1.eae-apt-tab-content-section"),r=t.find(".eae-apt-tab-2.eae-apt-tab-content-section");n.on("click",(function(e){n.find(".eae-pt-content-toggle-switch").is(":checked")?(a.addClass("active-button"),r.addClass("active"),i.removeClass("active-button"),o.removeClass("active")):(i.addClass("active-button"),o.addClass("active"),a.removeClass("active-button"),r.removeClass("active"))}))}(t),function(t){var n=t.find(".eae-price-table"),i=(t.data("id"),n.find(".eae-apt-content-switch-button"));i.each((function(t,a){e(this).on("click",(function(t){t.preventDefault();let o=a.getAttribute("data-active-tab");i.removeClass("active-button"),e(this).addClass("active-button");let r=n.find(".eae-apt-"+o);n.find(".eae-apt-tab-content-section").removeClass("active"),r.addClass("active")}))}))}(t),n(a.querySelectorAll(".eae-price-table-wrapper"),".eae-apt-icon.eae-lottie"),a.querySelectorAll(".eae-apt-features-container"),n(a.querySelectorAll(".eae-apt-features-list-item"),".eae-apt-feature-icon.eae-lottie")};function n(e,t){e.forEach((e=>{if(isLottiePanle=e.querySelector(t),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}))}e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-advanced-price-table.default",t)}))}(jQuery)},305:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i});class i{constructor(e,t,n=null){let i=[],a=".elementor-element-"+t+" .eae-swiper-container",o=elementorFrontend.config.responsive.activeBreakpoints;var r=".elementor-element-"+t;if(null!==n){t=n.data("id");const e=n.find(".eae-swiper-container").data("eae-slider-id");a=".elementor-element-"+t+' .eae-swiper-container[data-eae-slider-id="'+e+'"]',r=".elementor-element-"+t+" .eae-slider-id-"+e}if(void 0===e)return!1;i={direction:e.direction,speed:e.speed,autoHeight:e.autoHeight,autoplay:e.autoplay,grid:e.grid,effect:e.effect,loop:e.loop,zoom:e.zoom,wrapperClass:"eae-swiper-wrapper",slideClass:"eae-swiper-slide",observer:!0,observeParents:!0},e.hasOwnProperty("pause_on_interaction")&&(i.autoplay.disableOnInteraction=!0,i.autoplay.pauseOnMouseEnter=!0);const s={slidesPerView:"slidesPerView",slidesPerGroup:"slidesPerGroup",spaceBetween:"spaceBetween"};if(o.hasOwnProperty("mobile"))for(const t in s)e.hasOwnProperty(t)&&(i[t]=e[t].mobile);e.loop&&e.hasOwnProperty("slidersPerView")&&document.querySelectorAll(r+" .eae-swiper-slide").length<e.slidesPerView.tablet&&(i.loop=!1);const l={};e.hasOwnProperty("breakpoints_value")&&Object.keys(e.breakpoints_value).map((t=>{const n=parseInt(e.breakpoints_value[t]);"desktop"===t&&(t="default");const i=parseInt(e.spaceBetween[t]),a=parseInt(e.slidesPerView[t]),o=parseInt(e.slidesPerGroup[t]);l[n-1]={spaceBetween:i,slidesPerView:a,slidesPerGroup:o}})),eae.breakpoints,i.breakpoints=l,i.keyboard="yes"===e.keyboard&&{enabled:!0,onlyInViewport:!0},"yes"===e.navigation&&(i.navigation={nextEl:r+" .eae-swiper-button-next",prevEl:r+" .eae-swiper-button-prev"}),""!==e.ptype&&(i.pagination={el:r+" .eae-swiper-pagination",type:e.ptype,clickable:e.clickable}),"yes"==e.scrollbar&&(i.scrollbar={el:r+" .eae-swiper-scrollbar",hide:!0}),i.on={resize:function(){0!=e.autoplay&&this.autoplay.start()}},new(0,elementorFrontend.utils.swiper)(jQuery(a),i).then((n=>{const i=n,a=e.pause_on_hover;"yes"==e.loop&&this.after_swiper_load_func(i,t),"yes"==a&&this.pause_on_hover_func(i,a,t,e)})),jQuery(".elementor-element-"+t+" .ae-swiper-container").css("visibility","visible")}pause_on_hover_func(e,t,n,i=""){jQuery(".elementor-element-"+n+" .eae-swiper-container").hover((function(){e.autoplay.stop()}),(function(){i.hasOwnProperty("pause_on_interaction")||"yes"==i.pause_on_interaction||e.autoplay.start()}))}after_swiper_load_func(e,t=""){e.length>0?e.forEach((function(e){})):(e.on("slideChangeTransitionStart",(function(){e.$wrapperEl.find(".swiper-slide-duplicate").each((function(n){if(null!==n.closest(".eae-vg-video-container")){let e=n.querySelector(".eae-vg-element");e.addEventListener("click",(function(t){let n=e;if(n.classList.remove("eae-vg-image-overlay"),n.getAttribute("data-video-url"),"hosted"!=n.getAttribute("data-video-type")){let e=n.getAttribute("data-video-url");n.innerHTML="";var i=document.createElement("iframe");i.classList.add("eae-vg-video-iframe"),i.setAttribute("src",e),i.setAttribute("frameborder","0"),i.setAttribute("allowfullscreen","1"),i.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),n.append(i)}else if(null==n.querySelector(".eae-hosted-video")){let e=n.getAttribute("data-hosted-html");n.innerHTML="";let t=JSON.parse(e);n.innerHTML+=t;let i=n.querySelector("video");i.setAttribute("autoplay","autoplay"),n.hasAttribute("data-video-downaload")&&i.setAttribute("controlslist","nodownload"),n.hasAttribute("data-controls")&&i.setAttribute("controls","")}}))}n.querySelectorAll(".open-popup-link").forEach((e=>jQuery(e).eaePopup({type:"inline",midClick:!0,mainClass:"eae-wp-modal-box eae-wp-"+t,callbacks:{open:function(){jQuery(window).trigger("resize")}}})));const i=n.closest(".eae-testimonial-wrapper");if(null!==i){const e=parseInt(i.getAttribute("data-stacked")),t=i.querySelectorAll(".eae-additional-image.eae-preset-2");null!==i&&window.addEventListener("resize",(function(){this.window.innerWidth<=e?t.forEach((e=>{e.style.display="none"})):t.forEach((e=>{e.style.display="flex"}))}))}e.init()}))})),e.init())}}},340:()=>{!function(e){const t=function(e){const t=document.querySelectorAll(".wta-eae-business-heading-wrapper"),n=e.attr("data-id"),i=document.querySelector(".elementor-element-"+n),a=i.querySelector(".wts-eae-business-days");let o=i.querySelector(".eae-tile-icon.eae-lottie-animation");if(a.querySelectorAll(".eae-business-weekdays-wrapper").forEach((e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}})),null!=o){let e=JSON.parse(o.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:o,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}t.forEach((t=>{const n=e.attr("data-id"),i=(document.querySelector(".elementor-element-"+n),t.getAttribute("data-timezone"));let a=t.getAttribute("data-format");a="true"==a;let o=JSON.parse(t.getAttribute("data-settings"));const r={hour:"numeric",minute:"numeric",second:"numeric",hour12:a};function s(e){const n=new Date;let i;if(/^(\+|\-)\d{1,2}:\d{2}$/.test(e)){const[t,n]=e.split(":").map(Number);i=60*(60*t+n)}else if(Intl.DateTimeFormat(void 0,{timeZone:e}).resolvedOptions().timeZone===e){let i=new Date;i=i.toLocaleString("en-US",{timeZone:e}),n.setTime(Date.parse(i));var a=n;glbCurrenttime=n.getTime(),t.querySelector(".eae-indicator-time").innerHTML=a.toLocaleString("en-US",r)}if(i>=0||i<=0){const e=n.getTime()+6e4*n.getTimezoneOffset();n.setTime(e+1e3*i),a=n;let t=new Date;const o=t.getTime()+1e3*i;t.setTime(o),glbCurrenttime=Math.ceil(t.getTime()/1e3)}const o=t.querySelector(".eae-indicator-time");null!=o&&(o.innerHTML=a.toLocaleString("en-US",r))}function l(){openWrn=t.querySelector(".eae-bh-bi-open-wmsg"),closeWrn=t.querySelector(".eae-bh-bi-close-wmsg");const e=t.querySelector(".currentday");if(null!=e){const n=e.querySelectorAll(".bultr-bh-label-wrap"),i=Object.values(n);for(const e of i){const n=parseInt(e.getAttribute("data-open")),i=parseInt(e.getAttribute("data-close"));if("yes"==o.indctLabel&&(incicatorLabel=t.querySelector(".bultr-labelss"),incicatorLabel)){if(glbCurrenttime>n&&glbCurrenttime<i){incicatorLabel.innerHTML=o.openLableTxt,incicatorLabel.classList.add("bultr-lbl-open"),incicatorLabel.classList.remove("bultr-lbl-close");break}incicatorLabel.innerHTML=o.closeLabelTxt,incicatorLabel.classList.add("bultr-lbl-close"),incicatorLabel.classList.remove("bultr-lbl-open")}}for(const e of i){const n=parseInt(e.getAttribute("data-open")),i=parseInt(e.getAttribute("data-close"));if(openWrn=t.querySelector(".eae-bh-bi-open-wmsg"),closeWrn=t.querySelector(".eae-bh-bi-close-wmsg"),n>glbCurrenttime){openmints=Math.ceil((n-glbCurrenttime)/60),openmints<=parseInt(o.openMints)&&"yes"==o.openWrnMsg&&(openWrn||(openWrn=document.createElement("div"),openWrn.setAttribute("class","bultr-bh-bi-open-wmsg")),openWrn.innerHTML=o.openWrnMsgTxt+" "+openmints+" Minutes");break}openWrn&&(openWrn.innerHTML=""),(glbCurrenttime<i||glbCurrenttime>n)&&(closemints=Math.ceil((i-glbCurrenttime)/60),closemints<=parseInt(o.closeMints)&&(closemints>0?"yes"==o.closeWrnMsg&&(closeWrn||(closeWrn=document.createElement("div"),closeWrn.setAttribute("class","bultr-bh-bi-close-wmsg")),closeWrn.innerHTML=o.closeWrnMsgText+" "+closemints+" Minutes",closeWrn.innerHTML=o.closeWrnMsgText+" "+closemints+" Minutes"):closeWrn&&(closeWrn.innerHTML="")))}}}"yes"==o.businessIndicator&&(s(i),setInterval(s,1e3,i),l(),setInterval(l,1e3))}))};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-business-hours.default",t)}))}(jQuery)},107:()=>{!function(e){const t=function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t);let i=n.querySelector(".eae-cta-icon.eae-lottie");if(null!=i){let e=JSON.parse(i.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:i,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}let a=n.querySelector(".eae-cta-button").querySelectorAll(".eae-lottie");null!=a&&a.forEach((function(e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)}))};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-call-to-action.default",t)}))}(jQuery)},45:()=>{jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-cp-wrapper"),i=JSON.parse(n.getAttribute("data-settings"));return{eid:e,element:t,wrapper:n,data:i}},onInit:function(){const e=this,{wrapper:t,data:n}=this.getDefaultElements();if(e.getLottie(t),e.contentBoxSize(),null!=n){const i=t.querySelector(".eae-cp-canvas-wrapper"),a=(t,i)=>{t.forEach((t=>{if(t.isIntersecting){const i=t.target;i.classList.contains("trigger")||(i.classList.add("trigger"),e.getTrack(i,n))}}))};new IntersectionObserver(a,{root:null,rootMargin:"0px 0px -30% 0px"}).observe(i)}},onElementChange:function(e){"cp_track_width"!==e&&"cp_track_width"!==e||this.contentBoxSize()},getTrack:function(e,t){const n=this.getElementSettings(),i=e.querySelector(".eae-cp-canvas"),a=i.width/2,o=i.width*(t.progress_width/100)/2,r=i.width*(t.track_width/100)/2,s=e.querySelector(".eae-cp-procent"),l=i.getContext("2d"),c=t.start_angle,d=t.value,u=t.layout_type,p="full-circle"==u?360:180,f=i.width/2;let g=0,m=0;const h="percentage"==n.cp_value_type?"100":n.cp_max_value,v=t.animation_duration/(d/h*p);let y=0,w=0,b=0,S=0;S=o>=r?a-o/2:a-r/2,"full-circle"==u?(w=d/h*360,y=d,g=i.height/2,b="butt"==t.track_layout?"reverse"==t.animation_direction?Math.PI/180*(360-(c+90)):Math.PI/180*(360-(90-c)):"reverse"==t.animation_direction?Math.PI/180*(360-(c+90)+t.progress_width/2):Math.PI/180*(360-(90-c)-t.progress_width/2)):(w=d/h*180,g=i.height,y=d),l.lineCap=t.track_layout;let L=0,A="";if("gradient"==t.progress_color_type){const e=l.createConicGradient(b,f,g),n=t.progress_gradient_color;let i=0,a="";n.forEach((function(n){""!==n.cp_progress_gradient_color&&("full-circle"==u?(i=1*n.cp_progress_color_stop.size/100,"reverse"==t.animation_direction&&(i=1-i)):i="reverse"==t.animation_direction?1-.5*n.cp_progress_color_stop.size/100:.5*n.cp_progress_color_stop.size/100+.5,a=n.cp_progress_gradient_color,e.addColorStop(i,a))})),A=e}else A=t.progress_color;let q=0;if(null!==s||"yes"==t.hide_value&&""!=d){let e=setInterval((function(){if("full-circle"==u?("percentage"==n.cp_value_type?(L+=1,m=L/360*100):(L+=1,m=h*(L/360)),q=L,trackStartA=Math.PI/180*270,trackEndA=Math.PI/180*630,"reverse"==t.animation_direction?(progStartA=Math.PI/180*(360-(c+90)-L),progEndA=Math.PI/180*(360-(c+90))):(progStartA=Math.PI/180*(360-(90-c)),progEndA=Math.PI/180*(360-(90-c)+L)),"yes"!==t.hide_value&&(s.innerHTML=parseInt(m))):"half-circle"==u&&("percentage"==n.cp_value_type?(0!=d&&(L+=1),m=L/180*100):(0!=d&&(L+=1),m=h*(L/180*100)/100),q=L,trackStartA=1*Math.PI,trackEndA=0*Math.PI,"reverse"==t.animation_direction?(progEndA=Math.PI/180*720,progStartA=Math.PI/180*(360-L+360)):(progStartA=Math.PI/180*540,progEndA=Math.PI/180*(180+L)),"yes"!==t.hide_value&&(s.innerHTML=parseInt(m))),l.clearRect(0,0,i.width,i.height),""!==t.track_width&&0!==t.track_width&&(l.beginPath(),l.arc(f,g,S,trackStartA,trackEndA),l.strokeStyle=t.track_color,l.lineWidth=r,l.stroke()),""!=h&&0!=d&&""!==t.progress_width&&0!==t.progress_width&&(l.beginPath(),l.strokeStyle=A,l.lineWidth=o,l.arc(f,g,S,progStartA,progEndA)),l.stroke(),"full-circle"==u){for(;q<L+.99;)q.toFixed(2)==w&&(clearInterval(e),null!==s&&(s.innerHTML=d)),q+=.01;m>=y&&(clearInterval(e),null!==s&&(s.innerHTML=d))}else{for(;q<L+.99;)q.toFixed(2)==w&&(clearInterval(e),null!==s&&(s.innerHTML=d)),q+=.01;(m>=y||1==y)&&(clearInterval(e),null!==s&&(s.innerHTML=d))}0!=d&&""!=d||clearInterval(e)}),v)}},getLottie:function(e){if(isLottiePanel=e.querySelector(".eae-lottie"),null!=isLottiePanel){let e=JSON.parse(isLottiePanel.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanel,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}},contentBoxSize:function(){let e=this.getElementSettings(),t=e.cp_content_box_size,n=e.cp_track_width,i=e.cp_progress_width;const{wrapper:a,data:o}=this.getDefaultElements();let r=a.querySelector(".eae-cp-text-contain");if(null!=r){let e=0;n.size>=i.size?""!==n.size&&(e=n.size):""!==i.size&&(e=i.size);let a=e,s=e;r.style.width="calc("+t.size+"% - "+a+"%)",r.style.height="calc("+t.size+"% - "+s+"%)","half-circle"==o.layout_type&&(borderRadius=r.offsetHeight+"px "+r.offsetHeight+"px  0 0",r.style.borderRadius=borderRadius)}}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-circular-progress.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},234:()=>{},289:()=>{"use strict";!function(e){const t=function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t),i=n.querySelector(".eae-device-video-outer-wrapper"),a=n.querySelector(".orientation i"),o=n.querySelector(".eae-wrapper");if(n.querySelector(".device-content").hasAttribute("data-settings")){var r=e.find(".device-content"),s=r.find(".device-img-content"),l=r.data("settings"),c=r.find("img"),d=l.direction,u=l.reverse,p=null;let g=n.querySelector(".eae-device-wrapper");function m(){c.css("transform",("vertical"===d?"translateY":"translateX")+"( -"+p+"px)")}function h(){c.css("transform",("vertical"===d?"translateY":"translateX")+"(0px)")}function v(){p=g.classList.contains("device-iphone11")?"vertical"===d?c.height()-r.height():c.width()-2.5*r.width():"vertical"===d?c.height()-r.height():c.width()-2*r.width()}"scroll"===l.trigger?(r.addClass("eae-container-scroll"),"vertical"===d&&s.addClass("scroll-vertical")):("yes"===u&&r.imagesLoaded((function(){r.addClass("eae_scroll"),v(),m()})),"vertical"===d&&s.removeClass("eae-image-scroll-ver"),r.mouseenter((function(){v(),"yes"===u?h():m()})),r.mouseleave((function(){"yes"===u?m():h()})))}if(n.querySelectorAll(".device-img-content").forEach((e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&n.setDirection(-1)}})),null!=a||null!=a){function y(e,t){e.classList.toggle("rotate"),t.classList.toggle("landscape")}a.addEventListener("click",(function(e){y(a,o)}))}if(null!=i){i.getAttribute("data-video-type");let w=i.getAttribute("data-autoplay");i.addEventListener("click",(function(e){elementorFrontend.isEditMode()||f(this)})),"1"!=w||elementorFrontend.isEditMode()||new IntersectionObserver(((e,t)=>{e.forEach((e=>{e.isIntersecting&&f(e.target,"autoplay")}))}),{root:null,rootMargin:"0px 0px -300px 0px"}).observe(i)}function f(e,t="null"){let i=e.getAttribute("data-video-type"),a=e.querySelector(".eae-device-video-play"),o="",r="";if(n.querySelector(".device-text").style.visibility="hidden","hosted"!=i&&(o=a.getAttribute("data-src")),"hosted"==i&&(r=e.getAttribute("data-hosted-html")),"hosted"!=i){var s=document.createElement("iframe");s.classList.add("eae-video-iframe"),s.setAttribute("src",o),s.setAttribute("frameborder","0"),s.setAttribute("allowfullscreen","1"),s.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),a.innerHTML="",e.classList.contains(".eae-sticky-apply")||null==e.querySelector(".eae-video-display-details")||(e.querySelector(".eae-video-display-details").style.display="none"),a.append(s)}else if("hosted"==i&&null==a.querySelector(".eae-hosted-video")){a.innerHTML="";let e=JSON.parse(r);a.innerHTML+=e,a.querySelector("video").setAttribute("autoplay","autoplay"),a.querySelector("video").style.width="100%",a.querySelector("video").style.height="100%"}}};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-devices.default",t)}))}(jQuery)},482:()=>{!function(e){const t=function(t){const n=t.attr("data-id"),i=document.querySelector(".elementor-element-"+n);let a=t.find(".eae-faq-wrapper").data("settings");if("accordion"===a.faq_layout){let n=a.faq_trigger_action,i=a.faq_accordion_transition_speed,o=a.faq_accordion_toggle,r=t.find(".eae-faq-item-wrapper > .eae-faq-answer");t.find(".eae-faq-question").on(`${n}`,(function(t){if(t.preventDefault(),$this=e(this),"yes"!==o){if($this.hasClass("eae-faq-active")){if("click"===n)return!1;$this.removeClass("eae-faq-active"),$this.next(".eae-faq-answer").slideUp(i,"swing",(function(){e(this).prev().removeClass("eae-faq-active"),$this.attr("aria-expanded","false")}))}else r.hasClass("eae-faq-active")&&r.removeClass("eae-faq-active"),r.slideUp(i,"swing",(function(){e(this).prev().removeClass("eae-faq-active")})),$this.addClass("eae-faq-active"),$this.next(".eae-faq-answer").slideDown(i,"swing",(function(){e(this).prev().addClass("eae-faq-active"),$this.attr("aria-expanded","true")}));return!1}$this.hasClass("eae-faq-active")?($this.removeClass("eae-faq-active"),$this.attr("aria-expanded","false")):($this.addClass("eae-faq-active"),$this.attr("aria-expanded","true")),$this.next(".eae-faq-answer").slideToggle(i,"swing")}))}i.querySelector(".eae-faq-wrapper").querySelectorAll(".eae-faq-item-wrapper").forEach((e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&n.setDirection(-1)}}))};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-faq.default",t)}))}(jQuery)},867:()=>{!function(e){const t=function(t){const n=t.attr("data-id"),i=document.querySelector(".elementor-element-"+n).querySelector(".wta-eae-floating-image-wrapper");let a=i.querySelectorAll(".wts-eae-image.lottie-animation");i.querySelectorAll(".wts-eae-image").forEach((t=>{let n=t.getAttribute("data-settings"),i=JSON.parse(n),a="",o="";if(i.hasOwnProperty("isRotate")&&"yes"==i.isRotate&&(i.rotateX,i.rotateY,i.rotateZ,a="rotateX("+i.rotateX.from+"deg) rotateY("+i.rotateY.from+"deg) rotateZ("+i.rotateZ.from+"deg)",o="rotateX("+i.rotateX.to+"deg) rotateY("+i.rotateY.to+"deg) rotateZ("+i.rotateZ.to+"deg)"),i.hasOwnProperty("isTranslate")&&"yes"==i.isTranslate){let e=i.translateX,t=i.translateY;a=a+"translateX("+e.from+"px) translateY("+t.from+"px)",o=o+"translateX("+e.to+"px) translateY("+t.to+"px)"}if(i.hasOwnProperty("isScale")&&"yes"==i.isScale){let e=i.scaleX,t=i.scaleZ;a=a+" scaleX("+e.from+") scaleY("+t.from+")",o=o+"scaleX("+e.to+") scaleY("+t.to+")"}let r="crazy"+Math.random().toString(36).substring(2,7);jQuery.keyframe.define({name:r,from:{transform:a},to:{transform:o}}),e(t).playKeyframe({name:r,duration:i.Duration+"ms",timingFunction:"linear",delay:(""==i.Delay?0:i.Delay)+"ms",iterationCount:"infinite",direction:i.animationDirection,fillMode:"forwards",complete:function(){}})})),a.forEach((e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}))};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-floating-element.default",t)}))}(jQuery)},839:(e,t,n)=>{"use strict";var i=n(305);jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),i=n.querySelector(".eae-rw-container");return{eid:e,scope:t,element:n,wrapper:i}},onInit:function(){const e=this,{eid:t,scope:n,element:a,wrapper:o}=this.getDefaultElements(),{settings:r}=this.getDefaultSettings();if(null!=o){if(o.classList.contains("eae-rw-swiper")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new i.Y(e,t,n)}e.getLottie(o)}},getLottie:function(e){const t=e.querySelectorAll(".eae-lottie");null!=t&&t.forEach((function(e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)}))}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-google-reviews.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},404:()=>{!function(e){const t=function(e){const t=e.attr("data-id"),a=document.querySelector(".elementor-element-"+t).querySelector(".eae-img-acc-wrapper"),o=a.getAttribute("data-items");a.style.setProperty("--eae-panels",Number(o)-1);const r=a.getAttribute("data-action");a.querySelectorAll(".eae-img-panel").forEach((e=>{if("hover"==r?(e.addEventListener("mousemove",(function(t){this.classList.contains("active")||(n(a),e.classList.add("active"),i(a))})),e.addEventListener("mouseleave",(function(t){e.classList.remove("active"),i(a)}))):e.addEventListener("click",(function(t){this.classList.contains("active")||(n(a),e.classList.add("active"))})),isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}})),window.addEventListener("resize",(function(){let e=a.getAttribute("data-stacked");this.window.innerWidth<=e?a.classList.add("enable-stacked"):a.classList.remove("enable-stacked")}))};function n(e){e.querySelectorAll(".eae-img-panel").forEach((e=>{e.classList.remove("active")}))}function i(e){let t=e.getAttribute("data-defult-panel");e.querySelectorAll(".eae-img-panel.active").length>0||e.querySelectorAll(".eae-img-panel")[t-1].classList.add("active")}e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-accordion.default",t)}))}(jQuery)},361:()=>{jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-ih-wrapper");return{eid:e,element:t,wrapper:n,settings:this.getElementSettings()}},onInit:function(){const{wrapper:e,settings:t}=this.getDefaultElements(),n=e.querySelectorAll(".eae-ih-marker"),i=e.querySelectorAll(".eae-ih-tooltip"),a=t.tooltip_animation_type,o=e.querySelectorAll(".eae-ih-tooltip-show"),r=e.querySelectorAll(".eae-ih-rep-tooltip-show");this.getLottie();const s=[];n.forEach((function(e,l){const c=i[l].innerHTML;s[l]=tippy(e,{content:c,appendTo:"parent",placement:"auto",allowHTML:!0,hideOnClick:!1,arrow:!0,trigger:t.trigger,maxWidth:"none",onCreate:function(t){t.popper.classList.add("eae-ih-add-tooltip"),t.popper.childNodes.forEach((function(e){e.classList&&(e.classList.add("animated"),e.classList.add("eae-ih-tooltip-animtion"),e.classList.add(a))}));const i=t.popper.querySelector(".eae-ih-tooltip-prev");null!=i&&i.addEventListener("click",(function(){const e=this.getAttribute("data-tooltip-id")-1;s[e].hide(),s[e-1].show()}));const r=t.popper.querySelector(".eae-ih-tooltip-next");null!=r&&r.addEventListener("click",(function(){const e=this.getAttribute("data-tooltip-id")-1;s[e].hide(),s[e+1].show()}));const c=t.popper.querySelector(".eae-ih-end-tour-btn");null!=c&&c.addEventListener("click",(function(){const t=this.getAttribute("data-tooltip-id");s[t-1].hide(),o.length>0&&elementorFrontend.isEditMode()&&s[0].show(),e.classList.contains("eae-ih-rep-tooltip-show")&&s[l].show()}));const d=t.popper.querySelector(".eae-ih-tooltip-close-icon");null!=d&&d.addEventListener("click",(function(){const t=this.getAttribute("data-tooltip-id");s[t-1].hide(),o.length>0&&elementorFrontend.isEditMode()&&s[0].show(),e.classList.contains("eae-ih-rep-tooltip-show")&&s[l].show()})),0==l&&null!=i&&(i.style.display="none"),l==n.length-1&&null!=r&&(r.style.display="none")}}),e.addEventListener("click",(function(){s.forEach(((t,n)=>{if(o.length>0||r.length>0){const t=this.getAttribute("data-marker")-1;e.classList.contains("eae-ih-tooltip-show")||e.classList.contains("eae-ih-rep-tooltip-show")?s[t]&&s[t].show():s[t]&&s[t].hide()}0==o.length&&0==r.length&&n!==l&&t.hide(),elementorFrontend.isEditMode()||n!==l&&t.hide()}))}))})),o.length>0&&s[0].show(),r.length>0&&r.forEach((e=>{const t=e.getAttribute("data-marker")-1;s[t]&&s[t].show()}))},getLottie:function(){const{wrapper:e}=this.getDefaultElements();e.querySelectorAll(".eae-lottie").forEach((function(e){if(null!=e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,appendTo:"parent",path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)}}))}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-hotspot.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},537:()=>{!function(e){const t=function(e){var t=e.find(".wts-eae-image-scroll"),n=(t.find(".image-scroll-wrapper::before"),t.find(".image-scroll-wrapper")),i=t.data("settings"),a=t.find("img"),o=i.direction,r=i.reverse,s=null;const l=e.attr("data-id");var c=document.querySelector(".elementor-element-"+l).querySelector(".eae-lottie-animation");if(null!=c){let e=JSON.parse(c.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:c,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}function d(){a.css("transform",("vertical"===o?"translateY":"translateX")+"( -"+s+"px)")}function u(){a.css("transform",("vertical"===o?"translateY":"translateX")+"(0px)")}function p(){s="vertical"===o?a.height()-t.height():a.width()-t.width()}"scroll"===i.trigger?(t.addClass("eae-container-scroll"),"vertical"===o&&n.addClass("eae-image-scroll-ver")):("yes"===r&&t.imagesLoaded((function(){t.addClass("eae_scroll"),p(),d()})),"vertical"===o&&n.removeClass("eae-image-scroll-ver"),t.mouseenter((function(){p(),"yes"===r?u():d()})),t.mouseleave((function(){"yes"===r?d():u()})))};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-scroll.default",t)}))}(jQuery)},210:()=>{!function(e){const t=function(e){const t=e.attr("data-id");document.querySelector(".elementor-element-"+t).querySelector(".eae-image-stack").querySelectorAll(".img-stack-item.eae-is-ct-lottie-animation").forEach((e=>{if(isLottiePanle=e.querySelector(".eae-lottie"),null!=isLottiePanle){let e=JSON.parse(isLottiePanle.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanle,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}}))};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-image-stack.default",t)}))}(jQuery)},898:()=>{jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-ig-wrapper");return{eid:e,element:t,wrapper:n}},onInit:function(){const{element:e,wrapper:t}=this.getDefaultElements(),{settings:n}=this.getDefaultSettings();isLottiePanel=t.querySelectorAll(".eae-ig-lottie"),null!=isLottiePanel&&isLottiePanel.forEach((e=>{let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)}));let i="",a="";const o=e.querySelectorAll(".eae-ig-item-wrapper");o.forEach((e=>{e.classList.contains("eae-ig-active-item")&&(t.classList.add("eae-ig-active"),e.classList.contains("slide")?this.infoSlideDown(e):this.infoFadeIn(e),i=e,a=e)})),e.querySelectorAll(".eae-ig-close-button").forEach((e=>{e.addEventListener("click",(()=>{o.forEach((e=>{e.classList.contains("eae-ig-active-item")&&(this.cloAnimation(e,n.description_animtion_type),e.classList.remove("eae-ig-active-item"),t.classList.remove("eae-ig-active"),i="",a="")}))}))})),"button"==n.description_trigger_on?e.querySelectorAll(".eae-ig-link").forEach((e=>{e.addEventListener("click",(()=>{if(o.forEach((e=>{e.classList.contains("eae-ig-active-item")&&(this.cloAnimation(e,n.description_animtion_type),e.classList.remove("eae-ig-active-item"),t.classList.remove("eae-ig-active"))})),i!==e){let o=e.parentElement.parentElement;o.classList.add("eae-ig-active-item"),t.classList.add("eae-ig-active"),this.opAnimation(o,n.description_animtion_type),i=e,a=""}else i=""}))})):o.forEach((e=>{e.addEventListener("click",(()=>{o.forEach((e=>{e.classList.contains("eae-ig-active-item")&&(e.classList.remove("eae-ig-active-item"),t.classList.remove("eae-ig-active"),this.cloAnimation(e,n.description_animtion_type))})),a!=e?(e.classList.add("eae-ig-active-item"),t.classList.add("eae-ig-active"),this.opAnimation(e,n.description_animtion_type),a=e):a="",i=""}))}))},opAnimation:function(e,t){"slide"==t?setTimeout(this.infoSlideDown,400,e):setTimeout(this.infoFadeIn,400,e)},cloAnimation:function(e,t){"slide"==t?this.infoSlideUp(e):this.infoFadeOut(e)},infoSlideUp:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).slideUp()},infoSlideDown:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).slideDown()},infoFadeIn:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).fadeIn()},infoFadeOut:function(e){let t=e.nextSibling.nextElementSibling;jQuery(t).fadeOut()}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-info-group.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},862:(e,t,n)=>{"use strict";var i=n(305);jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{selectors:{container:".eae-post-collection",item:".eae-insta-post",grid_gap:".grid-gap",swiper_wrapper:".eae-swiper-outer-wrapper"},settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.getSettings("selectors");return{container:this.$element.find(e.container),items:this.$element.find(e.item),grid_gap:this.$element.find(e.grid_gap),swiper_wrapper:this.$element.find(e.swiper_wrapper)}},onInit:function(){const{container:e}=this.getDefaultElements(),{settings:t}=this.getSettings(),n=this;"masonry"==t.insta_feed_layout&&e.imagesLoaded().done((function(){n.runMasonry()})),window.addEventListener("resize",this.runMasonry.bind(this)),this.runSwiper(),this.runLightbox()},onElementChange:function(e){"insta_feed_row_gap"===e&&this.runMasonry()},runMasonry:function(){const{settings:e}=this.getSettings();if("masonry"!=e.insta_feed_layout)return;const{container:t,items:n,grid_gap:i}=this.getDefaultElements();var a,o,r=[],s=0;s=t.position().top,a=t.css("grid-template-columns").split(" ").length,o=i.width(),s+=parseInt(t.css("margin-top"),10),n.each((function(e){var t=Math.floor(e/a),n=jQuery(this),i=n[0].getBoundingClientRect().height+o;if(t){var l=n.position(),c=e%a,d=l.top-s-r[c];d*=-1,n.css("margin-top",d+"px"),r[c]+=i}else r.push(i),n.css("margin-top",0);n.css("visibility","visible")}))},runSwiper:function(){const{settings:e}=this.getSettings();if("carousel"!=e.insta_feed_layout)return;const t=this.$element.data("id"),{swiper_wrapper:n}=this.getDefaultElements(),a=n.data("swiper-settings");new i.Y(a,t)},runLightbox:function(){const{container:e}=this.getDefaultElements();if(!e.hasClass("lightbox"))return;var t={selector:".eae-insta-post-link"};const n=this.$element.data("id");var i=document.getElementById("insta-grid-"+n),a=JSON.parse(e.attr("data-lg-settings"));t={...t,...a};var o={plugins:[lgVideo,lgShare,lgZoom,lgHash,lgRotate,lgFullscreen,lgThumbnail]};t={...t,...o},lightGallery(i,t)}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-instagram-feed.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},994:()=>{jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=document.querySelector(".elementor-element-"+e),n=t.querySelector(".eae-toc-wrapper");return{eid:e,element:t,wrapper:n}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),n=this,i=e.anchors_by_tags.join(",");this.getLottie();let a="";a=null!=e.included_container&&""!=e.included_container?document.querySelector(e.included_container):document.querySelector(".elementor");let o=[],r=[];if(""!=i){const s=a.querySelectorAll(i);let l=0;s.forEach((function(e,t){e.classList.contains("eae-toc-heading")&&l++,0==l?o[t]=e:l=0})),o=this.excludeHeadings(o),this.addAnchors(o),o.forEach((function(e,t){r.push({tag:e.nodeName.slice(1),text:e.textContent,class:e.className})})),"yes"==e.hierarchical_view?r=this.addLevel(r):r.forEach((function(e){e.level=0}));let c=this.getHeadings(0,r,0);if(""!=c.html&&(t.querySelector(".eae-toc-headings-wrapper").innerHTML=c.html),"yes"==e.collapse_box&&this.minimizeBox(t),"yes"==e.toc_sticky&&this.stickyToc(),"yes"==e.follow_heading){let i=t.querySelectorAll(".eae-toc-heading-anchor-wrapper"),a=[],o="";o=""!=e.follow_heading_offset.size?e.follow_heading_offset.size+e.follow_heading_offset.unit:"50%",""!=i&&(i.forEach((function(e,t){a[t]=document.querySelector("#eae-toc-heading-anchor-"+t)})),a.forEach((function(e,t){null!=e&&n.followHeading(e,t,i,o)})))}}this.getScrollEffect()},getScrollEffect:function(){let e=document.querySelector("html");e.classList.contains("eae-toc-scroll")||e.classList.add("eae-toc-scroll")},getLottie:function(){const{wrapper:e}=this.getDefaultElements();if(isLottiePanel=e.querySelector(".eae-lottie"),null!=isLottiePanel){let e=JSON.parse(isLottiePanel.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:isLottiePanel,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}},addAnchors:function(e){let t=0;e.forEach((function(e,n){newNode="<span id='eae-toc-heading-anchor-"+t+"'></span>",e.insertAdjacentHTML("beforebegin",newNode),t++}))},addLevel:function(e){const{settings:t}=this.getDefaultSettings();return e.forEach((function(t,n){t.level=0;for(var i=n-1;i>=0;i--){let n=e[i];if(n.tag<=t.tag){t.level=n.level,n.tag<t.tag&&t.level++;break}}})),e},excludeHeadings:function(e){const{settings:t}=this.getDefaultSettings();if(""!==t.anchors_by_selector&&void 0!==t.anchors_by_selector){let n=t.anchors_by_selector.split(",");return e.filter((e=>{for(flag=0,i=0;i<n.length;i++){if(e.class==n[i]||null!=e.closest(n[i])){flag=0;break}flag++}return 0!=flag?item=e:item="",item}))}return e},getHeadings:function(e,t,n){const{settings:i}=this.getDefaultSettings();let a="",o='<div class="eae-toc-heading-anchor-wrapper">',r="</div>";if(0!=t.length){a="<ul>";for(var s=n;s<t.length&&!(e>t[s].level);s++)if(e===t[s].level){let l="<a class='eae-toc-heading-anchor eae-toc-heading-anchor-"+s+"' href='#eae-toc-heading-anchor-"+s+"'>"+t[s].text+"</a></div>";if(l="bullets"==i.marker_type?o+'<i class="'+i.icon.value+'"></i>'+l+r:o+l+r,a+="<li>"+l,n++,nextItem=t[n],null!=nextItem&&e<nextItem.level){let e=this.getHeadings(nextItem.level,t,n);a+=e.html,n=e.listItemIn}a+="</li>"}a+="</ul>"}else a="No headings were found on this page.";return{html:a,listItemIn:n}},minimizeBox:function(e){const{settings:t}=this.getDefaultSettings();let n=e.querySelector(".eae-toc-heading-container"),i=e.querySelector(".eae-toc-headings-wrapper");1440==t.toc_collapse_devices&&1440==screen.width&&n.classList.add("eae-toc-active"),window.addEventListener("resize",(function(){let e=t.toc_collapse_devices;this.window.innerWidth<e?(jQuery(i).slideUp(),n.classList.remove("eae-toc-active")):(jQuery(i).slideDown(),n.classList.add("eae-toc-active"))})),n.classList.contains("eae-toc-active")&&jQuery(i).slideDown(),n.addEventListener("click",(e=>{n.classList.contains("eae-toc-active")?(jQuery(i).slideUp(),n.classList.remove("eae-toc-active")):(jQuery(i).slideDown(),n.classList.add("eae-toc-active")),i.classList.contains("eae-toc-hide")&&i.classList.remove("eae-toc-hide")}))},stickyToc:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:n}=this.getDefaultElements(),i=t.querySelector(".eae-toc-heading-container"),a=this;let o=0,r=this.offsetCal();if("yes"==e.toc_sticky)if(this.stickyDevices(),new Waypoint({element:t,handler:function(e){t.classList.contains("eae-toc-sticky-type-on-place")&&("down"==e?t.classList.contains("eae-toc-sticky")||t.classList.add("eae-toc-sticky"):t.classList.contains("eae-toc-sticky")&&t.classList.remove("eae-toc-sticky"))},offset:"1%"}),"yes"==e.toc_stay_in_column){const s=new Waypoint({element:n.parentElement,handler:function(i,r){t.classList.contains("eae-toc-sticky-type-on-place")&&("down"==i?(t.classList.contains("eae-toc-sticky")&&t.classList.remove("eae-toc-sticky"),n.classList.contains("eae-toc-fix")||n.classList.add("eae-toc-fix")):"up"==i&&(n.classList.contains("eae-toc-fix")&&n.classList.remove("eae-toc-fix"),t.classList.contains("eae-toc-sticky")||t.classList.add("eae-toc-sticky"))),"yes"==e.collapse_box&&0==o&&(s.destroy(),a.addParentWaypoint(),o++)},offset:"-"+r+"px"});i.classList.contains("eae-toc-active")&&"yes"==e.collapse_box&&0==o&&(s.destroy(),setTimeout(a.addParentWaypoint,400),o++)}else"yes"!=e.collapse_box&&(t.parentElement.style.height=t.clientHeight+"px")},addParentWaypoint:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:n}=this.getDefaultElements(),i=this;let a=0,o=this.offsetCal();const r=new Waypoint({element:n.parentElement,handler:function(o){t.classList.contains("eae-toc-sticky-type-on-place")&&("down"==o?(t.classList.contains("eae-toc-sticky")&&t.classList.remove("eae-toc-sticky"),n.classList.contains("eae-toc-fix")||n.classList.add("eae-toc-fix")):"up"==o&&(n.classList.contains("eae-toc-fix")&&n.classList.remove("eae-toc-fix"),t.classList.contains("eae-toc-sticky")||t.classList.add("eae-toc-sticky")),"yes"==e.collapse_box&&0==a&&(r.destroy(),i.addParentWaypoint(),a++))},offset:"-"+o+"px"});return r},offsetCal:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t}=this.getDefaultElements(),{element:n}=this.getDefaultElements();let i=n.parentElement.clientHeight-t.clientHeight;return"top"==e.vertical_alignment?""!=e.top_spacing.size&&(i-=e.top_spacing.size):"bottom"==e.vertical_alignment&&""!==e.bottom_spacing.size&&(i-=screen.height-t.clientHeight-e.bottom_spacing.size),i},stickyDevices:function(){const{wrapper:e}=this.getDefaultElements(),{settings:t}=this.getDefaultSettings(),n=t.toc_sticky_devices;e.classList.contains("eae-toc-sticky-type-on-place")&&e.classList.remove("eae-toc-sticky-type-on-place"),e.classList.contains("eae-toc-sticky")&&e.classList.remove("eae-toc-sticky"),n.forEach((function(t){t==elementorFrontend.getCurrentDeviceMode()&&(e.classList.contains("eae-toc-sticky-type-on-place")||e.classList.add("eae-toc-sticky-type-on-place"))})),window.addEventListener("resize",(function(){let t=elementorFrontend.getCurrentDeviceMode();e.classList.contains("eae-toc-sticky-type-on-place")&&e.classList.remove("eae-toc-sticky-type-on-place"),e.classList.contains("eae-toc-sticky")&&e.classList.remove("eae-toc-sticky"),n.forEach((function(n){n==t&&(e.classList.contains("eae-toc-sticky-type-on-place")||e.classList.add("eae-toc-sticky-type-on-place"))}))}))},followHeading:function(e,t,n,i){let a="";new Waypoint({element:document.getElementById(e.id),handler:function(t){n.forEach((function(t,n){a=t.querySelector(".eae-toc-heading-anchor"),a.classList.contains(e.id)?t.classList.contains("eae-toc-active-heading")||t.classList.add("eae-toc-active-heading"):t.classList.contains("eae-toc-active-heading")&&t.classList.remove("eae-toc-active-heading")}))},offset:i})}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-table-of-content.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},784:(e,t,n)=>{"use strict";var i=n(305);!function(e){const t=function(e){if(e.find(".eae-tm-swiper-container").hasClass("eae-swiper")){const t=e.data("id"),n=e.find(".eae-tm-swiper-container").data("swiper-settings");new i.Y(n,t,e)}};e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-team-member.default",t)}))}(jQuery)},793:(e,t,n)=>{"use strict";var i=n(305);jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),i=n.querySelector(".eae-testimonial-wrapper");return{eid:e,element:n,wrapper:i,scope:t}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t,scope:n}=this.getDefaultElements();let{element:a}=this.getDefaultElements();const{eid:o}=this.getDefaultElements(),r=t.querySelectorAll(".eae-additional-image.eae-preset-2"),s=(t.querySelectorAll(".eae-ts-content-section"),parseInt(t.getAttribute("data-stacked")));if(t.classList.contains("eae-testimonial-slider")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new i.Y(e,o,n)}window.addEventListener("resize",(function(){this.window.innerWidth<=s?r.forEach((e=>{e.style.display="none"})):r.forEach((e=>{e.style.display="flex"}))}))}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-testimonial.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},393:()=>{!function(e){let t=0,n=0;const i=function(e){const t=e.attr("data-id"),i=document.querySelector(".elementor-element-"+t),r=i.querySelector(".eae-video-outer-wrapper");if(n=r.getBoundingClientRect().top+window.scrollY,null!=r){let e=r.getAttribute("data-video-type"),t="",n="",l="";r.hasAttribute("data-video-sticky")&&(t=r.getAttribute("data-video-sticky")),r.hasAttribute("data-autoplay")&&(n=r.getAttribute("data-autoplay")),r.hasAttribute("data-lightbox")&&(l=r.getAttribute("data-lightbox"));var s=i.querySelector(".eae-lottie-animation");if("yes"==t){let e=r.getAttribute("data-preview-sticky");if(elementorFrontend.isEditMode()&&"yes"==e||!elementorFrontend.isEditMode()){a(r),document.addEventListener("scroll",(()=>{window.requestAnimationFrame?window.requestAnimationFrame((()=>{a(r)})):a(r)}));const e=r.querySelector(".eae-video-sticky-close");null!=e&&e.addEventListener("click",(function(e){e.stopPropagation(),r.classList.remove("eae-sticky-apply"),r.classList.add("eae-sticky-hide")}))}}if(null!=s){let e=JSON.parse(s.getAttribute("data-lottie-settings")),t=lottie.loadAnimation({container:s,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&t.setDirection(-1)}if("yes"!=l&&r.addEventListener("click",(function(e){elementorFrontend.isEditMode()||o(this)})),"1"!=n||elementorFrontend.isEditMode()||new Waypoint({element:r,handler:function(e){"down"==e&&o(r)},offset:"bottom-in-view"}),"yes"==l){let t=r.querySelector(".eae-video-wrappper").getAttribute("data-gallery-id");null!=t&&""!=t||(t="1");let n=[lgVideo,lgHash];"yes"==r.querySelector(".eae-video-wrappper").getAttribute("data-share")&&n.push(lgShare),"yes"==r.querySelector(".eae-video-wrappper").getAttribute("data-fullscreen")&&n.push(lgFullscreen);let i={selector:".eae-video-play",download:!1,counter:!1,galleryId:t,autoplayFirstVideo:!0,plugins:n,videojs:!0,videojsOptions:{muted:!0}};"hosted"!=e?i[`${e}PlayerParams`]=JSON.parse(r.querySelector(".eae-video-wrappper").getAttribute("data-params")):i.videojsOptions=JSON.parse(r.querySelector(".eae-video-wrappper").getAttribute("data-params")),elementorFrontend.isEditMode()||lightGallery(r,i)}}};function a(e){e.getBoundingClientRect().top;let i=window.scrollY;window.scrollY+150>=n?(e.classList.remove("eae-sticky-hide"),e.classList.add("eae-sticky-apply"),null!=e.querySelector(".eae-video-display-details")&&(e.querySelector(".eae-video-display-details").style.display="block")):(e.classList.remove("eae-sticky-apply"),e.classList.add("eae-sticky-hide"),null!=e.querySelector(".eae-video-display-details")&&(e.querySelector(".eae-video-display-details").style.display="none")),t=i<=0?0:i}function o(e){let t=e.getAttribute("data-video-type"),n=e.querySelector(".eae-video-play"),i="",a="";if("hosted"!=t&&(i=n.getAttribute("data-src")),"hosted"==t&&(a=e.getAttribute("data-hosted-html")),e.querySelector("iframe"),"hosted"!=t){var o=document.createElement("iframe");o.classList.add("eae-video-iframe"),o.setAttribute("src",i),o.setAttribute("frameborder","0"),o.setAttribute("allowfullscreen","1"),o.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),n.innerHTML="",e.classList.contains(".eae-sticky-apply")||null==e.querySelector(".eae-video-display-details")||(e.querySelector(".eae-video-display-details").style.display="none"),n.append(o)}else if("hosted"==t&&null==n.querySelector(".eae-hosted-video")){n.innerHTML="";let e=JSON.parse(a);n.innerHTML+=e;let t=n.querySelector("video");t.setAttribute("autoplay","autoplay"),n.hasAttribute("data-video-downaload")&&t.setAttribute("controlslist","nodownload"),n.hasAttribute("data-controls")&&t.setAttribute("controls",""),n.querySelector("video").style.width="100%",n.querySelector("video").style.height="100%"}}e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-video-box.default",i)}))}(jQuery)},322:(e,t,n)=>{"use strict";var i=n(305);!function(e){const t=function(e){const t=e.attr("data-id"),a=document.querySelector(".elementor-element-"+t),o=a.querySelector(".eae-vg-video-container");if(null!==o){const t=o.querySelectorAll(".eae-vg-element-wrapper");if(o.querySelectorAll(".eae-vg-element-wrapper"),elementorFrontend.isEditMode()||o.classList.contains("lightbox")||function(e){e.querySelectorAll(".eae-vg-element").forEach((function(e,t){e.addEventListener("click",(function(t){if(e.classList.remove("eae-vg-image-overlay"),e.getAttribute("data-video-url"),"hosted"!=e.getAttribute("data-video-type")){let t=e.getAttribute("data-video-url");e.innerHTML="";var n=document.createElement("iframe");n.classList.add("eae-vg-video-iframe"),n.setAttribute("src",t),n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen","1"),n.setAttribute("allow","accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"),e.append(n)}else if(null==e.querySelector(".eae-hosted-video")){let t=e.getAttribute("data-hosted-html");e.innerHTML="";let n=JSON.parse(t);e.innerHTML+=n;let i=e.querySelector("video");i.setAttribute("autoplay","autoplay"),e.hasAttribute("data-video-downaload")&&i.setAttribute("controlslist","nodownload"),e.hasAttribute("data-controls")&&i.setAttribute("controls","")}}))}))}(o),function(e){e.forEach((function(e,t){const n=e.querySelector(".eae-vg-element");if(null!==n){let e=n.querySelector(".eae-lottie");if(null!=e){let t=JSON.parse(e.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:e,path:t.url,renderer:"svg",loop:t.loop});1==t.reverse&&n.setDirection(-1)}}}))}(t),e.find(".eae-vg-wrapper").hasClass("eae-vg-filter")){const t=a.querySelector(".eae-vg-filter-button-container");if(t.querySelectorAll(".eae-vg-filter-tab").length>1){const i=t.querySelectorAll(".eae-filter-button"),r=o.querySelectorAll(".eae-vg-element-wrapper"),s=t.querySelector(".eae-vg-dropdown-tab");let l=t.querySelector(".eae-vg-active-button");s.querySelectorAll(".eae-vg-filters-item").forEach((function(e){let t=e.querySelector(".eae-filter-button");l.getAttribute("data-filter")==t.getAttribute("data-filter")&&t.classList.add("eae-vg-active-button")})),i.forEach((function(t,a){t.classList.contains("eae-vg-active-button")&&r.forEach((function(e){"all"==t.getAttribute("data-filter")||e.classList.contains(t.getAttribute("data-filter"))?e.classList.add("eae-vg-active"):e.classList.add("eae-vg-filter-hidden")})),t.addEventListener("click",(function(a){r.forEach((function(e){e.classList.contains("eae-vg-filter-hidden")&&e.classList.remove("eae-vg-filter-hidden"),e.classList.contains("eae-vg-active")&&e.classList.remove("eae-vg-active")})),r.forEach((function(e){"all"==t.getAttribute("data-filter")?e.classList.contains("eae-vg-active")||(e.classList.add("transit-in"),setTimeout(n,500,e)):(e.classList.contains("eae-vg-active")&&e.classList.remove("eae-vg-active"),e.classList.contains(t.getAttribute("data-filter"))&&(e.classList.add("transit-in"),setTimeout(n,500,e)),function(e,t){t.forEach((function(t){t.classList.contains(e)||(t.classList.add("transit-out"),function(e){e.classList.add("eae-vg-filter-hidden"),e.classList.remove("transit-out"),e.classList.contains("eae-vg-active")&&e.classList.remove("eae-vg-active")}(t))}))}(t.getAttribute("data-filter"),r))})),i.forEach((function(e){e.classList.contains("eae-vg-active-button")&&e.classList.remove("eae-vg-active-button")})),t.classList.add("eae-vg-active-button"),s.querySelectorAll(".eae-vg-filters-item").forEach((function(e){let n=e.querySelector(".eae-filter-button");t.getAttribute("data-filter")==n.getAttribute("data-filter")&&n.classList.add("eae-vg-active-button")})),function(e){const t=e.attr("data-id"),n=document.querySelector(".elementor-element-"+t).querySelector(".eae-vg-filter-button-container").querySelector(".eae-vg-filter-tab").querySelector(".eae-vg-filter-dropdown");let i="";if(null!=n&&(i=n.querySelector(".eae-vg-active-button")),null==i){let e=n.getAttribute("data-button-text");n.querySelector(".eae-vg-dropdown-filter-text").textContent=e,n.classList.contains("eae-vg-active-button")&&n.classList.remove("eae-vg-active-button")}}(e)}))}));const c=a.querySelector(".eae-vg-wrapper"),d=c.querySelectorAll(".eae-vg-filter-tab");let u="";window.addEventListener("resize",(function(){let e=c.getAttribute("data-stacked");this.window.innerWidth<=e?d.forEach((function(e){e.classList.contains("eae-vg-dropdown-tab")?(e.classList.add("enable-vg-dropdown-layout"),e.classList.remove("disable-vg-dropdown-layout")):e.classList.add("disable-vg-dropdown-layout")})):d.forEach((function(e){if(e.classList.contains("eae-vg-dropdown-tab"))e.classList.add("disable-vg-dropdown-layout"),e.classList.remove("enable-vg-dropdown-layout");else{e.classList.remove("disable-vg-dropdown-layout");let t=e.querySelector(".eae-vg-collapse");null!=t&&t.querySelectorAll(".eae-vg-filters-item").forEach((function(e){let n=e.querySelector(".eae-vg-active-button");if(null!=n){let e=n.textContent;t.querySelector(".eae-vg-dropdown-filter-text").textContent=e,t.classList.contains("eae-vg-active-button")||t.classList.add("eae-vg-active-button")}}))}}));const t=c.querySelector(".eae-vg-dropdown-tab");let n=t.querySelector(".eae-vg-filter-dropdown");p=t.querySelectorAll(".eae-vg-filters-item"),p.forEach((function(e){let t=e.querySelector(".eae-vg-active-button");if(null!=t){let e=t.textContent;u.querySelector(".eae-vg-dropdown-filter-text").textContent=e,n.classList.add("eae-vg-active-button")}}))})),d.forEach((function(e){e.classList.contains("eae-vg-dropdown-tab")&&(u=e.querySelector(".eae-vg-filter-dropdown"))})),u.classList.remove("eae-vg-visible");let p=u.querySelector(".eae-vg-collaps-item-list").querySelectorAll(".eae-vg-filters-item");const f=e=>{e.stopPropagation(),e.preventDefault(),u.classList.toggle("eae-vg-visible"),p.forEach((function(e){let t="";if(t=e.querySelector(".eae-vg-active-button"),null!=t){let e=t.textContent;u.querySelector(".eae-vg-dropdown-filter-text").textContent=e,function(e,t){t.forEach((function(t){t.classList.contains("disable-vg-dropdown-layout")&&t.querySelectorAll(".eae-filter-button").forEach((function(t){e.getAttribute("data-filter")==t.getAttribute("data-filter")&&t.classList.add("eae-vg-active-button")}))}))}(t,d),u.classList.add("eae-vg-active-button")}}))};u.removeEventListener("click",f),u.addEventListener("click",f)}}if(!elementorFrontend.isEditMode()&&o.classList.contains("lightbox")){var r={selector:".eae-vg-element"},s=JSON.parse(o.getAttribute("data-lg-settings"));r={...r,...s};var l={plugins:[lgVideo,lgShare,lgHash,lgFullscreen,lgThumbnail]};r={...r,...l},lightGallery(o,r)}if(e.find(".eae-vg-wrapper").hasClass("eae-vg-filter")){let e="",t={};e=a.querySelector(".eae-vg-collapse"),t.dropDown=e,function(e={}){let t=e.dropDown;if(null!=t){t.classList.remove("eae-vg-visible");let e=t.querySelector(".eae-vg-collaps-item-list").querySelectorAll(".eae-vg-filters-item");const n=n=>{n.stopPropagation(),n.preventDefault(),t.classList.toggle("eae-vg-visible"),e.forEach((function(e){let n="";if(n=e.querySelector(".eae-vg-active-button"),null!=n){let e=n.textContent;t.querySelector(".eae-vg-dropdown-filter-text").textContent=e,t.classList.add("eae-vg-active-button")}}))};t.removeEventListener("click",n),t.addEventListener("click",n)}}(t)}if(e.find(".eae-vg-wrapper").hasClass("eae-swiper-outer-wrapper")){const t=e.data("id"),n=e.find(".eae-swiper-outer-wrapper").data("swiper-settings");new i.Y(n,t)}}};function n(e){e.classList.add("eae-vg-active"),e.classList.remove("transit-in"),e.classList.contains("eae-vg-filter-hidden")&&e.classList.remove("eae-vg-filter-hidden")}e(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/eae-video-gallery.default",t)}))}(jQuery)},82:(e,t,n)=>{"use strict";var i=n(305);jQuery(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),i=n.querySelector(".eae-woo-cat-wrapper");return{eid:e,element:n,wrapper:i,scope:t}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t,scope:n}=this.getDefaultElements();let{element:a}=this.getDefaultElements();const{eid:o}=this.getDefaultElements();let r=t.querySelectorAll(".eae-category-card");if(t.classList.contains("eae-wp-slider")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new i.Y(e,o,n)}window.addEventListener("resize",(function(){let e=t.getAttribute("data-stacked");this.window.innerWidth<=e?t.classList.add("enable-stacked"):t.classList.remove("enable-stacked")})),r.forEach((e=>{let t=e.querySelector(".eae-lottie");if(null!=t){let e=JSON.parse(t.getAttribute("data-lottie-settings")),n=lottie.loadAnimation({container:t,path:e.url,renderer:"svg",loop:e.loop});1==e.reverse&&n.setDirection(-1)}}))},onElementChange:function(e){}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-woo-category.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))},870:(e,t,n)=>{"use strict";var i,a=n(305);(i=jQuery)(window).on("elementor/frontend/init",(function(){var e,t=elementorModules.frontend.handlers.Base;e=t.extend({getDefaultSettings:function(){return{settings:this.getElementSettings()}},getDefaultElements:function(){const e=this.$element.data("id"),t=this.$element,n=document.querySelector(".elementor-element-"+e),i=n.querySelector(".eae-woo-products");return{eid:e,element:n,wrapper:i,scope:t}},onInit:function(){const{settings:e}=this.getDefaultSettings(),{wrapper:t,scope:n}=this.getDefaultElements();let{element:o}=this.getDefaultElements();const{eid:r}=this.getDefaultElements();if(t.querySelectorAll(".open-popup-link").forEach((e=>i(e).eaePopup({type:"inline",midClick:!0,mainClass:"eae-wp-modal-box eae-wp-"+r,callbacks:{open:function(){jQuery(window).trigger("resize")}}}))),t.classList.contains("eae-wp-slider")){const e=n.find(".eae-swiper-outer-wrapper").data("swiper-settings");new a.Y(e,r,n)}t.querySelectorAll(".eae-wp-buy-now").forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var n=e.getAttribute("data-product-id"),i=e.getAttribute("data-quantity");const a=eae.checkout_url,o=new URLSearchParams;o.append("action","eae_add_to_cart"),o.append("product_id",n),o.append("quantity",i),o.append("eae_nonce",eae.nonce),fetch(eae.ajaxurl,{method:"post",credentials:"same-origin",body:o}).then((e=>{e.json()})).then((e=>{window.location.href=a})).catch((e=>{console.error("Error:",e)}))}))}))},onElementChange:function(e){}}),elementorFrontend.hooks.addAction("frontend/element_ready/eae-woo-products.default",(function(t){elementorFrontend.elementsHandler.addHandler(e,{$element:t})}))}))}},t={};function n(i){var a=t[i];if(void 0!==a)return a.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,n),o.exports}n.d=(e,t)=>{for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n(305),n(734),n(211),n(327),n(259),n(340),n(107),n(45),n(234),n(289),n(482),n(867),n(839),n(404),n(361),n(537),n(210),n(898),n(862),n(994),n(784),n(793),n(393),n(322),n(82),n(870)})();
/*!
 * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
 */
(function(){var l,a;l=this,a=function(){"use strict";var l={},a={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(a=document)}catch(l){}var e=(l.navigator||{}).userAgent,r=void 0===e?"":e,n=l,o=a,u=(n.document,!!o.documentElement&&!!o.head&&"function"==typeof o.addEventListener&&o.createElement,~r.indexOf("MSIE")||r.indexOf("Trident/"),"___FONT_AWESOME___"),t=function(){try{return"production"===process.env.NODE_ENV}catch(l){return!1}}();var f=n||{};f[u]||(f[u]={}),f[u].styles||(f[u].styles={}),f[u].hooks||(f[u].hooks={}),f[u].shims||(f[u].shims=[]);var i=f[u],s=[["glass",null,"glass-martini"],["meetup","fab",null],["star-o","far","star"],["remove",null,"times"],["close",null,"times"],["gear",null,"cog"],["trash-o","far","trash-alt"],["file-o","far","file"],["clock-o","far","clock"],["arrow-circle-o-down","far","arrow-alt-circle-down"],["arrow-circle-o-up","far","arrow-alt-circle-up"],["play-circle-o","far","play-circle"],["repeat",null,"redo"],["rotate-right",null,"redo"],["refresh",null,"sync"],["list-alt","far",null],["dedent",null,"outdent"],["video-camera",null,"video"],["picture-o","far","image"],["photo","far","image"],["image","far","image"],["pencil",null,"pencil-alt"],["map-marker",null,"map-marker-alt"],["pencil-square-o","far","edit"],["share-square-o","far","share-square"],["check-square-o","far","check-square"],["arrows",null,"arrows-alt"],["times-circle-o","far","times-circle"],["check-circle-o","far","check-circle"],["mail-forward",null,"share"],["expand",null,"expand-alt"],["compress",null,"compress-alt"],["eye","far",null],["eye-slash","far",null],["warning",null,"exclamation-triangle"],["calendar",null,"calendar-alt"],["arrows-v",null,"arrows-alt-v"],["arrows-h",null,"arrows-alt-h"],["bar-chart","far","chart-bar"],["bar-chart-o","far","chart-bar"],["twitter-square","fab",null],["facebook-square","fab",null],["gears",null,"cogs"],["thumbs-o-up","far","thumbs-up"],["thumbs-o-down","far","thumbs-down"],["heart-o","far","heart"],["sign-out",null,"sign-out-alt"],["linkedin-square","fab","linkedin"],["thumb-tack",null,"thumbtack"],["external-link",null,"external-link-alt"],["sign-in",null,"sign-in-alt"],["github-square","fab",null],["lemon-o","far","lemon"],["square-o","far","square"],["bookmark-o","far","bookmark"],["twitter","fab",null],["facebook","fab","facebook-f"],["facebook-f","fab","facebook-f"],["github","fab",null],["credit-card","far",null],["feed",null,"rss"],["hdd-o","far","hdd"],["hand-o-right","far","hand-point-right"],["hand-o-left","far","hand-point-left"],["hand-o-up","far","hand-point-up"],["hand-o-down","far","hand-point-down"],["arrows-alt",null,"expand-arrows-alt"],["group",null,"users"],["chain",null,"link"],["scissors",null,"cut"],["files-o","far","copy"],["floppy-o","far","save"],["navicon",null,"bars"],["reorder",null,"bars"],["pinterest","fab",null],["pinterest-square","fab",null],["google-plus-square","fab",null],["google-plus","fab","google-plus-g"],["money","far","money-bill-alt"],["unsorted",null,"sort"],["sort-desc",null,"sort-down"],["sort-asc",null,"sort-up"],["linkedin","fab","linkedin-in"],["rotate-left",null,"undo"],["legal",null,"gavel"],["tachometer",null,"tachometer-alt"],["dashboard",null,"tachometer-alt"],["comment-o","far","comment"],["comments-o","far","comments"],["flash",null,"bolt"],["clipboard","far",null],["paste","far","clipboard"],["lightbulb-o","far","lightbulb"],["exchange",null,"exchange-alt"],["cloud-download",null,"cloud-download-alt"],["cloud-upload",null,"cloud-upload-alt"],["bell-o","far","bell"],["cutlery",null,"utensils"],["file-text-o","far","file-alt"],["building-o","far","building"],["hospital-o","far","hospital"],["tablet",null,"tablet-alt"],["mobile",null,"mobile-alt"],["mobile-phone",null,"mobile-alt"],["circle-o","far","circle"],["mail-reply",null,"reply"],["github-alt","fab",null],["folder-o","far","folder"],["folder-open-o","far","folder-open"],["smile-o","far","smile"],["frown-o","far","frown"],["meh-o","far","meh"],["keyboard-o","far","keyboard"],["flag-o","far","flag"],["mail-reply-all",null,"reply-all"],["star-half-o","far","star-half"],["star-half-empty","far","star-half"],["star-half-full","far","star-half"],["code-fork",null,"code-branch"],["chain-broken",null,"unlink"],["shield",null,"shield-alt"],["calendar-o","far","calendar"],["maxcdn","fab",null],["html5","fab",null],["css3","fab",null],["ticket",null,"ticket-alt"],["minus-square-o","far","minus-square"],["level-up",null,"level-up-alt"],["level-down",null,"level-down-alt"],["pencil-square",null,"pen-square"],["external-link-square",null,"external-link-square-alt"],["compass","far",null],["caret-square-o-down","far","caret-square-down"],["toggle-down","far","caret-square-down"],["caret-square-o-up","far","caret-square-up"],["toggle-up","far","caret-square-up"],["caret-square-o-right","far","caret-square-right"],["toggle-right","far","caret-square-right"],["eur",null,"euro-sign"],["euro",null,"euro-sign"],["gbp",null,"pound-sign"],["usd",null,"dollar-sign"],["dollar",null,"dollar-sign"],["inr",null,"rupee-sign"],["rupee",null,"rupee-sign"],["jpy",null,"yen-sign"],["cny",null,"yen-sign"],["rmb",null,"yen-sign"],["yen",null,"yen-sign"],["rub",null,"ruble-sign"],["ruble",null,"ruble-sign"],["rouble",null,"ruble-sign"],["krw",null,"won-sign"],["won",null,"won-sign"],["btc","fab",null],["bitcoin","fab","btc"],["file-text",null,"file-alt"],["sort-alpha-asc",null,"sort-alpha-down"],["sort-alpha-desc",null,"sort-alpha-down-alt"],["sort-amount-asc",null,"sort-amount-down"],["sort-amount-desc",null,"sort-amount-down-alt"],["sort-numeric-asc",null,"sort-numeric-down"],["sort-numeric-desc",null,"sort-numeric-down-alt"],["youtube-square","fab",null],["youtube","fab",null],["xing","fab",null],["xing-square","fab",null],["youtube-play","fab","youtube"],["dropbox","fab",null],["stack-overflow","fab",null],["instagram","fab",null],["flickr","fab",null],["adn","fab",null],["bitbucket","fab",null],["bitbucket-square","fab","bitbucket"],["tumblr","fab",null],["tumblr-square","fab",null],["long-arrow-down",null,"long-arrow-alt-down"],["long-arrow-up",null,"long-arrow-alt-up"],["long-arrow-left",null,"long-arrow-alt-left"],["long-arrow-right",null,"long-arrow-alt-right"],["apple","fab",null],["windows","fab",null],["android","fab",null],["linux","fab",null],["dribbble","fab",null],["skype","fab",null],["foursquare","fab",null],["trello","fab",null],["gratipay","fab",null],["gittip","fab","gratipay"],["sun-o","far","sun"],["moon-o","far","moon"],["vk","fab",null],["weibo","fab",null],["renren","fab",null],["pagelines","fab",null],["stack-exchange","fab",null],["arrow-circle-o-right","far","arrow-alt-circle-right"],["arrow-circle-o-left","far","arrow-alt-circle-left"],["caret-square-o-left","far","caret-square-left"],["toggle-left","far","caret-square-left"],["dot-circle-o","far","dot-circle"],["vimeo-square","fab",null],["try",null,"lira-sign"],["turkish-lira",null,"lira-sign"],["plus-square-o","far","plus-square"],["slack","fab",null],["wordpress","fab",null],["openid","fab",null],["institution",null,"university"],["bank",null,"university"],["mortar-board",null,"graduation-cap"],["yahoo","fab",null],["google","fab",null],["reddit","fab",null],["reddit-square","fab",null],["stumbleupon-circle","fab",null],["stumbleupon","fab",null],["delicious","fab",null],["digg","fab",null],["pied-piper-pp","fab",null],["pied-piper-alt","fab",null],["drupal","fab",null],["joomla","fab",null],["spoon",null,"utensil-spoon"],["behance","fab",null],["behance-square","fab",null],["steam","fab",null],["steam-square","fab",null],["automobile",null,"car"],["envelope-o","far","envelope"],["spotify","fab",null],["deviantart","fab",null],["soundcloud","fab",null],["file-pdf-o","far","file-pdf"],["file-word-o","far","file-word"],["file-excel-o","far","file-excel"],["file-powerpoint-o","far","file-powerpoint"],["file-image-o","far","file-image"],["file-photo-o","far","file-image"],["file-picture-o","far","file-image"],["file-archive-o","far","file-archive"],["file-zip-o","far","file-archive"],["file-audio-o","far","file-audio"],["file-sound-o","far","file-audio"],["file-video-o","far","file-video"],["file-movie-o","far","file-video"],["file-code-o","far","file-code"],["vine","fab",null],["codepen","fab",null],["jsfiddle","fab",null],["life-ring","far",null],["life-bouy","far","life-ring"],["life-buoy","far","life-ring"],["life-saver","far","life-ring"],["support","far","life-ring"],["circle-o-notch",null,"circle-notch"],["rebel","fab",null],["ra","fab","rebel"],["resistance","fab","rebel"],["empire","fab",null],["ge","fab","empire"],["git-square","fab",null],["git","fab",null],["hacker-news","fab",null],["y-combinator-square","fab","hacker-news"],["yc-square","fab","hacker-news"],["tencent-weibo","fab",null],["qq","fab",null],["weixin","fab",null],["wechat","fab","weixin"],["send",null,"paper-plane"],["paper-plane-o","far","paper-plane"],["send-o","far","paper-plane"],["circle-thin","far","circle"],["header",null,"heading"],["sliders",null,"sliders-h"],["futbol-o","far","futbol"],["soccer-ball-o","far","futbol"],["slideshare","fab",null],["twitch","fab",null],["yelp","fab",null],["newspaper-o","far","newspaper"],["paypal","fab",null],["google-wallet","fab",null],["cc-visa","fab",null],["cc-mastercard","fab",null],["cc-discover","fab",null],["cc-amex","fab",null],["cc-paypal","fab",null],["cc-stripe","fab",null],["bell-slash-o","far","bell-slash"],["trash",null,"trash-alt"],["copyright","far",null],["eyedropper",null,"eye-dropper"],["area-chart",null,"chart-area"],["pie-chart",null,"chart-pie"],["line-chart",null,"chart-line"],["lastfm","fab",null],["lastfm-square","fab",null],["ioxhost","fab",null],["angellist","fab",null],["cc","far","closed-captioning"],["ils",null,"shekel-sign"],["shekel",null,"shekel-sign"],["sheqel",null,"shekel-sign"],["meanpath","fab","font-awesome"],["buysellads","fab",null],["connectdevelop","fab",null],["dashcube","fab",null],["forumbee","fab",null],["leanpub","fab",null],["sellsy","fab",null],["shirtsinbulk","fab",null],["simplybuilt","fab",null],["skyatlas","fab",null],["diamond","far","gem"],["intersex",null,"transgender"],["facebook-official","fab","facebook"],["pinterest-p","fab",null],["whatsapp","fab",null],["hotel",null,"bed"],["viacoin","fab",null],["medium","fab",null],["y-combinator","fab",null],["yc","fab","y-combinator"],["optin-monster","fab",null],["opencart","fab",null],["expeditedssl","fab",null],["battery-4",null,"battery-full"],["battery",null,"battery-full"],["battery-3",null,"battery-three-quarters"],["battery-2",null,"battery-half"],["battery-1",null,"battery-quarter"],["battery-0",null,"battery-empty"],["object-group","far",null],["object-ungroup","far",null],["sticky-note-o","far","sticky-note"],["cc-jcb","fab",null],["cc-diners-club","fab",null],["clone","far",null],["hourglass-o","far","hourglass"],["hourglass-1",null,"hourglass-start"],["hourglass-2",null,"hourglass-half"],["hourglass-3",null,"hourglass-end"],["hand-rock-o","far","hand-rock"],["hand-grab-o","far","hand-rock"],["hand-paper-o","far","hand-paper"],["hand-stop-o","far","hand-paper"],["hand-scissors-o","far","hand-scissors"],["hand-lizard-o","far","hand-lizard"],["hand-spock-o","far","hand-spock"],["hand-pointer-o","far","hand-pointer"],["hand-peace-o","far","hand-peace"],["registered","far",null],["creative-commons","fab",null],["gg","fab",null],["gg-circle","fab",null],["tripadvisor","fab",null],["odnoklassniki","fab",null],["odnoklassniki-square","fab",null],["get-pocket","fab",null],["wikipedia-w","fab",null],["safari","fab",null],["chrome","fab",null],["firefox","fab",null],["opera","fab",null],["internet-explorer","fab",null],["television",null,"tv"],["contao","fab",null],["500px","fab",null],["amazon","fab",null],["calendar-plus-o","far","calendar-plus"],["calendar-minus-o","far","calendar-minus"],["calendar-times-o","far","calendar-times"],["calendar-check-o","far","calendar-check"],["map-o","far","map"],["commenting",null,"comment-dots"],["commenting-o","far","comment-dots"],["houzz","fab",null],["vimeo","fab","vimeo-v"],["black-tie","fab",null],["fonticons","fab",null],["reddit-alien","fab",null],["edge","fab",null],["credit-card-alt",null,"credit-card"],["codiepie","fab",null],["modx","fab",null],["fort-awesome","fab",null],["usb","fab",null],["product-hunt","fab",null],["mixcloud","fab",null],["scribd","fab",null],["pause-circle-o","far","pause-circle"],["stop-circle-o","far","stop-circle"],["bluetooth","fab",null],["bluetooth-b","fab",null],["gitlab","fab",null],["wpbeginner","fab",null],["wpforms","fab",null],["envira","fab",null],["wheelchair-alt","fab","accessible-icon"],["question-circle-o","far","question-circle"],["volume-control-phone",null,"phone-volume"],["asl-interpreting",null,"american-sign-language-interpreting"],["deafness",null,"deaf"],["hard-of-hearing",null,"deaf"],["glide","fab",null],["glide-g","fab",null],["signing",null,"sign-language"],["viadeo","fab",null],["viadeo-square","fab",null],["snapchat","fab",null],["snapchat-ghost","fab",null],["snapchat-square","fab",null],["pied-piper","fab",null],["first-order","fab",null],["yoast","fab",null],["themeisle","fab",null],["google-plus-official","fab","google-plus"],["google-plus-circle","fab","google-plus"],["font-awesome","fab",null],["fa","fab","font-awesome"],["handshake-o","far","handshake"],["envelope-open-o","far","envelope-open"],["linode","fab",null],["address-book-o","far","address-book"],["vcard",null,"address-card"],["address-card-o","far","address-card"],["vcard-o","far","address-card"],["user-circle-o","far","user-circle"],["user-o","far","user"],["id-badge","far",null],["drivers-license",null,"id-card"],["id-card-o","far","id-card"],["drivers-license-o","far","id-card"],["quora","fab",null],["free-code-camp","fab",null],["telegram","fab",null],["thermometer-4",null,"thermometer-full"],["thermometer",null,"thermometer-full"],["thermometer-3",null,"thermometer-three-quarters"],["thermometer-2",null,"thermometer-half"],["thermometer-1",null,"thermometer-quarter"],["thermometer-0",null,"thermometer-empty"],["bathtub",null,"bath"],["s15",null,"bath"],["window-maximize","far",null],["window-restore","far",null],["times-rectangle",null,"window-close"],["window-close-o","far","window-close"],["times-rectangle-o","far","window-close"],["bandcamp","fab",null],["grav","fab",null],["etsy","fab",null],["imdb","fab",null],["ravelry","fab",null],["eercast","fab","sellcast"],["snowflake-o","far","snowflake"],["superpowers","fab",null],["wpexplorer","fab",null],["cab",null,"taxi"]];return function(l){try{l()}catch(l){if(!t)throw l}}(function(){var l;"function"==typeof i.hooks.addShims?i.hooks.addShims(s):(l=i.shims).push.apply(l,s)}),s},"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):l["fontawesome-free-shims"]=a();})();
;
jQuery(document).on("elementor/render/animation-text",(function(e){jQuery(".eae-at-animation-text-wrapper .eae-at-animation-text:first-child").addClass("is-visible");var a,t,s=2500,n=50,o=150,r=500,l=r+800;function d(e){var i=m(e);if(e.parents(".eae-at-animation").hasClass("type")){var a=e.parent(".eae-at-animation-text-wrapper");a.addClass("selected").removeClass("waiting"),setTimeout((function(){a.removeClass("selected"),e.removeClass("is-visible").addClass("is-hidden").children("i").removeClass("in").addClass("out")}),r),setTimeout((function(){!function(e,i){e.parents(".eae-at-animation").hasClass("type")&&(c(e.find("i").eq(0),e,!1,i),e.addClass("is-visible").removeClass("is-hidden"))}(i,o)}),l)}else if(e.parents(".eae-at-animation").hasClass("letters")){var t=e.children("i").length>=i.children("i").length;u(e.find("i").eq(0),e,t,n),c(i.find("i").eq(0),i,t,n)}else f(e,i),setTimeout((function(){d(i)}),s)}function u(e,i,a,t){if(e.removeClass("in").addClass("out"),e.is(":last-child")?a&&setTimeout((function(){d(m(i))}),s):setTimeout((function(){u(e.next(),i,a,t)}),t),e.is(":last-child")&&jQuery("html").hasClass("no-csstransitions")){var n=m(i);f(i,n)}}function c(e,i,a,t){e.addClass("in").removeClass("out"),e.is(":last-child")?(i.parents(".eae-at-animation").hasClass("type")&&setTimeout((function(){i.parents(".eae-at-animation-text-wrapper").addClass("waiting")}),200),a||setTimeout((function(){d(i)}),s)):setTimeout((function(){c(e.next(),i,a,t)}),t)}function m(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()}function f(e,i){e.removeClass("is-visible").addClass("is-hidden"),i.removeClass("is-hidden").addClass("is-visible")}jQuery(".eae-at-animation.letters").find(".eae-at-animation-text").each((function(){var e=jQuery(this),a=e.text().split(""),t=e.hasClass("is-visible");for(i in a)a[i]=t?'<i class="in">'+a[i]+"</i>":"<i>"+a[i]+"</i>";var s=a.join("");e.html(s).css("opacity",1)})),a=jQuery(".eae-at-animation-text-wrapper"),t=s,a.each((function(){var e=jQuery(this);if(!e.hasClass("type")){var i=e.find(".eae-at-animation-text-wrapper .eae-at-animation-text"),a=0;i.each((function(){var e=jQuery(this).width();e>a&&(a=e)})),e.find(".eae-at-animation-text-wrapper").css("width",a)}setTimeout((function(){d(e.find(".is-visible").eq(0))}),t)}))}));
var pJS=function(e,a){var t=document.querySelector("#"+e+" > .particles-js-canvas-el");this.pJS={canvas:{el:t,w:t.offsetWidth,h:t.offsetHeight},particles:{number:{value:400,density:{enable:!0,value_area:800}},color:{value:"#fff"},shape:{type:"circle",stroke:{width:0,color:"#ff0000"},polygon:{nb_sides:5},image:{src:"",width:100,height:100}},opacity:{value:1,random:!1,anim:{enable:!1,speed:2,opacity_min:0,sync:!1}},size:{value:20,random:!1,anim:{enable:!1,speed:20,size_min:0,sync:!1}},line_linked:{enable:!0,distance:100,color:"#fff",opacity:1,width:1},move:{enable:!0,speed:2,direction:"none",random:!1,straight:!1,out_mode:"out",bounce:!1,attract:{enable:!1,rotateX:3e3,rotateY:3e3}},array:[]},interactivity:{detect_on:"canvas",events:{onhover:{enable:!0,mode:"grab"},onclick:{enable:!0,mode:"push"},resize:!0},modes:{grab:{distance:100,line_linked:{opacity:1}},bubble:{distance:200,size:80,duration:.4},repulse:{distance:200,duration:.4},push:{particles_nb:4},remove:{particles_nb:2}},mouse:{}},retina_detect:!1,fn:{interact:{},modes:{},vendors:{}},tmp:{}};var i=this.pJS;a&&Object.deepExtend(i,a),i.tmp.obj={size_value:i.particles.size.value,size_anim_speed:i.particles.size.anim.speed,move_speed:i.particles.move.speed,line_linked_distance:i.particles.line_linked.distance,line_linked_width:i.particles.line_linked.width,mode_grab_distance:i.interactivity.modes.grab.distance,mode_bubble_distance:i.interactivity.modes.bubble.distance,mode_bubble_size:i.interactivity.modes.bubble.size,mode_repulse_distance:i.interactivity.modes.repulse.distance},i.fn.retinaInit=function(){i.retina_detect&&window.devicePixelRatio>1?(i.canvas.pxratio=window.devicePixelRatio,i.tmp.retina=!0):(i.canvas.pxratio=1,i.tmp.retina=!1),i.canvas.w=i.canvas.el.offsetWidth*i.canvas.pxratio,i.canvas.h=i.canvas.el.offsetHeight*i.canvas.pxratio,i.particles.size.value=i.tmp.obj.size_value*i.canvas.pxratio,i.particles.size.anim.speed=i.tmp.obj.size_anim_speed*i.canvas.pxratio,i.particles.move.speed=i.tmp.obj.move_speed*i.canvas.pxratio,i.particles.line_linked.distance=i.tmp.obj.line_linked_distance*i.canvas.pxratio,i.interactivity.modes.grab.distance=i.tmp.obj.mode_grab_distance*i.canvas.pxratio,i.interactivity.modes.bubble.distance=i.tmp.obj.mode_bubble_distance*i.canvas.pxratio,i.particles.line_linked.width=i.tmp.obj.line_linked_width*i.canvas.pxratio,i.interactivity.modes.bubble.size=i.tmp.obj.mode_bubble_size*i.canvas.pxratio,i.interactivity.modes.repulse.distance=i.tmp.obj.mode_repulse_distance*i.canvas.pxratio},i.fn.canvasInit=function(){i.canvas.ctx=i.canvas.el.getContext("2d")},i.fn.canvasSize=function(){i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i&&i.interactivity.events.resize&&window.addEventListener("resize",(function(){i.canvas.w=i.canvas.el.offsetWidth,i.canvas.h=i.canvas.el.offsetHeight,i.tmp.retina&&(i.canvas.w*=i.canvas.pxratio,i.canvas.h*=i.canvas.pxratio),i.canvas.el.width=i.canvas.w,i.canvas.el.height=i.canvas.h,i.particles.move.enable||(i.fn.particlesEmpty(),i.fn.particlesCreate(),i.fn.particlesDraw(),i.fn.vendors.densityAutoParticles()),i.fn.vendors.densityAutoParticles()}))},i.fn.canvasPaint=function(){i.canvas.ctx.fillRect(0,0,i.canvas.w,i.canvas.h)},i.fn.canvasClear=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h)},i.fn.particle=function(e,a,t){if(this.radius=(i.particles.size.random?Math.random():1)*i.particles.size.value,i.particles.size.anim.enable&&(this.size_status=!1,this.vs=i.particles.size.anim.speed/100,i.particles.size.anim.sync||(this.vs=this.vs*Math.random())),this.x=t?t.x:Math.random()*i.canvas.w,this.y=t?t.y:Math.random()*i.canvas.h,this.x>i.canvas.w-2*this.radius?this.x=this.x-this.radius:this.x<2*this.radius&&(this.x=this.x+this.radius),this.y>i.canvas.h-2*this.radius?this.y=this.y-this.radius:this.y<2*this.radius&&(this.y=this.y+this.radius),i.particles.move.bounce&&i.fn.vendors.checkOverlap(this,t),this.color={},"object"==typeof e.value)if(e.value instanceof Array){var n=e.value[Math.floor(Math.random()*i.particles.color.value.length)];this.color.rgb=hexToRgb(n)}else null!=e.value.r&&null!=e.value.g&&null!=e.value.b&&(this.color.rgb={r:e.value.r,g:e.value.g,b:e.value.b}),null!=e.value.h&&null!=e.value.s&&null!=e.value.l&&(this.color.hsl={h:e.value.h,s:e.value.s,l:e.value.l});else"random"==e.value?this.color.rgb={r:Math.floor(256*Math.random())+0,g:Math.floor(256*Math.random())+0,b:Math.floor(256*Math.random())+0}:"string"==typeof e.value&&(this.color=e,this.color.rgb=hexToRgb(this.color.value));this.opacity=(i.particles.opacity.random?Math.random():1)*i.particles.opacity.value,i.particles.opacity.anim.enable&&(this.opacity_status=!1,this.vo=i.particles.opacity.anim.speed/100,i.particles.opacity.anim.sync||(this.vo=this.vo*Math.random()));var s={};switch(i.particles.move.direction){case"top":s={x:0,y:-1};break;case"top-right":s={x:.5,y:-.5};break;case"right":s={x:1,y:-0};break;case"bottom-right":s={x:.5,y:.5};break;case"bottom":s={x:0,y:1};break;case"bottom-left":s={x:-.5,y:1};break;case"left":s={x:-1,y:0};break;case"top-left":s={x:-.5,y:-.5};break;default:s={x:0,y:0}}i.particles.move.straight?(this.vx=s.x,this.vy=s.y,i.particles.move.random&&(this.vx=this.vx*Math.random(),this.vy=this.vy*Math.random())):(this.vx=s.x+Math.random()-.5,this.vy=s.y+Math.random()-.5),this.vx_i=this.vx,this.vy_i=this.vy;var r=i.particles.shape.type;if("object"==typeof r){if(r instanceof Array){var c=r[Math.floor(Math.random()*r.length)];this.shape=c}}else this.shape=r;if("image"==this.shape){var o=i.particles.shape;this.img={src:o.image.src,ratio:o.image.width/o.image.height},this.img.ratio||(this.img.ratio=1),"svg"==i.tmp.img_type&&null!=i.tmp.source_svg&&(i.fn.vendors.createSvgImg(this),i.tmp.pushing&&(this.img.loaded=!1))}},i.fn.particle.prototype.draw=function(){var e=this;if(null!=e.radius_bubble)var a=e.radius_bubble;else a=e.radius;if(null!=e.opacity_bubble)var t=e.opacity_bubble;else t=e.opacity;if(e.color.rgb)var n="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+t+")";else n="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+t+")";switch(i.canvas.ctx.fillStyle=n,i.canvas.ctx.beginPath(),e.shape){case"circle":i.canvas.ctx.arc(e.x,e.y,a,0,2*Math.PI,!1);break;case"edge":i.canvas.ctx.rect(e.x-a,e.y-a,2*a,2*a);break;case"triangle":i.fn.vendors.drawShape(i.canvas.ctx,e.x-a,e.y+a/1.66,2*a,3,2);break;case"polygon":i.fn.vendors.drawShape(i.canvas.ctx,e.x-a/(i.particles.shape.polygon.nb_sides/3.5),e.y-a/.76,2.66*a/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,1);break;case"star":i.fn.vendors.drawShape(i.canvas.ctx,e.x-2*a/(i.particles.shape.polygon.nb_sides/4),e.y-a/1.52,2*a*2.66/(i.particles.shape.polygon.nb_sides/3),i.particles.shape.polygon.nb_sides,2);break;case"image":if("svg"==i.tmp.img_type)var s=e.img.obj;else s=i.tmp.img_obj;s&&i.canvas.ctx.drawImage(s,e.x-a,e.y-a,2*a,2*a/e.img.ratio)}i.canvas.ctx.closePath(),i.particles.shape.stroke.width>0&&(i.canvas.ctx.strokeStyle=i.particles.shape.stroke.color,i.canvas.ctx.lineWidth=i.particles.shape.stroke.width,i.canvas.ctx.stroke()),i.canvas.ctx.fill()},i.fn.particlesCreate=function(){for(var e=0;e<i.particles.number.value;e++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value))},i.fn.particlesUpdate=function(){for(var e=0;e<i.particles.array.length;e++){var a=i.particles.array[e];if(i.particles.move.enable){var t=i.particles.move.speed/2;a.x+=a.vx*t,a.y+=a.vy*t}if(i.particles.opacity.anim.enable&&(1==a.opacity_status?(a.opacity>=i.particles.opacity.value&&(a.opacity_status=!1),a.opacity+=a.vo):(a.opacity<=i.particles.opacity.anim.opacity_min&&(a.opacity_status=!0),a.opacity-=a.vo),a.opacity<0&&(a.opacity=0)),i.particles.size.anim.enable&&(1==a.size_status?(a.radius>=i.particles.size.value&&(a.size_status=!1),a.radius+=a.vs):(a.radius<=i.particles.size.anim.size_min&&(a.size_status=!0),a.radius-=a.vs),a.radius<0&&(a.radius=0)),"bounce"==i.particles.move.out_mode)var n={x_left:a.radius,x_right:i.canvas.w,y_top:a.radius,y_bottom:i.canvas.h};else n={x_left:-a.radius,x_right:i.canvas.w+a.radius,y_top:-a.radius,y_bottom:i.canvas.h+a.radius};if(a.x-a.radius>i.canvas.w?(a.x=n.x_left,a.y=Math.random()*i.canvas.h):a.x+a.radius<0&&(a.x=n.x_right,a.y=Math.random()*i.canvas.h),a.y-a.radius>i.canvas.h?(a.y=n.y_top,a.x=Math.random()*i.canvas.w):a.y+a.radius<0&&(a.y=n.y_bottom,a.x=Math.random()*i.canvas.w),"bounce"===i.particles.move.out_mode)(a.x+a.radius>i.canvas.w||a.x-a.radius<0)&&(a.vx=-a.vx),(a.y+a.radius>i.canvas.h||a.y-a.radius<0)&&(a.vy=-a.vy);if(isInArray("grab",i.interactivity.events.onhover.mode)&&i.fn.modes.grabParticle(a),(isInArray("bubble",i.interactivity.events.onhover.mode)||isInArray("bubble",i.interactivity.events.onclick.mode))&&i.fn.modes.bubbleParticle(a),(isInArray("repulse",i.interactivity.events.onhover.mode)||isInArray("repulse",i.interactivity.events.onclick.mode))&&i.fn.modes.repulseParticle(a),i.particles.line_linked.enable||i.particles.move.attract.enable)for(var s=e+1;s<i.particles.array.length;s++){var r=i.particles.array[s];i.particles.line_linked.enable&&i.fn.interact.linkParticles(a,r),i.particles.move.attract.enable&&i.fn.interact.attractParticles(a,r),i.particles.move.bounce&&i.fn.interact.bounceParticles(a,r)}}},i.fn.particlesDraw=function(){i.canvas.ctx.clearRect(0,0,i.canvas.w,i.canvas.h),i.fn.particlesUpdate();for(var e=0;e<i.particles.array.length;e++){i.particles.array[e].draw()}},i.fn.particlesEmpty=function(){i.particles.array=[]},i.fn.particlesRefresh=function(){cancelRequestAnimFrame(i.fn.checkAnimFrame),cancelRequestAnimFrame(i.fn.drawAnimFrame),i.tmp.source_svg=void 0,i.tmp.img_obj=void 0,i.tmp.count_svg=0,i.fn.particlesEmpty(),i.fn.canvasClear(),i.fn.vendors.start()},i.fn.interact.linkParticles=function(e,a){var t=e.x-a.x,n=e.y-a.y,s=Math.sqrt(t*t+n*n);if(s<=i.particles.line_linked.distance){var r=i.particles.line_linked.opacity-s/(1/i.particles.line_linked.opacity)/i.particles.line_linked.distance;if(r>0){var c=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+c.r+","+c.g+","+c.b+","+r+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(a.x,a.y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}},i.fn.interact.attractParticles=function(e,a){var t=e.x-a.x,n=e.y-a.y;if(Math.sqrt(t*t+n*n)<=i.particles.line_linked.distance){var s=t/(1e3*i.particles.move.attract.rotateX),r=n/(1e3*i.particles.move.attract.rotateY);e.vx-=s,e.vy-=r,a.vx+=s,a.vy+=r}},i.fn.interact.bounceParticles=function(e,a){var t=e.x-a.x,i=e.y-a.y;Math.sqrt(t*t+i*i)<=e.radius+a.radius&&(e.vx=-e.vx,e.vy=-e.vy,a.vx=-a.vx,a.vy=-a.vy)},i.fn.modes.pushParticles=function(e,a){i.tmp.pushing=!0;for(var t=0;t<e;t++)i.particles.array.push(new i.fn.particle(i.particles.color,i.particles.opacity.value,{x:a?a.pos_x:Math.random()*i.canvas.w,y:a?a.pos_y:Math.random()*i.canvas.h})),t==e-1&&(i.particles.move.enable||i.fn.particlesDraw(),i.tmp.pushing=!1)},i.fn.modes.removeParticles=function(e){i.particles.array.splice(0,e),i.particles.move.enable||i.fn.particlesDraw()},i.fn.modes.bubbleParticle=function(e){if(i.interactivity.events.onhover.enable&&isInArray("bubble",i.interactivity.events.onhover.mode)){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,n=1-(l=Math.sqrt(a*a+t*t))/i.interactivity.modes.bubble.distance;function s(){e.opacity_bubble=e.opacity,e.radius_bubble=e.radius}if(l<=i.interactivity.modes.bubble.distance){if(n>=0&&"mousemove"==i.interactivity.status){if(i.interactivity.modes.bubble.size!=i.particles.size.value)if(i.interactivity.modes.bubble.size>i.particles.size.value){(c=e.radius+i.interactivity.modes.bubble.size*n)>=0&&(e.radius_bubble=c)}else{var r=e.radius-i.interactivity.modes.bubble.size,c=e.radius-r*n;e.radius_bubble=c>0?c:0}var o;if(i.interactivity.modes.bubble.opacity!=i.particles.opacity.value)if(i.interactivity.modes.bubble.opacity>i.particles.opacity.value)(o=i.interactivity.modes.bubble.opacity*n)>e.opacity&&o<=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=o);else(o=e.opacity-(i.particles.opacity.value-i.interactivity.modes.bubble.opacity)*n)<e.opacity&&o>=i.interactivity.modes.bubble.opacity&&(e.opacity_bubble=o)}}else s();"mouseleave"==i.interactivity.status&&s()}else if(i.interactivity.events.onclick.enable&&isInArray("bubble",i.interactivity.events.onclick.mode)){if(i.tmp.bubble_clicking){a=e.x-i.interactivity.mouse.click_pos_x,t=e.y-i.interactivity.mouse.click_pos_y;var l=Math.sqrt(a*a+t*t),v=((new Date).getTime()-i.interactivity.mouse.click_time)/1e3;v>i.interactivity.modes.bubble.duration&&(i.tmp.bubble_duration_end=!0),v>2*i.interactivity.modes.bubble.duration&&(i.tmp.bubble_clicking=!1,i.tmp.bubble_duration_end=!1)}function p(a,t,n,s,r){if(a!=t)if(i.tmp.bubble_duration_end)null!=n&&(o=a+(a-(s-v*(s-a)/i.interactivity.modes.bubble.duration)),"size"==r&&(e.radius_bubble=o),"opacity"==r&&(e.opacity_bubble=o));else if(l<=i.interactivity.modes.bubble.distance){if(null!=n)var c=n;else c=s;if(c!=a){var o=s-v*(s-a)/i.interactivity.modes.bubble.duration;"size"==r&&(e.radius_bubble=o),"opacity"==r&&(e.opacity_bubble=o)}}else"size"==r&&(e.radius_bubble=void 0),"opacity"==r&&(e.opacity_bubble=void 0)}i.tmp.bubble_clicking&&(p(i.interactivity.modes.bubble.size,i.particles.size.value,e.radius_bubble,e.radius,"size"),p(i.interactivity.modes.bubble.opacity,i.particles.opacity.value,e.opacity_bubble,e.opacity,"opacity"))}},i.fn.modes.repulseParticle=function(e){if(i.interactivity.events.onhover.enable&&isInArray("repulse",i.interactivity.events.onhover.mode)&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(a*a+t*t),s={x:a/n,y:t/n},r=clamp(1/(o=i.interactivity.modes.repulse.distance)*(-1*Math.pow(n/o,2)+1)*o*100,0,50),c={x:e.x+s.x*r,y:e.y+s.y*r};"bounce"==i.particles.move.out_mode?(c.x-e.radius>0&&c.x+e.radius<i.canvas.w&&(e.x=c.x),c.y-e.radius>0&&c.y+e.radius<i.canvas.h&&(e.y=c.y)):(e.x=c.x,e.y=c.y)}else if(i.interactivity.events.onclick.enable&&isInArray("repulse",i.interactivity.events.onclick.mode))if(i.tmp.repulse_finish||(i.tmp.repulse_count++,i.tmp.repulse_count==i.particles.array.length&&(i.tmp.repulse_finish=!0)),i.tmp.repulse_clicking){var o=Math.pow(i.interactivity.modes.repulse.distance/6,3),l=i.interactivity.mouse.click_pos_x-e.x,v=i.interactivity.mouse.click_pos_y-e.y,p=l*l+v*v,d=-o/p*1;p<=o&&function(){var a=Math.atan2(v,l);if(e.vx=d*Math.cos(a),e.vy=d*Math.sin(a),"bounce"==i.particles.move.out_mode){var t={x:e.x+e.vx,y:e.y+e.vy};(t.x+e.radius>i.canvas.w||t.x-e.radius<0)&&(e.vx=-e.vx),(t.y+e.radius>i.canvas.h||t.y-e.radius<0)&&(e.vy=-e.vy)}}()}else 0==i.tmp.repulse_clicking&&(e.vx=e.vx_i,e.vy=e.vy_i)},i.fn.modes.grabParticle=function(e){if(i.interactivity.events.onhover.enable&&"mousemove"==i.interactivity.status){var a=e.x-i.interactivity.mouse.pos_x,t=e.y-i.interactivity.mouse.pos_y,n=Math.sqrt(a*a+t*t);if(n<=i.interactivity.modes.grab.distance){var s=i.interactivity.modes.grab.line_linked.opacity-n/(1/i.interactivity.modes.grab.line_linked.opacity)/i.interactivity.modes.grab.distance;if(s>0){var r=i.particles.line_linked.color_rgb_line;i.canvas.ctx.strokeStyle="rgba("+r.r+","+r.g+","+r.b+","+s+")",i.canvas.ctx.lineWidth=i.particles.line_linked.width,i.canvas.ctx.beginPath(),i.canvas.ctx.moveTo(e.x,e.y),i.canvas.ctx.lineTo(i.interactivity.mouse.pos_x,i.interactivity.mouse.pos_y),i.canvas.ctx.stroke(),i.canvas.ctx.closePath()}}}},i.fn.vendors.eventsListeners=function(){"window"==i.interactivity.detect_on?i.interactivity.el=window:i.interactivity.el=i.canvas.el,(i.interactivity.events.onhover.enable||i.interactivity.events.onclick.enable)&&(i.interactivity.el.addEventListener("mousemove",(function(e){if(i.interactivity.el==window)var a=e.clientX,t=e.clientY;else a=e.offsetX||e.clientX,t=e.offsetY||e.clientY;i.interactivity.mouse.pos_x=a,i.interactivity.mouse.pos_y=t,i.tmp.retina&&(i.interactivity.mouse.pos_x*=i.canvas.pxratio,i.interactivity.mouse.pos_y*=i.canvas.pxratio),i.interactivity.status="mousemove"})),i.interactivity.el.addEventListener("mouseleave",(function(e){i.interactivity.mouse.pos_x=null,i.interactivity.mouse.pos_y=null,i.interactivity.status="mouseleave"}))),i.interactivity.events.onclick.enable&&i.interactivity.el.addEventListener("click",(function(){if(i.interactivity.mouse.click_pos_x=i.interactivity.mouse.pos_x,i.interactivity.mouse.click_pos_y=i.interactivity.mouse.pos_y,i.interactivity.mouse.click_time=(new Date).getTime(),i.interactivity.events.onclick.enable)switch(i.interactivity.events.onclick.mode){case"push":i.particles.move.enable||1==i.interactivity.modes.push.particles_nb?i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb,i.interactivity.mouse):i.interactivity.modes.push.particles_nb>1&&i.fn.modes.pushParticles(i.interactivity.modes.push.particles_nb);break;case"remove":i.fn.modes.removeParticles(i.interactivity.modes.remove.particles_nb);break;case"bubble":i.tmp.bubble_clicking=!0;break;case"repulse":i.tmp.repulse_clicking=!0,i.tmp.repulse_count=0,i.tmp.repulse_finish=!1,setTimeout((function(){i.tmp.repulse_clicking=!1}),1e3*i.interactivity.modes.repulse.duration)}}))},i.fn.vendors.densityAutoParticles=function(){if(i.particles.number.density.enable){var e=i.canvas.el.width*i.canvas.el.height/1e3;i.tmp.retina&&(e/=2*i.canvas.pxratio);var a=e*i.particles.number.value/i.particles.number.density.value_area,t=i.particles.array.length-a;t<0?i.fn.modes.pushParticles(Math.abs(t)):i.fn.modes.removeParticles(t)}},i.fn.vendors.checkOverlap=function(e,a){for(var t=0;t<i.particles.array.length;t++){var n=i.particles.array[t],s=e.x-n.x,r=e.y-n.y;Math.sqrt(s*s+r*r)<=e.radius+n.radius&&(e.x=a?a.x:Math.random()*i.canvas.w,e.y=a?a.y:Math.random()*i.canvas.h,i.fn.vendors.checkOverlap(e))}},i.fn.vendors.createSvgImg=function(e){var a=i.tmp.source_svg.replace(/#([0-9A-F]{3,6})/gi,(function(a,t,i,n){if(e.color.rgb)var s="rgba("+e.color.rgb.r+","+e.color.rgb.g+","+e.color.rgb.b+","+e.opacity+")";else s="hsla("+e.color.hsl.h+","+e.color.hsl.s+"%,"+e.color.hsl.l+"%,"+e.opacity+")";return s})),t=new Blob([a],{type:"image/svg+xml;charset=utf-8"}),n=window.URL||window.webkitURL||window,s=n.createObjectURL(t),r=new Image;r.addEventListener("load",(function(){e.img.obj=r,e.img.loaded=!0,n.revokeObjectURL(s),i.tmp.count_svg++})),r.src=s},i.fn.vendors.destroypJS=function(){cancelAnimationFrame(i.fn.drawAnimFrame),t.remove(),pJSDom=null},i.fn.vendors.drawShape=function(e,a,t,i,n,s){var r=n*s,c=n/s,o=180*(c-2)/c,l=Math.PI-Math.PI*o/180;e.save(),e.beginPath(),e.translate(a,t),e.moveTo(0,0);for(var v=0;v<r;v++)e.lineTo(i,0),e.translate(i,0),e.rotate(l);e.fill(),e.restore()},i.fn.vendors.exportImg=function(){window.open(i.canvas.el.toDataURL("image/png"),"_blank")},i.fn.vendors.loadImg=function(e){if(i.tmp.img_error=void 0,""!=i.particles.shape.image.src)if("svg"==e){var a=new XMLHttpRequest;a.open("GET",i.particles.shape.image.src),a.onreadystatechange=function(e){4==a.readyState&&(200==a.status?(i.tmp.source_svg=e.currentTarget.response,i.fn.vendors.checkBeforeDraw()):(console.log("Error pJS - Image not found"),i.tmp.img_error=!0))},a.send()}else{var t=new Image;t.addEventListener("load",(function(){i.tmp.img_obj=t,i.fn.vendors.checkBeforeDraw()})),t.src=i.particles.shape.image.src}else console.log("Error pJS - No image.src"),i.tmp.img_error=!0},i.fn.vendors.draw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type?i.tmp.count_svg>=i.particles.number.value?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):null!=i.tmp.img_obj?(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame)):i.tmp.img_error||(i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw)):(i.fn.particlesDraw(),i.particles.move.enable?i.fn.drawAnimFrame=requestAnimFrame(i.fn.vendors.draw):cancelRequestAnimFrame(i.fn.drawAnimFrame))},i.fn.vendors.checkBeforeDraw=function(){"image"==i.particles.shape.type?"svg"==i.tmp.img_type&&null==i.tmp.source_svg?i.tmp.checkAnimFrame=requestAnimFrame(check):(cancelRequestAnimFrame(i.tmp.checkAnimFrame),i.tmp.img_error||(i.fn.vendors.init(),i.fn.vendors.draw())):(i.fn.vendors.init(),i.fn.vendors.draw())},i.fn.vendors.init=function(){i.fn.retinaInit(),i.fn.canvasInit(),i.fn.canvasSize(),i.fn.canvasPaint(),i.fn.particlesCreate(),i.fn.vendors.densityAutoParticles(),i.particles.line_linked.color_rgb_line=hexToRgb(i.particles.line_linked.color)},i.fn.vendors.start=function(){isInArray("image",i.particles.shape.type)?(i.tmp.img_type=i.particles.shape.image.src.substr(i.particles.shape.image.src.length-3),i.fn.vendors.loadImg(i.tmp.img_type)):i.fn.vendors.checkBeforeDraw()},i.fn.vendors.eventsListeners(),i.fn.vendors.start()};function hexToRgb(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,a,t,i){return a+a+t+t+i+i}));var a=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return a?{r:parseInt(a[1],16),g:parseInt(a[2],16),b:parseInt(a[3],16)}:null}function clamp(e,a,t){return Math.min(Math.max(e,a),t)}function isInArray(e,a){return a.indexOf(e)>-1}Object.deepExtend=function(e,a){for(var t in a)a[t]&&a[t].constructor&&a[t].constructor===Object?(e[t]=e[t]||{},arguments.callee(e[t],a[t])):e[t]=a[t];return e},window.requestAnimFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},window.cancelRequestAnimFrame=window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.mozCancelRequestAnimationFrame||window.oCancelRequestAnimationFrame||window.msCancelRequestAnimationFrame||clearTimeout,window.pJSDom=[],window.particlesJS=function(e,a){"string"!=typeof e&&(a=e,e="particles-js"),e||(e="particles-js");var t=document.getElementById(e),i="particles-js-canvas-el",n=t.getElementsByClassName(i);if(n.length)for(;n.length>0;)t.removeChild(n[0]);var s=document.createElement("canvas");s.className=i,s.style.width="100%",s.style.height="100%",null!=document.getElementById(e).appendChild(s)&&pJSDom.push(new pJS(e,a))},window.particlesJS.load=function(e,a,t){var i=new XMLHttpRequest;i.open("GET",a),i.onreadystatechange=function(a){if(4==i.readyState)if(200==i.status){var n=JSON.parse(a.currentTarget.response);window.particlesJS(e,n),t&&t()}else console.log("Error pJS - XMLHttpRequest status: "+i.status),console.log("Error pJS - File config not found")},i.send()};
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)}(function(e){var t,n,o,i,a,r,s="Close",l="BeforeClose",c="MarkupParse",d="Open",u="Change",p="mfp",f="."+p,m="mfp-ready",g="mfp-removing",h="mfp-prevent-close",v=function(){},y=!!window.jQuery,C=e(window),w=function(e,n){t.ev.on(p+e+f,n)},b=function(t,n,o,i){var a=document.createElement("div");return a.className="mfp-"+t,o&&(a.innerHTML=o),i?n&&n.appendChild(a):(a=e(a),n&&a.appendTo(n)),a},I=function(n,o){t.ev.triggerHandler(p+n,o),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(o)?o:[o]))},x=function(n){return n===r&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),r=n),t.currTemplate.closeBtn},k=function(){e.eaePopup.instance||((t=new v).init(),e.eaePopup.instance=t)};v.prototype={constructor:v,init:function(){var n=navigator.appVersion;t.isLowIE=t.isIE8=document.all&&!document.addEventListener,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1}(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),o=e(document),t.popupsCache={}},open:function(n){var i;if(!1===n.isObj){t.items=n.items.toArray(),t.index=0;var r,s=n.items;for(i=0;i<s.length;i++)if((r=s[i]).parsed&&(r=r.el[0]),r===n.el[0]){t.index=i;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(!t.isOpen){t.types=[],a="bp-popup",n.mainEl&&n.mainEl.length?t.ev=n.mainEl.eq(0):t.ev=o,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.eaePopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=b("bg").on("click"+f,function(){t.close()}),t.wrap=b("wrap").attr("tabindex",-1).on("click"+f,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=b("container",t.wrap)),t.contentContainer=b("content"),t.st.preloader&&(t.preloader=b("preloader",t.container,t.st.tLoading));var l=e.eaePopup.modules;for(i=0;i<l.length;i++){var u=l[i];u=u.charAt(0).toUpperCase()+u.slice(1),t["init"+u].call(t)}I("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(w(c,function(e,t,n,o){n.close_replaceWith=x(o.type)}),a+=" eae-close-btn-in"):t.wrap.append(x())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:C.scrollTop(),position:"absolute"}),(!1===t.st.fixedBgPos||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey&&o.on("keyup"+f,function(e){27===e.keyCode&&t.close()}),C.on("resize"+f,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var p=t.wH=C.height(),g={};if(t.fixedContentPos&&t._hasScrollBar(p)){var h=t._getScrollbarSize();h&&(g.marginRight=h)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):g.overflow="hidden");var v=t.st.mainClass;return t.isIE7&&(v+=" mfp-ie7"),v&&t._addClassToMFP(v),t.updateItemHTML(),I("BuildControls"),e("html").css(g),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||e(document.body)),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(m),t._setFocus()):t.bgOverlay.addClass(m),o.on("focusin"+f,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(p),I(d),n}t.updateItemHTML()},close:function(){t.isOpen&&(I(l),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(g),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){I(s);var n=g+" "+m+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var i={marginRight:""};t.isIE7?e("body, html").css("overflow",""):i.overflow="",e("html").css(i)}o.off("keyup.mfp focusin"+f),t.ev.off(f),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","bp-popup mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&!0!==t.currTemplate[t.currItem.type]||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t.st.autoFocusLast&&t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,I("AfterClose")},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,o=window.innerHeight*n;t.wrap.css("height",o),t.wH=o}else t.wH=e||C.height();t.fixedContentPos||t.wrap.css("height",t.wH),I("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var o=n.type;if(I("BeforeChange",[t.currItem?t.currItem.type:"",o]),t.currItem=n,!t.currTemplate[o]){var a=!!t.st[o]&&t.st[o].markup;I("FirstMarkupParse",a),t.currTemplate[o]=!a||e(a)}i&&i!==n.type&&t.container.removeClass("mfp-"+i+"-holder");var r=t["get"+o.charAt(0).toUpperCase()+o.slice(1)](n,t.currTemplate[o]);t.appendContent(r,o),n.preloaded=!0,I(u,n),i=n.type,t.container.prepend(t.contentContainer),I("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&!0===t.currTemplate[n]?t.content.find(".eae-close").length||t.content.append(x()):t.content=e:t.content="",I("BeforeAppend"),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var o,i=t.items[n];if(i.tagName?i={el:e(i)}:(o=i.type,i={data:i,src:i.src}),i.el){for(var a=t.types,r=0;r<a.length;r++)if(i.el.hasClass("mfp-"+a[r])){o=a[r];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=o||t.st.type||"inline",i.index=n,i.parsed=!0,t.items[n]=i,I("ElementParse",i),t.items[n]},addGroup:function(e,n){var o=function(o){o.mfpEl=this,t._openClick(o,e,n)};n||(n={});var i="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(i).on(i,o)):(n.isObj=!1,n.delegate?e.off(i).on(i,n.delegate,o):(n.items=e,e.off(i).on(i,o)))},_openClick:function(n,o,i){if((void 0!==i.midClick?i.midClick:e.eaePopup.defaults.midClick)||!(2===n.which||n.ctrlKey||n.metaKey||n.altKey||n.shiftKey)){var a=void 0!==i.disableOn?i.disableOn:e.eaePopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(C.width()<a)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),i.el=e(n.mfpEl),i.delegate&&(i.items=o.find(i.delegate)),t.open(i)}},updateStatus:function(e,o){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),o||"loading"!==e||(o=t.st.tLoading);var i={status:e,text:o};I("UpdateStatus",i),e=i.status,o=i.text,t.preloader.html(o),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass(h)){var o=t.st.closeOnContentClick,i=t.st.closeOnBgClick;if(o&&i)return!0;if(!t.content||e(n).hasClass("eae-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(o)return!0}else if(i&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?o.height():document.body.scrollHeight)>(e||C.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){if(n.target!==t.wrap[0]&&!e.contains(t.wrap[0],n.target))return t._setFocus(),!1},_parseMarkup:function(t,n,o){var i;o.data&&(n=e.extend(o.data,n)),I(c,[t,n,o]),e.each(n,function(n,o){if(void 0===o||!1===o)return!0;if((i=n.split("_")).length>1){var a=t.find(f+"-"+i[0]);if(a.length>0){var r=i[1];"replaceWith"===r?a[0]!==o[0]&&a.replaceWith(o):"img"===r?a.is("img")?a.attr("src",o):a.replaceWith(e("<img>").attr("src",o).attr("class",a.attr("class"))):a.attr(i[1],o)}}else t.find(f+"-"+n).html(o)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.eaePopup={instance:null,proto:v.prototype,modules:[],open:function(t,n){return k(),(t=t?e.extend(!0,{},t):{}).isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.eaePopup.instance&&e.eaePopup.instance.close()},registerModule:function(t,n){n.options&&(e.eaePopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="eae-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.eaePopup=function(n){k();var o=e(this);if("string"==typeof n)if("open"===n){var i,a=y?o.data("magnificPopup"):o[0].magnificPopup,r=parseInt(arguments[1],10)||0;a.items?i=a.items[r]:(i=o,a.delegate&&(i=i.find(a.delegate)),i=i.eq(r)),t._openClick({mfpEl:i},o,a)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),y?o.data("magnificPopup",n):o[0].magnificPopup=n,t.addGroup(o,n);return o};var T,_,P,S="inline",E=function(){P&&(_.after(P.addClass(T)).detach(),P=null)};e.eaePopup.registerModule(S,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(S),w(s+"."+S,function(){E()})},getInline:function(n,o){if(E(),n.src){var i=t.st.inline,a=e(n.src);if(a.length){var r=a[0].parentNode;r&&r.tagName&&(_||(T=i.hiddenClass,_=b(T),T="mfp-"+T),P=a.after(_).detach().removeClass(T)),t.updateStatus("ready")}else t.updateStatus("error",i.tNotFound),a=e("<div>");return n.inlineElement=a,a}return t.updateStatus("ready"),t._parseMarkup(o,{},n),o}}});var z,O="ajax",M=function(){z&&e(document.body).removeClass(z)},B=function(){M(),t.req&&t.req.abort()};e.eaePopup.registerModule(O,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(O),z=t.st.ajax.cursor,w(s+"."+O,B),w("BeforeChange."+O,B)},getAjax:function(n){z&&e(document.body).addClass(z),t.updateStatus("loading");var o=e.extend({url:n.src,success:function(o,i,a){var r={data:o,xhr:a};I("ParseAjax",r),t.appendContent(e(r.data),O),n.finished=!0,M(),t._setFocus(),setTimeout(function(){t.wrap.addClass(m)},16),t.updateStatus("ready"),I("AjaxContentAdded")},error:function(){M(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}});var L;e.eaePopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="eae-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var n=t.st.image,o=".image";t.types.push("image"),w(d+o,function(){"image"===t.currItem.type&&n.cursor&&e(document.body).addClass(n.cursor)}),w(s+o,function(){n.cursor&&e(document.body).removeClass(n.cursor),C.off("resize"+f)}),w("Resize"+o,t.resizeImage),t.isLowIE&&w("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,L&&clearInterval(L),e.isCheckingImgSize=!1,I("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,o=e.img[0],i=function(a){L&&clearInterval(L),L=setInterval(function(){o.naturalWidth>0?t._onImageHasSize(e):(n>200&&clearInterval(L),3===++n?i(10):40===n?i(50):100===n&&i(500))},a)};i(1)},getImage:function(n,o){var i=0,a=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,I("ImageLoadComplete")):++i<200?setTimeout(a,100):r())},r=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,l=o.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.el&&n.el.find("img").length&&(c.alt=n.el.find("img").attr("alt")),n.img=e(c).on("load.mfploader",a).on("error.mfploader",r),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),(c=n.img[0]).naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(o,{title:function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var o=t.st.image.titleSrc;if(o){if(e.isFunction(o))return o.call(t,n);if(n.el)return n.el.attr(o)||""}return""}(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(L&&clearInterval(L),n.loadError?(o.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(o.removeClass("mfp-loading"),t.updateStatus("ready")),o):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,o.addClass("mfp-loading"),t.findImageSize(n)),o)}}});var H;e.eaePopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,o=".zoom";if(n.enabled&&t.supportsTransition){var i,a,r=n.duration,c=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),o="all "+n.duration/1e3+"s "+n.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},a="transition";return i["-webkit-"+a]=i["-moz-"+a]=i["-o-"+a]=i[a]=o,t.css(i),t},d=function(){t.content.css("visibility","visible")};w("BuildControls"+o,function(){if(t._allowZoom()){if(clearTimeout(i),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void d();(a=c(e)).css(t._getOffset()),t.wrap.append(a),i=setTimeout(function(){a.css(t._getOffset(!0)),i=setTimeout(function(){d(),setTimeout(function(){a.remove(),e=a=null,I("ZoomAnimationEnded")},16)},r)},16)}}),w(l+o,function(){if(t._allowZoom()){if(clearTimeout(i),t.st.removalDelay=r,!e){if(!(e=t._getItemToZoom()))return;a=c(e)}a.css(t._getOffset(!0)),t.wrap.append(a),t.content.css("visibility","hidden"),setTimeout(function(){a.css(t._getOffset())},16)}}),w(s+o,function(){t._allowZoom()&&(d(),a&&a.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(n){var o,i=(o=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),a=parseInt(o.css("padding-top"),10),r=parseInt(o.css("padding-bottom"),10);i.top-=e(window).scrollTop()-a;var s={width:o.width(),height:(y?o.innerHeight():o[0].offsetHeight)-r-a};return void 0===H&&(H=void 0!==document.createElement("p").style.MozTransform),H?s["-moz-transform"]=s.transform="translate("+i.left+"px,"+i.top+"px)":(s.left=i.left,s.top=i.top),s}}});var A="iframe",F=function(e){if(t.currTemplate[A]){var n=t.currTemplate[A].find("iframe");n.length&&(e||(n[0].src="//about:blank"),t.isIE8&&n.css("display",e?"block":"none"))}};e.eaePopup.registerModule(A,{options:{markup:'<div class="mfp-iframe-scaler"><div class="eae-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(A),w("BeforeChange",function(e,t,n){t!==n&&(t===A?F():n===A&&F(!0))}),w(s+"."+A,function(){F()})},getIframe:function(n,o){var i=n.src,a=t.st.iframe;e.each(a.patterns,function(){if(i.indexOf(this.index)>-1)return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1});var r={};return a.srcAction&&(r[a.srcAction]=i),t._parseMarkup(o,r,n),t.updateStatus("ready"),o}}});var j=function(e){var n=t.items.length;return e>n-1?e-n:e<0?n+e:e},N=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.eaePopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,i=".mfp-gallery";if(t.direction=!0,!n||!n.enabled)return!1;a+=" mfp-gallery",w(d+i,function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),o.on("keydown"+i,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),w("UpdateStatus"+i,function(e,n){n.text&&(n.text=N(n.text,t.currItem.index,t.items.length))}),w(c+i,function(e,o,i,a){var r=t.items.length;i.counter=r>1?N(n.tCounter,a.index,r):""}),w("BuildControls"+i,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var o=n.arrowMarkup,i=t.arrowLeft=e(o.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(h),a=t.arrowRight=e(o.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(h);i.click(function(){t.prev()}),a.click(function(){t.next()}),t.container.append(i.add(a))}}),w(u+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),w(s+i,function(){o.off(i),t.wrap.off("click"+i),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=j(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=j(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,o=Math.min(n[0],t.items.length),i=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?i:o);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?o:i);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=j(n),!t.items[n].preloaded){var o=t.items[n];o.parsed||(o=t.parseEl(n)),I("LazyLoad",o),"image"===o.type&&(o.img=e('<img class="mfp-img" />').on("load.mfploader",function(){o.hasSize=!0}).on("error.mfploader",function(){o.hasSize=!0,o.loadError=!0,I("LazyLoadError",o)}).attr("src",o.src)),o.preloaded=!0}}}});var W="retina";e.eaePopup.registerModule(W,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;(n=isNaN(n)?n():n)>1&&(w("ImageHasSize."+W,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),w("ElementParse."+W,function(t,o){o.src=e.replaceSrc(o,n)}))}}}}),k()});
!function(t){"use strict";var s={slide:0,delay:5e3,loop:!0,preload:!1,preloadImage:!1,preloadVideo:!1,timer:!0,overlay:!1,autoplay:!0,shuffle:!1,cover:!0,color:null,align:"center",valign:"center",firstTransition:null,firstTransitionDuration:null,transition:"fade",transitionDuration:1e3,transitionRegister:[],animation:null,animationDuration:"auto",animationRegister:[],slidesToKeep:1,init:function(){},play:function(){},pause:function(){},walk:function(){},slides:[]},i={},e=function(i,e){this.elmt=i,this.settings=t.extend({},s,t.vegas.defaults,e),this.slide=this.settings.slide,this.total=this.settings.slides.length,this.noshow=this.total<2,this.paused=!this.settings.autoplay||this.noshow,this.ended=!1,this.$elmt=t(i),this.$timer=null,this.$overlay=null,this.$slide=null,this.timeout=null,this.first=!0,this.transitions=["fade","fade2","blur","blur2","flash","flash2","negative","negative2","burn","burn2","slideLeft","slideLeft2","slideRight","slideRight2","slideUp","slideUp2","slideDown","slideDown2","zoomIn","zoomIn2","zoomOut","zoomOut2","swirlLeft","swirlLeft2","swirlRight","swirlRight2"],this.animations=["kenburns","kenburnsLeft","kenburnsRight","kenburnsUp","kenburnsUpLeft","kenburnsUpRight","kenburnsDown","kenburnsDownLeft","kenburnsDownRight"],this.settings.transitionRegister instanceof Array==!1&&(this.settings.transitionRegister=[this.settings.transitionRegister]),this.settings.animationRegister instanceof Array==!1&&(this.settings.animationRegister=[this.settings.animationRegister]),this.transitions=this.transitions.concat(this.settings.transitionRegister),this.animations=this.animations.concat(this.settings.animationRegister),this.support={objectFit:"objectFit"in document.body.style,transition:"transition"in document.body.style||"WebkitTransition"in document.body.style,video:t.vegas.isVideoCompatible()},this.settings.shuffle===!0&&this.shuffle(),this._init()};e.prototype={_init:function(){var s,i,e,n="BODY"===this.elmt.tagName,o=this.settings.timer,a=this.settings.overlay,r=this;this._preload(),n||(this.$elmt.css("height",this.$elmt.css("height")),s=t('<div class="vegas-wrapper">').css("overflow",this.$elmt.css("overflow")).css("padding",this.$elmt.css("padding")),this.$elmt.css("padding")||s.css("padding-top",this.$elmt.css("padding-top")).css("padding-bottom",this.$elmt.css("padding-bottom")).css("padding-left",this.$elmt.css("padding-left")).css("padding-right",this.$elmt.css("padding-right")),this.$elmt.clone(!0).children().appendTo(s),this.elmt.innerHTML=""),o&&this.support.transition&&(e=t('<div class="vegas-timer"><div class="vegas-timer-progress">'),this.$timer=e,this.$elmt.prepend(e)),a&&(i=t('<div class="vegas-overlay">'),"string"==typeof a&&i.css("background-image","url("+a+")"),this.$overlay=i,this.$elmt.prepend(i)),this.$elmt.addClass("vegas-container"),n||this.$elmt.append(s),setTimeout(function(){r.trigger("init"),r._goto(r.slide),r.settings.autoplay&&r.trigger("play")},1)},_preload:function(){var t,s;for(s=0;s<this.settings.slides.length;s++)(this.settings.preload||this.settings.preloadImages)&&this.settings.slides[s].src&&(t=new Image,t.src=this.settings.slides[s].src),(this.settings.preload||this.settings.preloadVideos)&&this.support.video&&this.settings.slides[s].video&&(this.settings.slides[s].video instanceof Array?this._video(this.settings.slides[s].video):this._video(this.settings.slides[s].video.src))},_random:function(t){return t[Math.floor(Math.random()*t.length)]},_slideShow:function(){var t=this;this.total>1&&!this.ended&&!this.paused&&!this.noshow&&(this.timeout=setTimeout(function(){t.next()},this._options("delay")))},_timer:function(t){var s=this;clearTimeout(this.timeout),this.$timer&&(this.$timer.removeClass("vegas-timer-running").find("div").css("transition-duration","0ms"),this.ended||this.paused||this.noshow||t&&setTimeout(function(){s.$timer.addClass("vegas-timer-running").find("div").css("transition-duration",s._options("delay")-100+"ms")},100))},_video:function(t){var s,e,n=t.toString();return i[n]?i[n]:(t instanceof Array==!1&&(t=[t]),s=document.createElement("video"),s.preload=!0,t.forEach(function(t){e=document.createElement("source"),e.src=t,s.appendChild(e)}),i[n]=s,s)},_fadeOutSound:function(t,s){var i=this,e=s/10,n=t.volume-.09;n>0?(t.volume=n,setTimeout(function(){i._fadeOutSound(t,s)},e)):t.pause()},_fadeInSound:function(t,s){var i=this,e=s/10,n=t.volume+.09;n<1&&(t.volume=n,setTimeout(function(){i._fadeInSound(t,s)},e))},_options:function(t,s){return void 0===s&&(s=this.slide),void 0!==this.settings.slides[s][t]?this.settings.slides[s][t]:this.settings[t]},_goto:function(s){function i(){f._timer(!0),setTimeout(function(){y&&(f.support.transition?(h.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-out"),h.each(function(){var t=h.find("video").get(0);t&&(t.volume=1,f._fadeOutSound(t,_))}),e.css("transition","all "+_+"ms").addClass("vegas-transition-"+y+"-in")):e.fadeIn(_));for(var t=0;t<h.length-f.settings.slidesToKeep;t++)h.eq(t).remove();f.trigger("walk"),f._slideShow()},100)}"undefined"==typeof this.settings.slides[s]&&(s=0),this.slide=s;var e,n,o,a,r,h=this.$elmt.children(".vegas-slide"),d=this.settings.slides[s].src,l=this.settings.slides[s].video,g=this._options("delay"),u=this._options("align"),c=this._options("valign"),p=this._options("cover"),m=this._options("color")||this.$elmt.css("background-color"),f=this,v=h.length,y=this._options("transition"),_=this._options("transitionDuration"),w=this._options("animation"),b=this._options("animationDuration");this.settings.firstTransition&&this.first&&(y=this.settings.firstTransition||y),this.settings.firstTransitionDuration&&this.first&&(_=this.settings.firstTransitionDuration||_),this.first&&(this.first=!1),"repeat"!==p&&(p===!0?p="cover":p===!1&&(p="contain")),("random"===y||y instanceof Array)&&(y=y instanceof Array?this._random(y):this._random(this.transitions)),("random"===w||w instanceof Array)&&(w=w instanceof Array?this._random(w):this._random(this.animations)),("auto"===_||_>g)&&(_=g),"auto"===b&&(b=g),e=t('<div class="vegas-slide"></div>'),this.support.transition&&y&&e.addClass("vegas-transition-"+y),this.support.video&&l?(a=l instanceof Array?this._video(l):this._video(l.src),a.loop=void 0===l.loop||l.loop,a.muted=void 0===l.mute||l.mute,a.muted===!1?(a.volume=0,this._fadeInSound(a,_)):a.pause(),o=t(a).addClass("vegas-video").css("background-color",m),this.support.objectFit?o.css("object-position",u+" "+c).css("object-fit",p).css("width","100%").css("height","100%"):"contain"===p&&o.css("width","100%").css("height","100%"),e.append(o)):(r=new Image,n=t('<div class="vegas-slide-inner"></div>').css("background-image",'url("'+d+'")').css("background-color",m).css("background-position",u+" "+c),"repeat"===p?n.css("background-repeat","repeat"):n.css("background-size",p),this.support.transition&&w&&n.addClass("vegas-animation-"+w).css("animation-duration",b+"ms"),e.append(n)),this.support.transition||e.css("display","none"),v?h.eq(v-1).after(e):this.$elmt.prepend(e),h.css("transition","all 0ms").each(function(){this.className="vegas-slide","VIDEO"===this.tagName&&(this.className+=" vegas-video"),y&&(this.className+=" vegas-transition-"+y,this.className+=" vegas-transition-"+y+"-in")}),f._timer(!1),a?(4===a.readyState&&(a.currentTime=0),a.play(),i()):(r.src=d,r.complete?i():r.onload=i)},_end:function(){this.ended=!0,this._timer(!1),this.trigger("end")},shuffle:function(){for(var t,s,i=this.total-1;i>0;i--)s=Math.floor(Math.random()*(i+1)),t=this.settings.slides[i],this.settings.slides[i]=this.settings.slides[s],this.settings.slides[s]=t},play:function(){this.paused&&(this.paused=!1,this.next(),this.trigger("play"))},pause:function(){this._timer(!1),this.paused=!0,this.trigger("pause")},toggle:function(){this.paused?this.play():this.pause()},playing:function(){return!this.paused&&!this.noshow},current:function(t){return t?{slide:this.slide,data:this.settings.slides[this.slide]}:this.slide},jump:function(t){t<0||t>this.total-1||t===this.slide||(this.slide=t,this._goto(this.slide))},next:function(){if(this.slide++,this.slide>=this.total){if(!this.settings.loop)return this._end();this.slide=0}this._goto(this.slide)},previous:function(){if(this.slide--,this.slide<0){if(!this.settings.loop)return void this.slide++;this.slide=this.total-1}this._goto(this.slide)},trigger:function(t){var s=[];s="init"===t?[this.settings]:[this.slide,this.settings.slides[this.slide]],this.$elmt.trigger("vegas"+t,s),"function"==typeof this.settings[t]&&this.settings[t].apply(this.$elmt,s)},options:function(i,e){var n=this.settings.slides.slice();if("object"==typeof i)this.settings=t.extend({},s,t.vegas.defaults,i);else{if("string"!=typeof i)return this.settings;if(void 0===e)return this.settings[i];this.settings[i]=e}this.settings.slides!==n&&(this.total=this.settings.slides.length,this.noshow=this.total<2,this._preload())},destroy:function(){clearTimeout(this.timeout),this.$elmt.removeClass("vegas-container"),this.$elmt.find("> .vegas-slide").remove(),this.$elmt.find("> .vegas-wrapper").clone(!0).children().appendTo(this.$elmt),this.$elmt.find("> .vegas-wrapper").remove(),this.settings.timer&&this.$timer.remove(),this.settings.overlay&&this.$overlay.remove(),this.elmt._vegas=null}},t.fn.vegas=function(t){var s,i=arguments,n=!1;if(void 0===t||"object"==typeof t)return this.each(function(){this._vegas||(this._vegas=new e(this,t))});if("string"==typeof t){if(this.each(function(){var e=this._vegas;if(!e)throw new Error("No Vegas applied to this element.");"function"==typeof e[t]&&"_"!==t[0]?s=e[t].apply(e,[].slice.call(i,1)):n=!0}),n)throw new Error('No method "'+t+'" in Vegas.');return void 0!==s?s:this}},t.vegas={},t.vegas.defaults=s,t.vegas.isVideoCompatible=function(){return!/(Android|webOS|Phone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)}}(window.jQuery||window.Zepto);
;var dlmXHRtranslations={"error":"An error occurred while trying to download the file. Please try again.","not_found":"Download does not exist.","no_file_path":"No file path defined.","no_file_paths":"No file paths defined.","filetype":"Download is not allowed for this file type.","file_access_denied":"Access denied to this file.","access_denied":"Access denied. You do not have permission to download this file.","security_error":"Something is wrong with the file path.","file_not_found":"File not found."};const dlmXHR={"xhr_links":{"class":["download-link","download-button"]},"prevent_duplicates":!0,"ajaxUrl":"https:\/\/www.centreforchiropractic.ca\/wp-admin\/admin-ajax.php"};dlmXHRinstance={};const dlmXHRGlobalLinks="https://www.centreforchiropractic.ca/download/";const dlmNonXHRGlobalLinks=[];dlmXHRgif="https://www.centreforchiropractic.ca/wp-includes/images/spinner.gif";const dlmXHRProgress="1";
jQuery(function(e){new DLM_XHR_Download});class DLM_XHR_Download{responsHeaders={};constructor(){(dlmXHRinstance=this).init()}init(){dlmXHRinstance.attachButtonEvent()}attachButtonEvent(){jQuery("html,body").on("click",".dlm-no-access-modal-window > div",function(e){e.stopPropagation()}),jQuery("html, body").on("click",".dlm-no-access-modal-overlay, .dlm-no-access-modal-close, .dlm-no-access-modal-window",function(e){e.stopPropagation(),jQuery("#dlm-no-access-modal").remove()}),jQuery(document).on("keydown",function(e){"Escape"===e.key&&jQuery("#dlm-no-access-modal").remove()}),jQuery("html, body").on("click","a",function(e){let d=jQuery(this).attr("href"),o=!1;var r,s;jQuery(this).hasClass("dlm-no-xhr-download")&&(o=!0),"undefined"!=typeof dlmNonXHRGlobalLinks&&0<dlmNonXHRGlobalLinks.length&&void 0!==d&&dlmNonXHRGlobalLinks.forEach(e=>{0<=d.indexOf(e)&&(o=!0)}),o?jQuery("#dlm-no-access-modal").remove():(jQuery(document).trigger("dlm-xhr-download-button-click",[d,this,dlmXHRGlobalLinks]),void 0!==d&&0<=d.indexOf(dlmXHRGlobalLinks)&&(r=jQuery(this).data("redirect"),s=jQuery(this).attr("target"),void 0!==r&&!0===r&&"_blank"===s||dlmXHRinstance.handleDownloadClick(this,e)))})}handleDownloadClick(e,d){d.stopPropagation();var o=e.getAttribute("href"),o={button:e,href:o,buttonObj:jQuery(e)};-1===o.href.indexOf("blob:http")&&"#"!==o.href&&(d.preventDefault(),dlmXHRinstance.retrieveBlob(o))}retrieveBlob(e){let h=this,{button:f,href:x,buttonObj:H}=e,w,g=new XMLHttpRequest,b=dlmXHR.prevent_duplicates,R=H.attr("target"),y=H.attr("class");y=void 0!==y&&""!==y?y.replace("dlm-download-started","").replace("dlm-download-completed",""):"",H.addClass("dlm-download-started"),f.setAttribute("href","#"),f.removeAttribute("download"),f.setAttribute("disabled","disabled"),dlmXHRProgress&&(e='<img src="'+dlmXHRgif+'" class="dlm-xhr-loading-gif" style="display:inline-block; vertical-align: middle; margin-left:15px;">',f.innerHTML+=e),jQuery(document).trigger("dlm_download_triggered",[this,f,H,w,g]);let C=!1;g.responseType="blob",g.onreadystatechange=function(){var{status:e,readyState:d,statusText:o}=g,r=g.getAllResponseHeaders().split("\r\n").reduce((e,d)=>{var[d,o]=d.split(": ");return e[d]=o,e},{});1<Object.keys(r).length&&(C=!0,h.responseHeaders=r);let s="download",n=!1,t=!1,l=!1,a=!1,i=null,m=!1,c=!1,p=!1,v=!1,u=!1;if(C&&void 0!==h.responseHeaders["dlm-file-name"]&&(n=h.responseHeaders["dlm-file-name"]),C&&void 0!==h.responseHeaders["dlm-no-waypoints"]&&(t=!0),C&&void 0!==h.responseHeaders["dlm-redirect"]&&(l=h.responseHeaders["dlm-redirect"]),C&&void 0!==h.responseHeaders["dlm-external-download"]&&(a=!0),C&&void 0!==h.responseHeaders["dlm-no-access"]&&(i=h.responseHeaders["dlm-no-access"]),C&&void 0!==h.responseHeaders["dlm-no-access-modal"]&&(m=h.responseHeaders["dlm-no-access-modal"]),C&&void 0!==h.responseHeaders["dlm-error"]&&(c=h.responseHeaders["dlm-error"]),C&&void 0!==h.responseHeaders["dlm-download-id"]&&(p=h.responseHeaders["dlm-download-id"]),C&&void 0!==h.responseHeaders["dlm-version-id"]&&(v=h.responseHeaders["dlm-version-id"]),C&&void 0!==h.responseHeaders["dlm-no-access-modal-text"]&&(u=h.responseHeaders["dlm-no-access-modal-text"]),C&&void 0!==h.responseHeaders["x-dlm-file-name"]&&(n=h.responseHeaders["x-dlm-file-name"]),C&&void 0!==h.responseHeaders["x-dlm-no-waypoints"]&&(t=!0),C&&void 0!==h.responseHeaders["x-dlm-redirect"]&&(l=h.responseHeaders["x-dlm-redirect"]),C&&void 0!==h.responseHeaders["x-dlm-external-download"]&&(a=!0),C&&void 0!==h.responseHeaders["x-dlm-no-access"]&&(i=h.responseHeaders["x-dlm-no-access"]),C&&void 0!==h.responseHeaders["x-dlm-no-access-modal"]&&(m=h.responseHeaders["x-dlm-no-access-modal"]),C&&void 0!==h.responseHeaders["x-dlm-error"]&&(c=h.responseHeaders["x-dlm-error"]),C&&void 0!==h.responseHeaders["x-dlm-download-id"]&&(p=h.responseHeaders["x-dlm-download-id"]),C&&void 0!==h.responseHeaders["x-dlm-version-id"]&&(v=h.responseHeaders["x-dlm-version-id"]),C&&void 0!==h.responseHeaders["x-dlm-no-access-modal-text"]&&(u=h.responseHeaders["x-dlm-no-access-modal-text"]),n?(s=n.replace(/\"/g,"").replace(";",""),s=decodeURI(s)):C&&void 0!==h.responseHeaders["content-disposition"]&&(s=(s=h.responseHeaders["content-disposition"].split(/(?:filename\*=UTF-8'')|(?:filename=)/)[1]).replace(/\"/g,"").replace(";",""),s=decodeURI(s)),c=c&&(c in dlmXHRtranslations?dlmXHRtranslations[c]:dlmXHRtranslations.error),2===g.readyState){if(C&&void 0!==h.responseHeaders["x-dlm-force-abort"]&&""!==h.responseHeaders["x-dlm-force-abort"])return f.removeAttribute("download"),f.setAttribute("href",x),H.removeClass().addClass(y).find("span.dlm-xhr-progress").remove(),H.find(".dlm-xhr-loading-gif").remove(),g.abort(),void jQuery("#dlm-no-access-modal").remove();if(t)return g.abort(),l?void(window.location.href=l):void(window.location.href=x);if(a)return g.abort(),void dlmXHRinstance.dlmExternalDownload(h.responseHeaders,f,H,s,x);if(0===Object.keys(h.responseHeaders).filter(e=>-1!==e.indexOf("dlm-")).length)return g.abort(),void(window.location.href=x);if(i&&"true"===i&&m&&0!=m)return dlmXHRinstance.dlmNoAccessModal(h.responseHeaders),f.removeAttribute("download"),f.setAttribute("href",x),H.removeClass().addClass(y).find("span.dlm-xhr-progress").remove(),H.find(".dlm-xhr-loading-gif").remove(),void g.abort();if(c&&""!==c&&null!==c)return dlmXHRinstance.dlmLogDownload(h.responseHeaders,"failed",!1),f.removeAttribute("download"),f.setAttribute("href",x),H.removeClass().addClass(y).find("span.dlm-xhr-progress").remove(),H.find(".dlm-xhr-loading-gif").remove(),g.abort(),void(m&&0!=m?dlmXHRinstance.dlmNoAccessModal(h.responseHeaders):(H.find(".dlm-xhr-error").remove(),H.append('<span class="dlm-xhr-error">'+c+"</span>")));if(l&&""!==l&&null!==l)return dlmXHRinstance.dlmLogDownload(h.responseHeaders,"redirected",!1,l,i,R),f.removeAttribute("download"),f.setAttribute("href",x),H.removeClass().addClass(y).find("span.dlm-xhr-progress").remove(),H.find(".dlm-xhr-loading-gif").remove(),void g.abort()}404==e&&2==d&&((r=document.createElement("p")).innerHTML=o,f.parentNode.appendChild(r)),401==e&&2==d?window.location.href=o:(403==e&&2==d&&((r=document.createElement("p")).innerHTML=o,f.parentNode.appendChild(r)),200==e&&4==d&&(o=g.response,w=URL.createObjectURL(o),f.removeEventListener("click",dlmXHRinstance.handleDownloadClick),f.setAttribute("download",""+s),f.setAttribute("href",w),f.click(),H.removeClass().addClass(y+" dlm-download-complete"),dlmXHRinstance.attachButtonEvent(),jQuery(document).trigger("dlm_download_complete",[this,f,H,w]),dlmXHRinstance.dlmLogDownload(h.responseHeaders,"completed",b),window.URL.revokeObjectURL(w),f.removeAttribute("download"),f.setAttribute("href",x),H.find(".dlm-xhr-loading-gif").remove(),setTimeout(function(){H.removeClass().addClass(y).find("span.dlm-xhr-progress").remove()},4e3)))},dlmXHRProgress&&g.addEventListener("progress",function(e){let d=e.total,o=(void 0!==e.total&&"undefined"!==e.total&&0!==e.total||void 0!==h.responseHeaders["x-dlm-filesize"]&&(d=h.responseHeaders["x-dlm-filesize"]),e.loaded/d*100);o=o.toFixed();var r;H.find("span.dlm-xhr-progress").remove(),r="dlm-download-started download-"+10*Math.ceil(o/10),1/0!=o&&H.append('<span class="dlm-xhr-progress">&nbsp;'+o+"%</span>"),H.removeClass().addClass(y+" "+r),jQuery(document).trigger("dlm_download_progress",[this,f,H,w,e,o])}),g.onerror=function(){f.removeAttribute("download"),f.setAttribute("href",x),H.removeClass().addClass(y+" dlm-no-xhr-download").find("span.dlm-xhr-progress").remove(),H.find(".dlm-xhr-error").remove(),H.append('<span class="dlm-xhr-error">'+dlmXHRtranslations.error+"</span>"),console.log("** An error occurred during the transaction")},g.open("GET",x,!0),g.setRequestHeader("Cache-Control","no-store, no-cache, no-transform, max-age=0"),g.setRequestHeader("dlm-xhr-request","dlm_XMLHttpRequest"),g.send()}dlmLogDownload(e,d,o,r=null,s=null,n="_self"){var t,l;null!==s?window.open(r,n):(s=window.location.href,t=void 0!==e["x-dlm-download-id"]?e["x-dlm-download-id"]:e["dlm-download-id"],l=void 0!==e["x-dlm-version-id"]?e["x-dlm-version-id"]:e["dlm-version-id"],jQuery.post(dlmXHR.ajaxUrl,{download_id:t,version_id:l,status:d,cookie:o,currentURL:s,action:"log_dlm_xhr_download",responseHeaders:e,nonce:e["x-dlm-nonce"]},function(e){null!==r&&(null==n&&(n="_self"),window.open(r,n))}))}dlmNoAccessModal(e){let d="empty-download",o="empty-version",r="empty-restriction",s="",t=(void 0!==e["dlm-download-id"]&&(d=e["dlm-download-id"]),void 0!==e["dlm-version-id"]&&(o=e["dlm-version-id"]),void 0!==e["dlm-no-access-modal-text"]&&(s=e["dlm-no-access-modal-text"]),void 0!==e["dlm-no-access-restriction"]&&(r=e["dlm-no-access-restriction"]),void 0!==e["x-dlm-download-id"]&&(d=e["x-dlm-download-id"]),void 0!==e["x-dlm-version-id"]&&(o=e["x-dlm-version-id"]),void 0!==e["x-dlm-no-access-modal-text"]&&(s=e["x-dlm-no-access-modal-text"]),void 0!==e["x-dlm-no-access-restriction"]&&(r=e["x-dlm-no-access-restriction"]),{download_id:d,version_id:o,modal_text:s,restriction:r,action:"no_access_dlm_xhr_download",nonce:e["x-dlm-nonce"]});jQuery(document).trigger("dlm-xhr-modal-data",[t,e]),document.dispatchEvent(new CustomEvent("dlm-xhr-modal-data",{detail:{data:t,headers:e}})),jQuery.post(dlmXHR.ajaxUrl,t,function(e){jQuery("#dlm-no-access-modal").remove();var d=document.createElement("div"),o=(d.innerHTML=e,/<script\b[^>]*>([\s\S]*?)<\/script>/gm);for(d.innerHTML=d.innerHTML.replace(o,"");null!==(s=o.exec(e));){var r=s[0],s=s[1],n=document.createElement("script"),r=r.match(/src=["']([^"']+)["']/),r=(r?n.src=r[1]:n.textContent=s,d.querySelector("#dlm-no-access-modal"));console.error(n),(r||document.body).appendChild(n)}for(;d.firstChild;)document.body.appendChild(d.firstChild);jQuery(document).trigger(t.action,[e,t]),document.dispatchEvent(new CustomEvent(t.action,{detail:[e,t]}))})}dlmExternalDownload(o,s,n,r,t){let l=new XMLHttpRequest,a=(n.attr("target"),n.attr("class")),i,e="";void 0!==o["dlm-external-download"]&&(e=o["dlm-external-download"]),void 0!==o["x-dlm-external-download"]&&(e=o["x-dlm-external-download"]),a=void 0!==a&&""!==a?a.replace("dlm-download-started","").replace("dlm-download-completed",""):"",n.addClass("dlm-download-started"),s.setAttribute("href","#"),s.removeAttribute("download"),s.setAttribute("disabled","disabled"),jQuery(document).trigger("dlm_download_triggered",[this,s,n,i,l]),l.responseType="blob",l.onreadystatechange=function(){var{status:e,readyState:d}=l;403===e?(dlmXHRinstance.dlmLogDownload(o,"failed",!1),l.abort(),n.find(".dlm-xhr-error").remove(),n.append('<span class="dlm-xhr-error">Acces Denied to file.</span>')):200==e&&4==d&&(e=l.response,i=URL.createObjectURL(e),s.removeEventListener("click",dlmXHRinstance.handleDownloadClick),s.setAttribute("download",""+r),s.setAttribute("href",i),s.click(),n.removeClass().addClass(a+" dlm-download-complete"),dlmXHRinstance.attachButtonEvent(),jQuery(document).trigger("dlm_download_complete",[this,s,n,i]),dlmXHRinstance.dlmLogDownload(o,"completed",!1),window.URL.revokeObjectURL(i),s.removeAttribute("download"),s.setAttribute("href",t),n.find(".dlm-xhr-loading-gif").remove(),setTimeout(function(){n.removeClass().addClass(a).find("span.dlm-xhr-progress").remove()},1e3))},dlmXHRProgress&&l.addEventListener("progress",function(e){let d=e.total,o=(void 0!==e.total&&"undefined"!==e.total||(d=l.getResponseHeader("X-DLM-Filesize")),e.loaded/d*100);o=o.toFixed();var r;n.find("span.dlm-xhr-progress").remove(),r="dlm-download-started download-"+10*Math.ceil(o/10),1/0!=o&&n.append('<span class="dlm-xhr-progress">&nbsp;'+o+"%</span>"),n.removeClass().addClass(a+" "+r),jQuery(document).trigger("dlm_download_progress",[this,s,n,i,e,o])}),l.onerror=function(){s.removeAttribute("download"),s.setAttribute("href",t),n.removeClass().addClass(a+" .dlm-no-xhr-download").find("span.dlm-xhr-progress").remove(),n.find(".dlm-xhr-error").remove(),n.append('<span class="dlm-xhr-error">'+dlmXHRtranslations.error+"</span>"),console.log("** An error occurred during the transaction")},l.open("GET",e,!0),l.setRequestHeader("Cache-Control","no-store, no-cache, no-transform, max-age=0"),l.setRequestHeader("dlm-xhr-request","dlm_XMLHttpRequest"),l.send()}}document.addEventListener("dlm-xhr-modal-data",function(event){if("undefined"!==typeof event.detail.headers["x-dlm-tc-required"]){event.detail.data.action="dlm_terms_conditions_modal";event.detail.data.dlm_modal_response="true"}});document.addEventListener("dlm-xhr-modal-data",function(event){if("undefined"!==typeof event.detail.headers["x-dlm-members-locked"]){event.detail.data.action="dlm_members_conditions_modal";event.detail.data.dlm_modal_response="true";event.detail.data.dlm_members_form_redirect="https://www.centreforchiropractic.ca/get-to-know-your-ca/"}});var astraAddon={"sticky_active":"","svgIconClose":"<span class=\"ast-icon icon-close\"><\/span>","is_header_builder_active":""};astraToggleSetupPro=function(e,t,a){var n,l,o,s=!1;if(0<(n="off-canvas"===e||"full-width"===e?(l=document.querySelectorAll("#ast-mobile-popup, #ast-mobile-header"),(o=t.classList.contains("ast-header-break-point")?document.querySelectorAll("#ast-mobile-header .main-header-menu-toggle"):document.querySelectorAll("#ast-desktop-header .main-header-menu-toggle")).length):t.classList.contains("ast-header-break-point")?(l=document.querySelectorAll("#ast-mobile-header"),(s=!(0<(n=(o=document.querySelectorAll("#ast-mobile-header .main-header-menu-toggle")).length)))?1:n):(l=document.querySelectorAll("#ast-desktop-header"),(o=document.querySelectorAll("#ast-desktop-header .main-header-menu-toggle")).length))||s)for(var r=0;r<n;r++)if(s||(o[r].setAttribute("data-index",r),a[r])||(a[r]=o[r],o[r].removeEventListener("click",astraNavMenuToggle),o[r].addEventListener("click",astraNavMenuToggle,!1)),void 0!==l[r])for(var d,i=0;i<l.length;i++)if(0<(d=document.querySelector("header.site-header").classList.contains("ast-builder-menu-toggle-link")?l[i].querySelectorAll("ul.main-header-menu .menu-item-has-children > .menu-link, ul.main-header-menu .ast-menu-toggle"):l[i].querySelectorAll("ul.main-header-menu .ast-menu-toggle")).length)for(var c=0;c<d.length;c++)d[c].removeEventListener("click",AstraToggleSubMenu),d[c].addEventListener("click",AstraToggleSubMenu,!1)},astraNavMenuTogglePro=function(e,t,a,n){e.preventDefault();var l=e.target.closest("#ast-desktop-header"),o=document.querySelector("#masthead > #ast-desktop-header .ast-desktop-header-content"),s=(l=null!=l&&""!==l?l.querySelector(".main-header-menu-toggle"):document.querySelector("#masthead > #ast-desktop-header .main-header-menu-toggle"),document.querySelector("#masthead > #ast-desktop-header .ast-desktop-header-content .main-header-bar-navigation"));if("desktop"===e.currentTarget.trigger_type)null!==s&&""!==s&&void 0!==s&&(astraToggleClass(s,"toggle-on"),s.classList.contains("toggle-on")?s.style.display="block":s.style.display=""),astraToggleClass(l,"toggled"),l.classList.contains("toggled")?(t.classList.add("ast-main-header-nav-open"),"dropdown"===a&&(o.style.display="block")):(t.classList.remove("ast-main-header-nav-open"),o.style.display="none");else{e=document.querySelectorAll("#masthead > #ast-mobile-header .main-header-bar-navigation"),s=(menu_toggle_all=document.querySelectorAll("#masthead > #ast-mobile-header .main-header-menu-toggle"),"0"),l=!1;if(null!==n.closest("#ast-fixed-header")&&(e=document.querySelectorAll("#ast-fixed-header > #ast-mobile-header .main-header-bar-navigation"),menu_toggle_all=document.querySelectorAll("#ast-fixed-header .main-header-menu-toggle"),s="0",l=!0),void 0===e[s])return!1;for(var r=e[s].querySelectorAll(".menu-item-has-children"),d=0;d<r.length;d++){r[d].classList.remove("ast-submenu-expanded");for(var i=r[d].querySelectorAll(".sub-menu"),c=0;c<i.length;c++)i[c].style.display="none"}-1!==(n.getAttribute("class")||"").indexOf("main-header-menu-toggle")&&(astraToggleClass(e[s],"toggle-on"),astraToggleClass(menu_toggle_all[s],"toggled"),l&&1<menu_toggle_all.length&&astraToggleClass(menu_toggle_all[1],"toggled"),e[s].classList.contains("toggle-on")?(e[s].style.display="block",t.classList.add("ast-main-header-nav-open")):(e[s].style.display="",t.classList.remove("ast-main-header-nav-open")))}};let accountMenuToggle=function(){let n=astraAddon.hf_account_action_type&&"menu"===astraAddon.hf_account_action_type,l=n&&astraAddon.hf_account_show_menu_on&&"click"===astraAddon.hf_account_show_menu_on;var e=document.querySelectorAll(".ast-header-account-wrap");e&&e.forEach(t=>{let a=t.querySelector(".ast-account-nav-menu");document.addEventListener("pointerup",function(e){(l||n&&document.querySelector("body").classList.contains("ast-header-break-point"))&&a&&!t.contains(e.target)&&(a.style.right="",a.style.left="")});var e=t.querySelector(".ast-header-account-link");e&&e.addEventListener("click",function(e){(l||n&&document.querySelector("body").classList.contains("ast-header-break-point"))&&(headerSelectionPosition=e.target.closest(".site-header-section"))&&(headerSelectionPosition.classList.contains("site-header-section-left")?(a.style.left=""===a.style.left?"-100%":"",a.style.right=""===a.style.right?"auto":""):(a.style.right=""===a.style.right?"-100%":"",a.style.left=""===a.style.left?"auto":""))})})};document.addEventListener("astPartialContentRendered",function(){accountMenuToggle()}),window.addEventListener("load",function(){accountMenuToggle()}),document.addEventListener("astLayoutWidthChanged",function(){accountMenuToggle()});(()=>{var e;function o(e){var t=(t=document.body.className).replace(e,"");document.body.className=t}function d(e){e.style.display="block",setTimeout(function(){e.style.opacity=1},1)}function n(e){e.style.opacity="",setTimeout(function(){e.style.display=""},200)}r="iPhone"==navigator.userAgent.match(/iPhone/i)?"iphone":"",e="iPod"==navigator.userAgent.match(/iPod/i)?"ipod":"",document.body.className+=" "+r,document.body.className+=" "+e;for(var t=document.querySelectorAll("a.astra-search-icon:not(.slide-search)"),a=0;t.length>a;a++)t[a].onclick=function(e){var t,a,o,n;if(e.preventDefault(),e=e||window.event,this.classList.contains("header-cover"))for(var s=document.querySelectorAll(".ast-search-box.header-cover"),c=astraAddon.is_header_builder_active||!1,r=0;r<s.length;r++)for(var l=s[r].parentNode.querySelectorAll("a.astra-search-icon"),i=0;i<l.length;i++)l[i]==this&&(d(s[r]),s[r].querySelector("input.search-field").focus(),c?(t=s[r],n=o=a=void 0,document.body.classList.contains("ast-header-break-point")&&(n=document.querySelector(".main-navigation"),a=document.querySelector(".main-header-bar"),o=document.querySelector(".ast-mobile-header-wrap"),null!==a)&&null!==n&&(n=n.offsetHeight,a=a.offsetHeight,o=o.offsetHeight,n=n&&!document.body.classList.contains("ast-no-toggle-menu-enable")?parseFloat(n)-parseFloat(a):parseFloat(a),t.parentNode.classList.contains("ast-mobile-header-wrap")&&(n=parseFloat(o)),t.style.maxHeight=Math.abs(n)+"px")):(a=s[r],t=o=void 0,document.body.classList.contains("ast-header-break-point")&&(t=document.querySelector(".main-navigation"),null!==(o=document.querySelector(".main-header-bar")))&&null!==t&&(t=t.offsetHeight,o=o.offsetHeight,t=t&&!document.body.classList.contains("ast-no-toggle-menu-enable")?parseFloat(t)-parseFloat(o):parseFloat(o),a.style.maxHeight=Math.abs(t)+"px")));else this.classList.contains("full-screen")&&(e=document.getElementById("ast-seach-full-screen-form")).classList.contains("full-screen")&&(d(e),document.body.className+=" full-screen",e.querySelector("input.search-field").focus())};for(var s=document.querySelectorAll(".ast-search-box .close"),a=0,c=s.length;a<c;++a)s[a].onclick=function(e){e=e||window.event;for(var t=this;;){if(t.parentNode.classList.contains("ast-search-box")){n(t.parentNode),o("full-screen");break}if(t.parentNode.classList.contains("site-header"))break;t=t.parentNode}};document.onkeydown=function(e){if(27==e.keyCode)for(var e=document.getElementById("ast-seach-full-screen-form"),t=(null!=e&&(n(e),o("full-screen")),document.querySelectorAll(".ast-search-box.header-cover")),a=0;a<t.length;a++)n(t[a])},window.addEventListener("resize",function(){if("BODY"===document.activeElement.tagName&&"INPUT"!=document.activeElement.tagName){var e=document.querySelectorAll(".ast-search-box.header-cover");if(!document.body.classList.contains("ast-header-break-point"))for(var t=0;t<e.length;t++)e[t].style.maxHeight="",e[t].style.opacity="",e[t].style.display=""}});var r=document.getElementById("close");r&&r.addEventListener("keydown",function(e){"Enter"===e.key?(e.preventDefault(),this.click()):"Tab"===e.key&&e.preventDefault()})})();
/*! @license DOMPurify 3.2.0 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.0/LICENSE */
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).DOMPurify=t()}(this,(function(){"use strict";const{entries:e,setPrototypeOf:t,isFrozen:n,getPrototypeOf:o,getOwnPropertyDescriptor:r}=Object;let{freeze:i,seal:a,create:l}=Object,{apply:c,construct:s}="undefined"!=typeof Reflect&&Reflect;i||(i=function(e){return e}),a||(a=function(e){return e}),c||(c=function(e,t,n){return e.apply(t,n)}),s||(s=function(e,t){return new e(...t)});const u=b(Array.prototype.forEach),m=b(Array.prototype.pop),p=b(Array.prototype.push),f=b(String.prototype.toLowerCase),d=b(String.prototype.toString),h=b(String.prototype.match),g=b(String.prototype.replace),T=b(String.prototype.indexOf),y=b(String.prototype.trim),E=b(Object.prototype.hasOwnProperty),_=b(RegExp.prototype.test),A=(N=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return s(N,t)});var N;function b(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return c(e,t,o)}}function S(e,o){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:f;t&&t(e,null);let i=o.length;for(;i--;){let t=o[i];if("string"==typeof t){const e=r(t);e!==t&&(n(o)||(o[i]=e),t=e)}e[t]=!0}return e}function R(e){for(let t=0;t<e.length;t++){E(e,t)||(e[t]=null)}return e}function w(t){const n=l(null);for(const[o,r]of e(t)){E(t,o)&&(Array.isArray(r)?n[o]=R(r):r&&"object"==typeof r&&r.constructor===Object?n[o]=w(r):n[o]=r)}return n}function L(e,t){for(;null!==e;){const n=r(e,t);if(n){if(n.get)return b(n.get);if("function"==typeof n.value)return b(n.value)}e=o(e)}return function(){return null}}const v=i(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),C=i(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),O=i(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),D=i(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),x=i(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),k=i(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),I=i(["#text"]),M=i(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),U=i(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=i(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),H=i(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=a(/\{\{[\w\W]*|[\w\W]*\}\}/gm),z=a(/<%[\w\W]*|[\w\W]*%>/gm),B=a(/\${[\w\W]*}/gm),W=a(/^data-[\-\w.\u00B7-\uFFFF]/),G=a(/^aria-[\-\w]+$/),Y=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),j=a(/^(?:\w+script|data):/i),X=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),q=a(/^html$/i),K=a(/^[a-z][.\w]*(-[.\w]+)+$/i);var $=Object.freeze({__proto__:null,ARIA_ATTR:G,ATTR_WHITESPACE:X,CUSTOM_ELEMENT:K,DATA_ATTR:W,DOCTYPE_NAME:q,ERB_EXPR:z,IS_ALLOWED_URI:Y,IS_SCRIPT_OR_DATA:j,MUSTACHE_EXPR:F,TMPLIT_EXPR:B});const V=1,Z=3,J=7,Q=8,ee=9,te=function(){return"undefined"==typeof window?null:window};var ne=function t(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:te();const o=e=>t(e);if(o.version="3.2.0",o.removed=[],!n||!n.document||n.document.nodeType!==ee)return o.isSupported=!1,o;let{document:r}=n;const a=r,c=a.currentScript,{DocumentFragment:s,HTMLTemplateElement:N,Node:b,Element:R,NodeFilter:F,NamedNodeMap:z=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:B,DOMParser:W,trustedTypes:G}=n,j=R.prototype,X=L(j,"cloneNode"),K=L(j,"remove"),ne=L(j,"nextSibling"),oe=L(j,"childNodes"),re=L(j,"parentNode");if("function"==typeof N){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let ie,ae="";const{implementation:le,createNodeIterator:ce,createDocumentFragment:se,getElementsByTagName:ue}=r,{importNode:me}=a;let pe={};o.isSupported="function"==typeof e&&"function"==typeof re&&le&&void 0!==le.createHTMLDocument;const{MUSTACHE_EXPR:fe,ERB_EXPR:de,TMPLIT_EXPR:he,DATA_ATTR:ge,ARIA_ATTR:Te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:_e}=$;let{IS_ALLOWED_URI:Ae}=$,Ne=null;const be=S({},[...v,...C,...O,...x,...I]);let Se=null;const Re=S({},[...M,...U,...P,...H]);let we=Object.seal(l(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Le=null,ve=null,Ce=!0,Oe=!0,De=!1,xe=!0,ke=!1,Ie=!0,Me=!1,Ue=!1,Pe=!1,He=!1,Fe=!1,ze=!1,Be=!0,We=!1,Ge=!0,Ye=!1,je={},Xe=null;const qe=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Ke=null;const $e=S({},["audio","video","img","source","image","track"]);let Ve=null;const Ze=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Je="http://www.w3.org/1998/Math/MathML",Qe="http://www.w3.org/2000/svg",et="http://www.w3.org/1999/xhtml";let tt=et,nt=!1,ot=null;const rt=S({},[Je,Qe,et],d);let it=S({},["mi","mo","mn","ms","mtext"]),at=S({},["annotation-xml"]);const lt=S({},["title","style","font","a","script"]);let ct=null;const st=["application/xhtml+xml","text/html"];let ut=null,mt=null;const pt=r.createElement("form"),ft=function(e){return e instanceof RegExp||e instanceof Function},dt=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!mt||mt!==e){if(e&&"object"==typeof e||(e={}),e=w(e),ct=-1===st.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ut="application/xhtml+xml"===ct?d:f,Ne=E(e,"ALLOWED_TAGS")?S({},e.ALLOWED_TAGS,ut):be,Se=E(e,"ALLOWED_ATTR")?S({},e.ALLOWED_ATTR,ut):Re,ot=E(e,"ALLOWED_NAMESPACES")?S({},e.ALLOWED_NAMESPACES,d):rt,Ve=E(e,"ADD_URI_SAFE_ATTR")?S(w(Ze),e.ADD_URI_SAFE_ATTR,ut):Ze,Ke=E(e,"ADD_DATA_URI_TAGS")?S(w($e),e.ADD_DATA_URI_TAGS,ut):$e,Xe=E(e,"FORBID_CONTENTS")?S({},e.FORBID_CONTENTS,ut):qe,Le=E(e,"FORBID_TAGS")?S({},e.FORBID_TAGS,ut):{},ve=E(e,"FORBID_ATTR")?S({},e.FORBID_ATTR,ut):{},je=!!E(e,"USE_PROFILES")&&e.USE_PROFILES,Ce=!1!==e.ALLOW_ARIA_ATTR,Oe=!1!==e.ALLOW_DATA_ATTR,De=e.ALLOW_UNKNOWN_PROTOCOLS||!1,xe=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ke=e.SAFE_FOR_TEMPLATES||!1,Ie=!1!==e.SAFE_FOR_XML,Me=e.WHOLE_DOCUMENT||!1,He=e.RETURN_DOM||!1,Fe=e.RETURN_DOM_FRAGMENT||!1,ze=e.RETURN_TRUSTED_TYPE||!1,Pe=e.FORCE_BODY||!1,Be=!1!==e.SANITIZE_DOM,We=e.SANITIZE_NAMED_PROPS||!1,Ge=!1!==e.KEEP_CONTENT,Ye=e.IN_PLACE||!1,Ae=e.ALLOWED_URI_REGEXP||Y,tt=e.NAMESPACE||et,it=e.MATHML_TEXT_INTEGRATION_POINTS||it,at=e.HTML_INTEGRATION_POINTS||at,we=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(we.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ft(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(we.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(we.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ke&&(Oe=!1),Fe&&(He=!0),je&&(Ne=S({},I),Se=[],!0===je.html&&(S(Ne,v),S(Se,M)),!0===je.svg&&(S(Ne,C),S(Se,U),S(Se,H)),!0===je.svgFilters&&(S(Ne,O),S(Se,U),S(Se,H)),!0===je.mathMl&&(S(Ne,x),S(Se,P),S(Se,H))),e.ADD_TAGS&&(Ne===be&&(Ne=w(Ne)),S(Ne,e.ADD_TAGS,ut)),e.ADD_ATTR&&(Se===Re&&(Se=w(Se)),S(Se,e.ADD_ATTR,ut)),e.ADD_URI_SAFE_ATTR&&S(Ve,e.ADD_URI_SAFE_ATTR,ut),e.FORBID_CONTENTS&&(Xe===qe&&(Xe=w(Xe)),S(Xe,e.FORBID_CONTENTS,ut)),Ge&&(Ne["#text"]=!0),Me&&S(Ne,["html","head","body"]),Ne.table&&(S(Ne,["tbody"]),delete Le.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw A('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ie=e.TRUSTED_TYPES_POLICY,ae=ie.createHTML("")}else void 0===ie&&(ie=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(G,c)),null!==ie&&"string"==typeof ae&&(ae=ie.createHTML(""));i&&i(e),mt=e}},ht=S({},[...C,...O,...D]),gt=S({},[...x,...k]),Tt=function(e){p(o.removed,{element:e});try{re(e).removeChild(e)}catch(t){K(e)}},yt=function(e,t){try{p(o.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(o.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!Se[e])if(He||Fe)try{Tt(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Et=function(e){let t=null,n=null;if(Pe)e="<remove></remove>"+e;else{const t=h(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ct&&tt===et&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=ie?ie.createHTML(e):e;if(tt===et)try{t=(new W).parseFromString(o,ct)}catch(e){}if(!t||!t.documentElement){t=le.createDocument(tt,"template",null);try{t.documentElement.innerHTML=nt?ae:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),tt===et?ue.call(t,Me?"html":"body")[0]:Me?t.documentElement:i},_t=function(e){return ce.call(e.ownerDocument||e,e,F.SHOW_ELEMENT|F.SHOW_COMMENT|F.SHOW_TEXT|F.SHOW_PROCESSING_INSTRUCTION|F.SHOW_CDATA_SECTION,null)},At=function(e){return e instanceof B&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof z)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Nt=function(e){return"function"==typeof b&&e instanceof b};function bt(e,t,n){pe[e]&&u(pe[e],(e=>{e.call(o,t,n,mt)}))}const St=function(e){let t=null;if(bt("beforeSanitizeElements",e,null),At(e))return Tt(e),!0;const n=ut(e.nodeName);if(bt("uponSanitizeElement",e,{tagName:n,allowedTags:Ne}),e.hasChildNodes()&&!Nt(e.firstElementChild)&&_(/<[/\w]/g,e.innerHTML)&&_(/<[/\w]/g,e.textContent))return Tt(e),!0;if(e.nodeType===J)return Tt(e),!0;if(Ie&&e.nodeType===Q&&_(/<[/\w]/g,e.data))return Tt(e),!0;if(!Ne[n]||Le[n]){if(!Le[n]&&wt(n)){if(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n))return!1;if(we.tagNameCheck instanceof Function&&we.tagNameCheck(n))return!1}if(Ge&&!Xe[n]){const t=re(e)||e.parentNode,n=oe(e)||e.childNodes;if(n&&t){for(let o=n.length-1;o>=0;--o){const r=X(n[o],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,ne(e))}}}return Tt(e),!0}return e instanceof R&&!function(e){let t=re(e);t&&t.tagName||(t={namespaceURI:tt,tagName:"template"});const n=f(e.tagName),o=f(t.tagName);return!!ot[e.namespaceURI]&&(e.namespaceURI===Qe?t.namespaceURI===et?"svg"===n:t.namespaceURI===Je?"svg"===n&&("annotation-xml"===o||it[o]):Boolean(ht[n]):e.namespaceURI===Je?t.namespaceURI===et?"math"===n:t.namespaceURI===Qe?"math"===n&&at[o]:Boolean(gt[n]):e.namespaceURI===et?!(t.namespaceURI===Qe&&!at[o])&&!(t.namespaceURI===Je&&!it[o])&&!gt[n]&&(lt[n]||!ht[n]):!("application/xhtml+xml"!==ct||!ot[e.namespaceURI]))}(e)?(Tt(e),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!_(/<\/no(script|embed|frames)/i,e.innerHTML)?(ke&&e.nodeType===Z&&(t=e.textContent,u([fe,de,he],(e=>{t=g(t,e," ")})),e.textContent!==t&&(p(o.removed,{element:e.cloneNode()}),e.textContent=t)),bt("afterSanitizeElements",e,null),!1):(Tt(e),!0)},Rt=function(e,t,n){if(Be&&("id"===t||"name"===t)&&(n in r||n in pt))return!1;if(Oe&&!ve[t]&&_(ge,t));else if(Ce&&_(Te,t));else if(!Se[t]||ve[t]){if(!(wt(e)&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,e)||we.tagNameCheck instanceof Function&&we.tagNameCheck(e))&&(we.attributeNameCheck instanceof RegExp&&_(we.attributeNameCheck,t)||we.attributeNameCheck instanceof Function&&we.attributeNameCheck(t))||"is"===t&&we.allowCustomizedBuiltInElements&&(we.tagNameCheck instanceof RegExp&&_(we.tagNameCheck,n)||we.tagNameCheck instanceof Function&&we.tagNameCheck(n))))return!1}else if(Ve[t]);else if(_(Ae,g(n,Ee,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==T(n,"data:")||!Ke[e]){if(De&&!_(ye,g(n,Ee,"")));else if(n)return!1}else;return!0},wt=function(e){return"annotation-xml"!==e&&h(e,_e)},Lt=function(e){bt("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se,forceKeepAttr:void 0};let r=t.length;for(;r--;){const i=t[r],{name:a,namespaceURI:l,value:c}=i,s=ut(a);let p="value"===a?c:y(c);if(n.attrName=s,n.attrValue=p,n.keepAttr=!0,n.forceKeepAttr=void 0,bt("uponSanitizeAttribute",e,n),p=n.attrValue,!We||"id"!==s&&"name"!==s||(yt(a,e),p="user-content-"+p),Ie&&_(/((--!?|])>)|<\/(style|title)/i,p)){yt(a,e);continue}if(n.forceKeepAttr)continue;if(yt(a,e),!n.keepAttr)continue;if(!xe&&_(/\/>/i,p)){yt(a,e);continue}ke&&u([fe,de,he],(e=>{p=g(p,e," ")}));const f=ut(e.nodeName);if(Rt(f,s,p)){if(ie&&"object"==typeof G&&"function"==typeof G.getAttributeType)if(l);else switch(G.getAttributeType(f,s)){case"TrustedHTML":p=ie.createHTML(p);break;case"TrustedScriptURL":p=ie.createScriptURL(p)}try{l?e.setAttributeNS(l,a,p):e.setAttribute(a,p),At(e)?Tt(e):m(o.removed)}catch(e){}}}bt("afterSanitizeAttributes",e,null)},vt=function e(t){let n=null;const o=_t(t);for(bt("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)bt("uponSanitizeShadowNode",n,null),St(n)||(n.content instanceof s&&e(n.content),Lt(n));bt("afterSanitizeShadowDOM",t,null)};return o.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,i=null,l=null;if(nt=!e,nt&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Nt(e)){if("function"!=typeof e.toString)throw A("toString is not a function");if("string"!=typeof(e=e.toString()))throw A("dirty is not a string, aborting")}if(!o.isSupported)return e;if(Ue||dt(t),o.removed=[],"string"==typeof e&&(Ye=!1),Ye){if(e.nodeName){const t=ut(e.nodeName);if(!Ne[t]||Le[t])throw A("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof b)n=Et("\x3c!----\x3e"),r=n.ownerDocument.importNode(e,!0),r.nodeType===V&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!He&&!ke&&!Me&&-1===e.indexOf("<"))return ie&&ze?ie.createHTML(e):e;if(n=Et(e),!n)return He?null:ze?ae:""}n&&Pe&&Tt(n.firstChild);const c=_t(Ye?e:n);for(;i=c.nextNode();)St(i)||(i.content instanceof s&&vt(i.content),Lt(i));if(Ye)return e;if(He){if(Fe)for(l=se.call(n.ownerDocument);n.firstChild;)l.appendChild(n.firstChild);else l=n;return(Se.shadowroot||Se.shadowrootmode)&&(l=me.call(a,l,!0)),l}let m=Me?n.outerHTML:n.innerHTML;return Me&&Ne["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&_(q,n.ownerDocument.doctype.name)&&(m="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+m),ke&&u([fe,de,he],(e=>{m=g(m,e," ")})),ie&&ze?ie.createHTML(m):m},o.setConfig=function(){dt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Ue=!0},o.clearConfig=function(){mt=null,Ue=!1},o.isValidAttribute=function(e,t,n){mt||dt({});const o=ut(e),r=ut(t);return Rt(o,r,n)},o.addHook=function(e,t){"function"==typeof t&&(pe[e]=pe[e]||[],p(pe[e],t))},o.removeHook=function(e){if(pe[e])return m(pe[e])},o.removeHooks=function(e){pe[e]&&(pe[e]=[])},o.removeAllHooks=function(){pe={}},o}();return ne}));
(s=>{var o,e=window,r=s(".ha-reading-progress-bar");r.length<=0||(o={},"yes"===(o=JSON.parse(r.attr("data-ha_rpbsettings"))).ha_rpb_enable&&(o.hasOwnProperty("progress_bar_type")&&"vertical"===o.progress_bar_type&&o.hasOwnProperty("rpb_vertical_position")&&"right"==o.rpb_vertical_position?s("body").addClass("no-scroll"):s("body").removeClass("no-scroll"),s(e).scroll(function(){var r=0,t=(r=(s(e).scrollTop()||0)/((s(document).height()||1)-(s(e).height()||1))*100).toFixed(0);100<r&&(r=100),o.hasOwnProperty("progress_bar_type")&&"horizontal"===o.progress_bar_type?(s(".hm-hrp-bar").css({display:"flex"}),s(".hm-hrp-bar").width(t+"%"),1<t&&0<r?(s(".hm-tool-tip").css({opacity:1,transition:"opacity 0.3s"}),s(".hm-tool-tip").text(t+"%"),98<=t?s(".hm-tool-tip").css({right:"5px"}):s(".hm-tool-tip").css({right:"-28px"})):(s(".hm-tool-tip").css({opacity:0,transition:"opacity 0.3s"}),s(".hm-tool-tip").text("0%"))):o.hasOwnProperty("progress_bar_type")&&"vertical"===o.progress_bar_type?(s(".hm-vrp-bar").css({display:"flex"}),0<r&&1<t?s(".hm-vrp-bar").height(t+"%"):s(".hm-vrp-bar").height("0%")):o.hasOwnProperty("progress_bar_type")&&"circle"===o.progress_bar_type&&(t=2*Math.PI*45,t=Math.round(t-r/100*t),0<=r)&&(s(".hm-progress-circle").css("stroke-dashoffset",t.toFixed(2)),s(".hm-progress-percent-text").text("".concat(r.toFixed(0),"%")))})))})(jQuery);var localize={"ajaxurl":"https:\/\/www.centreforchiropractic.ca\/wp-admin\/admin-ajax.php","nonce":"e6e1edba67","i18n":{"added":"Added ","compare":"Compare","loading":"Loading..."},"eael_translate_text":{"required_text":"is a required field","invalid_text":"Invalid","billing_text":"Billing","shipping_text":"Shipping","fg_mfp_counter_text":"of"},"page_permalink":"https:\/\/www.centreforchiropractic.ca\/get-to-know-your-ca\/","cart_redirectition":"","cart_page_url":"","el_breakpoints":{"mobile":{"label":"Mobile Portrait","value":767,"default_value":767,"direction":"max","is_enabled":!0},"mobile_extra":{"label":"Mobile Landscape","value":880,"default_value":880,"direction":"max","is_enabled":!1},"tablet":{"label":"Tablet Portrait","value":1024,"default_value":1024,"direction":"max","is_enabled":!0},"tablet_extra":{"label":"Tablet Landscape","value":1200,"default_value":1200,"direction":"max","is_enabled":!1},"laptop":{"label":"Laptop","value":1366,"default_value":1366,"direction":"max","is_enabled":!1},"widescreen":{"label":"Widescreen","value":2400,"default_value":2400,"direction":"min","is_enabled":!1}}};
!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=108)}({108:function(e,t,n){"use strict";n.r(t);var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var o=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var i=function(e,t){return function(n,i,a){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10,l=e[t];if(o(n)&&r(i))if("function"==typeof a)if("number"==typeof s){var c={callback:a,priority:s,namespace:i};if(l[n]){var u,d=l[n].handlers;for(u=d.length;u>0&&!(s>=d[u-1].priority);u--);u===d.length?d[u]=c:d.splice(u,0,c),l.__current.forEach((function(e){e.name===n&&e.currentIndex>=u&&e.currentIndex++}))}else l[n]={handlers:[c],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,i,a,s)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}};var a=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,a){var s=e[t];if(o(i)&&(n||r(a))){if(!s[i])return 0;var l=0;if(n)l=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else for(var c=s[i].handlers,u=function(e){c[e].namespace===a&&(c.splice(e,1),l++,s.__current.forEach((function(t){t.name===i&&t.currentIndex>=e&&t.currentIndex--})))},d=c.length-1;d>=0;d--)u(d);return"hookRemoved"!==i&&e.doAction("hookRemoved",i,a),l}}};var s=function(e,t){return function(n,r){var o=e[t];return void 0!==r?n in o&&o[n].handlers.some((function(e){return e.namespace===r})):n in o}};var l=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(r){var o=e[t];o[r]||(o[r]={handlers:[],runs:0}),o[r].runs++;var i=o[r].handlers;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if(!i||!i.length)return n?s[0]:void 0;var c={name:r,currentIndex:0};for(o.__current.push(c);c.currentIndex<i.length;){var u=i[c.currentIndex],d=u.callback.apply(null,s);n&&(s[0]=d),c.currentIndex++}return o.__current.pop(),n?s[0]:void 0}};var c=function(e,t){return function(){var n,r,o=e[t];return null!==(n=null===(r=o.__current[o.__current.length-1])||void 0===r?void 0:r.name)&&void 0!==n?n:null}};var u=function(e,t){return function(n){var r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}};var d=function(e,t){return function(n){var r=e[t];if(o(n))return r[n]&&r[n].runs?r[n].runs:0}},f=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=i(this,"actions"),this.addFilter=i(this,"filters"),this.removeAction=a(this,"actions"),this.removeFilter=a(this,"filters"),this.hasAction=s(this,"actions"),this.hasFilter=s(this,"filters"),this.removeAllActions=a(this,"actions",!0),this.removeAllFilters=a(this,"filters",!0),this.doAction=l(this,"actions"),this.applyFilters=l(this,"filters",!0),this.currentAction=c(this,"actions"),this.currentFilter=c(this,"filters"),this.doingAction=u(this,"actions"),this.doingFilter=u(this,"filters"),this.didAction=d(this,"actions"),this.didFilter=d(this,"filters")};var h=function(){return new f},p=h();p.addAction,p.addFilter,p.removeAction,p.removeFilter,p.hasAction,p.hasFilter,p.removeAllActions,p.removeAllFilters,p.doAction,p.applyFilters,p.currentAction,p.currentFilter,p.doingAction,p.doingFilter,p.didAction,p.didFilter,p.actions,p.filters;function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function g(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=v(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=v(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==v(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}window.isEditMode=!1,window.eael=window.ea={hooks:h(),isEditMode:!1,elementStatusCheck:function(e){return!(!window.eaElementList||!(e in window.eaElementList))||(window.eaElementList=y(y({},window.eaElementList),{},g({},e,!0)),!1)},debounce:function(e,t){var n;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}}},eael.hooks.addAction("widgets.reinit","ea",(function(e){var t=jQuery(".eael-filter-gallery-container",e),n=jQuery(".eael-post-grid:not(.eael-post-carousel)",e),r=jQuery(".eael-twitter-feed-masonry",e),o=jQuery(".eael-instafeed",e),i=jQuery(".premium-gallery-container",e),a=jQuery(".eael-event-calendar-cls",e),s=jQuery(".eael-testimonial-slider",e),l=jQuery(".eael-tm-carousel",e),c=jQuery(".eael-post-carousel:not(.eael-post-grid)",e),u=jQuery(".eael-logo-carousel",e),d=jQuery(".eael-twitter-feed-carousel",e);t.length&&t.isotope("layout"),n.length&&n.isotope("layout"),r.length&&r.isotope("layout"),o.length&&o.isotope("layout"),i.length&&i.isotope("layout"),a.length&&eael.hooks.doAction("eventCalendar.reinit"),s.length&&eael.hooks.doAction("testimonialSlider.reinit"),l.length&&eael.hooks.doAction("teamMemberCarousel.reinit"),c.length&&eael.hooks.doAction("postCarousel.reinit"),u.length&&eael.hooks.doAction("logoCarousel.reinit"),d.length&&eael.hooks.doAction("twitterCarousel.reinit")}));var w,b=function(e){void 0===window.eaelPreventResizeOnClick&&window.dispatchEvent(new Event("resize")),(e="object"===v(e)?e:jQuery(e)).find(".swiper-wrapper").each((function(){var e=jQuery(this).css("transform");jQuery(this).css("transform",e)}))};eael.hooks.addAction("ea-advanced-tabs-triggered","ea",b),eael.hooks.addAction("ea-advanced-accordion-triggered","ea",b),jQuery(window).on("elementor/frontend/init",(function(){window.isEditMode=elementorFrontend.isEditMode(),window.eael.isEditMode=elementorFrontend.isEditMode(),eael.hooks.doAction("init"),eael.isEditMode&&eael.hooks.doAction("editMode.init")})),function(e){eael.getToken=function(){localize.nonce&&!eael.noncegenerated&&e.ajax({url:localize.ajaxurl,type:"post",data:{action:"eael_get_token"},success:function(e){e.success&&(localize.nonce=e.data.nonce,eael.noncegenerated=!0)}})},eael.sanitizeURL=function(e){if(e.startsWith("/")||e.startsWith("#"))return e;try{var t=new URL(e);if(!["http:","https:","ftp:","ftps:","mailto:","news:","irc:","irc6:","ircs:","gopher:","nntp:","feed:","telnet:","mms:","rtsp:","sms:","svn:","tel:","fax:","xmpp:","webcal:","urn:"].includes(t.protocol))throw new Error("Invalid protocol");return t.toString()}catch(e){return console.error("Error sanitizing URL:",e.message),"#"}};var t=!0;window.addEventListener("hashchange",(function(){if(t){var n=window.location.hash.substr(1);"undefined"!==(n="safari"===n?"eael-safari":n)&&n&&/^[A-Za-z][-A-Za-z0-9_:.]*$/.test(n)&&e("#"+n).trigger("click")}})),e("a").on("click",(function(n){var r,o=e(this).attr("href");(r=(o=void 0===o?"":o).startsWith("#"))||(r=(o=o.replace(localize.page_permalink,"")).startsWith("#")),r&&(t=!1,setTimeout((function(){t=!0}),100));try{if(o.startsWith("#!")){var i=o.replace("#!","#");e(i).trigger("click")}else if(r&&(e(o).hasClass("eael-tab-item-trigger")||e(o).hasClass("eael-accordion-header"))&&(e(o).trigger("click"),void 0!==o&&o)){var a=e(o).closest(".eael-advance-tabs");if(a.length>0){var s=a.data("custom-id-offset");s=s?parseFloat(s):0,e("html, body").animate({scrollTop:e(o).offset().top-s},300)}}}catch(e){}})),e(document).on("click",".e-n-tab-title",(function(){setTimeout((function(){window.dispatchEvent(new Event("resize"))}),100)}))}(jQuery),(w=jQuery)(document).on("click",".theme-savoy .eael-product-popup .nm-qty-minus, .theme-savoy .eael-product-popup .nm-qty-plus",(function(e){var t=w(this),n=t.closest(".quantity").find(".qty"),r=parseFloat(n.val()),o=parseFloat(n.attr("max")),i=parseFloat(n.attr("min")),a=n.attr("step");r&&""!==r&&"NaN"!==r||(r=0),""!==o&&"NaN"!==o||(o=""),""!==i&&"NaN"!==i||(i=0),"any"!==a&&""!==a&&void 0!==a&&"NaN"!==parseFloat(a)||(a=1),t.hasClass("nm-qty-plus")?o&&(o==r||r>o)?n.val(o):n.val(r+parseFloat(a)):i&&(i==r||r<i)?n.val(i):r>0&&n.val(r-parseFloat(a))})),function(e){e.fn.isInViewport=function(){if(e(this).length<1)return!1;var t=e(this).offset().top,n=t+e(this).outerHeight()/2,r=e(window).scrollTop(),o=r+e(window).height()/2;return n>r&&t<o},e(document).ready((function(){var e=new URLSearchParams(location.search);if(e.has("popup-selector")&&(e.has("eael-lostpassword")||e.has("eael-resetpassword"))){var t=e.get("popup-selector");t.length&&/^[A-Za-z.#][A-Za-z0-9_:.#\s-]*$/.test(t)&&(t=t.replace(/_/g," "),setTimeout((function(){jQuery(t).trigger("click")}),300))}})),e(document).on("click",".eael-onpage-edit-template",(function(){var t=e(this),n=t.data("eael-template-id"),r=t.data("page-id"),o=t.data("mode");"edit"===o?(parent.window.$e.internal("panel/state-loading"),parent.window.$e.run("editor/documents/switch",{id:parseInt(n)}).then((function(){t.data("mode","save"),t.find("span").text("Save & Back"),t.find("i").addClass("eicon-arrow-left").removeClass("eicon-edit"),t.closest(".eael-onpage-edit-template-wrapper").addClass("eael-onpage-edit-activate").parent().addClass("eael-widget-otea-active"),parent.window.$e.internal("panel/state-ready")}))):"save"===o&&(parent.window.$e.internal("panel/state-loading"),parent.window.$e.run("editor/documents/switch",{id:parseInt(r),mode:"save",shouldScroll:!1}).then((function(){parent.window.$e.internal("panel/state-ready"),t.data("mode","edit")})))}))}(jQuery)}});_stq=window._stq||[];_stq.push(["view",JSON.parse("{\"v\":\"ext\",\"blog\":\"213358467\",\"post\":\"429\",\"tz\":\"-6\",\"srv\":\"www.centreforchiropractic.ca\",\"j\":\"1:14.4.1\"}")]);_stq.push(["clickTrackerInit","213358467","429"]);(function(){var supportsPassive=!1;try{var opts=Object.defineProperty({},'passive',{get:function(){supportsPassive=!0}});window.addEventListener('testPassive',null,opts);window.removeEventListener('testPassive',null,opts)}catch(e){}
function init(){var input_begin='';var keydowns={};var lastKeyup=null;var lastKeydown=null;var keypresses=[];var modifierKeys=[];var correctionKeys=[];var lastMouseup=null;var lastMousedown=null;var mouseclicks=[];var mousemoveTimer=null;var lastMousemoveX=null;var lastMousemoveY=null;var mousemoveStart=null;var mousemoves=[];var touchmoveCountTimer=null;var touchmoveCount=0;var lastTouchEnd=null;var lastTouchStart=null;var touchEvents=[];var scrollCountTimer=null;var scrollCount=0;var correctionKeyCodes=['Backspace','Delete','ArrowUp','ArrowDown','ArrowLeft','ArrowRight','Home','End','PageUp','PageDown'];var modifierKeyCodes=['Shift','CapsLock'];var forms=document.querySelectorAll('form[method=post]');for(var i=0;i<forms.length;i++){var form=forms[i];var formAction=form.getAttribute('action');if(formAction){if(formAction.indexOf('http://')==0||formAction.indexOf('https://')==0){if(formAction.indexOf('http://'+window.location.hostname+'/')!=0&&formAction.indexOf('https://'+window.location.hostname+'/')!=0){continue}}}
form.addEventListener('submit',function(){var ak_bkp=prepare_timestamp_array_for_request(keypresses);var ak_bmc=prepare_timestamp_array_for_request(mouseclicks);var ak_bte=prepare_timestamp_array_for_request(touchEvents);var ak_bmm=prepare_timestamp_array_for_request(mousemoves);var input_fields={'bib':input_begin,'bfs':Date.now(),'bkpc':keypresses.length,'bkp':ak_bkp,'bmc':ak_bmc,'bmcc':mouseclicks.length,'bmk':modifierKeys.join(';'),'bck':correctionKeys.join(';'),'bmmc':mousemoves.length,'btmc':touchmoveCount,'bsc':scrollCount,'bte':ak_bte,'btec':touchEvents.length,'bmm':ak_bmm};var akismet_field_prefix='ak_';if(this.getElementsByClassName){var possible_akismet_containers=this.getElementsByClassName('akismet-fields-container');for(var containerIndex=0;containerIndex<possible_akismet_containers.length;containerIndex++){var container=possible_akismet_containers.item(containerIndex);if(container.getAttribute('data-prefix')){akismet_field_prefix=container.getAttribute('data-prefix');break}}}
for(var field_name in input_fields){var field=document.createElement('input');field.setAttribute('type','hidden');field.setAttribute('name',akismet_field_prefix+field_name);field.setAttribute('value',input_fields[field_name]);this.appendChild(field)}},supportsPassive?{passive:!0}:!1);form.addEventListener('keydown',function(e){if(e.key in keydowns){return}
var keydownTime=(new Date()).getTime();keydowns[e.key]=[keydownTime];if(!input_begin){input_begin=keydownTime}
var lastKeyEvent=Math.max(lastKeydown,lastKeyup);if(lastKeyEvent){keydowns[e.key].push(keydownTime-lastKeyEvent)}
lastKeydown=keydownTime},supportsPassive?{passive:!0}:!1);form.addEventListener('keyup',function(e){if(!(e.key in keydowns)){return}
var keyupTime=(new Date()).getTime();if('TEXTAREA'===e.target.nodeName||'INPUT'===e.target.nodeName){if(-1!==modifierKeyCodes.indexOf(e.key)){modifierKeys.push(keypresses.length-1)}else if(-1!==correctionKeyCodes.indexOf(e.key)){correctionKeys.push(keypresses.length-1)}else{var keydownTime=keydowns[e.key][0];var keypress=[];keypress.push(keyupTime-keydownTime);if(keydowns[e.key].length>1){keypress.push(keydowns[e.key][1])}
keypresses.push(keypress)}}
delete keydowns[e.key];lastKeyup=keyupTime},supportsPassive?{passive:!0}:!1);form.addEventListener("focusin",function(e){lastKeydown=null;lastKeyup=null;keydowns={}},supportsPassive?{passive:!0}:!1);form.addEventListener("focusout",function(e){lastKeydown=null;lastKeyup=null;keydowns={}},supportsPassive?{passive:!0}:!1)}
document.addEventListener('mousedown',function(e){lastMousedown=(new Date()).getTime()},supportsPassive?{passive:!0}:!1);document.addEventListener('mouseup',function(e){if(!lastMousedown){return}
var now=(new Date()).getTime();var mouseclick=[];mouseclick.push(now-lastMousedown);if(lastMouseup){mouseclick.push(lastMousedown-lastMouseup)}
mouseclicks.push(mouseclick);lastMouseup=now;lastKeydown=null;lastKeyup=null;keydowns={}},supportsPassive?{passive:!0}:!1);document.addEventListener('mousemove',function(e){if(mousemoveTimer){clearTimeout(mousemoveTimer);mousemoveTimer=null}else{mousemoveStart=(new Date()).getTime();lastMousemoveX=e.offsetX;lastMousemoveY=e.offsetY}
mousemoveTimer=setTimeout(function(theEvent,originalMousemoveStart){var now=(new Date()).getTime()-500;var mousemove=[];mousemove.push(now-originalMousemoveStart);mousemove.push(Math.round(Math.sqrt(Math.pow(theEvent.offsetX-lastMousemoveX,2)+Math.pow(theEvent.offsetY-lastMousemoveY,2))));if(mousemove[1]>0){mousemoves.push(mousemove)}
mousemoveStart=null;mousemoveTimer=null},500,e,mousemoveStart)},supportsPassive?{passive:!0}:!1);document.addEventListener('touchmove',function(e){if(touchmoveCountTimer){clearTimeout(touchmoveCountTimer)}
touchmoveCountTimer=setTimeout(function(){touchmoveCount++},500)},supportsPassive?{passive:!0}:!1);document.addEventListener('touchstart',function(e){lastTouchStart=(new Date()).getTime()},supportsPassive?{passive:!0}:!1);document.addEventListener('touchend',function(e){if(!lastTouchStart){return}
var now=(new Date()).getTime();var touchEvent=[];touchEvent.push(now-lastTouchStart);if(lastTouchEnd){touchEvent.push(lastTouchStart-lastTouchEnd)}
touchEvents.push(touchEvent);lastTouchEnd=now;lastKeydown=null;lastKeyup=null;keydowns={}},supportsPassive?{passive:!0}:!1);document.addEventListener('scroll',function(e){if(scrollCountTimer){clearTimeout(scrollCountTimer)}
scrollCountTimer=setTimeout(function(){scrollCount++},500)},supportsPassive?{passive:!0}:!1)}
function prepare_timestamp_array_for_request(a,limit){if(!limit){limit=100}
var rv='';if(a.length>0){var random_starting_point=Math.max(0,Math.floor(Math.random()*a.length-limit));for(var i=0;i<limit&&i<a.length;i++){rv+=a[random_starting_point+i][0];if(a[random_starting_point+i].length>=2){rv+=","+a[random_starting_point+i][1]}
rv+=";"}}
return rv}
if(document.readyState!=='loading'){init()}else{document.addEventListener('DOMContentLoaded',init)}})();/(trident|msie)/i.test(navigator.userAgent)&&document.getElementById&&window.addEventListener&&window.addEventListener("hashchange",function(){var t,e=location.hash.substring(1);/^[A-z0-9_-]+$/.test(e)&&(t=document.getElementById(e))&&(/^(?:a|select|input|button|textarea)$/i.test(t.tagName)||(t.tabIndex=-1),t.focus())},!1);window.addEventListener("DOMContentLoaded",(e=>{document.querySelectorAll('img[loading="lazy"]').forEach((e=>{e.getBoundingClientRect().top<=window.innerHeight&&(e.loading="eager")}))}))