!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).Swiper=t()}(this,(function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s,a){void 0===s&&(s={}),void 0===a&&(a={}),Object.keys(a).forEach((i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&Object.keys(a[i]).length>0&&t(s[i],a[i])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function r(){const e="undefined"!=typeof window?window:{};return t(e,i),e}class n extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function l(e){void 0===e&&(e=[]);const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...l(e)):t.push(e)})),t}function o(e,t){return Array.prototype.filter.call(e,t)}function d(e,t){const s=r(),i=a();let l=[];if(!t&&e instanceof n)return e;if(!e)return new n(l);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("<li")&&(e="ul"),0===s.indexOf("<tr")&&(e="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(e="tr"),0===s.indexOf("<tbody")&&(e="table"),0===s.indexOf("<option")&&(e="select");const t=i.createElement(e);t.innerHTML=s;for(let e=0;e<t.childNodes.length;e+=1)l.push(t.childNodes[e])}else l=function(e,t){if("string"!=typeof e)return[e];const s=[],a=t.querySelectorAll(e);for(let e=0;e<a.length;e+=1)s.push(a[e]);return s}(e.trim(),t||i)}else if(e.nodeType||e===s||e===i)l.push(e);else if(Array.isArray(e)){if(e instanceof n)return e;l=e}return new n(function(e){const t=[];for(let s=0;s<e.length;s+=1)-1===t.indexOf(e[s])&&t.push(e[s]);return t}(l))}d.fn=n.prototype;const c={addClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...a)})),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...a)})),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));return o(this,(e=>a.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const a=l(t.map((e=>e.split(" "))));this.forEach((e=>{a.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s<this.length;s+=1)if(2===arguments.length)this[s].setAttribute(e,t);else for(const t in e)this[s][t]=e[t],this[s].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];let[a,i,r,n]=t;function l(e){const t=e.target;if(!t)return;const s=e.target.dom7EventData||[];if(s.indexOf(e)<0&&s.unshift(e),d(t).is(i))r.apply(t,s);else{const e=d(t).parents();for(let t=0;t<e.length;t+=1)d(e[t]).is(i)&&r.apply(e[t],s)}}function o(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"==typeof t[1]&&([a,r,n]=t,i=void 0),n||(n=!1);const c=a.split(" ");let p;for(let e=0;e<this.length;e+=1){const t=this[e];if(i)for(p=0;p<c.length;p+=1){const e=c[p];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:r,proxyListener:l}),t.addEventListener(e,l,n)}else for(p=0;p<c.length;p+=1){const e=c[p];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:r,proxyListener:o}),t.addEventListener(e,o,n)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];let[a,i,r,n]=t;"function"==typeof t[1]&&([a,r,n]=t,i=void 0),n||(n=!1);const l=a.split(" ");for(let e=0;e<l.length;e+=1){const t=l[e];for(let e=0;e<this.length;e+=1){const s=this[e];let a;if(!i&&s.dom7Listeners?a=s.dom7Listeners[t]:i&&s.dom7LiveListeners&&(a=s.dom7LiveListeners[t]),a&&a.length)for(let e=a.length-1;e>=0;e-=1){const i=a[e];r&&i.listener===r||r&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===r?(s.removeEventListener(t,i.proxyListener,n),a.splice(e,1)):r||(s.removeEventListener(t,i.proxyListener,n),a.splice(e,1))}}}return this},trigger:function(){const e=r();for(var t=arguments.length,s=new Array(t),a=0;a<t;a++)s[a]=arguments[a];const i=s[0].split(" "),n=s[1];for(let t=0;t<i.length;t+=1){const a=i[t];for(let t=0;t<this.length;t+=1){const i=this[t];if(e.CustomEvent){const t=new e.CustomEvent(a,{detail:n,bubbles:!0,cancelable:!0});i.dom7EventData=s.filter(((e,t)=>t>0)),i.dispatchEvent(t),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=r();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=r(),t=a(),s=this[0],i=s.getBoundingClientRect(),n=t.body,l=s.clientTop||n.clientTop||0,o=s.clientLeft||n.clientLeft||0,d=s===e?e.scrollY:s.scrollTop,c=s===e?e.scrollX:s.scrollLeft;return{top:i.top+d-l,left:i.left+c-o}}return null},css:function(e,t){const s=r();let a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a<this.length;a+=1)for(const t in e)this[a].style[t]=e[t];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(a=0;a<this.length;a+=1)this[a].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,s)=>{e.apply(t,[t,s])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=r(),s=a(),i=this[0];let l,o;if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(l=d(e),o=0;o<l.length;o+=1)if(l[o]===i)return!0;return!1}if(e===s)return i===s;if(e===t)return i===t;if(e.nodeType||e instanceof n){for(l=e.nodeType?[e]:e,o=0;o<l.length;o+=1)if(l[o]===i)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return d([]);if(e<0){const s=t+e;return d(s<0?[]:[this[s]])}return d([this[e]])},append:function(){let e;const t=a();for(let s=0;s<arguments.length;s+=1){e=s<0||arguments.length<=s?void 0:arguments[s];for(let s=0;s<this.length;s+=1)if("string"==typeof e){const a=t.createElement("div");for(a.innerHTML=e;a.firstChild;)this[s].appendChild(a.firstChild)}else if(e instanceof n)for(let t=0;t<e.length;t+=1)this[s].appendChild(e[t]);else this[s].appendChild(e)}return this},prepend:function(e){const t=a();let s,i;for(s=0;s<this.length;s+=1)if("string"==typeof e){const a=t.createElement("div");for(a.innerHTML=e,i=a.childNodes.length-1;i>=0;i-=1)this[s].insertBefore(a.childNodes[i],this[s].childNodes[0])}else if(e instanceof n)for(i=0;i<e.length;i+=1)this[s].insertBefore(e[i],this[s].childNodes[0]);else this[s].insertBefore(e,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&d(this[0].nextElementSibling).is(e)?d([this[0].nextElementSibling]):d([]):this[0].nextElementSibling?d([this[0].nextElementSibling]):d([]):d([])},nextAll:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.nextElementSibling;){const a=s.nextElementSibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&d(t.previousElementSibling).is(e)?d([t.previousElementSibling]):d([]):t.previousElementSibling?d([t.previousElementSibling]):d([])}return d([])},prevAll:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.previousElementSibling;){const a=s.previousElementSibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},parent:function(e){const t=[];for(let s=0;s<this.length;s+=1)null!==this[s].parentNode&&(e?d(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode));return d(t)},parents:function(e){const t=[];for(let s=0;s<this.length;s+=1){let a=this[s].parentNode;for(;a;)e?d(a).is(e)&&t.push(a):t.push(a),a=a.parentNode}return d(t)},closest:function(e){let t=this;return void 0===e?d([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let s=0;s<this.length;s+=1){const a=this[s].querySelectorAll(e);for(let e=0;e<a.length;e+=1)t.push(a[e])}return d(t)},children:function(e){const t=[];for(let s=0;s<this.length;s+=1){const a=this[s].children;for(let s=0;s<a.length;s+=1)e&&!d(a[s]).is(e)||t.push(a[s])}return d(t)},filter:function(e){return d(o(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};function p(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function u(){return Date.now()}function h(e,t){void 0===t&&(t="x");const s=r();let a,i,n;const l=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===i?"":i)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?n.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?n.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function m(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function f(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function g(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;s<arguments.length;s+=1){const a=s<0||arguments.length<=s?void 0:arguments[s];if(null!=a&&!f(a)){const s=Object.keys(Object(a)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],r=Object.getOwnPropertyDescriptor(a,i);void 0!==r&&r.enumerable&&(m(e[i])&&m(a[i])?a[i].__swiper__?e[i]=a[i]:g(e[i],a[i]):!m(e[i])&&m(a[i])?(e[i]={},a[i].__swiper__?e[i]=a[i]:g(e[i],a[i])):e[i]=a[i])}}}return e}function v(e,t,s){e.style.setProperty(t,s)}function w(e){let{swiper:t,targetPosition:s,side:a}=e;const i=r(),n=-t.translate;let l,o=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=s>n?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{l=(new Date).getTime(),null===o&&(o=l);const e=Math.max(Math.min((l-o)/d,1),0),r=.5-Math.cos(e*Math.PI)/2;let c=n+r*(s-n);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[a]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[a]:c})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(u)};u()}let b,x,y;function E(){return b||(b=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),b}function C(e){return void 0===e&&(e={}),x||(x=function(e){let{userAgent:t}=void 0===e?{}:e;const s=E(),a=r(),i=a.navigator.platform,n=t||a.navigator.userAgent,l={ios:!1,android:!1},o=a.screen.width,d=a.screen.height,c=n.match(/(Android);?[\s\/]+([\d.]+)?/);let p=n.match(/(iPad).*OS\s([\d_]+)/);const u=n.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===i;let f="MacIntel"===i;return!p&&f&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${d}`)>=0&&(p=n.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),f=!1),c&&!m&&(l.os="android",l.android=!0),(p||h||u)&&(l.os="ios",l.ios=!0),l}(e)),x}function T(){return y||(y=function(){const e=r();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),y}Object.keys(c).forEach((e=>{Object.defineProperty(d.fn,e,{value:c[e],writable:!0})}));var $={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,r=new Array(s),n=0;n<s;n++)r[n]=arguments[n];t.apply(a,r)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,a;for(var i=arguments.length,r=new Array(i),n=0;n<i;n++)r[n]=arguments[n];"string"==typeof r[0]||Array.isArray(r[0])?(t=r[0],s=r.slice(1,r.length),a=e):(t=r[0].events,s=r[0].data,a=r[0].context||e),s.unshift(a);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(a,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(a,s)}))})),e}};var S={updateSize:function(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),s=s-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const a=e.params,{$wrapperEl:i,size:r,rtlTranslate:n,wrongRTL:l}=e,o=e.virtual&&a.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,c=i.children(`.${e.params.slideClass}`),p=o?e.virtual.slides.length:c.length;let u=[];const h=[],m=[];let f=a.slidesOffsetBefore;"function"==typeof f&&(f=a.slidesOffsetBefore.call(e));let g=a.slidesOffsetAfter;"function"==typeof g&&(g=a.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let x=a.spaceBetween,y=-f,E=0,C=0;if(void 0===r)return;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*r),e.virtualSize=-x,n?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(v(e.wrapperEl,"--swiper-centered-offset-before",""),v(e.wrapperEl,"--swiper-centered-offset-after",""));const T=a.grid&&a.grid.rows>1&&e.grid;let $;T&&e.grid.initSlides(p);const S="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((e=>void 0!==a.breakpoints[e].slidesPerView)).length>0;for(let i=0;i<p;i+=1){$=0;const n=c.eq(i);if(T&&e.grid.updateSlide(i,n,p,t),"none"!==n.css("display")){if("auto"===a.slidesPerView){S&&(c[i].style[t("width")]="");const r=getComputedStyle(n[0]),l=n[0].style.transform,o=n[0].style.webkitTransform;if(l&&(n[0].style.transform="none"),o&&(n[0].style.webkitTransform="none"),a.roundLengths)$=e.isHorizontal()?n.outerWidth(!0):n.outerHeight(!0);else{const e=s(r,"width"),t=s(r,"padding-left"),a=s(r,"padding-right"),i=s(r,"margin-left"),l=s(r,"margin-right"),o=r.getPropertyValue("box-sizing");if(o&&"border-box"===o)$=e+i+l;else{const{clientWidth:s,offsetWidth:r}=n[0];$=e+t+a+i+l+(r-s)}}l&&(n[0].style.transform=l),o&&(n[0].style.webkitTransform=o),a.roundLengths&&($=Math.floor($))}else $=(r-(a.slidesPerView-1)*x)/a.slidesPerView,a.roundLengths&&($=Math.floor($)),c[i]&&(c[i].style[t("width")]=`${$}px`);c[i]&&(c[i].swiperSlideSize=$),m.push($),a.centeredSlides?(y=y+$/2+E/2+x,0===E&&0!==i&&(y=y-r/2-x),0===i&&(y=y-r/2-x),Math.abs(y)<.001&&(y=0),a.roundLengths&&(y=Math.floor(y)),C%a.slidesPerGroup==0&&u.push(y),h.push(y)):(a.roundLengths&&(y=Math.floor(y)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup==0&&u.push(y),h.push(y),y=y+$+x),e.virtualSize+=$+x,E=$,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+g,n&&l&&("slide"===a.effect||"coverflow"===a.effect)&&i.css({width:`${e.virtualSize+a.spaceBetween}px`}),a.setWrapperSize&&i.css({[t("width")]:`${e.virtualSize+a.spaceBetween}px`}),T&&e.grid.updateWrapperSize($,u,t),!a.centeredSlides){const t=[];for(let s=0;s<u.length;s+=1){let i=u[s];a.roundLengths&&(i=Math.floor(i)),u[s]<=e.virtualSize-r&&t.push(i)}u=t,Math.floor(e.virtualSize-r)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-r)}if(0===u.length&&(u=[0]),0!==a.spaceBetween){const s=e.isHorizontal()&&n?"marginLeft":t("marginRight");c.filter(((e,t)=>!a.cssMode||t!==c.length-1)).css({[s]:`${x}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween;const t=e-r;u=u.map((e=>e<0?-f:e>t?t+g:e))}if(a.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween,e<r){const t=(r-e)/2;u.forEach(((e,s)=>{u[s]=e-t})),h.forEach(((e,s)=>{h[s]=e+t}))}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:h,slidesSizesGrid:m}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){v(e.wrapperEl,"--swiper-centered-offset-before",-u[0]+"px"),v(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),u.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),a.watchSlidesProgress&&e.updateSlidesOffset(),!(o||a.cssMode||"slide"!==a.effect&&"fade"!==a.effect)){const t=`${a.containerModifierClass}backface-hidden`,s=e.$el.hasClass(t);p<=a.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>a?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||d([])).each((e=>{s.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeIndex));for(i=0;i<s.length;i+=1)if(void 0!==s[i]){const e=s[i].offsetHeight;r=e>r?e:r}(r||0===r)&&t.$wrapperEl.css("height",`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let s=0;s<t.length;s+=1)t[s].swiperSlideOffset=e.isHorizontal()?t[s].offsetLeft:t[s].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:a,rtlTranslate:i,snapGrid:r}=t;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;i&&(n=e),a.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<a.length;e+=1){const l=a[e];let o=l.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(o-=a[0].swiperSlideOffset);const d=(n+(s.centeredSlides?t.minTranslate():0)-o)/(l.swiperSlideSize+s.spaceBetween),c=(n-r[0]+(s.centeredSlides?t.minTranslate():0)-o)/(l.swiperSlideSize+s.spaceBetween),p=-(n-o),u=p+t.slidesSizesGrid[e];(p>=0&&p<t.size-1||u>1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),a.eq(e).addClass(s.slideVisibleClass)),l.progress=i?-d:d,l.originalProgress=i?-c:c}t.visibleSlides=d(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.minTranslate())/a,r=i<=0,n=i>=1),Object.assign(t,{progress:i,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),n&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),l=n?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(s.slideActiveClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass));let o=l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===o.length&&(o=t.eq(0),o.addClass(s.slideNextClass));let d=l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:r,activeIndex:n,realIndex:l,snapIndex:o}=t;let d,c=e;if(void 0===c){for(let e=0;e<a.length;e+=1)void 0!==a[e+1]?s>=a[e]&&s<a[e+1]-(a[e+1]-a[e])/2?c=e:s>=a[e]&&s<a[e+1]&&(c=e+1):s>=a[e]&&(c=e);r.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(r.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===n)return void(d!==o&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:n,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,s=t.params,a=d(e).closest(`.${s.slideClass}`)[0];let i,r=!1;if(a)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===a){r=!0,i=e;break}if(!a||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=a,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(d(a).attr("data-swiper-slide-index"),10):t.clickedIndex=i,s.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var M={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:a,$wrapperEl:i}=this;if(t.virtualTranslate)return s?-a:a;if(t.cssMode)return a;let r=h(i[0],e);return s&&(r=-r),r||0},setTranslate:function(e,t){const s=this,{rtlTranslate:a,params:i,$wrapperEl:r,wrapperEl:n,progress:l}=s;let o,d=0,c=0;s.isHorizontal()?d=a?-e:e:c=e,i.roundLengths&&(d=Math.floor(d),c=Math.floor(c)),i.cssMode?n[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-d:-c:i.virtualTranslate||r.transform(`translate3d(${d}px, ${c}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?d:c;const p=s.maxTranslate()-s.minTranslate();o=0===p?0:(e-s.minTranslate())/p,o!==l&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,a,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===a&&(a=!0);const r=this,{params:n,wrapperEl:l}=r;if(r.animating&&n.preventInteractionOnTransition)return!1;const o=r.minTranslate(),d=r.maxTranslate();let c;if(c=a&&e>o?o:a&&e<d?d:e,r.updateProgress(c),n.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return w({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,s&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}};function P(e){let{swiper:t,runCallbacks:s,direction:a,step:i}=e;const{activeIndex:r,previousIndex:n}=t;let l=a;if(l||(l=r>n?"next":r<n?"prev":"reset"),t.emit(`transition${i}`),s&&r!==n){if("reset"===l)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===l?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}var k={slideTo:function(e,t,s,a,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const r=this;let n=e;n<0&&(n=0);const{params:l,snapGrid:o,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:h,enabled:m}=r;if(r.animating&&l.preventInteractionOnTransition||!m&&!a&&!i)return!1;const f=Math.min(r.params.slidesPerGroupSkip,n);let g=f+Math.floor((n-f)/r.params.slidesPerGroup);g>=o.length&&(g=o.length-1);const v=-o[g];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*v),s=Math.floor(100*d[e]),a=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<a-(a-s)/2?n=e:t>=s&&t<a&&(n=e+1):t>=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowSlideNext&&v<r.translate&&v<r.minTranslate())return!1;if(!r.allowSlidePrev&&v>r.translate&&v>r.maxTranslate()&&(p||0)!==n)return!1}let b;if(n!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(v),b=n>p?"next":n<p?"prev":"reset",u&&-v===r.translate||!u&&v===r.translate)return r.updateActiveIndex(n),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(v),"reset"!==b&&(r.transitionStart(s,b),r.transitionEnd(s,b)),!1;if(l.cssMode){const e=r.isHorizontal(),s=u?v:-v;if(0===t){const t=r.virtual&&r.params.virtual.enabled;t&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame((()=>{r.wrapperEl.style.scrollSnapType="",r._swiperImmediateVirtual=!1}))}else{if(!r.support.smoothScroll)return w({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(v),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,a){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,s,a)},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex<n.slidesPerGroupSkip?1:l;if(n.loop){if(i&&n.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}return n.rewind&&a.isEnd?a.slideTo(0,e,t,s):a.slideTo(a.activeIndex+o,e,t,s)},slidePrev:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const a=this,{params:i,animating:r,snapGrid:n,slidesGrid:l,rtlTranslate:o,enabled:d}=a;if(!d)return a;if(i.loop){if(r&&i.loopPreventsSlide)return!1;a.loopFix(),a._clientLeft=a.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(o?a.translate:-a.translate),u=n.map((e=>c(e)));let h=n[u.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;n.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;if(void 0!==h&&(m=l.indexOf(h),m<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return a.slideTo(m,e,t,s)},slideReset:function(e,t,s){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e,t,s,a){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===a&&(a=.5);const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,r=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?r<e.loopedSlides-a/2||r>e.slides.length-e.loopedSlides+a/2?(e.loopFix(),r=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p((()=>{e.slideTo(r)}))):e.slideTo(r):r>e.slides.length-a?(e.loopFix(),r=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),p((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}};var z={loopCreate:function(){const e=this,t=a(),{params:s,$wrapperEl:i}=e,r=i.children().length>0?d(i.children()[0].parentNode):i;r.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let n=r.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-n.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let a=0;a<e;a+=1){const e=d(t.createElement("div")).addClass(`${s.slideClass} ${s.slideBlankClass}`);r.append(e)}n=r.children(`.${s.slideClass}`)}}"auto"!==s.slidesPerView||s.loopedSlides||(s.loopedSlides=n.length),e.loopedSlides=Math.ceil(parseFloat(s.loopedSlides||s.slidesPerView,10)),e.loopedSlides+=s.loopAdditionalSlides,e.loopedSlides>n.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=n.length);const l=[],o=[];n.each(((e,t)=>{d(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/n.length)*n.length;o.push(n.eq(e)[0]),l.unshift(n.eq(n.length-e-1)[0])}for(let e=0;e<o.length;e+=1)r.append(d(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass));for(let e=l.length-1;e>=0;e-=1)r.prepend(d(l[e].cloneNode(!0)).addClass(s.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:r,snapGrid:n,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-n[t]-e.getTranslate();if(t<a){o=s.length-3*a+t,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}else if(t>=s.length-a){o=-s.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}};function L(e){const t=this,s=a(),i=r(),n=t.touchEventsData,{params:l,touches:o,enabled:c}=t;if(!c)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=e;p.originalEvent&&(p=p.originalEvent);let h=d(p.target);if("wrapper"===l.touchEventsTarget&&!h.closest(t.wrapperEl).length)return;if(n.isTouchEvent="touchstart"===p.type,!n.isTouchEvent&&"which"in p&&3===p.which)return;if(!n.isTouchEvent&&"button"in p&&p.button>0)return;if(n.isTouched&&n.isMoved)return;const m=!!l.noSwipingClass&&""!==l.noSwipingClass,f=e.composedPath?e.composedPath():e.path;m&&p.target&&p.target.shadowRoot&&f&&(h=d(f[0]));const g=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,v=!(!p.target||!p.target.shadowRoot);if(l.noSwiping&&(v?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(g,h[0]):h.closest(g)[0]))return void(t.allowClick=!0);if(l.swipeHandler&&!h.closest(l.swipeHandler)[0])return;o.currentX="touchstart"===p.type?p.targetTouches[0].pageX:p.pageX,o.currentY="touchstart"===p.type?p.targetTouches[0].pageY:p.pageY;const w=o.currentX,b=o.currentY,x=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,y=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(x&&(w<=y||w>=i.innerWidth-y)){if("prevent"!==x)return;e.preventDefault()}if(Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=w,o.startY=b,n.touchStartTime=u(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==p.type){let e=!0;h.is(n.focusableElements)&&(e=!1,"SELECT"===h[0].nodeName&&(n.isTouched=!1)),s.activeElement&&d(s.activeElement).is(n.focusableElements)&&s.activeElement!==h[0]&&s.activeElement.blur();const a=e&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!a||h[0].isContentEditable||p.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",p)}function O(e){const t=a(),s=this,i=s.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:o}=s;if(!o)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",c));if(i.isTouchEvent&&"touchmove"!==c.type)return;const p="touchmove"===c.type&&c.targetTouches&&(c.targetTouches[0]||c.changedTouches[0]),h="touchmove"===c.type?p.pageX:c.pageX,m="touchmove"===c.type?p.pageY:c.pageY;if(c.preventedByNestedSwiper)return n.startX=h,void(n.startY=m);if(!s.allowTouchMove)return d(c.target).is(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:h,startY:m,currentX:h,currentY:m}),i.touchStartTime=u()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(s.isVertical()){if(m<n.startY&&s.translate<=s.maxTranslate()||m>n.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(h<n.startX&&s.translate<=s.maxTranslate()||h>n.startX&&s.translate>=s.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&c.target===t.activeElement&&d(c.target).is(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);if(i.allowTouchCallbacks&&s.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;n.currentX=h,n.currentY=m;const f=n.currentX-n.startX,g=n.currentY-n.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&n.currentY===n.startY||s.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:f*f+g*g>=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",c),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&s.loopFix(),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",c)),s.emit("sliderMove",c),i.isMoved=!0;let v=s.isHorizontal()?f:g;n.diff=v,v*=r.touchRatio,l&&(v=-v),s.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let w=!0,b=r.resistanceRatio;if(r.touchReleaseOnEdges&&(b=0),v>0&&i.currentTranslate>s.minTranslate()?(w=!1,r.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+v)**b)):v<0&&i.currentTranslate<s.maxTranslate()&&(w=!1,r.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-v)**b)),w&&(c.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(v)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=s.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function I(e){const t=this,s=t.touchEventsData,{params:a,touches:i,rtlTranslate:r,slidesGrid:n,enabled:l}=t;if(!l)return;let o=e;if(o.originalEvent&&(o=o.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",o),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&a.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);a.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=u(),c=d-s.touchStartTime;if(t.allowClick){const e=o.path||o.composedPath&&o.composedPath();t.updateClickedSlide(e&&e[0]||o.target),t.emit("tap click",o),c<300&&d-s.lastClickTime<300&&t.emit("doubleTap doubleClick",o)}if(s.lastClickTime=u(),p((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===i.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let h;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=a.followFinger?r?t.translate:-t.translate:-s.currentTranslate,a.cssMode)return;if(t.params.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});let m=0,f=t.slidesSizesGrid[0];for(let e=0;e<n.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==n[e+t]?h>=n[e]&&h<n[e+t]&&(m=e,f=n[e+t]-n[e]):h>=n[e]&&(m=e,f=n[n.length-1]-n[n.length-2])}let g=null,v=null;a.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(g=0));const w=(h-n[m])/f,b=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(c>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?g:m+b):t.slideTo(m)),"prev"===t.swipeDirection&&(w>1-a.longSwipesRatio?t.slideTo(m+b):null!==v&&w<0&&Math.abs(w)>a.longSwipesRatio?t.slideTo(v):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(o.target===t.navigation.nextEl||o.target===t.navigation.prevEl)?o.target===t.navigation.nextEl?t.slideTo(m+b):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==g?g:m+b),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:m))}}function A(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function D(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function G(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let N=!1;function B(){}const H=(e,t)=>{const s=a(),{params:i,touchEvents:r,el:n,wrapperEl:l,device:o,support:d}=e,c=!!i.nested,p="on"===t?"addEventListener":"removeEventListener",u=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n[p](r.start,e.onTouchStart,t),n[p](r.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:c}:c),n[p](r.end,e.onTouchEnd,t),r.cancel&&n[p](r.cancel,e.onTouchEnd,t)}else n[p](r.start,e.onTouchStart,!1),s[p](r.move,e.onTouchMove,c),s[p](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&n[p]("click",e.onClick,!0),i.cssMode&&l[p]("scroll",e.onScroll),i.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",A,!0):e[u]("observerUpdate",A,!0)};var X={attachEvents:function(){const e=this,t=a(),{params:s,support:i}=e;e.onTouchStart=L.bind(e),e.onTouchMove=O.bind(e),e.onTouchEnd=I.bind(e),s.cssMode&&(e.onScroll=G.bind(e)),e.onClick=D.bind(e),i.touch&&!N&&(t.addEventListener("touchstart",B),N=!0),H(e,"on")},detachEvents:function(){H(this,"off")}};const Y=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var R={addClasses:function(){const e=this,{classNames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...l),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var W={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function q(e,t){return function(s){void 0===s&&(s={});const a=Object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===e[a]&&(e[a]={auto:!0}),a in e&&"enabled"in i?(!0===e[a]&&(e[a]={enabled:!0}),"object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),g(t,s)):g(t,s)):g(t,s)}}const j={eventsEmitter:$,update:S,translate:M,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),P({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:a}=s;s.animating=!1,a.cssMode||(s.setTransition(0),P({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:k,loop:z,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:X,breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:s,loopedSlides:a=0,params:i,$el:r}=e,n=i.breakpoints;if(!n||n&&0===Object.keys(n).length)return;const l=e.getBreakpoint(n,e.params.breakpointsBase,e.el);if(!l||e.currentBreakpoint===l)return;const o=(l in n?n[l]:void 0)||e.originalParams,d=Y(e,i),c=Y(e,o),p=i.enabled;d&&!c?(r.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&c&&(r.addClass(`${i.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===i.grid.fill)&&r.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=i[t]&&i[t].enabled,a=o[t]&&o[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()}));const u=o.direction&&o.direction!==i.direction,h=i.loop&&(o.slidesPerView!==i.slidesPerView||u);u&&s&&e.changeDirection(),g(e.params,o);const m=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!m?e.disable():!p&&m&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",o),h&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",o)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<l.length;e+=1){const{point:r,value:n}=l[e];"window"===t?i.matchMedia(`(min-width: ${n}px)`).matches&&(a=r):n<=s.clientWidth&&(a=r)}return a||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:R,images:{loadImage:function(e,t,s,a,i,n){const l=r();let o;function c(){n&&n()}d(e).parent("picture")[0]||e.complete&&i?c():t?(o=new l.Image,o.onload=c,o.onerror=c,a&&(o.sizes=a),s&&(o.srcset=s),t&&(o.src=t)):c()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;s<e.imagesToLoad.length;s+=1){const a=e.imagesToLoad[s];e.loadImage(a,a.currentSrc||a.getAttribute("src"),a.srcset||a.getAttribute("srcset"),a.sizes||a.getAttribute("sizes"),!0,t)}}}},_={};class V{constructor(){let e,t;for(var s=arguments.length,a=new Array(s),i=0;i<s;i++)a[i]=arguments[i];if(1===a.length&&a[0].constructor&&"Object"===Object.prototype.toString.call(a[0]).slice(8,-1)?t=a[0]:[e,t]=a,t||(t={}),t=g({},t),e&&!t.el&&(t.el=e),t.el&&d(t.el).length>1){const e=[];return d(t.el).each((s=>{const a=g({},t,{el:s});e.push(new V(a))})),e}const r=this;r.__swiper__=!0,r.support=E(),r.device=C({userAgent:t.userAgent}),r.browser=T(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],t.modules&&Array.isArray(t.modules)&&r.modules.push(...t.modules);const n={};r.modules.forEach((e=>{e({swiper:r,extendParams:q(t,n),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const l=g({},W,n);return r.params=g({},l,_,t),r.originalParams=g({},r.params),r.passedParams=g({},t),r.params&&r.params.on&&Object.keys(r.params.on).forEach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=d,Object.assign(r,{enabled:r.params.enabled,el:e,classNames:[],slides:d(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:u(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;s<a.length;s+=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e<a.length;e+=1){(t?i[e]+r[e]-i[l]<n:i[e]-i[l]<n)&&(o+=1)}else for(let e=l-1;e>=0;e-=1){i[l]-i[e]<n&&(o+=1)}return o}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let i;s.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(a(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=d(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=d(e.shadowRoot.querySelector(i()));return t.children=e=>s.children(e),t}return s.children?s.children(i()):d(s).children(i())})();if(0===r.length&&t.params.createElements){const e=a().createElement("div");r=d(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:a,$el:i,$wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){g(_,e)}static get extendedDefaults(){return _}static get defaults(){return W}static installModule(e){V.prototype.__modules__||(V.prototype.__modules__=[]);const t=V.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>V.installModule(e))),V):(V.installModule(e),V)}}function F(e,t,s,i){const r=a();return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createElement("div"),n.className=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}function U(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function K(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.append(e[t]);else s.append(e);a.loop&&t.loopCreate(),a.observer||t.update()}function Z(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;s.loop&&t.loopDestroy();let r=i+1;if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&a.prepend(e[t]);r=i+e.length}else a.prepend(e);s.loop&&t.loopCreate(),s.observer||t.update(),t.slideTo(r,0,!1)}function Q(e,t){const s=this,{$wrapperEl:a,params:i,activeIndex:r}=s;let n=r;i.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.slides=a.children(`.${i.slideClass}`));const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&a.append(t[e]);o=n>e?n+t.length:n}else a.append(t);for(let e=0;e<d.length;e+=1)a.append(d[e]);i.loop&&s.loopCreate(),i.observer||s.update(),i.loop?s.slideTo(o+s.loopedSlides,0,!1):s.slideTo(o,0,!1)}function J(e){const t=this,{params:s,$wrapperEl:a,activeIndex:i}=t;let r=i;s.loop&&(r-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(`.${s.slideClass}`));let n,l=r;if("object"==typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)n=e[s],t.slides[n]&&t.slides.eq(n).remove(),n<l&&(l-=1);l=Math.max(l,0)}else n=e,t.slides[n]&&t.slides.eq(n).remove(),n<l&&(l-=1),l=Math.max(l,0);s.loop&&t.loopCreate(),s.observer||t.update(),s.loop?t.slideTo(l+t.loopedSlides,0,!1):t.slideTo(l,0,!1)}function ee(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}function te(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)})),a("transitionEnd",(()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),o()}})),a("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}function se(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function ae(e){let{swiper:t,duration:s,transformEl:a,allSlides:i}=e;const{slides:r,activeIndex:n,$wrapperEl:l}=t;if(t.params.virtualTranslate&&0!==s){let e,s=!1;e=i?a?r.find(a):r:a?r.eq(n).find(a):r.eq(n),e.transitionEnd((()=>{if(s)return;if(!t||t.destroyed)return;s=!0,t.animating=!1;const e=["webkitTransitionEnd","transitionend"];for(let t=0;t<e.length;t+=1)l.trigger(e[t])}))}}function ie(e,t,s){const a="swiper-slide-shadow"+(s?`-${s}`:""),i=e.transformEl?t.find(e.transformEl):t;let r=i.children(`.${a}`);return r.length||(r=d(`<div class="swiper-slide-shadow${s?`-${s}`:""}"></div>`),i.append(r)),r}Object.keys(j).forEach((e=>{Object.keys(j[e]).forEach((t=>{V.prototype[t]=j[e][t]}))})),V.use([function(e){let{swiper:t,on:s,emit:a}=e;const i=r();let n=null,l=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(a("beforeResize"),a("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&a("orientationchange")};s("init",(()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(n=new ResizeObserver((e=>{l=i.requestAnimationFrame((()=>{const{width:s,height:a}=t;let i=s,r=a;e.forEach((e=>{let{contentBoxSize:s,contentRect:a,target:n}=e;n&&n!==t.el||(i=a?a.width:(s[0]||s).inlineSize,r=a?a.height:(s[0]||s).blockSize)})),i===s&&r===a||o()}))})),n.observe(t.el)):(i.addEventListener("resize",o),i.addEventListener("orientationchange",d))})),s("destroy",(()=>{l&&i.cancelAnimationFrame(l),n&&n.unobserve&&t.el&&(n.unobserve(t.el),n=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=[],l=r(),o=function(e,t){void 0===t&&(t={});const s=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(t):l.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.push(s)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)o(e[t])}o(t.$el[0],{childList:t.params.observeSlideChildren}),o(t.$wrapperEl[0],{attributes:!1})}})),a("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]);const re=[function(e){let t,{swiper:s,extendParams:a,on:i,emit:r}=e;function n(e,t){const a=s.params.virtual;if(a.cache&&s.virtual.cache[t])return s.virtual.cache[t];const i=a.renderSlide?d(a.renderSlide.call(s,e,t)):d(`<div class="${s.params.slideClass}" data-swiper-slide-index="${t}">${e}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",t),a.cache&&(s.virtual.cache[t]=i),i}function l(e){const{slidesPerView:t,slidesPerGroup:a,centeredSlides:i}=s.params,{addSlidesBefore:l,addSlidesAfter:o}=s.params.virtual,{from:d,to:c,slides:p,slidesGrid:u,offset:h}=s.virtual;s.params.cssMode||s.updateActiveIndex();const m=s.activeIndex||0;let f,g,v;f=s.rtlTranslate?"right":s.isHorizontal()?"left":"top",i?(g=Math.floor(t/2)+a+o,v=Math.floor(t/2)+a+l):(g=t+(a-1)+o,v=a+l);const w=Math.max((m||0)-v,0),b=Math.min((m||0)+g,p.length-1),x=(s.slidesGrid[w]||0)-(s.slidesGrid[0]||0);function y(){s.updateSlides(),s.updateProgress(),s.updateSlidesClasses(),s.lazy&&s.params.lazy.enabled&&s.lazy.load(),r("virtualUpdate")}if(Object.assign(s.virtual,{from:w,to:b,offset:x,slidesGrid:s.slidesGrid}),d===w&&c===b&&!e)return s.slidesGrid!==u&&x!==h&&s.slides.css(f,`${x}px`),s.updateProgress(),void r("virtualUpdate");if(s.params.virtual.renderExternal)return s.params.virtual.renderExternal.call(s,{offset:x,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(s.params.virtual.renderExternalUpdate?y():r("virtualUpdate"));const E=[],C=[];if(e)s.$wrapperEl.find(`.${s.params.slideClass}`).remove();else for(let e=d;e<=c;e+=1)(e<w||e>b)&&s.$wrapperEl.find(`.${s.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let t=0;t<p.length;t+=1)t>=w&&t<=b&&(void 0===c||e?C.push(t):(t>c&&C.push(t),t<d&&E.push(t)));C.forEach((e=>{s.$wrapperEl.append(n(p[e],e))})),E.sort(((e,t)=>t-e)).forEach((e=>{s.$wrapperEl.prepend(n(p[e],e))})),s.$wrapperEl.children(".swiper-slide").css(f,`${x}px`),y()}a({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),s.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},i("beforeInit",(()=>{s.params.virtual.enabled&&(s.virtual.slides=s.params.virtual.slides,s.classNames.push(`${s.params.containerModifierClass}virtual`),s.params.watchSlidesProgress=!0,s.originalParams.watchSlidesProgress=!0,s.params.initialSlide||l())})),i("setTranslate",(()=>{s.params.virtual.enabled&&(s.params.cssMode&&!s._immediateVirtual?(clearTimeout(t),t=setTimeout((()=>{l()}),100)):l())})),i("init update resize",(()=>{s.params.virtual.enabled&&s.params.cssMode&&v(s.wrapperEl,"--swiper-virtual-size",`${s.virtualSize}px`)})),Object.assign(s.virtual,{appendSlide:function(e){if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.push(e[t]);else s.virtual.slides.push(e);l(!0)},prependSlide:function(e){const t=s.activeIndex;let a=t+1,i=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&s.virtual.slides.unshift(e[t]);a=t+e.length,i=e.length}else s.virtual.slides.unshift(e);if(s.params.virtual.cache){const e=s.virtual.cache,t={};Object.keys(e).forEach((s=>{const a=e[s],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseInt(r,10)+i),t[parseInt(s,10)+i]=a})),s.virtual.cache=t}l(!0),s.slideTo(a,0)},removeSlide:function(e){if(null==e)return;let t=s.activeIndex;if(Array.isArray(e))for(let a=e.length-1;a>=0;a-=1)s.virtual.slides.splice(e[a],1),s.params.virtual.cache&&delete s.virtual.cache[e[a]],e[a]<t&&(t-=1),t=Math.max(t,0);else s.virtual.slides.splice(e,1),s.params.virtual.cache&&delete s.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);l(!0),s.slideTo(t,0)},removeAllSlides:function(){s.virtual.slides=[],s.params.virtual.cache&&(s.virtual.cache={}),l(!0),s.slideTo(0,0)},update:l})},function(e){let{swiper:t,extendParams:s,on:i,emit:n}=e;const l=a(),o=r();function c(e){if(!t.enabled)return;const{rtlTranslate:s}=t;let a=e;a.originalEvent&&(a=a.originalEvent);const i=a.keyCode||a.charCode,r=t.params.keyboard.pageUpDown,d=r&&33===i,c=r&&34===i,p=37===i,u=39===i,h=38===i,m=40===i;if(!t.allowSlideNext&&(t.isHorizontal()&&u||t.isVertical()&&m||c))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&p||t.isVertical()&&h||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||l.activeElement&&l.activeElement.nodeName&&("input"===l.activeElement.nodeName.toLowerCase()||"textarea"===l.activeElement.nodeName.toLowerCase()))){if(t.params.keyboard.onlyInViewport&&(d||c||p||u||h||m)){let e=!1;if(t.$el.parents(`.${t.params.slideClass}`).length>0&&0===t.$el.parents(`.${t.params.slideActiveClass}`).length)return;const a=t.$el,i=a[0].clientWidth,r=a[0].clientHeight,n=o.innerWidth,l=o.innerHeight,d=t.$el.offset();s&&(d.left-=t.$el[0].scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let t=0;t<c.length;t+=1){const s=c[t];if(s[0]>=0&&s[0]<=n&&s[1]>=0&&s[1]<=l){if(0===s[0]&&0===s[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&t.slideNext(),((d||p)&&!s||(c||u)&&s)&&t.slidePrev()):((d||c||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||m)&&t.slideNext(),(d||h)&&t.slidePrev()),n("keyPress",i)}}function p(){t.keyboard.enabled||(d(l).on("keydown",c),t.keyboard.enabled=!0)}function u(){t.keyboard.enabled&&(d(l).off("keydown",c),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",(()=>{t.params.keyboard.enabled&&p()})),i("destroy",(()=>{t.keyboard.enabled&&u()})),Object.assign(t.keyboard,{enable:p,disable:u})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();let l;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),t.mousewheel={enabled:!1};let o,c=u();const h=[];function m(){t.enabled&&(t.mouseEntered=!0)}function f(){t.enabled&&(t.mouseEntered=!1)}function g(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta)&&(!(t.params.mousewheel.thresholdTime&&u()-c<t.params.mousewheel.thresholdTime)&&(e.delta>=6&&u()-c<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),i("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),i("scroll",e.raw)),c=(new n.Date).getTime(),!1)))}function v(e){let s=e,a=!0;if(!t.enabled)return;const r=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let n=t.$el;if("container"!==t.params.mousewheel.eventsTarget&&(n=d(t.params.mousewheel.eventsTarget)),!t.mouseEntered&&!n[0].contains(s.target)&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let c=0;const m=t.rtlTranslate?-1:1,f=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(r.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(f.pixelX)>Math.abs(f.pixelY)))return!0;c=-f.pixelX*m}else{if(!(Math.abs(f.pixelY)>Math.abs(f.pixelX)))return!0;c=-f.pixelY}else c=Math.abs(f.pixelX)>Math.abs(f.pixelY)?-f.pixelX*m:-f.pixelY;if(0===c)return!0;r.invert&&(c=-c);let v=t.getTranslate()+c*r.sensitivity;if(v>=t.minTranslate()&&(v=t.minTranslate()),v<=t.maxTranslate()&&(v=t.maxTranslate()),a=!!t.params.loop||!(v===t.minTranslate()||v===t.maxTranslate()),a&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:u(),delta:Math.abs(c),direction:Math.sign(c)},a=o&&e.time<o.time+500&&e.delta<=o.delta&&e.direction===o.direction;if(!a){o=void 0,t.params.loop&&t.loopFix();let n=t.getTranslate()+c*r.sensitivity;const d=t.isBeginning,u=t.isEnd;if(n>=t.minTranslate()&&(n=t.minTranslate()),n<=t.maxTranslate()&&(n=t.maxTranslate()),t.setTransition(0),t.setTranslate(n),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!d&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.freeMode.sticky){clearTimeout(l),l=void 0,h.length>=15&&h.shift();const s=h.length?h[h.length-1]:void 0,a=h[0];if(h.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))h.splice(0);else if(h.length>=15&&e.time-a.time<500&&a.delta-e.delta>=1&&e.delta<=6){const s=c>0?.8:.2;o=e,h.splice(0),l=p((()=>{t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}l||(l=p((()=>{o=e,h.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(a||i("scroll",s),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),n===t.minTranslate()||n===t.maxTranslate())return!0}}else{const s={time:u(),delta:Math.abs(c),direction:Math.sign(c),raw:e};h.length>=2&&h.shift();const a=h.length?h[h.length-1]:void 0;if(h.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&g(s):g(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function w(e){let s=t.$el;"container"!==t.params.mousewheel.eventsTarget&&(s=d(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",m),s[e]("mouseleave",f),s[e]("wheel",v)}function b(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",v),!0):!t.mousewheel.enabled&&(w("on"),t.mousewheel.enabled=!0,!0)}function x(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,v),!0):!!t.mousewheel.enabled&&(w("off"),t.mousewheel.enabled=!1,!0)}a("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&x(),t.params.mousewheel.enabled&&b()})),a("destroy",(()=>{t.params.cssMode&&b(),t.mousewheel.enabled&&x()})),Object.assign(t.mousewheel,{enable:b,disable:x})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;function r(e){let s;return e&&(s=d(e),t.params.uniqueNavElements&&"string"==typeof e&&s.length>1&&1===t.$el.find(e).length&&(s=t.$el.find(e))),s}function n(e,s){const a=t.params.navigation;e&&e.length>0&&(e[s?"addClass":"removeClass"](a.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=s),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](a.lockClass))}function l(){if(t.params.loop)return;const{$nextEl:e,$prevEl:s}=t.navigation;n(s,t.isBeginning&&!t.params.rewind),n(e,t.isEnd&&!t.params.rewind)}function o(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),i("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),i("navigationNext"))}function p(){const e=t.params.navigation;if(t.params.navigation=F(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const s=r(e.nextEl),a=r(e.prevEl);s&&s.length>0&&s.on("click",c),a&&a.length>0&&a.on("click",o),Object.assign(t.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:a,prevEl:a&&a[0]}),t.enabled||(s&&s.addClass(e.lockClass),a&&a.addClass(e.lockClass))}function u(){const{$nextEl:e,$prevEl:s}=t.navigation;e&&e.length&&(e.off("click",c),e.removeClass(t.params.navigation.disabledClass)),s&&s.length&&(s.off("click",o),s.removeClass(t.params.navigation.disabledClass))}s({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},a("init",(()=>{!1===t.params.navigation.enabled?h():(p(),l())})),a("toEdge fromEdge lock unlock",(()=>{l()})),a("destroy",(()=>{u()})),a("enable disable",(()=>{const{$nextEl:e,$prevEl:s}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),s&&s[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),a("click",((e,s)=>{const{$nextEl:a,$prevEl:r}=t.navigation,n=s.target;if(t.params.navigation.hideOnClick&&!d(n).is(r)&&!d(n).is(a)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===n||t.pagination.el.contains(n)))return;let e;a?e=a.hasClass(t.params.navigation.hiddenClass):r&&(e=r.hasClass(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),a&&a.toggleClass(t.params.navigation.hiddenClass),r&&r.toggleClass(t.params.navigation.hiddenClass)}}));const h=()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),u()};Object.assign(t.navigation,{enable:()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),p(),l()},disable:h,update:l,init:p,destroy:u})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const r="swiper-pagination";let n;s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${r}-bullet`,bulletActiveClass:`${r}-bullet-active`,modifierClass:`${r}-`,currentClass:`${r}-current`,totalClass:`${r}-total`,hiddenClass:`${r}-hidden`,progressbarFillClass:`${r}-progressbar-fill`,progressbarOppositeClass:`${r}-progressbar-opposite`,clickableClass:`${r}-clickable`,lockClass:`${r}-lock`,horizontalClass:`${r}-horizontal`,verticalClass:`${r}-vertical`,paginationDisabledClass:`${r}-disabled`}}),t.pagination={el:null,$el:null,bullets:[]};let l=0;function o(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||0===t.pagination.$el.length}function c(e,s){const{bulletActiveClass:a}=t.params.pagination;e[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`)}function p(){const e=t.rtl,s=t.params.pagination;if(o())return;const a=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,r=t.pagination.$el;let p;const u=t.params.loop?Math.ceil((a-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(p=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),p>a-1-2*t.loopedSlides&&(p-=a-2*t.loopedSlides),p>u-1&&(p-=u),p<0&&"bullets"!==t.params.paginationType&&(p=u+p)):p=void 0!==t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const a=t.pagination.bullets;let i,o,u;if(s.dynamicBullets&&(n=a.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(t.isHorizontal()?"width":"height",n*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==t.previousIndex&&(l+=p-(t.previousIndex-t.loopedSlides||0),l>s.dynamicMainBullets-1?l=s.dynamicMainBullets-1:l<0&&(l=0)),i=Math.max(p-l,0),o=i+(Math.min(a.length,s.dynamicMainBullets)-1),u=(o+i)/2),a.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),r.length>1)a.each((e=>{const t=d(e),a=t.index();a===p&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(a>=i&&a<=o&&t.addClass(`${s.bulletActiveClass}-main`),a===i&&c(t,"prev"),a===o&&c(t,"next"))}));else{const e=a.eq(p),r=e.index();if(e.addClass(s.bulletActiveClass),s.dynamicBullets){const e=a.eq(i),n=a.eq(o);for(let e=i;e<=o;e+=1)a.eq(e).addClass(`${s.bulletActiveClass}-main`);if(t.params.loop)if(r>=a.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)a.eq(a.length-e).addClass(`${s.bulletActiveClass}-main`);a.eq(a.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else c(e,"prev"),c(n,"next");else c(e,"prev"),c(n,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),r=(n*i-n)/2-u*n,l=e?"right":"left";a.css(t.isHorizontal()?l:"top",`${r}px`)}}if("fraction"===s.type&&(r.find(U(s.currentClass)).text(s.formatFractionCurrent(p+1)),r.find(U(s.totalClass)).text(s.formatFractionTotal(u))),"progressbar"===s.type){let e;e=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(p+1)/u;let i=1,n=1;"horizontal"===e?i=a:n=a,r.find(U(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${n})`).transition(t.params.speed)}"custom"===s.type&&s.renderCustom?(r.html(s.renderCustom(t,p+1,u)),i("paginationRender",r[0])):i("paginationUpdate",r[0]),t.params.watchOverflow&&t.enabled&&r[t.isLocked?"addClass":"removeClass"](s.lockClass)}function u(){const e=t.params.pagination;if(o())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,a=t.pagination.$el;let r="";if("bullets"===e.type){let i=t.params.loop?Math.ceil((s-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&!t.params.loop&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?r+=e.renderBullet.call(t,s,e.bulletClass):r+=`<${e.bulletElement} class="${e.bulletClass}"></${e.bulletElement}>`;a.html(r),t.pagination.bullets=a.find(U(e.bulletClass))}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`,a.html(r)),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`,a.html(r)),"custom"!==e.type&&i("paginationRender",t.pagination.$el[0])}function h(){t.params.pagination=F(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s=d(e.el);0!==s.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&s.length>1&&(s=t.$el.find(e.el),s.length>1&&(s=s.filter((e=>d(e).parents(".swiper")[0]===t.el)))),"bullets"===e.type&&e.clickable&&s.addClass(e.clickableClass),s.addClass(e.modifierClass+e.type),s.addClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.addClass(`${e.modifierClass}${e.type}-dynamic`),l=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.addClass(e.progressbarOppositeClass),e.clickable&&s.on("click",U(e.bulletClass),(function(e){e.preventDefault();let s=d(this).index()*t.params.slidesPerGroup;t.params.loop&&(s+=t.loopedSlides),t.slideTo(s)})),Object.assign(t.pagination,{$el:s,el:s[0]}),t.enabled||s.addClass(e.lockClass))}function m(){const e=t.params.pagination;if(o())return;const s=t.pagination.$el;s.removeClass(e.hiddenClass),s.removeClass(e.modifierClass+e.type),s.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.pagination.bullets&&t.pagination.bullets.removeClass&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&s.off("click",U(e.bulletClass))}a("init",(()=>{!1===t.params.pagination.enabled?f():(h(),u(),p())})),a("activeIndexChange",(()=>{(t.params.loop||void 0===t.snapIndex)&&p()})),a("snapIndexChange",(()=>{t.params.loop||p()})),a("slidesLengthChange",(()=>{t.params.loop&&(u(),p())})),a("snapGridLengthChange",(()=>{t.params.loop||(u(),p())})),a("destroy",(()=>{m()})),a("enable disable",(()=>{const{$el:e}=t.pagination;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)})),a("lock unlock",(()=>{p()})),a("click",((e,s)=>{const a=s.target,{$el:r}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&r&&r.length>0&&!d(a).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&a===t.navigation.nextEl||t.navigation.prevEl&&a===t.navigation.prevEl))return;const e=r.hasClass(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),r.toggleClass(t.params.pagination.hiddenClass)}}));const f=()=>{t.$el.addClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.addClass(t.params.pagination.paginationDisabledClass),m()};Object.assign(t.pagination,{enable:()=>{t.$el.removeClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.removeClass(t.params.pagination.paginationDisabledClass),h(),u(),p()},disable:f,render:u,update:p,init:h,destroy:m})},function(e){let{swiper:t,extendParams:s,on:i,emit:r}=e;const n=a();let l,o,c,u,h=!1,m=null,f=null;function g(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:s,progress:a}=t,{$dragEl:i,$el:r}=e,n=t.params.scrollbar;let l=o,d=(c-o)*a;s?(d=-d,d>0?(l=o-d,d=0):-d+o>c&&(l=c+d)):d<0?(l=o+d,d=0):d+o>c&&(l=c-d),t.isHorizontal()?(i.transform(`translate3d(${d}px, 0, 0)`),i[0].style.width=`${l}px`):(i.transform(`translate3d(0px, ${d}px, 0)`),i[0].style.height=`${l}px`),n.hide&&(clearTimeout(m),r[0].style.opacity=1,m=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function v(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{$dragEl:s,$el:a}=e;s[0].style.width="",s[0].style.height="",c=t.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,u=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),o="auto"===t.params.scrollbar.dragSize?c*u:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?s[0].style.width=`${o}px`:s[0].style.height=`${o}px`,a[0].style.display=u>=1?"none":"",t.params.scrollbar.hide&&(a[0].style.opacity=0),t.params.watchOverflow&&t.enabled&&e.$el[t.isLocked?"addClass":"removeClass"](t.params.scrollbar.lockClass)}function w(e){return t.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientX:e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].clientY:e.clientY}function b(e){const{scrollbar:s,rtlTranslate:a}=t,{$el:i}=s;let r;r=(w(e)-i.offset()[t.isHorizontal()?"left":"top"]-(null!==l?l:o/2))/(c-o),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*r;t.updateProgress(n),t.setTranslate(n),t.updateActiveIndex(),t.updateSlidesClasses()}function x(e){const s=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:n,$dragEl:o}=a;h=!0,l=e.target===o[0]||e.target===o?w(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),i.transition(100),o.transition(100),b(e),clearTimeout(f),n.transition(0),s.hide&&n.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),r("scrollbarDragStart",e)}function y(e){const{scrollbar:s,$wrapperEl:a}=t,{$el:i,$dragEl:n}=s;h&&(e.preventDefault?e.preventDefault():e.returnValue=!1,b(e),a.transition(0),i.transition(0),n.transition(0),r("scrollbarDragMove",e))}function E(e){const s=t.params.scrollbar,{scrollbar:a,$wrapperEl:i}=t,{$el:n}=a;h&&(h=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),i.transition("")),s.hide&&(clearTimeout(f),f=p((()=>{n.css("opacity",0),n.transition(400)}),1e3)),r("scrollbarDragEnd",e),s.snapOnRelease&&t.slideToClosest())}function C(e){const{scrollbar:s,touchEventsTouch:a,touchEventsDesktop:i,params:r,support:l}=t,o=s.$el;if(!o)return;const d=o[0],c=!(!l.passiveListener||!r.passiveListeners)&&{passive:!1,capture:!1},p=!(!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};if(!d)return;const u="on"===e?"addEventListener":"removeEventListener";l.touch?(d[u](a.start,x,c),d[u](a.move,y,c),d[u](a.end,E,p)):(d[u](i.start,x,c),n[u](i.move,y,c),n[u](i.end,E,p))}function T(){const{scrollbar:e,$el:s}=t;t.params.scrollbar=F(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const a=t.params.scrollbar;if(!a.el)return;let i=d(a.el);t.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===s.find(a.el).length&&(i=s.find(a.el)),i.addClass(t.isHorizontal()?a.horizontalClass:a.verticalClass);let r=i.find(`.${t.params.scrollbar.dragClass}`);0===r.length&&(r=d(`<div class="${t.params.scrollbar.dragClass}"></div>`),i.append(r)),Object.assign(e,{$el:i,el:i[0],$dragEl:r,dragEl:r[0]}),a.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&C("on"),i&&i[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)}function $(){const e=t.params.scrollbar,s=t.scrollbar.$el;s&&s.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.params.scrollbar.el&&t.scrollbar.el&&C("off")}s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},i("init",(()=>{!1===t.params.scrollbar.enabled?S():(T(),v(),g())})),i("update resize observerUpdate lock unlock",(()=>{v()})),i("setTranslate",(()=>{g()})),i("setTransition",((e,s)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)}(s)})),i("enable disable",(()=>{const{$el:e}=t.scrollbar;e&&e[t.enabled?"removeClass":"addClass"](t.params.scrollbar.lockClass)})),i("destroy",(()=>{$()}));const S=()=>{t.$el.addClass(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.$el&&t.scrollbar.$el.addClass(t.params.scrollbar.scrollbarDisabledClass),$()};Object.assign(t.scrollbar,{enable:()=>{t.$el.removeClass(t.params.scrollbar.scrollbarDisabledClass),t.scrollbar.$el&&t.scrollbar.$el.removeClass(t.params.scrollbar.scrollbarDisabledClass),T(),v(),g()},disable:S,updateSize:v,setTranslate:g,init:T,destroy:$})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({parallax:{enabled:!1}});const i=(e,s)=>{const{rtl:a}=t,i=d(e),r=a?-1:1,n=i.attr("data-swiper-parallax")||"0";let l=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y");const c=i.attr("data-swiper-parallax-scale"),p=i.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):t.isHorizontal()?(l=n,o="0"):(o=n,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*s*r+"%":l*s*r+"px",o=o.indexOf("%")>=0?parseInt(o,10)*s+"%":o*s+"px",null!=p){const e=p-(p-1)*(1-Math.abs(s));i[0].style.opacity=e}if(null==c)i.transform(`translate3d(${l}, ${o}, 0px)`);else{const e=c-(c-1)*(1-Math.abs(s));i.transform(`translate3d(${l}, ${o}, 0px) scale(${e})`)}},r=()=>{const{$el:e,slides:s,progress:a,snapGrid:r}=t;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,a)})),s.each(((e,s)=>{let n=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(n+=Math.ceil(s/2)-a*(r.length-1)),n=Math.min(Math.max(n,-1),1),d(e).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{i(e,n)}))}))};a("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),a("init",(()=>{t.params.parallax.enabled&&r()})),a("setTranslate",(()=>{t.params.parallax.enabled&&r()})),a("setTransition",((e,s)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{$el:s}=t;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((t=>{const s=d(t);let a=parseInt(s.attr("data-swiper-parallax-duration"),10)||e;0===e&&(a=0),s.transition(a)}))}(s)}))},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;const n=r();s({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),t.zoom={enabled:!1};let l,o,c,p=1,u=!1;const m={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},f={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},g={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let v=1;function w(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-s)**2)}function b(e){const s=t.support,a=t.params.zoom;if(o=!1,c=!1,!s.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;o=!0,m.scaleStart=w(e)}m.$slideEl&&m.$slideEl.length||(m.$slideEl=d(e.target).closest(`.${t.params.slideClass}`),0===m.$slideEl.length&&(m.$slideEl=t.slides.eq(t.activeIndex)),m.$imageEl=m.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imageWrapEl=m.$imageEl.parent(`.${a.containerClass}`),m.maxRatio=m.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==m.$imageWrapEl.length)?(m.$imageEl&&m.$imageEl.transition(0),u=!0):m.$imageEl=void 0}function x(e){const s=t.support,a=t.params.zoom,i=t.zoom;if(!s.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;c=!0,m.scaleMove=w(e)}m.$imageEl&&0!==m.$imageEl.length?(s.gestures?i.scale=e.scale*p:i.scale=m.scaleMove/m.scaleStart*p,i.scale>m.maxRatio&&(i.scale=m.maxRatio-1+(i.scale-m.maxRatio+1)**.5),i.scale<a.minRatio&&(i.scale=a.minRatio+1-(a.minRatio-i.scale+1)**.5),m.$imageEl.transform(`translate3d(0,0,0) scale(${i.scale})`)):"gesturechange"===e.type&&b(e)}function y(e){const s=t.device,a=t.support,i=t.params.zoom,r=t.zoom;if(!a.gestures){if(!o||!c)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!s.android)return;o=!1,c=!1}m.$imageEl&&0!==m.$imageEl.length&&(r.scale=Math.max(Math.min(r.scale,m.maxRatio),i.minRatio),m.$imageEl.transition(t.params.speed).transform(`translate3d(0,0,0) scale(${r.scale})`),p=r.scale,u=!1,1===r.scale&&(m.$slideEl=void 0))}function E(e){const s=t.zoom;if(!m.$imageEl||0===m.$imageEl.length)return;if(t.allowClick=!1,!f.isTouched||!m.$slideEl)return;f.isMoved||(f.width=m.$imageEl[0].offsetWidth,f.height=m.$imageEl[0].offsetHeight,f.startX=h(m.$imageWrapEl[0],"x")||0,f.startY=h(m.$imageWrapEl[0],"y")||0,m.slideWidth=m.$slideEl[0].offsetWidth,m.slideHeight=m.$slideEl[0].offsetHeight,m.$imageWrapEl.transition(0));const a=f.width*s.scale,i=f.height*s.scale;if(!(a<m.slideWidth&&i<m.slideHeight)){if(f.minX=Math.min(m.slideWidth/2-a/2,0),f.maxX=-f.minX,f.minY=Math.min(m.slideHeight/2-i/2,0),f.maxY=-f.minY,f.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,f.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!f.isMoved&&!u){if(t.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x))return void(f.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y))return void(f.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),f.isMoved=!0,f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX,f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY,f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),g.prevPositionX||(g.prevPositionX=f.touchesCurrent.x),g.prevPositionY||(g.prevPositionY=f.touchesCurrent.y),g.prevTime||(g.prevTime=Date.now()),g.x=(f.touchesCurrent.x-g.prevPositionX)/(Date.now()-g.prevTime)/2,g.y=(f.touchesCurrent.y-g.prevPositionY)/(Date.now()-g.prevTime)/2,Math.abs(f.touchesCurrent.x-g.prevPositionX)<2&&(g.x=0),Math.abs(f.touchesCurrent.y-g.prevPositionY)<2&&(g.y=0),g.prevPositionX=f.touchesCurrent.x,g.prevPositionY=f.touchesCurrent.y,g.prevTime=Date.now(),m.$imageWrapEl.transform(`translate3d(${f.currentX}px, ${f.currentY}px,0)`)}}function C(){const e=t.zoom;m.$slideEl&&t.previousIndex!==t.activeIndex&&(m.$imageEl&&m.$imageEl.transform("translate3d(0,0,0) scale(1)"),m.$imageWrapEl&&m.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,p=1,m.$slideEl=void 0,m.$imageEl=void 0,m.$imageWrapEl=void 0)}function T(e){const s=t.zoom,a=t.params.zoom;if(m.$slideEl||(e&&e.target&&(m.$slideEl=d(e.target).closest(`.${t.params.slideClass}`)),m.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):m.$slideEl=t.slides.eq(t.activeIndex)),m.$imageEl=m.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imageWrapEl=m.$imageEl.parent(`.${a.containerClass}`)),!m.$imageEl||0===m.$imageEl.length||!m.$imageWrapEl||0===m.$imageWrapEl.length)return;let i,r,l,o,c,u,h,g,v,w,b,x,y,E,C,T,$,S;t.params.cssMode&&(t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.touchAction="none"),m.$slideEl.addClass(`${a.zoomedSlideClass}`),void 0===f.touchesStart.x&&e?(i="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,r="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(i=f.touchesStart.x,r=f.touchesStart.y),s.scale=m.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,p=m.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,e?($=m.$slideEl[0].offsetWidth,S=m.$slideEl[0].offsetHeight,l=m.$slideEl.offset().left+n.scrollX,o=m.$slideEl.offset().top+n.scrollY,c=l+$/2-i,u=o+S/2-r,v=m.$imageEl[0].offsetWidth,w=m.$imageEl[0].offsetHeight,b=v*s.scale,x=w*s.scale,y=Math.min($/2-b/2,0),E=Math.min(S/2-x/2,0),C=-y,T=-E,h=c*s.scale,g=u*s.scale,h<y&&(h=y),h>C&&(h=C),g<E&&(g=E),g>T&&(g=T)):(h=0,g=0),m.$imageWrapEl.transition(300).transform(`translate3d(${h}px, ${g}px,0)`),m.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function $(){const e=t.zoom,s=t.params.zoom;m.$slideEl||(t.params.virtual&&t.params.virtual.enabled&&t.virtual?m.$slideEl=t.$wrapperEl.children(`.${t.params.slideActiveClass}`):m.$slideEl=t.slides.eq(t.activeIndex),m.$imageEl=m.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),m.$imageWrapEl=m.$imageEl.parent(`.${s.containerClass}`)),m.$imageEl&&0!==m.$imageEl.length&&m.$imageWrapEl&&0!==m.$imageWrapEl.length&&(t.params.cssMode&&(t.wrapperEl.style.overflow="",t.wrapperEl.style.touchAction=""),e.scale=1,p=1,m.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),m.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),m.$slideEl.removeClass(`${s.zoomedSlideClass}`),m.$slideEl=void 0)}function S(e){const s=t.zoom;s.scale&&1!==s.scale?$():T(e)}function M(){const e=t.support;return{passiveListener:!("touchstart"!==t.touchEvents.start||!e.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!e.passiveListener||{passive:!1,capture:!0}}}function P(){return`.${t.params.slideClass}`}function k(e){const{passiveListener:s}=M(),a=P();t.$wrapperEl[e]("gesturestart",a,b,s),t.$wrapperEl[e]("gesturechange",a,x,s),t.$wrapperEl[e]("gestureend",a,y,s)}function z(){l||(l=!0,k("on"))}function L(){l&&(l=!1,k("off"))}function O(){const e=t.zoom;if(e.enabled)return;e.enabled=!0;const s=t.support,{passiveListener:a,activeListenerWithCapture:i}=M(),r=P();s.gestures?(t.$wrapperEl.on(t.touchEvents.start,z,a),t.$wrapperEl.on(t.touchEvents.end,L,a)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.on(t.touchEvents.start,r,b,a),t.$wrapperEl.on(t.touchEvents.move,r,x,i),t.$wrapperEl.on(t.touchEvents.end,r,y,a),t.touchEvents.cancel&&t.$wrapperEl.on(t.touchEvents.cancel,r,y,a)),t.$wrapperEl.on(t.touchEvents.move,`.${t.params.zoom.containerClass}`,E,i)}function I(){const e=t.zoom;if(!e.enabled)return;const s=t.support;e.enabled=!1;const{passiveListener:a,activeListenerWithCapture:i}=M(),r=P();s.gestures?(t.$wrapperEl.off(t.touchEvents.start,z,a),t.$wrapperEl.off(t.touchEvents.end,L,a)):"touchstart"===t.touchEvents.start&&(t.$wrapperEl.off(t.touchEvents.start,r,b,a),t.$wrapperEl.off(t.touchEvents.move,r,x,i),t.$wrapperEl.off(t.touchEvents.end,r,y,a),t.touchEvents.cancel&&t.$wrapperEl.off(t.touchEvents.cancel,r,y,a)),t.$wrapperEl.off(t.touchEvents.move,`.${t.params.zoom.containerClass}`,E,i)}Object.defineProperty(t.zoom,"scale",{get:()=>v,set(e){if(v!==e){const t=m.$imageEl?m.$imageEl[0]:void 0,s=m.$slideEl?m.$slideEl[0]:void 0;i("zoomChange",e,t,s)}v=e}}),a("init",(()=>{t.params.zoom.enabled&&O()})),a("destroy",(()=>{I()})),a("touchStart",((e,s)=>{t.zoom.enabled&&function(e){const s=t.device;m.$imageEl&&0!==m.$imageEl.length&&(f.isTouched||(s.android&&e.cancelable&&e.preventDefault(),f.isTouched=!0,f.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,f.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))}(s)})),a("touchEnd",((e,s)=>{t.zoom.enabled&&function(){const e=t.zoom;if(!m.$imageEl||0===m.$imageEl.length)return;if(!f.isTouched||!f.isMoved)return f.isTouched=!1,void(f.isMoved=!1);f.isTouched=!1,f.isMoved=!1;let s=300,a=300;const i=g.x*s,r=f.currentX+i,n=g.y*a,l=f.currentY+n;0!==g.x&&(s=Math.abs((r-f.currentX)/g.x)),0!==g.y&&(a=Math.abs((l-f.currentY)/g.y));const o=Math.max(s,a);f.currentX=r,f.currentY=l;const d=f.width*e.scale,c=f.height*e.scale;f.minX=Math.min(m.slideWidth/2-d/2,0),f.maxX=-f.minX,f.minY=Math.min(m.slideHeight/2-c/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),m.$imageWrapEl.transition(o).transform(`translate3d(${f.currentX}px, ${f.currentY}px,0)`)}()})),a("doubleTap",((e,s)=>{!t.animating&&t.params.zoom.enabled&&t.zoom.enabled&&t.params.zoom.toggle&&S(s)})),a("transitionEnd",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&C()})),a("slideChange",(()=>{t.zoom.enabled&&t.params.zoom.enabled&&t.params.cssMode&&C()})),Object.assign(t.zoom,{enable:O,disable:I,in:T,out:$,toggle:S})},function(e){let{swiper:t,extendParams:s,on:a,emit:i}=e;s({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),t.lazy={};let n=!1,l=!1;function o(e,s){void 0===s&&(s=!0);const a=t.params.lazy;if(void 0===e)return;if(0===t.slides.length)return;const r=t.virtual&&t.params.virtual.enabled?t.$wrapperEl.children(`.${t.params.slideClass}[data-swiper-slide-index="${e}"]`):t.slides.eq(e),n=r.find(`.${a.elementClass}:not(.${a.loadedClass}):not(.${a.loadingClass})`);!r.hasClass(a.elementClass)||r.hasClass(a.loadedClass)||r.hasClass(a.loadingClass)||n.push(r[0]),0!==n.length&&n.each((e=>{const n=d(e);n.addClass(a.loadingClass);const l=n.attr("data-background"),c=n.attr("data-src"),p=n.attr("data-srcset"),u=n.attr("data-sizes"),h=n.parent("picture");t.loadImage(n[0],c||l,p,u,!1,(()=>{if(null!=t&&t&&(!t||t.params)&&!t.destroyed){if(l?(n.css("background-image",`url("${l}")`),n.removeAttr("data-background")):(p&&(n.attr("srcset",p),n.removeAttr("data-srcset")),u&&(n.attr("sizes",u),n.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=d(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),c&&(n.attr("src",c),n.removeAttr("data-src"))),n.addClass(a.loadedClass).removeClass(a.loadingClass),r.find(`.${a.preloaderClass}`).remove(),t.params.loop&&s){const e=r.attr("data-swiper-slide-index");if(r.hasClass(t.params.slideDuplicateClass)){o(t.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${t.params.slideDuplicateClass})`).index(),!1)}else{o(t.$wrapperEl.children(`.${t.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`).index(),!1)}}i("lazyImageReady",r[0],n[0]),t.params.autoHeight&&t.updateAutoHeight()}})),i("lazyImageLoad",r[0],n[0])}))}function c(){const{$wrapperEl:e,params:s,slides:a,activeIndex:i}=t,r=t.virtual&&s.virtual.enabled,n=s.lazy;let c=s.slidesPerView;function p(t){if(r){if(e.children(`.${s.slideClass}[data-swiper-slide-index="${t}"]`).length)return!0}else if(a[t])return!0;return!1}function u(e){return r?d(e).attr("data-swiper-slide-index"):d(e).index()}if("auto"===c&&(c=0),l||(l=!0),t.params.watchSlidesProgress)e.children(`.${s.slideVisibleClass}`).each((e=>{o(r?d(e).attr("data-swiper-slide-index"):d(e).index())}));else if(c>1)for(let e=i;e<i+c;e+=1)p(e)&&o(e);else o(i);if(n.loadPrevNext)if(c>1||n.loadPrevNextAmount&&n.loadPrevNextAmount>1){const e=n.loadPrevNextAmount,t=Math.ceil(c),s=Math.min(i+t+Math.max(e,t),a.length),r=Math.max(i-Math.max(t,e),0);for(let e=i+t;e<s;e+=1)p(e)&&o(e);for(let e=r;e<i;e+=1)p(e)&&o(e)}else{const t=e.children(`.${s.slideNextClass}`);t.length>0&&o(u(t));const a=e.children(`.${s.slidePrevClass}`);a.length>0&&o(u(a))}}function p(){const e=r();if(!t||t.destroyed)return;const s=t.params.lazy.scrollingElement?d(t.params.lazy.scrollingElement):d(e),a=s[0]===e,i=a?e.innerWidth:s[0].offsetWidth,l=a?e.innerHeight:s[0].offsetHeight,o=t.$el.offset(),{rtlTranslate:u}=t;let h=!1;u&&(o.left-=t.$el[0].scrollLeft);const m=[[o.left,o.top],[o.left+t.width,o.top],[o.left,o.top+t.height],[o.left+t.width,o.top+t.height]];for(let e=0;e<m.length;e+=1){const t=m[e];if(t[0]>=0&&t[0]<=i&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==t.touchEvents.start||!t.support.passiveListener||!t.params.passiveListeners)&&{passive:!0,capture:!1};h?(c(),s.off("scroll",p,f)):n||(n=!0,s.on("scroll",p,f))}a("beforeInit",(()=>{t.params.lazy.enabled&&t.params.preloadImages&&(t.params.preloadImages=!1)})),a("init",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?p():c())})),a("scroll",(()=>{t.params.freeMode&&t.params.freeMode.enabled&&!t.params.freeMode.sticky&&c()})),a("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{t.params.lazy.enabled&&(t.params.lazy.checkInView?p():c())})),a("transitionStart",(()=>{t.params.lazy.enabled&&(t.params.lazy.loadOnTransitionStart||!t.params.lazy.loadOnTransitionStart&&!l)&&(t.params.lazy.checkInView?p():c())})),a("transitionEnd",(()=>{t.params.lazy.enabled&&!t.params.lazy.loadOnTransitionStart&&(t.params.lazy.checkInView?p():c())})),a("slideChange",(()=>{const{lazy:e,cssMode:s,watchSlidesProgress:a,touchReleaseOnEdges:i,resistanceRatio:r}=t.params;e.enabled&&(s||a&&(i||0===r))&&c()})),a("destroy",(()=>{t.$el&&t.$el.find(`.${t.params.lazy.loadingClass}`).removeClass(t.params.lazy.loadingClass)})),Object.assign(t.lazy,{load:c,loadInSlide:o})},function(e){let{swiper:t,extendParams:s,on:a}=e;function i(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function r(){t.controller.control&&t.controller.spline&&(t.controller.spline=void 0,delete t.controller.spline)}s({controller:{control:void 0,inverse:!1,by:"slide"}}),t.controller={control:void 0},a("beforeInit",(()=>{t.controller.control=t.params.controller.control})),a("update",(()=>{r()})),a("resize",(()=>{r()})),a("observerUpdate",(()=>{r()})),a("setTranslate",((e,s,a)=>{t.controller.control&&t.controller.setTranslate(s,a)})),a("setTransition",((e,s,a)=>{t.controller.control&&t.controller.setTransition(s,a)})),Object.assign(t.controller,{setTranslate:function(e,s){const a=t.controller.control;let r,n;const l=t.constructor;function o(e){const s=t.rtlTranslate?-t.translate:t.translate;"slide"===t.params.controller.by&&(!function(e){t.controller.spline||(t.controller.spline=t.params.loop?new i(t.slidesGrid,e.slidesGrid):new i(t.snapGrid,e.snapGrid))}(e),n=-t.controller.spline.interpolate(-s)),n&&"container"!==t.params.controller.by||(r=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),n=(s-t.minTranslate())*r+e.minTranslate()),t.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(a))for(let e=0;e<a.length;e+=1)a[e]!==s&&a[e]instanceof l&&o(a[e]);else a instanceof l&&s!==a&&o(a)},setTransition:function(e,s){const a=t.constructor,i=t.controller.control;let r;function n(s){s.setTransition(e,t),0!==e&&(s.transitionStart(),s.params.autoHeight&&p((()=>{s.updateAutoHeight()})),s.$wrapperEl.transitionEnd((()=>{i&&(s.params.loop&&"slide"===t.params.controller.by&&s.loopFix(),s.transitionEnd())})))}if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==s&&i[r]instanceof a&&n(i[r]);else i instanceof a&&s!==i&&n(i)}})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let i=null;function r(e){const t=i;0!==t.length&&(t.html(""),t.html(e))}function n(e){e.attr("tabIndex","0")}function l(e){e.attr("tabIndex","-1")}function o(e,t){e.attr("role",t)}function c(e,t){e.attr("aria-roledescription",t)}function p(e,t){e.attr("aria-label",t)}function u(e){e.attr("aria-disabled",!0)}function h(e){e.attr("aria-disabled",!1)}function m(e){if(13!==e.keyCode&&32!==e.keyCode)return;const s=t.params.a11y,a=d(e.target);t.navigation&&t.navigation.$nextEl&&a.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?r(s.lastSlideMessage):r(s.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&a.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?r(s.firstSlideMessage):r(s.prevSlideMessage)),t.pagination&&a.is(U(t.params.pagination.bulletClass))&&a[0].click()}function f(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function g(){return f()&&t.params.pagination.clickable}const v=(e,t,s)=>{n(e),"BUTTON"!==e[0].tagName&&(o(e,"button"),e.on("keydown",m)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)},w=()=>{t.a11y.clicked=!0},b=()=>{requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},x=e=>{if(t.a11y.clicked)return;const s=e.target.closest(`.${t.params.slideClass}`);if(!s||!t.slides.includes(s))return;const a=t.slides.indexOf(s)===t.activeIndex,i=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(s);a||i||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,t.slideTo(t.slides.indexOf(s),0))},y=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&c(d(t.slides),e.itemRoleDescriptionMessage),e.slideRole&&o(d(t.slides),e.slideRole);const s=t.params.loop?t.slides.filter((e=>!e.classList.contains(t.params.slideDuplicateClass))).length:t.slides.length;e.slideLabelMessage&&t.slides.each(((a,i)=>{const r=d(a),n=t.params.loop?parseInt(r.attr("data-swiper-slide-index"),10):i;p(r,e.slideLabelMessage.replace(/\{\{index\}\}/,n+1).replace(/\{\{slidesLength\}\}/,s))}))},E=()=>{const e=t.params.a11y;t.$el.append(i);const s=t.$el;e.containerRoleDescriptionMessage&&c(s,e.containerRoleDescriptionMessage),e.containerMessage&&p(s,e.containerMessage);const a=t.$wrapperEl,r=e.id||a.attr("id")||`swiper-wrapper-${n=16,void 0===n&&(n=16),"x".repeat(n).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var n;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var o;let d,u;o=r,a.attr("id",o),function(e,t){e.attr("aria-live",t)}(a,l),y(),t.navigation&&t.navigation.$nextEl&&(d=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(u=t.navigation.$prevEl),d&&d.length&&v(d,r,e.nextSlideMessage),u&&u.length&&v(u,r,e.prevSlideMessage),g()&&t.pagination.$el.on("keydown",U(t.params.pagination.bulletClass),m),t.$el.on("focus",x,!0),t.$el.on("pointerdown",w,!0),t.$el.on("pointerup",b,!0)};a("beforeInit",(()=>{i=d(`<span class="${t.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)})),a("afterInit",(()=>{t.params.a11y.enabled&&E()})),a("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&y()})),a("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{$nextEl:e,$prevEl:s}=t.navigation;s&&s.length>0&&(t.isBeginning?(u(s),l(s)):(h(s),n(s))),e&&e.length>0&&(t.isEnd?(u(e),l(e)):(h(e),n(e)))}()})),a("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;f()&&t.pagination.bullets.each((s=>{const a=d(s);t.params.pagination.clickable&&(n(a),t.params.pagination.renderBullet||(o(a,"button"),p(a,e.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${t.params.pagination.bulletActiveClass}`)?a.attr("aria-current","true"):a.removeAttr("aria-current")}))}()})),a("destroy",(()=>{t.params.a11y.enabled&&function(){let e,s;i&&i.length>0&&i.remove(),t.navigation&&t.navigation.$nextEl&&(e=t.navigation.$nextEl),t.navigation&&t.navigation.$prevEl&&(s=t.navigation.$prevEl),e&&e.off("keydown",m),s&&s.off("keydown",m),g()&&t.pagination.$el.off("keydown",U(t.params.pagination.bulletClass),m),t.$el.off("focus",x,!0),t.$el.off("pointerdown",w,!0),t.$el.off("pointerup",b,!0)}()}))},function(e){let{swiper:t,extendParams:s,on:a}=e;s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,n={};const l=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=e=>{const t=r();let s;s=e?new URL(e):t.location;const a=s.pathname.slice(1).split("/").filter((e=>""!==e)),i=a.length;return{key:a[i-2],value:a[i-1]}},d=(e,s)=>{const a=r();if(!i||!t.params.history.enabled)return;let n;n=t.params.url?new URL(t.params.url):a.location;const o=t.slides.eq(s);let d=l(o.attr("data-history"));if(t.params.history.root.length>0){let s=t.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${e}/${d}`}else n.pathname.includes(e)||(d=`${e}/${d}`);t.params.history.keepQuery&&(d+=n.search);const c=a.history.state;c&&c.value===d||(t.params.history.replaceState?a.history.replaceState({value:d},null,d):a.history.pushState({value:d},null,d))},c=(e,s,a)=>{if(s)for(let i=0,r=t.slides.length;i<r;i+=1){const r=t.slides.eq(i);if(l(r.attr("data-history"))===s&&!r.hasClass(t.params.slideDuplicateClass)){const s=r.index();t.slideTo(s,e,a)}}else t.slideTo(0,e,a)},p=()=>{n=o(t.params.url),c(t.params.speed,n.value,!1)};a("init",(()=>{t.params.history.enabled&&(()=>{const e=r();if(t.params.history){if(!e.history||!e.history.pushState)return t.params.history.enabled=!1,void(t.params.hashNavigation.enabled=!0);i=!0,n=o(t.params.url),(n.key||n.value)&&(c(0,n.value,t.params.runCallbacksOnInit),t.params.history.replaceState||e.addEventListener("popstate",p))}})()})),a("destroy",(()=>{t.params.history.enabled&&(()=>{const e=r();t.params.history.replaceState||e.removeEventListener("popstate",p)})()})),a("transitionEnd _freeModeNoMomentumRelease",(()=>{i&&d(t.params.history.key,t.activeIndex)})),a("slideChange",(()=>{i&&t.params.cssMode&&d(t.params.history.key,t.activeIndex)}))},function(e){let{swiper:t,extendParams:s,emit:i,on:n}=e,l=!1;const o=a(),c=r();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const p=()=>{i("hashChange");const e=o.location.hash.replace("#","");if(e!==t.slides.eq(t.activeIndex).attr("data-hash")){const s=t.$wrapperEl.children(`.${t.params.slideClass}[data-hash="${e}"]`).index();if(void 0===s)return;t.slideTo(s)}},u=()=>{if(l&&t.params.hashNavigation.enabled)if(t.params.hashNavigation.replaceState&&c.history&&c.history.replaceState)c.history.replaceState(null,null,`#${t.slides.eq(t.activeIndex).attr("data-hash")}`||""),i("hashSet");else{const e=t.slides.eq(t.activeIndex),s=e.attr("data-hash")||e.attr("data-history");o.location.hash=s||"",i("hashSet")}};n("init",(()=>{t.params.hashNavigation.enabled&&(()=>{if(!t.params.hashNavigation.enabled||t.params.history&&t.params.history.enabled)return;l=!0;const e=o.location.hash.replace("#","");if(e){const s=0;for(let a=0,i=t.slides.length;a<i;a+=1){const i=t.slides.eq(a);if((i.attr("data-hash")||i.attr("data-history"))===e&&!i.hasClass(t.params.slideDuplicateClass)){const e=i.index();t.slideTo(e,s,t.params.runCallbacksOnInit,!0)}}}t.params.hashNavigation.watchState&&d(c).on("hashchange",p)})()})),n("destroy",(()=>{t.params.hashNavigation.enabled&&t.params.hashNavigation.watchState&&d(c).off("hashchange",p)})),n("transitionEnd _freeModeNoMomentumRelease",(()=>{l&&u()})),n("slideChange",(()=>{l&&t.params.cssMode&&u()}))},function(e){let t,{swiper:s,extendParams:i,on:r,emit:n}=e;function l(){if(!s.size)return s.autoplay.running=!1,void(s.autoplay.paused=!1);const e=s.slides.eq(s.activeIndex);let a=s.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(a=e.attr("data-swiper-autoplay")||s.params.autoplay.delay),clearTimeout(t),t=p((()=>{let e;s.params.autoplay.reverseDirection?s.params.loop?(s.loopFix(),e=s.slidePrev(s.params.speed,!0,!0),n("autoplay")):s.isBeginning?s.params.autoplay.stopOnLastSlide?d():(e=s.slideTo(s.slides.length-1,s.params.speed,!0,!0),n("autoplay")):(e=s.slidePrev(s.params.speed,!0,!0),n("autoplay")):s.params.loop?(s.loopFix(),e=s.slideNext(s.params.speed,!0,!0),n("autoplay")):s.isEnd?s.params.autoplay.stopOnLastSlide?d():(e=s.slideTo(0,s.params.speed,!0,!0),n("autoplay")):(e=s.slideNext(s.params.speed,!0,!0),n("autoplay")),(s.params.cssMode&&s.autoplay.running||!1===e)&&l()}),a)}function o(){return void 0===t&&(!s.autoplay.running&&(s.autoplay.running=!0,n("autoplayStart"),l(),!0))}function d(){return!!s.autoplay.running&&(void 0!==t&&(t&&(clearTimeout(t),t=void 0),s.autoplay.running=!1,n("autoplayStop"),!0))}function c(e){s.autoplay.running&&(s.autoplay.paused||(t&&clearTimeout(t),s.autoplay.paused=!0,0!==e&&s.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].addEventListener(e,h)})):(s.autoplay.paused=!1,l())))}function u(){const e=a();"hidden"===e.visibilityState&&s.autoplay.running&&c(),"visible"===e.visibilityState&&s.autoplay.paused&&(l(),s.autoplay.paused=!1)}function h(e){s&&!s.destroyed&&s.$wrapperEl&&e.target===s.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].removeEventListener(e,h)})),s.autoplay.paused=!1,s.autoplay.running?l():d())}function m(){s.params.autoplay.disableOnInteraction?d():(n("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].removeEventListener(e,h)}))}function f(){s.params.autoplay.disableOnInteraction||(s.autoplay.paused=!1,n("autoplayResume"),l())}s.autoplay={running:!1,paused:!1},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),r("init",(()=>{if(s.params.autoplay.enabled){o();a().addEventListener("visibilitychange",u),s.params.autoplay.pauseOnMouseEnter&&(s.$el.on("mouseenter",m),s.$el.on("mouseleave",f))}})),r("beforeTransitionStart",((e,t,a)=>{s.autoplay.running&&(a||!s.params.autoplay.disableOnInteraction?s.autoplay.pause(t):d())})),r("sliderFirstMove",(()=>{s.autoplay.running&&(s.params.autoplay.disableOnInteraction?d():c())})),r("touchEnd",(()=>{s.params.cssMode&&s.autoplay.paused&&!s.params.autoplay.disableOnInteraction&&l()})),r("destroy",(()=>{s.$el.off("mouseenter",m),s.$el.off("mouseleave",f),s.autoplay.running&&d();a().removeEventListener("visibilitychange",u)})),Object.assign(s.autoplay,{pause:c,run:l,start:o,stop:d})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,r=!1;function n(){const e=t.thumbs.swiper;if(!e||e.destroyed)return;const s=e.clickedIndex,a=e.clickedSlide;if(a&&d(a).hasClass(t.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let i;if(i=e.params.loop?parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"),10):s,t.params.loop){let e=t.activeIndex;t.slides.eq(e).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,e=t.activeIndex);const s=t.slides.eq(e).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),a=t.slides.eq(e).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i=void 0===s?a:void 0===a?s:a-e<e-s?a:s}t.slideTo(i)}function l(){const{thumbs:e}=t.params;if(i)return!1;i=!0;const s=t.constructor;if(e.swiper instanceof s)t.thumbs.swiper=e.swiper,Object.assign(t.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(t.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(m(e.swiper)){const a=Object.assign({},e.swiper);Object.assign(a,{watchSlidesProgress:!0,slideToClickedSlide:!1}),t.thumbs.swiper=new s(a),r=!0}return t.thumbs.swiper.$el.addClass(t.params.thumbs.thumbsContainerClass),t.thumbs.swiper.on("tap",n),!0}function o(e){const s=t.thumbs.swiper;if(!s||s.destroyed)return;const a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let i=1;const r=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(i=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.removeClass(r),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let e=0;e<i;e+=1)s.$wrapperEl.children(`[data-swiper-slide-index="${t.realIndex+e}"]`).addClass(r);else for(let e=0;e<i;e+=1)s.slides.eq(t.realIndex+e).addClass(r);const n=t.params.thumbs.autoScrollOffset,l=n&&!s.params.loop;if(t.realIndex!==s.realIndex||l){let i,r,o=s.activeIndex;if(s.params.loop){s.slides.eq(o).hasClass(s.params.slideDuplicateClass)&&(s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft,o=s.activeIndex);const e=s.slides.eq(o).prevAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index(),a=s.slides.eq(o).nextAll(`[data-swiper-slide-index="${t.realIndex}"]`).eq(0).index();i=void 0===e?a:void 0===a?e:a-o==o-e?s.params.slidesPerGroup>1?a:o:a-o<o-e?a:e,r=t.activeIndex>t.previousIndex?"next":"prev"}else i=t.realIndex,r=i>t.previousIndex?"next":"prev";l&&(i+="next"===r?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(i)<0&&(s.params.centeredSlides?i=i>o?i-Math.floor(a/2)+1:i+Math.floor(a/2)-1:i>o&&s.params.slidesPerGroup,s.slideTo(i,e?0:void 0))}}t.thumbs={swiper:null},a("beforeInit",(()=>{const{thumbs:e}=t.params;e&&e.swiper&&(l(),o(!0))})),a("slideChange update resize observerUpdate",(()=>{o()})),a("setTransition",((e,s)=>{const a=t.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)})),a("beforeDestroy",(()=>{const e=t.thumbs.swiper;e&&!e.destroyed&&r&&e.destroy()})),Object.assign(t.thumbs,{init:l,update:o})},function(e){let{swiper:t,extendParams:s,emit:a,once:i}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(t,{freeMode:{onTouchStart:function(){const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})},onTouchMove:function(){const{touchEventsData:e,touches:s}=t;0===e.velocities.length&&e.velocities.push({position:s[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:s[t.isHorizontal()?"currentX":"currentY"],time:u()})},onTouchEnd:function(e){let{currentPos:s}=e;const{params:r,$wrapperEl:n,rtlTranslate:l,snapGrid:o,touchEventsData:d}=t,c=u()-d.touchStartTime;if(s<-t.minTranslate())t.slideTo(t.activeIndex);else if(s>-t.maxTranslate())t.slides.length<o.length?t.slideTo(o.length-1):t.slideTo(t.slides.length-1);else{if(r.freeMode.momentum){if(d.velocities.length>1){const e=d.velocities.pop(),s=d.velocities.pop(),a=e.position-s.position,i=e.time-s.time;t.velocity=a/i,t.velocity/=2,Math.abs(t.velocity)<r.freeMode.minimumVelocity&&(t.velocity=0),(i>150||u()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=r.freeMode.momentumVelocityRatio,d.velocities.length=0;let e=1e3*r.freeMode.momentumRatio;const s=t.velocity*e;let c=t.translate+s;l&&(c=-c);let p,h=!1;const m=20*Math.abs(t.velocity)*r.freeMode.momentumBounceRatio;let f;if(c<t.maxTranslate())r.freeMode.momentumBounce?(c+t.maxTranslate()<-m&&(c=t.maxTranslate()-m),p=t.maxTranslate(),h=!0,d.allowMomentumBounce=!0):c=t.maxTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(c>t.minTranslate())r.freeMode.momentumBounce?(c-t.minTranslate()>m&&(c=t.minTranslate()+m),p=t.minTranslate(),h=!0,d.allowMomentumBounce=!0):c=t.minTranslate(),r.loop&&r.centeredSlides&&(f=!0);else if(r.freeMode.sticky){let e;for(let t=0;t<o.length;t+=1)if(o[t]>-c){e=t;break}c=Math.abs(o[e]-c)<Math.abs(o[e-1]-c)||"next"===t.swipeDirection?o[e]:o[e-1],c=-c}if(f&&i("transitionEnd",(()=>{t.loopFix()})),0!==t.velocity){if(e=l?Math.abs((-c-t.translate)/t.velocity):Math.abs((c-t.translate)/t.velocity),r.freeMode.sticky){const s=Math.abs((l?-c:c)-t.translate),a=t.slidesSizesGrid[t.activeIndex];e=s<a?r.speed:s<2*a?1.5*r.speed:2.5*r.speed}}else if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode.momentumBounce&&h?(t.updateProgress(p),t.setTransition(e),t.setTranslate(c),t.transitionStart(!0,t.swipeDirection),t.animating=!0,n.transitionEnd((()=>{t&&!t.destroyed&&d.allowMomentumBounce&&(a("momentumBounce"),t.setTransition(r.speed),setTimeout((()=>{t.setTranslate(p),n.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()}))}),0))}))):t.velocity?(a("_freeModeNoMomentumRelease"),t.updateProgress(c),t.setTransition(e),t.setTranslate(c),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,n.transitionEnd((()=>{t&&!t.destroyed&&t.transitionEnd()})))):t.updateProgress(c),t.updateActiveIndex(),t.updateSlidesClasses()}else{if(r.freeMode.sticky)return void t.slideToClosest();r.freeMode&&a("_freeModeNoMomentumRelease")}(!r.freeMode.momentum||c>=r.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}}}})},function(e){let t,s,a,{swiper:i,extendParams:r}=e;r({grid:{rows:1,fill:"column"}}),i.grid={initSlides:e=>{const{slidesPerView:r}=i.params,{rows:n,fill:l}=i.params.grid;s=t/n,a=Math.floor(e/n),t=Math.floor(e/n)===e/n?e:Math.ceil(e/n)*n,"auto"!==r&&"row"===l&&(t=Math.max(t,r*n))},updateSlide:(e,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=i.params,{rows:c,fill:p}=i.params.grid;let u,h,m;if("row"===p&&o>1){const s=Math.floor(e/(o*c)),a=e-c*o*s,i=0===s?o:Math.min(Math.ceil((n-s*c*o)/c),o);m=Math.floor(a/i),h=a-m*i+s*o,u=h+m*t/c,r.css({"-webkit-order":u,order:u})}else"column"===p?(h=Math.floor(e/c),m=e-h*c,(h>a||h===a&&m===c-1)&&(m+=1,m>=c&&(m=0,h+=1))):(m=Math.floor(e/s),h=e-m*s);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updateWrapperSize:(e,s,a)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=i.params,{rows:o}=i.params.grid;if(i.virtualSize=(e+r)*t,i.virtualSize=Math.ceil(i.virtualSize/o)-r,i.$wrapperEl.css({[a("width")]:`${i.virtualSize+r}px`}),n){s.splice(0,s.length);const e=[];for(let t=0;t<s.length;t+=1){let a=s[t];l&&(a=Math.floor(a)),s[t]<i.virtualSize+s[0]&&e.push(a)}s.push(...e)}}}},function(e){let{swiper:t}=e;Object.assign(t,{appendSlide:K.bind(t),prependSlide:Z.bind(t),addSlide:Q.bind(t),removeSlide:J.bind(t),removeAllSlides:ee.bind(t)})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({fadeEffect:{crossFade:!1,transformEl:null}}),te({effect:"fade",swiper:t,on:a,setTranslate:()=>{const{slides:e}=t,s=t.params.fadeEffect;for(let a=0;a<e.length;a+=1){const e=t.slides.eq(a);let i=-e[0].swiperSlideOffset;t.params.virtualTranslate||(i-=t.translate);let r=0;t.isHorizontal()||(r=i,i=0);const n=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e[0].progress),0):1+Math.min(Math.max(e[0].progress,-1),0);se(s,e).css({opacity:n}).transform(`translate3d(${i}px, ${r}px, 0px)`)}},setTransition:e=>{const{transformEl:s}=t.params.fadeEffect;(s?t.slides.find(s):t.slides).transition(e),ae({swiper:t,duration:e,transformEl:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,s)=>{let a=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===a.length&&(a=d(`<div class="swiper-slide-shadow-${s?"left":"top"}"></div>`),e.append(a)),0===i.length&&(i=d(`<div class="swiper-slide-shadow-${s?"right":"bottom"}"></div>`),e.append(i)),a.length&&(a[0].style.opacity=Math.max(-t,0)),i.length&&(i[0].style.opacity=Math.max(t,0))};te({effect:"cube",swiper:t,on:a,setTranslate:()=>{const{$el:e,$wrapperEl:s,slides:a,width:r,height:n,rtlTranslate:l,size:o,browser:c}=t,p=t.params.cubeEffect,u=t.isHorizontal(),h=t.virtual&&t.params.virtual.enabled;let m,f=0;p.shadow&&(u?(m=s.find(".swiper-cube-shadow"),0===m.length&&(m=d('<div class="swiper-cube-shadow"></div>'),s.append(m)),m.css({height:`${r}px`})):(m=e.find(".swiper-cube-shadow"),0===m.length&&(m=d('<div class="swiper-cube-shadow"></div>'),e.append(m))));for(let e=0;e<a.length;e+=1){const t=a.eq(e);let s=e;h&&(s=parseInt(t.attr("data-swiper-slide-index"),10));let r=90*s,n=Math.floor(r/360);l&&(r=-r,n=Math.floor(-r/360));const d=Math.max(Math.min(t[0].progress,1),-1);let c=0,m=0,g=0;s%4==0?(c=4*-n*o,g=0):(s-1)%4==0?(c=0,g=4*-n*o):(s-2)%4==0?(c=o+4*n*o,g=o):(s-3)%4==0&&(c=-o,g=3*o+4*o*n),l&&(c=-c),u||(m=c,c=0);const v=`rotateX(${u?0:-r}deg) rotateY(${u?r:0}deg) translate3d(${c}px, ${m}px, ${g}px)`;d<=1&&d>-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),t.transform(v),p.slideShadows&&i(t,d,u)}if(s.css({"-webkit-transform-origin":`50% 50% -${o/2}px`,"transform-origin":`50% 50% -${o/2}px`}),p.shadow)if(u)m.transform(`translate3d(0px, ${r/2+p.shadowOffset}px, ${-r/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;m.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotateX(-90deg)`)}const g=c.isSafari||c.isWebView?-o/2:0;s.transform(`translate3d(0px,0,${g}px) rotateX(${t.isHorizontal()?0:f}deg) rotateY(${t.isHorizontal()?-f:0}deg)`),s[0].style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:e=>{const{$el:s,slides:a}=t;a.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&s.find(".swiper-cube-shadow").transition(e)},recreateShadows:()=>{const e=t.isHorizontal();t.slides.each((t=>{const s=Math.max(Math.min(t.progress,1),-1);i(d(t),s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const i=(e,s,a)=>{let i=t.isHorizontal()?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),r=t.isHorizontal()?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===i.length&&(i=ie(a,e,t.isHorizontal()?"left":"top")),0===r.length&&(r=ie(a,e,t.isHorizontal()?"right":"bottom")),i.length&&(i[0].style.opacity=Math.max(-s,0)),r.length&&(r[0].style.opacity=Math.max(s,0))};te({effect:"flip",swiper:t,on:a,setTranslate:()=>{const{slides:e,rtlTranslate:s}=t,a=t.params.flipEffect;for(let r=0;r<e.length;r+=1){const n=e.eq(r);let l=n[0].progress;t.params.flipEffect.limitRotation&&(l=Math.max(Math.min(n[0].progress,1),-1));const o=n[0].swiperSlideOffset;let d=-180*l,c=0,p=t.params.cssMode?-o-t.translate:-o,u=0;t.isHorizontal()?s&&(d=-d):(u=p,p=0,c=-d,d=0),n[0].style.zIndex=-Math.abs(Math.round(l))+e.length,a.slideShadows&&i(n,l,a);const h=`translate3d(${p}px, ${u}px, 0px) rotateX(${c}deg) rotateY(${d}deg)`;se(a,n).transform(h)}},setTransition:e=>{const{transformEl:s}=t.params.flipEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),ae({swiper:t,duration:e,transformEl:s})},recreateShadows:()=>{const e=t.params.flipEffect;t.slides.each((s=>{const a=d(s);let r=a[0].progress;t.params.flipEffect.limitRotation&&(r=Math.max(Math.min(s.progress,1),-1)),i(a,r,e)}))},getEffectParams:()=>t.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),te({effect:"coverflow",swiper:t,on:a,setTranslate:()=>{const{width:e,height:s,slides:a,slidesSizesGrid:i}=t,r=t.params.coverflowEffect,n=t.isHorizontal(),l=t.translate,o=n?e/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth;for(let e=0,t=a.length;e<t;e+=1){const t=a.eq(e),s=i[e],l=(o-t[0].swiperSlideOffset-s/2)/s,p="function"==typeof r.modifier?r.modifier(l):l*r.modifier;let u=n?d*p:0,h=n?0:d*p,m=-c*Math.abs(p),f=r.stretch;"string"==typeof f&&-1!==f.indexOf("%")&&(f=parseFloat(r.stretch)/100*s);let g=n?0:f*p,v=n?f*p:0,w=1-(1-r.scale)*Math.abs(p);Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(m)<.001&&(m=0),Math.abs(u)<.001&&(u=0),Math.abs(h)<.001&&(h=0),Math.abs(w)<.001&&(w=0);const b=`translate3d(${v}px,${g}px,${m}px)  rotateX(${h}deg) rotateY(${u}deg) scale(${w})`;if(se(r,t).transform(b),t[0].style.zIndex=1-Math.abs(Math.round(p)),r.slideShadows){let e=n?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),s=n?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=ie(r,t,n?"left":"top")),0===s.length&&(s=ie(r,t,n?"right":"bottom")),e.length&&(e[0].style.opacity=p>0?p:0),s.length&&(s[0].style.opacity=-p>0?-p:0)}}},setTransition:e=>{const{transformEl:s}=t.params.coverflowEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=e=>"string"==typeof e?e:`${e}px`;te({effect:"creative",swiper:t,on:a,setTranslate:()=>{const{slides:e,$wrapperEl:s,slidesSizesGrid:a}=t,r=t.params.creativeEffect,{progressMultiplier:n}=r,l=t.params.centeredSlides;if(l){const e=a[0]/2-t.params.slidesOffsetBefore||0;s.transform(`translateX(calc(50% - ${e}px))`)}for(let s=0;s<e.length;s+=1){const a=e.eq(s),o=a[0].progress,d=Math.min(Math.max(a[0].progress,-r.limitProgress),r.limitProgress);let c=d;l||(c=Math.min(Math.max(a[0].originalProgress,-r.limitProgress),r.limitProgress));const p=a[0].swiperSlideOffset,u=[t.params.cssMode?-p-t.translate:-p,0,0],h=[0,0,0];let m=!1;t.isHorizontal()||(u[1]=u[0],u[0]=0);let f={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};d<0?(f=r.next,m=!0):d>0&&(f=r.prev,m=!0),u.forEach(((e,t)=>{u[t]=`calc(${e}px + (${i(f.translate[t])} * ${Math.abs(d*n)}))`})),h.forEach(((e,t)=>{h[t]=f.rotate[t]*Math.abs(d*n)})),a[0].style.zIndex=-Math.abs(Math.round(o))+e.length;const g=u.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,w=c<0?`scale(${1+(1-f.scale)*c*n})`:`scale(${1-(1-f.scale)*c*n})`,b=c<0?1+(1-f.opacity)*c*n:1-(1-f.opacity)*c*n,x=`translate3d(${g}) ${v} ${w}`;if(m&&f.shadow||!m){let e=a.children(".swiper-slide-shadow");if(0===e.length&&f.shadow&&(e=ie(r,a)),e.length){const t=r.shadowPerProgress?d*(1/r.limitProgress):d;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const y=se(r,a);y.transform(x).css({opacity:b}),f.origin&&y.css("transform-origin",f.origin)}},setTransition:e=>{const{transformEl:s}=t.params.creativeEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),ae({swiper:t,duration:e,transformEl:s,allSlides:!0})},perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})},function(e){let{swiper:t,extendParams:s,on:a}=e;s({cardsEffect:{slideShadows:!0,transformEl:null,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),te({effect:"cards",swiper:t,on:a,setTranslate:()=>{const{slides:e,activeIndex:s}=t,a=t.params.cardsEffect,{startTranslate:i,isTouched:r}=t.touchEventsData,n=t.translate;for(let l=0;l<e.length;l+=1){const o=e.eq(l),d=o[0].progress,c=Math.min(Math.max(d,-4),4);let p=o[0].swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&t.$wrapperEl.transform(`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(p-=e[0].swiperSlideOffset);let u=t.params.cssMode?-p-t.translate:-p,h=0;const m=-100*Math.abs(c);let f=1,g=-a.perSlideRotate*c,v=a.perSlideOffset-.75*Math.abs(c);const w=t.virtual&&t.params.virtual.enabled?t.virtual.from+l:l,b=(w===s||w===s-1)&&c>0&&c<1&&(r||t.params.cssMode)&&n<i,x=(w===s||w===s+1)&&c<0&&c>-1&&(r||t.params.cssMode)&&n>i;if(b||x){const e=(1-Math.abs((Math.abs(c)-.5)/.5))**.5;g+=-28*c*e,f+=-.5*e,v+=96*e,h=-25*e*Math.abs(c)+"%"}if(u=c<0?`calc(${u}px + (${v*Math.abs(c)}%))`:c>0?`calc(${u}px + (-${v*Math.abs(c)}%))`:`${u}px`,!t.isHorizontal()){const e=h;h=u,u=e}const y=c<0?""+(1+(1-f)*c):""+(1-(1-f)*c),E=`\n        translate3d(${u}, ${h}, ${m}px)\n        rotateZ(${a.rotate?g:0}deg)\n        scale(${y})\n      `;if(a.slideShadows){let e=o.find(".swiper-slide-shadow");0===e.length&&(e=ie(a,o)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(c)-.5)/.5,0),1))}o[0].style.zIndex=-Math.abs(Math.round(d))+e.length;se(a,o).transform(E)}},setTransition:e=>{const{transformEl:s}=t.params.cardsEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow").transition(e),ae({swiper:t,duration:e,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}];return V.use(re),V}));
!function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(require("jquery")):t(jQuery)}(function($){var menuTrees=[],mouse=!1,touchEvents="ontouchstart"in window,mouseDetectionEnabled=!1,requestAnimationFrame=window.requestAnimationFrame||function(t){return setTimeout(t,1e3/60)},cancelAnimationFrame=window.cancelAnimationFrame||function(t){clearTimeout(t)},canAnimate=!!$.fn.animate;function initMouseDetection(t){var i=".smartmenus_mouse";if(mouseDetectionEnabled||t)mouseDetectionEnabled&&t&&($(document).off(i),mouseDetectionEnabled=!1);else{var s=!0,e=null,o={mousemove:function(t){var i={x:t.pageX,y:t.pageY,timeStamp:new Date().getTime()};if(e){var o=Math.abs(e.x-i.x),a=Math.abs(e.y-i.y);if((o>0||a>0)&&o<=2&&a<=2&&i.timeStamp-e.timeStamp<=300&&(mouse=!0,s)){var r=$(t.target).closest("a");r.is("a")&&$.each(menuTrees,function(){if($.contains(this.$root[0],r[0]))return this.itemEnter({currentTarget:r[0]}),!1}),s=!1}}e=i}};o[touchEvents?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut"]=function(t){isTouchEvent(t.originalEvent)&&(mouse=!1)},$(document).on(getEventsNS(o,i)),mouseDetectionEnabled=!0}}function isTouchEvent(t){return!/^(4|mouse)$/.test(t.pointerType)}function getEventsNS(t,i){i||(i="");var s={};for(var e in t)s[e.split(" ").join(i+" ")+i]=t[e];return s}return $.SmartMenus=function(t,i){this.$root=$(t),this.opts=i,this.rootId="",this.accessIdPrefix="",this.$subArrow=null,this.activatedItems=[],this.visibleSubMenus=[],this.showTimeout=0,this.hideTimeout=0,this.scrollTimeout=0,this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.idInc=0,this.$firstLink=null,this.$firstSub=null,this.disabled=!1,this.$disableOverlay=null,this.$touchScrollingSub=null,this.cssTransforms3d="perspective"in t.style||"webkitPerspective"in t.style,this.wasCollapsible=!1,this.init()},$.extend($.SmartMenus,{hideAll:function(){$.each(menuTrees,function(){this.menuHideAll()})},destroy:function(){for(;menuTrees.length;)menuTrees[0].destroy();initMouseDetection(!0)},prototype:{init:function(t){var i=this;if(!t){menuTrees.push(this),this.rootId=(new Date().getTime()+Math.random()+"").replace(/\D/g,""),this.accessIdPrefix="sm-"+this.rootId+"-",this.$root.hasClass("sm-rtl")&&(this.opts.rightToLeftSubMenus=!0);var s=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).on(getEventsNS({"mouseover focusin":$.proxy(this.rootOver,this),"mouseout focusout":$.proxy(this.rootOut,this),keydown:$.proxy(this.rootKeyDown,this)},s)).on(getEventsNS({mouseenter:$.proxy(this.itemEnter,this),mouseleave:$.proxy(this.itemLeave,this),mousedown:$.proxy(this.itemDown,this),focus:$.proxy(this.itemFocus,this),blur:$.proxy(this.itemBlur,this),click:$.proxy(this.itemClick,this)},s),"a"),s+=this.rootId,this.opts.hideOnClick&&$(document).on(getEventsNS({touchstart:$.proxy(this.docTouchStart,this),touchmove:$.proxy(this.docTouchMove,this),touchend:$.proxy(this.docTouchEnd,this),click:$.proxy(this.docClick,this)},s)),$(window).on(getEventsNS({"resize orientationchange":$.proxy(this.winResize,this)},s)),this.opts.subIndicators&&(this.$subArrow=$("<span/>").addClass("sub-arrow"),this.opts.subIndicatorsText&&this.$subArrow.html(this.opts.subIndicatorsText)),initMouseDetection()}if(this.$firstSub=this.$root.find("ul.submenu, ul.sub-menu").each(function(){i.menuInit($(this))}).eq(0),this.$firstLink=this.$root.find("a").eq(0),this.opts.markCurrentItem){var e=/(index|default)\.[^#\?\/]*/i,o=/#.*/,a=window.location.href.replace(e,""),r=a.replace(o,"");this.$root.find("a").each(function(){var t=this.href.replace(e,""),s=$(this);(t==a||t==r)&&(s.addClass("current"),i.opts.markCurrentTree&&s.parentsUntil("[data-smartmenus-id]","ul").each(function(){$(this).dataSM("parent-a").addClass("current")}))})}this.wasCollapsible=this.isCollapsible()},destroy:function(t){if(!t){var i=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").off(i),i+=this.rootId,$(document).off(i),$(window).off(i),this.opts.subIndicators&&(this.$subArrow=null)}this.menuHideAll();var s=this;this.$root.find("ul").each(function(){var t=$(this);t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.dataSM("shown-before")&&((s.opts.subMenusMinWidth||s.opts.subMenusMaxWidth)&&t.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap"),t.dataSM("scroll-arrows")&&t.dataSM("scroll-arrows").remove(),t.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})),0==(t.attr("id")||"").indexOf(s.accessIdPrefix)&&t.removeAttr("id")}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded"),this.$root.find("a.has-submenu").each(function(){var t=$(this);0==t.attr("id").indexOf(s.accessIdPrefix)&&t.removeAttr("id")}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub"),this.opts.subIndicators&&this.$root.find("span.sub-arrow").remove(),this.opts.markCurrentItem&&this.$root.find("a.current").removeClass("current"),t||(this.$root=null,this.$firstLink=null,this.$firstSub=null,this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),menuTrees.splice($.inArray(this,menuTrees),1))},disable:function(t){if(!this.disabled){if(this.menuHideAll(),!t&&!this.opts.isPopup&&this.$root.is(":visible")){var i=this.$root.offset();this.$disableOverlay=$('<div class="sm-jquery-disable-overlay"/>').css({position:"absolute",top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(!0),opacity:0}).appendTo(document.body)}this.disabled=!0}},docClick:function(t){if(this.$touchScrollingSub){this.$touchScrollingSub=null;return}(this.visibleSubMenus.length&&!$.contains(this.$root[0],t.target)||$(t.target).closest("a").length)&&this.menuHideAll()},docTouchEnd:function(t){if(this.lastTouch){if(this.visibleSubMenus.length&&(void 0===this.lastTouch.x2||this.lastTouch.x1==this.lastTouch.x2)&&(void 0===this.lastTouch.y2||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!$.contains(this.$root[0],this.lastTouch.target))){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var i=this;this.hideTimeout=setTimeout(function(){i.menuHideAll()},350)}this.lastTouch=null}},docTouchMove:function(t){if(this.lastTouch){var i=t.originalEvent.touches[0];this.lastTouch.x2=i.pageX,this.lastTouch.y2=i.pageY}},docTouchStart:function(t){var i=t.originalEvent.touches[0];this.lastTouch={x1:i.pageX,y1:i.pageY,target:i.target}},enable:function(){this.disabled&&(this.$disableOverlay&&(this.$disableOverlay.remove(),this.$disableOverlay=null),this.disabled=!1)},getClosestMenu:function(t){for(var i=$(t).closest("ul");i.dataSM("in-mega");)i=i.parent().closest("ul");return i[0]||null},getHeight:function(t){return this.getOffset(t,!0)},getOffset:function(t,i){"none"==t.css("display")&&(s={position:t[0].style.position,visibility:t[0].style.visibility},t.css({position:"absolute",visibility:"hidden"}).show());var s,e=t[0].getBoundingClientRect&&t[0].getBoundingClientRect(),o=e&&(i?e.height||e.bottom-e.top:e.width||e.right-e.left);return o||0===o||(o=i?t[0].offsetHeight:t[0].offsetWidth),s&&t.hide().css(s),o},getStartZIndex:function(t){var i=parseInt(this[t?"$root":"$firstSub"].css("z-index"));return!t&&isNaN(i)&&(i=parseInt(this.$root.css("z-index"))),isNaN(i)?1:i},getTouchPoint:function(t){return t.touches&&t.touches[0]||t.changedTouches&&t.changedTouches[0]||t},getViewport:function(t){var i=t?"Height":"Width",s=document.documentElement["client"+i],e=window["inner"+i];return e&&(s=Math.min(s,e)),s},getViewportHeight:function(){return this.getViewport(!0)},getViewportWidth:function(){return this.getViewport()},getWidth:function(t){return this.getOffset(t)},handleEvents:function(){return!this.disabled&&this.isCSSOn()},handleItemEvents:function(t){return this.handleEvents()&&!this.isLinkInMegaMenu(t)},isCollapsible:function(){return"static"==this.$firstSub.css("position")},isCSSOn:function(){return"inline"!=this.$firstLink.css("display")},isFixed:function(){var t="fixed"==this.$root.css("position");return t||this.$root.parentsUntil("body").each(function(){if("fixed"==$(this).css("position"))return t=!0,!1}),t},isLinkInMegaMenu:function(t){return $(this.getClosestMenu(t[0])).hasClass("mega-menu")},isTouchMode:function(){return!mouse||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(t,i){var s=t.closest("ul"),e=s.dataSM("level");if(e>1&&(!this.activatedItems[e-2]||this.activatedItems[e-2][0]!=s.dataSM("parent-a")[0])){var o=this;$(s.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(s).each(function(){o.itemActivate($(this).dataSM("parent-a"))})}if($(s).parents(".raven-megamenu-wrapper").length>0&&(e+=$(s).parents(".raven-megamenu-wrapper").length),(!this.isCollapsible()||i)&&this.menuHideSubMenus(this.activatedItems[e-1]&&this.activatedItems[e-1][0]==t[0]?e:e-1),this.activatedItems[e-1]=t,!1!==this.$root.triggerHandler("activate.smapi",t[0])){var a=t.dataSM("sub");a&&(this.isTouchMode()||!this.opts.showOnClick||this.clickActivated)&&this.menuShow(a)}},itemBlur:function(t){var i=$(t.currentTarget);this.handleItemEvents(i)&&this.$root.triggerHandler("blur.smapi",i[0])},itemClick:function(t){var i=$(t.currentTarget);if(this.handleItemEvents(i)){if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==i.closest("ul")[0])return this.$touchScrollingSub=null,t.stopPropagation(),!1;if(!1===this.$root.triggerHandler("click.smapi",i[0]))return!1;var s=$(t.target).is(".sub-arrow"),e=i.dataSM("sub"),o=!!e&&2==e.dataSM("level"),a=this.isCollapsible(),r=/toggle$/.test(this.opts.collapsibleBehavior),n=/link$/.test(this.opts.collapsibleBehavior),h=/^accordion/.test(this.opts.collapsibleBehavior);if(e&&!e.is(":visible")){if((!n||!a||s)&&(this.opts.showOnClick&&o&&(this.clickActivated=!0),this.itemActivate(i,h),e.is(":visible")))return this.focusActivated=!0,!1}else if(a&&(r||s))return this.itemActivate(i,h),this.menuHide(e),r&&(this.focusActivated=!1),!1;if(this.opts.showOnClick&&o||i.hasClass("disabled")||!1===this.$root.triggerHandler("select.smapi",i[0]))return!1}},itemDown:function(t){var i=$(t.currentTarget);this.handleItemEvents(i)&&i.dataSM("mousedown",!0)},itemEnter:function(t){var i=$(t.currentTarget);if(this.handleItemEvents(i)&&!this.opts.showOnClick){if(!this.isTouchMode()){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);var s=this;this.showTimeout=setTimeout(function(){s.itemActivate(i)},this.opts.showOnClick&&1==i.closest("ul").dataSM("level")?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",i[0])}},itemFocus:function(t){var i=$(t.currentTarget);this.handleItemEvents(i)&&(!this.focusActivated||this.isTouchMode()&&i.dataSM("mousedown")||this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0]==i[0]||this.itemActivate(i,!0),this.$root.triggerHandler("focus.smapi",i[0]))},itemLeave:function(t){var i=$(t.currentTarget);this.handleItemEvents(i)&&(!this.isTouchMode()&&(i[0].blur(),this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0)),i.removeDataSM("mousedown"),this.$root.triggerHandler("mouseleave.smapi",i[0]))},menuHide:function(t){if(!1!==this.$root.triggerHandler("beforehide.smapi",t[0])&&(canAnimate&&t.stop(!0,!0),"none"!=t.css("display"))){var i=function(){t.css("z-index","")};this.isCollapsible()?canAnimate&&this.opts.collapsibleHideFunction?this.opts.collapsibleHideFunction.call(this,t,i):t.hide(this.opts.collapsibleHideDuration,i):canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,t,i):t.hide(this.opts.hideDuration,i),t.dataSM("scroll")&&(this.menuScrollStop(t),t.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).off(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()),t.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false"),t.attr({"aria-expanded":"false","aria-hidden":"true"});var s=t.dataSM("level");this.activatedItems.splice(s-1,1),this.visibleSubMenus.splice($.inArray(t,this.visibleSubMenus),1),this.$root.triggerHandler("hide.smapi",t[0])}},menuHideAll:function(){this.showTimeout&&(clearTimeout(this.showTimeout),this.showTimeout=0);for(var t=this.opts.isPopup?1:0,i=this.visibleSubMenus.length-1;i>=t;i--)this.menuHide(this.visibleSubMenus[i]);this.opts.isPopup&&(canAnimate&&this.$root.stop(!0,!0),this.$root.is(":visible")&&(canAnimate&&this.opts.hideFunction?this.opts.hideFunction.call(this,this.$root):this.$root.hide(this.opts.hideDuration))),this.activatedItems=[],this.visibleSubMenus=[],this.clickActivated=!1,this.focusActivated=!1,this.zIndexInc=0,this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(t){for(var i=this.activatedItems.length-1;i>=t;i--){var s=this.activatedItems[i].dataSM("sub");s&&this.menuHide(s)}},menuInit:function(t){if(!t.dataSM("in-mega")){t.hasClass("mega-menu")&&t.find("ul").dataSM("in-mega",!0);for(var i=2,s=t[0];(s=s.parentNode.parentNode)!=this.$root[0];)i++;var e=t.prevAll("a").eq(-1);e.length||(e=t.prevAll().find("a").eq(-1)),e.addClass("has-submenu").dataSM("sub",t),t.dataSM("parent-a",e).dataSM("level",i).parent().dataSM("sub",t);var o=e.attr("id")||this.accessIdPrefix+ ++this.idInc,a=t.attr("id")||this.accessIdPrefix+ ++this.idInc;e.attr({id:o,"aria-haspopup":"true","aria-controls":a,"aria-expanded":"false"}),t.attr({id:a,role:"group","aria-hidden":"true","aria-labelledby":o,"aria-expanded":"false"}),this.opts.subIndicators&&e[this.opts.subIndicatorsPos](this.$subArrow.clone())}},menuPosition:function(t){var i,s,e=t.dataSM("parent-a"),o=e.closest("li"),a=o.parent(),r=t.dataSM("level"),n=this.getWidth(t),h=this.getHeight(t),u=e.offset(),l=u.left,c=u.top,d=this.getWidth(e),m=this.getHeight(e),p=$(window),f=p.scrollLeft(),v=p.scrollTop(),b=this.getViewportWidth(),S=this.getViewportHeight(),g=a.parent().is("[data-sm-horizontal-sub]")||2==r&&!a.hasClass("sm-vertical"),M=this.opts.rightToLeftSubMenus&&!o.is("[data-sm-reverse]")||!this.opts.rightToLeftSubMenus&&o.is("[data-sm-reverse]"),w=2==r?this.opts.mainMenuSubOffsetX:this.opts.subMenusSubOffsetX,T=2==r?this.opts.mainMenuSubOffsetY:this.opts.subMenusSubOffsetY;if(g?(i=M?d-n-w:w,s=this.opts.bottomToTopSubMenus?-h-T:m+T):(i=M?w-n:d-w,s=this.opts.bottomToTopSubMenus?m-T-h:T),this.opts.keepInViewport){var y=l+i,x=c+s;if(M&&y<f?i=g?f-y+i:d-w:!M&&y+n>f+b&&(i=g?f+b-n-y+i:w-n),!g&&(h<S&&x+h>v+S?s+=v+S-h-x:(h>=S||x<v)&&(s+=v-x)),g&&(x+h>v+S+.49||x<v)||!g&&h>S+.49){var I=this;t.dataSM("scroll-arrows")||t.dataSM("scroll-arrows",$([$('<span class="scroll-up"><span class="scroll-up-arrow"></span></span>')[0],$('<span class="scroll-down"><span class="scroll-down-arrow"></span></span>')[0]]).on({mouseenter:function(){t.dataSM("scroll").up=$(this).hasClass("scroll-up"),I.menuScroll(t)},mouseleave:function(i){I.menuScrollStop(t),I.menuScrollOut(t,i)},"mousewheel DOMMouseScroll":function(t){t.preventDefault()}}).insertAfter(t));var _=".smartmenus_scroll";if(t.dataSM("scroll",{y:this.cssTransforms3d?0:s-m,step:1,itemH:m,subH:h,arrowDownH:this.getHeight(t.dataSM("scroll-arrows").eq(1))}).on(getEventsNS({mouseover:function(i){I.menuScrollOver(t,i)},mouseout:function(i){I.menuScrollOut(t,i)},"mousewheel DOMMouseScroll":function(i){I.menuScrollMousewheel(t,i)}},_)).dataSM("scroll-arrows").css({top:"auto",left:"0",marginLeft:i+(parseInt(t.css("border-left-width"))||0),width:n-(parseInt(t.css("border-left-width"))||0)-(parseInt(t.css("border-right-width"))||0),zIndex:t.css("z-index")}).eq(g&&this.opts.bottomToTopSubMenus?0:1).show(),this.isFixed()){var C={};C[touchEvents?"touchstart touchmove touchend":"pointerdown pointermove pointerup MSPointerDown MSPointerMove MSPointerUp"]=function(i){I.menuScrollTouch(t,i)},t.css({"touch-action":"none","-ms-touch-action":"none"}).on(getEventsNS(C,_))}}}t.css({top:"auto",left:"0",marginLeft:i,marginTop:s-m})},menuScroll:function(t,i,s){var e,o=t.dataSM("scroll"),a=t.dataSM("scroll-arrows"),r=o.up?o.upEnd:o.downEnd;if(!i&&o.momentum){if(o.momentum*=.92,(e=o.momentum)<.5){this.menuScrollStop(t);return}}else e=s||(i||!this.opts.scrollAccelerate?this.opts.scrollStep:Math.floor(o.step));var n=t.dataSM("level");if(this.activatedItems[n-1]&&this.activatedItems[n-1].dataSM("sub")&&this.activatedItems[n-1].dataSM("sub").is(":visible")&&this.menuHideSubMenus(n-1),o.y=o.up&&r<=o.y||!o.up&&r>=o.y?o.y:Math.abs(r-o.y)>e?o.y+(o.up?e:-e):r,t.css(this.cssTransforms3d?{"-webkit-transform":"translate3d(0, "+o.y+"px, 0)",transform:"translate3d(0, "+o.y+"px, 0)"}:{marginTop:o.y}),mouse&&(o.up&&o.y>o.downEnd||!o.up&&o.y<o.upEnd)&&a.eq(o.up?1:0).show(),o.y==r)mouse&&a.eq(o.up?0:1).hide(),this.menuScrollStop(t);else if(!i){this.opts.scrollAccelerate&&o.step<this.opts.scrollStep&&(o.step+=.2);var h=this;this.scrollTimeout=requestAnimationFrame(function(){h.menuScroll(t)})}},menuScrollMousewheel:function(t,i){if(this.getClosestMenu(i.target)==t[0]){var s=((i=i.originalEvent).wheelDelta||-i.detail)>0;t.dataSM("scroll-arrows").eq(s?0:1).is(":visible")&&(t.dataSM("scroll").up=s,this.menuScroll(t,!0))}i.preventDefault()},menuScrollOut:function(t,i){!mouse||/^scroll-(up|down)/.test((i.relatedTarget||"").className)||(t[0]==i.relatedTarget||$.contains(t[0],i.relatedTarget))&&this.getClosestMenu(i.relatedTarget)==t[0]||t.dataSM("scroll-arrows").css("visibility","hidden")},menuScrollOver:function(t,i){if(mouse&&!/^scroll-(up|down)/.test(i.target.className)&&this.getClosestMenu(i.target)==t[0]){this.menuScrollRefreshData(t);var s=t.dataSM("scroll"),e=$(window).scrollTop()-t.dataSM("parent-a").offset().top-s.itemH;t.dataSM("scroll-arrows").eq(0).css("margin-top",e).end().eq(1).css("margin-top",e+this.getViewportHeight()-s.arrowDownH).end().css("visibility","visible")}},menuScrollRefreshData:function(t){var i=t.dataSM("scroll"),s=$(window).scrollTop()-t.dataSM("parent-a").offset().top-i.itemH;this.cssTransforms3d&&(s=-(parseFloat(t.css("margin-top"))-s)),$.extend(i,{upEnd:s,downEnd:s+this.getViewportHeight()-i.subH})},menuScrollStop:function(t){if(this.scrollTimeout)return cancelAnimationFrame(this.scrollTimeout),this.scrollTimeout=0,t.dataSM("scroll").step=1,!0},menuScrollTouch:function(t,i){if(isTouchEvent(i=i.originalEvent)){var s=this.getTouchPoint(i);if(this.getClosestMenu(s.target)==t[0]){var e=t.dataSM("scroll");if(/(start|down)$/i.test(i.type))this.menuScrollStop(t)?(i.preventDefault(),this.$touchScrollingSub=t):this.$touchScrollingSub=null,this.menuScrollRefreshData(t),$.extend(e,{touchStartY:s.pageY,touchStartTime:i.timeStamp});else if(/move$/i.test(i.type)){var o=void 0!==e.touchY?e.touchY:e.touchStartY;if(void 0!==o&&o!=s.pageY){this.$touchScrollingSub=t;var a=o<s.pageY;void 0!==e.up&&e.up!=a&&$.extend(e,{touchStartY:s.pageY,touchStartTime:i.timeStamp}),$.extend(e,{up:a,touchY:s.pageY}),this.menuScroll(t,!0,Math.abs(s.pageY-o))}i.preventDefault()}else void 0!==e.touchY&&((e.momentum=15*Math.pow(Math.abs(s.pageY-e.touchStartY)/(i.timeStamp-e.touchStartTime),2))&&(this.menuScrollStop(t),this.menuScroll(t),i.preventDefault()),delete e.touchY)}}},menuShow:function(t){if((t.dataSM("beforefirstshowfired")||(t.dataSM("beforefirstshowfired",!0),!1!==this.$root.triggerHandler("beforefirstshow.smapi",t[0])))&&!1!==this.$root.triggerHandler("beforeshow.smapi",t[0])&&(t.dataSM("shown-before",!0),canAnimate&&t.stop(!0,!0),!t.is(":visible"))){var i=t.dataSM("parent-a"),s=this.isCollapsible();if((this.opts.keepHighlighted||s)&&i.addClass("highlighted"),s)t.removeClass("sm-nowrap").css({zIndex:"",width:"auto",minWidth:"",maxWidth:"",top:"",left:"",marginLeft:"",marginTop:""});else{if(t.css("z-index",this.zIndexInc=(this.zIndexInc||this.getStartZIndex())+1),(this.opts.subMenusMinWidth||this.opts.subMenusMaxWidth)&&(t.css({width:"auto",minWidth:"",maxWidth:""}).addClass("sm-nowrap"),this.opts.subMenusMinWidth&&t.css("min-width",this.opts.subMenusMinWidth),this.opts.subMenusMaxWidth)){var e=this.getWidth(t);t.css("max-width",this.opts.subMenusMaxWidth),e>this.getWidth(t)&&t.removeClass("sm-nowrap").css("width",this.opts.subMenusMaxWidth)}this.menuPosition(t)}var o=function(){t.css("overflow","")};s?canAnimate&&this.opts.collapsibleShowFunction?this.opts.collapsibleShowFunction.call(this,t,o):t.show(this.opts.collapsibleShowDuration,o):canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,t,o):t.show(this.opts.showDuration,o),i.attr("aria-expanded","true"),t.attr({"aria-expanded":"true","aria-hidden":"false"}),this.visibleSubMenus.push(t),this.$root.triggerHandler("show.smapi",t[0])}},popupHide:function(t){this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0);var i=this;this.hideTimeout=setTimeout(function(){i.menuHideAll()},t?1:this.opts.hideTimeout)},popupShow:function(t,i){if(!this.opts.isPopup){alert('SmartMenus jQuery Error:\n\nIf you want to show this menu via the "popupShow" method, set the isPopup:true option.');return}if(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),this.$root.dataSM("shown-before",!0),canAnimate&&this.$root.stop(!0,!0),!this.$root.is(":visible")){this.$root.css({left:t,top:i});var s=this,e=function(){s.$root.css("overflow","")};canAnimate&&this.opts.showFunction?this.opts.showFunction.call(this,this.$root,e):this.$root.show(this.opts.showDuration,e),this.visibleSubMenus[0]=this.$root}},refresh:function(){this.destroy(!0),this.init(!0)},rootKeyDown:function(t){if(this.handleEvents())switch(t.keyCode){case 27:var i=this.activatedItems[0];if(i){this.menuHideAll(),i[0].focus();var s=i.dataSM("sub");s&&this.menuHide(s)}break;case 32:var e=$(t.target);if(e.is("a")&&this.handleItemEvents(e)){var s=e.dataSM("sub");s&&!s.is(":visible")&&(this.itemClick({currentTarget:t.target}),t.preventDefault())}}},rootOut:function(t){if(!(!this.handleEvents()||this.isTouchMode())&&t.target!=this.$root[0]&&(this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0),!this.opts.showOnClick||!this.opts.hideOnClick)){var i=this;this.hideTimeout=setTimeout(function(){i.menuHideAll()},this.opts.hideTimeout)}},rootOver:function(t){!(!this.handleEvents()||this.isTouchMode())&&t.target!=this.$root[0]&&this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=0)},winResize:function(t){if(!this.handleEvents()){if(this.$disableOverlay){var i=this.$root.offset();this.$disableOverlay.css({top:i.top,left:i.left,width:this.$root.outerWidth(),height:this.$root.outerHeight()})}return}if(!("onorientationchange"in window)||"orientationchange"==t.type){var s=this.isCollapsible();this.wasCollapsible&&s||(this.activatedItems.length&&this.activatedItems[this.activatedItems.length-1][0].blur(),this.menuHideAll()),this.wasCollapsible=s}}}}),$.fn.dataSM=function(t,i){return i?this.data(t+"_smartmenus",i):this.data(t+"_smartmenus")},$.fn.removeDataSM=function(t){return this.removeData(t+"_smartmenus")},$.fn.smartmenus=function(options){if("string"==typeof options){var args=arguments,method=options;return Array.prototype.shift.call(args),this.each(function(){var t=$(this).data("smartmenus");t&&t[method]&&t[method].apply(t,args)})}return this.each(function(){var dataOpts=$(this).data("sm-options")||null;if(dataOpts)try{dataOpts=eval("("+dataOpts+")")}catch(e){dataOpts=null,alert('ERROR\n\nSmartMenus jQuery init:\nInvalid "data-sm-options" attribute value syntax.')}new $.SmartMenus(this,$.extend({},$.fn.smartmenus.defaults,options,dataOpts))})},$.fn.smartmenus.defaults={isPopup:!1,mainMenuSubOffsetX:0,mainMenuSubOffsetY:0,subMenusSubOffsetX:0,subMenusSubOffsetY:0,subMenusMinWidth:"10em",subMenusMaxWidth:"20em",subIndicators:!0,subIndicatorsPos:"append",subIndicatorsText:"",scrollStep:30,scrollAccelerate:!0,showTimeout:250,hideTimeout:500,showDuration:0,showFunction:null,hideDuration:0,hideFunction:function(t,i){t.fadeOut(200,i)},collapsibleShowDuration:0,collapsibleShowFunction:function(t,i){t.slideDown(200,i)},collapsibleHideDuration:0,collapsibleHideFunction:function(t,i){t.slideUp(200,i)},showOnClick:!1,hideOnClick:!0,noMouseOver:!1,keepInViewport:!0,keepHighlighted:!0,markCurrentItem:!1,markCurrentTree:!0,rightToLeftSubMenus:!1,bottomToTopSubMenus:!1,collapsibleBehavior:"default"},$});
(function(t){var e=function(){try{return!!Symbol.iterator}catch(e){return false}};var r=e();var n=function(t){var e={next:function(){var e=t.shift();return{done:e===void 0,value:e}}};if(r){e[Symbol.iterator]=function(){return e}}return e};var i=function(e){return encodeURIComponent(e).replace(/%20/g,"+")};var o=function(e){return decodeURIComponent(String(e).replace(/\+/g," "))};var a=function(){var a=function(e){Object.defineProperty(this,"_entries",{writable:true,value:{}});var t=typeof e;if(t==="undefined"){}else if(t==="string"){if(e!==""){this._fromString(e)}}else if(e instanceof a){var r=this;e.forEach(function(e,t){r.append(t,e)})}else if(e!==null&&t==="object"){if(Object.prototype.toString.call(e)==="[object Array]"){for(var n=0;n<e.length;n++){var i=e[n];if(Object.prototype.toString.call(i)==="[object Array]"||i.length!==2){this.append(i[0],i[1])}else{throw new TypeError("Expected [string, any] as entry at index "+n+" of URLSearchParams's input")}}}else{for(var o in e){if(e.hasOwnProperty(o)){this.append(o,e[o])}}}}else{throw new TypeError("Unsupported input's type for URLSearchParams")}};var e=a.prototype;e.append=function(e,t){if(e in this._entries){this._entries[e].push(String(t))}else{this._entries[e]=[String(t)]}};e.delete=function(e){delete this._entries[e]};e.get=function(e){return e in this._entries?this._entries[e][0]:null};e.getAll=function(e){return e in this._entries?this._entries[e].slice(0):[]};e.has=function(e){return e in this._entries};e.set=function(e,t){this._entries[e]=[String(t)]};e.forEach=function(e,t){var r;for(var n in this._entries){if(this._entries.hasOwnProperty(n)){r=this._entries[n];for(var i=0;i<r.length;i++){e.call(t,r[i],n,this)}}}};e.keys=function(){var r=[];this.forEach(function(e,t){r.push(t)});return n(r)};e.values=function(){var t=[];this.forEach(function(e){t.push(e)});return n(t)};e.entries=function(){var r=[];this.forEach(function(e,t){r.push([t,e])});return n(r)};if(r){e[Symbol.iterator]=e.entries}e.toString=function(){var r=[];this.forEach(function(e,t){r.push(i(t)+"="+i(e))});return r.join("&")};t.URLSearchParams=a};var s=function(){try{var e=t.URLSearchParams;return new e("?a=1").toString()==="a=1"&&typeof e.prototype.set==="function"}catch(e){return false}};if(!s()){a()}var f=t.URLSearchParams.prototype;if(typeof f.sort!=="function"){f.sort=function(){var r=this;var n=[];this.forEach(function(e,t){n.push([t,e]);if(!r._entries){r.delete(t)}});n.sort(function(e,t){if(e[0]<t[0]){return-1}else if(e[0]>t[0]){return+1}else{return 0}});if(r._entries){r._entries={}}for(var e=0;e<n.length;e++){this.append(n[e][0],n[e][1])}}}if(typeof f._fromString!=="function"){Object.defineProperty(f,"_fromString",{enumerable:false,configurable:false,writable:false,value:function(e){if(this._entries){this._entries={}}else{var r=[];this.forEach(function(e,t){r.push(t)});for(var t=0;t<r.length;t++){this.delete(r[t])}}e=e.replace(/^\?/,"");var n=e.split("&");var i;for(var t=0;t<n.length;t++){i=n[t].split("=");this.append(o(i[0]),i.length>1?o(i[1]):"")}}})}})(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:this);(function(h){var e=function(){try{var e=new h.URL("b","http://a");e.pathname="c%20d";return e.href==="http://a/c%20d"&&e.searchParams}catch(e){return false}};var t=function(){var t=h.URL;var e=function(e,t){if(typeof e!=="string")e=String(e);var r=document,n;if(t&&(h.location===void 0||t!==h.location.href)){r=document.implementation.createHTMLDocument("");n=r.createElement("base");n.href=t;r.head.appendChild(n);try{if(n.href.indexOf(t)!==0)throw new Error(n.href)}catch(e){throw new Error("URL unable to set base "+t+" due to "+e)}}var i=r.createElement("a");i.href=e;if(n){r.body.appendChild(i);i.href=i.href}if(i.protocol===":"||!/:/.test(i.href)){throw new TypeError("Invalid URL")}Object.defineProperty(this,"_anchorElement",{value:i});var o=new h.URLSearchParams(this.search);var a=true;var s=true;var f=this;["append","delete","set"].forEach(function(e){var t=o[e];o[e]=function(){t.apply(o,arguments);if(a){s=false;f.search=o.toString();s=true}}});Object.defineProperty(this,"searchParams",{value:o,enumerable:true});var c=void 0;Object.defineProperty(this,"_updateSearchParams",{enumerable:false,configurable:false,writable:false,value:function(){if(this.search!==c){c=this.search;if(s){a=false;this.searchParams._fromString(this.search);a=true}}}})};var r=e.prototype;var n=function(t){Object.defineProperty(r,t,{get:function(){return this._anchorElement[t]},set:function(e){this._anchorElement[t]=e},enumerable:true})};["hash","host","hostname","port","protocol"].forEach(function(e){n(e)});Object.defineProperty(r,"search",{get:function(){return this._anchorElement["search"]},set:function(e){this._anchorElement["search"]=e;this._updateSearchParams()},enumerable:true});Object.defineProperties(r,{toString:{get:function(){var e=this;return function(){return e.href}}},href:{get:function(){return this._anchorElement.href.replace(/\?$/,"")},set:function(e){this._anchorElement.href=e;this._updateSearchParams()},enumerable:true},pathname:{get:function(){return this._anchorElement.pathname.replace(/(^\/?)/,"/")},set:function(e){this._anchorElement.pathname=e},enumerable:true},origin:{get:function(){var e={"http:":80,"https:":443,"ftp:":21}[this._anchorElement.protocol];var t=this._anchorElement.port!=e&&this._anchorElement.port!=="";return this._anchorElement.protocol+"//"+this._anchorElement.hostname+(t?":"+this._anchorElement.port:"")},enumerable:true},password:{get:function(){return""},set:function(e){},enumerable:true},username:{get:function(){return""},set:function(e){},enumerable:true}});e.createObjectURL=function(e){return t.createObjectURL.apply(t,arguments)};e.revokeObjectURL=function(e){return t.revokeObjectURL.apply(t,arguments)};h.URL=e};if(!e()){t()}if(h.location!==void 0&&!("origin"in h.location)){var r=function(){return h.location.protocol+"//"+h.location.hostname+(h.location.port?":"+h.location.port:"")};try{Object.defineProperty(h.location,"origin",{get:r,enumerable:true})}catch(e){setInterval(function(){h.location.origin=r()},100)}}})(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:this);
;
USR_PREFS_CK_NAME="undefined"!=typeof USR_PREFS_CK_NAME?USR_PREFS_CK_NAME:"lwaio_consent_preferences",ACTED_CONSENT_CK_NAME="undefined"!=typeof ACTED_CONSENT_CK_NAME?ACTED_CONSENT_CK_NAME:"lwaio_consent_acted",EXP_CK_NAME="undefined"!=typeof EXP_CK_NAME?EXP_CK_NAME:"1 Year",function(e){"use strict";let t={set:function(e,t,o,i=""){let s="";if(o){let e=new Date;e.setTime(e.getTime()+24*o*60*60*1e3),s="; expires="+e.toGMTString()}i&&(i="; domain="+i),document.cookie=e+"="+t+s+"; path=/"+i},read:function(e){let t=e+"=",o=document.cookie.split(";"),i=o.length;for(let e=0;e<i;e++){let i=o[e];for(;" "==i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},exists:function(e){return null!==this.read(e)},getallcookies:function(){let e=document.cookie.split(";"),t={},o=e.length;for(let i=0;i<o;i++){let o=e[i].split("=");t[(o[0]+"").trim()]=unescape(o[1])}return t},erase:function(e,t){t?this.set(e,"",-10,t):this.set(e,"",-10)}},o={bar_config:{},show_config:{},allowed_categories:[],set:function(e){if("function"!=typeof JSON.parse)return void console.log("LWAIOCookieConsent requires JSON.parse but your browser doesn't support it");this.settings=JSON.parse(e.settings),EXP_CK_NAME=this.settings.cookie_expiry,this.bar_elm=jQuery(this.settings.notify_div_id),this.show_again_elm=jQuery(this.settings.show_again_div_id),this.details_elm=this.bar_elm.find(".lwaio_messagebar_detail"),this.main_button=jQuery("#cookie_action_accept"),this.main_link=jQuery("#cookie_action_link"),this.reject_button=jQuery("#cookie_action_reject"),this.settings_button=jQuery("#cookie_action_settings"),this.save_button=jQuery("#cookie_action_save"),this.confirm_button=jQuery("#cookie_action_confirm"),this.cancel_button=jQuery("#cookie_action_cancel"),this.accept_all_button=jQuery("#cookie_action_accept_all"),this.configBar(),this.toggleBar(),this.attachEvents(),this.configButtons(),this.settings.auto_scroll&&window.addEventListener("scroll",o.acceptOnScroll,!1);let i=JSON.parse(t.read(USR_PREFS_CK_NAME)),s=t.read(ACTED_CONSENT_CK_NAME),n="";n=new CustomEvent("LwAioCookieConsentOnLoad",{detail:{lwaio_consent_preferences:i,lwaio_consent_acted:s}}),window.dispatchEvent(n)},attachEvents:function(){jQuery(".lwaio_action_button").click(function(e){e.preventDefault();let i="",s="",n="",a="",c=jQuery(this).attr("data-lwaio_action");if("accept_all"==c)o.enableAllCookies(),o.accept_all_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),a=t.read(ACTED_CONSENT_CK_NAME),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAcceptAll",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i),o.logConsent(c);else if("accept"==c)o.accept_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),a=t.read(ACTED_CONSENT_CK_NAME),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAccept",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i),o.logConsent(c);else if("reject"==c){o.reject_close(),s=JSON.parse(t.read(USR_PREFS_CK_NAME)),a=t.read(ACTED_CONSENT_CK_NAME),t.erase(USR_PREFS_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnReject",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i);let e=t.getallcookies();"object"==typeof e&&null!==e&&jQuery.each(e,function(e,o){e!=ACTED_CONSENT_CK_NAME&&t.erase(e,"."+window.location.host)}),o.logConsent(c)}else"settings"==c?(o.bar_elm.slideUp(o.settings.animate_speed_hide),o.show_again_elm.slideUp(o.settings.animate_speed_hide)):"close"==c?o.displayHeader():"show_settings"==c?o.show_details():"hide_settings"==c?o.hide_details():"close_banner"==c&&(o.hideHeader(),o.accept_close(),"yes"!=(a=t.read(ACTED_CONSENT_CK_NAME))&&(s=JSON.parse(t.read(USR_PREFS_CK_NAME)),n=JSON.stringify(s),t.set(USR_PREFS_CK_NAME,n,EXP_CK_NAME),i=new CustomEvent("LwAioCookieConsentOnAccept",{detail:{lwaio_consent_preferences:s,lwaio_consent_acted:a}}),window.dispatchEvent(i)))}),jQuery(".group-switch-buttons input").each(function(){let e=jQuery(this).val(),i={},s="";if(t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME))),"necessary"==e||jQuery(this).is(":checked"))i[e]="yes",o.allowed_categories.push(e);else{i[e]="no";let t=o.allowed_categories.length;for(let i=0;i<t;i++)o.allowed_categories[i]==e&&o.allowed_categories.splice(i,1)}s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME)}),jQuery(document).on("click","#lwaio-consent-show-again",function(t){t.preventDefault(),jQuery(o.settings.notify_div_id).find("p.lwaio").show(),jQuery(o.settings.notify_div_id).find(".lwaio.group-description-buttons").show(),o.displayHeader(),e(this).hide()}),jQuery(document).on("click",".group-switch-buttons input",function(){let e=jQuery(this).val(),i={},s="";if(t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME))),jQuery(this).is(":checked"))i[e]="yes",o.allowed_categories.push(e);else{i[e]="no";let t=o.allowed_categories.length;for(let i=0;i<t;i++)o.allowed_categories[i]==e&&o.allowed_categories.splice(i,1)}s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME)}),jQuery(document).on("click","#lwaio_consent_tabs_overview",function(e){e.preventDefault();let t=jQuery(this);jQuery("#lwaio_consent_tabs").find("a").removeClass("tab_selected"),t.addClass("tab_selected"),t.css("border-bottom-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color),jQuery("#lwaio_consent_tabs_about").css("border-bottom-color",o.settings.border_color),jQuery("#lwaio_consent_tabs_about").css("background-color",o.settings.background_color),jQuery("#lwaio_consent_about").hide(),jQuery("#lwaio_consent_overview").show()}),jQuery(document).on("click","#lwaio_consent_tabs_about",function(e){e.preventDefault();let t=jQuery(this);jQuery("#lwaio_consent_tabs").find("a").removeClass("tab_selected"),t.addClass("tab_selected"),t.css("border-bottom-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color),jQuery("#lwaio_consent_tabs_overview").css("border-bottom-color",o.settings.border_color),jQuery("#lwaio_consent_tabs_overview").css("background-color",o.settings.background_color),jQuery("#lwaio_consent_overview").hide(),jQuery("#lwaio_consent_about").show()}),jQuery(document).on("click","#lwaio_consent_overview_cookie_container_types a",function(e){e.preventDefault();let t=jQuery(this),i=t.parent();i.find("a").removeClass("lwaio_consent_overview_cookie_container_type_selected"),i.find("a").css("border-right-color",o.settings.border_color),i.find("a").css("background-color",o.settings.background_color),t.addClass("lwaio_consent_overview_cookie_container_type_selected"),t.css("border-right-color",o.settings.border_active_color),t.css("background-color",o.settings.background_active_color);let s=jQuery(this).attr("data-target"),n=i.siblings("#lwaio_consent_overview_cookie_container_type_details");n.find(".lwaio_consent_cookie_type_details").hide(),n.find("#"+s).show()})},configButtons:function(){this.settings_button.attr("style",`color: ${this.settings.button_link_color} !important; background-color: ${this.settings.secondary_color} !important`),this.main_button.css("color",this.settings.button_link_color),this.main_button.css("background-color",this.settings.primary_color),this.accept_all_button.css("color",this.settings.button_link_color),this.accept_all_button.css("background-color",this.settings.primary_color),this.confirm_button.css("color",this.settings.button_link_color),this.confirm_button.css("background-color",this.settings.primary_color),this.main_link.css("color",this.settings.secondary_color),this.reject_button.css("display","inline-block"),this.reject_button.attr("style",`color: ${this.settings.button_link_color} !important; background-color: ${this.settings.secondary_color} !important`),this.cancel_button.css("color",this.settings.button_link_color),this.cancel_button.css("display","inline-block"),this.cancel_button.css("background-color",this.settings.secondary_color),this.save_button.css("color",this.settings.button_link_color),this.save_button.css("background-color",this.settings.primary_color),this.details_elm.find("table.lwaio_consent_cookie_type_table tr").css("border-color",o.settings.border_color),this.details_elm.find(".lwaio_consent_cookie_type_intro").css("border-color",o.settings.border_color),this.details_elm.find("a").each(function(){jQuery(this).css("border-color",o.settings.border_color),jQuery(this).css("background-color",o.settings.background_color)}),this.details_elm.find("a.lwaio_consent_overview_cookie_container_type_selected").css("border-right-color",o.settings.border_active_color),this.details_elm.find("a.lwaio_consent_overview_cookie_container_type_selected").css("background-color",o.settings.background_active_color),this.details_elm.find("#lwaio_consent").css("border-color",o.settings.border_color),this.details_elm.find("#lwaio_consent_tabs").css("border-color",o.settings.border_color),this.details_elm.find("#lwaio_consent_tabs .tab_selected").css("border-bottom-color",o.settings.border_active_color),this.details_elm.find("#lwaio_consent_tabs .tab_selected").css("background-color",o.settings.background_active_color)},configBar:function(){this.bar_config={"background-color":this.settings.background,color:this.settings.text,"border-top":"1px solid "+this.settings.secondary_color},this.show_config={width:"auto","background-color":this.settings.background,color:this.settings.text,position:"fixed",opacity:this.settings.opacity,bottom:"0","border-top":"1px solid "+this.settings.secondary_color},"right"==this.settings.show_again_position?this.show_config.right=this.settings.show_again_margin+"%":this.show_config.left=this.settings.show_again_margin+"%",this.bar_config.position="fixed",this.bar_config.opacity=this.settings.opacity,this.bar_elm.find(".lwaio_messagebar_content").css("max-width","800px"),"bottom"==this.settings.banner_position?this.bar_config.bottom="0":this.bar_config.top="0",this.bar_elm.css(this.bar_config).hide(),this.show_again_elm.css(this.show_config).hide()},toggleBar:function(){t.exists(ACTED_CONSENT_CK_NAME)?this.hideHeader():(this.displayHeader(),this.settings.auto_hide&&setTimeout(function(){o.accept_close()},this.settings.auto_hide_delay))},accept_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.accept_reload&&window.location.reload(!0),!1},accept_all_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.accept_reload&&window.location.reload(!0),!1},reject_close:function(){return t.set(ACTED_CONSENT_CK_NAME,"yes",EXP_CK_NAME),o.disableAllCookies(),this.settings.notify_animate_hide?this.bar_elm.slideUp(this.settings.animate_speed_hide,i.runScripts):this.bar_elm.hide(i.runScripts),this.show_again_elm.slideDown(this.settings.animate_speed_hide),1==this.settings.decline_reload&&window.location.reload(!0),!1},logConsent:function(e){this.settings.logging_on&&jQuery.ajax({url:log_obj.ajax_url,type:"POST",data:{action:"lwaio_log_consent_action",lwaio_user_action:e,cookie_list:t.getallcookies()},success:function(e){}})},disableAllCookies:function(){let i={},s="";t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME)),jQuery.each(i,function(t,s){if("necessary"!=t){i[t]="no",e('.group-switch-buttons input[value="'+t+'"]').prop("checked",!1);let s=o.allowed_categories.length;for(let e=0;e<s;e++)o.allowed_categories[e]==t&&o.allowed_categories.splice(e,1)}}),s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME))},enableAllCookies:function(){let i={},s="";t.read(USR_PREFS_CK_NAME)&&(i=JSON.parse(t.read(USR_PREFS_CK_NAME)),jQuery.each(i,function(t,s){if("necessary"!=t){i[t]="yes",e('.group-switch-buttons input[value="'+t+'"]').prop("checked",!0);let s=o.allowed_categories.length;for(let e=0;e<s;e++)o.allowed_categories[e]==t&&o.allowed_categories.splice(e,1)}}),s=JSON.stringify(i),t.set(USR_PREFS_CK_NAME,s,EXP_CK_NAME))},show_details:function(){this.details_elm.show(),this.bar_elm.css("opacity",1),this.details_elm.css("border-top-color",o.settings.border_color),this.settings_button.attr("data-lwaio_action","hide_settings")},hide_details:function(){this.details_elm.hide(),this.bar_elm.css("opacity",o.settings.opacity),this.settings_button.attr("data-lwaio_action","show_settings")},displayHeader:function(e,t){this.bar_elm.show(),e&&(jQuery(o.settings.notify_div_id).find("p.lwaio").hide(),jQuery(o.settings.notify_div_id).find(".lwaio.group-description-buttons").hide()),this.show_again_elm.slideUp(this.settings.animate_speed_hide)},hideHeader:function(e){this.bar_elm.slideUp(this.settings.animate_speed_hide),e||this.show_again_elm.slideDown(this.settings.animate_speed_hide)},acceptOnScroll:function(){let i=e(window).scrollTop()/(e(document).height()-e(window).height());Math.round(100*i)>o.settings.auto_scroll_offset&&!t.exists(ACTED_CONSENT_CK_NAME)&&(o.accept_close(),window.removeEventListener("scroll",o.acceptOnScroll,!1),1==o.settings.auto_scroll_reload&&window.location.reload())}},i={blockingStatus:!0,scriptsLoaded:!1,set:function(e){"function"==typeof JSON.parse?this.cookies=JSON.parse(e.cookies):console.log("LWAIOCookieConsent requires JSON.parse but your browser doesn't support it")},removeCookieByCategory:function(){if(1==i.blockingStatus)for(let e in i.cookies){let s=i.cookies[e],n=s.lwaio_category_slug;if(-1===o.allowed_categories.indexOf(n)){let e=s.data;if(e&&0!=e.length)for(let o in e){let i=e[o];t.erase(i.name)}}}},runScripts:function(){let e=["iframe","IFRAME","EMBED","embed","OBJECT","object","IMG","img"],s=function(e){n.renderScripts(),a.renderSrcElement(),e(),i.scriptsLoaded=!0},n={scriptsDone:function(){let e=document.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),window.document.dispatchEvent(e)},seq:function(e,t,o){void 0===o&&(o=0),e[o](function(){++o===e.length?t():n.seq(e,t,o)})},insertScript:function(e,s){let n=["data-wpl-class","data-wpl-label","data-wpl-placeholder","data-wpl-script-type","data-wpl-src"],a=e.getAttribute("data-wpl-script-type"),c=e.getAttribute("data-wpl-element-position"),r=e.getAttribute("data-wpl-block"),l=document.createElement("script");l.type="text/plain",e.async&&(l.async=e.async),e.defer&&(l.defer=e.defer),e.src?(l.onload=s,l.onerror=s,l.src=e.src):l.textContent=e.innerText;let _=jQuery(e).prop("attributes"),d=_.length;for(let e=0;e<d;++e)"id"!==_[e].nodeName&&-1!==n.indexOf(_[e].nodeName)&&l.setAttribute(_[e].nodeName,_[e].value);!0===i.blockingStatus?("yes"==t.read(ACTED_CONSENT_CK_NAME)&&-1!==o.allowed_categories.indexOf(a)||null==t.read(ACTED_CONSENT_CK_NAME)&&"false"===r)&&(l.setAttribute("data-wpl-consent","accepted"),l.type="text/javascript"):l.type="text/javascript",e.type!=l.type&&("head"===c?(document.head.appendChild(l),e.src||s(),e.parentNode.removeChild(e)):(document.body.appendChild(l),e.src||s(),e.parentNode.removeChild(e)))},renderScripts:function(){let e=document.querySelectorAll('script[data-wpl-class="wpl-blocker-script"]');if(e.length>0){let t,o=[];Array.prototype.forEach.call(e,function(e){t=e.getAttribute("type");e.tagName;o.push(function(t){n.insertScript(e,t)})}),n.seq(o,n.scriptsDone)}}},a={renderSrcElement:function(){let s=document.querySelectorAll('[data-wpl-class="wpl-blocker-script"]'),n=s.length;for(let a=0;a<n;a++){let n=s[a],c=n.tagName;if(-1!==e.indexOf(c)){let e=n.getAttribute("data-wpl-script-type"),s=n.getAttribute("data-wpl-block");!0===i.blockingStatus?"yes"==t.read(ACTED_CONSENT_CK_NAME)&&-1!==o.allowed_categories.indexOf(e)||null!=t.read(ACTED_CONSENT_CK_NAME)&&"false"===s?this.replaceSrc(n):this.addPlaceholder(n):this.replaceSrc(n)}}},addPlaceholder:function(e){if(0===jQuery(e).prev(".wpl-iframe-placeholder").length){let t=e.getAttribute("data-wpl-placeholder"),o=e.getAttribute("width"),i=e.getAttribute("height");null==o&&(o=e.offsetWidth),null==i&&(i=e.offsetHeight);let s=/px/,n='<div style="width:'+(o=s.test(o)?o:o+"px")+"; height:"+(i=s.test(i)?i:i+"px")+';" class="wpl-iframe-placeholder"><div class="wpl-inner-text">'+t+"</div></div>";"IMG"!==e.tagName&&jQuery(n).insertBefore(e),e.removeAttribute("src"),e.style.display="none"}},replaceSrc:function(e){if(!e.hasAttribute("src")){let t=e.getAttribute("data-wpl-src");e.setAttribute("src",t),jQuery(e).prev(".wpl-iframe-placeholder").length>0&&jQuery(e).prev(".wpl-iframe-placeholder").remove(),e.style.display="block"}}};(function(){jQuery(document).on("click",".wpl_manage_current_consent",function(){o.displayHeader()})})(),s(i.removeCookieByCategory)}};e(document).ready(function(){"undefined"!=typeof lwaiobar_settings&&o.set({settings:lwaiobar_settings}),"undefined"!=typeof lwaios_list&&(i.set({cookies:lwaios_list}),i.runScripts())}),e(document).ready(function(){e(".lwaio-column").click(function(){e(".lwaio-column",this),e(this).children(".lwaio-columns").hasClass("active-group")||(e(".lwaio-columns").removeClass("active-group"),e(this).children(".lwaio-columns").addClass("active-group")),e(this).siblings(".description-container").hasClass("hide")&&(e(".description-container").addClass("hide"),e(this).siblings(".description-container").removeClass("hide"))})})}(jQuery);
window.wp=window.wp||{},function(r){var t="undefined"==typeof _wpUtilSettings?{}:_wpUtilSettings;wp.template=_.memoize(function(a){var n,s={evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g,variable:"data"};return function(t){var e=document.querySelector("script#tmpl-"+a);if(e)return(n=n||_.template(r(e).html(),s))(t);throw new Error("Template not found: #tmpl-"+a)}}),wp.ajax={settings:t.ajax||{},post:function(t,e){return wp.ajax.send({data:_.isObject(t)?t:_.extend(e||{},{action:t})})},send:function(n,t){var e,a;return _.isObject(n)?t=n:(t=t||{}).data=_.extend(t.data||{},{action:n}),t=_.defaults(t||{},{type:"POST",url:wp.ajax.settings.url,context:this}),(e=(a=r.Deferred(function(a){t.success&&a.done(t.success),t.error&&a.fail(t.error),delete t.success,delete t.error,a.jqXHR=r.ajax(t).done(function(t){var e;"1"!==t&&1!==t||(t={success:!0}),_.isObject(t)&&!_.isUndefined(t.success)?(e=this,a.done(function(){n&&n.data&&"query-attachments"===n.data.action&&a.jqXHR.hasOwnProperty("getResponseHeader")&&a.jqXHR.getResponseHeader("X-WP-Total")?e.totalAttachments=parseInt(a.jqXHR.getResponseHeader("X-WP-Total"),10):e.totalAttachments=0}),a[t.success?"resolveWith":"rejectWith"](this,[t.data])):a.rejectWith(this,[t])}).fail(function(){a.rejectWith(this,arguments)})})).promise()).abort=function(){return a.jqXHR.abort(),this},e}}}(jQuery);
!function n(s,a,o){function r(t,e){if(!a[t]){if(!s[t]){var i="function"==typeof require&&require;if(!e&&i)return i(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}i=a[t]={exports:{}},s[t][0].call(i.exports,function(e){return r(s[t][1][e]||e)},i,i.exports,n,s,a,o)}return a[t].exports}for(var l="function"==typeof require&&require,e=0;e<o.length;e++)r(o[e]);return r}({1:[function(s,e,t){var a;a=jQuery,window.ravenFrontend=new function(){function e(e){let t=window.ravenTools.activeElements;return!!(t="object"==typeof window.ravenTools.activeElements?Object.values(window.ravenTools.activeElements):t).includes(e)}let i=function(){var e;window.ravenTools&&window.ravenTools.globalTypography&&(e=window.ravenTools.globalTypography,e.fontFamily||e.fontSize?.size||e.lineHeight?.size||e.color)&&a("body .jupiterx-site").addClass("jupiterx-global-style")},n={"raven-button.default":e("button")&&s("./widgets/button").default,"raven-product-add-to-cart.default":e("add-to-cart")&&s("./widgets/add-to-cart").default,"raven-alert.default":e("alert")&&s("./widgets/alert").default,"raven-advanced-accordion.default":e("advanced-accordion")&&s("./widgets/advanced-accordion").default,"raven-countdown.default":e("countdown")&&s("./widgets/countdown").default,"raven-counter.default":e("counter")&&s("./widgets/counter").default,"raven-code-highlight.default":e("code-highlight")&&s("./widgets/code-highlight").default,"raven-form.default":e("forms")&&s("./widgets/form").default,"raven-reset-password.default":e("forms")&&s("./widgets/form").default,"raven-login.default":e("forms")&&s("./widgets/form").default,"raven-register.default":e("forms")&&s("./widgets/form").default,"raven-social-login.default":e("forms")&&s("./widgets/social-login").default,"raven-photo-roller.default":e("photo-roller")&&s("./widgets/photo-roller").default,"raven-tabs.default":e("tabs")&&s("./widgets/tabs").default,"raven-video.default":e("video")&&s("./widgets/video").default,"raven-video-playlist.default":e("video-playlist")&&s("./widgets/video-playlist/handler").default,"raven-categories.outer_content":e("categories")&&s("./widgets/categories").default,"raven-categories.inner_content":e("categories")&&s("./widgets/categories").default,"raven-posts.classic":e("posts")&&s("./widgets/posts").classic,"raven-posts.cover":e("posts")&&s("./widgets/posts").cover,"raven-post-comments.default":e("post-comments")&&s("./widgets/post-comments").default,"raven-posts-carousel.classic":e("posts")&&s("./widgets/posts-carousel").classic,"raven-posts-carousel.cover":e("posts")&&s("./widgets/posts-carousel").cover,"raven-progress-tracker.default":e("progress-tracker")&&s("./widgets/progress-tracker").default,"raven-photo-album.cover":e("photo-album")&&s("./widgets/photo-album").default,"raven-photo-album.stack":e("photo-album")&&s("./widgets/photo-album").default,"raven-product-reviews.default":e("product-reviews")&&s("./widgets/product-reviews").default,"raven-media-gallery.default":e("media-gallery")&&s("./widgets/media-gallery").default,"raven-search-form.classic":e("search-form")&&s("./widgets/search-form").classic,"raven-search-form.full":e("search-form")&&s("./widgets/search-form").full,"raven-table-of-contents.default":e("table-of-contents")&&s("./widgets/table-of-content").default,"raven-nav-menu.default":e("nav-menu")&&s("./widgets/nav-menu").default,"raven-advanced-nav-menu.default":e("advanced-nav-menu")&&s("./widgets/advanced-nav-menu").default,"raven-sticky-media-scroller.default":e("sticky-media-scroller")&&s("./widgets/sticky-media-scroller").default,"raven-wc-products.default":e("products")&&s("./widgets/wc-products").default,"raven-content-switch.default":e("content-switch")&&s("./widgets/content-switch").default,"raven-product-gallery.default":e("product-gallery")&&s("./widgets/product-gallery").default,"raven-product-data-tabs.default":e("product-data-tabs")&&s("./widgets/product-data-tabs").default,"raven-my-account.default":e("my-account")&&s("./widgets/my-account").default,"raven-image-comparison.default":e("image-comparison")&&s("./widgets/image-comparison").default,"raven-image-accordion.default":e("image-accordion")&&s("./widgets/image-accordion").default,"raven-animated-heading.default":e("animated-heading")&&s("./widgets/animated-heading").default,"raven-hotspot.default":e("hotspot")&&s("./widgets/hotspot").default,"raven-media-carousel.default":e("carousel")&&s("./widgets/carousel/media-carousel").default,"raven-testimonial-carousel.default":e("carousel")&&s("./widgets/carousel/testimonial-carousel").default,"raven-slider.default":e("slider")&&s("./widgets/slider").default,"raven-social-share.default":e("social-share")&&s("./widgets/social-share").default,"raven-reviews.default":e("carousel")&&s("./widgets/carousel/testimonial-carousel").default,"raven-stripe-button.default":e("stripe")&&s("./widgets/stripe-button").default,"raven-paypal-button.default":e("paypal")&&s("./widgets/paypal-button").default,"raven-lottie.default":e("lottie")&&s("./widgets/lottie").default,"raven-cart.default":e("cart")&&s("./widgets/cart").default,"raven-advanced-posts.default":e("advanced-posts")&&s("./widgets/advanced-posts").default,"raven-post-navigation.default":e("post-navigation")&&s("./widgets/post-navigation").default,"raven-products-carousel.default":e("products-carousel")&&s("./widgets/products-carousel").default,"raven-shopping-cart.default":e("shopping-cart")&&s("./widgets/shopping-cart").default,"raven-circle-progress.default":e("circle-progress")&&s("./widgets/circle-progress").default};function t(){for(var e in n)elementorFrontend.hooks.addAction("frontend/element_ready/"+e,n[e]);var t;new(s("./utils/motion-effects/luncher").default),"undefined"==typeof elementorPro&&void 0!==window.elementor&&0<a(".elementor").length&&((t=s("./utils/full-page-editor")).handleFullPageEditorBtn(),t.handleHeaderBtns()),i(),s("./utils/wrapper-link"),s("./widgets/column"),s("./popup/popup").default.init(),s("./utils/tooltip"),s("./utils/animated-gradient"),s("./utils/header")}this.Module=s("./utils/module"),this.utils={Masonry:s("./utils/masonry"),Sortable:s("./utils/sortable"),Pagination:s("./utils/pagination"),Detector:s("./utils/detectr"),SmoothScroll:s("./utils/smoothscroll-jx-polyfill"),GoogleLogin:s("./widgets/social-login")},this.init=()=>{a(window).on("elementor/frontend/init",t)},this.init()}},{"./popup/popup":3,"./utils/animated-gradient":4,"./utils/detectr":5,"./utils/full-page-editor":6,"./utils/header":7,"./utils/masonry":8,"./utils/module":9,"./utils/motion-effects/luncher":16,"./utils/pagination":20,"./utils/smoothscroll-jx-polyfill":21,"./utils/sortable":22,"./utils/tooltip":23,"./utils/wrapper-link":24,"./widgets/add-to-cart":25,"./widgets/advanced-accordion":26,"./widgets/advanced-nav-menu":27,"./widgets/advanced-posts":28,"./widgets/alert":29,"./widgets/animated-heading":30,"./widgets/button":31,"./widgets/carousel/media-carousel":33,"./widgets/carousel/testimonial-carousel":34,"./widgets/cart":35,"./widgets/categories":36,"./widgets/circle-progress":37,"./widgets/code-highlight":38,"./widgets/column":39,"./widgets/content-switch":40,"./widgets/countdown":41,"./widgets/counter":42,"./widgets/form":43,"./widgets/hotspot":44,"./widgets/image-accordion":45,"./widgets/image-comparison":46,"./widgets/lottie":47,"./widgets/media-gallery":48,"./widgets/my-account":49,"./widgets/nav-menu":50,"./widgets/paypal-button":51,"./widgets/photo-album":52,"./widgets/photo-roller":53,"./widgets/post-comments":54,"./widgets/post-navigation":55,"./widgets/posts":57,"./widgets/posts-carousel":56,"./widgets/product-data-tabs":58,"./widgets/product-gallery":59,"./widgets/product-reviews":60,"./widgets/products-carousel":61,"./widgets/progress-tracker":62,"./widgets/search-form":63,"./widgets/shopping-cart":64,"./widgets/slider":65,"./widgets/social-login":66,"./widgets/social-share":67,"./widgets/sticky-media-scroller":68,"./widgets/stripe-button":69,"./widgets/table-of-content":70,"./widgets/tabs":71,"./widgets/video":83,"./widgets/video-playlist/handler":74,"./widgets/wc-products":84}],2:[function(e,t,i){let w=jQuery;window.jupiterxPopupSettings=function(o,e,t){let r=w(window),i=w(document),l=e,n=t,s=l.id,a=l.jupiterx_popup_id,d=Boolean(elementorFrontend.isEditMode()),c=[],u=!1,p=!1,h=!1,m="or",g=!1,f,v,y=[];this.init=function(){if(d||1<w(".jupiterx-popup").length&&this.handleAvoidMultiplePopups())return!1;var e,t,i;this.handlePopupCloseActionLocalStorage(),this.handleButtonWidgetClick(),this.handlePopupLocalStorage(),"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+s)&&(this.handlePopupAction(),l.custom_selector&&this.onCustomSelector(l.custom_selector),this.initOpenEvent(),this.initCloseEvent(),0===n.length&&this.removeEntranceAnimationClass(),n.relation_logic&&(m=n.relation_logic?.control),n.on_date&&(i=new Date,e=new Date(1e3*n.on_date.control),i.toDateString()!==e.toDateString()?h=!0:(u=!0,p=!0)),n?.on_date_range?.control&&(i=new Date,e=new Date(1e3*n.on_date_range.control.start_date),t=new Date(1e3*n.on_date_range.control.end_date),e<=i&&i<=t?(u=!0,p=!0):h=!0),n?.time_range?.control&&(e=(new Date).toLocaleTimeString("en-US",{timeZone:n.time_range.control.timezone}),i=new Date((new Date).toLocaleDateString()+" "+n.time_range.control.start_time).getTime(),t=new Date((new Date).toLocaleDateString()+" "+n.time_range.control.due_time).getTime(),i<=(i=new Date((new Date).toLocaleDateString()+" "+e).getTime())&&i<=t?(u=!0,p=!0):h=!0),n?.on_page_exit_intent&&(u=!0,c.push({key:"on_page_exit_intent",value:n?.on_page_exit_intent,canRun:!1})),n?.on_page_load&&(u=!0,c.push({key:"on_page_load",value:n?.on_page_load,canRun:!1})),n?.on_scroll?.control?.direction&&(u=!0,c.push({key:"on_page_scroll",value:n?.on_scroll,canRun:!1})),n?.on_scroll_to_element?.control&&(u=!0,c.push({key:"on_scroll_to_element",value:n?.on_scroll_to_element,canRun:!1})),n?.show_after_x_page_views?.control&&(u=!0,c.push({key:"show_after_x_page_views",value:n?.show_after_x_page_views,canRun:!1})),n?.show_after_x_visits?.control&&(u=!0,c.push({key:"show_after_x_visits",value:n?.show_after_x_visits,canRun:!1})),n?.url_referrer?.control&&(u=!0,c.push({key:"url_referrer",value:n?.url_referrer,canRun:!1})),n?.user_browser_language?.control&&(u=!0,c.push({key:"user_browser_language",value:n?.user_browser_language,canRun:!1})),n?.user_browser?.control&&(u=!0,c.push({key:"user_browser",value:n?.user_browser,canRun:!1})),n?.user_device?.control&&(this.userDevice(n.user_device.control,n.user_device.operator)?(u=!0,p=!0):h=!0),n?.user_role?.result&&(!0===n?.user_role?.result?(u=!0,p=!0):h=!0),n?.user_type?.result&&(!0===n?.user_type?.result?(u=!0,p=!0):h=!0),n?.utm_campaign?.control&&((v=this.utmUrl(n?.utm_campaign,"utm_campaign"))?(u=!0,p=!0):h=!0),n?.utm_content?.control&&((v=this.utmUrl(n?.utm_content,"utm_content"))?(u=!0,p=!0):h=!0),n?.utm_source?.control&&((v=this.utmUrl(n.utm_source,"utm_source"))?(u=!0,p=!0):h=!0),n?.utm_term?.control&&((v=this.utmUrl(n?.utm_term,"utm_term"))?(u=!0,p=!0):h=!0),n?.utm_medium?.control&&((v=this.utmUrl(n?.utm_medium,"utm_medium"))?(u=!0,p=!0):h=!0),n?.after_inactivity&&(u=!0,c.push({key:"after_inactivity",value:n?.after_inactivity.control,canRun:!1})),u&&"or"===m&&0===c.length&&this.showPopup(),u&&"or"===m&&0<c.length&&(p?this.showPopup():this.runTriggerFunction()),h||"and"!==m||0!==c.length||this.showPopup(),!h)&&"and"===m&&0<c.length&&this.runTriggerFunction()},this.runTriggerFunction=function(){for(let e of c)switch(e.key){case"on_page_exit_intent":this.removeEntranceAnimationClass(),i.mouseleave(()=>{e.canRun=!0,this.showPopup()});break;case"on_page_load":setTimeout(()=>{e.canRun=!0,this.showPopup()},1e3*e.value?.control);break;case"on_page_scroll":this.removeEntranceAnimationClass(),this.onScroll(e);break;case"on_scroll_to_element":this.removeEntranceAnimationClass(),this.onScrollElement(e);break;case"show_after_x_page_views":this.onAfterXPageViews(e);break;case"show_after_x_visits":this.onAfterXVisits(e);break;case"url_referrer":this.urlReferrer(e);break;case"user_browser_language":this.userBrowserLanguage(e);break;case"user_browser":this.userBrowser(e);break;case"after_inactivity":this.onAfterInactivity(e)}},this.handleButtonWidgetClick=function(){w(document).on("popup-button-clicked",(e,t)=>{if(parseInt(t.popupId)===s)switch(t.actionType){case"close-popup":this.hidePopup({constantly:l.show_once});break;case"close-all-popups":this.closeAllPopups();break;case"close-popup-permanently":this.hidePopup({constantly:l.show_once}),window.localStorage.setItem("jupiterx_popup_closed_permanently_"+a,!0);break;case"close-all-popups-permanently":this.closeAllPopupsPermanently()}})},this.handlePopupLocalStorage=function(){w(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(e,t){var i,n=w(t).find(".elementor-widget-raven-form"),t=w(t).data("settings").id;0<n.length&&({popup_action:n,popup_action_do_not_show_again:i}=n.data("settings"),t===s)&&"close"===n&&_.isEmpty(i)&&window.localStorage.removeItem("jupiterx_popup_closed_permanently_"+s)})},this.handlePopupAction=function(){elementorFrontend.on("components:init",()=>{elementorFrontend.utils.urlActions.addAction("raven_popup_"+l.id+":open",e=>{parseInt(e.id)===parseInt(s)&&(!e.toggle&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+s)||o.hasClass("jupiterx-popup--hide-state")&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+s)?this.showPopup():o.hasClass("jupiterx-popup--show-state")&&this.hidePopup({constantly:!1}))}),elementorFrontend.utils.urlActions.addAction("raven_popup:close",(e,t)=>{var i=w(t.target).closest(".jupiterx-popup").attr("id");let n=0;i&&(n=i.split("-").pop()),parseInt(e.id)===parseInt(n)&&(this.hidePopup({popupElement:w(t.target).closest(".jupiterx-popup"),constantly:!1}),e.do_not_show_again)&&window.localStorage.setItem("jupiterx_popup_closed_permanently_"+n,!0)})})},this.handlePopupCloseActionLocalStorage=function(){w(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(e,t){var t=w(t).find('[href^="#elementor-action%3Aaction%3Draven_popup%3Aclose"]');0<t.length&&(t=t.closest("[data-elementor-id]").attr("data-elementor-id"),""===window["raven_popup_close_action_"+t]?.do_not_show_again)&&window.localStorage.removeItem("jupiterx_popup_closed_permanently_"+t)})},this.closeAllPopups=function(){w(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(){var e={popupId:w(this).data("settings").jupiterx_popup_id,constantly:w(this).data("settings").show_once};w(document).trigger("jupiterx-popup-close-trigger",e)})},this.closeAllPopupsPermanently=function(){w(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(){var e={popupId:w(this).data("settings").jupiterx_popup_id,constantly:!1};w(document).trigger("jupiterx-popup-close-trigger",e),window.localStorage.setItem("jupiterx_popup_closed_permanently_"+w(this).data("settings").jupiterx_popup_id,!0)})},this.handleAvoidMultiplePopups=function(){if(!l.avoid_multiple_popups)return!1;var e=w(".jupiterx-popup:not(.jupiterx-popup--edit-mode)"),e=w(e.get().reverse());let t,i;return e.each(function(){if(!w(this).data("settings").avoid_multiple_popups)return!(i=!0);t=w(this).data("settings")}),i||t.id!==l.id},this.initOpenEvent=function(){let n=this;r.on("jupiterx-popup-open-trigger",function(e,t={}){e=e.popupData||{};(e.popupId||!1)===a&&n.showPopup(e),!_.isEmpty(t)&&t?.popupId&&"jupiterx-popup-"+t.popupId===a&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+t.popupId)&&(e.popupId=t.popupId,n.showPopup(e))}),r.on("jupiterx-popup-close-trigger",function(e,t){var i=t.popupId,t=t.constantly;i===a&&n.hidePopup({constantly:t})}),r.on("jupiterx-popup-close-form-trigger",function(e,t){var i=t.constantly,t=t.popupId;i&&t===s&&window.localStorage.setItem("jupiterx_popup_closed_permanently_"+s,!0),t===s&&n.hidePopup({constantly:i})})},this.initCloseEvent=function(){o.on("click",".jupiterx-popup__close-button",()=>{this.hidePopup({constantly:l.show_once})}),l.prevent_close_on_background_click||o.on("click",".jupiterx-popup__overlay",()=>{this.hidePopup({constantly:l.show_once})}),l.prevent_close_on_esc_key||i.on("keyup.jupiterxPopup",e=>{27===e.keyCode&&this.hidePopup({constantly:l.show_once})})},this.onCustomSelector=function(e){w(e)[0]&&w("body").on("click",e,e=>{e.preventDefault(),"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&this.showPopup()})},this.onAfterInactivity=function(e){"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+s)&&(this.resetTimer(e),i.on("mousemove keydown",()=>{this.resetTimer(e)}))},this.resetTimer=function(t){clearTimeout(f),y.includes(l.id)||(this.removeEntranceAnimationClass(),f=setTimeout(()=>{var e;"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+s)&&((e=c.find(e=>e.key===t?.key))&&(e.canRun=!0),this.showPopup(),y.push(l.id))},1e3*t?.value))},this.onScroll=function(n){if("up"===n?.value?.control?.direction){let i=r.scrollTop();r.scroll(()=>{var e,t=r.scrollTop();t<i&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&((e=c.find(e=>e.key===n?.key))&&(e.canRun=!0),this.showPopup()),i=t})}if("down"===n?.value?.control?.direction){let t=!1;r.scroll(()=>{var e;r.scrollTop()/(i.height()-r.height())*100>=n?.value?.control?.value&&!t&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&((e=c.find(e=>e.key===n?.key))&&(e.canRun=!0),this.showPopup(),t=!0)})}},this.onScrollElement=function(t){let i=!1;r.scroll(()=>{var e=r.scrollTop();w(t?.value.control).offset().top<=e+r.height()&&!i&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&((e=c.find(e=>e.key===t?.key))&&(e.canRun=!0),this.showPopup(),i=!0)})},this.onAfterXPageViews=function(t){var e;elementorFrontend.storage.get("pageViews")>=t?.value?.control&&((e=c.find(e=>e.key===t?.key))&&(e.canRun=!0),this.showPopup())},this.onAfterXVisits=function(t){var e;elementorFrontend.storage.get("sessions")>=t?.value?.control&&((e=c.find(e=>e.key===t?.key))&&(e.canRun=!0),this.showPopup())},this.urlReferrer=function(t){let i=t?.value?.operator,n=t?.value?.control;r.on("load",()=>{var e;("is"===i&&document.referrer===n||"is-not"===i&&document.referrer!==n||"contains"===i&&document.referrer.includes(n)||"does-not-contains"===i&&!document.referrer.includes(n)||"starts-with"===i&&document.referrer.startsWith(n)||"ends-with"===i&&document.referrer.endsWith(n))&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&((e=c.find(e=>e.key===t?.key))&&(e.canRun=!0),this.showPopup())})},this.userBrowserLanguage=function(t){let i=t?.value?.operator,e=t?.value?.control,n=e;-1===l.browser_language.indexOf("-")&&(n=e.split("-")[0]),r.on("load",()=>{var e;("is"===i&&l.browser_language===n||"is-not"===i&&l.browser_language!==n||"contains"===i&&l.browser_language.includes(n)||"does-not-contains"===i&&!l.browser_language.includes(n)||"starts-with"===i&&l.browser_language.startsWith(n)||"ends-with"===i&&l.browser_language.endsWith(n))&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&((e=c.find(e=>e.key===t?.key))&&(e.canRun=!0),this.showPopup())})},this.userBrowser=function(t){var e=t?.value?.operator,i=t?.value?.control,n=r[0].navigator.userAgent.toLowerCase();let s=!1;for(let e=0;e<i.length;e++){var a=i[e].value.toLowerCase();if(n.includes(a)){s=!0;break}}("is-any-of"===e&&s||"is-none-of"===e&&!s)&&((e=c.find(e=>e.key===t?.key))&&(e.canRun=!0),this.showPopup())},this.userDevice=function(t,e){let i=!1;for(let e=0;e<t.length;e++){var n=t[e].value.toLowerCase();if("mobile"===n){if(this.isMobile()){i=!0;break}}else if("tablet"===n){if(this.isTablet()){i=!0;break}}else if("desktop"===n&&!this.isMobile()&&!this.isTablet()){i=!0;break}}return!("is-any-of"!==e||!i)||"is-none-of"===e&&!i},this.utmUrl=function(e,t){var i,t=new URLSearchParams(window.location.search.toLowerCase()).get(t);return!!t&&(i=e.control.toLowerCase(),this.utmCondition(i,t,e.operator))},this.utmCondition=function(e,t,i){switch(i){case"is":return t===e;case"is-not":return t!==e;case"contains":return t.includes(e);case"does-not-contains":return!t.includes(e);case"starts-with":return t.startsWith(e);case"ends-with":return t.endsWith(e);default:return!1}},this.isMobile=function(){var t=window.navigator.userAgent.toLowerCase(),i=["mobile","android","iphone"];for(let e=0;e<i.length;e++)if(-1<t.indexOf(i[e]))return!0;return window.screen.width<768},this.isTablet=function(){var t=window.navigator.userAgent.toLowerCase(),i=["ipad","tablet"];for(let e=0;e<i.length;e++)if(-1<t.indexOf(i[e]))return!0;return 768<=window.screen.width&&window.screen.width<1024},this.handleConvertToolbar=function(t){var i=w(".jupiterx-popup__container",o),n=0<w("#wpadminbar").length;let s=i.height(),a=1.2;if(n&&(s+=w("#wpadminbar").height()),l.animation_duration.size&&(a=l.animation_duration.size),"show"===t){o.hasClass("jupiterx-popup--hide-state")&&(o.toggleClass("jupiterx-popup--hide-state jupiterx-popup--show-state"),s=i.height(),n&&(s+=w("#wpadminbar").height()),o.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state"));let e="0px";n&&(e=w("#wpadminbar").height()+"px"),i.css("top",`-${s}px`);t=parseInt(w("body").css("padding-top"))+s;w("body").animate({"padding-top":t},1e3*a),void i.animate({top:e},1e3*a)}else w("body").animate({"padding-top":0},1e3*a),w(".jupiterx-popup__container",o).removeClass("animated "+l.entrance_animation),i.animate({top:`-${s}px`},1e3*a,()=>{o.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state")})},this.showPopup=function(e){e=e||{};return!(d||"and"===m&&c.find(e=>!1===e.canRun))&&void(l.show_once?this.handleShowAgainDelay(e):this.showPopupContent(e))},this.showContainer=function(e){e=e||{};let t={forceLoad:l.force_loading||!1},n=w(".jupiterx-popup__container-content",o);if(e=jQuery.extend(t,e),g=e.forceLoad?!1:g)return!1;e=jQuery.extend(e,{popup_id:s}),o.addClass("jupiterx-popup--loading-state"),wp.ajax.post({action:"jupiterx_popup_get_content",data:e}).always(e=>{var t=e.type,i=e.content||"";o.removeClass("jupiterx-popup--loading-state"),"error"===t&&(e=e.message,n.html("<h3>"+e+"</h3>")),"success"===t&&(n.html(i),g=!0)})},this.showPopupContent=function(e){l.convert_to_header_toolbar&&"top"===l.vertical_position&&this.handleConvertToolbar("show"),o.hasClass("jupiterx-popup--hide-state")&&(o.toggleClass("jupiterx-popup--hide-state jupiterx-popup--show-state"),l.entrance_animation)&&w(".jupiterx-popup__container",o).addClass("animated "+l.entrance_animation),l.prevent_scrolling&&w("body").addClass("jupiterx-popup-prevent-scroll"),l.close_button_delay&&l.close_button&&(w(".jupiterx-popup__close-button",o).hide(),setTimeout(function(){w(".jupiterx-popup__close-button",o).show()},1e3*l.close_button_delay)),l.close_automatically&&setTimeout(()=>{this.hidePopup({constantly:l.show_once})},1e3*l.close_automatically),l.use_ajax&&this.showContainer(e)},this.hidePopup=function(e){let i=o,t=(e.popupElement&&(i=e.popupElement),e||{}),n=w(".jupiterx-popup__container-content",i),s=t.constantly||!1,a=i.data("settings");if(i.hasClass("jupiterx-popup--show-state"))if(!a.entrance_animation||a.convert_to_header_toolbar&&"top"===a.vertical_position||this.removeEntranceAnimationClass(),!a.exit_animation||"none"===a.exit_animation||a.convert_to_header_toolbar&&"top"===a.vertical_position)a.convert_to_header_toolbar&&"top"===a.vertical_position?this.handleConvertToolbar("hide"):i.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state"),a.use_ajax&&a.force_loading&&n.html("");else{let e=a.exit_animation.replace("In","Out"),t=(w(".jupiterx-popup__container",i).addClass("animate__animated animate__"+e),1.2);a.animation_duration.size&&(t=a.animation_duration.size),setTimeout(()=>{w(".jupiterx-popup__container",i).removeClass("animate__animated animate__"+e),a.prevent_scrolling&&w("body").removeClass("jupiterx-popup-prevent-scroll"),i.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state"),a.use_ajax&&a.force_loading&&n.html("")},1e3*t)}l.prevent_scrolling&&!w(".jupiterx-popup--show-state")[0]&&w("body").removeClass("jupiterx-popup-prevent-scroll"),s&&this.handleShowAgainDelay(t,!0),this.handlePauseVideo()},this.handleShowAgainDelay=function(t,i=!1){let e=Date.now(),n=l.show_again_delay,s=0!==n?e+n:"none";if("none"!==s){("true"!==window.localStorage.getItem("jupiterx_popup_showed_"+a)||+window.localStorage.getItem("jupiterx_popup_show_again_"+a)<Date.now())&&window.localStorage.setItem("jupiterx_popup_showed_"+a,!1);let e=setInterval(()=>{i&&(window.localStorage.setItem("jupiterx_popup_show_again_"+a,s),window.localStorage.setItem("jupiterx_popup_showed_"+a,!0)),!window.localStorage.getItem("jupiterx_popup_show_again_"+a)&&o.hasClass("jupiterx-popup--hide-state")&&(window.localStorage.setItem("jupiterx_popup_show_again_"+a,Date.now()),window.localStorage.setItem("jupiterx_popup_showed_"+a,!1)),+window.localStorage.getItem("jupiterx_popup_show_again_"+a)<Date.now()&&"false"===window.localStorage.getItem("jupiterx_popup_showed_"+a)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+a)&&(clearInterval(e),this.showPopupContent(t),s=Date.now()+n,window.localStorage.setItem("jupiterx_popup_show_again_"+a,s),window.localStorage.setItem("jupiterx_popup_showed_"+a,!0))},1e3)}},this.handlePauseVideo=function(){let e=w(".jupiterx-popup__container-content video",o);0<e.length&&e.each(function(){w(this)[0].pause()}),0<(e=w(".jupiterx-popup__container-content iframe.raven-video-mejs-player",o)).length&&e.each(function(){w(this)[0].player.media.pause()})},this.removeEntranceAnimationClass=function(){w(".jupiterx-popup__container",o).removeClass("animated "+l.entrance_animation)}}},{}],3:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("./popup-settings");let n=jQuery;i.default={init:function(){var e=n(".jupiterx-popup:not(.jupiterx-popup--edit-mode)");Boolean(elementorFrontend.isEditMode())||e.each(function(){var e=n(this),t=e.data("settings"),i=e.data("trigger");elementorFrontend.storage.set("jupiterx_popup_"+t.id,t);new window.jupiterxPopupSettings(e,t,i).init()}),elementorFrontend.isEditMode()||elementorFrontend.isWPPreviewMode()||(n(this),e=elementorFrontend.storage.get("pageViews")||0,elementorFrontend.storage.set("pageViews",e+1),e=elementorFrontend.storage.get("activeSession",{session:!0}))||(elementorFrontend.storage.set("activeSession",!0,{session:!0}),e=elementorFrontend.storage.get("sessions")||0,elementorFrontend.storage.set("sessions",e+1))}}},{"./popup-settings":2}],4:[function(e,t,i){let n={RavenAnimatedGradientInstance(t){if(t.hasClass("raven-animated-gradient-yes")){let e="";var i=(t=(t=(t=t.hasClass("elementor-widget-raven-button")?t.find(".raven-button-overlay"):t).hasClass("elementor-widget-raven-heading")?e=(e=t.find(".raven-heading-title-inner")).hasClass("raven-heading-title-inner")?e:t.find(".raven-heading-title"):t).hasClass("elementor-widget-raven-text-marquee")?t.find(".raven-marquee-text-item"):t).data("color"),i="linear-gradient("+t.data("angle")+","+i+")",n=t.data("speed"),s=t.data("background-size"),a=t.data("animation-name");t.css("background-image",i),t.css("animation-duration",n),t.css("background-size",s),t.css("animation-name",a)}}};elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){n.RavenAnimatedGradientInstance(e)})},{}],5:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;function n(p){function e(e){function o(e){return-1<r.indexOf(e)}let r=e.toLowerCase(),l=p.outerWidth||t.clientWidth,d=p.outerHeight||t.clientHeight,c="webkit",u="mobile",i=(e=function(){var e,t,i=[],n=h.implementation,s=!!/applewebkit\/(\d{1,})/.test(r)&&RegExp.$1;let a="";switch(!0){case o("msie")&&!o("opera")&&!o("webtv")||o("trident")||o("edge"):a=o("edge")?/edge\/(\w+)/.test(r)?" edge ie"+RegExp.$1:" ie11":o("msie 8.0")||o("trident/7.0")?" ie11":/msie\s(\d+)/.test(r)?" ie"+RegExp.$1:"",i.push("ie"+a);break;case o("iron/")||o("iron"):a=/iron\/(\d+)/.test(r)?" iron"+RegExp.$1:"",i.push(c+" iron"+a);break;case o("android")&&o("u;")&&(!o("chrome")||o("chrome")&&s&&s<=534):i.push("android-browser");break;case o("chrome/")||o("chrome"):a=/chrome\/(\d+)/.test(r)?" chrome"+RegExp.$1:"",i.push(c+" chrome"+a);break;case o("firefox/")||o("firefox"):a=/firefox\/(\d+)/.test(r)?" firefox"+RegExp.$1:"",i.push("gecko firefox"+a);break;case o("opera/")||o("opera"):a=/version(\s|\/)(\d+)/.test(r)||/opera(\s|\/)(\d+)/.test(r)?" opera"+RegExp.$2:"",i.push("opera"+a);break;case o("konqueror"):i.push(u+" konqueror");break;case o("blackberry")||o("bb"):i.push(u+" blackberry"),o("bb")&&(a=/bb(\d{1,2})(;{0,1})/.test(r)?"bb"+RegExp.$1:"",i.push(a));break;case o("safari/")||o("safari"):a=/version\/(\d+)/.test(r)||/safari\/(\d+)/.test(r)?" safari"+RegExp.$1:"",i.push(c+" safari"+a);break;case o("applewebkit/")||o("applewebkit"):a=/applewebkit\/(\d+)/.test(r)?" "+c+RegExp.$1:"",i.push(c+" "+a);break;case o("gecko")||o("mozilla/"):i.push("gecko")}switch(!0){case o("iphone")||o("ios"):" ios10"===(a=/iphone\sos\s(\d{1,2})/.test(r)?" ios"+RegExp.$1:"")&&(e=/(\d{1,2})/.test(a)?RegExp.$1:0,t=/\sversion\/(\d{1,2})/.test(r)?RegExp.$1:"",parseInt(e,10)>parseInt(t,10))&&(a=" ios"+t),i.push("ios"+a);break;case o("mac")||o("macintosh")||o("darwin"):a=/mac\sos\sx\s(\d{1,2}_\d{1,2})/.test(r)?" osx"+RegExp.$1:"",i.push("mac"+a);break;case o("windows")||o("win"):switch(a=/windows\s(nt\s{0,1})(\d{1,2}\.\d)/.test(r)?""+RegExp.$2:""){case"5.0":a=" win2k";break;case"5.01":a=" win2k sp1";break;case"5.1":case"5.2":a=" xp";break;case"6.0":a=" vista";break;case"6.1":a=" win7";break;case"6.2":a=" win8";break;case"6.3":a=" win8_1";break;case"6.4":a=" win10";break;default:a=" nt nt"+a}i.push("windows"+a);break;case o("webtv"):i.push("webtv");break;case o("freebsd"):i.push("freebsd");break;case o("android")||o("linux")&&o("mobile"):i.push("android");break;case o("linux")||o("x11"):i.push("linux")}switch(!0){case o("wow64")||o("x64"):i.push("x64");break;case o("arm"):i.push("arm");break;default:i.push("x32")}switch(!0){case o("j2me"):i.push(u+" j2me");break;case/(iphone|ipad|ipod)/.test(r):i.push(u+" "+RegExp.$1);break;case o("mobile"):i.push(u)}return/touch/.test(r)&&i.push("touch"),i.push("js"),i.push(void 0!==n&&"function"==typeof n.hasFeature&&n.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")?"svg":"no-svg"),i.push(void 0!==p.devicePixelRatio&&1<p.devicePixelRatio?"retina":"no-retina"),i.push(l<d?"portrait":"landscape"),i},h.documentElement.className.split(" "));return e=e(),i=(i=i.concat(e)).filter((e,t)=>i.indexOf(e)===t),t.className=i.join(" ").trim(),{detected:e.join(" ").trim(),version:"1.8.1"}}"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});let h=p.document,t=h.documentElement;function i(){p.detectr=e(p.navigator.userAgent)}p.detectr=e(p.navigator.userAgent),p.attachEvent?p.attachEvent("onresize",i):p.addEventListener&&p.addEventListener("resize",i,!0)}n(window),i.default=n},{}],6:[function(e,t,i){let n={},s=jQuery;window.ravenChangeDocument=function(e){s(".elementor").find(".raven-document-handle-parent").remove(),window.elementorCommon.api.internal("panel/state-loading"),window.elementorCommon.api.run("editor/documents/switch",{id:e}).finally(function(){return n.handleFullPageEditorBtn(),window.elementorCommon.api.internal("panel/state-ready")})},n.handleFullPageEditorBtn=function(){s(".elementor").each(function(){var e;0<s(this).find(".raven-document-handle-parent").length&&0<s(this).find(".raven-document-handle-parent").children().length||s(this).hasClass("elementor-edit-area-active")||void 0!==(e=this.dataset.elementorTitle)&&(e='<div class="raven-document-handle" onclick="window.ravenChangeDocument('+s(this).attr("data-elementor-id")+')"><i class="fas fa-edit"></i>Edit '+e+"</div>",s(this).prepend('<div class="raven-document-handle-parent" style="display:none;"></div>'),s(this).find(".raven-document-handle-parent").append(e))})},n.handleHeaderBtns=function(){let t=0;s("main").length&&(t=s("main").offset().top),s(document).on("mouseenter","header",function(){var e;0<t||0!==(e=s("main .raven-document-handle-parent .raven-document-handle").clone().addClass("fixed-top-btn")).length&&(0===s("header .elementor").find(".raven-document-handle-parent").length&&(s("header .elementor").prepend('<div class="raven-document-handle-parent"></div>'),s("header .elementor .raven-document-handle-parent").prepend(e)),0<s("header .elementor").find(".raven-document-handle-parent").length)&&s("header .elementor .raven-document-handle-parent").append(e)}),s(document).on("mouseleave","header",function(){0===s("main .raven-document-handle-parent .raven-document-handle").length||0<t||s("header .elementor .raven-document-handle-parent .raven-document-handle.fixed-top-btn").remove()})},t.exports=n},{}],7:[function(e,t,i){let a={headerBehavior:!1,overlayContent:!1,normalizeHeaderSettings:e=>{var t,e=e&&"object"==typeof e?{...e}:{};return void 0===e.elementor_header_behavior&&(t=e.behavior,e.elementor_header_behavior=void 0===t||"static"===t?"normal":t),void 0===e.elementor_header_overlay_content&&(t=e.overlap,e.elementor_header_overlay_content=null!=t&&0<String(t).length?"yes":"no"),void 0===e.elementor_header_fixed_position&&void 0!==e.position&&(e.elementor_header_fixed_position=e.position),void 0===e.elementor_header_sticky_offset&&void 0!==e.offset&&(e.elementor_header_sticky_offset=e.offset),e},headerInstance(e){var t,i,n=e.parents(".jupiterx-header"),e=e.parents("body"),s=n.data("jupiterx-settings"),s=a.normalizeHeaderSettings(s);n.length<1||({elementor_header_behavior:t,elementor_header_overlay_content:i}=s,"normal"!==t&&a.handleHeaderBehavior(s,n,e),"yes"===i&&a.hadnleOverlayContent(e))},handleHeaderBehavior:(t,i,n)=>{var e=t.elementor_header_behavior;a.headerBehavior||(a.headerBehavior=!0,"sticky"===e&&jupiterx&&jupiterx.pubsub.subscribe("scroll",function(e){a.handleStickyHeader(e,t,i,n)}),"fixed"===e&&a.handleFixedHeader(t,i,n))},handleFixedHeader:(t,i,n)=>{var t=t.elementor_header_fixed_position,s=n.find(".jupiterx-site"),a=i.outerHeight(),t=t||"top";if(n.addClass("jupiterx-header-fixed"),i.addClass("jupiterx-header-custom"),"bottom"===t)s.css("padding-"+t,a),n.addClass("jupiterx-header-bottom");else{i.css("position","fixed"),s.css("padding-"+t,a);let e=a;s=n.offset();n.hasClass("admin-bar")&&(e=s.top),i.css("top",e)}},handleStickyHeader:(e,t,i,n)=>{i.height()<e?(n.addClass("jupiterx-header-stick"),(s=$(".jupiterx-header.jupiterx-header-sticky-custom.jupiterx-header-custom > .elementor:last-of-type:not(:first-of-type)")).length&&0<s.height()&&i.height(s.height())):(n.removeClass("jupiterx-header-stick"),i.attr("style",function(e,t){return t&&t.replace(/height[^;]+;?/g,"")}));var s=a.getOffset(t);s<e?n.addClass("jupiterx-header-sticked"):n.removeClass("jupiterx-header-sticked")},getOffset:e=>{var t=elementorFrontend.getCurrentDeviceMode(),i=e.elementor_header_sticky_offset,i=i||0;return"desktop"!==t&&e["elementor_header_sticky_offset_"+t]||i},hadnleOverlayContent:e=>{a.overlayContent||(a.overlayContent=!0,e.addClass("jupiterx-header-overlapped"))}};elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){a.headerInstance(e)})},{}],8:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=((e=e("./module"))&&e.__esModule?e:{default:e}).default.extend({getDefaultSettings(){return{masonryContainer:".raven-masonry",columnClass:"raven-masonry-column",columns:this.getInstanceValue("columns")||3,columnsTablet:this.getInstanceValue("columns_tablet")||2,columnsMobile:this.getInstanceValue("columns_mobile")||1}},getDefaultElements(){return{$masonryContainer:this.$element.find(this.getSettings("masonryContainer"))}},run(){var e=this.getSettings(),t=`.elementor-element-${this.getID()} `+e.masonryContainer;savvior.grids[t]&&delete savvior.grids[t],savvior.init(t,{"screen and (min-width: 1025px)":{columnClasses:e.columnClass,columns:e.columns},"screen and (max-width: 1024px) and (min-width: 768px)":{columnClasses:e.columnClass,columns:e.columnsTablet},"screen and (max-width: 767px)":{columnClasses:e.columnClass,columns:e.columnsMobile}})},push(e){if(e){var i=this.getSettings(),i=`.elementor-element-${this.getID()} `+i.masonryContainer;let t=[];e.forEach(function(e){e=$(e);t.push(e[0])}),savvior.grids[i]&&savvior.addItems(i,t,{method:"append",clone:!1})}}});i.default=e},{"./module":9}],9:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=elementorModules.frontend.handlers.Base.extend({onSectionActivated:null,onEditorClosed:null,getInstanceValue(e){return $=jQuery,this.getElementSettings(this.getControlID(e))},getControlID(e){var t=this.getElementSettings("_skin");return t?t+"_"+e:e},scrollToContainer(e){let t=e.offset().top-50;var i=$("header").height(),n=document.querySelector("body");(n.classList.contains("jupiterx-header-fixed")||n.classList.contains("jupiterx-header-sticked"))&&(t=e.offset().top-i-50),window.scroll({top:t,behavior:"smooth"})},initEditorListeners(){let i=this;elementorModules.frontend.handlers.Base.prototype.initEditorListeners.apply(this,arguments),i.onSectionActivated&&i.editorListeners.push({event:"section:activated",to:elementor.channels.editor,callback(e,t){t.model.id===i.getID()&&i.onSectionActivated(e,t)}}),i.onEditorClosed&&i.editorListeners.push({event:"set:page:editor",to:elementor.getPanelView(),callback(e){e.model.id===i.getID()&&e.model.once("editor:close",function(){i.onEditorClosed()})}})},onMobile(){return jQuery(window).width()<=575.98},onTablet(){var e=jQuery(window).width();return 575.98<e&&e<=767.98},onDesktop(){return 767.98<jQuery(window).width()},isRtl(){return jQuery("body").hasClass("rtl")}});i.default=n},{}],10:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;class n extends elementorModules.Module{onInit(){this.$element=this.getSettings("$targetElement"),this.refresh()}refresh(){this.rulesVariables={},this.CSSTransformVariables=[],this.$element.css({transform:"",filter:"",opacity:"","will-change":""})}translateX(e,t){e.axis="x",e.unit="px",this.transform("translateX",t,e)}translateY(e,t){e.axis="y",e.unit="px",this.transform("translateY",t,e)}translateXY(e,t,i){this.translateX(e,t),this.translateY(e,i)}rotateX(e,t){e.axis="x",e.unit="deg",this.transform("rotateX",t,e)}rotateY(e,t){e.axis="y",e.unit="deg",this.transform("rotateY",t,e)}rotateZ(e,t){e.unit="deg",this.transform("rotateZ",t,e)}tilt(e,t,i){e={intensity:e.intensity/10,direction:e.direction};this.rotateX(e,i),this.rotateY(e,100-t)}opacity(e,t){t=this.getDirectionMovePoint(t,e.direction,e.viewport),e=e.intensity/10;this.$element.css({opacity:1-e+e*t/100,"will-change":"opacity"})}blur(e,t){t=this.getDirectionMovePoint(t,e.direction,e.viewport),e=e.intensity;this.updateRulePart("filter","blur",e-e*t/100+"px")}scale(e,t){t=this.getDirectionMovePoint(t,e.direction,e.viewport);this.updateRulePart("transform","scale",1+e.intensity*t/1e3)}transform(e,t,i){i.direction&&(t=100-t),this.updateRulePart("transform",e,this.getStep(t,i)+i.unit)}getDirectionMovePoint(t,i,n){if(t<n.start){let e=this.getMovePointFromPassedPercents(n.start,t);switch(i){case"out-in":return 0;case"in-out":return 100;case"out-in-out":return e;case"in-out-in":return 100-e}}if(t<n.end){let e=this.getMovePointFromPassedPercents(n.end-n.start,t-n.start);switch(i){case"out-in":return e;case"in-out":return 100-e;case"out-in-out":return 100;case"in-out-in":return 0}}let e=this.getMovePointFromPassedPercents(100-n.end,100-t);switch(i){case"out-in":return 100;case"in-out":return 0;case"out-in-out":return e;case"in-out-in":return 100-e}}getMovePointFromPassedPercents(e,t){return+(t/e*100).toFixed(2)}getStep(e,t){return"element"===this.getSettings("effectTarget")?-(e-50)*t.intensity:-this.getSettings("dimensions.movable"+t.axis.toUpperCase())*e/100}updateRulePart(e,t,i){this.rulesVariables[e]||(this.rulesVariables[e]={}),this.rulesVariables[e][t]||(this.rulesVariables[e][t]=!0,this.updateRule(e)),this.$element[0].style.setProperty("--"+t,i)}updateRule(e){var t="",t=(t+=this.concatTransformCSSProperties(e))+this.concatTransformMotionEffectCSSProperties(e);this.$element.css(e,t)}concatTransformCSSProperties(e){let s="";return"transform"===e&&jQuery.each(this.CSSTransformVariables,(e,t)=>{var i=t,n=(t=t.startsWith("flip")?t.replace("flip","scale"):t).startsWith("rotate")||t.startsWith("skew")?"deg":"px",n=t.startsWith("scale")?1:0+n;s+=t+`(var(--e-transform-${i}, ${n}))`}),s}concatTransformMotionEffectCSSProperties(e){let t="";return jQuery.each(this.rulesVariables[e],e=>{t+=e+`(var(--${e}))`}),t}setCSSTransformVariables(e){this.CSSTransformVariables=[],jQuery.each(e,(e,t)=>{e=e.match(/_transform_(.+?)_effect/m);e&&t&&("perspective"===e[1]?this.CSSTransformVariables.unshift(e[1]):this.CSSTransformVariables.includes(e[1])||this.CSSTransformVariables.push(e[1]))})}runAction(e,t,i,...n){["translateX","translateY","rotateZ"].includes(e)&&(t.viewport.start>i&&(i=t.viewport.start),t.viewport.end<i)&&(i=t.viewport.end),this[e](t,i,...n)}}i.default=n},{}],11:[function(i,e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class n extends elementorModules.frontend.handlers.Base{__construct(...e){super.__construct(...e),this.normalMotion="raven_motion_effects",this.backgroundMotion="background_"+this.normalMotion,this.toggle=elementorFrontend.debounce(this.toggle,200)}onInit(){super.onInit(),this.initEffects(),this.addCSSTransformEvents(),this.toggle()}getDefaultSettings(){return{selectors:{container:".elementor-widget-container"},isOptimizedMarkupEnabled:"undefined"!=typeof elementorFrontend&&elementorFrontend?.config?.experimentalFeatures?.e_optimized_markup,isDefaultContainerExist:0<jQuery(this.$element).find(".elementor-widget-container")?.length}}getDefaultElements(){var e=this.getSettings("selectors"),t=this.getSettings("isOptimizedMarkupEnabled"),i=this.getSettings("isDefaultContainerExist");return t&&!i?{$container:jQuery(this.$element)}:{$container:jQuery(this.$element).find(e.container)}}bindEvents(){elementorFrontend.elements.$window.on("resize",this.toggle)}unbindEvents(){elementorFrontend.elements.$window.off("resize",this.toggle)}initEffects(){this.effects={translateY:{interaction:"scroll",actions:["translateY"]},translateX:{interaction:"scroll",actions:["translateX"]},rotateZ:{interaction:"scroll",actions:["rotateZ"]},scale:{interaction:"scroll",actions:["scale"]},opacity:{interaction:"scroll",actions:["opacity"]},blur:{interaction:"scroll",actions:["blur"]},mouseTrack:{interaction:"mouseMove",actions:["translateXY"]},tilt:{interaction:"mouseMove",actions:["tilt"]}}}addCSSTransformEvents(){this.getElementSettings(this.normalMotion+"_scrolling")&&!this.isTransitionEventAdded&&(this.isTransitionEventAdded=!0,this.elements.$container.on("mouseenter",()=>{this.elements.$container.css("--e-transform-transition-duration","")}))}prepareOptions(a){let o=this.getElementSettings();var e=this.normalMotion===a?"element":"background";let r={},t=(jQuery.each(o,(e,t)=>{var i=new RegExp("^"+a+"_(.+?)_fx"),e=e.match(i);if(e&&t){let n={},s=e[1];jQuery.each(o,(e,t)=>{var i=new RegExp(a+"_"+s+"_fx_(.+)"),e=e.match(i);e&&"fx"!==(i=e[1])&&("object"==typeof t&&(t=Object.keys(t.sizes).length?t.sizes:t.size),n[i]=t)});i=this.effects[s];let t=i.interaction;r[t]||(r[t]={}),i.actions.forEach(e=>r[t][e]=n)}}),this.$element),i;var n=this.getElementType(),s="section"===n||"container"===n||"column"===n;if(!0!==this.getSettings("isOptimizedMarkupEnabled")||this.getSettings("isDefaultContainerExist")||s||(s=[".elementor-element-overlay",".elementor-editor-element-settings",".elementor-editor-highlighted",".elementor-editor-section-settings",".elementor-editor-widget-settings",".elementor-editor-column-settings",".elementor-editor-active",".elementor-editor-lock"].join(", "),t=t.children().not(s).first()),"element"==e&&"section"!==n&&"container"!==n){i=t;let e;e="column"===n?elementorFrontend.config.legacyMode.elementWrappers?".elementor-column-wrap":".elementor-widget-wrap":".elementor-widget-container",0<jQuery(this.$element).find(e)?.length&&(t=t.find("> "+e))}s={effectTarget:e,interactions:r,elementSettings:o,$element:t,$dimensionsElement:i,refreshDimensions:this.isEdit,range:o[a+"_range"],classes:{element:"raven-motion-effects-element",parent:"raven-motion-effects-parent",perspective:"raven-motion-effects-perspective",backgroundType:"elementor-motion-effects-element-type-background",container:"elementor-motion-effects-container",layer:"elementor-motion-effects-layer"}};return s.range||"fixed"!==this.getCurrentDeviceSetting("_position")||(s.range="page"),"fixed"===this.getCurrentDeviceSetting("_position")&&(s.isFixedPosition=!0),"background"==e&&"column"===this.getElementType()&&(s.addBackgroundLayerTo=" > .elementor-element-populated"),s}activate(e){var t=this.prepareOptions(e);jQuery.isEmptyObject(t.interactions)||(this[e]=new(i("./motion-effects").default)(t))}deactivate(e){this[e]&&(this[e].destroy(),delete this[e])}toggle(){let n=elementorFrontend.getCurrentDeviceMode(),s=this.getElementSettings();[this.normalMotion,this.backgroundMotion].forEach(e=>{var t=s[e+"_devices"],t=!t||-1!==t.indexOf(n),i=s[e+"_scrolling"]||s[e+"_mouse"];if(t&&i)return this[e]?void this.refreshInstance(e):void this.activate(e);this.deactivate(e)})}refreshInstance(e){var t=this[e];t&&(e=this.prepareOptions(e),t.setSettings(e),t.refresh())}onElementChange(e){var t;/raven_motion_effects_((scrolling)|(mouse)|(devices))$/.test(e)?(this.normalMotion+"_scrolling"===e&&this.addCSSTransformEvents(),this.toggle()):((t=e.match(`.*?(${this.normalMotion}|_transform)`))&&(t=t[0].match("(_transform)")?this.normalMotion:t[0],this.refreshInstance(t),this[t]||this.activate(t)),/^_position/.test(e)&&[this.normalMotion,this.backgroundMotion].forEach(e=>{this.refreshInstance(e)}))}onDestroy(){super.onDestroy(),[this.normalMotion,this.backgroundMotion].forEach(e=>{this.deactivate(e)})}}t.default=n},{"./motion-effects":15}],12:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;class n extends elementorModules.ViewModule{constructor(...e){var t,i;super(...e),e=()=>{this.run(),this.animationFrameRequest=window.requestAnimationFrame(this.onInsideViewport)},(i="onInsideViewport")in(t=this)?Object.defineProperty(t,i,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[i]=e}__construct(e){this.motionFX=e.motionFX,this.intersectionObservers||this.setElementInViewportObserver()}setElementInViewportObserver(){this.intersectionObserver=elementorModules.utils.Scroll.scrollObserver({callback:e=>{e.isInViewport?this.onInsideViewport():this.removeAnimationFrameRequest()}});var e=("page"===this.motionFX.getSettings("range")?elementorFrontend.elements.$body:this.motionFX.elements.$parent)[0];this.intersectionObserver.observe(e)}runCallback(...e){this.getSettings("callback")(...e)}removeIntersectionObserver(){this.intersectionObserver&&this.intersectionObserver.unobserve(this.motionFX.elements.$parent[0])}removeAnimationFrameRequest(){this.animationFrameRequest&&window.cancelAnimationFrame(this.animationFrameRequest)}destroy(){this.removeAnimationFrameRequest(),this.removeIntersectionObserver()}onInit(){super.onInit()}}i.default=n},{}],13:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=(e=e("./base"))&&e.__esModule?e:{default:e};class n extends e.default{onInit(){this.mousePosition={},this.oldMousePosition={},super.onInit()}bindEvents(){n.mouseTracked||(elementorFrontend.elements.$window.on("mousemove",this.updateMousePosition),n.mouseTracked=!0)}run(){var e=n.mousePosition,t=this.oldMousePosition;t.x===e.x&&t.y===e.y||(this.oldMousePosition={x:e.x,y:e.y},t=100/window.innerWidth*e.x,this.runCallback(t,100/window.innerHeight*e.y))}updateMousePosition(e){n.mousePosition={x:e.clientX,y:e.clientY}}}n.mousePosition={};i.default=n},{"./base":12}],14:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=(e=e("./base"))&&e.__esModule?e:{default:e};class n extends e.default{run(){if(window.scrollY===this.currentScrollFromTop)return!1;this.onScrollMovement(),this.currentScrollFromTop=window.scrollY}onScrollMovement(){this.updateMotionFxDimensions(),this.updateAnimation(),this.resetTransitionVariable()}resetTransitionVariable(){this.motionFX.$element.css("--e-transform-transition-duration","100ms")}updateMotionFxDimensions(){this.motionFX.getSettings().refreshDimensions&&this.motionFX.defineDimensions()}updateAnimation(){let e;e="page"===this.motionFX.getSettings("range")?elementorModules.utils.Scroll.getPageScrollPercentage():this.motionFX.getSettings("isFixedPosition")?elementorModules.utils.Scroll.getPageScrollPercentage({},window.innerHeight):elementorModules.utils.Scroll.getElementViewportPercentage(this.motionFX.elements.$parent),this.runCallback(e)}}i.default=n},{"./base":12}],15:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;class n extends elementorModules.ViewModule{getDefaultSettings(){return{effectTarget:"element",$element:null,$dimensionsElement:null,addBackgroundLayerTo:null,interactions:{},refreshDimensions:!1,range:"viewport",classes:{element:"raven-motion-effects-element",parent:"raven-motion-effects-parent",perspective:"raven-motion-effects-perspective",backgroundType:"elementor-motion-effects-element-type-background",container:"elementor-motion-effects-container",layer:"elementor-motion-effects-layer"}}}bindEvents(){this.onWindowResize=this.onWindowResize.bind(this),elementorFrontend.elements.$window.on("resize",this.onWindowResize)}unbindEvents(){elementorFrontend.elements.$window.off("resize",this.onWindowResize)}onInit(){super.onInit();var e=this.getSettings();this.$element=e.$element,this.$element.addClass(e.classes.element),this.elements.$parent=this.$element.parent(),this.elements.$parent.addClass(e.classes.parent),"background"===e.effectTarget&&(this.$element.addClass(e.classes.backgroundType),this.addBackgroundLayer()),this.defineDimensions(),e.$targetElement="element"===e.effectTarget?this.$element:this.elements.$motionFXLayer,this.interactions={},this.actions=new(t("./actions").default)(e),this.initInteractionsTypes(),this.runInteractions()}defineDimensions(){var e=this.getSettings("$dimensionsElement")||this.$element,t=e.offset(),t={elementHeight:e.outerHeight(),elementWidth:e.outerWidth(),elementTop:t.top,elementLeft:t.left,elementRange:e.outerHeight()+window.innerHeight};this.setSettings("dimensions",t),"background"===this.getSettings("effectTarget")&&this.defineBackgroundLayerDimensions()}initInteractionsTypes(){this.interactionsTypes={scroll:t("./interactions/scroll").default,mouseMove:t("./interactions/mouse").default}}runInteractions(){var e=this.getSettings();this.actions.setCSSTransformVariables(e.elementSettings),this.prepareSpecialActions(),jQuery.each(e.interactions,(e,t)=>{this.interactions[e]=new this.interactionsTypes[e]({motionFX:this,callback:(...i)=>{jQuery.each(t,(e,t)=>this.actions.runAction(e,t,...i))}}),this.interactions[e].run()})}prepareSpecialActions(){var e=this.getSettings(),t=!(!e.interactions.mouseMove||!e.interactions.mouseMove.tilt);this.elements.$parent.toggleClass(e.classes.perspective,t)}cleanSpecialActions(){var e=this.getSettings();this.elements.$parent.removeClass(e.classes.perspective)}destroyInteractions(){this.cleanSpecialActions(),jQuery.each(this.interactions,(e,t)=>t.destroy()),this.interactions={}}refresh(){this.actions.setSettings(this.getSettings()),"background"===this.getSettings("effectTarget")&&(this.updateBackgroundLayerSize(),this.defineBackgroundLayerDimensions()),this.actions.refresh(),this.destroyInteractions(),this.runInteractions()}destroy(){this.destroyInteractions(),this.actions.refresh();var e=this.getSettings();this.$element.removeClass(e.classes.element),this.elements.$parent.removeClass(e.classes.parent),"background"===e.effectTarget&&(this.$element.removeClass(e.classes.backgroundType),this.removeBackgroundLayer())}onWindowResize(){this.defineDimensions()}defineBackgroundLayerDimensions(){var e=this.getSettings("dimensions");e.layerHeight=this.elements.$motionFXLayer.height(),e.layerWidth=this.elements.$motionFXLayer.width(),e.movableX=e.layerWidth-e.elementWidth,e.movableY=e.layerHeight-e.elementHeight,this.setSettings("dimensions",e)}addBackgroundLayer(){var e=this.getSettings();this.elements.$motionFXContainer=jQuery("<div>",{class:e.classes.container}),this.elements.$motionFXLayer=jQuery("<div>",{class:e.classes.layer}),this.updateBackgroundLayerSize(),this.elements.$motionFXContainer.prepend(this.elements.$motionFXLayer),(e.addBackgroundLayerTo?this.$element.find(e.addBackgroundLayerTo):this.$element).prepend(this.elements.$motionFXContainer)}removeBackgroundLayer(){this.elements.$motionFXContainer.remove()}updateBackgroundLayerSize(){var e=this.getSettings(),t={x:0,y:0},i=e.interactions.mouseMove,e=e.interactions.scroll;i&&i.translateXY&&(t.x=10*i.translateXY.intensity,t.y=10*i.translateXY.intensity),e&&(e.translateX&&(t.x=10*e.translateX.intensity),e.translateY)&&(t.y=10*e.translateY.intensity),this.elements.$motionFXLayer.css({width:100+t.x+"%",height:100+t.y+"%"})}}i.default=n},{"./actions":10,"./interactions/mouse":13,"./interactions/scroll":14}],16:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;class n extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("global",e("./effects/handler").default,null),elementorFrontend.elementsHandler.attachHandler("section",e("./sticky/handler").default,null),elementorFrontend.elementsHandler.attachHandler("container",e("./sticky/handler").default,null),elementorFrontend.elementsHandler.attachHandler("widget",e("./sticky/handler").default,null),e("./sticky/sticky-script-manager")}}i.default=n},{"./effects/handler":11,"./sticky/handler":17,"./sticky/sticky-script-manager":18}],17:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=elementorModules.frontend.handlers.Base.extend({settingPrefix:"raven_motion_effects",stickyFunction:"ravenSticky",bindEvents(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+this.stickyFunction,"resize",this.refresh)},unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+this.stickyFunction+"Sticky","resize",this.refresh)},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",()=>this.onDeviceModeChange()),this.run()},run(e){var t;!this.getElementSettings(this.settingPrefix+"sticky")||(t=elementorFrontend.getCurrentDeviceMode(),-1===this.getElementSettings(this.settingPrefix+"sticky_on").indexOf(t))?this.deactivate():!0===e?this.reactivate():this.isStickyInstanceActive()||this.activate()},activate(){var e=this.getElementSettings(),t={to:e[this.settingPrefix+"sticky"],offset:this.getResponsiveSetting(this.settingPrefix+"sticky_offset"),effectsOffset:this.getResponsiveSetting(this.settingPrefix+"sticky_effects_offset"),classes:{sticky:"raven-sticky",stickyActive:"raven-sticky--active raven-section--handles-inside",stickyEffects:"raven-sticky--effects",spacer:"raven-sticky__spacer"}},e=(e[this.settingPrefix+"sticky_parent"]&&(t.parent=".e-container, .elementor-widget-wrap, .e-con"),elementorFrontend.elements.$wpAdminBar);e.length&&"top"===t.to&&"fixed"===e.css("position")&&(t.offset+=e.height()),this.$element[this.stickyFunction](t)},getResponsiveSetting(e){var t=this.getElementSettings();return elementorFrontend.getCurrentDeviceSetting(t,e)},getResponsiveSettingList(t){return["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)].map(e=>e?t+"_"+e:t)},refresh(){this.run(!0)},reactivate(){this.deactivate(),this.activate()},deactivate(){this.isStickyInstanceActive()&&this.$element[this.stickyFunction]("destroy")},isStickyInstanceActive(){return void 0!==this.$element.data(this.stickyFunction)},onElementChange(e){var t=this.getElementSettings(this.settingPrefix+"sticky_on"),i=elementorFrontend.getCurrentDeviceMode();t?.includes(i)&&(-1!==[this.settingPrefix+"sticky",this.settingPrefix+"sticky_on"].indexOf(e)&&this.run(!0),-1!==[...this.getResponsiveSettingList(this.settingPrefix+"sticky_offset"),...this.getResponsiveSettingList(this.settingPrefix+"sticky_effects_offset"),this.settingPrefix+"sticky_parent"].indexOf(e))&&this.reactivate()},onDeviceModeChange(){setTimeout(this.refresh)},onDestroy(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()}});i.default=n},{}],18:[function(e,t,i){var n,s=(e=e("./sticky-script"))&&e.__esModule?e:{default:e};let a="ravenSticky";(n=jQuery).fn[a]=function(t){let i="string"==typeof t;return this.each(function(){if(i){var e=n(this).data(a);if(!e)throw Error("Trying to perform the `"+t+"` method prior to initialization");if(!e[t])throw ReferenceError("Method `"+t+"` not found in sticky instance");e[t].apply(e,Array.prototype.slice.call(arguments,1)),"destroy"===t&&n(this).removeData(a)}else n(this).data(a,new s.default(this,t))}),this},window[a]=s.default},{"./sticky-script":19}],19:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=class{constructor(e,t){this.prefix="raven",this.userSettings=t,this.element=e,this.$element=null,this.isSticky=!1,this.isFollowingParent=!1,this.isReachedEffectsPoint=!1,this.elements={},this.settings=null,this.defaultSettings={to:"top",offset:0,effectsOffset:0,parent:!1,classes:{sticky:"raven-sticky",stickyActive:"raven-sticky--active raven-section--handles-inside",stickyEffects:"raven-sticky--effects",spacer:"raven-sticky__spacer"}},this.init()}init(){this.initSettings(),this.initElements(),this.bindEvents(),this.checkPosition()}initSettings(){this.settings=jQuery.extend(!0,this.defaultSettings,this.userSettings)}initElements(){this.$element=jQuery(this.element).addClass(this.settings.classes.sticky),this.elements.$window=jQuery(window),this.settings.parent&&(this.elements.$parent=this.$element.parent(),"parent"!==this.settings.parent)&&(this.elements.$parent=this.elements.$parent.closest(this.settings.parent))}checkPosition(){var e,t=this.settings.offset;let i;this.isSticky?(e=this.getElementViewportOffset(this.elements.$spacer),i="top"===this.settings.to?e.top.fromTop-t:-e.bottom.fromBottom-t,this.settings.parent&&this.checkParent(),0<i&&this.unstick()):(e=this.getElementViewportOffset(this.$element),(i="top"===this.settings.to?e.top.fromTop-t:-e.bottom.fromBottom-t)<=0&&(this.stick(),this.settings.parent)&&this.checkParent()),this.checkEffectsPoint(i)}backupCSS(e,t,i){let n=e[0].style,s={};i.forEach(e=>{s[e]=void 0!==n[e]?n[e]:""}),e.data(this.prefix+"-css-backup-"+t,s)}getCSSBackup(e,t){return e.data(this.prefix+"-css-backup-"+t)}addSpacer(){this.elements.$spacer=this.$element.clone().addClass(this.settings.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),this.$element.after(this.elements.$spacer)}removeSpacer(){this.elements.$spacer.remove()}stickElement(){this.backupCSS(this.$element,"unsticky",["position","width","margin-top","margin-bottom","top","bottom"]);var e={position:"fixed",width:this.getElementOuterSize(this.$element,"width"),marginTop:0,marginBottom:0};e[this.settings.to]=this.settings.offset,e["top"===this.settings.to?"bottom":"top"]="",this.$element.css(e).addClass(this.settings.classes.stickyActive)}unstickElement(){this.$element.css(this.getCSSBackup(this.$element,"unsticky")).removeClass(this.settings.classes.stickyActive)}followParent(){this.backupCSS(this.elements.$parent,"childNotFollowing",["position"]),this.elements.$parent.css("position","relative"),this.backupCSS(this.$element,"notFollowing",["position","top","bottom"]);var e={position:"absolute"};e[this.settings.to]="",e["top"===this.settings.to?"bottom":"top"]=0,this.$element.css(e),this.isFollowingParent=!0}unfollowParent(){this.elements.$parent.css(this.getCSSBackup(this.elements.$parent,"childNotFollowing")),this.$element.css(this.getCSSBackup(this.$element,"notFollowing")),this.isFollowingParent=!1}getElementOuterSize(e,t,i){let n=window.getComputedStyle(e[0]),s="height"===t?["top","bottom"]:["left","right"],a=parseFloat(n[t]);e=[];return"border-box"!==n.boxSizing&&e.push("border","padding"),i&&e.push("margin"),e.forEach(t=>{s.forEach(e=>{a+=parseFloat(n[t+"-"+e])})}),a}getElementViewportOffset(e){var t=this.elements.$window.scrollTop(),i=this.getElementOuterSize(e,"height"),n=window.innerHeight,e=e.offset().top-t,t=e-n;return{top:{fromTop:e,fromBottom:t},bottom:{fromTop:e+i,fromBottom:t+i}}}stick(){this.addSpacer(),this.stickElement(),this.isSticky=!0,this.$element.trigger(this.prefix+"Sticky:stick")}unstick(){this.unstickElement(),this.removeSpacer(),this.isSticky=!1,this.$element.trigger(this.prefix+"Sticky:unstick")}checkParent(){var e,t,i=this.getElementViewportOffset(this.$element),n="top"===this.settings.to;this.isFollowingParent?(n?i.top.fromTop>this.settings.offset:i.bottom.fromBottom<-this.settings.offset)&&this.unfollowParent():(t=this.getElementViewportOffset(this.elements.$parent),e=window.getComputedStyle(this.elements.$parent[0]),e=parseFloat(e[n?"borderBottomWidth":"borderTopWidth"]),t=n?t.bottom.fromTop-e:t.top.fromBottom+e,(n?t<=i.bottom.fromTop:t>=i.top.fromBottom)&&this.followParent())}checkEffectsPoint(e){this.isReachedEffectsPoint&&-e<this.settings.effectsOffset?(this.$element.removeClass(this.settings.classes.stickyEffects),this.isReachedEffectsPoint=!1):!this.isReachedEffectsPoint&&-e>=this.settings.effectsOffset&&(this.$element.addClass(this.settings.classes.stickyEffects),this.isReachedEffectsPoint=!0)}bindEvents(){this.scrollHandler=this.onWindowScroll.bind(this),this.resizeHandler=this.onWindowResize.bind(this),this.elements.$window.on({scroll:this.scrollHandler,resize:this.resizeHandler})}unbindEvents(){this.elements.$window.off("scroll",this.scrollHandler).off("resize",this.resizeHandler)}onWindowScroll(){this.checkPosition()}onWindowResize(){this.isSticky&&(this.unstickElement(),this.stickElement(),this.settings.parent)&&(this.isFollowingParent=!1,this.checkParent())}destroy(){this.isSticky&&this.unstick(),this.unbindEvents(),this.$element.removeClass(this.settings.classes.sticky)}}},{}],20:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=((e=e("./module"))&&e.__esModule?e:{default:e}).default.extend({$clickedItem:null,getDefaultSettings(){return{classes:{fetching:"raven-pagination-fetching",disabled:"raven-pagination-disabled",reading:"raven-pagination-reading",spinner:"raven-pagination-spinner",activePage:"raven-pagination-active",item:"raven-pagination-item",pageNum:"raven-pagination-num",prevButton:"raven-pagination-prev",nextButton:"raven-pagination-next"},selectors:{activePage:".raven-pagination-active",pageNum:".raven-pagination-num",prevButton:".raven-pagination-prev",nextButton:".raven-pagination-next",spinner:".raven-pagination-spinner"},isEnabled:!0,activePage:1,totalPages:this.getElementSettings("total_pages"),pagesVisible:this.getElementSettings("pages_visible")}},getDefaultElements(){var e=this.getSettings("selectors");return{$prevButton:this.$element.find(e.prevButton),$nextButton:this.$element.find(e.nextButton)}},bindEvents(){this.$element.on("click",this.getSettings("selectors.pageNum"),this.handlePageNum),this.elements.$prevButton.on("click",this.handlePrev),this.elements.$nextButton.on("click",this.handleNext)},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments)},getTotalPages(){return parseInt(this.getSettings("totalPages"))},setTotalPages(e){this.setSettings("totalPages",parseInt(e))},getPagesVisible(){return parseInt(this.getSettings("pagesVisible"))},getActivePage(){return parseInt(this.getSettings("activePage"))},setActivePage(e){this.setSettings("activePage",parseInt(e))},setEnabled(e){this.setSettings("isEnabled",e)},isEnabled(){return this.getSettings("isEnabled")},recreatePagination(e,t=1){this.setTotalPages(e),this.setActivePage(t),this.renderUpdate()},renderUpdate(){var e=this.getSettings("classes"),t=this.getSettings("selectors");this.$element.removeClass(e.fetching),this.$clickedItem&&(this.$clickedItem.find(t.spinner).remove(),this.$clickedItem.removeClass(e.reading),this.$clickedItem=null),this.setEnabled(!0),this.renderNumbers(),this.updatePrevNext()},renderNumbers(){var e=this.getPages();if(e.length){var i=this.getSettings("selectors");let t=[];e.forEach(e=>{t.push(this.numberTemplate(e))}),this.$element.find(i.pageNum).remove(),this.elements.$prevButton.after(t)}},numberTemplate(e){var t=this.getSettings("classes"),i=$("<a></a>");return i.addClass(t.pageNum),i.addClass(t.item),i.toggleClass(t.activePage,e===this.getActivePage()),i.attr("href","#"),i.attr("data-page-num",e),i.html(e),i},updateActivePage(e){var t=this.getSettings("classes");this.$element.addClass(t.fetching),this.$clickedItem&&(this.$clickedItem.addClass(t.reading),this.$clickedItem.append(`<span class="${t.spinner}"></span>`)),this.setEnabled(!1),this.setActivePage(e)},updatePrevNext(){var e,t,i;this.getPages().length&&(e=this.getSettings("classes"),t=this.getActivePage(),i=this.getTotalPages(),this.elements.$prevButton.toggleClass(e.disabled,t<=1),this.elements.$nextButton.toggleClass(e.disabled,i<=t))},handlePageNum(e){e.preventDefault();var e=$(e.target),t=parseInt(e.data("page-num"));this.getActivePage()!==t&&this.triggerPagination(e,t)},handlePrev(e){e.preventDefault();var t=this.getSettings("classes"),e=$(e.target),i=this.getActivePage()-1;1<=i&&!e.hasClass(t.disabled)&&this.triggerPagination(e,i)},handleNext(e){e.preventDefault();var t=this.getSettings("classes"),e=$(e.target),i=this.getTotalPages(),n=this.getActivePage()+1;n<=i&&!e.hasClass(t.disabled)&&this.triggerPagination(e,n)},triggerPagination(e,t){this.isEnabled()&&(this.$clickedItem=e,this.updateActivePage(t),this.handlePagination(t))},getPages(){var e=this.getActivePage(),t=this.getPagesVisible(),i=this.getTotalPages(),n=[],s=Math.floor(t/2);let a=e-s,o=e+s,r=(a<=0&&(a=1,o=t),o>i&&(o=i),a);for(;r<=o;)n.push(r),r++;return n},handlePagination(){this.renderUpdate()}});i.default=e},{"./module":9}],21:[function(e,t,i){function n(){var e,n,r,l,i,t,d=window,c=document;function u(e,t){this.scrollLeft=e,this.scrollTop=t}function s(e){if(null===e||"object"!=typeof e||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"==typeof e&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function a(e,t){return"Y"===t?e.clientHeight+i<e.scrollHeight:"X"===t?e.clientWidth+i<e.scrollWidth:void 0}function o(e,t){e=d.getComputedStyle(e,null)["overflow"+t];return"auto"===e||"scroll"===e}function p(e){for(var t,i;!1===((e=e.parentNode)===c.body)&&!1===(i=void 0,i=a(t=e,"Y")&&o(t,"Y"),t=a(t,"X")&&o(t,"X"),i||t););return e}function h(e){var t,i=l(),i=1<(i=(i-e.startTime)/n)?1:i,i=.5*(1-Math.cos(Math.PI*i));e.method.call(e.scrollable,t=e.startX+(e.x-e.startX)*i,i=e.startY+(e.y-e.startY)*i),t===e.x&&i===e.y||d.requestAnimationFrame(h.bind(d,e))}function m(e,t,i){var n,s,a,o=l(),e=e===c.body?(s=(n=d).scrollX||d.pageXOffset,a=d.scrollY||d.pageYOffset,r.scroll):(s=(n=e).scrollLeft,a=e.scrollTop,u);h({scrollable:n,method:e,startTime:o,startX:s,startY:a,x:t,y:i})}"scrollBehavior"in c.documentElement.style&&!0!==d.__forceSmoothScrollPolyfill__||(e=d.HTMLElement||d.Element,n=468,r={scroll:d.scroll||d.scrollTo,scrollBy:d.scrollBy,elementScroll:e.prototype.scroll||u,scrollIntoView:e.prototype.scrollIntoView},l=d.performance&&d.performance.now?d.performance.now.bind(d.performance):Date.now,t=d.navigator.userAgent,i=new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(t)?1:0,d.scroll=d.scrollTo=function(){void 0!==arguments[0]&&(!0===s(arguments[0])?r.scroll.call(d,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:d.scrollX||d.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:d.scrollY||d.pageYOffset):m.call(d,c.body,void 0!==arguments[0].left?~~arguments[0].left:d.scrollX||d.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:d.scrollY||d.pageYOffset))},d.scrollBy=function(){void 0!==arguments[0]&&(s(arguments[0])?r.scrollBy.call(d,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(d,c.body,~~arguments[0].left+(d.scrollX||d.pageXOffset),~~arguments[0].top+(d.scrollY||d.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0===s(arguments[0])){if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}else{var e=arguments[0].left,t=arguments[0].top;m.call(this,this,void 0===e?this.scrollLeft:~~e,void 0===t?this.scrollTop:~~t)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0===s(arguments[0])?r.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop):this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}))},e.prototype.scrollIntoView=function(){var e,t,i;!0===s(arguments[0])?r.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]):(t=(e=p(this)).getBoundingClientRect(),i=this.getBoundingClientRect(),e!==c.body?(m.call(this,e,e.scrollLeft+i.left-t.left,e.scrollTop+i.top-t.top),"fixed"!==d.getComputedStyle(e).position&&d.scrollBy({left:t.left,top:t.top,behavior:"smooth"})):d.scrollBy({left:i.left,top:i.top,behavior:"smooth"}))})}"object"==typeof i&&void 0!==t&&(t.exports={polyfill:n}),n()},{}],22:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=((e=e("./module"))&&e.__esModule?e:{default:e}).default.extend({$clickedItem:null,getDefaultSettings(){return{classes:{fetching:"raven-sortable-fetching",reading:"raven-sortable-reading",spinner:"raven-sortable-spinner",activeItem:"raven-sortable-active"},selectors:{item:".raven-sortable-item",activeItem:".raven-sortable-active",spinner:".raven-sortable-spinner"},activeID:-1,isEnabled:!0}},getDefaultElements(){return{}},bindEvents(){this.$element.on("click",this.getSettings("selectors.item"),this.handleItemClick)},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments)},getActiveID(){return parseInt(this.getSettings("activeID"))},setActiveID(e){this.setSettings("activeID",parseInt(e))},setEnabled(e){this.setSettings("isEnabled",e)},isEnabled(){return this.getSettings("isEnabled")},renderUpdate(){var e=this.getSettings("classes"),t=this.getSettings("selectors");this.$element.removeClass(e.fetching),this.$element.find(t.activeItem).removeClass(e.activeItem),this.$clickedItem&&(this.$clickedItem.find(t.spinner).remove(),this.$clickedItem.removeClass(e.reading),this.$clickedItem.addClass(e.activeItem),this.$clickedItem=null),this.setEnabled(!0)},updateActiveItem(e){var t=this.getSettings("classes");this.$element.addClass(t.fetching),this.$clickedItem&&(this.$clickedItem.addClass(t.reading),this.$clickedItem.append(`<span class="${t.spinner}"></span>`)),this.setEnabled(!1),this.setActiveID(e)},handleItemClick(e){e.preventDefault();var e=$(e.target),t=parseInt(e.data("category")),i=this.getActiveID(),n=this.urlAnalyze();i!==t&&this.triggerSort(e,t),-1===i&&n.category&&-1!==n.category&&this.triggerSort(e,t)},triggerSort(e,t){this.isEnabled()&&(this.$clickedItem=e,this.updateActiveItem(t),this.handleSort(t))},handleSort(){this.renderUpdate()},urlAnalyze(){var e=new URL(window.location.href);return"1"===e.searchParams.get("jupiterx_filters")&&{paged:e.searchParams.get("jupiterx_page")?Number(e.searchParams.get("jupiterx_page")):1,category:e.searchParams.get("category")?Number(e.searchParams.get("category")):-1}}});i.default=e},{"./module":9}],23:[function(e,t,i){var r=(e=e("tippy.js"))&&e.__esModule?e:{default:e};let l=jQuery,d={widgetEditorSettings:i=>{let e,n={};if(!window.elementor.hasOwnProperty("elements"))return!1;if(!(e=window.elementor.elements).models)return!1;let s=!1;return l.each(e.models,function(e,t){"container"===t.attributes.elType&&(s=!0),l.each(t.attributes.elements.models,function(e,t){l.each(t.attributes.elements.models,function(e,t){i===t.id&&(n=t.attributes.settings.attributes)})})}),s&&l.each(e.models,function(e,t){l.each(t.attributes.elements.models,function(e,t){i===t.id&&(n=t.attributes.settings.attributes)})}),{tooltip:n.jupiter_widget_tooltip||"false",tooltipDescription:n.jupiter_widget_tooltip_description||"Lorem Ipsum",tooltipPlacement:n.jupiter_widget_tooltip_placement||"top",tooltipArrow:"yes"===n.jupiter_widget_tooltip_arrow,xOffset:n.jupiter_widget_tooltip_x_offset||0,yOffset:n.jupiter_widget_tooltip_y_offset||0,tooltipAnimation:n.jupiter_widget_tooltip_animation||"shift-toward",tooltipTrigger:n.jupiter_widget_tooltip_trigger||"mouseenter",customSelector:n.jupiter_widget_tooltip_custom_selector||"",zIndex:n.jupiter_widget_tooltip_z_index||"999",delay:n.jupiter_widget_tooltip_delay||"0",triggerTarget:l(n.jupiter_widget_tooltip_custom_selector)}},jupiterTooltipInstance(e){var t=e.data("id"),i=e[0],n=Boolean(elementorFrontend.isEditMode()),s=i;let o={},a=[];if(!l(i).hasClass("jet-tooltip-widget"))return o=n?d.widgetEditorSettings(t):e.data("jupiter-tooltip-settings"),i._tippy&&i._tippy.destroy(),!!o&&void 0!==o&&"true"===o.tooltip&&void 0!==o.tooltip&&""!==o.tooltipDescription&&(e.addClass("jupiter-tooltip-widget"),o.customSelector&&(a=l(o.customSelector)),n&&!l("#jupiter-tooltip-content-"+t)[0]&&((t=l("<div>",{id:"jupiter-tooltip-content-"+t,class:"jupiter-tooltip-widget__content"})).html(o.tooltipDescription),e.append(t)),(0,r.default)([s],{content:e.find(".jupiter-tooltip-widget__content")[0]?.innerHTML,allowHTML:!0,appendTo:i,arrow:!!o.tooltipArrow,placement:o.tooltipPlacement,offset:[o.xOffset,o.yOffset],animation:o.tooltipAnimation,trigger:o.tooltipTrigger,triggerTarget:0<a.length?[...a]:null,interactive:!0,zIndex:o.zIndex,maxWidth:"none",delay:o.delay.size||0,popperOptions:{strategy:"fixed"},onMount(e){var t=l("#tippy-"+e.id+" .tippy-box[data-placement^=top]>.tippy-arrow"),i=l("#tippy-"+e.id+" .tippy-box[data-placement^=bottom]>.tippy-arrow"),n=l("#tippy-"+e.id+" .tippy-box[data-placement^=left]>.tippy-arrow"),s=l("#tippy-"+e.id+" .tippy-box[data-placement^=right]>.tippy-arrow"),a=l("#tippy-"+e.id+" .tippy-box");switch(o.tooltipPlacement){case"top-start":case"top":case"top-end":t.css("bottom","-"+a.css("border-bottom-width"));break;case"right-start":case"right":case"right-end":s.css("left","-"+a.css("border-left-width"));break;case"bottom-start":case"bottom":case"bottom-end":i.css("top","-"+a.css("border-top-width"));break;case"left-start":case"left":case"left-end":n.css("right","-"+a.css("border-right-width"))}}}),void(n&&i._tippy&&i._tippy.show()))}};elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){d.jupiterTooltipInstance(e)})},{"tippy.js":112}],24:[function(e,t,i){let n={RavenWrapperLinkInstance(a){a.data("raven-element-link")&&a.on("click.onWrapperLink",()=>{var e=a.data("raven-element-link"),t=a.data("id"),i=document.createElement("a");/^https?:\/\//i.test(e.url)||(e.url="http://"+e.url),i.id="raven-wrapper-link-"+t,i.href=e.url,i.target=e.is_external?"_blank":"_self",i.rel=e.nofollow?"nofollow noreferer":"",i.style.display="none",document.body.appendChild(i);let n=document.getElementById(i.id),s=(n.click(),setTimeout(()=>{document.body.removeChild(n),clearTimeout(s)}))})}};elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){n.RavenWrapperLinkInstance(e)})},{}],25:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};$=jQuery;let n=e.default.extend({getDefaultSettings(){return{selectors:{wrapper:".raven-product-add-to-cart",cartForm:"form.cart",tableBody:"tbody",singleVariationWrapper:".single_variation_wrap",variationFormHolder:".raven-variations-form-holder",qty:".quantity > div",plusMinus:".plus-minus-btn",qtyInput:".quantity .raven-qty-button-holder-inner input[type=number]",qtyInputText:".quantity input[type=text]",formResetButton:".artbees-was-reset-options"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$wrapper:this.$element.find(e.wrapper),$cartForm:this.$element.find(e.cartForm),$tableBody:this.$element.find(e.tableBody),$singleVariationWrapper:this.$element.find(e.singleVariationWrapper),$variationFormHolder:this.$element.find(e.variationFormHolder),$qty:this.$element.find(e.qty),$plusMinus:this.$element.find(e.plusMinus),$qtyInput:this.$element.find(e.qtyInput),$qtyInputText:this.$element.find(e.qtyInputText),$formResetButton:this.$element.find(e.formResetButton)}},bindEvents(){this.detectSellKitSwatch(),this.detectPlusMinus(),this.detectInputFocused(),this.removeInputSpinner(),this.moveResetButtonToTableBody(),this.onResetClearButton(),this.addDummyPriceToEditor(),0<this.$element.find(".sellkit-pro-deactive").length&&this.fixResetButtonIcon()},detectSellKitSwatch(){var e;this.isElementorEditor()&&(e=new CustomEvent("sellkitpro:swatches"),document.dispatchEvent(e))},detectPlusMinus(){this.elements.$plusMinus.on("click",e=>{var e=$(e.currentTarget),t=e.closest("form.cart").find(".qty"),i=parseFloat(t.attr("max")),n=parseFloat(t.attr("min")),s=parseFloat(t.attr("step"));let a=parseFloat(t.val());this.elements.$wrapper.hasClass("raven-product-grouped")&&isNaN(a)&&(a=0),e.is(".plus")?i&&i<=a?t.val(i):t.val(a+s):e.is(".minus")&&(n&&n>=a?t.val(n):1<a&&t.val(a-s))})},detectInputFocused(){this.elements.$qtyInput.on("focus",e=>{$(e.currentTarget).closest(".raven-qty-button-holder-inner").addClass("focused")}),this.elements.$qtyInput.on("focusout",e=>{$(e.currentTarget).closest(".raven-qty-button-holder-inner").removeClass("focused")})},removeInputSpinner(){this.elements.$qty.removeClass("input-group"),this.elements.$qty.removeClass("qty"),this.elements.$qty.find(".input-group-prepend").remove(),this.elements.$qty.find(".input-group-append").remove(),this.elements.$qtyInputText.attr("type","number")},moveResetButtonToTableBody(){var e=this.elements.$formResetButton;this.elements.$formResetButton.remove(),this.elements.$tableBody.append(e)},onResetClearButton(){0!==this.elements.$formResetButton.length&&this.elements.$formResetButton[0].addEventListener("click",()=>{var e=document.getElementsByClassName("artbees-was-content");e&&Object.entries(e).forEach(e=>{e[1].classList.remove("selected-attribute")})})},addDummyPriceToEditor(){if(this.isVariableProduct()&&$("form.variations_form.cart").wc_variation_form(),this.isElementorEditor()&&this.isVariableProduct()&&!this.hasDefaultAttributes()){let e="";var t='<div class="raven-dummy-price woocommerce-variation-price"><span class="price"><span class="woocommerce-Price-amount amount"><bdi><span class="woocommerce-Price-currencySymbol">$</span>'+(e=(e=this.elements.$wrapper.data("price")?parseFloat(this.elements.$wrapper.data("price")).toFixed(2):e)||20)+"</bdi></span></span></div>";this.elements.$singleVariationWrapper.prepend(t),this.elements.$variationFormHolder.change(()=>{this.$element.find(".raven-dummy-price").hide()})}},fixResetButtonIcon(){var e=this.$element.find("#jupiterx-clear-variable-button-single-page"),t=e.text();e.wrapInner("<span>"),e.find("span").before('<i class="fa fa-refresh"></i>'),e.find("span").text(t)},isElementorEditor(){return document.body.classList.contains("elementor-editor-active")},isVariableProduct(){if(0!==this.elements.$cartForm.length)return this.elements.$cartForm[0].classList.contains("variations_form")},hasDefaultAttributes(){return 0!==this.$element.find(".has-default-attributes").length}})},{"../utils/module":9}],26:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let r=jQuery,n=e.default.extend({onInit(){this.accordionOnClick()},accordionOnClick(){let a=!1,e=this.getElementSettings(),o=this;e.collapsible&&"yes"===e.collapsible&&(a=!0),r(".jx-single-accordion-header").off().on("click",function(){var e=r(this).parents(".jupiterx-single-advanced-accordion-wrapper"),t=e.find(".jx-single-accordion-body"),i=t.css("display"),n=r(this).parents(".jupiterx-advanced-accordion-wrapper").find(".jx-single-accordion-body");let s;""!==i&&"none"!==i||(a&&n.slideUp("fast").addClass("jx-ac-body-none").removeClass("jx-ac-body-block").parent().addClass("jx-ac-inactive").removeClass("jx-ac-active"),t.slideDown("fast"),e.addClass("jx-ac-active").removeClass("jx-ac-inactive"),s=!1),"block"!==i||a||(t.slideUp("fast"),e.addClass("jx-ac-inactive").removeClass("jx-ac-active"),s=!0),s||o.handleScrollToContent(t),e.hasClass("jx-ac-last")&&(s&&e.find(".jx-single-accordion-header").removeClass("border-not-radius"),s||(e.find(".jx-single-accordion-header").addClass("border-not-radius"),e.find(".jx-single-accordion-body").addClass("border-is-radius")))})},handleScrollToContent(n){if("yes"===this.getElementSettings("scroll_to_content")){let e=0,t=(0<r("#wpadminbar").length&&(e=r("#wpadminbar").height()),this.getElementSettings("scrolling_delay")),i=this.getElementSettings("content_offset");setTimeout(()=>{r("html, body").animate({scrollTop:n.offset().top-i.size-e},t)},200)}}})},{"../utils/module":9}],27:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let u=jQuery,n=e.default.extend({mainLayout:null,mobileLayout:null,isRtl:!1,widgetParents:{},getDefaultSettings(){return{selectors:{menus:"ul.raven-adnav-menu",mainNav:"nav.raven-adnav-menu-main",mainMenu:"nav.raven-adnav-menu-main ul.raven-adnav-menu",mobileNav:"nav.raven-adnav-menu-mobile",mobileMenu:"nav.raven-adnav-menu-mobile ul.raven-adnav-menu",inPageMenuItems:'a[href*="#"]',toggleButton:".raven-adnav-menu-toggle-button",closeButton:".raven-adnav-menu-close-button",rootListItems:"ul.raven-adnav-menu > li",submenuLinks:"ul.raven-adnav-menu .submenu a"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$body:u("body"),$menus:this.$element.find(e.menus),$mainNav:this.$element.find(e.mainNav),$mainMenu:this.$element.find(e.mainMenu),$mobileNav:this.$element.find(e.mobileNav),$mobileMenu:this.$element.find(e.mobileMenu),$inPageMenuItems:this.$element.find(e.inPageMenuItems),$toggleButton:this.$element.find(e.toggleButton),$closeButton:this.$element.find(e.closeButton),$rootListItems:this.$element.find(e.rootListItems),$submenuLinks:this.$element.find(e.submenuLinks),$elementorElement:this.$element.closest(".elementor-element"),$parentSegment:this.$element.parentsUntil("div.jupiterx-site").last()}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.mainLayout=this.elements.$mainNav.attr("data-layout"),this.mobileLayout=!!this.elements.$mobileNav.length&&this.elements.$mobileNav.attr("data-layout"),this.isRtl=u("body").hasClass("rtl"),this.initWidth=0===window.orientation||0===window.screen.orientation.angle?u(window).width():u(window).height(),this.isEdit&&"section_submenu"===elementor.panel.currentView.currentPageView.activeSection&&this.onSectionActivated("section_submenu"),this.deactivateMenu(),u(window).off("resize",this.deactivateMenu.bind(this)).on("resize",this.deactivateMenu.bind(this)),this.widgetParents={widget:this.$element,column:this.getParentColumn(),section:this.getParentSection(),container:this.getParentContainer()},this.initMainSmartMenu(),this.initMobileSmartMenu(),this.updateActiveListItems(),this.inPageMenuClick(),this.mobileMenuScroll(),this.handleLinksOnSubmenu(),this.bindEmptyHrefGuard()},bindEvents(){var e,t=this.elements.$mainNav.attr("data-layout"),t=("dropdown"===t&&this.elements.$toggleButton.on("click",this.toggleDropdown.bind(this)),"offcanvas"===t&&(this.elements.$toggleButton.on("click",this.toggleMenu.bind(this)),this.elements.$closeButton.on("click",this.toggleMenu.bind(this)),this.elements.$menus.on("select.smapi",this.onSideMenuItemClick.bind(this)),t=this.getElementSettings("offcanvas_appear_effect"),this.elements.$body.addClass("raven-adnav-menu-effect-"+t),this.elements.$toggleButton.on("click",this.doSideMenuEffects.bind(this)),this.elements.$closeButton.on("click",this.doSideMenuEffects.bind(this))),this.elements.$mobileNav.attr("data-layout"));"dropdown"===t?this.elements.$toggleButton.on("click",this.toggleDropdown.bind(this)):"side"===t?(this.elements.$toggleButton.on("click",this.toggleMenu.bind(this)),this.elements.$closeButton.on("click",this.toggleMenu.bind(this)),this.elements.$menus.on("select.smapi",this.onSideMenuItemClick.bind(this)),e=this.getElementSettings("side_menu_effect"),this.elements.$body.addClass("raven-adnav-menu-effect-"+e),this.elements.$toggleButton.on("click",this.doSideMenuEffects.bind(this)),this.elements.$closeButton.on("click",this.doSideMenuEffects.bind(this))):("full-screen"===t&&(this.elements.$toggleButton.on("click",this.toggleMenu.bind(this)),this.elements.$closeButton.on("click",this.toggleMenu.bind(this))),this.elements.$menus.on("show.smapi",(e,t)=>{t=u(t),t=t.dataSM?t.dataSM("parent-a"):null;t&&t.length&&(t.addClass("submenu-opened"),t.closest("li").addClass("submenu-opened"))}),this.elements.$menus.on("hide.smapi",(e,t)=>{t=u(t),t=t.dataSM?t.dataSM("parent-a"):null;t&&t.length&&(t.removeClass("submenu-opened"),t.closest("li").removeClass("submenu-opened"))}))},initMainSmartMenu(){let e={subIndicators:!1,rightToLeftSubMenus:this.isRtl},s=getComputedStyle(this.$element[0]).getPropertyValue("--submenu-spacing")&&this.$element?.css("--submenu-spacing")?parseInt(this.$element?.css("--submenu-spacing")):0;if("horizontal"===this.mainLayout||"vertical"===this.mainLayout){let i=this.elements.$elementorElement,n=this.getElementSettings("content_effect_content_overlay");0!==u(i[0]).parents(".jupiterx-header")&&"enabled"===n&&"horizontal"===this.mainLayout&&0===u(".jupiterx-main").find(".jupiterx-advanced-nav-content-effect-enabled-overlay").length&&u(".jupiterx-main").append('<div class="jupiterx-advanced-nav-content-effect-enabled-overlay"></div>'),e={...e,hideTimeout:300,hideFunction:e=>{e.removeClass("submenu-shown"),setTimeout(()=>{e.css("display","none"),"horizontal"===this.mainLayout&&(this.handleContentEffectsBlur("remove"),this.handleContentEffectsOverlay("remove"))},0)},showTimeout:0,showFunction:e=>{var t;this.setSubmenuWidth(e,s),this.setSubmenuPosition(e),e.css("display","block"),"horizontal"===this.mainLayout&&(t=this.getElementSettings("content_effect_blur_content"),0===u(i[0]).parents(".jupiterx-header")||"enabled"!==n&&"enabled"!==t||0===u(".jupiterx-main").find(".jupiterx-advanced-nav-content-effect-enabled-overlay").length&&u(".jupiterx-main").append('<div class="jupiterx-advanced-nav-content-effect-enabled-overlay"></div>'),"enabled"!==n&&"enabled"!==t||this.elements.$body[0].classList.add("jupiterx-advanced-nav-content-effect-enabled")),setTimeout(()=>{e.addClass("submenu-shown"),"horizontal"===this.mainLayout&&(this.handleContentEffectsBlur("add"),this.handleContentEffectsOverlay("add"))})},showOnClick:"click"===this.getElementSettings("submenu_trigger"),subMenusMinWidth:"0",subMenusMaxWidth:"110vw"}}"horizontal"===this.mainLayout&&(e={...e,bottomToTopSubMenus:"top"===this.getElementSettings("submenu_opening_position"),mainMenuSubOffsetY:s}),"vertical"===this.mainLayout&&this.elements.$mainMenu.addClass("sm-vertical"),this.elements.$mainMenu.smartmenus(e)},handleContentEffectsOverlay(e){var t,i=this.elements.$elementorElement;i[0].classList.contains("raven-blur-content-overlay-enabled")&&0!==u(i[0]).parents(".jupiterx-header").length&&(t=this.getElementSettings("content_effect_content_overlay"),0!==u(i[0]).parents(".jupiterx-header")&&"enabled"===t&&this.elements.$body[0].classList.add("jupiterx-advanced-nav-overlay-enabled"),"remove"===e?(this.elements.$body[0].classList.remove("jupiterx-advanced-nav-overlay-enabled"),u(".jupiterx-advanced-nav-content-effect-enabled-overlay").removeClass("jupiterx-advanced-nav-overlay-activated")):u(".jupiterx-advanced-nav-content-effect-enabled-overlay").addClass("jupiterx-advanced-nav-overlay-activated"))},handleContentEffectsBlur(e){var t=this.elements.$elementorElement;t[0].classList.contains("raven-blur-content-enabled")&&0!==u(t[0]).parents(".jupiterx-header").length&&(t=this.getElementSettings("content_effect_blur_intensity")?.size||5,"remove"===e?(u(".jupiterx-advanced-nav-content-effect-enabled-overlay").css("backdrop-filter",""),u(".jupiterx-advanced-nav-content-effect-enabled-overlay").removeClass("jupiterx-advanced-nav-overlay-activated")):(u(".jupiterx-advanced-nav-content-effect-enabled-overlay").addClass("jupiterx-advanced-nav-overlay-activated"),u(".jupiterx-advanced-nav-content-effect-enabled-overlay").css("backdrop-filter",`blur(${t}px)`)))},initMobileSmartMenu(){var e;this.elements.$mobileMenu.length&&(e={subIndicators:!1,subMenusMaxWidth:"1500px",rightToLeftSubMenus:this.isRtl,hideOnClick:!1,showOnClick:!0,collapsibleBehavior:"default"},this.elements.$mobileMenu.smartmenus(e))},toggleDropdown(){this.elements.$toggleButton.find(".hamburger").toggleClass("is-active"),"dropdown"===this.mainLayout?this.elements.$mainNav.slideToggle(250):(this.dropdownFullWidth(),this.elements.$mobileNav.slideToggle(250),this.dropdownFullWidth())},dropdownFullWidth(){var e,t,i=this.elements.$mobileNav;"stretch"===this.getElementSettings("full_width")&&(t=i[0]?.getBoundingClientRect().x,this.elements.$mobileNav.css("width",this.$element.closest("body")[0].getBoundingClientRect().width+"px").css("left",-t+"px"),t=this.elements.$elementorElement,e=this.elements.$toggleButton,t=t.offset().top+t.outerHeight()-e.offset().top,i.css("top",t))},doSideMenuEffects(){var t="offcanvas"===this.mainLayout;if("overlay"===this.getElementSettings(t?"offcanvas_appear_effect":"side_menu_effect"))this.elements.$body.hasClass("raven-adnav-menu-effect-overlayed")?(this.elements.$body.toggleClass("raven-adnav-menu-effect-overlayed"),this.togglePrepareParentForPushEffect(!1)):(this.elements.$body.addClass("raven-adnav-menu-effect-overlayed"),this.togglePrepareParentForPushEffect());else{var i=this.getElementSettings(t?"offcanvas_position":"side_menu_alignment");let e=parseInt(this.$element.css(t?"--offcanvas-box-width":"--menu-container-width"))||250;"right"===i&&(e=`-${e}px`),this.elements.$body.hasClass("raven-adnav-menu-effect-pushed")?(this.elements.$body.removeClass("raven-adnav-menu-effect-pushed").removeAttr("style"),this.togglePrepareParentForPushEffect(!1)):(t=this.isRtl?"margin-right":"margin-left",this.elements.$body.addClass("raven-adnav-menu-effect-pushed").css(t,e),this.togglePrepareParentForPushEffect())}},togglePrepareParentForPushEffect(e=!0){e?this.elements.$parentSegment.addClass("raven-adnav-menu-parent-segment").css("--adnav-menu-overlay-color",this.getElementSettings("offcanvas_overlay_color")):this.elements.$parentSegment.removeClass("raven-adnav-menu-parent-segment")},toggleMenu(){var e="offcanvas"===this.mainLayout?this.elements.$mainNav:this.elements.$mobileNav;e.toggleClass("raven-adnav-menu-active"),"full-screen"===this.mobileLayout&&this.elements.$body.toggleClass("raven-adnav-menu-effect-overlayed"),e.hasClass("raven-adnav-menu-active")?e.parents(".animated").addClass("raven-adnav-menu-parents-animation"):e.parents(".animated").removeClass("raven-adnav-menu-parents-animation"),0!==this.elements.$toggleButton.find(".hamburger").length&&this.elements.$toggleButton.find(".hamburger").toggleClass("is-active")},mobileMenuScroll(){let n=document.querySelectorAll(".raven-adnav-menu-mobile.raven-adnav-menu-full-screen"),s=null;for(let i=0;i<n.length;i++)n[i].addEventListener("touchstart",function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},{capture:!1,passive:!0}),n[i].addEventListener("touchmove",function(e){var t;1===e.targetTouches.length&&(t=e.targetTouches[0].clientY-s,0===n[i].scrollTop&&0<t&&e.cancelable&&0===u(e.target).parents(".raven-container").length&&e.preventDefault(),n[i].scrollHeight-n[i].scrollTop<=n[i].clientHeight)&&t<0&&e.cancelable&&0===u(e.target).parents(".raven-container").length&&e.preventDefault()},{capture:!1,passive:!0})},handleLinksOnSubmenu(){this.elements.$submenuLinks.on("click",e=>{e.stopPropagation()})},bindEmptyHrefGuard(){var e=this.elements.$mobileMenu;e.length&&e.off("click.adnavGuard").on("click.adnavGuard","a.raven-menu-item.has-submenu",function(e){var t=(u(e.currentTarget).attr("href")||"").trim().toLowerCase();""!==t&&"#"!==t&&"javascript:void(0)"!==t&&"javascript:;"!==t||e.preventDefault()})},inPageMenuClick(){let c=this;this.elements.$inPageMenuItems.on("click",t=>{var i=u(t.currentTarget).prop("href");let e=null;try{e=new window.URL(i)}catch(e){return}if(e.hash&&e.pathname===window.location.pathname){t.preventDefault(),c.deactivateMenu(),c.changeHamburgerState(!1),window.history.pushState(null,null,e.hash);i=u(e.hash);if(0!==i.length){var{behavior:t,overlap:n,position:s,template:a,stickyTemplate:o}=u(".jupiterx-header").data("jupiterx-settings"),o="sticky"===t&&(!o||o!==a),a=0<u(".jupiterx-header-sticked").length,r=u(".jupiterx-tbar").outerHeight()||0,l=u("#wpadminbar").height()||0,d=parseInt(u(".jupiterx-site-body-border").css("border-width"))||0;let e=i.offset().top;e=(e-=l)-d-r,a||t&&("sticky"!==t||!n)||(e-=r),o&&(i=u(".jupiterx-header-custom .elementor:last-of-type").outerHeight()||0,e-=i),o||"sticky"!==t&&("fixed"!==t||"top"!==s)||(e-=c.getHeaderHeight()),u("html, body").stop().animate({scrollTop:e},500,"swing")}}})},getHeaderHeight(){var e,t=u(".jupiterx-header");return 0!==t.length&&(e=t.data("jupiterx-settings").behavior,"fixed"===e||"sticky"===e||window.pageYOffset<t.height())?t.height():0},onElementChange(e){if("full_width"===e&&this.dropdownFullWidth(),(e.startsWith("menu_container_width")||e.startsWith("offcanvas_box_width"))&&this.elements.$body.hasClass("raven-adnav-menu-effect-pushed")){var t="offcanvas"===this.mainLayout,i=this.getElementSettings(t?"offcanvas_position":"side_menu_alignment");let e=parseInt(this.$element.css(t?"--offcanvas-box-width":"--menu-container-width"))||250;"right"===i&&(e=`-${e}px`);t=this.isRtl?"margin-right":"margin-left";this.elements.$body.css(t,e)}"submenu_space_between"===e&&(this.elements.$menus.smartmenus("destroy"),this.initMainSmartMenu())},onSectionActivated(e){"section_submenu"===e?(this.forceShowSubmenu(),this.showSubMenuInterval=setInterval(this.forceShowSubmenu,1e3)):clearInterval(this.showSubMenuInterval)},forceShowSubmenu(){var e=this.elements.$mainMenu.find("li ul.submenu");let t;e.each(function(){u(this).find("li:not(.submenu-template)").length&&(t=u(this).prev("a.raven-menu-item"))}),t?.length&&"none"===t.next("ul").css("display")&&this.elements.$menus.smartmenus("itemActivate",t)},onSideMenuItemClick(e,t){var t=u(t);0!==t.closest(".raven-adnav-menu-side,.raven-adnav-menu-offcanvas").length&&-1===(t=t.attr("href")).search(/^#/)&&0!==t.trim().length&&this.elements.$closeButton.trigger("click")},changeHamburgerState(e){var t=this.elements.$toggleButton.find(".hamburger");0!==t.length&&(e?t.addClass("is-active"):t.removeClass("is-active"))},updateActiveListItems(){this.elements.$rootListItems.each(function(){var e=0<u(this).children("a.active-link").length;u(this).toggleClass("current-menu-item",e)})},setSubmenuWidth(t,i){var e=t.closest("li.menu-item"),n=e.data("width_type");if("custom"===n)e=e.data("custom_width"),t.css("width",e);else if("vertical"===this.mainLayout){if("default"===n)return void t.css({width:"fit-content","max-width":this.widgetParents.widget.get(0).getBoundingClientRect().width-this.elements.$mainMenu.get(0).getBoundingClientRect().width-i+"px"});let e=this.widgetParents[n].get(0).getBoundingClientRect().width-this.elements.$mainMenu.get(0).getBoundingClientRect().width-i;void t.css("width",e+"px")}else if("default"===n)t.css({width:"fit-content","max-width":this.widgetParents.widget.get(0).getBoundingClientRect().width+"px"});else{let e=this.widgetParents[n].get(0).getBoundingClientRect().width;t.css("width",e+"px")}},setSubmenuPosition(n){var s=n.closest("li.menu-item");if("vertical"===this.mainLayout){let e=s.data("submenu_pos");e&&"center"!==e||(e=this.isRtl?"left":"right");var a=getComputedStyle(this.$element[0]).getPropertyValue("--submenu-spacing")&&this.$element?.css("--submenu-spacing")?parseInt(this.$element?.css("--submenu-spacing")):0,a=s.get(0).getBoundingClientRect().width+a;let t="right"===e?"unset":a,i="right"===e?a:"unset";void n.css({left:i,right:t})}else{a=s.data("width_type");if(["default","custom"].includes(a)){var i,o=s.data("submenu_pos");let e="unset",t="0";"right"===o&&(e="0",t="unset"),"center"===o&&(o=s.get(0).getBoundingClientRect().width,i=parseInt(n.css("width")),t=(o-i)/2+"px"),n.css({left:t,right:e})}else o=this.widgetParents[a].get(0).getBoundingClientRect().x,i=s.get(0).getBoundingClientRect().x,n.css("left",o-i+"px")}},getParentSection(){var e=this.$element.closest('section[data-element_type="section"]');return e.length||(e=this.$element.parents('[data-element_type="container"]').last()).length?e:void 0},getParentColumn(){var e=this.$element.closest('div[data-element_type="column"]');return e.length||(e=this.$element.closest('[data-element_type="container"]')).length?e:void 0},getParentContainer(){var e=this.$element.closest('[data-element_type="container"]');return e.length||(e=this.$element.closest('section[data-element_type="section"]')).length?e:void 0},deactivateMenu(){var e,t=0===window.orientation||0===window.screen.orientation.angle?u(window).width():u(window).height();"yes"!==this.getElementSettings("close_menu_on_scroll")&&t===this.initWidth||(t=this.elements.$mobileNav.hasClass("raven-adnav-menu-dropdown"),e=this.elements.$mainNav.css("display"),t&&"none"===e?(this.elements.$toggleButton.find(".hamburger").removeClass("is-active"),this.elements.$mobileNav.slideUp(250)):(this.elements.$body.removeClass(["raven-adnav-menu-effect-pushed","raven-adnav-menu-effect-overlayed"]).removeAttr("style"),this.elements.$parentSegment.removeClass("raven-adnav-menu-parent-segment"),this.elements.$mainNav.removeClass("raven-adnav-menu-active"),this.elements.$mobileNav.removeClass("raven-adnav-menu-active"),this.elements.$toggleButton.find(".hamburger").removeClass("is-active"),this.elements.$menus.find("a.raven-menu-item").removeClass("submenu-opened"),"dropdown"===this.mobileLayout&&this.elements.$mobileNav.slideUp(250),"dropdown"===this.mainLayout&&this.elements.$mainNav.slideUp(250)))}})},{"../utils/module":9}],28:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new o({$element:e})};var i=a(e("../utils/module")),n=a(e("../utils/pagination")),s=a(e("../utils/sortable"));function a(e){return e&&e.__esModule?e:{default:e}}let o=i.default.extend({Pagination:null,Sortable:null,getDefaultSettings(){return{classes:{postMirrored:"data-mirrored"},selectors:{posts:".advanced-posts-content",postItem:".raven-posts-item",postImage:".raven-post-image",pagination:".raven-pagination",loadMore:".raven-load-more",loadMoreButton:".raven-load-more-button",postImageFit:".raven-image-fit img",postMirrored:"[data-mirrored]",sortable:".raven-sortable",preLoader:".raven-posts-preloader",sortPreLoader:".raven-posts-sortable-preloader",postOverlay:".content-layout-overlay",infinteLoadIndicator:".raven-infinite-load"},state:{paged:1,category:-1,maxNumPages:1,isLoading:!1,renderedPosts:[]}}},getDefaultElements(){var e=this.getSettings("selectors");return{$postsWrapper:this.$element,$postsContainer:this.$element.find(e.posts),$postsImages:this.$element.find(e.postImage),$pagination:this.$element.find(e.pagination),$loadMore:this.$element.find(e.loadMore),$loadMoreButton:this.$element.find(e.loadMoreButton),$preLoader:this.$element.find(e.preLoader),$sortPreLoader:this.$element.find(e.sortPreLoader),$sortable:this.$element.find(e.sortable),$postOverlay:this.$element.find(e.postOverlay),$infinteLoadIndicator:this.$element.find(e.infinteLoadIndicator),$showedItems:0}},bindEvents(){this.handleQueryOnLoad(),this.handlePopstate(),"yes"===this.getInstanceValue("mirror_rows")&&elementorFrontend.addListenerOnce(this.$element.data("model-cid"),"resize",this.mirrorRows.bind(this));let e=this;window.addEventListener("resize",()=>{setTimeout(()=>{"masonry"===e.getInstanceValue("general_layout")&&e.masonryRun(),"matrix"===e.getInstanceValue("general_layout")&&e.matrixRun(500),"metro"===e.getInstanceValue("general_layout")&&e.metroRun(500)},500)})},onDeviceModeChange(){setTimeout(this.initialize(),0)},onElementChange(e){"metro_matrix_rows_gap"===e&&("metro"===this.getInstanceValue("general_layout")&&this.metroRun(0),"matrix"===this.getInstanceValue("general_layout"))&&this.matrixRun(0),"stroke_width"===e&&setTimeout(()=>{"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun()},0),"metro_matrix_large_aspect_ratio"!==e&&"metro_matrix_small_aspect_ratio"!==e||setTimeout(()=>{"metro"===this.getInstanceValue("general_layout")&&this.metroRun(0),"matrix"===this.getInstanceValue("general_layout")&&this.matrixRun(0)},0),"rows_spacing"!==e&&"block_column_spacing"!==e||"masonry"===this.getInstanceValue("general_layout")&&setTimeout(()=>{this.masonryRun()},500)},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initializeOnce(),this.initialize(),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",()=>this.onDeviceModeChange())},initialize(){"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun(),"metro"===this.getInstanceValue("general_layout")&&this.elements.$postsContainer.imagesLoaded().progress(()=>{this.metroRun(0)}),"matrix"===this.getInstanceValue("general_layout")&&this.matrixRun(0),"yes"===this.getInstanceValue("mirror_rows")&&this.mirrorRows(),this.handleAnitmation(),this.handleFeaturedIamageEffect(),objectFitPolyfill(this.$element.find(this.getSettings("selectors.postImageFit")))},initializeOnce(){"yes"===this.getInstanceValue("show_sortable")&&this.sortableModule(),"page_based"===this.getInstanceValue("pagination_type")&&this.paginationModule(),"load_more"===this.getInstanceValue("pagination_type")&&this.elements.$loadMore.length&&this.loadMore(),"infinite_load"===this.getInstanceValue("pagination_type")&&this.infiniteLoadObserver()},handlePostsOrder(e){return"metro"===this.getInstanceValue("general_layout")&&e[0].classList.contains("raven-posts-full-width")?[...e.slice(1,3).reverse(),e[0],...e.slice(3,e.length)]:e[0].classList.contains("raven-posts-full-width")?[e[0],...e.slice(1,e.length).reverse()]:"matrix"===this.getInstanceValue("general_layout")?[...e]:[...e.reverse()]},createAnimationObserver(t,i,e,n,s){let a=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting&&!i.classList.contains("raven-advanced-posts-loaded")){let e=0<t.elements.$showedItems?n-t.elements.$showedItems:n;"slide-right"===s&&(e>t.elements.$showedItems&&(e-=t.elements.$showedItems),t.elements.$showedItems>e)&&(e=t.elements.$showedItems-e),setTimeout(()=>{i.classList.add("raven-advanced-posts-loaded"),t.elements.$showedItems=n,a.unobserve(i)},100*e)}})},e);a.observe(i)},handleAnitmation(){let o=[...this.elements.$postsContainer[0].querySelectorAll(".raven-posts-item:not(.raven-advanced-posts-loaded)")],r=this.getInstanceValue("load_effect"),l=this;this.elements.$postsContainer.imagesLoaded().done(()=>{let n=0;if("slide-right"===r){this.setColumnsCount();let i=this.getSettings().columnsCount;i||("metro"===this.getInstanceValue("general_layout")&&(i=3),"matrix"===this.getInstanceValue("general_layout")&&(i=4));var e=parseInt(o.length/i),t=o.length%i;if(o.length/i<=1)o=[...this.handlePostsOrder(o)];else{var s=[],a=[];for(let t=1;t<=e;++t){a=[];for(let e=s.length;e<t*i;++e)a.push(o[e]);s.push(...this.handlePostsOrder(a))}0<t&&s.push(...o.slice(-t).reverse()),o=s}}o.forEach((e,t)=>{var i;r&&!document.body.classList.contains("elementor-editor-active")||e.classList.contains("raven-advanced-posts-loaded")||(++n,setTimeout(()=>{e.classList.add("raven-advanced-posts-loaded")},200+100*n)),r&&(i={threshold:.4},l.createAnimationObserver(l,e,i,t,r))})})},addPosts(e,t=!1){var i=this.getSettings("state");return!(i.isLoading||i.paged<1||(this.ajaxPosts(e,this.appendPosts,t),0))},setPosts(e,t=!1,i=!1){return!this.getSettings("state").isLoading&&(this.ajaxPosts(e,this.renderPosts,t,i),!0)},handleSort(e){this.setPosts({paged:1,category:e})&&this.setSettings("state.category",e)},sortableModule(){var e;document.body.classList.contains("elementor-editor-active")||(e=s.default.extend({handleSort:this.handleSort.bind(this)}),this.Sortable=new e({$element:this.$element.find(this.getSettings("selectors.sortable"))}),this.elements.$sortable.on("click",".raven-sortable-item",e=>{e.currentTarget.classList.contains("raven-sortable-active")||(this.elements.$sortPreLoader[0].classList.add("active-preloader"),this.elements.$postsContainer.find(".raven-posts-item").delay("100").addClass("raven-posts-remove-animation"))}))},paginationModule(){var e;document.body.classList.contains("elementor-editor-active")||(e=n.default.extend({handlePagination:this.handlePagination.bind(this)}),this.Pagination=new e({$element:this.$element.find(this.getSettings("selectors.pagination"))}),this.elements.$pagination.on("click",".raven-pagination-item",e=>{e.currentTarget.classList.contains("raven-pagination-active")||(this.elements.$showedItems=0,this.elements.$preLoader[0].classList.add("active-preloader"))}))},loadMore(){let i=this.getSettings("state"),e=this.elements.$loadMore.data("settings");this.setPaged({paged:i.paged,maxNumPages:e.maxNumPages,renderedPosts:i.renderedPosts}),this.elements.$loadMoreButton.on("click",e=>{var t;e.preventDefault(),document.body.classList.contains("elementor-editor-active")||(this.elements.$preLoader[0].classList.add("active-preloader"),0===i.renderedPosts.length&&"rand"===this.getInstanceValue("query_orderby")&&"yes"===this.getInstanceValue("ignore_repetitive")&&this.setRenderedPost(),t=(e=this.getSettings("state")).paged+1,this.addPosts({paged:t,category:e.category,is_appended:!0,renderedPosts:this.getSettings("state.renderedPosts")}))})},createObserver(e,i,n){if(!(e.length<1)){let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i(),t.disconnect())})},n);t.observe(e[0])}},infiniteLoadObserver(){let i=this;i.elements.$postsContainer.imagesLoaded().always(()=>{document.body.classList.contains("elementor-editor-active")||(0===i.getSettings("state.renderedPosts").length&&"rand"===i.getInstanceValue("query_orderby")&&"yes"===i.getInstanceValue("ignore_repetitive")&&i.setRenderedPost(),i.createObserver(i.elements.$infinteLoadIndicator,()=>{var e=i.getSettings("state"),t=e.paged+1;i.addPosts({paged:t,category:e.category,is_appended:!0,renderedPosts:e.renderedPosts})},{threshold:1}))})},handlePagination(e){this.scrollToContainer(this.elements.$postsContainer),0===this.getSettings("state.renderedPosts").length&&"rand"===this.getInstanceValue("query_orderby")&&"yes"===this.getInstanceValue("ignore_repetitive")&&this.setRenderedPost(),this.elements.$postsContainer.find(".raven-posts-item").delay("100").addClass("raven-posts-remove-animation"),this.setPosts({paged:e,category:this.getSettings("state.category"),renderedPosts:this.getSettings("state.renderedPosts")})},renderPosts(e,t=!1){this.elements.$postsContainer.empty(),this.elements.$postsContainer.append(e.posts),this.Sortable&&!this.Sortable.isEnabled()&&(this.Sortable.renderUpdate(),this.Pagination)&&this.Pagination.isEnabled()&&this.Pagination.recreatePagination(e.max_num_pages),this.Pagination&&!this.Pagination.isEnabled()&&this.Pagination.renderUpdate(),this.setPaged({paged:1,maxNumPages:e.max_num_pages,renderedPosts:e.rendered_posts}),t&&(t=this.urlAnalyze(),"page_based"===this.getInstanceValue("pagination_type")&&this.Pagination.recreatePagination(e.max_num_pages,t.paged),this.setPaged({paged:t.paged,maxNumPages:e.max_num_pages,renderedPosts:e.rendered_posts})),this.elements.$preLoader[0]?.classList?.remove("active-preloader"),this.elements.$sortPreLoader[0]?.classList?.remove("active-preloader"),this.initialize()},appendPosts(e,t=!1){var i=this.getSettings("state"),e=(this.elements.$postsContainer.append(e.posts),{paged:i.paged+1,maxNumPages:e.max_num_pages,renderedPosts:e.rendered_posts});t&&(e.paged=i.paged),this.setPaged(e),this.afterAppend()},afterAppend(){"yes"===this.getInstanceValue("mirror_rows")&&this.mirrorRows(),"infinite_load"===this.getInstanceValue("pagination_type")&&this.infiniteLoadObserver(),"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun(),"metro"===this.getInstanceValue("general_layout")&&this.metroRun(0),"matrix"===this.getInstanceValue("general_layout")&&this.matrixRun(0),["metro","matrix"].includes(this.getInstanceValue("general_layout"))||this.handleAnitmation(),this.handleFeaturedIamageEffect(),this.elements.$preLoader[0]?.classList?.remove("active-preloader"),this.elements.$sortPreLoader[0]?.classList?.remove("active-preloader")},ajaxPosts(a,o,r=!1,l=!1){let e=this.elements.$postsContainer.data("archive-query"),d=this;var t={action:"raven_render_advanced_posts",post_id:this.getCurrentPostId(),model_id:this.getID(),paged:a.paged,category:a.category,renderedPosts:JSON.stringify(a.renderedPosts),nonce:ravenTools.nonce,main_post_id:elementorFrontendConfig?.post?.id};a.should_append&&(t.should_append=!0),e&&(t.archive_query=JSON.stringify(e));this.setSettings("state.isLoading",!0),wp.ajax.post(t).done(function(e){(e=e).posts&&(r?o(e,r):o(e)),d.setSettings("state.isLoading",!1);var t,i,e={jupiterx_filters:1,jupiterx_page:a.paged},n=(a.category&&(e.category=a.category),a.is_appended&&(e.is_appended=a.is_appended),window.location.href),n=new URL(n),s=new URLSearchParams(n.search);for([t,i]of Object.entries(e))s.set(t,i);n.search=s.toString(),e=n.toString(),l||window.history.pushState({path:e},"",e)})},getCurrentPostId(){return parseInt(this.elements.$postsContainer.data("post-id"))},setPaged(e){let{paged:t,maxNumPages:i,renderedPosts:n}=e;this.elements.$loadMore.attr("data-paged",t),t>=i&&(t=-1),this.elements.$loadMore.attr("data-paged-next",t),this.elements.$loadMore.show(),-1===t&&this.elements.$loadMore.hide(),this.setSettings("state.paged",t),this.setSettings("state.maxNumPages",i),this.setSettings("state.renderedPosts",n)},mirrorRows(){this.setColumnsCount();var t=this.getSettings(),i=this.$element.find(t.selectors.postItem);if(i.filter(t.selectors.postMirrored).removeAttr(t.classes.postMirrored),i.length&&i.length>t.columnsCount){var n=i.length/t.columnsCount;for(let e=1;e<n;e+=2){var s=e*t.columnsCount;i.slice(s,s+t.columnsCount).attr(t.classes.postMirrored,!0)}}},setColumnsCount(){var e=elementorFrontend.getCurrentDeviceMode();let t="desktop"===e?"columns":"columns_"+e;this.setSettings("columnsCount",parseInt(this.getInstanceValue(t)))},setGapSize(){var e=elementorFrontend.getCurrentDeviceMode();let t="desktop"===e?"metro_matrix_rows_gap":"metro_matrix_rows_gap_"+e;this.setSettings("gapSize",parseInt(this.getInstanceValue(t)?.size))},masonryRun(){var e=!document.body.classList.contains("rtl");this.elements.$postsContainer.data("isotope")&&this.elements.$postsContainer.isotope("reloadItems").isotope(),this.elements.$postsContainer.isotope({itemSelector:".raven-masonry-item",masonry:{layoutMode:"fitRows"},transitionDuration:0,sortBy:"original-order",isOriginLeft:e})},metroRun(e){this.setGapSize();let s=this,t=this.getSettings().gapSize?this.getSettings().gapSize:0,i=elementorFrontend.getCurrentDeviceMode(),n=!document.body.classList.contains("rtl"),a=(s.elements.$postsContainer.data("isotope")&&s.elements.$postsContainer.isotope("reloadItems").isotope(),Math.floor((s.elements.$postsContainer.parent().width()+t)/4)),o=2*a;"tablet"===i&&(a*=2,o=2*a),"mobile"===i&&(a*=4,o=a),s.elements.$postsContainer.find(".raven-metro-item").each((e,t)=>{let i=a,n=a;t.classList.contains("raven-posts-full-width")&&(i=o,n=o),i&&(t.style.width=i+"px"),s.elements.$postsContainer[0].classList.contains("content-layout-under-image")||(t.style.height=n+"px")}),setTimeout(()=>{s.elements.$postsContainer.isotope({itemSelector:".raven-metro-item",layoutMode:"packery",percentPosition:!0,sortBy:"original-order",transitionDuration:0,gutter:10,isOriginLeft:n}),s.elements.$postsContainer.isotope("once","arrangeComplete",()=>{setTimeout(()=>s.handleAnitmation(),100)})},e)},matrixRun(e){let t=this,n=elementorFrontend.getCurrentDeviceMode(),i=!document.body.classList.contains("rtl"),s=(t.elements.$postsContainer.data("isotope")&&t.elements.$postsContainer.isotope("reloadItems").isotope(),Math.floor(t.elements.$postsContainer.width()/3)),a=3*s;"mobile"===n&&(s*=3,a=s),t.elements.$postsContainer.find(".raven-matrix-item").each((e,t)=>{let i=s;(i=t.classList.contains("raven-posts-full-width")?a:i)&&(t.style.width=i+"px"),"mobile"===n&&(t.style.paddingRight=0)}),setTimeout(()=>{t.elements.$postsContainer.isotope({itemSelector:".raven-matrix-item",layoutMode:"packery",packery:{isFitWidth:!0},percentPosition:!0,sortBy:"original-order",transitionDuration:0,isOriginLeft:i}),t.elements.$postsContainer.isotope("once","arrangeComplete",()=>{setTimeout(()=>t.handleAnitmation(),100)})},e)},handleFeaturedIamageEffect(){var e=this.getInstanceValue("featured_image_hover");if(e&&"zoom-move"===e&&!(this.elements.$postsImages.length<1)){let e=this.elements.$postsContainer.find(".raven-posts-item:not(.raven-advanced-posts-loaded)").find(".raven-post-image");(e=0<this.elements.$postOverlay.length?this.elements.$postOverlay.find(".raven-posts-item:not(.raven-advanced-posts-loaded)").find(".raven-post-wrapper"):e).on("mouseout",e=>{e=e.currentTarget.querySelector(".raven-posts-zoom-move-wrapper");e&&(e.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)")}),e.on("mousemove",e=>{var t=e.currentTarget.getBoundingClientRect(),i=((t.width+35)/t.width).toFixed(2),n=((t.height+35)/t.height).toFixed(2),s=e.currentTarget.querySelector(".raven-posts-zoom-move-wrapper"),a=t.width/2-(e.clientX-t.left),e=t.height/2-(e.clientY-t.top),a=a/t.width*30,e=e/t.height*30;s&&(s.style.transform=`perspective(900px) translate3d(${a}px, ${e}px, 0px) scale(${Math.max(i,n)})`)}),this.elements.$postOverlay.length<1||document.body.classList.contains("elementor-editor-active")||e.on("click",e=>{e=e.currentTarget.querySelector(".raven-post-image").href;e&&window.location.assign(e)})}},handleQueryOnLoad(){var e=this.urlAnalyze();e&&(this.setSettings("state.paged",e.paged),this.setSettings("state.category",e.category),this.elements.$postsContainer.find(".raven-posts-item").delay("100").addClass("raven-posts-remove-animation"),"yes"===this.getInstanceValue("show_sortable")&&(this.elements.$sortable.find(".raven-sortable-item").removeClass("raven-sortable-active"),this.elements.$sortable.find(`.raven-sortable-item[data-category="${e.category}"]`).addClass("raven-sortable-active")),!0===e.should_append&&this.elements.$infinteLoadIndicator.length?(this.elements.$postsContainer.empty(),this.addPosts(e,!0),this.afterAppend()):this.setPosts(e,!0))},handlePopstate(){"page_based"!==this.getInstanceValue("pagination_type")&&!this.urlAnalyze()||window.addEventListener("popstate",()=>{let e=this.urlAnalyze();e=e||{paged:1,category:-1},this.elements.$postsContainer.empty(),this.setPosts(e,!0,!0)})},urlAnalyze(){var e,t=new URL(window.location.href);return"1"===t.searchParams.get("jupiterx_filters")&&(e={paged:t.searchParams.get("jupiterx_page")?Number(t.searchParams.get("jupiterx_page")):1,category:t.searchParams.get("category")?Number(t.searchParams.get("category")):-1},t.searchParams.get("is_appended")&&(e.should_append=!0),e)},setRenderedPost(){var e=this.$element.find(".raven-post-content"),t={};let i=[];e.each(function(){var e=$(this).data("id");i.push(e)}),t.page="1",t.ids=i,this.setSettings("state.renderedPosts",[t])}})},{"../utils/module":9,"../utils/pagination":20,"../utils/sortable":22}],29:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){t.find(".raven-alert-dismiss").on("click",e=>{e.preventDefault(),t.fadeOut()})}},{}],30:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let r=jQuery,n=e.default.extend({svgPaths:{circle:["M325,18C228.7-8.3,118.5,8.3,78,21C22.4,38.4,4.6,54.6,5.6,77.6c1.4,32.4,52.2,54,142.6,63.7 c66.2,7.1,212.2,7.5,273.5-8.3c64.4-16.6,104.3-57.6,33.8-98.2C386.7-4.9,179.4-1.4,126.3,20.7"],underline_zigzag:["M9.3,127.3c49.3-3,150.7-7.6,199.7-7.4c121.9,0.4,189.9,0.4,282.3,7.2C380.1,129.6,181.2,130.6,70,139 c82.6-2.9,254.2-1,335.9,1.3c-56,1.4-137.2-0.3-197.1,9"],x:["M497.4,23.9C301.6,40,155.9,80.6,4,144.4","M14.1,27.6c204.5,20.3,393.8,74,467.3,111.7"],strikethrough:["M3,75h493.5"],curly:["M3,146.1c17.1-8.8,33.5-17.8,51.4-17.8c15.6,0,17.1,18.1,30.2,18.1c22.9,0,36-18.6,53.9-18.6 c17.1,0,21.3,18.5,37.5,18.5c21.3,0,31.8-18.6,49-18.6c22.1,0,18.8,18.8,36.8,18.8c18.8,0,37.5-18.6,49-18.6c20.4,0,17.1,19,36.8,19 c22.9,0,36.8-20.6,54.7-18.6c17.7,1.4,7.1,19.5,33.5,18.8c17.1,0,47.2-6.5,61.1-15.6"],diagonal:["M13.5,15.5c131,13.7,289.3,55.5,475,125.5"],double:["M8.4,143.1c14.2-8,97.6-8.8,200.6-9.2c122.3-0.4,287.5,7.2,287.5,7.2","M8,19.4c72.3-5.3,162-7.8,216-7.8c54,0,136.2,0,267,7.8"],double_underline:["M5,125.4c30.5-3.8,137.9-7.6,177.3-7.6c117.2,0,252.2,4.7,312.7,7.6","M26.9,143.8c55.1-6.1,126-6.3,162.2-6.1c46.5,0.2,203.9,3.2,268.9,6.4"],underline:["M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"]},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.intersectionObservers={startAnimation:{observer:null,element:null}},this.isLoopMode="yes"===this.getElementSettings("loop"),this._headingInitialized=!1,this._clipLoopToken=0,this.activateScrollListener()},applyBaseStyles(){var e=this.getElementSettings("animation_type"),t="clip"===e,e=-1!==["flip","slide","slide-down","drop-in"].indexOf(e);this.elements.$dynamicWrapper.css({display:"inline-block",overflow:t?"hidden":"visible",whiteSpace:"normal",width:"",minWidth:"",height:"",minHeight:"",position:t?"relative":"static",verticalAlign:"baseline"}),this.$element.find(".raven-heading-text-wrapper").css({verticalAlign:"baseline"}),e?this.elements.$dynamicText.css({display:"",position:"",whiteSpace:"inherit",lineHeight:"inherit",verticalAlign:"baseline"}):this.elements.$dynamicText.css({display:"inline",position:"static",whiteSpace:"inherit",lineHeight:"inherit",verticalAlign:"baseline"})},getDefaultSettings(){var e=this.getElementSettings("rotate_iteration_delay"),e={animationDelay:e||2500,lettersDelay:.02*e||50,typeLettersDelay:.06*e||150,selectionDuration:.2*e||500,revealDuration:.24*e||600,revealAnimationDelay:.6*e||1500,highlightAnimationDuration:this.getElementSettings("highlight_animation_duration")||1200,highlightAnimationDelay:this.getElementSettings("highlight_iteration_delay")||8e3};return e.typeAnimationDelay=e.selectionDuration+800,e.selectors={heading:".raven-heading",dynamicWrapper:".raven-heading-dynamic-wrapper",dynamicText:".raven-heading-dynamic-text"},e.classes={dynamicText:"raven-heading-dynamic-text",dynamicLetter:"raven-heading-dynamic-letter",textActive:"raven-heading-text-active",textInactive:"raven-heading-text-inactive",letters:"raven-heading-letters",animationIn:"raven-heading-animation-in",typeSelected:"raven-heading-typing-selected",activateHighlight:"raven-animated",hideHighlight:"raven-hide-highlight",typingCursor:"raven-heading-typing-cursor",clipRail:"raven-heading-clip-rail",clipCursor:"raven-heading-clip-cursor"},e},getDefaultElements(){var e=this.getSettings("selectors");return{$heading:this.$element.find(e.heading),$dynamicWrapper:this.$element.find(e.dynamicWrapper),$dynamicText:this.$element.find(e.dynamicText)}},ensureClipInner(e){let t=e.children(".raven-clip-inner");return t.length||((t=r("<span>",{class:"raven-clip-inner"})).append(e.contents()),e.append(t),t.css({display:"inline-block",whiteSpace:"inherit",overflow:"visible",verticalAlign:"baseline",position:"relative"})),t},ensureClipOverlay(e){let t=e.children(".raven-clip-overlay");return t.length||(t=r("<span>",{class:"raven-clip-overlay"}),e.append(t),t.css({position:"absolute",top:0,left:0,width:0,height:0,backgroundColor:"transparent",borderRight:"none",borderLeft:"none",pointerEvents:"none",zIndex:2,willChange:"left,width,right"}),e.css({position:"relative",zIndex:1})),t.css({boxShadow:"none",borderLeft:"2px solid currentColor",borderRight:"0"}),t},ensureClipVeil(e,t){let i=e.children(".raven-clip-veil");return i.length||(i=r("<span>",{class:"raven-clip-veil"}),e.append(i),t=this.getEffectiveBackgroundColor(t[0]),i.css({position:"absolute",left:0,right:0,top:0,height:0,backgroundColor:t,pointerEvents:"none",zIndex:1}),e.css({position:"relative"})),i},ensureClipCustomCss(){var e;document.getElementById("raven-clip-custom-style")||((e=document.createElement("style")).id="raven-clip-custom-style",e.textContent=".raven-heading-animation-type-clip .raven-heading-dynamic-wrapper.raven-clip-custom::after{display:none!important;content:none!important;}",document.head.appendChild(e))},getLineRectsRelative(e){var i=[],n=e[0];if(n&&n.firstChild){e=e.children(".raven-clip-overlay, .raven-clip-veil");let t=[];e.each(function(){t.push(this.style.display),this.style.display="none"});var s=document.createRange(),a=(s.selectNodeContents(n),s.getClientRects()),o=n.getBoundingClientRect();for(let e=0;e<a.length;e++){var r=a[e];i.push({top:r.top-o.top,bottom:r.bottom-o.top,left:r.left-o.left,right:r.right-o.left,width:r.width,height:r.height})}s.detach(),e.each(function(e){this.style.display=t[e]||""})}return i},normalizeLineRects(e){if(!e||!e.length)return[];e=e.slice().filter(e=>.5<e.width&&.5<e.height).sort((e,t)=>e.top-t.top||e.left-t.left);let a=[];return e.forEach(e=>{var t=e.top+e.height/2;let i=null;for(let e=0;e<a.length;e++){var n=a[e],s=n.top+n.height/2;if(Math.abs(t-s)<=.75){i=n;break}}i?(i.left=Math.min(i.left,e.left),i.right=Math.max(i.right,e.right),i.width=i.right-i.left,i.top=Math.min(i.top,e.top),i.bottom=Math.max(i.bottom,e.bottom),i.height=i.bottom-i.top):a.push({top:e.top,bottom:e.bottom,left:e.left,right:e.right,width:e.width,height:e.height})}),a.sort((e,t)=>e.top-t.top)},getInlineDirection(e){try{return"rtl"===window.getComputedStyle(e[0]).direction?"rtl":"ltr"}catch(e){return"ltr"}},getEffectiveBackgroundColor(e){let t=e;for(var i=e=>!e||"transparent"===(e=String(e).trim().toLowerCase())||/^rgba\([^,]+,[^,]+,[^,]+,\s*0\s*\)$/.test(e);t;){try{var n=window.getComputedStyle(t).backgroundColor;if(!i(n))return n}catch(e){}t=t.parentElement}try{var s=window.getComputedStyle(document.body).backgroundColor;if(!i(s))return s}catch(e){}return"#ffffff"},animateClip(n,s,a,o,r,l){let d=Date.now(),c=()=>{var e=Date.now(),e=Math.min(1,(e-d)/o),t=s+(a-s)*e,i="inset(0 "+(100-t)+"% 0 0)";n.css({clipPath:i,WebkitClipPath:i}),r&&r(t),e<1?setTimeout(c,16):l&&l()};var e="inset(0 "+(100-s)+"% 0 0)";n.css({clipPath:e,WebkitClipPath:e}),setTimeout(c,0)},getNaturalOuterWidth(e){var e=e.clone(),t=(e.css({position:"absolute",visibility:"hidden",left:"-9999px",top:"-9999px",display:"inline-block",whiteSpace:"normal",width:"auto"}),r(document.body).append(e),e.outerWidth());return e.remove(),t},getInlineFlowWidth(e){var t,i;return e&&e.length?(t={display:e[0].style.display,visibility:e[0].style.visibility,position:e[0].style.position,left:e[0].style.left,top:e[0].style.top},e.css({display:"inline",visibility:"hidden",position:"static",left:"",top:""}),i=e.outerWidth(),e[0].style.display=t.display||"",e[0].style.visibility=t.visibility||"",e[0].style.position=t.position||"",e[0].style.left=t.left||"",e[0].style.top=t.top||"",i):0},getWrapperAutoWidthForWord(e){var t=this.elements.$dynamicWrapper;if(!t||!t.length)return 0;e=e&&e.length?e:this.elements.$dynamicText.filter("."+this.getSettings("classes").textActive).eq(0);if(!e.length)return Math.max(0,t.outerWidth()||0);var i={width:t[0].style.width,visibility:t[0].style.visibility,position:t[0].style.position,display:t[0].style.display},n=e[0].style.display;try{t.css({width:"auto",visibility:"hidden",display:"inline-block"}),e.css({display:"inline"}),t[0].offsetWidth;var s=t[0].getBoundingClientRect();return Math.max(0,Math.ceil(s.width)+1)}finally{t[0].style.width=i.width||"",t[0].style.visibility=i.visibility||"",t[0].style.position=i.position||"",t[0].style.display=i.display||"",e[0].style.display=n||""}},sleep(t){return new Promise(function(e){setTimeout(e,t)})},waitForAnimationEnd(n,s){return new Promise(function(e){let t=!1;function i(){t||(t=!0,n.off("animationend.ravenEngine animationcancel.ravenEngine"),e())}n.off("animationend.ravenEngine animationcancel.ravenEngine").one("animationend.ravenEngine animationcancel.ravenEngine",i),s&&setTimeout(i,s+50)})},waitForWidthTransition(n,s){return new Promise(function(t){let i=!1;function e(e){i||e&&"width"!==e.propertyName||(i=!0,n.off("transitionend.ravenEngine"),t())}n.off("transitionend.ravenEngine").one("transitionend.ravenEngine",e),s&&setTimeout(e,s+50)})},showClipWord(t){let e=this.getSettings(),s=(t.addClass(e.classes.textActive).removeClass(e.classes.textInactive),t.css({display:"inline",position:"static",opacity:1,verticalAlign:"baseline"}),t.siblings(this.getSettings("selectors").dynamicText).css({display:"none"}),this.ensureClipInner(t)),a=this.ensureClipOverlay(s);a.stop(!0),a.css({display:"block",height:"100%"});let o="rtl"===this.getInlineDirection(t),r=this.getNaturalOuterWidth(t),i=(s.css({willChange:"clip-path, -webkit-clip-path",display:"inline-block"}),e=>{var t=s[0]?s[0].getBoundingClientRect():null,t=t?t.width:r,e=Math.max(0,t*e/100),i=Math.round(e),n=Math.max(2,i+2);this.elements.$dynamicWrapper.width(n),o?(n=Math.max(0,Math.round(t-e)-1),a.css({left:"auto",right:n,width:0})):(t=Math.max(0,i-1),a.css({left:t,right:"auto",width:0}))});let n=()=>{this.animateClip(s,100,0,e.revealDuration,i,()=>{var e=this.getNextWord(t);t.css({display:"none"}),this.switchWord(t,e),this.showClipWord(e)})};this.elements.$dynamicWrapper.width(2),this.animateClip(s,0,100,e.revealDuration,i,()=>{setTimeout(()=>n(),e.selectionDuration)})},debugLog(){},getComputedSnapshot(e){try{var t,i;return e&&e[0]?(i=(t=e[0]).getBoundingClientRect(),{exists:!0,tag:t.tagName,className:t.className,rect:{top:Math.round(i.top),left:Math.round(i.left),width:Math.round(i.width),height:Math.round(i.height)}}):{exists:!1}}catch(e){return{exists:!1}}},forceReflow(e){try{e&&e[0]&&e[0].offsetWidth}catch(e){}},getWordsSnapshot(){return[]},logOverlayState(){},computeNaturalSizes(){let s=this.getSettings("classes"),a=0,o=0;this.elements.$dynamicText.each(function(){var e=r(this),t=e.clone(),i=(t.removeClass(s.textActive+" "+s.textInactive+" "+s.animationIn),t.find("."+s.dynamicLetter).removeClass(s.animationIn),t.css({position:"absolute",visibility:"hidden",left:"-9999px",top:"-9999px",width:"auto",height:"auto",whiteSpace:"normal",display:"inline-block"}),r(document.body).append(t),t.outerWidth()),n=t.outerHeight();e.data("natural-width",i),e.data("natural-height",n),n>a&&(a=n),i>o&&(o=i),t.remove()}),"clip"===this.getElementSettings("animation_type")?this.elements.$dynamicWrapper.css({display:"inline",minWidth:"",width:"",overflow:"visible"}):this.elements.$dynamicWrapper.css({display:"inline-block",minWidth:"",width:"",overflow:"visible"}),this.maxWordHeight=a},getNextWord(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()},switchWord(e,t){e.removeClass("raven-heading-text-active").addClass("raven-heading-text-inactive"),t.removeClass("raven-heading-text-inactive").addClass("raven-heading-text-active");var i=this.elements.$heading.hasClass(this.getSettings("classes").letters),n=this.getElementSettings("animation_type"),s=["flip","slide","slide-down","drop-in"],i=(i||-1!==s.indexOf(n)?(e.css({position:"absolute",left:0,top:0,display:"inline",pointerEvents:"none"}),t.css({position:"static",display:"inline",pointerEvents:""})):(e.css({display:"none",position:"",visibility:""}),t.css({display:"inline",position:"",visibility:""})),!i&&-1===s.indexOf(n)&&"clip"!==n&&"typing"!==n);i&&this.setDynamicWrapperWidth(t,!0),t&&t[0]&&t[0].offsetWidth,this.elements.$dynamicWrapper&&this.elements.$dynamicWrapper[0]&&this.elements.$dynamicWrapper[0].offsetWidth,this.debugLog("switchWord",{from:e&&e.text&&e.text(),to:t&&t.text&&t.text()}),this.setDynamicWrapperWidth(t)},singleLetters(){let s=this.getSettings("classes");this.elements.$dynamicText.each(function(){let i=r(this),n=i.hasClass(s.textActive),e=i.contents().toArray();i.empty(),e.forEach(e=>{3===e.nodeType?e.nodeValue.split("").forEach(e=>{var t=r("<span>",{class:s.dynamicLetter});" "===e?t.html("&nbsp;"):t.text(e),n&&t.addClass(s.animationIn),i.append(t)}):1===e.nodeType&&"BR"===e.nodeName?i.append("<br>"):1===e.nodeType&&i.append(r(e).clone())}),i.css("opacity",1)}),"typing"===this.getElementSettings("animation_type")&&this.createTypingCursor()},createTypingCursor(){var e=this.getSettings("classes");this.elements.$dynamicWrapper.find("."+e.typingCursor).remove(),this.$cursor=r("<span>",{class:e.typingCursor,"aria-hidden":"true"}).text("|"),this.positionCursor()},positionCursor(){var e=this.getSettings("classes"),t=this.elements.$dynamicText.filter("."+e.textActive);this.$cursor&&t.length&&(this.$cursor.detach(),0<(e=t.find("."+e.dynamicLetter+"."+e.animationIn)).length?e.last().after(this.$cursor):t.prepend(this.$cursor))},getNextLetter(e){var t=this.getSettings("classes");return e.nextAll("."+t.dynamicLetter).eq(0)},showLetter(e,t,i,n){let s=this,a=this.getSettings("classes"),o=(e.addClass(a.animationIn),"typing"===this.getElementSettings("animation_type")&&this.positionCursor(),this.getNextLetter(e));o&&o.length?setTimeout(function(){s.showLetter(o,t,i,n)},n):i||setTimeout(function(){s.hideWord(t)},s.getSettings("animationDelay"))},hideLetter(e,t,i,n){let s=this,a=this.getSettings(),o=(e.removeClass(a.classes.animationIn),"typing"===this.getElementSettings("animation_type")&&this.positionCursor(),this.getNextLetter(e));o&&o.length?setTimeout(function(){s.hideLetter(o,t,i,n)},n):(i&&setTimeout(function(){s.hideWord(s.getNextWord(t))},s.getSettings("animationDelay")),t.css({position:"absolute",left:0,top:0,opacity:0,display:"inline",pointerEvents:"none"}))},showWord(e,t){var i=this.getSettings(),n=this.getElementSettings("animation_type");if("typing"!==n)return"clip"===n?this.showClipWord(e):void 0;e.css({display:"inline",position:"static",opacity:1,pointerEvents:""}),this.elements.$dynamicWrapper.css("width",""),e.siblings(i.selectors&&i.selectors.dynamicText?i.selectors.dynamicText:"."+i.classes.dynamicText).css({display:"none"}),this.showLetter(e.find("."+i.classes.dynamicLetter).eq(0),e,!1,t),e.addClass(i.classes.textActive).removeClass(i.classes.textInactive)},hideWord(t){let i=this,e=i.getSettings(),n=e.classes,s="."+n.dynamicLetter,a=i.getElementSettings("animation_type"),o=i.getNextWord(t);if(this.isLoopMode||!t.is(":last-child"))if("typing"===a)o.css({display:"inline",position:"static",opacity:1,pointerEvents:""}),this.elements.$dynamicWrapper.css("width",""),i.$cursor&&i.$cursor.hide(),i.elements.$dynamicWrapper.addClass(n.typeSelected),setTimeout(function(){i.elements.$dynamicWrapper.removeClass(n.typeSelected),t.addClass(e.classes.textInactive).removeClass(n.textActive).children(s).removeClass(n.animationIn),i.$cursor&&i.$cursor.show()},e.selectionDuration),setTimeout(function(){i.showWord(o,e.typeLettersDelay)},e.typeAnimationDelay);else if(i.elements.$heading.hasClass(n.letters))t.removeClass(n.textActive).addClass(n.textInactive),o.removeClass(n.textInactive).addClass(n.textActive),o.css({position:"static",opacity:1,display:"inline",pointerEvents:""}),t.css({display:"none",position:"absolute",left:0,top:0,opacity:0,pointerEvents:"none"}),r=t.children(s).length>=o.children(s).length,i.hideLetter(t.find(s).eq(0),t,r,e.lettersDelay),i.showLetter(o.find(s).eq(0),o,r,e.lettersDelay),i.setDynamicWrapperWidth(o);else if("clip"===a)t.css({display:"none"}),i.switchWord(t,o),i.showWord(o);else if(-1!==["flip","slide","slide-down","drop-in"].indexOf(a)){var r=t.data("natural-width")||i.getNaturalOuterWidth(t);let e=o.data("natural-width")||i.getNaturalOuterWidth(o);i.elements.$dynamicWrapper.css("width",Math.max(2,r)),o.removeClass(n.textActive).addClass(n.textInactive),o.css({display:"none",position:"static",opacity:1,pointerEvents:""}),t.removeClass(n.textActive).addClass(n.textInactive),void t.off("animationend.ravenAH").one("animationend.ravenAH",function(){t.css({display:"none"}),o.css({display:"inline"}),o[0]&&o[0].offsetWidth,o.removeClass(n.textInactive).addClass(n.textActive),i.elements.$dynamicWrapper.css("width",Math.max(2,e)),setTimeout(function(){i.hideWord(o)},500)})}else i.switchWord(t,o),setTimeout(function(){i.hideWord(o)},e.animationDelay)},setDynamicWrapperWidth(i,n=!1){var s=this.getElementSettings("animation_type");if("clip"!==s&&"typing"!==s&&this.elements.$dynamicWrapper&&this.elements.$dynamicWrapper[0]){let t=this.elements.$dynamicWrapper;s=i&&i.length?i:this.elements.$dynamicText.filter("."+this.getSettings("classes").textActive).eq(0),i=this.elements.$heading.hasClass(this.getSettings("classes").letters);let e=Math.max(2,this.getWrapperAutoWidthForWord(s)+(i?2:0));var s=parseFloat(t[0].style.width)||0,a=Math.max(2,Math.round(t[0].getBoundingClientRect().width||0));n&&!i?(s||(t.css("width",a),t[0].offsetWidth),t.off("transitionend.ahWidth").on("transitionend.ahWidth",e=>{e&&"width"!==e.propertyName||t.off("transitionend.ahWidth")}),(window.requestAnimationFrame||window.setTimeout)(()=>{t.css("width",e)},16)):t.css("width",e)}},animateHeading(){let e=this,t=e.getElementSettings("animation_type"),i=e.elements.$dynamicWrapper;e.computeNaturalSizes(),"clip"!==t&&"typing"!==t?(s=e.elements.$dynamicText.filter("."+e.getSettings("classes").textActive),e.setDynamicWrapperWidth(s.length?s:e.elements.$dynamicText.eq(0))):"clip"===t?(s=e.elements.$dynamicText.eq(0).data("natural-width")||e.elements.$dynamicText.eq(0).outerWidth(),e.elements.$dynamicWrapper.width(Math.max(2,s+10))):e.elements.$dynamicWrapper.css("width",""),"clip"===t&&i.width(Math.max(2,i.width()+10));let n=e.elements.$dynamicText.eq(0);var s=e.getNextWord(n);-1!==["flip","slide","slide-down","drop-in"].indexOf(t)&&e.elements.$dynamicText.not(n).removeClass(e.getSettings("classes").textActive+" "+e.getSettings("classes").textInactive),s.addClass(e.getSettings("classes").textInactive).removeClass(e.getSettings("classes").textActive),"clip"===t?(e.elements.$dynamicText.not(n).css({display:"none"}),e.showWord(n)):(n.addClass(e.getSettings("classes").textActive).removeClass(e.getSettings("classes").textInactive),e.elements.$heading.hasClass(e.getSettings("classes").letters)&&n.find("."+e.getSettings("classes").dynamicLetter).addClass(e.getSettings("classes").animationIn),setTimeout(function(){e.hideWord(n)},e.getSettings("animationDelay")))},getSvgPaths(e){e=this.svgPaths[e];let t=r();return e.forEach(function(e){t=t.add(r("<path>",{d:e}))}),t},addHighlight(){var e=this.getElementSettings(),e=r("<svg>",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 150",preserveAspectRatio:"none"}).html(this.getSvgPaths(e.marker));this.elements.$dynamicWrapper.append(e[0].outerHTML)},rotateHeading(){var t=this.getSettings();if(this.elements.$heading.hasClass(t.classes.letters)&&this.singleLetters(),this.applyBaseStyles(),this.elements.$heading.hasClass(t.classes.letters))this.elements.$dynamicWrapper.css({position:"relative"}),this.elements.$dynamicText.not("."+t.classes.textActive).css({display:"inline",position:"absolute",left:0,top:0,opacity:0,pointerEvents:"none"}),this.elements.$dynamicText.filter("."+t.classes.textActive).css({display:"inline",position:"static",opacity:1,whiteSpace:"normal",maxWidth:"100%",overflow:"visible"});else{this.elements.$dynamicText.not("."+t.classes.textActive).css({display:"none",position:"",visibility:""}),this.elements.$dynamicText.filter("."+t.classes.textActive).css({display:"inline",position:"static",visibility:"",whiteSpace:"normal",maxWidth:"100%",overflow:"visible"});let e=["flip","slide","slide-down","drop-in"];if(-1!==e.indexOf(this.getElementSettings("animation_type"))){this.elements.$dynamicWrapper.css({position:"relative"});let e=this.elements.$dynamicText.filter("."+t.classes.textActive);e.length||(e=this.elements.$dynamicText.eq(0).addClass(t.classes.textActive)),this.elements.$dynamicText.not(e).removeClass(t.classes.textActive+" "+t.classes.textInactive),this.elements.$dynamicText.not(e).css({display:"",position:"absolute",left:0,top:0,pointerEvents:"none"}),e.css({display:"",position:"static",pointerEvents:""})}}"clip"===this.getElementSettings("animation_type")&&(this.elements.$dynamicWrapper.addClass("raven-clip-custom"),this.ensureClipCustomCss());t=this.getElementSettings("animation_type");let e=["flip","slide","slide-down","drop-in"];if(-1!==e.indexOf(t))return this.runOverlayLoop();this.animateHeading()},getOverlayOutDurationMs(){switch(this.getElementSettings("animation_type")){case"flip":return 1200;case"slide":case"slide-down":return 600;default:return 800}},async runOverlayLoop(){var e=this.getSettings().classes,t=this.getElementSettings("animation_type"),i=this.elements.$dynamicText;let n=i.filter("."+e.textActive).eq(0);n.length||(n=i.eq(0)).addClass(e.textActive).removeClass(e.textInactive),-1!==["flip","slide","slide-down","drop-in"].indexOf(t)?(i.not(n).css({position:"absolute",left:0,top:0,pointerEvents:"none"}),n.css({position:"static",pointerEvents:""})):(i.not(n).css({display:"none",position:"static",opacity:1}),n.css({display:"inline",position:"static",opacity:1})),this.elements.$dynamicWrapper.css("width","");for(var s=this.getOverlayOutDurationMs();;){var a=this.getNextWord(n);if(-1!==["flip","slide","slide-down","drop-in"].indexOf(t)?(this.elements.$dynamicText.not(n).removeClass(e.textActive+" "+e.textInactive),a.removeClass(e.textActive+" "+e.textInactive),a.css({position:"absolute",left:0,top:0,pointerEvents:"none"})):a.removeClass(e.textActive).addClass(e.textInactive).css({display:"none",position:"static",opacity:1}),await this.sleep(this.getSettings("animationDelay")),n.removeClass(e.textActive).addClass(e.textInactive),await this.waitForAnimationEnd(n,s),-1===["flip","slide","slide-down","drop-in"].indexOf(t)&&n.css({display:"none"}),-1!==["flip","slide","slide-down","drop-in"].indexOf(t)?this.forceReflow(a):a.css({display:"inline",position:"static",opacity:1,pointerEvents:""}),a[0]&&a[0].offsetWidth,a.removeClass(e.textInactive).addClass(e.textActive),-1!==["flip","slide","slide-down","drop-in"].indexOf(t)&&(this.forceReflow(a),n.css({position:"absolute",left:0,top:0,pointerEvents:"none"}),a.css({position:"static",pointerEvents:""})),n=a,!this.isLoopMode&&n.is(":last-child"))break}},initHeading(){var e=this.getElementSettings("heading_style");this._headingInitialized||("rotate"===e?this.rotateHeading():"highlight"===e&&(this.addHighlight(),this.activateHighlightAnimation()),this.deactivateScrollListener(),this._headingInitialized=!0)},activateHighlightAnimation(){let e=this.getSettings(),t=e.classes,i=this.elements.$heading;i.removeClass(t.hideHighlight).addClass(t.activateHighlight),this.isLoopMode&&(setTimeout(()=>{i.removeClass(t.activateHighlight).addClass(t.hideHighlight)},e.highlightAnimationDuration+.8*e.highlightAnimationDelay),setTimeout(()=>{this.activateHighlightAnimation(!1)},e.highlightAnimationDuration+e.highlightAnimationDelay))},activateScrollListener(){this.elements.$heading&&this.elements.$heading.length&&(this.intersectionObservers.startAnimation.observer=elementorModules.utils.Scroll.scrollObserver({offset:"0px 0px -100px",callback:e=>{e.isInViewport&&this.initHeading()}}),this.intersectionObservers.startAnimation.element=this.elements.$heading[0],this.intersectionObservers.startAnimation.element)&&this.intersectionObservers.startAnimation.observer.observe(this.intersectionObservers.startAnimation.element)},deactivateScrollListener(){var e=this.intersectionObservers.startAnimation&&this.intersectionObservers.startAnimation.observer,t=this.intersectionObservers.startAnimation&&this.intersectionObservers.startAnimation.element;e&&t&&e.unobserve(t)}})},{"../utils/module":9}],31:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),"yes"===this.getInstanceValue("turn_to_popup_action_button")&&this.registerEventForPopup()},registerEventForPopup(){let t=this;this.$element.find(".raven-button").on("click",function(){var e={actionType:t.getInstanceValue("popup_action_type"),popupId:$(this).closest('[data-elementor-type="jupiterx-popups"]').attr("data-elementor-id")};$(document).trigger("popup-button-clicked",e)})}})},{"../utils/module":9}],32:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;class n extends elementorModules.frontend.handlers.SwiperBase{async onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);var e,t=this.getElementSettings();this.getSlidesCount()<=1||(e=elementorFrontend.utils.swiper,this.swiper=await new e(this.elements.$swiperContainer,this.getSwiperOptions()),"yes"===t.pause_on_hover&&this.togglePauseOnHover(!0),this.elements.$swiperContainer.data("swiper",this.swiper))}getDefaultSettings(){return{selectors:{swiperContainer:".raven-main-swiper",swiperSlide:".swiper-slide"},slidesPerView:{widescreen:3,desktop:3,laptop:3,tablet_extra:3,tablet:2,mobile_extra:2,mobile:1}}}getDefaultElements(){var e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.swiperContainer)};return t.$slides=t.$swiperContainer.find(e.swiperSlide),t}getEffect(){return this.getElementSettings("effect")}getDeviceSlidesPerView(e){var t="slides_per_view"+("desktop"===e?"":"_"+e);return this.getElementSettings(t)?.size?Math.min(this.getSlidesCount(),+this.getElementSettings(t)?.size||this.getSettings("slidesPerView")[e]):Math.min(this.getSlidesCount(),+this.getElementSettings(t)||this.getSettings("slidesPerView")[e])}getSlidesPerView(e){return"slide"===this.getEffect()?this.getDeviceSlidesPerView(e):1}getDeviceSlidesToScroll(e){e="slides_to_scroll"+("desktop"===e?"":"_"+e);return Math.min(this.getSlidesCount(),+this.getElementSettings(e)||1)}getSlidesToScroll(e){return"slide"===this.getEffect()||"coverflow"===this.getElementSettings("skin")?this.getDeviceSlidesToScroll(e):1}getSpaceBetween(e){let t="space_between";return e&&"desktop"!==e&&(t+="_"+e),Number(this.getElementSettings(t).size)||0}getSwiperOptions(){var e=this.getElementSettings(),n={grabCursor:!0,initialSlide:this.getInitialSlide(),slidesPerView:this.getSlidesPerView("desktop"),slidesPerGroup:this.getSlidesToScroll("desktop"),spaceBetween:this.getSpaceBetween(),loop:"yes"===e.loop,loopedSlides:e.loopedSlides,speed:e.speed,effect:this.getEffect(),preventClicksPropagation:!1,slideToClickedSlide:!0,handleElementorBreakpoints:!0,centeredSlides:"yes"===e.overflow_visible||"yes"===e.centered_slides};if("yes"!==e.lazyload&&!this.elements.$swiperContainer.find("img").hasClass("swiper-lazy")||(n.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),e.show_arrows&&(n.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),e.pagination&&(n.pagination={el:".swiper-pagination",type:e.pagination,clickable:!0}),"cube"!==this.getEffect()){let t={},i=elementorFrontend.config.responsive.activeBreakpoints;Object.keys(i).forEach(e=>{t[i[e].value]={slidesPerView:this.getSlidesPerView(e),slidesPerGroup:this.getSlidesToScroll(e),spaceBetween:this.getSpaceBetween(e)}}),n.breakpoints=t}e.autoplay&&(n.autoplay={delay:e.autoplay_speed,disableOnInteraction:!!e.pause_on_interaction});let t=this.findElement(".raven-swiper");return this.$element[0]?.classList?.contains("elementor-widget-raven-media-carousel")&&(n.on={init:()=>{t[0].classList.add("media-carousel-initiated"),t[1]&&t[1].classList.add("media-carousel-initiated")}}),n}getDeviceBreakpointValue(e){if(!this.breakpointsDictionary){let t=elementorFrontend.config.responsive.activeBreakpoints;this.breakpointsDictionary={},Object.keys(t).forEach(e=>{this.breakpointsDictionary[e]=t[e].value})}return this.breakpointsDictionary[e]}updateSpaceBetween(e){var e=e.match("space_between_(.*)"),e=e?e[1]:"desktop",t=this.getSpaceBetween(e);"desktop"!==e&&(this.swiper.params.breakpoints[this.getDeviceBreakpointValue(e)].spaceBetween=t),this.swiper.params.spaceBetween=t,this.swiper.update()}getChangeableProperties(){return{autoplay:"autoplay",pause_on_hover:"pauseOnHover",pause_on_interaction:"disableOnInteraction",autoplay_speed:"delay",speed:"speed",width:"width"}}updateSwiperOption(i){if(0!==i.indexOf("width")){var n=this.getElementSettings(),s=n[i];let e=this.getChangeableProperties()[i],t=s;switch(i){case"autoplay":t=!1,s&&(t={delay:n.autoplay_speed,disableOnInteraction:"yes"===n.pause_on_interaction});break;case"autoplay_speed":e="autoplay",t={delay:s,disableOnInteraction:"yes"===n.pause_on_interaction};break;case"pause_on_hover":this.togglePauseOnHover("yes"===s);break;case"pause_on_interaction":t="yes"===s}"pause_on_hover"!==i&&(this.swiper.params[e]=t)}this.swiper.update()}onElementChange(e){this.getSlidesCount()<=1||(0===e.indexOf("width")?(this.swiper.update(),this.thumbsSwiper&&this.thumbsSwiper.update()):0===e.indexOf("space_between")?this.updateSpaceBetween(e):0===e.indexOf("pagination_gap")?(this.handlePaginationGap(),this.swiper&&this.swiper.update()):this.getChangeableProperties().hasOwnProperty(e)&&this.updateSwiperOption(e))}onEditSettingsChange(e){this.getSlidesCount()<=1||"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}paginationGapPx(e){return e&&""!==e.size&&null!=e.size&&(e=parseFloat(e.size),isFinite(e))?e:0}isPaginationGapTotalAllowed(e,t){return isFinite(e)&&0<e&&e<=t}getMainSwiperGapSelector(){return".elementor-element-"+this.getID()+" "+(elementorFrontend.config.experimentalFeatures?.e_swiper_latest?".raven-main-swiper.swiper":".raven-main-swiper")}shouldApplyContentBoxForPaginationGap(){return this.$element.hasClass("elementor-widget-raven-media-carousel")}formatPaginationGapRule(e,t){t=["padding-bottom: "+t+"px !important"];return this.shouldApplyContentBoxForPaginationGap()&&t.push("box-sizing: content-box !important"),e+"{ "+t.join("; ")+"; }"}cachePaginationPaddingBaseline(e){void 0===this._ravenPaginationPaddingBasePx&&(e=parseInt(e.css("padding-bottom"),10),this._ravenPaginationPaddingBasePx=isNaN(e)?0:e)}wrapPaginationGapMediaQuery(e,t){return" @media screen and (max-width:"+t+"px){ "+e+" }"}persistPaginationGapStyles(e){var t=this.elements.$swiperContainer,i="raven-pagination-gap-"+this.getID(),n=t.find("#"+i);e?n.length?n.text(e):t.append('<style id="'+i+'">'+e+"</style>"):n.remove()}handlePaginationGap(){var e=this.elements&&this.elements.$swiperContainer;if(e&&e.length){this.cachePaginationPaddingBaseline(e);let n=this.getMainSwiperGapSelector(),s=this.getElementSettings(),a=this._ravenPaginationPaddingBasePx,o=elementorFrontend.config.responsive.activeBreakpoints,r="";var e=this.paginationGapPx(s.pagination_gap);s.pagination_gap&&0<e&&(e=a+e,this.isPaginationGapTotalAllowed(e,8e3))&&(r+=this.formatPaginationGapRule(n,e)),Object.keys(o).reverse().forEach(e=>{var t=s["pagination_gap_"+e],i=this.paginationGapPx(t);!t||i<=0||(t=a+i,this.isPaginationGapTotalAllowed(t,8e3)&&(i=this.formatPaginationGapRule(n,t),t=o[e].value,r+=this.wrapPaginationGapMediaQuery(i,t)))}),this.persistPaginationGapStyles(r)}}}i.default=n},{}],33:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../carousel/base"))&&i.__esModule?i:{default:i};class n extends e.default{async onInit(){await super.onInit();var a=this.getSlidesCount();if(this.handlePaginationGap(),this.isSlideshow()&&!(a<=1)){let e=this.getElementSettings(),t="yes"===e.loop,i={},n=elementorFrontend.config.responsive.activeBreakpoints,s=this.getDeviceSlidesPerView("desktop");Object.keys(n).forEach(e=>{i[n[e].value]={slidesPerView:this.getDeviceSlidesPerView(e),spaceBetween:this.getSpaceBetween(e)}});var a={slidesPerView:s,initialSlide:this.getInitialSlide(),centeredSlides:e.centered_slides,slideToClickedSlide:!0,spaceBetween:this.getSpaceBetween(),loopedSlides:a,loop:t,breakpoints:i,handleElementorBreakpoints:!0},o=("yes"===e.lazyload&&(a.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),elementorFrontend.utils.swiper);this.swiper.controller.control=this.thumbsSwiper=await new o(this.elements.$thumbsSwiper,a),this.elements.$thumbsSwiper.data("swiper",this.thumbsSwiper),this.thumbsSwiper.controller.control=this.swiper}}isSlideshow(){return"slideshow"===this.getElementSettings("skin")}getDefaultSettings(...e){e=super.getDefaultSettings(...e);return this.isSlideshow()&&(e.selectors.thumbsSwiper=".raven-thumbnails-swiper",e.slidesPerView={widescreen:5,desktop:5,laptop:5,tablet_extra:5,tablet:4,mobile_extra:4,mobile:3}),e}getSlidesPerViewSettingNames(){var e;return this.slideshowElementSettings||(this.slideshowElementSettings=["slides_per_view"],e=elementorFrontend.config.responsive.activeBreakpoints,Object.keys(e).forEach(e=>{this.slideshowElementSettings.push("slides_per_view_"+e)})),this.slideshowElementSettings}getElementSettings(e){return-1!==this.getSlidesPerViewSettingNames().indexOf(e)&&this.isSlideshow()&&(e="slideshow_"+e),super.getElementSettings(e)}getDefaultElements(...e){var t=this.getSettings("selectors"),e=super.getDefaultElements(...e);return this.isSlideshow()&&(e.$thumbsSwiper=this.$element.find(t.thumbsSwiper)),e}getEffect(){return"coverflow"===this.getElementSettings("skin")?"coverflow":super.getEffect()}getSlidesPerView(e){return this.isSlideshow()?1:"coverflow"===this.getElementSettings("skin")?this.getDeviceSlidesPerView(e):"carousel"===this.getElementSettings("skin")&&"slide"===this.getElementSettings("effect")&&"yes"===this.getElementSettings("overflow_visible")?this.getDeviceSlidesPerView(e)+.5:super.getSlidesPerView(e)}getSwiperOptions(){var e=super.getSwiperOptions();return this.isSlideshow()&&(e.loopedSlides=this.getSlidesCount(),delete e.pagination,delete e.breakpoints),e}}},{"../carousel/base":32}],34:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../carousel/base"))&&i.__esModule?i:{default:i};class n extends e.default{async onInit(){await super.onInit(),this.handlePaginationGap()}getDefaultSettings(){let t=super.getDefaultSettings();return t.slidesPerView={desktop:1},Object.keys(elementorFrontend.config.responsive.activeBreakpoints).forEach(e=>{t.slidesPerView[e]=1}),t.loop&&(t.loopedSlides=this.getSlidesCount()),t}getEffect(){return"slide"}}},{"../carousel/base":32}],35:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};$=jQuery;let n=e.default.extend({getDefaultSettings(){return{selectors:{shippingMethods:"ul.woocommerce-shipping-methods li",productName:".cart_item .product-name",productQuantity:".cart_item .product-quantity"}}},bindEvents(){this.fixVariationStyle(),this.fixDividerStyle(),this.fixShippingAjaxStyle(),this.handleShippingMethodList(),this.handleQuantityInput(),this.fixQuantityStyle(),this.addClassToWooWrapper(),jQuery(document.body).on("updated_wc_div",this.handleShippingMethodList),jQuery(document.body).on("updated_cart_totals",this.handleShippingMethodList),jQuery(document.body).on("updated_cart_totals",this.handleQuantityInput)},onElementChange(e){"sections_titles_typography_font_size"===e&&this.fixVariationStyle(),"cart_divider_weight"!==e&&"cart_divider_gap"!==e||this.fixDividerStyle(),"cart_quantity_width"===e&&this.fixQuantityStyle()},addClassToWooWrapper(){document.body.classList.contains("woocommerce-cart")&&document.body.classList.add("raven-cart-wiget-cart-page")},fixVariationStyle(){var e=this.getSettings("selectors"),t=this.$element.find(e.productName).find("a").css("font-size"),e=this.$element.find(e.productName).find(".product-variations");t&&(e.find("div").css("font-size","calc("+t+" * 0.7)"),e.find("span").css("font-size","calc("+t+" * 0.7)"))},fixDividerStyle(){var e=parseFloat(this.$element.find(".cart_item").find("td").css("padding-top")),t=this.getInstanceValue("cart_divider_weight");t.size&&(this.$element.find(".woocommerce-cart-form__contents").find("tbody").find(".cart_item:not(:first-child)").find("td").css("padding-top",t.size+e),this.$element.find(".woocommerce-cart-form__contents").find("tbody").find(".actions").css("padding-top",t.size+e))},fixQuantityStyle(){var t=this.getSettings("selectors");if(this.getInstanceValue("cart_quantity_width"))if("px"===this.getInstanceValue("cart_quantity_width")?.unit)this.$element.find(t.productQuantity).find("input").css("width",this.getInstanceValue("cart_quantity_width")?.size+"px");else{var i=parseFloat(this.$element.find(t.productQuantity).css("width")),n=this.getInstanceValue("cart_quantity_width").unit,s=this.getInstanceValue("cart_quantity_width").size;let e=0;"%"===n?e=s/100*i:"em"===n&&(e=s*i),0!==e&&("plus_minus"===this.getInstanceValue("cart_quantity_view")&&(n=parseFloat(this.$element.find(t.productQuantity).find(".input-group-prepend").css("width")),e-=2*n,this.$element.find(t.productQuantity).find("input").css("flex","inherit")),this.$element.find(t.productQuantity).find("input").css("width",e+"px"))}},fixShippingAjaxStyle(){$(document).ajaxComplete((e,t,i)=>{-1!==i.url.indexOf("wc-ajax=update_shipping_method")&&(this.getInstanceValue("cart_items_continue_shopping")||$(".elementor-widget-raven-cart.elementor-element-"+this.getID()+" .jupiterx-continue-shopping").hide(),$(".elementor-widget-raven-cart.elementor-element-"+this.getID()+" .checkout-button").text(this.getInstanceValue("checkout_button_text")),$(".elementor-widget-raven-cart.elementor-element-"+this.getID()+" .cart_totals h2").text(this.getInstanceValue("totals_section_title")))})},handleShippingMethodList(){var e=this.getSettings("selectors");this.$element.find(e.shippingMethods).length<1||(this.$element.find(e.shippingMethods).each((e,t)=>{$(t).find(".raven-cart-shipping-method-radio").length<1&&$(t).find("input").after('<span class="raven-cart-shipping-method-radio"></span>')}),this.handleRadioSpan())},handleQuantityInput(){"plus_minus"===this.getInstanceValue("cart_quantity_view")&&this.$element.find(".cart_item").each((e,t)=>{0===$(t).find(".input-group-prepend").length&&($(t).find(".input-text.qty").hide(),$(t).find(".input-text.qty").after('<div class="input-group input-text qty text custom-qty-input "><div class="input-group-prepend"><button style="min-width: 0; box-shadow: none;" class="btn btn-decrement btn-sm btn-outline-secondary" type="button" tabindex="-1"><span>-</span></button></div><input type="text" value="" style="text-align: center" class="form-control input-text qty text" placeholder="" tabindex="-1"><div class="input-group-append"><button style="min-width: 0; box-shadow: none;" class="btn btn-increment btn-sm btn-outline-secondary" type="button" tabindex="-1"><span>+</span></button></div></div>'),$(t).find(".custom-qty-input").find(".input-text.qty").val($(t).find(".input-text.qty").val()),$(t).on("paste change",".custom-qty-input .qty",()=>{$(t).find(".input-text.qty").val($(t).find(".custom-qty-input").find(".input-text.qty").val())}),$(t).on("click",".btn-increment",()=>{$(t).find(".input-text.qty").val((e,t)=>parseInt(t,10)+1).trigger("change")}),$(t).on("click",".btn-decrement",()=>{$(t).find(".input-text.qty").val((e,t)=>1<parseInt(t,10)?parseInt(t,10)-1:parseInt(t,10)).trigger("change")}))})},handleRadioSpan(){var e=document.getElementsByClassName("raven-cart-shipping-method-radio");Object.values(e).forEach((e,t)=>{e.addEventListener("click",e=>{e.currentTarget.previousElementSibling.click()})})}})},{"../utils/module":9}],36:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new a({$element:e})};var i=s(e("../utils/module")),n=s(e("../utils/masonry"));function s(e){return e&&e.__esModule?e:{default:e}}let a=i.default.extend({Masonry:null,onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),"masonry"===this.getInstanceValue("layout")&&this.createMasonry()},createMasonry(){this.Masonry=new n.default({$element:this.$element}),this.Masonry.run()}})},{"../utils/masonry":8,"../utils/module":9}],37:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({breakpoints:{},animation:!1,progress:0,value:0,circumference:0,getDefaultSettings(){return{selectors:{wrapper:".raven-circle-progress-container",counterNumber:".raven-circle-progress-counter-number",bar:".raven-circle-progress-bar",meter:".raven-circle-progress-meter",value:".raven-circle-progress-value"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$wrapper:this.$element.find(e.wrapper),$counterNumber:this.$element.find(e.counterNumber),$bar:this.$element.find(e.bar),$meter:this.$element.find(e.meter),$value:this.$element.find(e.value)}},bindEvents(){this.setValues(),0!==parseInt(this.value)&&(this.handleBar(),this.handleCounter(),this.handleResize())},setValues(){this.progress=this.elements.$bar[0].getAttribute("value")/100,this.value=this.elements.$value[0].getAttribute("data-value"),this.circumference=parseInt(this.elements.$bar[0].getAttribute("circumference"))},createObserver(e,t){let i=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(t.fromValue=0,t.toValue=this.value,t.duration=this.getInstanceValue("duration"),this.elements.$counterNumber.numerator(t),this.animation=!0,e=this.circumference*(1-this.progress),this.elements.$value.css({transitionDuration:t.duration+"ms",strokeDashoffset:e}),i.disconnect())})},{threshold:.8});i.observe(e[0])},handleCounter(){var e={fromValue:0};"yes"===this.getInstanceValue("separate_Ttousands")&&(e.delimiter=","),this.createObserver(this.elements.$wrapper,e)},handleBar(){let e=elementorFrontend.config.responsive.activeBreakpoints,t=elementorFrontend.getCurrentDeviceMode(),d=this.getElementSettings(),c=this;e.desktop=[],e[t]&&Object.keys(e).reverse().forEach(e=>{var t=("desktop"===e?d.circle_size:d["circle_size_"+e]).size,i=("desktop"===e?d.progress_circle_thickness:d["progress_circle_thickness_"+e]).size,n=("desktop"===e?d.progress_indicator_thickness:d["progress_indicator_thickness_"+e]).size,s=`0 0 ${t=c.handleEmptyValues(t,"size")} `+t,a=t/2,o=(i=c.handleEmptyValues(i,"meter"))<=(n=c.handleEmptyValues(n,"value"))?n:i,r=a-o/2,l=2*Math.PI*r;c.breakpoints[e]={size:t,meter:i,value:n,viewBox:s,center:a,thickness:o,radius:r,circumference:l}}),c.updateSvg(c.breakpoints[t].size,c.breakpoints[t].viewBox,c.breakpoints[t].center,c.breakpoints[t].radius,c.breakpoints[t].value,c.breakpoints[t].meter,c.breakpoints[t].circumference)},handleEmptyValues(e,t){var i;return e||((i=Object.keys(this.breakpoints).length-1)<0?e:(e=Object.keys(this.breakpoints)[i],this.breakpoints[e][t]))},handleResize(){let t=this;$(window).on("resize orientationchange",()=>{var e=elementorFrontend.getCurrentDeviceMode();document.body.classList.contains("elementor-editor-active")?(t.breakpoints={},setTimeout(()=>t.handleBar())):t.updateSvg(t.breakpoints[e].size,t.breakpoints[e].viewBox,t.breakpoints[e].center,t.breakpoints[e].radius,t.breakpoints[e].value,t.breakpoints[e].meter,t.breakpoints[e].circumference)})},updateSvg(e,t,i,n,s,a,o){var r=o*(1-this.progress);this.elements.$bar.attr({width:e,height:e,"data-radius":n,"data-circumference":o}),this.elements.$bar[0].setAttribute("viewBox",t),this.elements.$meter.attr({cx:i,cy:i,r:n,"stroke-width":a}),this.animation&&this.elements.$value.css({transitionDuration:""}),this.elements.$value.attr({cx:i,cy:i,r:n,"stroke-width":s}),this.elements.$value.css({strokeDasharray:o,strokeDashoffset:this.animation?r:o})}})},{"../utils/module":9}],38:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new s({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let n=jQuery,s=e.default.extend({onInit(){Prism.highlightAllUnder(this.$element[0],!1),this.changeActiveTabEvent()},onElementChange(e){"code"!==e&&"height"!==e&&("src"===e&&(e=this.getElementSettings("src"),this.addRelatedJs(e)),setTimeout(()=>{Prism.highlightAllUnder(this.$element[0],!1)},1500))},addRelatedJs(e){var t='div[data-id="'+this.getID()+'"]',t=n(t);t.empty(),"cpp"!==e&&"objectivec"!==e||t.append('<script src="'+elementor.config.jx_assets_url+'/lib/code-highlight/prism-c.min.js" ><\/script>'),"scala"===e&&t.append('<script src="'+elementor.config.jx_assets_url+'/lib/code-highlight/prism-java.min.js" ><\/script>'),"scss"!==e&&"sass"!==e||t.append('<script src="'+elementor.config.jx_assets_url+'/lib/code-highlight/prism-css.min.js" ><\/script>')},changeActiveTabEvent(){document.addEventListener("jupiterxcore:advancedtabs:changeactivetab",()=>{Prism.highlightAllUnder(this.$element[0],!1)})}})},{"../utils/module":9}],39:[function(e,t,i){var s;(s=jQuery)(document).on("click",".raven-column-link",function(e){var t=s(this).data("ravenLink"),i=s(this).data("ravenLinkTarget"),n=s(this);if(!s(e.target).filter("a, a *, .no-link, .no-link *").length)if(t.match(/^#elementor-action/))n.find(".raven-column-link-dynamic").length||n.append(`<a class="raven-column-link-dynamic" href="${t}"></a>`),n.find(".raven-column-link-dynamic").trigger("click");else if(t.match(/^#/)){if(s(t).length)document.querySelector(t).scrollIntoView({behavior:"smooth"})}else window.open(t,i)})},{}],40:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){let t=e.find(".raven-content-switch-container"),i=t.find(".raven-content-switch-input"),n=t.find(".raven-content-switch-two-content"),s=t.data("default_state"),a=n.find('li[data-type="raven-content-switch-monthly"]'),o=n.find('li[data-type="raven-content-switch-yearly"]'),r=e.find(".raven-content-switch-primary-label"),l=e.find(".raven-content-switch-secondary-label"),d=e.find(".raven-content-switch-button"),c={};function u(e,t){$.each(e,function(e){Number.parseInt(e)!==Number.parseInt(t)?$(this).removeClass("raven-content-switch-is-visible").addClass("raven-content-switch-is-hidden"):$(this).addClass("raven-content-switch-is-visible").removeClass("raven-content-switch-is-hidden")})}i.prop("checked","primary"===s),c[0]=a,c[1]=o,i.on("click",function(e){let t=$(e.target).val();$(this).hasClass("raven-content-switch-input-active")?(t=1,l.toggleClass("selected"),r.toggleClass("selected"),$(this).toggleClass("raven-content-switch-input-normal raven-content-switch-input-active"),d.toggleClass("primary secondary"),u(c,t)):$(this).hasClass("raven-content-switch-input-normal")&&(t=0,l.toggleClass("selected"),r.toggleClass("selected"),$(this).toggleClass("raven-content-switch-input-normal raven-content-switch-input-active"),d.toggleClass("primary secondary"),u(c,t))})}},{}],41:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){let t=e.find("[data-raven-countdown]"),i=t.data("raven-countdown"),n=void 0!==t.data("raven-days")?t.data("raven-days"):"Day%!D",s=void 0!==t.data("raven-hours")?t.data("raven-hours"):"Hour%!H",a=void 0!==t.data("raven-minutes")?t.data("raven-minutes"):"Minute%!M",o=void 0!==t.data("raven-seconds")?t.data("raven-seconds"):"Second%!S";t.countdown(i,e=>{t.html(e.strftime(e.strftime(`
<div class="raven-countdown-box raven-flex-1">
<span class="raven-countdown-number">%D</span>
<span class="raven-countdown-title"> ${n}</span>
</div>
<div class="raven-countdown-box raven-flex-1">
<span class="raven-countdown-number">%H</span>
<span class="raven-countdown-title"> ${s}</span>
</div>
<div class="raven-countdown-box raven-flex-1">
<span class="raven-countdown-number">%M</span>
<span class="raven-countdown-title"> ${a}</span>
</div>
<div class="raven-countdown-box raven-flex-1">
<span class="raven-countdown-number">%S</span>
<span class="raven-countdown-title"> ${o}</span>
</div>
`)))})}},{}],42:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){$=jQuery;let t=e.find("[data-raven-counter]");t.each(function(){(i=>{let n=new IntersectionObserver(e=>{e.forEach(e=>{var t;e.isIntersecting&&((t=(e=i.data()).toValue.toString().match(/\.(.*)/))&&(e.rounding=t[1].length),e.fromValue=$.trim(i.text()),i.numerator(e),n.disconnect())})});n.observe(i[0])})($(this))})}},{}],43:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};var i=(i=t("../utils/module"))&&i.__esModule?i:{default:i},a=t("@wordpress/i18n");let u=null,n=i.default.extend({form:null,captchaV3Ids:[],reCaptchaCheckTimeout:null,isMultiStep:!1,itiCountry:null,onInit(){this.form=this.$element.find(".raven-form"),this.isMultiStep=void 0!==this.form.attr("data-step"),this.isMultiStep&&this.handleMultiStep(this.form),this.initializeITI();var e=this.form.find(".flatpickr[type=text]");let t={firstDayOfWeek:1};var i=e.data("locale");void 0!==i&&"default"!==i&&(t=i),e.flatpickr({locale:t,minuteIncrement:1,disableMobile:"true"}),this.initCaptcha(),this.onSubmit(),window.onInvalidRavenFormField=this.onInvalidRavenFormField},onSubmit(){let t=this,i=t.form;i.on("submit",e=>{e.preventDefault(),this.checkSaveState()&&(i.css("opacity",.5),this.fixTelBeforeSubmit(),e=new FormData(i[0]),this.validateFormData(e,i)?(e.append("action","raven_form_frontend"),e.append("referrer",location.toString()),jQuery.ajax({url:_wpUtilSettings.ajax.url,type:"POST",dataType:"json",data:e,processData:!1,contentType:!1,success:t.doSuccess})):i.css("opacity",1))})},validateFormData(e,t){var i=window.ravenTools.maxFileUploadSize;if(!_.isEmpty(i))for(var[n,s]of e.entries())if(s instanceof File&&s.size>i)return(s=t.find(`input[name="${n}"]`).parents(".raven-field-group")).find("small").remove(),s.removeClass("raven-field-invalid"),s.addClass("raven-field-invalid"),s.append(`<small class="raven-form-text">${(0,a.__)("This file size is not allowed.","jupiterx-core")}</small>`),!1;return!0},checkSaveState(){var e;return!this.isEdit||(!(e=jQuery(elementor.panel.el).find("button#elementor-panel-saver-button-publish")).length||e.hasClass("elementor-disabled")?(this.form.prev("div.elementor-alert.elementor-alert-info").remove(),!0):(e=`
<div class="elementor-alert elementor-alert-info" role="alert">
<span class="elementor-alert-title">
${(0,a.__)("Please first update/publish the changes.","jupiterx-core")}
</span>
</div>
`,this.form.before(e),!1))},doSuccess(e){if(this.showMessage(e),e.data.download_url&&window.open(e.data.download_url,"_blank"),$.isEmptyObject(e.data.redirect_to)||(window.location.href=e.data.redirect_to),!$.isEmptyObject(e.data.popup)){var t={},i=this.form.parents(".jupiterx-popup");if("close"===e.data.popup[0].type&&0!==i.length)return t.constantly="yes"===e.data.popup[0].constantly,(i=i?.data("settings")?.id)&&(t.popupId=i),void $(document).trigger("jupiterx-popup-close-form-trigger",t);t.popupId=e.data.popup[0].popupId,$(document).trigger("jupiterx-popup-open-trigger",t)}$.isEmptyObject(e.data.admin_errors)||this.showAdminErrors(e.data.admin_errors),this.captchaV3Ids.forEach(function(e){return window.grecaptcha.reset(e)})},onInvalidRavenFormField(e){let t=e.target;var e=t.dataset.type,i=t.validity,n=window.ravenFormsTranslations.validation;if(i.valueMissing)return t.setCustomValidity(n.required),null!==u?void 0:(u=t.id,void window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{var e=(e=>{var e=$(e),t=$(".jupiterx-header"),i=t.data("jupiterx-settings")||{},n=0<$(".jupiterx-header-sticked").length,s=document.body,a=$("#wpadminbar").height()||0,o=$(".jupiterx-tbar").outerHeight()||0,r=parseInt($(".jupiterx-site-body-border").css("border-width"),10)||0,l=e.offset().top,e=e.outerHeight()||0;let d=a+r+o;a="sticky"===i.behavior,r="fixed"===i.behavior,!n&&(!i.behavior||a&&i.overlap)&&(d+=o),n=a&&(!i.stickyTemplate||i.stickyTemplate!==i.template),n&&(o=$(".jupiterx-header-custom .elementor:last-of-type").outerHeight()||0,d+=o),!n&&(a||r&&"top"===i.position)&&(d+=t.height()||0),i.behavior||!s.classList.contains("jupiterx-header-fixed")&&!s.classList.contains("jupiterx-header-sticked")||(d+=t.height()||0),o=window.innerHeight,n=o-d,a=l-d-(n-e)/2;return Math.max(a,0)})(t);window.scrollTo({top:e,behavior:"smooth"}),setTimeout(()=>{u=null},100)})}));let s="";switch(e){case"email":(i.typeMismatch||i.patternMismatch)&&(s=n.invalidEmail);break;case"tel":if(t.hasAttribute("data-iti-tel")){var a=window.ravenFormsTranslations.itiValidation,o=window.intlTelInputGlobals.getInstance(t),r=o.getValidationError(),l=t.hasAttribute("data-iti-area-required"),d=t.getAttribute("data-iti-tel-type"),c=""+o.getNumberType();switch(r){case 1:s=a.invalidCountryCode;break;case 2:s=a.tooShort;break;case 3:s=a.tooLong;break;case 4:s=l?a.areaCodeMissing:"";break;case 5:s=a.invalidLength;break;case-99:s=a.invalidGeneral;break;default:"all"!==d&&c!==d&&(s=a.typeMismatch[d])}}else(i.typeMismatch||i.patternMismatch)&&(s=n.invalidPhone);break;case"number":i.typeMismatch||i.patternMismatch?s=n.invalidNumber:i.rangeOverflow?s=n.invalidMaxValue.replace("MAX_VALUE",t.max):i.rangeUnderflow&&(s=n.invalidMinValue.replace("MIN_VALUE",t.min))}t.setCustomValidity(s)},showMessage(e){var t=this.form;t.css("opacity",1),$(".raven-form-response").remove(),t.parent().find(".elementor-alert").remove(),t.find("small").remove(),t.find(".raven-field-group").removeClass("raven-field-invalid"),t.parent().removeClass("raven-form-success"),t.parent().addClass("raven-form-error"),e.success&&(t.trigger("reset"),t.parent().removeClass("raven-form-error"),t.parent().addClass("raven-form-success"),t.trigger("submit_success",e.data)),$.each(e.data.errors,function(e,t){e=$("#raven-field-group-"+e);e.addClass("raven-field-invalid"),e.append('<small class="raven-form-text">'+t+"</small>")}),t.after('<div class="raven-form-response">'+e.data.message+"</div>")},showAdminErrors(e){let i="";$.each(e,function(e,t){i+=`<li>${t}</li>`}),this.form.before(`
<div class="elementor-alert elementor-alert-info" role="alert">
<span class="elementor-alert-title">
${(0,a.__)("Following messages are visible only for admin users.","jupiterx-core")}
</span>
<div class="elementor-alert-description">
<ul>${i}</ul>
</div>
</div>
`)},initCaptcha(){var e=this.form.find(".raven-g-recaptcha:last");e.length&&(window.grecaptcha?.render?(this.addRecaptcha(e),clearTimeout(this.reCaptchaCheckTimeout)):this.reCaptchaCheckTimeout=setTimeout(this.initCaptcha,350))},addRecaptcha(t){var e=t.data(),i="v3"===e.type;this.captchaV3Ids.forEach(e=>window.grecaptcha.reset(e));let n=window.grecaptcha.render(t[0],e);this.form.on("reset error",()=>window.grecaptcha.reset(n)),i?(this.captchaV3Ids.push(n),this.form.find('button[type="submit"]').on("click",e=>{e.preventDefault(),window.grecaptcha.ready(()=>{window.grecaptcha.execute(n,{action:t.data("action")}).then(e=>{this.form.find('[name="g-recaptcha-response"]').remove(),this.form.append(jQuery("<input>",{type:"hidden",value:e,name:"g-recaptcha-response"})),this.form.submit()})})})):t.data("widgetId",n)},steps:[],indicators:[],buttons:[],stepsValidableFields:[],isProgressBar:!1,progressMeter:null,handleMultiStep(e){var t=e.children(".fields-step-wrapper"),i=e.children(".raven-form__indicators").children().not(".raven-form__indicators__indicator__separator"),e=e.find(".step-button-next,.step-button-prev");this.steps=this.jqueryToArray(t),this.indicators=this.jqueryToArray(i),this.buttons=this.jqueryToArray(e),this.stepsValidableFields=this.getStepsValidableFields(),this.isProgressBar=this.isIndicatorProgressBar(),this.progressMeter=this.isProgressBar?this.indicators[0].find(".raven-form__indicators__indicator__progress__meter"):null,this.isProgressBar&&this.updateProgressMeter(0),this.setStepButtonsOnClicks()},jqueryToArray(e){let i=[];return e.each((e,t)=>{i.push($(t))}),i},getStepsValidableFields(){let n=Array(this.steps.length);return _.each(this.steps,(e,i)=>{n[i]=[],e.find("*[oninvalid]").each((e,t)=>{n[i].push($(t))})}),n},setStepButtonsOnClicks(){_.each(this.buttons,e=>{var t=e.attr("data-step-key"),i=e.hasClass("step-button-next");t&&(i&&e.click({destStep:+t+1,totalSteps:this.steps.length,inputsToValidate:this.stepsValidableFields[+t]},t=>{let i=!0;_.each(t.data.inputsToValidate,e=>{e[0].checkValidity()||(i=!1,t.data.destStep-1<t.data.totalSteps-1&&e[0].reportValidity())}),i&&this.moveToStep(t.data.destStep)}),i||e.click({destStep:+t-1},e=>{this.moveToStep(e.data.destStep)}))})},moveToStep(i){_.each(this.steps,(e,t)=>{t===i?e.removeClass("elementor-hidden"):e.addClass("elementor-hidden")}),this.isProgressBar?this.updateProgressMeter(i):this.updateNormalIndicators(i)},isIndicatorProgressBar(){return this.indicators[0].hasClass("raven-form__indicators__indicator__progress")},updateNormalIndicators(i){_.each(this.indicators,(e,t)=>{t===i?(this.stripStateClasses(e),e.addClass("raven-form__indicators__indicator--state-active")):i<t?(this.stripStateClasses(e),e.addClass("raven-form__indicators__indicator--state-inactive")):(this.stripStateClasses(e),e.addClass("raven-form__indicators__indicator--state-completed"))})},stripStateClasses(e){e.removeClass("raven-form__indicators__indicator--state-active"),e.removeClass("raven-form__indicators__indicator--state-inactive"),e.removeClass("raven-form__indicators__indicator--state-completed")},updateProgressMeter(e){e=(e+1)/this.steps.length*100;this.progressMeter.css({width:e+"%"}),this.progressMeter.html(Math.round(e)+"%")},initializeITI(){let t=this.form.find("input[data-iti-tel]");t.length&&(window.itiCountry?this.setupTelFields(t):$.get("https://ipwho.is/",()=>{},"json").always(e=>{window.itiCountry=e&&e.country_code?e.country_code.toLowerCase():"us",this.setupTelFields(t)}))},setupTelFields(e){let l=t("intl-tel-input");if(l){let o=window.intlTelInputGlobals.getCountryData().map(e=>e.iso2),r=["FIXED_LINE","MOBILE","FIXED_LINE_OR_MOBILE","TOLL_FREE","PREMIUM_RATE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"];_.each(e,e=>{var t=e.hasAttribute("data-iti-allow-dropdown"),i=e.getAttribute("data-iti-country-include"),i=i?i.split(" "):null,n=i&&i.length,s=e.hasAttribute("data-iti-ip-detect"),a=e.getAttribute("data-iti-tel-type"),t={allowDropdown:t,utilsScript:"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.16/js/utils.min.js",separateDialCode:!0,placeholderNumberType:"all"===a?"MOBILE":r[+a],onlyCountries:n?i:o,initialCountry:"",geoIpLookup:null};s&&(t.initialCountry=n&&!i.includes(window.itiCountry)?i[0]:"auto",t.geoIpLookup=e=>e(window.itiCountry)),l(e,t)})}},fixTelBeforeSubmit(){var e=this.form.find("input[data-iti-tel]");_.each(e,e=>{var t;e.hasAttribute("data-iti-internationalize")&&(t=window.intlTelInputGlobals.getInstance(e),e.value=t.getNumber())})}})},{"../utils/module":9,"@wordpress/i18n":104,"intl-tel-input":107}],44:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let a=jQuery,n=e.default.extend({getDefaultSettings(){return{selectors:{hotspot:".raven-hotspot",tooltip:".raven-hotspot__tooltip"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$hotspot:this.$element.find(e.hotspot),$hotspotsExcludesLinks:this.$element.find(e.hotspot).filter(":not(.raven-hotspot--no-tooltip)"),$tooltip:this.$element.find(e.tooltip)}},bindEvents(){var e=this.getCurrentDeviceSetting("tooltip_trigger"),e="mouseenter"===e?"mouseleave mouseenter":e;"none"!==e&&this.elements.$hotspotsExcludesLinks.on(e,e=>this.onHotspotTriggerEvent(e))},onDeviceModeChange(){this.elements.$hotspotsExcludesLinks.off(),this.bindEvents()},onHotspotTriggerEvent(e){var t=a(e.target),i=t.closest(".raven-hotspot__button").length,n="mouseleave"===e.type&&(t.is(".raven-hotspot--tooltip-position")||t.parents(".raven-hotspot--tooltip-position").length),s="mobile"===elementorFrontend.getCurrentDeviceMode();t.closest(".raven-hotspot--link").length&&s&&("mouseleave"===e.type||"mouseenter"===e.type)||!i&&!n||(t=a(e.currentTarget),this.elements.$hotspot.not(t).removeClass("raven-hotspot--active"),t.toggleClass("raven-hotspot--active"))},editorAddSequencedAnimation(){this.elements.$hotspot.toggleClass("raven-hotspot--sequenced","yes"===this.getElementSettings("hotspot_sequenced_animation"))},hotspotSequencedAnimation(){var e=this.getElementSettings("hotspot_sequenced_animation");let i=this.getElementSettings("hotspot_sequenced_animation_duration");if("no"!==e){let t=elementorModules.utils.Scroll.scrollObserver({callback:e=>{e.isInViewport&&(t.unobserve(this.$element[0]),this.elements.$hotspot.each((e,t)=>{0!==e&&(e=e*((i?i.size:1e3)/this.elements.$hotspot.length),t.style.animationDelay=e+"ms")}))}});t.observe(this.$element[0])}},setTooltipPositionControl(){var e=this.getElementSettings("tooltip_animation");void 0!==e&&e.match(/^raven-hotspot--(slide|fade)-direction/)&&(e=this.getElementSettings("tooltip_position"),this.elements.$tooltip.removeClass("raven-hotspot--tooltip-animation-from-left raven-hotspot--tooltip-animation-from-top raven-hotspot--tooltip-animation-from-right raven-hotspot--tooltip-animation-from-bottom"),this.elements.$tooltip.addClass("raven-hotspot--tooltip-animation-from-"+e))},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.hotspotSequencedAnimation(),this.setTooltipPositionControl(),window.elementor&&elementor.listenTo(elementor.channels.deviceMode,"change",()=>this.onDeviceModeChange())},onElementChange(e){e.startsWith("tooltip_position")&&this.setTooltipPositionControl(),e.startsWith("hotspot_sequenced_animation")&&this.editorAddSequencedAnimation()}})},{"../utils/module":9}],45:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let a=jQuery,n=e.default.extend({onInit(){this.addOnHover()},addOnHover(){let e=this.getElementSettings(),t=this.$element,i=a(t).find(".jupiterx-image-accordion-item").length,n=e.active_size.size,s=n/((100-n)/(i-1));this.onMouseLeave(s),a(t).find(".jupiterx-image-accordion-item").on("mouseover",function(){a(t).find(".jupiterx-image-accordion-item").removeClass("jupiterx-active-image-accordion-item").css({"flex-grow":1}),a(this).addClass("jupiterx-active-image-accordion-item").css({"flex-grow":s})}),a(t).find(".jupiterx-default-active-image-accordion-item").addClass("jupiterx-active-image-accordion-item").css({"flex-grow":s})},onMouseLeave(e){let t=this.$element;a(t).find(".jupiterx-image-accordion-item").on("mouseleave",function(){a(t).find(".jupiterx-image-accordion-item").css({"flex-grow":1}).removeClass("jupiterx-active-image-accordion-item"),a(t).find(".jupiterx-default-active-image-accordion-item").addClass("jupiterx-active-image-accordion-item").css({"flex-grow":e})})}})},{"../utils/module":9}],46:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{carouselWrapper:".raven-swiper-slider",sliderWrapper:".raven-image-comparison-swiper-container",itemsSlider:".swiper-wrapper",slides:".swiper-slide",comparison:".raven-image-comparison-container"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$carouselWrapper:this.$element.find(e.carouselWrapper),$sliderWrapper:this.$element.find(e.sliderWrapper),$itemsSlider:this.$element.find(e.itemsSlider),$slides:this.$element.find(e.slides),$comparison:this.$element.find(e.comparison)}},getCarouselSettings(){return{slides_view:this.getInstanceValue("slides_view")||1,slides_view_tablet:this.getInstanceValue("slides_view_tablet")||1,slides_view_mobile:this.getInstanceValue("slides_view_mobile")||1,slides_scroll:this.getInstanceValue("slides_scroll")||1,slides_scroll_tablet:this.getInstanceValue("slides_scroll_tablet")||1,slides_scroll_mobile:this.getInstanceValue("slides_scroll_mobile")||1,enable_autoplay:this.getInstanceValue("autoplay"),autoplay_speed:this.getInstanceValue("autoplay_speed"),effect:this.getInstanceValue("effect"),transition_speed:this.getInstanceValue("speed"),show_dots:this.getInstanceValue("dots"),pause_on_hover:this.getInstanceValue("pause_on_hover")}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);let n=this,s=this.getCarouselSettings(),a={allowTouchMove:!1,draggable:!1,slidesPerColumn:0,slidesPerView:+s.slides_view_mobile,slidesToScroll:+s.slides_scroll_mobile||1,spaceBetween:24,slidesPerGroup:+s.slides_scroll_mobile||1,slidesPerGroupSkip:0,autoplay:"yes"===s.enable_autoplay&&{delay:s.autoplay_speed},watchOverflow:!1,speed:+s.transition_speed,navigation:{nextEl:".swiper-next-arrow",prevEl:".swiper-prev-arrow"},appendArrows:this.elements.$sliderWrapper,autoHeight:!0,breakpoints:{360:{slidesPerView:+s.slides_view_mobile,slidesToScroll:+s.slides_scroll_mobile||1,spaceBetween:24,slidesPerGroup:+s.slides_scroll_mobile||1,slidesPerGroupSkip:0},768:{slidesPerView:+s.slides_view_tablet,slidesToScroll:+s.slides_scroll_tablet||1,spaceBetween:24,slidesPerGroup:+s.slides_scroll_tablet||1,slidesPerGroupSkip:0},1024:{slidesPerView:+s.slides_view,slidesToScroll:+s.slides_scroll||1,spaceBetween:24,slidesPerGroup:+s.slides_scroll||1,slidesPerGroupSkip:0}}};this.elements.$sliderWrapper.each(function(e,t){$(this).parents(".elementor-widget-raven-image-comparison").find(".raven-image-comparison").addClass("swiper-"+e),a.navigation&&(a.navigation={nextEl:$(t).parents(".raven-image-comparison.swiper-"+e).find(".swiper-next-arrow")[0],prevEl:$(t).parents(".raven-image-comparison.swiper-"+e).find(".swiper-prev-arrow")[0]}),a.pagination=!1,"yes"===s.show_dots&&(a.pagination={el:$(t).parents(".raven-image-comparison.swiper-"+e).find(".swiper-pagination")[0],type:"bullets",clickable:!0}),"fade"===n.getInstanceValue("effect")&&(a.effect="fade",a.fadeEffect={crossFade:!0}),"function"==typeof juxtapose.scanPage&&juxtapose.scanPage(".raven-image-comparison .raven-juxtapose"),a.on={},a.on.init=function(){n.setJXDimensions(),n.elements.$carouselWrapper.addClass("raven-image-comparison-active")},a.on.update=a.on.init;let i=null;"undefined"==typeof Swiper?new elementorFrontend.utils.swiper(t,a).then(e=>{i=e}):i=new Swiper(t,a),"yes"===s.pause_on_hover&&"yes"===s.enable_autoplay&&$(t).on({mouseenter(){i.autoplay.stop()},mouseleave(){i.autoplay.start()}}),window.addEventListener("resize",()=>{i=new Swiper(t,a)}),new ResizeObserver(()=>{n.setJXDimensions()}).observe(t)})},bindEvents(){let e=this;setTimeout(()=>{e.setJXDimensions()},1)},setJXDimensions(){this.elements.$slides.each((e,t)=>{var i=$(t).find(".placeholder-image"),n=i[0].clientHeight,t=t.clientWidth,s=$(i).parents(".swiper-wrapper").height(),s=($(i).parents(".swiper-slide").find(".raven-juxtapose")[0].style.height=n+"px",parseInt(s)<1&&"object"==typeof elementor&&$(i).parents(".swiper-wrapper").css("height",n),$(i).parents(".swiper-slide").find(".raven-juxtapose img"));0<s.length&&(s[0].style.width=t+"px",s[1].style.width=t+"px")})}})},{"../utils/module":9}],47:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};class n extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{container:".raven-lottie__container",containerLink:".raven-lottie__container__link",animation:".raven-lottie__animation",caption:".raven-lottie__caption"},classes:{caption:"raven-lottie__caption"}}}getDefaultElements(){var e=this.getSettings().selectors;return{$widgetWrapper:this.$element,$container:this.$element.find(e.container),$containerLink:this.$element.find(e.containerLink),$animation:this.$element.find(e.animation),$caption:this.$element.find(e.caption),$sectionParent:this.$element.closest(".elementor-section"),$columnParent:this.$element.closest(".elementor-column")}}onInit(...e){super.onInit(...e),this.lottie=null,this.state={isAnimationScrollUpdateNeededOnFirstLoad:!0,isNewLoopCycle:!1,isInViewport:!1,loop:!1,animationDirection:"forward",currentAnimationTrigger:"",effectsRelativeTo:"",hoverOutMode:"",hoverArea:"",caption:"",playAnimationCount:0,animationSpeed:0,linkTimeout:0,viewportOffset:{start:0,end:100}},this.intersectionObservers={animation:{observer:null,element:null},lazyload:{observer:null,element:null}},this.animationFrameRequest={timer:null,lastScrollY:0},this.listeners={collection:[],elements:{$widgetArea:{triggerAnimationHoverIn:null,triggerAnimationHoverOut:null},$container:{triggerAnimationClick:null}}},this.initLottie()}initLottie(){this.getLottieSettings().lazyload?this.lazyloadLottie():this.generateLottie()}lazyloadLottie(){this.intersectionObservers.lazyload.observer=elementorModules.utils.Scroll.scrollObserver({offset:"0px 0px 200px",callback:e=>{e.isInViewport&&(this.generateLottie(),this.intersectionObservers.lazyload.observer.unobserve(this.intersectionObservers.lazyload.element))}}),this.intersectionObservers.lazyload.element=this.elements.$container[0],this.intersectionObservers.lazyload.observer.observe(this.intersectionObservers.lazyload.element)}generateLottie(){this.createLottieInstance(),this.setLottieEvents()}createLottieInstance(){var e=this.getLottieSettings();this.lottie=window.bodymovin.loadAnimation({container:this.elements.$animation[0],path:this.getAnimationPath(),renderer:e.renderer,autoplay:!1,name:"lottie-widget"}),this.elements.$animation.data("lottie",this.lottie)}getAnimationPath(){var e=this.getLottieSettings();return(e.source_json?.url&&"json"===e.source_json.url.toLowerCase().substr(-4)?e.source_json:e.source_external_url?.url?e.source_external_url:window.lottie_defaultAnimationUrl).url}setCaption(){var e=this.getLottieSettings();("external_url"===e.source||"media_file"===e.source&&"custom"===e.caption_source)&&this.getCaptionElement().text(e.caption)}getCaptionElement(){var e;return this.elements.$caption.length||(e=this.getSettings().classes,this.elements.$caption=jQuery("<p>",{class:e.caption}),this.elements.$container.append(this.elements.$caption)),this.elements.$caption}setLottieEvents(){this.lottie.addEventListener("DOMLoaded",()=>this.onLottieDomLoaded()),this.lottie.addEventListener("complete",()=>this.onComplete())}saveInitialValues(){var e=this.getLottieSettings();this.lottie.__initialTotalFrames=this.lottie.totalFrames,this.lottie.__initialFirstFrame=this.lottie.firstFrame,this.state.currentAnimationTrigger=e.trigger,this.state.effectsRelativeTo=e.effects_relative_to,this.state.viewportOffset.start=e.viewport?e.viewport.sizes.start:0,this.state.viewportOffset.end=e.viewport?e.viewport.sizes.end:100,this.state.animationSpeed=e.play_speed?.size,this.state.linkTimeout=e.link_timeout,this.state.caption=e.caption,this.state.loop=e.loop}setAnimationFirstFrame(){var e=this.getAnimationFrames();e.first=e.first-this.lottie.__initialFirstFrame,this.lottie.goToAndStop(e.first,!0)}initAnimationTrigger(){switch(this.getLottieSettings().trigger){case"none":this.playLottie();break;case"arriving_to_viewport":this.playAnimationWhenArrivingToViewport();break;case"bind_to_scroll":this.playAnimationWhenBindToScroll();break;case"on_click":this.bindAnimationClickEvents();break;case"on_hover":this.bindAnimationHoverEvents()}}playAnimationWhenArrivingToViewport(){var e=this.getOffset();this.intersectionObservers.animation.observer=elementorModules.utils.Scroll.scrollObserver({offset:e.end+`% 0% ${e.start}%`,callback:e=>{e.isInViewport?(this.state.isInViewport=!0,this.playLottie()):(this.state.isInViewport=!1,this.lottie.pause())}}),this.intersectionObservers.animation.element=this.elements.$widgetWrapper[0],this.intersectionObservers.animation.observer.observe(this.intersectionObservers.animation.element)}getOffset(){var e=this.getLottieSettings();return{start:-e.viewport.sizes.start||0,end:-(100-e.viewport.sizes.end)||0}}playAnimationWhenBindToScroll(){var e=this.getLottieSettings(),t=this.getOffset();this.intersectionObservers.animation.observer=elementorModules.utils.Scroll.scrollObserver({offset:t.end+`% 0% ${t.start}%`,callback:e=>this.onLottieIntersection(e)}),this.intersectionObservers.animation.element="viewport"===e.effects_relative_to?this.elements.$widgetWrapper[0]:document.documentElement,this.intersectionObservers.animation.observer.observe(this.intersectionObservers.animation.element)}updateAnimationByScrollPosition(){var e=this.getLottieSettings();let t;t="page"===e.effects_relative_to?this.getLottiePagePercentage():"fixed"===this.getCurrentDeviceSetting("_position")?this.getLottieViewportHeightPercentage():this.getLottieViewportPercentage();e=this.getFrameNumberByPercent(t);e-=this.lottie.__initialFirstFrame,this.lottie.goToAndStop(e,!0)}getLottieViewportPercentage(){return elementorModules.utils.Scroll.getElementViewportPercentage(this.elements.$widgetWrapper,this.getOffset())}getLottiePagePercentage(){return elementorModules.utils.Scroll.getPageScrollPercentage(this.getOffset())}getLottieViewportHeightPercentage(){return elementorModules.utils.Scroll.getPageScrollPercentage(this.getOffset(),window.innerHeight)}getFrameNumberByPercent(e){var t=this.getAnimationFrames();return e=Math.min(100,Math.max(0,e)),t.first+(t.last-t.first)*(e/100)}getAnimationFrames(){var e=this.getLottieSettings(),t=this.getAnimationCurrentFrame(),i=this.getAnimationRange().start,n=this.getAnimationRange().end;let s=this.lottie.__initialFirstFrame,a=0===this.lottie.__initialFirstFrame?this.lottie.__initialTotalFrames:this.lottie.__initialFirstFrame+this.lottie.__initialTotalFrames;return i&&i>s&&(s=i),n&&n<a&&(a=n),this.state.isNewLoopCycle||"bind_to_scroll"===e.trigger||(s=i&&t<i?i:t),"backward"===this.state.animationDirection&&this.isReverseMode()&&(s=t,a=i&&i>this.lottie.__initialFirstFrame?i:this.lottie.__initialFirstFrame),{first:s,last:a,current:t,total:this.lottie.__initialTotalFrames}}getAnimationRange(){var e=this.getLottieSettings();return{start:this.getInitialFrameNumberByPercent(e.start_point.size),end:this.getInitialFrameNumberByPercent(e.end_point.size)}}getInitialFrameNumberByPercent(e){return e=Math.min(100,Math.max(0,e)),this.lottie.__initialFirstFrame+(this.lottie.__initialTotalFrames-this.lottie.__initialFirstFrame)*(e/100)}getAnimationCurrentFrame(){return 0===this.lottie.firstFrame?this.lottie.currentFrame:this.lottie.firstFrame+this.lottie.currentFrame}setLinkTimeout(){let t=this.getLottieSettings();"on_click"===t.trigger&&t.custom_link?.url&&t.link_timeout&&this.elements.$containerLink.on("click",e=>{e.preventDefault(),this.isEdit||setTimeout(()=>{var e="on"===t.custom_link.is_external?"_blank":"_self";window.open(t.custom_link.url,e)},t.link_timeout)})}bindAnimationClickEvents(){this.listeners.elements.$container.triggerAnimationClick=()=>{this.playLottie()},this.addSessionEventListener(this.elements.$container,"click",this.listeners.elements.$container.triggerAnimationClick)}getLottieSettings(){var e=this.getElementSettings();return{...e,lazyload:"yes"===e.lazyload,loop:"yes"===e.loop}}playLottie(){var e=this.getAnimationFrames();this.lottie.stop(),this.lottie.playSegments([e.first,e.last],!0),this.state.isNewLoopCycle=!1}bindAnimationHoverEvents(){this.createAnimationHoverInEvents(),this.createAnimationHoverOutEvents()}createAnimationHoverInEvents(){var e=this.getLottieSettings(),t=this.getHoverAreaElement();this.state.hoverArea=e.hover_area,this.listeners.elements.$widgetArea.triggerAnimationHoverIn=()=>{this.state.animationDirection="forward",this.playLottie()},this.addSessionEventListener(t,"mouseenter",this.listeners.elements.$widgetArea.triggerAnimationHoverIn)}addSessionEventListener(e,t,i){e.on(t,i),this.listeners.collection.push({$el:e,event:t,callback:i})}createAnimationHoverOutEvents(){let e=this.getLottieSettings(),t=this.getHoverAreaElement();"pause"!==e.on_hover_out&&"reverse"!==e.on_hover_out||(this.state.hoverOutMode=e.on_hover_out,this.listeners.elements.$widgetArea.triggerAnimationHoverOut=()=>{"pause"===e.on_hover_out?this.lottie.pause():(this.state.animationDirection="backward",this.playLottie())},this.addSessionEventListener(t,"mouseleave",this.listeners.elements.$widgetArea.triggerAnimationHoverOut))}getHoverAreaElement(){var e=this.getLottieSettings();return"section"===e.hover_area?this.elements.$sectionParent:"column"===e.hover_area?this.elements.$columnParent:this.elements.$container}setLoopOnAnimationComplete(){var e=this.getLottieSettings();this.state.isNewLoopCycle=!0,e.loop&&!this.isReverseMode()?this.setLoopWhenNotReverse():e.loop&&this.isReverseMode()?this.setReverseAnimationOnLoop():!e.loop&&this.isReverseMode()&&this.setReverseAnimationOnSingleTrigger()}isReverseMode(){var e=this.getLottieSettings();return"yes"===e.reverse_animation||"reverse"===e.on_hover_out&&"backward"===this.state.animationDirection}setLoopWhenNotReverse(){var e=this.getLottieSettings();if(0<e.number_of_times)return this.state.playAnimationCount++,this.state.playAnimationCount<e.number_of_times?void this.playLottie():void(this.state.playAnimationCount=0);this.playLottie()}setReverseAnimationOnLoop(){var e=this.getLottieSettings();!e.number_of_times||this.state.playAnimationCount<e.number_of_times?(this.state.animationDirection="forward"===this.state.animationDirection?"backward":"forward",this.playLottie(),"backward"===this.state.animationDirection&&this.state.playAnimationCount++):(this.state.playAnimationCount=0,this.state.animationDirection="forward")}setReverseAnimationOnSingleTrigger(){this.state.playAnimationCount<1?(this.state.playAnimationCount++,this.state.animationDirection="backward",this.playLottie()):1<=this.state.playAnimationCount&&"forward"===this.state.animationDirection?(this.state.animationDirection="backward",this.playLottie()):(this.state.playAnimationCount=0,this.state.animationDirection="forward")}setAnimationSpeed(){var e=this.getLottieSettings();e.play_speed&&this.lottie.setSpeed(e.play_speed.size)}onElementChange(){this.updateLottieValues(),this.resetAnimationTrigger()}updateLottieValues(){var e=this.getLottieSettings();[{sourceVal:e.play_speed?.size,stateProp:"animationSpeed",callback:()=>this.setAnimationSpeed()},{sourceVal:e.link_timeout,stateProp:"linkTimeout",callback:()=>this.setLinkTimeout()},{sourceVal:e.caption,stateProp:"caption",callback:()=>this.setCaption()},{sourceVal:e.effects_relative_to,stateProp:"effectsRelativeTo",callback:()=>this.updateAnimationByScrollPosition()},{sourceVal:e.loop,stateProp:"loop",callback:()=>this.onLoopStateChange()}].forEach(e=>{void 0!==e.sourceVal&&e.sourceVal!==this.state[e.stateProp]&&(this.state[e.stateProp]=e.sourceVal,e.callback())})}onLoopStateChange(){var e="arriving_to_viewport"===this.state.currentAnimationTrigger&&this.state.isInViewport;this.state.loop&&(e||"none"===this.state.currentAnimationTrigger)&&this.playLottie()}resetAnimationTrigger(){var e=this.getLottieSettings(),t=e.trigger!==this.state.currentAnimationTrigger,i=!!e.viewport&&this.isViewportOffsetChange(),n=!!e.on_hover_out&&this.isHoverOutModeChange(),e=!!e.hover_area&&this.isHoverAreaChange();(t||i||n||e)&&(this.removeAnimationFrameRequests(),this.removeObservers(),this.removeEventListeners(),this.initAnimationTrigger())}isViewportOffsetChange(){var e=this.getLottieSettings(),t=e.viewport.sizes.start!==this.state.viewportOffset.start,e=e.viewport.sizes.end!==this.state.viewportOffset.end;return t||e}isHoverOutModeChange(){return this.getLottieSettings().on_hover_out!==this.state.hoverOutMode}isHoverAreaChange(){return this.getLottieSettings().hover_area!==this.state.hoverArea}removeEventListeners(){this.listeners.collection.forEach(e=>{e.$el.off(e.event,null,e.callback)})}removeObservers(){for(var e in this.intersectionObservers)this.intersectionObservers[e].observer&&this.intersectionObservers[e].element&&this.intersectionObservers[e].observer.unobserve(this.intersectionObservers[e].element)}removeAnimationFrameRequests(){window.cancelAnimationFrame(this.animationFrameRequest.timer)}onDestroy(){super.onDestroy(),this.destroyLottie()}destroyLottie(){this.removeAnimationFrameRequests(),this.removeObservers(),this.removeEventListeners(),this.elements.$animation.removeData("lottie"),this.lottie&&this.lottie.destroy()}onLottieDomLoaded(){this.saveInitialValues(),this.setAnimationSpeed(),this.setLinkTimeout(),this.setCaption(),this.setAnimationFirstFrame(),this.initAnimationTrigger()}onComplete(){this.setLoopOnAnimationComplete()}onLottieIntersection(e){var t;e.isInViewport?(this.state.isAnimationScrollUpdateNeededOnFirstLoad&&(this.state.isAnimationScrollUpdateNeededOnFirstLoad=!1,this.updateAnimationByScrollPosition()),this.animationFrameRequest.timer=window.requestAnimationFrame(()=>this.onAnimationFrameRequest())):(t=this.getAnimationFrames(),e="up"===e.intersectionScrollDirection?t.first:t.last,this.state.isAnimationScrollUpdateNeededOnFirstLoad=!1,window.cancelAnimationFrame(this.animationFrameRequest.timer),this.lottie.goToAndStop(e,!0))}onAnimationFrameRequest(){window.scrollY!==this.animationFrameRequest.lastScrollY&&(this.updateAnimationByScrollPosition(),this.animationFrameRequest.lastScrollY=window.scrollY),this.animationFrameRequest.timer=window.requestAnimationFrame(()=>this.onAnimationFrameRequest())}}},{}],48:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{tabsWrapper:".raven-media-gallery-tabs",contentsWrapper:".raven-media-gallery-tab-contents",tabs:".raven-media-gallery-tabs button.tab-item",contents:".raven-media-gallery-tab-contents .content",items:'.gallery-item [class*="type-"]',galleryItems:".gallery-item"},state:{activeIndex:0}}},getDefaultElements(){var e=this.getSettings("selectors");return{$tabsWrapper:this.$element.find(e.tabsWrapper),$contentsWrapper:this.$element.find(e.contentsWrapper),$tabs:this.$element.find(e.tabs),$contents:this.$element.find(e.contents),$items:this.$element.find(e.items),$galleryItems:this.$element.find(e.galleryItems)}},bindEvents(){let e=this;this.zoom(),this.zoomMove(),setTimeout(()=>{e.setHeight()},1),jQuery(window).resize(()=>{e.setHeight()}),this.elements.$tabsWrapper[0]&&this.elements.$tabsWrapper[0].addEventListener("click",t=>{if(t.target.classList.contains("tab-item")){let e=this.getSettings("state.activeIndex");"show"!==this.getInstanceValue("all_filter")&&0===e&&(e=1);var i=this.elements.$tabsWrapper[0].querySelector('[data-raven-tab-index="'+e+'"]'),n=this.elements.$contentsWrapper[0].querySelector('[data-raven-content-index="'+e+'"]'),i=(i.classList.remove("active"),n.classList.remove("active"),n.querySelectorAll(".gallery-item").forEach(e=>{e.classList.remove("show-animation")}),this.setSettings("state.activeIndex",t.target.dataset.ravenTabIndex),this.elements.$contentsWrapper[0].querySelector('[data-raven-content-index="'+t.target.dataset.ravenTabIndex+'"]'));t.target.classList.add("active"),i.classList.add("active"),i.querySelectorAll(".gallery-item").forEach((e,t)=>{setTimeout(()=>{e.classList.add("show-animation")},100*t)}),this.setHeight()}})},zoom(){"zoom"===this.getInstanceValue("image_hover_animation")&&this.elements.$items.find(".poster").zoom()},zoomMove(){"3d-zoom"===this.getInstanceValue("image_hover_animation")&&[...this.elements.$galleryItems].forEach(e=>{let a=e.querySelector("img");a&&((e=0<$(e).parents(".content-layout-under-image").length?e.querySelector('[class*="type-"]'):e).addEventListener("mouseout",()=>{a.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)"}),e.addEventListener("mousemove",e=>{var t=e.currentTarget.getBoundingClientRect(),i=((t.width+35)/t.width).toFixed(2),n=((t.height+35)/t.height).toFixed(2),s=t.width/2-(e.clientX-t.left),e=t.height/2-(e.clientY-t.top),s=s/t.width*40,e=e/t.height*40;a.style.transform=`perspective(900px) translate3d(${s}px, ${e}px, 0px) scale(${Math.max(i,n)})`}))})},handleAnimation(){this.elements.$contentsWrapper[0].querySelectorAll(".active .gallery-item").forEach((e,t)=>{setTimeout(()=>{e.classList.add("show-animation")},100*t)})},setHeight(){var e;this.$element.parents()[0].classList.contains("e-con-inner")&&(e=this.$element.find(".raven-media-gallery-wrapper")[0].clientHeight,this.$element[0].style.height=e+"px")},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.handleAnimation()}})},{"../utils/module":9}],49:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({pageWrapperAttr:"raven-my-account-page",currentPage:null,onInit(){this.initElements(),this.bindEvents(),this.isEdit&&(this.editorInitTabs(),this.currentPage=this.$element.attr(this.pageWrapperAttr),this.currentPage||(this.currentPage="dashboard"),this.editorShowTab()),this.applyButtonsHoverAnimation(),this.doHeightEqualizations(),this.setContentMinHeight(),this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote)},getDefaultSettings(){return{selectors:{address:"address",tabLinks:".woocommerce-MyAccount-navigation-link a",viewOrderButtons:".my_account_orders .woocommerce-button.view",viewOrderLinks:".woocommerce-orders-table__cell-order-number a",authForms:"form.login, form.register",tabWrapper:".raven-my-account-tab",tabItem:".woocommerce-MyAccount-navigation li",allPageElements:`[${this.pageWrapperAttr}]`,purchasenote:"tr.product-purchase-note",stickyRightColumn:".e-sticky-right-column"},classes:{stickyRightColumnActive:"e-sticky-right-column--active"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$address:this.$element.find(e.address),$tabLinks:this.$element.find(e.tabLinks),$viewOrderButtons:this.$element.find(e.viewOrderButtons),$viewOrderLinks:this.$element.find(e.viewOrderLinks),$authForms:this.$element.find(e.authForms),$tabWrapper:this.$element.find(e.tabWrapper),$tabItem:this.$element.find(e.tabItem),$allPageElements:this.$element.find(e.allPageElements),$purchasenote:this.$element.find(e.purchasenote),$stickyRightColumn:this.$element.find(e.stickyRightColumn)}},bindEvents(){elementorFrontend.elements.$document.on("select2:open",this.addSelect2Wrapper),elementorFrontend.elements.$body.on("keyup change",".register #reg_password",this.doHeightEqualizations)},editorInitTabs(){this.elements.$allPageElements.each((e,t)=>{t=t.getAttribute(this.pageWrapperAttr);let i;i=this.$element.find(".woocommerce-MyAccount-navigation-link--"+t),(i="view-order"===t?this.elements.$viewOrderLinks.add(this.elements.$viewOrderButtons):i).on("click",{endpoint:t},this.editorShowTab)}),this.elements.$tabWrapper.find(".woocommerce-MyAccount-navigation li").first().trigger("click")},editorShowTab(e=null){e&&(this.currentPage=e.data.endpoint),"customer-logout"!==this.currentPage&&(e=this.$element.find(`[${this.pageWrapperAttr}="${this.currentPage}"]`),this.$element.attr(this.pageWrapperAttr,this.currentPage),this.elements.$allPageElements.hide(),e.show(),this.toggleEndpointClasses(),"view-order"!==this.currentPage&&(this.elements.$tabItem.removeClass("is-active"),this.$element.find(".woocommerce-MyAccount-navigation-link--"+this.currentPage).addClass("is-active")),"edit-address"===this.currentPage||"view-order"===this.currentPage)&&this.doHeightEqualizations()},toggleEndpointClasses(){var e=["dashboard","orders","view-order","downloads","edit-account","edit-address","payment-methods"];this.elements.$tabWrapper.removeClass("raven-my-account-tab__"+e.join(" raven-my-account-tab__")),e.includes(this.currentPage)&&this.elements.$tabWrapper.addClass("raven-my-account-tab__"+this.currentPage)},applyButtonsHoverAnimation(){var e=this.getElementSettings();e.forms_buttons_hover_animation&&this.$element.find(".woocommerce button.button").addClass("elementor-animation-"+e.forms_buttons_hover_animation),e.tables_button_hover_animation&&this.$element.find(".order-again .button, td .button, .woocommerce-pagination .button").addClass("elementor-animation-"+e.tables_button_hover_animation)},doHeightEqualizations(){this.equalizeElementHeight(this.elements.$address),this.isEdit||this.equalizeElementHeight(this.elements.$authForms)},equalizeElementHeight(e){if(e.length){e.removeAttr("style");let i=0;e.each((e,t)=>{i=Math.max(i,t.offsetHeight)}),0<i&&e.css("height",i+"px")}},setContentMinHeight(){var e=jQuery(".custom-my-account-nav-vertical"),t=jQuery(".woocommerce-MyAccount-content-wrapper");e.length&&(e=window.getComputedStyle(e[0]).height,t.css("min-height",e)),t.css("visibility","visible")},removePaddingBetweenPurchaseNote(e){e&&e.each(e=>{jQuery(e).prev().children("td").addClass("product-purchase-note-is-below")})},onElementChange(e){0!==e.indexOf("general_text_typography")&&0!==e.indexOf("sections_padding")||this.doHeightEqualizations(),0===e.indexOf("forms_rows_gap")&&this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote)},addSelect2Wrapper(e){e=jQuery(e.target).data("select2");e.$dropdown&&e.$dropdown.addClass("e-woo-select2-wrapper")},isStickyRightColumnActive(){var e=this.getSettings("classes");return this.elements.$stickyRightColumn.hasClass(e.stickyRightColumnActive)},activateStickyRightColumn(){var e=this.getElementSettings(),t=elementorFrontend.elements.$wpAdminBar,i=this.getSettings("classes");let n=e.sticky_right_column_offset||0;t.length&&"fixed"===t.css("position")&&(n+=t.height()),"yes"===this.getElementSettings("sticky_right_column")&&(this.elements.$stickyRightColumn.addClass(i.stickyRightColumnActive),this.elements.$stickyRightColumn.css("top",n+"px"))},deactivateStickyRightColumn(){var e;this.isStickyRightColumnActive()&&(e=this.getSettings("classes"),this.elements.$stickyRightColumn.removeClass(e.stickyRightColumnActive))},toggleStickyRightColumn(){this.getElementSettings("sticky_right_column")?this.isStickyRightColumnActive()||this.activateStickyRightColumn():this.deactivateStickyRightColumn()}})},{"../utils/module":9}],50:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let a=jQuery,n=e.default.extend({getDefaultSettings(){return{selectors:{menus:".raven-nav-menu",inPageMenuItems:'a[href*="#"]',toggleButton:".raven-nav-menu-toggle-button",closeButton:".raven-nav-menu-close-button",mobileMenu:".raven-nav-menu-mobile",mobileContainer:".raven-nav-menu-mobile .raven-container",megaMenu:".submenu .raven-megamenu-wrapper",liNavItem:".raven-nav-menu-main .raven-nav-menu li"}}},getDefaultElements(){var e=this.getSettings("selectors"),e={$body:a("body"),$menus:this.$element.find(e.menus),$inPageMenuItems:this.$element.find(e.inPageMenuItems),$toggleButton:this.$element.find(e.toggleButton),$closeButton:this.$element.find(e.closeButton),$mobileMenu:this.$element.find(e.mobileMenu),$mobileContainer:this.$element.find(e.mobileContainer),$elementorElement:this.$element.closest(".elementor-element"),$elementorContainer:this.$element.parents(".elementor-container").last(),$megaMenu:this.$element.find(e.megaMenu),$navMenuItem:this.$element.find(e.$menus).find("li"),$liNavItem:this.$element.find(e.liNavItem)};return e.$elementorContainer.length||(e.$elementorContainer=this.$element.closest(".e-con")),e},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initSmartMenu(),this.inPageMenuClick(),this.inPageMenuScroll(),this.mobileMenuScroll(),this.mobileMenuPageRedirection(),this.setMegaMenuWidth(),this.stretchElement=new elementorModules.frontend.tools.StretchElement({element:this.elements.$mobileMenu,selectors:{container:this.elements.$mobileMenu.parents(".elementor-top-section")}})},bindEvents(){switch(this.getElementSettings("mobile_layout")){case"dropdown":this.elements.$toggleButton.on("click",this.toggleDropdown.bind(this)),elementorFrontend.addListenerOnce(this.$element.data("model-cid"),"resize",this.dropdownFullWidth.bind(this)),a(window).on("resize",this.setMegaMenuWidth.bind(this));break;case"side":var e=this.getElementSettings("side_menu_alignment"),t=this.getElementSettings("side_menu_effect");this.elements.$mobileMenu.addClass("raven-side-menu-"+e),this.elements.$mobileMenu.addClass("raven-side-menu-"+e),this.elements.$toggleButton.on("click",this.toggleMobileMenu.bind(this)),this.elements.$closeButton.on("click",this.toggleMobileMenu.bind(this)),"push"===t&&(this.elements.$body.addClass("raven-nav-menu-effect-push"),this.elements.$toggleButton.on("click",this.sideMenuPush.bind(this)),this.elements.$closeButton.on("click",this.sideMenuPush.bind(this))),this.elements.$menus.on("select.smapi",this.onSideMenuItemClick.bind(this));break;case"full-screen":"yes"===this.getElementSettings("mobile_menu_item_full_width")&&this.elements.$mobileMenu.addClass("raven-nav-menu-item-full-width"),this.elements.$toggleButton.on("click",this.toggleMobileMenu.bind(this)),this.elements.$closeButton.on("click",this.toggleMobileMenu.bind(this))}this.elements.$liNavItem.on("hover",this.setMegaMenuWidth)},initSmartMenu(){var e=this.getElementSettings("submenu_icon"),t=this.getElementSettings("submenu_space_between"),e={subIndicatorsText:e,subIndicators:""!==e,subIndicatorsPos:"append",subMenusMaxWidth:"1500px"};this.elements.$body.hasClass("rtl")&&(e.rightToLeftSubMenus=!0),this.elements.$megaMenu.length&&(e.keepInViewport=!1),"object"==typeof t&&""!==t.size&&(e.mainMenuSubOffsetY=parseInt(t.size)),"top"===this.getElementSettings("submenu_opening_position")&&(e.bottomToTopSubMenus=!0),this.excludeOtherUl(),this.elements.$menus.smartmenus(e)},toggleDropdown(){let e=this.elements.$mobileMenu;this.elements.$toggleButton.find(".hamburger").toggleClass("is-active"),e.slideToggle(250,()=>{e.toggleClass("raven-nav-menu-active").css("display","")}),this.dropdownFullWidth()},dropdownFullWidth(){var e,t,i,n,s,a=this.elements.$mobileMenu;a.css("max-height",document.documentElement.clientHeight-a.get(0).getBoundingClientRect().top),"stretch"===this.getElementSettings("full_width")&&(e=this.elements.$elementorElement,t=this.elements.$elementorContainer,i=this.elements.$toggleButton,n=this.elements.$mobileContainer,s=window.innerWidth,this.stretchElement.stretch(),a.css("top",e.offset().top+e.outerHeight()-i.offset().top),n.css("max-width",1024<s?t.outerWidth():"none"))},sideMenuPush(){var e=this.getElementSettings("side_menu_alignment");let t=parseInt(this.$element.css("--menu-container-width"))||250;"right"===e&&(t=-t),this.elements.$body.hasClass("raven-nav-menu-effect-pushed")?this.elements.$body.removeClass("raven-nav-menu-effect-pushed").removeAttr("style"):this.elements.$body.addClass("raven-nav-menu-effect-pushed").css("margin-"+(this.isRtl()?"right":"left"),t)},toggleMobileMenu(){this.elements.$mobileMenu.toggleClass("raven-nav-menu-active"),this.elements.$mobileMenu.hasClass("raven-nav-menu-active")?this.elements.$mobileMenu.parents(".animated").addClass("raven-nav-menu-parents-animation"):this.elements.$mobileMenu.parents(".animated").removeClass("raven-nav-menu-parents-animation"),0!==this.elements.$toggleButton.find(".hamburger").length&&this.elements.$toggleButton.find(".hamburger").toggleClass("is-active")},mobileMenuScroll(){let n=document.querySelectorAll(".raven-nav-menu-mobile.raven-nav-menu-dropdown, .raven-nav-menu-mobile.raven-nav-menu-full-screen"),s=null;for(let i=0;i<n.length;i++)n[i].addEventListener("touchstart",function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},{capture:!1,passive:!0}),n[i].addEventListener("touchmove",function(e){var t;1===e.targetTouches.length&&(t=e.targetTouches[0].clientY-s,0===n[i].scrollTop&&0<t&&e.cancelable&&e.preventDefault(),n[i].scrollHeight-n[i].scrollTop<=n[i].clientHeight)&&t<0&&e.cancelable&&e.preventDefault()},{capture:!1,passive:!0})},mobileMenuPageRedirection(){var e=this.elements.$mobileMenu.find(".menu-item-has-children"),t=e.find("> .raven-link-item"),i=t.find("> .sub-arrow");0!==e.length&&0!==t.length&&i.on("click",function(e){a(e.currentTarget).parent().hasClass("highlighted")&&e.preventDefault()})},inPageMenuClick(){let n=this,s=this.getHeaderSettings(),e;this.elements.$menus.on("click",t=>{e=t.target.getAttribute("href")||"";let i=null;try{i=new window.URL(a(t.target).prop("href"))}catch(e){return}if((i.href.replace(i.hash,"")===window.location.href.replace(window.location.hash,"")||-1!==e.search(/^#/))&&-1!==i.hash.search(/^#/)){e=i.hash,t.preventDefault();t=a(e);if(0!==t.length){let e=t.offset().top;return e=(e-=n.getAdminbarHeight())-n.getBodyBorderWidth(),s&&"sticky"===s.behavior&&s.overlap||s&&!s.behavior?e-=n.isHeaderSticked()?n.tbarHeight():2*n.tbarHeight():e-=n.tbarHeight(),n.hasCustomStickyHeader()?e-=n.getCustomStickyHeaderHeight():(s&&"fixed"===s.behavior&&"top"===s.position||s&&"sticky"===s.behavior)&&(e-=n.getHeaderHeight()),n.elements.$body.hasClass("raven-nav-menu-effect-pushed")&&n.sideMenuPush(),n.elements.$mobileMenu.removeClass("raven-nav-menu-active"),n.changeHamburgerState(!1),window.history.pushState(null,null,i.hash),a("html, body").stop().animate({scrollTop:e},500,"swing"),!1}n.elements.$body.hasClass("raven-nav-menu-effect-pushed")&&n.sideMenuPush(),n.elements.$mobileMenu.removeClass("raven-nav-menu-active"),n.changeHamburgerState(!1),window.history.pushState(null,null,i.hash)}})},inPageMenuScroll(){let i=this;i.elements.$inPageMenuItems.length&&i.elements.$inPageMenuItems.each(function(e,t){if(!(t.hash<1)){let e=a('[id="'+t.hash.replace("#","")+'"]');e.length&&(t=a(t),window.location.hash||i.activateMenuItem(e,t),window.addEventListener("scroll",_.throttle(function(){i.activateMenuItem(e,t)})))}})},activateMenuItem(e,t){let i=!1;var n=this.getHeaderHeight()+this.getAdminbarHeight(),s=e.offset().top,a=s-1-n,s=s-2+e.outerHeight()-n,e=window.pageYOffset;a<=e&&e<=s&&(i=!0),t.toggleClass("raven-menu-item-active",i)},getHeaderHeight(){var e,t=a(".jupiterx-header");return 0!==t.length&&(e=t.data("jupiterx-settings").behavior,"fixed"===e||"sticky"===e||window.pageYOffset<t.height())?t.height():0},hasCustomStickyHeader(){var e=this.getHeaderSettings();return!!e&&!(!e.behavior||"sticky"!==e.behavior||e.stickyTemplate&&e.stickyTemplate===e.template)},getHeaderSettings(){return a(".jupiterx-header").data("jupiterx-settings")},getCustomStickyHeaderHeight(){var e;return!this.hasCustomStickyHeader()||0===(e=a(".jupiterx-header-custom .elementor:last-of-type")).length?0:e.outerHeight()},getBodyBorderWidth(){var e=a(".jupiterx-site-body-border");return 0!==e.length&&(e=e.css("border-width"))?parseInt(e.replace("px","")):0},getAdminbarHeight(){var e=a("#wpadminbar");return e.length?e.height():0},tbarHeight(){var e=a(".jupiterx-tbar");return e.length?e.outerHeight():0},onElementChange(e){var t,i;"stretch"!==this.getElementSettings("full_width")?(this.stretchElement.reset(),this.elements.$mobileMenu.removeAttr("style"),this.elements.$mobileMenu.find(".raven-container").removeAttr("style")):this.dropdownFullWidth(),"mobile_layout"!==e&&"side_menu_effect"!==e||(this.elements.$body.removeClass("raven-nav-menu-effect-pushed").removeAttr("style"),this.elements.$mobileMenu.removeClass("raven-nav-menu-active")),"side"===this.getElementSettings("mobile_layout")&&e.startsWith("menu_container_width")&&this.elements.$body.hasClass("raven-nav-menu-effect-pushed")&&(i=this.getElementSettings("side_menu_alignment"),t=parseInt(this.$element.css("--menu-container-width"))||250,this.elements.$body.css("margin-left","left"===i?t:-t)),"submenu_space_between"===e&&"object"==typeof(i=this.getElementSettings("submenu_space_between"))&&(this.findElement(".raven-submenu").first().css("margin-top",""===i.size?"0":i.size+"px"),this.elements.$menus.smartmenus("destroy"),this.initSmartMenu())},onSectionActivated(e){this.editShowSubmenu("section_submenu"===e)},onEditorClosed(){this.editShowSubmenu(!1)},editShowSubmenu(e){var t=this.findElement(".raven-submenu").first(),i=this.getElementSettings("submenu_space_between");t.toggleClass("raven-show-submenu",e),"object"==typeof i&&t.css("margin-top",""===i.size?"0":i.size+"px")},onSideMenuItemClick(e,t){var t=a(t);0!==t.closest(".raven-nav-menu-side").length&&-1===(t=t.attr("href")).search(/^#/)&&0!==t.trim().length&&this.elements.$closeButton.trigger("click")},isHeaderSticked(){return 0<a(".jupiterx-header-sticked").length},setMegaMenuWidth(){let e=this.elements.$liNavItem.find(".submenu .raven-megamenu-wrapper"),t=this.elements.$elementorContainer,i=t.offset().left,n=t.outerWidth();e.each(function(){var e=a(this),t=e.parent().parent().offset().left,t=-Math.abs(t-i);e.parent().css("transform",`translateX(${t}px)`)}),e.css("width",n+"px")},excludeOtherUl(){this.elements.$liNavItem.find(".submenu .raven-megamenu-wrapper").each(function(){a(this).find("ul").attr("data-sm-skip","true")})},changeHamburgerState(e){var t=this.elements.$toggleButton.find(".hamburger");0!==t.length&&(e?t.addClass("is-active"):t.removeClass("is-active"))}})},{"../utils/module":9}],51:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};class n extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{button:".elementor-button.elementor-paypal-legacy",errors:".elementor-message-danger"}}}getDefaultElements(){var e=this.getSettings();return{wrapper:this.$element[0],button:this.$element[0].querySelector(e.selectors.button),errors:this.$element[0].querySelectorAll(e.selectors.errors)}}handleClick(e){0<this.elements.errors.length&&(e.preventDefault(),this.elements.errors.forEach(e=>{e.classList.remove("elementor-hidden")}))}bindEvents(){_.isNull(this.elements.button)||this.elements.button.addEventListener("click",this.handleClick.bind(this))}}},{}],52:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new a({$element:e})};var i=s(e("../utils/module")),n=s(e("../utils/masonry"));function s(e){return e&&e.__esModule?e:{default:e}}let a=i.default.extend({Masonry:null,onInit(){$(this.$element).on("add-stack-effect",this.addStackEffect),"masonry"===this.getInstanceValue("layout")&&this.createMasonry(),"stack"===this.getElementSettings("_skin")&&$(this.$element).trigger("add-stack-effect")},addStackEffect(){let i=this.getElementSettings("stack_hover_effect");$.each(this.$element.find(".raven-photo-album-item"),(e,t)=>{new window[i+"Fx"]({el:t})})},createMasonry(){let e=this;e.Masonry=new n.default({$element:e.$element}),e.Masonry.run(),"stack"===e.getElementSettings("_skin")&&setTimeout(()=>{$(e.$element).trigger("add-stack-effect")},50)}})},{"../utils/masonry":8,"../utils/module":9}],53:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{container:".raven-photo-roller",frame:".raven-photo-roller-frame",image:".raven-photo-roller-frame img"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$container:this.$element.find(e.container),$frame:this.$element.find(e.frame),$image:this.$element.find(e.image)}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.getElementSettings("max_height").size&&this.calculateNewWidth(),void 0!==window.safari&&(this.redraw(),$(window).resize(this.redraw))},redraw(){this.elements.$container.hide().show(0)},calculateNewWidth(){var e,t=this.getElementSettings("max_height"),i=parseFloat(this.elements.$image.css("width"),10),n=parseFloat(this.elements.$image.css("height"),10);this.elements.$frame.css("max-height",t.size+t.unit),this.elements.$frame.after().css("max-height",t.size+t.unit),"px"===t.unit&&t.size<n?(e=t.size/n*i,this.elements.$frame.css("width",e),this.elements.$image.css("width",e)):"%"===t.unit&&t.size<100&&(e=n*t.size/100,this.elements.$frame.css("width",t=e*(i/n)),this.elements.$frame.css("height",e),this.elements.$image.css("width",t),this.elements.$image.css("height",e))}})},{"../utils/module":9}],54:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({onInit(){$("body").find("li.depth-1").each(function(e,t){$(t).find(".children").last().find(".comment").last().find(".jupiterx-comment-body").css({"border-bottom":"none","padding-bottom":"5px"})}),this.actionLinkIconOnHover()},onElementChange(){this.actionLinkIconOnHover()},getWrapper(){return'div[data-id="'+this.getID()+'"]'},actionLinkIconOnHover(){var e=this.getWrapper();let t=$(e).css("--action-links-icon-color-hover"),i=$(e).find(".fa-comment-dots").css("color");t&&($(e).find(".jupiterx-comment-links i").on("mouseover",function(){$(this).css("color",t)}),$(e).find(".jupiterx-comment-links i").on("mouseleave",function(){$(this).css("color",i)}),$(e).find(".comment-reply-link").on("mouseover",function(){$(this).parents(".jupiterx-comment-links").find(".fa-comment-dots").css("color",t)}),$(e).find(".comment-reply-link").on("mouseleave",function(){$(this).parents(".jupiterx-comment-links").find(".fa-comment-dots").css("color",i)}),$(e).find(".jupiterx-comment-links li:last-child").on("mouseover",function(){$(this).parents(".jupiterx-comment-links").find(".fa-paper-plane").css("color",t)}),$(e).find(".jupiterx-comment-links li:last-child").on("mouseleave",function(){$(this).parents(".jupiterx-comment-links").find(".fa-paper-plane").css("color",i)}))}})},{"../utils/module":9}],55:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{image:".raven-post-navigation-featured-image"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$navigation:this.$element,$image:this.$element.find(e.image)}},bindEvents(){this.handleZoomAndMove()},handleZoomAndMove(){var e=this.getInstanceValue("hover_animation_featured_image");!e||"zoom-move"!==e||this.elements.$image.length<1||(this.elements.$image.on("mouseout",e=>{e.currentTarget.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)"}),this.elements.$image.on("mousemove",e=>{var t=e.currentTarget.getBoundingClientRect(),i=((t.width+35)/t.width).toFixed(2),n=((t.height+35)/t.height).toFixed(2),s=t.width/2-(e.clientX-t.left),a=t.height/2-(e.clientY-t.top),s=s/t.width*30,a=a/t.height*30;e.currentTarget.style.transform=`perspective(900px) translate3d(${s}px, ${a}px, 0px)  scale(`+Math.max(i,n)}))}})},{"../utils/module":9}],56:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.classic=function(e){new n({$element:e})},i.cover=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{classes:{dots:"swiper-pager"},selectors:{postImageFit:".raven-image-fit img",carouselWrapper:".raven-swiper-slider",sliderWrapper:".raven-posts-carousel-swiper-container",itemsSlider:".swiper-wrapper"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$carouselWrapper:this.$element.find(e.carouselWrapper),$sliderWrapper:this.$element.find(e.sliderWrapper),$itemsSlider:this.$element.find(e.itemsSlider)}},getCarouselSettings(){return{slides_view:this.getInstanceValue("slides_view"),slides_view_tablet:this.getInstanceValue("slides_view_tablet"),slides_view_mobile:this.getInstanceValue("slides_view_mobile"),slides_scroll:this.getInstanceValue("slides_scroll"),slides_scroll_tablet:this.getInstanceValue("slides_scroll_tablet"),slides_scroll_mobile:this.getInstanceValue("slides_scroll_mobile"),enable_autoplay:this.getInstanceValue("enable_autoplay"),autoplay_speed:this.getInstanceValue("autoplay_speed"),enable_infinite_loop:this.getInstanceValue("enable_infinite_loop"),enable_hover_pause:this.getInstanceValue("enable_hover_pause"),overflow_visible:this.getInstanceValue("overflow_visible"),transition_speed:this.getInstanceValue("transition_speed"),show_navigation:this.getInstanceValue("show_arrows"),show_pagination:this.getInstanceValue("show_pagination"),pagination_position:this.getInstanceValue("pagination_position"),columns_space_between:this.getInstanceValue("columns_space_between"),columns_space_between_mobile:this.getInstanceValue("columns_space_between_mobile"),columns_space_between_tablet:this.getInstanceValue("columns_space_between_tablet")}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);let n=this.getCarouselSettings(),s={draggable:!1,slidesPerColumn:0,centeredSlides:"yes"===n.overflow_visible,centeredSlidesBounds:"yes"===n.overflow_visible,spaceBetween:n.columns_space_between_mobile.size,slidesPerView:"yes"===n.overflow_visible?+n.slides_view_mobile+.5:+n.slides_view_mobile,slidesPerGroup:+n.slides_scroll_mobile,autoplay:"yes"===n.enable_autoplay&&{delay:n.autoplay_speed},loop:"yes"===n.enable_infinite_loop,speed:+n.transition_speed,navigation:"yes"===n.show_navigation&&{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},appendArrows:this.elements.$sliderWrapper,pagination:"yes"===n.show_pagination&&{el:".swiper-pagination",type:"bullets",clickable:!0},breakpoints:{360:{slidesPerView:"yes"===n.overflow_visible?+n.slides_view_mobile+.5:+n.slides_view_mobile,slidesPerGroup:+n.slides_scroll_mobile,spaceBetween:n.columns_space_between_mobile.size},768:{slidesPerView:"yes"===n.overflow_visible?+n.slides_view_tablet+.5:+n.slides_view_tablet,slidesPerGroup:+n.slides_scroll_tablet,spaceBetween:n.columns_space_between_tablet.size},1024:{slidesPerView:"yes"===n.overflow_visible?+n.slides_view+.5:+n.slides_view,slidesPerGroup:+n.slides_scroll,spaceBetween:n.columns_space_between.size}}},a=("yes"===n.overflow_visible&&(this.elements.$carouselWrapper.find(".swiper-button-next").css("right","40px"),this.elements.$carouselWrapper.find(".swiper-button-prev").css("left","40px")),this);this.elements.$sliderWrapper.each(function(e,t){$(this).parents(".elementor-widget-raven-posts-carousel").find(".raven-posts-carousel").addClass("swiper-"+e),$(this).parents(".elementor-widget-raven-posts-carousel").find(".raven-posts-carousel").addClass("swiper-"+e),s.navigation&&(s.navigation={nextEl:$(t).parents(".raven-posts-carousel").find(".swiper-button-next")[0],prevEl:$(t).parents(".raven-posts-carousel").find(".swiper-button-prev")[0]});let i=null;s.on={},s.on.init=function(){a.handleAnitmation(),a.handleFeaturedIamageEffect()},"undefined"==typeof Swiper?new elementorFrontend.utils.swiper(t,s).then(e=>{i=e}):i=new Swiper(t,s),"yes"===n.enable_autoplay&&"yes"===n.enable_hover_pause&&$(t).on({mouseenter(){i.autoplay.stop()},mouseleave(){i.autoplay.start()}})})},handleAnitmation(){this.elements.$sliderWrapper.imagesLoaded().done(()=>{let e=[...this.elements.$sliderWrapper[0].querySelectorAll(".swiper-slide")];this.getInstanceValue("load_effect")?(e="slide-right"===this.getInstanceValue("load_effect")?e.slice().reverse():e).forEach((e,t)=>{setTimeout(()=>{e.classList.add("raven-posts-carousel-loaded")},200+100*t),setTimeout(()=>{e.querySelector(".raven-posts-carousel-load-effect").classList.remove("raven-post-carousel-effect-"+this.getInstanceValue("load_effect"),"raven-posts-carousel-load-effect")},1500+100*t)}):e.forEach(e=>{e.classList.add("raven-posts-carousel-loaded")})})},handleFeaturedIamageEffect(){var e=this.getInstanceValue("post_image_hover_effect");if(e&&"zoom-move"===e){let e=this.elements.$sliderWrapper.find(".raven-post-image");(e="cover"===this.getElementSettings("_skin")?this.elements.$sliderWrapper.find(".raven-post-wrapper"):e).on("mouseout",e=>{e=e.currentTarget.querySelector(".raven-posts-carousel-zoom-move-wrapper");e&&(e.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)")}),e.on("mousemove",e=>{var t=e.currentTarget.getBoundingClientRect(),i=((t.width+35)/t.width).toFixed(2),n=((t.height+35)/t.height).toFixed(2),s=e.currentTarget.querySelector(".raven-posts-carousel-zoom-move-wrapper"),a=t.width/2-(e.clientX-t.left),e=t.height/2-(e.clientY-t.top),a=a/t.width*30,e=e/t.height*30;s&&(s.style.transform=`perspective(900px) translate3d(${a}px, ${e}px, 0px) scale(${Math.max(i,n)})`)}),"cover"!==this.getElementSettings("_skin")||document.body.classList.contains("elementor-editor-active")||e.on("click",e=>{e=e.currentTarget.querySelector(".raven-post-image").getAttribute("data-href");e&&window.location.assign(e)})}}})},{"../utils/module":9}],57:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.classic=function(e){new r({$element:e})},i.cover=function(e){new r({$element:e})};var i=o(e("../utils/module")),n=o(e("../utils/sortable")),s=o(e("../utils/pagination")),a=o(e("../utils/masonry"));function o(e){return e&&e.__esModule?e:{default:e}}let r=i.default.extend({Sortable:null,Pagination:null,Masonry:null,getDefaultSettings(){return{classes:{postMirrored:"data-mirrored"},selectors:{posts:".raven-posts",postItem:".raven-post-item",postImageFit:".raven-image-fit img",postMirrored:"[data-mirrored]",loadMore:".raven-load-more",loadMoreButton:".raven-load-more-button",pagination:".raven-pagination",sortable:".raven-sortable",infinteLoadIndicator:".raven-infinite-load"},state:{paged:1,category:-1,maxNumPages:1,isLoading:!1}}},getDefaultElements(){var e=this.getSettings("selectors");return{$postsContainer:this.$element.find(e.posts),$loadMore:this.$element.find(e.loadMore),$loadMoreButton:this.$element.find(e.loadMoreButton),$pagination:this.$element.find(e.pagination),$infinteLoadIndicator:this.$element.find(e.infinteLoadIndicator)}},bindEvents(){var e,t;"yes"===this.getInstanceValue("mirror_rows")&&elementorFrontend.addListenerOnce(this.$element.data("model-cid"),"resize",this.mirrorRows.bind(this)),"load_more"===this.getInstanceValue("pagination_type")&&this.elements.$loadMore.length&&(e=this.getSettings("state"),t=this.elements.$loadMore.data("settings"),this.setPaged({paged:e.paged,maxNumPages:t.maxNumPages}),this.elements.$loadMoreButton.on("click",this.handleLoadMore.bind(this)))},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initializeOnce(),this.initialize()},initializeOnce(){"page_based"===this.getInstanceValue("pagination_type")&&this.paginationModule(),"yes"===this.getInstanceValue("show_sortable")&&this.sortableModule()},initialize(){"masonry"===this.getInstanceValue("layout")&&this.runMasonry(),"yes"===this.getInstanceValue("mirror_rows")&&this.mirrorRows(),"infinite_load"===this.getInstanceValue("pagination_type")&&this.infiniteLoadObserver(),objectFitPolyfill(this.$element.find(this.getSettings("selectors.postImageFit")))},paginationModule(){var e=s.default.extend({handlePagination:this.handlePagination.bind(this)});this.Pagination=new e({$element:this.$element.find(this.getSettings("selectors.pagination"))})},sortableModule(){var e=n.default.extend({handleSort:this.handleSort.bind(this)});this.Sortable=new e({$element:this.$element.find(this.getSettings("selectors.sortable"))})},afterAppend(){"yes"===this.getInstanceValue("mirror_rows")&&this.mirrorRows(),"infinite_load"===this.getInstanceValue("pagination_type")&&this.infiniteLoadObserver()},setColumnsCount(){var e=elementorFrontend.getCurrentDeviceMode();let t="desktop"===e?"columns":"columns_"+e;this.setSettings("columnsCount",parseInt(this.getInstanceValue(t)))},runMasonry(){this.Masonry=new a.default({$element:this.$element}),this.Masonry.run()},mirrorRows(){this.setColumnsCount();var t=this.getSettings(),i=this.$element.find(t.selectors.postItem);if(i.filter(t.selectors.postMirrored).removeAttr(t.classes.postMirrored),i.length&&i.length>t.columnsCount){var n=i.length/t.columnsCount;for(let e=1;e<n;e+=2){var s=e*t.columnsCount;i.slice(s,s+t.columnsCount).attr(t.classes.postMirrored,!0)}}},createObserver(e,i,n){if(!(e.length<1)){let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i(),t.disconnect())})},n);t.observe(e[0])}},infiniteLoadObserver(){let i=this;i.createObserver(i.elements.$infinteLoadIndicator,()=>{var e=i.getSettings("state"),t=e.paged+1;i.addPosts({paged:t,category:e.category})},{threshold:1})},ajaxPosts(e,t){var e={action:"raven_get_render_posts",post_id:this.getCurrentPostId(),model_id:this.getID(),paged:e.paged,category:e.category,lang:this.elements.$postsContainer.data("lang")},i=this.elements.$postsContainer.data("archive-query");i&&(e.archive_query=JSON.stringify(i));this.setSettings("state.isLoading",!0),$.ajax({type:"POST",url:_wpUtilSettings.ajax.url,data:e,success:function(e){e.success&&e.data.posts&&t(e)},complete:function(){this.setSettings("state.isLoading",!1)}.bind(this)})},addPosts(e){var t=this.getSettings("state");return!(t.isLoading||t.paged<1||(this.ajaxPosts(e,this.appendPosts),0))},appendPosts(e){var t=this.getSettings("state");"masonry"===this.getInstanceValue("layout")?this.Masonry.push(e.data.posts):this.elements.$postsContainer.append(e.data.posts),this.setPaged({paged:t.paged+1,maxNumPages:e.data.max_num_pages}),this.afterAppend()},setPosts(e){return!this.getSettings("state").isLoading&&(this.ajaxPosts(e,this.renderPosts),!0)},renderPosts(e){this.elements.$postsContainer.empty(),this.elements.$postsContainer.append(e.data.posts),this.Sortable&&!this.Sortable.isEnabled()&&(this.Sortable.renderUpdate(),this.Pagination)&&this.Pagination.isEnabled()&&this.Pagination.recreatePagination(e.data.max_num_pages),this.Pagination&&!this.Pagination.isEnabled()&&this.Pagination.renderUpdate(),this.setPaged({paged:1,maxNumPages:e.data.max_num_pages}),this.initialize()},handleLoadMore(e){e.preventDefault();var e=this.getSettings("state"),t=e.paged+1;this.addPosts({paged:t,category:e.category})},handleInfiniteLoad(){var e=this.getSettings("state"),t=e.paged+1;this.addPosts({paged:t,category:e.category})},handlePagination(e){this.scrollToContainer(this.elements.$postsContainer),this.setPosts({paged:e,category:this.getSettings("state.category")})},handleSort(e){this.setPosts({paged:1,category:e})&&this.setSettings("state.category",e)},setPaged(e){let{paged:t,maxNumPages:i}=e;-1===(t=t>=i?-1:t)?this.elements.$loadMore.hide():this.elements.$loadMore.show(),this.setSettings("state.paged",t),this.setSettings("state.maxNumPages",i)},getCurrentPostId(){return parseInt(this.elements.$postsContainer.data("post-id"))},onSectionActivated(e){e&&this.editOverlayIcons(-1!==e.indexOf("section_icons"))},onEditorClosed(){this.editOverlayIcons(!1)},editOverlayIcons(e){this.$element.toggleClass("raven-edit-icons",e)}})},{"../utils/masonry":8,"../utils/module":9,"../utils/pagination":20,"../utils/sortable":22}],58:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{standardTab:".raven-product-data-tabs.standard-tab-style .woocommerce-tabs ul.tabs a"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$standardTab:this.$element.find(e.standardTab)}},bindEvents(){document.body.classList.contains("elementor-editor-active")&&$(".wc-tabs-wrapper, .woocommerce-tabs, #rating").trigger("init"),this.elements.$standardTab.on("click",function(e){$(".raven-product-data-tabs.standard-tab-style .woocommerce-tabs ul.tabs li").removeClass("previous-tab"),$(e.currentTarget).parent().prev().addClass("previous-tab")})}})},{"../utils/module":9}],59:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{gallery:".raven-product-gallery-wrapper",galleryItemsWrapper:".raven-product-gallery-items",galleryItems:".raven-product-gallery-items li",galleryBase:".woocommerce-product-gallery-raven-widget",galleryThumbs:".flex-control-thumbs",galleryImageFit:".raven-image-fit img"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$gallery:this.$element.find(e.gallery),$galleryItemsWrapper:this.$element.find(e.galleryItemsWrapper),$galleryItems:this.$element.find(e.galleryItems),$galleryBase:this.$element.find(e.galleryBase),$galleryThumbs:this.$element.find(e.galleryThumbs)}},getGallerylSettings(){return{layout:this.getInstanceValue("gallery_layout"),thumbnails:this.getInstanceValue("thumbnails")||"",carousel:this.getInstanceValue("carousel"),lightbox:this.getInstanceValue("lightbox"),zoom:this.getInstanceValue("zoom"),wcZoomDisabled:this.$element.data("wc-disable-zoom")||"",wcLighboxDisabled:this.$element.data("wc-disable-lightbox")||"",videoIsEnable:"1"===this.getInstanceValue("video_enable"),aspectIsEnabled:"true"===this.getInstanceValue("enable_aspect_ratio")}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);var e=this.getGallerylSettings();"stack"===e.layout&&e.aspectIsEnabled&&objectFitPolyfill(this.$element.find(this.getSettings("selectors.galleryImageFit"))),this.galleryItemsHtml=[]},bindEvents(){this.galleryEvent()},onElementChange(e){var t=this.getGallerylSettings();if("aspect_ratio"===e&&t.videoIsEnable){let e=this.$element.find(".raven-product-gallery-wrapper").find(".raven-product-gallery-stack-wrapper"),t=e.find(".jupiterx-product-gallery-stack-video"),i=e.find(".raven-product-gallery-stack-image"),n=i.height();if(t.css("height","auto"),0===i.length)return void setTimeout(()=>t.css("height","max-content"));setTimeout(()=>t.height(n))}["product_thumbnail_width","product_thumbnail_width"].includes(e)&&new window.jupiterxProductGallery(jQuery(".raven-product-gallery-wrapper"),!0)},galleryEvent(){this.ProductGalleryInstance();this.resetButtonOnClick(),this.updateGalleryPictures(this),this.singleSlideOnClick()},ProductGalleryInstance(){let r=jQuery,s=this.getGallerylSettings(),a=this.elements.$galleryBase.find(".raven-product-gallery-slider-wrapper"),i=this.getWrapper(),o=this,t=(r(a).removeClass("jupiterx-product-gallery-vertical jupiterx-product-gallery-horizontal jupiterx-product-gallery-none"),this.getThumbnail(o)),l=(window.innerWidth<768&&(s.thumbnails="horizontal",r(i).find(".woocommerce-product-gallery-raven-widget").removeClass("raven-product-gallery-left raven-product-gallery-right").addClass("raven-product-gallery-horizontal").find("ol").removeClass("slick-vertical")),function(e,t=!1){if(this.$target=e,!0===t)return this;"stack"===s.layout&&(s.zoom&&this.initZoom("li"),s.zoom&&this.lightbox(),s.videoIsEnable)&&(this.controlVideoOnload(),this.endedVideo(),this.handleVideoHeight()),"standard"===s.layout&&(this.slider(),s.carousel||this.carousel(),s.zoom&&this.zoomIcon(),s.lightbox&&this.standardLightbox(),s.lightbox||this.$target.find(".woocommerce-product-gallery__image").find("a").css("pointer-events","none"),s.wcZoomDisabled&&s.zoom&&setTimeout(()=>{this.initZoom(".woocommerce-product-gallery__image")},100),s.wcLighboxDisabled&&s.lightbox&&!s.videoIsEnable&&this.initPhotoswipe(),this.disableProductElementorLighBox(),this.createSlickThumbnailsSlider(),this.repositionDirectionNav(),s.videoIsEnable)&&(this.handleIframe(),this.handleVideoOnChangeSlide(),this.handlePhotoswipe(),this.endedVideo())});this.handleWcModal(),l.prototype.endedVideo=function(){r("video").on("ended",function(e){r(e.currentTarget).parent().find("i").removeClass("circle-pause").addClass("circle-play")})},l.prototype.handleIframe=function(){var e=this.$target;let t=e.find(".flex-active-slide");(t=0===t.length?e.find(".woocommerce-product-gallery__image"):t).find("iframe").on("load",function(e){r(e.currentTarget).parent().removeClass("iframe-on-load"),r(e.currentTarget).show(),r(e.currentTarget).next().hide()})},l.prototype.handleVideoHeight=function(){var e=this.$target.find(".raven-product-gallery-stack-wrapper"),t=e.find(".jupiterx-product-gallery-stack-video"),e=e.find(".raven-product-gallery-stack-image"),i=e.height();0===e.length?t.css("height","max-content"):t.height(i)},l.prototype.slider=function(){var e=!!document.body.classList.contains("rtl");let t='<svg fill="#333333" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="7.2px" height="12px" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M4.8,6l-4.5,4.3c-0.4,0.4-0.4,1,0,1.4c0.4,0.4,1,0.4,1.4,0l5.2-5C7.1,6.5,7.2,6.3,7.2,6S7.1,5.5,6.9,5.3l-5.2-5C1.5,0.1,1.2,0,1,0C0.7,0,0.5,0.1,0.3,0.3c-0.4,0.4-0.4,1,0,1.4L4.8,6z"/></svg>',i='<svg fill="#333333" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="7.2px" height="12px" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M2.4,6l4.5-4.3c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0l-5.2,5C0.1,5.5,0,5.7,0,6s0.1,0.5,0.3,0.7l5.2,5\tC5.7,11.9,6,12,6.2,12c0.3,0,0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L2.4,6z"/></svg>';e&&(t='<svg fill="#333333" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="7.2px" height="12px" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M2.4,6l4.5-4.3c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0l-5.2,5C0.1,5.5,0,5.7,0,6s0.1,0.5,0.3,0.7l5.2,5\tC5.7,11.9,6,12,6.2,12c0.3,0,0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L2.4,6z"/></svg>',i='<svg fill="#333333" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="7.2px" height="12px" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M4.8,6l-4.5,4.3c-0.4,0.4-0.4,1,0,1.4c0.4,0.4,1,0.4,1.4,0l5.2-5C7.1,6.5,7.2,6.3,7.2,6S7.1,5.5,6.9,5.3l-5.2-5C1.5,0.1,1.2,0,1,0C0.7,0,0.5,0.1,0.3,0.3c-0.4,0.4-0.4,1,0,1.4L4.8,6z"/></svg>');e={flexslider:{allowOneSlide:!1,animation:"slide",animationLoop:!1,animationSpeed:500,controlNav:"thumbnails",directionNav:!0,nextText:t,prevText:i,rtl:e,slideshow:!1,smoothHeight:!1},photoswipe_enabled:!(!s.lightbox||s.videoIsEnable),zoom_enabled:!!s.zoom};a.wc_product_gallery(e),this.smoothHeight()},l.prototype.smoothHeight=function(e=400){setTimeout(()=>{var e=r(i).find(".flex-viewport"),t=r(i).find(".flex-active-slide").height(),e=(e.animate({height:t}),t/2);r(".flex-direction-nav").css("top",e+"px")},e)},l.prototype.getGalleryItems=function(){let e=r(".woocommerce-product-gallery__image"),o=[];return 0<e.length&&e.each(function(e,t){var i,n,s,a=r(t).find("img");0<a.length?(n=a.attr("data-large_image"),s=a.attr("data-large_image_width"),i=a.attr("data-large_image_height"),n={alt:a.attr("alt"),src:n,w:s,h:i,title:a.attr("data-caption")?a.attr("data-caption"):a.attr("title")},o.push(n)):(r(t).find(".jupiterx-attachment-media-custom-video-icons").css("max-width","inherit"),s=r(t).find(".jupiterx-attachment-media-iframe").parent().html(),o.push({html:'<div class="jupiterx-pswp-attachment-media-iframe">'+s+"</div>"}))}),o},l.prototype.handlePhotoswipe=function(){if(s.lightbox&&(this.$target.off("click",".woocommerce-product-gallery__trigger"),this.$target.off("click",".woocommerce-product-gallery__image a"),this.$target.on("click",".woocommerce-product-gallery__trigger",this.openPhotoswipe),this.$target.on("click",".woocommerce-product-gallery__image a",function(e){e.preventDefault()}),s.zoom)){0===this.$target.find(".woocommerce-product-gallery__trigger").length&&this.$target.append('<a href="#" class="woocommerce-product-gallery__trigger"></a>');let e=r(this.$target).find(".woocommerce-product-gallery__trigger");r(e).hide(),r(document).on("click",".zoomImg, .woocommerce-product-gallery__image a",function(){r(e).click()})}},l.prototype.initPhotoswipe=function(){var e=this.$target;if(0<e.find("img").length&&(this.$target.prepend('<a href="#" class="woocommerce-product-gallery__trigger"></a>'),this.$target.on("click",".woocommerce-product-gallery__trigger",this.openPhotoswipe),this.$target.on("click",".woocommerce-product-gallery__image a",function(e){e.preventDefault()})),s.zoom){let t=e.find(".woocommerce-product-gallery__trigger");r(document).on("click",".flex-active-slide",function(e){0<r(e.currentTarget).find(".jupiterx-attachment-media-iframe").length||r(t).click()})}},l.prototype.handleVideoOnPhotoSwipe=function(n,e){r(n).hasClass("pswp--open")&&(e.listen("beforeChange",function(){let i=r(n).find("video"),e=r(n).find("iframe"),t=r(n).find(".pswp__item");0<i.length&&(i.parent().find("i").removeClass("circle-pause").addClass("circle-play"),i.get(0).pause()),0<e.length&&(l.prototype.resetIframes(e),r(n).find("iframe").on("load",function(e){r(e.currentTarget).parent().removeClass("iframe-on-load"),r(e.currentTarget).show(),r(e.currentTarget).next().hide()})),t.each(function(e,t){"block"===r(t).css("display")&&void 0!==r(t).find("video").attr("autoplay")&&(i.parent().find("i").removeClass("circle-play").addClass("circle-pause"),r(t).find("video").get(0).play())})}),l.prototype.handleVideoOnClick(r(n)))},l.prototype.openPhotoswipe=function(e){e.preventDefault();var t,i=r(".pswp")[0],n=l.prototype.getGalleryItems(),e=r(e.target);let s;e.is(".woocommerce-product-gallery__trigger")||e.is(".woocommerce-product-gallery__trigger img")?(s=a.find(".flex-active-slide"),t=r.extend({index:r(s).index(),addCaptionHTMLFn:(e,t)=>e.title?(t.children[0].textContent=e.title,!0):(t.children[0].textContent="",!1)},{closeOnScroll:!1,history:!1,hideAnimationDuration:0,showAnimationDuration:0}),(n=new PhotoSwipe(i,PhotoSwipeUI_Default,n,t)).init(),l.prototype.handleVideoOnPhotoSwipe(i,n)):s=e.closest(".woocommerce-product-gallery__image")},l.prototype.disableProductElementorLighBox=function(){var e=r(this.$target).find("a");s.lightbox&&document.body.classList.contains("elementor-editor-active")?r(e).attr("data-elementor-open-lightbox","yes"):r(e).attr("data-elementor-open-lightbox","no")},l.prototype.initZoom=function(e){r.isFunction(r.fn.zoom)&&(e=this.$target.find(e),r(e).each(function(e,t){var i=r(t).find("img"),n=r(t).width();i.data("large_image_width")>n&&(i={touch:!1},"ontouchstart"in window&&(i.on="click"),r(t).trigger("zoom.destroy"),r(t).zoom(i))}))},l.prototype.carousel=function(){var e=this.$target.find(".flex-direction-nav");r(e).remove()},l.prototype.lightbox=function(){let e=this;setTimeout(function(){e.$target.on("click",".zoomImg",function(e){r(e.currentTarget).prev().click()})},100)},l.prototype.standardLightbox=function(){if(!s.zoom){var t=this.$target;0===t.find(".woocommerce-product-gallery__trigger").length&&this.$target.append('<a href="#" class="woocommerce-product-gallery__trigger"></a>');let e;e=t.find(".woocommerce-product-gallery__trigger"),r(e).hide(),r(document).on("click",".zoomImg, .woocommerce-product-gallery__image a",function(){r(e).click()})}},l.prototype.zoomIcon=function(){let e=this.$target,t=e.find(".woocommerce-product-gallery__trigger");r(t).hide(),s.lightbox&&e.on("click",".zoomImg, .woocommerce-product-gallery__image a",function(){r(t).click()})},l.prototype.createSlickThumbnailsSlider=function(){let n=this.$target.find(".raven-product-gallery-slider-wrapper"),e={infinite:!1,draggable:!1,slidesToShow:7,slidesToScroll:1,prevArrow:'<button class="slick-prev" aria-label="Prev" type="button"><svg fill="#333333" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="7.2px" height="12px" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M2.4,6l4.5-4.3c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0l-5.2,5C0.1,5.5,0,5.7,0,6s0.1,0.5,0.3,0.7l5.2,5\tC5.7,11.9,6,12,6.2,12c0.3,0,0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L2.4,6z"/></svg></button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button"><svg fill="#333333" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="7.2px" height="12px" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M4.8,6l-4.5,4.3c-0.4,0.4-0.4,1,0,1.4c0.4,0.4,1,0.4,1.4,0l5.2-5C7.1,6.5,7.2,6.3,7.2,6S7.1,5.5,6.9,5.3l-5.2-5C1.5,0.1,1.2,0,1,0C0.7,0,0.5,0.1,0.3,0.3c-0.4,0.4-0.4,1,0,1.4L4.8,6z"/></svg></button>'};["left","right"].includes(o.getThumbnail(o))&&(e=r.extend(e,{vertical:!0,slidesToShow:5}),setTimeout(function(){var e=n.find(".slick-active"),t=e.length;let i=e.height()*t;0<parseInt(e.css("margin-bottom"))&&(i+=parseInt(e.css("margin-bottom"))*t),0<parseInt(e.css("border-bottom-width"))&&(i+=parseInt(e.css("border-bottom-width"))*t),0<parseInt(e.css("border-top-width"))&&(i+=parseInt(e.css("border-top-width"))*t),n.find(".slick-track, .slick-list").css("height",i+"px")},100)),"horizontal"===o.getThumbnail(o)?(e.arrows=!1,e.useTransform=!1):(e.arrows=!0,e.useTransform=!0),r(".flex-control-thumbs").hasClass("slick-initialized")&&r(".flex-control-thumbs").slick("destroy"),r(".flex-control-thumbs").slick(e),s.videoIsEnable&&n.find(".woocommerce-product-gallery__image").each(function(e,t){void 0!==r(t).data("poster")&&r(".flex-control-nav").find("li[data-slick-index="+e+"]").prepend('<i class="jupiterx-product-single-play-icon"></i>')});let t=this;n.on("click",".flex-direction-nav a",function(){n.find(".flex-control-nav").slick("slickGoTo",n.find(".flex-active-slide").index()),n.find(".slick-track li").removeClass("active-slick-slide"),n.find(".flex-active").parent().addClass("active-slick-slide"),t.smoothHeight(0)})},l.prototype.repositionDirectionNav=function(){let s=this.$target.find(".raven-product-gallery-slider-wrapper");function e(){var e=s.find(".flex-direction-nav"),t=s.find(".flex-control-thumbs"),i=s.find(".jupiterx-attachment-media-custom-video-icons"),n=s.find(".flex-viewport"),t=t.outerWidth(!0);"right"===o.getThumbnail(o)&&e.css("right",t),"left"===o.getThumbnail(o)&&e.css("left",t),i.css("max-width",n.width())}r(window).resize(e),e()},l.prototype.handleVideoOnClick=function(a){a.off("click",".jupiterx-attachment-media-custom-video-icons").on("click",".jupiterx-attachment-media-custom-video-icons",function(e){var t=r(e.currentTarget),e=r(e.currentTarget).find("i"),t=t.prev(),i=a.find(".jupiterx-attachment-media-iframe"),n=a.find("video"),s=a.find("iframe");0<s.length&&l.prototype.resetIframes(s),t.get(0).paused?(i.find("i").removeClass("circle-pause").addClass("circle-play"),n.trigger("pause"),e.removeClass("circle-play").addClass("circle-pause"),t.get(0).play()):(e.removeClass("circle-pause").addClass("circle-play"),t.get(0).pause())})},l.prototype.controlVideoOnload=function(){var e=this.$target.find(".raven-product-gallery-stack-wrapper"),t=e.find("video"),i=e.find("iframe");let n=e.find("li:first-child");0!==e.length&&(0<t.length&&t.each(function(){r(this).parent().find("i").removeClass("circle-pause").addClass("circle-play"),r(this).get(0).pause()}),0<i.length&&(l.prototype.resetIframes(i),i.on("load",function(e){r(e.currentTarget).parent().removeClass("iframe-on-load"),r(e.currentTarget).show(),r(e.currentTarget).next().hide()})),0<t.length&&0===n.find("video").length&&(i=t[0],n=r(i).parent()),0<n.length&&0<n.find("video").length&&void 0!==n.find("video").attr("autoplay")&&(n.find("video").parent().find("i").removeClass("circle-play").addClass("circle-pause"),n.find("video").get(0).play()),l.prototype.handleVideoOnClick(e))},l.prototype.handleVideoOnChangeSlide=function(){let n=this.$target;n.on("click",".flex-direction-nav a, .flex-control-thumbs li, .flex-control-thumbs li .jupiterx-product-single-play-icon, .woocommerce-product-gallery__image a, .woocommerce-product-gallery__trigger",function(){var e=n.find("video"),t=n.find("iframe"),i=n.find(".flex-active-slide");0<e.length&&(e.parent().find("i").removeClass("circle-pause").addClass("circle-play"),e.each(function(e,t){r(t).get(0).pause()})),0<t.length&&(l.prototype.resetIframes(t),t.on("load",function(e){r(e.currentTarget).parent().removeClass("iframe-on-load"),r(e.currentTarget).show(),r(e.currentTarget).next().hide()})),0<i.length&&void 0!==i.find("video").attr("autoplay")&&(e.parent().find("i").removeClass("circle-play").addClass("circle-pause"),i.find("video").get(0).play())}),l.prototype.handleVideoOnClick(n)},l.prototype.resetIframes=function(e){e.each(function(e,t){var i=r(t).attr("src");r(t).attr("src",i)})},new l(jQuery(".raven-product-gallery-wrapper")),window.jupiterxProductGallery=l;window.addEventListener("resize",this.debounce(()=>{var e=window.innerWidth;(e<768||"horizontal"===o.getThumbnail(o))&&(s.thumbnails="horizontal",r(i).find(".woocommerce-product-gallery-raven-widget").removeClass("raven-product-gallery-left raven-product-gallery-right").addClass("raven-product-gallery-horizontal").find("ol").removeClass("slick-vertical")),768<=e&&"horizontal"!==t&&(s.thumbnails=t,r(i).find(".woocommerce-product-gallery-raven-widget").removeClass("raven-product-gallery-horizontal raven-product-gallery-right raven-product-gallery-left").addClass("raven-product-gallery-"+t).find("ol").addClass("slick-vertical")),new l(jQuery(".raven-product-gallery-wrapper")),e<768&&r(i).find("div.flex-active-slide").css("width",e-40)},100))},debounce(i,n){let s;return function(){let e=this,t=arguments;clearTimeout(s),s=setTimeout(function(){s=null,i.apply(e,t)},n)}},handleWcModal(){$(".pswp__button--close").off().on("click touchend",function(e){$(e.target).closest(".pswp--open").removeClass("pswp--open"),setTimeout(()=>{$(e.target).closest(".pswp--open").removeClass("pswp--open")})}),$(".pswp__item").off().on("click touched",function(e){$(e.target).closest("img.pswp__img").length||$(e.target).closest(".jupiterx-pswp-attachment-media-iframe").length||$(e.target).closest(".pswp--open").removeClass("pswp--open")})},onFullScreenClose(){let e=this;$(".pswp__button--fs").on("click",function(){e.handleWcModal()})},updateGallery(i){if(!1!==i.replace){var n=this.getWrapper(),s=i.content,a=this.getGallerylSettings();if("stack"===i.layout){$(n).find(".raven-product-gallery-wrapper").html(s);let e=new window.jupiterxProductGallery(jQuery(".raven-product-gallery-wrapper"),!0);void(a.videoIsEnable&&e.controlVideoOnload())}else{$(n).find(".woocommerce-product-gallery-raven-widget").html(s);let e=0;$(n).find(".flex-control-nav li").each(function(){0===e?$(this).addClass("slick-slide slick-current slick-active"):$(this).addClass("slick-slide slick-active"),$(this).attr("style","width: 61px;"),$(this).attr("tabindex","0"),$(this).attr("aria-hidden","false"),$(this).attr("data-slick-index",e),e++});var i=$(n).find(".flex-control-nav").html(),s=document.createElement("ol"),o=document.createElement("div"),r=document.createElement("div"),i=(s.setAttribute("class","flex-control-nav flex-control-thumbs slick-initialized slick-slider"),o.setAttribute("class","slick-list"),r.setAttribute("class","slick-track"),$(r).append(i),o.appendChild(r),s.appendChild(o),$(n).find("ol.flex-control-nav").remove(),$(n).find(".flex-viewport"));$(s).insertAfter(i),this.galleryEvent(),this.singleSlideOnClick(),this.handleWcModal(),this.onFullScreenClose();let t=new window.jupiterxProductGallery(jQuery(".raven-product-gallery-wrapper"),!0);a.videoIsEnable&&t.controlVideoOnload(),t.createSlickThumbnailsSlider()}}},restButtonAjax(){let t=this,s=t.getWrapper(),e=$(s).find('input[name="product_id"]').val(),i=$('input[name="variation_id"]').val(),n=t.galleryItemsHtml.findIndex(e=>"reset"===e.key);var a;0===i||_.isEmpty(i)?document.getElementById("jupiterx-clear-variable-button-single-page").removeEventListener("click",this.restButtonAjax):-1!==n?(a=t.galleryItemsHtml[n].value,t.updateGallery(a)):wp.ajax.post({beforeSend:()=>{var e=$(s).find(".flex-active").outerHeight(),t=$(s).find(".flex-viewport").outerHeight(),i=$(s).find(".flex-control-nav"),e='<div class="temporary-style"><style>'+`.raven-product-gallery-wrapper-placeholder .slick-slide { min-height: ${e}px };`+"</style></div>",n=$(".jupiterx-product-gallery-stack-item").outerHeight();$(s).find(".raven-product-gallery-wrapper").append(e),$(s).find(".flex-viewport").remove(),$(`<div class="flex-viewport" style="width:100%; height:${t}px;"></div>`).insertBefore(i),$(s).find(".raven-product-gallery-wrapper").addClass("raven-product-gallery-wrapper-placeholder"),$(s).find(".jupiterx-product-gallery-stack-item").css("height",n),$("#variation-previous-number").val(0)},action:"jupiterx_product_gallery_get_gallery_items",variation:"0",post_id:$(s).find('input[name="post_id"]').val(),form_id:$(s).find('input[name="form_id"]').val(),product_id:e,nonce:ravenTools.nonce}).always(function(){$(".raven-product-gallery-wrapper").removeClass("raven-product-gallery-wrapper-placeholder"),$(s).find(".raven-product-gallery-wrapper").find(".temporary-style").remove(),document.getElementById("jupiterx-clear-variable-button-single-page").removeEventListener("click",this.restButtonAjax)}).done(function(e){t.galleryItemsHtml.push({key:"reset",value:e}),t.updateGallery(e)})},resetButtonOnClick(){var e=document.getElementById("jupiterx-clear-variable-button-single-page");_.isNull(e)||e.addEventListener("click",this.restButtonAjax)},updateGalleryPictures(o){let r=this.getWrapper();var e=$(".raven-product-add-to-cart input.variation_id").val();$("body").append('<input type="hidden" id="variation-first-load" value="true">'),$("body").append(`<input type="hidden" id="variation-previous-number" value="${e}">`),$(".variation_id").off().on("change",function(){let s=$('input[name="variation_id"]').val(),e=$("#variation-first-load").val(),t=$("#variation-previous-number").val(),i=$(r).find('input[name="product_id"]').val(),n=o.galleryItemsHtml.findIndex(e=>e.key===s);var a;_.isEmpty(s)||"true"===e||s===t?$("#variation-first-load").val("false"):-1!==n?(a=o.galleryItemsHtml[n].value,o.updateGallery(a)):wp.ajax.post({beforeSend:()=>{var e=$(r).find(".flex-active").outerHeight(),t=$(r).find(".flex-viewport").outerHeight(),i=$(r).find(".flex-control-nav"),e='<div class="temporary-style"><style>'+`.raven-product-gallery-wrapper-placeholder .slick-slide { min-height: ${e}px };`+"</style></div>",n=$(".jupiterx-product-gallery-stack-item").outerHeight();$(r).find(".raven-product-gallery-wrapper").append(e),$(r).find(".flex-viewport").remove(),$(`<div class="flex-viewport" style="width:100%; height:${t}px;"></div>`).insertBefore(i),$(r).find(".raven-product-gallery-wrapper").addClass("raven-product-gallery-wrapper-placeholder"),$(r).find(".jupiterx-product-gallery-stack-item").css("height",n),$("#variation-previous-number").val(s)},action:"jupiterx_product_gallery_get_gallery_items",variation:s,post_id:$(r).find('input[name="post_id"]').val(),form_id:$(r).find('input[name="form_id"]').val(),product_id:i,nonce:ravenTools.nonce}).always(function(){$(".raven-product-gallery-wrapper").removeClass("raven-product-gallery-wrapper-placeholder"),$(r).find(".raven-product-gallery-wrapper").find(".temporary-style").remove()}).done(function(e){o.galleryItemsHtml.push({key:s,value:e}),o.updateGallery(e)})})},getWrapper(){return'div[data-id="'+this.getID()+'"]'},singleSlideOnClick(){let e=this.getWrapper(),t=this;$(e).find(".slick-current").addClass("active-slick-slide"),$(e).find("li.slick-slide").on("click",function(){$(e).find("li.slick-slide").removeClass("active-slick-slide"),$(this).addClass("active-slick-slide"),t.smoothHeight()})},smoothHeight(i=0){let n=this.getWrapper();setTimeout(()=>{var e=$(n).find(".flex-viewport"),t=$(n).find(".flex-active-slide").height(),e=(e.animate({height:t},i),t/2);$(".flex-direction-nav").css("top",e+"px")})},getThumbnail(e){return"stack"!==e.getGallerylSettings().layout&&0===e.elements.$gallery.data("has-gallery")?"horizontal":e.getElementSettings().thumbnails}})},{"../utils/module":9}],60:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(){a(),s(),n()};let o=jQuery;let n=()=>{o(".jupiterx-product-review-submit-new").on("click",function(){o(".jupiterx-product-review-alarm").css("display","none"),o(".jupiterx-product-review-global-error").css("display","none");var e=o("#jupiterx-product-review-input-rating"),t=o(".jupiterx-product-review-textarea"),i=o(".jupiterx-product-review-name"),n=o(".jupiterx-product-review-email"),s=o("#jupiterx-product-review-related");let a=!1;[e,t,i,n].forEach(e=>{""===e.val()&&(a=!0,e.parent().find(".jupiterx-product-review-alarm").css("display","block"))}),!0!==a&&(0<o("#jupiterx-product-review-acceptance").length&&o("#jupiterx-product-review-acceptance").is(":checked")&&r(i.val(),n.val()),wp.ajax.post({beforeSend:()=>{o(".jupiterx-product-review-form-wrapper").css("opacity",.5)},action:"jupiterx_product_review_submitter",score:e.val(),content:t.val(),name:i.val(),email:n.val(),post_id:s.val(),nonce:ravenTools.nonce}).always(function(){o(".jupiterx-product-review-form-wrapper").css("opacity",1)}).done(function(){location.reload()}).fail(function(){o(".jupiterx-product-review-global-error").css("display","block")}))})},s=()=>{var e=document.querySelectorAll(".jupiterx-product-review-rating-selector");let t="jupiterx-product-review-rating-selector ",i=t+" jupiterx-product-review-marked",n=t+" jupiterx-product-review-unmarked",s=!0;e.forEach(e=>e.addEventListener("click",()=>{o(".jupiterx-product-review-rating-selector").attr("class",n),o(e).attr("class",i),o(e).prevAll().attr("class",i),o("#jupiterx-product-review-input-rating").val(o(e).attr("data-rate")),s=!1})),e.forEach(e=>e.addEventListener("mouseover",()=>{!1!==s&&(o(e).attr("class",i),o(e).prevAll().attr("class",i))})),e.forEach(e=>e.addEventListener("mouseout",()=>{!1!==s&&(o(e).attr("class",n),o(e).prevAll().attr("class",n))}))},a=()=>{null!==localStorage.getItem("jupiterx-product-review-name")&&o(".jupiterx-product-review-name").val(localStorage.getItem("jupiterx-product-review-name")),null!==localStorage.getItem("jupiterx-product-review-email")&&o(".jupiterx-product-review-email").val(localStorage.getItem("jupiterx-product-review-email"))},r=(e,t)=>{localStorage.setItem("jupiterx-product-review-name",e),localStorage.setItem("jupiterx-product-review-email",t)}},{}],61:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{carouselWrapper:".raven-swiper-slider",sliderWrapper:".raven-products-carousel-swiper-container",itemsSlider:".swiper-wrapper",productData:".jupiterx-product-container",productImage:".jupiterx-wc-loop-product-image > img",categories:".posted_in",addToCartButton:"a.add_to_cart_button",productTitle:".woocommerce-loop-product__title",productPrice:".price",ratingWrapper:".rating-wrapper",product_type_external:"a.product_type_external",product_type_grouped:"a.product_type_grouped",product_type_simple:"a.product_type_simple"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$carouselWrapper:this.$element.find(e.carouselWrapper),$sliderWrapper:this.$element.find(e.sliderWrapper),$itemsSlider:this.$element.find(e.itemsSlider),$productData:this.$element.find(e.productData),$productImage:this.$element.find(e.productImage),$categories:this.$element.find(e.categories),$addToCartButton:this.$element.find(e.addToCartButton),$productTitle:this.$element.find(e.productTitle),$productPrice:this.$element.find(e.productPrice),$ratingWrapper:this.$element.find(e.ratingWrapper),$product_type_external:this.$element.find(e.product_type_external),$product_type_grouped:this.$element.find(e.product_type_grouped),$product_type_simple:this.$element.find(e.product_type_simple)}},getCarouselSettings(){return{atc_button_location:this.getInstanceValue("pc_atc_button_location"),load_effect:this.getInstanceValue("load_effect"),overflow_visible:this.getInstanceValue("overflow_visible"),slides_view:this.getInstanceValue("slides_view"),slides_scroll:this.getInstanceValue("slides_scroll"),enable_autoplay:this.getInstanceValue("enable_autoplay"),autoplay_speed:this.getInstanceValue("autoplay_speed"),enable_infinite_loop:this.getInstanceValue("enable_infinite_loop"),enable_hover_pause:this.getInstanceValue("enable_hover_pause"),transition_speed:this.getInstanceValue("transition_speed"),show_pagination:this.getInstanceValue("show_pagination"),pagination_type:this.getInstanceValue("pagination_type"),pagination_position:this.getInstanceValue("pagination_position"),pause_on_hover:this.getInstanceValue("pause_on_hover"),columns_space_between:this.getInstanceValue("columns_space_between")}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.addClassToContent(),this.wrapAllContents();let n=this.getCarouselSettings(),e=elementorFrontend.config.responsive.activeBreakpoints,i={};var t=Object.entries(e).sort(([,e],[,t])=>e.value-t.value);let s=0,a=0,o=(t.forEach(([e,t])=>{"max"===t.direction?(i[s]={slidesPerView:this.getDeviceSlidesPerView(e),slidesPerGroup:this.getDeviceSlidesToScroll(e),spaceBetween:this.getSpaceBetween(e)},a=Math.max(a,t.value)):i[t.value]={slidesPerView:this.getDeviceSlidesPerView(e),slidesPerGroup:this.getDeviceSlidesToScroll(e),spaceBetween:this.getSpaceBetween(e)},s=t.value}),{draggable:!(i[a]={slidesPerView:this.getDeviceSlidesPerView("desktop"),slidesPerGroup:this.getDeviceSlidesToScroll("desktop"),spaceBetween:this.getSpaceBetween("desktop")}),autoplay:"yes"===n.enable_autoplay&&{delay:n.autoplay_speed},loop:"yes"===n.enable_infinite_loop,watchOverflow:"yes"===n.enable_hover_pause,speed:+n.transition_speed,slidesPerView:this.getDeviceSlidesPerView("desktop"),slidesPerGroup:this.getDeviceSlidesToScroll("desktop"),spaceBetween:this.getSpaceBetween("desktop"),navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},appendArrows:this.elements.$sliderWrapper,breakpoints:i,handleElementorBreakpoints:!0}),r=this;this.elements.$sliderWrapper.each(function(e,t){$(this).parents(".elementor-widget-raven-products-carousel").find(".raven-products-carousel").addClass("swiper-"+e),o.navigation&&(o.navigation={nextEl:$(t).parents(".raven-products-carousel.swiper-"+e).find(".swiper-button-next")[0],prevEl:$(t).parents(".raven-products-carousel.swiper-"+e).find(".swiper-button-prev")[0]}),o.pagination=!1,"yes"===n.show_pagination&&(o.pagination={el:$(t).parents(".raven-products-carousel.swiper-"+e).find(".swiper-pagination")[0],type:n.pagination_type,clickable:!0});let i=null;o.on={},o.on.init=function(){r.handleAnimation(),r.zoom()},$(t)[0].style.opacity=0,setInterval(()=>{$(t)[0].style.opacity=1},700),"undefined"==typeof Swiper?new elementorFrontend.utils.swiper(t,o).then(e=>{i=e}):i=new Swiper(t,o),"yes"===n.pause_on_hover&&$(t).on({mouseenter(){i.autoplay.stop()},mouseleave(){i.autoplay.start()}}),r.elements.$itemsSlider.data("swiper",i)})},handleAnimation(){let n=this.getCarouselSettings();this.elements.$sliderWrapper.load().after(()=>{let i=[...this.elements.$carouselWrapper[0].querySelectorAll(".swiper-slide")];"slide-right"===this.getInstanceValue("load_effect")&&(i=i.slice().reverse()),n.overflow_visible&&"slide-right"!==this.getInstanceValue("load_effect")&&i[i.length-1].classList.add("raven-load-effect-"+n.load_effect),i.forEach((e,t)=>{setTimeout(()=>{e.classList.add("raven-load-effect-"+n.load_effect),t===i.length-1&&(this.elements.$itemsSlider[0].classList.add("raven-products-loaded"),setInterval(()=>{this.elements.$itemsSlider[0].classList.remove("raven-products-load-effect")},1500),this.setSettings("state.loaded",!0))},100*t)})})},bindEvents(){this.zoom(),"show"===this.getInstanceValue("wishlist")&&this.wishlist(),this.getInstanceValue("overflow_visible")&&(window["jupiterx-main"].style.overflow="hidden")},onEditSettingsChange(e){"activeItemIndex"===e&&elementorFrontend.utils.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)},zoom(){"zoom_hover"===this.getInstanceValue("swap_effect")&&this.elements.$sliderWrapper.find(".jupiterx-wc-loop-product-image").zoom()},wishlist(){$(document).on("click",".jupiterx-wishlist",function(e){e.preventDefault();let t=$(this),i="add_to_wishlist";var e={},n=t.data("state"),s=t.data("productId"),a=t.data("nonceAdd"),o=t.data("nonceRemove");e.nonce=a,e.add_to_wishlist=s,e.remove_from_wishlist=s,"remove"===n&&(i="remove_from_wishlist",e.nonce=o),wp.ajax.send(i,{type:"GET",data:e}).always(e=>{"add_to_wishlist"===i&&"true"===e.result&&(t.addClass("jupiterx-wishlist-remove"),t.data("state","remove")),"remove_from_wishlist"===i&&0===e.fragments.length&&(t.removeClass("jupiterx-wishlist-remove"),t.data("state","add"))})})},addClassToContent(){var e=this.getCarouselSettings(),t=[this.elements.$productPrice,this.elements.$productTitle,this.elements.$categories,this.elements.$ratingWrapper];"outside"===e.atc_button_location&&(t.push(this.elements.$addToCartButton),t.push(this.elements.$product_type_external),t.push(this.elements.$product_type_grouped),t.push(this.elements.$product_type_simple)),t.forEach(e=>{[...e].forEach(e=>{e.classList.add("raven-product-item-content")})})},wrapAllContents(){[...this.elements.$carouselWrapper[0].querySelectorAll(".swiper-slide")].forEach(e=>{$(e).find(".raven-product-item-content").wrapAll('<div class="raven-product-data" />')})},getSpaceBetween(e){let t="columns_space_between";return e&&"desktop"!==e&&(t+="_"+e),this.getElementSettings(t).size||10},getDeviceSlidesToScroll(e){return+this.getElementSettings("slides_scroll"+("desktop"===e?"":"_"+e))||1},getDeviceSlidesPerView(e){return+this.getElementSettings("slides_view"+("desktop"===e?"":"_"+e))||1}})},{"../utils/module":9}],62:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new s({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let n=jQuery,s=e.default.extend({onInit(){var e=this.getElementSettings();this.selector=this.getTrackingElementSelector(),"circular"===e.type?this.circularOnScroll(e):this.createHorizontalScroll(),this.progressUpdate()},onElementChange(e){var t=this.getElementSettings();"relative_to"!==e&&"selector"!==e&&"type"!==e||(window.removeEventListener("scroll",this.progressUpdate),this.selector=this.getTrackingElementSelector(),!1!==this.selector&&(this.circle||"circular"!==t.type||this.createCircle(t),this.horizontal||"horizontal"!==t.type||this.createHorizontalScroll(),this.initListeners()))},createHorizontalScroll(){!1!==this.selector&&(this.horizontal=document.querySelector(".jupiterx-progress-tracker-horizontal-"+this.getID()),this.initListeners())},circularOnScroll(e){this.createCircle(e),!1!==this.selector&&this.initListeners()},createCircle(e){var t=this.getCircularWrapper(e),e=this.defaultGlobalConfig(e);this.circle=new CircularProgressBar(t,e),this.circle.initial()},initListeners(){window.addEventListener("scroll",this.progressUpdate)},progressUpdate(){var e,t;!1!==this.selector&&(e=this.getElementSettings(),t=this.calculateScroll(),"circular"===e.type?this.circle.animationTo({percent:t.toFixed(0),index:1}):(t=t.toFixed(0)+"%",this.horizontal.querySelector(".progress-indicator").style.width=t,"yes"===e.percentage&&(this.horizontal.querySelector(".percentage-text").innerText=t)))},calculateScroll(){var e=this.selector.is(elementorFrontend.elements.$body)||this.selector.is(n("#e-scroll-snap-container"))?-100:0;return elementorModules.utils.Scroll.getElementViewportPercentage(this.selector,{start:e,end:-100})},getWrapper(){return'div[data-id="'+this.getID()+'"]'},getCircularWrapper(){return"jupiterx-progress-tracker-circular-"+this.getID()},getTrackingElementSelector(){let e;switch(this.getElementSettings().relative_to){case"selector":e=n(this.getElementSettings().selector);break;case"post_content":0<n(".elementor-widget-raven-post-content").length?e=n(".elementor-widget-raven-post-content"):e=!!n(".elementor-widget-theme-post-content").length&&n(".elementor-widget-theme-post-content");break;default:e=this.isScrollSnap()?n("#e-scroll-snap-container"):elementorFrontend.elements.$body}return!1===e||e.length<=0?(this.onDestroy(),!1):e},isScrollSnap(){return"yes"===(this.isEdit?elementor.settings.page.model.attributes:elementorFrontend.config.settings.page).scroll_snap},defaultGlobalConfig(e){var t={size:100,stroke:4,strokeBottom:4,colorSlice:"#61ce70",colorCircle:"#eee",round:!0,number:"yes"===e.percentage,inverse:"rtl"===e.direction,fill:"none",animationOff:!0};return _.isEmpty(e.circular_size.size)||(t.size=e.circular_size.size),t},onDestroy(){window.removeEventListener("scroll",this.progressUpdate)}})},{"../utils/module":9}],63:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.classic=function(e){let t=e.find(".raven-search-form");e.on("focus",".raven-search-form-input",()=>{t.addClass("raven-search-form-focus")}),e.on("blur",".raven-search-form-input",()=>{t.removeClass("raven-search-form-focus")})},i.full=function(e){let t={lightbox:e.find(".raven-search-form-lightbox"),inputSearch:e.find(".raven-search-form-input")};e.on("click",".raven-search-form-button",e=>{e.preventDefault(),t.lightbox.addClass("raven-search-form-lightbox-open"),window.setTimeout(()=>{t.inputSearch.focus()},100)}),e.on("click",".raven-search-form-close",e=>{e.preventDefault(),t.lightbox.removeClass("raven-search-form-lightbox-open")}),jQuery(document).keyup(function(e){27===e.keyCode&&t.lightbox.removeClass("raven-search-form-lightbox-open")})}},{}],64:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let o=jQuery,n=e.default.extend({getDefaultSettings(){return{selectors:{shoppingCart:".raven-shopping-cart",closeButton:".jupiterx-raven-mini-cart-close",cartWrapper:".raven-shopping-cart-wrap",overlay:".jupiterx-shopping-cart-content-effect-enabled-overlay"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$body:o("body"),$header:o(".jupiterx-header"),$hasProductWidget:0<o(".elementor-widget-raven-wc-products").length||0<o(".elementor-widget-shortcode .products").length||0<o(".elementor-widget-woocommerce-products").length,$elementorElement:this.$element.closest(".elementor-element"),$cartWrapper:this.$element.find(e.cartWrapper),$overlay:this.$element.find(e.overlay),$shoppingCart:this.$element.find(e.shoppingCart),$closeButton:this.$element.find(e.closeButton)}},bindEvents(){elementorFrontend.elements.$body.on("updated_wc_div update_checkout",()=>{this.refreshFragments()});var e,t,i=this.elements.$body.hasClass("woocommerce-page")&&this.elements.$body.hasClass("archive");window?.ravenTools&&i&&({wcAjaxAddToCart:e,disableAjaxToCartInArchive:t}=window.ravenTools.wc||{},"yes"!==e)&&t&&(o(document.body).off("click",".add_to_cart_button.ajax_add_to_cart"),o(".add_to_cart_button.ajax_add_to_cart").removeClass("ajax_add_to_cart").addClass("no_ajax_add_to_cart")),"yes"!==this.getElementSettings("enable_ajax_add_to_cart")&&i&&this.handleAjaxAddToCartOnPage(),"yes"!==this.getElementSettings("enable_ajax_add_to_cart")&&!i&&this.elements.$hasProductWidget&&this.handleAjaxAddToCartOnPage(),"yes"!==this.getElementSettings("show_cart_quick_view")&&(this.elements.$body.find("form.cart").hasClass("bundle_form")||this.elements.$body.find("form.cart").hasClass("grouped_form"))||("yes"===this.getElementSettings("show_cart_quick_view")&&"yes"===this.getElementSettings("enable_ajax_add_to_cart")&&(this.elements.$body.find("form.cart").hasClass("bundle_form")||this.elements.$body.find("form.cart").hasClass("grouped_form"))?(this.handleMiniCartOpenClose(),this.handleTapToCloseOutside()):"yes"===this.getElementSettings("show_cart_quick_view")&&"yes"!==this.getElementSettings("enable_ajax_add_to_cart")?(this.handleMiniCartOpenClose(),this.handleRemoveFromCart(),this.handleTapToCloseOutside()):"yes"===this.getElementSettings("show_cart_quick_view")&&(this.handleMiniCartOpenClose(),this.handleMiniCartOnAddToCart(),this.ajaxAddToCart(),this.handleRemoveFromCart(),this.handleTapToCloseOutside()))},handleAjaxAddToCartOnPage(){elementorFrontend.elements.$body.find(".add_to_cart_button.ajax_add_to_cart").attr("data-has_raven_shopping_cart","exists"),elementorFrontend.elements.$body.on("wc_fragments_refreshed removed_from_cart added_to_cart",()=>{this.refreshFragments()})},refreshFragments(){let t=[];o.each(elementorFrontend.documentsManager.documents,e=>{t.push(e)}),o.ajax({type:"POST",url:_wpUtilSettings.ajax.url,context:this,data:{action:"cart_checkout_page_shopping_cart_fragments",templates:t},success(e){e?.fragments&&o.each(e.fragments,(e,t)=>{o(e).replaceWith(t)}),this.handleRemoveFromCart()}})},handleMiniCartOpenClose(){let n=this,e=this.getElementSettings("content_effect_blur_content"),s=this.getElementSettings("content_effect_content_overlay");this.elements.$shoppingCart.on("click",function(t){if("#"===o(this).attr("href")){t.preventDefault();var i=n.elements.$header.data("jupiterx-settings");if(0<o(t.target).closest(".raven-sticky--effects").length&&n.elements.$header.hasClass("jupiterx-header-sticky-custom")){let e=n.elements.$header.find('[data-elementor-id]:not([data-elementor-id="'+i.stickyTemplate+'"])');if("header"===e.attr("data-elementor-type"))return 0<o(t.target).closest(".raven-sticky--effects").length&&e.children().each(function(){if("none"!==o(this).css("display"))return e=o(this),!1}),e.find(".jupiterx-cart-quick-view").css("visibility","visible"),void e.find(".raven-shopping-cart").click()}n.$element.addClass("jupiterx-raven-cart-quick-view-overlay"),"enabled"!==e&&"enabled"!==s||n.elements.$overlay.addClass("jupiterx-shopping-cart-overlay-activated")}}),this.elements.$closeButton.on("click",function(){n.$element.alterClass("jupiterx-raven-cart-quick-view-overlay"),"enabled"!==e&&"enabled"!==s||n.elements.$overlay.removeClass("jupiterx-shopping-cart-overlay-activated")})},handleMiniCartOnAddToCart(){let n=this,e=!1;(e="undefined"!=typeof elementor?elementor.helpers.hasPro():e)&&document.body.classList.contains("elementor-editor-active")||(o(document.body).on("adding_to_cart",function(e,t,i){0<o(".raven-shopping-cart-count").length&&"object"==typeof i&&(i.raven_shopping_cart="exists")}),o(document.body).on("added_to_cart",function(){let e=n.elements.$shoppingCart;var t,i=o(".jupiterx-header-sticky-custom .elementor[data-elementor-type=header]");n.elements.$header.hasClass("jupiterx-header-sticky-custom")&&2===i.length&&"visible"!==n.elements.$shoppingCart.parents(".elementor[data-elementor-type=header]").css("visibility")||(i=n.elements.$body.find(".raven-sticky--effects"),0<(t=e.parents(".raven-sticky--active")).length&&!t.hasClass("raven-sticky--effects"))||(e=0!==i.length&&i.find(".raven-shopping-cart")?i.find(".raven-shopping-cart"):e).click()}))},ajaxAddToCart(){var e=this.elements.$elementorElement;0!==o(e[0]).parents(".jupiterx-header").length&&this.elements.$cartWrapper.data("is-product")&&o(document.body).find("form.cart").off("submit").on("submit",function(e){e.preventDefault();let t=o(this);var i={},n=new FormData(t[0]);if(!t.hasClass("grouped_form")&&!t.hasClass("bundle_form")){for(var[s,a]of n.entries()){let e=s;i[e="add-to-cart"===e?"raven-add-to-cart":e]=a}if(i.hasOwnProperty("raven-add-to-cart")||(i["raven-add-to-cart"]=t.find('[name="add-to-cart"]').val()),i.raven_shopping_cart="exists",i.nonce=ravenTools.nonce,i.action="raven_shopping_cart_single_insert_to_cart",e.hasOwnProperty("originalEvent"))return o.ajax({type:"post",url:wc_add_to_cart_params.ajax_url,data:i,beforeSend:()=>{t.addClass("loading")},complete:()=>{t.removeClass("loading"),t.removeClass("added"),t.next().hide()},success:e=>{if(e.error&&e.product_url)return window.location=e.product_url,!1;e=e.data;e.error||o(document.body).trigger("added_to_cart",[e.fragments,e.cart_hash,t])}}),!1}})},handleRemoveFromCart(){o(document.body).on("click",".jupiterx_remove_from_cart",function(t){t.preventDefault();var e=o(t.target).data("cart_item_key");o(t.target).closest(".woocommerce-mini-cart-item").block({message:null,overlayCSS:{opacity:.6}}),o.ajax({type:"post",url:wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),data:{cart_item_key:e,raven_shopping_cart:"exists"},success:e=>{o(document.body).trigger("removed_from_cart",[e.fragments,e.cart_hash,o(t.target)])},error:()=>{window.location=o(t.target).attr("href")},dataType:"json"})})},handleTapToCloseOutside(){if("yes"===this.getElementSettings("tap_outside_close")){let t=this.getElementSettings("content_effect_blur_content"),i=this.getElementSettings("content_effect_content_overlay"),n=document.getElementsByClassName("raven-shopping-cart")[0],s=document.getElementsByClassName("jupiterx-cart-quick-view")[0];document.addEventListener("click",e=>{n?.contains(e.target)||s?.contains(e.target)||!this.$element?.hasClass("jupiterx-raven-cart-quick-view-overlay")||e.target.classList?.contains("add_to_cart_button")||e.target.classList?.contains("single_add_to_cart_button")||(this.$element.alterClass("jupiterx-raven-cart-quick-view-overlay"),"enabled"!==i&&"enabled"!==t)||this.elements.$overlay.removeClass("jupiterx-shopping-cart-overlay-activated")})}}})},{"../utils/module":9}],65:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new s({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let n=jQuery,s=e.default.extend({getDefaultSettings(){return{selectors:{slider:".raven-slider-wrapper",slide:".swiper-slide",slideInnerContents:".swiper-slide-contents",activeSlide:".swiper-slide-active",activeDuplicate:".swiper-slide-duplicate-active"},classes:{animated:"animated",kenBurnsActive:"elementor-ken-burns--active",slideBackground:"swiper-slide-bg"},attributes:{dataSliderOptions:"slider_options",dataAnimation:"animation"}}},getDefaultElements(){var e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.slider)};return t.$slides=t.$swiperContainer.find(e.slide),t},getSwiperOptions(){var e={autoplay:this.getAutoplayConfig(),grabCursor:!0,initialSlide:this.getInitialSlide(),slidesPerView:1,slidesPerGroup:1,loop:"yes"===this.getElementSettings("infinite"),speed:this.getElementSettings("transition_speed"),effect:this.getElementSettings("transition"),observeParents:!0,observer:!0,handleElementorBreakpoints:!0,on:{slideChange:()=>{this.handleKenBurns()}}},t=this.getElementSettings("navigation"),i="dots"===t||"both"===t;return("arrows"===t||"both"===t)&&(e.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),i&&(e.pagination={el:".swiper-pagination",type:"bullets",clickable:!0}),!0===e.loop&&(e.loopedSlides=this.getSlidesCount()),"fade"===e.effect&&(e.fadeEffect={crossFade:!0}),e},getAutoplayConfig(){return"yes"===this.getElementSettings("autoplay")&&{stopOnLastSlide:!0,delay:this.getElementSettings("autoplay_speed"),disableOnInteraction:"yes"===this.getElementSettings("pause_on_interaction")}},initSingleSlideAnimations(){var e=this.getSettings(),t=this.elements.$swiperContainer.data(e.attributes.dataAnimation);this.elements.$swiperContainer.find("."+e.classes.slideBackground).addClass(e.classes.kenBurnsActive),t&&this.elements.$swiperContainer.find(e.selectors.slideInnerContents).addClass(e.classes.animated+" "+t)},async initSlider(){let e=this.elements.$swiperContainer,t=this.getSettings(),i=e.data(t.attributes.dataAnimation);var n;!e.length||this.getSlidesCount()<=1||(n=elementorFrontend.utils.swiper,this.swiper=await new n(e,this.getSwiperOptions()),e.data("swiper",this.swiper),this.handleKenBurns(),this.getElementSettings("pause_on_hover")&&this.togglePauseOnHover(!0),i&&(this.swiper.on("slideChangeTransitionStart",function(){e.find(t.selectors.slideInnerContents).removeClass(t.classes.animated+" "+i).hide()}),this.swiper.on("slideChangeTransitionEnd",function(){e.find(t.selectors.slideInnerContents).show().addClass(t.classes.animated+" "+i)})))},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.getSlidesCount()<2?this.initSingleSlideAnimations():this.initSlider()},getChangeableProperties(){return{pause_on_hover:"pauseOnHover",pause_on_interaction:"disableOnInteraction",autoplay_speed:"delay",transition_speed:"speed"}},updateSwiperOption(i){if(0!==i.indexOf("width")){var n=this.getElementSettings(i);let e=this.getChangeableProperties()[i],t=n;switch(i){case"autoplay_speed":e="autoplay",t={delay:n,disableOnInteraction:"yes"===this.getElementSettings("pause_on_interaction")};break;case"pause_on_hover":this.togglePauseOnHover("yes"===n);break;case"pause_on_interaction":t="yes"===n}"pause_on_hover"!==i&&(this.swiper.params[e]=t)}this.swiper.update()},getSlidesCount(){return this.elements.$slides.length},getInitialSlide(){var e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0},handleKenBurns(){var e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=n(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=n(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)},togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")},onElementChange(e){this.getSlidesCount()<=1||this.getChangeableProperties().hasOwnProperty(e)&&this.updateSwiperOption(e)},onEditSettingsChange(e){this.getSlidesCount()<=1||"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}})},{"../utils/module":9}],66:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.Google=void 0,i.default=function(e){0<n("#jupiterx-raven-social-login-widget-facebook").length&&s();0<n("#jupiterx-raven-social-login-widget-twitter").length&&a()};e("@wordpress/i18n");let n=jQuery;let s=()=>{window.fbAsyncInit=function(){FB.init({appId:jxRavenFacebookAppId,cookie:!0,xfbml:!0,version:"v10.0"})},document.getElementById("jupiterx-raven-social-login-widget-facebook").addEventListener("click",()=>{FB.login(function(n){n.authResponse&&"connected"===n.status&&FB.api("/me",{fields:"name, email"},function(e){var t=e.email,e=e.name,i=n.authResponse.accessToken;s(t,e,i)})})},!1);let s=(e,t,i)=>{n.ajax({url:_wpUtilSettings.ajax.url,type:"POST",beforeSend:()=>{jQuery(".raven-social-login-wrap .facebook").css("opacity","0.5"),n(".jx-social-login-errors-wrapper").hide().text("")},data:{action:"raven_form_frontend",email:e,name:t,access_token:i,post_id:document.getElementById("jx-raven-social-widget-post").value,form_id:document.getElementById("jx-raven-social-widget-form").value,social_network:"Facebook"}}).always(e=>{n(".raven-social-login-wrap .facebook").css("opacity","1.0"),!0===e.success?e.data.redirectUrl?window.location.href=e.data.redirectUrl:window.location.href=e.data.siteURL:n(".jx-social-login-errors-wrapper").show().text(e.data)})}},a=()=>{document.getElementById("jupiterx-raven-social-login-widget-twitter").addEventListener("click",()=>{n.ajax({url:_wpUtilSettings.ajax.url,type:"POST",beforeSend:()=>{n(".raven-social-login-wrap .twitter").css("opacity","0.5"),n(".jx-social-login-errors-wrapper").hide().text("")},data:{action:"raven_form_frontend",post_id:document.getElementById("jx-raven-social-widget-post").value,form_id:document.getElementById("jx-raven-social-widget-form").value,social_network:"Twitter"}}).always(e=>{n(".raven-social-login-wrap .twitter").css("opacity","1.0"),!0===e.success?(win=window.open(e.data,"_blank")).focus():n(".jx-social-login-errors-wrapper").show().text(e.data)})},!1)};i.Google=e=>{n.ajax({url:_wpUtilSettings.ajax.url,type:"POST",beforeSend:()=>{n(".raven-social-login-wrap .google").css("opacity","0.5"),n(".jx-social-login-errors-wrapper").hide().text("")},data:{token:e.credential,action:"raven_form_frontend",post_id:document.getElementById("jx-raven-social-widget-post").value,form_id:document.getElementById("jx-raven-social-widget-form").value,social_network:"Google"}}).always(e=>{n(".raven-social-login-wrap .google").css("opacity","1.0"),!0===e.success?e.data.redirectUrl?window.location.href=e.data.redirectUrl:window.location.href=e.data.siteURL:n(".jx-social-login-errors-wrapper").show().text(e.data)})}},{"@wordpress/i18n":104}],67:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=()=>{let a={facebook:"https://www.facebook.com/sharer.php?u={url}",twitter:"https://twitter.com/intent/tweet?text={text} {url}",linkedin:"https://www.linkedin.com/shareArticle?mini=true&url={url}&title={title}&summary={text}&source={url}",pinterest:"https://www.pinterest.com/pin/create/button/?url={url}&media={image}",reddit:"https://reddit.com/submit?url={url}&title={title}",vk:"https://vkontakte.ru/share.php?url={url}&title={title}&description={text}&image={image}",odnoklassniki:"https://connect.ok.ru/offer?url={url}&title={title}&imageUrl={image}",tumblr:"https://tumblr.com/share/link?url={url}",digg:"https://digg.com/submit?url={url}",skype:"https://web.skype.com/share?url={url}",stumbleupon:"https://www.stumbleupon.com/submit?url={url}",telegram:"https://telegram.me/share/url?url={url}&text={text}",pocket:"https://getpocket.com/edit?url={url}",xing:"https://www.xing.com/app/user?op=share&url={url}",whatsapp:"https://api.whatsapp.com/send?text=*{title}*%0A{text}%0A{url}",email:"mailto:?subject={title}&body={text}\n{url}",print:"javascript:print()"},s=e=>{let t=document.getElementById("jupiterx-social-share-target").value;var i=encodeURIComponent(document.getElementById("jupiterx-social-share-title").value),n=document.getElementById("jupiterx-social-share-image").value;!1===(e=>{let t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol})(t)&&(t="https://"+t);let s=a[e];return s=(s=(s=(s=s.replace(/{text}/g,"")).replace(/{url}/g,t)).replace(/{title}/g,i)).replace("{image}",n)};document.querySelectorAll(".jupiterx-social-share-button").forEach(n=>{n.addEventListener("click",()=>{var e=n.getAttribute("data-network"),t=s(e),i=e.charAt(0).toUpperCase()+e.slice(1);"print"===e?print():window.open(t,i,(()=>{let e=window.screen.width/2,t=window.screen.height/2,i=window.screen.width/4,n=window.screen.height/4;return window.screen.width<600&&(e=window.screen.width,t=window.screen.height-150,i=10,n=75),"toolbar=0,status=0,width="+e+",height="+t+",left="+i+",top="+n})())})})}},{}],68:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{mediaColumn:".media-column",contentColumn:".content-column",mediaItem:".media-column .section",contentItem:".content-column .section",stickyModeWrapper:".sticky-mode-wrapper",responsiveModeWrapper:".responsive-mode-wrapper"},state:{lastScroll:0,scrollDirection:""}}},getDefaultElements(){var e=this.getSettings("selectors");return{$mediaColumn:this.$element.find(e.mediaColumn),$contentColumn:this.$element.find(e.contentColumn),$mediaItem:this.$element.find(e.mediaItem),$contentItem:this.$element.find(e.contentItem),$stickyModeWrapper:this.$element.find(e.stickyModeWrapper),$responsiveModeWrapper:this.$element.find(e.responsiveModeWrapper)}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.setMediaHeight(),this.setStickPosition(),this.pauseAllVideosOnFirstScroll()},bindEvents(){let s=this;window.addEventListener("scroll",s.detectScrollDirection),window.addEventListener("resize",()=>{s.setMediaHeight(),s.setStickPosition()}),[...this.elements.$contentItem].forEach(e=>{new IntersectionObserver(function(n){n.forEach(e=>{var t=100*e.intersectionRatio,i=s.getSettings("state.scrollDirection");0<e.intersectionRatio&&!i&&(s.elements.$mediaColumn.find(".section").removeClass("active"),s.elements.$mediaColumn.find(`[data-section-index="${$(e.target).index()}"]`).addClass("active")),"up"===i&&s.handleScrollUp(t,n),"down"===i&&s.handleScrollDown(t,n)})},{threshold:[.4,.9]}).observe(e)})},detectScrollDirection(){var e=this.getSettings("state.lastScroll"),t=window.scrollY;0<t-e?this.setSettings("state.scrollDirection","down"):t-e<0&&this.setSettings("state.scrollDirection","up"),this.setSettings("state.lastScroll",t)},handleScrollUp(e,t){e<90||(e=this.elements.$mediaColumn.find(".section.active"),t=t[0].target.dataset.sectionIndex,t=this.elements.$mediaColumn.find(`[data-section-index="${t}"]`),this.activateMediaSection(t[0],e[0]))},handleScrollDown(t,i){if(!(40<t)){t=this.elements.$mediaColumn.find(".section.active");let e=+i[0].target.dataset.sectionIndex+1;e===this.elements.$contentItem.length&&(e=this.elements.$contentItem.length-1);i=this.elements.$mediaColumn.find(`[data-section-index="${e}"]`);this.activateMediaSection(i[0],t[0])}},activateMediaSection(e,t){t.classList.remove("active"),e.classList.add("active");var i,n=t.querySelector("video"),s=e.querySelector("video"),t=t.querySelector("iframe"),a=e.querySelector("iframe");(n||t)&&((i=t?.src)&&(t.src="",t.dataset.src=i),n)&&(n.currentTime=n.dataset.startTime,n.pause()),a&&a.dataset&&a.dataset.src&&(a.src=a.dataset.src),s&&s.autoplay&&s.muted&&s.play(),this.setStickPosition(e)},setMediaHeight(){this.elements.$mediaColumn.each((e,t)=>{var i=t.querySelector(".section").clientHeight;t.style.height=i+"px"}),this.elements.$mediaColumn.find(".section").each((e,t)=>{var i=t.querySelector(".raven-sticky-media-scroller-content")?.clientHeight;t.style.height=i+"px"}),this.elements.$responsiveModeWrapper.find(".section:first-child").each((e,t)=>{var i=t.querySelector(".raven-sticky-media-scroller-content")?.clientHeight,n=t.parentElement.querySelector(".section:last-child")?.clientHeight;n<i&&"none"!==this.elements.$responsiveModeWrapper.css("display")&&t.classList.contains("elementor-repeater-item-media-type-video")&&(t.style.height=i-n+"px",!document.body.classList.contains("elementor-editor-active"))||(t.style.height=i+"px")})},setStickPosition(e={}){var e=(e=e.length?e:this.elements.$mediaColumn.find(".section.active")[0]).clientHeight,t=this.getElementSettings("stick_position"),i=window.innerHeight;this.elements.$mediaColumn[0].style.height=e+"px","bottom"===t&&(this.elements.$mediaColumn[0].style.top=i-e-40+"px"),"center"===t&&(this.elements.$mediaColumn[0].style.top=(i-e)/2+"px")},pauseAllVideosOnFirstScroll(){var e=this.elements.$stickyModeWrapper[0].querySelectorAll(".section:not(.active)");e&&e.forEach(e=>{e=e.querySelector("video");e&&e.pause()})}})},{"../utils/module":9}],69:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{form:".elementor-stripe-form",errors:".elementor-message-danger",button:".elementor-payment-button"}}},getDefaultElements(){var e=this.getSettings();return{form:this.$element[0].querySelector(e.selectors.form),errors:this.$element[0].querySelectorAll(e.selectors.errors)}},bindEvents(){var e=document.querySelector(".elementor-payment-button");_.isNull(this.elements.form)&&_.isNull(e)||e.addEventListener("click",e=>this.handleSubmit(e))},handleSubmit(h){if(h.preventDefault(),!elementorFrontend.isEditMode()){""!==this.elements.errors.innerHTML&&document.querySelectorAll(".elementor-stripe-error-message").forEach(e=>e.remove());let i=this.elements.form,e=new FormData(i),t=e.get("action"),n=e.get("post_id"),s=e.get("widget_id"),a=e.get("custom_error_msg"),o=e.get("custom_error_msg_global"),r=e.get("custom_error_msg_payment"),l=e.get("stripe_form_submit_nonce"),d=document.URL,c=e.get("open_in_new_window"),u="yes"===c?"_blank":"_self",p=e=>{var t=document.createElement("div"),t=i.appendChild(t);t.className="elementor-message elementor-stripe-error-message elementor-message-danger",t.innerHTML=e};h={action:t,postId:n,widgetId:s,pageUrl:d,nonce:l};void 0!==this.elements.errors&&0<this.elements.errors.length&&this.elements.errors.forEach(e=>{e.classList.remove("elementor-hidden")}),wp.ajax.post({action:t,data:h,nonce:l}).done(e=>{var t=e.response.code,i=e.body&&JSON.parse(e.body);switch(t){case 200:window.open(i.url,u);break;case 401:case 403:a?p(r):p(i.error.message);break;default:a?p(o):p(i.error.message)}}).fail(e=>{e=e.body&&JSON.parse(e.body),a?p(o):p(e.error.message)})}}})},{"../utils/module":9}],70:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new s({$element:e})};var i=(i=e("../utils/module"))&&i.__esModule?i:{default:i},n=e("@wordpress/i18n");let p=jQuery,s=i.default.extend({onInit(){this.setLoader();var e,t=this.getElementSettings();this.addCollpaseIcons(t),_.isEmpty(t.headings_by_tags)||(e=this.findWanted(t),_.isEmpty(e)?this.manageNotFound():(this.manageToAppendFound(e,t),"object"==typeof elementor&&this.autoSlide(t)))},onElementChange(){var e=this.getElementSettings();this.addCollpaseIcons(e,!0)},autoSlide(e){var t=this.getWrapper();"yes"===e.collapse_subitems&&p(t).find(".jupiterx-table-of-content-main-list > li > ol").hide(),"undefined"==typeof elementor&&window.addEventListener("scroll",this.onScrollEvent)},onScrollEvent(){let e=this.getWrapper(),t=this.getElementSettings(),i=this,n=0;var s;p(`[data-${i.getID()}-jxtoc]`).each((e,t)=>{t=p(t).attr(`data-${i.getID()}-jxtoc`);if(i.isElementInView(t)[0])return n=t,!0}),p(e).find(".jupiterx-table-of-contents-item-link").removeClass("jupiterx-table-of-contents-item-link-active"),p(e).find(`.jupiterx-table-of-contents-item-link[data-id=${n}]`).addClass("jupiterx-table-of-contents-item-link-active"),"yes"===t.collapse_subitems&&(s=p(e).find(`li[data-key=${n}] > ol`),p(e).find(`.jupiterx-table-of-contents-item-wrapper[data-key=${n}]`).parent().hasClass("jupiterx-table-of-content-main-list")?(p(e).find(".jupiterx-table-of-content-main-list > li > ol").not(s).hide("fast"),s.slideDown()):(p(e).find(`.jupiterx-table-of-contents-item-wrapper[data-key=${n}]`).parents(".jupiterx-table-of-contents-nested-list").show(),p(e).find(".jupiterx-table-of-content-main-list > li > ol").not(p(`.jupiterx-table-of-contents-item-wrapper[data-key=${n}]`).parents(".jupiterx-table-of-contents-nested-list")).hide()))},isElementInView(e){let a=!1,t=this.getWrapper(),o=this,i=p(t).find(`.jupiterx-table-of-contents-item-wrapper[data-key="${e}"]`),n=p(`[data-${this.getID()}-jxtoc="${e}"]`),s=n.offset().top+25,r=s+n.outerHeight(),l=p(window).scrollTop(),d=l+p(window).height();return(a=l<r&&s<d)?[!0,e]:(i.find("li").each((e,t)=>{var t=p(t).attr("data-key"),t=p(`[data-${o.getID()}-jxtoc=${t}]`),i=t.offset().top,t=i+t.outerHeight(),n=p(window).scrollTop(),s=n+p(window).height();n<t&&i<s&&(a=!0)}),[a,e])},addCollpaseIcons(c,u=!1){if("yes"===c.minimize_box){let t=this.getWrapper(),e=p(t).find(".jupiterx-table-of-contents-list-icon-expand").html(),i=p(t).find(".jupiterx-table-of-contents-list-icon-collapse").html(),n=p(t).find(".jupiterx-toc-body-maximized"),s=window.innerWidth,a=p(t).find(".jupiterx-table-of-contents-widget"),o=a.css("min-height"),r=p(t).find(".jupiterx-table-of-contents-header"),l=(u&&p(t).find(".jxtoc").length<0&&p(t).append('<input type="hidden" value="0" class="jxtoc-checker">'),u&&"0"!==p(t).find(".jxtoc-checker").val()||(n.append(e),n.append(i)),u&&p(t).find(".jxtoc-checker").val("1"),r.css("cursor","pointer"),p(t).find(".jupiterx-table-of-contents-expand-icon")),d=p(t).find(".jupiterx-table-of-contents-collapse-icon");r.off().on("click",()=>{var e=p(t).find(".jupiterx-table-of-contents-body");(e.is(":visible")?(e.slideUp(),p(t).find("table").css("min-height","auto"),d.hide(),l):(e.slideDown(),p(t).find("table").css("min-height",o),l.hide(),d)).show()}),l.hide(),d.show(),"desktop"===c.minimized_on&&1024<=s&&(l.show(),d.hide(),r.trigger("click")),"tablet"===c.minimized_on&&s<1024&&767<s&&(l.show(),d.hide(),r.trigger("click")),"mobile"===c.minimized_on&&s<767&&(l.show(),d.hide(),r.trigger("click"))}},setLoader(){var e=p(".jupiterx-table-of-contents-loader-icon").html();p(".jupiterx-table-of-contents-body").append(e)},findWanted(n){let s={},e=n.headings_by_tags.join(),t="body",a=0;return _.isEmpty(n.container)||(t=n.container),p(t).find(e).each((e,t)=>{var i=p(t).prop("tagName");p(t).hasClass("jupiterx-table-of-contents-native-exclude")||1===p(t).parents("header").length&&!n.container?.includes("header")&&1!==p(t).parents("#jupiterx-primary").length||1===p(t).parents("footer").length&&!n.container?.includes("footer")&&1!==p(t).parents("#jupiterx-primary").length||1===p(t).parents("aside").length&&!n.container?.includes("aside")&&1!==p(t).parents("#jupiterx-primary").length||1===p(t).parents(".jupiterx-main-header").length&&!n.container?.includes(".jupiterx-main-header")||!_.isEmpty(n.exclude_headings_by_selector)&&!this.checkExcludes(t,n.exclude_headings_by_selector,i)||(p(t).attr(`data-${this.getID()}-jxtoc`,a),s[a]={type:i,text:p(t).text().trim(),id:a},a++)}),s},checkExcludes(n,e,s){e.includes(",")||(e+=",");let a=!0,o="";return e.split(",").map(e=>e.trim()).forEach(e=>{var t,i;""!==e&&(t=e.charAt(0),i=p(e),"."===t?(o=e.substring(1),(p(n).hasClass(o)||_.some(i,e=>e?.offsetParent?.classList===n?.offsetParent?.classList))&&(a=!1)):"#"===t?(o=e.substring(1))!==p(n).attr("id")&&!_.some(i,e=>e?.offsetParent?.id===n?.offsetParent?.id)||(a=!1):(o=e.toUpperCase())===s&&(a=!1))}),a},getWrapper(){return'div[data-id="'+this.getID()+'"]'},manageNotFound(){var e=this.getWrapper();p(e).find(".jupiterx-table-of-contents-body").text((0,n.__)("No headings were found on this page.","jupiterx-core"))},activeLoading(){var e=this.getWrapper();p(e).find(".jupiterx-table-of-contents-body").empty()},buildItem(t,e,i,n){var s=this.getWrapper(),e=e[i],a=document.createElement("li"),o=document.createElement("div"),i=(a.setAttribute("class","jupiterx-table-of-contents-item-wrapper"),a.setAttribute("data-tag",e.type),o.setAttribute("class","jupiterx-table-of-contents-inner-wrapper"),"yes"!==t.word_wrap&&a.classList.add("jupiterx-toc-word-wrap"),"yes"===t.hierarchical_view&&a.setAttribute("data-key",i),document.createElement("span")),r=document.createElement("span"),n=(r.setAttribute("class","jupiterx-table-of-contents-list-pointer"),"numbers"===t.marker_view&&(i.innerText=n,r.innerText="."),"bullets"===t.marker_view&&(i.innerHTML=p(s).find(".jupiterx-table-of-contents-list-icon-wrapper").html()),_.isEmpty(t.hierarchical_view)&&(o.appendChild(i),o.appendChild(r)),_.isEmpty(t.hierarchical_view)||"bullets"!==t.marker_view||(a.classList.add("wrapper-with-no-number"),o.appendChild(i)),document.createElement("a"));return n.setAttribute("class","jupiterx-table-of-contents-item-link"),n.setAttribute("data-text",e.text),n.setAttribute("data-id",e.id),n.setAttribute("href","#"),p(n).off().on("click",e=>{e.preventDefault(),this.collapseSubmenus(e,t)}),n.innerText=e.text,o.appendChild(n),a.appendChild(o),{type:"li",content:a,tag:e.type}},manageToAppendFound(n,e){let t=1,i=this.getWrapper(),s=p(i).find(".jupiterx-table-of-contents-body"),a=_.isEmpty(e.hierarchical_view)?"ul":"ol",o=document.createElement(a);for(var r in o.setAttribute("type","1"),o.setAttribute("class","jupiterx-table-of-content-main-list"),n){var l=this.buildItem(e,n,r,t);let i=parseInt(r);if(t++,0===i||_.isEmpty(e.hierarchical_view))o.appendChild(l.content);else{var d=this.convertTagToNumber(l.tag);for(i-=1;0<=i;){let e=this.convertTagToNumber(n[i].type),t=p(o).find('[data-key="'+i+'"]');if(d===e){t.parent().append(l.content);break}if(e<d&&0<t.children("ol").length){t.append(l.content);break}if(e<d&&0===t.children("ol").length){var c=document.createElement("ol");c.appendChild(l.content),c.setAttribute("class","jupiterx-table-of-contents-nested-list"),t.append(c);break}if(d<e){c=i-1;if(c<0){p(o).find('[data-key="0"]').parent().append(l.content);break}if(e=this.convertTagToNumber(n[c].type),t=p(o).find('[data-key="'+c+'"]'),e<d&&0<t.children("ol").length){t.find("ol").append(l.content);break}if(e<d&&0===t.children("ol").length){var u=document.createElement("ol");u.appendChild(l.content),u.setAttribute("class","jupiterx-table-of-contents-nested-list"),t.append(u);break}}i--}}}"undefined"==typeof elementor?setTimeout(()=>{p(".jupiterx-table-of-contents-loader").css("display","none"),s.append(o),this.autoSlide(e)},500):(p(".jupiterx-table-of-contents-loader").css("display","none"),s.append(o))},convertTagToNumber(e){return parseInt(e.replace("H",""))},collapseSubmenus(e,t){window.removeEventListener("scroll",this.onScrollEvent);var i=p(e.target).attr("data-id");p(".jupiterx-table-of-contents-item-link").removeClass("jupiterx-table-of-contents-item-link-active"),e.target.classList.add("jupiterx-table-of-contents-item-link-active"),"undefined"==typeof elementor&&p("html, body").animate({scrollTop:p(`[data-${this.getID()}-jxtoc="`+i+'"]').offset().top-100},500),"yes"===t.collapse_subitems&&(i=e.target.getAttribute("data-id"),t=this.getWrapper(),p(e.target).parent().parent().parent().hasClass("jupiterx-table-of-content-main-list"))&&(p(t).find(`li[data-key=${i}] > ol`).slideToggle("fast"),p(t).find(`.jupiterx-table-of-content-main-list > li[data-key!=${i}] > ol`).hide()),setTimeout(()=>{window.addEventListener("scroll",this.onScrollEvent)},0)}})},{"../utils/module":9,"@wordpress/i18n":104}],71:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e,toggleSelf:!1})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({$activeContent:null,interval:null,getDefaultSettings(){return{selectors:{tabTitle:".raven-tabs-title",tabContent:".raven-tabs-content"},classes:{active:"raven-tabs-active"},showTabFn:"show",hideTabFn:"hide",toggleSelf:!0,hidePrevious:!0,autoExpand:!0}},getDefaultElements(){var e=this.getSettings("selectors");return{$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent)}},activateDefaultTab(){var e,t=this.getSettings();(t.autoExpand&&"editor"!==t.autoExpand||this.isEdit)&&(e=this.getEditSettings("activeItemIndex")||1,t={showTabFn:t.showTabFn,hideTabFn:t.hideTabFn},this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(e),this.setSettings(t))},deactivateActiveTab(e){var t=this.getSettings(),i=t.classes.active,e=e?'[data-tab="'+e+'"]':"."+i,n=this.elements.$tabTitles.filter(e),e=this.elements.$tabContents.filter(e);n.add(e).removeClass(i),e[t.hideTabFn]()},activateTab(e){var t=this.getSettings(),i=t.classes.active,n=this.elements.$tabTitles.filter('[data-tab="'+e+'"]'),e=this.elements.$tabContents.filter('[data-tab="'+e+'"]'),s=this.getElementSettings("scroll_to_beginning");n.add(e).addClass(i),e[t.showTabFn](),n.hasClass("raven-tabs-mobile-title")&&"yes"===s&&window.innerWidth<1025&&(i=$("header").outerHeight(),window.scroll({top:e.offset().top-i-100,behavior:"smooth"}))},isActiveTab(e){return this.elements.$tabTitles.filter('[data-tab="'+e+'"]').hasClass(this.getSettings("classes.active"))},useAjax(){if("yes"===this.getElementSettings("use_ajax_loading")){let t=$(".raven-tabs-content.raven-tabs-active .raven-ajax-content-template");var e=t.attr("data-id");wp.ajax.post({action:"jupiterx_load_content_template",nonce:ravenTools.nonce,template_id:e}).done(function(e){t.html(e)}).fail(function(){t.html("Oops! Something went wrong")})}},bindEvents(){let t=this;var e=t.getElementSettings("tabs_event");t.elements.$tabTitles.on(e,e=>{t.changeActiveTab(e.currentTarget.dataset.tab),t.useAjax(),clearInterval(t.interval)})},onInit(){var i=this,n=(elementorModules.frontend.handlers.Base.prototype.onInit.apply(i,arguments),i.activateDefaultTab(),i.getElementSettings("auto_switch"));if("yes"===n){n=i.getElementSettings("auto_swtich_delay");let e=1,t=i.getDefaultElements().$tabContents.length;i.interval=setInterval(()=>{++e>t&&(e=1),this.changeActiveTab(e)},n)}},onEditSettingsChange(e){"activeItemIndex"===e&&this.activateDefaultTab()},changeActiveTab(e){var t=this.isActiveTab(e),i=this.getSettings(),i=(!i.toggleSelf&&t||!i.hidePrevious||this.deactivateActiveTab(),!i.hidePrevious&&t&&this.deactivateActiveTab(e),t||this.activateTab(e),new CustomEvent("jupiterxcore:advancedtabs:changeactivetab"));document.dispatchEvent(i)}})},{"../utils/module":9}],72:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;class n extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{tablist:'[role="tablist"]',tabTitle:".raven-tab-title",tabContent:".raven-tab-content"},classes:{active:"e-active"},showTabFn:"show",hideTabFn:"hide",toggleSelf:!0,hidePrevious:!0,autoExpand:!0,keyDirection:{ArrowLeft:window.elementorFrontendConfig.is_rtl?1:-1,ArrowUp:-1,ArrowRight:window.elementorFrontendConfig.is_rtl?-1:1,ArrowDown:1}}}getDefaultElements(){var e=this.getSettings("selectors");return{$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent)}}activateDefaultTab(e){var t=this.getSettings();t.autoExpand&&("editor"!==t.autoExpand||this.isEdit)&&(e=this.getEditSettings("activeItemIndex")||e||1,t={showTabFn:t.showTabFn,hideTabFn:t.hideTabFn},this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(e),this.setSettings(t))}handleKeyboardNavigation(e){var t=e.currentTarget,i=jQuery(t.closest(this.getSettings("selectors").tablist)),n=i.find(this.getSettings("selectors").tabTitle),s="vertical"===i.attr("aria-orientation");switch(e.key){case"ArrowLeft":case"ArrowRight":if(s)return;break;case"ArrowUp":case"ArrowDown":if(!s)return;e.preventDefault();break;case"Home":return e.preventDefault(),void n.first().trigger("focus");case"End":return e.preventDefault(),void n.last().trigger("focus");default:return}var i=t.getAttribute("data-tab")-1,t=this.getSettings("keyDirection")[e.key],a=n[i+t];a?a.focus():(-1===i+t?n.last():n.first()).trigger("focus")}deactivateActiveTab(e){var t=this.getSettings(),i=t.classes.active,e=e?'[data-tab="'+e+'"]':"."+i,n=this.elements.$tabTitles.filter(e),e=this.elements.$tabContents.filter(e);n.add(e).removeClass(i),n.attr({tabindex:"-1","aria-selected":"false"}),e[t.hideTabFn](),e.attr("hidden","hidden")}activateTab(e){var t=this.getSettings(),i=t.classes.active,n=this.elements.$tabTitles.filter('[data-tab="'+e+'"]'),e=this.elements.$tabContents.filter('[data-tab="'+e+'"]'),s="show"===t.showTabFn?0:400;n.add(e).addClass(i),n.attr({tabindex:"0","aria-selected":"true"}),e[t.showTabFn](s,()=>elementorFrontend.elements.$window.trigger("resize")),e.removeAttr("hidden")}isActiveTab(e){return this.elements.$tabTitles.filter('[data-tab="'+e+'"]').hasClass(this.getSettings("classes.active"))}bindEvents(){this.elements.$tabTitles.on({keydown:e=>{jQuery(e.target).is("a")&&"Enter"===e.key&&e.preventDefault(),["End","Home","ArrowUp","ArrowDown"].includes(e.key)&&this.handleKeyboardNavigation(e)},keyup:e=>{switch(e.key){case"ArrowLeft":case"ArrowRight":this.handleKeyboardNavigation(e);break;case"Enter":case"Space":e.preventDefault(),this.changeActiveTab(e.currentTarget.getAttribute("data-tab"))}},click:e=>{e.preventDefault(),this.changeActiveTab(e.currentTarget.getAttribute("data-tab"))}})}onInit(){super.onInit(...arguments)}changeActiveTab(e){var t=this.isActiveTab(e),i=this.getSettings();!i.toggleSelf&&t||!i.hidePrevious||this.deactivateActiveTab(),!i.hidePrevious&&t&&this.deactivateActiveTab(e),t||this.activateTab(e)}}i.default=n},{}],73:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.triggerEvent=async function(e,t,i,n){t=new s.default({event:await(async(e,t,i,n)=>(n=n||e.currentPlaylistItemIndex,n=e.playlistItemsArray[n-1],{type:t,time:await n.playerInstance.getCurrentTime(),element:e.$element,trigger:i,watchCount:n.playerInstance.watchCount}))(e,t,i,n),tab:(e=>(e=e.elements.$innerTabs.filter(".e-active").find(".raven-inner-tabs-wrapper .raven-inner-tab-title")).length?{name:(e=e.filter(".raven-inner-tab-active")).text().trim(),index:e.index()+1}:{name:"none",index:"none"})(e),playlist:((e,t)=>(t=t||e.currentPlaylistItemIndex,{name:e.getElementSettings("playlist_title"),currentItem:t,amount:e.playlistItemsArray.filter(e=>"section"!==e.videoType).length}))(e,n),video:((e,t)=>(t=t||e.currentPlaylistItemIndex,{provider:(e=e.playlistItemsArray[t-1]).videoType,url:e.videoUrl,title:e.videoTitle,duration:e.videoDuration}))(e,n)});jQuery("body").trigger("raven-video-playList",t)};var s=(i=e("../video-playlist/playlist-event"))&&i.__esModule?i:{default:i}},{"../video-playlist/playlist-event":80}],74:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new u({$element:e})};var i=c(e("../video-playlist/base-tabs")),n=c(e("../video-playlist/player-youtube")),s=c(e("../video-playlist/player-vimeo")),a=c(e("../video-playlist/player-hosted")),o=e("../video-playlist/scroll-utils"),r=e("../video-playlist/inner-tabs"),l=e("../video-playlist/url-params"),d=e("../video-playlist/event-trigger");function c(e){return e&&e.__esModule?e:{default:e}}class u extends i.default{getDefaultSettings(){var e=super.getDefaultSettings();return{...e,selectors:{...e.selectors,tabsWrapper:".raven-tabs-items-wrapper",tabsItems:".raven-tabs-items",toggleVideosDisplayButton:".raven-tabs-toggle-videos-display-button",videos:".raven-tabs-content-wrapper .raven-tab-content",innerTabs:".raven-tabs-inner-tabs .raven-tab-content",imageOverlay:".raven-custom-embed-image-overlay"}}}getDefaultElements(){var e=super.getDefaultElements(),t=this.getSettings("selectors");return{...e,$tabsWrapper:this.findElement(t.tabsWrapper),$tabsItems:this.findElement(t.tabsItems),$toggleVideosDisplayButton:this.findElement(t.toggleVideosDisplayButton),$videos:this.findElement(t.videos),$innerTabs:this.findElement(t.innerTabs),$imageOverlay:this.findElement(t.imageOverlay)}}initEditorListeners(){super.initEditorListeners();let t=this;this.editorListeners.push({event:"ravenPlaylistWidget:fetchVideoData",to:elementor.channels.editor,callback:e=>{t.getCurrentPlayerSelected().setVideoProviderData().then(()=>{e.currentItem=t.getCurrentItemSelected(),elementor.channels.editor.trigger("ravenPlaylistWidget:setVideoData",e)})}})}bindEvents(){super.bindEvents(),this.elements.$imageOverlay.on({click:e=>{e.currentTarget.remove(),this.getCurrentPlayerSelected().play()}}),this.elements.$innerTabs.on({click:e=>{(0,r.handleInnerTabs)(e,this)}}),this.elements.$tabsItems.on({scroll:e=>{(0,o.handleVideosPanelScroll)(this.elements,e)}}),this.elements.$toggleVideosDisplayButton.on({click:e=>{jQuery(e.target).toggleClass("rotate-up"),jQuery(e.target).toggleClass("rotate-down"),this.elements.$tabsWrapper.slideToggle("slow")}})}onInit(){super.onInit(...arguments),this.playlistId=this.getID(),this.storageKey="watched_videos_"+this.getID();var e=elementorFrontend.storage.get(this.storageKey);this.watchedVideosArray=[],e&&(this.watchedVideosArray=JSON.parse(e)),this.watchedIndication=this.getElementSettings("show_watched_indication"),(0,o.handleVideosPanelScroll)(this.elements),this.isAutoplayOnLoad="yes"===this.getElementSettings("autoplay_on_load"),this.isAutoplayNextUp="yes"===this.getElementSettings("autoplay_next"),this.isFirstVideoActivated=!0,this.createPlaylistItems(),this.isCollapsible=this.getElementSettings("inner_tab_is_content_collapsible"),this.innerTabsHeightLimit=this.getElementSettings("inner_tab_collapsible_height"),this.currentPlayingPlaylistItemIndex=1,this.activateInitialVideo(),this.activateInnerTabInEditMode()}onEditSettingsChange(e){"panel"===e&&(this.preventTabActivation=!0),"activeItemIndex"===e&&(this.preventTabActivation?this.preventTabActivation=!1:this.activateDefaultTab())}activateInitialVideo(){this.isPageOnLoad=!0;var e=!!this.getElementSettings("lazy_load"),t=(0,l.handleURLParams)(this.playlistId,this.playlistItemsArray);let i=!1;this.currentPlaylistItemIndex=1,this.currentPlayingPlaylistItemIndex=1,t&&(this.currentPlaylistItemIndex=t,this.currentPlayingPlaylistItemIndex=t,i=!0),this.isAutoplayOnLoad&&!i&&(0,l.setVideoParams)(this.playlistId,this.playlistItemsArray,this.currentPlaylistItemIndex),i&&this.$element[0]?.scrollIntoView({behavior:"smooth"}),this.handleFirstVideoActivation(e)}handleFirstVideoActivation(e){if(e){let t=document.querySelector(".elementor-element-"+this.playlistId+" .raven-tabs-main-area"),i=elementorModules.utils.Scroll.scrollObserver({callback:e=>{e.isInViewport&&(this.activateDefaultTab(this.currentPlaylistItemIndex),i.unobserve(t))}});i.observe(t)}else this.activateDefaultTab(this.currentPlaylistItemIndex)}getCurrentItemSelected(){return this.playlistItemsArray[this.currentPlaylistItemIndex-1]}getCurrentPlayerSelected(){return this.getCurrentItemSelected().playerInstance}getCurrentPlayerPlaying(){return this.playlistItemsArray[this.currentPlayingPlaylistItemIndex-1].playerInstance}isVideoShouldBePlayed(){if(this.currentPlayingPlaylistItemIndex!==this.currentPlaylistItemIndex)this.getCurrentPlayerPlaying()&&this.getCurrentPlayerPlaying().pause(),this.currentPlayingPlaylistItemIndex=this.currentPlaylistItemIndex;else if(this.getCurrentPlayerPlaying().isVideoPlaying)return this.getCurrentPlayerPlaying().pause(),!1;return!0}activateInnerTabInEditMode(){var e;this.isEdit&&this.getEditSettings("innerActiveIndex")&&(e=this.getEditSettings("innerActiveIndex"),jQuery(this.elements.$innerTabs.eq(this.currentPlaylistItemIndex-1).find(".raven-inner-tab-title a"))[e].click())}handleVideo(i){var e;i.playerInstance?this.isVideoShouldBePlayed()&&(1===this.currentPlaylistItemIndex&&this.elements.$imageOverlay&&this.elements.$imageOverlay.remove(),this.playVideoAfterCreation(i)):(e={youtube:n.default,vimeo:s.default,hosted:a.default},i.playerInstance=new e[i.videoType](i,this.currentPlaylistItemIndex),i.playerInstance.create().then(()=>{this.isVideoShouldBePlayed()&&this.playVideoOnCreation(i),i.playerInstance.handleFullScreenChange(e=>{(0,d.triggerEvent)(this,e?"videoFullScreen":"videoExitFullScreen","click")}),i.playerInstance.handlePlayed(()=>{var e=this.getCurrentItemSelected();let t="click";e.isAutoplayOnLoad?(t="onLoad",i.isAutoplayOnLoad=!1):e.isAutoPlayNextUp&&(t="nextVideo"),(0,d.triggerEvent)(this,e.playerInstance.isVideoPausedLocal?"videoResume":"videoStart",t)}),i.playerInstance.handleEnded(()=>{(0,d.triggerEvent)(this,"videoEnded","click"),this.watchedIndication&&this.elements.$tabTitles.filter(".e-active").addClass("watched-video");var e=this.getCurrentItemSelected().dataItemId;if(!this.watchedVideosArray.includes(e)&&this.watchedIndication&&(this.watchedVideosArray.push(this.getCurrentItemSelected().dataItemId),elementorFrontend.storage.set(this.storageKey,JSON.stringify(this.watchedVideosArray))),this.isAutoplayNextUp&&this.playlistItemsArray.length>=++this.currentPlaylistItemIndex){for(;"section"===this.getCurrentItemSelected().videoType;)if(this.currentPlaylistItemIndex++,this.playlistItemsArray.length<this.currentPlaylistItemIndex)return void(this.currentPlaylistItemIndex=this.playlistItemsArray.length);this.changeActiveTab(this.currentPlaylistItemIndex,!0)}}),i.playerInstance.handlePaused(e=>{(0,d.triggerEvent)(this,"videoPaused","click",e)})}))}playVideoAfterCreation(e){e.playerInstance.play()}playVideoOnCreation(e){this.isAutoplayOnLoad?(e.isAutoplayOnLoad=!0,e.playerInstance.mute(),e.playerInstance.play(),this.isAutoplayOnLoad=!1):this.isFirstVideoActivated||(e.isAutoPlayNextUp=!0,e.playerInstance.play()),this.isFirstVideoActivated=!1}createPlaylistItems(){this.playlistItemsArray=[],this.elements.$videos.each((e,t)=>{var i={},n=jQuery(t);i.videoUrl=n.attr("data-video-url"),i.videoType=n.attr("data-video-type"),i.videoTitle=n.attr("data-video-title"),i.videoDuration=n.attr("data-video-duration"),i.tabContent=t,i.dataTab=e+1,i.dataItemId=this.getElementSettings().tabs[e]._id,this.playlistItemsArray.push(i)}),0<this.watchedVideosArray.length&&this.watchedIndication&&this.watchedVideosArray.forEach(t=>{var e=this.playlistItemsArray.find(e=>e.dataItemId===t);this.elements.$tabTitles.filter('[data-tab="'+e.dataTab+'"]').addClass("watched-video")})}changeActiveTab(e,t){super.changeActiveTab(e),this.playlistItemsArray[e-1]&&"section"!==this.playlistItemsArray[e-1]?.videoType&&(this.currentPlaylistItemIndex=parseInt(e),t&&(this.currentPlayingPlaylistItemIndex=this.currentPlaylistItemIndex),this.handleVideo(this.getCurrentItemSelected(),t),this.isPageOnLoad||(0,l.setVideoParams)(this.playlistId,this.playlistItemsArray,this.currentPlaylistItemIndex),this.isPageOnLoad=!1,0<jQuery(this.elements.$innerTabs.eq(e-1)).find(".raven-inner-tab-content").length)&&(t=this.elements.$innerTabs.filter(".e-active").find(".raven-inner-tab-content"),(0,r.handleInnerTabsButtonsDisplay)(t.toArray(),this.isCollapsible,this.innerTabsHeightLimit))}}},{"../video-playlist/base-tabs":72,"../video-playlist/event-trigger":73,"../video-playlist/inner-tabs":75,"../video-playlist/player-hosted":77,"../video-playlist/player-vimeo":78,"../video-playlist/player-youtube":79,"../video-playlist/scroll-utils":81,"../video-playlist/url-params":82}],75:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.handleInnerTabs=function(e,t){var i=e.target,n=i.tagName;i.classList.contains("raven-inner-tab-title-text")&&(e.preventDefault(),s=jQuery(i).parent(".raven-inner-tab-title"),a(e,s,t));{var s;i.classList.contains("raven-tab-mobile-title")&&(s=jQuery(i),a(e,s,t))}"button"===n.toLowerCase()&&r(e,t)},i.handleInnerTabsButtonsDisplay=o,i.onTabContentButtonsClick=r;var s=e("../video-playlist/event-trigger");function a(e,t,i){var e=e.currentTarget,n=e.querySelectorAll(".raven-inner-tab-title");t.hasClass("raven-inner-tab-active")||n.length<2||(t=e.querySelectorAll(".raven-inner-tab-content"),n.forEach(e=>{e.classList.toggle("raven-inner-tab-active")}),t.forEach(e=>{e.toggleAttribute("hidden"),e.classList.toggle("raven-inner-tab-active")}),o(Array.from(t),i.isCollapsible,i.innerTabsHeightLimit),(0,s.triggerEvent)(i,"tabOpened","click"))}function o(e,t,i){t&&(e=(t=e.filter(e=>e.classList.contains("raven-inner-tab-active")))[0].querySelector(".raven-inner-tab-text > div").offsetHeight,i=parseInt(i.size))&&i<e&&t[0].classList.add("show-inner-tab-buttons")}function r(e,t){e=jQuery(e.currentTarget).find(".raven-inner-tab-content").filter(".raven-inner-tab-active"),e.find("button").toggleClass("show-button"),e.toggleClass("show-full-height"),e=e.hasClass("show-full-height")?"tabExpanded":"tabCollapsed";(0,s.triggerEvent)(t,e,"click")}},{"../video-playlist/event-trigger":73}],76:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=class{constructor(e,t){this.playlistItem=e,this.positionInVideoList=t}formatDuration(e){var e=new Date(1e3*e),t=e.getUTCHours(),i=e.getUTCMinutes(),e=e.getSeconds();return 0!==t?`${t.toString()}:${i.toString().padStart(2,"0")}:`+e.toString().padStart(2,"0"):i.toString()+":"+e.toString().padStart(2,"0")}}},{}],77:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=(e=e("../video-playlist/player-base"))&&e.__esModule?e:{default:e};class n extends e.default{constructor(e,t){super(e,t),this.playerObject=null,this.watchCount=0,this.isVideoPlaying=!1,this.isVideoPausedLocal=!1,this.isVideoSeeking=!1,this.isVideoEnded=!1,this.isReady=!1}create(){return new Promise(e=>{var t=document.createElement("video"),i=(t.setAttribute("controls",""),document.createTextNode("Sorry, your browser doesn't support embedded videos.")),n=document.createElement("source");n.setAttribute("src",this.playlistItem.videoUrl),n.setAttribute("type","video/"+this.playlistItem.videoUrl.split(".").pop()),t.appendChild(n),t.appendChild(i),this.playerObject=t,this.playlistItem.tabContent.querySelector("div").replaceWith(this.playerObject),this.playerObject.addEventListener("canplay",()=>{this.isReady=!0,e()}),this.playerObject.addEventListener("seeked",()=>{this.isVideoSeeking=!1}),this.playerObject.addEventListener("seeking",()=>{clearTimeout(this.seekTimeOut),this.isVideoSeeking=!0})})}handleEnded(e){this.playerObject.addEventListener("ended",()=>{this.watchCount++,this.isVideoEnded=!0,this.isVideoPlaying=!1,e(this.playlistItem)})}handlePaused(e){this.playerObject.addEventListener("pause",()=>{this.seekTimeOut=setTimeout(()=>{this.isVideoSeeking||this.isVideoEnded?this.isVideoEnded=!1:(e(this.positionInVideoList),this.isVideoPausedLocal=!0)},30)})}handlePlayed(e){this.playerObject.addEventListener("play",()=>{this.isVideoSeeking||e(this.playlistItem)})}handleFullScreenChange(e){jQuery(this.playerObject).on("webkitfullscreenchange mozfullscreenchange fullscreenchange",()=>{e(document.fullscreenElement)})}getCurrentTime(){return this.playerObject.currentTime}play(){this.isReady&&(this.isVideoPlaying=!0,this.playerObject.play())}pause(){this.isReady&&(this.isVideoPlaying=!1,this.playerObject.pause())}mute(){this.playerObject.muted=!0}}i.default=n},{"../video-playlist/player-base":76}],78:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=(e=e("../video-playlist/player-base"))&&e.__esModule?e:{default:e};class n extends e.default{constructor(e,t){super(e,t),this.apiProvider=elementorFrontend.utils.vimeo,this.playerObject=null,this.watchCount=0,this.isVideoInFullScreenChange=!1,this.isReady=!1}create(){return this.currentVideoID=this.apiProvider.getVideoIDFromURL(this.playlistItem.videoUrl),new Promise(i=>{this.apiProvider.onApiReady(e=>{var t={id:this.currentVideoID,autoplay:!1};this.playerObject=new e.Player(this.playlistItem.tabContent.querySelector("div"),t),this.playerObject.ready().then(()=>{this.isReady=!0,i()})})})}handleEnded(e){this.playerObject.on("ended",()=>{this.watchCount++,e(this.playlistItem)})}handlePaused(t){this.playerObject.on("pause",e=>{0===e.percent||1<=e.percent||this.isVideoInFullScreenChange||t(this.positionInVideoList)})}handlePlayed(e){this.playerObject.on("play",()=>{this.isVideoInFullScreenChange?this.isVideoInFullScreenChange=!1:e(this.playlistItem)})}handleFullScreenChange(e){this.playerObject.element.addEventListener("fullscreenchange",()=>{e(document.fullscreenElement),this.isVideoInFullScreenChange=!0})}getCurrentTime(){return this.playerObject.getCurrentTime().then(e=>e)}play(){this.isReady&&this.playerObject.play()}pause(){this.isReady&&this.playerObject.pause()}mute(){this.playerObject.setMuted(!0)}async setVideoProviderData(){var e;if(this.currentVideoID||9!==!this.currentVideoID?.length)return e=await this.playerObject.getVideoId(),e=await(await window.fetch("https://vimeo.com/api/v2/video/"+e+".json")).json(),this.playlistItem.duration=this.formatDuration(e[0].duration),this.playlistItem.video_title=e[0].title,this.playlistItem.thumbnail={url:e[0].thumbnail_medium},this.playlistItem}}i.default=n},{"../video-playlist/player-base":76}],79:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;e=(e=e("../video-playlist/player-base"))&&e.__esModule?e:{default:e};class n extends e.default{constructor(e,t){super(e,t),this.apiProvider=elementorFrontend.utils.youtube,this.playerObject=null,this.watchCount=0,this.isVideoPlaying=!1,this.isVideoPausedLocal=!1,this.isVideoEnded=!1,this.seekSequenceArray=[],this.pauseCurrentTime=null,this.isReady=!1}create(){return this.currentVideoID=this.apiProvider.getVideoIDFromURL(this.playlistItem.videoUrl),new Promise(i=>{this.apiProvider.onApiReady(e=>{var t={width:"773",videoId:this.currentVideoID,playerVars:{rel:0,showinfo:0,ecver:2},events:{onReady:()=>{this.isReady=!0,i()}}};this.playerObject=new e.Player(this.playlistItem.tabContent.querySelector("div"),t),this.playerObject.addEventListener("onStateChange",e=>{3===e.data&&(2===this.seekSequenceArray[this.seekSequenceArray.length-1]?this.seekSequenceArray.push(3):(this.seekSequenceArray=[],clearTimeout(this.seekTimeOut)))})})})}handleEnded(t){this.playerObject.addEventListener("onStateChange",e=>{0===e.data&&(this.watchCount++,this.isVideoEnded=!0,e.target.seekTo(0),e.target.stopVideo(),this.isVideoPlaying=!1,t())})}handlePaused(t){this.playerObject.addEventListener("onStateChange",e=>{2===e.data&&(this.seekSequenceArray=[],this.seekSequenceArray.push(2),this.pauseCurrentTime=this.playerObject.playerInfo.currentTime,this.seekTimeOut=setTimeout(()=>{2===this.seekSequenceArray.length&&2===this.seekSequenceArray[0]&&3===this.seekSequenceArray[1]?(this.seekSequenceArray=[],clearTimeout(this.seekTimeOut)):(t(this.positionInVideoList),this.isVideoPausedLocal=!0)},1e3))})}handlePlayed(t){this.playerObject.addEventListener("onStateChange",e=>{1!==e.data||this.isVideoEnded?this.isVideoEnded=!1:2===this.seekSequenceArray.length&&2===this.seekSequenceArray[0]&&3===this.seekSequenceArray[1]||t()})}handleError(e){this.playerObject.addEventListener("onError",()=>{e()})}handleFullScreenChange(e){this.playerObject.addEventListener("fullscreenchange",()=>{e(document.fullscreenElement)})}getCurrentTime(){var e=this.pauseCurrentTime||this.playerObject.playerInfo.currentTime;return this.pauseCurrentTime=null,e}play(){this.isReady&&(this.isVideoPlaying=!0,this.playerObject.playVideo())}pause(){this.isReady&&(this.isVideoPlaying=!1,this.playerObject.pauseVideo())}mute(){this.playerObject.mute()}async setVideoProviderData(){this.isReady&&(this.currentVideoID&&11===this.currentVideoID?.length?(this.playlistItem.thumbnail={url:"http://img.youtube.com/vi/"+this.playerObject.getVideoData().video_id+"/maxresdefault.jpg"},this.playlistItem.video_title=this.playerObject.getVideoData().title,this.playlistItem.duration=this.formatDuration(this.playerObject.getDuration())):(this.playlistItem.thumbnail={url:""},this.playlistItem.video_title="",this.playlistItem.duration=""))}}i.default=n},{"../video-playlist/player-base":76}],80:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=class{constructor(e){var{event:e,tab:t,playlist:i,video:n}=e;this.event={type:e.type||"",time:e.time||0,element:e.element,trigger:e.trigger||"",watchCount:e.watchCount||0},this.tab={name:t.name,index:t.index},this.playlist={name:i.name,currentItem:i.currentItem,amount:i.amount},this.video={provider:n.provider,url:n.url,title:n.title,duration:n.duration}}}},{}],81:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.handleVideosPanelScroll=function(e,t){t?(0<t.target.scrollTop?e.$tabsWrapper.addClass("top-shadow"):e.$tabsWrapper.removeClass("top-shadow"),t.target.offsetHeight+t.target.scrollTop>=t.target.scrollHeight?e.$tabsWrapper.removeClass("bottom-shadow"):e.$tabsWrapper.addClass("bottom-shadow")):e.$tabsItems[0].offsetHeight<e.$tabsItems[0].scrollHeight&&e.$tabsWrapper.addClass("bottom-shadow")}},{}],82:[function(e,t,i){function a(e,t,i){var n=new URLSearchParams(location.search);n.set("playlist",e),n.set("video",t[i-1].dataItemId),window.history.replaceState({},"",location.pathname+"?"+n)}Object.defineProperty(i,"__esModule",{value:!0}),i.handleURLParams=function(e,i){var n=new URLSearchParams(location.search),s=n.get("playlist");if(!s)return!1;if(s===e){let t=n.get("video");s=i.find(e=>t===e.dataItemId),n=s?s.dataTab:1;return n||a(e,i,1),n||!1}},i.setVideoParams=a},{}],83:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};e=(i=e("../utils/module"))&&i.__esModule?i:{default:i};let s=jQuery,n=e.default.extend({getDefaultSettings(){return{selectors:{widgetContainer:".elementor-widget-container",widgetWrapper:".raven-widget-wrapper",imageOverlay:".raven-video-thumbnail",videoWrapper:".raven-video",videoFrame:"iframe",videoCloseButton:".raven-video-close",videoPlayPreviewButton:".raven-video-play-button-preview",videoModal:".raven-modal",mejsPlayer:".raven-video-mejs-hosted"}}},getDefaultElements(){var e=this.getSettings("selectors"),t={$widgetContainer:this.$element.find(e.widgetContainer),$widgetWrapper:this.$element.find(e.widgetWrapper),$imageOverlay:this.$element.find(e.imageOverlay),$videoWrapper:this.$element.find(e.videoWrapper),$videoCloseButton:this.$element.find(e.videoCloseButton),$videoPlayPreviewButton:this.$element.find(e.videoPlayPreviewButton),$videoModal:this.$element.find(e.videoModal),$mejsPlayer:this.$element.find(e.mejsPlayer)};return t.$videoFrame=t.$videoWrapper.find(e.videoFrame),t},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),"yes"===this.getElementSettings("lazyload")&&this.handleLazyLoad(),"yes"===this.getElementSettings("muted_autoplay_preview")?this.handleMutedPreview():"yes"===this.getElementSettings("lazyload")?this.handleLazyLoad():this.handleMediaElement(),"yes"===this.getElementSettings("progress_bar")?s(".elementor-widget-raven-video.raven-player-style2 .mejs-time").css("display","contents"):(s(".elementor-widget-raven-video.raven-player-style3 .mejs-volume-button").css("width","100%"),s(".elementor-widget-raven-video.raven-player-style3 .mejs-volume-button button").css("float","right")),this.updateWidgetContainerMargin()},handleLazyLoad(){s(window).on("scroll",()=>{var e=this.elements.$widgetWrapper.offset().top,t=e+this.elements.$widgetWrapper.outerHeight(),i=s(window).scrollTop(),n=i+s(window).height();i<t&&e<n&&(t=(i=this.elements.$videoFrame).data("lazy-load"))&&(i.attr("src",t),this.handleMediaElement())})},handleStickyScroll(){let t=this.elements.$widgetWrapper.outerHeight(!0),i=this.elements.$widgetWrapper.offset().top;s(window).on("scroll",()=>{var e;this.elements.$widgetWrapper.hasClass("sticky-close")||(e=s(window).scrollTop(),i+t/2<e?(this.elements.$widgetContainer.css("height",t),this.elements.$widgetWrapper.addClass("sticky"),this.elements.$videoCloseButton.show()):(this.elements.$widgetWrapper.removeClass("sticky"),this.elements.$videoCloseButton.hide()))}),this.elements.$videoCloseButton.on("click",()=>{this.elements.$widgetWrapper.removeClass("sticky"),this.elements.$widgetWrapper.addClass("sticky-close"),this.elements.$videoCloseButton.hide()})},handleMutedPreview(){let n=this.elements.$videoFrame,e=("hosted"===this.getElementSettings("video_type")&&(n=this.elements.$mejsPlayer),[]),s=this;this.getElementSettings("fast_forward")&&e.push("skipback"),e.push("playpause"),this.getElementSettings("fast_forward")&&e.push("jumpforward"),this.getElementSettings("current_time")&&e.push("current"),this.getElementSettings("progress_bar")&&e.push("progress"),e.push("duration","volume"),this.getElementSettings("speed_options")&&e.push("speed"),this.getElementSettings("fullscreen")&&e.push("fullscreen"),n.mediaelementplayer({videoVolume:"horizontal",pauseOtherPlayers:!1,hideVolumeOnTouchDevices:!1,enableProgressTooltip:!1,alwaysShowControls:"yes"!==this.getElementSettings("auto_hide_controls"),autoRewind:"yes"===this.getElementSettings("rewind"),jumpForwardInterval:10,skipBackInterval:10,youtube:{controls:0,autoplay:1,start:this.getElementSettings("start_time"),end:this.getElementSettings("end_time"),mute:1,loop:"yes"===this.getElementSettings("youtube_loop")?1:0,playlist:"youtube"===this.getElementSettings("video_type")?this.YouTubeGetID(this.elements.$videoFrame.attr("src")):0,rel:0,modestbranding:"yes"===this.getElementSettings("hide_youtube_ui")?1:0,cc_load_policy:"yes"===this.getElementSettings("turn_on_captions_by_default")?1:0,origin:window.location.href},features:e,success:e=>{var t=s.elements.$widgetWrapper.find(".mejs-time-current")[0],i=new window.MutationObserver(e=>{e.forEach(e=>{var t;"attributes"===e.type&&(t=(e=s.elements.$widgetWrapper.find(".mejs-time-current")).attr("style"))&&(t=t.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")",""))&&e.css("width",100*t+"%")})});t&&i.observe(t,{attributes:!0,attributeFilter:["style"]}),"yes"===s.getElementSettings("show_device_frame")&&s.elements.$widgetWrapper.find(".mejs-overlay-play:not(.raven-video-play-button-preview)").addClass("hide-large-button"),e.addEventListener("play",()=>{"yes"!==s.getElementSettings("sticky_on_scroll")||s.getElementSettings("use_lightbox")||s.handleStickyScroll(),"yes"===s.getElementSettings("show_device_frame")&&s.elements.$widgetWrapper.find(".mejs-overlay-play:not(.raven-video-play-button-preview)").removeClass("hide-large-button")},!1),s.elements.$widgetWrapper.find(".mejs-controls").hide(),"vimeo"!==s.getElementSettings("video_type")&&"hosted"!==s.getElementSettings("video_type")||(n[0].player.play(),n[0].player.options.startVolume=0,n[0].player.setMuted(!0)),this.elements.$videoPlayPreviewButton.on("click",()=>{let e=s.getElementSettings("youtube_controls");"hosted"===s.getElementSettings("video_type")&&(e=s.getElementSettings("hosted_controls")),this.elements.$videoPlayPreviewButton.hide(),("yes"!==s.getElementSettings("youtube_mute")&&"youtube"===s.getElementSettings("video_type")||"yes"!==s.getElementSettings("vimeo_mute")&&"vimeo"===s.getElementSettings("video_type")||"yes"!==s.getElementSettings("hosted_muted")&&"hosted"===s.getElementSettings("video_type"))&&(n[0].player.setMuted(!1),n[0].player.setVolume(.5)),"yes"!==e&&"vimeo"!==s.getElementSettings("video_type")||s.elements.$widgetWrapper.find(".mejs-controls").show(),s.elements.$widgetWrapper.find(".raven-video-muted-overlay").hide(),n[0].player.play()})}})},handleMediaElement(){let n=this.elements.$videoFrame,e=("hosted"===this.getElementSettings("video_type")&&(n=this.elements.$mejsPlayer),[]),s=this;this.getElementSettings("fast_forward")&&e.push("skipback"),e.push("playpause"),this.getElementSettings("fast_forward")&&e.push("jumpforward"),this.getElementSettings("current_time")&&e.push("current"),this.getElementSettings("progress_bar")&&e.push("progress"),e.push("duration","volume"),this.getElementSettings("speed_options")&&e.push("speed"),this.getElementSettings("fullscreen")&&e.push("fullscreen"),n.mediaelementplayer({videoVolume:"horizontal",pauseOtherPlayers:!1,hideVolumeOnTouchDevices:!1,enableProgressTooltip:!1,alwaysShowControls:"yes"!==this.getElementSettings("auto_hide_controls"),autoRewind:"yes"===this.getElementSettings("rewind"),jumpForwardInterval:10,skipBackInterval:10,youtube:{controls:0,autoplay:"yes"===this.getElementSettings("youtube_autoplay")?1:0,start:this.getElementSettings("start_time"),end:this.getElementSettings("end_time"),mute:"yes"===this.getElementSettings("youtube_mute")||"yes"===this.getElementSettings("youtube_autoplay")?1:0,loop:"yes"===this.getElementSettings("youtube_loop")?1:0,playlist:"youtube"===this.getElementSettings("video_type")?this.YouTubeGetID(this.elements.$videoFrame.attr("src")):0,rel:0,modestbranding:"yes"===this.getElementSettings("hide_youtube_ui")?1:0,cc_load_policy:"yes"===this.getElementSettings("turn_on_captions_by_default")?1:0,origin:window.location.href},features:e,success:e=>{var t=s.elements.$widgetWrapper.find(".mejs-time-current")[0],i=new window.MutationObserver(e=>{e.forEach(e=>{var t;"attributes"===e.type&&(t=(e=s.elements.$widgetWrapper.find(".mejs-time-current")).attr("style"))&&(t=t.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")",""))&&e.css("width",100*t+"%")})});t&&i.observe(t,{attributes:!0,attributeFilter:["style"]}),e.addEventListener("play",()=>{"yes"!==this.getElementSettings("sticky_on_scroll")||s.getElementSettings("use_lightbox")||this.handleStickyScroll(),"yes"===this.getElementSettings("hosted_autoplay")&&s.elements.$widgetWrapper.find(".raven-video-mejs-hosted").css("visibility","visible")},!1),"yes"!==s.getElementSettings("large_play_button")?s.elements.$widgetWrapper.find(".mejs-overlay-button").hide():s.elements.$widgetWrapper.find(".mejs-overlay-play").show(),"vimeo"!==s.getElementSettings("video_type")||"yes"!==s.getElementSettings("vimeo_mute")&&"yes"!==s.getElementSettings("vimeo_autoplay")||(n[0].player.options.startVolume=0,n[0].player.setMuted(!0))}}),("yes"!==this.getElementSettings("youtube_controls")&&"youtube"===this.getElementSettings("video_type")||"yes"!==this.getElementSettings("hosted_controls")&&"hosted"===this.getElementSettings("video_type"))&&this.elements.$widgetWrapper.find(".mejs-controls").hide()},YouTubeGetID(e){if(!e)return 0;let t="";e=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);return t=void 0!==e[2]?(t=e[2].split(/[^0-9a-z_\-]/i))[0]:e},handleVideo(){let e=this.elements.$videoFrame;var t,i;"hosted"===this.getElementSettings("video_type")&&(e=this.elements.$mejsPlayer),this.getElementSettings("use_lightbox")?(t=this.elements.$videoWrapper.find(".raven-modal"),i=s(".jupiterx-main"),"none"===t.css("display")&&(t.show(),i.addClass("raven-lightbox-open"),this.$element.css("z-index",parseInt(this.$element.css("z-index"))+1))):(this.elements.$imageOverlay.remove(),e[0].player.play())},hideModal(e){e.stopPropagation();let t=this.elements.$videoFrame;"hosted"===this.getElementSettings("video_type")&&(t=this.elements.$mejsPlayer);var e=this.elements.$videoWrapper.find(".raven-modal"),i=s(".jupiterx-main");"block"===e.css("display")&&(e.hide(),i.removeClass("raven-lightbox-open"),this.$element.css("z-index",9999),t[0].player.pause())},updateWidgetContainerMargin(){var e;0<this.elements.$widgetContainer.closest(".elementor-container").length&&(this.elements.$widgetContainer.removeAttr("style"),e=this.elements.$widgetContainer.css("margin"))&&(this.$element.css("margin",e),this.elements.$widgetContainer.css("margin","0"))},bindEvents(){this.elements.$imageOverlay.on("click",this.handleVideo),this.elements.$videoModal.find(".close").on("click",this.hideModal)},onElementChange(e){"_margin"===e&&this.updateWidgetContainerMargin()}})},{"../utils/module":9}],84:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(e){new n({$element:e})};let n=((i=e("../utils/module"))&&i.__esModule?i:{default:i}).default.extend({getDefaultSettings(){return{selectors:{productsWrapper:".raven-wc-products-wrapper",productsContainer:".products",products:".products .product",paginationContainer:".woocommerce-pagination",loadMoreButton:".raven-load-more-button",postImageFit:".raven-image-fit img:not(.zoomImg)",preLoader:".raven-products-preloader",addToCartButton:'.add_to_cart_button, .button[class*="product_type_"]',categories:".posted_in",productTitle:".woocommerce-loop-product__title",productPrice:".price",ratingWrapper:".rating-wrapper",infinteLoadIndicator:".raven-infinite-load"},state:{isLoading:!1,paged:2}}},getDefaultElements(){var e=this.getSettings("selectors");return{$productsWrapper:this.$element.find(e.productsWrapper),$productsContainer:this.$element.find(e.productsContainer),$products:this.$element.find(e.products),$paginationContainer:this.$element.find(e.paginationContainer),$loadMoreButton:this.$element.find(e.loadMoreButton),$preLoader:this.$element.find(e.preLoader),$infinteLoadIndicator:this.$element.find(e.infinteLoadIndicator),$showedItems:0}},bindEvents(){var e,t,i=this.elements.$productsWrapper.data("settings").total_pages||0;"load_more"===this.getInstanceValue("pagination_type")&&1<i&&this.loadMore(),"infinite_load"===this.getInstanceValue("pagination_type")&&1<i&&(i=new URLSearchParams(window.location.search),e=null!==document.querySelector(".elementor-widget-sellkit-product-filter"),t=[...i.keys()].some(e=>!["sellkit_filters","page"].includes(e)),e&&"1"===i.get("sellkit_filters")&&t||this.infiniteLoad()),this.zoom(),this.flexslider(),this.wrapContentData(),"show"===this.getInstanceValue("wishlist")&&this.wishlist(),this.initialize(),"grid"===this.getInstanceValue("general_layout")&&(this.gridRun(),$(window).on("resize",()=>{setTimeout(()=>this.gridRun(),500)}));let n=this;document.addEventListener("sellkitpro:filterproducts:showproducts",()=>{n.refreshElements(),n.zoom(),n.flexslider(),n.wrapContentData(),n.initialize(),"grid"===this.getInstanceValue("general_layout")&&setTimeout(()=>this.gridRun(),100)}),window.addEventListener("resize",function(){"masonry"===n.getInstanceValue("general_layout")&&n.masonryRun(),"matrix"===n.getInstanceValue("general_layout")&&n.matrixRun(),"metro"===n.getInstanceValue("general_layout")&&n.metroRun()})},initialize(){let e=!0,t=((e=void 0!==this.getInstanceValue("swap_effect")&&this.getInstanceValue("swap_effect").includes("gallery")?!1:e)&&"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun(),this);e&&"matrix"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(()=>{t.matrixRun()}),e&&"metro"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(()=>{t.metroRun()}),this.getInstanceValue("load_effect")&&this.handleAnitmation(),objectFitPolyfill(this.$element.find(this.getSettings("selectors.postImageFit")))},initializeOnFetch(){let e=!0,t=((e=void 0!==this.getInstanceValue("swap_effect")&&this.getInstanceValue("swap_effect").includes("gallery")?!1:e)&&"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun(),this);e&&"matrix"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(()=>{t.matrixRun()}),e&&"metro"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(()=>{t.metroRun()}),!["metro","matrix"].includes(this.getInstanceValue("general_layout"))&&this.getInstanceValue("load_effect")&&this.handleAnitmation(),objectFitPolyfill(this.$element.find(this.getSettings("selectors.postImageFit")))},onElementChange(e){"metro_matrix_rows_gap"===e&&("metro"===this.getInstanceValue("general_layout")&&this.metroRun(),"matrix"===this.getInstanceValue("general_layout"))&&this.matrixRun(),"metro_matrix_large_aspect_ratio"===e&&setTimeout(()=>{"metro"===this.getInstanceValue("general_layout")&&this.metroRun(),"matrix"===this.getInstanceValue("general_layout")&&this.matrixRun()},300),"box_rows_gap"!==e&&"box_columns_gap"!==e&&"stroke_width"!==e||"masonry"===this.getInstanceValue("general_layout")&&setTimeout(()=>{this.masonryRun()},300)},handleProductsOrder(e){return"metro"===this.getInstanceValue("general_layout")&&e[0]?.parentNode?.parentNode.classList.contains("raven-product-full-width")?[...e.slice(1,3).reverse(),e[0],...e.slice(3,e.length)]:e[0]?.parentNode?.parentNode.classList.contains("raven-product-full-width")?[e[0],...e.slice(1,e.length).reverse()]:"matrix"===this.getInstanceValue("general_layout")?[...e]:[...e.reverse()]},createAnimationObserver(t,i,e,n,s){let a=new IntersectionObserver(e=>{e.forEach(e=>{if(e.isIntersecting&&!i.classList.contains("raven-product-loaded")){let e=0<t.elements.$showedItems?n-t.elements.$showedItems:n;"slide-right"===s&&(e>t.elements.$showedItems&&(e-=t.elements.$showedItems),t.elements.$showedItems>e)&&(e=t.elements.$showedItems-e),setTimeout(()=>{i.classList.add("raven-product-loaded"),t.elements.$showedItems=n,a.unobserve(i)},100*e)}})},e);a.observe(i)},handleAnitmation(){let o=[...this.elements.$productsWrapper[0].querySelectorAll(".jupiterx-product-container")],r=this.getInstanceValue("load_effect"),l=this;this.elements.$productsWrapper.imagesLoaded().done(()=>{let n=0;if("slide-right"===r){this.setColumnsCount();var i=this.getSettings(),e=parseInt(o.length/i.columnsCount),t=o.length%i.columnsCount;if(o.length/i.columnsCount<=1)o=[...this.handleProductsOrder(o)];else{var s=[],a=[];for(let t=1;t<=e;++t){a=[];for(let e=s.length;e<t*i.columnsCount;++e)a.push(o[e]);s.push(...this.handleProductsOrder(a))}0<t&&s.push(...o.slice(-t).reverse()),o=s}}o.forEach((e,t)=>{var i;r&&!document.body.classList.contains("elementor-editor-active")||e.classList.contains("raven-product-loaded")||(++n,setTimeout(()=>{e.classList.add("raven-product-loaded")},200+100*n)),r&&(i={threshold:.4},l.createAnimationObserver(l,e,i,t,r))})})},setColumnsCount(){var e=elementorFrontend.getCurrentDeviceMode();let t="desktop"===e?"columns_custom":"columns_custom"+e,i=("metro"!==this.getInstanceValue("general_layout")&&"matrix"!==this.getInstanceValue("general_layout")||(t="number_of_products"),this.getInstanceValue(t));this.getInstanceValue(t)||(i=1),this.setSettings("columnsCount",parseInt(i))},zoom(){"zoom_hover"===this.getInstanceValue("swap_effect")&&this.elements.$productsWrapper.find(".jupiterx-wc-loop-product-image").zoom()},flexslider(){if(void 0!==this.getInstanceValue("swap_effect")&&this.getInstanceValue("swap_effect").includes("gallery")){let e=this,t=!1,i=!1;"gallery_arrows"===this.getInstanceValue("swap_effect")&&(i=!0),"gallery_pagination"===this.getInstanceValue("swap_effect")&&(t=!0),e.elements.$productsWrapper.find(".jupiterx-wc-loop-product-image").flexslider({selector:".raven-swap-effect-gallery-slides > li",animation:"slide",slideshow:!1,controlNav:t,directionNav:i,prevText:'<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M2.4,6l4.5-4.3c0.4-0.4,0.4-1,0-1.4c-0.4-0.4-1-0.4-1.4,0l-5.2,5C0.1,5.5,0,5.7,0,6s0.1,0.5,0.3,0.7l5.2,5\tC5.7,11.9,6,12,6.2,12c0.3,0,0.5-0.1,0.7-0.3c0.4-0.4,0.4-1,0-1.4L2.4,6z"></path></svg>',nextText:'<svg version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 7.2 12" style="enable-background:new 0 0 7.2 12;" xml:space="preserve"><path class="st0" d="M4.8,6l-4.5,4.3c-0.4,0.4-0.4,1,0,1.4c0.4,0.4,1,0.4,1.4,0l5.2-5C7.1,6.5,7.2,6.3,7.2,6S7.1,5.5,6.9,5.3l-5.2-5C1.5,0.1,1.2,0,1,0C0.7,0,0.5,0.1,0.3,0.3c-0.4,0.4-0.4,1,0,1.4L4.8,6z"></path></svg>',init(){e.elements.$productsWrapper.addClass("raven-swap-effect-gallery-loaded")},start(){"masonry"===e.getInstanceValue("general_layout")&&e.masonryRun(),"matrix"===e.getInstanceValue("general_layout")&&e.matrixRun(),"metro"===e.getInstanceValue("general_layout")&&e.metroRun()}})}},loadMore(){let t=this;t.elements.$loadMoreButton.on("click",e=>{e.preventDefault(),t.fetch()})},createObserver(e,i,n){if(!(e.length<1)){let t=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(i.fetch(),t.disconnect())})},n);t.observe(e[0])}},infiniteLoad(){let e=this;e.elements.$paginationContainer.length||e.elements.$productsContainer.imagesLoaded().always(()=>{e.createObserver(e.elements.$infinteLoadIndicator,e,{threshold:1})})},fetch(){let n=this;var e,t;n.getSettings("state.isLoading")||(n.setSettings("state.isLoading",!0),e={post_id:elementorFrontend.config.post.id,model_id:this.getID(),"product-page":n.getSettings("state.paged")},(t=jQuery("[data-elementor-type=product-archive], [data-elementor-type=jet-woo-builder-archive]")).data("elementor-id")&&(e.raven_archive_query=JSON.stringify(jQuery("[data-raven-archive-query]").data("raven-archive-query")),e.post_id=t.data("elementor-id")),null!==(t=new URLSearchParams(window.location.search)).get("orderby")&&t.get("orderby").length&&(e.orderby=t.get("orderby")),n.elements.$preLoader&&n.elements.$preLoader[0].classList.add("active-preloader"),wp.ajax.send("raven_products_query",{type:"GET",data:e,success(e){n.setSettings("state.paged",n.getSettings("state.paged")+1),n.elements.$productsContainer.append(e.products);let t=n.elements.$productsContainer.siblings(".woocommerce-result-count");(t=0===t.length?n.elements.$productsContainer.siblings(".raven-products-ordering-result-wrapper").find(".woocommerce-result-count"):t).html(e.result_count),"load_more"===n.getInstanceValue("pagination_type")&&e.query_results.current_page===e.query_results.total_pages&&n.elements.$loadMoreButton.hide();var i=n.elements.$productsWrapper.data("settings").total_pages||0;"infinite_load"===n.getInstanceValue("pagination_type")&&e.query_results.current_page!==e.query_results.total_pages&&1<i&&n.infiniteLoad(),n.zoom(),n.flexslider(),n.initializeOnFetch(),n.wrapContentData()},error(e){},complete(){n.setSettings("state.isLoading",!1),n.elements.$preLoader&&n.elements.$preLoader[0].classList.remove("active-preloader")}}))},wishlist(){$(document).on("click",".jupiterx-wishlist",function(e){e.preventDefault();let t=$(this),i="add_to_wishlist";var e={},n=t.data("state"),s=t.data("productId"),a=t.data("nonceAdd"),o=t.data("nonceRemove");e.nonce=a,e.add_to_wishlist=s,e.remove_from_wishlist=s,"remove"===n&&(i="remove_from_wishlist",e.nonce=o),wp.ajax.send(i,{type:"GET",data:e}).always(e=>{"add_to_wishlist"===i&&"true"===e.result&&(t.addClass("jupiterx-wishlist-remove"),t.data("state","remove")),"remove_from_wishlist"===i&&0===e.fragments.length&&(t.removeClass("jupiterx-wishlist-remove"),t.data("state","add"))})})},setGapSize(){var e=elementorFrontend.getCurrentDeviceMode();let t="desktop"===e?"metro_matrix_rows_gap":"metro_matrix_rows_gap_"+e;this.setSettings("gapSize",parseInt(this.getInstanceValue(t)?.size))},gridRun(){var e=this.elements.$productsContainer[0]?.clientHeight,t=this.$element[0]?.clientHeight;elementorFrontend?.config?.experimentalFeatures?.container&&(this.$element[0].style.minHeight=e<=t?"unset":this.elements.$productsContainer[0]?.clientHeight+"px")},masonryRun(){var e=!document.body.classList.contains("rtl");this.elements.$productsContainer.data("isotope")&&this.elements.$productsContainer.isotope("reloadItems").isotope(),this.elements.$productsContainer.isotope({itemSelector:".product",masonry:{layoutMode:"fitRows"},transitionDuration:0,sortBy:"original-order",isOriginLeft:e})},matrixRun(){this.setGapSize();let e=this,t=this.getSettings().gapSize?this.getSettings().gapSize:0,n=elementorFrontend.getCurrentDeviceMode(),i=!document.body.classList.contains("rtl"),s=(e.elements.$productsContainer.data("isotope")&&e.elements.$productsContainer.isotope("reloadItems").isotope(),Math.floor((e.elements.$productsContainer.parent().width()+t)/3)),a=3*s,o=("mobile"===n&&(s=3*s-t,a=s),0);e.elements.$productsContainer.find("li.product").each((e,t)=>{let i=s;0!==e&&o+4!==e||(i=a,o=e,t.classList.contains("raven-product-full-width"))||t.classList.add("raven-product-full-width"),i&&(t.style.width=i+"px"),"mobile"===n&&(t.style.paddingRight=0)}),e.elements.$productsContainer.find("li.product").addClass("matrix-loaded"),e.elements.$productsContainer.isotope({itemSelector:"li.product",layoutMode:"packery",packery:{isFitWidth:!0},percentPosition:!0,sortBy:"original-order",transitionDuration:0,isOriginLeft:i}),e.elements.$productsContainer.isotope("once","arrangeComplete",()=>{setTimeout(()=>e.handleAnitmation(),100)})},metroRun(){this.setGapSize();let s=this,e=this.getSettings().gapSize?this.getSettings().gapSize:0,t=elementorFrontend.getCurrentDeviceMode(),i=!document.body.classList.contains("rtl"),a=(s.elements.$productsContainer.data("isotope")&&s.elements.$productsContainer.isotope("reloadItems").isotope(),Math.floor((s.elements.$productsContainer.parent().width()+e)/4)),o=2*a,r=("tablet"===t&&(a*=2,o=2*a),"mobile"===t&&(a*=4,o=a),0);s.elements.$productsContainer.find("li.product").each((e,t)=>{let i=a,n=a;0!==e&&r+3!==e||(i=o,n=o,r=e,t.classList.contains("raven-product-full-width"))||t.classList.add("raven-product-full-width"),i&&(t.style.width=i+"px"),"overlay"===s.getInstanceValue("metro_matrix_content_layout")&&(t.style.height=n+"px")}),s.elements.$productsContainer.find("li.product").addClass("metro-loaded"),s.elements.$productsContainer.isotope({itemSelector:"li.product",layoutMode:"packery",percentPosition:!0,sortBy:"original-order",transitionDuration:0,isOriginLeft:i}),s.elements.$productsContainer.isotope("once","arrangeComplete",()=>{setTimeout(()=>s.handleAnitmation(),100)})},wrapContentData(){var e=this.getSettings("selectors");let i=[e.productPrice,e.productTitle,e.categories,e.ratingWrapper];var t=this.getInstanceValue("pc_atc_button_location"),n=this.getInstanceValue("pc_atc_button_location_overlay");(t&&"outside"===t||n&&"outside"===n)&&i.push(e.addToCartButton),this.elements.$productsContainer.find(".product").each((e,t)=>{i.forEach(e=>{e=$(t).find(e)[0];e&&e.classList.add("raven-product-item-content")}),t.classList.contains("has-data-wrapper")||$(t).find(".raven-product-item-content").wrapAll('<div class="raven-product-data" />'),t.classList.add("has-data-wrapper")})},refreshElements(){var e=this.getSettings("selectors");this.elements.$productsWrapper=this.$element.find(e.productsWrapper),this.elements.$productsContainer=this.$element.find(e.productsContainer),this.elements.$products=this.$element.find(e.products),this.elements.$paginationContainer=this.$element.find(e.paginationContainer),this.elements.$loadMoreButton=this.$element.find(e.loadMoreButton),this.elements.$preLoader=this.$element.find(e.preLoader)}})},{"../utils/module":9}],85:[function(e,t,i){t.exports=function(e){return e&&e.__esModule?e:{default:e}},t.exports.__esModule=!0,t.exports.default=t.exports},{}],86:[function(t,i,e){function w(e){var t;return null==e?window:"[object Window]"!==e.toString()?(t=e.ownerDocument)&&t.defaultView||window:e}function h(e){return e instanceof w(e).Element||e instanceof Element}function l(e){return e instanceof w(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof w(e).ShadowRoot||e instanceof ShadowRoot)}Object.defineProperty(e,"__esModule",{value:!0});var k=Math.max,I=Math.min,b=Math.round;function o(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function S(){return!/^((?!chrome|android).)*safari/i.test(o())}function u(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),s=1,a=1;t&&l(e)&&(s=0<e.offsetWidth&&b(n.width)/e.offsetWidth||1,a=0<e.offsetHeight&&b(n.height)/e.offsetHeight||1);t=(h(e)?w(e):window).visualViewport,e=!S()&&i,i=(n.left+(e&&t?t.offsetLeft:0))/s,e=(n.top+(e&&t?t.offsetTop:0))/a,t=n.width/s,s=n.height/a;return{width:t,height:s,top:e,right:i+t,bottom:e+s,left:i,x:i,y:e}}function p(e){e=w(e);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function d(e){return e?(e.nodeName||"").toLowerCase():null}function _(e){return((h(e)?e.ownerDocument:e.document)||window.document).documentElement}function m(e){return u(_(e)).left+p(e).scrollLeft}function x(e){return w(e).getComputedStyle(e)}function c(e){var e=x(e),t=e.overflow;return/auto|scroll|overlay|hidden/.test(t+e.overflowY+e.overflowX)}function $(e,t,i){void 0===i&&(i=!1);var n=l(t),s=l(t)&&(o=(s=t).getBoundingClientRect(),a=b(o.width)/s.offsetWidth||1,o=b(o.height)/s.offsetHeight||1,1!==a||1!==o),a=_(t),o=u(e,s,i),e={scrollLeft:0,scrollTop:0},r={x:0,y:0};return!n&&i||("body"===d(t)&&!c(a)||(e=(n=t)!==w(n)&&l(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:p(n)),l(t)?((r=u(t,!0)).x+=t.clientLeft,r.y+=t.clientTop):a&&(r.x=m(a))),{x:o.left+e.scrollLeft-r.x,y:o.top+e.scrollTop-r.y,width:o.width,height:o.height}}function E(e){var t=u(e),i=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-i)<=1&&(i=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function r(e){return"html"===d(e)?e:e.assignedSlot||e.parentNode||(a(e)?e.host:null)||_(e)}function g(e,t){void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(d(t))?t.ownerDocument.body:l(t)&&c(t)?t:e(r(t))}(e),e=i===(null==(e=e.ownerDocument)?void 0:e.body),n=w(i),n=e?[n].concat(n.visualViewport||[],c(i)?i:[]):i,i=t.concat(n);return e?i:i.concat(g(r(n)))}function s(e){return l(e)&&"fixed"!==x(e).position?e.offsetParent:null}function P(e){for(var t,i=w(e),n=s(e);n&&(t=n,0<=["table","td","th"].indexOf(d(t)))&&"static"===x(n).position;)n=s(n);return(!n||"html"!==d(n)&&("body"!==d(n)||"static"!==x(n).position))&&(n||(e=>{var t=/firefox/i.test(o()),i=/Trident/i.test(o());if(!i||!l(e)||"fixed"!==x(e).position){var n=r(e);for(a(n)&&(n=n.host);l(n)&&["html","body"].indexOf(d(n))<0;){var s=x(n);if("none"!==s.transform||"none"!==s.perspective||"paint"===s.contain||-1!==["transform","perspective"].indexOf(s.willChange)||t&&"filter"===s.willChange||t&&s.filter&&"none"!==s.filter)return n;n=n.parentNode}}return null})(e))||i}var j="top",T="bottom",L="right",M="left",A="auto",O=[j,T,L,M],D="start",C="end",z="clippingParents",N="viewport",f="popper",H="reference",q=O.reduce(function(e,t){return e.concat([t+"-"+D,t+"-"+C])},[]),U=[].concat(O,[A]).reduce(function(e,t){return e.concat([t,t+"-"+D,t+"-"+C])},[]),G=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Q(e){var i=new Map,n=new Set,s=[];return e.forEach(function(e){i.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||!function t(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){n.has(e)||(e=i.get(e))&&t(e)}),s.push(e)}(e)}),s}function X(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&a(i)){var n=t;do{if(n&&e.isSameNode(n))return!0}while(n=n.parentNode||n.host)}return!1}function v(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Y(e,t,i){return t===N?v((s=i,o=w(n=e),r=_(n),o=o.visualViewport,l=r.clientWidth,r=r.clientHeight,c=d=0,o&&(l=o.width,r=o.height,(a=S())||!a&&"fixed"===s)&&(d=o.offsetLeft,c=o.offsetTop),{width:l,height:r,x:d+m(n),y:c})):h(t)?((s=u(a=t,!1,"fixed"===(s=i))).top=s.top+a.clientTop,s.left=s.left+a.clientLeft,s.bottom=s.top+a.clientHeight,s.right=s.left+a.clientWidth,s.width=a.clientWidth,s.height=a.clientHeight,s.x=s.left,s.y=s.top,s):v((o=_(e),l=_(o),r=p(o),d=null==(d=o.ownerDocument)?void 0:d.body,n=k(l.scrollWidth,l.clientWidth,d?d.scrollWidth:0,d?d.clientWidth:0),c=k(l.scrollHeight,l.clientHeight,d?d.scrollHeight:0,d?d.clientHeight:0),o=-r.scrollLeft+m(o),r=-r.scrollTop,"rtl"===x(d||l).direction&&(o+=k(l.clientWidth,d?d.clientWidth:0)-n),{width:n,height:c,x:o,y:r}));var n,s,a,o,r,l,d,c}function K(i,e,t,n){var s,a="clippingParents"===e?(o=g(r(a=i)),h(s=0<=["absolute","fixed"].indexOf(x(a).position)&&l(a)?P(a):a)?o.filter(function(e){return h(e)&&X(e,s)&&"body"!==d(e)}):[]):[].concat(e),o=[].concat(a,[t]),e=o[0],t=o.reduce(function(e,t){t=Y(i,t,n);return e.top=k(t.top,e.top),e.right=I(t.right,e.right),e.bottom=I(t.bottom,e.bottom),e.left=k(t.left,e.left),e},Y(i,e,n));return t.width=t.right-t.left,t.height=t.bottom-t.top,t.x=t.left,t.y=t.top,t}function F(e){return e.split("-")[0]}function V(e){return e.split("-")[1]}function J(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function Z(e){var t,i=e.reference,n=e.element,e=e.placement,s=e?F(e):null,e=e?V(e):null,a=i.x+i.width/2-n.width/2,o=i.y+i.height/2-n.height/2;switch(s){case j:t={x:a,y:i.y-n.height};break;case T:t={x:a,y:i.y+i.height};break;case L:t={x:i.x+i.width,y:o};break;case M:t={x:i.x-n.width,y:o};break;default:t={x:i.x,y:i.y}}var r=s?J(s):null;if(null!=r){var l="y"===r?"height":"width";switch(e){case D:t[r]=t[r]-(i[l]/2-n[l]/2);break;case C:t[r]=t[r]+(i[l]/2-n[l]/2)}}return t}function ee(){return{top:0,right:0,bottom:0,left:0}}function te(e){return Object.assign({},ee(),e)}function ie(i,e){return e.reduce(function(e,t){return e[t]=i,e},{})}function B(e,t){var n,t=t=void 0===t?{}:t,i=t.placement,i=void 0===i?e.placement:i,s=t.strategy,s=void 0===s?e.strategy:s,a=t.boundary,a=void 0===a?z:a,o=t.rootBoundary,o=void 0===o?N:o,r=t.elementContext,r=void 0===r?f:r,l=t.altBoundary,l=void 0!==l&&l,t=t.padding,t=void 0===t?0:t,t=te("number"!=typeof t?t:ie(t,O)),d=e.rects.popper,l=e.elements[l?r===f?H:f:r],l=K(h(l)?l:l.contextElement||_(e.elements.popper),a,o,s),a=u(e.elements.reference),o=Z({reference:a,element:d,strategy:"absolute",placement:i}),s=v(Object.assign({},d,o)),d=r===f?s:a,c={top:l.top-d.top+t.top,bottom:d.bottom-l.bottom+t.bottom,left:l.left-d.left+t.left,right:d.right-l.right+t.right},o=e.modifiersData.offset;return r===f&&o&&(n=o[i],Object.keys(c).forEach(function(e){var t=0<=[L,T].indexOf(e)?1:-1,i=0<=[j,T].indexOf(e)?"y":"x";c[e]+=n[i]*t})),c}var ne={placement:"bottom",modifiers:[],strategy:"absolute"};function se(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function n(e){var e=e=void 0===e?{}:e,t=e.defaultModifiers,u=void 0===t?[]:t,t=e.defaultOptions,p=void 0===t?ne:t;return function(n,s,t){void 0===t&&(t=p);var i,a,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ne,p),modifiersData:{},elements:{reference:n,popper:s},attributes:{},styles:{}},r=[],l=!1,d={state:o,setOptions:function(e){var i,t,e="function"==typeof e?e(o.options):e,e=(c(),o.options=Object.assign({},p,o.options,e),o.scrollParents={reference:h(n)?g(n):n.contextElement?g(n.contextElement):[],popper:g(s)},e=[].concat(u,o.options.modifiers),t=e.reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{}),e=Object.keys(t).map(function(e){return t[e]}),i=Q(e),G.reduce(function(e,t){return e.concat(i.filter(function(e){return e.phase===t}))},[]));return o.orderedModifiers=e.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,e=e.effect;"function"==typeof e&&(e=e({state:o,name:t,instance:d,options:void 0===i?{}:i}),r.push(e||function(){}))}),d.update()},forceUpdate:function(){if(!l){var e=o.elements,t=e.reference,e=e.popper;if(se(t,e)){o.rects={reference:$(t,P(e),"fixed"===o.options.strategy),popper:E(e)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var i,n,s,a=0;a<o.orderedModifiers.length;a++)!0===o.reset?(o.reset=!1,a=-1):(n=(i=o.orderedModifiers[a]).fn,s=i.options,"function"==typeof n&&(o=n({state:o,options:void 0===s?{}:s,name:i.name,instance:d})||o))}}},update:(i=function(){return new Promise(function(e){d.forceUpdate(),e(o)})},function(){return a=a||new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(i())})})}),destroy:function(){c(),l=!0}};return se(n,s)&&d.setOptions(t).then(function(e){!l&&t.onFirstUpdate&&t.onFirstUpdate(e)}),d;function c(){r.forEach(function(e){return e()}),r=[]}}}var y={passive:!0};var ae={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,i=e.instance,n=(e=e.options).scroll,s=void 0===n||n,a=void 0===(n=e.resize)||n,o=w(t.elements.popper),r=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&r.forEach(function(e){e.addEventListener("scroll",i.update,y)}),a&&o.addEventListener("resize",i.update,y),function(){s&&r.forEach(function(e){e.removeEventListener("scroll",i.update,y)}),a&&o.removeEventListener("resize",i.update,y)}},data:{}};var oe={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state;t.modifiersData[e.name]=Z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},re={top:"auto",right:"auto",bottom:"auto",left:"auto"};function le(e){var t,i=e.popper,n=e.popperRect,s=e.placement,a=e.variation,o=e.offsets,r=e.position,l=e.gpuAcceleration,d=e.adaptive,c=e.roundOffsets,e=e.isFixed,u=o.x,u=void 0===u?0:u,p=o.y,p=void 0===p?0:p,h="function"==typeof c?c({x:u,y:p}):{x:u,y:p},h=(u=h.x,p=h.y,o.hasOwnProperty("x")),o=o.hasOwnProperty("y"),m=M,g=j,f=window,v=(d&&(v="clientHeight",t="clientWidth",(y=P(i))===w(i)&&"static"!==x(y=_(i)).position&&"absolute"===r&&(v="scrollHeight",t="scrollWidth"),s!==j&&(s!==M&&s!==L||a!==C)||(g=T,p=(p-((e&&y===f&&f.visualViewport?f.visualViewport.height:y[v])-n.height))*(l?1:-1)),s!==M&&(s!==j&&s!==T||a!==C)||(m=L,u=(u-((e&&y===f&&f.visualViewport?f.visualViewport.width:y[t])-n.width))*(l?1:-1))),Object.assign({position:r},d&&re)),y=!0===c?(s={x:u,y:p},a=w(i),e=s.x,s=s.y,a=a.devicePixelRatio||1,{x:b(e*a)/a||0,y:b(s*a)/a||0}):{x:u,y:p};return u=y.x,p=y.y,l?Object.assign({},v,((t={})[g]=o?"0":"",t[m]=h?"0":"",t.transform=(f.devicePixelRatio||1)<=1?"translate("+u+"px, "+p+"px)":"translate3d("+u+"px, "+p+"px, 0)",t)):Object.assign({},v,((n={})[g]=o?p+"px":"",n[m]=h?u+"px":"",n.transform="",n))}var de={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,i=void 0===(i=(e=e.options).gpuAcceleration)||i,n=void 0===(n=e.adaptive)||n,e=void 0===(e=e.roundOffsets)||e,i={placement:F(t.placement),variation:V(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,le(Object.assign({},i,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:n,roundOffsets:e})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,le(Object.assign({},i,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:e})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ce={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var s=e.state;Object.keys(s.elements).forEach(function(e){var t=s.styles[e]||{},i=s.attributes[e]||{},n=s.elements[e];l(n)&&d(n)&&(Object.assign(n.style,t),Object.keys(i).forEach(function(e){var t=i[e];!1===t?n.removeAttribute(e):n.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var n=e.state,s={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,s.popper),n.styles=s,n.elements.arrow&&Object.assign(n.elements.arrow.style,s.arrow),function(){Object.keys(n.elements).forEach(function(e){var t=n.elements[e],i=n.attributes[e]||{},e=Object.keys((n.styles.hasOwnProperty(e)?n.styles:s)[e]).reduce(function(e,t){return e[t]="",e},{});l(t)&&d(t)&&(Object.assign(t.style,e),Object.keys(i).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};var ue={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var o=e.state,t=e.name,r=void 0===(e=e.options.offset)?[0,0]:e,e=U.reduce(function(e,t){var i,n,s,a;return e[t]=(t=t,i=o.rects,n=r,s=F(t),a=0<=[M,j].indexOf(s)?-1:1,t=(i="function"==typeof n?n(Object.assign({},i,{placement:t})):n)[0]||0,n=(i[1]||0)*a,0<=[M,L].indexOf(s)?{x:n,y:t}:{x:t,y:n}),e},{}),i=(n=e[o.placement]).x,n=n.y;null!=o.modifiersData.popperOffsets&&(o.modifiersData.popperOffsets.x+=i,o.modifiersData.popperOffsets.y+=n),o.modifiersData[t]=e}},pe={left:"right",right:"left",bottom:"top",top:"bottom"};function R(e){return e.replace(/left|right|bottom|top/g,function(e){return pe[e]})}var he={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,function(e){return he[e]})}var ge={name:"flip",enabled:!0,phase:"main",fn:function(e){var u=e.state,t=e.options,e=e.name;if(!u.modifiersData[e]._skip){for(var i=t.mainAxis,n=void 0===i||i,i=t.altAxis,s=void 0===i||i,i=t.fallbackPlacements,p=t.padding,h=t.boundary,m=t.rootBoundary,a=t.altBoundary,o=t.flipVariations,g=void 0===o||o,f=t.allowedAutoPlacements,o=u.options.placement,t=F(o),i=i||(t===o||!g?[R(o)]:F(i=o)===A?[]:(t=R(i),[me(i),t,me(t)])),r=[o].concat(i).reduce(function(e,t){return e.concat(F(t)===A?(i=u,n=(e=e=void 0===(e={placement:t,boundary:h,rootBoundary:m,padding:p,flipVariations:g,allowedAutoPlacements:f})?{}:e).placement,s=e.boundary,a=e.rootBoundary,o=e.padding,r=e.flipVariations,l=void 0===(e=e.allowedAutoPlacements)?U:e,d=V(n),e=d?r?q:q.filter(function(e){return V(e)===d}):O,c=(n=0===(n=e.filter(function(e){return 0<=l.indexOf(e)})).length?e:n).reduce(function(e,t){return e[t]=B(i,{placement:t,boundary:s,rootBoundary:a,padding:o})[F(t)],e},{}),Object.keys(c).sort(function(e,t){return c[e]-c[t]})):t);var i,n,s,a,o,r,l,d,c},[]),l=u.rects.reference,d=u.rects.popper,c=new Map,v=!0,y=r[0],w=0;w<r.length;w++){var b=r[w],_=F(b),x=V(b)===D,C=0<=[j,T].indexOf(_),S=C?"width":"height",$=B(u,{placement:b,boundary:h,rootBoundary:m,altBoundary:a,padding:p}),C=C?x?L:M:x?T:j,x=(l[S]>d[S]&&(C=R(C)),R(C)),S=[];if(n&&S.push($[_]<=0),s&&S.push($[C]<=0,$[x]<=0),S.every(function(e){return e})){y=b,v=!1;break}c.set(b,S)}if(v)for(var k=g?3:1;0<k;k--)if("break"===(t=>{var e=r.find(function(e){e=c.get(e);if(e)return e.slice(0,t).every(function(e){return e})});if(e)return y=e,"break"})(k))break;u.placement!==y&&(u.modifiersData[e]._skip=!0,u.placement=y,u.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function W(e,t,i){return k(e,I(t,i))}var fe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,i,n,s,a,o,r,l,d,c=e.state,u=e.options,e=e.name,p=void 0===(p=u.mainAxis)||p,h=void 0!==(h=u.altAxis)&&h,m=void 0===(m=u.tether)||m,g=void 0===(g=u.tetherOffset)?0:g,u=B(c,{boundary:u.boundary,rootBoundary:u.rootBoundary,padding:u.padding,altBoundary:u.altBoundary}),f=F(c.placement),v=V(c.placement),y=!v,w=J(f),b="x"===w?"y":"x",_=c.modifiersData.popperOffsets,x=c.rects.reference,C=c.rects.popper,g="number"==typeof(g="function"==typeof g?g(Object.assign({},c.rects,{placement:c.placement})):g)?{mainAxis:g,altAxis:g}:Object.assign({mainAxis:0,altAxis:0},g),S=c.modifiersData.offset?c.modifiersData.offset[c.placement]:null,$={x:0,y:0};_&&(p&&(p="y"===w?"height":"width",o=(r=_[w])+u[i="y"===w?j:M],l=r-u[d="y"===w?T:L],t=m?-C[p]/2:0,s=(v===D?x:C)[p],v=v===D?-C[p]:-x[p],a=c.elements.arrow,a=m&&a?E(a):{width:0,height:0},i=(n=c.modifiersData["arrow#persistent"]?c.modifiersData["arrow#persistent"].padding:ee())[i],n=n[d],d=W(0,x[p],a[p]),a=y?x[p]/2-t-d-i-g.mainAxis:s-d-i-g.mainAxis,s=y?-x[p]/2+t+d+n+g.mainAxis:v+d+n+g.mainAxis,y=(i=c.elements.arrow&&P(c.elements.arrow))?"y"===w?i.clientTop||0:i.clientLeft||0:0,v=r+s-(t=null!=(p=null==S?void 0:S[w])?p:0),d=W(m?I(o,r+a-t-y):o,r,m?k(l,v):l),_[w]=d,$[w]=d-r),h&&(n="y"==b?"height":"width",s=(i=_[b])+u["x"===w?j:M],p=i-u["x"===w?T:L],a=-1!==[j,M].indexOf(f),y=null!=(t=null==S?void 0:S[b])?t:0,o=a?s:i-x[n]-C[n]-y+g.altAxis,v=a?i+x[n]+C[n]-y-g.altAxis:p,r=m&&a?(l=W(l=o,i,d=v),d<l?d:l):W(m?o:s,i,m?v:p),_[b]=r,$[b]=r-i),c.modifiersData[e]=$)},requiresIfExists:["offset"]};var ve={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,n,s,a=e.state,o=e.name,e=e.options,r=a.elements.arrow,l=a.modifiersData.popperOffsets,d=J(c=F(a.placement)),c=0<=[M,L].indexOf(c)?"height":"width";r&&l&&(e=e.padding,i=a,i=te("number"!=typeof(e="function"==typeof e?e(Object.assign({},i.rects,{placement:i.placement})):e)?e:ie(e,O)),e=E(r),s="y"===d?j:M,n="y"===d?T:L,t=a.rects.reference[c]+a.rects.reference[d]-l[d]-a.rects.popper[c],l=l[d]-a.rects.reference[d],r=(r=P(r))?"y"===d?r.clientHeight||0:r.clientWidth||0:0,s=i[s],i=r-e[c]-i[n],s=W(s,n=r/2-e[c]/2+(t/2-l/2),i),a.modifiersData[o]=((r={})[d]=s,r.centerOffset=s-n,r))},effect:function(e){var t=e.state;null!=(e=void 0===(e=e.options.element)?"[data-popper-arrow]":e)&&("string"!=typeof e||(e=t.elements.popper.querySelector(e)))&&X(t.elements.popper,e)&&(t.elements.arrow=e)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ye(e,t,i){return{top:e.top-t.height-(i=void 0===i?{x:0,y:0}:i).y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function we(t){return[j,L,T,M].some(function(e){return 0<=t[e]})}var be={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,e=e.name,i=t.rects.reference,n=t.rects.popper,s=t.modifiersData.preventOverflow,a=B(t,{elementContext:"reference"}),o=B(t,{altBoundary:!0}),a=ye(a,i),i=ye(o,n,s),o=we(a),n=we(i);t.modifiersData[e]={referenceClippingOffsets:a,popperEscapeOffsets:i,isReferenceHidden:o,hasPopperEscaped:n},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":o,"data-popper-escaped":n})}},_e=n({defaultModifiers:[ae,oe,de,ce]}),xe=[ae,oe,de,ce,ue,ge,fe,ve,be],Ce=n({defaultModifiers:xe});e.applyStyles=ce,e.arrow=ve,e.computeStyles=de,e.createPopper=Ce,e.createPopperLite=_e,e.defaultModifiers=xe,e.detectOverflow=B,e.eventListeners=ae,e.flip=ge,e.hide=be,e.offset=ue,e.popperGenerator=n,e.popperOffsets=oe,e.preventOverflow=fe},{}],87:[function(e,t,i){function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var s=n(e("@tannin/postfix")),a=n(e("@tannin/evaluate"));t.exports=function(e){var t=s(e);return function(e){return a(t,e)}}},{"@tannin/evaluate":88,"@tannin/postfix":90}],88:[function(e,t,i){var d={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return t<e},">=":function(e,t){return t<=e},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,i){if(e)throw t;return i}};t.exports=function(e,t){for(var i,n,s,a,o,r=[],l=0;l<e.length;l++){if(s=d[a=e[l]]){for(i=s.length,n=Array(i);i--;)n[i]=r.pop();try{o=s.apply(null,n)}catch(e){return e}}else o=t.hasOwnProperty(a)?t[a]:+a;r.push(o)}return r[0]}},{}],89:[function(e,t,i){var n=(e=e("@tannin/compile"))&&"object"==typeof e&&"default"in e?e.default:e;t.exports=function(e){var t=n(e);return function(e){return+t({n:e})}}},{"@tannin/compile":87}],90:[function(e,t,i){var r,l,d,c;r={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},l=["(","?"],d={")":["("],":":["?","?:"]},c=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/,t.exports=function(e){for(var t,i,n,s,a=[],o=[];t=e.match(c);){for(i=t[0],(n=e.substr(0,t.index).trim())&&a.push(n);s=o.pop();){if(d[i]){if(d[i][0]===s){i=d[i][1]||i;break}}else if(0<=l.indexOf(s)||r[s]<r[i]){o.push(s);break}a.push(s)}d[i]||o.push(i),e=e.substr(t.index+i.length)}return(e=e.trim())&&a.push(e),a.concat(o.reverse())}},{}],91:[function(e,t,i){var n=e("@babel/runtime/helpers/interopRequireDefault"),d=(Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,n(e("./validateNamespace.js"))),c=n(e("./validateHookName.js"));i.default=function(r,l){return function(i,e,t,n=10){var s=r[l];if((0,c.default)(i)&&(0,d.default)(e)&&"function"==typeof t&&"number"==typeof n){var a={callback:t,priority:n,namespace:e};if(s[i]){var o=s[i].handlers;let t;for(t=o.length;0<t&&!(n>=o[t-1].priority);t--);t===o.length?o[t]=a:o.splice(t,0,a),s.__current.forEach(e=>{e.name===i&&e.currentIndex>=t&&e.currentIndex++})}else s[i]={handlers:[a],runs:0};"hookAdded"!==i&&r.doAction("hookAdded",i,e,t,n)}}}},{"./validateHookName.js":100,"./validateNamespace.js":101,"@babel/runtime/helpers/interopRequireDefault":85}],92:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=function(t,i){return function(){var e=t[i];return null!=(e=e.__current[e.__current.length-1]?.name)?e:null}}},{}],93:[function(e,t,i){var n=e("@babel/runtime/helpers/interopRequireDefault"),s=(Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,n(e("./validateHookName.js")));i.default=function(i,n){return function(e){var t=i[n];if((0,s.default)(e))return t[e]&&t[e].runs?t[e].runs:0}}},{"./validateHookName.js":100,"@babel/runtime/helpers/interopRequireDefault":85}],94:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=function(i,n){return function(e){var t=i[n];return void 0===e?void 0!==t.__current[0]:!!t.__current[0]&&e===t.__current[0].name}}},{}],95:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=function(n,s){return function(e,t){var i=n[s];return void 0!==t?e in i&&i[e].handlers.some(e=>e.namespace===t):e in i}}},{}],96:[function(e,t,i){var n=e("@babel/runtime/helpers/interopRequireDefault"),s=(Object.defineProperty(i,"__esModule",{value:!0}),i.default=i._Hooks=void 0,n(e("./createAddHook"))),a=n(e("./createRemoveHook")),o=n(e("./createHasHook")),r=n(e("./createRunHook")),l=n(e("./createCurrentHook")),d=n(e("./createDoingHook")),c=n(e("./createDidHook"));class u{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=(0,s.default)(this,"actions"),this.addFilter=(0,s.default)(this,"filters"),this.removeAction=(0,a.default)(this,"actions"),this.removeFilter=(0,a.default)(this,"filters"),this.hasAction=(0,o.default)(this,"actions"),this.hasFilter=(0,o.default)(this,"filters"),this.removeAllActions=(0,a.default)(this,"actions",!0),this.removeAllFilters=(0,a.default)(this,"filters",!0),this.doAction=(0,r.default)(this,"actions"),this.applyFilters=(0,r.default)(this,"filters",!0),this.currentAction=(0,l.default)(this,"actions"),this.currentFilter=(0,l.default)(this,"filters"),this.doingAction=(0,d.default)(this,"actions"),this.doingFilter=(0,d.default)(this,"filters"),this.didAction=(0,c.default)(this,"actions"),this.didFilter=(0,c.default)(this,"filters")}}i._Hooks=u;i.default=function(){return new u}},{"./createAddHook":91,"./createCurrentHook":92,"./createDidHook":93,"./createDoingHook":94,"./createHasHook":95,"./createRemoveHook":97,"./createRunHook":98,"@babel/runtime/helpers/interopRequireDefault":85}],97:[function(e,t,i){var n=e("@babel/runtime/helpers/interopRequireDefault"),r=(Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,n(e("./validateNamespace.js"))),l=n(e("./validateHookName.js"));i.default=function(t,e,o=!1){return function(i,n){var s=t[e];if((0,l.default)(i)&&(o||(0,r.default)(n))){if(!s[i])return 0;let e=0;if(o)e=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else{var a=s[i].handlers;for(let t=a.length-1;0<=t;t--)a[t].namespace===n&&(a.splice(t,1),e++,s.__current.forEach(e=>{e.name===i&&e.currentIndex>=t&&e.currentIndex--}))}return"hookRemoved"!==i&&t.doAction("hookRemoved",i,n),e}}}},{"./validateHookName.js":100,"./validateNamespace.js":101,"@babel/runtime/helpers/interopRequireDefault":85}],98:[function(e,t,i){!function(d){!function(){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=function(o,r,l=!1){return function(e,...t){var i=o[r],n=(i[e]||(i[e]={handlers:[],runs:0}),i[e].runs++,i[e].handlers);if("production"!==d.env.NODE_ENV&&"hookAdded"!==e&&i.all&&n.push(...i.all.handlers),n&&n.length){var s={name:e,currentIndex:0};for(i.__current.push(s);s.currentIndex<n.length;){var a=n[s.currentIndex].callback.apply(null,t);l&&(t[0]=a),s.currentIndex++}i.__current.pop()}return l?t[0]:void 0}}}.call(this)}.call(this,e("_process"))},{_process:109}],99:[function(e,t,i){var n=e("@babel/runtime/helpers/interopRequireDefault"),s=(Object.defineProperty(i,"__esModule",{value:!0}),i.applyFilters=i.addFilter=i.addAction=i.actions=void 0,Object.defineProperty(i,"createHooks",{enumerable:!0,get:function(){return s.default}}),i.removeFilter=i.removeAllFilters=i.removeAllActions=i.removeAction=i.hasFilter=i.hasAction=i.filters=i.doingFilter=i.doingAction=i.doAction=i.didFilter=i.didAction=i.defaultHooks=i.currentFilter=i.currentAction=void 0,n(e("./createHooks"))),{addAction:n,addFilter:e,removeAction:a,removeFilter:o,hasAction:r,hasFilter:l,removeAllActions:d,removeAllFilters:c,doAction:u,applyFilters:p,currentAction:h,currentFilter:m,doingAction:g,doingFilter:f,didAction:v,didFilter:y,actions:w,filters:b}=i.defaultHooks=(0,s.default)();i.filters=b,i.actions=w,i.didFilter=y,i.didAction=v,i.doingFilter=f,i.doingAction=g,i.currentFilter=m,i.currentAction=h,i.applyFilters=p,i.doAction=u,i.removeAllFilters=c,i.removeAllActions=d,i.hasFilter=l,i.hasAction=r,i.removeFilter=o,i.removeAction=a,i.addFilter=e,i.addAction=n},{"./createHooks":96,"@babel/runtime/helpers/interopRequireDefault":85}],100:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=function(e){return"string"==typeof e&&""!==e&&!/^__/.test(e)&&!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)}},{}],101:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;i.default=function(e){return"string"==typeof e&&""!==e&&!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)}},{}],102:[function(e,t,i){var n=e("@babel/runtime/helpers/interopRequireDefault"),u=(Object.defineProperty(i,"__esModule",{value:!0}),i.createI18n=void 0,n(e("tannin")));let p={"":{plural_forms(e){return 1===e?0:1}}},h=/^i18n\.(n?gettext|has_translation)(_|$)/;i.createI18n=(e,t,o)=>{let a=new u.default({}),i=new Set,n=()=>{i.forEach(e=>e())};let r=(e,t="default")=>{a.data[t]={...a.data[t],...e},a.data[t][""]={...p[""],...a.data[t]?.[""]},delete a.pluralForms[t]},s=(e,t)=>{r(e,t),n()};let l=(e="default",t,i,n,s)=>(a.data[e]||r(void 0,e),a.dcnpgettext(e,t,i,n,s)),d=(e="default")=>e;let c=(e,t,i)=>{var n=l(i,t,e);return o?(n=o.applyFilters("i18n.gettext_with_context",n,e,t,i),o.applyFilters("i18n.gettext_with_context_"+d(i),n,e,t,i)):n};return e&&s(e,t),o&&(o.addAction("hookAdded","core/i18n",e=e=>{h.test(e)&&n()}),o.addAction("hookRemoved","core/i18n",e)),{getLocaleData:(e="default")=>a.data[e],setLocaleData:s,addLocaleData:(e,t="default")=>{a.data[t]={...a.data[t],...e,"":{...p[""],...a.data[t]?.[""],...e?.[""]}},delete a.pluralForms[t],n()},resetLocaleData:(e,t)=>{a.data={},a.pluralForms={},s(e,t)},subscribe:e=>(i.add(e),()=>i.delete(e)),__:(e,t)=>{var i=l(t,void 0,e);return o?(i=o.applyFilters("i18n.gettext",i,e,t),o.applyFilters("i18n.gettext_"+d(t),i,e,t)):i},_x:c,_n:(e,t,i,n)=>{var s=l(n,void 0,e,t,i);return o?(s=o.applyFilters("i18n.ngettext",s,e,t,i,n),o.applyFilters("i18n.ngettext_"+d(n),s,e,t,i,n)):s},_nx:(e,t,i,n,s)=>{var a=l(s,n,e,t,i);return o?(a=o.applyFilters("i18n.ngettext_with_context",a,e,t,i,n,s),o.applyFilters("i18n.ngettext_with_context_"+d(s),a,e,t,i,n,s)):a},isRTL:()=>"rtl"===c("ltr","text direction"),hasTranslation:(e,t,i)=>{var n=t?t+""+e:e;let s=!!a.data?.[null!=i?i:"default"]?.[n];return o&&(s=o.applyFilters("i18n.has_translation",s,e,t,i),s=o.applyFilters("i18n.has_translation_"+d(i),s,e,t,i)),s}}}},{"@babel/runtime/helpers/interopRequireDefault":85,tannin:111}],103:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.subscribe=i.setLocaleData=i.resetLocaleData=i.isRTL=i.hasTranslation=i.getLocaleData=i.default=i._x=i._nx=i._n=i.__=void 0;var n=e("./create-i18n"),e=e("@wordpress/hooks"),n=(0,n.createI18n)(void 0,void 0,e.defaultHooks);i.default=n,i.getLocaleData=n.getLocaleData.bind(n),i.setLocaleData=n.setLocaleData.bind(n),i.resetLocaleData=n.resetLocaleData.bind(n),i.subscribe=n.subscribe.bind(n),i.__=n.__.bind(n),i._x=n._x.bind(n),i._n=n._n.bind(n),i._nx=n._nx.bind(n),i.isRTL=n.isRTL.bind(n),i.hasTranslation=n.hasTranslation.bind(n)},{"./create-i18n":102,"@wordpress/hooks":99}],104:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0});var n={sprintf:!0,defaultI18n:!0,setLocaleData:!0,resetLocaleData:!0,getLocaleData:!0,subscribe:!0,__:!0,_x:!0,_n:!0,_nx:!0,isRTL:!0,hasTranslation:!0},s=(Object.defineProperty(i,"__",{enumerable:!0,get:function(){return o.__}}),Object.defineProperty(i,"_n",{enumerable:!0,get:function(){return o._n}}),Object.defineProperty(i,"_nx",{enumerable:!0,get:function(){return o._nx}}),Object.defineProperty(i,"_x",{enumerable:!0,get:function(){return o._x}}),Object.defineProperty(i,"defaultI18n",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(i,"getLocaleData",{enumerable:!0,get:function(){return o.getLocaleData}}),Object.defineProperty(i,"hasTranslation",{enumerable:!0,get:function(){return o.hasTranslation}}),Object.defineProperty(i,"isRTL",{enumerable:!0,get:function(){return o.isRTL}}),Object.defineProperty(i,"resetLocaleData",{enumerable:!0,get:function(){return o.resetLocaleData}}),Object.defineProperty(i,"setLocaleData",{enumerable:!0,get:function(){return o.setLocaleData}}),Object.defineProperty(i,"sprintf",{enumerable:!0,get:function(){return s.sprintf}}),Object.defineProperty(i,"subscribe",{enumerable:!0,get:function(){return o.subscribe}}),e("./sprintf")),a=e("./create-i18n"),o=(Object.keys(a).forEach(function(e){"default"===e||"__esModule"===e||Object.prototype.hasOwnProperty.call(n,e)||e in i&&i[e]===a[e]||Object.defineProperty(i,e,{enumerable:!0,get:function(){return a[e]}})}),((e,t)=>{if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};if((t=r(t))&&t.has(e))return t.get(e);var i,n,s={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(i in e)"default"!==i&&{}.hasOwnProperty.call(e,i)&&((n=a?Object.getOwnPropertyDescriptor(e,i):null)&&(n.get||n.set)?Object.defineProperty(s,i,n):s[i]=e[i]);return s.default=e,t&&t.set(e,s),s})(e("./default-i18n")));function r(e){var t,i;return"function"!=typeof WeakMap?null:(t=new WeakMap,i=new WeakMap,(r=function(e){return e?i:t})(e))}},{"./create-i18n":102,"./default-i18n":103,"./sprintf":105}],105:[function(e,t,i){var n=e("@babel/runtime/helpers/interopRequireDefault"),i=(Object.defineProperty(i,"__esModule",{value:!0}),i.sprintf=function(t,...e){try{return s.default.sprintf(t,...e)}catch(e){return e instanceof Error&&a("sprintf error: \n\n"+e.toString()),t}},n(e("memize"))),s=n(e("sprintf-js"));let a=(0,i.default)(console.error)},{"@babel/runtime/helpers/interopRequireDefault":85,memize:108,"sprintf-js":110}],106:[function(e,t,i){var n;n=function(a){for(var o=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1",5,["684"]],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1",6,["264"]],["Antigua and Barbuda","ag","1",7,["268"]],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Ascension Island","ac","247"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1",8,["242"]],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1",9,["246"]],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1",10,["441"]],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1",11,["284"]],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1,["3","4","7"]],["Cayman Islands","ky","1",12,["345"]],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2,["89164"]],["Cocos (Keeling) Islands","cc","61",1,["89162"]],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1",13,["767"]],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Eswatini","sz","268"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1",14,["473"]],["Guadeloupe","gp","590",0],["Guam","gu","1",15,["671"]],["Guatemala","gt","502"],["Guernsey","gg","44",1,["1481","7781","7839","7911"]],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2,["1624","74576","7524","7924","7624"]],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1",4,["876","658"]],["Japan (日本)","jp","81"],["Jersey","je","44",3,["1534","7509","7700","7797","7829","7937"]],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1,["33","7"]],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1,["269","639"]],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1",16,["664"]],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["North Macedonia (Северна Македонија)","mk","389"],["Northern Mariana Islands","mp","1",17,["670"]],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1",18,["869"]],["Saint Lucia","lc","1",19,["758"]],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1",20,["784"]],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1",21,["721"]],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1,["79"]],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1",22,["868"]],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1",23,["649"]],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1",24,["340"]],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1,["06698"]],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1,["5288","5289"]],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1,["18"]]],e=0;e<o.length;e++){var t=o[e];o[e]={name:t[0],iso2:t[1],dialCode:t[2],priority:t[3]||0,areaCodes:t[4]||null}}function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function r(e,t){for(var i=Object.keys(e),n=0;n<i.length;n++)t(i[n],e[i[n]])}function l(t){r(window.intlTelInputGlobals.instances,function(e){window.intlTelInputGlobals.instances[e][t]()})}function s(e,t,i){var n=document.createElement("script");n.onload=function(){l("handleUtils"),t&&t()},n.onerror=function(){l("rejectUtilsScriptPromise"),i&&i()},n.className="iti-load-utils",n.async=!0,n.src=e,document.body.appendChild(n)}var i={getInstance:function(e){e=e.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[e]},instances:{},documentReady:function(){return"complete"===document.readyState}},d=("object"==typeof window&&(window.intlTelInputGlobals=i),0),c={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customContainer:"",customPlaceholder:null,dropdownContainer:null,excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",localizedCountries:null,nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},u=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"],p=(()=>{function s(e,t){var i=this;if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");this.id=d++,this.telInput=e,this.activeItem=null,this.highlightedItem=null;var n=t||{};this.options={},r(c,function(e,t){i.options[e]=n.hasOwnProperty(e)?n[e]:t}),this.hadInitialPlaceholder=Boolean(e.getAttribute("placeholder"))}var e,t,i;return e=s,(t=[{key:"_init",value:function(){var e,t,i=this;this.options.nationalMode&&(this.options.autoHideDialCode=!1),this.options.separateDialCode&&(this.options.autoHideDialCode=this.options.nationalMode=!1),this.isMobile=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.isMobile&&(document.body.classList.add("iti-mobile"),this.options.dropdownContainer||(this.options.dropdownContainer=document.body)),"undefined"!=typeof Promise?(e=new Promise(function(e,t){i.resolveAutoCountryPromise=e,i.rejectAutoCountryPromise=t}),t=new Promise(function(e,t){i.resolveUtilsScriptPromise=e,i.rejectUtilsScriptPromise=t}),this.promise=Promise.all([e,t])):(this.resolveAutoCountryPromise=this.rejectAutoCountryPromise=function(){},this.resolveUtilsScriptPromise=this.rejectUtilsScriptPromise=function(){}),this.selectedCountryData={},this._processCountryData(),this._generateMarkup(),this._setInitialState(),this._initListeners(),this._initRequests()}},{key:"_processCountryData",value:function(){this._processAllCountries(),this._processCountryCodes(),this._processPreferredCountries(),this.options.localizedCountries&&this._translateCountriesByLocale(),(this.options.onlyCountries.length||this.options.localizedCountries)&&this.countries.sort(this._countryNameSort)}},{key:"_addCountryCode",value:function(e,t,i){t.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=t.length),this.countryCodes.hasOwnProperty(t)||(this.countryCodes[t]=[]);for(var n=0;n<this.countryCodes[t].length;n++)if(this.countryCodes[t][n]===e)return;i=i!==a?i:this.countryCodes[t].length;this.countryCodes[t][i]=e}},{key:"_processAllCountries",value:function(){var t,i;this.options.onlyCountries.length?(t=this.options.onlyCountries.map(function(e){return e.toLowerCase()}),this.countries=o.filter(function(e){return-1<t.indexOf(e.iso2)})):this.options.excludeCountries.length?(i=this.options.excludeCountries.map(function(e){return e.toLowerCase()}),this.countries=o.filter(function(e){return-1===i.indexOf(e.iso2)})):this.countries=o}},{key:"_translateCountriesByLocale",value:function(){for(var e=0;e<this.countries.length;e++){var t=this.countries[e].iso2.toLowerCase();this.options.localizedCountries.hasOwnProperty(t)&&(this.countries[e].name=this.options.localizedCountries[t])}}},{key:"_countryNameSort",value:function(e,t){return e.name.localeCompare(t.name)}},{key:"_processCountryCodes",value:function(){this.countryCodeMaxLen=0,this.dialCodes={},this.countryCodes={};for(var e=0;e<this.countries.length;e++){var t=this.countries[e];this.dialCodes[t.dialCode]||(this.dialCodes[t.dialCode]=!0),this._addCountryCode(t.iso2,t.dialCode,t.priority)}for(var i=0;i<this.countries.length;i++){var n=this.countries[i];if(n.areaCodes)for(var s=this.countryCodes[n.dialCode][0],a=0;a<n.areaCodes.length;a++){for(var o=n.areaCodes[a],r=1;r<o.length;r++){var l=n.dialCode+o.substr(0,r);this._addCountryCode(s,l),this._addCountryCode(n.iso2,l)}this._addCountryCode(n.iso2,n.dialCode+o)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var e=0;e<this.options.preferredCountries.length;e++){var t=this.options.preferredCountries[e].toLowerCase(),t=this._getCountryData(t,!1,!0);t&&this.preferredCountries.push(t)}}},{key:"_createEl",value:function(e,t,i){var n=document.createElement(e);return t&&r(t,function(e,t){n.setAttribute(e,t)}),i&&i.appendChild(n),n}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var e,t,i,n="iti",n=(this.options.allowDropdown&&(n+=" iti--allow-dropdown"),this.options.separateDialCode&&(n+=" iti--separate-dial-code"),this.options.customContainer&&(n=n+" "+this.options.customContainer),this._createEl("div",{class:n}));this.telInput.parentNode.insertBefore(n,this.telInput),this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},n),n.appendChild(this.telInput),this.selectedFlag=this._createEl("div",{class:"iti__selected-flag",role:"combobox","aria-controls":"iti-".concat(this.id,"__country-listbox"),"aria-owns":"iti-".concat(this.id,"__country-listbox"),"aria-expanded":"false"},this.flagsContainer),this.selectedFlagInner=this._createEl("div",{class:"iti__flag"},this.selectedFlag),this.options.separateDialCode&&(this.selectedDialCode=this._createEl("div",{class:"iti__selected-dial-code"},this.selectedFlag)),this.options.allowDropdown&&(this.selectedFlag.setAttribute("tabindex","0"),this.dropdownArrow=this._createEl("div",{class:"iti__arrow"},this.selectedFlag),this.countryList=this._createEl("ul",{class:"iti__country-list iti__hide",id:"iti-".concat(this.id,"__country-listbox"),role:"listbox","aria-label":"List of countries"}),this.preferredCountries.length&&(this._appendListItems(this.preferredCountries,"iti__preferred",!0),this._createEl("li",{class:"iti__divider",role:"separator","aria-disabled":"true"},this.countryList)),this._appendListItems(this.countries,"iti__standard"),(this.options.dropdownContainer?(this.dropdown=this._createEl("div",{class:"iti iti--container"}),this.dropdown):this.flagsContainer).appendChild(this.countryList)),this.options.hiddenInput&&(e=this.options.hiddenInput,(t=this.telInput.getAttribute("name"))&&-1!==(i=t.lastIndexOf("["))&&(e="".concat(t.substr(0,i),"[").concat(e,"]")),this.hiddenInput=this._createEl("input",{type:"hidden",name:e}),n.appendChild(this.hiddenInput))}},{key:"_appendListItems",value:function(e,t,i){for(var n="",s=0;s<e.length;s++)var a=e[s],o=i?"-preferred":"",n=(n=(n=(n+="<li class='iti__country ".concat(t,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(a.iso2).concat(o,"' role='option' data-dial-code='").concat(a.dialCode,"' data-country-code='").concat(a.iso2,"' aria-selected='false'>"))+"<div class='iti__flag-box'><div class='iti__flag iti__".concat(a.iso2,"'></div></div>"))+"<span class='iti__country-name'>".concat(a.name,"</span>"))+"<span class='iti__dial-code'>+".concat(a.dialCode,"</span>")+"</li>";this.countryList.insertAdjacentHTML("beforeend",n)}},{key:"_setInitialState",value:function(){var e=this.telInput.getAttribute("value"),t=this.telInput.value,e=e&&"+"===e.charAt(0)&&(!t||"+"!==t.charAt(0))?e:t,t=this._getDialCode(e),i=this._isRegionlessNanp(e),n=this.options,s=n.initialCountry,a=n.nationalMode,o=n.autoHideDialCode,n=n.separateDialCode;t&&!i?this._updateFlagFromNumber(e):"auto"!==s&&(s?this._setFlag(s.toLowerCase()):t&&i?this._setFlag("us"):(this.defaultCountry=(this.preferredCountries.length?this.preferredCountries:this.countries)[0].iso2,e||this._setFlag(this.defaultCountry)),e||a||o||n||(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),e&&this._updateValFromNumber(e)}},{key:"_initListeners",value:function(){this._initKeyListeners(),this.options.autoHideDialCode&&this._initBlurListeners(),this.options.allowDropdown&&this._initDropdownListeners(),this.hiddenInput&&this._initHiddenInputListener()}},{key:"_initHiddenInputListener",value:function(){var e=this;this._handleHiddenInputSubmit=function(){e.hiddenInput.value=e.getNumber()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleHiddenInputSubmit)}},{key:"_getClosestLabel",value:function(){for(var e=this.telInput;e&&"LABEL"!==e.tagName;)e=e.parentNode;return e}},{key:"_initDropdownListeners",value:function(){var t=this,e=(this._handleLabelClick=function(e){t.countryList.classList.contains("iti__hide")?t.telInput.focus():e.preventDefault()},this._getClosestLabel());e&&e.addEventListener("click",this._handleLabelClick),this._handleClickSelectedFlag=function(){!t.countryList.classList.contains("iti__hide")||t.telInput.disabled||t.telInput.readOnly||t._showDropdown()},this.selectedFlag.addEventListener("click",this._handleClickSelectedFlag),this._handleFlagsContainerKeydown=function(e){t.countryList.classList.contains("iti__hide")&&-1!==["ArrowUp","Up","ArrowDown","Down"," ","Enter"].indexOf(e.key)&&(e.preventDefault(),e.stopPropagation(),t._showDropdown()),"Tab"===e.key&&t._closeDropdown()},this.flagsContainer.addEventListener("keydown",this._handleFlagsContainerKeydown)}},{key:"_initRequests",value:function(){var e=this;this.options.utilsScript&&!window.intlTelInputUtils?window.intlTelInputGlobals.documentReady()?window.intlTelInputGlobals.loadUtils(this.options.utilsScript):window.addEventListener("load",function(){window.intlTelInputGlobals.loadUtils(e.options.utilsScript)}):this.resolveUtilsScriptPromise(),"auto"===this.options.initialCountry?this._loadAutoCountry():this.resolveAutoCountryPromise()}},{key:"_loadAutoCountry",value:function(){window.intlTelInputGlobals.autoCountry?this.handleAutoCountry():window.intlTelInputGlobals.startedLoadingAutoCountry||(window.intlTelInputGlobals.startedLoadingAutoCountry=!0,"function"==typeof this.options.geoIpLookup&&this.options.geoIpLookup(function(e){window.intlTelInputGlobals.autoCountry=e.toLowerCase(),setTimeout(function(){return l("handleAutoCountry")})},function(){return l("rejectAutoCountryPromise")}))}},{key:"_initKeyListeners",value:function(){var e=this;this._handleKeyupEvent=function(){e._updateFlagFromNumber(e.telInput.value)&&e._triggerCountryChange()},this.telInput.addEventListener("keyup",this._handleKeyupEvent),this._handleClipboardEvent=function(){setTimeout(e._handleKeyupEvent)},this.telInput.addEventListener("cut",this._handleClipboardEvent),this.telInput.addEventListener("paste",this._handleClipboardEvent)}},{key:"_cap",value:function(e){var t=this.telInput.getAttribute("maxlength");return t&&e.length>t?e.substr(0,t):e}},{key:"_initBlurListeners",value:function(){var e=this;this._handleSubmitOrBlurEvent=function(){e._removeEmptyDialCode()},this.telInput.form&&this.telInput.form.addEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.addEventListener("blur",this._handleSubmitOrBlurEvent)}},{key:"_removeEmptyDialCode",value:function(){var e;"+"!==this.telInput.value.charAt(0)||(e=this._getNumeric(this.telInput.value))&&this.selectedCountryData.dialCode!==e||(this.telInput.value="")}},{key:"_getNumeric",value:function(e){return e.replace(/\D/g,"")}},{key:"_trigger",value:function(e){var t=document.createEvent("Event");t.initEvent(e,!0,!0),this.telInput.dispatchEvent(t)}},{key:"_showDropdown",value:function(){this.countryList.classList.remove("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","true"),this._setDropdownPosition(),this.activeItem&&(this._highlightListItem(this.activeItem,!1),this._scrollTo(this.activeItem,!0)),this._bindDropdownListeners(),this.dropdownArrow.classList.add("iti__arrow--up"),this._trigger("open:countrydropdown")}},{key:"_toggleClass",value:function(e,t,i){i&&!e.classList.contains(t)?e.classList.add(t):!i&&e.classList.contains(t)&&e.classList.remove(t)}},{key:"_setDropdownPosition",value:function(){var e,t,i,n,s,a=this;this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),this.isMobile||(e=this.telInput.getBoundingClientRect(),n=window.pageYOffset||document.documentElement.scrollTop,t=e.top+n,s=this.countryList.offsetHeight,i=t+this.telInput.offsetHeight+s<n+window.innerHeight,n=n<t-s,this._toggleClass(this.countryList,"iti__country-list--dropup",!i&&n),this.options.dropdownContainer&&(s=!i&&n?0:this.telInput.offsetHeight,this.dropdown.style.top="".concat(t+s,"px"),this.dropdown.style.left="".concat(e.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return a._closeDropdown()},window.addEventListener("scroll",this._handleWindowScroll)))}},{key:"_getClosestListItem",value:function(e){for(var t=e;t&&t!==this.countryList&&!t.classList.contains("iti__country");)t=t.parentNode;return t===this.countryList?null:t}},{key:"_bindDropdownListeners",value:function(){var t=this,e=(this._handleMouseoverCountryList=function(e){e=t._getClosestListItem(e.target);e&&t._highlightListItem(e,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(e){e=t._getClosestListItem(e.target);e&&t._selectListItem(e)},this.countryList.addEventListener("click",this._handleClickCountryList),!0),i=(this._handleClickOffToClose=function(){e||t._closeDropdown(),e=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose),""),n=null;this._handleKeydownOnDropdown=function(e){e.preventDefault(),"ArrowUp"===e.key||"Up"===e.key||"ArrowDown"===e.key||"Down"===e.key?t._handleUpDownKey(e.key):"Enter"===e.key?t._handleEnterKey():"Escape"===e.key?t._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)&&(n&&clearTimeout(n),i+=e.key.toLowerCase(),t._searchForCountry(i),n=setTimeout(function(){i=""},1e3))},document.addEventListener("keydown",this._handleKeydownOnDropdown)}},{key:"_handleUpDownKey",value:function(e){var t="ArrowUp"===e||"Up"===e?this.highlightedItem.previousElementSibling:this.highlightedItem.nextElementSibling;t&&(t.classList.contains("iti__divider")&&(t="ArrowUp"===e||"Up"===e?t.previousElementSibling:t.nextElementSibling),this._highlightListItem(t,!0))}},{key:"_handleEnterKey",value:function(){this.highlightedItem&&this._selectListItem(this.highlightedItem)}},{key:"_searchForCountry",value:function(e){for(var t=0;t<this.countries.length;t++)if(this._startsWith(this.countries[t].name,e)){var i=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[t].iso2));this._highlightListItem(i,!1),this._scrollTo(i,!0);break}}},{key:"_startsWith",value:function(e,t){return e.substr(0,t.length).toLowerCase()===t}},{key:"_updateValFromNumber",value:function(e){var t,i,n;this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData&&(t=!this.options.separateDialCode&&(this.options.nationalMode||"+"!==e.charAt(0)),n=(i=intlTelInputUtils.numberFormat).NATIONAL,e=intlTelInputUtils.formatNumber(e,this.selectedCountryData.iso2,t?n:i.INTERNATIONAL)),e=this._beforeSetNumber(e),this.telInput.value=e}},{key:"_updateFlagFromNumber",value:function(e){var t=this.selectedCountryData.dialCode,i=(e&&this.options.nationalMode&&"1"===t&&"+"!==e.charAt(0)&&("1"!==e.charAt(0)&&(e="1".concat(e)),e="+".concat(e)),this.options.separateDialCode&&t&&"+"!==e.charAt(0)&&(e="+".concat(t).concat(e)),this._getDialCode(e,!0)),n=this._getNumeric(e),s=null;if(i){var a=this.countryCodes[this._getNumeric(i)],i=-1!==a.indexOf(this.selectedCountryData.iso2)&&n.length<=i.length-1;if(!("1"===t&&this._isRegionlessNanp(n))&&!i)for(var o=0;o<a.length;o++)if(a[o]){s=a[o];break}}else"+"===e.charAt(0)&&n.length?s="":e&&"+"!==e||(s=this.defaultCountry);return null!==s&&this._setFlag(s)}},{key:"_isRegionlessNanp",value:function(e){var e=this._getNumeric(e);return"1"===e.charAt(0)&&(e=e.substr(1,3),-1!==u.indexOf(e))}},{key:"_highlightListItem",value:function(e,t){var i=this.highlightedItem;i&&i.classList.remove("iti__highlight"),this.highlightedItem=e,this.highlightedItem.classList.add("iti__highlight"),t&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(e,t,i){for(var n=t?o:this.countries,s=0;s<n.length;s++)if(n[s].iso2===e)return n[s];if(i)return null;throw new Error("No country data for '".concat(e,"'"))}},{key:"_setFlag",value:function(e){var t=this.selectedCountryData.iso2?this.selectedCountryData:{},i=(this.selectedCountryData=e?this._getCountryData(e,!1,!1):{},this.selectedCountryData.iso2&&(this.defaultCountry=this.selectedCountryData.iso2),this.selectedFlagInner.setAttribute("class","iti__flag iti__".concat(e)),e?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown");return this.selectedFlag.setAttribute("title",i),this.options.separateDialCode&&(i=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"",this.selectedDialCode.innerHTML=i,i=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth(),this.telInput.style.paddingLeft="".concat(i+6,"px")),this._updatePlaceholder(),this.options.allowDropdown&&((i=this.activeItem)&&(i.classList.remove("iti__active"),i.setAttribute("aria-selected","false")),e)&&((i=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e,"-preferred"))||this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(e))).setAttribute("aria-selected","true"),i.classList.add("iti__active"),this.activeItem=i,this.selectedFlag.setAttribute("aria-activedescendant",i.getAttribute("id"))),t.iso2!==e}},{key:"_getHiddenSelectedFlagWidth",value:function(){var e=this.telInput.parentNode.cloneNode(),t=(e.style.visibility="hidden",document.body.appendChild(e),this.flagsContainer.cloneNode()),i=(e.appendChild(t),this.selectedFlag.cloneNode(!0)),t=(t.appendChild(i),i.offsetWidth);return e.parentNode.removeChild(e),t}},{key:"_updatePlaceholder",value:function(){var e="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;window.intlTelInputUtils&&e&&(e=intlTelInputUtils.numberType[this.options.placeholderNumberType],e=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,e):"",e=this._beforeSetNumber(e),"function"==typeof this.options.customPlaceholder&&(e=this.options.customPlaceholder(e,this.selectedCountryData)),this.telInput.setAttribute("placeholder",e))}},{key:"_selectListItem",value:function(e){var t=this._setFlag(e.getAttribute("data-country-code")),e=(this._closeDropdown(),this._updateDialCode(e.getAttribute("data-dial-code"),!0),this.telInput.focus(),this.telInput.value.length);this.telInput.setSelectionRange(e,e),t&&this._triggerCountryChange()}},{key:"_closeDropdown",value:function(){this.countryList.classList.add("iti__hide"),this.selectedFlag.setAttribute("aria-expanded","false"),this.dropdownArrow.classList.remove("iti__arrow--up"),document.removeEventListener("keydown",this._handleKeydownOnDropdown),document.documentElement.removeEventListener("click",this._handleClickOffToClose),this.countryList.removeEventListener("mouseover",this._handleMouseoverCountryList),this.countryList.removeEventListener("click",this._handleClickCountryList),this.options.dropdownContainer&&(this.isMobile||window.removeEventListener("scroll",this._handleWindowScroll),this.dropdown.parentNode)&&this.dropdown.parentNode.removeChild(this.dropdown),this._trigger("close:countrydropdown")}},{key:"_scrollTo",value:function(e,t){var i=this.countryList,n=window.pageYOffset||document.documentElement.scrollTop,s=i.offsetHeight,a=i.getBoundingClientRect().top+n,o=a+s,r=e.offsetHeight,e=e.getBoundingClientRect().top+n,n=e+r,l=e-a+i.scrollTop,d=s/2-r/2;e<a?(t&&(l-=d),i.scrollTop=l):o<n&&(t&&(l+=d),i.scrollTop=l-(s-r))}},{key:"_updateDialCode",value:function(e,t){var i=this.telInput.value,e="+".concat(e);if("+"===i.charAt(0))var n=this._getDialCode(i),n=n?i.replace(n,e):e;else{if(this.options.nationalMode||this.options.separateDialCode)return;if(i)n=e+i;else{if(!t&&this.options.autoHideDialCode)return;n=e}}this.telInput.value=n}},{key:"_getDialCode",value:function(e,t){var i="";if("+"===e.charAt(0))for(var n="",s=0;s<e.length;s++){var a=e.charAt(s);if(!isNaN(parseInt(a,10))){if(n+=a,t)this.countryCodes[n]&&(i=e.substr(0,s+1));else if(this.dialCodes[n]){i=e.substr(0,s+1);break}if(n.length===this.countryCodeMaxLen)break}}return i}},{key:"_getFullNumber",value:function(){var e=this.telInput.value.trim(),t=this.selectedCountryData.dialCode,i=this._getNumeric(e),i=this.options.separateDialCode&&"+"!==e.charAt(0)&&t&&i?"+".concat(t):"";return i+e}},{key:"_beforeSetNumber",value:function(e){var t;return this.options.separateDialCode&&this._getDialCode(e)&&(t=" "===e[(t="+".concat(this.selectedCountryData.dialCode)).length]||"-"===e[t.length]?t.length+1:t.length,e=e.substr(t)),this._cap(e)}},{key:"_triggerCountryChange",value:function(){this._trigger("countrychange")}},{key:"handleAutoCountry",value:function(){"auto"===this.options.initialCountry&&(this.defaultCountry=window.intlTelInputGlobals.autoCountry,this.telInput.value||this.setCountry(this.defaultCountry),this.resolveAutoCountryPromise())}},{key:"handleUtils",value:function(){window.intlTelInputUtils&&(this.telInput.value&&this._updateValFromNumber(this.telInput.value),this._updatePlaceholder()),this.resolveUtilsScriptPromise()}},{key:"destroy",value:function(){var e=this.telInput.form,t=(this.options.allowDropdown&&(this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown),t=this._getClosestLabel())&&t.removeEventListener("click",this._handleLabelClick),this.hiddenInput&&e&&e.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoHideDialCode&&(e&&e.removeEventListener("submit",this._handleSubmitOrBlurEvent),this.telInput.removeEventListener("blur",this._handleSubmitOrBlurEvent)),this.telInput.removeEventListener("keyup",this._handleKeyupEvent),this.telInput.removeEventListener("cut",this._handleClipboardEvent),this.telInput.removeEventListener("paste",this._handleClipboardEvent),this.telInput.removeAttribute("data-intl-tel-input-id"),this.telInput.parentNode);t.parentNode.insertBefore(this.telInput,t),t.parentNode.removeChild(t),delete window.intlTelInputGlobals.instances[this.id]}},{key:"getExtension",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getExtension(this._getFullNumber(),this.selectedCountryData.iso2):""}},{key:"getNumber",value:function(e){var t;return window.intlTelInputUtils?(t=this.selectedCountryData.iso2,intlTelInputUtils.formatNumber(this._getFullNumber(),t,e)):""}},{key:"getNumberType",value:function(){return window.intlTelInputUtils?intlTelInputUtils.getNumberType(this._getFullNumber(),this.selectedCountryData.iso2):-99}},{key:"getSelectedCountryData",value:function(){return this.selectedCountryData}},{key:"getValidationError",value:function(){var e;return window.intlTelInputUtils?(e=this.selectedCountryData.iso2,intlTelInputUtils.getValidationError(this._getFullNumber(),e)):-99}},{key:"isValidNumber",value:function(){var e=this._getFullNumber().trim(),t=this.options.nationalMode?this.selectedCountryData.iso2:"";return window.intlTelInputUtils?intlTelInputUtils.isValidNumber(e,t):null}},{key:"setCountry",value:function(e){e=e.toLowerCase();this.selectedFlagInner.classList.contains("iti__".concat(e))||(this._setFlag(e),this._updateDialCode(this.selectedCountryData.dialCode,!1),this._triggerCountryChange())}},{key:"setNumber",value:function(e){var t=this._updateFlagFromNumber(e);this._updateValFromNumber(e),t&&this._triggerCountryChange()}},{key:"setPlaceholderNumberType",value:function(e){this.options.placeholderNumberType=e,this._updatePlaceholder()}}])&&n(e.prototype,t),i&&n(e,i),s})();return i.getCountryData=function(){return o},i.loadUtils=function(i){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise(function(e,t){return s(i,e,t)});s(i)}return null},i.defaults=c,i.version="17.0.21",function(e,t){t=new p(e,t);return t._init(),e.setAttribute("data-intl-tel-input-id",t.id),window.intlTelInputGlobals.instances[t.id]=t}},"object"==typeof t&&t.exports?t.exports=n():window.intlTelInput=n()},{}],107:[function(e,t,i){t.exports=e("./build/js/intlTelInput")},{"./build/js/intlTelInput":106}],108:[function(e,t,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(s,a){var o,r,l=0;function e(){var e,t,i=o,n=arguments.length;e:for(;i;){if(i.args.length===arguments.length){for(t=0;t<n;t++)if(i.args[t]!==arguments[t]){i=i.next;continue e}return i!==o&&(i===r&&(r=i.prev),i.prev.next=i.next,i.next&&(i.next.prev=i.prev),i.next=o,i.prev=null,o.prev=i,o=i),i.val}i=i.next}for(e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];return i={args:e,val:s.apply(null,e)},o?(o.prev=i).next=o:r=i,l===a.maxSize?(r=r.prev).next=null:l++,(o=i).val}return a=a||{},e.clear=function(){r=o=null,l=0},e}},{}],109:[function(e,t,i){var n,s,t=t.exports={};function a(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{s="function"==typeof clearTimeout?clearTimeout:o}catch(e){s=o}function r(t){if(n===setTimeout)return setTimeout(t,0);if((n===a||!n)&&setTimeout)return(n=setTimeout)(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}var l,d=[],c=!1,u=-1;function p(){c&&l&&(c=!1,l.length?d=l.concat(d):u=-1,d.length)&&h()}function h(){if(!c){for(var e=r(p),t=(c=!0,d.length);t;){for(l=d,d=[];++u<t;)l&&l[u].run();u=-1,t=d.length}l=null,c=!1,!function(t){if(s===clearTimeout)return clearTimeout(t);if((s===o||!s)&&clearTimeout)return(s=clearTimeout)(t);try{s(t)}catch(e){try{return s.call(null,t)}catch(e){return s.call(this,t)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}t.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var i=1;i<arguments.length;i++)t[i-1]=arguments[i];d.push(new m(e,t)),1!==d.length||c||r(h)},m.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=g,t.addListener=g,t.once=g,t.off=g,t.removeListener=g,t.removeAllListeners=g,t.emit=g,t.prependListener=g,t.prependOnceListener=g,t.listeners=function(e){return[]},t.binding=function(e){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(e){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}},{}],110:[function(e,t,i){function m(e){var t,i,n,s,a,o,r,l,d=(e=>{if(f[e])return f[e];for(var t,i=e,n=[],s=0;i;){if(null!==(t=g.text.exec(i)))n.push(t[0]);else if(null!==(t=g.modulo.exec(i)))n.push("%");else{if(null===(t=g.placeholder.exec(i)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){s|=1;var a=[],o=t[2],r=[];if(null===(r=g.key.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(r[1]);""!==(o=o.substring(r[0].length));){if(null===(r=g.key_access.exec(o))&&null===(r=g.index_access.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(r[1])}t[2]=a}else s|=2;if(3===s)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}i=i.substring(t[0].length)}return f[e]=n})(e),c=arguments,u=1,p=d.length,h="";for(i=0;i<p;i++)if("string"==typeof d[i])h+=d[i];else if("object"==typeof d[i]){if((s=d[i]).keys)for(t=c[u],n=0;n<s.keys.length;n++){if(null==t)throw new Error(m('[sprintf] Cannot access property "%s" of undefined value "%s"',s.keys[n],s.keys[n-1]));t=t[s.keys[n]]}else t=s.param_no?c[s.param_no]:c[u++];if(g.not_type.test(s.type)&&g.not_primitive.test(s.type)&&t instanceof Function&&(t=t()),g.numeric_arg.test(s.type)&&"number"!=typeof t&&isNaN(t))throw new TypeError(m("[sprintf] expecting number but found %T",t));switch(g.number.test(s.type)&&(r=0<=t),s.type){case"b":t=parseInt(t,10).toString(2);break;case"c":t=String.fromCharCode(parseInt(t,10));break;case"d":case"i":t=parseInt(t,10);break;case"j":t=JSON.stringify(t,null,s.width?parseInt(s.width):0);break;case"e":t=s.precision?parseFloat(t).toExponential(s.precision):parseFloat(t).toExponential();break;case"f":t=s.precision?parseFloat(t).toFixed(s.precision):parseFloat(t);break;case"g":t=s.precision?String(Number(t.toPrecision(s.precision))):parseFloat(t);break;case"o":t=(parseInt(t,10)>>>0).toString(8);break;case"s":t=String(t),t=s.precision?t.substring(0,s.precision):t;break;case"t":t=String(!!t),t=s.precision?t.substring(0,s.precision):t;break;case"T":t=Object.prototype.toString.call(t).slice(8,-1).toLowerCase(),t=s.precision?t.substring(0,s.precision):t;break;case"u":t=parseInt(t,10)>>>0;break;case"v":t=t.valueOf(),t=s.precision?t.substring(0,s.precision):t;break;case"x":t=(parseInt(t,10)>>>0).toString(16);break;case"X":t=(parseInt(t,10)>>>0).toString(16).toUpperCase()}g.json.test(s.type)?h+=t:(!g.number.test(s.type)||r&&!s.sign?l="":(l=r?"+":"-",t=t.toString().replace(g.sign,"")),a=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",o=s.width-(l+t).length,o=s.width&&0<o?a.repeat(o):"",h+=s.align?l+t+o:"0"===a?l+o+t:o+l+t)}return h}function n(e,t){return m.apply(null,[e].concat(t||[]))}var g,f;g={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/},f=Object.create(null),void 0!==i&&(i.sprintf=m,i.vsprintf=n),"undefined"!=typeof window&&(window.sprintf=m,window.vsprintf=n,"function"==typeof define)&&define.amd&&define(function(){return{sprintf:m,vsprintf:n}})},{}],111:[function(e,t,i){var a=(e=e("@tannin/plural-forms"))&&"object"==typeof e&&"default"in e?e.default:e,n={contextDelimiter:"",onMissingKey:null};function s(e,t){for(var i in this.data=e,this.pluralForms={},this.options={},n)this.options[i]=(void 0!==t&&i in t?t:n)[i]}s.prototype.getPluralForm=function(e,t){var i,n,s=this.pluralForms[e];return s||("function"!=typeof(n=(i=this.data[e][""])["Plural-Forms"]||i["plural-forms"]||i.plural_forms)&&(i=(e=>{for(var t,i=e.split(";"),n=0;n<i.length;n++)if(0===(t=i[n].trim()).indexOf("plural="))return t.substr(7)})(i["Plural-Forms"]||i["plural-forms"]||i.plural_forms),n=a(i)),s=this.pluralForms[e]=n),s(t)},s.prototype.dcnpgettext=function(e,t,i,n,s){var s=void 0===s?0:this.getPluralForm(e,s),a=i;return t&&(a=t+this.options.contextDelimiter+i),(t=this.data[e][a])&&t[s]?t[s]:(this.options.onMissingKey&&this.options.onMissingKey(i,e),0===s?i:n)},t.exports=s},{"@tannin/plural-forms":89}],112:[function(D,e,F){!function(je){!function(){Object.defineProperty(F,"__esModule",{value:!0});var ee=D("@popperjs/core"),n="tippy-content",a="tippy-backdrop",i="tippy-arrow",s="tippy-svg-arrow",te={passive:!0,capture:!0},ie=function(){return document.body};function ne(e,t,i){var n;return Array.isArray(e)?null==(n=e[t])?Array.isArray(i)?i[t]:i:n:e}function o(e,t){e={}.toString.call(e);return 0===e.indexOf("[object")&&-1<e.indexOf(t+"]")}function se(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ae(t,i){var n;return 0===i?t:function(e){clearTimeout(n),n=setTimeout(function(){t(e)},i)}}function v(e,t){var i=Object.assign({},e);return t.forEach(function(e){delete i[e]}),i}function oe(e){return[].concat(e)}function re(e,t){-1===e.indexOf(t)&&e.push(t)}function le(e){return e.split("-")[0]}function de(e){return[].slice.call(e)}function ce(i){return Object.keys(i).reduce(function(e,t){return void 0!==i[t]&&(e[t]=i[t]),e},{})}function ue(){return document.createElement("div")}function r(t){return["Element","Fragment"].some(function(e){return o(t,e)})}function pe(e){return o(e,"MouseEvent")}function c(e){return e&&e._tippy&&e._tippy.reference===e}function u(e){return r(e)?[e]:o(e,"NodeList")?de(e):Array.isArray(e)?e:de(document.querySelectorAll(e))}function he(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function me(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function Se(e){var t,e=oe(e)[0];return null!=e&&null!=(t=e.ownerDocument)&&t.body?e.ownerDocument:document}function ge(t,e,i){var n=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(e){t[n](e,i)})}function $e(e,t){for(var i,n=t;n;){if(e.contains(n))return!0;n=null==n.getRootNode||null==(i=n.getRootNode())?void 0:i.host}return!1}var fe={isTouch:!1},t=0;function p(){fe.isTouch||(fe.isTouch=!0,window.performance&&document.addEventListener("mousemove",h))}function h(){var e=performance.now();e-t<20&&(fe.isTouch=!1,document.removeEventListener("mousemove",h)),t=e}function f(){var e,t=document.activeElement;c(t)&&(e=t._tippy,t.blur)&&!e.state.isVisible&&t.blur()}var l,ke="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.msCrypto;function ve(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function w(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function b(e){return[w("\n  %ctippy.js\n\n  %c"+w(e)+"\n\n  %c👷‍ This is a development-only message. It will be removed in production.\n  "),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function ye(e,t){e&&!l.has(t)&&(l.add(t),(e=console).warn.apply(e,b(t)))}function we(e,t){e&&!l.has(t)&&(l.add(t),(e=console).error.apply(e,b(t)))}"production"!==je.env.NODE_ENV&&(l=new Set);var _={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},be=Object.assign({appendTo:ie,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},_,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),x=Object.keys(be);function Ie(n){var e=(n.plugins||[]).reduce(function(e,t){var i=t.name;return i&&(e[i]=void 0!==n[i]?n[i]:null!=(i=be[i])?i:t.defaultValue),e},{});return Object.assign({},n,e)}function Ee(e,t){var s,e=Object.assign({},t,{content:se(t.content,[e])},t.ignoreAttributes?{}:(s=e,((e=t.plugins)?Object.keys(Ie(Object.assign({},be,{plugins:e}))):x).reduce(function(t,i){var n=(s.getAttribute("data-tippy-"+i)||"").trim();if(n)if("content"===i)t[i]=n;else try{t[i]=JSON.parse(n)}catch(e){t[i]=n}return t},{})));return e.aria=Object.assign({},be.aria,e.aria),e.aria={expanded:"auto"===e.aria.expanded?t.interactive:e.aria.expanded,content:"auto"===e.aria.content?t.interactive?null:"describedby":e.aria.content},e}function C(e,i){void 0===e&&(e={}),void 0===i&&(i=[]),Object.keys(e).forEach(function(t){var e=v(be,Object.keys(_));ye(!{}.hasOwnProperty.call(e,t)&&0===i.filter(function(e){return e.name===t}).length,["`"+t+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}var S=function(){return"innerHTML"};function d(e,t){e[S()]=t}function $(e){var t=ue();return!0===e?t.className=i:(t.className=s,r(e)?t.appendChild(e):d(t,e)),t}function k(e,t){r(t.content)?(d(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?d(e,t.content):e.textContent=t.content)}function _e(e){var e=e.firstElementChild,t=de(e.children);return{box:e,content:t.find(function(e){return e.classList.contains(n)}),arrow:t.find(function(e){return e.classList.contains(i)||e.classList.contains(s)}),backdrop:t.find(function(e){return e.classList.contains(a)})}}function e(a){var o=ue(),e=ue(),t=(e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1"),ue());function i(e,t){var i=_e(o),n=i.box,s=i.content,i=i.arrow;t.theme?n.setAttribute("data-theme",t.theme):n.removeAttribute("data-theme"),"string"==typeof t.animation?n.setAttribute("data-animation",t.animation):n.removeAttribute("data-animation"),t.inertia?n.setAttribute("data-inertia",""):n.removeAttribute("data-inertia"),n.style.maxWidth="number"==typeof t.maxWidth?t.maxWidth+"px":t.maxWidth,t.role?n.setAttribute("role",t.role):n.removeAttribute("role"),e.content===t.content&&e.allowHTML===t.allowHTML||k(s,a.props),t.arrow?i?e.arrow!==t.arrow&&(n.removeChild(i),n.appendChild($(t.arrow))):n.appendChild($(t.arrow)):i&&n.removeChild(i)}return t.className=n,t.setAttribute("data-state","hidden"),k(t,a.props),o.appendChild(e),e.appendChild(t),i(a.props,a.props),{popper:o,onUpdate:i}}e.$$tippy=!0;var Pe=1,xe=[],Ce=[];function I(o,e){var n,t,i,s,a,r,l,d,c,u,p,h,m=Ee(o,Object.assign({},be,Ie(ce(e)))),g=!1,f=!1,v=!1,y=!1,w=[],b=ae(G,m.interactiveDebounce),e=Pe++,_=(d=m.plugins).filter(function(e,t){return d.indexOf(e)===t}),x={id:e,reference:o,popper:ue(),popperInstance:null,props:m,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:_,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(t),cancelAnimationFrame(i)},setProps:function(e){"production"!==je.env.NODE_ENV&&ye(x.state.isDestroyed,ve("setProps"));var t,i;x.state.isDestroyed||(E("onBeforeUpdate",[x,e]),q(),t=x.props,i=Ee(o,Object.assign({},t,ce(e),{ignoreAttributes:!0})),x.props=i,H(),t.interactiveDebounce!==i.interactiveDebounce&&(j(),b=ae(G,i.interactiveDebounce)),t.triggerTarget&&!i.triggerTarget?oe(t.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):i.triggerTarget&&o.removeAttribute("aria-expanded"),P(),I(),u&&u(t,i),x.popperInstance&&(K(),A().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),E("onAfterUpdate",[x,e]))},setContent:function(e){x.setProps({content:e})},show:function(){"production"!==je.env.NODE_ENV&&ye(x.state.isDestroyed,ve("show"));var e=x.state.isVisible,t=x.state.isDestroyed,i=!x.state.isEnabled,n=fe.isTouch&&!x.props.touch,s=ne(x.props.duration,0,be.duration);e||t||i||n||S().hasAttribute("disabled")||(E("onShow",[x],!1),!1!==x.props.onShow(x)&&(x.state.isVisible=!0,C()&&(c.style.visibility="visible"),I(),z(),x.state.isMounted||(c.style.transition="none"),C()&&he([(e=k()).box,e.content],0),r=function(){var e,t;x.state.isVisible&&!y&&(y=!0,c.offsetHeight,c.style.transition=x.props.moveTransition,C()&&x.props.animation&&(he([e=(t=k()).box,t=t.content],s),me([e,t],"visible")),B(),P(),re(Ce,x),null!=(e=x.popperInstance)&&e.forceUpdate(),E("onMount",[x]),x.props.animation)&&C()&&N(s,function(){x.state.isShown=!0,E("onShown",[x])})},t=x.props.appendTo,i=S(),(n=x.props.interactive&&t===ie||"parent"===t?i.parentNode:se(t,[i])).contains(c)||n.appendChild(c),x.state.isMounted=!0,K(),"production"!==je.env.NODE_ENV)&&ye(x.props.interactive&&t===be.appendTo&&i.nextElementSibling!==c,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" ")))},hide:function(){"production"!==je.env.NODE_ENV&&ye(x.state.isDestroyed,ve("hide"));var e,t=!x.state.isVisible,i=x.state.isDestroyed,n=!x.state.isEnabled,s=ne(x.props.duration,1,be.duration);t||i||n||(E("onHide",[x],!1),!1!==x.props.onHide(x)&&(x.state.isVisible=!1,x.state.isShown=!1,g=y=!1,C()&&(c.style.visibility="hidden"),j(),L(),I(!0),C()&&(t=k(),i=t.box,n=t.content,x.props.animation)&&(he([i,n],s),me([i,n],"hidden")),B(),P(),x.props.animation?C()&&(e=x.unmount,N(s,function(){!x.state.isVisible&&c.parentNode&&c.parentNode.contains(c)&&e()})):x.unmount()))},hideWithInteractivity:function(e){"production"!==je.env.NODE_ENV&&ye(x.state.isDestroyed,ve("hideWithInteractivity"));$().addEventListener("mousemove",b),re(xe,b),b(e)},enable:function(){x.state.isEnabled=!0},disable:function(){x.hide(),x.state.isEnabled=!1},unmount:function(){"production"!==je.env.NODE_ENV&&ye(x.state.isDestroyed,ve("unmount"));x.state.isVisible&&x.hide();x.state.isMounted&&(J(),A().forEach(function(e){e._tippy.unmount()}),c.parentNode&&c.parentNode.removeChild(c),Ce=Ce.filter(function(e){return e!==x}),x.state.isMounted=!1,E("onHidden",[x]))},destroy:function(){"production"!==je.env.NODE_ENV&&ye(x.state.isDestroyed,ve("destroy"));x.state.isDestroyed||(x.clearDelayTimeouts(),x.unmount(),q(),delete o._tippy,x.state.isDestroyed=!0,E("onDestroy",[x]))}};return m.render?(e=m.render(x),c=e.popper,u=e.onUpdate,p=(c.setAttribute("data-tippy-root",""),c.id="tippy-"+x.id,x.popper=c,o._tippy=x,c._tippy=x,_.map(function(e){return e.fn(x)})),h=o.hasAttribute("aria-expanded"),H(),P(),I(),E("onCreate",[x]),m.showOnCreate&&Z(),c.addEventListener("mouseenter",function(){x.props.interactive&&x.state.isVisible&&x.clearDelayTimeouts()}),c.addEventListener("mouseleave",function(){x.props.interactive&&0<=x.props.trigger.indexOf("mouseenter")&&$().addEventListener("mousemove",b)})):"production"!==je.env.NODE_ENV&&we(!0,"render() function has not been supplied."),x;function D(){var e=x.props.touch;return Array.isArray(e)?e:[e,0]}function F(){return"hold"===D()[0]}function C(){var e;return null!=(e=x.props.render)&&e.$$tippy}function S(){return l||o}function $(){var e=S().parentNode;return e?Se(e):document}function k(){return _e(c)}function V(e){return x.state.isMounted&&!x.state.isVisible||fe.isTouch||s&&"focus"===s.type?0:ne(x.props.delay,e?0:1,be.delay)}function I(e){void 0===e&&(e=!1),c.style.pointerEvents=x.props.interactive&&!e?"":"none",c.style.zIndex=""+x.props.zIndex}function E(t,i,e){void 0===e&&(e=!0),p.forEach(function(e){e[t]&&e[t].apply(e,i)}),e&&(e=x.props)[t].apply(e,i)}function B(){var i,n,e=x.props.aria;e.content&&(i="aria-"+e.content,n=c.id,oe(x.props.triggerTarget||o).forEach(function(e){var t=e.getAttribute(i);x.state.isVisible?e.setAttribute(i,t?t+" "+n:n):(t=t&&t.replace(n,"").trim())?e.setAttribute(i,t):e.removeAttribute(i)}))}function P(){!h&&x.props.aria.expanded&&oe(x.props.triggerTarget||o).forEach(function(e){x.props.interactive?e.setAttribute("aria-expanded",x.state.isVisible&&e===S()?"true":"false"):e.removeAttribute("aria-expanded")})}function j(){$().removeEventListener("mousemove",b),xe=xe.filter(function(e){return e!==b})}function T(e){if(!fe.isTouch||!v&&"mousedown"!==e.type){var t=e.composedPath&&e.composedPath()[0]||e.target;if(!x.props.interactive||!$e(c,t)){if(oe(x.props.triggerTarget||o).some(function(e){return $e(e,t)})){if(fe.isTouch)return;if(x.state.isVisible&&0<=x.props.trigger.indexOf("click"))return}else E("onClickOutside",[x,e]);!0===x.props.hideOnClick&&(x.clearDelayTimeouts(),x.hide(),f=!0,setTimeout(function(){f=!1}),x.state.isMounted||L())}}}function R(){v=!0}function W(){v=!1}function z(){var e=$();e.addEventListener("mousedown",T,!0),e.addEventListener("touchend",T,te),e.addEventListener("touchstart",W,te),e.addEventListener("touchmove",R,te)}function L(){var e=$();e.removeEventListener("mousedown",T,!0),e.removeEventListener("touchend",T,te),e.removeEventListener("touchstart",W,te),e.removeEventListener("touchmove",R,te)}function N(e,t){var i=k().box;function n(e){e.target===i&&(ge(i,"remove",n),t())}if(0===e)return t();ge(i,"remove",a),ge(i,"add",n),a=n}function M(t,i,n){void 0===n&&(n=!1),oe(x.props.triggerTarget||o).forEach(function(e){e.addEventListener(t,i,n),w.push({node:e,eventType:t,handler:i,options:n})})}function H(){F()&&(M("touchstart",U,{passive:!0}),M("touchend",Q,{passive:!0})),x.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch(M(e,U),e){case"mouseenter":M("mouseleave",Q);break;case"focus":M(ke?"focusout":"blur",X);break;case"focusin":M("focusout",X)}})}function q(){w.forEach(function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)}),w=[]}function U(t){var e,i=!1;!x.state.isEnabled||Y(t)||f||(e="focus"===(null==s?void 0:s.type),l=(s=t).currentTarget,P(),!x.state.isVisible&&pe(t)&&xe.forEach(function(e){return e(t)}),"click"===t.type&&(x.props.trigger.indexOf("mouseenter")<0||g)&&!1!==x.props.hideOnClick&&x.state.isVisible?i=!0:Z(t),"click"===t.type&&(g=!i),i&&!e&&O(t))}function G(e){var r,l,t=e.target,t=S().contains(t)||c.contains(t);"mousemove"===e.type&&t||(t=A().concat(c).map(function(e){var t=null==(t=e._tippy.popperInstance)?void 0:t.state;return t?{popperRect:e.getBoundingClientRect(),popperState:t,props:m}:null}).filter(Boolean),r=e.clientX,l=e.clientY,t.every(function(e){var t,i,n,s=e.popperRect,a=e.popperState,e=e.props.interactiveBorder,o=le(a.placement),a=a.modifiersData.offset;return!a||(t="bottom"===o?a.top.y:0,i="top"===o?a.bottom.y:0,n="right"===o?a.left.x:0,o="left"===o?a.right.x:0,s.top-l+t>e)||e<l-s.bottom-i||e<s.left-r+n||e<r-s.right-o})&&(j(),O(e)))}function Q(e){Y(e)||0<=x.props.trigger.indexOf("click")&&g||(x.props.interactive?x.hideWithInteractivity(e):O(e))}function X(e){x.props.trigger.indexOf("focusin")<0&&e.target!==S()||x.props.interactive&&e.relatedTarget&&c.contains(e.relatedTarget)||O(e)}function Y(e){return!!fe.isTouch&&F()!==0<=e.type.indexOf("touch")}function K(){J();var e=x.props,t=e.popperOptions,i=e.placement,n=e.offset,s=e.getReferenceClientRect,e=e.moveTransition,a=C()?_e(c).arrow:null,s=s?{getBoundingClientRect:s,contextElement:s.contextElement||S()}:o,n=[{name:"offset",options:{offset:n}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!e}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,i=e.state;C()&&(t=k().box,["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?t.setAttribute("data-placement",i.placement):i.attributes.popper["data-popper-"+e]?t.setAttribute("data-"+e,""):t.removeAttribute("data-"+e)}),i.attributes.popper={})}}];C()&&a&&n.push({name:"arrow",options:{element:a,padding:3}}),n.push.apply(n,(null==t?void 0:t.modifiers)||[]),x.popperInstance=ee.createPopper(s,c,Object.assign({},t,{placement:i,onFirstUpdate:r,modifiers:n}))}function J(){x.popperInstance&&(x.popperInstance.destroy(),x.popperInstance=null)}function A(){return de(c.querySelectorAll("[data-tippy-root]"))}function Z(e){x.clearDelayTimeouts(),e&&E("onTrigger",[x,e]),z();var e=V(!0),t=D(),i=t[0],t=t[1];(e=fe.isTouch&&"hold"===i&&t?t:e)?n=setTimeout(function(){x.show()},e):x.show()}function O(e){x.clearDelayTimeouts(),E("onUntrigger",[x,e]),x.state.isVisible?0<=x.props.trigger.indexOf("mouseenter")&&0<=x.props.trigger.indexOf("click")&&0<=["mouseleave","mousemove"].indexOf(e.type)&&g||((e=V(!1))?t=setTimeout(function(){x.state.isVisible&&x.hide()},e):i=requestAnimationFrame(function(){x.hide()})):L()}}function y(e,t){var i,n,s=be.plugins.concat((t=void 0===t?{}:t).plugins||[]),a=("production"!==je.env.NODE_ENV&&(o=!(i=e),n="[object Object]"===Object.prototype.toString.call(i)&&!i.addEventListener,we(o,["tippy() was passed","`"+String(i)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),we(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" ")),C(t,s)),document.addEventListener("touchstart",p,te),window.addEventListener("blur",f),Object.assign({},t,{plugins:s})),o=u(e),t=("production"!==je.env.NODE_ENV&&(i=r(a.content),n=1<o.length,ye(i&&n,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: ()=> element.cloneNode(true)"].join(" "))),o.reduce(function(e,t){t=t&&I(t,a);return t&&e.push(t),e},[]));return r(e)?t[0]:t}y.defaultProps=be,y.setDefaultProps=function(t){"production"!==je.env.NODE_ENV&&C(t,[]),Object.keys(t).forEach(function(e){be[e]=t[e]})},y.currentInput=fe;var E=Object.assign({},ee.applyStyles,{effect:function(e){var e=e.state,t={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(e.elements.popper.style,t.popper),e.styles=t,e.elements.arrow&&Object.assign(e.elements.arrow.style,t.arrow)}}),P={mouseover:"mouseenter",focusin:"focus",click:"click"};var j={name:"animateFill",defaultValue:!1,fn:function(e){var i,n,s,t;return null!=(t=e.props.render)&&t.$$tippy?(t=_e(e.popper),i=t.box,n=t.content,s=e.props.animateFill?((t=ue()).className=a,me([t],"hidden"),t):null,{onCreate:function(){s&&(i.insertBefore(s,i.firstElementChild),i.setAttribute("data-animatefill",""),i.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){var e,t;s&&(e=i.style.transitionDuration,t=Number(e.replace("ms","")),n.style.transitionDelay=Math.round(t/10)+"ms",s.style.transitionDuration=e,me([s],"visible"))},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&me([s],"hidden")}}):("production"!==je.env.NODE_ENV&&we(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{})}};var m={clientX:0,clientY:0},g=[];function T(e){var t=e.clientX;m={clientX:t,clientY:e.clientY}}var L={name:"followCursor",defaultValue:!1,fn:function(i){var c=i.reference,t=Se(i.props.triggerTarget||c),n=!1,s=!1,e=!0,a=i.props;function o(){return"initial"===i.props.followCursor&&i.state.isVisible}function r(){t.addEventListener("mousemove",u)}function l(){t.removeEventListener("mousemove",u)}function d(){n=!0,i.setProps({getReferenceClientRect:null}),n=!1}function u(e){var t=!e.target||c.contains(e.target),a=i.props.followCursor,o=e.clientX,r=e.clientY,e=c.getBoundingClientRect(),l=o-e.left,d=r-e.top;!t&&i.props.interactive||i.setProps({getReferenceClientRect:function(){var e=c.getBoundingClientRect(),t=o,i=r,n=("initial"===a&&(t=e.left+l,i=e.top+d),"horizontal"===a?e.top:i),s="vertical"===a?e.right:t,i="horizontal"===a?e.bottom:i,e="vertical"===a?e.left:t;return{width:s-e,height:i-n,top:n,right:s,bottom:i,left:e}}})}function p(){i.props.followCursor&&(g.push({instance:i,doc:t}),t.addEventListener("mousemove",T))}function h(){0===(g=g.filter(function(e){return e.instance!==i})).filter(function(e){return e.doc===t}).length&&t.removeEventListener("mousemove",T)}return{onCreate:p,onDestroy:h,onBeforeUpdate:function(){a=i.props},onAfterUpdate:function(e,t){t=t.followCursor;n||void 0!==t&&a.followCursor!==t&&(h(),t?(p(),!i.state.isMounted||s||o()||r()):(l(),d()))},onMount:function(){i.props.followCursor&&!s&&(e&&(u(m),e=!1),o()||r())},onTrigger:function(e,t){pe(t)&&(m={clientX:t.clientX,clientY:t.clientY}),s="focus"===t.type},onHidden:function(){i.props.followCursor&&(d(),l(),e=!0)}}}};var M={name:"inlinePositioning",defaultValue:!1,fn:function(s){var t,h=s.reference;var m=-1,i=!1,n=[],a={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(e){var p=e.state;s.props.inlinePositioning&&(-1!==n.indexOf(p.placement)&&(n=[]),t!==p.placement&&-1===n.indexOf(p.placement)&&(n.push(p.placement),s.setProps({getReferenceClientRect:function(){var t=le(p.placement),e=h.getBoundingClientRect(),i=de(h.getClientRects()),n=m;if(i.length<2||null===t)return e;if(2===i.length&&0<=n&&i[0].left>i[1].right)return i[n]||e;switch(t){case"top":case"bottom":var s=i[0],a=i[i.length-1],o="top"===t,r=s.top,l=a.bottom,d=(o?s:a).left,o=(o?s:a).right;return{top:r,bottom:l,left:d,right:o,width:o-d,height:l-r};case"left":case"right":var c=Math.min.apply(Math,i.map(function(e){return e.left})),u=Math.max.apply(Math,i.map(function(e){return e.right})),s=i.filter(function(e){return"left"===t?e.left===c:e.right===u}),a=s[0].top,o=s[s.length-1].bottom;return{top:a,bottom:o,left:c,right:u,width:u-c,height:o-a};default:return e}}})),t=p.placement)}};function e(){var e,t;i||(e=s.props,t=a,e={popperOptions:Object.assign({},e.popperOptions,{modifiers:[].concat(((null==(e=e.popperOptions)?void 0:e.modifiers)||[]).filter(function(e){return e.name!==t.name}),[t])})},i=!0,s.setProps(e),i=!1)}return{onCreate:e,onAfterUpdate:e,onTrigger:function(e,t){var i,n;pe(t)&&(i=(n=de(s.reference.getClientRects())).find(function(e){return e.left-2<=t.clientX&&e.right+2>=t.clientX&&e.top-2<=t.clientY&&e.bottom+2>=t.clientY}),n=n.indexOf(i),m=-1<n?n:m)},onHidden:function(){m=-1}}}};var A={name:"sticky",defaultValue:!1,fn:function(i){var n=i.reference,s=i.popper;function a(e){return!0===i.props.sticky||i.props.sticky===e}var o=null,r=null;function l(){var e=a("reference")?(i.popperInstance?i.popperInstance.state.elements.reference:n).getBoundingClientRect():null,t=a("popper")?s.getBoundingClientRect():null;(e&&O(o,e)||t&&O(r,t))&&i.popperInstance&&i.popperInstance.update(),o=e,r=t,i.state.isMounted&&requestAnimationFrame(l)}return{onMount:function(){i.props.sticky&&l()}}}};function O(e,t){return!e||!t||e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left}y.setDefaultProps({render:e}),F.animateFill=j,F.createSingleton=function(e,t){void 0===t&&(t={}),"production"!==je.env.NODE_ENV&&we(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var s,a=e,n=[],o=[],r=t.overrides,i=[],l=!1;function d(){o=a.map(function(e){return oe(e.props.triggerTarget||e.reference)}).reduce(function(e,t){return e.concat(t)},[])}function c(){n=a.map(function(e){return e.reference})}function u(t){a.forEach(function(e){t?e.enable():e.disable()})}function p(n){return a.map(function(t){var i=t.setProps;return t.setProps=function(e){i(e),t.reference===s&&n.setProps(e)},function(){t.setProps=i}})}function h(e,t){var i=o.indexOf(t);t!==s&&(s=t,t=(r||[]).concat("content").reduce(function(e,t){return e[t]=a[i].props[t],e},{}),e.setProps(Object.assign({},t,{getReferenceClientRect:"function"==typeof t.getReferenceClientRect?t.getReferenceClientRect:function(){var e;return null==(e=n[i])?void 0:e.getBoundingClientRect()}})))}u(!1),c(),d();var e={fn:function(){return{onDestroy:function(){u(!0)},onHidden:function(){s=null},onClickOutside:function(e){e.props.showOnCreate&&!l&&(l=!0,s=null)},onShow:function(e){e.props.showOnCreate&&!l&&(l=!0,h(e,n[0]))},onTrigger:function(e,t){h(e,t.currentTarget)}}}},m=y(ue(),Object.assign({},v(t,["overrides"]),{plugins:[e].concat(t.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(e=t.popperOptions)?void 0:e.modifiers)||[],[E])})})),g=m.show,f=(m.show=function(e){var t;return g(),s||null!=e?s&&null==e?void 0:"number"==typeof e?n[e]&&h(m,n[e]):0<=a.indexOf(e)?(t=e.reference,h(m,t)):0<=n.indexOf(e)?h(m,e):void 0:h(m,n[0])},m.showNext=function(){var e=n[0];if(!s)return m.show(0);var t=n.indexOf(s);m.show(n[t+1]||e)},m.showPrevious=function(){var e=n[n.length-1];if(!s)return m.show(e);var t=n.indexOf(s),t=n[t-1]||e;m.show(t)},m.setProps);return m.setProps=function(e){r=e.overrides||r,f(e)},m.setInstances=function(e){u(!0),i.forEach(function(e){return e()}),a=e,u(!1),c(),d(),i=p(m),m.setProps({triggerTarget:o})},i=p(m),m},F.default=y,F.delegate=function(e,n){"production"!==je.env.NODE_ENV&&we(!(n&&n.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var s=[],a=[],o=!1,r=n.target,t=v(n,["target"]),i=Object.assign({},t,{trigger:"manual",touch:!1}),l=Object.assign({touch:be.touch},t,{showOnCreate:!0});function d(e){var t,i;e.target&&!o&&(t=e.target.closest(r))&&(i=t.getAttribute("data-tippy-trigger")||n.trigger||be.trigger,t._tippy||"touchstart"===e.type&&"boolean"==typeof l.touch||"touchstart"!==e.type&&i.indexOf(P[e.type])<0||(i=y(t,l))&&(a=a.concat(i)))}function c(e,t,i,n){e.addEventListener(t,i,n=void 0===n?!1:n),s.push({node:e,eventType:t,handler:i,options:n})}return oe(t=y(e,i)).forEach(function(e){var t=e.destroy,i=e.enable,n=e.disable;e.destroy=function(e){(e=void 0===e?!0:e)&&a.forEach(function(e){e.destroy()}),a=[],s.forEach(function(e){e.node.removeEventListener(e.eventType,e.handler,e.options)}),s=[],t()},e.enable=function(){i(),a.forEach(function(e){return e.enable()}),o=!1},e.disable=function(){n(),a.forEach(function(e){return e.disable()}),o=!0},c(e=(e=e).reference,"touchstart",d,te),c(e,"mouseover",d),c(e,"focusin",d),c(e,"click",d)}),t},F.followCursor=L,F.hideAll=function(e){var e=void 0===e?{}:e,i=e.exclude,n=e.duration;Ce.forEach(function(e){var t=!1;(t=i?c(i)?e.reference===i:e.popper===i.popper:t)||(t=e.props.duration,e.setProps({duration:n}),e.hide(),e.state.isDestroyed)||e.setProps({duration:t})})},F.inlinePositioning=M,F.roundArrow='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',F.sticky=A}.call(this)}.call(this,D("_process"))},{"@popperjs/core":86,_process:109}]},{},[1]);
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n():"function"==typeof define&&define.amd?define(n):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=n()}(this,(function(){"use strict";var e=function(){return(e=Object.assign||function(e){for(var n,t=1,a=arguments.length;t<a;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)};function n(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;var a=Array(e),i=0;for(n=0;n<t;n++)for(var o=arguments[n],r=0,l=o.length;r<l;r++,i++)a[i]=o[r];return a}var t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],a={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var n=new Date(e.getTime());n.setHours(0,0,0,0),n.setDate(n.getDate()+3-(n.getDay()+6)%7);var t=new Date(n.getFullYear(),0,4);return 1+Math.round(((n.getTime()-t.getTime())/864e5-3+(t.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},i={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var n=e%100;if(n>3&&n<21)return"th";switch(n%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},o=function(e,n){return void 0===n&&(n=2),("000"+e).slice(-1*n)},r=function(e){return!0===e?1:0};function l(e,n){var t;return function(){var a=this,i=arguments;clearTimeout(t),t=setTimeout((function(){return e.apply(a,i)}),n)}}var c=function(e){return e instanceof Array?e:[e]};function s(e,n,t){if(!0===t)return e.classList.add(n);e.classList.remove(n)}function d(e,n,t){var a=window.document.createElement(e);return n=n||"",t=t||"",a.className=n,void 0!==t&&(a.textContent=t),a}function u(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function f(e,n){return n(e)?e:e.parentNode?f(e.parentNode,n):void 0}function m(e,n){var t=d("div","numInputWrapper"),a=d("input","numInput "+e),i=d("span","arrowUp"),o=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?a.type="number":(a.type="text",a.pattern="\\d*"),void 0!==n)for(var r in n)a.setAttribute(r,n[r]);return t.appendChild(a),t.appendChild(i),t.appendChild(o),t}function g(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(n){return e.target}}var p=function(){},h=function(e,n,t){return t.months[n?"shorthand":"longhand"][e]},v={D:p,F:function(e,n,t){e.setMonth(t.months.longhand.indexOf(n))},G:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},H:function(e,n){e.setHours(parseFloat(n))},J:function(e,n){e.setDate(parseFloat(n))},K:function(e,n,t){e.setHours(e.getHours()%12+12*r(new RegExp(t.amPM[1],"i").test(n)))},M:function(e,n,t){e.setMonth(t.months.shorthand.indexOf(n))},S:function(e,n){e.setSeconds(parseFloat(n))},U:function(e,n){return new Date(1e3*parseFloat(n))},W:function(e,n,t){var a=parseInt(n),i=new Date(e.getFullYear(),0,2+7*(a-1),0,0,0,0);return i.setDate(i.getDate()-i.getDay()+t.firstDayOfWeek),i},Y:function(e,n){e.setFullYear(parseFloat(n))},Z:function(e,n){return new Date(n)},d:function(e,n){e.setDate(parseFloat(n))},h:function(e,n){e.setHours((e.getHours()>=12?12:0)+parseFloat(n))},i:function(e,n){e.setMinutes(parseFloat(n))},j:function(e,n){e.setDate(parseFloat(n))},l:p,m:function(e,n){e.setMonth(parseFloat(n)-1)},n:function(e,n){e.setMonth(parseFloat(n)-1)},s:function(e,n){e.setSeconds(parseFloat(n))},u:function(e,n){return new Date(parseFloat(n))},w:p,y:function(e,n){e.setFullYear(2e3+parseFloat(n))}},D={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},w={Z:function(e){return e.toISOString()},D:function(e,n,t){return n.weekdays.shorthand[w.w(e,n,t)]},F:function(e,n,t){return h(w.n(e,n,t)-1,!1,n)},G:function(e,n,t){return o(w.h(e,n,t))},H:function(e){return o(e.getHours())},J:function(e,n){return void 0!==n.ordinal?e.getDate()+n.ordinal(e.getDate()):e.getDate()},K:function(e,n){return n.amPM[r(e.getHours()>11)]},M:function(e,n){return h(e.getMonth(),!0,n)},S:function(e){return o(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,n,t){return t.getWeek(e)},Y:function(e){return o(e.getFullYear(),4)},d:function(e){return o(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return o(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,n){return n.weekdays.longhand[e.getDay()]},m:function(e){return o(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},b=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o,l=e.isMobile,c=void 0!==l&&l;return function(e,n,a){var i=a||r;return void 0===t.formatDate||c?n.split("").map((function(n,a,o){return w[n]&&"\\"!==o[a-1]?w[n](e,i,t):"\\"!==n?n:""})).join(""):t.formatDate(e,n,i)}},C=function(e){var n=e.config,t=void 0===n?a:n,o=e.l10n,r=void 0===o?i:o;return function(e,n,i,o){if(0===e||e){var l,c=o||r,s=e;if(e instanceof Date)l=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)l=new Date(e);else if("string"==typeof e){var d=n||(t||a).dateFormat,u=String(e).trim();if("today"===u)l=new Date,i=!0;else if(t&&t.parseDate)l=t.parseDate(e,d);else if(/Z$/.test(u)||/GMT$/.test(u))l=new Date(e);else{for(var f=void 0,m=[],g=0,p=0,h="";g<d.length;g++){var w=d[g],b="\\"===w,C="\\"===d[g-1]||b;if(D[w]&&!C){h+=D[w];var M=new RegExp(h).exec(e);M&&(f=!0)&&m["Y"!==w?"push":"unshift"]({fn:v[w],val:M[++p]})}else b||(h+=".")}l=t&&t.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),m.forEach((function(e){var n=e.fn,t=e.val;return l=n(l,t,c)||l})),l=f?l:void 0}}if(l instanceof Date&&!isNaN(l.getTime()))return!0===i&&l.setHours(0,0,0,0),l;t.errorHandler(new Error("Invalid date provided: "+s))}}};function M(e,n,t){return void 0===t&&(t=!0),!1!==t?new Date(e.getTime()).setHours(0,0,0,0)-new Date(n.getTime()).setHours(0,0,0,0):e.getTime()-n.getTime()}var y=function(e,n,t){return 3600*e+60*n+t},x=864e5;function E(e){var n=e.defaultHour,t=e.defaultMinute,a=e.defaultSeconds;if(void 0!==e.minDate){var i=e.minDate.getHours(),o=e.minDate.getMinutes(),r=e.minDate.getSeconds();n<i&&(n=i),n===i&&t<o&&(t=o),n===i&&t===o&&a<r&&(a=e.minDate.getSeconds())}if(void 0!==e.maxDate){var l=e.maxDate.getHours(),c=e.maxDate.getMinutes();(n=Math.min(n,l))===l&&(t=Math.min(c,t)),n===l&&t===c&&(a=e.maxDate.getSeconds())}return{hours:n,minutes:t,seconds:a}}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var a=function(n){n&&Object.keys(n).forEach((function(t){return e[t]=n[t]}))},i=0,o=n;i<o.length;i++){var r=o[i];a(r)}return e});function k(p,v){var w={config:e(e({},a),I.defaultConfig),l10n:i};function k(){var e;return(null===(e=w.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function T(e){return e.bind(w)}function S(){var e=w.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==w.calendarContainer&&(w.calendarContainer.style.visibility="hidden",w.calendarContainer.style.display="block"),void 0!==w.daysContainer){var n=(w.days.offsetWidth+1)*e.showMonths;w.daysContainer.style.width=n+"px",w.calendarContainer.style.width=n+(void 0!==w.weekWrapper?w.weekWrapper.offsetWidth:0)+"px",w.calendarContainer.style.removeProperty("visibility"),w.calendarContainer.style.removeProperty("display")}}))}function _(e){if(0===w.selectedDates.length){var n=void 0===w.config.minDate||M(new Date,w.config.minDate)>=0?new Date:new Date(w.config.minDate.getTime()),t=E(w.config);n.setHours(t.hours,t.minutes,t.seconds,n.getMilliseconds()),w.selectedDates=[n],w.latestSelectedDateObj=n}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var n="keydown"===e.type,t=g(e),a=t;void 0!==w.amPM&&t===w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]);var i=parseFloat(a.getAttribute("min")),l=parseFloat(a.getAttribute("max")),c=parseFloat(a.getAttribute("step")),s=parseInt(a.value,10),d=e.delta||(n?38===e.which?1:-1:0),u=s+c*d;if(void 0!==a.value&&2===a.value.length){var f=a===w.hourElement,m=a===w.minuteElement;u<i?(u=l+u+r(!f)+(r(f)&&r(!w.amPM)),m&&L(void 0,-1,w.hourElement)):u>l&&(u=a===w.hourElement?u-l-r(!w.amPM):i,m&&L(void 0,1,w.hourElement)),w.amPM&&f&&(1===c?u+s===23:Math.abs(u-s)>c)&&(w.amPM.textContent=w.l10n.amPM[r(w.amPM.textContent===w.l10n.amPM[0])]),a.value=o(u)}}(e);var a=w._input.value;O(),ye(),w._input.value!==a&&w._debouncedChange()}function O(){if(void 0!==w.hourElement&&void 0!==w.minuteElement){var e,n,t=(parseInt(w.hourElement.value.slice(-2),10)||0)%24,a=(parseInt(w.minuteElement.value,10)||0)%60,i=void 0!==w.secondElement?(parseInt(w.secondElement.value,10)||0)%60:0;void 0!==w.amPM&&(e=t,n=w.amPM.textContent,t=e%12+12*r(n===w.l10n.amPM[1]));var o=void 0!==w.config.minTime||w.config.minDate&&w.minDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.minDate,!0),l=void 0!==w.config.maxTime||w.config.maxDate&&w.maxDateHasTime&&w.latestSelectedDateObj&&0===M(w.latestSelectedDateObj,w.config.maxDate,!0);if(void 0!==w.config.maxTime&&void 0!==w.config.minTime&&w.config.minTime>w.config.maxTime){var c=y(w.config.minTime.getHours(),w.config.minTime.getMinutes(),w.config.minTime.getSeconds()),s=y(w.config.maxTime.getHours(),w.config.maxTime.getMinutes(),w.config.maxTime.getSeconds()),d=y(t,a,i);if(d>s&&d<c){var u=function(e){var n=Math.floor(e/3600),t=(e-3600*n)/60;return[n,t,e-3600*n-60*t]}(c);t=u[0],a=u[1],i=u[2]}}else{if(l){var f=void 0!==w.config.maxTime?w.config.maxTime:w.config.maxDate;(t=Math.min(t,f.getHours()))===f.getHours()&&(a=Math.min(a,f.getMinutes())),a===f.getMinutes()&&(i=Math.min(i,f.getSeconds()))}if(o){var m=void 0!==w.config.minTime?w.config.minTime:w.config.minDate;(t=Math.max(t,m.getHours()))===m.getHours()&&a<m.getMinutes()&&(a=m.getMinutes()),a===m.getMinutes()&&(i=Math.max(i,m.getSeconds()))}}A(t,a,i)}}function F(e){var n=e||w.latestSelectedDateObj;n&&n instanceof Date&&A(n.getHours(),n.getMinutes(),n.getSeconds())}function A(e,n,t){void 0!==w.latestSelectedDateObj&&w.latestSelectedDateObj.setHours(e%24,n,t||0,0),w.hourElement&&w.minuteElement&&!w.isMobile&&(w.hourElement.value=o(w.config.time_24hr?e:(12+e)%12+12*r(e%12==0)),w.minuteElement.value=o(n),void 0!==w.amPM&&(w.amPM.textContent=w.l10n.amPM[r(e>=12)]),void 0!==w.secondElement&&(w.secondElement.value=o(t)))}function N(e){var n=g(e),t=parseInt(n.value)+(e.delta||0);(t/1e3>1||"Enter"===e.key&&!/[^\d]/.test(t.toString()))&&ee(t)}function P(e,n,t,a){return n instanceof Array?n.forEach((function(n){return P(e,n,t,a)})):e instanceof Array?e.forEach((function(e){return P(e,n,t,a)})):(e.addEventListener(n,t,a),void w._handlers.push({remove:function(){return e.removeEventListener(n,t,a)}}))}function Y(){De("onChange")}function j(e,n){var t=void 0!==e?w.parseDate(e):w.latestSelectedDateObj||(w.config.minDate&&w.config.minDate>w.now?w.config.minDate:w.config.maxDate&&w.config.maxDate<w.now?w.config.maxDate:w.now),a=w.currentYear,i=w.currentMonth;try{void 0!==t&&(w.currentYear=t.getFullYear(),w.currentMonth=t.getMonth())}catch(e){e.message="Invalid date supplied: "+t,w.config.errorHandler(e)}n&&w.currentYear!==a&&(De("onYearChange"),q()),!n||w.currentYear===a&&w.currentMonth===i||De("onMonthChange"),w.redraw()}function H(e){var n=g(e);~n.className.indexOf("arrow")&&L(e,n.classList.contains("arrowUp")?1:-1)}function L(e,n,t){var a=e&&g(e),i=t||a&&a.parentNode&&a.parentNode.firstChild,o=we("increment");o.delta=n,i&&i.dispatchEvent(o)}function R(e,n,t,a){var i=ne(n,!0),o=d("span",e,n.getDate().toString());return o.dateObj=n,o.$i=a,o.setAttribute("aria-label",w.formatDate(n,w.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===M(n,w.now)&&(w.todayDateElem=o,o.classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,be(n)&&(o.classList.add("selected"),w.selectedDateElem=o,"range"===w.config.mode&&(s(o,"startRange",w.selectedDates[0]&&0===M(n,w.selectedDates[0],!0)),s(o,"endRange",w.selectedDates[1]&&0===M(n,w.selectedDates[1],!0)),"nextMonthDay"===e&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===w.config.mode&&function(e){return!("range"!==w.config.mode||w.selectedDates.length<2)&&(M(e,w.selectedDates[0])>=0&&M(e,w.selectedDates[1])<=0)}(n)&&!be(n)&&o.classList.add("inRange"),w.weekNumbers&&1===w.config.showMonths&&"prevMonthDay"!==e&&a%7==6&&w.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+w.config.getWeek(n)+"</span>"),De("onDayCreate",o),o}function W(e){e.focus(),"range"===w.config.mode&&oe(e)}function B(e){for(var n=e>0?0:w.config.showMonths-1,t=e>0?w.config.showMonths:-1,a=n;a!=t;a+=e)for(var i=w.daysContainer.children[a],o=e>0?0:i.children.length-1,r=e>0?i.children.length:-1,l=o;l!=r;l+=e){var c=i.children[l];if(-1===c.className.indexOf("hidden")&&ne(c.dateObj))return c}}function J(e,n){var t=k(),a=te(t||document.body),i=void 0!==e?e:a?t:void 0!==w.selectedDateElem&&te(w.selectedDateElem)?w.selectedDateElem:void 0!==w.todayDateElem&&te(w.todayDateElem)?w.todayDateElem:B(n>0?1:-1);void 0===i?w._input.focus():a?function(e,n){for(var t=-1===e.className.indexOf("Month")?e.dateObj.getMonth():w.currentMonth,a=n>0?w.config.showMonths:-1,i=n>0?1:-1,o=t-w.currentMonth;o!=a;o+=i)for(var r=w.daysContainer.children[o],l=t-w.currentMonth===o?e.$i+n:n<0?r.children.length-1:0,c=r.children.length,s=l;s>=0&&s<c&&s!=(n>0?c:-1);s+=i){var d=r.children[s];if(-1===d.className.indexOf("hidden")&&ne(d.dateObj)&&Math.abs(e.$i-s)>=Math.abs(n))return W(d)}w.changeMonth(i),J(B(i),0)}(i,n):W(i)}function K(e,n){for(var t=(new Date(e,n,1).getDay()-w.l10n.firstDayOfWeek+7)%7,a=w.utils.getDaysInMonth((n-1+12)%12,e),i=w.utils.getDaysInMonth(n,e),o=window.document.createDocumentFragment(),r=w.config.showMonths>1,l=r?"prevMonthDay hidden":"prevMonthDay",c=r?"nextMonthDay hidden":"nextMonthDay",s=a+1-t,u=0;s<=a;s++,u++)o.appendChild(R("flatpickr-day "+l,new Date(e,n-1,s),0,u));for(s=1;s<=i;s++,u++)o.appendChild(R("flatpickr-day",new Date(e,n,s),0,u));for(var f=i+1;f<=42-t&&(1===w.config.showMonths||u%7!=0);f++,u++)o.appendChild(R("flatpickr-day "+c,new Date(e,n+1,f%i),0,u));var m=d("div","dayContainer");return m.appendChild(o),m}function U(){if(void 0!==w.daysContainer){u(w.daysContainer),w.weekNumbers&&u(w.weekNumbers);for(var e=document.createDocumentFragment(),n=0;n<w.config.showMonths;n++){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),e.appendChild(K(t.getFullYear(),t.getMonth()))}w.daysContainer.appendChild(e),w.days=w.daysContainer.firstChild,"range"===w.config.mode&&1===w.selectedDates.length&&oe()}}function q(){if(!(w.config.showMonths>1||"dropdown"!==w.config.monthSelectorType)){var e=function(e){return!(void 0!==w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&e<w.config.minDate.getMonth())&&!(void 0!==w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()&&e>w.config.maxDate.getMonth())};w.monthsDropdownContainer.tabIndex=-1,w.monthsDropdownContainer.innerHTML="";for(var n=0;n<12;n++)if(e(n)){var t=d("option","flatpickr-monthDropdown-month");t.value=new Date(w.currentYear,n).getMonth().toString(),t.textContent=h(n,w.config.shorthandCurrentMonth,w.l10n),t.tabIndex=-1,w.currentMonth===n&&(t.selected=!0),w.monthsDropdownContainer.appendChild(t)}}}function $(){var e,n=d("div","flatpickr-month"),t=window.document.createDocumentFragment();w.config.showMonths>1||"static"===w.config.monthSelectorType?e=d("span","cur-month"):(w.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),w.monthsDropdownContainer.setAttribute("aria-label",w.l10n.monthAriaLabel),P(w.monthsDropdownContainer,"change",(function(e){var n=g(e),t=parseInt(n.value,10);w.changeMonth(t-w.currentMonth),De("onMonthChange")})),q(),e=w.monthsDropdownContainer);var a=m("cur-year",{tabindex:"-1"}),i=a.getElementsByTagName("input")[0];i.setAttribute("aria-label",w.l10n.yearAriaLabel),w.config.minDate&&i.setAttribute("min",w.config.minDate.getFullYear().toString()),w.config.maxDate&&(i.setAttribute("max",w.config.maxDate.getFullYear().toString()),i.disabled=!!w.config.minDate&&w.config.minDate.getFullYear()===w.config.maxDate.getFullYear());var o=d("div","flatpickr-current-month");return o.appendChild(e),o.appendChild(a),t.appendChild(o),n.appendChild(t),{container:n,yearElement:i,monthElement:e}}function V(){u(w.monthNav),w.monthNav.appendChild(w.prevMonthNav),w.config.showMonths&&(w.yearElements=[],w.monthElements=[]);for(var e=w.config.showMonths;e--;){var n=$();w.yearElements.push(n.yearElement),w.monthElements.push(n.monthElement),w.monthNav.appendChild(n.container)}w.monthNav.appendChild(w.nextMonthNav)}function z(){w.weekdayContainer?u(w.weekdayContainer):w.weekdayContainer=d("div","flatpickr-weekdays");for(var e=w.config.showMonths;e--;){var n=d("div","flatpickr-weekdaycontainer");w.weekdayContainer.appendChild(n)}return G(),w.weekdayContainer}function G(){if(w.weekdayContainer){var e=w.l10n.firstDayOfWeek,t=n(w.l10n.weekdays.shorthand);e>0&&e<t.length&&(t=n(t.splice(e,t.length),t.splice(0,e)));for(var a=w.config.showMonths;a--;)w.weekdayContainer.children[a].innerHTML="\n      <span class='flatpickr-weekday'>\n        "+t.join("</span><span class='flatpickr-weekday'>")+"\n      </span>\n      "}}function Z(e,n){void 0===n&&(n=!0);var t=n?e:e-w.currentMonth;t<0&&!0===w._hidePrevMonthArrow||t>0&&!0===w._hideNextMonthArrow||(w.currentMonth+=t,(w.currentMonth<0||w.currentMonth>11)&&(w.currentYear+=w.currentMonth>11?1:-1,w.currentMonth=(w.currentMonth+12)%12,De("onYearChange"),q()),U(),De("onMonthChange"),Ce())}function Q(e){return w.calendarContainer.contains(e)}function X(e){if(w.isOpen&&!w.config.inline){var n=g(e),t=Q(n),a=!(n===w.input||n===w.altInput||w.element.contains(n)||e.path&&e.path.indexOf&&(~e.path.indexOf(w.input)||~e.path.indexOf(w.altInput)))&&!t&&!Q(e.relatedTarget),i=!w.config.ignoredFocusElements.some((function(e){return e.contains(n)}));a&&i&&(w.config.allowInput&&w.setDate(w._input.value,!1,w.config.altInput?w.config.altFormat:w.config.dateFormat),void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement&&""!==w.input.value&&void 0!==w.input.value&&_(),w.close(),w.config&&"range"===w.config.mode&&1===w.selectedDates.length&&w.clear(!1))}}function ee(e){if(!(!e||w.config.minDate&&e<w.config.minDate.getFullYear()||w.config.maxDate&&e>w.config.maxDate.getFullYear())){var n=e,t=w.currentYear!==n;w.currentYear=n||w.currentYear,w.config.maxDate&&w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth=Math.min(w.config.maxDate.getMonth(),w.currentMonth):w.config.minDate&&w.currentYear===w.config.minDate.getFullYear()&&(w.currentMonth=Math.max(w.config.minDate.getMonth(),w.currentMonth)),t&&(w.redraw(),De("onYearChange"),q())}}function ne(e,n){var t;void 0===n&&(n=!0);var a=w.parseDate(e,void 0,n);if(w.config.minDate&&a&&M(a,w.config.minDate,void 0!==n?n:!w.minDateHasTime)<0||w.config.maxDate&&a&&M(a,w.config.maxDate,void 0!==n?n:!w.maxDateHasTime)>0)return!1;if(!w.config.enable&&0===w.config.disable.length)return!0;if(void 0===a)return!1;for(var i=!!w.config.enable,o=null!==(t=w.config.enable)&&void 0!==t?t:w.config.disable,r=0,l=void 0;r<o.length;r++){if("function"==typeof(l=o[r])&&l(a))return i;if(l instanceof Date&&void 0!==a&&l.getTime()===a.getTime())return i;if("string"==typeof l){var c=w.parseDate(l,void 0,!0);return c&&c.getTime()===a.getTime()?i:!i}if("object"==typeof l&&void 0!==a&&l.from&&l.to&&a.getTime()>=l.from.getTime()&&a.getTime()<=l.to.getTime())return i}return!i}function te(e){return void 0!==w.daysContainer&&(-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&w.daysContainer.contains(e))}function ae(e){var n=e.target===w._input,t=w._input.value.trimEnd()!==Me();!n||!t||e.relatedTarget&&Q(e.relatedTarget)||w.setDate(w._input.value,!0,e.target===w.altInput?w.config.altFormat:w.config.dateFormat)}function ie(e){var n=g(e),t=w.config.wrap?p.contains(n):n===w._input,a=w.config.allowInput,i=w.isOpen&&(!a||!t),o=w.config.inline&&t&&!a;if(13===e.keyCode&&t){if(a)return w.setDate(w._input.value,!0,n===w.altInput?w.config.altFormat:w.config.dateFormat),w.close(),n.blur();w.open()}else if(Q(n)||i||o){var r=!!w.timeContainer&&w.timeContainer.contains(n);switch(e.keyCode){case 13:r?(e.preventDefault(),_(),fe()):me(e);break;case 27:e.preventDefault(),fe();break;case 8:case 46:t&&!w.config.allowInput&&(e.preventDefault(),w.clear());break;case 37:case 39:if(r||t)w.hourElement&&w.hourElement.focus();else{e.preventDefault();var l=k();if(void 0!==w.daysContainer&&(!1===a||l&&te(l))){var c=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),Z(c),J(B(1),0)):J(void 0,c)}}break;case 38:case 40:e.preventDefault();var s=40===e.keyCode?1:-1;w.daysContainer&&void 0!==n.$i||n===w.input||n===w.altInput?e.ctrlKey?(e.stopPropagation(),ee(w.currentYear-s),J(B(1),0)):r||J(void 0,7*s):n===w.currentYearElement?ee(w.currentYear-s):w.config.enableTime&&(!r&&w.hourElement&&w.hourElement.focus(),_(e),w._debouncedChange());break;case 9:if(r){var d=[w.hourElement,w.minuteElement,w.secondElement,w.amPM].concat(w.pluginElements).filter((function(e){return e})),u=d.indexOf(n);if(-1!==u){var f=d[u+(e.shiftKey?-1:1)];e.preventDefault(),(f||w._input).focus()}}else!w.config.noCalendar&&w.daysContainer&&w.daysContainer.contains(n)&&e.shiftKey&&(e.preventDefault(),w._input.focus())}}if(void 0!==w.amPM&&n===w.amPM)switch(e.key){case w.l10n.amPM[0].charAt(0):case w.l10n.amPM[0].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[0],O(),ye();break;case w.l10n.amPM[1].charAt(0):case w.l10n.amPM[1].charAt(0).toLowerCase():w.amPM.textContent=w.l10n.amPM[1],O(),ye()}(t||Q(n))&&De("onKeyDown",e)}function oe(e,n){if(void 0===n&&(n="flatpickr-day"),1===w.selectedDates.length&&(!e||e.classList.contains(n)&&!e.classList.contains("flatpickr-disabled"))){for(var t=e?e.dateObj.getTime():w.days.firstElementChild.dateObj.getTime(),a=w.parseDate(w.selectedDates[0],void 0,!0).getTime(),i=Math.min(t,w.selectedDates[0].getTime()),o=Math.max(t,w.selectedDates[0].getTime()),r=!1,l=0,c=0,s=i;s<o;s+=x)ne(new Date(s),!0)||(r=r||s>i&&s<o,s<a&&(!l||s>l)?l=s:s>a&&(!c||s<c)&&(c=s));Array.from(w.rContainer.querySelectorAll("*:nth-child(-n+"+w.config.showMonths+") > ."+n)).forEach((function(n){var i,o,s,d=n.dateObj.getTime(),u=l>0&&d<l||c>0&&d>c;if(u)return n.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){n.classList.remove(e)}));r&&!u||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){n.classList.remove(e)})),void 0!==e&&(e.classList.add(t<=w.selectedDates[0].getTime()?"startRange":"endRange"),a<t&&d===a?n.classList.add("startRange"):a>t&&d===a&&n.classList.add("endRange"),d>=l&&(0===c||d<=c)&&(o=a,s=t,(i=d)>Math.min(o,s)&&i<Math.max(o,s))&&n.classList.add("inRange")))}))}}function re(){!w.isOpen||w.config.static||w.config.inline||de()}function le(e){return function(n){var t=w.config["_"+e+"Date"]=w.parseDate(n,w.config.dateFormat),a=w.config["_"+("min"===e?"max":"min")+"Date"];void 0!==t&&(w["min"===e?"minDateHasTime":"maxDateHasTime"]=t.getHours()>0||t.getMinutes()>0||t.getSeconds()>0),w.selectedDates&&(w.selectedDates=w.selectedDates.filter((function(e){return ne(e)})),w.selectedDates.length||"min"!==e||F(t),ye()),w.daysContainer&&(ue(),void 0!==t?w.currentYearElement[e]=t.getFullYear().toString():w.currentYearElement.removeAttribute(e),w.currentYearElement.disabled=!!a&&void 0!==t&&a.getFullYear()===t.getFullYear())}}function ce(){return w.config.wrap?p.querySelector("[data-input]"):p}function se(){"object"!=typeof w.config.locale&&void 0===I.l10ns[w.config.locale]&&w.config.errorHandler(new Error("flatpickr: invalid locale "+w.config.locale)),w.l10n=e(e({},I.l10ns.default),"object"==typeof w.config.locale?w.config.locale:"default"!==w.config.locale?I.l10ns[w.config.locale]:void 0),D.D="("+w.l10n.weekdays.shorthand.join("|")+")",D.l="("+w.l10n.weekdays.longhand.join("|")+")",D.M="("+w.l10n.months.shorthand.join("|")+")",D.F="("+w.l10n.months.longhand.join("|")+")",D.K="("+w.l10n.amPM[0]+"|"+w.l10n.amPM[1]+"|"+w.l10n.amPM[0].toLowerCase()+"|"+w.l10n.amPM[1].toLowerCase()+")",void 0===e(e({},v),JSON.parse(JSON.stringify(p.dataset||{}))).time_24hr&&void 0===I.defaultConfig.time_24hr&&(w.config.time_24hr=w.l10n.time_24hr),w.formatDate=b(w),w.parseDate=C({config:w.config,l10n:w.l10n})}function de(e){if("function"!=typeof w.config.position){if(void 0!==w.calendarContainer){De("onPreCalendarPosition");var n=e||w._positionElement,t=Array.prototype.reduce.call(w.calendarContainer.children,(function(e,n){return e+n.offsetHeight}),0),a=w.calendarContainer.offsetWidth,i=w.config.position.split(" "),o=i[0],r=i.length>1?i[1]:null,l=n.getBoundingClientRect(),c=window.innerHeight-l.bottom,d="above"===o||"below"!==o&&c<t&&l.top>t,u=window.pageYOffset+l.top+(d?-t-2:n.offsetHeight+2);if(s(w.calendarContainer,"arrowTop",!d),s(w.calendarContainer,"arrowBottom",d),!w.config.inline){var f=window.pageXOffset+l.left,m=!1,g=!1;"center"===r?(f-=(a-l.width)/2,m=!0):"right"===r&&(f-=a-l.width,g=!0),s(w.calendarContainer,"arrowLeft",!m&&!g),s(w.calendarContainer,"arrowCenter",m),s(w.calendarContainer,"arrowRight",g);var p=window.document.body.offsetWidth-(window.pageXOffset+l.right),h=f+a>window.document.body.offsetWidth,v=p+a>window.document.body.offsetWidth;if(s(w.calendarContainer,"rightMost",h),!w.config.static)if(w.calendarContainer.style.top=u+"px",h)if(v){var D=function(){for(var e=null,n=0;n<document.styleSheets.length;n++){var t=document.styleSheets[n];if(t.cssRules){try{t.cssRules}catch(e){continue}e=t;break}}return null!=e?e:(a=document.createElement("style"),document.head.appendChild(a),a.sheet);var a}();if(void 0===D)return;var b=window.document.body.offsetWidth,C=Math.max(0,b/2-a/2),M=D.cssRules.length,y="{left:"+l.left+"px;right:auto;}";s(w.calendarContainer,"rightMost",!1),s(w.calendarContainer,"centerMost",!0),D.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+y,M),w.calendarContainer.style.left=C+"px",w.calendarContainer.style.right="auto"}else w.calendarContainer.style.left="auto",w.calendarContainer.style.right=p+"px";else w.calendarContainer.style.left=f+"px",w.calendarContainer.style.right="auto"}}}else w.config.position(w,e)}function ue(){w.config.noCalendar||w.isMobile||(q(),Ce(),U())}function fe(){w._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(w.close,0):w.close()}function me(e){e.preventDefault(),e.stopPropagation();var n=f(g(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==n){var t=n,a=w.latestSelectedDateObj=new Date(t.dateObj.getTime()),i=(a.getMonth()<w.currentMonth||a.getMonth()>w.currentMonth+w.config.showMonths-1)&&"range"!==w.config.mode;if(w.selectedDateElem=t,"single"===w.config.mode)w.selectedDates=[a];else if("multiple"===w.config.mode){var o=be(a);o?w.selectedDates.splice(parseInt(o),1):w.selectedDates.push(a)}else"range"===w.config.mode&&(2===w.selectedDates.length&&w.clear(!1,!1),w.latestSelectedDateObj=a,w.selectedDates.push(a),0!==M(a,w.selectedDates[0],!0)&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()})));if(O(),i){var r=w.currentYear!==a.getFullYear();w.currentYear=a.getFullYear(),w.currentMonth=a.getMonth(),r&&(De("onYearChange"),q()),De("onMonthChange")}if(Ce(),U(),ye(),i||"range"===w.config.mode||1!==w.config.showMonths?void 0!==w.selectedDateElem&&void 0===w.hourElement&&w.selectedDateElem&&w.selectedDateElem.focus():W(t),void 0!==w.hourElement&&void 0!==w.hourElement&&w.hourElement.focus(),w.config.closeOnSelect){var l="single"===w.config.mode&&!w.config.enableTime,c="range"===w.config.mode&&2===w.selectedDates.length&&!w.config.enableTime;(l||c)&&fe()}Y()}}w.parseDate=C({config:w.config,l10n:w.l10n}),w._handlers=[],w.pluginElements=[],w.loadedPlugins=[],w._bind=P,w._setHoursFromDate=F,w._positionCalendar=de,w.changeMonth=Z,w.changeYear=ee,w.clear=function(e,n){void 0===e&&(e=!0);void 0===n&&(n=!0);w.input.value="",void 0!==w.altInput&&(w.altInput.value="");void 0!==w.mobileInput&&(w.mobileInput.value="");w.selectedDates=[],w.latestSelectedDateObj=void 0,!0===n&&(w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth());if(!0===w.config.enableTime){var t=E(w.config),a=t.hours,i=t.minutes,o=t.seconds;A(a,i,o)}w.redraw(),e&&De("onChange")},w.close=function(){w.isOpen=!1,w.isMobile||(void 0!==w.calendarContainer&&w.calendarContainer.classList.remove("open"),void 0!==w._input&&w._input.classList.remove("active"));De("onClose")},w.onMouseOver=oe,w._createElement=d,w.createDay=R,w.destroy=function(){void 0!==w.config&&De("onDestroy");for(var e=w._handlers.length;e--;)w._handlers[e].remove();if(w._handlers=[],w.mobileInput)w.mobileInput.parentNode&&w.mobileInput.parentNode.removeChild(w.mobileInput),w.mobileInput=void 0;else if(w.calendarContainer&&w.calendarContainer.parentNode)if(w.config.static&&w.calendarContainer.parentNode){var n=w.calendarContainer.parentNode;if(n.lastChild&&n.removeChild(n.lastChild),n.parentNode){for(;n.firstChild;)n.parentNode.insertBefore(n.firstChild,n);n.parentNode.removeChild(n)}}else w.calendarContainer.parentNode.removeChild(w.calendarContainer);w.altInput&&(w.input.type="text",w.altInput.parentNode&&w.altInput.parentNode.removeChild(w.altInput),delete w.altInput);w.input&&(w.input.type=w.input._type,w.input.classList.remove("flatpickr-input"),w.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete w[e]}catch(e){}}))},w.isEnabled=ne,w.jumpToDate=j,w.updateValue=ye,w.open=function(e,n){void 0===n&&(n=w._positionElement);if(!0===w.isMobile){if(e){e.preventDefault();var t=g(e);t&&t.blur()}return void 0!==w.mobileInput&&(w.mobileInput.focus(),w.mobileInput.click()),void De("onOpen")}if(w._input.disabled||w.config.inline)return;var a=w.isOpen;w.isOpen=!0,a||(w.calendarContainer.classList.add("open"),w._input.classList.add("active"),De("onOpen"),de(n));!0===w.config.enableTime&&!0===w.config.noCalendar&&(!1!==w.config.allowInput||void 0!==e&&w.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return w.hourElement.select()}),50))},w.redraw=ue,w.set=function(e,n){if(null!==e&&"object"==typeof e)for(var a in Object.assign(w.config,e),e)void 0!==ge[a]&&ge[a].forEach((function(e){return e()}));else w.config[e]=n,void 0!==ge[e]?ge[e].forEach((function(e){return e()})):t.indexOf(e)>-1&&(w.config[e]=c(n));w.redraw(),ye(!0)},w.setDate=function(e,n,t){void 0===n&&(n=!1);void 0===t&&(t=w.config.dateFormat);if(0!==e&&!e||e instanceof Array&&0===e.length)return w.clear(n);pe(e,t),w.latestSelectedDateObj=w.selectedDates[w.selectedDates.length-1],w.redraw(),j(void 0,n),F(),0===w.selectedDates.length&&w.clear(!1);ye(n),n&&De("onChange")},w.toggle=function(e){if(!0===w.isOpen)return w.close();w.open(e)};var ge={locale:[se,G],showMonths:[V,S,z],minDate:[j],maxDate:[j],positionElement:[ve],clickOpens:[function(){!0===w.config.clickOpens?(P(w._input,"focus",w.open),P(w._input,"click",w.open)):(w._input.removeEventListener("focus",w.open),w._input.removeEventListener("click",w.open))}]};function pe(e,n){var t=[];if(e instanceof Array)t=e.map((function(e){return w.parseDate(e,n)}));else if(e instanceof Date||"number"==typeof e)t=[w.parseDate(e,n)];else if("string"==typeof e)switch(w.config.mode){case"single":case"time":t=[w.parseDate(e,n)];break;case"multiple":t=e.split(w.config.conjunction).map((function(e){return w.parseDate(e,n)}));break;case"range":t=e.split(w.l10n.rangeSeparator).map((function(e){return w.parseDate(e,n)}))}else w.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));w.selectedDates=w.config.allowInvalidPreload?t:t.filter((function(e){return e instanceof Date&&ne(e,!1)})),"range"===w.config.mode&&w.selectedDates.sort((function(e,n){return e.getTime()-n.getTime()}))}function he(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?w.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:w.parseDate(e.from,void 0),to:w.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function ve(){w._positionElement=w.config.positionElement||w._input}function De(e,n){if(void 0!==w.config){var t=w.config[e];if(void 0!==t&&t.length>0)for(var a=0;t[a]&&a<t.length;a++)t[a](w.selectedDates,w.input.value,w,n);"onChange"===e&&(w.input.dispatchEvent(we("change")),w.input.dispatchEvent(we("input")))}}function we(e){var n=document.createEvent("Event");return n.initEvent(e,!0,!0),n}function be(e){for(var n=0;n<w.selectedDates.length;n++){var t=w.selectedDates[n];if(t instanceof Date&&0===M(t,e))return""+n}return!1}function Ce(){w.config.noCalendar||w.isMobile||!w.monthNav||(w.yearElements.forEach((function(e,n){var t=new Date(w.currentYear,w.currentMonth,1);t.setMonth(w.currentMonth+n),w.config.showMonths>1||"static"===w.config.monthSelectorType?w.monthElements[n].textContent=h(t.getMonth(),w.config.shorthandCurrentMonth,w.l10n)+" ":w.monthsDropdownContainer.value=t.getMonth().toString(),e.value=t.getFullYear().toString()})),w._hidePrevMonthArrow=void 0!==w.config.minDate&&(w.currentYear===w.config.minDate.getFullYear()?w.currentMonth<=w.config.minDate.getMonth():w.currentYear<w.config.minDate.getFullYear()),w._hideNextMonthArrow=void 0!==w.config.maxDate&&(w.currentYear===w.config.maxDate.getFullYear()?w.currentMonth+1>w.config.maxDate.getMonth():w.currentYear>w.config.maxDate.getFullYear()))}function Me(e){var n=e||(w.config.altInput?w.config.altFormat:w.config.dateFormat);return w.selectedDates.map((function(e){return w.formatDate(e,n)})).filter((function(e,n,t){return"range"!==w.config.mode||w.config.enableTime||t.indexOf(e)===n})).join("range"!==w.config.mode?w.config.conjunction:w.l10n.rangeSeparator)}function ye(e){void 0===e&&(e=!0),void 0!==w.mobileInput&&w.mobileFormatStr&&(w.mobileInput.value=void 0!==w.latestSelectedDateObj?w.formatDate(w.latestSelectedDateObj,w.mobileFormatStr):""),w.input.value=Me(w.config.dateFormat),void 0!==w.altInput&&(w.altInput.value=Me(w.config.altFormat)),!1!==e&&De("onValueUpdate")}function xe(e){var n=g(e),t=w.prevMonthNav.contains(n),a=w.nextMonthNav.contains(n);t||a?Z(t?-1:1):w.yearElements.indexOf(n)>=0?n.select():n.classList.contains("arrowUp")?w.changeYear(w.currentYear+1):n.classList.contains("arrowDown")&&w.changeYear(w.currentYear-1)}return function(){w.element=w.input=p,w.isOpen=!1,function(){var n=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],i=e(e({},JSON.parse(JSON.stringify(p.dataset||{}))),v),o={};w.config.parseDate=i.parseDate,w.config.formatDate=i.formatDate,Object.defineProperty(w.config,"enable",{get:function(){return w.config._enable},set:function(e){w.config._enable=he(e)}}),Object.defineProperty(w.config,"disable",{get:function(){return w.config._disable},set:function(e){w.config._disable=he(e)}});var r="time"===i.mode;if(!i.dateFormat&&(i.enableTime||r)){var l=I.defaultConfig.dateFormat||a.dateFormat;o.dateFormat=i.noCalendar||r?"H:i"+(i.enableSeconds?":S":""):l+" H:i"+(i.enableSeconds?":S":"")}if(i.altInput&&(i.enableTime||r)&&!i.altFormat){var s=I.defaultConfig.altFormat||a.altFormat;o.altFormat=i.noCalendar||r?"h:i"+(i.enableSeconds?":S K":" K"):s+" h:i"+(i.enableSeconds?":S":"")+" K"}Object.defineProperty(w.config,"minDate",{get:function(){return w.config._minDate},set:le("min")}),Object.defineProperty(w.config,"maxDate",{get:function(){return w.config._maxDate},set:le("max")});var d=function(e){return function(n){w.config["min"===e?"_minTime":"_maxTime"]=w.parseDate(n,"H:i:S")}};Object.defineProperty(w.config,"minTime",{get:function(){return w.config._minTime},set:d("min")}),Object.defineProperty(w.config,"maxTime",{get:function(){return w.config._maxTime},set:d("max")}),"time"===i.mode&&(w.config.noCalendar=!0,w.config.enableTime=!0);Object.assign(w.config,o,i);for(var u=0;u<n.length;u++)w.config[n[u]]=!0===w.config[n[u]]||"true"===w.config[n[u]];t.filter((function(e){return void 0!==w.config[e]})).forEach((function(e){w.config[e]=c(w.config[e]||[]).map(T)})),w.isMobile=!w.config.disableMobile&&!w.config.inline&&"single"===w.config.mode&&!w.config.disable.length&&!w.config.enable&&!w.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(u=0;u<w.config.plugins.length;u++){var f=w.config.plugins[u](w)||{};for(var m in f)t.indexOf(m)>-1?w.config[m]=c(f[m]).map(T).concat(w.config[m]):void 0===i[m]&&(w.config[m]=f[m])}i.altInputClass||(w.config.altInputClass=ce().className+" "+w.config.altInputClass);De("onParseConfig")}(),se(),function(){if(w.input=ce(),!w.input)return void w.config.errorHandler(new Error("Invalid input element specified"));w.input._type=w.input.type,w.input.type="text",w.input.classList.add("flatpickr-input"),w._input=w.input,w.config.altInput&&(w.altInput=d(w.input.nodeName,w.config.altInputClass),w._input=w.altInput,w.altInput.placeholder=w.input.placeholder,w.altInput.disabled=w.input.disabled,w.altInput.required=w.input.required,w.altInput.tabIndex=w.input.tabIndex,w.altInput.type="text",w.input.setAttribute("type","hidden"),!w.config.static&&w.input.parentNode&&w.input.parentNode.insertBefore(w.altInput,w.input.nextSibling));w.config.allowInput||w._input.setAttribute("readonly","readonly");ve()}(),function(){w.selectedDates=[],w.now=w.parseDate(w.config.now)||new Date;var e=w.config.defaultDate||("INPUT"!==w.input.nodeName&&"TEXTAREA"!==w.input.nodeName||!w.input.placeholder||w.input.value!==w.input.placeholder?w.input.value:null);e&&pe(e,w.config.dateFormat);w._initialDate=w.selectedDates.length>0?w.selectedDates[0]:w.config.minDate&&w.config.minDate.getTime()>w.now.getTime()?w.config.minDate:w.config.maxDate&&w.config.maxDate.getTime()<w.now.getTime()?w.config.maxDate:w.now,w.currentYear=w._initialDate.getFullYear(),w.currentMonth=w._initialDate.getMonth(),w.selectedDates.length>0&&(w.latestSelectedDateObj=w.selectedDates[0]);void 0!==w.config.minTime&&(w.config.minTime=w.parseDate(w.config.minTime,"H:i"));void 0!==w.config.maxTime&&(w.config.maxTime=w.parseDate(w.config.maxTime,"H:i"));w.minDateHasTime=!!w.config.minDate&&(w.config.minDate.getHours()>0||w.config.minDate.getMinutes()>0||w.config.minDate.getSeconds()>0),w.maxDateHasTime=!!w.config.maxDate&&(w.config.maxDate.getHours()>0||w.config.maxDate.getMinutes()>0||w.config.maxDate.getSeconds()>0)}(),w.utils={getDaysInMonth:function(e,n){return void 0===e&&(e=w.currentMonth),void 0===n&&(n=w.currentYear),1===e&&(n%4==0&&n%100!=0||n%400==0)?29:w.l10n.daysInMonth[e]}},w.isMobile||function(){var e=window.document.createDocumentFragment();if(w.calendarContainer=d("div","flatpickr-calendar"),w.calendarContainer.tabIndex=-1,!w.config.noCalendar){if(e.appendChild((w.monthNav=d("div","flatpickr-months"),w.yearElements=[],w.monthElements=[],w.prevMonthNav=d("span","flatpickr-prev-month"),w.prevMonthNav.innerHTML=w.config.prevArrow,w.nextMonthNav=d("span","flatpickr-next-month"),w.nextMonthNav.innerHTML=w.config.nextArrow,V(),Object.defineProperty(w,"_hidePrevMonthArrow",{get:function(){return w.__hidePrevMonthArrow},set:function(e){w.__hidePrevMonthArrow!==e&&(s(w.prevMonthNav,"flatpickr-disabled",e),w.__hidePrevMonthArrow=e)}}),Object.defineProperty(w,"_hideNextMonthArrow",{get:function(){return w.__hideNextMonthArrow},set:function(e){w.__hideNextMonthArrow!==e&&(s(w.nextMonthNav,"flatpickr-disabled",e),w.__hideNextMonthArrow=e)}}),w.currentYearElement=w.yearElements[0],Ce(),w.monthNav)),w.innerContainer=d("div","flatpickr-innerContainer"),w.config.weekNumbers){var n=function(){w.calendarContainer.classList.add("hasWeeks");var e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",w.l10n.weekAbbreviation));var n=d("div","flatpickr-weeks");return e.appendChild(n),{weekWrapper:e,weekNumbers:n}}(),t=n.weekWrapper,a=n.weekNumbers;w.innerContainer.appendChild(t),w.weekNumbers=a,w.weekWrapper=t}w.rContainer=d("div","flatpickr-rContainer"),w.rContainer.appendChild(z()),w.daysContainer||(w.daysContainer=d("div","flatpickr-days"),w.daysContainer.tabIndex=-1),U(),w.rContainer.appendChild(w.daysContainer),w.innerContainer.appendChild(w.rContainer),e.appendChild(w.innerContainer)}w.config.enableTime&&e.appendChild(function(){w.calendarContainer.classList.add("hasTime"),w.config.noCalendar&&w.calendarContainer.classList.add("noCalendar");var e=E(w.config);w.timeContainer=d("div","flatpickr-time"),w.timeContainer.tabIndex=-1;var n=d("span","flatpickr-time-separator",":"),t=m("flatpickr-hour",{"aria-label":w.l10n.hourAriaLabel});w.hourElement=t.getElementsByTagName("input")[0];var a=m("flatpickr-minute",{"aria-label":w.l10n.minuteAriaLabel});w.minuteElement=a.getElementsByTagName("input")[0],w.hourElement.tabIndex=w.minuteElement.tabIndex=-1,w.hourElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getHours():w.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),w.minuteElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getMinutes():e.minutes),w.hourElement.setAttribute("step",w.config.hourIncrement.toString()),w.minuteElement.setAttribute("step",w.config.minuteIncrement.toString()),w.hourElement.setAttribute("min",w.config.time_24hr?"0":"1"),w.hourElement.setAttribute("max",w.config.time_24hr?"23":"12"),w.hourElement.setAttribute("maxlength","2"),w.minuteElement.setAttribute("min","0"),w.minuteElement.setAttribute("max","59"),w.minuteElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(t),w.timeContainer.appendChild(n),w.timeContainer.appendChild(a),w.config.time_24hr&&w.timeContainer.classList.add("time24hr");if(w.config.enableSeconds){w.timeContainer.classList.add("hasSeconds");var i=m("flatpickr-second");w.secondElement=i.getElementsByTagName("input")[0],w.secondElement.value=o(w.latestSelectedDateObj?w.latestSelectedDateObj.getSeconds():e.seconds),w.secondElement.setAttribute("step",w.minuteElement.getAttribute("step")),w.secondElement.setAttribute("min","0"),w.secondElement.setAttribute("max","59"),w.secondElement.setAttribute("maxlength","2"),w.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),w.timeContainer.appendChild(i)}w.config.time_24hr||(w.amPM=d("span","flatpickr-am-pm",w.l10n.amPM[r((w.latestSelectedDateObj?w.hourElement.value:w.config.defaultHour)>11)]),w.amPM.title=w.l10n.toggleTitle,w.amPM.tabIndex=-1,w.timeContainer.appendChild(w.amPM));return w.timeContainer}());s(w.calendarContainer,"rangeMode","range"===w.config.mode),s(w.calendarContainer,"animate",!0===w.config.animate),s(w.calendarContainer,"multiMonth",w.config.showMonths>1),w.calendarContainer.appendChild(e);var i=void 0!==w.config.appendTo&&void 0!==w.config.appendTo.nodeType;if((w.config.inline||w.config.static)&&(w.calendarContainer.classList.add(w.config.inline?"inline":"static"),w.config.inline&&(!i&&w.element.parentNode?w.element.parentNode.insertBefore(w.calendarContainer,w._input.nextSibling):void 0!==w.config.appendTo&&w.config.appendTo.appendChild(w.calendarContainer)),w.config.static)){var l=d("div","flatpickr-wrapper");w.element.parentNode&&w.element.parentNode.insertBefore(l,w.element),l.appendChild(w.element),w.altInput&&l.appendChild(w.altInput),l.appendChild(w.calendarContainer)}w.config.static||w.config.inline||(void 0!==w.config.appendTo?w.config.appendTo:window.document.body).appendChild(w.calendarContainer)}(),function(){w.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(w.element.querySelectorAll("[data-"+e+"]"),(function(n){return P(n,"click",w[e])}))}));if(w.isMobile)return void function(){var e=w.config.enableTime?w.config.noCalendar?"time":"datetime-local":"date";w.mobileInput=d("input",w.input.className+" flatpickr-mobile"),w.mobileInput.tabIndex=1,w.mobileInput.type=e,w.mobileInput.disabled=w.input.disabled,w.mobileInput.required=w.input.required,w.mobileInput.placeholder=w.input.placeholder,w.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",w.selectedDates.length>0&&(w.mobileInput.defaultValue=w.mobileInput.value=w.formatDate(w.selectedDates[0],w.mobileFormatStr));w.config.minDate&&(w.mobileInput.min=w.formatDate(w.config.minDate,"Y-m-d"));w.config.maxDate&&(w.mobileInput.max=w.formatDate(w.config.maxDate,"Y-m-d"));w.input.getAttribute("step")&&(w.mobileInput.step=String(w.input.getAttribute("step")));w.input.type="hidden",void 0!==w.altInput&&(w.altInput.type="hidden");try{w.input.parentNode&&w.input.parentNode.insertBefore(w.mobileInput,w.input.nextSibling)}catch(e){}P(w.mobileInput,"change",(function(e){w.setDate(g(e).value,!1,w.mobileFormatStr),De("onChange"),De("onClose")}))}();var e=l(re,50);w._debouncedChange=l(Y,300),w.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&P(w.daysContainer,"mouseover",(function(e){"range"===w.config.mode&&oe(g(e))}));P(w._input,"keydown",ie),void 0!==w.calendarContainer&&P(w.calendarContainer,"keydown",ie);w.config.inline||w.config.static||P(window,"resize",e);void 0!==window.ontouchstart?P(window.document,"touchstart",X):P(window.document,"mousedown",X);P(window.document,"focus",X,{capture:!0}),!0===w.config.clickOpens&&(P(w._input,"focus",w.open),P(w._input,"click",w.open));void 0!==w.daysContainer&&(P(w.monthNav,"click",xe),P(w.monthNav,["keyup","increment"],N),P(w.daysContainer,"click",me));if(void 0!==w.timeContainer&&void 0!==w.minuteElement&&void 0!==w.hourElement){var n=function(e){return g(e).select()};P(w.timeContainer,["increment"],_),P(w.timeContainer,"blur",_,{capture:!0}),P(w.timeContainer,"click",H),P([w.hourElement,w.minuteElement],["focus","click"],n),void 0!==w.secondElement&&P(w.secondElement,"focus",(function(){return w.secondElement&&w.secondElement.select()})),void 0!==w.amPM&&P(w.amPM,"click",(function(e){_(e)}))}w.config.allowInput&&P(w._input,"blur",ae)}(),(w.selectedDates.length||w.config.noCalendar)&&(w.config.enableTime&&F(w.config.noCalendar?w.latestSelectedDateObj:void 0),ye(!1)),S();var n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!w.isMobile&&n&&de(),De("onReady")}(),w}function T(e,n){for(var t=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),a=[],i=0;i<t.length;i++){var o=t[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=k(o,n||{}),a.push(o._flatpickr)}catch(e){console.error(e)}}return 1===a.length?a[0]:a}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return T(this,e)},HTMLElement.prototype.flatpickr=function(e){return T([this],e)});var I=function(e,n){return"string"==typeof e?T(window.document.querySelectorAll(e),n):e instanceof Node?T([e],n):T(e,n)};return I.defaultConfig={},I.l10ns={en:e({},i),default:e({},i)},I.localize=function(n){I.l10ns.default=e(e({},I.l10ns.default),n)},I.setDefaults=function(n){I.defaultConfig=e(e({},I.defaultConfig),n)},I.parseDate=C({}),I.formatDate=b({}),I.compareDates=M,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return T(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=I),I}));