!function(t,e){"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,(function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let i=this._events=this._events||{},s=i[t]=i[t]||[];return s.includes(e)||s.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this},e.off=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;let s=i.indexOf(e);return-1!=s&&i.splice(s,1),this},e.emitEvent=function(t,e){let i=this._events&&this._events[t];if(!i||!i.length)return this;i=i.slice(0),e=e||[];let s=this._onceEvents&&this._onceEvents[t];for(let n of i){s&&s[n]&&(this.off(t,n),delete s[n]),n.apply(this,e)}return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t})),
function(t,e){"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let i=t.jQuery,s=t.console;function n(t,e,o){if(!(this instanceof n))return new n(t,e,o);let r=t;var h;("string"==typeof t&&(r=document.querySelectorAll(t)),r)?(this.elements=(h=r,Array.isArray(h)?h:"object"==typeof h&&"number"==typeof h.length?[...h]:[h]),this.options={},"function"==typeof e?o=e:Object.assign(this.options,e),o&&this.on("always",o),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):s.error(`Bad element for imagesLoaded ${r||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const o=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!o.includes(e))return;let i=t.querySelectorAll("img");for(let t of i)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const r=/url\((['"])?(.*?)\1\)/gi;function h(t){this.img=t}function d(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let i=r.exec(e.backgroundImage);for(;null!==i;){let s=i&&i[2];s&&this.addBackground(s,t),i=r.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new h(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let i=new d(t,e);this.images.push(i)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,i)=>{setTimeout((()=>{this.progress(t,e,i)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${i}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},h.prototype=Object.create(e.prototype),h.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},h.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},h.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:i}=this.img,s="PICTURE"===i.nodeName?i:this.img;this.emitEvent("progress",[this,s,e])},h.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},h.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},h.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},h.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype=Object.create(h.prototype),d.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},d.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},d.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(i=e,i.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(i(this))})},n.makeJQueryPlugin(),n}));
!function(a,b,c){var d=window.matchMedia;"undefined"!=typeof module&&module.exports?module.exports=c(d):"function"==typeof define&&define.amd?define(function(){return b[a]=c(d)}):b[a]=c(d)}("enquire",this,function(a){"use strict";function b(a,b){var c,d=0,e=a.length;for(d;e>d&&(c=b(a[d],d),c!==!1);d++);}function c(a){return"[object Array]"===Object.prototype.toString.apply(a)}function d(a){return"function"==typeof a}function e(a){this.options=a,!a.deferSetup&&this.setup()}function f(b,c){this.query=b,this.isUnconditional=c,this.handlers=[],this.mql=a(b);var d=this;this.listener=function(a){d.mql=a,d.assess()},this.mql.addListener(this.listener)}function g(){if(!a)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!a("only all").matches}return e.prototype={setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(a){return this.options===a||this.options.match===a}},f.prototype={addHandler:function(a){var b=new e(a);this.handlers.push(b),this.matches()&&b.on()},removeHandler:function(a){var c=this.handlers;b(c,function(b,d){return b.equals(a)?(b.destroy(),!c.splice(d,1)):void 0})},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){b(this.handlers,function(a){a.destroy()}),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var a=this.matches()?"on":"off";b(this.handlers,function(b){b[a]()})}},g.prototype={register:function(a,e,g){var h=this.queries,i=g&&this.browserIsIncapable;return h[a]||(h[a]=new f(a,i)),d(e)&&(e={match:e}),c(e)||(e=[e]),b(e,function(b){d(b)&&(b={match:b}),h[a].addHandler(b)}),this},unregister:function(a,b){var c=this.queries[a];return c&&(b?c.removeHandler(b):(c.clear(),delete this.queries[a])),this}},new g});
!function(a,b){"function"==typeof define&&define.amd?define("savvior",["enquire"],function(c){return a["new GridDispatch()"]=b(c)}):"object"==typeof exports?module.exports=b(require("enquire.js")):a.savvior=b(a.enquire)}(this,function(a){function b(a,b,c,d){d||!a.dataset?a.setAttribute("data-"+b,c):a.dataset[b]=c}function c(a,b,c){var d=0;for(d;d<a.length&&b.call(c,a[d],d)!==!1;d++);}function d(a){return"function"==typeof a}function e(a,b){for(b in a)return!1;return!0}function f(a,b){for(var c in a)b[c]=a[c];return b}"function"!=typeof window.CustomEvent&&function(){function a(a,b){b=b||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(a,b.bubbles,b.cancelable,b.detail),c}window.CustomEvent=a,a.prototype=window.CustomEvent.prototype}(),function(){for(var a=0,b=["ms","moz","webkit","o"],c=0;c<b.length&&!window.requestAnimationFrame;++c)window.requestAnimationFrame=window[b[c]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[b[c]+"CancelAnimationFrame"]||window[b[c]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(b,c){var d=(new Date).getTime(),e=Math.max(0,16-(d-a)),f=window.setTimeout(function(){b(d+e)},e);return a=d+e,f}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(a){clearTimeout(a)})}();var g=function(a){this.columns=null,this.element=a,this.filtered=document.createDocumentFragment(),this.status=!1,this.columnClasses=null};g.prototype.setup=function(a,c){if(this.status)return!1;var e=document.createRange(),f=document.createElement("div");e.selectNodeContents(this.element),f.appendChild(e.extractContents()),window.requestAnimationFrame(function(){b(f,"columns",0),this.addColumns(f,a),this.status=!0,d(c)&&c.call(this)}.bind(this))},g.prototype.addColumns=function(a,d){var e,f,g,h=d.columnClasses||["column","size-1of"+d.columns],i=document.createDocumentFragment(),j=[],k=d.columns;for(this.filterItems(a,d.filter),h=Array.isArray(h)?h.join(" "):h;0!=k--;)e="[data-columns] > *:nth-child("+d.columns+"n-"+k+")",j.push(a.querySelectorAll(e));c(j,function(a){f=document.createElement("div"),g=document.createDocumentFragment(),f.className=h,c(a,function(a){g.appendChild(a)}),f.appendChild(g),i.appendChild(f)}),this.element.appendChild(i),b(this.element,"columns",d.columns),this.columns=d.columns,this.columnClasses=d.columnClasses},g.prototype.filterItems=function(a,d){if(!d)return a;var e,f,g;return g=Array.prototype.slice.call(a.children),f=a.querySelectorAll("[data-columns] > "+d),c(f,function(a){e=g.indexOf(a),this.filtered.appendChild(a),b(a,"position",e)},this),a},g.prototype.removeColumns=function(){var a,d=document.createRange(),e=document.createElement("div"),f=[];return d.selectNodeContents(this.element),a=Array.prototype.filter.call(d.extractContents().childNodes,function(a){return a instanceof window.HTMLElement}),f.length=a[0].childNodes.length*a.length,c(a,function(b,d){c(b.children,function(b,c){f[c*a.length+d]=b})}),b(e,"columns",0),f.filter(function(a){return!!a}).forEach(function(a){e.appendChild(a)}),e},g.prototype.redraw=function(a,b){var c,e=new CustomEvent("savvior:redraw",{detail:{element:this.element,from:this.columns,to:a.columns,filter:a.filter||null}});window.requestAnimationFrame(function(){this.columns!==a.columns&&(c=this.restoreFiltered(this.removeColumns()),this.addColumns(c,a)),window.dispatchEvent(e),d(b)&&b(this)}.bind(this))},g.prototype.restoreFiltered=function(a){if(0===this.filtered.childNodes.length)return a;var b,d=a;return c(this.filtered.querySelectorAll("[data-position]"),function(a){b=Number(a.getAttribute("data-position")),a.removeAttribute("data-position"),d.insertBefore(a,d.children[b]||null)}),a},g.prototype.restore=function(a,b){if(!this.status)return d(a)&&a(!1),!1;var e,f=document.createDocumentFragment(),g=[],h=new CustomEvent("savvior:restore",{detail:{element:this.element,from:this.columns}});window.requestAnimationFrame(function(){e=this.restoreFiltered(this.removeColumns()),c(e.childNodes,function(a){g.push(a)}),g.forEach(function(a){f.appendChild(a)}),this.element.appendChild(f),this.element.removeAttribute("data-columns"),window.dispatchEvent(h),d(a)&&a.call(b,b||this)}.bind(this))},g.prototype.addItems=function(a,b,e){var f=new CustomEvent("savvior:addItems",{detail:{element:this.element,grid:this}}),g=function(a){return b.clone?a.cloneNode(!0):a},h={append:function(a,b){var c=g(a);return b.appendChild(c),b},prepend:function(a,b){var c=g(a);return b.insertBefore(c,b.firstChild),b}};window.requestAnimationFrame(function(){var g=this.restoreFiltered(this.removeColumns());a instanceof NodeList||a instanceof Array?c(a,function(a){g=h[b.method].call(null,a,g)}):g=h[b.method].call(null,a,g),this.addColumns(g,{columns:this.columns,columnClasses:this.columnClasses,filter:this.filter}),window.dispatchEvent(f),d(e)&&e(this)}.bind(this))};var h=function(a,b){this.selector=a,this.options=b,this.queryHandlers=[],this.grids=[],this.ready=!1};h.prototype.register=function(){c(document.querySelectorAll(this.selector),function(a){this.grids.push(new g(a,this.options))},this);for(var b in this.options)this.queryHandlers.push(this.constructHandler(b,this.options[b]));return c(this.queryHandlers,function(b){a.register(b.mq,b.handler)}),this.ready=!0,this},h.prototype.constructHandler=function(a){return{mq:a,handler:{deferSetup:!0,setup:function(){this.gridSetup(a)}.bind(this),match:function(){this.gridMatch(a)}.bind(this),destroy:function(){}}}},h.prototype.gridSetup=function(a){var b;c(this.grids,function(c){c.setup(this.options[a],function(){b=new CustomEvent("savvior:setup",{detail:{element:c.element,columns:c.columns,filter:this.filter}}),window.dispatchEvent(b)})},this)},h.prototype.gridMatch=function(a){var b;c(this.grids,function(c){b=new CustomEvent("savvior:match",{detail:{element:c.element,from:c.columns,to:this.options[a].columns,query:a}}),c.redraw(this.options[a],function(){window.dispatchEvent(b)})},this)},h.prototype.unregister=function(b,e){c(this.queryHandlers,function(b){a.unregister(b.mq)}),c(this.grids,function(a){a.restore(function(){this.queryHandlers=[],this.ready=!1,d(b)&&b.call(this,e||this)},this)},this),this.grids=[]};var i=function(){if(!a)throw new Error("enquire.js not present, please load it before calling any methods");this.grids={}};return i.prototype.init=function(a,b){if(!a)throw new TypeError("Missing selector");if("string"!=typeof a)throw new TypeError("Selector must be a string");if("object"!=typeof b)throw new TypeError("Options must be an object");return this.grids[a]?this:document.querySelectorAll(a).length<1?this:(this.grids[a]=new h(a,b),this.grids[a].register(b),window.dispatchEvent(new CustomEvent("savvior:init")),this)},i.prototype.destroy=function(a,b){var f=new CustomEvent("savvior:destroy",{detail:{selectors:a}}),g=void 0===a||e(a)?Object.keys(this.grids):a,h=g.length,i=0,j=function(a){delete this.grids[g[i]],++i===h&&(window.dispatchEvent(f),d(b)&&b.call(a,this))}.bind(this);c(g,function(a){this.grids[a]&&this.grids[a].unregister(j)},this)},i.prototype.ready=function(a){if(void 0===a){var b=[];for(var c in this.grids)this.grids[c].ready&&b.push(c);return b.length>0&&b}return!!this.grids[a]&&this.grids[a].ready},i.prototype.addItems=function(a,b,e,g){var h,i,j={clone:!1,method:"append"};if(!this.grids[a])throw new TypeError("Grid does not exist.");if("string"==typeof b&&(b=document.querySelectorAll(b)),b instanceof Array)c(b,function(a){if(!(a instanceof Node))throw new TypeError("Supplied element in array is not instance of Node.")},this);else if(!(b instanceof Node||b instanceof NodeList))throw new TypeError("Supplied argument is not a Node or a NodeList.");return d(e)?(h=e,i=j):(h=g,i=f(e,j)),c(this.grids[a].grids,function(a){a.addItems(b,i,h)}),this},new i});
!function (){ "use strict"; if("undefined"!=typeof window){ var t=window.navigator.userAgent.match(/Edge\/(\d{2})\./), e = !!t&&parseInt(t[1], 10) >=16; if("objectFit" in document.documentElement.style!=!1&&!e) return void (window.objectFitPolyfill=function (){ return !1 });var i=function (t){ var e=window.getComputedStyle(t, null), i=e.getPropertyValue("position"), n=e.getPropertyValue("overflow"), o=e.getPropertyValue("display"); i&&"static"!==i||(t.style.position="relative"), "hidden"!==n&&(t.style.overflow="hidden"), o&&"inline"!==o||(t.style.display="block"), 0===t.clientHeight&&(t.style.height="100%"), -1===t.className.indexOf("object-fit-polyfill")&&(t.className=t.className + " object-fit-polyfill") }, n=function (t){ var e=window.getComputedStyle(t, null), i={ "max-width": "none", "max-height": "none", "min-width": "0px", "min-height": "0px", top: "auto", right: "auto", bottom: "auto", left: "auto", "margin-top": "0px", "margin-right": "0px", "margin-bottom": "0px", "margin-left": "0px" }; for (var n in i){ e.getPropertyValue(n)!==i[n]&&(t.style[n]=i[n]) }}, o=function (t, e, i){ var n, o, l, a, d; if(i=i.split(" "), i.length < 2&&(i[1]=i[0]), "x"===t) n=i[0], o=i[1], l="left", a="right", d=e.clientWidth; else { if("y"!==t) return; n=i[1], o=i[0], l="top", a="bottom", d=e.clientHeight } return n===l||o===l ? void (e.style[l]="0"):n===a||o===a ? void (e.style[a]="0"):"center"===n||"50%"===n ? (e.style[l]="50%", void (e.style["margin-" + l]=d / -2 + "px")):n.indexOf("%") >=0 ? (n=parseInt(n), void (n < 50 ? (e.style[l]=n + "%", e.style["margin-" + l]=d * (n / -100) + "px"):(n=100 - n, e.style[a]=n + "%", e.style["margin-" + a]=d * (n / -100) + "px"))):void (e.style[l]=n) }, l=function (t){ var e=t.dataset ? t.dataset.objectFit:t.getAttribute("data-object-fit"), l=t.dataset ? t.dataset.objectPosition:t.getAttribute("data-object-position"); e=e||"cover", l=l||"50% 50%"; var a=t.parentNode; i(a), n(t), t.style.position="absolute", t.style.height="100%", t.style.width="auto", "scale-down"===e&&(t.style.height="auto", t.clientWidth < a.clientWidth&&t.clientHeight < a.clientHeight ? (o("x", t, l), o("y", t, l)):(e="contain", t.style.height="100%")), "none"===e ? (t.style.width="auto", t.style.height="auto", o("x", t, l), o("y", t, l)):"cover"===e&&t.clientWidth > a.clientWidth||"contain"===e&&t.clientWidth < a.clientWidth ? (t.style.top="0", t.style.marginTop="0", o("x", t, l)):"scale-down"!==e&&(t.style.width="100%", t.style.height="auto", t.style.left="0", t.style.marginLeft="0", o("y", t, l)) }, a=function (t){ if(void 0===t) t=document.querySelectorAll("[data-object-fit]"); else if(t&&t.nodeName) t=[t]; else { if("object"!=typeof t||!t.length||!t[0].nodeName) return !1; t=t } for (var i=0; i < t.length; i++)if(t[i].nodeName){ var n=t[i].nodeName.toLowerCase(); "img"!==n||e ? "video"===n&&(t[i].readyState > 0 ? l(t[i]):t[i].addEventListener("loadedmetadata", function (){ l(this) })):t[i].complete ? l(t[i]):t[i].addEventListener("load", function (){ l(this) }) } return !0 }; document.addEventListener("DOMContentLoaded", function (){ a() }), window.addEventListener("resize", function (){ a() }), window.objectFitPolyfill=a }}();
!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);
!function(e,t){"use strict";var i={addedScripts:{},addedStyles:{},addedAssetsPromises:[],init:function(){var o={"jet-carousel.default":i.widgetCarousel,"jet-circle-progress.default":i.widgetProgress,"jet-map.default":i.widgetMap,"jet-countdown-timer.default":i.widgetCountdown,"jet-posts.default":i.widgetPosts,"jet-animated-text.default":i.widgetAnimatedText,"jet-animated-box.default":i.widgetAnimatedBox,"jet-images-layout.default":i.widgetImagesLayout,"jet-slider.default":i.widgetSlider,"jet-testimonials.default":i.widgetTestimonials,"jet-image-comparison.default":i.widgetImageComparison,"jet-instagram-gallery.default":i.widgetInstagramGallery,"jet-scroll-navigation.default":i.widgetScrollNavigation,"jet-subscribe-form.default":i.widgetSubscribeForm,"jet-progress-bar.default":i.widgetProgressBar,"jet-portfolio.default":i.widgetPortfolio,"jet-timeline.default":i.widgetTimeLine,"jet-table.default":i.widgetTable,"jet-dropbar.default":i.widgetDropbar,"jet-video.default":i.widgetVideo,"jet-audio.default":i.widgetAudio,"jet-horizontal-timeline.default":i.widgetHorizontalTimeline,"mp-timetable.default":i.widgetTimeTable,"jet-pie-chart.default":i.widgetPieChart,"jet-bar-chart.default":i.widgetBarChart,"jet-line-chart.default":i.widgetLineChart,"jet-lottie.default":i.widgetLottie,"jet-pricing-table.default":i.widgetPricingTable};e.each(o,function(e,i){t.hooks.addAction("frontend/element_ready/"+e,i)}),t.hooks.addAction("frontend/element_ready/section",i.elementorSection),t.hooks.addAction("frontend/element_ready/container",i.elementorSection),window.elementorFrontend.elements.$window.on("elementor/nested-tabs/activate",(t,o)=>{const n=e(o);i.reinitSlickSlider(n),i.initWidgetsHandlers(n)}),elementorFrontend.hooks.addAction("frontend/element_ready/loop-carousel.post",function(e,t){t(window).on("load",function(){var o=e.find(".swiper"),n=o.data("swiper");e.find('[data-widget_type="jet-audio.default"]').each(function(e,o){i.initAudioPlayer(t(o))});var a=e.find(".mejs-time-slider, .mejs-horizontal-volume-slider, .mejs-volume-button");o.length&&a.length?(a.length&&n.params.loop&&1===n.params.slidesPerView&&n.on("slideChangeTransitionEnd",function(){this.loopFix()}),a.on("pointerdown",function(e){0===e.button&&(n&&(n.allowTouchMove=!1),e.stopPropagation())}),a.on("pointerup",function(e){0===e.button&&(n&&setTimeout(function(){n.allowTouchMove=!0},300),e.stopPropagation())})):console.warn("Swiper or audioPlayProgress not found!")})})},reinitSlickSlider:function(t){var i=t.find(".slick-initialized");i.length&&i.each(function(){e(this).slick("unslick")})},loadScriptAsync:function(e,t){return i.addedScripts.hasOwnProperty(e)?e:t?(i.addedScripts[e]=t,new Promise(function(i,o){var n=document.createElement("script");n.src=t,n.async=!0,n.onload=function(){i(e)},document.head.appendChild(n)})):void 0},loadStyle:function(e,t){return i.addedStyles.hasOwnProperty(e)&&i.addedStyles[e]===t?e:t?(i.addedStyles[e]=t,new Promise(function(i,o){var n=document.createElement("link");n.id=e,n.rel="stylesheet",n.href=t,n.type="text/css",n.media="all",n.onload=function(){i(e)},document.head.appendChild(n)})):void 0},initWidgetsHandlers:function(t){t.find(".elementor-widget-jet-slider, .elementor-widget-jet-testimonials, .elementor-widget-jet-carousel, .elementor-widget-jet-portfolio, .elementor-widget-jet-horizontal-timeline, .elementor-widget-jet-image-comparison, .elementor-widget-jet-posts, .jet-parallax-section").each(function(){var t=e(this),i=t.data("element_type");i&&("widget"===i&&(i=t.data("widget_type"),window.elementorFrontend.hooks.doAction("frontend/element_ready/widget",t,e)),window.elementorFrontend.hooks.doAction("frontend/element_ready/global",t,e),window.elementorFrontend.hooks.doAction("frontend/element_ready/"+i,t,e))})},initElementsHandlers:function(t){t.find("[data-element_type]").each(function(){var t=e(this),i=t.data("element_type");i&&("widget"===i&&(i=t.data("widget_type"),window.elementorFrontend.hooks.doAction("frontend/element_ready/widget",t,e)),window.elementorFrontend.hooks.doAction("frontend/element_ready/global",t,e),window.elementorFrontend.hooks.doAction("frontend/element_ready/"+i,t,e))})},widgetCountdown:function(t){var i,o=t.find(".jet-countdown-timer"),n=o.data("type"),a=null,s=o.data("due-date"),r=o.data("start-date"),l=o.data("expire-actions"),d=o.data("evergreen-interval"),c=o.data("restart-interval"),u={days:o.find('[data-value="days"]'),hours:o.find('[data-value="hours"]'),minutes:o.find('[data-value="minutes"]'),seconds:o.find('[data-value="seconds"]')},p=function(){if(a){var t=h(a,{days:u.days.length,hours:u.hours.length,minutes:u.minutes.length});e.each(t.parts,function(e){var t=u[e];t.length&&t.html(this)}),t.total<=0&&(clearInterval(i),m())}},f=function(t){t=t.toString();var i,o="";return 1===t.length&&(t=0+t),i=t.match(/\d{1}/g),e.each(i,function(e,t){o+='<span class="jet-countdown-timer__digit">'+t+"</span>"}),o},h=function(e,t){var i=e-new Date,o=Math.floor(i/1e3%60),n=Math.floor(i/1e3/60%60),a=Math.floor(i/36e5%24),s=Math.floor(i/864e5);return(s<0||a<0||n<0)&&(o=n=a=s=0),t.days||(a+=24*s,s=0),t.hours||(n+=60*a,a=0),t.minutes||(o+=60*n,n=0),{total:i,parts:{days:f(s),hours:f(a),minutes:f(n),seconds:f(o)}}},m=function(){t.trigger("jetCountdownTimerExpire",t),l&&e.each(l,function(e,n){switch(n){case"redirect":var s=o.data("expire-redirect-url");s&&(window.location.href=s);break;case"message":t.find(".jet-countdown-timer-message").show();break;case"hide":o.hide();break;case"restart":a=(a=new Date).setSeconds(a.getSeconds()+c),p(),i=setInterval(p,1e3)}})},g=function(){var e=t.data("id"),i="jet_evergreen_countdown_due_date_"+e,o="jet_evergreen_countdown_interval_"+e,n=localStorage.getItem(i),a=localStorage.getItem(o),s=function(){var e=new Date,t=e.setSeconds(e.getSeconds()+d);return localStorage.setItem(i,t),localStorage.setItem(o,d),t};return null===n&&null===a?s():null!==n&&d!==parseInt(a,10)?s():n>0&&parseInt(a,10)===d?n:void 0};!function(){switch(n){case"due_date":a=new Date(1e3*s);break;case"evergreen":d>0&&(a=g());break;case"endless":var e=new Date,t=Math.abs(e.getTimezoneOffset()),o=new Date(1e3*r),l=Math.abs(o.getTimezoneOffset())-t;e>o&&(a=new Date(1e3*(r+c))),a&&e>a&&(a=a.setSeconds(a.getSeconds()+(Math.floor((e-a)/(1e3*c))+1)*c)),0!=l&&(a-=60*l*1e3)}p(),i=setInterval(p,1e3)}()},widgetMap:function(t){var i,o,n,a,s=t.find(".jet-map"),r=0,l=[];if(window.google&&s.length){if(o=s.data("init"),n=s.data("pins"),!0===(a=o.pinsAutoClose)&&(r=1),"undefined"!=typeof console){const e=console.warn;console.warn=function(t){t&&t.includes("google.maps.Marker is deprecated")||e.apply(console,arguments)}}i=new google.maps.Map(s[0],o),n&&e.each(n,function(t,o){var n,s,c={position:o.position,map:i,title:o.address};if(""!==o.image)if(void 0!==o.image_width&&void 0!==o.image_height){var u={url:o.image,scaledSize:new google.maps.Size(o.image_width,o.image_height),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(o.image_width/2,o.image_height/2)};c.icon=u}else c.icon=o.image;if(n=new google.maps.Marker(c),""!==o.desc||void 0!==o.link_title){var p;if(void 0!==o.link_title)p='<div class="jet-map-pin__wrapper"><a class="jet-map-pin__link" href="'+o.link.url+'" '+("on"===o.link.is_external?'target="_blank"':"")+("on"===o.link.nofollow?'rel="nofollow"':"")+(void 0!==d(o.link.custom_attributes)?d(o.link.custom_attributes):"")+">"+o.link_title+"</a></div>",o.desc+=p;s=new google.maps.InfoWindow({content:o.desc,disableAutoPan:!0}),l[t]=s}n.addListener("click",function(){s.setOptions({disableAutoPan:!1}),!0===a&&e.each(l,function(e,t){t.close()}),s.open(i,n)}),1===r?"visible"===o.state&&""!==o.desc&&(s.open(i,n),r++):0===r&&"visible"===o.state&&""!==o.desc&&s.open(i,n)})}function d(e,t=","){return e.split(t).reduce(function(e,t){var i=t.split("|"),o=i[0].toLowerCase();if(new RegExp(/[-_a-z0-9]+/).test(o)&&"href"!==o&&"on"!==o.substring(0,2))return e+o+'="'+(void 0!==i[1]?i[1].trim():"")+'" '},"")}},observer:function(e,t,i={}){const o={root:null,rootMargin:"0px",threshold:(i=jQuery.extend({threshold:.5,triggerOnce:!1},i)).threshold},n=new WeakMap,a=new IntersectionObserver(e=>{e.forEach(e=>{const t=e.boundingClientRect.y,i=n.get(e.target)||t;e.direction=t<i?"down":"up",n.set(e.target,t)});const o=e.filter(e=>e.intersectionRatio>=i.threshold);o.length>0&&(o.sort((e,t)=>t.intersectionRatio-e.intersectionRatio),t.call(o[0].target,o[0].direction,o[0]))},o);return e.each(function(){a.observe(this)}),a},prepareWaypointOptions:function(e,t){var i=t||{},o=e.closest(".jet-popup__container-inner, .elementor-popup-modal .dialog-message");return o[0]&&(i.context=o[0]),i},widgetProgress:function(n){var a=n.find(".circle-progress");if(a.length){var s=a.find(".circle-progress__value"),r=a.find(".circle-progress__meter"),l=parseInt(s.data("value"))/100,d=n.find(".circle-progress-wrap").data("duration"),c=elementorFrontend.getCurrentDeviceMode(),u=!1,p=o.getElementorElementSettings(n),f=[],h=t.config.responsive.activeBreakpoints;f.desktop=[],m("desktop",p.circle_size.size?p.circle_size.size:a[0].getAttribute("width"),p.value_stroke.size?p.value_stroke.size:a[0].getElementsByClassName("circle-progress__value")[0].getAttribute("stroke-width"),p.bg_stroke.size?p.bg_stroke.size:a[0].getElementsByClassName("circle-progress__meter")[0].getAttribute("stroke-width")),Object.keys(h).reverse().forEach(function(e,t){if("widescreen"===e){var i=p["circle_size_"+e].size?p["circle_size_"+e].size:p.circle_size.size,o=p["value_stroke_"+e].size?p["value_stroke_"+e].size:p.value_stroke.size,n=p["bg_stroke_"+e].size?p["bg_stroke_"+e].size:p.bg_stroke.size;f[e]=[],m(e,i,o,n)}else{i=p["circle_size_"+e].size?p["circle_size_"+e].size:a[0].getAttribute("width"),o=p["value_stroke_"+e].size?p["value_stroke_"+e].size:a[0].getElementsByClassName("circle-progress__value")[0].getAttribute("stroke-width"),n=p["bg_stroke_"+e].size?p["bg_stroke_"+e].size:a[0].getElementsByClassName("circle-progress__meter")[0].getAttribute("stroke-width");f[e]=[],m(e,i,o,n)}}),g(f[c].size,f[c].viewBox,f[c].center,f[c].radius,f[c].valStroke,f[c].bgStroke,f[c].circumference),i.observer(n,function(){var e=n.find(".circle-counter__number"),t=e.data(),i=t.toValue.toString().match(/\.(.*)/);i&&(t.rounding=i[1].length),t.duration=d,e.numerator(t);var o=parseInt(a.data("circumference"))*(1-l);s.css({transitionDuration:d+"ms",strokeDashoffset:o}),u=!0},i.prepareWaypointOptions(n,{offset:"bottom-in-view"})),e(window).on("resize.jetCircleProgress orientationchange.jetCircleProgress",o.debounce(50,function(){c=elementorFrontend.getCurrentDeviceMode(),f[c]&&g(f[c].size,f[c].viewBox,f[c].center,f[c].radius,f[c].valStroke,f[c].bgStroke,f[c].circumference)}))}function m(e,t,i,o){var n,a;f[e].size=t,f[e].viewBox=`0 0 ${t} ${t}`,f[e].center=t/2,a=t/2,n=i>=o?i:o,f[e].radius=a-n/2,f[e].circumference=2*Math.PI*f[e].radius,f[e].valStroke=i,f[e].bgStroke=o}function g(e,t,i,o,n,d,c){var p=c*(1-l);a.attr({width:e,height:e,"data-radius":o,"data-circumference":c}),a[0].setAttribute("viewBox",t),r.attr({cx:i,cy:i,r:o,"stroke-width":d}),u&&s.css({transitionDuration:""}),s.attr({cx:i,cy:i,r:o,"stroke-width":n}),s.css({strokeDasharray:c,strokeDashoffset:u?p:c})}},widgetCarousel:function(e){var t=e.find(".jet-carousel"),o=t.find(".jet-carousel__fraction-navigation");t.length&&(!0===t.data("slider_options").fractionNav&&t.find(".elementor-slick-slider").on("init reInit afterChange",function(e,t,i,n){var a=(i||0)+1;o.html('<span class="current">'+a+'</span><span class="separator">/</span><span class="total">'+t.slideCount+"</span>")}),i.initCarousel(t.find(".elementor-slick-slider"),t.data("slider_options")))},widgetPosts:function(e){var t=e.find(".jet-carousel"),o=t.data("slider_options");t.length&&(o.slide=".jet-posts__item",i.initCarousel(t.find(".jet-posts"),o))},widgetAnimatedText:function(e){var t,i=e.find(".jet-animated-text");i.length&&(t=i.data("settings"),new jetAnimatedText(i,t).init())},widgetAnimatedBox:function(o){i.onAnimatedBoxSectionActivated(o);var n,a,s=o.find(".jet-animated-box"),r=s.data("settings"),l=(r=e.extend({},{widgetId:null,switchEventType:"hover",paperFoldDirection:"left",slideOutDirection:"left",peelCornerPosition:"right"},r),e(window).scrollTop()),d=!0,c=Boolean(t.isEditMode()),u=e(".jet-animated-box__button--back",o);if(s.length)switch(u.on("touchend",function(e){e.stopPropagation()}),r.switchEventType){case"hover":c?p():"ontouchend"in window||"ontouchstart"in window?(s.on("touchstart",function(t){l=e(window).scrollTop()}),s.on("touchend",function(t){if(l!==e(window).scrollTop())return!1;var i=e(this);i.hasClass("flipped-stop")||(setTimeout(function(){i.toggleClass("flipped")},10),i.find(u).on("focus",function(){s.hasClass("flipped-stop")||s.addClass("flipped")}),i.find(u).on("focusout",function(){s.removeClass("flipped")}))}),e(document).on("touchend",function(t){e(t.target).closest(s).length||s.hasClass("flipped-stop")||s.hasClass("flipped")&&s.removeClass("flipped")})):(s.on("mouseenter mouseleave",function(t){d&&"mouseleave"===t.type?e(this).hasClass("flipped-stop")||e(this).removeClass("flipped"):d&&"mouseenter"===t.type&&(e(this).hasClass("flipped-stop")||e(this).addClass("flipped"))}),u.on("focus",function(){s.hasClass("flipped-stop")||s.addClass("flipped")}),u.on("focusout",function(){s.removeClass("flipped")}));break;case"click":p();break;case"toggle":!function(){"ontouchend"in window||"ontouchstart"in window?s.on("touchstart",".jet-animated-box__toggle",function(e){s.hasClass("flipped-stop")||s.toggleClass("flipped")}):s.on("click",".jet-animated-box__toggle",function(e){s.hasClass("flipped-stop")||s.toggleClass("flipped")});u.on("focus",function(){s.hasClass("flipped-stop")||s.addClass("flipped")}),u.on("focusout",function(){s.removeClass("flipped")})}();break;case"scratch":!function(){var t=e(s).closest(".jet-popup").data("settings");e(s).closest(".jet-popup").length&&t&&!1===t["use-ajax"]?e(window).one("jet-popup-open-trigger",function(e){f()}):f()}();break;case"fold":!function(){if(c)return s.addClass("fold-init"),!1;var t=null,i="#jet-animated-box__front-"+r.widgetId;t=new OriDomi(document.querySelector(i),{vPanels:5,hPanels:5,speed:500,ripple:!0,shadingIntensity:.9,perspective:1e3,shading:!1,gapNudge:0,touchSensitivity:.25,touchMoveCallback:function(t,o){89.5<t&&e(i).remove()}}).accordion(0,r.paperFoldDirection),s.addClass("fold-init"),u.on("focus",function(){t.foldUp()}),u.on("focusout",function(){t.accordion(0,r.paperFoldDirection)})}();break;case"peel":!function(t){if(c)return s.addClass("peel-ready"),!1;var i=e(".jet-animated-box__front",s).clone();e(".jet-animated-box__front",s).addClass("peel-top"),i.removeAttr("id"),i.addClass("peel-back"),i.insertAfter("#jet-animated-box__front-"+r.widgetId),e(".jet-animated-box__back",s).addClass("peel-bottom");var o=s.width();s.height();if("left"===t){var n=new Peel("#jet-animated-box-"+r.widgetId,{corner:Peel.Corners.TOP_LEFT});n.setPeelPosition(30,40)}else{var n=new Peel("#jet-animated-box-"+r.widgetId,{corner:Peel.Corners.TOP_RIGHT});n.setPeelPosition(o-30,40)}n.setFadeThreshold(.8),u.on("focus",function(){n.removeEvents(),e(".peel-top, .peel-back, .peel-bottom-shadow",s).remove()}),n.handleDrag(function(t,i,o){var a=s.offset(),r=a.left,l=a.top,d=i-r,c=o-l;d=d<0?d*=3:d,c=c<0?c*=3:c,.98<this.getAmountClipped()&&(this.removeEvents(),e(".peel-top, .peel-back, .peel-bottom-shadow",s).remove()),n.setPeelPosition(Math.round(d),Math.round(c))})}(r.peelCornerPosition);break;case"slide-out":n=e(".jet-animated-box__front",s),e(".jet-animated-box__back",s),s.width(),s.height(),a="left"===r.slideOutDirection||"right"===r.slideOutDirection?"x":"y",n.draggable({axis:a,drag:function(e,t){var i=t.position;switch(r.slideOutDirection){case"left":i.left>=0&&(t.position.left=0);break;case"right":i.left<=0&&(t.position.left=0);break;case"top":i.top>=0&&(t.position.top=0);break;case"bottom":i.top<=0&&(t.position.top=0)}}}),u.on("focus",function(){n.draggable("disable"),n.hide()})}function p(){"ontouchend"in window||"ontouchstart"in window?(s.on("touchstart",function(t){l=e(window).scrollTop()}),s.on("touchend",function(t){if(l!==e(window).scrollTop())return!1;var i=e(this);i.hasClass("flipped-stop")||setTimeout(function(){i.toggleClass("flipped")},10)}),e(document).on("touchend",function(t){e(t.target).closest(s).length||s.hasClass("flipped-stop")||s.hasClass("flipped")&&s.removeClass("flipped")})):(s.on("click",function(e){s.hasClass("flipped-stop")||s.toggleClass("flipped")}),u.on("focus",function(){s.hasClass("flipped-stop")||s.addClass("flipped")}),u.on("focusout",function(){s.removeClass("flipped")}))}function f(){var t=document.querySelector("#jet-animated-box-"+r.widgetId).getBoundingClientRect().top;if(c)return!1;var i=e(window).width();e("html, body").scrollTop(0),html2canvas(document.querySelector("#jet-animated-box__front-"+r.widgetId),{allowTaint:!0,backgroundColor:null,windowWidth:e(window).width(),windowHeight:e(window).height(),scrollX:0,scrollY:-window.scrollY}).then(function(o){o.setAttribute("id","jet-animated-box-canvas-"+r.widgetId),s.prepend(o),e(".jet-animated-box__front",s).fadeOut(300,function(){e(this).remove()}),e(window).one("resize.jetScratch",function(t){e(window).width()!==i&&(i=e(window).width(),e(o).fadeOut(250,function(){e(this).remove()}))});new jetScratchEffect("#jet-animated-box-"+r.widgetId,"#jet-animated-box-canvas-"+r.widgetId,function(){e(o).fadeOut(300,function(){e(this).remove(),s.removeClass("back-events-inactive")})},r.scratchFillPercent,t)})}},onAnimatedBoxSectionActivated:function(e){if(window.elementor&&window.JetElementsEditor&&window.JetElementsEditor.activeSection){var t=window.JetElementsEditor.activeSection;-1!==["section_back_content","section_action_button_style"].indexOf(t)?(e.find(".jet-animated-box").addClass("flipped"),e.find(".jet-animated-box").addClass("flipped-stop")):(e.find(".jet-animated-box").removeClass("flipped"),e.find(".jet-animated-box").removeClass("flipped-stop"))}},widgetImagesLayout:function(e){var t,i=e.find(".jet-images-layout");i.length&&(t=i.data("settings"),new jetImagesLayout(i,t).init())},widgetPortfolio:function(t){var i=t.find(".jet-portfolio"),n=o.getElementorElementSettings(t),a={id:t.data("id")};i.length&&(a=e.extend({},a,i.data("settings"),n),new jetPortfolio(i,a).init())},widgetInstagramGallery:function(t){var i,o,n=t.find(".jet-instagram-gallery__instance");n.length&&(o=n.data("settings"),i={layoutType:"masonry"},e.extend(i,o),"masonry"===o.layoutType&&(salvattore.init(),e(window).on("resize orientationchange",function(){salvattore.rescanMediaQueries()})))},widgetScrollNavigation:function(e){var t=e.find(".jet-scroll-navigation"),i=t.data("settings");new jetScrollNavigation(e,t,i).init()},widgetSubscribeForm:function(t){var i=t.find(".jet-subscribe-form"),n=t.data("id"),a=i.data("settings"),s=null,r="jet_subscribe_form_ajax",l=!1,d=e(".jet-subscribe-form__form",i),c=(e(".jet-subscribe-form__fields",i),e(".jet-subscribe-form__mail-field",i)),u=c.data("instance-data"),p=e(".jet-subscribe-form__submit",i),f=e(".jet-subscribe-form__message",i),h=window.jetElements.messages.invalidMail||"Please specify a valid email";function m(){var t=c.val(),m={email:t,use_target_list_id:a.use_target_list_id||!1,target_list_id:a.target_list_id||"",data:u},g=d.serializeArray(),v={};o.validateEmail(t)?(e.each(g,function(e,t){"email"===t.name?m[t.name]=t.value:v[t.name]=t.value}),m.additional=v,!l&&s&&s.abort(),s=e.ajax({type:"POST",url:window.jetElements.ajaxUrl,data:{action:r,data:m},cache:!1,beforeSend:function(){p.addClass("loading"),l=!1},success:function(t){var o=t.type,s=t.message||"",r="jet-subscribe-form--response-"+o;p.removeClass("loading"),l=!0,i.removeClass("jet-subscribe-form--response-error"),i.addClass(r),e("span",f).html(s),f.css({visibility:"visible"}),setTimeout(function(){f.css({visibility:"hidden"}),i.removeClass(r)},2e4),a.redirect&&(window.location.href=a.redirect_url),e(window).trigger({type:"jet-elements/subscribe",elementId:n,successType:o,inputData:u})}})):(c.addClass("mail-invalid"),i.addClass("jet-subscribe-form--response-error"),e("span",f).html(h),f.css({visibility:"visible"}),setTimeout(function(){i.removeClass("jet-subscribe-form--response-error"),f.css({visibility:"hidden"}),c.removeClass("mail-invalid")},2e4))}c.on("focus",function(){c.removeClass("mail-invalid")}),e(document).keydown(function(e){if(13===e.keyCode&&c.is(":focus"))return m(),!1}),p.on("click",function(){return m(),!1})},widgetProgressBar:function(t){var o=t.find(".jet-progress-bar"),n=o.data("percent"),a=o.data("type");i.observer(o,function(t){var i=e(this),s={charged:0},r=e(".jet-progress-bar__status-bar",i),l=e(".jet-progress-bar__percent-value",i),d=o.data("current-value"),c=o.data("max-value");d&&c&&(d>c?(n=100,s={Counter:0}):s={Counter:0}),"type-7"==a?r.css({height:n+"%"}):r.css({width:n+"%"}),anime({targets:s,charged:n,round:1,duration:1e3,easing:"easeInOutQuad",begin:function(){d&&c&&e({Counter:0}).animate({Counter:d},{duration:1e3,easing:"swing",step:function(e){l.text(Math.round(e)+"/"+c)}})},update:function(){l.html(s.charged)}})},i.prepareWaypointOptions(t))},widgetSlider:function(i){var n,a,s,r=i.find(".jet-slider"),l=(e(".sp-image",r),e(".jet-slider__item",r),r.data("settings")||{}),d=o.getElementorElementSettings(i),c={},u=t.config.responsive.activeBreakpoints,p=e.extend({},{imageScaleMode:"cover",slideDistance:{size:10,unit:"px"},slideDuration:500,sliderAutoplay:!0,sliderAutoplayDelay:2e3,sliderAutoplayOnHover:"pause",sliderFadeMode:!1,sliderFullScreen:!0,sliderFullscreenIcon:"",sliderHeight:{size:600,unit:"px"},sliderLoop:!0,sliderNaviOnHover:!1,sliderNavigation:!0,sliderNavigationIcon:"",sliderPagination:!1,sliderShuffle:!1,sliderWidth:{size:100,unit:"%"},thumbnailWidth:120,thumbnailHeight:80,thumbnails:!0,rightToLeft:!1},l),f=r.find(".jet-slider__fraction-pagination"),h=Boolean(t.isEditMode());if(r.length){h||(r.on("mousedown touchstart",".jet-slider__content[data-slide-url]",function(e){window.XPos=e.pageX||e.originalEvent.changedTouches[0].pageX,window.YPos=e.pageY||e.originalEvent.changedTouches[0].pageY}),r.on("mouseup touchend",".jet-slider__content[data-slide-url]",function(t){var i=e(this),o=i.data("slide-url"),n=i.data("slide-url-target"),a=t.pageX||t.originalEvent.changedTouches[0].pageX,s=t.pageY||t.originalEvent.changedTouches[0].pageY;window.XPos===a&&window.YPos===s&&(t.preventDefault(),"_blank"===n?window.open(o):window.location=o)})),n=d.slider_height&&"custom"===d.slider_height.unit?d.slider_height.size:""!=d.slider_height.size?d.slider_height.size+d.slider_height.unit:"600px",a="thumbnail_height"in d&&""!=d.thumbnail_height?d.thumbnail_height:80,s="thumbnail_width"in d&&""!=d.thumbnail_width?d.thumbnail_width:120;var m=e(window).height(),g=e(document).height(),v=h&&m<g?18:1;Object.keys(u).forEach(function(e){if("widescreen"===e){var t=u[e].value-v,i=d["slider_height_"+e]&&"custom"===d["slider_height_"+e].unit?d.slider_height.size:""!=d["slider_height_"+e].size?d["slider_height_"+e].size+d["slider_height_"+e].unit:n,o=""!=d["thumbnail_height_"+e]?d["thumbnail_height_"+e]:a,r=""!=d["thumbnail_width_"+e]?d["thumbnail_width_"+e]:s,l=""!=d.slider_height.size?d.slider_height.size+d.slider_height.unit:p.sliderHeight.size+p.sliderHeight.unit,f=""!=d.thumbnail_height?d.thumbnail_height:p.thumbnailHeight,h=""!=d.thumbnail_width?d.thumbnail_width:p.thumbnailWidth;if(!(i||o||r))return;c[t]={},i&&(n=i,c[t].height=l),o&&(a=o,c[t].thumbnailHeight=f),r&&(s=r,c[t].thumbnailWidth=h)}else{t=u[e].value-v,o=!!d["thumbnail_height_"+e]&&d["thumbnail_height_"+e],r=!!d["thumbnail_width_"+e]&&d["thumbnail_width_"+e];if(!((i="custom"===d["slider_height_"+e].unit?d["slider_height_"+e].size:""!=d["slider_height_"+e].size&&d["slider_height_"+e].size+d["slider_height_"+e].unit)||o||r))return;c[t]={},i&&(c[t].height=i),o&&(c[t].thumbnailHeight=o),r&&(c[t].thumbnailWidth=r)}}),e(".slider-pro",r).sliderPro({width:p.sliderWidth.size+p.sliderWidth.unit,height:n,arrows:p.sliderNavigation,fadeArrows:p.sliderNaviOnHover,buttons:p.sliderPagination,autoplay:p.sliderAutoplay,autoplayDelay:p.sliderAutoplayDelay,autoplayOnHover:p.sliderAutoplayOnHover,fullScreen:p.sliderFullScreen,shuffle:p.sliderShuffle,loop:p.sliderLoop,fade:p.sliderFadeMode,slideDistance:"string"!=typeof p.slideDistance.size?p.slideDistance.size:0,slideAnimationDuration:+p.slideDuration,imageScaleMode:"exact",waitForLayers:!1,grabCursor:!1,thumbnailWidth:s,thumbnailHeight:a,rightToLeft:p.rightToLeft,touchSwipe:p.touchswipe,init:function(){var t=e("."+p.sliderFullscreenIcon).html(),i=e("."+p.sliderNavigationIcon).html();if(e(".sp-full-screen-button",r).html(t),e(".sp-previous-arrow",r).html(i),e(".sp-next-arrow",r).html(i),e(".slider-pro",r).addClass("slider-loaded"),p.autoSliderHeight){var o=e(".slider-pro",r);function a(){var t=e(".slider-pro",r),i=t.find(".jet-slider__item.sp-slide.sp-selected"),o=i.find(".jet-slider__content-inner"),a=t.find(".sp-mask.sp-grab"),s=i.find(".sp-image-container"),l=t.hasClass("sp-full-screen");if(i.find(".elementor").length>0){var d=o.outerHeight();if(l){var c=e(window).height();a.css("height",c+"px"),s.css("height",c+"px"),i.css("height",c+"px")}else a.css("height",d+"px"),s.css("height",d+"px"),i.css("height",d+"px")}else if(l){c=e(window).height();a.css("height",c+"px"),s.css("height",c+"px"),i.css("height",c+"px")}else a.css("height",n),s.css("height",n),i.css("height",n)}var s=new ResizeObserver(function(e){for(let t of e)a()});function l(){var e=o.find(".jet-slider__item.sp-slide.sp-selected").find(".jet-slider__content-inner");e.length&&s.observe(e.get(0))}o.find(".jet-slider__item.sp-slide").each(function(){var t=e(this),i=t.find(".jet-slider__content-inner"),o=t.find(".sp-image-container"),n=i.outerHeight();t.find(".elementor").length>0&&(t.css("height",n+"px"),o.css("height",n+"px"))}),a(),l(),o.on("gotoSlide",function(){s.disconnect(),a(),l()})}this.resize()},gotoSlideComplete:function(){if(!0===p.fractionPag){var e=(this.getSelectedSlide()?this.getSelectedSlide():0)+1,t=this.getTotalSlides(),i=p.fractionPrefix||"",o=p.fractionSeparator||"/",n=p.fractionSuffix||"";f.html('<span class="fraction-wrapper"><span class="current">'+i+" "+e+'</span><span class="separator">'+o+'</span><span class="total">'+n+" "+t+"</span></span>")}elementorFrontend.elements.$window.trigger("elementor/bg-video/recalc")},update:function(){if(!0===p.fractionPag){var e=(this.getSelectedSlide()?this.getSelectedSlide():0)+1,t=this.getTotalSlides(),i=p.fractionPrefix||"",o=p.fractionSeparator||"/",n=p.fractionSuffix||"";f.html('<span class="fraction-wrapper"><span class="current">'+i+" "+e+'</span><span class="separator">'+o+'</span><span class="total">'+n+" "+t+"</span></span>")}},breakpoints:c}),e(".slider-pro",r).on("gotoSlide",function(){r.find("[data-element_type]").each(function(){window.elementorFrontend.hooks.doAction("frontend/element_ready/global",e(this),e)})})}},widgetTestimonials:function(t){var o=t.find(".jet-testimonials__instance"),n=(e(".jet-testimonials__figure",o),e(".jet-testimonials__content",o)),a=o.data("settings");o.data("rating-settings");o.length&&(n.each(function(){var t=e(".jet-testimonials__rating",this);if(t){var i=t.data("rating");t.each(function(){e("i",this).each(function(t){if(t<=i-1){var o=e(this).data("active-star");e(this).addClass(o)}else{o=e(this).data("star");e(this).addClass(o)}})})}}),a.adaptiveHeight=a.adaptiveHeight,a.slide=".jet-testimonials__item",i.initCarousel(o,a))},widgetImageComparison:function(t){var o=t.find(".jet-image-comparison__instance"),n=(e(".jet-image-comparison__container",o),o.data("settings"));t.data("id");o.length&&(window.juxtapose.scanPage(".jet-juxtapose"),n.draggable=!1,n.infinite=!1,i.initCarousel(o,n))},widgetTimeTable:function(t){var i=t.find(".mptt-shortcode-wrapper");if("undefined"!=typeof typenow&&pagenow===typenow)switch(typenow){case"mp-event":Registry._get("Event").init();break;case"mp-column":Registry._get("Event").initDatePicker(),Registry._get("Event").columnRadioBox()}i.length&&(Registry._get("Event").initTableData(),Registry._get("Event").filterShortcodeEvents(),Registry._get("Event").getFilterByHash(),i.show()),(e(".upcoming-events-widget").length||i.length)&&Registry._get("Event").setColorSettings()},elementorSection:function(e){var i=e;Boolean(t.isEditMode());new jetSectionParallax(i).init()},initCarousel:function(n,a){var s,r,l,d,c,u=[],p=n.closest(".elementor-widget"),f=o.getElementorElementSettings(p),h=t.config.responsive.activeBreakpoints,m=a.dots,g=!0,v=p.closest(".jet-listing-grid").hasClass("jet-listing"),w=p.closest(".jet-listing-grid__item"),_=p.find(".prev-arrow"),b=p.find(".next-arrow"),y=o.mobileAndTabletcheck();if(v&&w&&(a.nextArrow=!1,a.prevArrow=!1,w.find(_).on("click",function(){n.slick("slickPrev")}),w.find(b).on("click",function(){n.slick("slickNext")})),n.hasClass("jet-image-comparison__instance")&&(g=!1,setTimeout(function(){n.on("beforeChange",function(){e(this).find(".slick-slide").each(function(){e(this).find(".jx-controller").attr("tabindex",""),e(this).find(".jx-label").attr("tabindex","")})}),n.on("afterChange",function(){e(this).find(".slick-slide.slick-active").each(function(){e(this).find(".jx-controller").attr("tabindex","0"),e(this).find(".jx-label").attr("tabindex",0)})})},100)),n.hasClass("jet-posts")&&n.parent().hasClass("jet-carousel")){f=function(e,t){const i=Object.keys(e).map(i=>({[t[i]||i]:e[i]}));return Object.assign({},...i)}(f,{columns:"slides_to_show",columns_widescreen:"slides_to_show_widescreen",columns_laptop:"slides_to_show_laptop",columns_tablet_extra:"slides_to_show_tablet_extra",columns_tablet:"slides_to_show_tablet",columns_mobile_extra:"slides_to_show_mobile_extra",columns_mobile:"slides_to_show_mobile"}),c=e("> div.jet-posts__item",n).length}else c=e("> div",n).length;if(a.slidesToShow=+f.slides_to_show,a.slidesToScroll=f.slides_to_scroll?+f.slides_to_scroll:1,Object.keys(h).forEach(function(e){"widescreen"===e&&(a.slidesToShow="slides_to_show_widescreen"in f&&""!=f.slides_to_show_widescreen?+f.slides_to_show_widescreen:+f.slides_to_show,"slides_to_scroll_widescreen"in f&&""!=f.slides_to_scroll_widescreen?a.slidesToScroll=+f.slides_to_scroll_widescreen:a.slidesToShow>+f.slides_to_scroll?a.slidesToScroll=+f.slides_to_scroll:a.slidesToScroll=a.slidesToShow)}),a.slidesToShow>=c&&(a.dots=!1),l=a.slidesToShow,d=a.slidesToScroll,setTimeout(function(){e(".slick-slide",n).each(function(){null!=e(this).attr("aria-describedby")&&e(this).attr("id",e(this).attr("aria-describedby"))}),e(".jet-slick-dots",n).removeAttr("role"),e(".jet-slick-dots li",n).each(function(){e(this).removeAttr("role"),e(this).attr("tabindex","0")})},100),n.on("init reInit",function(){if(e(".jet-slick-dots",n).removeAttr("role"),e(".jet-slick-dots li",e(this)).each(function(){e(this).removeAttr("role"),e(this).attr("tabindex","0")}),e(".jet-slick-dots li",e(this)).keydown(function(t){var i=e(this),o=t.which||t.keyCode;13!=o&&32!=o||i.click(),37==o&&0!=i.prev().length&&(i.prev().focus(),i.prev().click()),39==o&&0!=i.next().length&&(i.next().focus(),i.next().click())}),e(".jet-arrow",p).attr("tabindex",0),e(".jet-arrow",p).keydown(function(t){var i=e(this),o=t.which||t.keyCode;13!=o&&32!=o||i.click(),37==o&&0!=i.prev().length&&i.prev().hasClass("slick-arrow")&&i.prev().focus(),39==o&&i.next().hasClass("slick-arrow")&&0!=i.next().length&&i.next().focus()}),n.hasClass("jet-image-comparison__instance")&&setTimeout(function(){n.find(".slick-slide.slick-active").each(function(){e(this).find(".jx-controller").attr("tabindex","0"),e(this).find(".jx-label").attr("tabindex","0")})},100),e(".slick-track",n).find(".slick-slide").each(function(){var t=e(this),i=e(".jet-carousel__item-img",t),o=new IntersectionObserver(function(t){!0===t[0].isIntersecting&&(i.each(function(){var t=e(this).attr("loading");void 0!==t&&!1!==t&&0===e(this).width()&&e(this).attr("loading","")}),o.unobserve(t[0].target))},{threshold:[0]});o.observe(t[0])}),a.infinite){var t=e(this),o=e("> .slick-list > .slick-track > .slick-cloned.jet-carousel__item",t);if(!o.length)return;i.initElementsHandlers(o)}}),n.hasClass("slick-initialized"))n.not(".slick-initialized").slick("refresh",!0);else if(Object.keys(h).reverse().forEach(function(e){if(f["slides_to_show_"+e]||f["slides_to_scroll_"+e]){var t={breakpoint:null,settings:{}};t.breakpoint="widescreen"!=e?h[e].value:h[e].value-1,"widescreen"===e?(t.settings.slidesToShow=+f.slides_to_show,t.settings.slidesToScroll=+f.slides_to_scroll?+f.slides_to_scroll:1):(t.settings.slidesToShow=f["slides_to_show_"+e]?+f["slides_to_show_"+e]:l,t.settings.slidesToScroll=f["slides_to_scroll_"+e]?+f["slides_to_scroll_"+e]:d),t.settings.slidesToShow>=c?t.settings.dots=!1:m&&(t.settings.dots=!0),l=t.settings.slidesToShow,d=t.settings.slidesToScroll,u.push(t)}}),a.responsive=u,a.slidesToShow>=c&&(a.dots=!1),y&&a.variableWidth?(a.variableWidth=!1,a.centerMode=!1,a.slidesToScroll=1,a.slidesToShow=1):a.variableWidth&&(a.slidesToShow=1,a.centerMode=!0),s={customPaging:function(t,i){return e("<span />").text(i+1)},dotsClass:"jet-slick-dots",accessibility:g},r=e.extend({},s,a),n.slick(r),n.hasClass("jet-image-comparison__instance")){let e=window.juxtapose.sliders.length;for(let t=0;t<e;t++)window.juxtapose.sliders[t].setWrapperDimensions()}},widgetTimeLine:function(e){var t=e.find(".jet-timeline");t.length&&new jetTimeLine(t).init()},widgetTable:function(t){var i=t.find(".jet-table");i.length&&(i.hasClass("jet-table--sorting")&&i.tablesorter({cssHeader:"jet-table-header-sort",cssAsc:"jet-table-header-sort--up",cssDesc:"jet-table-header-sort--down",initWidgets:!1}),e(".jet-table__body-row",i).each(function(){var t=e(this),i=0,o=0;e(".jet-table__cell",t).each(function(){var t=e("img",e(this)),n=e("svg",e(this)),a=e("i",e(this)),s=0;0===n.length&&0===a.length&&(t.each(function(){""!=e(this).attr("src")&&s++}),0===e(this).text().length&&0===s&&o++),i++}),o===i&&t.remove()}))},widgetDropbar:function(t){var o,n,a=t.find(".jet-dropbar"),s=a.find(".jet-dropbar__inner"),r=a.find(".jet-dropbar__button"),l=a.find(".jet-dropbar__content"),d=a.data("settings")||{},c=d.mode||"hover",u=+d.hide_delay||0,p="jet-dropbar-open",f=t.parents(".e-con"),h=e(".jet-elements-loader",l),m=d.signature;function g(t){if(l.data("loaded")||!1===t)return!1;l.data("loaded",!0),t&&e.ajax({type:"GET",url:window.jetElements.templateApiUrl,dataType:"json",data:{id:t,dev:window.jetElements.devMode,signature:m},success:function(e,t,o){var n=e.template_content,a=e.template_scripts,s=e.template_styles;for(var r in a)i.addedAssetsPromises.push(i.loadScriptAsync(r,a[r]));for(var d in s)i.addedAssetsPromises.push(i.loadStyle(d,s[d]));Promise.all(i.addedAssetsPromises).then(function(e){h.remove(),l.append(n),i.initElementsHandlers(l)},function(e){console.log("Script Loaded Error")})},error:function(e,t,i){console.error("Script Loaded Error:",t,i)}})}"click"===c?r.on("click.jetDropbar",function(e){a.toggleClass(p),a.hasClass(p)&&"yes"===d.ajax_template&&g(d.template_id)}):"ontouchstart"in window||"ontouchend"in window?r.on("touchend.jetDropbar",function(t){e(window).scrollTop()===o&&(a.toggleClass(p),a.hasClass(p)&&"yes"===d.ajax_template&&g(d.template_id))}):(s.on("mouseenter.jetDropbar",function(t){clearTimeout(n),e(".jet-dropbar").each(function(){e(this).removeClass(p),e(this).parents(".e-con").css("z-index","")}),f.css("z-index",""),"auto"===f.css("z-index")&&f.css("z-index",1),a.addClass(p),a.hasClass(p)&&"yes"===d.ajax_template&&g(d.template_id)}),s.on("mouseleave.jetDropbar",function(e){n=setTimeout(function(){a.removeClass(p)},u)})),e(document).on("touchstart.jetDropbar",function(t){o=e(window).scrollTop()}),e(document).on("click.jetDropbar touchend.jetDropbar",function(t){"touchend"===t.type&&e(window).scrollTop()!==o||e(t.target).closest(r).length||e(t.target).closest(l).length||a.hasClass(p)&&a.removeClass(p)})},widgetVideo:function(e){var t=e.find(".jet-video"),i=e.find(".jet-video-iframe"),o=e.find(".jet-video-player"),n=e.find(".jet-video-mejs-player"),a=n.data("controls")||["playpause","current","progress","duration","volume","fullscreen"],s=e.find(".jet-video__overlay"),r=e.find(".jet-video__play-button"),l=s.length>0,d=t.data("settings")||{},c=(d.lightbox,d.autoplay||!1);function u(){var e=i.data("lazy-load");e&&i.attr("src",e),c||(i[0].src=i[0].src.replace("&autoplay=0","&autoplay=1")),s.remove(),l=!1}s[0]&&(r.keypress(function(e){if(13==e.which)return s.click(),!1}),s.on("click.jetVideo",function(e){if(o[0])return o[0].play(),s.remove(),void(l=!1);i[0]&&u()})),c&&i[0]&&s[0]&&u(),o[0]&&(o.on("play.jetVideo",function(e){l&&(s.remove(),l=!1)}),c&&s.remove()),n[0]&&n.mediaelementplayer({videoVolume:"horizontal",hideVolumeOnTouchDevices:!1,enableProgressTooltip:!1,features:a,success:function(t){t.addEventListener("timeupdate",function(t){var i=e.find(".mejs-time-current"),o=i.attr("style");if(o){var n=o.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")","");n&&i.css("width",100*n+"%")}},!1)}})},widgetAudio:function(e){e.closest('[data-widget_type="loop-carousel.post"]').length||i.initAudioPlayer(e)},initAudioPlayer:function(t){var i,o=t.find(".jet-audio"),n=t.find(".jet-audio-player"),a=o.data("audio-settings"),s=0,r=!1;n[0]&&(i=a.startVolume||.8,a.controls.map(function(e){"volume"===e&&(r=!0)}),n.each(function(){e(this).hasClass("mejs-container")||(e(this).mediaelementplayer({features:a.controls||["playpause","current","progress","duration","volume"],audioVolume:a.audioVolume||"horizontal",startVolume:i,hideVolumeOnTouchDevices:a.hideVolumeOnTouchDevices,enableProgressTooltip:!1,success:function(e){var o=t.find(".mejs-button button");e.addEventListener("timeupdate",function(e){var i=t.find(".mejs-time-current"),o=i.attr("style");if(o){var n=o.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")","");n&&i.css("width",100*n+"%")}},!1),r&&"yes"===a.hasVolumeBar&&!a.hideVolumeOnTouchDevices?(e.setVolume(i),e.addEventListener("volumechange",function(){var n="horizontal"===a.audioVolume?t.find(".mejs-horizontal-volume-current"):t.find(".mejs-volume-current"),r="horizontal"===a.audioVolume?parseInt(n[0].style.width,10)/100:parseInt(n[0].style.height,10)/100,l="horizontal"===a.audioVolume?t.find(".mejs-horizontal-volume-total"):t.find(".mejs-volume-slider .mejs-volume-total"),d=t.find(".mejs-playpause-button"),c="";l.on("click",function(){c="horizontal"===a.audioVolume?parseInt(t.find(".mejs-horizontal-volume-total .mejs-horizontal-volume-current")[0].style.width,10)/100:parseInt(t.find(".mejs-volume-slider .mejs-volume-total .mejs-volume-current")[0].style.height,10)/100}),d.on("click",function(){""!==c&&e.setVolume(c)}),o.on("click",function(){e.muted||"yes"===a.muted&&0===s&&0===r&&(e.setVolume(i),s=1)})},!1)):r&&!a.hideVolumeOnTouchDevices&&o.on("click",function(){e.setVolume(i)})}}),e(this).attr("preload","metadata"))}))},widgetHorizontalTimeline:function(i){var n,a,s=i.find(".jet-hor-timeline"),r=i.find(".jet-hor-timeline-track"),l=i.find(".jet-hor-timeline-item"),d=i.find(".jet-arrow"),c=i.find(".jet-next-arrow"),u=i.find(".jet-prev-arrow"),p={},f={},h=!0,m=elementorFrontend.getCurrentDeviceMode(),g=m,v=s.closest(".elementor-widget"),w=o.getElementorElementSettings(v),_=t.config.responsive.activeBreakpoints,b=i.find(".jet-hor-timeline-list--middle .jet-hor-timeline-item").length,y=o.isRTL(),j=0,x=0,k={},C={};function S(){var e=i.find(".jet-hor-timeline__line"),t=i.find(".jet-hor-timeline-item__point-content:first"),o=i.find(".jet-hor-timeline-item__point-content:last"),n=t.position().left+parseInt(t.css("marginLeft")),a=o.position().left+parseInt(o.css("marginLeft")),s=t.outerWidth();e.css({left:y?a+s/2:n+s/2,width:Math.abs(a-n)})}if(p.desktop=w.columns,n=p.desktop,k.desktop=100/p.desktop,C.desktop=Math.max(0,b-p.desktop),f.desktop=+w.slides_to_scroll,a=f.desktop,Object.keys(_).reverse().forEach(function(e){"widescreen"===e?(p[e]="columns_widescreen"in w&&""!=w.columns_widescreen?w["columns_"+e]:p.desktop,f[e]="slides_to_scroll_widescreen"in w&&""!=w.slides_to_scroll_widescreen?+w["slides_to_scroll_"+e]:+f.desktop):(p[e]=""!=w["columns_"+e]&&null!=w["columns_"+e]?w["columns_"+e]:n,n=p[e],f[e]=""!=w["slides_to_scroll_"+e]&&null!=w["slides_to_scroll_"+e]?+w["slides_to_scroll_"+e]:+a,a=f[e]),k[e]=100/p[e],C[e]=Math.max(0,b-p[e])}),"ontouchstart"in window||"ontouchend"in window?l.on("touchend.jetHorTimeline",function(t){var o=e(this).data("item-id");i.find(".elementor-repeater-item-"+o).toggleClass("is-hover")}):l.on("mouseenter.jetHorTimeline mouseleave.jetHorTimeline",function(t){if(!h||"mouseleave"!==t.type){h&&"mouseenter"===t.type&&(h=!1);var o=e(this).data("item-id");i.find(".elementor-repeater-item-"+o).toggleClass("is-hover")}}),S(),e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline",o.debounce(50,S)),c[0]&&0===C[m]&&c.addClass("jet-arrow-disabled"),d[0]){var T,E=0,O=0;d.on("click.jetHorTimeline",function(t){var i=e(this),n=elementorFrontend.getCurrentDeviceMode(),a=f[n],s=i.hasClass("jet-next-arrow")?"next":"prev",l=y?1:-1;a=a>p[n]?p[n]:f[n],e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline",o.debounce(50,function(){n=elementorFrontend.getCurrentDeviceMode(),a=(a=f[n])>p[n]?p[n]:f[n]})),"next"===s&&x<C[n]&&(x+=a)>C[n]&&(x=C[n]),"prev"===s&&x>0&&(x-=a)<0&&(x=0),x>0?u.removeClass("jet-arrow-disabled"):u.addClass("jet-arrow-disabled"),x===C[n]?c.addClass("jet-arrow-disabled"):c.removeClass("jet-arrow-disabled"),j=0===x?0:x*k[n],r.css({transform:"translateX("+l*j+"%)"})}),e(l).on("touchstart",function(e){var t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0];E=t.pageX}),e(l).on("touchend",function(e){var t=e.originalEvent.touches[0]||e.originalEvent.changedTouches[0],i=elementorFrontend.getCurrentDeviceMode(),o=f[i];if(O=t.pageX,(T=O-E)<-50){var n=y?1:-1;o>p[i]&&(o=p[i]),x<C[i]&&(x+=o)>C[i]&&(x=C[i]),x>0?u.removeClass("jet-arrow-disabled"):u.addClass("jet-arrow-disabled"),x===C[i]?c.addClass("jet-arrow-disabled"):c.removeClass("jet-arrow-disabled"),j=0===x?0:x*k[i],r.css({transform:"translateX("+n*j+"%)"})}else if(T>50){n=y?1:-1;o>p[i]&&(o=p[i]),x>0&&(x-=o)<0&&(x=0),x>0?u.removeClass("jet-arrow-disabled"):u.addClass("jet-arrow-disabled"),x===C[i]?c.addClass("jet-arrow-disabled"):c.removeClass("jet-arrow-disabled"),j=0===x?0:x*k[i],r.css({transform:"translateX("+n*j+"%)"})}})}function P(){if(d[0]){var e=i.find(".jet-hor-timeline-list--middle"),t=e.position().top,o=e.outerHeight();d.css({top:t+o/2})}}P(),e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline",o.debounce(150,P)),e(window).on("resize.jetHorTimeline orientationchange.jetHorTimeline",o.debounce(50,function(e){if(!s.hasClass("jet-hor-timeline--arrows-nav"))return;var t=elementorFrontend.getCurrentDeviceMode();t!=g&&(!function(){u.addClass("jet-arrow-disabled"),c.hasClass("jet-arrow-disabled")&&c.removeClass("jet-arrow-disabled");0===C[t]&&c.addClass("jet-arrow-disabled");j=0,x=0,r.css({transform:"translateX(0%)"})}(),g=t)}))},widgetPieChart:function(t){var o=t.find(".jet-pie-chart-container"),n=t.find(".jet-pie-chart")[0],a=o.data("chart")||{},s=o.data("options")||{},r=o.data("tooltip")||"";!0===(s=e.extend({},{maintainAspectRatio:!1},s)).tooltips.enabled&&(s.tooltips.callbacks={label:function(e,t){return" "+t.labels[e.index]+": "+t.datasets[e.datasetIndex].data[e.index]+r}}),i.observer(t,function(){new Chart(n,{type:"pie",data:a,options:s})},i.prepareWaypointOptions(t,{offset:"bottom-in-view"}))},widgetBarChart:function(t){var n=t.find(".jet-bar-chart-container"),a=n.find(".jet-bar-chart"),s=n.data("settings"),r=n.data("tooltip-prefix")||"",l=n.data("tooltip-suffix")||"",d=n.data("tooltip-separator")||"",c=s.type||"bar",u=n.data("axis-separator")||"",p=n.data("labels-length")||50;!0===s.options.tooltips.enabled&&(s.options.tooltips.callbacks={label:function(e,t){return" "+t.datasets[e.datasetIndex].label+": "+t.datasets[e.datasetIndex].data[e.index]}}),n.length&&(!0===s.options.tooltips.enabled&&(s.options.tooltips.callbacks={label:function(e,t){var i=""!=d?o.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index],d):t.datasets[e.datasetIndex].data[e.index];return" "+t.datasets[e.datasetIndex].label+": "+r+i+l}}),!0===u&&("bar"===c?s.options.scales.yAxes[0].ticks.callback=function(e,t,i){return e.toLocaleString("en-US")}:s.options.scales.xAxes[0].ticks.callback=function(e,t,i){return e.toLocaleString("en-US")}),i.observer(a,function(){var t=e(this)[0].getContext("2d"),i=[];s.data.labels.forEach(function(e){i.push(((e,t)=>{let i=(e=String(e)).split(" "),o=[],n=[];for(let e=0;e<i.length;e++){n.push(i[e]);let a=n.join(" ");a.length>t&&(o.push(a),n=[])}return n.length&&o.push(n.join(" ").trim()),o})(e,p))}),s.data.labels=i;new Chart(t,s)},i.prepareWaypointOptions(t,{offset:"bottom-in-view"})))},widgetLineChart:function(t){var n=t.data("id"),a=t.find(".jet-line-chart-container"),s=a.find(".jet-line-chart"),r=a.data("compare"),l=a.data("previous-label"),d=a.data("current-label"),c=a.data("settings"),u=a.data("compare-labels-type"),p=a.data("tooltip-prefix")||"",f=a.data("tooltip-suffix")||"",h=a.data("tooltip-separator")||"";a.length&&i.observer(s,function(){var t=e(this)[0].getContext("2d"),i=new Chart(t,c);i.options.tooltips={enabled:!1,mode:"x-axis",intersect:!1,callbacks:{label:function(e,t){var i=t.datasets[e.datasetIndex].borderColor;if(i=i.replace(/"/g,'"'),!0===r){var n="custom"===u?d:t.labels[e.index],a=t.datasets[e.datasetIndex].label,s=""!=h?o.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index],h):t.datasets[e.datasetIndex].data[e.index],c='<div class="jet-line-chart-tooltip-compare-current">'+n+":"+p+s+f+"</div>",m="",g=(g=t.datasets[e.datasetIndex].borderColor).replace(/"/g,'"');if(void 0!==t.labels[e.index-1]&&null!==t.labels[e.index-1]){var v="custom"===u?l:t.labels[e.index-1],w=""!=h?o.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index-1],h):t.datasets[e.datasetIndex].data[e.index-1];m='<div class="jet-line-chart-tooltip-compare-previous">'+v+":"+p+w+f+"</div>"}return'<div class="jet-line-chart-tooltip-title"><span class="jet-line-chart-tooltip-color-box" style="background:'+g+'"></span>'+a+'</div><div class="jet-line-chart-tooltip-body">'+c+m+"</div>"}var _=t.datasets[e.datasetIndex].label,b=""!=h?o.addThousandCommaSeparator(t.datasets[e.datasetIndex].data[e.index],h):t.datasets[e.datasetIndex].data[e.index];return'<div class="jet-line-chart-tooltip-body"><span class="jet-line-chart-tooltip-color-box" style="background:'+i+'"></span>'+_+":"+p+b+f+"</div>"}},custom:function(e){var t=document.getElementById("chartjs-tooltip_"+n);if(t||((t=document.createElement("div")).id="chartjs-tooltip_"+n,t.innerHTML='<div class="jet-line-chart-tooltip"></div>',document.body.appendChild(t)),0!==e.opacity){if(t.classList.remove("above","below","no-transform"),e.yAlign?t.classList.add(e.yAlign):t.classList.add("no-transform"),e.body){e.title;var i=e.body.map(function(e){return e.lines}),o="";o+='<div class="jet-line-chart-tooltip-wrapper">',i.forEach(function(e,t){o+=e}),o+="</div>",t.querySelector("div").innerHTML=o}var a=this,s=this._chart.canvas.getBoundingClientRect(),r=t.offsetWidth,l=t.offsetHeight,d=0,c=0;setTimeout(function(){r=t.offsetWidth,l=t.offsetHeight,d=a._chart.width/2>a._chart.tooltip._eventPosition.x?0:-r,c=a._chart.height/2>a._chart.tooltip._eventPosition.y?0:-l,t.style.left=s.left+window.pageXOffset+e.caretX+d+"px",t.style.top=s.top+window.pageYOffset+e.caretY+c+"px",t.style.opacity=1},10),t.style.position="absolute",t.style.fontFamily=e._bodyFontFamily,t.style.fontSize=e.bodyFontSize+"px",t.style.fontStyle=e._bodyFontStyle,t.style.padding=e.yPadding+"px "+e.xPadding+"px",t.style.pointerEvents="none"}else t.style.opacity=0}},i.update()},i.prepareWaypointOptions(t,{offset:"bottom-in-view"}))},widgetLottie:function(t){var i,n,a=t.find(".jet-lottie"),s=a.find(".jet-lottie__elem"),r=a.data("settings");if(a[0]){i={container:s[0],renderer:r.renderer,loop:""===r.loop_times?r.loop:r.loop_times,autoplay:!1,path:r.path,name:"jet-lottie"},n=lottie.loadAnimation(i),r.play_speed&&n.setSpeed(r.play_speed),r.reversed&&n.setDirection(-1);var l=0,d=0;switch(r.viewport&&(l=-r.viewport.start||0,d=-(100-r.viewport.end)||0),r.action_start){case"on_hover":var c=!1,u=function(){if(c&&"reverse"===r.on_hover_out){var e=r.reversed?-1:1;n.setDirection(e)}n.play(),c=!0},p=function(){switch(r.on_hover_out){case"pause":n.pause();break;case"stop":n.stop();break;case"reverse":var e=r.reversed?1:-1;n.setDirection(e),n.play()}};a.off("mouseenter.JetLottie",u).on("mouseenter.JetLottie",u),a.off("mouseleave.JetLottie",p).on("mouseleave.JetLottie",p);break;case"on_click":var f=a.find(".jet-lottie__link"),h=+r.redirect_timeout,m=function(){n.play()},g=function(t){t.preventDefault(),n.play();var i=e(this).attr("href"),o="_blank"===e(this).attr("target")?"_blank":"_self";setTimeout(function(){window.open(i,o)},h)};f[0]&&h>0?f.off("click.JetLottie",g).on("click.JetLottie",g):a.off("click.JetLottie",m).on("click.JetLottie",m);break;case"on_viewport":if(void 0!==window.IntersectionObserver)new IntersectionObserver(function(e,t){e[0].isIntersecting?n.play():n.pause()},{rootMargin:d+"% 0% "+l+"%"}).observe(a[0]);else n.play();break;case"on_scroll":if(void 0!==window.IntersectionObserver){var v,w=0;new IntersectionObserver(function(e,t){e[0].isIntersecting?v=requestAnimationFrame(function e(){if(window.scrollY!==w){var t=o.getElementPercentageSeen(s,{start:l,end:d}),i=(n.totalFrames-n.firstFrame)*t/100;n.goToAndStop(i,!0),w=window.scrollY}v=requestAnimationFrame(e)}):cancelAnimationFrame(v)},{rootMargin:d+"% 0% "+l+"%"}).observe(a[0])}break;default:var _=+r.delay;_>0?setTimeout(function(){n.play()},_):n.play()}}},widgetPricingTable:function(t){var i=t.find(".pricing-table"),o=e(".pricing-feature .pricing-feature__inner[data-tippy-content]",i),n=i.data("tooltips-settings"),a=t.find(".pricing-table__fold-mask"),s=t.find(".pricing-table__fold-button"),r=a,l=(e(".pricing-table__features",a),a.data("fold-settings")||{}),d=l.fold_enabled||!1,c=0,u=0,p=l.unfoldDuration,f=l.unfoldDuration,h=l.unfoldEasing,m=l.foldEasing;function g(){u=0,t.find(".pricing-table__fold-mask .pricing-feature").each(function(){u+=e(this).outerHeight(!0)})}o[0]&&o.each(function(){var t=e(this)[0];t._tippy&&t._tippy.destroy(),tippy([t],{arrow:!!n.tooltipArrow,duration:[n.tooltipShowDuration.size,n.tooltipHideDuration.size],delay:n.tooltipDelay.size,placement:n.tooltipPlacement,trigger:n.tooltipTrigger,animation:n.tooltipAnimation,appendTo:t,offset:[0,n.tooltipDistance.size],allowHTML:!0,popperOptions:{strategy:"fixed"}})}),d&&(t.find(".pricing-table__fold-mask .fold_visible").each(function(){c+=e(this).outerHeight(!0)}),g(),a.hasClass("pricing-table-unfold-state")||r.css({height:c}),t.find(".pricing-table__fold-mask").css("max-height","none"),s.keypress(function(e){if(13==e.which)return s.click(),!1}),s.on("click.jetPricingTable",function(){var t=e(this),i=e(".pricing-table__fold-button-text",t),o=e(".pricing-table__fold-button-icon",t),n=t.data("unfold-text"),s=t.data("unfold-text-accessibility"),l=t.data("fold-text"),d=t.data("fold-text-accessibility"),v=t.data("unfold-icon"),w=t.data("fold-icon");a.hasClass("pricing-table-unfold-state")?(a.removeClass("pricing-table-unfold-state"),o.html(v),i.html(n),""!==l?t.attr("aria-label",n):t.attr("aria-label",s),anime({targets:r[0],height:c,duration:f.size||f,easing:m})):(a.addClass("pricing-table-unfold-state"),g(),o.html(w),i.html(l),""!==l?t.attr("aria-label",l):t.attr("aria-label",d),anime({targets:r[0],height:u,duration:p.size||p,easing:h}))}))}};e(window).on("elementor/frontend/init",i.init);var o={getElementPercentageSeen:function(t,i){var o,n=i||{},a=n.start||0,s=n.end||0,r=e(window).height(),l=r*a/100,d=r*s/100;return o=(e(window).scrollTop()+r+l-t.offset().top)/(r+l+d+t.height()),o=Math.min(100,Math.max(0,100*o)),parseFloat(o.toFixed(2))},isRTL:function(){return e("body").hasClass("rtl")},inArray:function(e,t){return-1<t.indexOf(e)},debounce:function(e,t){var i;return function(o){i&&clearTimeout(i),i=setTimeout(function(){t.call(this,o),i=null},e)}},getObjectNextKey:function(e,t){var i=Object.keys(e),o=i.indexOf(t),n=o+=1;return!(n>=i.length)&&i[n]},getObjectPrevKey:function(e,t){var i=Object.keys(e),o=i.indexOf(t),n=o-=1;return!(0>o)&&i[n]},getObjectFirstKey:function(e){return Object.keys(e)[0]},getObjectLastKey:function(e){return Object.keys(e)[Object.keys(e).length-1]},getObjectValues:function(e){return Object.values?Object.values(e):Object.keys(e).map(function(t){return e[t]})},validateEmail:function(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},mobileAndTabletcheck:function(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm(os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s)|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(|\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(|\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg(g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v)|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v)|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|)|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t},addThousandCommaSeparator:function(e,t){e+="",t=t.toString().replace(/[0-9]/g,"");var i=e.split("."),o=i[0],n=i.length>1?"."+i[1]:"",a=/(\d+)(\d{3})/;if(""===t)return e;for(;a.test(o);)o=o.replace(a,"$1"+t+"$2");return o+n},getElementorElementSettings:function(e){return window.elementorFrontend&&window.elementorFrontend.isEditMode()&&e.hasClass("elementor-element-edit-mode")?o.getEditorElementSettings(e):e.data("settings")||{}},getEditorElementSettings:function(e){var i,o=e.data("model-cid");return o&&t.hasOwnProperty("config")&&t.config.hasOwnProperty("elements")&&t.config.elements.hasOwnProperty("data")&&(i=t.config.elements.data[o])?i.toJSON():{}}};window.jetAnimatedText=function(t,i){var o=this,n=e(".jet-animated-text__animated-text",t),a=e(".jet-animated-text__animated-text-item",n),s=null,r=(i=e.extend({effect:"fx1",delay:3e3},i||{}),0),l=i.delay;o.avaliableEffects={fx1:{in:{duration:1e3,delay:function(e,t){return 75+100*t},easing:"easeOutElastic",elasticity:650,opacity:{value:[0,1],easing:"easeOutExpo"},translateY:["100%","0%"]},out:{duration:300,delay:function(e,t){return 40*t},easing:"easeInOutExpo",opacity:0,translateY:"-100%"}},fx2:{in:{duration:800,delay:function(e,t){return 50*t},easing:"easeOutElastic",opacity:{value:[0,1],easing:"easeOutExpo"},translateY:function(e,t){return t%2==0?["-80%","0%"]:["80%","0%"]}},out:{duration:300,delay:function(e,t){return 20*t},easing:"easeOutExpo",opacity:0,translateY:function(e,t){return t%2==0?"80%":"-80%"}}},fx3:{in:{duration:700,delay:function(e,t){return 80*(e.parentNode.children.length-t-1)},easing:"easeOutElastic",opacity:{value:[0,1],easing:"easeOutExpo"},translateY:function(e,t){return t%2==0?["-80%","0%"]:["80%","0%"]},rotateZ:[90,0]},out:{duration:300,delay:function(e,t){return 50*(e.parentNode.children.length-t-1)},easing:"easeOutExpo",opacity:0,translateY:function(e,t){return t%2==0?"80%":"-80%"},rotateZ:function(e,t){return t%2==0?-25:25}}},fx4:{in:{duration:700,delay:function(e,t){return 550+50*t},easing:"easeOutQuint",opacity:{value:[0,1],easing:"easeOutExpo"},translateY:["-150%","0%"],rotateY:[180,0]},out:{duration:200,delay:function(e,t){return 30*t},easing:"easeInQuint",opacity:{value:0,easing:"linear"},translateY:"100%",rotateY:-180}},fx5:{in:{duration:250,delay:function(e,t){return 200+25*t},easing:"easeOutCubic",opacity:{value:[0,1],easing:"easeOutExpo"},translateY:["-50%","0%"]},out:{duration:250,delay:function(e,t){return 25*t},easing:"easeOutCubic",opacity:0,translateY:"50%"}},fx6:{in:{duration:400,delay:function(e,t){return 50*t},easing:"easeOutSine",opacity:{value:[0,1],easing:"easeOutExpo"},rotateY:[-90,0]},out:{duration:200,delay:function(e,t){return 50*t},easing:"easeOutSine",opacity:0,rotateY:45}},fx7:{in:{duration:1e3,delay:function(e,t){return 100+30*t},easing:"easeOutElastic",opacity:{value:[0,1],easing:"easeOutExpo"},rotateZ:function(e,t){return[anime.random(20,40),0]}},out:{duration:300,opacity:{value:[1,0],easing:"easeOutExpo"}}},fx8:{in:{duration:400,delay:function(e,t){return 200+20*t},easing:"easeOutExpo",opacity:1,rotateY:[-90,0],translateY:["50%","0%"]},out:{duration:250,delay:function(e,t){return 20*t},easing:"easeOutExpo",opacity:0,rotateY:90}},fx9:{in:{duration:400,delay:function(e,t){return 200+30*t},easing:"easeOutExpo",opacity:1,rotateX:[90,0]},out:{duration:250,delay:function(e,t){return 30*t},easing:"easeOutExpo",opacity:0,rotateX:-90}},fx10:{in:{duration:400,delay:function(e,t){return 100+50*t},easing:"easeOutExpo",opacity:{value:[0,1],easing:"easeOutExpo"},rotateX:[110,0]},out:{duration:250,delay:function(e,t){return 50*t},easing:"easeOutExpo",opacity:0,rotateX:-110}},fx11:{in:{duration:function(e,t){return anime.random(800,1e3)},delay:function(e,t){return anime.random(100,300)},easing:"easeOutExpo",opacity:{value:[0,1],easing:"easeOutExpo"},translateY:["-150%","0%"],rotateZ:function(e,t){return[anime.random(-50,50),0]}},out:{duration:function(e,t){return anime.random(200,300)},delay:function(e,t){return anime.random(0,80)},easing:"easeInQuart",opacity:0,translateY:"50%",rotateZ:function(e,t){return anime.random(-50,50)}}},fx12:{in:{elasticity:!1,duration:1,delay:function(e,t){return 100*t+anime.random(50,100)},width:[0,function(t,i){return e(t).width()}]},out:{duration:1,delay:function(e,t){return 20*(e.parentNode.children.length-t-1)},easing:"linear",width:{value:0}}}},o.textChange=function(){var e,t=a.eq(r);r<a.length-1?r++:r=0,e=a.eq(r),o.hideText(t,i.effect,null,function(n){t.toggleClass("visible");var a=l;s&&clearTimeout(s),o.showText(e,i.effect,function(){e.toggleClass("active"),t.toggleClass("active"),e.toggleClass("visible")},function(){s=setTimeout(function(){o.textChange()},a)})})},o.showText=function(t,i,n,a){var s=[];e("span",t).each(function(){e(this).css({width:"auto",opacity:1,WebkitTransform:"",transform:""}),s.push(this)}),o.animateText(s,"in",i,n,a)},o.hideText=function(t,i,n,a){var s=[];e("span",t).each(function(){s.push(this)}),o.animateText(s,"out",i,n,a)},o.animateText=function(e,t,i,n,a){var s=(o.avaliableEffects[i]||{})[t];s.targets=e,s.begin=n,s.complete=a,anime(s)},o.init=function(){var t=a.eq(r);"fx12"===i.effect&&e("span",a).each(function(){e(this).css("width","0").css("opacity","1")}),o.showText(t,i.effect,null,function(){var e=l;s&&clearTimeout(s),s=setTimeout(function(){o.textChange()},e)})}},window.jetImagesLayout=function(i,o){var n,a=this,s=i,r=(e(".jet-images-layout__list",s),e(".jet-images-layout__item",s));Boolean(t.isEditMode()),o=o||{};n={layoutType:"masonry",justifyHeight:300},e.extend(n,o),a.layoutBuild=function(){switch(o.layoutType){case"masonry":salvattore.init();break;case"justify":r.each(function(){var t=e(this),i=e(".jet-images-layout__image-instance",t),n=+i.data("width")/+i.data("height"),a=100*n,s=+o.justifyHeight*n;t.css({"flex-grow":a,"flex-basis":s})})}if(e.isFunction(e.fn.imagesLoaded))e(".jet-images-layout__image",r).imagesLoaded().progress(function(t,i){var o=e(i.img).closest(".jet-images-layout__item"),n=e(".jet-images-layout__image-loader",o);o.addClass("image-loaded"),n.fadeTo(500,0,function(){e(this).remove()})});else{var t=e(".jet-images-layout__image-loader",r);r.addClass("image-loaded"),t.fadeTo(500,0,function(){e(this).remove()})}},a.init=function(){a.layoutBuild()}},window.jetScrollNavigation=function(n,a,s){var r=this,l=e(window),d=e(document),c=(e("body"),a),u=e("html, body"),p=e(".jet-scroll-navigation__item",c),f=(s=e.extend({},{speed:500,blockSpeed:500,offset:0,sectionSwitch:!1,sectionSwitchOnMobile:!0},s),{}),h=null,m=!1,g=window.location.hash.slice(1),v=0,w=navigator.platform;jQuery.extend(jQuery.easing,{easeInOutCirc:function(e,t,i,o,n){return(t/=n/2)<1?-o/2*(Math.sqrt(1-t*t)-1)+i:o/2*(Math.sqrt(1-(t-=2)*t)+1)+i}}),r.init=function(){r.setSectionsData(),g&&f.hasOwnProperty(g)&&p.addClass("invert"),p.on("click.jetScrollNavigation",function(t){var i=e(this).data("anchor");r.onAnchorChange(i)}),l.on("resize.jetScrollNavigation orientationchange.jetScrollNavigation",o.debounce(50,r.onResize)),l.on("load",function(){r.setSectionsData()}),d.keydown(function(e){r.isEnabled()&&(38==e.keyCode&&r.directionSwitch(e,"up"),40==e.keyCode&&r.directionSwitch(e,"down"))}),r.waypointHandler(),r.hijakingHandler(),"undefined"!=typeof ResizeSensor&&new ResizeSensor(e(".jet-scroll-navigation-section"),o.debounce(50,function(){r.setSectionsData(),r.waypointHandler()}))},r.setSectionsData=function(){var i=Boolean(t.isEditMode());p.each(function(){var t=e(this),o=t.data("anchor"),n="yes"===t.data("invert"),a=e("#"+o);a[0]?(a.addClass("jet-scroll-navigation-section"),a[0].dataset.sectionName=o,f[o]={selector:a,offset:Math.round(a.offset().top),height:a.outerHeight(),invert:n}):i||t.css("display","none")})},r.waypointHandler=function(){for(var t in e(window).on("resize scroll",function(){for(var t in f){let i=f[t].selector.attr("id");if(s.sectionSwitch)return!1;e("#"+i).isInViewport()||e("[data-anchor="+i+"]",c).removeClass("active")}}),f){var o=f[t].selector;i.observer(o,function(t){var i=e(this).attr("id");"down"!==t||m||(!1===s.sectionIdVisibility&&window.history.pushState(null,null,"#"+i),h=i,p.removeClass("active"),e("[data-anchor="+i+"]",c).addClass("active"),p.removeClass("invert"),f[i].invert&&p.addClass("invert"))},{offset:"70%",triggerOnce:!1}),i.observer(o,function(t){var i=e(this).attr("id");"up"!==t||m||(!1===s.sectionIdVisibility&&window.history.pushState(null,null,"#"+i),h=i,p.removeClass("active"),e("[data-anchor="+i+"]",c).addClass("active"),p.removeClass("invert"),f[i].invert&&p.addClass("invert"))},{offset:"0%",triggerOnce:!1})}},r.onAnchorChange=function(t){var i,o=e("[data-anchor="+t+"]",c);if(!f.hasOwnProperty(t))return!1;if(i=f[t].offset-s.offset,(!s.sectionSwitch||!m)&&(s.sectionSwitch&&(m=!0),!1===s.sectionIdVisibility&&window.history.pushState(null,null,"#"+t),h=t,p.removeClass("active"),o.addClass("active"),p.removeClass("invert"),f[t].invert&&p.addClass("invert"),window.scrollTo({top:i,behavior:"smooth"}),s.sectionSwitch)){let e=setInterval(function(){let t=window.scrollY;Math.abs(t-i)<2&&(clearInterval(e),m=!1)},100)}},r.directionSwitch=function(t,i){i=i||"up";var o=e("[data-anchor="+h+"]",c).next(),n=e("[data-anchor="+h+"]",c).prev();if(m)return!1;"up"===i&&n[0]&&n.trigger("click.jetScrollNavigation"),"down"===i&&o[0]&&o.trigger("click.jetScrollNavigation")},r.hijakingHandler=function(){var t=o.mobileAndTabletcheck(),i=0;if(s.sectionSwitch&&(t||document.addEventListener("wheel",r.onWheel,{passive:!1}),t&&s.sectionSwitchOnMobile)){let t=null;document.addEventListener("touchstart",function(e){r.isEnabled()&&(i=e.changedTouches[0].clientY,t&&clearTimeout(t))},{passive:!0}),document.addEventListener("touchend",function(n){if(!r.isEnabled())return;const a=n.changedTouches[0].clientY-i;if(Math.abs(a)<s.scroll_threshold)return;const l=a>0?"up":"down",d=e(n.target).closest(".elementor-top-section[id], .e-con.jet-scroll-navigation-section[id]").attr("id")||!1;if(!d||!f.hasOwnProperty(d))return;let c=!1,u=o.getObjectPrevKey(f,d),p=o.getObjectNextKey(f,d);"up"===l&&u&&(c=u),"down"===l&&p&&(c=p),c&&(t=setTimeout(()=>{r.onAnchorChange(c)},80))},{passive:!0})}},r.onScroll=function(e){e.preventDefault()},r.onWheel=function(t){if(r.isEnabled()){m&&t.preventDefault();var i=e(t.target),n=(0<i.closest(".elementor-top-section[id]").length?i.closest(".elementor-top-section[id]"):i.closest(".e-con[id]")).attr("id")||!1,a=0>t.deltaY?"up":"down",d=!1,c=!1,u=!1,p=!1,h=l.scrollTop();if(!i.closest(".jet-map-listing").length){if(n&&f.hasOwnProperty(n)&&(u=o.getObjectPrevKey(f,n),p=o.getObjectNextKey(f,n),d=f[n].offset,"up"===a&&(d<h+s.offset-10&&(u=n),u&&(c=u)),"down"===a&&(d>h+s.offset+10&&(p=n),p&&(c=p)),c)){if(t.preventDefault(),t.timeStamp-v>15&&"MacIntel"==w)return v=t.timeStamp,!1;r.onAnchorChange(c)}return!1}}},r.onResize=function(e){r.setSectionsData()},r.scrollStop=function(){u.stop(!0)},r.isEnabled=function(){return n.is(":visible")},r.mobileAndTabletcheck=function(){var e,t=!1;return e=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm(os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s)|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp(i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac(|\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt(|\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg(g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v)|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v)|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-|)|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0),t},e.fn.isInViewport=function(){let t=e(this).offset().top,i=t+e(this).outerHeight(),o=e(window).scrollTop(),n=o+e(window).height();return i>o&&t<n}},window.jetSectionParallax=function(i){var n=this,a=(i.data("id"),!1),s=Boolean(t.isEditMode()),r=e(window),l=(e("body"),[]),d=[],c=r.scrollTop(),u=r.height(),p=0,f=0,h=(navigator.userAgent.match(/Version\/[\d\.]+.*Safari/),navigator.platform);n.init=function(){if(!(a=s?n.generateEditorSettings(i):0!=(a=i.data("settings")||!1)&&a.jet_parallax_layout_list))return!1;n.generateLayouts(),r.on("resize.jetSectionParallax orientationchange.jetSectionParallax",o.debounce(30,n.generateLayouts)),0!==l.length&&r.on("scroll.jetSectionParallax resize.jetSectionParallax",n.scrollHandler),0!==d.length&&(i.on("mousemove.jetSectionParallax resize.jetSectionParallax",n.mouseMoveHandler),i.on("mouseleave.jetSectionParallax",n.mouseLeaveHandler)),n.scrollUpdate()},n.generateEditorSettings=function(t){var i,n={},a=[];return!!window.elementor.hasOwnProperty("elements")&&(!(!(n=o.getElementorElementSettings(t)).hasOwnProperty("jet_parallax_layout_list")||0===Object.keys(n).length)&&(i=n.jet_parallax_layout_list,e.each(i,function(e,t){a.push(t)}),0!==a.length&&a))},n.generateLayouts=function(){e(".jet-parallax-section__layout",i).remove(),e.each(a,function(n,a){var s,r,c=a.jet_parallax_layout_image,u=a.jet_parallax_layout_speed.size||50,p=a.jet_parallax_layout_z_index,f=a.jet_parallax_layout_animation_prop||"bgposition",m=elementorFrontend.getCurrentDeviceMode(),g=t.config.responsive.activeBreakpoints,v=[],w=a.jet_parallax_layout_bg_x,_=a.jet_parallax_layout_bg_y,b=a.jet_parallax_layout_type||"none",y=a.jet_parallax_layout_direction||"1",j=a.jet_parallax_layout_fx_direction||"fade-in",x=a.jet_parallax_layout_on||["desktop","tablet"],k=a._id,C="MacIntel"==h?" is-mac":"";if(-1===x.indexOf(m))return!1;for(var[S,T]of Object.entries(g))"widescreen"===S?(v.push("desktop"),v.push(S)):v.push(S);-1===v.indexOf("widescreen")&&v.push("desktop"),v=v.reverse();var E,O=0,P=[];["widescreen","desktop","laptop","tablet_extra","tablet","mobile_extra","mobile"].forEach(function(e){-1!=v.indexOf(e)&&(P[O]=[],P[O][e]="widescreen"===e?{bgX:""!=a["jet_parallax_layout_bg_x_"+e]?a.jet_parallax_layout_bg_x:0,bgY:""!=a["jet_parallax_layout_bg_y_"+e]?a.jet_parallax_layout_bg_y:0,layoutImageData:""!=a["jet_parallax_layout_image_"+e]?a["jet_parallax_layout_image_"+e]:""}:"desktop"===e?{bgX:""!=a.jet_parallax_layout_bg_x?a.jet_parallax_layout_bg_x:0,bgY:""!=a.jet_parallax_layout_bg_y?a.jet_parallax_layout_bg_y:0,layoutImageData:c.url||a.jet_parallax_layout_image.url}:{bgX:a["jet_parallax_layout_bg_x_"+e]&&""!=a["jet_parallax_layout_bg_x_"+e]?a["jet_parallax_layout_bg_x_"+e]:P[O-1][E].bgX,bgY:a["jet_parallax_layout_bg_y_"+e]&&""!=a["jet_parallax_layout_bg_y_"+e]?a["jet_parallax_layout_bg_y_"+e]:P[O-1][E].bgY,layoutImageData:a["jet_parallax_layout_image_"+e]&&""!=a["jet_parallax_layout_image_"+e].url?a["jet_parallax_layout_image_"+e].url:P[O-1][E].layoutImageData},m===e&&(w=P[O][e].bgX,_=P[O][e].bgY,c=P[O][e].layoutImageData),E=e,O++)}),i.hasClass("jet-parallax-section")||i.addClass("jet-parallax-section"),s=e('<div class="jet-parallax-section__layout elementor-repeater-item-'+k+" jet-parallax-section__"+b+"-layout"+C+'"><div class="jet-parallax-section__image"></div></div>').prependTo(i).css({"z-index":p});var z={"background-position-x":w+"%","background-position-y":_+"%","background-image":"url("+c+")"};e("> .jet-parallax-section__image",s).css(z),r={selector:s,prop:f,type:b,device:x,xPos:w,yPos:_,direction:+y,fxDirection:j,speed:u/100*2},"none"!==b&&(o.inArray(b,["scroll","h-scroll","zoom","rotate","blur","opacity"])&&l.push(r),"mouse"===b&&d.push(r))})},n.scrollHandler=function(e){c=r.scrollTop(),u=r.height(),n.scrollUpdate()},n.scrollUpdate=function(){e.each(l,function(t,i){var o=i.selector,n=e(".jet-parallax-section__image",o),a=i.speed,s=o.offset().top,r=o.outerHeight(),l=i.prop,d=i.type,p=i.direction,f=i.fxDirection,h=(c-s+u)/r*100,m=elementorFrontend.getCurrentDeviceMode();if(-1===i.device.indexOf(m))return n.css({transform:"translateX(0) translateY(0)","background-position-y":i.yPos,"background-position-x":i.xPos,filter:"none",opacity:"1"}),!1;switch(c<s-u&&(h=0),c>s+r&&(h=200),h=parseFloat(a*h).toFixed(1),d){case"scroll":"bgposition"===l?n.css({"background-position-y":"calc("+i.yPos+"% + "+h*p+"px)"}):n.css({transform:"translateY("+h*p+"px)"});break;case"h-scroll":"bgposition"===l?n.css({"background-position-x":"calc("+i.xPos+"% + "+h*p+"px)"}):n.css({transform:"translateX("+h*p+"px)"});break;case"zoom":var g=(c-s+u)/u*a;g+=1,n.css({transform:"scale("+g+")"});break;case"rotate":var v=h;n.css({transform:"rotateZ("+v*p+"deg)"});break;case"blur":var w=0;switch(f){case"fade-in":w=h/40;break;case"fade-out":w=5*a-h/40}n.css({filter:"blur("+w+"px)"});break;case"opacity":var _=1;switch(f){case"fade-in":_=1-h/400;break;case"fade-out":_=1-.5*a+h/400}n.css({opacity:_})}})},n.mouseMoveHandler=function(e){var t=r.width(),i=r.height(),o=Math.ceil(t/2),a=Math.ceil(i/2),s=e.clientX-o,l=e.clientY-a;p=s/o*-1,f=l/a*-1,n.mouseMoveUpdate()},n.mouseLeaveHandler=function(t){e.each(d,function(t,i){var o=i.selector,n=e(".jet-parallax-section__image",o);switch(i.prop){case"transform3d":TweenMax.to(n[0],1.2,{x:0,y:0,z:0,rotationX:0,rotationY:0,ease:Power2.easeOut})}})},n.mouseMoveUpdate=function(){e.each(d,function(t,i){var o=i.selector,n=e(".jet-parallax-section__image",o),a=i.speed,s=i.prop,r=parseFloat(125*p*a).toFixed(1),l=parseFloat(125*f*a).toFixed(1),d=50*i.zIndex,c=parseFloat(25*p*a).toFixed(1),u=parseFloat(25*f*a).toFixed(1),h=elementorFrontend.getCurrentDeviceMode();if(-1==i.device.indexOf(h))return n.css({transform:"translateX(0) translateY(0)","background-position-x":i.xPos,"background-position-y":i.yPos}),!1;switch(s){case"bgposition":var m=i.xPos+r/n[0].offsetWidth*100,g=i.yPos+l/n[0].offsetHeight*100;TweenMax.to(n[0],1,{backgroundPositionX:m,backgroundPositionY:g,ease:Power2.easeOut});break;case"transform":TweenMax.to(n[0],1,{x:r,y:l,ease:Power2.easeOut});break;case"transform3d":TweenMax.to(n[0],2,{x:r,y:l,z:d,rotationX:u,rotationY:-c,ease:Power2.easeOut})}})}},window.jetPortfolio=function(i,n){var a,s=this,r=i,l=e(".jet-portfolio__list",r),d=e(".jet-portfolio__item",r),c=e(".jet-portfolio__filter-item",r),u=e(".jet-portfolio__view-more",r),p=e(".jet-portfolio__view-more-button",r),f=p[0],h={},m={},g="all",v=o.isRTL(),w=Boolean(t.isEditMode()),_={itemSelector:".jet-portfolio__item",percentPosition:!0,isOriginLeft:!0!==v};n=e.extend({layoutType:"masonry",columns:3,perPage:6},n);s.init=function(){s.layoutBuild(),w&&a.get(0)&&e(window).on("resize",o.debounce(50,function(){a.masonry("layout")}))},s.layoutBuild=function(){if(s.generateData(),c.data("showItems",f?n.perPage:"all"),"justify"==n.layoutType&&(_.columnWidth=".grid-sizer"),"masonry"!=n.layoutType&&"justify"!=n.layoutType||(a=l.masonry(_)),e.isFunction(e.fn.imagesLoaded))e(".jet-portfolio__image",d).imagesLoaded().progress(function(t,i){var o=e(i.img).closest(".jet-portfolio__item");e(".jet-portfolio__image-loader",o).remove(),o.addClass("item-loaded"),a&&a.masonry("layout")});else{var t=e(".jet-portfolio__image-loader",d);d.addClass("item-loaded"),t.remove()}c.on("click.jetPortfolio",s.filterHandler),p.on("click.jetPortfolio",s.moreButtonHandler),s.render(),s.checkMoreButton()},s.generateData=function(){c[0]?c.each(function(t){var i=e(this).data("slug");m[i]=!1,"all"==i&&(m[i]=!0)}):m.all=!0,d.each(function(t){var i=e(this),o=i.data("slug");h[t]={selector:i,slug:o,visible:!!i.hasClass("visible-status"),more:!!i.hasClass("hidden-status"),lightboxEnabled:"yes"===i.find(".jet-portfolio__link").data("elementor-open-lightbox")}})},s.filterHandler=function(t){t.preventDefault();var i=e(this),o=1,n=i.data("slug"),a=i.data("showItems");for(var r in c.removeClass("active"),i.addClass("active"),m)m[r]=!1,r==n&&(m[r]=!0,g=r);e.each(h,function(e,t){var i=!1;"all"===a?s.isItemVisible(t.slug)&&!t.more&&(i=!0):s.isItemVisible(t.slug)&&(o<=a?(i=!0,t.more=!1):t.more=!0,o++),t.visible=i}),s.render(),s.checkMoreButton()},s.moreButtonHandler=function(t){e(this);var i,o=1,a=e(".jet-portfolio__filter-item.active",r);e.each(h,function(e,t){s.isItemVisible(t.slug)&&t.more&&o<=n.perPage&&(t.more=!1,t.visible=!0,o++)}),a[0]&&(i=a.data("showItems"),a.data("showItems",i+o-1)),s.render(),s.checkMoreButton()},s.checkMoreButton=function(){var t=!1;e.each(h,function(e,i){s.isItemVisible(i.slug)&&i.more&&(t=!0)}),t?u.removeClass("hidden-status"):u.addClass("hidden-status")},s.isItemVisible=function(e){var t=o.getObjectValues(e);for(var i in m){if(m[i]&&-1!==t.indexOf(i))return!0}return!1},s.anyFilterEnabled=function(){for(var e in m)if(m[e])return!0;return!1},s.render=function(){d.removeClass("visible-status").removeClass("hidden-status"),e.each(h,function(t,i){var o=e(".jet-portfolio__inner",i.selector),a=e(".jet-portfolio__link",i.selector),s=n.id+"-"+g;i.visible?(i.selector.addClass("visible-status"),i.lightboxEnabled&&a[0].setAttribute("data-elementor-lightbox-slideshow",s),anime({targets:o[0],opacity:{value:1,duration:400},scale:{value:1,duration:500,easing:"easeOutExpo"},delay:50,elasticity:!1})):(i.selector.addClass("hidden-status"),a[0].removeAttribute("data-elementor-lightbox-slideshow"),anime({targets:o[0],opacity:0,scale:0,duration:500,elasticity:!1}))}),a&&a.masonry("layout")}},window.jetTimeLine=function(t){var i=t.closest(".jet-popup__container-inner, .elementor-popup-modal .dialog-message"),n=!!i[0],a=n?i:e(window),s=n?a.offset().top-e(window).scrollTop():0,r=this,l=t.find(".jet-timeline__line"),d=l.find(".jet-timeline__line-progress"),c=t.find(".jet-timeline-item"),u=t.find(".timeline-item__point"),p=a.scrollTop(),f=-1,h=a.height(),m=n?a.outerHeight():window.innerHeight,g=!1;r.onScroll=function(){p=a.scrollTop(),s=n?a.offset().top-e(window).scrollTop():0,r.updateFrame(),r.animateCards()},r.onResize=function(){p=a.scrollTop(),h=a.height(),s=n?a.offset().top-e(window).scrollTop():0,r.updateFrame()},r.updateWindow=function(){g=!1,l.css({top:c.first().find(u).offset().top-c.first().offset().top,bottom:t.offset().top+t.outerHeight()-c.last().find(u).offset().top}),f!==p&&(f=p,h,r.updateProgress())},r.updateProgress=function(){var t=c.last().find(u).offset().top,i=n?t+p-s-e(window).scrollTop():t,o=n?d.offset().top+p-s-e(window).scrollTop():d.offset().top,a=p-o+m/2;i<=p+m/2&&(a=i-o),d.css({height:a+"px"}),c.each(function(){var t=e(this).find(u).offset().top;(t=n?t+p-s-e(window).scrollTop():t)<p+.5*m?e(this).addClass("is--active"):e(this).removeClass("is--active")})},r.updateFrame=function(){g||requestAnimationFrame(r.updateWindow),g=!0},r.animateCards=function(){c.each(function(){var t=e(this).offset().top;(t=n?t+p-s-e(window).scrollTop():t)<=p+.9*m&&e(this).hasClass("jet-timeline-item--animated")&&e(this).addClass("is--show")})},r.init=function(){e(document).ready(r.onScroll),a.on("scroll.jetTimeline",r.onScroll),e(window).on("resize.jetTimeline orientationchange.jetTimeline",o.debounce(50,r.onResize))}},window.jetScratchEffect=function(t,i,n,a=75,s){var r,l=document.querySelector(t),d=document.querySelector(i),c=d.width,u=d.height,p=d.getContext("2d"),f=new Image,h=!1;function m(e,t){return{x:(e.pageX||e.touches[0].clientX)-0,y:(e.pageY||e.touches[0].clientY)-0}}function g(e){(e=e||0)>a&&n&&n.call(d)}function v(e){h=!0,r=m(e)}function w(e){var t,i,n=(t=d.getBoundingClientRect(),i=document.documentElement,{top:t.top,scrollTop:i.scrollTop}),a=0;if(s.top!=n.top&&(a=n.top+n.scrollTop-s),h){e.preventDefault();for(var l,v,w=m(e),_=(l=r,v=w,Math.sqrt(Math.pow(v.x-l.x,2)+Math.pow(v.y-l.y,2))),b=function(e,t){return Math.atan2(t.x-e.x,t.y-e.y)}(r,w),y=0,j=0,x=navigator.userAgent||navigator.vendor||window.opera,k=/iPad|iPhone|iPod/.test(x)&&!window.MSStream,C=o.mobileAndTabletcheck()&&!k?window.scrollY:0,S=0;S<_;S++)y=r.x+Math.sin(b)*S-40,j=r.y+Math.cos(b)*S-40+C-a,p.globalCompositeOperation="destination-out",p.drawImage(f,y,j,80,80);r=w,g(function(e){(!e||e<1)&&(e=1);for(var t=p.getImageData(0,0,c,u).data,i=t.length,o=i/4/e,n=0,a=n=0;a<i;a+=4*e)0===parseInt(t[a+3])&&n++;return Math.round(n/o*100)}(32))}}function _(e){h=!1}e(".jet-animated-box__button--back",l).on("focus",function(){g(100)}),f.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAAAxCAYAAABNuS5SAAAKFklEQVR42u2aCXCcdRnG997NJtlkk83VJE3apEma9CQlNAR60UqrGSqW4PQSO9iiTkE8BxWtlGMqYCtYrLRQtfVGMoJaGRFliijaViwiWgQpyCEdraI1QLXG52V+n/5nzd3ENnX/M8/sJvvt933/533e81ufL7MyK7NOzuXPUDD0FQCZlVn/+xUUQhkXHny8M2TxGsq48MBjXdAhL9/7YN26dd5nI5aVRrvEc0GFEBNKhbDjwsHh3qP/FJK1EdYIedOFlFAOgREhPlICifZDYoBjTna3LYe4xcI4oSpNcf6RvHjuAJRoVszD0qFBGmgMChipZGFxbqzQkJWVZUSOF7JRX3S4LtLTeyMtkkqljMBkPzHRs2aYY5PcZH/qLY1EIo18byQ6hBytIr3WCAXcV4tQHYvFxg3w3N6+Bh3OQolEoqCoqCinlw16JzTFJSE6PYuZKqvztbC2ex7bzGxhKu+rerjJrEEq+r9ieElJSXFDQ0Mh9zYzOzu7FBUWcO4Q9xbD6HYvhXhGLccVD5ZAPyfMqaioyOrBUgEv8FZXV8caGxtz8vLykhCWTnZIKmsKhUJnEYeKcKk2YYERH41G7UYnck1/WvAPOxsdLJm2+bEY0Ay0RNeqkytXQkoBZM4U5oOaoYSUkBGRtvnesrBZK4e4F6ypqSkuLy+v4KI99ZQxkfc6vZ4jNAl1wkbhG8LrhfNBCdkxmhYacvj/GOce+3K9MHHbDHUmicOufREELRIWch/DljzMsglutr+VIJO5KjGrVfZAnpF8mnCd8G5hrnC60Cl8T/iw8C1hKd9P9eDCMcgo5HwBx8BB/g7xeRPkrBbeJ3xTeAxjvRGVV3NcshfPG1JX4tVDQae47GuVOknCi23xHr5nyrxe2C1sFlYJ7xe+Jlwm7BRulItP0ms957RzTMK1ws41jMS8eDxehopaOCYfxc3AIHcIX+K6nxW+ImyVF1i8PQ8DTuwtdC1atCja3NwcHkq5EuXmo85G+jq+yMm28V4q/zcIPxV+K9zPxnbgTi0ocybu6wX66fx/vfAB4T1gHt8xI1wlXMF5zEXnQKC56ruEjwhvEa4WrrXvK/Yt5Pt5I1UveeVKyKmT+lpG2gQ2npMmez8ZzFT3e+HXwj7hKXNf6rFZbDpJUjESLdFsFX4mfFv4Fd/7qPBm4UPCJ4RNwncwym4UfYVUtiAcDk/T+3NRmylwWzAY7BCBCwYYogZPnrJoRNm2IDc3tw4FVKXFm95UmGLzkTTFpog524WnhQPCQeGvwiPCCuFCYmk5GbEJt3tOeF54HPVeLLyXxHOv8BPhYaFLeFU4gsI7OWeZk3g+hpJNvVMGIIqhdRvy+biVISouq2TBqWxoIL1wgBhU5AR1SzJvFR4UnhX+Bl4RfsFGP0npUkTymIQ7fh8Cf4l6F0LgXkj6o3O+buGfwj+ElzGQETaNeJqPhxiahckYq8KJ9V6mP+4pTIATjsGCA8lCQVy9VbhB2CM8itu9IBxlkx6O4nbmmpcSi0KUExa3Psfn23DZC4lhlhRuIWs/R1Y9BrpR4WHcfiOq34bLl5DJm1B7BANPGO4+2OJfDcVwX+RZkL5d+DRqeRJ360IJx1CFp4w/8/lhVGXxay1xKp8asQ31rSbgz2az1aBBWCZsgKTfEFe7uM4xYus9KHWXcBv3eolwJe67hJLIN6yubMVpW1tbbllZWVxtzjRquvQe9981IG3RZHUQttH7hB8IP0cdLwp/YnNHcdsjEP1xsEruO56i2Fy3UWXMskAgYAH/EjOiCD6NDc/XZ4v12RqSy3WQ9rJD3jPClwkZz2Aoy8JnUEjPcwYWfgfHvcIW84h308mABQP4Xp02OY44M4tSZSfx7UXIewU3NpXuxw0vJzauYDP1XM8y8Ttx67fhylYrdlAMW1x7h/BF3NWI+4PwFwjbSha26/xQuBmib6HDqeI+m4m5wzrj9A/xO+O5qbm4yizcbDOKfAjVWeC/WzAFLSeI+4hN9WzQ65EvED7D8Tt4vwE33O64rIfD1JW3k6xeQoX3UN6chyG8In4tcbHuRAyKw2ktVIIM2U5XcA7t2FKy5vWQeBexbbrTpvmZiJwN6e3EwKspW/ajqBuAKfKQk8m7KIce5bgnMNQDkLWPUmkj511DSVV5HJOd417FzrDAK7RjZLMZiURigmLVFCYs5tI2PFhpcUj/n6z6sp72LwJKiU2rUdp62rA7IX4XytpJ3Weh4XfE1/0kk/uoFX8kbCHudZLld5E8vJIs2+mbT8iznaR60DHMBt0EE1DySVlSsOBvyrL6zkZG5qI2T/QSBYTHMYAlq2tw1+0MFO4kVj5GSbSbgvkA8fQQr1uIdfdD5mZ1GhZbP0XfuwlPmOp0SNkYbkQV2JdlEsq69VJS+rTER+NtZVC+TX+NRFq1XGeiHXbGUHMg6lk2/DiZ+mHU8wTueoTXLtS3F5e9l2PNZW9lyrOB5LGSmJokzMQ6OjqCA3wsMXLLhqrWoZgKe3lyZ5YtLiwsLLfMLhJL0ibW3rKa7oMQ+Ajq6gKHcMeHeP8qZcpRMvyt1J97SRabcNP1ZGsbKhSb6lF+5GR6shUnlqTSyPM7LZxV/PUqjOfTH6cvqx+XyN3aCfBPUWh3UZIcxC2/jgu/BJ7Eve/G1R/EXS9gaLCc0dgySqIm7jV4MhEYdAaN4R4eRHkBusJp3GNp56iSOscyYN0DaUch8Ai13X6yrg0PvotCO8nme0geKymBaulc1qO+NbxOOpHZtrcHR+nT6+wePvcnk8k8qv6iNBdyH4/OoGR5gXbv75D4NIX3NoruLSjtKmLlbTwCKER1NmV+QIqfS13aai0izUHsRKksAQE5g0w4fuehj9f+xb25Ym1tbcIhuw2COmkBn2cAcQAFbsclV1BTns49JZio3EQWPkgCySJpFIu8aor0UfeLigDTlUTa/8eimhRGuUiKOZPYtYNabh9EGik3Mkk+A9I8JTWoAiik/LEpzY8tY4uwWc4AJMjxQd8oXRHU8JqbW32orNyAiubZo0WR5wX9KyHrLpLD52nrxhFHa1CVV5w3081cRu/7BYichpEqfafA7/sCzhT7tVkhLZvhTeB8Gv1r6U+ty/gqtWHQCSNTcPOl9NmXM1S4hgRjBjjL1MdUJ8cx3uhe3d3dfh5Meb8qyKWsuJRidwtN/h20XEtxvTwya7tKncU8ACqmXVwLict5fy6TnFhra2uW7xT8dWk2BHptVBOx8GLKjo3g7bhrBQq1sdVsCvEkhLZIac1y/zmUSO0oO8fX/0P2Ub3cwaWpZSITnLnOpDlBWTIfMleJqFb10jXCBJUlMyORSIP14LhqNef6v/05bpZTdHulUyXKsufDNdRxZ4vIhSKwhQFG5vfLfcwZsx2X92Jhje8/P8OI+TK/oO+zeA84WTzkvI/6RuB3y6f68qf11xnyMiuzMms4178AwArmZmkkdGcAAAAASUVORK5CYII=",d.addEventListener("mousedown",v,!1),d.addEventListener("mousemove",o.debounce(5,w),!1),d.addEventListener("mouseup",_,!1),d.addEventListener("touchstart",v,!1),d.addEventListener("touchmove",w,!1),d.addEventListener("touchend",_,!1)}}(jQuery,window.elementorFrontend);
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 a(s,o,l){function u(t,e){if(!o[t]){if(!s[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(c)return c(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var r=o[t]={exports:{}};s[t][0].call(r.exports,function(e){return u(s[t][1][e]||e)},r,r.exports,a,s,o,l)}return o[t].exports}for(var c="function"==typeof require&&require,e=0;e<l.length;e++)u(l[e]);return u}({1:[function(r,e,t){"use strict";var a,s=r("@babel/runtime/helpers/interopRequireDefault")(r("@babel/runtime/helpers/typeof"));a=jQuery,window.ravenFrontend=new function(){function e(e){var t=window.ravenTools.activeElements;return"object"===(0,s.default)(window.ravenTools.activeElements)&&(t=Object.values(window.ravenTools.activeElements)),!!t.includes(e)}var n=function(){var e,t,n;window.ravenTools&&window.ravenTools.globalTypography&&(((n=window.ravenTools.globalTypography).fontFamily||null!==(e=n.fontSize)&&void 0!==e&&e.size||null!==(t=n.lineHeight)&&void 0!==t&&t.size||n.color)&&a("body .jupiterx-site").addClass("jupiterx-global-style"))},i={"raven-button.default":e("button")&&r("./widgets/button").default,"raven-product-add-to-cart.default":e("add-to-cart")&&r("./widgets/add-to-cart").default,"raven-alert.default":e("alert")&&r("./widgets/alert").default,"raven-advanced-accordion.default":e("advanced-accordion")&&r("./widgets/advanced-accordion").default,"raven-countdown.default":e("countdown")&&r("./widgets/countdown").default,"raven-counter.default":e("counter")&&r("./widgets/counter").default,"raven-code-highlight.default":e("code-highlight")&&r("./widgets/code-highlight").default,"raven-form.default":e("forms")&&r("./widgets/form").default,"raven-reset-password.default":e("forms")&&r("./widgets/form").default,"raven-login.default":e("forms")&&r("./widgets/form").default,"raven-register.default":e("forms")&&r("./widgets/form").default,"raven-social-login.default":e("forms")&&r("./widgets/social-login").default,"raven-photo-roller.default":e("photo-roller")&&r("./widgets/photo-roller").default,"raven-tabs.default":e("tabs")&&r("./widgets/tabs").default,"raven-video.default":e("video")&&r("./widgets/video").default,"raven-video-playlist.default":e("video-playlist")&&r("./widgets/video-playlist/handler").default,"raven-categories.outer_content":e("categories")&&r("./widgets/categories").default,"raven-categories.inner_content":e("categories")&&r("./widgets/categories").default,"raven-posts.classic":e("posts")&&r("./widgets/posts").classic,"raven-posts.cover":e("posts")&&r("./widgets/posts").cover,"raven-post-comments.default":e("post-comments")&&r("./widgets/post-comments").default,"raven-posts-carousel.classic":e("posts")&&r("./widgets/posts-carousel").classic,"raven-posts-carousel.cover":e("posts")&&r("./widgets/posts-carousel").cover,"raven-progress-tracker.default":e("progress-tracker")&&r("./widgets/progress-tracker").default,"raven-photo-album.cover":e("photo-album")&&r("./widgets/photo-album").default,"raven-photo-album.stack":e("photo-album")&&r("./widgets/photo-album").default,"raven-product-reviews.default":e("product-reviews")&&r("./widgets/product-reviews").default,"raven-media-gallery.default":e("media-gallery")&&r("./widgets/media-gallery").default,"raven-search-form.classic":e("search-form")&&r("./widgets/search-form").classic,"raven-search-form.full":e("search-form")&&r("./widgets/search-form").full,"raven-table-of-contents.default":e("table-of-contents")&&r("./widgets/table-of-content").default,"raven-nav-menu.default":e("nav-menu")&&r("./widgets/nav-menu").default,"raven-advanced-nav-menu.default":e("advanced-nav-menu")&&r("./widgets/advanced-nav-menu").default,"raven-sticky-media-scroller.default":e("sticky-media-scroller")&&r("./widgets/sticky-media-scroller").default,"raven-wc-products.default":e("products")&&r("./widgets/wc-products").default,"raven-content-switch.default":e("content-switch")&&r("./widgets/content-switch").default,"raven-product-gallery.default":e("product-gallery")&&r("./widgets/product-gallery").default,"raven-product-data-tabs.default":e("product-data-tabs")&&r("./widgets/product-data-tabs").default,"raven-my-account.default":e("my-account")&&r("./widgets/my-account").default,"raven-image-comparison.default":e("image-comparison")&&r("./widgets/image-comparison").default,"raven-image-accordion.default":e("image-accordion")&&r("./widgets/image-accordion").default,"raven-animated-heading.default":e("animated-heading")&&r("./widgets/animated-heading").default,"raven-hotspot.default":e("hotspot")&&r("./widgets/hotspot").default,"raven-media-carousel.default":e("carousel")&&r("./widgets/carousel/media-carousel").default,"raven-testimonial-carousel.default":e("carousel")&&r("./widgets/carousel/testimonial-carousel").default,"raven-slider.default":e("slider")&&r("./widgets/slider").default,"raven-social-share.default":e("social-share")&&r("./widgets/social-share").default,"raven-reviews.default":e("carousel")&&r("./widgets/carousel/testimonial-carousel").default,"raven-stripe-button.default":e("stripe")&&r("./widgets/stripe-button").default,"raven-paypal-button.default":e("paypal")&&r("./widgets/paypal-button").default,"raven-lottie.default":e("lottie")&&r("./widgets/lottie").default,"raven-cart.default":e("cart")&&r("./widgets/cart").default,"raven-advanced-posts.default":e("advanced-posts")&&r("./widgets/advanced-posts").default,"raven-post-navigation.default":e("post-navigation")&&r("./widgets/post-navigation").default,"raven-products-carousel.default":e("products-carousel")&&r("./widgets/products-carousel").default,"raven-shopping-cart.default":e("shopping-cart")&&r("./widgets/shopping-cart").default,"raven-circle-progress.default":e("circle-progress")&&r("./widgets/circle-progress").default};function t(){for(var e in i)elementorFrontend.hooks.addAction("frontend/element_ready/".concat(e),i[e]);var t;new(r("./utils/motion-effects/luncher").default),"undefined"==typeof elementorPro&&void 0!==window.elementor&&0<a(".elementor").length&&((t=r("./utils/full-page-editor")).handleFullPageEditorBtn(),t.handleHeaderBtns()),n(),r("./utils/wrapper-link"),r("./widgets/column"),r("./popup/popup").default.init(),r("./utils/tooltip"),r("./utils/animated-gradient"),r("./utils/header")}this.Module=r("./utils/module"),this.utils={Masonry:r("./utils/masonry"),Sortable:r("./utils/sortable"),Pagination:r("./utils/pagination"),Detector:r("./utils/detectr"),SmoothScroll:r("./utils/smoothscroll-polyfill"),GoogleLogin:r("./widgets/social-login")},this.init=function(){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-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,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/typeof":106}],2:[function(e,t,n){"use strict";function s(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(o)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var B=jQuery;window.jupiterxPopupSettings=function(l,e,t){var i,c=B(window),u=B(document),j=e,T=t,O=j.id,L=j.jupiterx_popup_id,D=Boolean(elementorFrontend.isEditMode()),A=[],M=!1,R=!1,V=!1,F="or",a=!1,r=[];this.init=function(){var e,t,n,i,r,a,s,o,l,u,c,d,p,h,m,f,g,v,y,b,w,_,x,C,S,k,$,I,E,P;if(D||1<B(".jupiterx-popup").length&&this.handleAvoidMultiplePopups())return!1;this.handlePopupCloseActionLocalStorage(),this.handleButtonWidgetClick(),this.handlePopupLocalStorage(),"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+O)&&(this.handlePopupAction(),j.custom_selector&&this.onCustomSelector(j.custom_selector),this.initOpenEvent(),this.initCloseEvent(),0===T.length&&this.removeEntranceAnimationClass(),T.relation_logic&&(F=null===(y=T.relation_logic)||void 0===y?void 0:y.control),T.on_date&&(b=new Date,w=new Date(1e3*T.on_date.control),b.toDateString()!==w.toDateString()?V=!0:R=M=!0),null!=T&&(null!==(e=T.on_date_range)&&void 0!==e&&e.control)&&(_=new Date,x=new Date(1e3*T.on_date_range.control.start_date),C=new Date(1e3*T.on_date_range.control.end_date),x<=_&&_<=C?R=M=!0:V=!0),null!=T&&(null!==(t=T.time_range)&&void 0!==t&&t.control)&&(S=(new Date).toLocaleTimeString("en-US",{timeZone:T.time_range.control.timezone}),k=new Date((new Date).toLocaleDateString()+" "+T.time_range.control.start_time).getTime(),$=new Date((new Date).toLocaleDateString()+" "+T.time_range.control.due_time).getTime(),k<=(I=new Date((new Date).toLocaleDateString()+" "+S).getTime())&&I<=$?R=M=!0:V=!0),null!=T&&T.on_page_exit_intent&&(M=!0,A.push({key:"on_page_exit_intent",value:null==T?void 0:T.on_page_exit_intent,canRun:!1})),null!=T&&T.on_page_load&&(M=!0,A.push({key:"on_page_load",value:null==T?void 0:T.on_page_load,canRun:!1})),null!=T&&(null!==(n=T.on_scroll)&&void 0!==n&&(null!==(i=n.control)&&void 0!==i&&i.direction))&&(M=!0,A.push({key:"on_page_scroll",value:null==T?void 0:T.on_scroll,canRun:!1})),null!=T&&(null!==(r=T.on_scroll_to_element)&&void 0!==r&&r.control)&&(M=!0,A.push({key:"on_scroll_to_element",value:null==T?void 0:T.on_scroll_to_element,canRun:!1})),null!=T&&(null!==(a=T.show_after_x_page_views)&&void 0!==a&&a.control)&&(M=!0,A.push({key:"show_after_x_page_views",value:null==T?void 0:T.show_after_x_page_views,canRun:!1})),null!=T&&(null!==(s=T.show_after_x_visits)&&void 0!==s&&s.control)&&(M=!0,A.push({key:"show_after_x_visits",value:null==T?void 0:T.show_after_x_visits,canRun:!1})),null!=T&&(null!==(o=T.url_referrer)&&void 0!==o&&o.control)&&(M=!0,A.push({key:"url_referrer",value:null==T?void 0:T.url_referrer,canRun:!1})),null!=T&&(null!==(l=T.user_browser_language)&&void 0!==l&&l.control)&&(M=!0,A.push({key:"user_browser_language",value:null==T?void 0:T.user_browser_language,canRun:!1})),null!=T&&(null!==(u=T.user_browser)&&void 0!==u&&u.control)&&(M=!0,A.push({key:"user_browser",value:null==T?void 0:T.user_browser,canRun:!1})),null!=T&&(null!==(c=T.user_device)&&void 0!==c&&c.control)&&(this.userDevice(T.user_device.control,T.user_device.operator)?R=M=!0:V=!0),null!=T&&(null!==(d=T.user_role)&&void 0!==d&&d.result)&&(!0===(null==T||null===(E=T.user_role)||void 0===E?void 0:E.result)?R=M=!0:V=!0),null!=T&&(null!==(p=T.user_type)&&void 0!==p&&p.result)&&(!0===(null==T||null===(P=T.user_type)||void 0===P?void 0:P.result)?R=M=!0:V=!0),null!=T&&(null!==(h=T.utm_campaign)&&void 0!==h&&h.control)&&(this.utmUrl(null==T?void 0:T.utm_campaign,"utm_campaign")?R=M=!0:V=!0),null!=T&&(null!==(m=T.utm_content)&&void 0!==m&&m.control)&&(this.utmUrl(null==T?void 0:T.utm_content,"utm_content")?R=M=!0:V=!0),null!=T&&(null!==(f=T.utm_source)&&void 0!==f&&f.control)&&(this.utmUrl(T.utm_source,"utm_source")?R=M=!0:V=!0),null!=T&&(null!==(g=T.utm_term)&&void 0!==g&&g.control)&&(this.utmUrl(null==T?void 0:T.utm_term,"utm_term")?R=M=!0:V=!0),null!=T&&(null!==(v=T.utm_medium)&&void 0!==v&&v.control)&&(this.utmUrl(null==T?void 0:T.utm_medium,"utm_medium")?R=M=!0:V=!0),null!=T&&T.after_inactivity&&(M=!0,A.push({key:"after_inactivity",value:null==T?void 0:T.after_inactivity.control,canRun:!1})),M&&"or"===F&&0===A.length&&this.showPopup(),M&&"or"===F&&0<A.length&&(R?this.showPopup():this.runTriggerFunction()),V||"and"!==F||0!==A.length||this.showPopup(),!V&&"and"===F&&0<A.length&&this.runTriggerFunction())},this.runTriggerFunction=function(){var n,i=this,t=s(A);try{for(t.s();!(n=t.n()).done;)!function(){var e,t=n.value;switch(t.key){case"on_page_exit_intent":i.removeEntranceAnimationClass(),u.mouseleave(function(){t.canRun=!0,i.showPopup()});break;case"on_page_load":setTimeout(function(){t.canRun=!0,i.showPopup()},1e3*(null===(e=t.value)||void 0===e?void 0:e.control));break;case"on_page_scroll":i.removeEntranceAnimationClass(),i.onScroll(t);break;case"on_scroll_to_element":i.removeEntranceAnimationClass(),i.onScrollElement(t);break;case"show_after_x_page_views":i.onAfterXPageViews(t);break;case"show_after_x_visits":i.onAfterXVisits(t);break;case"url_referrer":i.urlReferrer(t);break;case"user_browser_language":i.userBrowserLanguage(t);break;case"user_browser":i.userBrowser(t);break;case"after_inactivity":i.onAfterInactivity(t)}}()}catch(e){t.e(e)}finally{t.f()}},this.handleButtonWidgetClick=function(){var n=this;B(document).on("popup-button-clicked",function(e,t){if(parseInt(t.popupId)===O)switch(t.actionType){case"close-popup":n.hidePopup({constantly:j.show_once});break;case"close-all-popups":n.closeAllPopups();break;case"close-popup-permanently":n.hidePopup({constantly:j.show_once}),window.localStorage.setItem("jupiterx_popup_closed_permanently_"+L,!0);break;case"close-all-popups-permanently":n.closeAllPopupsPermanently()}})},this.handlePopupLocalStorage=function(){B(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(e,t){var n,i,r,a=B(t).find(".elementor-widget-raven-form"),s=B(t).data("settings").id;0<a.length&&(i=(n=a.data("settings")).popup_action,r=n.popup_action_do_not_show_again,s===O&&"close"===i&&_.isEmpty(r)&&window.localStorage.removeItem("jupiterx_popup_closed_permanently_"+O))})},this.handlePopupAction=function(){var r=this;elementorFrontend.on("components:init",function(){elementorFrontend.utils.urlActions.addAction("raven_popup_"+j.id+":open",function(e){if(parseInt(e.id)===parseInt(O)){if(!e.toggle&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+O))return void r.showPopup();if(l.hasClass("jupiterx-popup--hide-state")&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+O))return void r.showPopup();l.hasClass("jupiterx-popup--show-state")&&r.hidePopup({constantly:!1})}}),elementorFrontend.utils.urlActions.addAction("raven_popup:close",function(e,t){var n=B(t.target).closest(".jupiterx-popup").attr("id"),i=0;n&&(i=n.split("-").pop()),parseInt(e.id)===parseInt(i)&&(r.hidePopup({popupElement:B(t.target).closest(".jupiterx-popup"),constantly:!1}),e.do_not_show_again&&window.localStorage.setItem("jupiterx_popup_closed_permanently_"+i,!0))})})},this.handlePopupCloseActionLocalStorage=function(){B(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(e,t){var n,i,r=B(t).find('[href^="#elementor-action%3Aaction%3Draven_popup%3Aclose"]');0<r.length&&(i=r.closest("[data-elementor-id]").attr("data-elementor-id"),""===(null===(n=window["raven_popup_close_action_"+i])||void 0===n?void 0:n.do_not_show_again)&&window.localStorage.removeItem("jupiterx_popup_closed_permanently_"+i))})},this.closeAllPopups=function(){B(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(){var e={popupId:B(this).data("settings").jupiterx_popup_id,constantly:B(this).data("settings").show_once};B(document).trigger("jupiterx-popup-close-trigger",e)})},this.closeAllPopupsPermanently=function(){B(".jupiterx-popup:not(.jupiterx-popup--edit-mode)").each(function(){var e={popupId:B(this).data("settings").jupiterx_popup_id,constantly:!1};B(document).trigger("jupiterx-popup-close-trigger",e),window.localStorage.setItem("jupiterx_popup_closed_permanently_"+B(this).data("settings").jupiterx_popup_id,!0)})},this.handleAvoidMultiplePopups=function(){if(!j.avoid_multiple_popups)return!1;var e,t,n=B(".jupiterx-popup:not(.jupiterx-popup--edit-mode)");return B(n.get().reverse()).each(function(){return B(this).data("settings").avoid_multiple_popups?void(e=B(this).data("settings")):!(t=!0)}),t||e.id!==j.id},this.initOpenEvent=function(){var r=this;c.on("jupiterx-popup-open-trigger",function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=e.popupData||{};if((n.popupId||!1)===L&&r.showPopup(n),!_.isEmpty(t)&&null!=t&&t.popupId&&"jupiterx-popup-".concat(t.popupId)===L){if("true"===window.localStorage.getItem("jupiterx_popup_closed_permanently_"+t.popupId))return;n.popupId=t.popupId,r.showPopup(n)}}),c.on("jupiterx-popup-close-trigger",function(e,t){var n=t.popupId,i=t.constantly;n===L&&r.hidePopup({constantly:i})}),c.on("jupiterx-popup-close-form-trigger",function(e,t){var n=t.constantly,i=t.popupId;n&&i===O&&window.localStorage.setItem("jupiterx_popup_closed_permanently_"+O,!0),i===O&&r.hidePopup({constantly:n})})},this.initCloseEvent=function(){var t=this;l.on("click",".jupiterx-popup__close-button",function(){t.hidePopup({constantly:j.show_once})}),j.prevent_close_on_background_click||l.on("click",".jupiterx-popup__overlay",function(){t.hidePopup({constantly:j.show_once})}),j.prevent_close_on_esc_key||u.on("keyup.jupiterxPopup",function(e){27===e.keyCode&&t.hidePopup({constantly:j.show_once})})},this.onCustomSelector=function(e){var t=this;B(e)[0]&&B("body").on("click",e,function(e){e.preventDefault(),"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&t.showPopup()})},this.onAfterInactivity=function(e){var t=this;"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+O)&&(this.resetTimer(e),u.on("mousemove keydown",function(){t.resetTimer(e)}))},this.resetTimer=function(t){var n=this;clearTimeout(i),r.includes(j.id)||(this.removeEntranceAnimationClass(),i=setTimeout(function(){var e;"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+O)&&((e=A.find(function(e){return e.key===(null==t?void 0:t.key)}))&&(e.canRun=!0),n.showPopup(),r.push(j.id))},1e3*(null==t?void 0:t.value)))},this.onScroll=function(i){var e,t,n,r,a,s,o=this;"up"===(null==i||null===(e=i.value)||void 0===e||null===(t=e.control)||void 0===t?void 0:t.direction)&&(a=c.scrollTop(),c.scroll(function(){var e,t=c.scrollTop();t<a&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&((e=A.find(function(e){return e.key===(null==i?void 0:i.key)}))&&(e.canRun=!0),o.showPopup()),a=t})),"down"===(null==i||null===(n=i.value)||void 0===n||null===(r=n.control)||void 0===r?void 0:r.direction)&&(s=!1,c.scroll(function(){var e,t,n;c.scrollTop()/(u.height()-c.height())*100>=(null==i||null===(e=i.value)||void 0===e||null===(t=e.control)||void 0===t?void 0:t.value)&&!s&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&((n=A.find(function(e){return e.key===(null==i?void 0:i.key)}))&&(n.canRun=!0),o.showPopup(),s=!0)}))},this.onScrollElement=function(n){var i=this,r=!1;c.scroll(function(){var e,t=c.scrollTop();B(null==n?void 0:n.value.control).offset().top<=t+c.height()&&!r&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&((e=A.find(function(e){return e.key===(null==n?void 0:n.key)}))&&(e.canRun=!0),i.showPopup(),r=!0)})},this.onAfterXPageViews=function(t){var e,n;elementorFrontend.storage.get("pageViews")>=(null==t||null===(e=t.value)||void 0===e?void 0:e.control)&&((n=A.find(function(e){return e.key===(null==t?void 0:t.key)}))&&(n.canRun=!0),this.showPopup())},this.onAfterXVisits=function(t){var e,n;elementorFrontend.storage.get("sessions")>=(null==t||null===(e=t.value)||void 0===e?void 0:e.control)&&((n=A.find(function(e){return e.key===(null==t?void 0:t.key)}))&&(n.canRun=!0),this.showPopup())},this.urlReferrer=function(t){var e,n,i=this,r=null==t||null===(e=t.value)||void 0===e?void 0:e.operator,a=null==t||null===(n=t.value)||void 0===n?void 0:n.control;c.on("load",function(){var e;("is"===r&&document.referrer===a||"is-not"===r&&document.referrer!==a||"contains"===r&&document.referrer.includes(a)||"does-not-contains"===r&&!document.referrer.includes(a)||"starts-with"===r&&document.referrer.startsWith(a)||"ends-with"===r&&document.referrer.endsWith(a))&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&((e=A.find(function(e){return e.key===(null==t?void 0:t.key)}))&&(e.canRun=!0),i.showPopup())})},this.userBrowserLanguage=function(t){var e,n,i=this,r=null==t||null===(e=t.value)||void 0===e?void 0:e.operator,a=null==t||null===(n=t.value)||void 0===n?void 0:n.control,s=a;-1===j.browser_language.indexOf("-")&&(s=a.split("-")[0]),c.on("load",function(){var e;("is"===r&&j.browser_language===s||"is-not"===r&&j.browser_language!==s||"contains"===r&&j.browser_language.includes(s)||"does-not-contains"===r&&!j.browser_language.includes(s)||"starts-with"===r&&j.browser_language.startsWith(s)||"ends-with"===r&&j.browser_language.endsWith(s))&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&((e=A.find(function(e){return e.key===(null==t?void 0:t.key)}))&&(e.canRun=!0),i.showPopup())})},this.userBrowser=function(t){for(var e,n,i,r=null==t||null===(e=t.value)||void 0===e?void 0:e.operator,a=null==t||null===(n=t.value)||void 0===n?void 0:n.control,s=c[0].navigator.userAgent.toLowerCase(),o=!1,l=0;l<a.length;l++){var u=a[l].value.toLowerCase();if(s.includes(u)){o=!0;break}}("is-any-of"===r&&o||"is-none-of"===r&&!o)&&((i=A.find(function(e){return e.key===(null==t?void 0:t.key)}))&&(i.canRun=!0),this.showPopup())},this.userDevice=function(e,t){for(var n=!1,i=0;i<e.length;i++){var r=e[i].value.toLowerCase();if("mobile"===r){if(this.isMobile()){n=!0;break}}else if("tablet"===r){if(this.isTablet()){n=!0;break}}else if("desktop"===r&&!this.isMobile()&&!this.isTablet()){n=!0;break}}return!("is-any-of"!==t||!n)||"is-none-of"===t&&!n},this.utmUrl=function(e,t){var n=new URLSearchParams(window.location.search.toLowerCase()).get(t);if(!n)return!1;var i=e.control.toLowerCase();return this.utmCondition(i,n,e.operator)},this.utmCondition=function(e,t,n){switch(n){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(){for(var e=window.navigator.userAgent.toLowerCase(),t=["mobile","android","iphone"],n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return window.screen.width<768},this.isTablet=function(){for(var e=window.navigator.userAgent.toLowerCase(),t=["ipad","tablet"],n=0;n<t.length;n++)if(-1<e.indexOf(t[n]))return!0;return 768<=window.screen.width&&window.screen.width<1024},this.handleConvertToolbar=function(e){var t=B(".jupiterx-popup__container",l),n=0<B("#wpadminbar").length,i=t.height(),r=1.2;if(n&&(i+=B("#wpadminbar").height()),j.animation_duration.size&&(r=j.animation_duration.size),"show"===e){l.hasClass("jupiterx-popup--hide-state")&&(l.toggleClass("jupiterx-popup--hide-state jupiterx-popup--show-state"),i=t.height(),n&&(i+=B("#wpadminbar").height()),l.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state"));var a="0px";n&&(a=B("#wpadminbar").height()+"px"),t.css("top","-".concat(i,"px"));var s=parseInt(B("body").css("padding-top"))+i;return B("body").animate({"padding-top":s},1e3*r),void t.animate({top:a},1e3*r)}B("body").animate({"padding-top":0},1e3*r),B(".jupiterx-popup__container",l).removeClass("animated "+j.entrance_animation),t.animate({top:"-".concat(i,"px")},1e3*r,function(){l.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state")})},this.showPopup=function(e){var t=e||{};return!D&&(("and"!==F||!A.find(function(e){return!1===e.canRun}))&&void(j.show_once?this.handleShowAgainDelay(t):this.showPopupContent(t)))},this.showContainer=function(e){var t=e||{},n={forceLoad:j.force_loading||!1},r=B(".jupiterx-popup__container-content",l);if((t=jQuery.extend(n,t)).forceLoad&&(a=!1),a)return!1;t=jQuery.extend(t,{popup_id:O}),l.addClass("jupiterx-popup--loading-state"),wp.ajax.post({action:"jupiterx_popup_get_content",data:t}).always(function(e){var t,n=e.type,i=e.content||"";l.removeClass("jupiterx-popup--loading-state"),"error"===n&&(t=e.message,r.html("<h3>"+t+"</h3>")),"success"===n&&(r.html(i),a=!0)})},this.showPopupContent=function(e){var t=this;j.convert_to_header_toolbar&&"top"===j.vertical_position&&this.handleConvertToolbar("show"),l.hasClass("jupiterx-popup--hide-state")&&(l.toggleClass("jupiterx-popup--hide-state jupiterx-popup--show-state"),j.entrance_animation&&B(".jupiterx-popup__container",l).addClass("animated "+j.entrance_animation)),j.prevent_scrolling&&B("body").addClass("jupiterx-popup-prevent-scroll"),j.close_button_delay&&j.close_button&&(B(".jupiterx-popup__close-button",l).hide(),setTimeout(function(){B(".jupiterx-popup__close-button",l).show()},1e3*j.close_button_delay)),j.close_automatically&&setTimeout(function(){t.hidePopup({constantly:j.show_once})},1e3*j.close_automatically),j.use_ajax&&this.showContainer(e)},this.hidePopup=function(e){var t=l;e.popupElement&&(t=e.popupElement);var n,i,r=e||{},a=B(".jupiterx-popup__container-content",t),s=r.constantly||!1,o=t.data("settings");t.hasClass("jupiterx-popup--show-state")&&(!o.entrance_animation||o.convert_to_header_toolbar&&"top"===o.vertical_position||this.removeEntranceAnimationClass(),!o.exit_animation||"none"===o.exit_animation||o.convert_to_header_toolbar&&"top"===o.vertical_position?(o.convert_to_header_toolbar&&"top"===o.vertical_position?this.handleConvertToolbar("hide"):t.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state"),o.use_ajax&&o.force_loading&&a.html("")):(n=o.exit_animation.replace("In","Out"),B(".jupiterx-popup__container",t).addClass("animate__animated animate__"+n),i=1.2,o.animation_duration.size&&(i=o.animation_duration.size),setTimeout(function(){B(".jupiterx-popup__container",t).removeClass("animate__animated animate__"+n),o.prevent_scrolling&&B("body").removeClass("jupiterx-popup-prevent-scroll"),t.toggleClass("jupiterx-popup--show-state jupiterx-popup--hide-state"),o.use_ajax&&o.force_loading&&a.html("")},1e3*i))),j.prevent_scrolling&&!B(".jupiterx-popup--show-state")[0]&&B("body").removeClass("jupiterx-popup-prevent-scroll"),s&&this.handleShowAgainDelay(r,!0),this.handlePauseVideo()},this.handleShowAgainDelay=function(e){var t,n=this,i=1<arguments.length&&void 0!==arguments[1]&&arguments[1],r=Date.now(),a=j.show_again_delay,s=0!==a?r+a:"none";"none"!==s&&(("true"!==window.localStorage.getItem("jupiterx_popup_showed_"+L)||+window.localStorage.getItem("jupiterx_popup_show_again_"+L)<Date.now())&&window.localStorage.setItem("jupiterx_popup_showed_"+L,!1),t=setInterval(function(){i&&(window.localStorage.setItem("jupiterx_popup_show_again_"+L,s),window.localStorage.setItem("jupiterx_popup_showed_"+L,!0)),!window.localStorage.getItem("jupiterx_popup_show_again_"+L)&&l.hasClass("jupiterx-popup--hide-state")&&(window.localStorage.setItem("jupiterx_popup_show_again_"+L,Date.now()),window.localStorage.setItem("jupiterx_popup_showed_"+L,!1)),+window.localStorage.getItem("jupiterx_popup_show_again_"+L)<Date.now()&&"false"===window.localStorage.getItem("jupiterx_popup_showed_"+L)&&"true"!==window.localStorage.getItem("jupiterx_popup_closed_permanently_"+L)&&(clearInterval(t),n.showPopupContent(e),s=Date.now()+a,window.localStorage.setItem("jupiterx_popup_show_again_"+L,s),window.localStorage.setItem("jupiterx_popup_showed_"+L,!0))},1e3))},this.handlePauseVideo=function(){var e=B(".jupiterx-popup__container-content video",l);0<e.length&&e.each(function(){B(this)[0].pause()}),0<(e=B(".jupiterx-popup__container-content iframe.raven-video-mejs-player",l)).length&&e.each(function(){B(this)[0].player.media.pause()})},this.removeEntranceAnimationClass=function(){B(".jupiterx-popup__container",l).removeClass("animated "+j.entrance_animation)}}},{}],3:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("./popup-settings");var i=jQuery,r={init:function(){var e=i(".jupiterx-popup:not(.jupiterx-popup--edit-mode)");Boolean(elementorFrontend.isEditMode())||e.each(function(){var e=i(this),t=e.data("settings"),n=e.data("trigger");elementorFrontend.storage.set("jupiterx_popup_".concat(t.id),t),new window.jupiterxPopupSettings(e,t,n).init()}),elementorFrontend.isEditMode()||elementorFrontend.isWPPreviewMode()||function(){var e,t=elementorFrontend.storage.get("pageViews")||0;elementorFrontend.storage.set("pageViews",t+1),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))}(i(this))}};n.default=r},{"./popup-settings":2}],4:[function(e,t,n){"use strict";var i=function(e){var t,n,i,r,a,s;e.hasClass("raven-animated-gradient-yes")&&(e.hasClass("elementor-widget-raven-button")&&(e=e.find(".raven-button-overlay")),t="",e.hasClass("elementor-widget-raven-heading")&&((t=e.find(".raven-heading-title-inner")).hasClass("raven-heading-title-inner")||(t=e.find(".raven-heading-title")),e=t),e.hasClass("elementor-widget-raven-text-marquee")&&(e=e.find(".raven-marquee-text-item")),n=e.data("color"),i="linear-gradient("+e.data("angle")+","+n+")",r=e.data("speed"),a=e.data("background-size"),s=e.data("animation-name"),e.css("background-image",i),e.css("animation-duration",r),e.css("background-size",a),e.css("animation-name",s))};elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){new i(e)})},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;function i(p){function e(e){function s(e){return-1<o.indexOf(e)}var o=e.toLowerCase(),l=p.outerWidth||i.clientWidth,u=p.outerHeight||i.clientHeight,c="webkit",d="mobile",t=function(){var e,t,n=[],i=h.implementation,r=!!/applewebkit\/(\d{1,})/.test(o)&&RegExp.$1,a="";switch(!0){case s("msie")&&!s("opera")&&!s("webtv")||s("trident")||s("edge"):a=s("edge")?/edge\/(\w+)/.test(o)?" edge ie"+RegExp.$1:" ie11":s("msie 8.0")||s("trident/7.0")?" ie11":/msie\s(\d+)/.test(o)?" ie"+RegExp.$1:"",n.push("ie"+a);break;case s("iron/")||s("iron"):a=/iron\/(\d+)/.test(o)?" iron"+RegExp.$1:"",n.push(c+" iron"+a);break;case s("android")&&s("u;")&&(!s("chrome")||s("chrome")&&r&&r<=534):n.push("android-browser");break;case s("chrome/")||s("chrome"):a=/chrome\/(\d+)/.test(o)?" chrome"+RegExp.$1:"",n.push(c+" chrome"+a);break;case s("firefox/")||s("firefox"):a=/firefox\/(\d+)/.test(o)?" firefox"+RegExp.$1:"",n.push("gecko firefox"+a);break;case s("opera/")||s("opera"):a=/version(\s|\/)(\d+)/.test(o)||/opera(\s|\/)(\d+)/.test(o)?" opera"+RegExp.$2:"",n.push("opera"+a);break;case s("konqueror"):n.push(d+" konqueror");break;case s("blackberry")||s("bb"):n.push(d+" blackberry"),s("bb")&&(a=/bb(\d{1,2})(;{0,1})/.test(o)?"bb"+RegExp.$1:"",n.push(a));break;case s("safari/")||s("safari"):a=/version\/(\d+)/.test(o)||/safari\/(\d+)/.test(o)?" safari"+RegExp.$1:"",n.push(c+" safari"+a);break;case s("applewebkit/")||s("applewebkit"):a=/applewebkit\/(\d+)/.test(o)?" "+c+RegExp.$1:"",n.push(c+" "+a);break;case s("gecko")||s("mozilla/"):n.push("gecko")}switch(!0){case s("iphone")||s("ios"):" ios10"===(a=/iphone\sos\s(\d{1,2})/.test(o)?" ios"+RegExp.$1:"")&&(e=/(\d{1,2})/.test(a)?RegExp.$1:0,t=/\sversion\/(\d{1,2})/.test(o)?RegExp.$1:"",parseInt(e,10)>parseInt(t,10)&&(a=" ios"+t)),n.push("ios"+a);break;case s("mac")||s("macintosh")||s("darwin"):a=/mac\sos\sx\s(\d{1,2}_\d{1,2})/.test(o)?" osx"+RegExp.$1:"",n.push("mac"+a);break;case s("windows")||s("win"):switch(a=/windows\s(nt\s{0,1})(\d{1,2}\.\d)/.test(o)?""+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}n.push("windows"+a);break;case s("webtv"):n.push("webtv");break;case s("freebsd"):n.push("freebsd");break;case s("android")||s("linux")&&s("mobile"):n.push("android");break;case s("linux")||s("x11"):n.push("linux")}switch(!0){case s("wow64")||s("x64"):n.push("x64");break;case s("arm"):n.push("arm");break;default:n.push("x32")}switch(!0){case s("j2me"):n.push(d+" j2me");break;case/(iphone|ipad|ipod)/.test(o):n.push(d+" "+RegExp.$1);break;case s("mobile"):n.push(d)}return/touch/.test(o)&&n.push("touch"),n.push("js"),n.push(void 0!==i&&"function"==typeof i.hasFeature&&i.hasFeature("http://www.w3.org/TR/SVG11/feature#Image","1.1")?"svg":"no-svg"),n.push(void 0!==p.devicePixelRatio&&1<p.devicePixelRatio?"retina":"no-retina"),n.push(l<u?"portrait":"landscape"),n},n=h.documentElement.className.split(" "),t=t();return n=(n=n.concat(t)).filter(function(e,t){return n.indexOf(e)===t}),i.className=n.join(" ").trim(),{detected:t.join(" ").trim(),version:"1.8.1"}}"function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")});var h=p.document,i=h.documentElement;function t(){p.detectr=e(p.navigator.userAgent)}p.detectr=e(p.navigator.userAgent),p.attachEvent?p.attachEvent("onresize",t):p.addEventListener&&p.addEventListener("resize",t,!0)}i(window),n.default=i},{}],6:[function(e,t,n){"use strict";var i={},r=jQuery;window.ravenChangeDocument=function(e){r(".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 i.handleFullPageEditorBtn(),window.elementorCommon.api.internal("panel/state-ready")})},i.handleFullPageEditorBtn=function(){r(".elementor").each(function(){var e,t;0<r(this).find(".raven-document-handle-parent").length&&0<r(this).find(".raven-document-handle-parent").children().length||r(this).hasClass("elementor-edit-area-active")||void 0!==(e=this.dataset.elementorTitle)&&(t='<div class="raven-document-handle" onclick="window.ravenChangeDocument('+r(this).attr("data-elementor-id")+')"><i class="fas fa-edit"></i>Edit '+e+"</div>",r(this).prepend('<div class="raven-document-handle-parent" style="display:none;"></div>'),r(this).find(".raven-document-handle-parent").append(t))})},i.handleHeaderBtns=function(){var t=0;r("main").length&&(t=r("main").offset().top),r(document).on("mouseenter","header",function(){var e;0<t||0!==(e=r("main .raven-document-handle-parent .raven-document-handle").clone().addClass("fixed-top-btn")).length&&(0===r("header .elementor").find(".raven-document-handle-parent").length&&(r("header .elementor").prepend('<div class="raven-document-handle-parent"></div>'),r("header .elementor .raven-document-handle-parent").prepend(e)),0<r("header .elementor").find(".raven-document-handle-parent").length&&r("header .elementor .raven-document-handle-parent").append(e))}),r(document).on("mouseleave","header",function(){0!==r("main .raven-document-handle-parent .raven-document-handle").length&&(0<t||r("header .elementor .raven-document-handle-parent .raven-document-handle.fixed-top-btn").remove())})},t.exports=i},{}],7:[function(e,t,n){"use strict";var s={headerBehavior:!1,overlayContent:!1,headerInstance:function(e){var t,n,i=e.parents(".jupiterx-header"),r=e.parents("body"),a=i.data("jupiterx-settings");i.length<1||(t=a.elementor_header_behavior,n=a.elementor_header_overlay_content,"normal"!==t&&s.handleHeaderBehavior(a,i,r),"yes"===n&&s.hadnleOverlayContent(r))},handleHeaderBehavior:function(t,n,i){var e=t.elementor_header_behavior;s.headerBehavior||(s.headerBehavior=!0,"sticky"===e&&jupiterx&&jupiterx.pubsub.subscribe("scroll",function(e){s.handleStickyHeader(e,t,n,i)}),"fixed"===e&&s.handleFixedHeader(t,n,i))},handleFixedHeader:function(e,t,n){var i=e.elementor_header_fixed_position,r=n.find(".jupiterx-site"),a=t.outerHeight(),s=i||"top";if(n.addClass("jupiterx-header-fixed"),t.addClass("jupiterx-header-custom"),"bottom"===s)return r.css("padding-".concat(s),a),void n.addClass("jupiterx-header-bottom");t.css("position","fixed"),r.css("padding-".concat(s),a);var o=a,l=n.offset();n.hasClass("admin-bar")&&(o=l.top),t.css("top",o)},handleStickyHeader:function(e,t,n,i){var r;n.height()<e?(i.addClass("jupiterx-header-stick"),(r=$(".jupiterx-header.jupiterx-header-sticky-custom.jupiterx-header-custom > .elementor:last-of-type:not(:first-of-type)")).length&&0<r.height()&&n.height(r.height())):(i.removeClass("jupiterx-header-stick"),n.attr("style",function(e,t){return t&&t.replace(/height[^;]+;?/g,"")})),s.getOffset(t)<e?i.addClass("jupiterx-header-sticked"):i.removeClass("jupiterx-header-sticked")},getOffset:function(e){var t=elementorFrontend.getCurrentDeviceMode(),n=e.elementor_header_sticky_offset||0;return"desktop"!==t&&e["elementor_header_sticky_offset_".concat(t)]?e["elementor_header_sticky_offset_".concat(t)]:n},hadnleOverlayContent:function(e){s.overlayContent||(s.overlayContent=!0,e.addClass("jupiterx-header-overlapped"))}};elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){new s.headerInstance(e)})},{}],8:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("./module")).default.extend({getDefaultSettings:function(){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:function(){return{$masonryContainer:this.$element.find(this.getSettings("masonryContainer"))}},run:function(){var e=this.getSettings(),t=".elementor-element-".concat(this.getID()," ").concat(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:function(e){var t,n,i;e&&(t=this.getSettings(),n=".elementor-element-".concat(this.getID()," ").concat(t.masonryContainer),i=[],e.forEach(function(e){var t=$(e);i.push(t[0])}),savvior.grids[n]&&savvior.addItems(n,i,{method:"append",clone:!1}))}});n.default=r},{"./module":9,"@babel/runtime/helpers/interopRequireDefault":96}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i=elementorModules.frontend.handlers.Base.extend({onSectionActivated:null,onEditorClosed:null,getInstanceValue:function(e){return $=jQuery,this.getElementSettings(this.getControlID(e))},getControlID:function(e){var t=this.getElementSettings("_skin");return t?"".concat(t,"_").concat(e):e},scrollToContainer:function(e){var t=e.offset().top-50,n=$("header").height(),i=document.querySelector("body");(i.classList.contains("jupiterx-header-fixed")||i.classList.contains("jupiterx-header-sticked"))&&(t=e.offset().top-n-50),window.scroll({top:t,behavior:"smooth"})},initEditorListeners:function(){var n=this;elementorModules.frontend.handlers.Base.prototype.initEditorListeners.apply(this,arguments),n.onSectionActivated&&n.editorListeners.push({event:"section:activated",to:elementor.channels.editor,callback:function(e,t){t.model.id===n.getID()&&n.onSectionActivated(e,t)}}),n.onEditorClosed&&n.editorListeners.push({event:"set:page:editor",to:elementor.getPanelView(),callback:function(e){e.model.id===n.getID()&&e.model.once("editor:close",function(){n.onEditorClosed()})}})},onMobile:function(){return jQuery(window).width()<=575.98},onTablet:function(){var e=jQuery(window).width();return 575.98<e&&e<=767.98},onDesktop:function(){return 767.98<jQuery(window).width()},isRtl:function(){return jQuery("body").hasClass("rtl")}});n.default=i},{}],10:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("@babel/runtime/helpers/classCallCheck")),a=i(e("@babel/runtime/helpers/createClass")),s=i(e("@babel/runtime/helpers/inherits")),o=i(e("@babel/runtime/helpers/possibleConstructorReturn")),l=i(e("@babel/runtime/helpers/getPrototypeOf"));function u(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,l.default)(i);return t=r?(e=(0,l.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.default)(this,t)}}var c=function(e){(0,s.default)(n,e);var t=u(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"onInit",value:function(){this.$element=this.getSettings("$targetElement"),this.refresh()}},{key:"refresh",value:function(){this.rulesVariables={},this.CSSTransformVariables=[],this.$element.css({transform:"",filter:"",opacity:"","will-change":""})}},{key:"translateX",value:function(e,t){e.axis="x",e.unit="px",this.transform("translateX",t,e)}},{key:"translateY",value:function(e,t){e.axis="y",e.unit="px",this.transform("translateY",t,e)}},{key:"translateXY",value:function(e,t,n){this.translateX(e,t),this.translateY(e,n)}},{key:"rotateX",value:function(e,t){e.axis="x",e.unit="deg",this.transform("rotateX",t,e)}},{key:"rotateY",value:function(e,t){e.axis="y",e.unit="deg",this.transform("rotateY",t,e)}},{key:"rotateZ",value:function(e,t){e.unit="deg",this.transform("rotateZ",t,e)}},{key:"tilt",value:function(e,t,n){var i={intensity:e.intensity/10,direction:e.direction};this.rotateX(i,n),this.rotateY(i,100-t)}},{key:"opacity",value:function(e,t){var n=this.getDirectionMovePoint(t,e.direction,e.viewport),i=e.intensity/10,r=1-i+i*n/100;this.$element.css({opacity:r,"will-change":"opacity"})}},{key:"blur",value:function(e,t){var n=this.getDirectionMovePoint(t,e.direction,e.viewport),i=e.intensity,r=i-i*n/100;this.updateRulePart("filter","blur",r+"px")}},{key:"scale",value:function(e,t){var n=this.getDirectionMovePoint(t,e.direction,e.viewport);this.updateRulePart("transform","scale",1+e.intensity*n/1e3)}},{key:"transform",value:function(e,t,n){n.direction&&(t=100-t),this.updateRulePart("transform",e,this.getStep(t,n)+n.unit)}},{key:"getDirectionMovePoint",value:function(e,t,n){if(e<n.start){var i=this.getMovePointFromPassedPercents(n.start,e);switch(t){case"out-in":return 0;case"in-out":return 100;case"out-in-out":return i;case"in-out-in":return 100-i}}if(e<n.end){var r=this.getMovePointFromPassedPercents(n.end-n.start,e-n.start);switch(t){case"out-in":return r;case"in-out":return 100-r;case"out-in-out":return 100;case"in-out-in":return 0}}var a=this.getMovePointFromPassedPercents(100-n.end,100-e);switch(t){case"out-in":return 100;case"in-out":return 0;case"out-in-out":return a;case"in-out-in":return 100-a}}},{key:"getMovePointFromPassedPercents",value:function(e,t){return+(t/e*100).toFixed(2)}},{key:"getStep",value:function(e,t){return"element"===this.getSettings("effectTarget")?-(e-50)*t.intensity:-this.getSettings("dimensions.movable"+t.axis.toUpperCase())*e/100}},{key:"updateRulePart",value:function(e,t,n){this.rulesVariables[e]||(this.rulesVariables[e]={}),this.rulesVariables[e][t]||(this.rulesVariables[e][t]=!0,this.updateRule(e));var i="--".concat(t);this.$element[0].style.setProperty(i,n)}},{key:"updateRule",value:function(e){var t="";t+=this.concatTransformCSSProperties(e),t+=this.concatTransformMotionEffectCSSProperties(e),this.$element.css(e,t)}},{key:"concatTransformCSSProperties",value:function(e){var a="";return"transform"===e&&jQuery.each(this.CSSTransformVariables,function(e,t){var n=t;t.startsWith("flip")&&(t=t.replace("flip","scale"));var i=t.startsWith("rotate")||t.startsWith("skew")?"deg":"px",r=t.startsWith("scale")?1:0+i;a+="".concat(t,"(var(--e-transform-").concat(n,", ").concat(r,"))")}),a}},{key:"concatTransformMotionEffectCSSProperties",value:function(e){var t="";return jQuery.each(this.rulesVariables[e],function(e){t+="".concat(e,"(var(--").concat(e,"))")}),t}},{key:"setCSSTransformVariables",value:function(e){var i=this;this.CSSTransformVariables=[],jQuery.each(e,function(e,t){var n=e.match(/_transform_(.+?)_effect/m);if(n&&t){if("perspective"===n[1])return void i.CSSTransformVariables.unshift(n[1]);if(i.CSSTransformVariables.includes(n[1]))return;i.CSSTransformVariables.push(n[1])}})}},{key:"runAction",value:function(e,t,n){["translateX","translateY","rotateZ"].includes(e)&&(t.viewport.start>n&&(n=t.viewport.start),t.viewport.end<n&&(n=t.viewport.end));for(var i=arguments.length,r=new Array(3<i?i-3:0),a=3;a<i;a++)r[a-3]=arguments[a];this[e].apply(this,[t,n].concat(r))}}]),n}(elementorModules.Module);n.default=c},{"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],11:[function(n,e,t){"use strict";var i=n("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var h=i(n("@babel/runtime/helpers/typeof")),a=i(n("@babel/runtime/helpers/classCallCheck")),s=i(n("@babel/runtime/helpers/createClass")),o=i(n("@babel/runtime/helpers/get")),l=i(n("@babel/runtime/helpers/inherits")),u=i(n("@babel/runtime/helpers/possibleConstructorReturn")),c=i(n("@babel/runtime/helpers/getPrototypeOf"));function d(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,c.default)(i);return t=r?(e=(0,c.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.default)(this,t)}}var r=function(e){(0,l.default)(r,e);var t=d(r);function r(){return(0,a.default)(this,r),t.apply(this,arguments)}return(0,s.default)(r,[{key:"__construct",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=(0,o.default)((0,c.default)(r.prototype),"__construct",this)).call.apply(e,[this].concat(n)),this.normalMotion="raven_motion_effects",this.backgroundMotion="background_"+this.normalMotion,this.toggle=elementorFrontend.debounce(this.toggle,200)}},{key:"onInit",value:function(){(0,o.default)((0,c.default)(r.prototype),"onInit",this).call(this),this.initEffects(),this.addCSSTransformEvents(),this.toggle()}},{key:"getDefaultSettings",value:function(){var e,t,n,i;return{selectors:{container:".elementor-widget-container"},isOptimizedMarkupEnabled:"undefined"!=typeof elementorFrontend&&(null===(e=elementorFrontend)||void 0===e||null===(t=e.config)||void 0===t||null===(n=t.experimentalFeatures)||void 0===n?void 0:n.e_optimized_markup),isDefaultContainerExist:0<(null===(i=jQuery(this.$element).find(".elementor-widget-container"))||void 0===i?void 0:i.length)}}},{key:"getDefaultElements",value:function(){var e=this.getSettings("selectors"),t=this.getSettings("isOptimizedMarkupEnabled"),n=this.getSettings("isDefaultContainerExist");return t&&!n?{$container:jQuery(this.$element)}:{$container:jQuery(this.$element).find(e.container)}}},{key:"bindEvents",value:function(){elementorFrontend.elements.$window.on("resize",this.toggle)}},{key:"unbindEvents",value:function(){elementorFrontend.elements.$window.off("resize",this.toggle)}},{key:"initEffects",value:function(){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"]}}}},{key:"addCSSTransformEvents",value:function(){var e=this;this.getElementSettings(this.normalMotion+"_scrolling")&&!this.isTransitionEventAdded&&(this.isTransitionEventAdded=!0,this.elements.$container.on("mouseenter",function(){e.elements.$container.css("--e-transform-transition-duration","")}))}},{key:"prepareOptions",value:function(l){var u=this,c=this.getElementSettings(),e=this.normalMotion===l?"element":"background",d={};jQuery.each(c,function(e,t){var a,s,n,i,r=new RegExp("^"+l+"_(.+?)_fx"),o=e.match(r);o&&t&&(a={},s=o[1],jQuery.each(c,function(e,t){var n,i=new RegExp(l+"_"+s+"_fx_(.+)"),r=e.match(i);!r||"fx"!==(n=r[1])&&("object"===(0,h.default)(t)&&(t=Object.keys(t.sizes).length?t.sizes:t.size),a[n]=t)}),n=u.effects[s],i=n.interaction,d[i]||(d[i]={}),n.actions.forEach(function(e){return d[i][e]=a}))});var t,n,i,r,a=this.$element,s=this.getElementType(),o="section"===s||"container"===s||"column"===s;!0!==this.getSettings("isOptimizedMarkupEnabled")||this.getSettings("isDefaultContainerExist")||o||(t=[".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(", "),a=a.children().not(t).first()),"element"==e&&"section"!==s&&"container"!==s&&(i=a,r="column"===s?elementorFrontend.config.legacyMode.elementWrappers?".elementor-column-wrap":".elementor-widget-wrap":".elementor-widget-container",0<(null===(n=jQuery(this.$element).find(r))||void 0===n?void 0:n.length)&&(a=a.find("> "+r)));var p={effectTarget:e,interactions:d,elementSettings:c,$element:a,$dimensionsElement:i,refreshDimensions:this.isEdit,range:c[l+"_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 p.range||"fixed"!==this.getCurrentDeviceSetting("_position")||(p.range="page"),"fixed"===this.getCurrentDeviceSetting("_position")&&(p.isFixedPosition=!0),"background"==e&&"column"===this.getElementType()&&(p.addBackgroundLayerTo=" > .elementor-element-populated"),p}},{key:"activate",value:function(e){var t=this.prepareOptions(e);jQuery.isEmptyObject(t.interactions)||(this[e]=new(n("./motion-effects").default)(t))}},{key:"deactivate",value:function(e){this[e]&&(this[e].destroy(),delete this[e])}},{key:"toggle",value:function(){var r=this,a=elementorFrontend.getCurrentDeviceMode(),s=this.getElementSettings();[this.normalMotion,this.backgroundMotion].forEach(function(e){var t=s[e+"_devices"],n=!t||-1!==t.indexOf(a),i=s[e+"_scrolling"]||s[e+"_mouse"];if(n&&i)return r[e]?void r.refreshInstance(e):void r.activate(e);r.deactivate(e)})}},{key:"refreshInstance",value:function(e){var t,n=this[e];n&&(t=this.prepareOptions(e),n.setSettings(t),n.refresh())}},{key:"onElementChange",value:function(e){var t=this;if(/raven_motion_effects_((scrolling)|(mouse)|(devices))$/.test(e))return this.normalMotion+"_scrolling"===e&&this.addCSSTransformEvents(),void this.toggle();var n,i=e.match(".*?(".concat(this.normalMotion,"|_transform)"));i&&(n=i[0].match("(_transform)")?this.normalMotion:i[0],this.refreshInstance(n),this[n]||this.activate(n)),/^_position/.test(e)&&[this.normalMotion,this.backgroundMotion].forEach(function(e){t.refreshInstance(e)})}},{key:"onDestroy",value:function(){var t=this;(0,o.default)((0,c.default)(r.prototype),"onDestroy",this).call(this),[this.normalMotion,this.backgroundMotion].forEach(function(e){t.deactivate(e)})}}]),r}(elementorModules.frontend.handlers.Base);t.default=r},{"./motion-effects":15,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101,"@babel/runtime/helpers/typeof":106}],12:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=i(e("@babel/runtime/helpers/classCallCheck")),r=i(e("@babel/runtime/helpers/createClass")),c=i(e("@babel/runtime/helpers/assertThisInitialized")),a=i(e("@babel/runtime/helpers/get")),s=i(e("@babel/runtime/helpers/inherits")),o=i(e("@babel/runtime/helpers/possibleConstructorReturn")),d=i(e("@babel/runtime/helpers/getPrototypeOf"));function p(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.default)(i);return t=r?(e=(0,d.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.default)(this,t)}}var l=function(e){(0,s.default)(l,e);var o=p(l);function l(){var e;(0,u.default)(this,l);for(var t,n,i,r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];return e=o.call.apply(o,[this].concat(a)),t=(0,c.default)(e),i=function(){e.run(),e.animationFrameRequest=window.requestAnimationFrame(e.onInsideViewport)},(n="onInsideViewport")in t?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i,e}return(0,r.default)(l,[{key:"__construct",value:function(e){this.motionFX=e.motionFX,this.intersectionObservers||this.setElementInViewportObserver()}},{key:"setElementInViewportObserver",value:function(){var t=this;this.intersectionObserver=elementorModules.utils.Scroll.scrollObserver({callback:function(e){e.isInViewport?t.onInsideViewport():t.removeAnimationFrameRequest()}});var e="page"===this.motionFX.getSettings("range")?elementorFrontend.elements.$body[0]:this.motionFX.elements.$parent[0];this.intersectionObserver.observe(e)}},{key:"runCallback",value:function(){this.getSettings("callback").apply(void 0,arguments)}},{key:"removeIntersectionObserver",value:function(){this.intersectionObserver&&this.intersectionObserver.unobserve(this.motionFX.elements.$parent[0])}},{key:"removeAnimationFrameRequest",value:function(){this.animationFrameRequest&&window.cancelAnimationFrame(this.animationFrameRequest)}},{key:"destroy",value:function(){this.removeAnimationFrameRequest(),this.removeIntersectionObserver()}},{key:"onInit",value:function(){(0,a.default)((0,d.default)(l.prototype),"onInit",this).call(this)}}]),l}(elementorModules.ViewModule);n.default=l},{"@babel/runtime/helpers/assertThisInitialized":88,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],13:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("@babel/runtime/helpers/classCallCheck")),s=i(e("@babel/runtime/helpers/createClass")),o=i(e("@babel/runtime/helpers/get")),l=i(e("@babel/runtime/helpers/inherits")),u=i(e("@babel/runtime/helpers/possibleConstructorReturn")),c=i(e("@babel/runtime/helpers/getPrototypeOf"));function d(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,c.default)(i);return t=r?(e=(0,c.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.default)(this,t)}}var r=function(e){(0,l.default)(r,e);var t=d(r);function r(){return(0,a.default)(this,r),t.apply(this,arguments)}return(0,s.default)(r,[{key:"onInit",value:function(){this.mousePosition={},this.oldMousePosition={},(0,o.default)((0,c.default)(r.prototype),"onInit",this).call(this)}},{key:"bindEvents",value:function(){r.mouseTracked||(elementorFrontend.elements.$window.on("mousemove",this.updateMousePosition),r.mouseTracked=!0)}},{key:"run",value:function(){var e,t,n=r.mousePosition,i=this.oldMousePosition;i.x===n.x&&i.y===n.y||(this.oldMousePosition={x:n.x,y:n.y},e=100/window.innerWidth*n.x,t=100/window.innerHeight*n.y,this.runCallback(e,t))}},{key:"updateMousePosition",value:function(e){r.mousePosition={x:e.clientX,y:e.clientY}}}]),r}(i(e("./base")).default);r.mousePosition={},n.default=r},{"./base":12,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],14:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("@babel/runtime/helpers/classCallCheck")),a=i(e("@babel/runtime/helpers/createClass")),s=i(e("@babel/runtime/helpers/inherits")),o=i(e("@babel/runtime/helpers/possibleConstructorReturn")),l=i(e("@babel/runtime/helpers/getPrototypeOf"));function u(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,l.default)(i);return t=r?(e=(0,l.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.default)(this,t)}}var c=function(e){(0,s.default)(n,e);var t=u(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"run",value:function(){if(window.scrollY===this.currentScrollFromTop)return!1;this.onScrollMovement(),this.currentScrollFromTop=window.scrollY}},{key:"onScrollMovement",value:function(){this.updateMotionFxDimensions(),this.updateAnimation(),this.resetTransitionVariable()}},{key:"resetTransitionVariable",value:function(){this.motionFX.$element.css("--e-transform-transition-duration","100ms")}},{key:"updateMotionFxDimensions",value:function(){this.motionFX.getSettings().refreshDimensions&&this.motionFX.defineDimensions()}},{key:"updateAnimation",value:function(){var e;return 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),void this.runCallback(e)}}]),n}(i(e("./base")).default);n.default=c},{"./base":12,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],15:[function(i,e,t){"use strict";var n=i("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(i("@babel/runtime/helpers/classCallCheck")),a=n(i("@babel/runtime/helpers/createClass")),s=n(i("@babel/runtime/helpers/get")),o=n(i("@babel/runtime/helpers/inherits")),l=n(i("@babel/runtime/helpers/possibleConstructorReturn")),u=n(i("@babel/runtime/helpers/getPrototypeOf"));function c(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,u.default)(i);return t=r?(e=(0,u.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,l.default)(this,t)}}var d=function(e){(0,o.default)(n,e);var t=c(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"getDefaultSettings",value:function(){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"}}}},{key:"bindEvents",value:function(){this.onWindowResize=this.onWindowResize.bind(this),elementorFrontend.elements.$window.on("resize",this.onWindowResize)}},{key:"unbindEvents",value:function(){elementorFrontend.elements.$window.off("resize",this.onWindowResize)}},{key:"onInit",value:function(){(0,s.default)((0,u.default)(n.prototype),"onInit",this).call(this);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(i("./actions").default)(e),this.initInteractionsTypes(),this.runInteractions()}},{key:"defineDimensions",value:function(){var e=this.getSettings("$dimensionsElement")||this.$element,t=e.offset(),n={elementHeight:e.outerHeight(),elementWidth:e.outerWidth(),elementTop:t.top,elementLeft:t.left,elementRange:e.outerHeight()+window.innerHeight};this.setSettings("dimensions",n),"background"===this.getSettings("effectTarget")&&this.defineBackgroundLayerDimensions()}},{key:"initInteractionsTypes",value:function(){this.interactionsTypes={scroll:i("./interactions/scroll").default,mouseMove:i("./interactions/mouse").default}}},{key:"runInteractions",value:function(){var r=this,e=this.getSettings();this.actions.setCSSTransformVariables(e.elementSettings),this.prepareSpecialActions(),jQuery.each(e.interactions,function(e,n){r.interactions[e]=new r.interactionsTypes[e]({motionFX:r,callback:function(){for(var e=arguments.length,i=new Array(e),t=0;t<e;t++)i[t]=arguments[t];jQuery.each(n,function(e,t){var n;return(n=r.actions).runAction.apply(n,[e,t].concat(i))})}}),r.interactions[e].run()})}},{key:"prepareSpecialActions",value:function(){var e=this.getSettings(),t=!(!e.interactions.mouseMove||!e.interactions.mouseMove.tilt);this.elements.$parent.toggleClass(e.classes.perspective,t)}},{key:"cleanSpecialActions",value:function(){var e=this.getSettings();this.elements.$parent.removeClass(e.classes.perspective)}},{key:"destroyInteractions",value:function(){this.cleanSpecialActions(),jQuery.each(this.interactions,function(e,t){return t.destroy()}),this.interactions={}}},{key:"refresh",value:function(){this.actions.setSettings(this.getSettings()),"background"===this.getSettings("effectTarget")&&(this.updateBackgroundLayerSize(),this.defineBackgroundLayerDimensions()),this.actions.refresh(),this.destroyInteractions(),this.runInteractions()}},{key:"destroy",value:function(){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())}},{key:"onWindowResize",value:function(){this.defineDimensions()}},{key:"defineBackgroundLayerDimensions",value:function(){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)}},{key:"addBackgroundLayer",value:function(){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)}},{key:"removeBackgroundLayer",value:function(){this.elements.$motionFXContainer.remove()}},{key:"updateBackgroundLayerSize",value:function(){var e=this.getSettings(),t={x:0,y:0},n=e.interactions.mouseMove,i=e.interactions.scroll;n&&n.translateXY&&(t.x=10*n.translateXY.intensity,t.y=10*n.translateXY.intensity),i&&(i.translateX&&(t.x=10*i.translateX.intensity),i.translateY&&(t.y=10*i.translateY.intensity)),this.elements.$motionFXLayer.css({width:100+t.x+"%",height:100+t.y+"%"})}}]),n}(elementorModules.ViewModule);t.default=d},{"./actions":10,"./interactions/mouse":13,"./interactions/scroll":14,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],16:[function(i,e,t){"use strict";var n=i("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(i("@babel/runtime/helpers/classCallCheck")),a=n(i("@babel/runtime/helpers/inherits")),s=n(i("@babel/runtime/helpers/possibleConstructorReturn")),o=n(i("@babel/runtime/helpers/getPrototypeOf"));function l(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,o.default)(i);return t=r?(e=(0,o.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,s.default)(this,t)}}var u=function(e){(0,a.default)(n,e);var t=l(n);function n(){var e;return(0,r.default)(this,n),e=t.call(this),elementorFrontend.elementsHandler.attachHandler("global",i("./effects/handler").default,null),elementorFrontend.elementsHandler.attachHandler("section",i("./sticky/handler").default,null),elementorFrontend.elementsHandler.attachHandler("container",i("./sticky/handler").default,null),elementorFrontend.elementsHandler.attachHandler("widget",i("./sticky/handler").default,null),i("./sticky/sticky-script-manager"),e}return n}(elementorModules.Module);t.default=u},{"./effects/handler":11,"./sticky/handler":17,"./sticky/sticky-script-manager":18,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],17:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("@babel/runtime/helpers/toConsumableArray")),a=elementorModules.frontend.handlers.Base.extend({settingPrefix:"raven_motion_effects",stickyFunction:"ravenSticky",bindEvents:function(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+this.stickyFunction,"resize",this.refresh)},unbindEvents:function(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+this.stickyFunction+"Sticky","resize",this.refresh)},onInit:function(){var e=this;elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",function(){return e.onDeviceModeChange()}),this.run()},run:function(e){var t;this.getElementSettings(this.settingPrefix+"sticky")?(t=elementorFrontend.getCurrentDeviceMode(),-1!==this.getElementSettings(this.settingPrefix+"sticky_on").indexOf(t)?!0!==e?this.isStickyInstanceActive()||this.activate():this.reactivate():this.deactivate()):this.deactivate()},activate:function(){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[this.settingPrefix+"sticky_parent"]&&(t.parent=".e-container, .elementor-widget-wrap, .e-con");var n=elementorFrontend.elements.$wpAdminBar;n.length&&"top"===t.to&&"fixed"===n.css("position")&&(t.offset+=n.height()),this.$element[this.stickyFunction](t)},getResponsiveSetting:function(e){var t=this.getElementSettings();return elementorFrontend.getCurrentDeviceSetting(t,e)},getResponsiveSettingList:function(t){var e=Object.keys(elementorFrontend.config.responsive.activeBreakpoints);return[""].concat((0,r.default)(e)).map(function(e){return e?"".concat(t,"_").concat(e):t})},refresh:function(){this.run(!0)},reactivate:function(){this.deactivate(),this.activate()},deactivate:function(){this.isStickyInstanceActive()&&this.$element[this.stickyFunction]("destroy")},isStickyInstanceActive:function(){return void 0!==this.$element.data(this.stickyFunction)},onElementChange:function(e){var t=this.getElementSettings(this.settingPrefix+"sticky_on"),n=elementorFrontend.getCurrentDeviceMode();null!=t&&t.includes(n)&&(-1!==[this.settingPrefix+"sticky",this.settingPrefix+"sticky_on"].indexOf(e)&&this.run(!0),-1!==[].concat((0,r.default)(this.getResponsiveSettingList(this.settingPrefix+"sticky_offset")),(0,r.default)(this.getResponsiveSettingList(this.settingPrefix+"sticky_effects_offset")),[this.settingPrefix+"sticky_parent"]).indexOf(e)&&this.reactivate())},onDeviceModeChange:function(){setTimeout(this.refresh)},onDestroy:function(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()}});n.default=a},{"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/toConsumableArray":105}],18:[function(e,t,n){"use strict";var i,r=e("@babel/runtime/helpers/interopRequireDefault")(e("./sticky-script")),a="ravenSticky";(i=jQuery).fn[a]=function(t){var n="string"==typeof t;return this.each(function(){if(n){var e=i(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&&i(this).removeData(a)}else i(this).data(a,new r.default(this,t))}),this},window[a]=r.default},{"./sticky-script":19,"@babel/runtime/helpers/interopRequireDefault":96}],19:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("@babel/runtime/helpers/classCallCheck")),a=i(e("@babel/runtime/helpers/createClass")),s=function(){function n(e,t){(0,r.default)(this,n),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()}return(0,a.default)(n,[{key:"init",value:function(){this.initSettings(),this.initElements(),this.bindEvents(),this.checkPosition()}},{key:"initSettings",value:function(){this.settings=jQuery.extend(!0,this.defaultSettings,this.userSettings)}},{key:"initElements",value:function(){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)))}},{key:"checkPosition",value:function(){var e,t,n,i=this.settings.offset;this.isSticky?(e=this.getElementViewportOffset(this.elements.$spacer),t="top"===this.settings.to?e.top.fromTop-i:-e.bottom.fromBottom-i,this.settings.parent&&this.checkParent(),0<t&&this.unstick()):(n=this.getElementViewportOffset(this.$element),(t="top"===this.settings.to?n.top.fromTop-i:-n.bottom.fromBottom-i)<=0&&(this.stick(),this.settings.parent&&this.checkParent())),this.checkEffectsPoint(t)}},{key:"backupCSS",value:function(e,t,n){var i=e[0].style,r={};n.forEach(function(e){r[e]=void 0!==i[e]?i[e]:""}),e.data(this.prefix+"-css-backup-"+t,r)}},{key:"getCSSBackup",value:function(e,t){return e.data(this.prefix+"-css-backup-"+t)}},{key:"addSpacer",value:function(){this.elements.$spacer=this.$element.clone().addClass(this.settings.classes.spacer).css({visibility:"hidden",transition:"none",animation:"none"}),this.$element.after(this.elements.$spacer)}},{key:"removeSpacer",value:function(){this.elements.$spacer.remove()}},{key:"stickElement",value:function(){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)}},{key:"unstickElement",value:function(){this.$element.css(this.getCSSBackup(this.$element,"unsticky")).removeClass(this.settings.classes.stickyActive)}},{key:"followParent",value:function(){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}},{key:"unfollowParent",value:function(){this.elements.$parent.css(this.getCSSBackup(this.elements.$parent,"childNotFollowing")),this.$element.css(this.getCSSBackup(this.$element,"notFollowing")),this.isFollowingParent=!1}},{key:"getElementOuterSize",value:function(e,t,n){var i=window.getComputedStyle(e[0]),r="height"===t?["top","bottom"]:["left","right"],a=parseFloat(i[t]),s=[];return"border-box"!==i.boxSizing&&s.push("border","padding"),n&&s.push("margin"),s.forEach(function(t){r.forEach(function(e){a+=parseFloat(i[t+"-"+e])})}),a}},{key:"getElementViewportOffset",value:function(e){var t=this.elements.$window.scrollTop(),n=this.getElementOuterSize(e,"height"),i=window.innerHeight,r=e.offset().top-t,a=r-i;return{top:{fromTop:r,fromBottom:a},bottom:{fromTop:r+n,fromBottom:a+n}}}},{key:"stick",value:function(){this.addSpacer(),this.stickElement(),this.isSticky=!0,this.$element.trigger(this.prefix+"Sticky:stick")}},{key:"unstick",value:function(){this.unstickElement(),this.removeSpacer(),this.isSticky=!1,this.$element.trigger(this.prefix+"Sticky:unstick")}},{key:"checkParent",value:function(){var e,t,n,i,r=this.getElementViewportOffset(this.$element),a="top"===this.settings.to;this.isFollowingParent?(a?r.top.fromTop>this.settings.offset:r.bottom.fromBottom<-this.settings.offset)&&this.unfollowParent():(e=this.getElementViewportOffset(this.elements.$parent),t=window.getComputedStyle(this.elements.$parent[0]),n=parseFloat(t[a?"borderBottomWidth":"borderTopWidth"]),i=a?e.bottom.fromTop-n:e.top.fromBottom+n,(a?i<=r.bottom.fromTop:i>=r.top.fromBottom)&&this.followParent())}},{key:"checkEffectsPoint",value:function(e){if(this.isReachedEffectsPoint&&-e<this.settings.effectsOffset)return this.$element.removeClass(this.settings.classes.stickyEffects),void(this.isReachedEffectsPoint=!1);!this.isReachedEffectsPoint&&-e>=this.settings.effectsOffset&&(this.$element.addClass(this.settings.classes.stickyEffects),this.isReachedEffectsPoint=!0)}},{key:"bindEvents",value:function(){this.scrollHandler=this.onWindowScroll.bind(this),this.resizeHandler=this.onWindowResize.bind(this),this.elements.$window.on({scroll:this.scrollHandler,resize:this.resizeHandler})}},{key:"unbindEvents",value:function(){this.elements.$window.off("scroll",this.scrollHandler).off("resize",this.resizeHandler)}},{key:"onWindowScroll",value:function(){this.checkPosition()}},{key:"onWindowResize",value:function(){this.isSticky&&(this.unstickElement(),this.stickElement(),this.settings.parent&&(this.isFollowingParent=!1,this.checkParent()))}},{key:"destroy",value:function(){this.isSticky&&this.unstick(),this.unbindEvents(),this.$element.removeClass(this.settings.classes.sticky)}}]),n}();n.default=s},{"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/interopRequireDefault":96}],20:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("./module")).default.extend({$clickedItem:null,getDefaultSettings:function(){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:function(){var e=this.getSettings("selectors");return{$prevButton:this.$element.find(e.prevButton),$nextButton:this.$element.find(e.nextButton)}},bindEvents:function(){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:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments)},getTotalPages:function(){return parseInt(this.getSettings("totalPages"))},setTotalPages:function(e){this.setSettings("totalPages",parseInt(e))},getPagesVisible:function(){return parseInt(this.getSettings("pagesVisible"))},getActivePage:function(){return parseInt(this.getSettings("activePage"))},setActivePage:function(e){this.setSettings("activePage",parseInt(e))},setEnabled:function(e){this.setSettings("isEnabled",e)},isEnabled:function(){return this.getSettings("isEnabled")},recreatePagination:function(e,t){var n=1<arguments.length&&void 0!==t?t:1;this.setTotalPages(e),this.setActivePage(n),this.renderUpdate()},renderUpdate:function(){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:function(){var e,t,n=this,i=this.getPages();i.length&&(e=this.getSettings("selectors"),t=[],i.forEach(function(e){t.push(n.numberTemplate(e))}),this.$element.find(e.pageNum).remove(),this.elements.$prevButton.after(t))},numberTemplate:function(e){var t=this.getSettings("classes"),n=$("<a></a>");return n.addClass(t.pageNum),n.addClass(t.item),n.toggleClass(t.activePage,e===this.getActivePage()),n.attr("href","#"),n.attr("data-page-num",e),n.html(e),n},updateActivePage:function(e){var t=this.getSettings("classes");this.$element.addClass(t.fetching),this.$clickedItem&&(this.$clickedItem.addClass(t.reading),this.$clickedItem.append('<span class="'.concat(t.spinner,'"></span>'))),this.setEnabled(!1),this.setActivePage(e)},updatePrevNext:function(){var e,t,n;this.getPages().length&&(e=this.getSettings("classes"),t=this.getActivePage(),n=this.getTotalPages(),this.elements.$prevButton.toggleClass(e.disabled,t<=1),this.elements.$nextButton.toggleClass(e.disabled,n<=t))},handlePageNum:function(e){e.preventDefault();var t=$(e.target),n=parseInt(t.data("page-num"));this.getActivePage()!==n&&this.triggerPagination(t,n)},handlePrev:function(e){e.preventDefault();var t=this.getSettings("classes"),n=$(e.target),i=this.getActivePage()-1;1<=i&&!n.hasClass(t.disabled)&&this.triggerPagination(n,i)},handleNext:function(e){e.preventDefault();var t=this.getSettings("classes"),n=$(e.target),i=this.getTotalPages(),r=this.getActivePage()+1;r<=i&&!n.hasClass(t.disabled)&&this.triggerPagination(n,r)},triggerPagination:function(e,t){this.isEnabled()&&(this.$clickedItem=e,this.updateActivePage(t),this.handlePagination(t))},getPages:function(){var e=this.getActivePage(),t=this.getPagesVisible(),n=this.getTotalPages(),i=[],r=Math.floor(t/2),a=e-r,s=e+r;a<=0&&(a=1,s=t),n<s&&(s=n);for(var o=a;o<=s;)i.push(o),o++;return i},handlePagination:function(){this.renderUpdate()}});n.default=r},{"./module":9,"@babel/runtime/helpers/interopRequireDefault":96}],21:[function(e,t,n){"use strict";var f=e("@babel/runtime/helpers/interopRequireDefault")(e("@babel/runtime/helpers/typeof"));function i(){var e,s,l,u,n,t,c=window,d=document;function p(e,t){this.scrollLeft=e,this.scrollTop=t}function i(e){if(null===e||"object"!==(0,f.default)(e)||void 0===e.behavior||"auto"===e.behavior||"instant"===e.behavior)return!0;if("object"===(0,f.default)(e)&&"smooth"===e.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+e.behavior+" is not a valid value for enumeration ScrollBehavior.")}function r(e,t){return"Y"===t?e.clientHeight+n<e.scrollHeight:"X"===t?e.clientWidth+n<e.scrollWidth:void 0}function a(e,t){var n=c.getComputedStyle(e,null)["overflow"+t];return"auto"===n||"scroll"===n}function o(e){for(var t,n,i;!1===((e=e.parentNode)===d.body)&&!1===(i=n=void 0,n=r(t=e,"Y")&&a(t,"Y"),i=r(t,"X")&&a(t,"X"),n||i););return e}function h(e){var t,n,i,r,a=(u()-e.startTime)/s;r=a=1<a?1:a,t=.5*(1-Math.cos(Math.PI*r)),n=e.startX+(e.x-e.startX)*t,i=e.startY+(e.y-e.startY)*t,e.method.call(e.scrollable,n,i),n===e.x&&i===e.y||c.requestAnimationFrame(h.bind(c,e))}function m(e,t,n){var i,r,a,s=u(),o=e===d.body?(r=(i=c).scrollX||c.pageXOffset,a=c.scrollY||c.pageYOffset,l.scroll):(r=(i=e).scrollLeft,a=e.scrollTop,p);h({scrollable:i,method:o,startTime:s,startX:r,startY:a,x:t,y:n})}"scrollBehavior"in d.documentElement.style&&!0!==c.__forceSmoothScrollPolyfill__||(e=c.HTMLElement||c.Element,s=468,l={scroll:c.scroll||c.scrollTo,scrollBy:c.scrollBy,elementScroll:e.prototype.scroll||p,scrollIntoView:e.prototype.scrollIntoView},u=c.performance&&c.performance.now?c.performance.now.bind(c.performance):Date.now,t=c.navigator.userAgent,n=new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(t)?1:0,c.scroll=c.scrollTo=function(){void 0!==arguments[0]&&(!0!==i(arguments[0])?m.call(c,d.body,void 0!==arguments[0].left?~~arguments[0].left:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:c.scrollY||c.pageYOffset):l.scroll.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!==(0,f.default)(arguments[0])?arguments[0]:c.scrollX||c.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:c.scrollY||c.pageYOffset))},c.scrollBy=function(){void 0!==arguments[0]&&(i(arguments[0])?l.scrollBy.call(c,void 0!==arguments[0].left?arguments[0].left:"object"!==(0,f.default)(arguments[0])?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):m.call(c,d.body,~~arguments[0].left+(c.scrollX||c.pageXOffset),~~arguments[0].top+(c.scrollY||c.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==i(arguments[0])){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)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");l.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!==(0,f.default)(arguments[0])?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==i(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):l.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))},e.prototype.scrollIntoView=function(){var e,t,n;!0!==i(arguments[0])?(t=(e=o(this)).getBoundingClientRect(),n=this.getBoundingClientRect(),e!==d.body?(m.call(this,e,e.scrollLeft+n.left-t.left,e.scrollTop+n.top-t.top),"fixed"!==c.getComputedStyle(e).position&&c.scrollBy({left:t.left,top:t.top,behavior:"smooth"})):c.scrollBy({left:n.left,top:n.top,behavior:"smooth"})):l.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])})}"object"===(void 0===n?"undefined":(0,f.default)(n))&&void 0!==t&&(t.exports={polyfill:i}),i()},{"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/typeof":106}],22:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("./module")).default.extend({$clickedItem:null,getDefaultSettings:function(){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:function(){return{}},bindEvents:function(){this.$element.on("click",this.getSettings("selectors.item"),this.handleItemClick)},onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments)},getActiveID:function(){return parseInt(this.getSettings("activeID"))},setActiveID:function(e){this.setSettings("activeID",parseInt(e))},setEnabled:function(e){this.setSettings("isEnabled",e)},isEnabled:function(){return this.getSettings("isEnabled")},renderUpdate:function(){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:function(e){var t=this.getSettings("classes");this.$element.addClass(t.fetching),this.$clickedItem&&(this.$clickedItem.addClass(t.reading),this.$clickedItem.append('<span class="'.concat(t.spinner,'"></span>'))),this.setEnabled(!1),this.setActiveID(e)},handleItemClick:function(e){e.preventDefault();var t=$(e.target),n=parseInt(t.data("category")),i=this.getActiveID(),r=this.urlAnalyze();i!==n&&this.triggerSort(t,n),-1===i&&r.category&&-1!==r.category&&this.triggerSort(t,n)},triggerSort:function(e,t){this.isEnabled()&&(this.$clickedItem=e,this.updateActiveItem(t),this.handleSort(t))},handleSort:function(){this.renderUpdate()},urlAnalyze:function(){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}}});n.default=r},{"./module":9,"@babel/runtime/helpers/interopRequireDefault":96}],23:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault"),u=i(e("@babel/runtime/helpers/toConsumableArray")),c=i(e("tippy.js")),d=jQuery,p={widgetEditorSettings:function(n){var e,i={};if(!window.elementor.hasOwnProperty("elements"))return!1;if(!(e=window.elementor.elements).models)return!1;var r=!1;return d.each(e.models,function(e,t){"container"===t.attributes.elType&&(r=!0),d.each(t.attributes.elements.models,function(e,t){d.each(t.attributes.elements.models,function(e,t){n===t.id&&(i=t.attributes.settings.attributes)})})}),r&&d.each(e.models,function(e,t){d.each(t.attributes.elements.models,function(e,t){n===t.id&&(i=t.attributes.settings.attributes)})}),{tooltip:i.jupiter_widget_tooltip||"false",tooltipDescription:i.jupiter_widget_tooltip_description||"Lorem Ipsum",tooltipPlacement:i.jupiter_widget_tooltip_placement||"top",tooltipArrow:"yes"===i.jupiter_widget_tooltip_arrow,xOffset:i.jupiter_widget_tooltip_x_offset||0,yOffset:i.jupiter_widget_tooltip_y_offset||0,tooltipAnimation:i.jupiter_widget_tooltip_animation||"shift-toward",tooltipTrigger:i.jupiter_widget_tooltip_trigger||"mouseenter",customSelector:i.jupiter_widget_tooltip_custom_selector||"",zIndex:i.jupiter_widget_tooltip_z_index||"999",delay:i.jupiter_widget_tooltip_delay||"0",triggerTarget:d(i.jupiter_widget_tooltip_custom_selector)}},jupiterTooltipInstance:function(e){var t,n,i=e.data("id"),r=e[0],a=Boolean(elementorFrontend.isEditMode()),s=r,o={},l=[];if(!d(r).hasClass("jet-tooltip-widget")){if(o=a?p.widgetEditorSettings(i):e.data("jupiter-tooltip-settings"),r._tippy&&r._tippy.destroy(),!o)return!1;if(void 0===o)return!1;if("true"!==o.tooltip||void 0===o.tooltip||""===o.tooltipDescription)return!1;e.addClass("jupiter-tooltip-widget"),o.customSelector&&(l=d(o.customSelector)),a&&!d("#jupiter-tooltip-content-"+i)[0]&&((n=d("<div>",{id:"jupiter-tooltip-content-"+i,class:"jupiter-tooltip-widget__content"})).html(o.tooltipDescription),e.append(n)),(0,c.default)([s],{content:null===(t=e.find(".jupiter-tooltip-widget__content")[0])||void 0===t?void 0:t.innerHTML,allowHTML:!0,appendTo:r,arrow:!!o.tooltipArrow,placement:o.tooltipPlacement,offset:[o.xOffset,o.yOffset],animation:o.tooltipAnimation,trigger:o.tooltipTrigger,triggerTarget:0<l.length?(0,u.default)(l):null,interactive:!0,zIndex:o.zIndex,maxWidth:"none",delay:o.delay.size?o.delay.size:0,popperOptions:{strategy:"fixed"},onMount:function(e){var t=d("#tippy-"+e.id+" .tippy-box[data-placement^=top]>.tippy-arrow"),n=d("#tippy-"+e.id+" .tippy-box[data-placement^=bottom]>.tippy-arrow"),i=d("#tippy-"+e.id+" .tippy-box[data-placement^=left]>.tippy-arrow"),r=d("#tippy-"+e.id+" .tippy-box[data-placement^=right]>.tippy-arrow"),a=d("#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":r.css("left","-"+a.css("border-left-width"));break;case"bottom-start":case"bottom":case"bottom-end":n.css("top","-"+a.css("border-top-width"));break;case"left-start":case"left":case"left-end":i.css("right","-"+a.css("border-right-width"))}}}),a&&r._tippy&&r._tippy.show()}}};elementorFrontend.hooks.addAction("frontend/element_ready/widget",function(e){new p.jupiterTooltipInstance(e)})},{"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/toConsumableArray":105,"tippy.js":124}],24:[function(e,t,n){"use strict";var i=function(a){a.data("raven-element-link")&&a.on("click.onWrapperLink",function(){var e=a.data("raven-element-link"),t=a.data("id"),n=document.createElement("a");/^https?:\/\//i.test(e.url)||(e.url="http://"+e.url),n.id="raven-wrapper-link-"+t,n.href=e.url,n.target=e.is_external?"_blank":"_self",n.rel=e.nofollow?"nofollow noreferer":"",n.style.display="none",document.body.appendChild(n);var i=document.getElementById(n.id);i.click();var r=setTimeout(function(){document.body.removeChild(i),clearTimeout(r)})})};elementorFrontend.hooks.addAction("frontend/element_ready/global",function(e){new i(e)})},{}],25:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new a({$element:e})};var r=i(e("../utils/module"));$=jQuery;var a=r.default.extend({getDefaultSettings:function(){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:function(){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:function(){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:function(){var e;this.isElementorEditor()&&(e=new CustomEvent("sellkitpro:swatches"),document.dispatchEvent(e))},detectPlusMinus:function(){var o=this;this.elements.$plusMinus.on("click",function(e){var t=$(e.currentTarget),n=t.closest("form.cart").find(".qty"),i=parseFloat(n.attr("max")),r=parseFloat(n.attr("min")),a=parseFloat(n.attr("step")),s=parseFloat(n.val());o.elements.$wrapper.hasClass("raven-product-grouped")&&isNaN(s)&&(s=0),t.is(".plus")?i&&i<=s?n.val(i):n.val(s+a):t.is(".minus")&&(r&&s<=r?n.val(r):1<s&&n.val(s-a))})},detectInputFocused:function(){this.elements.$qtyInput.on("focus",function(e){$(e.currentTarget).closest(".raven-qty-button-holder-inner").addClass("focused")}),this.elements.$qtyInput.on("focusout",function(e){$(e.currentTarget).closest(".raven-qty-button-holder-inner").removeClass("focused")})},removeInputSpinner:function(){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:function(){var e=this.elements.$formResetButton;this.elements.$formResetButton.remove(),this.elements.$tableBody.append(e)},onResetClearButton:function(){0!==this.elements.$formResetButton.length&&this.elements.$formResetButton[0].addEventListener("click",function(){var e=document.getElementsByClassName("artbees-was-content");e&&Object.entries(e).forEach(function(e){e[1].classList.remove("selected-attribute")})})},addDummyPriceToEditor:function(){var e,t,n=this;this.isVariableProduct()&&$("form.variations_form.cart").wc_variation_form(),this.isElementorEditor()&&this.isVariableProduct()&&!this.hasDefaultAttributes()&&(e="",this.elements.$wrapper.data("price")&&(e=parseFloat(this.elements.$wrapper.data("price")).toFixed(2)),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||20)+"</bdi></span></span></div>",this.elements.$singleVariationWrapper.prepend(t),this.elements.$variationFormHolder.change(function(){n.$element.find(".raven-dummy-price").hide()}))},fixResetButtonIcon:function(){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:function(){return document.body.classList.contains("elementor-editor-active")},isVariableProduct:function(){if(0!==this.elements.$cartForm.length)return this.elements.$cartForm[0].classList.contains("variations_form")},hasDefaultAttributes:function(){return 0!==this.$element.find(".has-default-attributes").length}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],26:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new a({$element:e})};var r=i(e("../utils/module")),o=jQuery,a=r.default.extend({onInit:function(){this.accordionOnClick()},accordionOnClick:function(){var a=!1,e=this.getElementSettings(),s=this;e.collapsible&&"yes"===e.collapsible&&(a=!0),o(".jx-single-accordion-header").off().on("click",function(){var e,t=o(this).parents(".jupiterx-single-advanced-accordion-wrapper"),n=t.find(".jx-single-accordion-body"),i=n.css("display"),r=o(this).parents(".jupiterx-advanced-accordion-wrapper").find(".jx-single-accordion-body");""!==i&&"none"!==i||(a&&r.slideUp("fast").addClass("jx-ac-body-none").removeClass("jx-ac-body-block").parent().addClass("jx-ac-inactive").removeClass("jx-ac-active"),n.slideDown("fast"),t.addClass("jx-ac-active").removeClass("jx-ac-inactive"),e=!1),"block"!==i||a||(n.slideUp("fast"),t.addClass("jx-ac-inactive").removeClass("jx-ac-active"),e=!0),e||s.handleScrollToContent(n),t.hasClass("jx-ac-last")&&(e&&t.find(".jx-single-accordion-header").removeClass("border-not-radius"),e||(t.find(".jx-single-accordion-header").addClass("border-not-radius"),t.find(".jx-single-accordion-body").addClass("border-is-radius")))})},handleScrollToContent:function(e){var t,n,i;"yes"===this.getElementSettings("scroll_to_content")&&((t=0)<o("#wpadminbar").length&&(t=o("#wpadminbar").height()),n=this.getElementSettings("scrolling_delay"),i=this.getElementSettings("content_offset"),setTimeout(function(){o("html, body").animate({scrollTop:e.offset().top-i.size-t},n)},200))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],27:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new l({$element:e})};var r=i(e("@babel/runtime/helpers/defineProperty")),a=i(e("../utils/module"));function s(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach(function(e){(0,r.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var v=jQuery,l=a.default.extend({mainLayout:null,mobileLayout:null,isRtl:!1,widgetParents:{},getDefaultSettings:function(){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:function(){var e=this.getSettings("selectors");return{$body:v("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:function(){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=v("body").hasClass("rtl"),this.initWidth=0===window.orientation||0===window.screen.orientation.angle?v(window).width():v(window).height(),this.isEdit&&"section_submenu"===elementor.panel.currentView.currentPageView.activeSection&&this.onSectionActivated("section_submenu"),this.deactivateMenu(),v(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:function(){var e,t=this.elements.$mainNav.attr("data-layout");"horizontal"!==t&&"vertical"!==t||"click"!==this.getElementSettings("submenu_trigger")||this.elements.$mainMenu.on("click.smapi",this.onHorizontalOrVerticalParentItemClick.bind(this)),"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)),e=this.getElementSettings("offcanvas_appear_effect"),this.elements.$body.addClass("raven-adnav-menu-effect-".concat(e)),this.elements.$toggleButton.on("click",this.doSideMenuEffects.bind(this)),this.elements.$closeButton.on("click",this.doSideMenuEffects.bind(this)));var n=this.elements.$mobileNav.attr("data-layout");if("dropdown"===n)return this.elements.$toggleButton.on("click",this.toggleDropdown.bind(this)),void this.elements.$mobileMenu.on("click.smapi",this.onMobileSideMenuItemClick.bind(this));if("side"===n){this.elements.$toggleButton.on("click",this.toggleMenu.bind(this)),this.elements.$closeButton.on("click",this.toggleMenu.bind(this)),this.elements.$mobileMenu.on("click.smapi",this.onMobileSideMenuItemClick.bind(this));var i=this.getElementSettings("side_menu_effect");return this.elements.$body.addClass("raven-adnav-menu-effect-".concat(i)),this.elements.$toggleButton.on("click",this.doSideMenuEffects.bind(this)),void this.elements.$closeButton.on("click",this.doSideMenuEffects.bind(this))}if("full-screen"===n)return this.elements.$toggleButton.on("click",this.toggleMenu.bind(this)),this.elements.$closeButton.on("click",this.toggleMenu.bind(this)),void this.elements.$mobileMenu.on("click.smapi",this.onMobileSideMenuItemClick.bind(this));this.elements.$menus.on("show.smapi",function(e,t){var n=v(t),i=n.dataSM?n.dataSM("parent-a"):null;i&&i.length&&(i.addClass("submenu-opened"),i.closest("li").addClass("submenu-opened"))}),this.elements.$menus.on("hide.smapi",function(e,t){var n=v(t),i=n.dataSM?n.dataSM("parent-a"):null;i&&i.length&&(i.removeClass("submenu-opened"),i.closest("li").removeClass("submenu-opened"))})},initMainSmartMenu:function(){var e,t,n,i,r=this,a={subIndicators:!1,rightToLeftSubMenus:this.isRtl},s=getComputedStyle(this.$element[0]).getPropertyValue("--submenu-spacing")&&null!==(e=this.$element)&&void 0!==e&&e.css("--submenu-spacing")?parseInt(null===(t=this.$element)||void 0===t?void 0:t.css("--submenu-spacing")):0;"horizontal"!==this.mainLayout&&"vertical"!==this.mainLayout||(n=this.elements.$elementorElement,i=this.getElementSettings("content_effect_content_overlay"),0!==v(n[0]).parents(".jupiterx-header")&&"enabled"===i&&"horizontal"===this.mainLayout&&0===v(".jupiterx-main").find(".jupiterx-advanced-nav-content-effect-enabled-overlay").length&&v(".jupiterx-main").append('<div class="jupiterx-advanced-nav-content-effect-enabled-overlay"></div>'),a=o(o({},a),{},{hideTimeout:300,hideFunction:function(e){e.removeClass("submenu-shown"),setTimeout(function(){e.css("display","none"),"horizontal"===r.mainLayout&&(r.handleContentEffectsBlur("remove"),r.handleContentEffectsOverlay("remove"))},0)},showTimeout:0,showFunction:function(e){var t;r.setSubmenuWidth(e,s),r.setSubmenuPosition(e),e.css("display","block"),"horizontal"===r.mainLayout&&(t=r.getElementSettings("content_effect_blur_content"),0===v(n[0]).parents(".jupiterx-header")||"enabled"!==i&&"enabled"!==t||0===v(".jupiterx-main").find(".jupiterx-advanced-nav-content-effect-enabled-overlay").length&&v(".jupiterx-main").append('<div class="jupiterx-advanced-nav-content-effect-enabled-overlay"></div>'),"enabled"!==i&&"enabled"!==t||r.elements.$body[0].classList.add("jupiterx-advanced-nav-content-effect-enabled")),setTimeout(function(){e.addClass("submenu-shown"),"horizontal"===r.mainLayout&&(r.handleContentEffectsBlur("add"),r.handleContentEffectsOverlay("add"))})},showOnClick:"click"===this.getElementSettings("submenu_trigger"),subMenusMinWidth:"0",subMenusMaxWidth:"110vw"})),"horizontal"===this.mainLayout&&(a=o(o({},a),{},{bottomToTopSubMenus:"top"===this.getElementSettings("submenu_opening_position"),mainMenuSubOffsetY:s})),"vertical"===this.mainLayout&&this.elements.$mainMenu.addClass("sm-vertical"),this.elements.$mainMenu.smartmenus(a)},handleContentEffectsOverlay:function(e){var t=this.elements.$elementorElement;if(t[0].classList.contains("raven-blur-content-overlay-enabled")&&0!==v(t[0]).parents(".jupiterx-header").length){var n=this.getElementSettings("content_effect_content_overlay");if(0!==v(t[0]).parents(".jupiterx-header")&&"enabled"===n&&this.elements.$body[0].classList.add("jupiterx-advanced-nav-overlay-enabled"),"remove"===e)return this.elements.$body[0].classList.remove("jupiterx-advanced-nav-overlay-enabled"),void v(".jupiterx-advanced-nav-content-effect-enabled-overlay").removeClass("jupiterx-advanced-nav-overlay-activated");v(".jupiterx-advanced-nav-content-effect-enabled-overlay").addClass("jupiterx-advanced-nav-overlay-activated")}},handleContentEffectsBlur:function(e){var t,n=this.elements.$elementorElement;if(n[0].classList.contains("raven-blur-content-enabled")&&0!==v(n[0]).parents(".jupiterx-header").length){var i=(null===(t=this.getElementSettings("content_effect_blur_intensity"))||void 0===t?void 0:t.size)||5;if("remove"===e)return v(".jupiterx-advanced-nav-content-effect-enabled-overlay").css("backdrop-filter",""),void v(".jupiterx-advanced-nav-content-effect-enabled-overlay").removeClass("jupiterx-advanced-nav-overlay-activated");v(".jupiterx-advanced-nav-content-effect-enabled-overlay").addClass("jupiterx-advanced-nav-overlay-activated"),v(".jupiterx-advanced-nav-content-effect-enabled-overlay").css("backdrop-filter","blur(".concat(i,"px)"))}},initMobileSmartMenu:function(){var e;this.elements.$mobileMenu.length&&(e={subIndicators:!1,subMenusMaxWidth:"1500px",rightToLeftSubMenus:this.isRtl,hideOnClick:!1,showOnClick:!0,collapsibleBehavior:"toggle"},this.elements.$mobileMenu.smartmenus(e))},toggleDropdown:function(){this.elements.$toggleButton.find(".hamburger").toggleClass("is-active"),"dropdown"!==this.mainLayout?(this.dropdownFullWidth(),this.elements.$mobileNav.slideToggle(250),this.dropdownFullWidth()):this.elements.$mainNav.slideToggle(250)},dropdownFullWidth:function(){var e,t,n,i,r,a=this.elements.$mobileNav;"stretch"===this.getElementSettings("full_width")&&(t=null===(e=a[0])||void 0===e?void 0:e.getBoundingClientRect().x,this.elements.$mobileNav.css("width","".concat(this.$element.closest("body")[0].getBoundingClientRect().width,"px")).css("left","".concat(-t,"px")),n=this.elements.$elementorElement,i=this.elements.$toggleButton,r=n.offset().top+n.outerHeight()-i.offset().top,a.css("top",r))},doSideMenuEffects:function(){var e="offcanvas"===this.mainLayout;if("overlay"!==this.getElementSettings(e?"offcanvas_appear_effect":"side_menu_effect")){var t=this.getElementSettings(e?"offcanvas_position":"side_menu_alignment"),n=parseInt(this.$element.css(e?"--offcanvas-box-width":"--menu-container-width"))||250;if("right"===t&&(n="-".concat(n,"px")),!this.elements.$body.hasClass("raven-adnav-menu-effect-pushed")){var i=this.isRtl?"margin-right":"margin-left";return this.elements.$body.addClass("raven-adnav-menu-effect-pushed").css(i,n),void this.togglePrepareParentForPushEffect()}this.elements.$body.removeClass("raven-adnav-menu-effect-pushed").removeAttr("style"),this.togglePrepareParentForPushEffect(!1)}else{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())}},togglePrepareParentForPushEffect:function(e){0<arguments.length&&void 0!==e&&!e?this.elements.$parentSegment.removeClass("raven-adnav-menu-parent-segment"):this.elements.$parentSegment.addClass("raven-adnav-menu-parent-segment").css("--adnav-menu-overlay-color",this.getElementSettings("offcanvas_overlay_color"))},toggleMenu:function(){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:function(){for(var i=document.querySelectorAll(".raven-adnav-menu-mobile.raven-adnav-menu-full-screen"),r=null,e=0;e<i.length;e++)!function(n){i[n].addEventListener("touchstart",function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},{capture:!1,passive:!0}),i[n].addEventListener("touchmove",function(e){var t;1===e.targetTouches.length&&(t=e.targetTouches[0].clientY-r,0===i[n].scrollTop&&0<t&&e.cancelable&&0===v(e.target).parents(".raven-container").length&&e.preventDefault(),i[n].scrollHeight-i[n].scrollTop<=i[n].clientHeight&&t<0&&e.cancelable&&0===v(e.target).parents(".raven-container").length&&e.preventDefault())},{capture:!1,passive:!0})}(e)},handleLinksOnSubmenu:function(){this.elements.$submenuLinks.on("click",function(e){e.stopPropagation()})},bindEmptyHrefGuard:function(){var e=this.elements.$mobileMenu;e.length&&e.off("click.adnavGuard").on("click.adnavGuard","a.raven-menu-item.has-submenu",function(e){var t=(v(e.currentTarget).attr("href")||"").trim().toLowerCase();e.preventDefault()})},inPageMenuClick:function(){var g=this;this.elements.$inPageMenuItems.on("click",function(e){var t,n,i,r,a,s,o,l,u,c,d,p,h,m=v(e.currentTarget).prop("href"),f=null;try{f=new window.URL(m)}catch(e){return}f.hash&&f.pathname===window.location.pathname&&(e.preventDefault(),g.deactivateMenu(),g.changeHamburgerState(!1),window.history.pushState(null,null,f.hash),0!==(t=v(f.hash)).length&&(i=(n=v(".jupiterx-header").data("jupiterx-settings")).behavior,r=n.overlap,a=n.position,s=n.template,o=n.stickyTemplate,l="sticky"===i&&(!o||o!==s),u=0<v(".jupiterx-header-sticked").length,c=v(".jupiterx-tbar").outerHeight()||0,d=v("#wpadminbar").height()||0,p=parseInt(v(".jupiterx-site-body-border").css("border-width"))||0,h=t.offset().top,h-=d,h-=p,h-=c,u||i&&("sticky"!==i||!r)||(h-=c),l&&(h-=v(".jupiterx-header-custom .elementor:last-of-type").outerHeight()||0),l||"sticky"!==i&&("fixed"!==i||"top"!==a)||(h-=g.getHeaderHeight()),v("html, body").stop().animate({scrollTop:h},500,"swing")))})},getHeaderHeight:function(){var e=v(".jupiterx-header");if(0===e.length)return 0;var t=e.data("jupiterx-settings").behavior;return"fixed"===t||"sticky"===t||window.pageYOffset<e.height()?e.height():0},onElementChange:function(e){var t,n,i,r;"full_width"===e&&this.dropdownFullWidth(),(e.startsWith("menu_container_width")||e.startsWith("offcanvas_box_width"))&&this.elements.$body.hasClass("raven-adnav-menu-effect-pushed")&&(t="offcanvas"===this.mainLayout,n=this.getElementSettings(t?"offcanvas_position":"side_menu_alignment"),i=parseInt(this.$element.css(t?"--offcanvas-box-width":"--menu-container-width"))||250,"right"===n&&(i="-".concat(i,"px")),r=this.isRtl?"margin-right":"margin-left",this.elements.$body.css(r,i)),"submenu_space_between"===e&&(this.elements.$menus.smartmenus("destroy"),this.initMainSmartMenu())},onSectionActivated:function(e){if("section_submenu"===e)return this.forceShowSubmenu(),void(this.showSubMenuInterval=setInterval(this.forceShowSubmenu,1e3));clearInterval(this.showSubMenuInterval)},forceShowSubmenu:function(){var e;this.elements.$mainMenu.find("li ul.submenu").each(function(){v(this).find("li:not(.submenu-template)").length&&(e=v(this).prev("a.raven-menu-item"))}),null!==e&&void 0!==e&&e.length&&"none"===e.next("ul").css("display")&&this.elements.$menus.smartmenus("itemActivate",e)},onSideMenuItemClick:function(e,t){var n,i=v(t);0===i.closest(".raven-adnav-menu-side,.raven-adnav-menu-offcanvas").length||-1===(n=i.attr("href")).search(/^#/)&&0!==n.trim().length&&this.elements.$closeButton.trigger("click")},onMobileSideMenuItemClick:function(e,t){var n,i=v(t),r=i.hasClass("submenu_opend"),a=null===(n=i.attr("href"))||void 0===n?void 0:n.trim();if(void 0===a||a.startsWith("#")||"javascript:void(0)"===a)0!==a.length&&-1===a.search(/^#/)&&this.elements.$closeButton.trigger("click");else if(r)i.toggleClass("submenu_opend"),e.stopImmediatePropagation(),e.preventDefault(),0!==(null==a?void 0:a.length)&&setTimeout(function(){window.location.href=a},50);else{if(0===(null==a?void 0:a.length))return i.removeClass("submenu_opend"),!0;i.toggleClass("submenu_opend")}},onHorizontalOrVerticalParentItemClick:function(e,t){var n,i=v(t),r=i.hasClass("hv_submenu_opend"),a=null===(n=i.attr("href"))||void 0===n?void 0:n.trim();if(v(".hv_submenu_opend").not(i).removeClass("hv_submenu_opend"),void 0===a||a.startsWith("#")||"javascript:void(0)"===a)0!==(null==a?void 0:a.length)&&(null==a||a.search(/^#/));else if(r)i.toggleClass("hv_submenu_opend"),e.stopImmediatePropagation(),e.preventDefault(),0!==(null==a?void 0:a.length)&&setTimeout(function(){window.location.href=a},50);else{if(0===(null==a?void 0:a.length))return i.removeClass("hv_submenu_opend"),!0;i.toggleClass("hv_submenu_opend")}},changeHamburgerState:function(e){var t=this.elements.$toggleButton.find(".hamburger");0!==t.length&&(e?t.addClass("is-active"):t.removeClass("is-active"))},updateActiveListItems:function(){this.elements.$rootListItems.each(function(){var e=0<v(this).children("a.active-link").length;v(this).toggleClass("current-menu-item",e)})},setSubmenuWidth:function(e,t){var n,i=e.closest("li.menu-item"),r=i.data("width_type");if("custom"!==r)if("vertical"!==this.mainLayout){"default"!==r?(n=this.widgetParents[r].get(0).getBoundingClientRect().width,e.css("width","".concat(n,"px"))):e.css({width:"fit-content","max-width":this.widgetParents.widget.get(0).getBoundingClientRect().width+"px"})}else{if("default"===r)return void e.css({width:"fit-content","max-width":this.widgetParents.widget.get(0).getBoundingClientRect().width-this.elements.$mainMenu.get(0).getBoundingClientRect().width-t+"px"});var a=this.widgetParents[r].get(0).getBoundingClientRect().width-this.elements.$mainMenu.get(0).getBoundingClientRect().width-t;e.css("width","".concat(a,"px"))}else{var s=i.data("custom_width");e.css("width",s)}},setSubmenuPosition:function(e){var t,n,i,r,a,s,o,l,u,c,d,p,h,m,f,g=e.closest("li.menu-item");"vertical"!==this.mainLayout?(t=g.data("width_type"),["default","custom"].includes(t)?(i="unset",s="0","right"===(n=g.data("submenu_pos"))&&(i="0",s="unset"),"center"===n&&(r=g.get(0).getBoundingClientRect().width,a=parseInt(e.css("width")),s="".concat((r-a)/2,"px")),e.css({left:s,right:i})):(o=this.widgetParents[t].get(0).getBoundingClientRect().x,l=g.get(0).getBoundingClientRect().x,e.css("left","".concat(o-l,"px")))):((d=g.data("submenu_pos"))&&"center"!==d||(d=this.isRtl?"left":"right"),p=getComputedStyle(this.$element[0]).getPropertyValue("--submenu-spacing")&&null!==(u=this.$element)&&void 0!==u&&u.css("--submenu-spacing")?parseInt(null===(c=this.$element)||void 0===c?void 0:c.css("--submenu-spacing")):0,h=g.get(0).getBoundingClientRect().width+p,m="right"===d?"unset":h,f="right"===d?h:"unset",e.css({left:f,right:m}))},getParentSection:function(){var e=this.$element.closest('section[data-element_type="section"]');if(e.length)return e;var t=this.$element.parents('[data-element_type="container"]').last();return t.length?t:void 0},getParentColumn:function(){var e=this.$element.closest('div[data-element_type="column"]');if(e.length)return e;var t=this.$element.closest('[data-element_type="container"]');return t.length?t:void 0},getParentContainer:function(){var e=this.$element.closest('[data-element_type="container"]');if(e.length)return e;var t=this.$element.closest('section[data-element_type="section"]');return t.length?t:void 0},deactivateMenu:function(){var e=0===window.orientation||0===window.screen.orientation.angle?v(window).width():v(window).height();if("yes"===this.getElementSettings("close_menu_on_scroll")||e!==this.initWidth){var t=this.elements.$mobileNav.hasClass("raven-adnav-menu-dropdown"),n=this.elements.$mainNav.css("display");if(t&&"none"===n)return this.elements.$toggleButton.find(".hamburger").removeClass("is-active"),void 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,"@babel/runtime/helpers/defineProperty":92,"@babel/runtime/helpers/interopRequireDefault":96}],28:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new o({$element:e})};var d=i(e("@babel/runtime/helpers/slicedToArray")),p=i(e("@babel/runtime/helpers/toConsumableArray")),r=i(e("../utils/module")),a=i(e("../utils/pagination")),s=i(e("../utils/sortable")),o=r.default.extend({Pagination:null,Sortable:null,getDefaultSettings:function(){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:function(){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:function(){this.handleQueryOnLoad(),this.handlePopstate(),"yes"===this.getInstanceValue("mirror_rows")&&elementorFrontend.addListenerOnce(this.$element.data("model-cid"),"resize",this.mirrorRows.bind(this));var e=this;window.addEventListener("resize",function(){setTimeout(function(){"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:function(){setTimeout(this.initialize(),0)},onElementChange:function(e){var t=this;"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(function(){"masonry"===t.getInstanceValue("general_layout")&&t.masonryRun()},0),"metro_matrix_large_aspect_ratio"!==e&&"metro_matrix_small_aspect_ratio"!==e||setTimeout(function(){"metro"===t.getInstanceValue("general_layout")&&t.metroRun(0),"matrix"===t.getInstanceValue("general_layout")&&t.matrixRun(0)},0),"rows_spacing"!==e&&"block_column_spacing"!==e||"masonry"===this.getInstanceValue("general_layout")&&setTimeout(function(){t.masonryRun()},500)},onInit:function(){var e=this;elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initializeOnce(),this.initialize(),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",function(){return e.onDeviceModeChange()})},initialize:function(){var e=this;"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun(),"metro"===this.getInstanceValue("general_layout")&&this.elements.$postsContainer.imagesLoaded().progress(function(){e.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:function(){"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:function(e){return"metro"===this.getInstanceValue("general_layout")&&e[0].classList.contains("raven-posts-full-width")?[].concat((0,p.default)(e.slice(1,3).reverse()),[e[0]],(0,p.default)(e.slice(3,e.length))):e[0].classList.contains("raven-posts-full-width")?[e[0]].concat((0,p.default)(e.slice(1,e.length).reverse())):"matrix"===this.getInstanceValue("general_layout")?(0,p.default)(e):(0,p.default)(e.reverse())},createAnimationObserver:function(n,i,e,r,a){var s=new IntersectionObserver(function(e){e.forEach(function(e){if(e.isIntersecting){if(i.classList.contains("raven-advanced-posts-loaded"))return;var t=0<n.elements.$showedItems?r-n.elements.$showedItems:r;"slide-right"===a&&(t>n.elements.$showedItems&&(t-=n.elements.$showedItems),n.elements.$showedItems>t&&(t=n.elements.$showedItems-t)),setTimeout(function(){i.classList.add("raven-advanced-posts-loaded"),n.elements.$showedItems=r,s.unobserve(i)},100*t)}})},e);s.observe(i)},handleAnitmation:function(){var l=this,u=(0,p.default)(this.elements.$postsContainer[0].querySelectorAll(".raven-posts-item:not(.raven-advanced-posts-loaded)")),c=this.getInstanceValue("load_effect"),d=this;this.elements.$postsContainer.imagesLoaded().done(function(){var n=0;if("slide-right"===c){l.setColumnsCount();var e=l.getSettings().columnsCount;e||("metro"===l.getInstanceValue("general_layout")&&(e=3),"matrix"===l.getInstanceValue("general_layout")&&(e=4));var t=parseInt(u.length/e),i=u.length%e;if(u.length/e<=1)u=(0,p.default)(l.handlePostsOrder(u));else{for(var r=[],a=[],s=1;s<=t;++s){a=[];for(var o=r.length;o<s*e;++o)a.push(u[o]);r.push.apply(r,(0,p.default)(l.handlePostsOrder(a)))}0<i&&r.push.apply(r,(0,p.default)(u.slice(-i).reverse())),u=r}}u.forEach(function(e,t){c&&!document.body.classList.contains("elementor-editor-active")||e.classList.contains("raven-advanced-posts-loaded")||(++n,setTimeout(function(){e.classList.add("raven-advanced-posts-loaded")},200+100*n)),c&&d.createAnimationObserver(d,e,{threshold:.4},t,c)})})},addPosts:function(e,t){var n=1<arguments.length&&void 0!==t&&t,i=this.getSettings("state");return!(i.isLoading||i.paged<1)&&(this.ajaxPosts(e,this.appendPosts,n),!0)},setPosts:function(e,t,n){var i=1<arguments.length&&void 0!==t&&t,r=2<arguments.length&&void 0!==n&&n;return!this.getSettings("state").isLoading&&(this.ajaxPosts(e,this.renderPosts,i,r),!0)},handleSort:function(e){this.setPosts({paged:1,category:e})&&this.setSettings("state.category",e)},sortableModule:function(){var e,t=this;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",function(e){e.currentTarget.classList.contains("raven-sortable-active")||(t.elements.$sortPreLoader[0].classList.add("active-preloader"),t.elements.$postsContainer.find(".raven-posts-item").delay("100").addClass("raven-posts-remove-animation"))}))},paginationModule:function(){var e,t=this;document.body.classList.contains("elementor-editor-active")||(e=a.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",function(e){e.currentTarget.classList.contains("raven-pagination-active")||(t.elements.$showedItems=0,t.elements.$preLoader[0].classList.add("active-preloader"))}))},loadMore:function(){var i=this,r=this.getSettings("state"),e=this.elements.$loadMore.data("settings");this.setPaged({paged:r.paged,maxNumPages:e.maxNumPages,renderedPosts:r.renderedPosts}),this.elements.$loadMoreButton.on("click",function(e){var t,n;e.preventDefault(),document.body.classList.contains("elementor-editor-active")||(i.elements.$preLoader[0].classList.add("active-preloader"),0===r.renderedPosts.length&&"rand"===i.getInstanceValue("query_orderby")&&"yes"===i.getInstanceValue("ignore_repetitive")&&i.setRenderedPost(),n=(t=i.getSettings("state")).paged+1,i.addPosts({paged:n,category:t.category,is_appended:!0,renderedPosts:i.getSettings("state.renderedPosts")}))})},createObserver:function(e,t,n){var i;e.length<1||(i=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(t(),i.disconnect())})},n)).observe(e[0])},infiniteLoadObserver:function(){var n=this;n.elements.$postsContainer.imagesLoaded().always(function(){document.body.classList.contains("elementor-editor-active")||(0===n.getSettings("state.renderedPosts").length&&"rand"===n.getInstanceValue("query_orderby")&&"yes"===n.getInstanceValue("ignore_repetitive")&&n.setRenderedPost(),n.createObserver(n.elements.$infinteLoadIndicator,function(){var e=n.getSettings("state"),t=e.paged+1;n.addPosts({paged:t,category:e.category,is_appended:!0,renderedPosts:e.renderedPosts})},{threshold:1}))})},handlePagination:function(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:function(e,t){var n,i,r,a,s,o=1<arguments.length&&void 0!==t&&t;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}),o&&(s=this.urlAnalyze(),"page_based"===this.getInstanceValue("pagination_type")&&this.Pagination.recreatePagination(e.max_num_pages,s.paged),this.setPaged({paged:s.paged,maxNumPages:e.max_num_pages,renderedPosts:e.rendered_posts})),null===(n=this.elements.$preLoader[0])||void 0===n||null!==(i=n.classList)&&void 0!==i&&i.remove("active-preloader"),null===(r=this.elements.$sortPreLoader[0])||void 0===r||null!==(a=r.classList)&&void 0!==a&&a.remove("active-preloader"),this.initialize()},appendPosts:function(e,t){var n=1<arguments.length&&void 0!==t&&t,i=this.getSettings("state");this.elements.$postsContainer.append(e.posts);var r={paged:i.paged+1,maxNumPages:e.max_num_pages,renderedPosts:e.rendered_posts};n&&(r.paged=i.paged),this.setPaged(r),this.afterAppend()},afterAppend:function(){var e,t,n,i;"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(),null===(e=this.elements.$preLoader[0])||void 0===e||null!==(t=e.classList)&&void 0!==t&&t.remove("active-preloader"),null===(n=this.elements.$sortPreLoader[0])||void 0===n||null!==(i=n.classList)&&void 0!==i&&i.remove("active-preloader")},ajaxPosts:function(i,r,e,t){var n,a,s=2<arguments.length&&void 0!==e&&e,c=3<arguments.length&&void 0!==t&&t,o=this.elements.$postsContainer.data("archive-query"),l=this,u={action:"raven_render_advanced_posts",post_id:this.getCurrentPostId(),model_id:this.getID(),paged:i.paged,category:i.category,renderedPosts:JSON.stringify(i.renderedPosts),nonce:ravenTools.nonce,main_post_id:null===(n=elementorFrontendConfig)||void 0===n||null===(a=n.post)||void 0===a?void 0:a.id};i.should_append&&(u.should_append=!0),o&&(u.archive_query=JSON.stringify(o));this.setSettings("state.isLoading",!0),wp.ajax.post(u).done(function(e){var t;(t=e).posts&&(s?r(t,s):r(t)),l.setSettings("state.isLoading",!1);var n={jupiterx_filters:1,jupiterx_page:i.paged};i.category&&(n.category=i.category),i.is_appended&&(n.is_appended=i.is_appended),function(e,t){for(var n=new URL(e),i=new URLSearchParams(n.search),r=0,a=Object.entries(t);r<a.length;r++){var s=(0,d.default)(a[r],2),o=s[0],l=s[1];i.set(o,l)}n.search=i.toString();var u=n.toString();c||window.history.pushState({path:u},"",u)}(window.location.href,n)})},getCurrentPostId:function(){return parseInt(this.elements.$postsContainer.data("post-id"))},setPaged:function(e){var t=e.paged,n=e.maxNumPages,i=e.renderedPosts;this.elements.$loadMore.attr("data-paged",t),n<=t&&(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",n),this.setSettings("state.renderedPosts",i)},mirrorRows:function(){this.setColumnsCount();var e=this.getSettings(),t=this.$element.find(e.selectors.postItem);if(t.filter(e.selectors.postMirrored).removeAttr(e.classes.postMirrored),t.length&&t.length>e.columnsCount)for(var n=t.length/e.columnsCount,i=1;i<n;i+=2){var r=i*e.columnsCount;t.slice(r,r+e.columnsCount).attr(e.classes.postMirrored,!0)}},setColumnsCount:function(){var e=elementorFrontend.getCurrentDeviceMode(),t="columns_".concat(e);"desktop"===e&&(t="columns"),this.setSettings("columnsCount",parseInt(this.getInstanceValue(t)))},setGapSize:function(){var e,t=elementorFrontend.getCurrentDeviceMode(),n="metro_matrix_rows_gap_".concat(t);"desktop"===t&&(n="metro_matrix_rows_gap"),this.setSettings("gapSize",parseInt(null===(e=this.getInstanceValue(n))||void 0===e?void 0:e.size))},masonryRun:function(){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:function(e){this.setGapSize();var r=this,t=this.getSettings().gapSize?this.getSettings().gapSize:0,n=elementorFrontend.getCurrentDeviceMode(),i=!document.body.classList.contains("rtl");r.elements.$postsContainer.data("isotope")&&r.elements.$postsContainer.isotope("reloadItems").isotope();var a=Math.floor((r.elements.$postsContainer.parent().width()+t)/4),s=2*a;"tablet"===n&&(s=2*(a*=2)),"mobile"===n&&(s=a*=4),r.elements.$postsContainer.find(".raven-metro-item").each(function(e,t){var n=a,i=a;t.classList.contains("raven-posts-full-width")&&(i=n=s),n&&(t.style.width=n+"px"),r.elements.$postsContainer[0].classList.contains("content-layout-under-image")||(t.style.height=i+"px")}),setTimeout(function(){r.elements.$postsContainer.isotope({itemSelector:".raven-metro-item",layoutMode:"packery",percentPosition:!0,sortBy:"original-order",transitionDuration:0,gutter:10,isOriginLeft:i}),r.elements.$postsContainer.isotope("once","arrangeComplete",function(){setTimeout(function(){return r.handleAnitmation()},100)})},e)},matrixRun:function(e){var t=this,i=elementorFrontend.getCurrentDeviceMode(),n=!document.body.classList.contains("rtl");t.elements.$postsContainer.data("isotope")&&t.elements.$postsContainer.isotope("reloadItems").isotope();var r=Math.floor(t.elements.$postsContainer.width()/3),a=3*r;"mobile"===i&&(a=r*=3),t.elements.$postsContainer.find(".raven-matrix-item").each(function(e,t){var n=r;t.classList.contains("raven-posts-full-width")&&(n=a),n&&(t.style.width=n+"px"),"mobile"===i&&(t.style.paddingRight=0)}),setTimeout(function(){t.elements.$postsContainer.isotope({itemSelector:".raven-matrix-item",layoutMode:"packery",packery:{isFitWidth:!0},percentPosition:!0,sortBy:"original-order",transitionDuration:0,isOriginLeft:n}),t.elements.$postsContainer.isotope("once","arrangeComplete",function(){setTimeout(function(){return t.handleAnitmation()},100)})},e)},handleFeaturedIamageEffect:function(){var e,t=this.getInstanceValue("featured_image_hover");!t||"zoom-move"!==t||this.elements.$postsImages.length<1||(e=this.elements.$postsContainer.find(".raven-posts-item:not(.raven-advanced-posts-loaded)").find(".raven-post-image"),0<this.elements.$postOverlay.length&&(e=this.elements.$postOverlay.find(".raven-posts-item:not(.raven-advanced-posts-loaded)").find(".raven-post-wrapper")),e.on("mouseout",function(e){var t=e.currentTarget.querySelector(".raven-posts-zoom-move-wrapper");t&&(t.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)")}),e.on("mousemove",function(e){var t=e.currentTarget.getBoundingClientRect(),n=((t.width+35)/t.width).toFixed(2),i=((t.height+35)/t.height).toFixed(2),r=e.currentTarget.querySelector(".raven-posts-zoom-move-wrapper"),a=t.width/2-(e.clientX-t.left),s=t.height/2-(e.clientY-t.top),a=a/t.width*30,s=s/t.height*30;r&&(r.style.transform="perspective(900px) translate3d(".concat(a,"px, ").concat(s,"px, 0px) scale(").concat(Math.max(n,i),")"))}),this.elements.$postOverlay.length<1||document.body.classList.contains("elementor-editor-active")||e.on("click",function(e){var t=e.currentTarget.querySelector(".raven-post-image").href;t&&window.location.assign(t)}))},handleQueryOnLoad:function(){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="'.concat(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:function(){var t=this;"page_based"!==this.getInstanceValue("pagination_type")&&!this.urlAnalyze()||window.addEventListener("popstate",function(){var e=(e=t.urlAnalyze())||{paged:1,category:-1};t.elements.$postsContainer.empty(),t.setPosts(e,!0,!0)})},urlAnalyze:function(){var e=new URL(window.location.href);if("1"!==e.searchParams.get("jupiterx_filters"))return!1;var t={paged:e.searchParams.get("jupiterx_page")?Number(e.searchParams.get("jupiterx_page")):1,category:e.searchParams.get("category")?Number(e.searchParams.get("category")):-1};return e.searchParams.get("is_appended")&&(t.should_append=!0),t},setRenderedPost:function(){var e=this.$element.find(".raven-post-content"),t={},n=[];e.each(function(){var e=$(this).data("id");n.push(e)}),t.page="1",t.ids=n,this.setSettings("state.renderedPosts",[t])}})},{"../utils/module":9,"../utils/pagination":20,"../utils/sortable":22,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/slicedToArray":103,"@babel/runtime/helpers/toConsumableArray":105}],29:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(t){t.find(".raven-alert-dismiss").on("click",function(e){e.preventDefault(),t.fadeOut()})}},{}],30:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var u=i(e("@babel/runtime/regenerator")),r=i(e("@babel/runtime/helpers/asyncToGenerator")),a=i(e("../utils/module")),o=jQuery,s=a.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:function(){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:function(){var e=this.getElementSettings("animation_type"),t="clip"===e,n=-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"}),n?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:function(){var e=this.getElementSettings("rotate_iteration_delay"),t={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 t.typeAnimationDelay=t.selectionDuration+800,t.selectors={heading:".raven-heading",dynamicWrapper:".raven-heading-dynamic-wrapper",dynamicText:".raven-heading-dynamic-text"},t.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"},t},getDefaultElements:function(){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:function(e){var t=e.children(".raven-clip-inner");return t.length||((t=o("<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:function(e){var t=e.children(".raven-clip-overlay");return t.length||(t=o("<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:function(e,t){var n,i=e.children(".raven-clip-veil");return i.length||(i=o("<span>",{class:"raven-clip-veil"}),e.append(i),n=this.getEffectiveBackgroundColor(t[0]),i.css({position:"absolute",left:0,right:0,top:0,height:0,backgroundColor:n,pointerEvents:"none",zIndex:1}),e.css({position:"relative"})),i},ensureClipCustomCss:function(){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:function(e){var t=[],n=e[0];if(!n||!n.firstChild)return t;var i=e.children(".raven-clip-overlay, .raven-clip-veil"),r=[];i.each(function(){r.push(this.style.display),this.style.display="none"});var a=document.createRange();a.selectNodeContents(n);for(var s=a.getClientRects(),o=n.getBoundingClientRect(),l=0;l<s.length;l++){var u=s[l];t.push({top:u.top-o.top,bottom:u.bottom-o.top,left:u.left-o.left,right:u.right-o.left,width:u.width,height:u.height})}return a.detach(),i.each(function(e){this.style.display=r[e]||""}),t},normalizeLineRects:function(e){if(!e||!e.length)return[];var t=e.slice().filter(function(e){return.5<e.width&&.5<e.height}).sort(function(e,t){return e.top-t.top||e.left-t.left}),s=[];return t.forEach(function(e){for(var t=e.top+e.height/2,n=null,i=0;i<s.length;i++){var r=s[i],a=r.top+r.height/2;if(Math.abs(t-a)<=.75){n=r;break}}n?(n.left=Math.min(n.left,e.left),n.right=Math.max(n.right,e.right),n.width=n.right-n.left,n.top=Math.min(n.top,e.top),n.bottom=Math.max(n.bottom,e.bottom),n.height=n.bottom-n.top):s.push({top:e.top,bottom:e.bottom,left:e.left,right:e.right,width:e.width,height:e.height})}),s.sort(function(e,t){return e.top-t.top})},getInlineDirection:function(e){try{return"rtl"===window.getComputedStyle(e[0]).direction?"rtl":"ltr"}catch(e){return"ltr"}},getEffectiveBackgroundColor:function(e){for(var t=e,n=function(e){if(!e)return!0;var t=String(e).trim().toLowerCase();return"transparent"===t||/^rgba\([^,]+,[^,]+,[^,]+,\s*0\s*\)$/.test(t)};t;){try{var i=window.getComputedStyle(t).backgroundColor;if(!n(i))return i}catch(e){}t=t.parentElement}try{var r=window.getComputedStyle(document.body).backgroundColor;if(!n(r))return r}catch(e){}return"#ffffff"},animateClip:function(a,s,o,l,u,c){var d=Date.now(),e="inset(0 "+(100-s)+"% 0 0)";a.css({clipPath:e,WebkitClipPath:e}),setTimeout(function e(){var t=Date.now(),n=Math.min(1,(t-d)/l),i=s+(o-s)*n,r="inset(0 "+(100-i)+"% 0 0)";a.css({clipPath:r,WebkitClipPath:r}),u&&u(i),n<1?setTimeout(e,16):c&&c()},0)},getNaturalOuterWidth:function(e){var t=e.clone();t.css({position:"absolute",visibility:"hidden",left:"-9999px",top:"-9999px",display:"inline-block",whiteSpace:"normal",width:"auto"}),o(document.body).append(t);var n=t.outerWidth();return t.remove(),n},getInlineFlowWidth:function(e){if(!e||!e.length)return 0;var 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:""});var n=e.outerWidth();return 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||"",n},getWrapperAutoWidthForWord:function(e){var t=this.elements.$dynamicWrapper;if(!t||!t.length)return 0;var n=e&&e.length?e:this.elements.$dynamicText.filter("."+this.getSettings("classes").textActive).eq(0);if(!n.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},r=n[0].style.display;try{t.css({width:"auto",visibility:"hidden",display:"inline-block"}),n.css({display:"inline"}),t[0].offsetWidth;var a=t[0].getBoundingClientRect();return Math.max(0,Math.ceil(a.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||"",n[0].style.display=r||""}},sleep:function(t){return new Promise(function(e){setTimeout(e,t)})},waitForAnimationEnd:function(i,r){return new Promise(function(e){function t(){n||(n=!0,i.off("animationend.ravenEngine animationcancel.ravenEngine"),e())}var n=!1;i.off("animationend.ravenEngine animationcancel.ravenEngine").one("animationend.ravenEngine animationcancel.ravenEngine",t),r&&setTimeout(t,r+50)})},waitForWidthTransition:function(i,r){return new Promise(function(t){function e(e){n||e&&"width"!==e.propertyName||(n=!0,i.off("transitionend.ravenEngine"),t())}var n=!1;i.off("transitionend.ravenEngine").one("transitionend.ravenEngine",e),r&&setTimeout(e,r+50)})},showClipWord:function(t){var l=this,e=this.getSettings();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"});var u=this.ensureClipInner(t),c=this.ensureClipOverlay(u);c.stop(!0),c.css({display:"block",height:"100%"});var d="rtl"===this.getInlineDirection(t),p=this.getNaturalOuterWidth(t);u.css({willChange:"clip-path, -webkit-clip-path",display:"inline-block"});function n(e){var t,n,i=u[0]?u[0].getBoundingClientRect():null,r=i?i.width:p,a=Math.max(0,r*e/100),s=Math.round(a),o=Math.max(2,s+2);l.elements.$dynamicWrapper.width(o),d?(t=Math.max(0,Math.round(r-a)-1),c.css({left:"auto",right:t,width:0})):(n=Math.max(0,s-1),c.css({left:n,right:"auto",width:0}))}var i=function(){l.animateClip(u,100,0,e.revealDuration,n,function(){var e=l.getNextWord(t);t.css({display:"none"}),l.switchWord(t,e),l.showClipWord(e)})};this.elements.$dynamicWrapper.width(2),l.animateClip(u,0,100,e.revealDuration,n,function(){setTimeout(function(){return i()},e.selectionDuration)})},debugLog:function(){},getComputedSnapshot:function(e){try{if(!e||!e[0])return{exists:!1};var t=e[0],n=t.getBoundingClientRect();return{exists:!0,tag:t.tagName,className:t.className,rect:{top:Math.round(n.top),left:Math.round(n.left),width:Math.round(n.width),height:Math.round(n.height)}}}catch(e){return{exists:!1}}},forceReflow:function(e){try{e&&e[0]&&e[0].offsetWidth}catch(e){}},getWordsSnapshot:function(){return[]},logOverlayState:function(){},computeNaturalSizes:function(){var r=this.getSettings("classes"),a=0,s=0;this.elements.$dynamicText.each(function(){var e=o(this),t=e.clone();t.removeClass(r.textActive+" "+r.textInactive+" "+r.animationIn),t.find("."+r.dynamicLetter).removeClass(r.animationIn),t.css({position:"absolute",visibility:"hidden",left:"-9999px",top:"-9999px",width:"auto",height:"auto",whiteSpace:"normal",display:"inline-block"}),o(document.body).append(t);var n=t.outerWidth(),i=t.outerHeight();e.data("natural-width",n),e.data("natural-height",i),a<i&&(a=i),s<n&&(s=n),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:function(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()},switchWord:function(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 n=this.elements.$heading.hasClass(this.getSettings("classes").letters),i=this.getElementSettings("animation_type"),r=["flip","slide","slide-down","drop-in"];n||-1!==r.indexOf(i)?(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:""})),n||-1!==r.indexOf(i)||"clip"===i||"typing"===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:function(){var r=this.getSettings("classes");this.elements.$dynamicText.each(function(){var n=o(this),i=n.hasClass(r.textActive),e=n.contents().toArray();n.empty(),e.forEach(function(e){3===e.nodeType?e.nodeValue.split("").forEach(function(e){var t=o("<span>",{class:r.dynamicLetter});" "===e?t.html("&nbsp;"):t.text(e),i&&t.addClass(r.animationIn),n.append(t)}):1===e.nodeType&&"BR"===e.nodeName?n.append("<br>"):1===e.nodeType&&n.append(o(e).clone())}),n.css("opacity",1)}),"typing"===this.getElementSettings("animation_type")&&this.createTypingCursor()},createTypingCursor:function(){var e=this.getSettings("classes");this.elements.$dynamicWrapper.find("."+e.typingCursor).remove(),this.$cursor=o("<span>",{class:e.typingCursor,"aria-hidden":"true"}).text("|"),this.positionCursor()},positionCursor:function(){var e,t=this.getSettings("classes"),n=this.elements.$dynamicText.filter("."+t.textActive);this.$cursor&&n.length&&(this.$cursor.detach(),0<(e=n.find("."+t.dynamicLetter+"."+t.animationIn)).length?e.last().after(this.$cursor):n.prepend(this.$cursor))},getNextLetter:function(e){var t=this.getSettings("classes");return e.nextAll("."+t.dynamicLetter).eq(0)},showLetter:function(e,t,n,i){var r=this,a=this.getSettings("classes");e.addClass(a.animationIn),"typing"===this.getElementSettings("animation_type")&&this.positionCursor();var s=this.getNextLetter(e);s&&s.length?setTimeout(function(){r.showLetter(s,t,n,i)},i):n||setTimeout(function(){r.hideWord(t)},r.getSettings("animationDelay"))},hideLetter:function(e,t,n,i){var r=this,a=this.getSettings();e.removeClass(a.classes.animationIn),"typing"===this.getElementSettings("animation_type")&&this.positionCursor();var s=this.getNextLetter(e);s&&s.length?setTimeout(function(){r.hideLetter(s,t,n,i)},i):(n&&setTimeout(function(){r.hideWord(r.getNextWord(t))},r.getSettings("animationDelay")),t.css({position:"absolute",left:0,top:0,opacity:0,display:"inline",pointerEvents:"none"}))},showWord:function(e,t){var n=this.getSettings(),i=this.getElementSettings("animation_type");return"typing"===i?(e.css({display:"inline",position:"static",opacity:1,pointerEvents:""}),this.elements.$dynamicWrapper.css("width",""),e.siblings(n.selectors&&n.selectors.dynamicText?n.selectors.dynamicText:"."+n.classes.dynamicText).css({display:"none"}),this.showLetter(e.find("."+n.classes.dynamicLetter).eq(0),e,!1,t),void e.addClass(n.classes.textActive).removeClass(n.classes.textInactive)):"clip"===i?this.showClipWord(e):void 0},hideWord:function(e){var t=this,n=t.getSettings(),i=n.classes,r="."+i.dynamicLetter,a=t.getElementSettings("animation_type"),s=t.getNextWord(e);if(this.isLoopMode||!e.is(":last-child")){if("typing"===a)return s.css({display:"inline",position:"static",opacity:1,pointerEvents:""}),this.elements.$dynamicWrapper.css("width",""),t.$cursor&&t.$cursor.hide(),t.elements.$dynamicWrapper.addClass(i.typeSelected),setTimeout(function(){t.elements.$dynamicWrapper.removeClass(i.typeSelected),e.addClass(n.classes.textInactive).removeClass(i.textActive).children(r).removeClass(i.animationIn),t.$cursor&&t.$cursor.show()},n.selectionDuration),void setTimeout(function(){t.showWord(s,n.typeLettersDelay)},n.typeAnimationDelay);if(t.elements.$heading.hasClass(i.letters)){e.removeClass(i.textActive).addClass(i.textInactive),s.removeClass(i.textInactive).addClass(i.textActive),s.css({position:"static",opacity:1,display:"inline",pointerEvents:""}),e.css({display:"none",position:"absolute",left:0,top:0,opacity:0,pointerEvents:"none"});var o=e.children(r).length>=s.children(r).length;return t.hideLetter(e.find(r).eq(0),e,o,n.lettersDelay),t.showLetter(s.find(r).eq(0),s,o,n.lettersDelay),void t.setDynamicWrapperWidth(s)}if("clip"===a)return e.css({display:"none"}),t.switchWord(e,s),void t.showWord(s);if(-1!==["flip","slide","slide-down","drop-in"].indexOf(a)){var l=e.data("natural-width")||t.getNaturalOuterWidth(e),u=s.data("natural-width")||t.getNaturalOuterWidth(s);return t.elements.$dynamicWrapper.css("width",Math.max(2,l)),s.removeClass(i.textActive).addClass(i.textInactive),s.css({display:"none",position:"static",opacity:1,pointerEvents:""}),e.removeClass(i.textActive).addClass(i.textInactive),void e.off("animationend.ravenAH").one("animationend.ravenAH",function(){e.css({display:"none"}),s.css({display:"inline"}),s[0]&&s[0].offsetWidth,s.removeClass(i.textInactive).addClass(i.textActive),t.elements.$dynamicWrapper.css("width",Math.max(2,u)),setTimeout(function(){t.hideWord(s)},500)})}t.switchWord(e,s),setTimeout(function(){t.hideWord(s)},n.animationDelay)}},setDynamicWrapperWidth:function(e,t){var n,i,r,a,s,o,l=1<arguments.length&&void 0!==t&&t,u=this.getElementSettings("animation_type");"clip"!==u&&"typing"!==u&&this.elements.$dynamicWrapper&&this.elements.$dynamicWrapper[0]&&(n=this.elements.$dynamicWrapper,i=e&&e.length?e:this.elements.$dynamicText.filter("."+this.getSettings("classes").textActive).eq(0),r=this.elements.$heading.hasClass(this.getSettings("classes").letters),a=Math.max(2,this.getWrapperAutoWidthForWord(i)+(r?2:0)),s=parseFloat(n[0].style.width)||0,o=Math.max(2,Math.round(n[0].getBoundingClientRect().width||0)),l&&!r?(s||(n.css("width",o),n[0].offsetWidth),n.off("transitionend.ahWidth").on("transitionend.ahWidth",function(e){e&&"width"!==e.propertyName||n.off("transitionend.ahWidth")}),(window.requestAnimationFrame||window.setTimeout)(function(){n.css("width",a)},16)):n.css("width",a))},animateHeading:function(){var e,t,n=this,i=n.getElementSettings("animation_type"),r=n.elements.$dynamicWrapper;n.computeNaturalSizes(),"clip"!==i&&"typing"!==i?(e=n.elements.$dynamicText.filter("."+n.getSettings("classes").textActive),n.setDynamicWrapperWidth(e.length?e:n.elements.$dynamicText.eq(0))):"clip"===i?(t=n.elements.$dynamicText.eq(0).data("natural-width")||n.elements.$dynamicText.eq(0).outerWidth(),n.elements.$dynamicWrapper.width(Math.max(2,t+10))):n.elements.$dynamicWrapper.css("width",""),"clip"===i&&r.width(Math.max(2,r.width()+10));var a=n.elements.$dynamicText.eq(0),s=n.getNextWord(a);if(-1!==["flip","slide","slide-down","drop-in"].indexOf(i)&&n.elements.$dynamicText.not(a).removeClass(n.getSettings("classes").textActive+" "+n.getSettings("classes").textInactive),s.addClass(n.getSettings("classes").textInactive).removeClass(n.getSettings("classes").textActive),"clip"===i)return n.elements.$dynamicText.not(a).css({display:"none"}),void n.showWord(a);a.addClass(n.getSettings("classes").textActive).removeClass(n.getSettings("classes").textInactive),n.elements.$heading.hasClass(n.getSettings("classes").letters)&&a.find("."+n.getSettings("classes").dynamicLetter).addClass(n.getSettings("classes").animationIn),setTimeout(function(){n.hideWord(a)},n.getSettings("animationDelay"))},getSvgPaths:function(e){var t=this.svgPaths[e],n=o();return t.forEach(function(e){n=n.add(o("<path>",{d:e}))}),n},addHighlight:function(){var e=this.getElementSettings(),t=o("<svg>",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 150",preserveAspectRatio:"none"}).html(this.getSvgPaths(e.marker));this.elements.$dynamicWrapper.append(t[0].outerHTML)},rotateHeading:function(){var e,t=this.getSettings();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"})):(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"}),-1!==["flip","slide","slide-down","drop-in"].indexOf(this.getElementSettings("animation_type"))&&(this.elements.$dynamicWrapper.css({position:"relative"}),(e=this.elements.$dynamicText.filter("."+t.classes.textActive)).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());var n=this.getElementSettings("animation_type");if(-1!==["flip","slide","slide-down","drop-in"].indexOf(n))return this.runOverlayLoop();this.animateHeading()},getOverlayOutDurationMs:function(){switch(this.getElementSettings("animation_type")){case"flip":return 1200;case"slide":case"slide-down":return 600;case"drop-in":default:return 800}},runOverlayLoop:function(){var l=this;return(0,r.default)(u.default.mark(function e(){var t,n,i,r,a,s,o;return u.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:t=l.getSettings(),n=t.classes,i=l.getElementSettings("animation_type"),r=l.elements.$dynamicText,(a=r.filter("."+n.textActive).eq(0)).length||(a=r.eq(0)).addClass(n.textActive).removeClass(n.textInactive),-1!==["flip","slide","slide-down","drop-in"].indexOf(i)?(r.not(a).css({position:"absolute",left:0,top:0,pointerEvents:"none"}),a.css({position:"static",pointerEvents:""})):(r.not(a).css({display:"none",position:"static",opacity:1}),a.css({display:"inline",position:"static",opacity:1})),l.elements.$dynamicWrapper.css("width",""),s=l.getOverlayOutDurationMs();case 9:return o=l.getNextWord(a),-1!==["flip","slide","slide-down","drop-in"].indexOf(i)?(l.elements.$dynamicText.not(a).removeClass(n.textActive+" "+n.textInactive),o.removeClass(n.textActive+" "+n.textInactive),o.css({position:"absolute",left:0,top:0,pointerEvents:"none"})):o.removeClass(n.textActive).addClass(n.textInactive).css({display:"none",position:"static",opacity:1}),e.next=14,l.sleep(l.getSettings("animationDelay"));case 14:return a.removeClass(n.textActive).addClass(n.textInactive),e.next=17,l.waitForAnimationEnd(a,s);case 17:if(-1===["flip","slide","slide-down","drop-in"].indexOf(i)&&a.css({display:"none"}),-1!==["flip","slide","slide-down","drop-in"].indexOf(i)?l.forceReflow(o):o.css({display:"inline",position:"static",opacity:1,pointerEvents:""}),o[0]&&o[0].offsetWidth,o.removeClass(n.textInactive).addClass(n.textActive),-1!==["flip","slide","slide-down","drop-in"].indexOf(i)&&(l.forceReflow(o),a.css({position:"absolute",left:0,top:0,pointerEvents:"none"}),o.css({position:"static",pointerEvents:""})),a=o,!l.isLoopMode&&a.is(":last-child"))return e.abrupt("break",27);e.next=25;break;case 25:e.next=9;break;case 27:case"end":return e.stop()}},e)}))()},initHeading:function(){var e=this.getElementSettings("heading_style");this._headingInitialized||("rotate"===e?this.rotateHeading():"highlight"===e&&(this.addHighlight(),this.activateHighlightAnimation()),this.deactivateScrollListener(),this._headingInitialized=!0)},activateHighlightAnimation:function(){var e=this,t=this.getSettings(),n=t.classes,i=this.elements.$heading;i.removeClass(n.hideHighlight).addClass(n.activateHighlight),this.isLoopMode&&(setTimeout(function(){i.removeClass(n.activateHighlight).addClass(n.hideHighlight)},t.highlightAnimationDuration+.8*t.highlightAnimationDelay),setTimeout(function(){e.activateHighlightAnimation(!1)},t.highlightAnimationDuration+t.highlightAnimationDelay))},activateScrollListener:function(){var t=this;this.elements.$heading&&this.elements.$heading.length&&(this.intersectionObservers.startAnimation.observer=elementorModules.utils.Scroll.scrollObserver({offset:"0px 0px ".concat(-100,"px"),callback:function(e){e.isInViewport&&t.initHeading()}}),this.intersectionObservers.startAnimation.element=this.elements.$heading[0],this.intersectionObservers.startAnimation.element&&this.intersectionObservers.startAnimation.observer.observe(this.intersectionObservers.startAnimation.element))},deactivateScrollListener:function(){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,"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/regenerator":108}],31:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),"yes"===this.getInstanceValue("turn_to_popup_action_button")&&this.registerEventForPopup()},registerEventForPopup:function(){var 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,"@babel/runtime/helpers/interopRequireDefault":96}],32:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("@babel/runtime/regenerator")),a=i(e("@babel/runtime/helpers/asyncToGenerator")),s=i(e("@babel/runtime/helpers/classCallCheck")),o=i(e("@babel/runtime/helpers/createClass")),l=i(e("@babel/runtime/helpers/inherits")),u=i(e("@babel/runtime/helpers/possibleConstructorReturn")),c=i(e("@babel/runtime/helpers/getPrototypeOf"));function d(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,c.default)(i);return t=r?(e=(0,c.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.default)(this,t)}}var p=function(e){(0,l.default)(i,e);var t,n=d(i);function i(){return(0,s.default)(this,i),n.apply(this,arguments)}return(0,o.default)(i,[{key:"onInit",value:(t=(0,a.default)(r.default.mark(function e(){var t,n,i=arguments;return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,i),t=this.getElementSettings(),this.getSlidesCount()<=1)return e.abrupt("return");e.next=4;break;case 4:return n=elementorFrontend.utils.swiper,e.next=7,new n(this.elements.$swiperContainer,this.getSwiperOptions());case 7:this.swiper=e.sent,"yes"===t.pause_on_hover&&this.togglePauseOnHover(!0),this.elements.$swiperContainer.data("swiper",this.swiper);case 10:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"getDefaultSettings",value:function(){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}}}},{key:"getDefaultElements",value:function(){var e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.swiperContainer)};return t.$slides=t.$swiperContainer.find(e.swiperSlide),t}},{key:"getEffect",value:function(){return this.getElementSettings("effect")}},{key:"getDeviceSlidesPerView",value:function(e){var t,n,i="slides_per_view"+("desktop"===e?"":"_"+e);return null!==(t=this.getElementSettings(i))&&void 0!==t&&t.size?Math.min(this.getSlidesCount(),+(null===(n=this.getElementSettings(i))||void 0===n?void 0:n.size)||this.getSettings("slidesPerView")[e]):Math.min(this.getSlidesCount(),+this.getElementSettings(i)||this.getSettings("slidesPerView")[e])}},{key:"getSlidesPerView",value:function(e){return"slide"===this.getEffect()?this.getDeviceSlidesPerView(e):1}},{key:"getDeviceSlidesToScroll",value:function(e){var t="slides_to_scroll"+("desktop"===e?"":"_"+e);return Math.min(this.getSlidesCount(),+this.getElementSettings(t)||1)}},{key:"getSlidesToScroll",value:function(e){return"slide"===this.getEffect()||"coverflow"===this.getElementSettings("skin")?this.getDeviceSlidesToScroll(e):1}},{key:"getSpaceBetween",value:function(e){var t="space_between";return e&&"desktop"!==e&&(t+="_"+e),Number(this.getElementSettings(t).size)||0}},{key:"getSwiperOptions",value:function(){var e,t,n,i,r=this,a=this.getElementSettings(),s={grabCursor:!0,initialSlide:this.getInitialSlide(),slidesPerView:this.getSlidesPerView("desktop"),slidesPerGroup:this.getSlidesToScroll("desktop"),spaceBetween:this.getSpaceBetween(),loop:"yes"===a.loop,loopedSlides:a.loopedSlides,speed:a.speed,effect:this.getEffect(),preventClicksPropagation:!1,slideToClickedSlide:!0,handleElementorBreakpoints:!0,centeredSlides:"yes"===a.overflow_visible||"yes"===a.centered_slides};"yes"!==a.lazyload&&!this.elements.$swiperContainer.find("img").hasClass("swiper-lazy")||(s.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),a.show_arrows&&(s.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),a.pagination&&(s.pagination={el:".swiper-pagination",type:a.pagination,clickable:!0}),"cube"!==this.getEffect()&&(n={},i=elementorFrontend.config.responsive.activeBreakpoints,Object.keys(i).forEach(function(e){n[i[e].value]={slidesPerView:r.getSlidesPerView(e),slidesPerGroup:r.getSlidesToScroll(e),spaceBetween:r.getSpaceBetween(e)}}),s.breakpoints=n),a.autoplay&&(s.autoplay={delay:a.autoplay_speed,disableOnInteraction:!!a.pause_on_interaction});var o=this.findElement(".raven-swiper");return null!==(e=this.$element[0])&&void 0!==e&&(null!==(t=e.classList)&&void 0!==t&&t.contains("elementor-widget-raven-media-carousel"))&&(s.on={init:function(){o[0].classList.add("media-carousel-initiated"),o[1]&&o[1].classList.add("media-carousel-initiated")}}),s}},{key:"getDeviceBreakpointValue",value:function(e){var t,n=this;return this.breakpointsDictionary||(t=elementorFrontend.config.responsive.activeBreakpoints,this.breakpointsDictionary={},Object.keys(t).forEach(function(e){n.breakpointsDictionary[e]=t[e].value})),this.breakpointsDictionary[e]}},{key:"updateSpaceBetween",value:function(e){var t=e.match("space_between_(.*)"),n=t?t[1]:"desktop",i=this.getSpaceBetween(n);"desktop"!==n&&(this.swiper.params.breakpoints[this.getDeviceBreakpointValue(n)].spaceBetween=i),this.swiper.params.spaceBetween=i,this.swiper.update()}},{key:"getChangeableProperties",value:function(){return{autoplay:"autoplay",pause_on_hover:"pauseOnHover",pause_on_interaction:"disableOnInteraction",autoplay_speed:"delay",speed:"speed",width:"width"}}},{key:"updateSwiperOption",value:function(e){if(0!==e.indexOf("width")){var t=this.getElementSettings(),n=t[e],i=this.getChangeableProperties()[e],r=n;switch(e){case"autoplay":r=!1,n&&(r={delay:t.autoplay_speed,disableOnInteraction:"yes"===t.pause_on_interaction});break;case"autoplay_speed":i="autoplay",r={delay:n,disableOnInteraction:"yes"===t.pause_on_interaction};break;case"pause_on_hover":this.togglePauseOnHover("yes"===n);break;case"pause_on_interaction":r="yes"===n}"pause_on_hover"!==e&&(this.swiper.params[i]=r),this.swiper.update()}else this.swiper.update()}},{key:"onElementChange",value:function(e){if(!(this.getSlidesCount()<=1)){if(0===e.indexOf("width"))return this.swiper.update(),void(this.thumbsSwiper&&this.thumbsSwiper.update());0!==e.indexOf("space_between")?this.getChangeableProperties().hasOwnProperty(e)&&this.updateSwiperOption(e):this.updateSpaceBetween(e)}}},{key:"onEditSettingsChange",value:function(e){this.getSlidesCount()<=1||"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}},{key:"handlePaginationGap",value:function(){var r=this,a=elementorFrontend.config.responsive.activeBreakpoints,s=elementorFrontend.config.experimentalFeatures.e_swiper_latest?".elementor-element-"+this.getID()+" .raven-main-swiper.swiper":".elementor-element-"+this.getID()+" .raven-main-swiper",e=this.getElementSettings("pagination_gap")?this.getElementSettings("pagination_gap").size:0,t=this.elements.$swiperContainer.outerHeight()+e,n=parseInt(this.elements.$swiperContainer.css("padding-bottom"),10)+e,o="<style> ";this.getElementSettings("pagination_gap")&&e&&(o+=s+"{ height: "+t+"px !important; padding-bottom: "+n+"px;}"),Object.keys(a).reverse().forEach(function(e){var t,n,i=!!r.getElementSettings("pagination_gap_"+e)&&r.getElementSettings("pagination_gap_"+e).size;r.getElementSettings("pagination_gap_"+e)&&!1!==i&&(t=r.elements.$swiperContainer.outerHeight()+i,n=parseInt(r.elements.$swiperContainer.css("padding-bottom"),10)+i,o+=" @media screen and (max-width:"+a[e].value+"px){"+s+"{ height: "+t+"px !important; padding-bottom: "+n+"px;}}")}),o+="</style> ",this.elements.$swiperContainer.append(o)}}]),i}(elementorModules.frontend.handlers.SwiperBase);n.default=p},{"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101,"@babel/runtime/regenerator":108}],33:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new c({$element:e})};var d=i(e("@babel/runtime/regenerator")),r=i(e("@babel/runtime/helpers/asyncToGenerator")),a=i(e("@babel/runtime/helpers/classCallCheck")),s=i(e("@babel/runtime/helpers/createClass")),p=i(e("@babel/runtime/helpers/get")),o=i(e("@babel/runtime/helpers/inherits")),l=i(e("@babel/runtime/helpers/possibleConstructorReturn")),h=i(e("@babel/runtime/helpers/getPrototypeOf"));function u(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,h.default)(i);return t=r?(e=(0,h.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,l.default)(this,t)}}var c=function(e){(0,o.default)(c,e);var t,n=u(c);function c(){return(0,a.default)(this,c),n.apply(this,arguments)}return(0,s.default)(c,[{key:"onInit",value:(t=(0,r.default)(d.default.mark(function e(){var t,n,i,r,a,s,o,l,u=this;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,p.default)((0,h.default)(c.prototype),"onInit",this).call(this);case 2:if(t=this.getSlidesCount(),this.handlePaginationGap(),!this.isSlideshow()||t<=1)return e.abrupt("return");e.next=6;break;case 6:return n=this.getElementSettings(),i="yes"===n.loop,r={},a=elementorFrontend.config.responsive.activeBreakpoints,s=this.getDeviceSlidesPerView("desktop"),Object.keys(a).forEach(function(e){r[a[e].value]={slidesPerView:u.getDeviceSlidesPerView(e),spaceBetween:u.getSpaceBetween(e)}}),o={slidesPerView:s,initialSlide:this.getInitialSlide(),centeredSlides:n.centered_slides,slideToClickedSlide:!0,spaceBetween:this.getSpaceBetween(),loopedSlides:t,loop:i,breakpoints:r,handleElementorBreakpoints:!0},"yes"===n.lazyload&&(o.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),l=elementorFrontend.utils.swiper,e.next=13,new l(this.elements.$thumbsSwiper,o);case 13:this.swiper.controller.control=this.thumbsSwiper=e.sent,this.elements.$thumbsSwiper.data("swiper",this.thumbsSwiper),this.thumbsSwiper.controller.control=this.swiper;case 16:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"isSlideshow",value:function(){return"slideshow"===this.getElementSettings("skin")}},{key:"getDefaultSettings",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=(e=(0,p.default)((0,h.default)(c.prototype),"getDefaultSettings",this)).call.apply(e,[this].concat(n));return this.isSlideshow()&&(r.selectors.thumbsSwiper=".raven-thumbnails-swiper",r.slidesPerView={widescreen:5,desktop:5,laptop:5,tablet_extra:5,tablet:4,mobile_extra:4,mobile:3}),r}},{key:"getSlidesPerViewSettingNames",value:function(){var e,t=this;return this.slideshowElementSettings||(this.slideshowElementSettings=["slides_per_view"],e=elementorFrontend.config.responsive.activeBreakpoints,Object.keys(e).forEach(function(e){t.slideshowElementSettings.push("slides_per_view_"+e)})),this.slideshowElementSettings}},{key:"getElementSettings",value:function(e){return-1!==this.getSlidesPerViewSettingNames().indexOf(e)&&this.isSlideshow()&&(e="slideshow_"+e),(0,p.default)((0,h.default)(c.prototype),"getElementSettings",this).call(this,e)}},{key:"getDefaultElements",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=this.getSettings("selectors"),a=(e=(0,p.default)((0,h.default)(c.prototype),"getDefaultElements",this)).call.apply(e,[this].concat(n));return this.isSlideshow()&&(a.$thumbsSwiper=this.$element.find(r.thumbsSwiper)),a}},{key:"getEffect",value:function(){return"coverflow"===this.getElementSettings("skin")?"coverflow":(0,p.default)((0,h.default)(c.prototype),"getEffect",this).call(this)}},{key:"getSlidesPerView",value:function(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:(0,p.default)((0,h.default)(c.prototype),"getSlidesPerView",this).call(this,e)}},{key:"getSwiperOptions",value:function(){var e=(0,p.default)((0,h.default)(c.prototype),"getSwiperOptions",this).call(this);return this.isSlideshow()&&(e.loopedSlides=this.getSlidesCount(),delete e.pagination,delete e.breakpoints),e}}]),c}(i(e("../carousel/base")).default)},{"../carousel/base":32,"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101,"@babel/runtime/regenerator":108}],34:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new h({$element:e})};var r=i(e("@babel/runtime/regenerator")),a=i(e("@babel/runtime/helpers/asyncToGenerator")),s=i(e("@babel/runtime/helpers/classCallCheck")),o=i(e("@babel/runtime/helpers/createClass")),l=i(e("@babel/runtime/helpers/get")),u=i(e("@babel/runtime/helpers/inherits")),c=i(e("@babel/runtime/helpers/possibleConstructorReturn")),d=i(e("@babel/runtime/helpers/getPrototypeOf"));function p(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.default)(i);return t=r?(e=(0,d.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,c.default)(this,t)}}var h=function(e){(0,u.default)(i,e);var t,n=p(i);function i(){return(0,s.default)(this,i),n.apply(this,arguments)}return(0,o.default)(i,[{key:"onInit",value:(t=(0,a.default)(r.default.mark(function e(){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,l.default)((0,d.default)(i.prototype),"onInit",this).call(this);case 2:this.handlePaginationGap();case 3:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})},{key:"getDefaultSettings",value:function(){var t=(0,l.default)((0,d.default)(i.prototype),"getDefaultSettings",this).call(this);return t.slidesPerView={desktop:1},Object.keys(elementorFrontend.config.responsive.activeBreakpoints).forEach(function(e){t.slidesPerView[e]=1}),t.loop&&(t.loopedSlides=this.getSlidesCount()),t}},{key:"getEffect",value:function(){return"slide"}}]),i}(i(e("../carousel/base")).default)},{"../carousel/base":32,"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101,"@babel/runtime/regenerator":108}],35:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new a({$element:e})};var r=i(e("../utils/module"));$=jQuery;var a=r.default.extend({getDefaultSettings:function(){return{selectors:{shippingMethods:"ul.woocommerce-shipping-methods li",productName:".cart_item .product-name",productQuantity:".cart_item .product-quantity"}}},bindEvents:function(){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:function(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:function(){document.body.classList.contains("woocommerce-cart")&&document.body.classList.add("raven-cart-wiget-cart-page")},fixVariationStyle:function(){var e=this.getSettings("selectors"),t=this.$element.find(e.productName).find("a").css("font-size"),n=this.$element.find(e.productName).find(".product-variations");t&&(n.find("div").css("font-size","calc("+t+" * 0.7)"),n.find("span").css("font-size","calc("+t+" * 0.7)"))},fixDividerStyle:function(){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:function(){var e,t,n,i,r,a,s=this.getSettings("selectors");this.getInstanceValue("cart_quantity_width")&&("px"!==(null===(e=this.getInstanceValue("cart_quantity_width"))||void 0===e?void 0:e.unit)?(t=parseFloat(this.$element.find(s.productQuantity).css("width")),n=this.getInstanceValue("cart_quantity_width").unit,i=this.getInstanceValue("cart_quantity_width").size,r=0,"%"===n?r=i/100*t:"em"===n&&(r=i*t),0!==r&&("plus_minus"===this.getInstanceValue("cart_quantity_view")&&(r-=2*parseFloat(this.$element.find(s.productQuantity).find(".input-group-prepend").css("width")),this.$element.find(s.productQuantity).find("input").css("flex","inherit")),this.$element.find(s.productQuantity).find("input").css("width",r+"px"))):this.$element.find(s.productQuantity).find("input").css("width",(null===(a=this.getInstanceValue("cart_quantity_width"))||void 0===a?void 0:a.size)+"px"))},fixShippingAjaxStyle:function(){var i=this;$(document).ajaxComplete(function(e,t,n){-1!==n.url.indexOf("wc-ajax=update_shipping_method")&&(i.getInstanceValue("cart_items_continue_shopping")||$(".elementor-widget-raven-cart.elementor-element-"+i.getID()+" .jupiterx-continue-shopping").hide(),$(".elementor-widget-raven-cart.elementor-element-"+i.getID()+" .checkout-button").text(i.getInstanceValue("checkout_button_text")),$(".elementor-widget-raven-cart.elementor-element-"+i.getID()+" .cart_totals h2").text(i.getInstanceValue("totals_section_title")))})},handleShippingMethodList:function(){var e=this.getSettings("selectors");this.$element.find(e.shippingMethods).length<1||(this.$element.find(e.shippingMethods).each(function(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:function(){"plus_minus"===this.getInstanceValue("cart_quantity_view")&&this.$element.find(".cart_item").each(function(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",function(){$(t).find(".input-text.qty").val($(t).find(".custom-qty-input").find(".input-text.qty").val())}),$(t).on("click",".btn-increment",function(){$(t).find(".input-text.qty").val(function(e,t){return parseInt(t,10)+1}).trigger("change")}),$(t).on("click",".btn-decrement",function(){$(t).find(".input-text.qty").val(function(e,t){return 1<parseInt(t,10)?parseInt(t,10)-1:parseInt(t,10)}).trigger("change")}))})},handleRadioSpan:function(){var e=document.getElementsByClassName("raven-cart-shipping-method-radio");Object.values(e).forEach(function(e,t){e.addEventListener("click",function(e){e.currentTarget.previousElementSibling.click()})})}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],36:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var r=i(e("../utils/module")),a=i(e("../utils/masonry")),s=r.default.extend({Masonry:null,onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),"masonry"===this.getInstanceValue("layout")&&this.createMasonry()},createMasonry:function(){this.Masonry=new a.default({$element:this.$element}),this.Masonry.run()}})},{"../utils/masonry":8,"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],37:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({breakpoints:{},animation:!1,progress:0,value:0,circumference:0,getDefaultSettings:function(){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:function(){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:function(){this.setValues(),0!==parseInt(this.value)&&(this.handleBar(),this.handleCounter(),this.handleResize())},setValues:function(){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:function(e,n){var i=this,r=new IntersectionObserver(function(e){e.forEach(function(e){var t;e.isIntersecting&&(n.fromValue=0,n.toValue=i.value,n.duration=i.getInstanceValue("duration"),i.elements.$counterNumber.numerator(n),i.animation=!0,t=i.circumference*(1-i.progress),i.elements.$value.css({transitionDuration:n.duration+"ms",strokeDashoffset:t}),r.disconnect())})},{threshold:.8});r.observe(e[0])},handleCounter:function(){var e={fromValue:0};"yes"===this.getInstanceValue("separate_Ttousands")&&(e.delimiter=","),this.createObserver(this.elements.$wrapper,e)},handleBar:function(){var e=elementorFrontend.config.responsive.activeBreakpoints,t=elementorFrontend.getCurrentDeviceMode(),u=this.getElementSettings(),c=this;e.desktop=[],e[t]&&Object.keys(e).reverse().forEach(function(e){var t="desktop"===e?u.circle_size.size:u["circle_size_".concat(e)].size,n="desktop"===e?u.progress_circle_thickness.size:u["progress_circle_thickness_".concat(e)].size,i="desktop"===e?u.progress_indicator_thickness.size:u["progress_indicator_thickness_".concat(e)].size,t=c.handleEmptyValues(t,"size"),n=c.handleEmptyValues(n,"meter"),i=c.handleEmptyValues(i,"value"),r="0 0 ".concat(t," ").concat(t),a=t/2,s=n<=i?i:n,o=a-s/2,l=2*Math.PI*o;c.breakpoints[e]={size:t,meter:n,value:i,viewBox:r,center:a,thickness:s,radius:o,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:function(e,t){if(e)return e;var n=Object.keys(this.breakpoints).length-1;if(n<0)return e;var i=Object.keys(this.breakpoints)[n];return this.breakpoints[i][t]},handleResize:function(){var t=this;$(window).on("resize orientationchange",function(){var e=elementorFrontend.getCurrentDeviceMode();if(document.body.classList.contains("elementor-editor-active"))return t.breakpoints={},void setTimeout(function(){return 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:function(e,t,n,i,r,a,s){var o=s*(1-this.progress);this.elements.$bar.attr({width:e,height:e,"data-radius":i,"data-circumference":s}),this.elements.$bar[0].setAttribute("viewBox",t),this.elements.$meter.attr({cx:n,cy:n,r:i,"stroke-width":a}),this.animation&&this.elements.$value.css({transitionDuration:""}),this.elements.$value.attr({cx:n,cy:n,r:i,"stroke-width":r}),this.elements.$value.css({strokeDasharray:s,strokeDashoffset:this.animation?o:s})}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],38:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var r=i(e("../utils/module")),a=jQuery,s=r.default.extend({onInit:function(){Prism.highlightAllUnder(this.$element[0],!1),this.changeActiveTabEvent()},onElementChange:function(e){var t,n=this;"code"!==e&&"height"!==e&&("src"===e&&(t=this.getElementSettings("src"),this.addRelatedJs(t)),setTimeout(function(){Prism.highlightAllUnder(n.$element[0],!1)},1500))},addRelatedJs:function(e){var t='div[data-id="'+this.getID()+'"]',n=a(t);n.empty(),"cpp"!==e&&"objectivec"!==e||n.append('<script src="'+elementor.config.jx_assets_url+'/lib/code-highlight/prism-c.min.js" ><\/script>'),"scala"===e&&n.append('<script src="'+elementor.config.jx_assets_url+'/lib/code-highlight/prism-java.min.js" ><\/script>'),"scss"!==e&&"sass"!==e||n.append('<script src="'+elementor.config.jx_assets_url+'/lib/code-highlight/prism-css.min.js" ><\/script>')},changeActiveTabEvent:function(){var e=this;document.addEventListener("jupiterxcore:advancedtabs:changeactivetab",function(){Prism.highlightAllUnder(e.$element[0],!1)})}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],39:[function(e,t,n){"use strict";var r;(r=jQuery)(document).on("click",".raven-column-link",function(e){var t=r(this).data("ravenLink"),n=r(this).data("ravenLinkTarget");!function(e,t,n,i){if(r(i.target).filter("a, a *, .no-link, .no-link *").length)return;if(t.match(/^#elementor-action/))return e.find(".raven-column-link-dynamic").length||e.append('<a class="raven-column-link-dynamic" href="'.concat(t,'"></a>')),e.find(".raven-column-link-dynamic").trigger("click");if(t.match(/^#/))return r(t).length&&document.querySelector(t).scrollIntoView({behavior:"smooth"});window.open(t,n)}(r(this),t,n,e)})},{}],40:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var t=e.find(".raven-content-switch-container"),n=t.find(".raven-content-switch-input"),i=t.find(".raven-content-switch-two-content"),r=t.data("default_state"),a=i.find('li[data-type="raven-content-switch-monthly"]'),s=i.find('li[data-type="raven-content-switch-yearly"]'),o=e.find(".raven-content-switch-primary-label"),l=e.find(".raven-content-switch-secondary-label"),u=e.find(".raven-content-switch-button"),c={};function d(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")})}n.prop("checked","primary"===r),c[0]=a,c[1]=s,n.on("click",function(e){var t=$(e.target).val();$(this).hasClass("raven-content-switch-input-active")?(t=1,l.toggleClass("selected"),o.toggleClass("selected"),$(this).toggleClass("raven-content-switch-input-normal raven-content-switch-input-active"),u.toggleClass("primary secondary"),d(c,t)):$(this).hasClass("raven-content-switch-input-normal")&&(t=0,l.toggleClass("selected"),o.toggleClass("selected"),$(this).toggleClass("raven-content-switch-input-normal raven-content-switch-input-active"),u.toggleClass("primary secondary"),d(c,t))})}},{}],41:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){var t=e.find("[data-raven-countdown]"),n=t.data("raven-countdown"),i=void 0!==t.data("raven-days")?t.data("raven-days"):"Day%!D",r=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",s=void 0!==t.data("raven-seconds")?t.data("raven-seconds"):"Second%!S";t.countdown(n,function(e){t.html(e.strftime(e.strftime('\n      <div class="raven-countdown-box raven-flex-1">\n        <span class="raven-countdown-number">%D</span>\n        <span class="raven-countdown-title"> '.concat(i,'</span>\n      </div>\n      <div class="raven-countdown-box raven-flex-1">\n        <span class="raven-countdown-number">%H</span>\n        <span class="raven-countdown-title"> ').concat(r,'</span>\n      </div>\n      <div class="raven-countdown-box raven-flex-1">\n        <span class="raven-countdown-number">%M</span>\n        <span class="raven-countdown-title"> ').concat(a,'</span>\n      </div>\n      <div class="raven-countdown-box raven-flex-1">\n        <span class="raven-countdown-number">%S</span>\n        <span class="raven-countdown-title"> ').concat(s,"</span>\n      </div>\n    "))))})}},{}],42:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){$=jQuery;var t=e.find("[data-raven-counter]");t.each(function(){var i,r,e=$(this);i=e,(r=new IntersectionObserver(function(e){e.forEach(function(e){var t,n;e.isIntersecting&&((n=(t=i.data()).toValue.toString().match(/\.(.*)/))&&(t.rounding=n[1].length),t.fromValue=$.trim(i.text()),i.numerator(t),r.disconnect())})})).observe(i[0])})}},{}],43:[function(t,e,n){"use strict";var i=t("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new a({$element:e})};var u=i(t("@babel/runtime/helpers/slicedToArray")),r=i(t("../utils/module")),c=t("@wordpress/i18n");function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(o)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var a=r.default.extend({form:null,captchaV3Ids:[],reCaptchaCheckTimeout:null,isMultiStep:!1,itiCountry:null,onInit:function(){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]"),t={firstDayOfWeek:1},n=e.data("locale");void 0!==n&&"default"!==n&&(t=n),e.flatpickr({locale:t,minuteIncrement:1,disableMobile:"true"}),this.initCaptcha(),this.onSubmit(),window.onInvalidRavenFormField=this.onInvalidRavenFormField},onSubmit:function(){var n=this,i=this,r=i.form;r.on("submit",function(e){var t;e.preventDefault(),n.checkSaveState()&&(r.css("opacity",.5),n.fixTelBeforeSubmit(),t=new FormData(r[0]),n.validateFormData(t,r)?(t.append("action","raven_form_frontend"),t.append("referrer",location.toString()),jQuery.ajax({url:_wpUtilSettings.ajax.url,type:"POST",dataType:"json",data:t,processData:!1,contentType:!1,success:i.doSuccess})):r.css("opacity",1))})},validateFormData:function(e,t){var n=window.ravenTools.maxFileUploadSize;if(_.isEmpty(n))return!0;var i,r=d(e.entries());try{for(r.s();!(i=r.n()).done;){var a=(0,u.default)(i.value,2),s=a[0],o=a[1];if(o instanceof File&&o.size>n){var l=t.find('input[name="'.concat(s,'"]')).parents(".raven-field-group");return l.find("small").remove(),l.removeClass("raven-field-invalid"),l.addClass("raven-field-invalid"),l.append('<small class="raven-form-text">'.concat((0,c.__)("This file size is not allowed.","jupiterx-core"),"</small>")),!1}}}catch(e){r.e(e)}finally{r.f()}return!0},checkSaveState:function(){if(!this.isEdit)return!0;var e=jQuery(elementor.panel.el).find("button#elementor-panel-saver-button-publish");if(!e.length||e.hasClass("elementor-disabled"))return this.form.prev("div.elementor-alert.elementor-alert-info").remove(),!0;var t='\n\t\t\t<div class="elementor-alert elementor-alert-info" role="alert">\n\t\t\t\t<span class="elementor-alert-title">\n\t\t\t\t\t'.concat((0,c.__)("Please first update/publish the changes.","jupiterx-core"),"\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t");return this.form.before(t),!1},doSuccess:function(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,n={},i=this.form.parents(".jupiterx-popup");if("close"===e.data.popup[0].type&&0!==i.length){n.constantly="yes"===e.data.popup[0].constantly;var r=null==i||null===(t=i.data("settings"))||void 0===t?void 0:t.id;return r&&(n.popupId=r),void $(document).trigger("jupiterx-popup-close-form-trigger",n)}n.popupId=e.data.popup[0].popupId,$(document).trigger("jupiterx-popup-open-trigger",n)}$.isEmptyObject(e.data.admin_errors)||this.showAdminErrors(e.data.admin_errors),this.captchaV3Ids.forEach(function(e){return window.grecaptcha.reset(e)})},onInvalidRavenFormField:function(e){var t=e.target,n=t.dataset.type,i=t.validity,r=window.ravenFormsTranslations.validation,a=$("header").height(),s=document.querySelector("body");if(i.valueMissing){t.setCustomValidity(r.required);var o=$(t).offset().top-$(t).parent().height()-50;return(s.classList.contains("jupiterx-header-fixed")||s.classList.contains("jupiterx-header-sticked"))&&(o-=a),void $(window).scrollTop(o)}var l="";switch(n){case"email":(i.typeMismatch||i.patternMismatch)&&(l=r.invalidEmail);break;case"tel":if(t.hasAttribute("data-iti-tel")){var u=window.ravenFormsTranslations.itiValidation,c=window.intlTelInputGlobals.getInstance(t),d=c.getValidationError(),p=t.hasAttribute("data-iti-area-required"),h=t.getAttribute("data-iti-tel-type"),m="".concat(c.getNumberType());switch(d){case 1:l=u.invalidCountryCode;break;case 2:l=u.tooShort;break;case 3:l=u.tooLong;break;case 4:l=p?u.areaCodeMissing:"";break;case 5:l=u.invalidLength;break;case-99:l=u.invalidGeneral;break;case 0:default:"all"!==h&&m!==h&&(l=u.typeMismatch[h])}break}(i.typeMismatch||i.patternMismatch)&&(l=r.invalidPhone);break;case"number":i.typeMismatch||i.patternMismatch?l=r.invalidNumber:i.rangeOverflow?l=r.invalidMaxValue.replace("MAX_VALUE",t.max):i.rangeUnderflow&&(l=r.invalidMinValue.replace("MIN_VALUE",t.min))}t.setCustomValidity(l)},showMessage:function(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){var n=$("#raven-field-group-"+e);n.addClass("raven-field-invalid"),n.append('<small class="raven-form-text">'+t+"</small>")}),t.after('<div class="raven-form-response">'+e.data.message+"</div>")},showAdminErrors:function(e){var n="";$.each(e,function(e,t){n+="<li>".concat(t,"</li>")}),this.form.before('\n\t\t\t<div class="elementor-alert elementor-alert-info" role="alert">\n\t\t\t\t<span class="elementor-alert-title">\n\t\t\t\t\t'.concat((0,c.__)("Following messages are visible only for admin users.","jupiterx-core"),'\n\t\t\t\t</span>\n\t\t\t\t<div class="elementor-alert-description">\n\t\t\t\t\t<ul>').concat(n,"</ul>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t"))},initCaptcha:function(){var e,t=this.form.find(".raven-g-recaptcha:last");if(t.length)return null!==(e=window.grecaptcha)&&void 0!==e&&e.render?(this.addRecaptcha(t),void clearTimeout(this.reCaptchaCheckTimeout)):void(this.reCaptchaCheckTimeout=setTimeout(this.initCaptcha,350))},addRecaptcha:function(t){var n=this,e=t.data(),i="v3"===e.type;this.captchaV3Ids.forEach(function(e){return window.grecaptcha.reset(e)});var r=window.grecaptcha.render(t[0],e);this.form.on("reset error",function(){return window.grecaptcha.reset(r)}),i?(this.captchaV3Ids.push(r),this.form.find('button[type="submit"]').on("click",function(e){e.preventDefault(),window.grecaptcha.ready(function(){window.grecaptcha.execute(r,{action:t.data("action")}).then(function(e){n.form.find('[name="g-recaptcha-response"]').remove(),n.form.append(jQuery("<input>",{type:"hidden",value:e,name:"g-recaptcha-response"})),n.form.submit()})})})):t.data("widgetId",r)},steps:[],indicators:[],buttons:[],stepsValidableFields:[],isProgressBar:!1,progressMeter:null,handleMultiStep:function(e){var t=e.children(".fields-step-wrapper"),n=e.children(".raven-form__indicators").children().not(".raven-form__indicators__indicator__separator"),i=e.find(".step-button-next,.step-button-prev");this.steps=this.jqueryToArray(t),this.indicators=this.jqueryToArray(n),this.buttons=this.jqueryToArray(i),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:function(e){var n=[];return e.each(function(e,t){n.push($(t))}),n},getStepsValidableFields:function(){var i=Array(this.steps.length);return _.each(this.steps,function(e,n){i[n]=[],e.find("*[oninvalid]").each(function(e,t){i[n].push($(t))})}),i},setStepButtonsOnClicks:function(){var i=this;_.each(this.buttons,function(e){var t=e.attr("data-step-key"),n=e.hasClass("step-button-next");t&&(n&&e.click({destStep:+t+1,totalSteps:i.steps.length,inputsToValidate:i.stepsValidableFields[+t]},function(t){var n=!0;_.each(t.data.inputsToValidate,function(e){e[0].checkValidity()||(n=!1,t.data.destStep-1<t.data.totalSteps-1&&e[0].reportValidity())}),n&&i.moveToStep(t.data.destStep)}),n||e.click({destStep:t-1},function(e){i.moveToStep(e.data.destStep)}))})},moveToStep:function(n){_.each(this.steps,function(e,t){t===n?e.removeClass("elementor-hidden"):e.addClass("elementor-hidden")}),this.isProgressBar?this.updateProgressMeter(n):this.updateNormalIndicators(n)},isIndicatorProgressBar:function(){return this.indicators[0].hasClass("raven-form__indicators__indicator__progress")},updateNormalIndicators:function(n){var i=this;_.each(this.indicators,function(e,t){t===n?(i.stripStateClasses(e),e.addClass("raven-form__indicators__indicator--state-active")):n<t?(i.stripStateClasses(e),e.addClass("raven-form__indicators__indicator--state-inactive")):(i.stripStateClasses(e),e.addClass("raven-form__indicators__indicator--state-completed"))})},stripStateClasses:function(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:function(e){var t=(e+1)/this.steps.length*100;this.progressMeter.css({width:"".concat(t,"%")}),this.progressMeter.html("".concat(Math.round(t),"%"))},initializeITI:function(){var t=this,n=this.form.find("input[data-iti-tel]");n.length&&(window.itiCountry?this.setupTelFields(n):$.get("https://ipwho.is/",function(){},"json").always(function(e){window.itiCountry=e&&e.country_code?e.country_code.toLowerCase():"us",t.setupTelFields(n)}))},setupTelFields:function(e){var l,u,c=t("intl-tel-input");c&&(l=window.intlTelInputGlobals.getCountryData().map(function(e){return e.iso2}),u=["FIXED_LINE","MOBILE","FIXED_LINE_OR_MOBILE","TOLL_FREE","PREMIUM_RATE","SHARED_COST","VOIP","PERSONAL_NUMBER","PAGER","UAN","VOICEMAIL"],_.each(e,function(e){var t=e.hasAttribute("data-iti-allow-dropdown"),n=e.getAttribute("data-iti-country-include"),i=n?n.split(" "):null,r=i&&i.length,a=e.hasAttribute("data-iti-ip-detect"),s=e.getAttribute("data-iti-tel-type"),o={allowDropdown:t,utilsScript:"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.16/js/utils.min.js",separateDialCode:!0,placeholderNumberType:"all"===s?"MOBILE":u[+s],onlyCountries:r?i:l,initialCountry:"",geoIpLookup:null};a&&(o.initialCountry=r&&!i.includes(window.itiCountry)?i[0]:"auto",o.geoIpLookup=function(e){return e(window.itiCountry)}),c(e,o)}))},fixTelBeforeSubmit:function(){var e=this.form.find("input[data-iti-tel]");_.each(e,function(e){var t;e.hasAttribute("data-iti-internationalize")&&(t=window.intlTelInputGlobals.getInstance(e),e.value=t.getNumber())})}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/slicedToArray":103,"@wordpress/i18n":115,"intl-tel-input":119}],44:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new a({$element:e})};var r=i(e("../utils/module")),s=jQuery,a=r.default.extend({getDefaultSettings:function(){return{selectors:{hotspot:".raven-hotspot",tooltip:".raven-hotspot__tooltip"}}},getDefaultElements:function(){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:function(){var t=this,e=this.getCurrentDeviceSetting("tooltip_trigger"),n="mouseenter"===e?"mouseleave mouseenter":e;"none"!==n&&this.elements.$hotspotsExcludesLinks.on(n,function(e){return t.onHotspotTriggerEvent(e)})},onDeviceModeChange:function(){this.elements.$hotspotsExcludesLinks.off(),this.bindEvents()},onHotspotTriggerEvent:function(e){var t,n=s(e.target),i=n.closest(".raven-hotspot__button").length,r="mouseleave"===e.type&&(n.is(".raven-hotspot--tooltip-position")||n.parents(".raven-hotspot--tooltip-position").length),a="mobile"===elementorFrontend.getCurrentDeviceMode();n.closest(".raven-hotspot--link").length&&a&&("mouseleave"===e.type||"mouseenter"===e.type)||!i&&!r||(t=s(e.currentTarget),this.elements.$hotspot.not(t).removeClass("raven-hotspot--active"),t.toggleClass("raven-hotspot--active"))},editorAddSequencedAnimation:function(){this.elements.$hotspot.toggleClass("raven-hotspot--sequenced","yes"===this.getElementSettings("hotspot_sequenced_animation"))},hotspotSequencedAnimation:function(){var t,i=this,e=this.getElementSettings("hotspot_sequenced_animation"),r=this.getElementSettings("hotspot_sequenced_animation_duration");"no"!==e&&(t=elementorModules.utils.Scroll.scrollObserver({callback:function(e){e.isInViewport&&(t.unobserve(i.$element[0]),i.elements.$hotspot.each(function(e,t){var n;0!==e&&(n=e*((r?r.size:1e3)/i.elements.$hotspot.length),t.style.animationDelay=n+"ms")}))}})).observe(this.$element[0])},setTooltipPositionControl:function(){var e,t=this.getElementSettings("tooltip_animation");void 0!==t&&t.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:function(){var e=this;elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.hotspotSequencedAnimation(),this.setTooltipPositionControl(),window.elementor&&elementor.listenTo(elementor.channels.deviceMode,"change",function(){return e.onDeviceModeChange()})},onElementChange:function(e){e.startsWith("tooltip_position")&&this.setTooltipPositionControl(),e.startsWith("hotspot_sequenced_animation")&&this.editorAddSequencedAnimation()}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],45:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var r=i(e("../utils/module")),a=jQuery,s=r.default.extend({onInit:function(){this.addOnHover()},addOnHover:function(){var e=this.getElementSettings(),t=this.$element,n=a(t).find(".jupiterx-image-accordion-item").length,i=e.active_size.size,r=i/((100-i)/(n-1));this.onMouseLeave(r),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":r})}),a(t).find(".jupiterx-default-active-image-accordion-item").addClass("jupiterx-active-image-accordion-item").css({"flex-grow":r})},onMouseLeave:function(e){var 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,"@babel/runtime/helpers/interopRequireDefault":96}],46:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var o=i(e("@babel/runtime/helpers/typeof")),r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){return{selectors:{carouselWrapper:".raven-swiper-slider",sliderWrapper:".raven-image-comparison-swiper-container",itemsSlider:".swiper-wrapper",slides:".swiper-slide",comparison:".raven-image-comparison-container"}}},getDefaultElements:function(){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:function(){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:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);var i=this,r=this.getCarouselSettings(),a={allowTouchMove:!1,draggable:!1,slidesPerColumn:0,slidesPerView:+r.slides_view_mobile,slidesToScroll:+r.slides_scroll_mobile||1,spaceBetween:24,slidesPerGroup:+r.slides_scroll_mobile||1,slidesPerGroupSkip:0,autoplay:"yes"===r.enable_autoplay&&{delay:r.autoplay_speed},watchOverflow:!1,speed:+r.transition_speed,navigation:{nextEl:".swiper-next-arrow",prevEl:".swiper-prev-arrow"},appendArrows:this.elements.$sliderWrapper,autoHeight:!0,breakpoints:{360:{slidesPerView:+r.slides_view_mobile,slidesToScroll:+r.slides_scroll_mobile||1,spaceBetween:24,slidesPerGroup:+r.slides_scroll_mobile||1,slidesPerGroupSkip:0},768:{slidesPerView:+r.slides_view_tablet,slidesToScroll:+r.slides_scroll_tablet||1,spaceBetween:24,slidesPerGroup:+r.slides_scroll_tablet||1,slidesPerGroupSkip:0},1024:{slidesPerView:+r.slides_view,slidesToScroll:+r.slides_scroll||1,spaceBetween:24,slidesPerGroup:+r.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"===r.show_dots&&(a.pagination={el:$(t).parents(".raven-image-comparison.swiper-"+e).find(".swiper-pagination")[0],type:"bullets",clickable:!0}),"fade"===i.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(){i.setJXDimensions(),i.elements.$carouselWrapper.addClass("raven-image-comparison-active")},a.on.update=a.on.init;var n=null;"undefined"==typeof Swiper?new elementorFrontend.utils.swiper(t,a).then(function(e){n=e}):n=new Swiper(t,a),"yes"===r.pause_on_hover&&"yes"===r.enable_autoplay&&$(t).on({mouseenter:function(){n.autoplay.stop()},mouseleave:function(){n.autoplay.start()}}),window.addEventListener("resize",function(){n=new Swiper(t,a)}),new ResizeObserver(function(){i.setJXDimensions()}).observe(t)})},bindEvents:function(){var e=this;setTimeout(function(){e.setJXDimensions()},1)},setJXDimensions:function(){this.elements.$slides.each(function(e,t){var n=$(t).find(".placeholder-image"),i=n[0].clientHeight,r=t.clientWidth,a=$(n).parents(".swiper-wrapper").height();$(n).parents(".swiper-slide").find(".raven-juxtapose")[0].style.height=i+"px",parseInt(a)<1&&"object"===("undefined"==typeof elementor?"undefined":(0,o.default)(elementor))&&$(n).parents(".swiper-wrapper").css("height",i);var s=$(n).parents(".swiper-slide").find(".raven-juxtapose img");0<s.length&&(s[0].style.width=r+"px",s[1].style.width=r+"px")})}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/typeof":106}],47:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new m({$element:e})};var r=i(e("@babel/runtime/helpers/defineProperty")),a=i(e("@babel/runtime/helpers/classCallCheck")),s=i(e("@babel/runtime/helpers/createClass")),o=i(e("@babel/runtime/helpers/get")),l=i(e("@babel/runtime/helpers/inherits")),u=i(e("@babel/runtime/helpers/possibleConstructorReturn")),c=i(e("@babel/runtime/helpers/getPrototypeOf"));function d(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach(function(e){(0,r.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function h(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,c.default)(i);return t=r?(e=(0,c.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.default)(this,t)}}var m=function(e){(0,l.default)(r,e);var t=h(r);function r(){return(0,a.default)(this,r),t.apply(this,arguments)}return(0,s.default)(r,[{key:"getDefaultSettings",value:function(){return{selectors:{container:".raven-lottie__container",containerLink:".raven-lottie__container__link",animation:".raven-lottie__animation",caption:".raven-lottie__caption"},classes:{caption:"raven-lottie__caption"}}}},{key:"getDefaultElements",value:function(){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")}}},{key:"onInit",value:function(){for(var e,t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];(e=(0,o.default)((0,c.default)(r.prototype),"onInit",this)).call.apply(e,[this].concat(n)),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()}},{key:"initLottie",value:function(){this.getLottieSettings().lazyload?this.lazyloadLottie():this.generateLottie()}},{key:"lazyloadLottie",value:function(){var t=this;this.intersectionObservers.lazyload.observer=elementorModules.utils.Scroll.scrollObserver({offset:"0px 0px ".concat(200,"px"),callback:function(e){e.isInViewport&&(t.generateLottie(),t.intersectionObservers.lazyload.observer.unobserve(t.intersectionObservers.lazyload.element))}}),this.intersectionObservers.lazyload.element=this.elements.$container[0],this.intersectionObservers.lazyload.observer.observe(this.intersectionObservers.lazyload.element)}},{key:"generateLottie",value:function(){this.createLottieInstance(),this.setLottieEvents()}},{key:"createLottieInstance",value:function(){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)}},{key:"getAnimationPath",value:function(){var e,t,n=this.getLottieSettings();return null!==(e=n.source_json)&&void 0!==e&&e.url&&"json"===n.source_json.url.toLowerCase().substr(-4)?n.source_json.url:null!==(t=n.source_external_url)&&void 0!==t&&t.url?n.source_external_url.url:window.lottie_defaultAnimationUrl.url}},{key:"setCaption",value:function(){var e=this.getLottieSettings();("external_url"===e.source||"media_file"===e.source&&"custom"===e.caption_source)&&this.getCaptionElement().text(e.caption)}},{key:"getCaptionElement",value:function(){if(this.elements.$caption.length)return this.elements.$caption;var e=this.getSettings().classes;return this.elements.$caption=jQuery("<p>",{class:e.caption}),this.elements.$container.append(this.elements.$caption),this.elements.$caption}},{key:"setLottieEvents",value:function(){var e=this;this.lottie.addEventListener("DOMLoaded",function(){return e.onLottieDomLoaded()}),this.lottie.addEventListener("complete",function(){return e.onComplete()})}},{key:"saveInitialValues",value:function(){var e,t=this.getLottieSettings();this.lottie.__initialTotalFrames=this.lottie.totalFrames,this.lottie.__initialFirstFrame=this.lottie.firstFrame,this.state.currentAnimationTrigger=t.trigger,this.state.effectsRelativeTo=t.effects_relative_to,this.state.viewportOffset.start=t.viewport?t.viewport.sizes.start:0,this.state.viewportOffset.end=t.viewport?t.viewport.sizes.end:100,this.state.animationSpeed=null===(e=t.play_speed)||void 0===e?void 0:e.size,this.state.linkTimeout=t.link_timeout,this.state.caption=t.caption,this.state.loop=t.loop}},{key:"setAnimationFirstFrame",value:function(){var e=this.getAnimationFrames();e.first=e.first-this.lottie.__initialFirstFrame,this.lottie.goToAndStop(e.first,!0)}},{key:"initAnimationTrigger",value:function(){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()}}},{key:"playAnimationWhenArrivingToViewport",value:function(){var t=this,e=this.getOffset();this.intersectionObservers.animation.observer=elementorModules.utils.Scroll.scrollObserver({offset:"".concat(e.end,"% 0% ").concat(e.start,"%"),callback:function(e){if(e.isInViewport)return t.state.isInViewport=!0,void t.playLottie();t.state.isInViewport=!1,t.lottie.pause()}}),this.intersectionObservers.animation.element=this.elements.$widgetWrapper[0],this.intersectionObservers.animation.observer.observe(this.intersectionObservers.animation.element)}},{key:"getOffset",value:function(){var e=this.getLottieSettings();return{start:-e.viewport.sizes.start||0,end:-(100-e.viewport.sizes.end)||0}}},{key:"playAnimationWhenBindToScroll",value:function(){var t=this,e=this.getLottieSettings(),n=this.getOffset();this.intersectionObservers.animation.observer=elementorModules.utils.Scroll.scrollObserver({offset:"".concat(n.end,"% 0% ").concat(n.start,"%"),callback:function(e){return t.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)}},{key:"updateAnimationByScrollPosition",value:function(){var e="page"===this.getLottieSettings().effects_relative_to?this.getLottiePagePercentage():"fixed"===this.getCurrentDeviceSetting("_position")?this.getLottieViewportHeightPercentage():this.getLottieViewportPercentage(),t=this.getFrameNumberByPercent(e);t-=this.lottie.__initialFirstFrame,this.lottie.goToAndStop(t,!0)}},{key:"getLottieViewportPercentage",value:function(){return elementorModules.utils.Scroll.getElementViewportPercentage(this.elements.$widgetWrapper,this.getOffset())}},{key:"getLottiePagePercentage",value:function(){return elementorModules.utils.Scroll.getPageScrollPercentage(this.getOffset())}},{key:"getLottieViewportHeightPercentage",value:function(){return elementorModules.utils.Scroll.getPageScrollPercentage(this.getOffset(),window.innerHeight)}},{key:"getFrameNumberByPercent",value:function(e){var t=this.getAnimationFrames();return e=Math.min(100,Math.max(0,e)),t.first+(t.last-t.first)*(e/100)}},{key:"getAnimationFrames",value:function(){var e=this.getLottieSettings(),t=this.getAnimationCurrentFrame(),n=this.getAnimationRange().start,i=this.getAnimationRange().end,r=this.lottie.__initialFirstFrame,a=0===this.lottie.__initialFirstFrame?this.lottie.__initialTotalFrames:this.lottie.__initialFirstFrame+this.lottie.__initialTotalFrames;return n&&r<n&&(r=n),i&&i<a&&(a=i),this.state.isNewLoopCycle||"bind_to_scroll"===e.trigger||(r=n&&t<n?n:t),"backward"===this.state.animationDirection&&this.isReverseMode()&&(r=t,a=n&&n>this.lottie.__initialFirstFrame?n:this.lottie.__initialFirstFrame),{first:r,last:a,current:t,total:this.lottie.__initialTotalFrames}}},{key:"getAnimationRange",value:function(){var e=this.getLottieSettings();return{start:this.getInitialFrameNumberByPercent(e.start_point.size),end:this.getInitialFrameNumberByPercent(e.end_point.size)}}},{key:"getInitialFrameNumberByPercent",value:function(e){return e=Math.min(100,Math.max(0,e)),this.lottie.__initialFirstFrame+(this.lottie.__initialTotalFrames-this.lottie.__initialFirstFrame)*(e/100)}},{key:"getAnimationCurrentFrame",value:function(){return 0===this.lottie.firstFrame?this.lottie.currentFrame:this.lottie.firstFrame+this.lottie.currentFrame}},{key:"setLinkTimeout",value:function(){var e,t=this,n=this.getLottieSettings();"on_click"===n.trigger&&null!==(e=n.custom_link)&&void 0!==e&&e.url&&n.link_timeout&&this.elements.$containerLink.on("click",function(e){e.preventDefault(),t.isEdit||setTimeout(function(){var e="on"===n.custom_link.is_external?"_blank":"_self";window.open(n.custom_link.url,e)},n.link_timeout)})}},{key:"bindAnimationClickEvents",value:function(){var e=this;this.listeners.elements.$container.triggerAnimationClick=function(){e.playLottie()},this.addSessionEventListener(this.elements.$container,"click",this.listeners.elements.$container.triggerAnimationClick)}},{key:"getLottieSettings",value:function(){var e=this.getElementSettings();return p(p({},e),{},{lazyload:"yes"===e.lazyload,loop:"yes"===e.loop})}},{key:"playLottie",value:function(){var e=this.getAnimationFrames();this.lottie.stop(),this.lottie.playSegments([e.first,e.last],!0),this.state.isNewLoopCycle=!1}},{key:"bindAnimationHoverEvents",value:function(){this.createAnimationHoverInEvents(),this.createAnimationHoverOutEvents()}},{key:"createAnimationHoverInEvents",value:function(){var e=this,t=this.getLottieSettings(),n=this.getHoverAreaElement();this.state.hoverArea=t.hover_area,this.listeners.elements.$widgetArea.triggerAnimationHoverIn=function(){e.state.animationDirection="forward",e.playLottie()},this.addSessionEventListener(n,"mouseenter",this.listeners.elements.$widgetArea.triggerAnimationHoverIn)}},{key:"addSessionEventListener",value:function(e,t,n){e.on(t,n),this.listeners.collection.push({$el:e,event:t,callback:n})}},{key:"createAnimationHoverOutEvents",value:function(){var e=this,t=this.getLottieSettings(),n=this.getHoverAreaElement();"pause"!==t.on_hover_out&&"reverse"!==t.on_hover_out||(this.state.hoverOutMode=t.on_hover_out,this.listeners.elements.$widgetArea.triggerAnimationHoverOut=function(){"pause"!==t.on_hover_out?(e.state.animationDirection="backward",e.playLottie()):e.lottie.pause()},this.addSessionEventListener(n,"mouseleave",this.listeners.elements.$widgetArea.triggerAnimationHoverOut))}},{key:"getHoverAreaElement",value:function(){var e=this.getLottieSettings();return"section"===e.hover_area?this.elements.$sectionParent:"column"===e.hover_area?this.elements.$columnParent:this.elements.$container}},{key:"setLoopOnAnimationComplete",value:function(){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()}},{key:"isReverseMode",value:function(){var e=this.getLottieSettings();return"yes"===e.reverse_animation||"reverse"===e.on_hover_out&&"backward"===this.state.animationDirection}},{key:"setLoopWhenNotReverse",value:function(){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()}},{key:"setReverseAnimationOnLoop",value:function(){var e=this.getLottieSettings();if(!e.number_of_times||this.state.playAnimationCount<e.number_of_times)return this.state.animationDirection="forward"===this.state.animationDirection?"backward":"forward",this.playLottie(),void("backward"===this.state.animationDirection&&this.state.playAnimationCount++);this.state.playAnimationCount=0,this.state.animationDirection="forward"}},{key:"setReverseAnimationOnSingleTrigger",value:function(){return this.state.playAnimationCount<1?(this.state.playAnimationCount++,this.state.animationDirection="backward",void this.playLottie()):1<=this.state.playAnimationCount&&"forward"===this.state.animationDirection?(this.state.animationDirection="backward",void this.playLottie()):(this.state.playAnimationCount=0,void(this.state.animationDirection="forward"))}},{key:"setAnimationSpeed",value:function(){var e=this.getLottieSettings();e.play_speed&&this.lottie.setSpeed(e.play_speed.size)}},{key:"onElementChange",value:function(){this.updateLottieValues(),this.resetAnimationTrigger()}},{key:"updateLottieValues",value:function(){var e,t=this,n=this.getLottieSettings();[{sourceVal:null===(e=n.play_speed)||void 0===e?void 0:e.size,stateProp:"animationSpeed",callback:function(){return t.setAnimationSpeed()}},{sourceVal:n.link_timeout,stateProp:"linkTimeout",callback:function(){return t.setLinkTimeout()}},{sourceVal:n.caption,stateProp:"caption",callback:function(){return t.setCaption()}},{sourceVal:n.effects_relative_to,stateProp:"effectsRelativeTo",callback:function(){return t.updateAnimationByScrollPosition()}},{sourceVal:n.loop,stateProp:"loop",callback:function(){return t.onLoopStateChange()}}].forEach(function(e){void 0!==e.sourceVal&&e.sourceVal!==t.state[e.stateProp]&&(t.state[e.stateProp]=e.sourceVal,e.callback())})}},{key:"onLoopStateChange",value:function(){var e="arriving_to_viewport"===this.state.currentAnimationTrigger&&this.state.isInViewport;this.state.loop&&(e||"none"===this.state.currentAnimationTrigger)&&this.playLottie()}},{key:"resetAnimationTrigger",value:function(){var e=this.getLottieSettings(),t=e.trigger!==this.state.currentAnimationTrigger,n=!!e.viewport&&this.isViewportOffsetChange(),i=!!e.on_hover_out&&this.isHoverOutModeChange(),r=!!e.hover_area&&this.isHoverAreaChange();(t||n||i||r)&&(this.removeAnimationFrameRequests(),this.removeObservers(),this.removeEventListeners(),this.initAnimationTrigger())}},{key:"isViewportOffsetChange",value:function(){var e=this.getLottieSettings(),t=e.viewport.sizes.start!==this.state.viewportOffset.start,n=e.viewport.sizes.end!==this.state.viewportOffset.end;return t||n}},{key:"isHoverOutModeChange",value:function(){return this.getLottieSettings().on_hover_out!==this.state.hoverOutMode}},{key:"isHoverAreaChange",value:function(){return this.getLottieSettings().hover_area!==this.state.hoverArea}},{key:"removeEventListeners",value:function(){this.listeners.collection.forEach(function(e){e.$el.off(e.event,null,e.callback)})}},{key:"removeObservers",value:function(){for(var e in this.intersectionObservers)this.intersectionObservers[e].observer&&this.intersectionObservers[e].element&&this.intersectionObservers[e].observer.unobserve(this.intersectionObservers[e].element)}},{key:"removeAnimationFrameRequests",value:function(){window.cancelAnimationFrame(this.animationFrameRequest.timer)}},{key:"onDestroy",value:function(){(0,o.default)((0,c.default)(r.prototype),"onDestroy",this).call(this),this.destroyLottie()}},{key:"destroyLottie",value:function(){this.removeAnimationFrameRequests(),this.removeObservers(),this.removeEventListeners(),this.elements.$animation.removeData("lottie"),this.lottie&&this.lottie.destroy()}},{key:"onLottieDomLoaded",value:function(){this.saveInitialValues(),this.setAnimationSpeed(),this.setLinkTimeout(),this.setCaption(),this.setAnimationFirstFrame(),this.initAnimationTrigger()}},{key:"onComplete",value:function(){this.setLoopOnAnimationComplete()}},{key:"onLottieIntersection",value:function(e){var t=this;if(e.isInViewport)return this.state.isAnimationScrollUpdateNeededOnFirstLoad&&(this.state.isAnimationScrollUpdateNeededOnFirstLoad=!1,this.updateAnimationByScrollPosition()),void(this.animationFrameRequest.timer=window.requestAnimationFrame(function(){return t.onAnimationFrameRequest()}));var n=this.getAnimationFrames(),i="up"===e.intersectionScrollDirection?n.first:n.last;this.state.isAnimationScrollUpdateNeededOnFirstLoad=!1,window.cancelAnimationFrame(this.animationFrameRequest.timer),this.lottie.goToAndStop(i,!0)}},{key:"onAnimationFrameRequest",value:function(){var e=this;window.scrollY!==this.animationFrameRequest.lastScrollY&&(this.updateAnimationByScrollPosition(),this.animationFrameRequest.lastScrollY=window.scrollY),this.animationFrameRequest.timer=window.requestAnimationFrame(function(){return e.onAnimationFrameRequest()})}}]),r}(elementorModules.frontend.handlers.Base)},{"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/defineProperty":92,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],48:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new a({$element:e})};var r=i(e("@babel/runtime/helpers/toConsumableArray")),a=i(e("../utils/module")).default.extend({getDefaultSettings:function(){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:function(){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:function(){var a=this,e=this;this.zoom(),this.zoomMove(),setTimeout(function(){e.setHeight()},1),jQuery(window).resize(function(){e.setHeight()}),this.elements.$tabsWrapper[0]&&this.elements.$tabsWrapper[0].addEventListener("click",function(e){var t,n,i,r;e.target.classList.contains("tab-item")&&(t=a.getSettings("state.activeIndex"),"show"!==a.getInstanceValue("all_filter")&&0===t&&(t=1),n=a.elements.$tabsWrapper[0].querySelector('[data-raven-tab-index="'+t+'"]'),i=a.elements.$contentsWrapper[0].querySelector('[data-raven-content-index="'+t+'"]'),n.classList.remove("active"),i.classList.remove("active"),i.querySelectorAll(".gallery-item").forEach(function(e){e.classList.remove("show-animation")}),a.setSettings("state.activeIndex",e.target.dataset.ravenTabIndex),r=a.elements.$contentsWrapper[0].querySelector('[data-raven-content-index="'+e.target.dataset.ravenTabIndex+'"]'),e.target.classList.add("active"),r.classList.add("active"),r.querySelectorAll(".gallery-item").forEach(function(e,t){setTimeout(function(){e.classList.add("show-animation")},100*t)}),a.setHeight())})},zoom:function(){"zoom"===this.getInstanceValue("image_hover_animation")&&this.elements.$items.find(".poster").zoom()},zoomMove:function(){"3d-zoom"===this.getInstanceValue("image_hover_animation")&&(0,r.default)(this.elements.$galleryItems).forEach(function(e){var s=e.querySelector("img");s&&(0<$(e).parents(".content-layout-under-image").length&&(e=e.querySelector('[class*="type-"]')),e.addEventListener("mouseout",function(){s.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)"}),e.addEventListener("mousemove",function(e){var t=e.currentTarget.getBoundingClientRect(),n=((t.width+35)/t.width).toFixed(2),i=((t.height+35)/t.height).toFixed(2),r=t.width/2-(e.clientX-t.left),a=t.height/2-(e.clientY-t.top),r=r/t.width*40,a=a/t.height*40;s.style.transform="perspective(900px) translate3d(".concat(r,"px, ").concat(a,"px, 0px) scale(").concat(Math.max(n,i),")")}))})},handleAnimation:function(){this.elements.$contentsWrapper[0].querySelectorAll(".active .gallery-item").forEach(function(e,t){setTimeout(function(){e.classList.add("show-animation")},100*t)})},setHeight:function(){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:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.handleAnimation()}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/toConsumableArray":105}],49:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({pageWrapperAttr:"raven-my-account-page",currentPage:null,onInit:function(){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:function(){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:"[".concat(this.pageWrapperAttr,"]"),purchasenote:"tr.product-purchase-note",stickyRightColumn:".e-sticky-right-column"},classes:{stickyRightColumnActive:"e-sticky-right-column--active"}}},getDefaultElements:function(){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:function(){elementorFrontend.elements.$document.on("select2:open",this.addSelect2Wrapper),elementorFrontend.elements.$body.on("keyup change",".register #reg_password",this.doHeightEqualizations)},editorInitTabs:function(){var r=this;this.elements.$allPageElements.each(function(e,t){var n=t.getAttribute(r.pageWrapperAttr),i=r.$element.find(".woocommerce-MyAccount-navigation-link--"+n);"view-order"===n&&(i=r.elements.$viewOrderLinks.add(r.elements.$viewOrderButtons)),i.on("click",{endpoint:n},r.editorShowTab)}),this.elements.$tabWrapper.find(".woocommerce-MyAccount-navigation li").first().trigger("click")},editorShowTab:function(e){var t,n=0<arguments.length&&void 0!==e?e:null;n&&(this.currentPage=n.data.endpoint),"customer-logout"!==this.currentPage&&(t=this.$element.find("[".concat(this.pageWrapperAttr,'="').concat(this.currentPage,'"]')),this.$element.attr(this.pageWrapperAttr,this.currentPage),this.elements.$allPageElements.hide(),t.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:function(){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:function(){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:function(){this.equalizeElementHeight(this.elements.$address),this.isEdit||this.equalizeElementHeight(this.elements.$authForms)},equalizeElementHeight:function(e){var n;e.length&&(e.removeAttr("style"),n=0,e.each(function(e,t){n=Math.max(n,t.offsetHeight)}),0<n&&e.css("height",n+"px"))},setContentMinHeight:function(){var e,t=jQuery(".custom-my-account-nav-vertical"),n=jQuery(".woocommerce-MyAccount-content-wrapper");t.length&&(e=window.getComputedStyle(t[0]).height,n.css("min-height",e)),n.css("visibility","visible")},removePaddingBetweenPurchaseNote:function(e){e&&e.each(function(e){jQuery(e).prev().children("td").addClass("product-purchase-note-is-below")})},onElementChange:function(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:function(e){var t=jQuery(e.target).data("select2");t.$dropdown&&t.$dropdown.addClass("e-woo-select2-wrapper")},isStickyRightColumnActive:function(){var e=this.getSettings("classes");return this.elements.$stickyRightColumn.hasClass(e.stickyRightColumnActive)},activateStickyRightColumn:function(){var e=this.getElementSettings(),t=elementorFrontend.elements.$wpAdminBar,n=this.getSettings("classes"),i=e.sticky_right_column_offset||0;t.length&&"fixed"===t.css("position")&&(i+=t.height()),"yes"===this.getElementSettings("sticky_right_column")&&(this.elements.$stickyRightColumn.addClass(n.stickyRightColumnActive),this.elements.$stickyRightColumn.css("top",i+"px"))},deactivateStickyRightColumn:function(){var e;this.isStickyRightColumnActive()&&(e=this.getSettings("classes"),this.elements.$stickyRightColumn.removeClass(e.stickyRightColumnActive))},toggleStickyRightColumn:function(){this.getElementSettings("sticky_right_column")?this.isStickyRightColumnActive()||this.activateStickyRightColumn():this.deactivateStickyRightColumn()}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],50:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var r=i(e("@babel/runtime/helpers/typeof")),a=i(e("../utils/module")),o=jQuery,s=a.default.extend({getDefaultSettings:function(){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:function(){var e=this.getSettings("selectors"),t={$body:o("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 t.$elementorContainer.length||(t.$elementorContainer=this.$element.closest(".e-con")),t},onInit:function(){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:function(){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)),o(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:function(){var e=this.getElementSettings("submenu_icon"),t=this.getElementSettings("submenu_space_between"),n={subIndicatorsText:e,subIndicators:""!==e,subIndicatorsPos:"append",subMenusMaxWidth:"1500px"};this.elements.$body.hasClass("rtl")&&(n.rightToLeftSubMenus=!0),this.elements.$megaMenu.length&&(n.keepInViewport=!1),"object"===(0,r.default)(t)&&""!==t.size&&(n.mainMenuSubOffsetY=parseInt(t.size)),"top"===this.getElementSettings("submenu_opening_position")&&(n.bottomToTopSubMenus=!0),this.excludeOtherUl(),this.elements.$menus.smartmenus(n)},toggleDropdown:function(){var e=this.elements.$mobileMenu;this.elements.$toggleButton.find(".hamburger").toggleClass("is-active"),e.slideToggle(250,function(){e.toggleClass("raven-nav-menu-active").css("display","")}),this.dropdownFullWidth()},dropdownFullWidth:function(){var e,t,n,i,r,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,n=this.elements.$toggleButton,i=this.elements.$mobileContainer,r=window.innerWidth,this.stretchElement.stretch(),a.css("top",e.offset().top+e.outerHeight()-n.offset().top),i.css("max-width",1024<r?t.outerWidth():"none"))},sideMenuPush:function(){var e=this.getElementSettings("side_menu_alignment"),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:function(){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:function(){for(var i=document.querySelectorAll(".raven-nav-menu-mobile.raven-nav-menu-dropdown, .raven-nav-menu-mobile.raven-nav-menu-full-screen"),r=null,e=0;e<i.length;e++)!function(n){i[n].addEventListener("touchstart",function(e){1===e.targetTouches.length&&(r=e.targetTouches[0].clientY)},{capture:!1,passive:!0}),i[n].addEventListener("touchmove",function(e){var t;1===e.targetTouches.length&&(t=e.targetTouches[0].clientY-r,0===i[n].scrollTop&&0<t&&e.cancelable&&e.preventDefault(),i[n].scrollHeight-i[n].scrollTop<=i[n].clientHeight&&t<0&&e.cancelable&&e.preventDefault())},{capture:!1,passive:!0})}(e)},mobileMenuPageRedirection:function(){var e=this.elements.$mobileMenu.find(".menu-item-has-children"),t=e.find("> .raven-link-item"),n=t.find("> .sub-arrow");0!==e.length&&0!==t.length&&n.on("click",function(e){o(e.currentTarget).parent().hasClass("highlighted")&&e.preventDefault()})},inPageMenuClick:function(){var r,a=this,s=this.getHeaderSettings();this.elements.$menus.on("click",function(e){r=e.target.getAttribute("href")||"";var t=null;try{t=new window.URL(o(e.target).prop("href"))}catch(e){return}if((t.href.replace(t.hash,"")===window.location.href.replace(window.location.hash,"")||-1!==r.search(/^#/))&&-1!==t.hash.search(/^#/)){r=t.hash,e.preventDefault();var n=o(r);if(0===n.length)return a.elements.$body.hasClass("raven-nav-menu-effect-pushed")&&a.sideMenuPush(),a.elements.$mobileMenu.removeClass("raven-nav-menu-active"),a.changeHamburgerState(!1),void window.history.pushState(null,null,t.hash);var i=n.offset().top;return i-=a.getAdminbarHeight(),i-=a.getBodyBorderWidth(),s&&"sticky"===s.behavior&&s.overlap||s&&!s.behavior?i-=a.isHeaderSticked()?a.tbarHeight():2*a.tbarHeight():i-=a.tbarHeight(),a.hasCustomStickyHeader()?i-=a.getCustomStickyHeaderHeight():(s&&"fixed"===s.behavior&&"top"===s.position||s&&"sticky"===s.behavior)&&(i-=a.getHeaderHeight()),a.elements.$body.hasClass("raven-nav-menu-effect-pushed")&&a.sideMenuPush(),a.elements.$mobileMenu.removeClass("raven-nav-menu-active"),a.changeHamburgerState(!1),window.history.pushState(null,null,t.hash),o("html, body").stop().animate({scrollTop:i},500,"swing"),!1}})},inPageMenuScroll:function(){var i=this;i.elements.$inPageMenuItems.length&&i.elements.$inPageMenuItems.each(function(e,t){var n;t.hash<1||(n=o('[id="'+t.hash.replace("#","")+'"]')).length&&(t=o(t),window.location.hash||i.activateMenuItem(n,t),window.addEventListener("scroll",_.throttle(function(){i.activateMenuItem(n,t)})))})},activateMenuItem:function(e,t){var n=!1,i=this.getHeaderHeight()+this.getAdminbarHeight(),r=e.offset().top,a=r-1-i,s=r-2+e.outerHeight()-i,o=window.pageYOffset;a<=o&&o<=s&&(n=!0),t.toggleClass("raven-menu-item-active",n)},getHeaderHeight:function(){var e=o(".jupiterx-header");if(0===e.length)return 0;var t=e.data("jupiterx-settings").behavior;return"fixed"===t||"sticky"===t||window.pageYOffset<e.height()?e.height():0},hasCustomStickyHeader:function(){var e=this.getHeaderSettings();return!!e&&(!(!e.behavior||"sticky"!==e.behavior)&&(!e.stickyTemplate||e.stickyTemplate!==e.template))},getHeaderSettings:function(){return o(".jupiterx-header").data("jupiterx-settings")},getCustomStickyHeaderHeight:function(){if(!this.hasCustomStickyHeader())return 0;var e=o(".jupiterx-header-custom .elementor:last-of-type");return 0===e.length?0:e.outerHeight()},getBodyBorderWidth:function(){var e=o(".jupiterx-site-body-border");if(0===e.length)return 0;var t=e.css("border-width");return t?parseInt(t.replace("px","")):0},getAdminbarHeight:function(){var e=o("#wpadminbar");return e.length?e.height():0},tbarHeight:function(){var e=o(".jupiterx-tbar");return e.length?e.outerHeight():0},onElementChange:function(e){var t,n,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")&&(t=this.getElementSettings("side_menu_alignment"),n=parseInt(this.$element.css("--menu-container-width"))||250,this.elements.$body.css("margin-left","left"===t?n:-n)),"submenu_space_between"===e&&(i=this.getElementSettings("submenu_space_between"),"object"===(0,r.default)(i)&&(this.findElement(".raven-submenu").first().css("margin-top",""===i.size?"0":"".concat(i.size,"px")),this.elements.$menus.smartmenus("destroy"),this.initSmartMenu()))},onSectionActivated:function(e){this.editShowSubmenu("section_submenu"===e)},onEditorClosed:function(){this.editShowSubmenu(!1)},editShowSubmenu:function(e){var t=this.findElement(".raven-submenu").first(),n=this.getElementSettings("submenu_space_between");t.toggleClass("raven-show-submenu",e),"object"===(0,r.default)(n)&&t.css("margin-top",""===n.size?"0":"".concat(n.size,"px"))},onSideMenuItemClick:function(e,t){var n,i=o(t);0===i.closest(".raven-nav-menu-side").length||-1===(n=i.attr("href")).search(/^#/)&&0!==n.trim().length&&this.elements.$closeButton.trigger("click")},isHeaderSticked:function(){return 0<o(".jupiterx-header-sticked").length},setMegaMenuWidth:function(){var 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=o(this),t=e.parent().parent().offset().left,n=-Math.abs(t-i);e.parent().css("transform","translateX(".concat(n,"px)"))}),e.css("width","".concat(n,"px"))},excludeOtherUl:function(){this.elements.$liNavItem.find(".submenu .raven-megamenu-wrapper").each(function(){o(this).find("ul").attr("data-sm-skip","true")})},changeHamburgerState:function(e){var t=this.elements.$toggleButton.find(".hamburger");0!==t.length&&(e?t.addClass("is-active"):t.removeClass("is-active"))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/typeof":106}],51:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new c({$element:e})};var r=i(e("@babel/runtime/helpers/classCallCheck")),a=i(e("@babel/runtime/helpers/createClass")),s=i(e("@babel/runtime/helpers/inherits")),o=i(e("@babel/runtime/helpers/possibleConstructorReturn")),l=i(e("@babel/runtime/helpers/getPrototypeOf"));function u(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,l.default)(i);return t=r?(e=(0,l.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,o.default)(this,t)}}var c=function(e){(0,s.default)(n,e);var t=u(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"getDefaultSettings",value:function(){return{selectors:{button:".elementor-button.elementor-paypal-legacy",errors:".elementor-message-danger"}}}},{key:"getDefaultElements",value:function(){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)}}},{key:"handleClick",value:function(e){0<this.elements.errors.length&&(e.preventDefault(),this.elements.errors.forEach(function(e){e.classList.remove("elementor-hidden")}))}},{key:"bindEvents",value:function(){_.isNull(this.elements.button)||this.elements.button.addEventListener("click",this.handleClick.bind(this))}}]),n}(elementorModules.frontend.handlers.Base)},{"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],52:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var r=i(e("../utils/module")),a=i(e("../utils/masonry")),s=r.default.extend({Masonry:null,onInit:function(){$(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:function(){var n=this.getElementSettings("stack_hover_effect");$.each(this.$element.find(".raven-photo-album-item"),function(e,t){new window[n+"Fx"]({el:t})})},createMasonry:function(){var e=this;e.Masonry=new a.default({$element:e.$element}),e.Masonry.run(),"stack"===e.getElementSettings("_skin")&&setTimeout(function(){$(e.$element).trigger("add-stack-effect")},50)}})},{"../utils/masonry":8,"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],53:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){return{selectors:{container:".raven-photo-roller",frame:".raven-photo-roller-frame",image:".raven-photo-roller-frame img"}}},getDefaultElements:function(){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:function(){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:function(){this.elements.$container.hide().show(0)},calculateNewWidth:function(){var e,t,n=this.getElementSettings("max_height"),i=parseFloat(this.elements.$image.css("width"),10),r=parseFloat(this.elements.$image.css("height"),10);if(this.elements.$frame.css("max-height",n.size+n.unit),this.elements.$frame.after().css("max-height",n.size+n.unit),"px"===n.unit&&n.size<r){var a=n.size/r*i;return this.elements.$frame.css("width",a),void this.elements.$image.css("width",a)}"%"===n.unit&&n.size<100&&(t=(e=r*n.size/100)*(i/r),this.elements.$frame.css("width",t),this.elements.$frame.css("height",e),this.elements.$image.css("width",t),this.elements.$image.css("height",e))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],54:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({onInit:function(){$("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:function(){this.actionLinkIconOnHover()},getWrapper:function(){return'div[data-id="'+this.getID()+'"]'},actionLinkIconOnHover:function(){var e=this.getWrapper(),t=$(e).css("--action-links-icon-color-hover"),n=$(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",n)}),$(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",n)}),$(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",n)}))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],55:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){return{selectors:{image:".raven-post-navigation-featured-image"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$navigation:this.$element,$image:this.$element.find(e.image)}},bindEvents:function(){this.handleZoomAndMove()},handleZoomAndMove:function(){var e=this.getInstanceValue("hover_animation_featured_image");!e||"zoom-move"!==e||this.elements.$image.length<1||(this.elements.$image.on("mouseout",function(e){e.currentTarget.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)"}),this.elements.$image.on("mousemove",function(e){var t=e.currentTarget.getBoundingClientRect(),n=((t.width+35)/t.width).toFixed(2),i=((t.height+35)/t.height).toFixed(2),r=t.width/2-(e.clientX-t.left),a=t.height/2-(e.clientY-t.top),r=r/t.width*30,a=a/t.height*30;e.currentTarget.style.transform="perspective(900px) translate3d(".concat(r,"px, ").concat(a,"px, 0px)  scale(").concat(Math.max(n,i))}))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],56:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.classic=function(e){new a({$element:e})},n.cover=function(e){new a({$element:e})};var r=i(e("@babel/runtime/helpers/toConsumableArray")),a=i(e("../utils/module")).default.extend({getDefaultSettings:function(){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:function(){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:function(){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:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments);var i=this.getCarouselSettings(),r={draggable:!1,slidesPerColumn:0,centeredSlides:"yes"===i.overflow_visible,centeredSlidesBounds:"yes"===i.overflow_visible,spaceBetween:i.columns_space_between_mobile.size,slidesPerView:"yes"===i.overflow_visible?+i.slides_view_mobile+.5:+i.slides_view_mobile,slidesPerGroup:+i.slides_scroll_mobile,autoplay:"yes"===i.enable_autoplay&&{delay:i.autoplay_speed},loop:"yes"===i.enable_infinite_loop,speed:+i.transition_speed,navigation:"yes"===i.show_navigation&&{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},appendArrows:this.elements.$sliderWrapper,pagination:"yes"===i.show_pagination&&{el:".swiper-pagination",type:"bullets",clickable:!0},breakpoints:{360:{slidesPerView:"yes"===i.overflow_visible?+i.slides_view_mobile+.5:+i.slides_view_mobile,slidesPerGroup:+i.slides_scroll_mobile,spaceBetween:i.columns_space_between_mobile.size},768:{slidesPerView:"yes"===i.overflow_visible?+i.slides_view_tablet+.5:+i.slides_view_tablet,slidesPerGroup:+i.slides_scroll_tablet,spaceBetween:i.columns_space_between_tablet.size},1024:{slidesPerView:"yes"===i.overflow_visible?+i.slides_view+.5:+i.slides_view,slidesPerGroup:+i.slides_scroll,spaceBetween:i.columns_space_between.size}}};"yes"===i.overflow_visible&&(this.elements.$carouselWrapper.find(".swiper-button-next").css("right","40px"),this.elements.$carouselWrapper.find(".swiper-button-prev").css("left","40px"));var a=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),r.navigation&&(r.navigation={nextEl:$(t).parents(".raven-posts-carousel").find(".swiper-button-next")[0],prevEl:$(t).parents(".raven-posts-carousel").find(".swiper-button-prev")[0]});var n=null;r.on={},r.on.init=function(){a.handleAnitmation(),a.handleFeaturedIamageEffect()},"undefined"==typeof Swiper?new elementorFrontend.utils.swiper(t,r).then(function(e){n=e}):n=new Swiper(t,r),"yes"===i.enable_autoplay&&"yes"===i.enable_hover_pause&&$(t).on({mouseenter:function(){n.autoplay.stop()},mouseleave:function(){n.autoplay.start()}})})},handleAnitmation:function(){var n=this;this.elements.$sliderWrapper.imagesLoaded().done(function(){var e=(0,r.default)(n.elements.$sliderWrapper[0].querySelectorAll(".swiper-slide"));n.getInstanceValue("load_effect")?("slide-right"===n.getInstanceValue("load_effect")&&(e=e.slice().reverse()),e.forEach(function(e,t){setTimeout(function(){e.classList.add("raven-posts-carousel-loaded")},200+100*t),setTimeout(function(){e.querySelector(".raven-posts-carousel-load-effect").classList.remove("raven-post-carousel-effect-"+n.getInstanceValue("load_effect"),"raven-posts-carousel-load-effect")},1500+100*t)})):e.forEach(function(e){e.classList.add("raven-posts-carousel-loaded")})})},handleFeaturedIamageEffect:function(){var e,t=this.getInstanceValue("post_image_hover_effect");t&&"zoom-move"===t&&(e=this.elements.$sliderWrapper.find(".raven-post-image"),"cover"===this.getElementSettings("_skin")&&(e=this.elements.$sliderWrapper.find(".raven-post-wrapper")),e.on("mouseout",function(e){var t=e.currentTarget.querySelector(".raven-posts-carousel-zoom-move-wrapper");t&&(t.style.transform="perspective(900px) translate3d(0px, 0px, 0px) scale(1)")}),e.on("mousemove",function(e){var t=e.currentTarget.getBoundingClientRect(),n=((t.width+35)/t.width).toFixed(2),i=((t.height+35)/t.height).toFixed(2),r=e.currentTarget.querySelector(".raven-posts-carousel-zoom-move-wrapper"),a=t.width/2-(e.clientX-t.left),s=t.height/2-(e.clientY-t.top),a=a/t.width*30,s=s/t.height*30;r&&(r.style.transform="perspective(900px) translate3d(".concat(a,"px, ").concat(s,"px, 0px) scale(").concat(Math.max(n,i),")"))}),"cover"!==this.getElementSettings("_skin")||document.body.classList.contains("elementor-editor-active")||e.on("click",function(e){var t=e.currentTarget.querySelector(".raven-post-image").getAttribute("data-href");t&&window.location.assign(t)}))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/toConsumableArray":105}],57:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.classic=function(e){new l({$element:e})},n.cover=function(e){new l({$element:e})};var r=i(e("../utils/module")),a=i(e("../utils/sortable")),s=i(e("../utils/pagination")),o=i(e("../utils/masonry")),l=r.default.extend({Sortable:null,Pagination:null,Masonry:null,getDefaultSettings:function(){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:function(){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:function(){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:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.initializeOnce(),this.initialize()},initializeOnce:function(){"page_based"===this.getInstanceValue("pagination_type")&&this.paginationModule(),"yes"===this.getInstanceValue("show_sortable")&&this.sortableModule()},initialize:function(){"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:function(){var e=s.default.extend({handlePagination:this.handlePagination.bind(this)});this.Pagination=new e({$element:this.$element.find(this.getSettings("selectors.pagination"))})},sortableModule:function(){var e=a.default.extend({handleSort:this.handleSort.bind(this)});this.Sortable=new e({$element:this.$element.find(this.getSettings("selectors.sortable"))})},afterAppend:function(){"yes"===this.getInstanceValue("mirror_rows")&&this.mirrorRows(),"infinite_load"===this.getInstanceValue("pagination_type")&&this.infiniteLoadObserver()},setColumnsCount:function(){var e=elementorFrontend.getCurrentDeviceMode(),t="columns_".concat(e);"desktop"===e&&(t="columns"),this.setSettings("columnsCount",parseInt(this.getInstanceValue(t)))},runMasonry:function(){this.Masonry=new o.default({$element:this.$element}),this.Masonry.run()},mirrorRows:function(){this.setColumnsCount();var e=this.getSettings(),t=this.$element.find(e.selectors.postItem);if(t.filter(e.selectors.postMirrored).removeAttr(e.classes.postMirrored),t.length&&t.length>e.columnsCount)for(var n=t.length/e.columnsCount,i=1;i<n;i+=2){var r=i*e.columnsCount;t.slice(r,r+e.columnsCount).attr(e.classes.postMirrored,!0)}},createObserver:function(e,t,n){var i;e.length<1||(i=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(t(),i.disconnect())})},n)).observe(e[0])},infiniteLoadObserver:function(){var n=this;n.createObserver(n.elements.$infinteLoadIndicator,function(){var e=n.getSettings("state"),t=e.paged+1;n.addPosts({paged:t,category:e.category})},{threshold:1})},ajaxPosts:function(e,t){var n={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&&(n.archive_query=JSON.stringify(i));this.setSettings("state.isLoading",!0),$.ajax({type:"POST",url:_wpUtilSettings.ajax.url,data:n,success:function(e){e.success&&e.data.posts&&t(e)},complete:function(){this.setSettings("state.isLoading",!1)}.bind(this)})},addPosts:function(e){var t=this.getSettings("state");return!(t.isLoading||t.paged<1)&&(this.ajaxPosts(e,this.appendPosts),!0)},appendPosts:function(e){var t=this.getSettings("state");switch(this.getInstanceValue("layout")){case"masonry":this.Masonry.push(e.data.posts);break;default:this.elements.$postsContainer.append(e.data.posts)}this.setPaged({paged:t.paged+1,maxNumPages:e.data.max_num_pages}),this.afterAppend()},setPosts:function(e){return!this.getSettings("state").isLoading&&(this.ajaxPosts(e,this.renderPosts),!0)},renderPosts:function(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:function(e){e.preventDefault();var t=this.getSettings("state"),n=t.paged+1;this.addPosts({paged:n,category:t.category})},handleInfiniteLoad:function(){var e=this.getSettings("state"),t=e.paged+1;this.addPosts({paged:t,category:e.category})},handlePagination:function(e){this.scrollToContainer(this.elements.$postsContainer),this.setPosts({paged:e,category:this.getSettings("state.category")})},handleSort:function(e){this.setPosts({paged:1,category:e})&&this.setSettings("state.category",e)},setPaged:function(e){var t=e.paged,n=e.maxNumPages;n<=t&&(t=-1),-1===t?this.elements.$loadMore.hide():this.elements.$loadMore.show(),this.setSettings("state.paged",t),this.setSettings("state.maxNumPages",n)},getCurrentPostId:function(){return parseInt(this.elements.$postsContainer.data("post-id"))},onSectionActivated:function(e){e&&this.editOverlayIcons(-1!==e.indexOf("section_icons"))},onEditorClosed:function(){this.editOverlayIcons(!1)},editOverlayIcons:function(e){this.$element.toggleClass("raven-edit-icons",e)}})},{"../utils/masonry":8,"../utils/module":9,"../utils/pagination":20,"../utils/sortable":22,"@babel/runtime/helpers/interopRequireDefault":96}],58:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){return{selectors:{standardTab:".raven-product-data-tabs.standard-tab-style .woocommerce-tabs ul.tabs a"}}},getDefaultElements:function(){var e=this.getSettings("selectors");return{$standardTab:this.$element.find(e.standardTab)}},bindEvents:function(){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,"@babel/runtime/helpers/interopRequireDefault":96}],59:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){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:function(){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:function(){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:function(){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:function(){this.galleryEvent()},onElementChange:function(e){var t=this.getGallerylSettings();if("aspect_ratio"===e&&t.videoIsEnable){var n=this.$element.find(".raven-product-gallery-wrapper").find(".raven-product-gallery-stack-wrapper"),i=n.find(".jupiterx-product-gallery-stack-video"),r=n.find(".raven-product-gallery-stack-image"),a=r.height();if(i.css("height","auto"),0===r.length)return void setTimeout(function(){return i.css("height","max-content")});setTimeout(function(){return i.height(a)})}["product_thumbnail_width","product_thumbnail_width"].includes(e)&&new window.jupiterxProductGallery(jQuery(".raven-product-gallery-wrapper"),!0)},galleryEvent:function(){this.ProductGalleryInstance();this.resetButtonOnClick(),this.updateGalleryPictures(this),this.singleSlideOnClick()},ProductGalleryInstance:function(){var u=jQuery,r=this.getGallerylSettings(),o=this.elements.$galleryBase.find(".raven-product-gallery-slider-wrapper"),i=this.getWrapper(),s=this;u(o).removeClass("jupiterx-product-gallery-vertical jupiterx-product-gallery-horizontal jupiterx-product-gallery-none");var t=this.getThumbnail(s);window.innerWidth<768&&(r.thumbnails="horizontal",u(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 l(e,t){var n=this,i=1<arguments.length&&void 0!==t&&t;if(this.$target=e,!0===i)return this;"stack"===r.layout&&(r.zoom&&this.initZoom("li"),r.zoom&&this.lightbox(),r.videoIsEnable&&(this.controlVideoOnload(),this.endedVideo(),this.handleVideoHeight())),"standard"===r.layout&&(this.slider(),r.carousel||this.carousel(),r.zoom&&this.zoomIcon(),r.lightbox&&this.standardLightbox(),r.lightbox||this.$target.find(".woocommerce-product-gallery__image").find("a").css("pointer-events","none"),r.wcZoomDisabled&&r.zoom&&setTimeout(function(){n.initZoom(".woocommerce-product-gallery__image")},100),r.wcLighboxDisabled&&r.lightbox&&!r.videoIsEnable&&this.initPhotoswipe(),this.disableProductElementorLighBox(),this.createSlickThumbnailsSlider(),this.repositionDirectionNav(),r.videoIsEnable&&(this.handleIframe(),this.handleVideoOnChangeSlide(),this.handlePhotoswipe(),this.endedVideo()))}this.handleWcModal(),l.prototype.endedVideo=function(){u("video").on("ended",function(e){u(e.currentTarget).parent().find("i").removeClass("circle-pause").addClass("circle-play")})},l.prototype.handleIframe=function(){var e=this.$target,t=e.find(".flex-active-slide");0===t.length&&(t=e.find(".woocommerce-product-gallery__image")),t.find("iframe").on("load",function(e){u(e.currentTarget).parent().removeClass("iframe-on-load"),u(e.currentTarget).show(),u(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"),n=e.find(".raven-product-gallery-stack-image"),i=n.height();0!==n.length?t.height(i):t.css("height","max-content")},l.prototype.slider=function(){var e=!!document.body.classList.contains("rtl"),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>',n='<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>',n='<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>');var i={flexslider:{allowOneSlide:!1,animation:"slide",animationLoop:!1,animationSpeed:500,controlNav:"thumbnails",directionNav:!0,nextText:t,prevText:n,rtl:e,slideshow:!1,smoothHeight:!1},photoswipe_enabled:!(!r.lightbox||r.videoIsEnable),zoom_enabled:!!r.zoom};o.wc_product_gallery(i),this.smoothHeight()},l.prototype.smoothHeight=function(){setTimeout(function(){var e=u(i).find(".flex-viewport"),t=u(i).find(".flex-active-slide").height();e.animate({height:t});var n=t/2;u(".flex-direction-nav").css("top",n+"px")},0<arguments.length&&void 0!==arguments[0]?arguments[0]:400)},l.prototype.getGalleryItems=function(){var e=u(".woocommerce-product-gallery__image"),l=[];return 0<e.length&&e.each(function(e,t){var n,i,r,a,s,o=u(t).find("img");0<o.length?(n=o.attr("data-large_image"),i=o.attr("data-large_image_width"),r=o.attr("data-large_image_height"),a={alt:o.attr("alt"),src:n,w:i,h:r,title:o.attr("data-caption")?o.attr("data-caption"):o.attr("title")},l.push(a)):(u(t).find(".jupiterx-attachment-media-custom-video-icons").css("max-width","inherit"),s=u(t).find(".jupiterx-attachment-media-iframe").parent().html(),l.push({html:'<div class="jupiterx-pswp-attachment-media-iframe">'+s+"</div>"}))}),l},l.prototype.handlePhotoswipe=function(){var e;r.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()}),r.zoom&&(0===this.$target.find(".woocommerce-product-gallery__trigger").length&&this.$target.append('<a href="#" class="woocommerce-product-gallery__trigger"></a>'),e=u(this.$target).find(".woocommerce-product-gallery__trigger"),u(e).hide(),u(document).on("click",".zoomImg, .woocommerce-product-gallery__image a",function(){u(e).click()})))},l.prototype.initPhotoswipe=function(){var t,e=this.$target;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()})),r.zoom&&(t=e.find(".woocommerce-product-gallery__trigger"),u(document).on("click",".flex-active-slide",function(e){0<u(e.currentTarget).find(".jupiterx-attachment-media-iframe").length||u(t).click()}))},l.prototype.handleVideoOnPhotoSwipe=function(i,e){u(i).hasClass("pswp--open")&&(e.listen("beforeChange",function(){var n=u(i).find("video"),e=u(i).find("iframe"),t=u(i).find(".pswp__item");0<n.length&&(n.parent().find("i").removeClass("circle-pause").addClass("circle-play"),n.get(0).pause()),0<e.length&&(l.prototype.resetIframes(e),u(i).find("iframe").on("load",function(e){u(e.currentTarget).parent().removeClass("iframe-on-load"),u(e.currentTarget).show(),u(e.currentTarget).next().hide()})),t.each(function(e,t){"block"===u(t).css("display")&&void 0!==u(t).find("video").attr("autoplay")&&(n.parent().find("i").removeClass("circle-play").addClass("circle-pause"),u(t).find("video").get(0).play())})}),l.prototype.handleVideoOnClick(u(i)))},l.prototype.openPhotoswipe=function(e){e.preventDefault();var t,n,i,r=u(".pswp")[0],a=l.prototype.getGalleryItems(),s=u(e.target);s.is(".woocommerce-product-gallery__trigger")||s.is(".woocommerce-product-gallery__trigger img")?(t=o.find(".flex-active-slide"),n=u.extend({index:u(t).index(),addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].textContent=e.title,!0):(t.children[0].textContent="",!1)}},{closeOnScroll:!1,history:!1,hideAnimationDuration:0,showAnimationDuration:0}),(i=new PhotoSwipe(r,PhotoSwipeUI_Default,a,n)).init(),l.prototype.handleVideoOnPhotoSwipe(r,i)):t=s.closest(".woocommerce-product-gallery__image")},l.prototype.disableProductElementorLighBox=function(){var e=u(this.$target).find("a");r.lightbox&&document.body.classList.contains("elementor-editor-active")?u(e).attr("data-elementor-open-lightbox","yes"):u(e).attr("data-elementor-open-lightbox","no")},l.prototype.initZoom=function(e){var t;u.isFunction(u.fn.zoom)&&(t=this.$target.find(e),u(t).each(function(e,t){var n,i=u(t).find("img"),r=u(t).width();i.data("large_image_width")>r&&(n={touch:!1},"ontouchstart"in window&&(n.on="click"),u(t).trigger("zoom.destroy"),u(t).zoom(n))}))},l.prototype.carousel=function(){var e=this.$target.find(".flex-direction-nav");u(e).remove()},l.prototype.lightbox=function(){var e=this;setTimeout(function(){e.$target.on("click",".zoomImg",function(e){u(e.currentTarget).prev().click()})},100)},l.prototype.standardLightbox=function(){var e,t;r.zoom||(0===(e=this.$target).find(".woocommerce-product-gallery__trigger").length&&this.$target.append('<a href="#" class="woocommerce-product-gallery__trigger"></a>'),t=null,t=e.find(".woocommerce-product-gallery__trigger"),u(t).hide(),u(document).on("click",".zoomImg, .woocommerce-product-gallery__image a",function(){u(t).click()}))},l.prototype.zoomIcon=function(){var e=this.$target,t=e.find(".woocommerce-product-gallery__trigger");u(t).hide(),r.lightbox&&e.on("click",".zoomImg, .woocommerce-product-gallery__image a",function(){u(t).click()})},l.prototype.createSlickThumbnailsSlider=function(){var i=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(s.getThumbnail(s))&&(e=u.extend(e,{vertical:!0,slidesToShow:5}),setTimeout(function(){var e=i.find(".slick-active"),t=e.length,n=e.height()*t;0<parseInt(e.css("margin-bottom"))&&(n+=parseInt(e.css("margin-bottom"))*t),0<parseInt(e.css("border-bottom-width"))&&(n+=parseInt(e.css("border-bottom-width"))*t),0<parseInt(e.css("border-top-width"))&&(n+=parseInt(e.css("border-top-width"))*t),i.find(".slick-track, .slick-list").css("height",n+"px")},100)),"horizontal"===s.getThumbnail(s)?(e.arrows=!1,e.useTransform=!1):(e.arrows=!0,e.useTransform=!0),u(".flex-control-thumbs").hasClass("slick-initialized")&&u(".flex-control-thumbs").slick("destroy"),u(".flex-control-thumbs").slick(e),r.videoIsEnable&&i.find(".woocommerce-product-gallery__image").each(function(e,t){void 0!==u(t).data("poster")&&u(".flex-control-nav").find("li[data-slick-index="+e+"]").prepend('<i class="jupiterx-product-single-play-icon"></i>')});var t=this;i.on("click",".flex-direction-nav a",function(){i.find(".flex-control-nav").slick("slickGoTo",i.find(".flex-active-slide").index()),i.find(".slick-track li").removeClass("active-slick-slide"),i.find(".flex-active").parent().addClass("active-slick-slide"),t.smoothHeight(0)})},l.prototype.repositionDirectionNav=function(){function e(){var e=a.find(".flex-direction-nav"),t=a.find(".flex-control-thumbs"),n=a.find(".jupiterx-attachment-media-custom-video-icons"),i=a.find(".flex-viewport"),r=t.outerWidth(!0);"right"===s.getThumbnail(s)&&e.css("right",r),"left"===s.getThumbnail(s)&&e.css("left",r),n.css("max-width",i.width())}var a=this.$target.find(".raven-product-gallery-slider-wrapper");u(window).resize(e),e()},l.prototype.handleVideoOnClick=function(o){o.off("click",".jupiterx-attachment-media-custom-video-icons").on("click",".jupiterx-attachment-media-custom-video-icons",function(e){var t=u(e.currentTarget),n=u(e.currentTarget).find("i"),i=t.prev(),r=o.find(".jupiterx-attachment-media-iframe"),a=o.find("video"),s=o.find("iframe");if(0<s.length&&l.prototype.resetIframes(s),!i.get(0).paused)return n.removeClass("circle-pause").addClass("circle-play"),void i.get(0).pause();r.find("i").removeClass("circle-pause").addClass("circle-play"),a.trigger("pause"),n.removeClass("circle-play").addClass("circle-pause"),i.get(0).play()})},l.prototype.controlVideoOnload=function(){var e,t=this.$target.find(".raven-product-gallery-stack-wrapper"),n=t.find("video"),i=t.find("iframe"),r=t.find("li:first-child");0!==t.length&&(0<n.length&&n.each(function(){u(this).parent().find("i").removeClass("circle-pause").addClass("circle-play"),u(this).get(0).pause()}),0<i.length&&(l.prototype.resetIframes(i),i.on("load",function(e){u(e.currentTarget).parent().removeClass("iframe-on-load"),u(e.currentTarget).show(),u(e.currentTarget).next().hide()})),0<n.length&&0===r.find("video").length&&(e=n[0],r=u(e).parent()),0<r.length&&0<r.find("video").length&&void 0!==r.find("video").attr("autoplay")&&(r.find("video").parent().find("i").removeClass("circle-play").addClass("circle-pause"),r.find("video").get(0).play()),l.prototype.handleVideoOnClick(t))},l.prototype.handleVideoOnChangeSlide=function(){var i=this.$target;i.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=i.find("video"),t=i.find("iframe"),n=i.find(".flex-active-slide");0<e.length&&(e.parent().find("i").removeClass("circle-pause").addClass("circle-play"),e.each(function(e,t){u(t).get(0).pause()})),0<t.length&&(l.prototype.resetIframes(t),t.on("load",function(e){u(e.currentTarget).parent().removeClass("iframe-on-load"),u(e.currentTarget).show(),u(e.currentTarget).next().hide()})),0<n.length&&void 0!==n.find("video").attr("autoplay")&&(e.parent().find("i").removeClass("circle-play").addClass("circle-pause"),n.find("video").get(0).play())}),l.prototype.handleVideoOnClick(i)},l.prototype.resetIframes=function(e){e.each(function(e,t){var n=u(t).attr("src");u(t).attr("src",n)})},new l(jQuery(".raven-product-gallery-wrapper")),window.jupiterxProductGallery=l;window.addEventListener("resize",this.debounce(function(){var e=window.innerWidth;(e<768||"horizontal"===s.getThumbnail(s))&&(r.thumbnails="horizontal",u(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&&(r.thumbnails=t,u(i).find(".woocommerce-product-gallery-raven-widget").removeClass("raven-product-gallery-horizontal raven-product-gallery-right raven-product-gallery-left").addClass("raven-product-gallery-".concat(t)).find("ol").addClass("slick-vertical")),new l(jQuery(".raven-product-gallery-wrapper")),e<768&&u(i).find("div.flex-active-slide").css("width",e-40)},100))},debounce:function(n,i){var r;return function(){var e=this,t=arguments;clearTimeout(r),r=setTimeout(function(){r=null,n.apply(e,t)},i)}},handleWcModal:function(){$(".pswp__button--close").off().on("click touchend",function(e){$(e.target).closest(".pswp--open").removeClass("pswp--open"),setTimeout(function(){$(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:function(){var e=this;$(".pswp__button--fs").on("click",function(){e.handleWcModal()})},updateGallery:function(e){var t,n,i,r,a,s,o,l,u,c,d;!1!==e.replace&&(t=this.getWrapper(),n=e.content,i=this.getGallerylSettings(),"stack"!==e.layout?($(t).find(".woocommerce-product-gallery-raven-widget").html(n),r=0,$(t).find(".flex-control-nav li").each(function(){0===r?$(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",r),r++}),a=$(t).find(".flex-control-nav").html(),s=document.createElement("ol"),o=document.createElement("div"),l=document.createElement("div"),s.setAttribute("class","flex-control-nav flex-control-thumbs slick-initialized slick-slider"),o.setAttribute("class","slick-list"),l.setAttribute("class","slick-track"),$(l).append(a),o.appendChild(l),s.appendChild(o),$(t).find("ol.flex-control-nav").remove(),u=$(t).find(".flex-viewport"),$(s).insertAfter(u),this.galleryEvent(),this.singleSlideOnClick(),this.handleWcModal(),this.onFullScreenClose(),c=new window.jupiterxProductGallery(jQuery(".raven-product-gallery-wrapper"),!0),i.videoIsEnable&&c.controlVideoOnload(),c.createSlickThumbnailsSlider()):($(t).find(".raven-product-gallery-wrapper").html(n),d=new window.jupiterxProductGallery(jQuery(".raven-product-gallery-wrapper"),!0),i.videoIsEnable&&d.controlVideoOnload()))},restButtonAjax:function(){var e,t=this,a=t.getWrapper(),n=$(a).find('input[name="product_id"]').val(),i=$('input[name="variation_id"]').val(),r=t.galleryItemsHtml.findIndex(function(e){return"reset"===e.key});0===i||_.isEmpty(i)?document.getElementById("jupiterx-clear-variable-button-single-page").removeEventListener("click",this.restButtonAjax):-1===r?wp.ajax.post({beforeSend:function(){var e=$(a).find(".flex-active").outerHeight(),t=$(a).find(".flex-viewport").outerHeight(),n=$(a).find(".flex-control-nav"),i='<div class="temporary-style"><style>'+".raven-product-gallery-wrapper-placeholder .slick-slide { min-height: ".concat(e,"px };")+"</style></div>",r=$(".jupiterx-product-gallery-stack-item").outerHeight();$(a).find(".raven-product-gallery-wrapper").append(i),$(a).find(".flex-viewport").remove(),$('<div class="flex-viewport" style="width:100%; height:'.concat(t,'px;"></div>')).insertBefore(n),$(a).find(".raven-product-gallery-wrapper").addClass("raven-product-gallery-wrapper-placeholder"),$(a).find(".jupiterx-product-gallery-stack-item").css("height",r),$("#variation-previous-number").val(0)},action:"jupiterx_product_gallery_get_gallery_items",variation:"0",post_id:$(a).find('input[name="post_id"]').val(),form_id:$(a).find('input[name="form_id"]').val(),product_id:n,nonce:ravenTools.nonce}).always(function(){$(".raven-product-gallery-wrapper").removeClass("raven-product-gallery-wrapper-placeholder"),$(a).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)}):(e=t.galleryItemsHtml[r].value,t.updateGallery(e))},resetButtonOnClick:function(){var e=document.getElementById("jupiterx-clear-variable-button-single-page");_.isNull(e)||e.addEventListener("click",this.restButtonAjax)},updateGalleryPictures:function(s){var o=this.getWrapper(),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="'.concat(e,'">')),$(".variation_id").off().on("change",function(){var e,a=$('input[name="variation_id"]').val(),t=$("#variation-first-load").val(),n=$("#variation-previous-number").val(),i=$(o).find('input[name="product_id"]').val(),r=s.galleryItemsHtml.findIndex(function(e){return e.key===a});_.isEmpty(a)||"true"===t||a===n?$("#variation-first-load").val("false"):-1===r?wp.ajax.post({beforeSend:function(){var e=$(o).find(".flex-active").outerHeight(),t=$(o).find(".flex-viewport").outerHeight(),n=$(o).find(".flex-control-nav"),i='<div class="temporary-style"><style>'+".raven-product-gallery-wrapper-placeholder .slick-slide { min-height: ".concat(e,"px };")+"</style></div>",r=$(".jupiterx-product-gallery-stack-item").outerHeight();$(o).find(".raven-product-gallery-wrapper").append(i),$(o).find(".flex-viewport").remove(),$('<div class="flex-viewport" style="width:100%; height:'.concat(t,'px;"></div>')).insertBefore(n),$(o).find(".raven-product-gallery-wrapper").addClass("raven-product-gallery-wrapper-placeholder"),$(o).find(".jupiterx-product-gallery-stack-item").css("height",r),$("#variation-previous-number").val(a)},action:"jupiterx_product_gallery_get_gallery_items",variation:a,post_id:$(o).find('input[name="post_id"]').val(),form_id:$(o).find('input[name="form_id"]').val(),product_id:i,nonce:ravenTools.nonce}).always(function(){$(".raven-product-gallery-wrapper").removeClass("raven-product-gallery-wrapper-placeholder"),$(o).find(".raven-product-gallery-wrapper").find(".temporary-style").remove()}).done(function(e){s.galleryItemsHtml.push({key:a,value:e}),s.updateGallery(e)}):(e=s.galleryItemsHtml[r].value,s.updateGallery(e))})},getWrapper:function(){return'div[data-id="'+this.getID()+'"]'},singleSlideOnClick:function(){var 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:function(e){var i=0<arguments.length&&void 0!==e?e:0,r=this.getWrapper();setTimeout(function(){var e=$(r).find(".flex-viewport"),t=$(r).find(".flex-active-slide").height();e.animate({height:t},i);var n=t/2;$(".flex-direction-nav").css("top",n+"px")})},getThumbnail:function(e){return"stack"!==e.getGallerylSettings().layout&&0===e.elements.$gallery.data("has-gallery")?"horizontal":e.getElementSettings().thumbnails}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],60:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(){a(),r(),i()};var s=jQuery;var i=function(){s(".jupiterx-product-review-submit-new").on("click",function(){s(".jupiterx-product-review-alarm").css("display","none"),s(".jupiterx-product-review-global-error").css("display","none");var e=s("#jupiterx-product-review-input-rating"),t=s(".jupiterx-product-review-textarea"),n=s(".jupiterx-product-review-name"),i=s(".jupiterx-product-review-email"),r=s("#jupiterx-product-review-related"),a=!1;[e,t,n,i].forEach(function(e){""===e.val()&&(a=!0,e.parent().find(".jupiterx-product-review-alarm").css("display","block"))}),!0!==a&&(0<s("#jupiterx-product-review-acceptance").length&&s("#jupiterx-product-review-acceptance").is(":checked")&&o(n.val(),i.val()),wp.ajax.post({beforeSend:function(){s(".jupiterx-product-review-form-wrapper").css("opacity",.5)},action:"jupiterx_product_review_submitter",score:e.val(),content:t.val(),name:n.val(),email:i.val(),post_id:r.val(),nonce:ravenTools.nonce}).always(function(){s(".jupiterx-product-review-form-wrapper").css("opacity",1)}).done(function(){location.reload()}).fail(function(){s(".jupiterx-product-review-global-error").css("display","block")}))})},r=function(){var e=document.querySelectorAll(".jupiterx-product-review-rating-selector"),t="jupiterx-product-review-rating-selector ",n=t+" jupiterx-product-review-marked",i=t+" jupiterx-product-review-unmarked",r=!0;e.forEach(function(e){return e.addEventListener("click",function(){s(".jupiterx-product-review-rating-selector").attr("class",i),s(e).attr("class",n),s(e).prevAll().attr("class",n),s("#jupiterx-product-review-input-rating").val(s(e).attr("data-rate")),r=!1})}),e.forEach(function(e){return e.addEventListener("mouseover",function(){!1!==r&&(s(e).attr("class",n),s(e).prevAll().attr("class",n))})}),e.forEach(function(e){return e.addEventListener("mouseout",function(){!1!==r&&(s(e).attr("class",i),s(e).prevAll().attr("class",i))})})},a=function(){null!==localStorage.getItem("jupiterx-product-review-name")&&s(".jupiterx-product-review-name").val(localStorage.getItem("jupiterx-product-review-name")),null!==localStorage.getItem("jupiterx-product-review-email")&&s(".jupiterx-product-review-email").val(localStorage.getItem("jupiterx-product-review-email"))},o=function(e,t){localStorage.setItem("jupiterx-product-review-name",e),localStorage.setItem("jupiterx-product-review-email",t)}},{}],61:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var a=i(e("@babel/runtime/helpers/toConsumableArray")),c=i(e("@babel/runtime/helpers/slicedToArray")),r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){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:function(){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:function(){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:function(){var r=this;elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.addClassToContent(),this.wrapAllContents();var i=this.getCarouselSettings(),e=elementorFrontend.config.responsive.activeBreakpoints,a={},t=Object.entries(e).sort(function(e,t){var n=(0,c.default)(e,2)[1],i=(0,c.default)(t,2)[1];return n.value-i.value}),s=0,o=0;t.forEach(function(e){var t=(0,c.default)(e,2),n=t[0],i=t[1];"max"===i.direction?(a[s]={slidesPerView:r.getDeviceSlidesPerView(n),slidesPerGroup:r.getDeviceSlidesToScroll(n),spaceBetween:r.getSpaceBetween(n)},o=Math.max(o,i.value)):a[i.value]={slidesPerView:r.getDeviceSlidesPerView(n),slidesPerGroup:r.getDeviceSlidesToScroll(n),spaceBetween:r.getSpaceBetween(n)},s=i.value});var l={draggable:!(a[o]={slidesPerView:this.getDeviceSlidesPerView("desktop"),slidesPerGroup:this.getDeviceSlidesToScroll("desktop"),spaceBetween:this.getSpaceBetween("desktop")}),autoplay:"yes"===i.enable_autoplay&&{delay:i.autoplay_speed},loop:"yes"===i.enable_infinite_loop,watchOverflow:"yes"===i.enable_hover_pause,speed:+i.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:a,handleElementorBreakpoints:!0},u=this;this.elements.$sliderWrapper.each(function(e,t){$(this).parents(".elementor-widget-raven-products-carousel").find(".raven-products-carousel").addClass("swiper-"+e),l.navigation&&(l.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]}),l.pagination=!1,"yes"===i.show_pagination&&(l.pagination={el:$(t).parents(".raven-products-carousel.swiper-"+e).find(".swiper-pagination")[0],type:i.pagination_type,clickable:!0});var n=null;l.on={},l.on.init=function(){u.handleAnimation(),u.zoom()},$(t)[0].style.opacity=0,setInterval(function(){$(t)[0].style.opacity=1},700),"undefined"==typeof Swiper?new elementorFrontend.utils.swiper(t,l).then(function(e){n=e}):n=new Swiper(t,l),"yes"===i.pause_on_hover&&$(t).on({mouseenter:function(){n.autoplay.stop()},mouseleave:function(){n.autoplay.start()}}),u.elements.$itemsSlider.data("swiper",n)})},handleAnimation:function(){var i=this,r=this.getCarouselSettings();this.elements.$sliderWrapper.load().after(function(){var n=(0,a.default)(i.elements.$carouselWrapper[0].querySelectorAll(".swiper-slide"));"slide-right"===i.getInstanceValue("load_effect")&&(n=n.slice().reverse()),r.overflow_visible&&"slide-right"!==i.getInstanceValue("load_effect")&&n[n.length-1].classList.add("raven-load-effect-"+r.load_effect),n.forEach(function(e,t){setTimeout(function(){e.classList.add("raven-load-effect-"+r.load_effect),t===n.length-1&&(i.elements.$itemsSlider[0].classList.add("raven-products-loaded"),setInterval(function(){i.elements.$itemsSlider[0].classList.remove("raven-products-load-effect")},1500),i.setSettings("state.loaded",!0))},100*t)})})},bindEvents:function(){this.zoom(),"show"===this.getInstanceValue("wishlist")&&this.wishlist(),this.getInstanceValue("overflow_visible")&&(window["jupiterx-main"].style.overflow="hidden")},onEditSettingsChange:function(e){"activeItemIndex"===e&&elementorFrontend.utils.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)},zoom:function(){"zoom_hover"===this.getInstanceValue("swap_effect")&&this.elements.$sliderWrapper.find(".jupiterx-wc-loop-product-image").zoom()},wishlist:function(){$(document).on("click",".jupiterx-wishlist",function(e){e.preventDefault();var t=$(this),n="add_to_wishlist",i={},r=t.data("state"),a=t.data("productId"),s=t.data("nonceAdd"),o=t.data("nonceRemove");i.nonce=s,i.add_to_wishlist=a,i.remove_from_wishlist=a,"remove"===r&&(n="remove_from_wishlist",i.nonce=o),wp.ajax.send(n,{type:"GET",data:i}).always(function(e){"add_to_wishlist"===n&&"true"===e.result&&(t.addClass("jupiterx-wishlist-remove"),t.data("state","remove")),"remove_from_wishlist"===n&&0===e.fragments.length&&(t.removeClass("jupiterx-wishlist-remove"),t.data("state","add"))})})},addClassToContent:function(){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(function(e){(0,a.default)(e).forEach(function(e){e.classList.add("raven-product-item-content")})})},wrapAllContents:function(){(0,a.default)(this.elements.$carouselWrapper[0].querySelectorAll(".swiper-slide")).forEach(function(e){$(e).find(".raven-product-item-content").wrapAll('<div class="raven-product-data" />')})},getSpaceBetween:function(e){var t="columns_space_between";return e&&"desktop"!==e&&(t+="_"+e),this.getElementSettings(t).size||10},getDeviceSlidesToScroll:function(e){var t="slides_scroll"+("desktop"===e?"":"_"+e);return+this.getElementSettings(t)||1},getDeviceSlidesPerView:function(e){var t="slides_view"+("desktop"===e?"":"_"+e);return+this.getElementSettings(t)||1}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/slicedToArray":103,"@babel/runtime/helpers/toConsumableArray":105}],62:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var r=i(e("../utils/module")),a=jQuery,s=r.default.extend({onInit:function(){var e=this.getElementSettings();if(this.selector=this.getTrackingElementSelector(),"circular"===e.type)return this.circularOnScroll(e),void this.progressUpdate();this.createHorizontalScroll(),this.progressUpdate()},onElementChange:function(e){var t=this.getElementSettings();if("relative_to"===e||"selector"===e||"type"===e){if(window.removeEventListener("scroll",this.progressUpdate),this.selector=this.getTrackingElementSelector(),!1===this.selector)return;this.circle||"circular"!==t.type||this.createCircle(t),this.horizontal||"horizontal"!==t.type||this.createHorizontalScroll(),this.initListeners()}},createHorizontalScroll:function(){!1!==this.selector&&(this.horizontal=document.querySelector(".jupiterx-progress-tracker-horizontal-"+this.getID()),this.initListeners())},circularOnScroll:function(e){this.createCircle(e),!1!==this.selector&&this.initListeners()},createCircle:function(e){var t=this.getCircularWrapper(e),n=this.defaultGlobalConfig(e);this.circle=new CircularProgressBar(t,n),this.circle.initial()},initListeners:function(){window.addEventListener("scroll",this.progressUpdate)},progressUpdate:function(){var e,t,n;!1!==this.selector&&(e=this.getElementSettings(),t=this.calculateScroll(),"circular"!==e.type?(n=t.toFixed(0)+"%",this.horizontal.querySelector(".progress-indicator").style.width=n,"yes"===e.percentage&&(this.horizontal.querySelector(".percentage-text").innerText=n)):this.circle.animationTo({percent:t.toFixed(0),index:1}))},calculateScroll:function(){var e=this.selector.is(elementorFrontend.elements.$body)||this.selector.is(a("#e-scroll-snap-container"))?-100:0;return elementorModules.utils.Scroll.getElementViewportPercentage(this.selector,{start:e,end:-100})},getWrapper:function(){return'div[data-id="'+this.getID()+'"]'},getCircularWrapper:function(){return"jupiterx-progress-tracker-circular-"+this.getID()},getTrackingElementSelector:function(){var e;switch(this.getElementSettings().relative_to){case"selector":e=a(this.getElementSettings().selector);break;case"post_content":if(0<a(".elementor-widget-raven-post-content").length){e=a(".elementor-widget-raven-post-content");break}if(a(".elementor-widget-theme-post-content").length){e=a(".elementor-widget-theme-post-content");break}e=!1;break;default:e=this.isScrollSnap()?a("#e-scroll-snap-container"):elementorFrontend.elements.$body}return!1===e||e.length<=0?(this.onDestroy(),!1):e},isScrollSnap:function(){return"yes"===(this.isEdit?elementor.settings.page.model.attributes.scroll_snap:elementorFrontend.config.settings.page.scroll_snap)},defaultGlobalConfig:function(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:function(){window.removeEventListener("scroll",this.progressUpdate)}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],63:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.classic=function(e){var t=e.find(".raven-search-form");e.on("focus",".raven-search-form-input",function(){t.addClass("raven-search-form-focus")}),e.on("blur",".raven-search-form-input",function(){t.removeClass("raven-search-form-focus")})},n.full=function(e){var t={lightbox:e.find(".raven-search-form-lightbox"),inputSearch:e.find(".raven-search-form-input")};e.on("click",".raven-search-form-button",function(e){e.preventDefault(),t.lightbox.addClass("raven-search-form-lightbox-open"),window.setTimeout(function(){t.inputSearch.focus()},100)}),e.on("click",".raven-search-form-close",function(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,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new s({$element:e})};var c=i(e("@babel/runtime/helpers/slicedToArray")),a=i(e("@babel/runtime/helpers/typeof")),r=i(e("../utils/module"));function d(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,r=function(){};return{s:r,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){o=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(o)throw a}}}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var p=jQuery,s=r.default.extend({getDefaultSettings:function(){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:function(){var e=this.getSettings("selectors");return{$body:p("body"),$header:p(".jupiterx-header"),$hasProductWidget:0<p(".elementor-widget-raven-wc-products").length||0<p(".elementor-widget-shortcode .products").length||0<p(".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:function(){var e,t=this;elementorFrontend.elements.$body.on("updated_wc_div update_checkout",function(){t.refreshFragments()});var n,i=this.elements.$body.hasClass("woocommerce-page")&&this.elements.$body.hasClass("archive");if(null!==(e=window)&&void 0!==e&&e.ravenTools&&i&&("yes"!==(n=window.ravenTools.wc||{}).wcAjaxAddToCart&&n.disableAjaxToCartInArchive&&(p(document.body).off("click",".add_to_cart_button.ajax_add_to_cart"),p(".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"))return"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(),void this.handleTapToCloseOutside()):"yes"===this.getElementSettings("show_cart_quick_view")&&"yes"!==this.getElementSettings("enable_ajax_add_to_cart")?(this.handleMiniCartOpenClose(),this.handleRemoveFromCart(),void this.handleTapToCloseOutside()):void("yes"===this.getElementSettings("show_cart_quick_view")&&(this.handleMiniCartOpenClose(),this.handleMiniCartOnAddToCart(),this.ajaxAddToCart(),this.handleRemoveFromCart(),this.handleTapToCloseOutside()))},handleAjaxAddToCartOnPage:function(){var e=this;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",function(){e.refreshFragments()})},refreshFragments:function(){var t=[];p.each(elementorFrontend.documentsManager.documents,function(e){t.push(e)}),p.ajax({type:"POST",url:_wpUtilSettings.ajax.url,context:this,data:{action:"cart_checkout_page_shopping_cart_fragments",templates:t},success:function(e){null!=e&&e.fragments&&p.each(e.fragments,function(e,t){p(e).replaceWith(t)}),this.handleRemoveFromCart()}})},handleMiniCartOpenClose:function(){var a=this,s=this.getElementSettings("content_effect_blur_content"),o=this.getElementSettings("content_effect_content_overlay");this.elements.$shoppingCart.on("click",function(e){if("#"===p(this).attr("href")){e.preventDefault();var t=p(".jupiterx-header-sticky-custom .elementor[data-elementor-type=header]"),n=a.elements.$header.data("jupiterx-settings"),i=p(e.target).closest('[data-elementor-type="header"]').attr("data-elementor-id");if(a.elements.$header.hasClass("jupiterx-header-sticky-custom")&&2===t.length&&n.stickyTemplate===i||0<p(e.target).closest(".raven-sticky--effects").length&&a.elements.$header.hasClass("jupiterx-header-sticky-custom")){var r=a.elements.$header.find('[data-elementor-id]:not([data-elementor-id="'+n.stickyTemplate+'"])');if("header"===r.attr("data-elementor-type"))return 0<p(e.target).closest(".raven-sticky--effects").length&&r.children().each(function(){if("none"!==p(this).css("display"))return r=p(this),!1}),r.find(".jupiterx-cart-quick-view").css("visibility","visible"),void r.find(".raven-shopping-cart").click()}a.$element.addClass("jupiterx-raven-cart-quick-view-overlay"),"enabled"!==s&&"enabled"!==o||a.elements.$overlay.addClass("jupiterx-shopping-cart-overlay-activated")}}),this.elements.$closeButton.on("click",function(){a.$element.alterClass("jupiterx-raven-cart-quick-view-overlay"),"enabled"!==s&&"enabled"!==o||a.elements.$overlay.removeClass("jupiterx-shopping-cart-overlay-activated")})},handleMiniCartOnAddToCart:function(){var r=this,e=!1;"undefined"!=typeof elementor&&(e=elementor.helpers.hasPro()),e&&document.body.classList.contains("elementor-editor-active")||(p(document.body).on("adding_to_cart",function(e,t,n){0<p(".raven-shopping-cart-count").length&&"object"===(0,a.default)(n)&&(n.raven_shopping_cart="exists")}),p(document.body).on("added_to_cart",function(){var e,t,n=r.elements.$shoppingCart,i=p(".jupiterx-header-sticky-custom .elementor[data-elementor-type=header]");r.elements.$header.hasClass("jupiterx-header-sticky-custom")&&2===i.length&&"visible"!==r.elements.$shoppingCart.parents(".elementor[data-elementor-type=header]").css("visibility")||(e=r.elements.$body.find(".raven-sticky--effects"),0<(t=n.parents(".raven-sticky--active")).length&&!t.hasClass("raven-sticky--effects")||(0!==e.length&&e.find(".raven-shopping-cart")&&(n=e.find(".raven-shopping-cart")),n.click()))}))},ajaxAddToCart:function(){var e=this.elements.$elementorElement;0!==p(e[0]).parents(".jupiterx-header").length&&this.elements.$cartWrapper.data("is-product")&&p(document.body).find("form.cart").off("submit").on("submit",function(e){e.preventDefault();var n=p(this),t={},i=new FormData(n[0]);if(!n.hasClass("grouped_form")&&!n.hasClass("bundle_form")){var r,a=d(i.entries());try{for(a.s();!(r=a.n()).done;){var s=(0,c.default)(r.value,2),o=s[0],l=s[1],u=o;"add-to-cart"===u&&(u="raven-add-to-cart"),t[u]=l}}catch(e){a.e(e)}finally{a.f()}if(t.hasOwnProperty("raven-add-to-cart")||(t["raven-add-to-cart"]=n.find('[name="add-to-cart"]').val()),t.raven_shopping_cart="exists",t.nonce=ravenTools.nonce,t.action="raven_shopping_cart_single_insert_to_cart",e.hasOwnProperty("originalEvent"))return p.ajax({type:"post",url:wc_add_to_cart_params.ajax_url,data:t,beforeSend:function(){n.addClass("loading")},complete:function(){n.removeClass("loading"),n.removeClass("added"),n.next().hide()},success:function(e){if(e.error&&e.product_url)return window.location=e.product_url,!1;var t=e.data;t.error||p(document.body).trigger("added_to_cart",[t.fragments,t.cart_hash,n])}}),!1}})},handleRemoveFromCart:function(){p(document.body).on("click",".jupiterx_remove_from_cart",function(t){t.preventDefault();var e=p(t.target).data("cart_item_key");p(t.target).closest(".woocommerce-mini-cart-item").block({message:null,overlayCSS:{opacity:.6}}),p.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:function(e){p(document.body).trigger("removed_from_cart",[e.fragments,e.cart_hash,p(t.target)])},error:function(){window.location=p(t.target).attr("href")},dataType:"json"})})},handleTapToCloseOutside:function(){var r,a,s,o,l=this;"yes"===this.getElementSettings("tap_outside_close")&&(r=this.getElementSettings("content_effect_blur_content"),a=this.getElementSettings("content_effect_content_overlay"),s=document.getElementsByClassName("raven-shopping-cart")[0],o=document.getElementsByClassName("jupiterx-cart-quick-view")[0],document.addEventListener("click",function(e){var t,n,i;null!=s&&s.contains(e.target)||null!=o&&o.contains(e.target)||null===(t=l.$element)||void 0===t||!t.hasClass("jupiterx-raven-cart-quick-view-overlay")||null!==(n=e.target.classList)&&void 0!==n&&n.contains("add_to_cart_button")||null!==(i=e.target.classList)&&void 0!==i&&i.contains("single_add_to_cart_button")||(l.$element.alterClass("jupiterx-raven-cart-quick-view-overlay"),"enabled"!==a&&"enabled"!==r||l.elements.$overlay.removeClass("jupiterx-shopping-cart-overlay-activated"))}))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/slicedToArray":103,"@babel/runtime/helpers/typeof":106}],65:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new l({$element:e})};var s=i(e("@babel/runtime/regenerator")),r=i(e("@babel/runtime/helpers/asyncToGenerator")),a=i(e("../utils/module")),o=jQuery,l=a.default.extend({getDefaultSettings:function(){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:function(){var e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.slider)};return t.$slides=t.$swiperContainer.find(e.slide),t},getSwiperOptions:function(){var e=this,t={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:function(){e.handleKenBurns()}}},n=this.getElementSettings("navigation"),i="dots"===n||"both"===n;return("arrows"===n||"both"===n)&&(t.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),i&&(t.pagination={el:".swiper-pagination",type:"bullets",clickable:!0}),!0===t.loop&&(t.loopedSlides=this.getSlidesCount()),"fade"===t.effect&&(t.fadeEffect={crossFade:!0}),t},getAutoplayConfig:function(){return"yes"===this.getElementSettings("autoplay")&&{stopOnLastSlide:!0,delay:this.getElementSettings("autoplay_speed"),disableOnInteraction:"yes"===this.getElementSettings("pause_on_interaction")}},initSingleSlideAnimations:function(){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)},initSlider:function(){var a=this;return(0,r.default)(s.default.mark(function e(){var t,n,i,r;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=a.elements.$swiperContainer,n=a.getSettings(),i=t.data(n.attributes.dataAnimation),t.length){e.next=3;break}return e.abrupt("return");case 3:if(a.getSlidesCount()<=1)return e.abrupt("return");e.next=5;break;case 5:return r=elementorFrontend.utils.swiper,e.next=8,new r(t,a.getSwiperOptions());case 8:if(a.swiper=e.sent,t.data("swiper",a.swiper),a.handleKenBurns(),a.getElementSettings("pause_on_hover")&&a.togglePauseOnHover(!0),i){e.next=14;break}return e.abrupt("return");case 14:a.swiper.on("slideChangeTransitionStart",function(){t.find(n.selectors.slideInnerContents).removeClass(n.classes.animated+" "+i).hide()}),a.swiper.on("slideChangeTransitionEnd",function(){t.find(n.selectors.slideInnerContents).show().addClass(n.classes.animated+" "+i)});case 16:case"end":return e.stop()}},e)}))()},onInit:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.getSlidesCount()<2?this.initSingleSlideAnimations():this.initSlider()},getChangeableProperties:function(){return{pause_on_hover:"pauseOnHover",pause_on_interaction:"disableOnInteraction",autoplay_speed:"delay",transition_speed:"speed"}},updateSwiperOption:function(e){if(0!==e.indexOf("width")){var t=this.getElementSettings(e),n=this.getChangeableProperties()[e],i=t;switch(e){case"autoplay_speed":n="autoplay",i={delay:t,disableOnInteraction:"yes"===this.getElementSettings("pause_on_interaction")};break;case"pause_on_hover":this.togglePauseOnHover("yes"===t);break;case"pause_on_interaction":i="yes"===t}"pause_on_hover"!==e&&(this.swiper.params[n]=i),this.swiper.update()}else this.swiper.update()},getSlidesCount:function(){return this.elements.$slides.length},getInitialSlide:function(){var e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0},handleKenBurns:function(){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=o(this.swiper.slides[this.activeItemIndex]).children("."+e.classes.slideBackground):this.$activeImageBg=o(this.elements.$slides[0]).children("."+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)},togglePauseOnHover:function(e){var t=this;e?this.elements.$swiperContainer.on({mouseenter:function(){t.swiper.autoplay.stop()},mouseleave:function(){t.swiper.autoplay.start()}}):this.elements.$swiperContainer.off("mouseenter mouseleave")},onElementChange:function(e){this.getSlidesCount()<=1||this.getChangeableProperties().hasOwnProperty(e)&&this.updateSwiperOption(e)},onEditSettingsChange:function(e){this.getSlidesCount()<=1||"activeItemIndex"===e&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}})},{"../utils/module":9,"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/regenerator":108}],66:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){0<i("#jupiterx-raven-social-login-widget-facebook").length&&r();0<i("#jupiterx-raven-social-login-widget-twitter").length&&a()},n.Google=void 0;e("@wordpress/i18n");var i=jQuery;var r=function(){window.fbAsyncInit=function(){FB.init({appId:jxRavenFacebookAppId,cookie:!0,xfbml:!0,version:"v10.0"})},document.getElementById("jupiterx-raven-social-login-widget-facebook").addEventListener("click",function(){FB.login(function(r){r.authResponse&&"connected"===r.status&&FB.api("/me",{fields:"name, email"},function(e){var t=e.email,n=e.name,i=r.authResponse.accessToken;a(t,n,i)})})},!1);var a=function(e,t,n){i.ajax({url:_wpUtilSettings.ajax.url,type:"POST",beforeSend:function(){jQuery(".raven-social-login-wrap .facebook").css("opacity","0.5"),i(".jx-social-login-errors-wrapper").hide().text("")},data:{action:"raven_form_frontend",email:e,name:t,access_token:n,post_id:document.getElementById("jx-raven-social-widget-post").value,form_id:document.getElementById("jx-raven-social-widget-form").value,social_network:"Facebook"}}).always(function(e){i(".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:i(".jx-social-login-errors-wrapper").show().text(e.data)})}},a=function(){document.getElementById("jupiterx-raven-social-login-widget-twitter").addEventListener("click",function(){i.ajax({url:_wpUtilSettings.ajax.url,type:"POST",beforeSend:function(){i(".raven-social-login-wrap .twitter").css("opacity","0.5"),i(".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(function(e){i(".raven-social-login-wrap .twitter").css("opacity","1.0"),!0===e.success?(win=window.open(e.data,"_blank"),win.focus()):i(".jx-social-login-errors-wrapper").show().text(e.data)})},!1)};n.Google=function(e){i.ajax({url:_wpUtilSettings.ajax.url,type:"POST",beforeSend:function(){i(".raven-social-login-wrap .google").css("opacity","0.5"),i(".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(function(e){i(".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:i(".jx-social-login-errors-wrapper").show().text(e.data)})}},{"@wordpress/i18n":115}],67:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;n.default=function(){function l(e){var t=document.getElementById("jupiterx-social-share-target").value,n=encodeURIComponent(document.getElementById("jupiterx-social-share-title").value),i=document.getElementById("jupiterx-social-share-image").value;!1===function(e){var t;try{t=new URL(e)}catch(e){return!1}return"http:"===t.protocol||"https:"===t.protocol}(t)&&(t="https://"+t);var r=a[e];return r=(r=(r=(r=r.replace(/{text}/g,"")).replace(/{url}/g,t)).replace(/{title}/g,n)).replace("{image}",i)}var 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()"};document.querySelectorAll(".jupiterx-social-share-button").forEach(function(o){o.addEventListener("click",function(){var e,t,n,i,r=o.getAttribute("data-network"),a=l(r),s=r.charAt(0).toUpperCase()+r.slice(1);"print"!==r?window.open(a,s,(e=window.screen.width/2,t=window.screen.height/2,n=window.screen.width/4,i=window.screen.height/4,window.screen.width<600&&(e=window.screen.width,t=window.screen.height-150,n=10,i=75),"toolbar=0,status=0,width="+e+",height="+t+",left="+n+",top="+i)):print()})})}},{}],68:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var a=i(e("@babel/runtime/helpers/toConsumableArray")),r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){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:function(){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:function(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.setMediaHeight(),this.setStickPosition(),this.pauseAllVideosOnFirstScroll()},bindEvents:function(){var r=this;window.addEventListener("scroll",r.detectScrollDirection),window.addEventListener("resize",function(){r.setMediaHeight(),r.setStickPosition()}),(0,a.default)(this.elements.$contentItem).forEach(function(e){new IntersectionObserver(function(i){i.forEach(function(e){var t=100*e.intersectionRatio,n=r.getSettings("state.scrollDirection");0<e.intersectionRatio&&!n&&(r.elements.$mediaColumn.find(".section").removeClass("active"),r.elements.$mediaColumn.find('[data-section-index="'.concat($(e.target).index(),'"]')).addClass("active")),"up"===n&&r.handleScrollUp(t,i),"down"===n&&r.handleScrollDown(t,i)})},{threshold:[.4,.9]}).observe(e)})},detectScrollDirection:function(){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:function(e,t){var n,i,r;e<90||(n=this.elements.$mediaColumn.find(".section.active"),i=t[0].target.dataset.sectionIndex,r=this.elements.$mediaColumn.find('[data-section-index="'.concat(i,'"]')),this.activateMediaSection(r[0],n[0]))},handleScrollDown:function(e,t){var n,i,r;40<e||(n=this.elements.$mediaColumn.find(".section.active"),(i=+t[0].target.dataset.sectionIndex+1)===this.elements.$contentItem.length&&(i=this.elements.$contentItem.length-1),r=this.elements.$mediaColumn.find('[data-section-index="'.concat(i,'"]')),this.activateMediaSection(r[0],n[0]))},activateMediaSection:function(e,t){t.classList.remove("active"),e.classList.add("active");var n,i=t.querySelector("video"),r=e.querySelector("video"),a=t.querySelector("iframe"),s=e.querySelector("iframe");(i||a)&&((n=null==a?void 0:a.src)&&(a.src="",a.dataset.src=n),i&&(i.currentTime=i.dataset.startTime,i.pause())),s&&s.dataset&&s.dataset.src&&(s.src=s.dataset.src),r&&r.autoplay&&r.muted&&r.play(),this.setStickPosition(e)},setMediaHeight:function(){var s=this;this.elements.$mediaColumn.each(function(e,t){var n=t.querySelector(".section").clientHeight;t.style.height=n+"px"}),this.elements.$mediaColumn.find(".section").each(function(e,t){var n,i=null===(n=t.querySelector(".raven-sticky-media-scroller-content"))||void 0===n?void 0:n.clientHeight;t.style.height=i+"px"}),this.elements.$responsiveModeWrapper.find(".section:first-child").each(function(e,t){var n,i,r=null===(n=t.querySelector(".raven-sticky-media-scroller-content"))||void 0===n?void 0:n.clientHeight,a=null===(i=t.parentElement.querySelector(".section:last-child"))||void 0===i?void 0:i.clientHeight;a<r&&"none"!==s.elements.$responsiveModeWrapper.css("display")&&t.classList.contains("elementor-repeater-item-media-type-video")?(t.style.height=r-a+"px",document.body.classList.contains("elementor-editor-active")&&(t.style.height=r+"px")):t.style.height=r+"px"})},setStickPosition:function(e){var t=0<arguments.length&&void 0!==e?e:{};t.length||(t=this.elements.$mediaColumn.find(".section.active")[0]);var n=t.clientHeight,i=this.getElementSettings("stick_position"),r=window.innerHeight;this.elements.$mediaColumn[0].style.height=n+"px","bottom"===i&&(this.elements.$mediaColumn[0].style.top=r-n-40+"px"),"center"===i&&(this.elements.$mediaColumn[0].style.top=(r-n)/2+"px")},pauseAllVideosOnFirstScroll:function(){var e=this.elements.$stickyModeWrapper[0].querySelectorAll(".section:not(.active)");e&&e.forEach(function(e){var t=e.querySelector("video");t&&t.pause()})}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/toConsumableArray":105}],69:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){return{selectors:{form:".elementor-stripe-form",errors:".elementor-message-danger",button:".elementor-payment-button"}}},getDefaultElements:function(){var e=this.getSettings();return{form:this.$element[0].querySelector(e.selectors.form),errors:this.$element[0].querySelectorAll(e.selectors.errors)}},bindEvents:function(){var t=this,e=document.querySelector(".elementor-payment-button");_.isNull(this.elements.form)&&_.isNull(e)||e.addEventListener("click",function(e){return t.handleSubmit(e)})},handleSubmit:function(e){var i,t,n,r,a,s,o,l,u,c,d,p,h;e.preventDefault(),elementorFrontend.isEditMode()||(""!==this.elements.errors.innerHTML&&document.querySelectorAll(".elementor-stripe-error-message").forEach(function(e){return e.remove()}),i=this.elements.form,n=(t=new FormData(i)).get("action"),r=t.get("post_id"),a=t.get("widget_id"),s=t.get("custom_error_msg"),o=t.get("custom_error_msg_global"),l=t.get("custom_error_msg_payment"),u=t.get("stripe_form_submit_nonce"),c=document.URL,d="yes"===t.get("open_in_new_window")?"_blank":"_self",p=function(e){var t=document.createElement("div"),n=i.appendChild(t);n.className="elementor-message elementor-stripe-error-message elementor-message-danger",n.innerHTML=e},h={action:n,postId:r,widgetId:a,pageUrl:c,nonce:u},void 0!==this.elements.errors&&0<this.elements.errors.length&&this.elements.errors.forEach(function(e){e.classList.remove("elementor-hidden")}),wp.ajax.post({action:n,data:h,nonce:u}).done(function(e){var t=e.response.code,n=e.body&&JSON.parse(e.body);switch(t){case 200:window.open(n.url,d);break;case 401:case 403:p(s?l:n.error.message);break;default:p(s?o:n.error.message)}}).fail(function(e){e=e.body&&JSON.parse(e.body),p(s?o:e.error.message)}))}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],70:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new o({$element:e})};var r=i(e("@babel/runtime/helpers/typeof")),a=i(e("../utils/module")),s=e("@wordpress/i18n"),v=jQuery,o=a.default.extend({onInit:function(){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"===("undefined"==typeof elementor?"undefined":(0,r.default)(elementor))&&this.autoSlide(t)))},onElementChange:function(){var e=this.getElementSettings();this.addCollpaseIcons(e,!0)},autoSlide:function(e){var t=this.getWrapper();"yes"===e.collapse_subitems&&v(t).find(".jupiterx-table-of-content-main-list > li > ol").hide(),"undefined"==typeof elementor&&window.addEventListener("scroll",this.onScrollEvent)},onScrollEvent:function(){var e,t=this.getWrapper(),n=this.getElementSettings(),i=this,r=0;v("[data-".concat(i.getID(),"-jxtoc]")).each(function(e,t){var n=v(t).attr("data-".concat(i.getID(),"-jxtoc"));if(i.isElementInView(n)[0])return r=n,!0}),v(t).find(".jupiterx-table-of-contents-item-link").removeClass("jupiterx-table-of-contents-item-link-active"),v(t).find(".jupiterx-table-of-contents-item-link[data-id=".concat(r,"]")).addClass("jupiterx-table-of-contents-item-link-active"),"yes"===n.collapse_subitems&&(e=v(t).find("li[data-key=".concat(r,"] > ol")),v(t).find(".jupiterx-table-of-contents-item-wrapper[data-key=".concat(r,"]")).parent().hasClass("jupiterx-table-of-content-main-list")?(v(t).find(".jupiterx-table-of-content-main-list > li > ol").not(e).hide("fast"),e.slideDown()):(v(t).find(".jupiterx-table-of-contents-item-wrapper[data-key=".concat(r,"]")).parents(".jupiterx-table-of-contents-nested-list").show(),v(t).find(".jupiterx-table-of-content-main-list > li > ol").not(v(".jupiterx-table-of-contents-item-wrapper[data-key=".concat(r,"]")).parents(".jupiterx-table-of-contents-nested-list")).hide()))},isElementInView:function(e){var l=!1,t=this.getWrapper(),u=this,n=v(t).find('.jupiterx-table-of-contents-item-wrapper[data-key="'.concat(e,'"]')),i=v("[data-".concat(this.getID(),'-jxtoc="').concat(e,'"]')),r=i.offset().top+25,a=r+i.outerHeight(),s=v(window).scrollTop(),o=s+v(window).height();return(l=s<a&&r<o)?[!0,e]:(n.find("li").each(function(e,t){var n=v(t).attr("data-key"),i=v("[data-".concat(u.getID(),"-jxtoc=").concat(n,"]")),r=i.offset().top,a=r+i.outerHeight(),s=v(window).scrollTop(),o=s+v(window).height();s<a&&r<o&&(l=!0)}),[l,e])},addCollpaseIcons:function(e,t){var n,i,r,a,s,o,l,u,c,d=1<arguments.length&&void 0!==t&&t;"yes"===e.minimize_box&&(n=this.getWrapper(),i=v(n).find(".jupiterx-table-of-contents-list-icon-expand").html(),r=v(n).find(".jupiterx-table-of-contents-list-icon-collapse").html(),a=v(n).find(".jupiterx-toc-body-maximized"),s=window.innerWidth,o=v(n).find(".jupiterx-table-of-contents-widget").css("min-height"),l=v(n).find(".jupiterx-table-of-contents-header"),d&&v(n).find(".jxtoc").length<0&&v(n).append('<input type="hidden" value="0" class="jxtoc-checker">'),d&&"0"!==v(n).find(".jxtoc-checker").val()||(a.append(i),a.append(r)),d&&v(n).find(".jxtoc-checker").val("1"),l.css("cursor","pointer"),u=v(n).find(".jupiterx-table-of-contents-expand-icon"),c=v(n).find(".jupiterx-table-of-contents-collapse-icon"),l.off().on("click",function(){var e=v(n).find(".jupiterx-table-of-contents-body");e.is(":visible")?(e.slideUp(),v(n).find("table").css("min-height","auto"),c.hide(),u.show()):(e.slideDown(),v(n).find("table").css("min-height",o),u.hide(),c.show())}),u.hide(),c.show(),"desktop"===e.minimized_on&&1024<=s&&(u.show(),c.hide(),l.trigger("click")),"tablet"===e.minimized_on&&s<1024&&767<s&&(u.show(),c.hide(),l.trigger("click")),"mobile"===e.minimized_on&&s<767&&(u.show(),c.hide(),l.trigger("click")))},setLoader:function(){var e=v(".jupiterx-table-of-contents-loader-icon").html();v(".jupiterx-table-of-contents-body").append(e)},findWanted:function(o){var l=this,u={},e=o.headings_by_tags.join(),t="body",c=0;return _.isEmpty(o.container)||(t=o.container),v(t).find(e).each(function(e,t){var n,i,r,a,s=v(t).prop("tagName");v(t).hasClass("jupiterx-table-of-contents-native-exclude")||(1!==v(t).parents("header").length||null!==(n=o.container)&&void 0!==n&&n.includes("header")||1===v(t).parents("#jupiterx-primary").length)&&(1!==v(t).parents("footer").length||null!==(i=o.container)&&void 0!==i&&i.includes("footer")||1===v(t).parents("#jupiterx-primary").length)&&(1!==v(t).parents("aside").length||null!==(r=o.container)&&void 0!==r&&r.includes("aside")||1===v(t).parents("#jupiterx-primary").length)&&(1!==v(t).parents(".jupiterx-main-header").length||null!==(a=o.container)&&void 0!==a&&a.includes(".jupiterx-main-header"))&&(_.isEmpty(o.exclude_headings_by_selector)||l.checkExcludes(t,o.exclude_headings_by_selector,s))&&(v(t).attr("data-".concat(l.getID(),"-jxtoc"),c),u[c]={type:s,text:v(t).text().trim(),id:c},c++)}),u},checkExcludes:function(i,e,r){e.includes(",")||(e+=",");var a=!0,s="";return e.split(",").map(function(e){return e.trim()}).forEach(function(e){var t,n;""!==e&&(t=e.charAt(0),n=v(e),"."===t?(s=e.substring(1),(v(i).hasClass(s)||_.some(n,function(e){var t,n;return(null==e||null===(t=e.offsetParent)||void 0===t?void 0:t.classList)===(null==i||null===(n=i.offsetParent)||void 0===n?void 0:n.classList)}))&&(a=!1)):"#"===t?(s=e.substring(1))!==v(i).attr("id")&&!_.some(n,function(e){var t,n;return(null==e||null===(t=e.offsetParent)||void 0===t?void 0:t.id)===(null==i||null===(n=i.offsetParent)||void 0===n?void 0:n.id)})||(a=!1):(s=e.toUpperCase())===r&&(a=!1))}),a},getWrapper:function(){return'div[data-id="'+this.getID()+'"]'},manageNotFound:function(){var e=this.getWrapper();v(e).find(".jupiterx-table-of-contents-body").text((0,s.__)("No headings were found on this page.","jupiterx-core"))},activeLoading:function(){var e=this.getWrapper();v(e).find(".jupiterx-table-of-contents-body").empty()},buildItem:function(t,e,n,i){var r=this,a=this.getWrapper(),s=e[n],o=document.createElement("li"),l=document.createElement("div");o.setAttribute("class","jupiterx-table-of-contents-item-wrapper"),o.setAttribute("data-tag",s.type),l.setAttribute("class","jupiterx-table-of-contents-inner-wrapper"),"yes"!==t.word_wrap&&o.classList.add("jupiterx-toc-word-wrap"),"yes"===t.hierarchical_view&&o.setAttribute("data-key",n);var u=document.createElement("span"),c=document.createElement("span");c.setAttribute("class","jupiterx-table-of-contents-list-pointer"),"numbers"===t.marker_view&&(u.innerText=i,c.innerText="."),"bullets"===t.marker_view&&(u.innerHTML=v(a).find(".jupiterx-table-of-contents-list-icon-wrapper").html()),_.isEmpty(t.hierarchical_view)&&(l.appendChild(u),l.appendChild(c)),_.isEmpty(t.hierarchical_view)||"bullets"!==t.marker_view||(o.classList.add("wrapper-with-no-number"),l.appendChild(u));var d=document.createElement("a");return d.setAttribute("class","jupiterx-table-of-contents-item-link"),d.setAttribute("data-text",s.text),d.setAttribute("data-id",s.id),d.setAttribute("href","#"),v(d).off().on("click",function(e){e.preventDefault(),r.collapseSubmenus(e,t)}),d.innerText=s.text,l.appendChild(d),o.appendChild(l),{type:"li",content:o,tag:s.type}},manageToAppendFound:function(e,t){var n=this,i=1,r=this.getWrapper(),a=v(r).find(".jupiterx-table-of-contents-body"),s=_.isEmpty(t.hierarchical_view)?"ul":"ol",o=document.createElement(s);for(var l in o.setAttribute("type","1"),o.setAttribute("class","jupiterx-table-of-content-main-list"),e){var u=this.buildItem(t,e,l,i),c=parseInt(l);if(i++,0===c||_.isEmpty(t.hierarchical_view))o.appendChild(u.content);else{var d=this.convertTagToNumber(u.tag);for(--c;0<=c;){var p=this.convertTagToNumber(e[c].type),h=v(o).find('[data-key="'+c+'"]');if(d===p){h.parent().append(u.content);break}if(p<d&&0<h.children("ol").length){h.append(u.content);break}if(p<d&&0===h.children("ol").length){var m=document.createElement("ol");m.appendChild(u.content),m.setAttribute("class","jupiterx-table-of-contents-nested-list"),h.append(m);break}if(d<p){var f=c-1;if(f<0){v(o).find('[data-key="0"]').parent().append(u.content);break}if(p=this.convertTagToNumber(e[f].type),h=v(o).find('[data-key="'+f+'"]'),p<d&&0<h.children("ol").length){h.find("ol").append(u.content);break}if(p<d&&0===h.children("ol").length){var g=document.createElement("ol");g.appendChild(u.content),g.setAttribute("class","jupiterx-table-of-contents-nested-list"),h.append(g);break}}c--}}}"undefined"!=typeof elementor?(v(".jupiterx-table-of-contents-loader").css("display","none"),a.append(o)):setTimeout(function(){v(".jupiterx-table-of-contents-loader").css("display","none"),a.append(o),n.autoSlide(t)},500)},convertTagToNumber:function(e){return parseInt(e.replace("H",""))},collapseSubmenus:function(e,t){var n=this;window.removeEventListener("scroll",this.onScrollEvent);var i,r,a=v(e.target).attr("data-id");v(".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&&v("html, body").animate({scrollTop:v("[data-".concat(this.getID(),'-jxtoc="')+a+'"]').offset().top-100},500),"yes"===t.collapse_subitems&&(i=e.target.getAttribute("data-id"),r=this.getWrapper(),v(e.target).parent().parent().parent().hasClass("jupiterx-table-of-content-main-list")&&(v(r).find("li[data-key=".concat(i,"] > ol")).slideToggle("fast"),v(r).find(".jupiterx-table-of-content-main-list > li[data-key!=".concat(i,"] > ol")).hide())),setTimeout(function(){window.addEventListener("scroll",n.onScrollEvent)},0)}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/typeof":106,"@wordpress/i18n":115}],71:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e,toggleSelf:!1})};var r=i(e("../utils/module")).default.extend({$activeContent:null,interval:null,getDefaultSettings:function(){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:function(){var e=this.getSettings("selectors");return{$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent)}},activateDefaultTab:function(){var e,t,n=this.getSettings();(n.autoExpand&&"editor"!==n.autoExpand||this.isEdit)&&(e=this.getEditSettings("activeItemIndex")||1,t={showTabFn:n.showTabFn,hideTabFn:n.hideTabFn},this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(e),this.setSettings(t))},deactivateActiveTab:function(e){var t=this.getSettings(),n=t.classes.active,i=e?'[data-tab="'+e+'"]':"."+n,r=this.elements.$tabTitles.filter(i),a=this.elements.$tabContents.filter(i);r.add(a).removeClass(n),a[t.hideTabFn]()},activateTab:function(e){var t,n=this.getSettings(),i=n.classes.active,r=this.elements.$tabTitles.filter('[data-tab="'+e+'"]'),a=this.elements.$tabContents.filter('[data-tab="'+e+'"]'),s=this.getElementSettings("scroll_to_beginning");r.add(a).addClass(i),a[n.showTabFn](),r.hasClass("raven-tabs-mobile-title")&&"yes"===s&&window.innerWidth<1025&&(t=$("header").outerHeight(),window.scroll({top:a.offset().top-t-100,behavior:"smooth"}))},isActiveTab:function(e){return this.elements.$tabTitles.filter('[data-tab="'+e+'"]').hasClass(this.getSettings("classes.active"))},useAjax:function(){var t,e;"yes"===this.getElementSettings("use_ajax_loading")&&(e=(t=$(".raven-tabs-content.raven-tabs-active .raven-ajax-content-template")).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:function(){var t=this,e=t.getElementSettings("tabs_event");t.elements.$tabTitles.on(e,function(e){t.changeActiveTab(e.currentTarget.dataset.tab),t.useAjax(),clearInterval(t.interval)})},onInit:function(){var e,t,n,i=this;elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.activateDefaultTab(),"yes"===this.getElementSettings("auto_switch")&&(e=this.getElementSettings("auto_swtich_delay"),t=1,n=this.getDefaultElements().$tabContents.length,this.interval=setInterval(function(){n<++t&&(t=1),i.changeActiveTab(t)},e))},onEditSettingsChange:function(e){"activeItemIndex"===e&&this.activateDefaultTab()},changeActiveTab:function(e){var t=this.isActiveTab(e),n=this.getSettings();!n.toggleSelf&&t||!n.hidePrevious||this.deactivateActiveTab(),!n.hidePrevious&&t&&this.deactivateActiveTab(e),t||this.activateTab(e);var i=new CustomEvent("jupiterxcore:advancedtabs:changeactivetab");document.dispatchEvent(i)}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],72:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("@babel/runtime/helpers/classCallCheck")),a=i(e("@babel/runtime/helpers/createClass")),s=i(e("@babel/runtime/helpers/get")),o=i(e("@babel/runtime/helpers/inherits")),l=i(e("@babel/runtime/helpers/possibleConstructorReturn")),u=i(e("@babel/runtime/helpers/getPrototypeOf"));function c(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,u.default)(i);return t=r?(e=(0,u.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,l.default)(this,t)}}var d=function(e){(0,o.default)(n,e);var t=c(n);function n(){return(0,r.default)(this,n),t.apply(this,arguments)}return(0,a.default)(n,[{key:"getDefaultSettings",value:function(){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}}}},{key:"getDefaultElements",value:function(){var e=this.getSettings("selectors");return{$tabTitles:this.findElement(e.tabTitle),$tabContents:this.findElement(e.tabContent)}}},{key:"activateDefaultTab",value:function(e){var t,n,i=this.getSettings();i.autoExpand&&("editor"!==i.autoExpand||this.isEdit)&&(t=this.getEditSettings("activeItemIndex")||e||1,n={showTabFn:i.showTabFn,hideTabFn:i.hideTabFn},this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(t),this.setSettings(n))}},{key:"handleKeyboardNavigation",value:function(e){var t=e.currentTarget,n=jQuery(t.closest(this.getSettings("selectors").tablist)),i=n.find(this.getSettings("selectors").tabTitle),r="vertical"===n.attr("aria-orientation");switch(e.key){case"ArrowLeft":case"ArrowRight":if(r)return;break;case"ArrowUp":case"ArrowDown":if(!r)return;e.preventDefault();break;case"Home":return e.preventDefault(),void i.first().trigger("focus");case"End":return e.preventDefault(),void i.last().trigger("focus");default:return}var a=t.getAttribute("data-tab")-1,s=this.getSettings("keyDirection")[e.key],o=i[a+s];o?o.focus():-1===a+s?i.last().trigger("focus"):i.first().trigger("focus")}},{key:"deactivateActiveTab",value:function(e){var t=this.getSettings(),n=t.classes.active,i=e?'[data-tab="'+e+'"]':"."+n,r=this.elements.$tabTitles.filter(i),a=this.elements.$tabContents.filter(i);r.add(a).removeClass(n),r.attr({tabindex:"-1","aria-selected":"false"}),a[t.hideTabFn](),a.attr("hidden","hidden")}},{key:"activateTab",value:function(e){var t=this.getSettings(),n=t.classes.active,i=this.elements.$tabTitles.filter('[data-tab="'+e+'"]'),r=this.elements.$tabContents.filter('[data-tab="'+e+'"]'),a="show"===t.showTabFn?0:400;i.add(r).addClass(n),i.attr({tabindex:"0","aria-selected":"true"}),r[t.showTabFn](a,function(){return elementorFrontend.elements.$window.trigger("resize")}),r.removeAttr("hidden")}},{key:"isActiveTab",value:function(e){return this.elements.$tabTitles.filter('[data-tab="'+e+'"]').hasClass(this.getSettings("classes.active"))}},{key:"bindEvents",value:function(){var t=this;this.elements.$tabTitles.on({keydown:function(e){jQuery(e.target).is("a")&&"Enter"===e.key&&e.preventDefault(),["End","Home","ArrowUp","ArrowDown"].includes(e.key)&&t.handleKeyboardNavigation(e)},keyup:function(e){switch(e.key){case"ArrowLeft":case"ArrowRight":t.handleKeyboardNavigation(e);break;case"Enter":case"Space":e.preventDefault(),t.changeActiveTab(e.currentTarget.getAttribute("data-tab"))}},click:function(e){e.preventDefault(),t.changeActiveTab(e.currentTarget.getAttribute("data-tab"))}})}},{key:"onInit",value:function(){(0,s.default)((0,u.default)(n.prototype),"onInit",this).apply(this,arguments)}},{key:"changeActiveTab",value:function(e){var t=this.isActiveTab(e),n=this.getSettings();!n.toggleSelf&&t||!n.hidePrevious||this.deactivateActiveTab(),!n.hidePrevious&&t&&this.deactivateActiveTab(e),t||this.activateTab(e)}}]),n}(elementorModules.frontend.handlers.Base);n.default=d},{"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],73:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.triggerEvent=function(e,t,n,i){return a.apply(this,arguments)};var d=i(e("@babel/runtime/regenerator")),r=i(e("@babel/runtime/helpers/asyncToGenerator")),p=i(e("../video-playlist/playlist-event"));function h(){return(h=(0,r.default)(d.default.mark(function e(t,n,i,r){var a,s;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=r||t.currentPlaylistItemIndex,s=t.playlistItemsArray[a-1],e.t0=n,e.next=4,s.playerInstance.getCurrentTime();case 4:return e.t1=e.sent,e.t2=t.$element,e.t3=i,e.t4=s.playerInstance.watchCount,e.abrupt("return",{type:e.t0,time:e.t1,element:e.t2,trigger:e.t3,watchCount:e.t4});case 9:case"end":return e.stop()}},e)}))).apply(this,arguments)}function a(){return(a=(0,r.default)(d.default.mark(function e(s,o,l,u){var c;return d.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=p.default,e.next=3,function(e,t,n,i){return h.apply(this,arguments)}(s,o,l,u);case 3:e.t1=e.sent,e.t2=function(e){var t=e.elements.$innerTabs.filter(".e-active").find(".raven-inner-tabs-wrapper .raven-inner-tab-title");if(t.length){var n=t.filter(".raven-inner-tab-active");return{name:n.text().trim(),index:n.index()+1}}return{name:"none",index:"none"}}(s),e.t3=(r=s,a=void 0,a=u||r.currentPlaylistItemIndex,{name:r.getElementSettings("playlist_title"),currentItem:a,amount:r.playlistItemsArray.filter(function(e){return"section"!==e.videoType}).length}),e.t4=(t=s,i=n=void 0,n=u||t.currentPlaylistItemIndex,{provider:(i=t.playlistItemsArray[n-1]).videoType,url:i.videoUrl,title:i.videoTitle,duration:i.videoDuration}),e.t5={event:e.t1,tab:e.t2,playlist:e.t3,video:e.t4},c=new e.t0(e.t5),jQuery("body").trigger("raven-video-playList",c);case 10:case"end":return e.stop()}var t,n,i,r,a},e)}))).apply(this,arguments)}},{"../video-playlist/playlist-event":80,"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/regenerator":108}],74:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new x({$element:e})};var r=i(e("@babel/runtime/helpers/defineProperty")),a=i(e("@babel/runtime/helpers/classCallCheck")),s=i(e("@babel/runtime/helpers/createClass")),o=i(e("@babel/runtime/helpers/get")),l=i(e("@babel/runtime/helpers/inherits")),u=i(e("@babel/runtime/helpers/possibleConstructorReturn")),c=i(e("@babel/runtime/helpers/getPrototypeOf")),d=i(e("../video-playlist/base-tabs")),p=i(e("../video-playlist/player-youtube")),h=i(e("../video-playlist/player-vimeo")),m=i(e("../video-playlist/player-hosted")),f=e("../video-playlist/scroll-utils"),g=e("../video-playlist/inner-tabs"),v=e("../video-playlist/url-params"),y=e("../video-playlist/event-trigger");function b(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function w(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?b(Object(n),!0).forEach(function(e){(0,r.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function _(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,c.default)(i);return t=r?(e=(0,c.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,u.default)(this,t)}}var x=function(e){(0,l.default)(r,e);var t=_(r);function r(){return(0,a.default)(this,r),t.apply(this,arguments)}return(0,s.default)(r,[{key:"getDefaultSettings",value:function(){var e=(0,o.default)((0,c.default)(r.prototype),"getDefaultSettings",this).call(this);return w(w({},e),{},{selectors:w(w({},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"})})}},{key:"getDefaultElements",value:function(){var e=(0,o.default)((0,c.default)(r.prototype),"getDefaultElements",this).call(this),t=this.getSettings("selectors");return w(w({},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)})}},{key:"initEditorListeners",value:function(){(0,o.default)((0,c.default)(r.prototype),"initEditorListeners",this).call(this);var t=this;this.editorListeners.push({event:"ravenPlaylistWidget:fetchVideoData",to:elementor.channels.editor,callback:function(e){t.getCurrentPlayerSelected().setVideoProviderData().then(function(){e.currentItem=t.getCurrentItemSelected(),elementor.channels.editor.trigger("ravenPlaylistWidget:setVideoData",e)})}})}},{key:"bindEvents",value:function(){var t=this;(0,o.default)((0,c.default)(r.prototype),"bindEvents",this).call(this),this.elements.$imageOverlay.on({click:function(e){e.currentTarget.remove(),t.getCurrentPlayerSelected().play()}}),this.elements.$innerTabs.on({click:function(e){(0,g.handleInnerTabs)(e,t)}}),this.elements.$tabsItems.on({scroll:function(e){(0,f.handleVideosPanelScroll)(t.elements,e)}}),this.elements.$toggleVideosDisplayButton.on({click:function(e){jQuery(e.target).toggleClass("rotate-up"),jQuery(e.target).toggleClass("rotate-down"),t.elements.$tabsWrapper.slideToggle("slow")}})}},{key:"onInit",value:function(){(0,o.default)((0,c.default)(r.prototype),"onInit",this).apply(this,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,f.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()}},{key:"onEditSettingsChange",value:function(e){"panel"===e&&(this.preventTabActivation=!0),"activeItemIndex"===e&&(this.preventTabActivation?this.preventTabActivation=!1:this.activateDefaultTab())}},{key:"activateInitialVideo",value:function(){this.isPageOnLoad=!0;var e,t=!!this.getElementSettings("lazy_load"),n=(0,v.handleURLParams)(this.playlistId,this.playlistItemsArray),i=!1;this.currentPlaylistItemIndex=1,this.currentPlayingPlaylistItemIndex=1,n&&(this.currentPlaylistItemIndex=n,this.currentPlayingPlaylistItemIndex=n,i=!0),this.isAutoplayOnLoad&&!i&&(0,v.setVideoParams)(this.playlistId,this.playlistItemsArray,this.currentPlaylistItemIndex),i&&null!==(e=this.$element[0])&&void 0!==e&&e.scrollIntoView({behavior:"smooth"}),this.handleFirstVideoActivation(t)}},{key:"handleFirstVideoActivation",value:function(e){var t,n,i=this;e?(t=document.querySelector(".elementor-element-"+this.playlistId+" .raven-tabs-main-area"),(n=elementorModules.utils.Scroll.scrollObserver({callback:function(e){e.isInViewport&&(i.activateDefaultTab(i.currentPlaylistItemIndex),n.unobserve(t))}})).observe(t)):this.activateDefaultTab(this.currentPlaylistItemIndex)}},{key:"getCurrentItemSelected",value:function(){return this.playlistItemsArray[this.currentPlaylistItemIndex-1]}},{key:"getCurrentPlayerSelected",value:function(){return this.getCurrentItemSelected().playerInstance}},{key:"getCurrentPlayerPlaying",value:function(){return this.playlistItemsArray[this.currentPlayingPlaylistItemIndex-1].playerInstance}},{key:"isVideoShouldBePlayed",value:function(){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}},{key:"activateInnerTabInEditMode",value:function(){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())}},{key:"handleVideo",value:function(n){var e,i=this;n.playerInstance?this.isVideoShouldBePlayed()&&(1===this.currentPlaylistItemIndex&&this.elements.$imageOverlay&&this.elements.$imageOverlay.remove(),this.playVideoAfterCreation(n)):(e={youtube:p.default,vimeo:h.default,hosted:m.default},n.playerInstance=new e[n.videoType](n,this.currentPlaylistItemIndex),n.playerInstance.create().then(function(){i.isVideoShouldBePlayed()&&i.playVideoOnCreation(n),n.playerInstance.handleFullScreenChange(function(e){(0,y.triggerEvent)(i,e?"videoFullScreen":"videoExitFullScreen","click")}),n.playerInstance.handlePlayed(function(){var e=i.getCurrentItemSelected(),t="click";e.isAutoplayOnLoad?(t="onLoad",n.isAutoplayOnLoad=!1):e.isAutoPlayNextUp&&(t="nextVideo"),(0,y.triggerEvent)(i,e.playerInstance.isVideoPausedLocal?"videoResume":"videoStart",t)}),n.playerInstance.handleEnded(function(){(0,y.triggerEvent)(i,"videoEnded","click"),i.watchedIndication&&i.elements.$tabTitles.filter(".e-active").addClass("watched-video");var e=i.getCurrentItemSelected().dataItemId;if(!i.watchedVideosArray.includes(e)&&i.watchedIndication&&(i.watchedVideosArray.push(i.getCurrentItemSelected().dataItemId),elementorFrontend.storage.set(i.storageKey,JSON.stringify(i.watchedVideosArray))),i.isAutoplayNextUp&&i.playlistItemsArray.length>=++i.currentPlaylistItemIndex){for(;"section"===i.getCurrentItemSelected().videoType;)if(i.currentPlaylistItemIndex++,i.playlistItemsArray.length<i.currentPlaylistItemIndex)return void(i.currentPlaylistItemIndex=i.playlistItemsArray.length);i.changeActiveTab(i.currentPlaylistItemIndex,!0)}}),n.playerInstance.handlePaused(function(e){(0,y.triggerEvent)(i,"videoPaused","click",e)})}))}},{key:"playVideoAfterCreation",value:function(e){e.playerInstance.play()}},{key:"playVideoOnCreation",value:function(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}},{key:"createPlaylistItems",value:function(){var r=this;this.playlistItemsArray=[],this.elements.$videos.each(function(e,t){var n={},i=jQuery(t);n.videoUrl=i.attr("data-video-url"),n.videoType=i.attr("data-video-type"),n.videoTitle=i.attr("data-video-title"),n.videoDuration=i.attr("data-video-duration"),n.tabContent=t,n.dataTab=e+1,n.dataItemId=r.getElementSettings().tabs[e]._id,r.playlistItemsArray.push(n)}),0<this.watchedVideosArray.length&&this.watchedIndication&&this.watchedVideosArray.forEach(function(t){var e=r.playlistItemsArray.find(function(e){return e.dataItemId===t});r.elements.$tabTitles.filter('[data-tab="'+e.dataTab+'"]').addClass("watched-video")})}},{key:"changeActiveTab",value:function(e,t){var n,i;(0,o.default)((0,c.default)(r.prototype),"changeActiveTab",this).call(this,e),this.playlistItemsArray[e-1]&&"section"!==(null===(n=this.playlistItemsArray[e-1])||void 0===n?void 0:n.videoType)&&(this.currentPlaylistItemIndex=parseInt(e),t&&(this.currentPlayingPlaylistItemIndex=this.currentPlaylistItemIndex),this.handleVideo(this.getCurrentItemSelected(),t),this.isPageOnLoad||(0,v.setVideoParams)(this.playlistId,this.playlistItemsArray,this.currentPlaylistItemIndex),this.isPageOnLoad=!1,0<jQuery(this.elements.$innerTabs.eq(e-1)).find(".raven-inner-tab-content").length&&(i=this.elements.$innerTabs.filter(".e-active").find(".raven-inner-tab-content"),(0,g.handleInnerTabsButtonsDisplay)(i.toArray(),this.isCollapsible,this.innerTabsHeightLimit)))}}]),r}(d.default)},{"../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,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/defineProperty":92,"@babel/runtime/helpers/get":93,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],75:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.handleInnerTabs=function(e,t){var n=e.target,i=n.tagName;{var r;n.classList.contains("raven-inner-tab-title-text")&&(e.preventDefault(),r=jQuery(n).parent(".raven-inner-tab-title"),o(e,r,t))}{var a;n.classList.contains("raven-tab-mobile-title")&&(a=jQuery(n),o(e,a,t))}"button"===i.toLowerCase()&&u(e,t)},n.handleInnerTabsButtonsDisplay=l,n.onTabContentButtonsClick=u;var s=e("../video-playlist/event-trigger");function o(e,t,n){var i,r=e.currentTarget,a=r.querySelectorAll(".raven-inner-tab-title");t.hasClass("raven-inner-tab-active")||a.length<2||(i=r.querySelectorAll(".raven-inner-tab-content"),a.forEach(function(e){e.classList.toggle("raven-inner-tab-active")}),i.forEach(function(e){e.toggleAttribute("hidden"),e.classList.toggle("raven-inner-tab-active")}),l(Array.from(i),n.isCollapsible,n.innerTabsHeightLimit),(0,s.triggerEvent)(n,"tabOpened","click"))}function l(e,t,n){var i,r,a;t&&(r=(i=e.filter(function(e){return e.classList.contains("raven-inner-tab-active")}))[0].querySelector(".raven-inner-tab-text > div").offsetHeight,(a=parseInt(n.size))&&a<r&&i[0].classList.add("show-inner-tab-buttons"))}function u(e,t){var n=jQuery(e.currentTarget).find(".raven-inner-tab-content").filter(".raven-inner-tab-active");n.find("button").toggleClass("show-button"),n.toggleClass("show-full-height");var i=n.hasClass("show-full-height")?"tabExpanded":"tabCollapsed";(0,s.triggerEvent)(t,i,"click")}},{"../video-playlist/event-trigger":73}],76:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r=i(e("@babel/runtime/helpers/classCallCheck")),a=i(e("@babel/runtime/helpers/createClass")),s=function(){function n(e,t){(0,r.default)(this,n),this.playlistItem=e,this.positionInVideoList=t}return(0,a.default)(n,[{key:"formatDuration",value:function(e){var t=new Date(1e3*e),n=t.getUTCHours(),i=t.getUTCMinutes(),r=t.getSeconds();return 0!==n?"".concat(n.toString(),":").concat(i.toString().padStart(2,"0"),":").concat(r.toString().padStart(2,"0")):"".concat(i.toString(),":").concat(r.toString().padStart(2,"0"))}}]),n}();n.default=s},{"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/interopRequireDefault":96}],77:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("@babel/runtime/helpers/classCallCheck")),s=i(e("@babel/runtime/helpers/createClass")),o=i(e("@babel/runtime/helpers/inherits")),l=i(e("@babel/runtime/helpers/possibleConstructorReturn")),u=i(e("@babel/runtime/helpers/getPrototypeOf"));function c(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,u.default)(i);return t=r?(e=(0,u.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,l.default)(this,t)}}var r=function(e){(0,o.default)(r,e);var i=c(r);function r(e,t){var n;return(0,a.default)(this,r),(n=i.call(this,e,t)).playerObject=null,n.watchCount=0,n.isVideoPlaying=!1,n.isVideoPausedLocal=!1,n.isVideoSeeking=!1,n.isVideoEnded=!1,n.isReady=!1,n}return(0,s.default)(r,[{key:"create",value:function(){var r=this;return new Promise(function(e){var t=document.createElement("video");t.setAttribute("controls","");var n=document.createTextNode("Sorry, your browser doesn't support embedded videos."),i=document.createElement("source");i.setAttribute("src",r.playlistItem.videoUrl),i.setAttribute("type","video/"+r.playlistItem.videoUrl.split(".").pop()),t.appendChild(i),t.appendChild(n),r.playerObject=t,r.playlistItem.tabContent.querySelector("div").replaceWith(r.playerObject),r.playerObject.addEventListener("canplay",function(){r.isReady=!0,e()}),r.playerObject.addEventListener("seeked",function(){r.isVideoSeeking=!1}),r.playerObject.addEventListener("seeking",function(){clearTimeout(r.seekTimeOut),r.isVideoSeeking=!0})})}},{key:"handleEnded",value:function(e){var t=this;this.playerObject.addEventListener("ended",function(){t.watchCount++,t.isVideoEnded=!0,t.isVideoPlaying=!1,e(t.playlistItem)})}},{key:"handlePaused",value:function(e){var t=this;this.playerObject.addEventListener("pause",function(){t.seekTimeOut=setTimeout(function(){t.isVideoSeeking||t.isVideoEnded?t.isVideoEnded=!1:(e(t.positionInVideoList),t.isVideoPausedLocal=!0)},30)})}},{key:"handlePlayed",value:function(e){var t=this;this.playerObject.addEventListener("play",function(){t.isVideoSeeking||e(t.playlistItem)})}},{key:"handleFullScreenChange",value:function(e){jQuery(this.playerObject).on("webkitfullscreenchange mozfullscreenchange fullscreenchange",function(){e(document.fullscreenElement)})}},{key:"getCurrentTime",value:function(){return this.playerObject.currentTime}},{key:"play",value:function(){this.isReady&&(this.isVideoPlaying=!0,this.playerObject.play())}},{key:"pause",value:function(){this.isReady&&(this.isVideoPlaying=!1,this.playerObject.pause())}},{key:"mute",value:function(){this.playerObject.muted=!0}}]),r}(i(e("../video-playlist/player-base")).default);n.default=r},{"../video-playlist/player-base":76,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101}],78:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("@babel/runtime/regenerator")),s=i(e("@babel/runtime/helpers/asyncToGenerator")),o=i(e("@babel/runtime/helpers/classCallCheck")),l=i(e("@babel/runtime/helpers/createClass")),u=i(e("@babel/runtime/helpers/inherits")),c=i(e("@babel/runtime/helpers/possibleConstructorReturn")),d=i(e("@babel/runtime/helpers/getPrototypeOf"));function p(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.default)(i);return t=r?(e=(0,d.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,c.default)(this,t)}}var r=function(e){(0,u.default)(r,e);var t,i=p(r);function r(e,t){var n;return(0,o.default)(this,r),(n=i.call(this,e,t)).apiProvider=elementorFrontend.utils.vimeo,n.playerObject=null,n.watchCount=0,n.isVideoInFullScreenChange=!1,n.isReady=!1,n}return(0,l.default)(r,[{key:"create",value:function(){var i=this;return this.currentVideoID=this.apiProvider.getVideoIDFromURL(this.playlistItem.videoUrl),new Promise(function(n){i.apiProvider.onApiReady(function(e){var t={id:i.currentVideoID,autoplay:!1};i.playerObject=new e.Player(i.playlistItem.tabContent.querySelector("div"),t),i.playerObject.ready().then(function(){i.isReady=!0,n()})})})}},{key:"handleEnded",value:function(e){var t=this;this.playerObject.on("ended",function(){t.watchCount++,e(t.playlistItem)})}},{key:"handlePaused",value:function(t){var n=this;this.playerObject.on("pause",function(e){0===e.percent||1<=e.percent||n.isVideoInFullScreenChange||t(n.positionInVideoList)})}},{key:"handlePlayed",value:function(e){var t=this;this.playerObject.on("play",function(){t.isVideoInFullScreenChange?t.isVideoInFullScreenChange=!1:e(t.playlistItem)})}},{key:"handleFullScreenChange",value:function(e){var t=this;this.playerObject.element.addEventListener("fullscreenchange",function(){e(document.fullscreenElement),t.isVideoInFullScreenChange=!0})}},{key:"getCurrentTime",value:function(){return this.playerObject.getCurrentTime().then(function(e){return e})}},{key:"play",value:function(){this.isReady&&this.playerObject.play()}},{key:"pause",value:function(){this.isReady&&this.playerObject.pause()}},{key:"mute",value:function(){this.playerObject.setMuted(!0)}},{key:"setVideoProviderData",value:(t=(0,s.default)(a.default.mark(function e(){var t,n,i,r;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.currentVideoID||9!==!(null!==(t=this.currentVideoID)&&void 0!==t&&t.length)){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,this.playerObject.getVideoId();case 4:return n=e.sent,e.next=7,window.fetch("https://vimeo.com/api/v2/video/"+n+".json");case 7:return i=e.sent,e.next=10,i.json();case 10:return r=e.sent,this.playlistItem.duration=this.formatDuration(r[0].duration),this.playlistItem.video_title=r[0].title,this.playlistItem.thumbnail={url:r[0].thumbnail_medium},e.abrupt("return",this.playlistItem);case 15:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})}]),r}(i(e("../video-playlist/player-base")).default);n.default=r},{"../video-playlist/player-base":76,"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101,"@babel/runtime/regenerator":108}],79:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=i(e("@babel/runtime/regenerator")),s=i(e("@babel/runtime/helpers/asyncToGenerator")),o=i(e("@babel/runtime/helpers/classCallCheck")),l=i(e("@babel/runtime/helpers/createClass")),u=i(e("@babel/runtime/helpers/inherits")),c=i(e("@babel/runtime/helpers/possibleConstructorReturn")),d=i(e("@babel/runtime/helpers/getPrototypeOf"));function p(i){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}();return function(){var e,t,n=(0,d.default)(i);return t=r?(e=(0,d.default)(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),(0,c.default)(this,t)}}var r=function(e){(0,u.default)(r,e);var t,i=p(r);function r(e,t){var n;return(0,o.default)(this,r),(n=i.call(this,e,t)).apiProvider=elementorFrontend.utils.youtube,n.playerObject=null,n.watchCount=0,n.isVideoPlaying=!1,n.isVideoPausedLocal=!1,n.isVideoEnded=!1,n.seekSequenceArray=[],n.pauseCurrentTime=null,n.isReady=!1,n}return(0,l.default)(r,[{key:"create",value:function(){var i=this;return this.currentVideoID=this.apiProvider.getVideoIDFromURL(this.playlistItem.videoUrl),new Promise(function(n){i.apiProvider.onApiReady(function(e){var t={width:"773",videoId:i.currentVideoID,playerVars:{rel:0,showinfo:0,ecver:2},events:{onReady:function(){i.isReady=!0,n()}}};i.playerObject=new e.Player(i.playlistItem.tabContent.querySelector("div"),t),i.playerObject.addEventListener("onStateChange",function(e){3===e.data&&(2===i.seekSequenceArray[i.seekSequenceArray.length-1]?i.seekSequenceArray.push(3):(i.seekSequenceArray=[],clearTimeout(i.seekTimeOut)))})})})}},{key:"handleEnded",value:function(t){var n=this;this.playerObject.addEventListener("onStateChange",function(e){0===e.data&&(n.watchCount++,n.isVideoEnded=!0,e.target.seekTo(0),e.target.stopVideo(),n.isVideoPlaying=!1,t())})}},{key:"handlePaused",value:function(t){var n=this;this.playerObject.addEventListener("onStateChange",function(e){2===e.data&&(n.seekSequenceArray=[],n.seekSequenceArray.push(2),n.pauseCurrentTime=n.playerObject.playerInfo.currentTime,n.seekTimeOut=setTimeout(function(){2===n.seekSequenceArray.length&&2===n.seekSequenceArray[0]&&3===n.seekSequenceArray[1]?(n.seekSequenceArray=[],clearTimeout(n.seekTimeOut)):(t(n.positionInVideoList),n.isVideoPausedLocal=!0)},1e3))})}},{key:"handlePlayed",value:function(t){var n=this;this.playerObject.addEventListener("onStateChange",function(e){1!==e.data||n.isVideoEnded?n.isVideoEnded=!1:2===n.seekSequenceArray.length&&2===n.seekSequenceArray[0]&&3===n.seekSequenceArray[1]||t()})}},{key:"handleError",value:function(e){this.playerObject.addEventListener("onError",function(){e()})}},{key:"handleFullScreenChange",value:function(e){this.playerObject.addEventListener("fullscreenchange",function(){e(document.fullscreenElement)})}},{key:"getCurrentTime",value:function(){var e=this.pauseCurrentTime?this.pauseCurrentTime:this.playerObject.playerInfo.currentTime;return this.pauseCurrentTime=null,e}},{key:"play",value:function(){this.isReady&&(this.isVideoPlaying=!0,this.playerObject.playVideo())}},{key:"pause",value:function(){this.isReady&&(this.isVideoPlaying=!1,this.playerObject.pauseVideo())}},{key:"mute",value:function(){this.playerObject.mute()}},{key:"setVideoProviderData",value:(t=(0,s.default)(a.default.mark(function e(){var t;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(this.isReady){e.next=2;break}return e.abrupt("return");case 2:this.currentVideoID&&11===(null===(t=this.currentVideoID)||void 0===t?void 0:t.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="");case 3:case"end":return e.stop()}},e,this)})),function(){return t.apply(this,arguments)})}]),r}(i(e("../video-playlist/player-base")).default);n.default=r},{"../video-playlist/player-base":76,"@babel/runtime/helpers/asyncToGenerator":89,"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/createClass":91,"@babel/runtime/helpers/getPrototypeOf":94,"@babel/runtime/helpers/inherits":95,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/possibleConstructorReturn":101,"@babel/runtime/regenerator":108}],80:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;function a(e){(0,s.default)(this,a);var t=e.event,n=e.tab,i=e.playlist,r=e.video;this.event={type:t.type||"",time:t.time||0,element:t.element,trigger:t.trigger||"",watchCount:t.watchCount||0},this.tab={name:n.name,index:n.index},this.playlist={name:i.name,currentItem:i.currentItem,amount:i.amount},this.video={provider:r.provider,url:r.url,title:r.title,duration:r.duration}}var s=i(e("@babel/runtime/helpers/classCallCheck"));n.default=a},{"@babel/runtime/helpers/classCallCheck":90,"@babel/runtime/helpers/interopRequireDefault":96}],81:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.handleVideosPanelScroll=function(e,t){if(!t)return void(e.$tabsItems[0].offsetHeight<e.$tabsItems[0].scrollHeight&&e.$tabsWrapper.addClass("bottom-shadow"));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")}},{}],82:[function(e,t,n){"use strict";function o(e,t,n){var i=new URLSearchParams(location.search);i.set("playlist",e),i.set("video",t[n-1].dataItemId),window.history.replaceState({},"",location.pathname+"?"+i)}Object.defineProperty(n,"__esModule",{value:!0}),n.handleURLParams=function(e,t){var n=new URLSearchParams(location.search),i=n.get("playlist");if(!i)return!1;if(i===e){var r=n.get("video"),a=t.find(function(e){return r===e.dataItemId}),s=a?a.dataTab:1;return s||o(e,t,1),s||!1}},n.setVideoParams=o},{}],83:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new a({$element:e})};var r=i(e("../utils/module")),o=jQuery,a=r.default.extend({getDefaultSettings:function(){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:function(){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:function(){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")?o(".elementor-widget-raven-video.raven-player-style2 .mejs-time").css("display","contents"):(o(".elementor-widget-raven-video.raven-player-style3 .mejs-volume-button").css("width","100%"),o(".elementor-widget-raven-video.raven-player-style3 .mejs-volume-button button").css("float","right")),this.updateWidgetContainerMargin()},handleLazyLoad:function(){var s=this;o(window).on("scroll",function(){var e,t,n=s.elements.$widgetWrapper.offset().top,i=n+s.elements.$widgetWrapper.outerHeight(),r=o(window).scrollTop(),a=r+o(window).height();r<i&&n<a&&((t=(e=s.elements.$videoFrame).data("lazy-load"))&&(e.attr("src",t),s.handleMediaElement()))})},handleStickyScroll:function(){var t=this,n=this.elements.$widgetWrapper.outerHeight(!0),i=this.elements.$widgetWrapper.offset().top;o(window).on("scroll",function(){var e;t.elements.$widgetWrapper.hasClass("sticky-close")||(e=o(window).scrollTop(),i+n/2<e?(t.elements.$widgetContainer.css("height",n),t.elements.$widgetWrapper.addClass("sticky"),t.elements.$videoCloseButton.show()):(t.elements.$widgetWrapper.removeClass("sticky"),t.elements.$videoCloseButton.hide()))}),this.elements.$videoCloseButton.on("click",function(){t.elements.$widgetWrapper.removeClass("sticky"),t.elements.$widgetWrapper.addClass("sticky-close"),t.elements.$videoCloseButton.hide()})},handleMutedPreview:function(){var i=this,r=this.elements.$videoFrame;"hosted"===this.getElementSettings("video_type")&&(r=this.elements.$mejsPlayer);var e=[],a=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"),r.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:function(e){var t=a.elements.$widgetWrapper.find(".mejs-time-current")[0],n=new window.MutationObserver(function(e){e.forEach(function(e){var t,n,i;"attributes"===e.type&&(!(n=(t=a.elements.$widgetWrapper.find(".mejs-time-current")).attr("style"))||(i=n.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")",""))&&t.css("width",100*i+"%"))})});t&&n.observe(t,{attributes:!0,attributeFilter:["style"]}),"yes"===a.getElementSettings("show_device_frame")&&a.elements.$widgetWrapper.find(".mejs-overlay-play:not(.raven-video-play-button-preview)").addClass("hide-large-button"),e.addEventListener("play",function(){"yes"!==a.getElementSettings("sticky_on_scroll")||a.getElementSettings("use_lightbox")||a.handleStickyScroll(),"yes"===a.getElementSettings("show_device_frame")&&a.elements.$widgetWrapper.find(".mejs-overlay-play:not(.raven-video-play-button-preview)").removeClass("hide-large-button")},!1),a.elements.$widgetWrapper.find(".mejs-controls").hide(),"vimeo"!==a.getElementSettings("video_type")&&"hosted"!==a.getElementSettings("video_type")||(r[0].player.play(),r[0].player.options.startVolume=0,r[0].player.setMuted(!0)),i.elements.$videoPlayPreviewButton.on("click",function(){var e=a.getElementSettings("youtube_controls");"hosted"===a.getElementSettings("video_type")&&(e=a.getElementSettings("hosted_controls")),i.elements.$videoPlayPreviewButton.hide(),("yes"!==a.getElementSettings("youtube_mute")&&"youtube"===a.getElementSettings("video_type")||"yes"!==a.getElementSettings("vimeo_mute")&&"vimeo"===a.getElementSettings("video_type")||"yes"!==a.getElementSettings("hosted_muted")&&"hosted"===a.getElementSettings("video_type"))&&(r[0].player.setMuted(!1),r[0].player.setVolume(.5)),"yes"!==e&&"vimeo"!==a.getElementSettings("video_type")||a.elements.$widgetWrapper.find(".mejs-controls").show(),a.elements.$widgetWrapper.find(".raven-video-muted-overlay").hide(),r[0].player.play()})}})},handleMediaElement:function(){var i=this,r=this.elements.$videoFrame;"hosted"===this.getElementSettings("video_type")&&(r=this.elements.$mejsPlayer);var e=[],a=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"),r.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:function(e){var t=a.elements.$widgetWrapper.find(".mejs-time-current")[0],n=new window.MutationObserver(function(e){e.forEach(function(e){var t,n,i;"attributes"===e.type&&(!(n=(t=a.elements.$widgetWrapper.find(".mejs-time-current")).attr("style"))||(i=n.match(/scaleX\([0-9.]*\)/gi)[0].replace("scaleX(","").replace(")",""))&&t.css("width",100*i+"%"))})});t&&n.observe(t,{attributes:!0,attributeFilter:["style"]}),e.addEventListener("play",function(){"yes"!==i.getElementSettings("sticky_on_scroll")||a.getElementSettings("use_lightbox")||i.handleStickyScroll(),"yes"===i.getElementSettings("hosted_autoplay")&&a.elements.$widgetWrapper.find(".raven-video-mejs-hosted").css("visibility","visible")},!1),"yes"!==a.getElementSettings("large_play_button")?a.elements.$widgetWrapper.find(".mejs-overlay-button").hide():a.elements.$widgetWrapper.find(".mejs-overlay-play").show(),"vimeo"!==a.getElementSettings("video_type")||"yes"!==a.getElementSettings("vimeo_mute")&&"yes"!==a.getElementSettings("vimeo_autoplay")||(r[0].player.options.startVolume=0,r[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:function(e){if(!e)return 0;var t=e.replace(/(>|<)/gi,"").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/);return void 0!==t[2]?t[2].split(/[^0-9a-z_\-]/i)[0]:t},handleVideo:function(){var e=this.elements.$videoFrame;if("hosted"===this.getElementSettings("video_type")&&(e=this.elements.$mejsPlayer),!this.getElementSettings("use_lightbox"))return this.elements.$imageOverlay.remove(),void e[0].player.play();var t=this.elements.$videoWrapper.find(".raven-modal"),n=o(".jupiterx-main");"none"===t.css("display")&&(t.show(),n.addClass("raven-lightbox-open"),this.$element.css("z-index",parseInt(this.$element.css("z-index"))+1))},hideModal:function(e){e.stopPropagation();var t=this.elements.$videoFrame;"hosted"===this.getElementSettings("video_type")&&(t=this.elements.$mejsPlayer);var n=this.elements.$videoWrapper.find(".raven-modal"),i=o(".jupiterx-main");"block"===n.css("display")&&(n.hide(),i.removeClass("raven-lightbox-open"),this.$element.css("z-index",9999),t[0].player.pause())},updateWidgetContainerMargin:function(){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:function(){this.elements.$imageOverlay.on("click",this.handleVideo),this.elements.$videoModal.find(".close").on("click",this.hideModal)},onElementChange:function(e){"_margin"===e&&this.updateWidgetContainerMargin()}})},{"../utils/module":9,"@babel/runtime/helpers/interopRequireDefault":96}],84:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.default=function(e){new r({$element:e})};var p=i(e("@babel/runtime/helpers/toConsumableArray")),r=i(e("../utils/module")).default.extend({getDefaultSettings:function(){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",categories:".posted_in",productTitle:".woocommerce-loop-product__title",productPrice:".price",ratingWrapper:".rating-wrapper",infinteLoadIndicator:".raven-infinite-load"},state:{isLoading:!1,paged:2}}},getDefaultElements:function(){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:function(){var e=this,t=this.elements.$productsWrapper.data("settings").total_pages||0;"load_more"===this.getInstanceValue("pagination_type")&&1<t&&this.loadMore(),"infinite_load"===this.getInstanceValue("pagination_type")&&1<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",function(){setTimeout(function(){return e.gridRun()},500)}));var n=this;document.addEventListener("sellkitpro:filterproducts:showproducts",function(){n.refreshElements(),n.zoom(),n.flexslider(),n.wrapContentData(),n.initialize(),"grid"===e.getInstanceValue("general_layout")&&setTimeout(function(){return e.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:function(){var e=!0;void 0!==this.getInstanceValue("swap_effect")&&this.getInstanceValue("swap_effect").includes("gallery")&&(e=!1),e&&"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun();var t=this;e&&"matrix"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(function(){t.matrixRun()}),e&&"metro"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(function(){t.metroRun()}),this.getInstanceValue("load_effect")&&this.handleAnitmation(),objectFitPolyfill(this.$element.find(this.getSettings("selectors.postImageFit")))},initializeOnFetch:function(){var e=!0;void 0!==this.getInstanceValue("swap_effect")&&this.getInstanceValue("swap_effect").includes("gallery")&&(e=!1),e&&"masonry"===this.getInstanceValue("general_layout")&&this.masonryRun();var t=this;e&&"matrix"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(function(){t.matrixRun()}),e&&"metro"===this.getInstanceValue("general_layout")&&this.elements.$productsWrapper.imagesLoaded().progress(function(){t.metroRun()}),!["metro","matrix"].includes(this.getInstanceValue("general_layout"))&&this.getInstanceValue("load_effect")&&this.handleAnitmation(),objectFitPolyfill(this.$element.find(this.getSettings("selectors.postImageFit")))},onElementChange:function(e){var t=this;"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&&"metro_matrix_large_aspect_ratio"!==e||setTimeout(function(){"metro"===t.getInstanceValue("general_layout")&&t.metroRun(),"matrix"===t.getInstanceValue("general_layout")&&t.matrixRun()},300),"box_rows_gap"!==e&&"box_columns_gap"!==e&&"stroke_width"!==e||"masonry"===this.getInstanceValue("general_layout")&&setTimeout(function(){t.masonryRun()},300)},handleProductsOrder:function(e){var t,n,i,r;return"metro"===this.getInstanceValue("general_layout")&&null!==(t=e[0])&&void 0!==t&&(null!==(n=t.parentNode)&&void 0!==n&&n.parentNode.classList.contains("raven-product-full-width"))?[].concat((0,p.default)(e.slice(1,3).reverse()),[e[0]],(0,p.default)(e.slice(3,e.length))):null!==(i=e[0])&&void 0!==i&&(null!==(r=i.parentNode)&&void 0!==r&&r.parentNode.classList.contains("raven-product-full-width"))?[e[0]].concat((0,p.default)(e.slice(1,e.length).reverse())):"matrix"===this.getInstanceValue("general_layout")?(0,p.default)(e):(0,p.default)(e.reverse())},createAnimationObserver:function(n,i,e,r,a){var s=new IntersectionObserver(function(e){e.forEach(function(e){if(e.isIntersecting){if(i.classList.contains("raven-product-loaded"))return;var t=0<n.elements.$showedItems?r-n.elements.$showedItems:r;"slide-right"===a&&(t>n.elements.$showedItems&&(t-=n.elements.$showedItems),n.elements.$showedItems>t&&(t=n.elements.$showedItems-t)),setTimeout(function(){i.classList.add("raven-product-loaded"),n.elements.$showedItems=r,s.unobserve(i)},100*t)}})},e);s.observe(i)},handleAnitmation:function(){var l=this,u=(0,p.default)(this.elements.$productsWrapper[0].querySelectorAll(".jupiterx-product-container")),c=this.getInstanceValue("load_effect"),d=this;this.elements.$productsWrapper.imagesLoaded().done(function(){var n=0;if("slide-right"===c){l.setColumnsCount();var e=l.getSettings(),t=parseInt(u.length/e.columnsCount),i=u.length%e.columnsCount;if(u.length/e.columnsCount<=1)u=(0,p.default)(l.handleProductsOrder(u));else{for(var r=[],a=[],s=1;s<=t;++s){a=[];for(var o=r.length;o<s*e.columnsCount;++o)a.push(u[o]);r.push.apply(r,(0,p.default)(l.handleProductsOrder(a)))}0<i&&r.push.apply(r,(0,p.default)(u.slice(-i).reverse())),u=r}}u.forEach(function(e,t){c&&!document.body.classList.contains("elementor-editor-active")||e.classList.contains("raven-product-loaded")||(++n,setTimeout(function(){e.classList.add("raven-product-loaded")},200+100*n)),c&&d.createAnimationObserver(d,e,{threshold:.4},t,c)})})},setColumnsCount:function(){var e=elementorFrontend.getCurrentDeviceMode(),t="columns_custom".concat(e);"desktop"===e&&(t="columns_custom"),"metro"!==this.getInstanceValue("general_layout")&&"matrix"!==this.getInstanceValue("general_layout")||(t="number_of_products");var n=this.getInstanceValue(t);this.getInstanceValue(t)||(n=1),this.setSettings("columnsCount",parseInt(n))},zoom:function(){"zoom_hover"===this.getInstanceValue("swap_effect")&&this.elements.$productsWrapper.find(".jupiterx-wc-loop-product-image").zoom()},flexslider:function(){var e,t,n;void 0!==this.getInstanceValue("swap_effect")&&this.getInstanceValue("swap_effect").includes("gallery")&&(n=t=!1,"gallery_arrows"===(e=this).getInstanceValue("swap_effect")&&(n=!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:n,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:function(){e.elements.$productsWrapper.addClass("raven-swap-effect-gallery-loaded")},start:function(){"masonry"===e.getInstanceValue("general_layout")&&e.masonryRun(),"matrix"===e.getInstanceValue("general_layout")&&e.matrixRun(),"metro"===e.getInstanceValue("general_layout")&&e.metroRun()}}))},loadMore:function(){var t=this;t.elements.$loadMoreButton.on("click",function(e){e.preventDefault(),t.fetch()})},createObserver:function(e,t,n){var i;e.length<1||(i=new IntersectionObserver(function(e){e.forEach(function(e){e.isIntersecting&&(t.fetch(),i.disconnect())})},n)).observe(e[0])},infiniteLoad:function(){var e=this;e.elements.$paginationContainer.length||e.elements.$productsContainer.imagesLoaded().always(function(){e.createObserver(e.elements.$infinteLoadIndicator,e,{threshold:1})})},fetch:function(){var e,t,n,i,r=this;r.getSettings("state.isLoading")||(r.setSettings("state.isLoading",!0),e={post_id:elementorFrontend.config.post.id,model_id:this.getID(),"product-page":r.getSettings("state.paged")},(t=jQuery("[data-elementor-type=product-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")),document.body.classList.contains("search")&&(n=jQuery("[data-elementor-type=archive]"),e.post_id=n.data("elementor-id")),null!==(i=new URLSearchParams(window.location.search)).get("orderby")&&i.get("orderby").length&&(e.orderby=i.get("orderby")),null!==i.get("s")&&i.get("s").length&&(e.s=i.get("s")),r.elements.$preLoader&&r.elements.$preLoader[0].classList.add("active-preloader"),wp.ajax.send("raven_products_query",{type:"GET",data:e,success:function(e){r.setSettings("state.paged",r.getSettings("state.paged")+1),r.elements.$productsContainer.append(e.products);var t=r.elements.$productsContainer.siblings(".woocommerce-result-count");0===t.length&&(t=r.elements.$productsContainer.siblings(".raven-products-ordering-result-wrapper").find(".woocommerce-result-count")),t.html(e.result_count),"load_more"===r.getInstanceValue("pagination_type")&&e.query_results.current_page===e.query_results.total_pages&&r.elements.$loadMoreButton.hide();var n=r.elements.$productsWrapper.data("settings").total_pages||0;"infinite_load"===r.getInstanceValue("pagination_type")&&e.query_results.current_page!==e.query_results.total_pages&&1<n&&r.infiniteLoad(),r.zoom(),r.flexslider(),r.initializeOnFetch(),r.wrapContentData()},error:function(){},complete:function(){r.setSettings("state.isLoading",!1),r.elements.$preLoader&&r.elements.$preLoader[0].classList.remove("active-preloader")}}))},wishlist:function(){$(document).on("click",".jupiterx-wishlist",function(e){e.preventDefault();var t=$(this),n="add_to_wishlist",i={},r=t.data("state"),a=t.data("productId"),s=t.data("nonceAdd"),o=t.data("nonceRemove");i.nonce=s,i.add_to_wishlist=a,i.remove_from_wishlist=a,"remove"===r&&(n="remove_from_wishlist",i.nonce=o),wp.ajax.send(n,{type:"GET",data:i}).always(function(e){"add_to_wishlist"===n&&"true"===e.result&&(t.addClass("jupiterx-wishlist-remove"),t.data("state","remove")),"remove_from_wishlist"===n&&0===e.fragments.length&&(t.removeClass("jupiterx-wishlist-remove"),t.data("state","add"))})})},setGapSize:function(){var e,t=elementorFrontend.getCurrentDeviceMode(),n="metro_matrix_rows_gap_".concat(t);"desktop"===t&&(n="metro_matrix_rows_gap"),this.setSettings("gapSize",parseInt(null===(e=this.getInstanceValue(n))||void 0===e?void 0:e.size))},gridRun:function(){var e,t,n,i,r,a,s=null===(e=this.elements.$productsContainer[0])||void 0===e?void 0:e.clientHeight,o=null===(t=this.$element[0])||void 0===t?void 0:t.clientHeight;null!==(n=elementorFrontend)&&void 0!==n&&null!==(i=n.config)&&void 0!==i&&null!==(r=i.experimentalFeatures)&&void 0!==r&&r.container&&(this.$element[0].style.minHeight=s<=o?"unset":(null===(a=this.elements.$productsContainer[0])||void 0===a?void 0:a.clientHeight)+"px")},masonryRun:function(){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:function(){this.setGapSize();var e=this,t=this.getSettings().gapSize?this.getSettings().gapSize:0,i=elementorFrontend.getCurrentDeviceMode(),n=!document.body.classList.contains("rtl");e.elements.$productsContainer.data("isotope")&&e.elements.$productsContainer.isotope("reloadItems").isotope();var r=Math.floor((e.elements.$productsContainer.parent().width()+t)/3),a=3*r;"mobile"===i&&(a=r=3*r-t);var s=0;e.elements.$productsContainer.find("li.product").each(function(e,t){var n=r;0!==e&&s+4!==e||(n=a,s=e,t.classList.contains("raven-product-full-width")||t.classList.add("raven-product-full-width")),n&&(t.style.width=n+"px"),"mobile"===i&&(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:n}),e.elements.$productsContainer.isotope("once","arrangeComplete",function(){setTimeout(function(){return e.handleAnitmation()},100)})},metroRun:function(){this.setGapSize();var r=this,e=this.getSettings().gapSize?this.getSettings().gapSize:0,t=elementorFrontend.getCurrentDeviceMode(),n=!document.body.classList.contains("rtl");r.elements.$productsContainer.data("isotope")&&r.elements.$productsContainer.isotope("reloadItems").isotope();var a=Math.floor((r.elements.$productsContainer.parent().width()+e)/4),s=2*a;"tablet"===t&&(s=2*(a*=2)),"mobile"===t&&(s=a*=4);var o=0;r.elements.$productsContainer.find("li.product").each(function(e,t){var n=a,i=a;0!==e&&o+3!==e||(i=n=s,o=e,t.classList.contains("raven-product-full-width")||t.classList.add("raven-product-full-width")),n&&(t.style.width=n+"px"),"overlay"===r.getInstanceValue("metro_matrix_content_layout")&&(t.style.height=i+"px")}),r.elements.$productsContainer.find("li.product").addClass("metro-loaded"),r.elements.$productsContainer.isotope({itemSelector:"li.product",layoutMode:"packery",percentPosition:!0,sortBy:"original-order",transitionDuration:0,isOriginLeft:n}),r.elements.$productsContainer.isotope("once","arrangeComplete",function(){setTimeout(function(){return r.handleAnitmation()},100)})},wrapContentData:function(){var e=this.getSettings("selectors"),t=[e.productPrice,e.productTitle,e.categories,e.ratingWrapper],n=this.getInstanceValue("pc_atc_button_location"),i=this.getInstanceValue("pc_atc_button_location_overlay");(n&&"outside"===n||i&&"outside"===i)&&t.push(e.addToCartButton),this.elements.$productsContainer.find(".product").each(function(e,n){t.forEach(function(e){var t=$(n).find(e)[0];t&&t.classList.add("raven-product-item-content")}),n.classList.contains("has-data-wrapper")||$(n).find(".raven-product-item-content").wrapAll('<div class="raven-product-data" />'),n.classList.add("has-data-wrapper")})},refreshElements:function(){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,"@babel/runtime/helpers/interopRequireDefault":96,"@babel/runtime/helpers/toConsumableArray":105}],85:[function(e,t,n){t.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}},{}],86:[function(e,t,n){t.exports=function(e){if(Array.isArray(e))return e}},{}],87:[function(e,t,n){var i=e("./arrayLikeToArray");t.exports=function(e){if(Array.isArray(e))return i(e)}},{"./arrayLikeToArray":85}],88:[function(e,t,n){t.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},{}],89:[function(e,t,n){function l(e,t,n,i,r,a,s){try{var o=e[a](s),l=o.value}catch(e){return void n(e)}o.done?t(l):Promise.resolve(l).then(i,r)}t.exports=function(o){return function(){var e=this,s=arguments;return new Promise(function(t,n){var i=o.apply(e,s);function r(e){l(i,t,n,r,a,"next",e)}function a(e){l(i,t,n,r,a,"throw",e)}r(void 0)})}}},{}],90:[function(e,t,n){t.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},{}],91:[function(e,t,n){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}t.exports=function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}},{}],92:[function(e,t,n){t.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},{}],93:[function(e,i,t){var a=e("./superPropBase");function r(e,t,n){return"undefined"!=typeof Reflect&&Reflect.get?i.exports=r=Reflect.get:i.exports=r=function(e,t,n){var i=a(e,t);if(i){var r=Object.getOwnPropertyDescriptor(i,t);return r.get?r.get.call(n):r.value}},r(e,t,n||e)}i.exports=r},{"./superPropBase":104}],94:[function(e,t,n){function i(e){return t.exports=i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},i(e)}t.exports=i},{}],95:[function(e,t,n){var i=e("./setPrototypeOf");t.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}},{"./setPrototypeOf":102}],96:[function(e,t,n){t.exports=function(e){return e&&e.__esModule?e:{default:e}}},{}],97:[function(e,t,n){t.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},{}],98:[function(e,t,n){t.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],i=!0,r=!1,a=void 0;try{for(var s,o=e[Symbol.iterator]();!(i=(s=o.next()).done)&&(n.push(s.value),!t||n.length!==t);i=!0);}catch(e){r=!0,a=e}finally{try{i||null==o.return||o.return()}finally{if(r)throw a}}return n}}},{}],99:[function(e,t,n){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},{}],100:[function(e,t,n){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},{}],101:[function(e,t,n){var i=e("../helpers/typeof"),r=e("./assertThisInitialized");t.exports=function(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?r(e):t}},{"../helpers/typeof":106,"./assertThisInitialized":88}],102:[function(e,n,t){function i(e,t){return n.exports=i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}n.exports=i},{}],103:[function(e,t,n){var i=e("./arrayWithHoles"),r=e("./iterableToArrayLimit"),a=e("./unsupportedIterableToArray"),s=e("./nonIterableRest");t.exports=function(e,t){return i(e)||r(e,t)||a(e,t)||s()}},{"./arrayWithHoles":86,"./iterableToArrayLimit":98,"./nonIterableRest":99,"./unsupportedIterableToArray":107}],104:[function(e,t,n){var i=e("./getPrototypeOf");t.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=i(e)););return e}},{"./getPrototypeOf":94}],105:[function(e,t,n){var i=e("./arrayWithoutHoles"),r=e("./iterableToArray"),a=e("./unsupportedIterableToArray"),s=e("./nonIterableSpread");t.exports=function(e){return i(e)||r(e)||a(e)||s()}},{"./arrayWithoutHoles":87,"./iterableToArray":97,"./nonIterableSpread":100,"./unsupportedIterableToArray":107}],106:[function(e,t,n){function i(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=i=function(e){return typeof e}:t.exports=i=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}t.exports=i},{}],107:[function(e,t,n){var i=e("./arrayLikeToArray");t.exports=function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}},{"./arrayLikeToArray":85}],108:[function(e,t,n){t.exports=e("regenerator-runtime")},{"regenerator-runtime":122}],109:[function(e,t,n){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var r=i(e("@tannin/postfix")),a=i(e("@tannin/evaluate"));t.exports=function(e){var t=r(e);return function(e){return a(t,e)}}},{"@tannin/evaluate":110,"@tannin/postfix":112}],110:[function(e,t,n){"use strict";var u={"!":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,n){if(e)throw t;return n}};t.exports=function(e,t){for(var n,i,r,a,s,o=[],l=0;l<e.length;l++){if(a=e[l],r=u[a]){for(n=r.length,i=Array(n);n--;)i[n]=o.pop();try{s=r.apply(null,i)}catch(e){return e}}else s=t.hasOwnProperty(a)?t[a]:+a;o.push(s)}return o[0]}},{}],111:[function(e,t,n){"use strict";var i,r=(i=e("@tannin/compile"))&&"object"==typeof i&&"default"in i?i.default:i;t.exports=function(e){var t=r(e);return function(e){return+t({n:e})}}},{"@tannin/compile":109}],112:[function(e,t,n){"use strict";var o,l,u,c;o={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},l=["(","?"],u={")":["("],":":["?","?:"]},c=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/,t.exports=function(e){for(var t,n,i,r,a=[],s=[];t=e.match(c);){for(n=t[0],(i=e.substr(0,t.index).trim())&&a.push(i);r=s.pop();){if(u[n]){if(u[n][0]===r){n=u[n][1]||n;break}}else if(0<=l.indexOf(r)||o[r]<o[n]){s.push(r);break}a.push(r)}u[n]||s.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&a.push(e),a.concat(s.reverse())}},{}],113:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.createI18n=void 0;var r=i(e("@babel/runtime/helpers/defineProperty")),s=i(e("tannin"));function a(t,e){var n,i=Object.keys(t);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(t),e&&(n=n.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),i.push.apply(i,n)),i}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach(function(e){(0,r.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var l={"":{plural_forms:function(e){return 1===e?0:1}}};n.createI18n=function(e,t){function c(e,t){var n=1<arguments.length&&void 0!==t?t:"default";d.data[n]=o({},l,{},d.data[n],{},e),d.data[n][""]=o({},l[""],{},d.data[n][""])}function a(e,t,n,i,r){var a=0<arguments.length&&void 0!==e?e:"default",s=1<arguments.length?t:void 0,o=2<arguments.length?n:void 0,l=3<arguments.length?i:void 0,u=4<arguments.length?r:void 0;return d.data[a]||c(void 0,a),d.dcnpgettext(a,s,o,l,u)}function n(e,t,n){return a(n,t,e)}var d=new s.default({});return e&&c(e,t),{setLocaleData:c,__:function(e,t){return a(t,void 0,e)},_x:n,_n:function(e,t,n,i){return a(i,void 0,e,t,n)},_nx:function(e,t,n,i,r){return a(r,i,e,t,n)},isRTL:function(){return"rtl"===n("ltr","text direction")}}}},{"@babel/runtime/helpers/defineProperty":92,"@babel/runtime/helpers/interopRequireDefault":96,tannin:123}],114:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=(n.isRTL=n._nx=n._n=n._x=n.__=n.setLocaleData=void 0,e("./create-i18n").createI18n)(),r=i.setLocaleData.bind(i);n.setLocaleData=r;var a=i.__.bind(i);n.__=a;var s=i._x.bind(i);n._x=s;var o=i._n.bind(i);n._n=o;var l=i._nx.bind(i);n._nx=l;var u=i.isRTL.bind(i);n.isRTL=u},{"./create-i18n":113}],115:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i={sprintf:!0,setLocaleData:!0,__:!0,_x:!0,_n:!0,_nx:!0,isRTL:!0};Object.defineProperty(n,"sprintf",{enumerable:!0,get:function(){return r.sprintf}}),Object.defineProperty(n,"setLocaleData",{enumerable:!0,get:function(){return s.setLocaleData}}),Object.defineProperty(n,"__",{enumerable:!0,get:function(){return s.__}}),Object.defineProperty(n,"_x",{enumerable:!0,get:function(){return s._x}}),Object.defineProperty(n,"_n",{enumerable:!0,get:function(){return s._n}}),Object.defineProperty(n,"_nx",{enumerable:!0,get:function(){return s._nx}}),Object.defineProperty(n,"isRTL",{enumerable:!0,get:function(){return s.isRTL}});var r=e("./sprintf"),a=e("./create-i18n");Object.keys(a).forEach(function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(i,e)||Object.defineProperty(n,e,{enumerable:!0,get:function(){return a[e]}}))});var s=e("./default-i18n")},{"./create-i18n":113,"./default-i18n":114,"./sprintf":116}],116:[function(e,t,n){"use strict";var i=e("@babel/runtime/helpers/interopRequireDefault");Object.defineProperty(n,"__esModule",{value:!0}),n.sprintf=function(t){try{for(var e=arguments.length,n=new Array(1<e?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return a.default.sprintf.apply(a.default,[t].concat(n))}catch(e){return s("sprintf error: \n\n"+e.toString()),t}};var r=i(e("memize")),a=i(e("sprintf-js")),s=(0,r.default)(console.error)},{"@babel/runtime/helpers/interopRequireDefault":96,memize:120,"sprintf-js":117}],117:[function(e,t,n){!function(){"use strict";var m={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:/^[+-]/};function f(e){return function(e,t){var n,i,r,a,s,o,l,u,c,d=1,p=e.length,h="";for(i=0;i<p;i++)if("string"==typeof e[i])h+=e[i];else if("object"==typeof e[i]){if((a=e[i]).keys)for(n=t[d],r=0;r<a.keys.length;r++){if(null==n)throw new Error(f('[sprintf] Cannot access property "%s" of undefined value "%s"',a.keys[r],a.keys[r-1]));n=n[a.keys[r]]}else n=a.param_no?t[a.param_no]:t[d++];if(m.not_type.test(a.type)&&m.not_primitive.test(a.type)&&n instanceof Function&&(n=n()),m.numeric_arg.test(a.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(f("[sprintf] expecting number but found %T",n));switch(m.number.test(a.type)&&(u=0<=n),a.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,a.width?parseInt(a.width):0);break;case"e":n=a.precision?parseFloat(n).toExponential(a.precision):parseFloat(n).toExponential();break;case"f":n=a.precision?parseFloat(n).toFixed(a.precision):parseFloat(n);break;case"g":n=a.precision?String(Number(n.toPrecision(a.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=a.precision?n.substring(0,a.precision):n;break;case"t":n=String(!!n),n=a.precision?n.substring(0,a.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=a.precision?n.substring(0,a.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=a.precision?n.substring(0,a.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}m.json.test(a.type)?h+=n:(!m.number.test(a.type)||u&&!a.sign?c="":(c=u?"+":"-",n=n.toString().replace(m.sign,"")),o=a.pad_char?"0"===a.pad_char?"0":a.pad_char.charAt(1):" ",l=a.width-(c+n).length,s=a.width&&0<l?o.repeat(l):"",h+=a.align?c+n+s:"0"===o?c+s+n:s+c+n)}return h}(function(e){if(l[e])return l[e];var t,n=e,i=[],r=0;for(;n;){if(null!==(t=m.text.exec(n)))i.push(t[0]);else if(null!==(t=m.modulo.exec(n)))i.push("%");else{if(null===(t=m.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){r|=1;var a=[],s=t[2],o=[];if(null===(o=m.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(o[1]);""!==(s=s.substring(o[0].length));)if(null!==(o=m.key_access.exec(s)))a.push(o[1]);else{if(null===(o=m.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(o[1])}t[2]=a}else r|=2;if(3===r)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");i.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]})}n=n.substring(t[0].length)}return l[e]=i}(e),arguments)}function e(e,t){return f.apply(null,[e].concat(t||[]))}var l=Object.create(null);void 0!==n&&(n.sprintf=f,n.vsprintf=e),"undefined"!=typeof window&&(window.sprintf=f,window.vsprintf=e,"function"==typeof define&&define.amd&&define(function(){return{sprintf:f,vsprintf:e}}))}()},{}],118:[function(e,t,n){var i;i=function(p){"use strict";return function(){for(var a=[["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"],["North Macedonia (Македонија)","mk","389"],["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"],["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<a.length;e++){var t=a[e];a[e]={name:t[0],iso2:t[1],dialCode:t[2],priority:t[3]||0,areaCodes:t[4]||null}}function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}var n={getInstance:function(e){var t=e.getAttribute("data-intl-tel-input-id");return window.intlTelInputGlobals.instances[t]},instances:{},documentReady:function(){return"complete"===document.readyState}};"object"==typeof window&&(window.intlTelInputGlobals=n);function s(t){c(window.intlTelInputGlobals.instances,function(e){window.intlTelInputGlobals.instances[e][t]()})}var o=0,l={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"],c=function(e,t){for(var n=Object.keys(e),i=0;i<n.length;i++)t(n[i],e[n[i]])},r=function(){function r(e,t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),this.id=o++,this.telInput=e,this.activeItem=null,this.highlightedItem=null;var i=t||{};this.options={},c(l,function(e,t){n.options[e]=i.hasOwnProperty(e)?i[e]:t}),this.hadInitialPlaceholder=Boolean(e.getAttribute("placeholder"))}var e,t,n;return e=r,(t=[{key:"_init",value:function(){var e,t,n=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){n.resolveAutoCountryPromise=e,n.rejectAutoCountryPromise=t}),t=new Promise(function(e,t){n.resolveUtilsScriptPromise=e,n.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,n){t.length>this.countryCodeMaxLen&&(this.countryCodeMaxLen=t.length),this.countryCodes.hasOwnProperty(t)||(this.countryCodes[t]=[]);for(var i=0;i<this.countryCodes[t].length;i++)if(this.countryCodes[t][i]===e)return;var r=n!==p?n:this.countryCodes[t].length;this.countryCodes[t][r]=e}},{key:"_processAllCountries",value:function(){var t,n;this.options.onlyCountries.length?(t=this.options.onlyCountries.map(function(e){return e.toLowerCase()}),this.countries=a.filter(function(e){return-1<t.indexOf(e.iso2)})):this.options.excludeCountries.length?(n=this.options.excludeCountries.map(function(e){return e.toLowerCase()}),this.countries=a.filter(function(e){return-1===n.indexOf(e.iso2)})):this.countries=a}},{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 n=0;n<this.countries.length;n++){var i=this.countries[n];if(i.areaCodes)for(var r=this.countryCodes[i.dialCode][0],a=0;a<i.areaCodes.length;a++){for(var s=i.areaCodes[a],o=1;o<s.length;o++){var l=i.dialCode+s.substr(0,o);this._addCountryCode(r,l),this._addCountryCode(i.iso2,l)}this._addCountryCode(i.iso2,i.dialCode+s)}}}},{key:"_processPreferredCountries",value:function(){this.preferredCountries=[];for(var e=0;e<this.options.preferredCountries.length;e++){var t=this.options.preferredCountries[e].toLowerCase(),n=this._getCountryData(t,!1,!0);n&&this.preferredCountries.push(n)}}},{key:"_createEl",value:function(e,t,n){var i=document.createElement(e);return t&&c(t,function(e,t){return i.setAttribute(e,t)}),n&&n.appendChild(i),i}},{key:"_generateMarkup",value:function(){this.telInput.hasAttribute("autocomplete")||this.telInput.form&&this.telInput.form.hasAttribute("autocomplete")||this.telInput.setAttribute("autocomplete","off");var e="iti";this.options.allowDropdown&&(e+=" iti--allow-dropdown"),this.options.separateDialCode&&(e+=" iti--separate-dial-code"),this.options.customContainer&&(e+=" ",e+=this.options.customContainer);var t,n,i,r=this._createEl("div",{class:e});this.telInput.parentNode.insertBefore(r,this.telInput),this.flagsContainer=this._createEl("div",{class:"iti__flag-container"},r),r.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.appendChild(this.countryList)):this.flagsContainer.appendChild(this.countryList)),this.options.hiddenInput&&(t=this.options.hiddenInput,!(n=this.telInput.getAttribute("name"))||-1!==(i=n.lastIndexOf("["))&&(t="".concat(n.substr(0,i),"[").concat(t,"]")),this.hiddenInput=this._createEl("input",{type:"hidden",name:t}),r.appendChild(this.hiddenInput))}},{key:"_appendListItems",value:function(e,t,n){for(var i="",r=0;r<e.length;r++){var a=e[r],s=n?"-preferred":"";i+="<li class='iti__country ".concat(t,"' tabIndex='-1' id='iti-").concat(this.id,"__item-").concat(a.iso2).concat(s,"' role='option' data-dial-code='").concat(a.dialCode,"' data-country-code='").concat(a.iso2,"' aria-selected='false'>"),i+="<div class='iti__flag-box'><div class='iti__flag iti__".concat(a.iso2,"'></div></div>"),i+="<span class='iti__country-name'>".concat(a.name,"</span>"),i+="<span class='iti__dial-code'>+".concat(a.dialCode,"</span>"),i+="</li>"}this.countryList.insertAdjacentHTML("beforeend",i)}},{key:"_setInitialState",value:function(){var e=this.telInput.getAttribute("value"),t=this.telInput.value,n=e&&"+"===e.charAt(0)&&(!t||"+"!==t.charAt(0))?e:t,i=this._getDialCode(n),r=this._isRegionlessNanp(n),a=this.options,s=a.initialCountry,o=a.nationalMode,l=a.autoHideDialCode,u=a.separateDialCode;i&&!r?this._updateFlagFromNumber(n):"auto"!==s&&(s?this._setFlag(s.toLowerCase()):i&&r?this._setFlag("us"):(this.defaultCountry=this.preferredCountries.length?this.preferredCountries[0].iso2:this.countries[0].iso2,n||this._setFlag(this.defaultCountry)),n||o||l||u||(this.telInput.value="+".concat(this.selectedCountryData.dialCode))),n&&this._updateValFromNumber(n)}},{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;this._handleLabelClick=function(e){t.countryList.classList.contains("iti__hide")?t.telInput.focus():e.preventDefault()};var e=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 s("handleAutoCountry")})},function(){return s("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,n){n&&!e.classList.contains(t)?e.classList.add(t):!n&&e.classList.contains(t)&&e.classList.remove(t)}},{key:"_setDropdownPosition",value:function(){var e,t,n,i,r,a,s,o=this;this.options.dropdownContainer&&this.options.dropdownContainer.appendChild(this.dropdown),this.isMobile||(e=this.telInput.getBoundingClientRect(),t=window.pageYOffset||document.documentElement.scrollTop,n=e.top+t,i=this.countryList.offsetHeight,r=n+this.telInput.offsetHeight+i<t+window.innerHeight,a=t<n-i,this._toggleClass(this.countryList,"iti__country-list--dropup",!r&&a),this.options.dropdownContainer&&(s=!r&&a?0:this.telInput.offsetHeight,this.dropdown.style.top="".concat(n+s,"px"),this.dropdown.style.left="".concat(e.left+document.body.scrollLeft,"px"),this._handleWindowScroll=function(){return o._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 n=this;this._handleMouseoverCountryList=function(e){var t=n._getClosestListItem(e.target);t&&n._highlightListItem(t,!1)},this.countryList.addEventListener("mouseover",this._handleMouseoverCountryList),this._handleClickCountryList=function(e){var t=n._getClosestListItem(e.target);t&&n._selectListItem(t)},this.countryList.addEventListener("click",this._handleClickCountryList);var e=!0;this._handleClickOffToClose=function(){e||n._closeDropdown(),e=!1},document.documentElement.addEventListener("click",this._handleClickOffToClose);var t="",i=null;this._handleKeydownOnDropdown=function(e){e.preventDefault(),"ArrowUp"===e.key||"Up"===e.key||"ArrowDown"===e.key||"Down"===e.key?n._handleUpDownKey(e.key):"Enter"===e.key?n._handleEnterKey():"Escape"===e.key?n._closeDropdown():/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)&&(i&&clearTimeout(i),t+=e.key.toLowerCase(),n._searchForCountry(t),i=setTimeout(function(){t=""},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 n=this.countryList.querySelector("#iti-".concat(this.id,"__item-").concat(this.countries[t].iso2));this._highlightListItem(n,!1),this._scrollTo(n,!0);break}}},{key:"_startsWith",value:function(e,t){return e.substr(0,t.length).toLowerCase()===t}},{key:"_updateValFromNumber",value:function(e){var t,n,i,r,a,s=e;this.options.formatOnDisplay&&window.intlTelInputUtils&&this.selectedCountryData&&(t=!this.options.separateDialCode&&(this.options.nationalMode||"+"!==s.charAt(0)),i=(n=intlTelInputUtils.numberFormat).NATIONAL,r=n.INTERNATIONAL,a=t?i:r,s=intlTelInputUtils.formatNumber(s,this.selectedCountryData.iso2,a)),s=this._beforeSetNumber(s),this.telInput.value=s}},{key:"_updateFlagFromNumber",value:function(e){var t=e,n=this.selectedCountryData.dialCode,i="1"===n;t&&this.options.nationalMode&&i&&"+"!==t.charAt(0)&&("1"!==t.charAt(0)&&(t="1".concat(t)),t="+".concat(t)),this.options.separateDialCode&&n&&"+"!==t.charAt(0)&&(t="+".concat(n).concat(t));var r=this._getDialCode(t,!0),a=this._getNumeric(t),s=null;if(r){var o=this.countryCodes[this._getNumeric(r)],l=-1!==o.indexOf(this.selectedCountryData.iso2)&&a.length<=r.length-1;if(!("1"===n&&this._isRegionlessNanp(a))&&!l)for(var u=0;u<o.length;u++)if(o[u]){s=o[u];break}}else"+"===t.charAt(0)&&a.length?s="":t&&"+"!==t||(s=this.defaultCountry);return null!==s&&this._setFlag(s)}},{key:"_isRegionlessNanp",value:function(e){var t=this._getNumeric(e);if("1"!==t.charAt(0))return!1;var n=t.substr(1,3);return-1!==u.indexOf(n)}},{key:"_highlightListItem",value:function(e,t){var n=this.highlightedItem;n&&n.classList.remove("iti__highlight"),this.highlightedItem=e,this.highlightedItem.classList.add("iti__highlight"),t&&this.highlightedItem.focus()}},{key:"_getCountryData",value:function(e,t,n){for(var i=t?a:this.countries,r=0;r<i.length;r++)if(i[r].iso2===e)return i[r];if(n)return null;throw new Error("No country data for '".concat(e,"'"))}},{key:"_setFlag",value:function(e){var t=this.selectedCountryData.iso2?this.selectedCountryData:{};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));var n,i,r,a,s=e?"".concat(this.selectedCountryData.name,": +").concat(this.selectedCountryData.dialCode):"Unknown";return this.selectedFlag.setAttribute("title",s),this.options.separateDialCode&&(n=this.selectedCountryData.dialCode?"+".concat(this.selectedCountryData.dialCode):"",this.selectedDialCode.innerHTML=n,i=this.selectedFlag.offsetWidth||this._getHiddenSelectedFlagWidth(),this.telInput.style.paddingLeft="".concat(i+6,"px")),this._updatePlaceholder(),this.options.allowDropdown&&((r=this.activeItem)&&(r.classList.remove("iti__active"),r.setAttribute("aria-selected","false")),e&&((a=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"),a.classList.add("iti__active"),this.activeItem=a,this.selectedFlag.setAttribute("aria-activedescendant",a.getAttribute("id")))),t.iso2!==e}},{key:"_getHiddenSelectedFlagWidth",value:function(){var e=this.telInput.parentNode.cloneNode();e.style.visibility="hidden",document.body.appendChild(e);var t=this.flagsContainer.cloneNode();e.appendChild(t);var n=this.selectedFlag.cloneNode(!0);t.appendChild(n);var i=n.offsetWidth;return e.parentNode.removeChild(e),i}},{key:"_updatePlaceholder",value:function(){var e,t,n="aggressive"===this.options.autoPlaceholder||!this.hadInitialPlaceholder&&"polite"===this.options.autoPlaceholder;window.intlTelInputUtils&&n&&(e=intlTelInputUtils.numberType[this.options.placeholderNumberType],t=this.selectedCountryData.iso2?intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2,this.options.nationalMode,e):"",t=this._beforeSetNumber(t),"function"==typeof this.options.customPlaceholder&&(t=this.options.customPlaceholder(t,this.selectedCountryData)),this.telInput.setAttribute("placeholder",t))}},{key:"_selectListItem",value:function(e){var t=this._setFlag(e.getAttribute("data-country-code"));this._closeDropdown(),this._updateDialCode(e.getAttribute("data-dial-code"),!0),this.telInput.focus();var n=this.telInput.value.length;this.telInput.setSelectionRange(n,n),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 n,i=this.countryList,r=window.pageYOffset||document.documentElement.scrollTop,a=i.offsetHeight,s=i.getBoundingClientRect().top+r,o=s+a,l=e.offsetHeight,u=e.getBoundingClientRect().top+r,c=u+l,d=u-s+i.scrollTop,p=a/2-l/2;u<s?(t&&(d-=p),i.scrollTop=d):o<c&&(t&&(d+=p),n=a-l,i.scrollTop=d-n)}},{key:"_updateDialCode",value:function(e,t){var n=this.telInput.value,i="+".concat(e);if("+"===n.charAt(0))var r=this._getDialCode(n),a=r?n.replace(r,i):i;else{if(this.options.nationalMode||this.options.separateDialCode)return;if(n)a=i+n;else{if(!t&&this.options.autoHideDialCode)return;a=i}}this.telInput.value=a}},{key:"_getDialCode",value:function(e,t){var n="";if("+"===e.charAt(0))for(var i="",r=0;r<e.length;r++){var a=e.charAt(r);if(!isNaN(parseInt(a,10))){if(i+=a,t)this.countryCodes[i]&&(n=e.substr(0,r+1));else if(this.dialCodes[i]){n=e.substr(0,r+1);break}if(i.length===this.countryCodeMaxLen)break}}return n}},{key:"_getFullNumber",value:function(){var e=this.telInput.value.trim(),t=this.selectedCountryData.dialCode,n=this._getNumeric(e),i=this.options.separateDialCode&&"+"!==e.charAt(0)&&t&&n?"+".concat(t):"";return i+e}},{key:"_beforeSetNumber",value:function(e){var t,n,i=e;return!this.options.separateDialCode||(t=this._getDialCode(i))&&(n=" "===i[(t="+".concat(this.selectedCountryData.dialCode)).length]||"-"===i[t.length]?t.length+1:t.length,i=i.substr(n)),this._cap(i)}},{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,t=this.telInput.form;this.options.allowDropdown&&(this._closeDropdown(),this.selectedFlag.removeEventListener("click",this._handleClickSelectedFlag),this.flagsContainer.removeEventListener("keydown",this._handleFlagsContainerKeydown),(e=this._getClosestLabel())&&e.removeEventListener("click",this._handleLabelClick)),this.hiddenInput&&t&&t.removeEventListener("submit",this._handleHiddenInputSubmit),this.options.autoHideDialCode&&(t&&t.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");var n=this.telInput.parentNode;n.parentNode.insertBefore(this.telInput,n),n.parentNode.removeChild(n),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){if(window.intlTelInputUtils){var t=this.selectedCountryData.iso2;return intlTelInputUtils.formatNumber(this._getFullNumber(),t,e)}return""}},{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(){if(window.intlTelInputUtils){var e=this.selectedCountryData.iso2;return intlTelInputUtils.getValidationError(this._getFullNumber(),e)}return-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){var t=e.toLowerCase();this.selectedFlagInner.classList.contains("iti__".concat(t))||(this._setFlag(t),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()}}])&&i(e.prototype,t),n&&i(e,n),r}();n.getCountryData=function(){return a};function d(e,t,n){var i=document.createElement("script");i.onload=function(){s("handleUtils"),t&&t()},i.onerror=function(){s("rejectUtilsScriptPromise"),n&&n()},i.className="iti-load-utils",i.async=!0,i.src=e,document.body.appendChild(i)}return n.loadUtils=function(n){if(!window.intlTelInputUtils&&!window.intlTelInputGlobals.startedLoadingUtilsScript){if(window.intlTelInputGlobals.startedLoadingUtilsScript=!0,"undefined"!=typeof Promise)return new Promise(function(e,t){return d(n,e,t)});d(n)}return null},n.defaults=l,n.version="17.0.18",function(e,t){var n=new r(e,t);return n._init(),e.setAttribute("data-intl-tel-input-id",n.id),window.intlTelInputGlobals.instances[n.id]=n}}()},"object"==typeof t&&t.exports?t.exports=i():window.intlTelInput=i()},{}],119:[function(e,t,n){t.exports=e("./build/js/intlTelInput")},{"./build/js/intlTelInput":118}],120:[function(e,n,t){(function(t){n.exports=function(r,a){var s,o,l=0;function e(){var e,t,n=s,i=arguments.length;e:for(;n;){if(n.args.length===arguments.length){for(t=0;t<i;t++)if(n.args[t]!==arguments[t]){n=n.next;continue e}return n!==s&&(n===o&&(o=n.prev),n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=s,n.prev=null,s.prev=n,s=n),n.val}n=n.next}for(e=new Array(i),t=0;t<i;t++)e[t]=arguments[t];return n={args:e,val:r.apply(null,e)},s?(s.prev=n).next=s:o=n,l===a.maxSize?(o=o.prev).next=null:l++,(s=n).val}return a=a||{},e.clear=function(){o=s=null,l=0},"test"===t.env.NODE_ENV&&(e.getCache=function(){return[s,o,l]}),e}}).call(this,e("_process"))},{_process:121}],121:[function(e,t,n){var i,r,a=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function l(t){if(i===setTimeout)return setTimeout(t,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(e){i=s}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(e){r=o}}();var u,c=[],d=!1,p=-1;function h(){d&&u&&(d=!1,u.length?c=u.concat(c):p=-1,c.length&&m())}function m(){if(!d){var e=l(h);d=!0;for(var t=c.length;t;){for(u=c,c=[];++p<t;)u&&u[p].run();p=-1,t=c.length}u=null,d=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function g(){}a.nextTick=function(e){var t=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];c.push(new f(e,t)),1!==c.length||d||l(m)},f.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=g,a.addListener=g,a.once=g,a.off=g,a.removeListener=g,a.removeAllListeners=g,a.emit=g,a.prependListener=g,a.prependOnceListener=g,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},{}],122:[function(e,t,n){var i=function(s){"use strict";var d,e=Object.prototype,c=e.hasOwnProperty,t="function"==typeof Symbol?Symbol:{},r=t.iterator||"@@iterator",n=t.asyncIterator||"@@asyncIterator",i=t.toStringTag||"@@toStringTag";function o(e,t,n,i){var a,s,o,l,r=t&&t.prototype instanceof y?t:y,u=Object.create(r.prototype),c=new $(i||[]);return u._invoke=(a=e,s=n,o=c,l=h,function(e,t){if(l===f)throw new Error("Generator is already running");if(l===g){if("throw"===e)throw t;return E()}for(o.method=e,o.arg=t;;){var n=o.delegate;if(n){var i=function e(t,n){var i=t.iterator[n.method];if(i===d){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=d,e(t,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var r=p(i,t.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,v;var a=r.arg;return a?a.done?(n[t.resultName]=a.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=d),n.delegate=null,v):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}(n,o);if(i){if(i===v)continue;return i}}if("next"===o.method)o.sent=o._sent=o.arg;else if("throw"===o.method){if(l===h)throw l=g,o.arg;o.dispatchException(o.arg)}else"return"===o.method&&o.abrupt("return",o.arg);l=f;var r=p(a,s,o);if("normal"===r.type){if(l=o.done?g:m,r.arg===v)continue;return{value:r.arg,done:o.done}}"throw"===r.type&&(l=g,o.method="throw",o.arg=r.arg)}}),u}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}s.wrap=o;var h="suspendedStart",m="suspendedYield",f="executing",g="completed",v={};function y(){}function a(){}function l(){}var u={};u[r]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(I([])));w&&w!==e&&c.call(w,r)&&(u=w);var _=l.prototype=y.prototype=Object.create(u);function x(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(l,u){var t;this._invoke=function(n,i){function e(){return new u(function(e,t){!function t(e,n,i,r){var a=p(l[e],l,n);if("throw"!==a.type){var s=a.arg,o=s.value;return o&&"object"==typeof o&&c.call(o,"__await")?u.resolve(o.__await).then(function(e){t("next",e,i,r)},function(e){t("throw",e,i,r)}):u.resolve(o).then(function(e){s.value=e,i(s)},function(e){return t("throw",e,i,r)})}r(a.arg)}(n,i,e,t)})}return t=t?t.then(e,e):e()}}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function $(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function I(t){if(t){var e=t[r];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(c.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=d,e.done=!0,e};return i.next=i}}return{next:E}}function E(){return{value:d,done:!0}}return(a.prototype=_.constructor=l).constructor=a,l[i]=a.displayName="GeneratorFunction",s.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===a||"GeneratorFunction"===(t.displayName||t.name))},s.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,l):(e.__proto__=l,i in e||(e[i]="GeneratorFunction")),e.prototype=Object.create(_),e},s.awrap=function(e){return{__await:e}},x(C.prototype),C.prototype[n]=function(){return this},s.AsyncIterator=C,s.async=function(e,t,n,i,r){void 0===r&&(r=Promise);var a=new C(o(e,t,n,i),r);return s.isGeneratorFunction(t)?a:a.next().then(function(e){return e.done?e.value:a.next()})},x(_),_[i]="Generator",_[r]=function(){return this},_.toString=function(){return"[object Generator]"},s.keys=function(n){var i=[];for(var e in n)i.push(e);return i.reverse(),function e(){for(;i.length;){var t=i.pop();if(t in n)return e.value=t,e.done=!1,e}return e.done=!0,e}},s.values=I,$.prototype={constructor:$,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=d,this.done=!1,this.delegate=null,this.method="next",this.arg=d,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=d)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var i=this;function e(e,t){return a.type="throw",a.arg=n,i.next=e,t&&(i.method="next",i.arg=d),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var r=this.tryEntries[t],a=r.completion;if("root"===r.tryLoc)return e("end");if(r.tryLoc<=this.prev){var s=c.call(r,"catchLoc"),o=c.call(r,"finallyLoc");if(s&&o){if(this.prev<r.catchLoc)return e(r.catchLoc,!0);if(this.prev<r.finallyLoc)return e(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return e(r.catchLoc,!0)}else{if(!o)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return e(r.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;0<=n;--n){var i=this.tryEntries[n];if(i.tryLoc<=this.prev&&c.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var r=i;break}}r&&("break"===e||"continue"===e)&&r.tryLoc<=t&&t<=r.finallyLoc&&(r=null);var a=r?r.completion:{};return a.type=e,a.arg=t,r?(this.method="next",this.next=r.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var i,r=n.completion;return"throw"===r.type&&(i=r.arg,k(n)),i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:I(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=d),v}},s}("object"==typeof t?t.exports:{});try{regeneratorRuntime=i}catch(e){Function("r","regeneratorRuntime=r")(i)}},{}],123:[function(e,t,n){"use strict";var i,s=(i=e("@tannin/plural-forms"))&&"object"==typeof i&&"default"in i?i.default:i,r={contextDelimiter:"",onMissingKey:null};function a(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},r)this.options[n]=void 0!==t&&n in t?t[n]:r[n]}a.prototype.getPluralForm=function(e,t){var n,i,r,a=this.pluralForms[e];return a||("function"!=typeof(r=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(i=function(e){for(var t,n=e.split(";"),i=0;i<n.length;i++)if(0===(t=n[i].trim()).indexOf("plural="))return t.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),r=s(i)),a=this.pluralForms[e]=r),a(t)},a.prototype.dcnpgettext=function(e,t,n,i,r){var a,s=void 0===r?0:this.getPluralForm(e,r),o=n;return t&&(o=t+this.options.contextDelimiter+n),(a=this.data[e][o])&&a[s]?a[s]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===s?n:i)},t.exports=a},{"@tannin/plural-forms":111}],124:[function(M,e,R){(function(ne){"use strict";Object.defineProperty(R,"__esModule",{value:!0});var ie=M("@popperjs/core"),i="tippy-content",o="tippy-backdrop",r="tippy-arrow",a="tippy-svg-arrow",re={passive:!0,capture:!0},ae=function(){return document.body};function se(e,t,n){if(Array.isArray(e)){var i=e[t];return null==i?Array.isArray(n)?n[t]:n:i}return e}function n(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&-1<n.indexOf(t+"]")}function oe(e,t){return"function"==typeof e?e.apply(void 0,t):e}function le(t,n){return 0===n?t:function(e){clearTimeout(i),i=setTimeout(function(){t(e)},n)};var i}function b(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}function ue(e){return[].concat(e)}function ce(e,t){-1===e.indexOf(t)&&e.push(t)}function de(e){return e.split("-")[0]}function pe(e){return[].slice.call(e)}function he(n){return Object.keys(n).reduce(function(e,t){return void 0!==n[t]&&(e[t]=n[t]),e},{})}function me(){return document.createElement("div")}function d(t){return["Element","Fragment"].some(function(e){return n(t,e)})}function fe(e){return n(e,"MouseEvent")}function s(e){return e&&e._tippy&&e._tippy.reference===e}function p(e){return d(e)?[e]:n(e,"NodeList")?pe(e):Array.isArray(e)?e:pe(document.querySelectorAll(e))}function ge(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function ve(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function ye(e){var t,n=ue(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function be(t,e,n){var i=e+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(e){t[i](e,n)})}function we(e,t){for(var n,i=t;i;){if(e.contains(i))return!0;i=null==i.getRootNode||null==(n=i.getRootNode())?void 0:n.host}return!1}var _e={isTouch:!1},t=0;function h(){_e.isTouch||(_e.isTouch=!0,window.performance&&document.addEventListener("mousemove",l))}function l(){var e=performance.now();e-t<20&&(_e.isTouch=!1,document.removeEventListener("mousemove",l)),t=e}function m(){var e,t=document.activeElement;s(t)&&(e=t._tippy,t.blur&&!e.state.isVisible&&t.blur())}var u,xe="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.msCrypto;function Ce(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 c(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function f(e){return[c("\n  %ctippy.js\n\n  %c"+c(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 Se(e,t){var n;e&&!u.has(t)&&(u.add(t),(n=console).warn.apply(n,f(t)))}function ke(e,t){var n;e&&!u.has(t)&&(u.add(t),(n=console).error.apply(n,f(t)))}"production"!==ne.env.NODE_ENV&&(u=new Set);var g={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},$e=Object.assign({appendTo:ae,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},g,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),v=Object.keys($e);function Ie(a){var e=(a.plugins||[]).reduce(function(e,t){var n,i=t.name,r=t.defaultValue;return i&&(e[i]=void 0!==a[i]?a[i]:null!=(n=$e[i])?n:r),e},{});return Object.assign({},a,e)}function Ee(e,t){var r,n,i=Object.assign({},t,{content:oe(t.content,[e])},t.ignoreAttributes?{}:(r=e,((n=t.plugins)?Object.keys(Ie(Object.assign({},$e,{plugins:n}))):v).reduce(function(t,n){var i=(r.getAttribute("data-tippy-"+n)||"").trim();if(!i)return t;if("content"===n)t[n]=i;else try{t[n]=JSON.parse(i)}catch(e){t[n]=i}return t},{})));return i.aria=Object.assign({},$e.aria,i.aria),i.aria={expanded:"auto"===i.aria.expanded?t.interactive:i.aria.expanded,content:"auto"===i.aria.content?t.interactive?null:"describedby":i.aria.content},i}function y(e,r){void 0===e&&(e={}),void 0===r&&(r=[]),Object.keys(e).forEach(function(t){var e,n,i=b($e,Object.keys(g));Se((e=i,n=t,!{}.hasOwnProperty.call(e,n))&&0===r.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 w=function(){return"innerHTML"};function _(e,t){e[w()]=t}function x(e){var t=me();return!0===e?t.className=r:(t.className=a,d(e)?t.appendChild(e):_(t,e)),t}function C(e,t){d(t.content)?(_(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?_(e,t.content):e.textContent=t.content)}function Pe(e){var t=e.firstElementChild,n=pe(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(i)}),arrow:n.find(function(e){return e.classList.contains(r)||e.classList.contains(a)}),backdrop:n.find(function(e){return e.classList.contains(o)})}}function e(s){var o=me(),e=me();e.className="tippy-box",e.setAttribute("data-state","hidden"),e.setAttribute("tabindex","-1");var t=me();function n(e,t){var n=Pe(o),i=n.box,r=n.content,a=n.arrow;t.theme?i.setAttribute("data-theme",t.theme):i.removeAttribute("data-theme"),"string"==typeof t.animation?i.setAttribute("data-animation",t.animation):i.removeAttribute("data-animation"),t.inertia?i.setAttribute("data-inertia",""):i.removeAttribute("data-inertia"),i.style.maxWidth="number"==typeof t.maxWidth?t.maxWidth+"px":t.maxWidth,t.role?i.setAttribute("role",t.role):i.removeAttribute("role"),e.content===t.content&&e.allowHTML===t.allowHTML||C(r,s.props),t.arrow?a?e.arrow!==t.arrow&&(i.removeChild(a),i.appendChild(x(t.arrow))):i.appendChild(x(t.arrow)):a&&i.removeChild(a)}return t.className=i,t.setAttribute("data-state","hidden"),C(t,s.props),o.appendChild(e),e.appendChild(t),n(s.props,s.props),{popper:o,onUpdate:n}}e.$$tippy=!0;var je=1,Te=[],Oe=[];function S(u,e){var a,n,i,r,s,c,o,l,d=Ee(u,Object.assign({},$e,Ie(he(e)))),p=!1,h=!1,m=!1,f=!1,g=[],v=le(G,d.interactiveDebounce),t=je++,y=(l=d.plugins).filter(function(e,t){return l.indexOf(e)===t}),b={id:t,reference:u,popper:me(),popperInstance:null,props:d,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(a),clearTimeout(n),cancelAnimationFrame(i)},setProps:function(e){"production"!==ne.env.NODE_ENV&&Se(b.state.isDestroyed,Ce("setProps"));if(b.state.isDestroyed)return;L("onBeforeUpdate",[b,e]),H();var t=b.props,n=Ee(u,Object.assign({},t,he(e),{ignoreAttributes:!0}));b.props=n,N(),t.interactiveDebounce!==n.interactiveDebounce&&(M(),v=le(G,n.interactiveDebounce));t.triggerTarget&&!n.triggerTarget?ue(t.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):n.triggerTarget&&u.removeAttribute("aria-expanded");A(),O(),x&&x(t,n);b.popperInstance&&(K(),Z().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}));L("onAfterUpdate",[b,e])},setContent:function(e){b.setProps({content:e})},show:function(){"production"!==ne.env.NODE_ENV&&Se(b.state.isDestroyed,Ce("show"));var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,i=_e.isTouch&&!b.props.touch,r=se(b.props.duration,0,$e.duration);if(e||t||n||i)return;if(E().hasAttribute("disabled"))return;if(L("onShow",[b],!1),!1===b.props.onShow(b))return;b.state.isVisible=!0,I()&&(_.style.visibility="visible");O(),B(),b.state.isMounted||(_.style.transition="none");{var a,s,o;I()&&(a=j(),s=a.box,o=a.content,ge([s,o],0))}c=function(){var e,t,n,i;b.state.isVisible&&!f&&(f=!0,_.offsetHeight,_.style.transition=b.props.moveTransition,I()&&b.props.animation&&(ge([n=(t=j()).box,i=t.content],r),ve([n,i],"visible")),D(),A(),ce(Oe,b),null!=(e=b.popperInstance)&&e.forceUpdate(),L("onMount",[b]),b.props.animation&&I()&&q(r,function(){b.state.isShown=!0,L("onShown",[b])}))},function(){var e,t=b.props.appendTo,n=E();e=b.props.interactive&&t===ae||"parent"===t?n.parentNode:oe(t,[n]);e.contains(_)||e.appendChild(_);b.state.isMounted=!0,K(),"production"!==ne.env.NODE_ENV&&Se(b.props.interactive&&t===$e.appendTo&&n.nextElementSibling!==_,["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"!==ne.env.NODE_ENV&&Se(b.state.isDestroyed,Ce("hide"));var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,i=se(b.props.duration,1,$e.duration);if(e||t||n)return;if(L("onHide",[b],!1),!1===b.props.onHide(b))return;b.state.isVisible=!1,b.state.isShown=!1,p=f=!1,I()&&(_.style.visibility="hidden");{var r,a,s;M(),W(),O(!0),I()&&(r=j(),a=r.box,s=r.content,b.props.animation&&(ge([a,s],i),ve([a,s],"hidden")))}D(),A(),b.props.animation?I()&&function(e,t){q(e,function(){!b.state.isVisible&&_.parentNode&&_.parentNode.contains(_)&&t()})}(i,b.unmount):b.unmount()},hideWithInteractivity:function(e){"production"!==ne.env.NODE_ENV&&Se(b.state.isDestroyed,Ce("hideWithInteractivity"));P().addEventListener("mousemove",v),ce(Te,v),v(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){"production"!==ne.env.NODE_ENV&&Se(b.state.isDestroyed,Ce("unmount"));b.state.isVisible&&b.hide();if(!b.state.isMounted)return;J(),Z().forEach(function(e){e._tippy.unmount()}),_.parentNode&&_.parentNode.removeChild(_);Oe=Oe.filter(function(e){return e!==b}),b.state.isMounted=!1,L("onHidden",[b])},destroy:function(){"production"!==ne.env.NODE_ENV&&Se(b.state.isDestroyed,Ce("destroy"));if(b.state.isDestroyed)return;b.clearDelayTimeouts(),b.unmount(),H(),delete u._tippy,b.state.isDestroyed=!0,L("onDestroy",[b])}};if(!d.render)return"production"!==ne.env.NODE_ENV&&ke(!0,"render() function has not been supplied."),b;var w=d.render(b),_=w.popper,x=w.onUpdate;_.setAttribute("data-tippy-root",""),_.id="tippy-"+b.id,b.popper=_,u._tippy=b,_._tippy=b;var C=y.map(function(e){return e.fn(b)}),S=u.hasAttribute("aria-expanded");return N(),A(),O(),L("onCreate",[b]),d.showOnCreate&&ee(),_.addEventListener("mouseenter",function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()}),_.addEventListener("mouseleave",function(){b.props.interactive&&0<=b.props.trigger.indexOf("mouseenter")&&P().addEventListener("mousemove",v)}),b;function k(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function $(){return"hold"===k()[0]}function I(){var e;return null!=(e=b.props.render)&&e.$$tippy}function E(){return o||u}function P(){var e=E().parentNode;return e?ye(e):document}function j(){return Pe(_)}function T(e){return b.state.isMounted&&!b.state.isVisible||_e.isTouch||r&&"focus"===r.type?0:se(b.props.delay,e?0:1,$e.delay)}function O(e){void 0===e&&(e=!1),_.style.pointerEvents=b.props.interactive&&!e?"":"none",_.style.zIndex=""+b.props.zIndex}function L(t,n,e){var i;void 0===e&&(e=!0),C.forEach(function(e){e[t]&&e[t].apply(e,n)}),e&&(i=b.props)[t].apply(i,n)}function D(){var i,r,e=b.props.aria;e.content&&(i="aria-"+e.content,r=_.id,ue(b.props.triggerTarget||u).forEach(function(e){var t,n=e.getAttribute(i);b.state.isVisible?e.setAttribute(i,n?n+" "+r:r):(t=n&&n.replace(r,"").trim())?e.setAttribute(i,t):e.removeAttribute(i)}))}function A(){!S&&b.props.aria.expanded&&ue(b.props.triggerTarget||u).forEach(function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===E()?"true":"false"):e.removeAttribute("aria-expanded")})}function M(){P().removeEventListener("mousemove",v),Te=Te.filter(function(e){return e!==v})}function R(e){if(!_e.isTouch||!m&&"mousedown"!==e.type){var t=e.composedPath&&e.composedPath()[0]||e.target;if(!b.props.interactive||!we(_,t)){if(ue(b.props.triggerTarget||u).some(function(e){return we(e,t)})){if(_e.isTouch)return;if(b.state.isVisible&&0<=b.props.trigger.indexOf("click"))return}else L("onClickOutside",[b,e]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),h=!0,setTimeout(function(){h=!1}),b.state.isMounted||W())}}}function V(){m=!0}function F(){m=!1}function B(){var e=P();e.addEventListener("mousedown",R,!0),e.addEventListener("touchend",R,re),e.addEventListener("touchstart",F,re),e.addEventListener("touchmove",V,re)}function W(){var e=P();e.removeEventListener("mousedown",R,!0),e.removeEventListener("touchend",R,re),e.removeEventListener("touchstart",F,re),e.removeEventListener("touchmove",V,re)}function q(e,t){var n=j().box;function i(e){e.target===n&&(be(n,"remove",i),t())}if(0===e)return t();be(n,"remove",s),be(n,"add",i),s=i}function z(t,n,i){void 0===i&&(i=!1),ue(b.props.triggerTarget||u).forEach(function(e){e.addEventListener(t,n,i),g.push({node:e,eventType:t,handler:n,options:i})})}function N(){$()&&(z("touchstart",U,{passive:!0}),z("touchend",Q,{passive:!0})),b.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if("manual"!==e)switch(z(e,U),e){case"mouseenter":z("mouseleave",Q);break;case"focus":z(xe?"focusout":"blur",X);break;case"focusin":z("focusout",X)}})}function H(){g.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,r=e.options;t.removeEventListener(n,i,r)}),g=[]}function U(t){var e,n=!1;!b.state.isEnabled||Y(t)||h||(e="focus"===(null==r?void 0:r.type),o=(r=t).currentTarget,A(),!b.state.isVisible&&fe(t)&&Te.forEach(function(e){return e(t)}),"click"===t.type&&(b.props.trigger.indexOf("mouseenter")<0||p)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ee(t),"click"===t.type&&(p=!n),n&&!e&&te(t))}function G(e){var t,n,i,m,f,r=e.target,a=E().contains(r)||_.contains(r);"mousemove"===e.type&&a||(t=Z().concat(_).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:d}:null}).filter(Boolean),n=t,m=(i=e).clientX,f=i.clientY,n.every(function(e){var t=e.popperRect,n=e.popperState,i=e.props.interactiveBorder,r=de(n.placement),a=n.modifiersData.offset;if(!a)return!0;var s="bottom"===r?a.top.y:0,o="top"===r?a.bottom.y:0,l="right"===r?a.left.x:0,u="left"===r?a.right.x:0,c=t.top-f+s>i,d=f-t.bottom-o>i,p=t.left-m+l>i,h=m-t.right-u>i;return c||d||p||h})&&(M(),te(e)))}function Q(e){Y(e)||0<=b.props.trigger.indexOf("click")&&p||(b.props.interactive?b.hideWithInteractivity(e):te(e))}function X(e){b.props.trigger.indexOf("focusin")<0&&e.target!==E()||b.props.interactive&&e.relatedTarget&&_.contains(e.relatedTarget)||te(e)}function Y(e){return!!_e.isTouch&&$()!==0<=e.type.indexOf("touch")}function K(){J();var e=b.props,t=e.popperOptions,n=e.placement,i=e.offset,r=e.getReferenceClientRect,a=e.moveTransition,s=I()?Pe(_).arrow:null,o=r?{getBoundingClientRect:r,contextElement:r.contextElement||E()}:u,l=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state;I()&&(t=j().box,["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?t.setAttribute("data-placement",n.placement):n.attributes.popper["data-popper-"+e]?t.setAttribute("data-"+e,""):t.removeAttribute("data-"+e)}),n.attributes.popper={})}}];I()&&s&&l.push({name:"arrow",options:{element:s,padding:3}}),l.push.apply(l,(null==t?void 0:t.modifiers)||[]),b.popperInstance=ie.createPopper(o,_,Object.assign({},t,{placement:n,onFirstUpdate:c,modifiers:l}))}function J(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function Z(){return pe(_.querySelectorAll("[data-tippy-root]"))}function ee(e){b.clearDelayTimeouts(),e&&L("onTrigger",[b,e]),B();var t=T(!0),n=k(),i=n[0],r=n[1];_e.isTouch&&"hold"===i&&r&&(t=r),t?a=setTimeout(function(){b.show()},t):b.show()}function te(e){var t;b.clearDelayTimeouts(),L("onUntrigger",[b,e]),b.state.isVisible?0<=b.props.trigger.indexOf("mouseenter")&&0<=b.props.trigger.indexOf("click")&&0<=["mouseleave","mousemove"].indexOf(e.type)&&p||((t=T(!1))?n=setTimeout(function(){b.state.isVisible&&b.hide()},t):i=requestAnimationFrame(function(){b.hide()})):W()}}function k(e,t){void 0===t&&(t={});var n,i,r,a=$e.plugins.concat(t.plugins||[]);"production"!==ne.env.NODE_ENV&&(i=!(n=e),r="[object Object]"===Object.prototype.toString.call(n)&&!n.addEventListener,ke(i,["tippy() was passed","`"+String(n)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),ke(r,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" ")),y(t,a)),document.addEventListener("touchstart",h,re),window.addEventListener("blur",m);var s,o,l=Object.assign({},t,{plugins:a}),u=p(e);"production"!==ne.env.NODE_ENV&&(s=d(l.content),o=1<u.length,Se(s&&o,["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(" ")));var c=u.reduce(function(e,t){var n=t&&S(t,l);return n&&e.push(n),e},[]);return d(e)?c[0]:c}k.defaultProps=$e,k.setDefaultProps=function(t){"production"!==ne.env.NODE_ENV&&y(t,[]),Object.keys(t).forEach(function(e){$e[e]=t[e]})},k.currentInput=_e;var $=Object.assign({},ie.applyStyles,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),I={mouseover:"mouseenter",focusin:"focus",click:"click"};var E={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return"production"!==ne.env.NODE_ENV&&ke(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n,i=Pe(e.popper),r=i.box,a=i.content,s=e.props.animateFill?((n=me()).className=o,ve([n],"hidden"),n):null;return{onCreate:function(){s&&(r.insertBefore(s,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){var e,t;s&&(e=r.style.transitionDuration,t=Number(e.replace("ms","")),a.style.transitionDelay=Math.round(t/10)+"ms",s.style.transitionDuration=e,ve([s],"visible"))},onShow:function(){s&&(s.style.transitionDuration="0ms")},onHide:function(){s&&ve([s],"hidden")}}}};var P={clientX:0,clientY:0},j=[];function T(e){var t=e.clientX,n=e.clientY;P={clientX:t,clientY:n}}var O={name:"followCursor",defaultValue:!1,fn:function(i){var p=i.reference,t=ye(i.props.triggerTarget||p),r=!1,a=!1,e=!0,s=i.props;function o(){return"initial"===i.props.followCursor&&i.state.isVisible}function l(){t.addEventListener("mousemove",n)}function u(){t.removeEventListener("mousemove",n)}function c(){r=!0,i.setProps({getReferenceClientRect:null}),r=!1}function n(e){var t=!e.target||p.contains(e.target),o=i.props.followCursor,l=e.clientX,u=e.clientY,n=p.getBoundingClientRect(),c=l-n.left,d=u-n.top;!t&&i.props.interactive||i.setProps({getReferenceClientRect:function(){var e=p.getBoundingClientRect(),t=l,n=u;"initial"===o&&(t=e.left+c,n=e.top+d);var i="horizontal"===o?e.top:n,r="vertical"===o?e.right:t,a="horizontal"===o?e.bottom:n,s="vertical"===o?e.left:t;return{width:r-s,height:a-i,top:i,right:r,bottom:a,left:s}}})}function d(){i.props.followCursor&&(j.push({instance:i,doc:t}),t.addEventListener("mousemove",T))}function h(){0===(j=j.filter(function(e){return e.instance!==i})).filter(function(e){return e.doc===t}).length&&t.removeEventListener("mousemove",T)}return{onCreate:d,onDestroy:h,onBeforeUpdate:function(){s=i.props},onAfterUpdate:function(e,t){var n=t.followCursor;r||void 0!==n&&s.followCursor!==n&&(h(),n?(d(),!i.state.isMounted||a||o()||l()):(u(),c()))},onMount:function(){i.props.followCursor&&!a&&(e&&(n(P),e=!1),o()||l())},onTrigger:function(e,t){fe(t)&&(P={clientX:t.clientX,clientY:t.clientY}),a="focus"===t.type},onHidden:function(){i.props.followCursor&&(c(),u(),e=!0)}}}};var L={name:"inlinePositioning",defaultValue:!1,fn:function(a){var n,i=a.reference;var s=-1,r=!1,o=[],l={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(e){var t=e.state;a.props.inlinePositioning&&(-1!==o.indexOf(t.placement)&&(o=[]),n!==t.placement&&-1===o.indexOf(t.placement)&&(o.push(t.placement),a.setProps({getReferenceClientRect:function(){return function(t,e,n,i){if(n.length<2||null===t)return e;if(2===n.length&&0<=i&&n[0].left>n[1].right)return n[i]||e;switch(t){case"top":case"bottom":var r=n[0],a=n[n.length-1],s="top"===t,o=r.top,l=a.bottom,u=s?r.left:a.left,c=s?r.right:a.right;return{top:o,bottom:l,left:u,right:c,width:c-u,height:l-o};case"left":case"right":var d=Math.min.apply(Math,n.map(function(e){return e.left})),p=Math.max.apply(Math,n.map(function(e){return e.right})),h=n.filter(function(e){return"left"===t?e.left===d:e.right===p}),m=h[0].top,f=h[h.length-1].bottom;return{top:m,bottom:f,left:d,right:p,width:p-d,height:f-m};default:return e}}(de(t.placement),i.getBoundingClientRect(),pe(i.getClientRects()),s)}})),n=t.placement)}};function e(){var e,t,n,i;r||(t=a.props,n=l,e={popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat(((null==(i=t.popperOptions)?void 0:i.modifiers)||[]).filter(function(e){return e.name!==n.name}),[n])})},r=!0,a.setProps(e),r=!1)}return{onCreate:e,onAfterUpdate:e,onTrigger:function(e,t){var n,i,r;fe(t)&&(i=(n=pe(a.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}),r=n.indexOf(i),s=-1<r?r:s)},onHidden:function(){s=-1}}}};var D={name:"sticky",defaultValue:!1,fn:function(n){var i=n.reference,r=n.popper;function a(e){return!0===n.props.sticky||n.props.sticky===e}var s=null,o=null;function l(){var e=a("reference")?(n.popperInstance?n.popperInstance.state.elements.reference:i).getBoundingClientRect():null,t=a("popper")?r.getBoundingClientRect():null;(e&&A(s,e)||t&&A(o,t))&&n.popperInstance&&n.popperInstance.update(),s=e,o=t,n.state.isMounted&&requestAnimationFrame(l)}return{onMount:function(){n.props.sticky&&l()}}}};function A(e,t){return!e||!t||(e.top!==t.top||e.right!==t.right||e.bottom!==t.bottom||e.left!==t.left)}k.setDefaultProps({render:e}),R.animateFill=E,R.createSingleton=function(e,t){var n;void 0===t&&(t={}),"production"!==ne.env.NODE_ENV&&ke(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var r,a=e,s=[],o=[],l=t.overrides,i=[],u=!1;function c(){o=a.map(function(e){return ue(e.props.triggerTarget||e.reference)}).reduce(function(e,t){return e.concat(t)},[])}function d(){s=a.map(function(e){return e.reference})}function p(t){a.forEach(function(e){t?e.enable():e.disable()})}function h(i){return a.map(function(t){var n=t.setProps;return t.setProps=function(e){n(e),t.reference===r&&i.setProps(e)},function(){t.setProps=n}})}function m(e,t){var n,i=o.indexOf(t);t!==r&&(r=t,n=(l||[]).concat("content").reduce(function(e,t){return e[t]=a[i].props[t],e},{}),e.setProps(Object.assign({},n,{getReferenceClientRect:"function"==typeof n.getReferenceClientRect?n.getReferenceClientRect:function(){var e;return null==(e=s[i])?void 0:e.getBoundingClientRect()}})))}p(!1),d(),c();var f={fn:function(){return{onDestroy:function(){p(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!u&&(u=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!u&&(u=!0,m(e,s[0]))},onTrigger:function(e,t){m(e,t.currentTarget)}}}},g=k(me(),Object.assign({},b(t,["overrides"]),{plugins:[f].concat(t.plugins||[]),triggerTarget:o,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[$])})})),v=g.show;g.show=function(e){if(v(),!r&&null==e)return m(g,s[0]);if(!r||null!=e){if("number"==typeof e)return s[e]&&m(g,s[e]);if(0<=a.indexOf(e)){var t=e.reference;return m(g,t)}return 0<=s.indexOf(e)?m(g,e):void 0}},g.showNext=function(){var e=s[0];if(!r)return g.show(0);var t=s.indexOf(r);g.show(s[t+1]||e)},g.showPrevious=function(){var e=s[s.length-1];if(!r)return g.show(e);var t=s.indexOf(r),n=s[t-1]||e;g.show(n)};var y=g.setProps;return g.setProps=function(e){l=e.overrides||l,y(e)},g.setInstances=function(e){p(!0),i.forEach(function(e){return e()}),a=e,p(!1),d(),c(),i=h(g),g.setProps({triggerTarget:o})},i=h(g),g},R.default=k,R.delegate=function(e,r){"production"!==ne.env.NODE_ENV&&ke(!(r&&r.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var a=[],s=[],o=!1,l=r.target,t=b(r,["target"]),n=Object.assign({},t,{trigger:"manual",touch:!1}),u=Object.assign({touch:$e.touch},t,{showOnCreate:!0}),i=k(e,n);function c(e){var t,n,i;!e.target||o||(t=e.target.closest(l))&&(n=t.getAttribute("data-tippy-trigger")||r.trigger||$e.trigger,t._tippy||"touchstart"===e.type&&"boolean"==typeof u.touch||"touchstart"!==e.type&&n.indexOf(I[e.type])<0||(i=k(t,u))&&(s=s.concat(i)))}function d(e,t,n,i){void 0===i&&(i=!1),e.addEventListener(t,n,i),a.push({node:e,eventType:t,handler:n,options:i})}return ue(i).forEach(function(e){var t,n=e.destroy,i=e.enable,r=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&s.forEach(function(e){e.destroy()}),s=[],a.forEach(function(e){var t=e.node,n=e.eventType,i=e.handler,r=e.options;t.removeEventListener(n,i,r)}),a=[],n()},e.enable=function(){i(),s.forEach(function(e){return e.enable()}),o=!1},e.disable=function(){r(),s.forEach(function(e){return e.disable()}),o=!0},d(t=e.reference,"touchstart",c,re),d(t,"mouseover",c),d(t,"focusin",c),d(t,"click",c)}),i},R.followCursor=O,R.hideAll=function(e){var t=void 0===e?{}:e,i=t.exclude,r=t.duration;Oe.forEach(function(e){var t,n=!1;i&&(n=s(i)?e.reference===i:e.popper===i.popper),n||(t=e.props.duration,e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:t}))})},R.inlinePositioning=L,R.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>',R.sticky=D}).call(this,M("_process"))},{"@popperjs/core":125,_process:121}],125:[function(e,t,le){(function(M){"use strict";function O(e){if(null==e)return window;if("[object Window]"===e.toString())return e;var t=e.ownerDocument;return t&&t.defaultView||window}function E(e){return e instanceof O(e).Element||e instanceof Element}function f(e){return e instanceof O(e).HTMLElement||e instanceof HTMLElement}function r(e){return"undefined"!=typeof ShadowRoot&&(e instanceof O(e).ShadowRoot||e instanceof ShadowRoot)}Object.defineProperty(le,"__esModule",{value:!0});var pe=Math.max,he=Math.min,L=Math.round;function a(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function S(){return!/^((?!chrome|android).)*safari/i.test(a())}function P(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,a=1;t&&f(e)&&(r=0<e.offsetWidth&&L(i.width)/e.offsetWidth||1,a=0<e.offsetHeight&&L(i.height)/e.offsetHeight||1);var s=(E(e)?O(e):window).visualViewport,o=!S()&&n,l=(i.left+(o&&s?s.offsetLeft:0))/r,u=(i.top+(o&&s?s.offsetTop:0))/a,c=i.width/r,d=i.height/a;return{width:c,height:d,top:u,right:l+c,bottom:u+d,left:l,x:l,y:u}}function k(e){var t=O(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function g(e){return e?(e.nodeName||"").toLowerCase():null}function D(e){return((E(e)?e.ownerDocument:e.document)||window.document).documentElement}function $(e){return P(D(e)).left+k(e).scrollLeft}function A(e){return O(e).getComputedStyle(e)}function v(e){var t=A(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function d(e,t,n){void 0===n&&(n=!1);var i,r,a,s,o,l,u=f(t),c=f(t)&&(r=(i=t).getBoundingClientRect(),a=L(r.width)/i.offsetWidth||1,s=L(r.height)/i.offsetHeight||1,1!==a||1!==s),d=D(t),p=P(e,c,n),h={scrollLeft:0,scrollTop:0},m={x:0,y:0};return!u&&(u||n)||("body"===g(t)&&!v(d)||(h=(o=t)!==O(o)&&f(o)?{scrollLeft:(l=o).scrollLeft,scrollTop:l.scrollTop}:k(o)),f(t)?((m=P(t,!0)).x+=t.clientLeft,m.y+=t.clientTop):d&&(m.x=$(d))),{x:p.left+h.scrollLeft-m.x,y:p.top+h.scrollTop-m.y,width:p.width,height:p.height}}function me(e){var t=P(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function p(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(r(e)?e.host:null)||D(e)}function _(e,t){var n;void 0===t&&(t=[]);var i=function e(t){return 0<=["html","body","#document"].indexOf(g(t))?t.ownerDocument.body:f(t)&&v(t)?t:e(p(t))}(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),a=O(i),s=r?[a].concat(a.visualViewport||[],v(i)?i:[]):i,o=t.concat(s);return r?o:o.concat(_(p(s)))}function i(e){return f(e)&&"fixed"!==A(e).position?e.offsetParent:null}function fe(e){for(var t=O(e),n=i(e);n&&0<=["table","td","th"].indexOf(g(n))&&"static"===A(n).position;)n=i(n);return(!n||"html"!==g(n)&&("body"!==g(n)||"static"!==A(n).position))&&(n||function(e){var t=/firefox/i.test(a());if(/Trident/i.test(a())&&f(e)&&"fixed"===A(e).position)return null;var n=p(e);for(r(n)&&(n=n.host);f(n)&&["html","body"].indexOf(g(n))<0;){var i=A(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e))||t}var ge="top",ve="bottom",ye="right",be="left",R="auto",V=[ge,ve,ye,be],we="start",F="end",j="clippingParents",T="viewport",B="popper",W="reference",q=V.reduce(function(e,t){return e.concat([t+"-"+we,t+"-"+F])},[]),z=[].concat(V,[R]).reduce(function(e,t){return e.concat([t,t+"-"+we,t+"-"+F])},[]),x=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function C(e){var i=new Map,r=new Set,t=[];return e.forEach(function(e){i.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||!function n(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){var t;r.has(e)||(t=i.get(e))&&n(t)}),t.push(e)}(e)}),t}var I=["name","enabled","phase","fn","effect","requires","options"];function _e(e){return e.split("-")[0]}function h(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&r(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function N(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function m(e,t,n){return t===T?N((f=n,v=O(m=e),y=D(m),b=v.visualViewport,w=y.clientWidth,_=y.clientHeight,C=x=0,b&&(w=b.width,_=b.height,((g=S())||!g&&"fixed"===f)&&(x=b.offsetLeft,C=b.offsetTop)),{width:w,height:_,x:x+$(m),y:C})):E(t)?((h=P(p=t,!1,"fixed"===n)).top=h.top+p.clientTop,h.left=h.left+p.clientLeft,h.bottom=h.top+p.clientHeight,h.right=h.left+p.clientWidth,h.width=p.clientWidth,h.height=p.clientHeight,h.x=h.left,h.y=h.top,h):N((i=D(e),a=D(i),s=k(i),o=null==(r=i.ownerDocument)?void 0:r.body,l=pe(a.scrollWidth,a.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=pe(a.scrollHeight,a.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),c=-s.scrollLeft+$(i),d=-s.scrollTop,"rtl"===A(o||a).direction&&(c+=pe(a.clientWidth,o?o.clientWidth:0)-l),{width:l,height:u,x:c,y:d}));var i,r,a,s,o,l,u,c,d,p,h,m,f,g,v,y,b,w,_,x,C}function H(i,e,t,r){var n,a,s,o="clippingParents"===e?(a=_(p(n=i)),E(s=0<=["absolute","fixed"].indexOf(A(n).position)&&f(n)?fe(n):n)?a.filter(function(e){return E(e)&&h(e,s)&&"body"!==g(e)}):[]):[].concat(e),l=[].concat(o,[t]),u=l[0],c=l.reduce(function(e,t){var n=m(i,t,r);return e.top=pe(n.top,e.top),e.right=he(n.right,e.right),e.bottom=he(n.bottom,e.bottom),e.left=pe(n.left,e.left),e},m(i,u,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function xe(e){return e.split("-")[1]}function Ce(e){return 0<=["top","bottom"].indexOf(e)?"x":"y"}function U(e){var t,n=e.reference,i=e.element,r=e.placement,a=r?_e(r):null,s=r?xe(r):null,o=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(a){case ge:t={x:o,y:n.y-i.height};break;case ve:t={x:o,y:n.y+n.height};break;case ye:t={x:n.x+n.width,y:l};break;case be:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var u=a?Ce(a):null;if(null!=u){var c="y"===u?"height":"width";switch(s){case we:t[u]=t[u]-(n[c]/2-i[c]/2);break;case F:t[u]=t[u]+(n[c]/2-i[c]/2)}}return t}function Se(){return{top:0,right:0,bottom:0,left:0}}function G(e){return Object.assign({},Se(),e)}function Q(n,e){return e.reduce(function(e,t){return e[t]=n,e},{})}function ke(e,t){void 0===t&&(t={});var i,n=t.placement,r=void 0===n?e.placement:n,a=t.strategy,s=void 0===a?e.strategy:a,o=t.boundary,l=void 0===o?j:o,u=t.rootBoundary,c=void 0===u?T:u,d=t.elementContext,p=void 0===d?B:d,h=t.altBoundary,m=void 0!==h&&h,f=t.padding,g=void 0===f?0:f,v=G("number"!=typeof g?g:Q(g,V)),y=p===B?W:B,b=e.rects.popper,w=e.elements[m?y:p],_=H(E(w)?w:w.contextElement||D(e.elements.popper),l,c,s),x=P(e.elements.reference),C=U({reference:x,element:b,strategy:"absolute",placement:r}),S=N(Object.assign({},b,C)),k=p===B?S:x,$={top:_.top-k.top+v.top,bottom:k.bottom-_.bottom+v.bottom,left:_.left-k.left+v.left,right:k.right-_.right+v.right},I=e.modifiersData.offset;return p===B&&I&&(i=I[r],Object.keys($).forEach(function(e){var t=0<=[ye,ve].indexOf(e)?1:-1,n=0<=[ge,ve].indexOf(e)?"y":"x";$[e]+=i[n]*t})),$}var s={placement:"bottom",modifiers:[],strategy:"absolute"};function X(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function e(e){void 0===e&&(e={});var t=e.defaultModifiers,b=void 0===t?[]:t,n=e.defaultOptions,w=void 0===n?s:n;return function(h,m,t){void 0===t&&(t=w);var n,i,f={placement:"bottom",orderedModifiers:[],options:Object.assign({},s,w),modifiersData:{},elements:{reference:h,popper:m},attributes:{},styles:{}},g=[],c=!1,v={state:f,setOptions:function(e){var t="function"==typeof e?e(f.options):e;y(),f.options=Object.assign({},w,f.options,t),f.scrollParents={reference:E(h)?_(h):h.contextElement?_(h.contextElement):[],popper:_(m)};var n,i,r,a,s,o,l,u,c,d,p=(r=[].concat(b,f.options.modifiers),a=r.reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e},{}),n=Object.keys(a).map(function(e){return a[e]}),i=C(n),x.reduce(function(e,t){return e.concat(i.filter(function(e){return e.phase===t}))},[]));return f.orderedModifiers=p.filter(function(e){return e.enabled}),"production"!==M.env.NODE_ENV&&(u=[].concat(p,f.options.modifiers),c=function(e){return e.name},d=new Set,s=u.filter(function(e){var t=c(e);if(!d.has(t))return d.add(t),!0}),(l=s).forEach(function(t){[].concat(Object.keys(t),I).filter(function(e,t,n){return n.indexOf(e)===t}).forEach(function(e){switch(e){case"name":t.name;break;case"enabled":t.enabled;break;case"phase":x.indexOf(t.phase);break;case"fn":t.fn;break;case"effect":null!=t.effect&&t.effect;break;case"requires":null!=t.requires&&Array.isArray(t.requires);break;case"requiresIfExists":Array.isArray(t.requiresIfExists)}t.requires&&t.requires.forEach(function(t){l.find(function(e){return e.name===t})})})}),_e(f.options.placement)===R&&f.orderedModifiers.find(function(e){return"flip"===e.name}),[(o=A(m)).marginTop,o.marginRight,o.marginBottom,o.marginLeft].some(function(e){return parseFloat(e)})),f.orderedModifiers.forEach(function(e){var t,n=e.name,i=e.options,r=void 0===i?{}:i,a=e.effect;"function"==typeof a&&(t=a({state:f,name:n,instance:v,options:r}),g.push(t||function(){}))}),v.update()},forceUpdate:function(){if(!c){var e=f.elements,t=e.reference,n=e.popper;if(X(t,n)){f.rects={reference:d(t,fe(n),"fixed"===f.options.strategy),popper:me(n)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(e){return f.modifiersData[e.name]=Object.assign({},e.data)});for(var i,r,a,s,o,l=0,u=0;u<f.orderedModifiers.length&&!("production"!==M.env.NODE_ENV&&100<(l+=1));u++){!0!==f.reset?(r=(i=f.orderedModifiers[u]).fn,s=void 0===(a=i.options)?{}:a,o=i.name,"function"==typeof r&&(f=r({state:f,options:s,name:o,instance:v})||f)):(f.reset=!1,u=-1)}}else M.env.NODE_ENV}},update:(n=function(){return new Promise(function(e){v.forceUpdate(),e(f)})},function(){return i=i||new Promise(function(e){Promise.resolve().then(function(){i=void 0,e(n())})})}),destroy:function(){y(),c=!0}};if(!X(h,m))return M.env.NODE_ENV,v;function y(){g.forEach(function(e){return e()}),g=[]}return v.setOptions(t).then(function(e){!c&&t.onFirstUpdate&&t.onFirstUpdate(e)}),v}}var c={passive:!0};var t={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,a=void 0===r||r,s=i.resize,o=void 0===s||s,l=O(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",n.update,c)}),o&&l.addEventListener("resize",n.update,c),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",n.update,c)}),o&&l.removeEventListener("resize",n.update,c)}},data:{}};var n={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=U({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},Y={top:"auto",right:"auto",bottom:"auto",left:"auto"};function y(e){var t,n,i,r,a=e.popper,s=e.popperRect,o=e.placement,l=e.variation,u=e.offsets,c=e.position,d=e.gpuAcceleration,p=e.adaptive,h=e.roundOffsets,m=e.isFixed,f=u.x,g=void 0===f?0:f,v=u.y,y=void 0===v?0:v,b="function"==typeof h?h({x:g,y:y}):{x:g,y:y},g=b.x,y=b.y,w=u.hasOwnProperty("x"),_=u.hasOwnProperty("y"),x=be,C=ge,S=window;p&&(i="clientHeight",r="clientWidth",(n=fe(a))===O(a)&&"static"!==A(n=D(a)).position&&"absolute"===c&&(i="scrollHeight",r="scrollWidth"),o!==ge&&(o!==be&&o!==ye||l!==F)||(C=ve,y-=(m&&n===S&&S.visualViewport?S.visualViewport.height:n[i])-s.height,y*=d?1:-1),o!==be&&(o!==ge&&o!==ve||l!==F)||(x=ye,g-=(m&&n===S&&S.visualViewport?S.visualViewport.width:n[r])-s.width,g*=d?1:-1));var k,$,I,E,P,j=Object.assign({position:c},p&&Y),T=!0===h?($=(k={x:g,y:y}).x,I=k.y,E=window.devicePixelRatio||1,{x:L($*E)/E||0,y:L(I*E)/E||0}):{x:g,y:y};return g=T.x,y=T.y,d?Object.assign({},j,((P={})[C]=_?"0":"",P[x]=w?"0":"",P.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",P)):Object.assign({},j,((t={})[C]=_?y+"px":"",t[x]=w?g+"px":"",t.transform="",t))}var o={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t,n=e.state,i=e.options,r=i.gpuAcceleration,a=void 0===r||r,s=i.adaptive,o=void 0===s||s,l=i.roundOffsets,u=void 0===l||l;"production"!==M.env.NODE_ENV&&(t=A(n.elements.popper).transitionProperty||"",o&&["transform","top","right","bottom","left"].some(function(e){return 0<=t.indexOf(e)}));var c={placement:_e(n.placement),variation:xe(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:a,isFixed:"fixed"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,y(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:o,roundOffsets:u})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,y(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}};var l={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var r=e.state;Object.keys(r.elements).forEach(function(e){var t=r.styles[e]||{},n=r.attributes[e]||{},i=r.elements[e];f(i)&&g(i)&&(Object.assign(i.style,t),Object.keys(n).forEach(function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var r=e.state,a={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(r.elements.popper.style,a.popper),r.styles=a,r.elements.arrow&&Object.assign(r.elements.arrow.style,a.arrow),function(){Object.keys(r.elements).forEach(function(e){var t=r.elements[e],n=r.attributes[e]||{},i=Object.keys(r.styles.hasOwnProperty(e)?r.styles[e]:a[e]).reduce(function(e,t){return e[t]="",e},{});f(t)&&g(t)&&(Object.assign(t.style,i),Object.keys(n).forEach(function(e){t.removeAttribute(e)}))})}},requires:["computeStyles"]};var u={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var c=e.state,t=e.options,n=e.name,i=t.offset,d=void 0===i?[0,0]:i,r=z.reduce(function(e,t){var n,i,r,a,s,o,l,u;return e[t]=(n=t,i=c.rects,r=d,a=_e(n),s=0<=[be,ge].indexOf(a)?-1:1,o="function"==typeof r?r(Object.assign({},i,{placement:n})):r,l=(l=o[0])||0,u=((u=o[1])||0)*s,0<=[be,ye].indexOf(a)?{x:u,y:l}:{x:l,y:u}),e},{}),a=r[c.placement],s=a.x,o=a.y;null!=c.modifiersData.popperOffsets&&(c.modifiersData.popperOffsets.x+=s,c.modifiersData.popperOffsets.y+=o),c.modifiersData[n]=r}},b={left:"right",right:"left",bottom:"top",top:"bottom"};function K(e){return e.replace(/left|right|bottom|top/g,function(e){return b[e]})}var w={start:"end",end:"start"};function J(e){return e.replace(/start|end/g,function(e){return w[e]})}var Z={name:"flip",enabled:!0,phase:"main",fn:function(e){var n=e.state,t=e.options,i=e.name;if(!n.modifiersData[i]._skip){for(var r=t.mainAxis,a=void 0===r||r,s=t.altAxis,o=void 0===s||s,l=t.fallbackPlacements,u=t.padding,c=t.boundary,d=t.rootBoundary,p=t.altBoundary,h=t.flipVariations,m=void 0===h||h,f=t.allowedAutoPlacements,g=n.options.placement,v=_e(g),y=l||(v===g||!m?[K(g)]:function(e){if(_e(e)===R)return[];var t=K(e);return[J(e),t,J(t)]}(g)),b=[g].concat(y).reduce(function(e,t){return e.concat(_e(t)===R?function(n,e){void 0===e&&(e={});var t=e.placement,i=e.boundary,r=e.rootBoundary,a=e.padding,s=e.flipVariations,o=e.allowedAutoPlacements,l=void 0===o?z:o,u=xe(t),c=u?s?q:q.filter(function(e){return xe(e)===u}):V,d=c.filter(function(e){return 0<=l.indexOf(e)});0===d.length&&(d=c,M.env.NODE_ENV);var p=d.reduce(function(e,t){return e[t]=ke(n,{placement:t,boundary:i,rootBoundary:r,padding:a})[_e(t)],e},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(n,{placement:t,boundary:c,rootBoundary:d,padding:u,flipVariations:m,allowedAutoPlacements:f}):t)},[]),w=n.rects.reference,_=n.rects.popper,x=new Map,C=!0,S=b[0],k=0;k<b.length;k++){var $=b[k],I=_e($),E=xe($)===we,P=0<=[ge,ve].indexOf(I),j=P?"width":"height",T=ke(n,{placement:$,boundary:c,rootBoundary:d,altBoundary:p,padding:u}),O=P?E?ye:be:E?ve:ge;w[j]>_[j]&&(O=K(O));var L=K(O),D=[];if(a&&D.push(T[I]<=0),o&&D.push(T[O]<=0,T[L]<=0),D.every(function(e){return e})){S=$,C=!1;break}x.set($,D)}if(C)for(var A=m?3:1;0<A;A--){if("break"===function(n){var e=b.find(function(e){var t=x.get(e);if(t)return t.slice(0,n).every(function(e){return e})});if(e)return S=e,"break"}(A))break}n.placement!==S&&(n.modifiersData[i]._skip=!0,n.placement=S,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function $e(e,t,n){return pe(e,he(t,n))}var ee={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,a,s,o,l,u,c,d,p,h,m,f,g,v,y,b,w,_,x,C,S,k,$,I,E,P,j,T,O,L,D,A,M,R,V=e.state,F=e.options,B=e.name,W=F.mainAxis,q=void 0===W||W,z=F.altAxis,N=void 0!==z&&z,H=F.boundary,U=F.rootBoundary,G=F.altBoundary,Q=F.padding,X=F.tether,Y=void 0===X||X,K=F.tetherOffset,J=void 0===K?0:K,Z=ke(V,{boundary:H,rootBoundary:U,padding:Q,altBoundary:G}),ee=_e(V.placement),te=xe(V.placement),ne=!te,ie=Ce(ee),re="x"===ie?"y":"x",ae=V.modifiersData.popperOffsets,se=V.rects.reference,oe=V.rects.popper,le="function"==typeof J?J(Object.assign({},V.rects,{placement:V.placement})):J,ue="number"==typeof le?{mainAxis:le,altAxis:le}:Object.assign({mainAxis:0,altAxis:0},le),ce=V.modifiersData.offset?V.modifiersData.offset[V.placement]:null,de={x:0,y:0};ae&&(q&&(n="y"===ie?ge:be,i="y"===ie?ve:ye,r="y"===ie?"height":"width",s=(a=ae[ie])+Z[n],o=a-Z[i],l=Y?-oe[r]/2:0,u=te===we?se[r]:oe[r],c=te===we?-oe[r]:-se[r],d=V.elements.arrow,p=Y&&d?me(d):{width:0,height:0},m=(h=V.modifiersData["arrow#persistent"]?V.modifiersData["arrow#persistent"].padding:Se())[n],f=h[i],g=$e(0,se[r],p[r]),v=ne?se[r]/2-l-g-m-ue.mainAxis:u-g-m-ue.mainAxis,y=ne?-se[r]/2+l+g+f+ue.mainAxis:c+g+f+ue.mainAxis,w=(b=V.elements.arrow&&fe(V.elements.arrow))?"y"===ie?b.clientTop||0:b.clientLeft||0:0,x=a+y-(_=null!=(t=null==ce?void 0:ce[ie])?t:0),C=$e(Y?he(s,a+v-_-w):s,a,Y?pe(o,x):o),ae[ie]=C,de[ie]=C-a),N&&(k="x"===ie?ge:be,$="x"===ie?ve:ye,E="y"==re?"height":"width",P=(I=ae[re])+Z[k],j=I-Z[$],T=-1!==[ge,be].indexOf(ee),O=null!=(S=null==ce?void 0:ce[re])?S:0,L=T?P:I-se[E]-oe[E]-O+ue.altAxis,D=T?I+se[E]+oe[E]-O-ue.altAxis:j,A=Y&&T?(R=$e(L,I,M=D),M<R?M:R):$e(Y?L:P,I,Y?D:j),ae[re]=A,de[re]=A-I),V.modifiersData[B]=de)},requiresIfExists:["offset"]};var te={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n,i,r,a,s,o,l,u,c,d,p,h,m,f,g,v=e.state,y=e.name,b=e.options,w=v.elements.arrow,_=v.modifiersData.popperOffsets,x=_e(v.placement),C=Ce(x),S=0<=[be,ye].indexOf(x)?"height":"width";w&&_&&(i=b.padding,r=v,n=G("number"!=typeof(i="function"==typeof i?i(Object.assign({},r.rects,{placement:r.placement})):i)?i:Q(i,V)),a=me(w),s="y"===C?ge:be,o="y"===C?ve:ye,l=v.rects.reference[S]+v.rects.reference[C]-_[C]-v.rects.popper[S],u=_[C]-v.rects.reference[C],d=(c=fe(w))?"y"===C?c.clientHeight||0:c.clientWidth||0:0,p=l/2-u/2,h=n[s],m=d-a[S]-n[o],g=$e(h,f=d/2-a[S]/2+p,m),v.modifiersData[y]=((t={})[C]=g,t.centerOffset=g-f,t))},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"==typeof i&&!(i=t.elements.popper.querySelector(i))||("production"!==M.env.NODE_ENV&&f(i),h(t.elements.popper,i)?t.elements.arrow=i:M.env.NODE_ENV))},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ne(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ie(t){return[ge,ye,ve,be].some(function(e){return 0<=t[e]})}var re={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,s=ke(t,{elementContext:"reference"}),o=ke(t,{altBoundary:!0}),l=ne(s,i),u=ne(o,r,a),c=ie(l),d=ie(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}},ae=e({defaultModifiers:[t,n,o,l]}),se=[t,n,o,l,u,Z,ee,te,re],oe=e({defaultModifiers:se});le.applyStyles=l,le.arrow=te,le.computeStyles=o,le.createPopper=oe,le.createPopperLite=ae,le.defaultModifiers=se,le.detectOverflow=ke,le.eventListeners=t,le.flip=Z,le.hide=re,le.offset=u,le.popperGenerator=e,le.popperOffsets=n,le.preventOverflow=ee}).call(this,e("_process"))},{_process:121}]},{},[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}));