window.scwDisableJsAJAX=!0,jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,a){return jQuery.easing[jQuery.easing.def](e,t,i,n,a)},easeInQuad:function(e,t,i,n,a){return n*(t/=a)*t+i},easeOutQuad:function(e,t,i,n,a){return-n*(t/=a)*(t-2)+i},easeInOutQuad:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,a){return n*(t/=a)*t*t+i},easeOutCubic:function(e,t,i,n,a){return n*((t=t/a-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,a){return n*(t/=a)*t*t*t+i},easeOutQuart:function(e,t,i,n,a){return-n*((t=t/a-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,a){return n*(t/=a)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,a){return n*((t=t/a-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,a){return(t/=a/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,a){return-n*Math.cos(t/a*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,a){return n*Math.sin(t/a*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,a){return-n/2*(Math.cos(Math.PI*t/a)-1)+i},easeInExpo:function(e,t,i,n,a){return 0==t?i:n*Math.pow(2,10*(t/a-1))+i},easeOutExpo:function(e,t,i,n,a){return t==a?i+n:n*(1-Math.pow(2,-10*t/a))+i},easeInOutExpo:function(e,t,i,n,a){return 0==t?i:t==a?i+n:(t/=a/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,a){return-n*(Math.sqrt(1-(t/=a)*t)-1)+i},easeOutCirc:function(e,t,i,n,a){return n*Math.sqrt(1-(t=t/a-1)*t)+i},easeInOutCirc:function(e,t,i,n,a){return(t/=a/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,a){var r=1.70158,s=0,o=n;if(0==t)return i;if(1==(t/=a))return i+n;if(s||(s=.3*a),o=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};s.jQueryDetection(),i.default.fn.emulateTransitionEnd=function(e){var t=this,n=!1;return i.default(this).one(s.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||s.triggerTransitionEnd(t)},e),this},i.default.event.special[s.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(e){if(i.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var o="alert",l=i.default.fn[o],d=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){i.default.removeData(this._element,"bs.alert"),this._element=null},t._getRootElement=function(e){var t=s.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=i.default(e).closest(".alert")[0]),n},t._triggerCloseEvent=function(e){var t=i.default.Event("close.bs.alert");return i.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(i.default(e).removeClass("show"),i.default(e).hasClass("fade")){var n=s.getTransitionDurationFromElement(e);i.default(e).one(s.TRANSITION_END,function(i){return t._destroyElement(e,i)}).emulateTransitionEnd(n)}else this._destroyElement(e)},t._destroyElement=function(e){i.default(e).detach().trigger("closed.bs.alert").remove()},e._jQueryInterface=function(t){return this.each(function(){var n=i.default(this),a=n.data("bs.alert");a||(a=new e(this),n.data("bs.alert",a)),"close"===t&&a[t](this)})},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}();i.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',d._handleDismiss(new d)),i.default.fn[o]=d._jQueryInterface,i.default.fn[o].Constructor=d,i.default.fn[o].noConflict=function(){return i.default.fn[o]=l,d._jQueryInterface};var c=i.default.fn.button,u=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=i.default(this._element).closest('[data-toggle="buttons"]')[0];if(n){var a=this._element.querySelector('input:not([type="hidden"])');if(a){if("radio"===a.type)if(a.checked&&this._element.classList.contains("active"))e=!1;else{var r=n.querySelector(".active");r&&i.default(r).removeClass("active")}e&&("checkbox"!==a.type&&"radio"!==a.type||(a.checked=!this._element.classList.contains("active")),this.shouldAvoidTriggerChange||i.default(a).trigger("change")),a.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),e&&i.default(this._element).toggleClass("active"))},t.dispose=function(){i.default.removeData(this._element,"bs.button"),this._element=null},e._jQueryInterface=function(t,n){return this.each(function(){var a=i.default(this),r=a.data("bs.button");r||(r=new e(this),a.data("bs.button",r)),r.shouldAvoidTriggerChange=n,"toggle"===t&&r[t]()})},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}();i.default(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=e.target,n=t;if(i.default(t).hasClass("btn")||(t=i.default(t).closest(".btn")[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var a=t.querySelector('input:not([type="hidden"])');if(a&&(a.hasAttribute("disabled")||a.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==n.tagName&&"LABEL"===t.tagName||u._jQueryInterface.call(i.default(t),"toggle","INPUT"===n.tagName)}}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){var t=i.default(e.target).closest(".btn")[0];i.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))}),i.default(window).on("load.bs.button.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,i=e.length;t0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide("next")},t.nextWhenVisible=function(){var e=i.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide("prev")},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(".active.carousel-item");var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)i.default(this._element).one("slid.bs.carousel",function(){return t.to(e)});else{if(n===e)return this.pause(),void this.cycle();var a=e>n?"next":"prev";this._slide(a,this._items[e])}},t.dispose=function(){i.default(this._element).off(".bs.carousel"),i.default.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=r({},f,e),s.typeCheckConfig(h,e,m),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&i.default(this._element).on("keydown.bs.carousel",function(t){return e._keydown(t)}),"hover"===this._config.pause&&i.default(this._element).on("mouseenter.bs.carousel",function(t){return e.pause(t)}).on("mouseleave.bs.carousel",function(t){return e.cycle(t)}),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&g[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){e._pointerEvent&&g[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout(function(t){return e.cycle(t)},500+e._config.interval))};i.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",function(e){return e.preventDefault()}),this._pointerEvent?(i.default(this._element).on("pointerdown.bs.carousel",function(e){return t(e)}),i.default(this._element).on("pointerup.bs.carousel",function(e){return n(e)}),this._element.classList.add("pointer-event")):(i.default(this._element).on("touchstart.bs.carousel",function(e){return t(e)}),i.default(this._element).on("touchmove.bs.carousel",function(t){return function(t){t.originalEvent.touches&&t.originalEvent.touches.length>1?e.touchDeltaX=0:e.touchDeltaX=t.originalEvent.touches[0].clientX-e.touchStartX}(t)}),i.default(this._element).on("touchend.bs.carousel",function(e){return n(e)}))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var i="next"===e,n="prev"===e,a=this._getItemIndex(t),r=this._items.length-1;if((n&&0===a||i&&a===r)&&!this._config.wrap)return t;var s=(a+("prev"===e?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),a=this._getItemIndex(this._element.querySelector(".active.carousel-item")),r=i.default.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:a,to:n});return i.default(this._element).trigger(r),r},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));i.default(t).removeClass("active");var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&i.default(n).addClass("active")}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(".active.carousel-item");if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var n,a,r,o=this,l=this._element.querySelector(".active.carousel-item"),d=this._getItemIndex(l),c=t||l&&this._getItemByDirection(e,l),u=this._getItemIndex(c),h=Boolean(this._interval);if("next"===e?(n="carousel-item-left",a="carousel-item-next",r="left"):(n="carousel-item-right",a="carousel-item-prev",r="right"),c&&i.default(c).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(c,r).isDefaultPrevented()&&l&&c){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(c),this._activeElement=c;var p=i.default.Event("slid.bs.carousel",{relatedTarget:c,direction:r,from:d,to:u});if(i.default(this._element).hasClass("slide")){i.default(c).addClass(a),s.reflow(c),i.default(l).addClass(n),i.default(c).addClass(n);var f=s.getTransitionDurationFromElement(l);i.default(l).one(s.TRANSITION_END,function(){i.default(c).removeClass(n+" "+a).addClass("active"),i.default(l).removeClass("active "+a+" "+n),o._isSliding=!1,setTimeout(function(){return i.default(o._element).trigger(p)},0)}).emulateTransitionEnd(f)}else i.default(l).removeClass("active"),i.default(c).addClass("active"),this._isSliding=!1,i.default(this._element).trigger(p);h&&this.cycle()}},e._jQueryInterface=function(t){return this.each(function(){var n=i.default(this).data("bs.carousel"),a=r({},f,i.default(this).data());"object"==typeof t&&(a=r({},a,t));var s="string"==typeof t?t:a.slide;if(n||(n=new e(this,a),i.default(this).data("bs.carousel",n)),"number"==typeof t)n.to(t);else if("string"==typeof s){if(void 0===n[s])throw new TypeError('No method named "'+s+'"');n[s]()}else a.interval&&a.ride&&(n.pause(),n.cycle())})},e._dataApiClickHandler=function(t){var n=s.getSelectorFromElement(this);if(n){var a=i.default(n)[0];if(a&&i.default(a).hasClass("carousel")){var o=r({},i.default(a).data(),i.default(this).data()),l=this.getAttribute("data-slide-to");l&&(o.interval=!1),e._jQueryInterface.call(i.default(a),o),l&&i.default(a).data("bs.carousel").to(l),t.preventDefault()}}},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return f}}]),e}();i.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",v._dataApiClickHandler),i.default(window).on("load.bs.carousel.data-api",function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,n=e.length;t0&&(this._selector=o,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){i.default(this._element).hasClass("show")?this.hide():this.show()},t.show=function(){var t,n,a=this;if(!(this._isTransitioning||i.default(this._element).hasClass("show")||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter(function(e){return"string"==typeof a._config.parent?e.getAttribute("data-parent")===a._config.parent:e.classList.contains("collapse")})).length&&(t=null),t&&(n=i.default(t).not(this._selector).data("bs.collapse"))&&n._isTransitioning))){var r=i.default.Event("show.bs.collapse");if(i.default(this._element).trigger(r),!r.isDefaultPrevented()){t&&(e._jQueryInterface.call(i.default(t).not(this._selector),"hide"),n||i.default(t).data("bs.collapse",null));var o=this._getDimension();i.default(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[o]=0,this._triggerArray.length&&i.default(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(o[0].toUpperCase()+o.slice(1)),d=s.getTransitionDurationFromElement(this._element);i.default(this._element).one(s.TRANSITION_END,function(){i.default(a._element).removeClass("collapsing").addClass("collapse show"),a._element.style[o]="",a.setTransitioning(!1),i.default(a._element).trigger("shown.bs.collapse")}).emulateTransitionEnd(d),this._element.style[o]=this._element[l]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&i.default(this._element).hasClass("show")){var t=i.default.Event("hide.bs.collapse");if(i.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",s.reflow(this._element),i.default(this._element).addClass("collapsing").removeClass("collapse show");var a=this._triggerArray.length;if(a>0)for(var r=0;r=0)return 1;return 0}(),S=C&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},x))}};function E(e){return e&&"[object Function]"==={}.toString.call(e)}function P(e,t){if(1!==e.nodeType)return[];var i=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?i[t]:i}function k(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function I(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=P(e),i=t.overflow,n=t.overflowX,a=t.overflowY;return/(auto|scroll|overlay)/.test(i+a+n)?e:I(k(e))}function M(e){return e&&e.referenceNode?e.referenceNode:e}var O=C&&!(!window.MSInputMethodContext||!document.documentMode),j=C&&/MSIE 10/.test(navigator.userAgent);function L(e){return 11===e?O:10===e?j:O||j}function z(e){if(!e)return document.documentElement;for(var t=L(10)?document.body:null,i=e.offsetParent||null;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(i.nodeName)&&"static"===P(i,"position")?z(i):i:e?e.ownerDocument.documentElement:document.documentElement}function A(e){return null!==e.parentNode?A(e.parentNode):e}function Y(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var i=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=i?e:t,a=i?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(a,0);var s,o,l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(a))return"BODY"===(o=(s=l).nodeName)||"HTML"!==o&&z(s.firstElementChild)!==s?z(l):l;var d=A(e);return d.host?Y(d.host,t):Y(e,A(t).host)}function D(e){var t="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var n=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||n)[t]}return e[t]}function N(e,t){var i="x"===t?"Left":"Top",n="Left"===i?"Right":"Bottom";return parseFloat(e["border"+i+"Width"])+parseFloat(e["border"+n+"Width"])}function $(e,t,i,n){return Math.max(t["offset"+e],t["scroll"+e],i["client"+e],i["offset"+e],i["scroll"+e],L(10)?parseInt(i["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function B(e){var t=e.body,i=e.documentElement,n=L(10)&&getComputedStyle(i);return{height:$("Height",t,i,n),width:$("Width",t,i,n)}}var Q=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},R=function(){function e(e,t){for(var i=0;i2&&void 0!==arguments[2]&&arguments[2],n=L(10),a="HTML"===t.nodeName,r=W(e),s=W(t),o=I(e),l=P(t),d=parseFloat(l.borderTopWidth),c=parseFloat(l.borderLeftWidth);i&&a&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=q({top:r.top-s.top-d,left:r.left-s.left-c,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!n&&a){var h=parseFloat(l.marginTop),p=parseFloat(l.marginLeft);u.top-=d-h,u.bottom-=d-h,u.left-=c-p,u.right-=c-p,u.marginTop=h,u.marginLeft=p}return(n&&!i?t.contains(o):t===o&&"BODY"!==o.nodeName)&&(u=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=D(t,"top"),a=D(t,"left"),r=i?-1:1;return e.top+=n*r,e.bottom+=n*r,e.left+=a*r,e.right+=a*r,e}(u,t)),u}function U(e){if(!e||!e.parentElement||L())return document.documentElement;for(var t=e.parentElement;t&&"none"===P(t,"transform");)t=t.parentElement;return t||document.documentElement}function G(e,t,i,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=a?U(e):Y(e,M(t));if("viewport"===n)r=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=e.ownerDocument.documentElement,n=V(e,i),a=Math.max(i.clientWidth,window.innerWidth||0),r=Math.max(i.clientHeight,window.innerHeight||0),s=t?0:D(i),o=t?0:D(i,"left");return q({top:s-n.top+n.marginTop,left:o-n.left+n.marginLeft,width:a,height:r})}(s,a);else{var o=void 0;"scrollParent"===n?"BODY"===(o=I(k(t))).nodeName&&(o=e.ownerDocument.documentElement):o="window"===n?e.ownerDocument.documentElement:n;var l=V(o,s,a);if("HTML"!==o.nodeName||function e(t){var i=t.nodeName;if("BODY"===i||"HTML"===i)return!1;if("fixed"===P(t,"position"))return!0;var n=k(t);return!!n&&e(n)}(s))r=l;else{var d=B(e.ownerDocument),c=d.height,u=d.width;r.top+=l.top-l.marginTop,r.bottom=c+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var h="number"==typeof(i=i||0);return r.left+=h?i:i.left||0,r.top+=h?i:i.top||0,r.right-=h?i:i.right||0,r.bottom-=h?i:i.bottom||0,r}function X(e){return e.width*e.height}function K(e,t,i,n,a){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var s=G(i,n,r,a),o={top:{width:s.width,height:t.top-s.top},right:{width:s.right-t.right,height:s.height},bottom:{width:s.width,height:s.bottom-t.bottom},left:{width:t.left-s.left,height:s.height}},l=Object.keys(o).map(function(e){return H({key:e},o[e],{area:X(o[e])})}).sort(function(e,t){return t.area-e.area}),d=l.filter(function(e){var t=e.width,n=e.height;return t>=i.clientWidth&&n>=i.clientHeight}),c=d.length>0?d[0].key:l[0].key,u=e.split("-")[1];return c+(u?"-"+u:"")}function J(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return V(i,n?U(t):Y(t,M(i)),n)}function Z(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),i=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+i}}function ee(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function te(e,t,i){i=i.split("-")[0];var n=Z(e),a={width:n.width,height:n.height},r=-1!==["right","left"].indexOf(i),s=r?"top":"left",o=r?"left":"top",l=r?"height":"width",d=r?"width":"height";return a[s]=t[s]+t[l]/2-n[l]/2,a[o]=i===o?t[o]-n[d]:t[ee(o)],a}function ie(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function ne(e,t,i){return(void 0===i?e:e.slice(0,function(e,t,i){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===i});var n=ie(e,function(e){return e[t]===i});return e.indexOf(n)}(e,"name",i))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=e.function||e.fn;e.enabled&&E(i)&&(t.offsets.popper=q(t.offsets.popper),t.offsets.reference=q(t.offsets.reference),t=i(t,e))}),t}function ae(e,t){return e.some(function(e){var i=e.name;return e.enabled&&i===t})}function re(e){for(var t=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n1&&void 0!==arguments[1]&&arguments[1],i=pe.indexOf(e),n=pe.slice(i+1).concat(pe.slice(0,i));return t?n.reverse():n}var me={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,i=t.split("-")[0],n=t.split("-")[1];if(n){var a=e.offsets,r=a.reference,s=a.popper,o=-1!==["bottom","top"].indexOf(i),l=o?"left":"top",d=o?"width":"height",c={start:F({},l,r[l]),end:F({},l,r[l]+r[d]-s[d])};e.offsets.popper=H({},s,c[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var i,n=t.offset,a=e.placement,r=e.offsets,s=r.popper,o=r.reference,l=a.split("-")[0];return i=le(+n)?[+n,0]:function(e,t,i,n){var a=[0,0],r=-1!==["right","left"].indexOf(n),s=e.split(/(\+|\-)/).map(function(e){return e.trim()}),o=s.indexOf(ie(s,function(e){return-1!==e.search(/,|\s/)}));s[o]&&-1===s[o].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,d=-1!==o?[s.slice(0,o).concat([s[o].split(l)[0]]),[s[o].split(l)[1]].concat(s.slice(o+1))]:[s];return(d=d.map(function(e,n){var a=(1===n?!r:r)?"height":"width",s=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,s=!0,e):s?(e[e.length-1]+=t,s=!1,e):e.concat(t)},[]).map(function(e){return function(e,t,i,n){var a=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+a[1],s=a[2];if(!r)return e;if(0===s.indexOf("%")){var o=void 0;switch(s){case"%p":o=i;break;case"%":case"%r":default:o=n}return q(o)[t]/100*r}return"vh"===s||"vw"===s?("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r:r}(e,a,t,i)})})).forEach(function(e,t){e.forEach(function(i,n){le(i)&&(a[t]+=i*("-"===e[n-1]?-1:1))})}),a}(n,s,o,l),"left"===l?(s.top+=i[0],s.left-=i[1]):"right"===l?(s.top+=i[0],s.left+=i[1]):"top"===l?(s.left+=i[0],s.top-=i[1]):"bottom"===l&&(s.left+=i[0],s.top+=i[1]),e.popper=s,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var i=t.boundariesElement||z(e.instance.popper);e.instance.reference===i&&(i=z(i));var n=re("transform"),a=e.instance.popper.style,r=a.top,s=a.left,o=a[n];a.top="",a.left="",a[n]="";var l=G(e.instance.popper,e.instance.reference,t.padding,i,e.positionFixed);a.top=r,a.left=s,a[n]=o,t.boundaries=l;var d=t.priority,c=e.offsets.popper,u={primary:function(e){var i=c[e];return c[e]l[e]&&!t.escapeWithReference&&(n=Math.min(c[i],l[e]-("right"===e?c.width:c.height))),F({},i,n)}};return d.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";c=H({},c,u[t](e))}),e.offsets.popper=c,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,i=t.popper,n=t.reference,a=e.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(a),o=s?"right":"bottom",l=s?"left":"top",d=s?"width":"height";return i[o]r(n[o])&&(e.offsets.popper[l]=r(n[o])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var i;if(!ue(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var a=e.placement.split("-")[0],r=e.offsets,s=r.popper,o=r.reference,l=-1!==["left","right"].indexOf(a),d=l?"height":"width",c=l?"Top":"Left",u=c.toLowerCase(),h=l?"left":"top",p=l?"bottom":"right",f=Z(n)[d];o[p]-fs[p]&&(e.offsets.popper[u]+=o[u]+f-s[p]),e.offsets.popper=q(e.offsets.popper);var m=o[u]+o[d]/2-f/2,g=P(e.instance.popper),v=parseFloat(g["margin"+c]),y=parseFloat(g["border"+c+"Width"]),b=m-e.offsets.popper[u]-v-y;return b=Math.max(Math.min(s[d]-f,b),0),e.arrowElement=n,e.offsets.arrow=(F(i={},u,Math.round(b)),F(i,h,""),i),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(ae(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var i=G(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],a=ee(n),r=e.placement.split("-")[1]||"",s=[];switch(t.behavior){case"flip":s=[n,a];break;case"clockwise":s=fe(n);break;case"counterclockwise":s=fe(n,!0);break;default:s=t.behavior}return s.forEach(function(o,l){if(n!==o||s.length===l+1)return e;n=e.placement.split("-")[0],a=ee(n);var d=e.offsets.popper,c=e.offsets.reference,u=Math.floor,h="left"===n&&u(d.right)>u(c.left)||"right"===n&&u(d.left)u(c.top)||"bottom"===n&&u(d.top)u(i.right),m=u(d.top)u(i.bottom),v="left"===n&&p||"right"===n&&f||"top"===n&&m||"bottom"===n&&g,y=-1!==["top","bottom"].indexOf(n),b=!!t.flipVariations&&(y&&"start"===r&&p||y&&"end"===r&&f||!y&&"start"===r&&m||!y&&"end"===r&&g),w=!!t.flipVariationsByContent&&(y&&"start"===r&&f||y&&"end"===r&&p||!y&&"start"===r&&g||!y&&"end"===r&&m),T=b||w;(h||v||T)&&(e.flipped=!0,(h||v)&&(n=s[l+1]),T&&(r="end"===r?"start":"start"===r?"end":r),e.placement=n+(r?"-"+r:""),e.offsets.popper=H({},e.offsets.popper,te(e.instance.popper,e.offsets.reference,e.placement)),e=ne(e.instance.modifiers,e,"flip"))}),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=e.offsets,a=n.popper,r=n.reference,s=-1!==["left","right"].indexOf(i),o=-1===["top","left"].indexOf(i);return a[s?"left":"top"]=r[i]-(o?a[s?"width":"height"]:0),e.placement=ee(t),e.offsets.popper=q(a),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ue(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,i=ie(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottomi.right||t.top>i.bottom||t.right2&&void 0!==arguments[2]?arguments[2]:{};Q(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=S(this.update.bind(this)),this.options=H({},e.Defaults,a),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(H({},e.Defaults.modifiers,a.modifiers)).forEach(function(t){n.options.modifiers[t]=H({},e.Defaults.modifiers[t]||{},a.modifiers?a.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return H({name:e},n.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&E(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)}),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return R(e,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=J(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=K(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=te(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=ne(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,ae(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[re("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return oe.call(this)}},{key:"disableEventListeners",value:function(){return function(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,se(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}.call(this)}}]),e}();ge.Utils=("undefined"!=typeof window?window:global).PopperUtils,ge.placements=he,ge.Defaults=me;var ve="dropdown",ye=i.default.fn[ve],be=new RegExp("38|40|27"),we={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},Te={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},_e=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!i.default(this._element).hasClass("disabled")){var t=i.default(this._menu).hasClass("show");e._clearMenus(),t||this.show(!0)}},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||i.default(this._element).hasClass("disabled")||i.default(this._menu).hasClass("show"))){var n={relatedTarget:this._element},a=i.default.Event("show.bs.dropdown",n),r=e._getParentFromElement(this._element);if(i.default(r).trigger(a),!a.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===ge)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var o=this._element;"parent"===this._config.reference?o=r:s.isElement(this._config.reference)&&(o=this._config.reference,void 0!==this._config.reference.jquery&&(o=this._config.reference[0])),"scrollParent"!==this._config.boundary&&i.default(r).addClass("position-static"),this._popper=new ge(o,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===i.default(r).closest(".navbar-nav").length&&i.default(document.body).children().on("mouseover",null,i.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),i.default(this._menu).toggleClass("show"),i.default(r).toggleClass("show").trigger(i.default.Event("shown.bs.dropdown",n))}}},t.hide=function(){if(!this._element.disabled&&!i.default(this._element).hasClass("disabled")&&i.default(this._menu).hasClass("show")){var t={relatedTarget:this._element},n=i.default.Event("hide.bs.dropdown",t),a=e._getParentFromElement(this._element);i.default(a).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),i.default(this._menu).toggleClass("show"),i.default(a).toggleClass("show").trigger(i.default.Event("hidden.bs.dropdown",t)))}},t.dispose=function(){i.default.removeData(this._element,"bs.dropdown"),i.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;i.default(this._element).on("click.bs.dropdown",function(t){t.preventDefault(),t.stopPropagation(),e.toggle()})},t._getConfig=function(e){return e=r({},this.constructor.Default,i.default(this._element).data(),e),s.typeCheckConfig(ve,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(".dropdown-menu"))}return this._menu},t._getPlacement=function(){var e=i.default(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=i.default(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":i.default(this._menu).hasClass("dropdown-menu-right")&&(t="bottom-end"),t},t._detectNavbar=function(){return i.default(this._element).closest(".navbar").length>0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=r({},t.offsets,e._config.offset(t.offsets,e._element)||{}),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),r({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each(function(){var n=i.default(this).data("bs.dropdown");if(n||(n=new e(this,"object"==typeof t?t:null),i.default(this).data("bs.dropdown",n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}})},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),a=0,r=n.length;a0&&s--,40===t.which&&sdocument.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var a=s.getTransitionDurationFromElement(this._dialog);i.default(this._element).off(s.TRANSITION_END),i.default(this._element).one(s.TRANSITION_END,function(){e._element.classList.remove("modal-static"),n||i.default(e._element).one(s.TRANSITION_END,function(){e._element.style.overflowY=""}).emulateTransitionEnd(e._element,a)}).emulateTransitionEnd(a),this._element.focus()}},t._showElement=function(e){var t=this,n=i.default(this._element).hasClass("fade"),a=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),i.default(this._dialog).hasClass("modal-dialog-scrollable")&&a?a.scrollTop=0:this._element.scrollTop=0,n&&s.reflow(this._element),i.default(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var r=i.default.Event("shown.bs.modal",{relatedTarget:e}),o=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,i.default(t._element).trigger(r)};if(n){var l=s.getTransitionDurationFromElement(this._dialog);i.default(this._dialog).one(s.TRANSITION_END,o).emulateTransitionEnd(l)}else o()},t._enforceFocus=function(){var e=this;i.default(document).off("focusin.bs.modal").on("focusin.bs.modal",function(t){document!==t.target&&e._element!==t.target&&0===i.default(e._element).has(t.target).length&&e._element.focus()})},t._setEscapeEvent=function(){var e=this;this._isShown?i.default(this._element).on("keydown.dismiss.bs.modal",function(t){e._config.keyboard&&27===t.which?(t.preventDefault(),e.hide()):e._config.keyboard||27!==t.which||e._triggerBackdropTransition()}):this._isShown||i.default(this._element).off("keydown.dismiss.bs.modal")},t._setResizeEvent=function(){var e=this;this._isShown?i.default(window).on("resize.bs.modal",function(t){return e.handleUpdate(t)}):i.default(window).off("resize.bs.modal")},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop(function(){i.default(document.body).removeClass("modal-open"),e._resetAdjustments(),e._resetScrollbar(),i.default(e._element).trigger("hidden.bs.modal")})},t._removeBackdrop=function(){this._backdrop&&(i.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,n=i.default(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),i.default(this._backdrop).appendTo(document.body),i.default(this._element).on("click.dismiss.bs.modal",function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())}),n&&s.reflow(this._backdrop),i.default(this._backdrop).addClass("show"),!e)return;if(!n)return void e();var a=s.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(s.TRANSITION_END,e).emulateTransitionEnd(a)}else if(!this._isShown&&this._backdrop){i.default(this._backdrop).removeClass("show");var r=function(){t._removeBackdrop(),e&&e()};if(i.default(this._element).hasClass("fade")){var o=s.getTransitionDurationFromElement(this._backdrop);i.default(this._backdrop).one(s.TRANSITION_END,r).emulateTransitionEnd(o)}else r()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ne={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},$e=function(){function e(e,t){if(void 0===ge)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=i.default(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(i.default(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),i.default.removeData(this.element,this.constructor.DATA_KEY),i.default(this.element).off(this.constructor.EVENT_KEY),i.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&i.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===i.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=i.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){i.default(this.element).trigger(t);var n=s.findShadowRoot(this.element),a=i.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!a)return;var r=this.getTipElement(),o=s.getUID(this.constructor.NAME);r.setAttribute("id",o),this.element.setAttribute("aria-describedby",o),this.setContent(),this.config.animation&&i.default(r).addClass("fade");var l="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,d=this._getAttachment(l);this.addAttachmentClass(d);var c=this._getContainer();i.default(r).data(this.constructor.DATA_KEY,this),i.default.contains(this.element.ownerDocument.documentElement,this.tip)||i.default(r).appendTo(c),i.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new ge(this.element,r,this._getPopperConfig(d)),i.default(r).addClass("show"),i.default(r).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&i.default(document.body).children().on("mouseover",null,i.default.noop);var u=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,i.default(e.element).trigger(e.constructor.Event.SHOWN),"out"===t&&e._leave(null,e)};if(i.default(this.tip).hasClass("fade")){var h=s.getTransitionDurationFromElement(this.tip);i.default(this.tip).one(s.TRANSITION_END,u).emulateTransitionEnd(h)}else u()}},t.hide=function(e){var t=this,n=this.getTipElement(),a=i.default.Event(this.constructor.Event.HIDE),r=function(){"show"!==t._hoverState&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),i.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(i.default(this.element).trigger(a),!a.isDefaultPrevented()){if(i.default(n).removeClass("show"),"ontouchstart"in document.documentElement&&i.default(document.body).children().off("mouseover",null,i.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,i.default(this.tip).hasClass("fade")){var o=s.getTransitionDurationFromElement(n);i.default(n).one(s.TRANSITION_END,r).emulateTransitionEnd(o)}else r();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){i.default(this.getTipElement()).addClass("bs-tooltip-"+e)},t.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(i.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),i.default(e).removeClass("fade show")},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Me(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?i.default(t).parent().is(e)||e.empty().append(t):e.text(i.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return r({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=r({},t.offsets,e.config.offset(t.offsets,e.element)||{}),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:s.isElement(this.config.container)?i.default(this.config.container):i.default(document).find(this.config.container)},t._getAttachment=function(e){return Ye[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach(function(t){if("click"===t)i.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,function(t){return e.toggle(t)});else if("manual"!==t){var n="hover"===t?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,a="hover"===t?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;i.default(e.element).on(n,e.config.selector,function(t){return e._enter(t)}).on(a,e.config.selector,function(t){return e._leave(t)})}}),this._hideModalHandler=function(){e.element&&e.hide()},i.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||i.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?"focus":"hover"]=!0),i.default(t.getTipElement()).hasClass("show")||"show"===t._hoverState?t._hoverState="show":(clearTimeout(t._timeout),t._hoverState="show",t.config.delay&&t.config.delay.show?t._timeout=setTimeout(function(){"show"===t._hoverState&&t.show()},t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||i.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),i.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?"focus":"hover"]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(function(){"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=i.default(this.element).data();return Object.keys(t).forEach(function(e){-1!==ze.indexOf(e)&&delete t[e]}),"number"==typeof(e=r({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),s.typeCheckConfig(Oe,e,this.constructor.DefaultType),e.sanitize&&(e.template=Me(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=i.default(this.getTipElement()),t=e.attr("class").match(Le);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(i.default(e).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each(function(){var n=i.default(this),a=n.data("bs.tooltip"),r="object"==typeof t&&t;if((a||!/dispose|hide/.test(t))&&(a||(a=new e(this,r),n.data("bs.tooltip",a)),"string"==typeof t)){if(void 0===a[t])throw new TypeError('No method named "'+t+'"');a[t]()}})},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return De}},{key:"NAME",get:function(){return Oe}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return Ne}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Ae}}]),e}();i.default.fn[Oe]=$e._jQueryInterface,i.default.fn[Oe].Constructor=$e,i.default.fn[Oe].noConflict=function(){return i.default.fn[Oe]=je,$e._jQueryInterface};var Be="popover",Qe=i.default.fn[Be],Re=new RegExp("(^|\\s)bs-popover\\S+","g"),Fe=r({},$e.Default,{placement:"right",trigger:"click",content:"",template:''}),He=r({},$e.DefaultType,{content:"(string|element|function)"}),qe={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},We=function(e){var t,n;function r(){return e.apply(this,arguments)||this}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=r.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(e){i.default(this.getTipElement()).addClass("bs-popover-"+e)},s.getTipElement=function(){return this.tip=this.tip||i.default(this.config.template)[0],this.tip},s.setContent=function(){var e=i.default(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var e=i.default(this.getTipElement()),t=e.attr("class").match(Re);null!==t&&t.length>0&&e.removeClass(t.join(""))},r._jQueryInterface=function(e){return this.each(function(){var t=i.default(this).data("bs.popover"),n="object"==typeof e?e:null;if((t||!/dispose|hide/.test(e))&&(t||(t=new r(this,n),i.default(this).data("bs.popover",t)),"string"==typeof e)){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}})},a(r,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"Default",get:function(){return Fe}},{key:"NAME",get:function(){return Be}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return qe}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return He}}]),r}($e);i.default.fn[Be]=We._jQueryInterface,i.default.fn[Be].Constructor=We,i.default.fn[Be].noConflict=function(){return i.default.fn[Be]=Qe,We._jQueryInterface};var Ve="scrollspy",Ue=i.default.fn[Ve],Ge={offset:10,method:"auto",target:""},Xe={offset:"number",method:"string",target:"(string|element)"},Ke=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,i.default(this._scrollElement).on("scroll.bs.scrollspy",function(e){return n._process(e)}),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":"position",n="auto"===this._config.method?t:this._config.method,a="position"===n?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(function(e){var t,r=s.getSelectorFromElement(e);if(r&&(t=document.querySelector(r)),t){var o=t.getBoundingClientRect();if(o.width||o.height)return[i.default(t)[n]().top+a,r]}return null}).filter(function(e){return e}).sort(function(e,t){return e[0]-t[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})},t.dispose=function(){i.default.removeData(this._element,"bs.scrollspy"),i.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=r({},Ge,"object"==typeof e&&e?e:{})).target&&s.isElement(e.target)){var t=i.default(e.target).attr("id");t||(t=s.getUID(Ve),i.default(e.target).attr("id",t)),e.target="#"+t}return s.typeCheckConfig(Ve,e,Xe),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),i=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(var a=this._offsets.length;a--;)this._activeTarget!==this._targets[a]&&e>=this._offsets[a]&&(void 0===this._offsets[a+1]||e li > .active":".active";n=(n=i.default.makeArray(i.default(a).find(o)))[n.length-1]}var l=i.default.Event("hide.bs.tab",{relatedTarget:this._element}),d=i.default.Event("show.bs.tab",{relatedTarget:n});if(n&&i.default(n).trigger(l),i.default(this._element).trigger(d),!d.isDefaultPrevented()&&!l.isDefaultPrevented()){r&&(t=document.querySelector(r)),this._activate(this._element,a);var c=function(){var t=i.default.Event("hidden.bs.tab",{relatedTarget:e._element}),a=i.default.Event("shown.bs.tab",{relatedTarget:n});i.default(n).trigger(t),i.default(e._element).trigger(a)};t?this._activate(t,t.parentNode,c):c()}}},t.dispose=function(){i.default.removeData(this._element,"bs.tab"),this._element=null},t._activate=function(e,t,n){var a=this,r=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?i.default(t).children(".active"):i.default(t).find("> li > .active"))[0],o=n&&r&&i.default(r).hasClass("fade"),l=function(){return a._transitionComplete(e,r,n)};if(r&&o){var d=s.getTransitionDurationFromElement(r);i.default(r).removeClass("show").one(s.TRANSITION_END,l).emulateTransitionEnd(d)}else l()},t._transitionComplete=function(e,t,n){if(t){i.default(t).removeClass("active");var a=i.default(t.parentNode).find("> .dropdown-menu .active")[0];a&&i.default(a).removeClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}if(i.default(e).addClass("active"),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),s.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&i.default(e.parentNode).hasClass("dropdown-menu")){var r=i.default(e).closest(".dropdown")[0];if(r){var o=[].slice.call(r.querySelectorAll(".dropdown-toggle"));i.default(o).addClass("active")}e.setAttribute("aria-expanded",!0)}n&&n()},e._jQueryInterface=function(t){return this.each(function(){var n=i.default(this),a=n.data("bs.tab");if(a||(a=new e(this),n.data("bs.tab",a)),"string"==typeof t){if(void 0===a[t])throw new TypeError('No method named "'+t+'"');a[t]()}})},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}}]),e}();i.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),Ze._jQueryInterface.call(i.default(this),"show")}),i.default.fn.tab=Ze._jQueryInterface,i.default.fn.tab.Constructor=Ze,i.default.fn.tab.noConflict=function(){return i.default.fn.tab=Je,Ze._jQueryInterface};var et=i.default.fn.toast,tt={animation:"boolean",autohide:"boolean",delay:"number"},it={animation:!0,autohide:!0,delay:500},nt=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this,t=i.default.Event("show.bs.toast");if(i.default(this._element).trigger(t),!t.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){e._element.classList.remove("showing"),e._element.classList.add("show"),i.default(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout(function(){e.hide()},e._config.delay))};if(this._element.classList.remove("hide"),s.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var a=s.getTransitionDurationFromElement(this._element);i.default(this._element).one(s.TRANSITION_END,n).emulateTransitionEnd(a)}else n()}},t.hide=function(){if(this._element.classList.contains("show")){var e=i.default.Event("hide.bs.toast");i.default(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},t.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),i.default(this._element).off("click.dismiss.bs.toast"),i.default.removeData(this._element,"bs.toast"),this._element=null,this._config=null},t._getConfig=function(e){return e=r({},it,i.default(this._element).data(),"object"==typeof e&&e?e:{}),s.typeCheckConfig("toast",e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;i.default(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',function(){return e.hide()})},t._close=function(){var e=this,t=function(){e._element.classList.add("hide"),i.default(e._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var n=s.getTransitionDurationFromElement(this._element);i.default(this._element).one(s.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},e._jQueryInterface=function(t){return this.each(function(){var n=i.default(this),a=n.data("bs.toast");if(a||(a=new e(this,"object"==typeof t&&t),n.data("bs.toast",a)),"string"==typeof t){if(void 0===a[t])throw new TypeError('No method named "'+t+'"');a[t](this)}})},a(e,null,[{key:"VERSION",get:function(){return"4.6.0"}},{key:"DefaultType",get:function(){return tt}},{key:"Default",get:function(){return it}}]),e}();i.default.fn.toast=nt._jQueryInterface,i.default.fn.toast.Constructor=nt,i.default.fn.toast.noConflict=function(){return i.default.fn.toast=et,nt._jQueryInterface},e.Alert=d,e.Button=u,e.Carousel=v,e.Collapse=_,e.Dropdown=_e,e.Modal=Ee,e.Popover=We,e.Scrollspy=Ke,e.Tab=Ze,e.Toast=nt,e.Tooltip=$e,e.Util=s,Object.defineProperty(e,"__esModule",{value:!0})}),window.scwAccordionsPlugin=window.scwAccordionsPlugin||{},window.SEMICOLON_accordionsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e,t=$(this),i=t.attr("data-state"),n=t.attr("data-active")||1,a=t.attr("data-active-class")||"",r=t.attr("data-collapsible")||"false",s=location.hash;n=Number(n)-1,void 0!==s&&""!=s&&(e=t.find(".accordion-header"+s)).length>0&&(n=e.index()/2),t.find(".accordion-content").hide(),"closed"!=i&&t.find(".accordion-header:eq("+Number(n)+")").addClass("accordion-active "+a).next().show(),t.find(".accordion-header").off("click").on("click",function(){if($(this).next().is(":hidden")){t.find(".accordion-header").removeClass("accordion-active "+a).next().slideUp("normal");let e=$(this);$(this).toggleClass("accordion-active "+a,!0).next().stop(!0,!0).slideDown("normal",function(){($("body").hasClass("device-sm")||$("body").hasClass("device-xs"))&&t.hasClass("scroll-on-open")&&$("html,body").stop(!0,!0).animate({scrollTop:e.offset().top-(SEMICOLON.initialize.topScrollOffset()-40)},800,"easeOutQuad")})}else"true"==r&&$(this).toggleClass("accordion-active "+a,!1).next().stop(!0,!0).slideUp("normal");return!1})})},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){e.extend(e.fn,{validate:function(t){if(this.length){var i=e.data(this[0],"validator");return i||(this.attr("novalidate","novalidate"),i=new e.validator(t,this[0]),e.data(this[0],"validator",i),i.settings.onsubmit&&(this.on("click.validate",":submit",function(t){i.submitButton=t.currentTarget,e(this).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==e(this).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.on("submit.validate",function(t){function n(){var n,a;return i.submitButton&&(i.settings.submitHandler||i.formSubmitted)&&(n=e("").attr("name",i.submitButton.name).val(e(i.submitButton).val()).appendTo(i.currentForm)),!(i.settings.submitHandler&&!i.settings.debug)||(a=i.settings.submitHandler.call(i,i.currentForm,t),n&&n.remove(),void 0!==a&&a)}return i.settings.debug&&t.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,n()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):n():(i.focusInvalid(),!1)})),i)}t&&t.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing.")},valid:function(){var t,i,n;return e(this[0]).is("form")?t=this.validate().form():(n=[],t=!0,i=e(this[0].form).validate(),this.each(function(){(t=i.element(this)&&t)||(n=n.concat(i.errorList))}),i.errorList=n),t},rules:function(t,i){var n,a,r,s,o,l,d=this[0],c=void 0!==this.attr("contenteditable")&&"false"!==this.attr("contenteditable");if(null!=d&&(!d.form&&c&&(d.form=this.closest("form")[0],d.name=this.attr("name")),null!=d.form)){if(t)switch(n=e.data(d.form,"validator").settings,a=n.rules,r=e.validator.staticRules(d),t){case"add":e.extend(r,e.validator.normalizeRule(i)),delete r.messages,a[d.name]=r,i.messages&&(n.messages[d.name]=e.extend(n.messages[d.name],i.messages));break;case"remove":return i?(l={},e.each(i.split(/\s/),function(e,t){l[t]=r[t],delete r[t]}),l):(delete a[d.name],r)}return(s=e.validator.normalizeRules(e.extend({},e.validator.classRules(d),e.validator.attributeRules(d),e.validator.dataRules(d),e.validator.staticRules(d)),d)).required&&(o=s.required,delete s.required,s=e.extend({required:o},s)),s.remote&&(o=s.remote,delete s.remote,s=e.extend(s,{remote:o})),s}}});var t=function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};e.extend(e.expr.pseudos||e.expr[":"],{blank:function(i){return!t(""+e(i).val())},filled:function(i){var n=e(i).val();return null!==n&&!!t(""+n)},unchecked:function(t){return!e(t).prop("checked")}}),e.validator=function(t,i){this.settings=e.extend(!0,{},e.validator.defaults,t),this.currentForm=i,this.init()},e.validator.format=function(t,i){return 1===arguments.length?function(){var i=e.makeArray(arguments);return i.unshift(t),e.validator.format.apply(this,i)}:void 0===i?t:(arguments.length>2&&i.constructor!==Array&&(i=e.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),e.each(i,function(e,i){t=t.replace(new RegExp("\\{"+e+"\\}","g"),function(){return i})}),t)},e.extend(e.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",pendingClass:"pending",validClass:"valid",errorElement:"label",focusCleanup:!1,focusInvalid:!0,errorContainer:e([]),errorLabelContainer:e([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(e){this.lastActive=e,this.settings.focusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,e,this.settings.errorClass,this.settings.validClass),this.hideThese(this.errorsFor(e)))},onfocusout:function(e){this.checkable(e)||!(e.name in this.submitted)&&this.optional(e)||this.element(e)},onkeyup:function(t,i){9===i.which&&""===this.elementValue(t)||-1!==e.inArray(i.keyCode,[16,17,18,20,35,36,37,38,39,40,45,144,225])||(t.name in this.submitted||t.name in this.invalid)&&this.element(t)},onclick:function(e){e.name in this.submitted?this.element(e):e.parentNode.name in this.submitted&&this.element(e.parentNode)},highlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).addClass(i).removeClass(n):e(t).addClass(i).removeClass(n)},unhighlight:function(t,i,n){"radio"===t.type?this.findByName(t.name).removeClass(i).addClass(n):e(t).removeClass(i).addClass(n)}},setDefaults:function(t){e.extend(e.validator.defaults,t)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",equalTo:"Please enter the same value again.",maxlength:e.validator.format("Please enter no more than {0} characters."),minlength:e.validator.format("Please enter at least {0} characters."),rangelength:e.validator.format("Please enter a value between {0} and {1} characters long."),range:e.validator.format("Please enter a value between {0} and {1}."),max:e.validator.format("Please enter a value less than or equal to {0}."),min:e.validator.format("Please enter a value greater than or equal to {0}."),step:e.validator.format("Please enter a multiple of {0}.")},autoCreateRanges:!1,prototype:{init:function(){function t(t){var i=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");if(!this.form&&i&&(this.form=e(this).closest("form")[0],this.name=e(this).attr("name")),n===this.form){var a=e.data(this.form,"validator"),r="on"+t.type.replace(/^validate/,""),s=a.settings;s[r]&&!e(this).is(s.ignore)&&s[r].call(a,this,t)}}this.labelContainer=e(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||e(this.currentForm),this.containers=e(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i,n=this.currentForm,a=this.groups={};e.each(this.settings.groups,function(t,i){"string"==typeof i&&(i=i.split(/\s/)),e.each(i,function(e,i){a[i]=t})}),i=this.settings.rules,e.each(i,function(t,n){i[t]=e.validator.normalizeRule(n)}),e(this.currentForm).on("focusin.validate focusout.validate keyup.validate",":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], [type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], [type='radio'], [type='checkbox'], [contenteditable], [type='button']",t).on("click.validate","select, option, [type='radio'], [type='checkbox']",t),this.settings.invalidHandler&&e(this.currentForm).on("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),e.extend(this.submitted,this.errorMap),this.invalid=e.extend({},this.errorMap),this.valid()||e(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var e=0,t=this.currentElements=this.elements();t[e];e++)this.check(t[e]);return this.valid()},element:function(t){var i,n,a=this.clean(t),r=this.validationTargetFor(a),s=this,o=!0;return void 0===r?delete this.invalid[a.name]:(this.prepareElement(r),this.currentElements=e(r),(n=this.groups[r.name])&&e.each(this.groups,function(e,t){t===n&&e!==r.name&&((a=s.validationTargetFor(s.clean(s.findByName(e))))&&a.name in s.invalid&&(s.currentElements.push(a),o=s.check(a)&&o))}),i=!1!==this.check(r),o=o&&i,this.invalid[r.name]=!i,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),e(t).attr("aria-invalid",!i)),o},showErrors:function(t){if(t){var i=this;e.extend(this.errorMap,t),this.errorList=e.map(this.errorMap,function(e,t){return{message:e,element:i.findByName(t)[0]}}),this.successList=e.grep(this.successList,function(e){return!(e.name in t)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){e.fn.resetForm&&e(this.currentForm).resetForm(),this.invalid={},this.submitted={},this.prepareForm(),this.hideErrors();var t=this.elements().removeData("previousValue").removeAttr("aria-invalid");this.resetElements(t)},resetElements:function(e){var t;if(this.settings.unhighlight)for(t=0;e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,""),this.findByName(e[t].name).removeClass(this.settings.validClass);else e.removeClass(this.settings.errorClass).removeClass(this.settings.validClass)},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(e){var t,i=0;for(t in e)void 0!==e[t]&&null!==e[t]&&!1!==e[t]&&i++;return i},hideErrors:function(){this.hideThese(this.toHide)},hideThese:function(e){e.not(this.containers).text(""),this.addWrapper(e).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{e(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").trigger("focus").trigger("focusin")}catch(e){}},findLastActive:function(){var t=this.lastActive;return t&&1===e.grep(this.errorList,function(e){return e.element.name===t.name}).length&&t},elements:function(){var t=this,i={};return e(this.currentForm).find("input, select, textarea, [contenteditable]").not(":submit, :reset, :image, :disabled").not(this.settings.ignore).filter(function(){var n=this.name||e(this).attr("name"),a=void 0!==e(this).attr("contenteditable")&&"false"!==e(this).attr("contenteditable");return!n&&t.settings.debug&&window.console&&console.error("%o has no name assigned",this),a&&(this.form=e(this).closest("form")[0],this.name=n),!(this.form!==t.currentForm||n in i||!t.objectLength(e(this).rules())||(i[n]=!0,0))})},clean:function(t){return e(t)[0]},errors:function(){var t=this.settings.errorClass.split(" ").join(".");return e(this.settings.errorElement+"."+t,this.errorContext)},resetInternals:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=e([]),this.toHide=e([])},reset:function(){this.resetInternals(),this.currentElements=e([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(e){this.reset(),this.toHide=this.errorsFor(e)},elementValue:function(t){var i,n,a=e(t),r=t.type,s=void 0!==a.attr("contenteditable")&&"false"!==a.attr("contenteditable");return"radio"===r||"checkbox"===r?this.findByName(t.name).filter(":checked").val():"number"===r&&void 0!==t.validity?t.validity.badInput?"NaN":a.val():(i=s?a.text():a.val(),"file"===r?"C:\\fakepath\\"===i.substr(0,12)?i.substr(12):(n=i.lastIndexOf("/"))>=0?i.substr(n+1):(n=i.lastIndexOf("\\"))>=0?i.substr(n+1):i:"string"==typeof i?i.replace(/\r/g,""):i)},check:function(t){t=this.validationTargetFor(this.clean(t));var i,n,a,r,s=e(t).rules(),o=e.map(s,function(e,t){return t}).length,l=!1,d=this.elementValue(t);for(n in"function"==typeof s.normalizer?r=s.normalizer:"function"==typeof this.settings.normalizer&&(r=this.settings.normalizer),r&&(d=r.call(t,d),delete s.normalizer),s){a={method:n,parameters:s[n]};try{if("dependency-mismatch"===(i=e.validator.methods[n].call(this,d,t,a.parameters))&&1===o){l=!0;continue}if(l=!1,"pending"===i)return void(this.toHide=this.toHide.not(this.errorsFor(t)));if(!i)return this.formatAndAdd(t,a),!1}catch(e){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+t.id+", check the '"+a.method+"' method.",e),e instanceof TypeError&&(e.message+=". Exception occurred when checking element "+t.id+", check the '"+a.method+"' method."),e}}if(!l)return this.objectLength(s)&&this.successList.push(t),!0},customDataMessage:function(t,i){return e(t).data("msg"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase())||e(t).data("msg")},customMessage:function(e,t){var i=this.settings.messages[e];return i&&(i.constructor===String?i:i[t])},findDefined:function(){for(var e=0;eWarning: No message defined for "+t.name+""),a=/\$?\{(\d+)\}/g;return"function"==typeof n?n=n.call(this,i.parameters,t):a.test(n)&&(n=e.validator.format(n.replace(a,"{$1}"),i.parameters)),n},formatAndAdd:function(e,t){var i=this.defaultMessage(e,t);this.errorList.push({message:i,element:e,method:t.method}),this.errorMap[e.name]=i,this.submitted[e.name]=i},addWrapper:function(e){return this.settings.wrapper&&(e=e.add(e.parent(this.settings.wrapper))),e},defaultShowErrors:function(){var e,t,i;for(e=0;this.errorList[e];e++)i=this.errorList[e],this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message);if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(e=0;this.successList[e];e++)this.showLabel(this.successList[e]);if(this.settings.unhighlight)for(e=0,t=this.validElements();t[e];e++)this.settings.unhighlight.call(this,t[e],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return e(this.errorList).map(function(){return this.element})},showLabel:function(t,i){var n,a,r,s,o=this.errorsFor(t),l=this.idOrName(t),d=e(t).attr("aria-describedby");o.length?(o.removeClass(this.settings.validClass).addClass(this.settings.errorClass),o.html(i)):(n=o=e("<"+this.settings.errorElement+">").attr("id",l+"-error").addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(n=o.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.length?this.labelContainer.append(n):this.settings.errorPlacement?this.settings.errorPlacement.call(this,n,e(t)):n.insertAfter(t),o.is("label")?o.attr("for",l):0===o.parents("label[for='"+this.escapeCssMeta(l)+"']").length&&(r=o.attr("id"),d?d.match(new RegExp("\\b"+this.escapeCssMeta(r)+"\\b"))||(d+=" "+r):d=r,e(t).attr("aria-describedby",d),(a=this.groups[t.name])&&(s=this,e.each(s.groups,function(t,i){i===a&&e("[name='"+s.escapeCssMeta(t)+"']",s.currentForm).attr("aria-describedby",o.attr("id"))})))),!i&&this.settings.success&&(o.text(""),"string"==typeof this.settings.success?o.addClass(this.settings.success):this.settings.success(o,t)),this.toShow=this.toShow.add(o)},errorsFor:function(t){var i=this.escapeCssMeta(this.idOrName(t)),n=e(t).attr("aria-describedby"),a="label[for='"+i+"'], label[for='"+i+"'] *";return n&&(a=a+", #"+this.escapeCssMeta(n).replace(/\s+/g,", #")),this.errors().filter(a)},escapeCssMeta:function(e){return e.replace(/([\\!"#$%&'()*+,.\/:;<=>?@\[\]^`{|}~])/g,"\\$1")},idOrName:function(e){return this.groups[e.name]||(this.checkable(e)?e.name:e.id||e.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name)),e(t).not(this.settings.ignore)[0]},checkable:function(e){return/radio|checkbox/i.test(e.type)},findByName:function(t){return e(this.currentForm).find("[name='"+this.escapeCssMeta(t)+"']")},getLength:function(t,i){switch(i.nodeName.toLowerCase()){case"select":return e("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return t.length},depend:function(e,t){return!this.dependTypes[typeof e]||this.dependTypes[typeof e](e,t)},dependTypes:{boolean:function(e){return e},string:function(t,i){return!!e(t,i.form).length},function:function(e,t){return e(t)}},optional:function(t){var i=this.elementValue(t);return!e.validator.methods.required.call(this,i,t)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,e(t).addClass(this.settings.pendingClass),this.pending[t.name]=!0)},stopRequest:function(t,i){this.pendingRequest--,this.pendingRequest<0&&(this.pendingRequest=0),delete this.pending[t.name],e(t).removeClass(this.settings.pendingClass),i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(e(this.currentForm).submit(),this.submitButton&&e("input:hidden[name='"+this.submitButton.name+"']",this.currentForm).remove(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(e(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(t,i){return i="string"==typeof i&&i||"remote",e.data(t,"previousValue")||e.data(t,"previousValue",{old:null,valid:!0,message:this.defaultMessage(t,{method:i})})},destroy:function(){this.resetForm(),e(this.currentForm).off(".validate").removeData("validator").find(".validate-equalTo-blur").off(".validate-equalTo").removeClass("validate-equalTo-blur").find(".validate-lessThan-blur").off(".validate-lessThan").removeClass("validate-lessThan-blur").find(".validate-lessThanEqual-blur").off(".validate-lessThanEqual").removeClass("validate-lessThanEqual-blur").find(".validate-greaterThanEqual-blur").off(".validate-greaterThanEqual").removeClass("validate-greaterThanEqual-blur").find(".validate-greaterThan-blur").off(".validate-greaterThan").removeClass("validate-greaterThan-blur")}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(t,i){t.constructor===String?this.classRuleSettings[t]=i:e.extend(this.classRuleSettings,t)},classRules:function(t){var i={},n=e(t).attr("class");return n&&e.each(n.split(" "),function(){this in e.validator.classRuleSettings&&e.extend(i,e.validator.classRuleSettings[this])}),i},normalizeAttributeRule:function(e,t,i,n){/min|max|step/.test(i)&&(null===t||/number|range|text/.test(t))&&(n=Number(n),isNaN(n)&&(n=void 0)),n||0===n?e[i]=n:t===i&&"range"!==t&&(e[i]=!0)},attributeRules:function(t){var i,n,a={},r=e(t),s=t.getAttribute("type");for(i in e.validator.methods)"required"===i?(""===(n=t.getAttribute(i))&&(n=!0),n=!!n):n=r.attr(i),this.normalizeAttributeRule(a,s,i,n);return a.maxlength&&/-1|2147483647|524288/.test(a.maxlength)&&delete a.maxlength,a},dataRules:function(t){var i,n,a={},r=e(t),s=t.getAttribute("type");for(i in e.validator.methods)""===(n=r.data("rule"+i.charAt(0).toUpperCase()+i.substring(1).toLowerCase()))&&(n=!0),this.normalizeAttributeRule(a,s,i,n);return a},staticRules:function(t){var i={},n=e.data(t.form,"validator");return n.settings.rules&&(i=e.validator.normalizeRule(n.settings.rules[t.name])||{}),i},normalizeRules:function(t,i){return e.each(t,function(n,a){if(!1!==a){if(a.param||a.depends){var r=!0;switch(typeof a.depends){case"string":r=!!e(a.depends,i.form).length;break;case"function":r=a.depends.call(i,i)}r?t[n]=void 0===a.param||a.param:(e.data(i.form,"validator").resetElements(e(i)),delete t[n])}}else delete t[n]}),e.each(t,function(e,n){t[e]="function"==typeof n&&"normalizer"!==e?n(i):n}),e.each(["minlength","maxlength"],function(){t[this]&&(t[this]=Number(t[this]))}),e.each(["rangelength","range"],function(){var e;t[this]&&(Array.isArray(t[this])?t[this]=[Number(t[this][0]),Number(t[this][1])]:"string"==typeof t[this]&&(e=t[this].replace(/[\[\]]/g,"").split(/[\s,]+/),t[this]=[Number(e[0]),Number(e[1])]))}),e.validator.autoCreateRanges&&(null!=t.min&&null!=t.max&&(t.range=[t.min,t.max],delete t.min,delete t.max),null!=t.minlength&&null!=t.maxlength&&(t.rangelength=[t.minlength,t.maxlength],delete t.minlength,delete t.maxlength)),t},normalizeRule:function(t){if("string"==typeof t){var i={};e.each(t.split(/\s/),function(){i[this]=!0}),t=i}return t},addMethod:function(t,i,n){e.validator.methods[t]=i,e.validator.messages[t]=void 0!==n?n:e.validator.messages[t],i.length<3&&e.validator.addClassRules(t,e.validator.normalizeRule(t))},methods:{required:function(t,i,n){if(!this.depend(n,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var a=e(i).val();return a&&a.length>0}return this.checkable(i)?this.getLength(t,i)>0:null!=t&&t.length>0},email:function(e,t){return this.optional(t)||/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(e)},url:function(e,t){return this.optional(t)||/^(?:(?:(?:https?|ftp):)?\/\/)(?:\S+(?::\S*)?@)?(?:(?!(?:10|127)(?:\.\d{1,3}){3})(?!(?:169\.254|192\.168)(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z0-9\u00a1-\uffff][a-z0-9\u00a1-\uffff_-]{0,62})?[a-z0-9\u00a1-\uffff]\.)+(?:[a-z\u00a1-\uffff]{2,}\.?))(?::\d{2,5})?(?:[\/?#]\S*)?$/i.test(e)},date:function(){var e=!1;return function(t,i){return e||(e=!0,this.settings.debug&&window.console&&console.warn("The `date` method is deprecated and will be removed in version '2.0.0'.\nPlease don't use it, since it relies on the Date constructor, which\nbehaves very differently across browsers and locales. Use `dateISO`\ninstead or one of the locale specific methods in `localizations/`\nand `additional-methods.js`.")),this.optional(i)||!/Invalid|NaN/.test(new Date(t).toString())}}(),dateISO:function(e,t){return this.optional(t)||/^\d{4}[\/\-](0?[1-9]|1[012])[\/\-](0?[1-9]|[12][0-9]|3[01])$/.test(e)},number:function(e,t){return this.optional(t)||/^(?:-?\d+|-?\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(e)},digits:function(e,t){return this.optional(t)||/^\d+$/.test(e)},minlength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=i},maxlength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n<=i},rangelength:function(e,t,i){var n=Array.isArray(e)?e.length:this.getLength(e,t);return this.optional(t)||n>=i[0]&&n<=i[1]},min:function(e,t,i){return this.optional(t)||e>=i},max:function(e,t,i){return this.optional(t)||e<=i},range:function(e,t,i){return this.optional(t)||e>=i[0]&&e<=i[1]},step:function(t,i,n){var a,r=e(i).attr("type"),s="Step attribute on input type "+r+" is not supported.",o=new RegExp("\\b"+r+"\\b"),l=function(e){var t=(""+e).match(/(?:\.(\d+))?$/);return t&&t[1]?t[1].length:0},d=function(e){return Math.round(e*Math.pow(10,a))},c=!0;if(r&&!o.test(["text","number","range"].join()))throw new Error(s);return a=l(n),(l(t)>a||d(t)%d(n)!=0)&&(c=!1),this.optional(i)||c},equalTo:function(t,i,n){var a=e(n);return this.settings.onfocusout&&a.not(".validate-equalTo-blur").length&&a.addClass("validate-equalTo-blur").on("blur.validate-equalTo",function(){e(i).valid()}),t===a.val()},remote:function(t,i,n,a){if(this.optional(i))return"dependency-mismatch";a="string"==typeof a&&a||"remote";var r,s,o,l=this.previousValue(i,a);return this.settings.messages[i.name]||(this.settings.messages[i.name]={}),l.originalMessage=l.originalMessage||this.settings.messages[i.name][a],this.settings.messages[i.name][a]=l.message,n="string"==typeof n&&{url:n}||n,o=e.param(e.extend({data:t},n.data)),l.old===o?l.valid:(l.old=o,r=this,this.startRequest(i),(s={})[i.name]=t,e.ajax(e.extend(!0,{mode:"abort",port:"validate"+i.name,dataType:"json",data:s,context:r.currentForm,success:function(e){var n,s,o,d=!0===e||"true"===e;r.settings.messages[i.name][a]=l.originalMessage,d?(o=r.formSubmitted,r.resetInternals(),r.toHide=r.errorsFor(i),r.formSubmitted=o,r.successList.push(i),r.invalid[i.name]=!1,r.showErrors()):(n={},s=e||r.defaultMessage(i,{method:a,parameters:t}),n[i.name]=l.message=s,r.invalid[i.name]=!0,r.showErrors(n)),l.valid=d,r.stopRequest(i,d)}},n)),"pending")}}});var i,n={};return e.ajaxPrefilter?e.ajaxPrefilter(function(e,t,i){var a=e.port;"abort"===e.mode&&(n[a]&&n[a].abort(),n[a]=i)}):(i=e.ajax,e.ajax=function(t){var a=("mode"in t?t:e.ajaxSettings).mode,r=("port"in t?t:e.ajaxSettings).port;return"abort"===a?(n[r]&&n[r].abort(),n[r]=i.apply(this,arguments),n[r]):i.apply(this,arguments)}),e}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,i){return void 0===i&&(i="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(i),i}:e(jQuery)}(function(e){"use strict";var t=/\r?\n/g,i={};i.fileapi=void 0!==e('').get(0).files,i.formdata=void 0!==window.FormData;var n=!!e.fn.prop;function a(t){var i=t.data;t.isDefaultPrevented()||(t.preventDefault(),e(t.target).closest("form").ajaxSubmit(i))}function r(t){var i=t.target,n=e(i);if(!n.is("[type=submit],[type=image]")){var a=n.closest("[type=submit]");if(0===a.length)return;i=a[0]}var r,s=i.form;"image"===(s.clk=i).type&&(void 0!==t.offsetX?(s.clk_x=t.offsetX,s.clk_y=t.offsetY):"function"==typeof e.fn.offset?(r=n.offset(),s.clk_x=t.pageX-r.left,s.clk_y=t.pageY-r.top):(s.clk_x=t.pageX-i.offsetLeft,s.clk_y=t.pageY-i.offsetTop)),setTimeout(function(){s.clk=s.clk_x=s.clk_y=null},100)}function s(){var t;e.fn.ajaxSubmit.debug&&(t="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(t):window.opera&&window.opera.postError&&window.opera.postError(t))}e.fn.attr2=function(){if(!n)return this.attr.apply(this,arguments);var e=this.prop.apply(this,arguments);return e&&e.jquery||"string"==typeof e?e:this.attr.apply(this,arguments)},e.fn.ajaxSubmit=function(t,a,r,o){if(!this.length)return s("ajaxSubmit: skipping submit process - no element selected"),this;var l,d,c,u,h=this;"function"==typeof t?t={success:t}:"string"==typeof t||!1===t&&0',_)).css({position:"absolute",top:"-1000px",left:"-1000px"}),p=u[0],f={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(t){var i="timeout"===t?"timeout":"aborted";s("aborting upload... "+i),this.aborted=1;try{p.contentWindow.document.execCommand&&p.contentWindow.document.execCommand("Stop")}catch(t){}u.attr("src",o.iframeSrc),f.error=i,o.error&&o.error.call(o.context,f,i,t),d&&e.event.trigger("ajaxError",[f,o,i]),o.complete&&o.complete.call(o.context,f,i)}},(d=o.global)&&0==e.active++&&e.event.trigger("ajaxStart"),d&&e.event.trigger("ajaxSend",[f,o]),o.beforeSend&&!1===o.beforeSend.call(o.context,f,o))return o.global&&e.active--,T.reject(),T;if(f.aborted)return T.reject(),T;(m=w.clk)&&(g=m.name)&&!m.disabled&&(o.extraData=o.extraData||{},o.extraData[g]=m.value,"image"===m.type&&(o.extraData[g+".x"]=w.clk_x,o.extraData[g+".y"]=w.clk_y));var x=1,S=2;function E(e){var t=null;try{e.contentWindow&&(t=e.contentWindow.document)}catch(e){s("cannot get iframe.contentWindow document: "+e)}if(t)return t;try{t=e.contentDocument?e.contentDocument:e.document}catch(i){s("cannot get iframe.contentDocument: "+i),t=e.document}return t}var P=e("meta[name=csrf-token]").attr("content"),k=e("meta[name=csrf-param]").attr("content");function I(){var t=h.attr2("target"),i=h.attr2("action"),n=h.attr("enctype")||h.attr("encoding")||"multipart/form-data";w.setAttribute("target",c),l&&!/post/i.test(l)||w.setAttribute("method","POST"),i!==o.url&&w.setAttribute("action",o.url),o.skipEncodingOverride||l&&!/post/i.test(l)||h.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),o.timeout&&(b=setTimeout(function(){y=!0,z(x)},o.timeout));var a=[];try{if(o.extraData)for(var r in o.extraData)o.extraData.hasOwnProperty(r)&&(e.isPlainObject(o.extraData[r])&&o.extraData[r].hasOwnProperty("name")&&o.extraData[r].hasOwnProperty("value")?a.push(e('',_).val(o.extraData[r].value).appendTo(w)[0]):a.push(e('',_).val(o.extraData[r]).appendTo(w)[0]));o.iframeTarget||u.appendTo(C),p.attachEvent?p.attachEvent("onload",z):p.addEventListener("load",z,!1),setTimeout(function e(){try{var t=E(p).readyState;s("state = "+t),t&&"uninitialized"===t.toLowerCase()&&setTimeout(e,50)}catch(e){s("Server abort: ",e," (",e.name,")"),z(S),b&&clearTimeout(b),b=void 0}},15);try{w.submit()}catch(t){document.createElement("form").submit.apply(w)}}finally{w.setAttribute("action",i),w.setAttribute("enctype",n),t?w.setAttribute("target",t):h.removeAttr("target"),e(a).remove()}}k&&P&&(o.extraData=o.extraData||{},o.extraData[k]=P),o.forceSync?I():setTimeout(I,10);var M,O,j,L=50;function z(t){if(!f.aborted&&!j){if((O=E(p))||(s("cannot access response document"),t=S),t===x&&f)return f.abort("timeout"),void T.reject(f,"timeout");if(t===S&&f)return f.abort("server abort"),void T.reject(f,"error","server abort");if(O&&O.location.href!==o.iframeSrc||y){p.detachEvent?p.detachEvent("onload",z):p.removeEventListener("load",z,!1);var i,n="success";try{if(y)throw"timeout";var a="xml"===o.dataType||O.XMLDocument||e.isXMLDoc(O);if(s("isXml="+a),!a&&window.opera&&(null===O.body||!O.body.innerHTML)&&--L)return s("requeing onLoad callback, DOM not available"),void setTimeout(z,250);var r=O.body?O.body:O.documentElement;f.responseText=r?r.innerHTML:null,f.responseXML=O.XMLDocument?O.XMLDocument:O,a&&(o.dataType="xml"),f.getResponseHeader=function(e){return{"content-type":o.dataType}[e.toLowerCase()]},r&&(f.status=Number(r.getAttribute("status"))||f.status,f.statusText=r.getAttribute("statusText")||f.statusText);var l,c,h,m=(o.dataType||"").toLowerCase(),g=/(json|script|text)/.test(m);g||o.textarea?(l=O.getElementsByTagName("textarea")[0])?(f.responseText=l.value,f.status=Number(l.getAttribute("status"))||f.status,f.statusText=l.getAttribute("statusText")||f.statusText):g&&(c=O.getElementsByTagName("pre")[0],h=O.getElementsByTagName("body")[0],c?f.responseText=c.textContent?c.textContent:c.innerText:h&&(f.responseText=h.textContent?h.textContent:h.innerText)):"xml"===m&&!f.responseXML&&f.responseText&&(f.responseXML=A(f.responseText));try{M=D(f,m,o)}catch(t){n="parsererror",f.error=i=t||n}}catch(t){s("error caught: ",t),n="error",f.error=i=t||n}f.aborted&&(s("upload aborted"),n=null),f.status&&(n=200<=f.status&&f.status<300||304===f.status?"success":"error"),"success"===n?(o.success&&o.success.call(o.context,M,"success",f),T.resolve(f.responseText,"success",f),d&&e.event.trigger("ajaxSuccess",[f,o])):n&&(void 0===i&&(i=f.statusText),o.error&&o.error.call(o.context,f,n,i),T.reject(f,"error",i),d&&e.event.trigger("ajaxError",[f,o,i])),d&&e.event.trigger("ajaxComplete",[f,o]),d&&!--e.active&&e.event.trigger("ajaxStop"),o.complete&&o.complete.call(o.context,f,n),j=!0,o.timeout&&clearTimeout(b),setTimeout(function(){o.iframeTarget?u.attr("src",o.iframeSrc):u.remove(),f.responseXML=null},100)}}}var A=e.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!==t.documentElement.nodeName?t:null},Y=e.parseJSON||function(e){return window.eval("("+e+")")},D=function(t,i,n){var a=t.getResponseHeader("content-type")||"",r=("xml"===i||!i)&&0<=a.indexOf("xml"),s=r?t.responseXML:t.responseText;return r&&"parsererror"===s.documentElement.nodeName&&e.error&&e.error("parsererror"),n&&n.dataFilter&&(s=n.dataFilter(s,i)),"string"==typeof s&&(("json"===i||!i)&&0<=a.indexOf("json")?s=Y(s):("script"===i||!i)&&0<=a.indexOf("javascript")&&e.globalEval(s)),s};return T}},e.fn.ajaxForm=function(t,i,n,o){if(("string"==typeof t||!1===t&&00?e.appendTo(t.parents(".form-group")):e.insertAfter(t)},focusCleanup:!0,submitHandler:function(d){if(i.hasClass("custom-submit"))return $(d).submit(),!0;o.hide(),"button"==s?(e=$(d).find("button"),defButtonText=e.html(),e.html('')):$(d).find(".form-process").fadeIn(),a&&n.removeClass(a+"-ready "+a+"-complete "+a+"-success "+a+"-error").addClass(a+"-processing"),$(d).ajaxSubmit({target:o,dataType:"json",success:function(i){if("button"==s?e.html(defButtonText):$(d).find(".form-process").fadeOut(),"error"!=i.alert&&l)return window.location.replace(l),!0;if("inline"==r?(t="error"==i.alert?"alert-danger":"alert-success",o.removeClass("alert-danger alert-success").addClass("alert "+t).html(i.message).slideDown(400)):"notify"==r&&(o.attr("data-notify-type",i.alert).attr("data-notify-msg",i.message).html(""),SEMICOLON.widget.notifications({el:o})),"error"!=i.alert){$(d).resetForm(),$(d).find(".btn-group > .btn").removeClass("active"),"undefined"!=typeof tinyMCE&&tinyMCE.activeEditor&&!tinyMCE.activeEditor.isHidden()&&tinymce.activeEditor.setContent("");let e=$(d).find(".input-range-slider");e.length>0&&e.each(function(){$(this).data("ionRangeSlider").reset()});let t=$(d).find(".input-rating");t.length>0&&t.each(function(){$(this).rating("reset")});let r=$(d).find(".selectpicker");r.length>0&&r.each(function(){$(this).selectpicker("val",""),$(this).selectpicker("deselectAll")}),$(d).find(".input-select2,select[data-selectsplitter-firstselect-selector]").change(),$(d).trigger("formSubmitSuccess",i),n.removeClass(a+"-error").addClass(a+"-success")}else $(d).trigger("formSubmitError",i),n.removeClass(a+"-success").addClass(a+"-error");a&&n.removeClass(a+"-processing").addClass(a+"-complete"),$(d).find(".g-recaptcha").children("div").length>0&&grecaptcha.reset()}})}})})},window.scwAjaxPortfolioPlugin=window.scwAjaxPortfolioPlugin||{};let $portfolioAjaxItems=$(".portfolio-ajax").find(".portfolio-item"),$portfolioDetails=$("#portfolio-ajax-wrap"),$portfolioDetailsContainer=$("#portfolio-ajax-container"),$portfolioAjaxLoader=$("#portfolio-ajax-loader"),prevPostPortId="";window.SEMICOLON_portfolioAjaxloadInit=function(){if($(".portfolio-ajax").length<1)return!0;$(".portfolio-ajax .portfolio-item a.portfolio-ajax-trigger").off("click").on("click",function(e){let t=$(this).parents(".portfolio-item").attr("id");$(this).parents(".portfolio-item").hasClass("portfolio-active")||SEMICOLON_portfolioLoadItem(t,prevPostPortId),e.preventDefault()})},window.SEMICOLON_portfolionewNextPrev=function(e){let t=SEMICOLON_portfolioGetNextItem(e),i=SEMICOLON_portfolioGetPrevItem(e);$("#next-portfolio").attr("data-id",t),$("#prev-portfolio").attr("data-id",i)},window.SEMICOLON_portfolioLoadItem=function(e,t,i){i||(i=!1);let n=SEMICOLON_portfolioGetNextItem(e),a=SEMICOLON_portfolioGetPrevItem(e);if(0==i){SEMICOLON_portfolioCloseItem(),$portfolioAjaxLoader.fadeIn();let t=$("#"+e).attr("data-loader");$portfolioDetailsContainer.load(t,{portid:e,portnext:n,portprev:a},function(){SEMICOLON_portfolioInitializeAjax(e),SEMICOLON_portfolioOpenItem(),$portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active")})}},window.SEMICOLON_portfolioCloseItem=function(){$portfolioDetails&&$portfolioDetails.height()>32&&($portfolioAjaxLoader.fadeIn(),$portfolioDetails.find("#portfolio-ajax-single").fadeOut("600",function(){$(this).remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"))},window.SEMICOLON_portfolioOpenItem=function(){let e=$portfolioDetails.find("img").length,t=0;if(e>0)$portfolioDetails.find("img").on("load",function(){t++;let i=SEMICOLON.initialize.topScrollOffset();e===t&&($portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-i},900,"easeOutQuad")},500))});else{let e=SEMICOLON.initialize.topScrollOffset();$portfolioDetailsContainer.css({display:"block"}),$portfolioDetails.addClass("portfolio-ajax-opened"),$portfolioAjaxLoader.fadeOut(),setTimeout(function(){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.lightbox({parent:$portfolioDetails}),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs(),$("html,body").stop(!0).animate({scrollTop:$portfolioDetails.offset().top-e},900,"easeOutQuad")},500)}},window.SEMICOLON_portfolioGetNextItem=function(e){let t="",i=$("#"+e).next();return 0!=i.length&&(t=i.attr("id")),t},window.SEMICOLON_portfolioGetPrevItem=function(e){let t="",i=$("#"+e).prev();return 0!=i.length&&(t=i.attr("id")),t},window.SEMICOLON_portfolioInitializeAjax=function(e){prevPostPortId=$("#"+e),$("#next-portfolio, #prev-portfolio").off("click").on("click",function(){let e=$(this).attr("data-id");return $portfolioAjaxItems.removeClass("portfolio-active"),$("#"+e).addClass("portfolio-active"),SEMICOLON_portfolioLoadItem(e,prevPostPortId),!1}),$("#close-portfolio").off("click").on("click",function(){return $portfolioDetailsContainer.fadeOut("600",function(){$portfolioDetails.find("#portfolio-ajax-single").remove()}),$portfolioDetails.removeClass("portfolio-ajax-opened"),$portfolioAjaxItems.removeClass("portfolio-active"),!1})},window.scwAnimationsPlugin=window.scwAnimationsPlugin||{},window.SEMICOLON_animationsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;let t=new IntersectionObserver(function(e,t){e.forEach(function(e){let i=$(e.target),n=i.attr("data-animate"),a=i.attr("data-animate-out"),r=i.attr("data-delay"),s=i.attr("data-delay-out"),o=0,l=3e3;return i.parents(".fslider.no-thumbs-animate").length>0||(i.parents(".swiper-slide").length>0||(o=r?Number(r)+500:500,a&&s&&(l=Number(s)+o),i.hasClass("animated")||(i.addClass("not-animated"),e.intersectionRatio>0&&(setTimeout(function(){i.removeClass("not-animated").addClass(n+" animated")},o),a&&setTimeout(function(){i.removeClass(n).addClass(a)},l))),void(i.hasClass("not-animated")||t.unobserve(e.target))))})},{threshold:.5});[].filter.call(document.querySelectorAll("[data-animate]"),function(e){return!function(e){e.classList.contains("animated")}(e)}).forEach(function(e){return t.observe(e)})},function(e,t,i,n){function a(t,i){this.settings=null,this.options=e.extend({},a.Defaults,i),this.$element=e(t),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},e.each(["onResize","onThrottledResize"],e.proxy(function(t,i){this._handlers[i]=e.proxy(this[i],this)},this)),e.each(a.Plugins,e.proxy(function(e,t){this._plugins[e.charAt(0).toLowerCase()+e.slice(1)]=new t(this)},this)),e.each(a.Workers,e.proxy(function(t,i){this._pipe.push({filter:i.filter,run:e.proxy(i.run,this)})},this)),this.setup(),this.initialize()}a.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:t,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},a.Width={Default:"default",Inner:"inner",Outer:"outer"},a.Type={Event:"event",State:"state"},a.Plugins={},a.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(e){e.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(e){var t=this.settings.margin||"",i=!this.settings.autoWidth,n=this.settings.rtl,a={width:"auto","margin-left":n?t:"","margin-right":n?"":t};!i&&this.$stage.children().css(a),e.css=a}},{filter:["width","items","settings"],run:function(e){var t=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,i=null,n=this._items.length,a=!this.settings.autoWidth,r=[];for(e.items={merge:!1,width:t};n--;)i=this._mergers[n],i=this.settings.mergeFit&&Math.min(i,this.settings.items)||i,e.items.merge=i>1||e.items.merge,r[n]=a?t*i:this._items[n].width();this._widths=r}},{filter:["items","settings"],run:function(){var t=[],i=this._items,n=this.settings,a=Math.max(2*n.items,4),r=2*Math.ceil(i.length/2),s=n.loop&&i.length?n.rewind?a:Math.max(a,r):0,o="",l="";for(s/=2;s>0;)t.push(this.normalize(t.length/2,!0)),o+=i[t[t.length-1]][0].outerHTML,t.push(this.normalize(i.length-1-(t.length-1)/2,!0)),l=i[t[t.length-1]][0].outerHTML+l,s-=1;this._clones=t,e(o).addClass("cloned").appendTo(this.$stage),e(l).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var e=this.settings.rtl?1:-1,t=this._clones.length+this._items.length,i=-1,n=0,a=0,r=[];++i",o)||this.op(t,"<",s)&&this.op(t,">",o))&&l.push(i);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+l.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],a.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=e("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(e("
",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},a.prototype.initializeItems=function(){var t=this.$element.find(".owl-item");if(t.length)return this._items=t.get().map(function(t){return e(t)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},a.prototype.initialize=function(){var e,t,i;(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading"))&&(e=this.$element.find("img"),t=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:n,i=this.$element.children(t).width(),e.length&&i<=0&&this.preloadAutoWidthImages(e));this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},a.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},a.prototype.setup=function(){var t=this.viewport(),i=this.options.responsive,n=-1,a=null;i?(e.each(i,function(e){e<=t&&e>n&&(n=Number(e))}),"function"==typeof(a=e.extend({},this.options,i[n])).stagePadding&&(a.stagePadding=a.stagePadding()),delete a.responsive,a.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+n))):a=e.extend({},this.options),this.trigger("change",{property:{name:"settings",value:a}}),this._breakpoint=n,this.settings=a,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},a.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},a.prototype.prepare=function(t){var i=this.trigger("prepare",{content:t});return i.data||(i.data=e("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(t)),this.trigger("prepared",{content:i.data}),i.data},a.prototype.update=function(){for(var t=0,i=this._pipe.length,n=e.proxy(function(e){return this[e]},this._invalidated),a={};t0)&&this._pipe[t].run(a),t++;this._invalidated={},!this.is("valid")&&this.enter("valid")},a.prototype.width=function(e){switch(e=e||a.Width.Default){case a.Width.Inner:case a.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},a.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},a.prototype.onThrottledResize=function(){t.clearTimeout(this.resizeTimer),this.resizeTimer=t.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},a.prototype.onResize=function(){return!!this._items.length&&this._width!==this.$element.width()&&!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))},a.prototype.registerEventHandlers=function(){e.support.transition&&this.$stage.on(e.support.transition.end+".owl.core",e.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(t,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",e.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",e.proxy(this.onDragEnd,this)))},a.prototype.onDragStart=function(t){var n=null;3!==t.which&&(e.support.transform?n={x:(n=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","))[16===n.length?12:4],y:n[16===n.length?13:5]}:(n=this.$stage.position(),n={x:this.settings.rtl?n.left+this.$stage.width()-this.width()+this.settings.margin:n.left,y:n.top}),this.is("animating")&&(e.support.transform?this.animate(n.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===t.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=e(t.target),this._drag.stage.start=n,this._drag.stage.current=n,this._drag.pointer=this.pointer(t),e(i).on("mouseup.owl.core touchend.owl.core",e.proxy(this.onDragEnd,this)),e(i).one("mousemove.owl.core touchmove.owl.core",e.proxy(function(t){var n=this.difference(this._drag.pointer,this.pointer(t));e(i).on("mousemove.owl.core touchmove.owl.core",e.proxy(this.onDragMove,this)),Math.abs(n.x)0^this.settings.rtl?"left":"right";e(i).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==n.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(a.x,0!==n.x?r:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=r,(Math.abs(n.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},a.prototype.closest=function(t,i){var a=-1,r=this.width(),s=this.coordinates();return this.settings.freeDrag||e.each(s,e.proxy(function(e,o){return"left"===i&&t>o-30&&to-r-30&&t",s[e+1]!==n?s[e+1]:o-r)&&(a="left"===i?e+1:e),-1===a},this)),this.settings.loop||(this.op(t,">",s[this.minimum()])?a=t=this.minimum():this.op(t,"<",s[this.maximum()])&&(a=t=this.maximum())),a},a.prototype.animate=function(t){var i=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),i&&(this.enter("animating"),this.trigger("translate")),e.support.transform3d&&e.support.transition?this.$stage.css({transform:"translate3d("+t+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):i?this.$stage.animate({left:t+"px"},this.speed(),this.settings.fallbackEasing,e.proxy(this.onTransitionEnd,this)):this.$stage.css({left:t+"px"})},a.prototype.is=function(e){return this._states.current[e]&&this._states.current[e]>0},a.prototype.current=function(e){if(e===n)return this._current;if(0===this._items.length)return n;if(e=this.normalize(e),this._current!==e){var t=this.trigger("change",{property:{name:"position",value:e}});t.data!==n&&(e=this.normalize(t.data)),this._current=e,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},a.prototype.invalidate=function(t){return"string"===e.type(t)&&(this._invalidated[t]=!0,this.is("valid")&&this.leave("valid")),e.map(this._invalidated,function(e,t){return t})},a.prototype.reset=function(e){(e=this.normalize(e))!==n&&(this._speed=0,this._current=e,this.suppress(["translate","translated"]),this.animate(this.coordinates(e)),this.release(["translate","translated"]))},a.prototype.normalize=function(e,t){var i=this._items.length,a=t?0:this._clones.length;return!this.isNumeric(e)||i<1?e=n:(e<0||e>=i+a)&&(e=((e-a/2)%i+i)%i+a/2),e},a.prototype.relative=function(e){return e-=this._clones.length/2,this.normalize(e,!0)},a.prototype.maximum=function(e){var t,i,n,a=this.settings,r=this._coordinates.length;if(a.loop)r=this._clones.length/2+this._items.length-1;else if(a.autoWidth||a.merge){if(t=this._items.length)for(i=this._items[--t].width(),n=this.$element.width();t--&&!((i+=this._items[t].width()+this.settings.margin)>n););r=t+1}else r=a.center?this._items.length-1:this._items.length-a.items;return e&&(r-=this._clones.length/2),Math.max(r,0)},a.prototype.minimum=function(e){return e?0:this._clones.length/2},a.prototype.items=function(e){return e===n?this._items.slice():(e=this.normalize(e,!0),this._items[e])},a.prototype.mergers=function(e){return e===n?this._mergers.slice():(e=this.normalize(e,!0),this._mergers[e])},a.prototype.clones=function(t){var i=this._clones.length/2,a=i+this._items.length,r=function(e){return e%2==0?a+e/2:i-(e+1)/2};return t===n?e.map(this._clones,function(e,t){return r(t)}):e.map(this._clones,function(e,i){return e===t?r(i):null})},a.prototype.speed=function(e){return e!==n&&(this._speed=e),this._speed},a.prototype.coordinates=function(t){var i,a=1,r=t-1;return t===n?e.map(this._coordinates,e.proxy(function(e,t){return this.coordinates(t)},this)):(this.settings.center?(this.settings.rtl&&(a=-1,r=t+1),i=this._coordinates[t],i+=(this.width()-i+(this._coordinates[r]||0))/2*a):i=this._coordinates[r]||0,i=Math.ceil(i))},a.prototype.duration=function(e,t,i){return 0===i?0:Math.min(Math.max(Math.abs(t-e),1),6)*Math.abs(i||this.settings.smartSpeed)},a.prototype.to=function(e,t){var i=this.current(),n=null,a=e-this.relative(i),r=(a>0)-(a<0),s=this._items.length,o=this.minimum(),l=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(a)>s/2&&(a+=-1*r*s),(n=(((e=i+a)-o)%s+s)%s+o)!==e&&n-a<=l&&n-a>0&&(i=n-a,e=n,this.reset(i))):this.settings.rewind?e=(e%(l+=1)+l)%l:e=Math.max(o,Math.min(l,e)),this.speed(this.duration(i,e,t)),this.current(e),this.isVisible()&&this.update()},a.prototype.next=function(e){e=e||!1,this.to(this.relative(this.current())+1,e)},a.prototype.prev=function(e){e=e||!1,this.to(this.relative(this.current())-1,e)},a.prototype.onTransitionEnd=function(e){if(e!==n&&(e.stopPropagation(),(e.target||e.srcElement||e.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},a.prototype.viewport=function(){var n;return this.options.responsiveBaseElement!==t?n=e(this.options.responsiveBaseElement).width():t.innerWidth?n=t.innerWidth:i.documentElement&&i.documentElement.clientWidth?n=i.documentElement.clientWidth:console.warn("Can not detect viewport width."),n},a.prototype.replace=function(t){this.$stage.empty(),this._items=[],t&&(t=t instanceof jQuery?t:e(t)),this.settings.nestedItemSelector&&(t=t.find("."+this.settings.nestedItemSelector)),t.filter(function(){return 1===this.nodeType}).each(e.proxy(function(e,t){t=this.prepare(t),this.$stage.append(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},a.prototype.add=function(t,i){var a=this.relative(this._current);i=i===n?this._items.length:this.normalize(i,!0),t=t instanceof jQuery?t:e(t),this.trigger("add",{content:t,position:i}),t=this.prepare(t),0===this._items.length||i===this._items.length?(0===this._items.length&&this.$stage.append(t),0!==this._items.length&&this._items[i-1].after(t),this._items.push(t),this._mergers.push(1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[i].before(t),this._items.splice(i,0,t),this._mergers.splice(i,0,1*t.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[a]&&this.reset(this._items[a].index()),this.invalidate("items"),this.trigger("added",{content:t,position:i})},a.prototype.remove=function(e){(e=this.normalize(e,!0))!==n&&(this.trigger("remove",{content:this._items[e],position:e}),this._items[e].remove(),this._items.splice(e,1),this._mergers.splice(e,1),this.invalidate("items"),this.trigger("removed",{content:null,position:e}))},a.prototype.preloadAutoWidthImages=function(t){t.each(e.proxy(function(t,i){this.enter("pre-loading"),i=e(i),e(new Image).one("load",e.proxy(function(e){i.attr("src",e.target.src),i.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",i.attr("src")||i.attr("data-src")||i.attr("data-src-retina"))},this))},a.prototype.destroy=function(){for(var n in this.$element.off(".owl.core"),this.$stage.off(".owl.core"),e(i).off(".owl.core"),!1!==this.settings.responsive&&(t.clearTimeout(this.resizeTimer),this.off(t,"resize",this._handlers.onThrottledResize)),this._plugins)this._plugins[n].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},a.prototype.op=function(e,t,i){var n=this.settings.rtl;switch(t){case"<":return n?e>i:e":return n?ei;case">=":return n?e<=i:e>=i;case"<=":return n?e>=i:e<=i}},a.prototype.on=function(e,t,i,n){e.addEventListener?e.addEventListener(t,i,n):e.attachEvent&&e.attachEvent("on"+t,i)},a.prototype.off=function(e,t,i,n){e.removeEventListener?e.removeEventListener(t,i,n):e.detachEvent&&e.detachEvent("on"+t,i)},a.prototype.trigger=function(t,i,n,r,s){var o={item:{count:this._items.length,index:this.current()}},l=e.camelCase(e.grep(["on",t,n],function(e){return e}).join("-").toLowerCase()),d=e.Event([t,"owl",n||"carousel"].join(".").toLowerCase(),e.extend({relatedTarget:this},o,i));return this._supress[t]||(e.each(this._plugins,function(e,t){t.onTrigger&&t.onTrigger(d)}),this.register({type:a.Type.Event,name:t}),this.$element.trigger(d),this.settings&&"function"==typeof this.settings[l]&&this.settings[l].call(this,d)),d},a.prototype.enter=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]===n&&(this._states.current[t]=0),this._states.current[t]++},this))},a.prototype.leave=function(t){e.each([t].concat(this._states.tags[t]||[]),e.proxy(function(e,t){this._states.current[t]--},this))},a.prototype.register=function(t){if(t.type===a.Type.Event){if(e.event.special[t.name]||(e.event.special[t.name]={}),!e.event.special[t.name].owl){var i=e.event.special[t.name]._default;e.event.special[t.name]._default=function(e){return!i||!i.apply||e.namespace&&-1!==e.namespace.indexOf("owl")?e.namespace&&e.namespace.indexOf("owl")>-1:i.apply(this,arguments)},e.event.special[t.name].owl=!0}}else t.type===a.Type.State&&(this._states.tags[t.name]?this._states.tags[t.name]=this._states.tags[t.name].concat(t.tags):this._states.tags[t.name]=t.tags,this._states.tags[t.name]=e.grep(this._states.tags[t.name],e.proxy(function(i,n){return e.inArray(i,this._states.tags[t.name])===n},this)))},a.prototype.suppress=function(t){e.each(t,e.proxy(function(e,t){this._supress[t]=!0},this))},a.prototype.release=function(t){e.each(t,e.proxy(function(e,t){delete this._supress[t]},this))},a.prototype.pointer=function(e){var i={x:null,y:null};return(e=(e=e.originalEvent||e||t.event).touches&&e.touches.length?e.touches[0]:e.changedTouches&&e.changedTouches.length?e.changedTouches[0]:e).pageX?(i.x=e.pageX,i.y=e.pageY):(i.x=e.clientX,i.y=e.clientY),i},a.prototype.isNumeric=function(e){return!isNaN(parseFloat(e))},a.prototype.difference=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},e.fn.owlCarousel=function(t){var i=Array.prototype.slice.call(arguments,1);return this.each(function(){var n=e(this),r=n.data("owl.carousel");r||(r=new a(this,"object"==typeof t&&t),n.data("owl.carousel",r),e.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(t,i){r.register({type:a.Type.Event,name:i}),r.$element.on(i+".owl.carousel.core",e.proxy(function(e){e.namespace&&e.relatedTarget!==this&&(this.suppress([i]),r[i].apply(this,[].slice.call(arguments,1)),this.release([i]))},r))})),"string"==typeof t&&"_"!==t.charAt(0)&&r[t].apply(r,i)})},e.fn.owlCarousel.Constructor=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers)};a.Defaults={autoRefresh:!0,autoRefreshInterval:500},a.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=t.setInterval(e.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},a.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},a.prototype.destroy=function(){var e,i;for(e in t.clearInterval(this._interval),this._handlers)this._core.$element.off(e,this._handlers[e]);for(i in Object.getOwnPropertyNames(this))"function"!=typeof this[i]&&(this[i]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoRefresh=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":e.proxy(function(t){if(t.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(t.property&&"position"==t.property.name||"initialized"==t.type)){var i=this._core.settings,n=i.center&&Math.ceil(i.items/2)||i.items,a=i.center&&-1*n||0,r=(t.property&&void 0!==t.property.value?t.property.value:this._core.current())+a,s=this._core.clones().length,o=e.proxy(function(e,t){this.load(t)},this);for(i.lazyLoadEager>0&&(n+=i.lazyLoadEager,i.loop&&(r-=i.lazyLoadEager,n++));a++-1||(a.each(e.proxy(function(i,n){var a,r=e(n),s=t.devicePixelRatio>1&&r.attr("data-src-retina")||r.attr("data-src")||r.attr("data-srcset");this._core.trigger("load",{element:r,url:s},"lazy"),r.is("img")?r.one("load.owl.lazy",e.proxy(function(){r.css("opacity",1),this._core.trigger("loaded",{element:r,url:s},"lazy")},this)).attr("src",s):r.is("source")?r.one("load.owl.lazy",e.proxy(function(){this._core.trigger("loaded",{element:r,url:s},"lazy")},this)).attr("srcset",s):((a=new Image).onload=e.proxy(function(){r.css({"background-image":'url("'+s+'")',opacity:"1"}),this._core.trigger("loaded",{element:r,url:s},"lazy")},this),a.src=s)},this)),this._loaded.push(n.get(0)))},a.prototype.destroy=function(){var e,t;for(e in this.handlers)this._core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Lazy=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(i){this._core=i,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&"position"===e.property.name&&this.update()},this),"loaded.owl.lazy":e.proxy(function(e){e.namespace&&this._core.settings.autoHeight&&e.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var n=this;e(t).on("load",function(){n._core.settings.autoHeight&&n.update()}),e(t).resize(function(){n._core.settings.autoHeight&&(null!=n._intervalId&&clearTimeout(n._intervalId),n._intervalId=setTimeout(function(){n.update()},250))})};a.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},a.prototype.update=function(){var t=this._core._current,i=t+this._core.settings.items,n=this._core.settings.lazyLoad,a=this._core.$stage.children().toArray().slice(t,i),r=[],s=0;e.each(a,function(t,i){r.push(e(i).height())}),(s=Math.max.apply(null,r))<=1&&n&&this._previousHeight&&(s=this._previousHeight),this._previousHeight=s,this._core.$stage.parent().height(s).addClass(this._core.settings.autoHeightClass)},a.prototype.destroy=function(){var e,t;for(e in this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.AutoHeight=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.video&&this.isInFullScreen()&&e.preventDefault()},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"===e.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":e.proxy(function(t){if(t.namespace){var i=e(t.content).find(".owl-video");i.length&&(i.css("display","none"),this.fetch(i,e(t.content)))}},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",e.proxy(function(e){this.play(e)},this))};a.Defaults={video:!1,videoHeight:!1,videoWidth:!1},a.prototype.fetch=function(e,t){var i=e.attr("data-vimeo-id")?"vimeo":e.attr("data-vzaar-id")?"vzaar":"youtube",n=e.attr("data-vimeo-id")||e.attr("data-youtube-id")||e.attr("data-vzaar-id"),a=e.attr("data-width")||this._core.settings.videoWidth,r=e.attr("data-height")||this._core.settings.videoHeight,s=e.attr("href");if(!s)throw new Error("Missing video URL.");if((n=s.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/))[3].indexOf("youtu")>-1)i="youtube";else if(n[3].indexOf("vimeo")>-1)i="vimeo";else{if(!(n[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");i="vzaar"}n=n[6],this._videos[s]={type:i,id:n,width:a,height:r},t.attr("data-video",s),this.thumbnail(e,this._videos[s])},a.prototype.thumbnail=function(t,i){var n,a,r=i.width&&i.height?"width:"+i.width+"px;height:"+i.height+"px;":"",s=t.find("img"),o="src",l="",d=this._core.settings,c=function(i){'
',n=d.lazyLoad?e("
",{class:"owl-video-tn "+l,srcType:i}):e("
",{class:"owl-video-tn",style:"opacity:1;background-image:url("+i+")"}),t.after(n),t.after('
')};if(t.wrap(e("
",{class:"owl-video-wrapper",style:r})),this._core.settings.lazyLoad&&(o="data-src",l="owl-lazy"),s.length)return c(s.attr(o)),s.remove(),!1;"youtube"===i.type?(a="//img.youtube.com/vi/"+i.id+"/hqdefault.jpg",c(a)):"vimeo"===i.type?e.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e[0].thumbnail_large,c(a)}}):"vzaar"===i.type&&e.ajax({type:"GET",url:"//vzaar.com/api/videos/"+i.id+".json",jsonp:"callback",dataType:"jsonp",success:function(e){a=e.framegrab_url,c(a)}})},a.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},a.prototype.play=function(t){var i,n=e(t.target).closest("."+this._core.settings.itemClass),a=this._videos[n.attr("data-video")],r=a.width||"100%",s=a.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),n=this._core.items(this._core.relative(n.index())),this._core.reset(n.index()),(i=e('')).attr("height",s),i.attr("width",r),"youtube"===a.type?i.attr("src","//www.youtube.com/embed/"+a.id+"?autoplay=1&rel=0&v="+a.id):"vimeo"===a.type?i.attr("src","//player.vimeo.com/video/"+a.id+"?autoplay=1"):"vzaar"===a.type&&i.attr("src","//view.vzaar.com/"+a.id+"/player?autoplay=true"),e(i).wrap('
').insertAfter(n.find(".owl-video")),this._playing=n.addClass("owl-video-playing"))},a.prototype.isInFullScreen=function(){var t=i.fullscreenElement||i.mozFullScreenElement||i.webkitFullscreenElement;return t&&e(t).parent().hasClass("owl-video-frame")},a.prototype.destroy=function(){var e,t;for(e in this._core.$element.off("click.owl.video"),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Video=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this.core=t,this.core.options=e.extend({},a.Defaults,this.core.options),this.swapping=!0,this.previous=n,this.next=n,this.handlers={"change.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&(this.previous=this.core.current(),this.next=e.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":e.proxy(function(e){e.namespace&&(this.swapping="translated"==e.type)},this),"translate.owl.carousel":e.proxy(function(e){e.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};a.Defaults={animateOut:!1,animateIn:!1},a.prototype.swap=function(){if(1===this.core.settings.items&&e.support.animation&&e.support.transition){this.core.speed(0);var t,i=e.proxy(this.clear,this),n=this.core.$stage.children().eq(this.previous),a=this.core.$stage.children().eq(this.next),r=this.core.settings.animateIn,s=this.core.settings.animateOut;this.core.current()!==this.previous&&(s&&(t=this.core.coordinates(this.previous)-this.core.coordinates(this.next),n.one(e.support.animation.end,i).css({left:t+"px"}).addClass("animated owl-animated-out").addClass(s)),r&&a.one(e.support.animation.end,i).addClass("animated owl-animated-in").addClass(r))}},a.prototype.clear=function(t){e(t.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},a.prototype.destroy=function(){var e,t;for(e in this.handlers)this.core.$element.off(e,this.handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.Animate=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){var a=function(t){this._core=t,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":e.proxy(function(e){e.namespace&&"settings"===e.property.name?this._core.settings.autoplay?this.play():this.stop():e.namespace&&"position"===e.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":e.proxy(function(e,t,i){e.namespace&&this.play(t,i)},this),"stop.owl.autoplay":e.proxy(function(e){e.namespace&&this.stop()},this),"mouseover.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":e.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=e.extend({},a.Defaults,this._core.options)};a.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},a.prototype._next=function(n){this._call=t.setTimeout(e.proxy(this._next,this,n),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||i.hidden||this._core.next(n||this._core.settings.autoplaySpeed)},a.prototype.read=function(){return(new Date).getTime()-this._time},a.prototype.play=function(i,n){var a;this._core.is("rotating")||this._core.enter("rotating"),i=i||this._core.settings.autoplayTimeout,a=Math.min(this._time%(this._timeout||i),i),this._paused?(this._time=this.read(),this._paused=!1):t.clearTimeout(this._call),this._time+=this.read()%i-a,this._timeout=i,this._call=t.setTimeout(e.proxy(this._next,this,n),i-a)},a.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,t.clearTimeout(this._call),this._core.leave("rotating"))},a.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,t.clearTimeout(this._call))},a.prototype.destroy=function(){var e,t;for(e in this.stop(),this._handlers)this._core.$element.off(e,this._handlers[e]);for(t in Object.getOwnPropertyNames(this))"function"!=typeof this[t]&&(this[t]=null)},e.fn.owlCarousel.Constructor.Plugins.autoplay=a}(window.Zepto||window.jQuery,window,document),function(e,t,i,n){"use strict";var a=function(t){this._core=t,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":e.proxy(function(t){t.namespace&&this._core.settings.dotsData&&this._templates.push('
'+e(t.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"
")},this),"added.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,0,this._templates.pop())},this),"remove.owl.carousel":e.proxy(function(e){e.namespace&&this._core.settings.dotsData&&this._templates.splice(e.position,1)},this),"changed.owl.carousel":e.proxy(function(e){e.namespace&&"position"==e.property.name&&this.draw()},this),"initialized.owl.carousel":e.proxy(function(e){e.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":e.proxy(function(e){e.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=e.extend({},a.Defaults,this._core.options),this.$element.on(this._handlers)};a.Defaults={nav:!1,navText:['',''],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},a.prototype.initialize=function(){var t,i=this._core.settings;for(t in this._controls.$relative=(i.navContainer?e(i.navContainer):e("
").addClass(i.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=e("<"+i.navElement+">").addClass(i.navClass[0]).html(i.navText[0]).prependTo(this._controls.$relative).on("click",e.proxy(function(e){this.prev(i.navSpeed)},this)),this._controls.$next=e("<"+i.navElement+">").addClass(i.navClass[1]).html(i.navText[1]).appendTo(this._controls.$relative).on("click",e.proxy(function(e){this.next(i.navSpeed)},this)),i.dotsData||(this._templates=[e('',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},e.fn.magnificPopup=function(i){f();var n=e(this);if("string"==typeof i)if("open"===i){var a,r=l?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;r.items?a=r.items[s]:(a=n,r.delegate&&(a=a.find(r.delegate)),a=a.eq(s)),t._openClick({mfpEl:a},n,r)}else t.isOpen&&t[i].apply(t,Array.prototype.slice.call(arguments,1));else i=e.extend(!0,{},i),l?n.data("magnificPopup",i):n[0].magnificPopup=i,t.addGroup(n,i);return n};var m,g,v,y=function(){v&&(g.after(v.addClass(m)).detach(),v=null)};e.magnificPopup.registerModule("inline",{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push("inline"),c("Close.inline",function(){y()})},getInline:function(i,n){if(y(),i.src){var a=t.st.inline,r=e(i.src);if(r.length){var s=r[0].parentNode;s&&s.tagName&&(g||(m=a.hiddenClass,g=u(m),m="mfp-"+m),v=r.after(g).detach().removeClass(m)),t.updateStatus("ready")}else t.updateStatus("error",a.tNotFound),r=e("
");return i.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(n,{},i),n}}});var b,w=function(){b&&e(document.body).removeClass(b)},T=function(){w(),t.req&&t.req.abort()};e.magnificPopup.registerModule("ajax",{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){t.types.push("ajax"),b=t.st.ajax.cursor,c("Close.ajax",T),c("BeforeChange.ajax",T)},getAjax:function(i){b&&e(document.body).addClass(b),t.updateStatus("loading");var n=e.extend({url:i.src,success:function(n,a,r){var s={data:n,xhr:r};h("ParseAjax",s),t.appendContent(e(s.data),"ajax"),i.finished=!0,w(),t._setFocus(),setTimeout(function(){t.wrap.addClass("mfp-ready")},16),t.updateStatus("ready"),h("AjaxContentAdded")},error:function(){w(),i.finished=i.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",i.src))}},t.st.ajax.settings);return t.req=e.ajax(n),""}}});var _,C,x=function(i){if(i.data&&void 0!==i.data.title)return i.data.title;var n=t.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(t,i);if(i.el)return i.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var i=t.st.image,n=".image";t.types.push("image"),c("Open"+n,function(){"image"===t.currItem.type&&i.cursor&&e(document.body).addClass(i.cursor)}),c("Close"+n,function(){i.cursor&&e(document.body).removeClass(i.cursor),d.off("resize.mfp")}),c("Resize"+n,t.resizeImage),t.isLowIE&&c("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var i=0;t.isLowIE&&(i=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-i)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,_&&clearInterval(_),e.isCheckingImgSize=!1,h("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var i=0,n=e.img[0],a=function(r){_&&clearInterval(_),_=setInterval(function(){n.naturalWidth>0?t._onImageHasSize(e):(i>200&&clearInterval(_),3==++i?a(10):40===i?a(50):100===i&&a(500))},r)};a(1)},getImage:function(i,n){var a=0,r=function(){i&&(i.img[0].complete?(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("ready")),i.hasSize=!0,i.loaded=!0,h("ImageLoadComplete")):++a<200?setTimeout(r,100):s())},s=function(){i&&(i.img.off(".mfploader"),i===t.currItem&&(t._onImageHasSize(i),t.updateStatus("error",o.tError.replace("%url%",i.src))),i.hasSize=!0,i.loaded=!0,i.loadError=!0)},o=t.st.image,l=n.find(".mfp-img");if(l.length){var d=document.createElement("img");d.className="mfp-img",i.el&&i.el.find("img").length&&(d.alt=i.el.find("img").attr("alt")),i.img=e(d).on("load.mfploader",r).on("error.mfploader",s),d.src=i.src,d.srcset=i.srcset,d.sizes=i.sizes,l.is("img")&&(i.img=i.img.clone()),(d=i.img[0]).naturalWidth>0?i.hasSize=!0:d.width||(i.hasSize=!1)}return t._parseMarkup(n,{title:x(i),img_replaceWith:i.img},i),t.resizeImage(),i.hasSize?(_&&clearInterval(_),i.loadError?(n.addClass("mfp-loading"),t.updateStatus("error",o.tError.replace("%url%",i.src))):(n.removeClass("mfp-loading"),t.updateStatus("ready")),n):(t.updateStatus("loading"),i.loading=!0,i.hasSize||(i.imgHidden=!0,n.addClass("mfp-loading"),t.findImageSize(i)),n)}}}),e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,i=t.st.zoom,n=".zoom";if(i.enabled&&t.supportsTransition){var a,r,s=i.duration,o=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),n="all "+i.duration/1e3+"s "+i.easing,a={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return a["-webkit-"+r]=a["-moz-"+r]=a["-o-"+r]=a[r]=n,t.css(a),t},l=function(){t.content.css("visibility","visible")};c("BuildControls"+n,function(){if(t._allowZoom()){if(clearTimeout(a),t.content.css("visibility","hidden"),!(e=t._getItemToZoom()))return void l();(r=o(e)).css(t._getOffset()),t.wrap.append(r),a=setTimeout(function(){r.css(t._getOffset(!0)),a=setTimeout(function(){l(),setTimeout(function(){r.remove(),e=r=null,h("ZoomAnimationEnded")},16)},s)},16)}}),c("BeforeClose"+n,function(){if(t._allowZoom()){if(clearTimeout(a),t.st.removalDelay=s,!e){if(!(e=t._getItemToZoom()))return;r=o(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout(function(){r.css(t._getOffset())},16)}}),c("Close"+n,function(){t._allowZoom()&&(l(),r&&r.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return!!t.currItem.hasSize&&t.currItem.img},_getOffset:function(i){var n,a=(n=i?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem)).offset(),r=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);a.top-=e(window).scrollTop()-r;var o={width:n.width(),height:(l?n.innerHeight():n[0].offsetHeight)-s-r};return void 0===C&&(C=void 0!==document.createElement("p").style.MozTransform),C?o["-moz-transform"]=o.transform="translate("+a.left+"px,"+a.top+"px)":(o.left=a.left,o.top=a.top),o}}});var S=function(e){if(t.currTemplate.iframe){var i=t.currTemplate.iframe.find("iframe");i.length&&(e||(i[0].src="//about:blank"),t.isIE8&&i.css("display",e?"block":"none"))}};e.magnificPopup.registerModule("iframe",{options:{markup:'
',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push("iframe"),c("BeforeChange",function(e,t,i){t!==i&&("iframe"===t?S():"iframe"===i&&S(!0))}),c("Close.iframe",function(){S()})},getIframe:function(i,n){var a=i.src,r=t.st.iframe;e.each(r.patterns,function(){if(a.indexOf(this.index)>-1)return this.id&&(a="string"==typeof this.id?a.substr(a.lastIndexOf(this.id)+this.id.length,a.length):this.id.call(this,a)),a=this.src.replace("%id%",a),!1});var s={};return r.srcAction&&(s[r.srcAction]=a),t._parseMarkup(n,s,i),t.updateStatus("ready"),n}}});var E=function(e){var i=t.items.length;return e>i-1?e-i:e<0?i+e:e},P=function(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var i=t.st.gallery,a=".mfp-gallery";if(t.direction=!0,!i||!i.enabled)return!1;r+=" mfp-gallery",c("Open"+a,function(){i.navigateByImgClick&&t.wrap.on("click"+a,".mfp-img",function(){if(t.items.length>1)return t.next(),!1}),n.on("keydown"+a,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),c("UpdateStatus"+a,function(e,i){i.text&&(i.text=P(i.text,t.currItem.index,t.items.length))}),c("MarkupParse"+a,function(e,n,a,r){var s=t.items.length;a.counter=s>1?P(i.tCounter,r.index,s):""}),c("BuildControls"+a,function(){if(t.items.length>1&&i.arrows&&!t.arrowLeft){var n=i.arrowMarkup,a=t.arrowLeft=e(n.replace(/%title%/gi,i.tPrev).replace(/%dir%/gi,"left")).addClass("mfp-prevent-close"),r=t.arrowRight=e(n.replace(/%title%/gi,i.tNext).replace(/%dir%/gi,"right")).addClass("mfp-prevent-close");a.click(function(){t.prev()}),r.click(function(){t.next()}),t.container.append(a.add(r))}}),c("Change"+a,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),c("Close"+a,function(){n.off(a),t.wrap.off("click"+a),t.arrowRight=t.arrowLeft=null})},next:function(){t.direction=!0,t.index=E(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=E(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,i=t.st.gallery.preload,n=Math.min(i[0],t.items.length),a=Math.min(i[1],t.items.length);for(e=1;e<=(t.direction?a:n);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?n:a);e++)t._preloadItem(t.index-e)},_preloadItem:function(i){if(i=E(i),!t.items[i].preloaded){var n=t.items[i];n.parsed||(n=t.parseEl(i)),h("LazyLoad",n),"image"===n.type&&(n.img=e('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,h("LazyLoadError",n)}).attr("src",n.src).attr("srcset",n.srcset).attr("sizes",n.sizes)),n.preloaded=!0}}}}),e.magnificPopup.registerModule("retina",{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,i=e.ratio;(i=isNaN(i)?i():i)>1&&(c("ImageHasSize.retina",function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/i,width:"100%"})}),c("ElementParse.retina",function(t,n){n.src=e.replaceSrc(n,i)}))}}}}),f()}),window.SEMICOLON_lightboxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-lightbox"),i=e.attr("data-close-button")||"outside",n=e.attr("data-disable-under")||600,a=$("body");i="inside"==i,"image"==t&&e.magnificPopup({type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0}}),"gallery"==t&&(e.find('a[data-lightbox="gallery-item"]').parent(".clone").hasClass("clone")&&e.find('a[data-lightbox="gallery-item"]').parent(".clone").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.find('a[data-lightbox="gallery-item"]').parents(".cloned").hasClass("cloned")&&e.find('a[data-lightbox="gallery-item"]').parents(".cloned").find('a[data-lightbox="gallery-item"]').attr("data-lightbox",""),e.magnificPopup({delegate:'a[data-lightbox="gallery-item"]',type:"image",closeOnContentClick:!0,closeBtnInside:i,fixedContentPos:!0,mainClass:"mfp-no-margins mfp-fade",image:{verticalFit:!0},gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]}})),"iframe"==t&&e.magnificPopup({disableOn:Number(n),type:"iframe",removalDelay:160,preloader:!1,fixedContentPos:!1}),"inline"==t&&e.magnificPopup({type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:i,fixedContentPos:!0,overflowY:"scroll"}),"ajax"==t&&e.magnificPopup({type:"ajax",closeBtnInside:i,autoFocusLast:!1,callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),"ajax-gallery"==t&&e.magnificPopup({delegate:'a[data-lightbox="ajax-gallery-item"]',type:"ajax",closeBtnInside:i,autoFocusLast:!1,gallery:{enabled:!0,preload:0,navigateByImgClick:!1},callbacks:{ajaxContentAdded:function(e){SEMICOLON.widget.loadFlexSlider(),SEMICOLON.initialize.resizeVideos(),SEMICOLON.widget.masonryThumbs()},open:function(){a.addClass("ohidden")},close:function(){a.removeClass("ohidden")}}}),e.on("mfpOpen",function(){let e=$.magnificPopup.instance.currItem.el,t=$(e).attr("data-lightbox-class"),i=$(e).attr("data-lightbox-bg-class");""!=t&&$($.magnificPopup.instance.container).addClass(t),""!=i&&$($.magnificPopup.instance.bgOverlay).addClass(i)})})},window.SEMICOLON_modalInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-target"),i=t.split("#")[1],n=e.attr("data-delay")||500,a=e.attr("data-timeout"),r=e.attr("data-animate-in"),s=e.attr("data-animate-out"),o=e.attr("data-cookies");if("false"==o&&Cookies.remove(i),"true"==o){let e=Cookies.get(i);if(void 0!==e&&"0"==e)return!0}n=Number(n)+500,setTimeout(function(){$.magnificPopup.open({items:{src:t},type:"inline",mainClass:"mfp-no-margins mfp-fade",closeBtnInside:!1,fixedContentPos:!0,removalDelay:500,callbacks:{open:function(){""!=r&&$(t).addClass(r+" animated")},beforeClose:function(){""!=s&&$(t).removeClass(r).addClass(s)},afterClose:function(){""==r&&""==s||$(t).removeClass(r+" "+s+" animated"),"true"==o&&Cookies.set(i,"0")}}},0)},n),""!=a&&setTimeout(function(){$.magnificPopup.close()},n+Number(a))})},window.scwLinkScrollPlugin=window.scwLinkScrollPlugin||{},function(e,t){function i(e,t,i){var n=c[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:n.max6*(i=(i+1)%1)?e+(t-e)*i*6:1>2*i?t:2>3*i?e+(t-e)*(2/3-i)*6:e}var r,s=/^([\-+])=\s*(\d+\.?\d*)/,o=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,n,a){return new e.Color.fn.parse(t,i,n,a)},d={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},c={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},u=l.support={},h=e("

")[0],p=e.each;h.style.cssText="background-color:rgba(1,1,1,.5)",u.rgba=h.style.backgroundColor.indexOf("rgba")>-1,p(d,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(a,s,o,c){if(a===t)return this._rgba=[null,null,null,null],this;(a.jquery||a.nodeType)&&(a=e(a).css(s),s=t);var u=this,h=e.type(a),f=this._rgba=[];return s!==t&&(a=[a,s,o,c],h="array"),"string"===h?this.parse(n(a)||r._default):"array"===h?(p(d.rgba.props,function(e,t){f[t.idx]=i(a[t.idx],t)}),this):"object"===h?(p(d,a instanceof l?function(e,t){a[t.cache]&&(u[t.cache]=a[t.cache].slice())}:function(t,n){var r=n.cache;p(n.props,function(e,t){if(!u[r]&&n.to){if("alpha"===e||null==a[e])return;u[r]=n.to(u._rgba)}u[r][t.idx]=i(a[e],t,!0)}),u[r]&&e.inArray(null,u[r].slice(0,3))<0&&(u[r][3]=1,n.from&&(u._rgba=n.from(u[r])))}),this):void 0},is:function(e){var t=l(e),i=!0,n=this;return p(d,function(e,a){var r,s=t[a.cache];return s&&(r=n[a.cache]||a.to&&a.to(n._rgba)||[],p(a.props,function(e,t){return null!=s[t.idx]?i=s[t.idx]===r[t.idx]:void 0})),i}),i},_space:function(){var e=[],t=this;return p(d,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),a=n._space(),r=d[a],s=0===this.alpha()?l("transparent"):this,o=s[r.cache]||r.to(s._rgba),u=o.slice();return n=n[r.cache],p(r.props,function(e,a){var r=a.idx,s=o[r],l=n[r],d=c[a.type]||{};null!==l&&(null===s?u[r]=l:(d.mod&&(l-s>d.mod/2?s+=d.mod:s-l>d.mod/2&&(s-=d.mod)),u[r]=i((l-s)*t+s,a)))}),this[a](u)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),a=l(t)._rgba;return l(e.map(i,function(e,t){return(1-n)*a[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,d.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,a=e[1]/255,r=e[2]/255,s=e[3],o=Math.max(n,a,r),l=Math.min(n,a,r),d=o-l,c=o+l,u=.5*c;return t=l===o?0:n===o?60*(a-r)/d+360:a===o?60*(r-n)/d+120:60*(n-a)/d+240,i=0===d?0:.5>=u?d/c:d/(2-c),[Math.round(t)%360,i,u,null==s?1:s]},d.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],r=e[3],s=.5>=n?n*(1+i):n+i-n*i,o=2*n-s;return[Math.round(255*a(o,s,t+1/3)),Math.round(255*a(o,s,t)),Math.round(255*a(o,s,t-1/3)),r]},p(d,function(n,a){var r=a.props,o=a.cache,d=a.to,c=a.from;l.fn[n]=function(n){if(d&&!this[o]&&(this[o]=d(this._rgba)),n===t)return this[o].slice();var a,s=e.type(n),u="array"===s||"object"===s?n:arguments,h=this[o].slice();return p(r,function(e,t){var n=u["object"===s?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),c?((a=l(c(h)))[o]=h,a):l(h)},p(r,function(t,i){l.fn[t]||(l.fn[t]=function(a){var r,o=e.type(a),l="alpha"===t?this._hsla?"hsla":"rgba":n,d=this[l](),c=d[i.idx];return"undefined"===o?c:("function"===o&&(a=a.call(this,c),o=e.type(a)),null==a&&i.empty?this:("string"===o&&((r=s.exec(a))&&(a=c+parseFloat(r[2])*("+"===r[1]?1:-1))),d[i.idx]=a,this[l](d)))})})}),l.hook=function(t){var i=t.split(" ");p(i,function(t,i){e.cssHooks[i]={set:function(t,a){var r,s,o="";if("transparent"!==a&&("string"!==e.type(a)||(r=n(a)))){if(a=l(r||a),!u.rgba&&1!==a._rgba[3]){for(s="backgroundColor"===i?t.parentNode:t;(""===o||"transparent"===o)&&s&&s.style;)try{o=e.css(s,"backgroundColor"),s=s.parentNode}catch(e){}a=a.blend(o&&"transparent"!==o?o:"_default")}a=a.toRgbaString()}try{t.style[i]=a}catch(e){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),e.cssHooks.borderColor={expand:function(e){var t={};return p(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},r=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(jQuery);let windowElLs=jQuery(window),$bodyLs=jQuery("body"),$pageSectionElLs,locationHashLs=location.hash;window.SEMICOLON_linkScrollInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;if($('[data-scrollto="'+locationHashLs+'"]').length>0){windowElLs.on("beforeunload",function(){windowElLs.scrollTop(0)}),windowElLs.scrollTop(0);let e=$(locationHashLs);e.length>0&&setTimeout(function(){let t=e.offset().top,i=JSON.parse(e.attr("data-scrollto-settings"));$("html,body").stop(!0,!0).animate({scrollTop:t-Number(i.offset)},i.speed,i.easing,function(){i.highlight&&(e.find(".highlight-me").length>0?(e.find(".highlight-me").animate({backgroundColor:i.highlight},300),setTimeout(function(){e.find(".highlight-me").animate({backgroundColor:"transparent"},300)},500)):(e.animate({backgroundColor:i.highlight},300),setTimeout(function(){e.animate({backgroundColor:"transparent"},300)},500)))})},1200)}e.each(function(){let e=$(this).attr("data-scrollto"),t=$(e),i=SEMICOLON_linkScrollSettings(e,$('[data-scrollto="'+e+'"]'));t.length>0&&setTimeout(function(){t.attr("data-scrollto-settings",JSON.stringify(i)),$pageSectionElLs=$("[data-scrollto-settings]")},1e3)}),e.off("click").on("click",function(){let e=$(this),t=e.attr("data-scrollto"),i=$(t);if(e.parents(".primary-menu").hasClass("on-click"))return!0;if(i.length>0){let e=JSON.parse(i.attr("data-scrollto-settings"));return $("html,body").stop(!0).animate({scrollTop:i.offset().top-Number(e.offset)},Number(e.speed),e.easing,function(){e.highlight&&(i.find(".highlight-me").length>0?(i.find(".highlight-me").animate({backgroundColor:e.highlight},300),setTimeout(function(){i.find(".highlight-me").animate({backgroundColor:"transparent"},300)},500)):(i.animate({backgroundColor:e.highlight},300),setTimeout(function(){i.animate({backgroundColor:"transparent"},300)},500)))}),!1}})},window.SEMICOLON_linkScrollSettings=function(e,t){if(void 0===e&&t.length<1)return!0;let i={},n=($(e).offset().top,t.attr("data-speed")||1250),a=t.attr("data-offset")||SEMICOLON.initialize.topScrollOffset(),r=t.attr("data-easing")||"easeOutQuad",s=t.attr("data-highlight"),o=t.attr("data-offset-xxl"),l=t.attr("data-offset-xl"),d=t.attr("data-offset-lg"),c=t.attr("data-offset-md"),u=t.attr("data-offset-sm"),h=t.attr("data-offset-xs");return h||(h=a),u||(u=h),c||(c=u),d||(d=c),l||(l=d),o||(o=l),$bodyLs.hasClass("device-xxl")?a=o:$bodyLs.hasClass("device-xl")?a=l:$bodyLs.hasClass("device-lg")?a=d:$bodyLs.hasClass("device-md")?a=c:$bodyLs.hasClass("device-sm")?a=u:$bodyLs.hasClass("device-xs")&&(a=h),i.offset=Number(a),i.speed=n,i.easing=r,i.highlight=s,i},window.scwMasonryThumbsPlugin=window.scwMasonryThumbsPlugin||{},window.SEMICOLON_masonryThumbsInit=function(e){if(e.length<1)return!0;$("body");e.each(function(){let e=$(this),t=e.attr("data-big");e.children().css({width:""});let i=e.children().eq(0).outerWidth();if(e.filter(".has-init-isotope").isotope({masonry:{columnWidth:i}}),t){t=t.split(",");let i="",n="";for(n=0;n a").append(' '),e.hasClass("on-hover")?e.find("ul li:has(ul):not(.active)").hover(function(e){$(this).children("ul").stop(!0,!0).slideDown(Number(t),i)},function(){$(this).children("ul").delay(250).slideUp(Number(t),i)}):e.find("ul li:has(ul) > a").off("click").on("click",function(n){let a=$(this);e.find("ul li").not(a.parents()).removeClass("active"),a.parent().children("ul").slideToggle(Number(t),i,function(){$(this).find("ul").hide(),$(this).find("li.active").removeClass("active")}),e.find("ul li > ul").not(a.parent().children("ul")).not(a.parents("ul")).slideUp(Number(t),i),a.parent("li:has(ul)").toggleClass("active"),n.preventDefault()})})},("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)})(["jquery"],function(e){return function(){function t(t,i){return t||(t=s()),(l=e("#"+t.containerId)).length?l:(i&&(l=function(t){return(l=e("

").attr("id",t.containerId).addClass(t.positionClass)).appendTo(e(t.target)),l}(t)),l)}function i(t){for(var i=l.children(),a=i.length-1;a>=0;a--)n(e(i[a]),t)}function n(t,i,n){var a=!(!n||!n.force)&&n.force;return!(!t||!a&&0!==e(":focus",t).length||(t[i.hideMethod]({duration:i.hideDuration,easing:i.hideEasing,complete:function(){o(t)}}),0))}function a(e){d&&d(e)}function r(i){function n(e){return null==e&&(e=""),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function r(t){var i=t&&!1!==f.closeMethod?f.closeMethod:f.hideMethod,n=t&&!1!==f.closeDuration?f.closeDuration:f.hideDuration,r=t&&!1!==f.closeEasing?f.closeEasing:f.hideEasing;return!e(":focus",v).length||t?(clearTimeout(_.intervalId),v[i]({duration:n,easing:r,complete:function(){o(v),clearTimeout(g),f.onHidden&&"hidden"!==C.state&&f.onHidden(),C.state="hidden",C.endTime=new Date,a(C)}})):void 0}function d(){(f.timeOut>0||f.extendedTimeOut>0)&&(g=setTimeout(r,f.extendedTimeOut),_.maxHideTime=parseFloat(f.extendedTimeOut),_.hideEta=(new Date).getTime()+_.maxHideTime)}function h(){clearTimeout(g),_.hideEta=0,v.stop(!0,!0)[f.showMethod]({duration:f.showDuration,easing:f.showEasing})}function p(){var e=(_.hideEta-(new Date).getTime())/_.maxHideTime*100;w.width(e+"%")}var f=s(),m=i.iconClass||f.iconClass;if(void 0!==i.optionsOverride&&(f=e.extend(f,i.optionsOverride),m=i.optionsOverride.iconClass||m),!function(e,t){if(e.preventDuplicates){if(t.message===c)return!0;c=t.message}return!1}(f,i)){u++,l=t(f,!0);var g=null,v=e("
"),y=e("
"),b=e("
"),w=e("
"),T=e(f.closeHtml),_={intervalId:null,hideEta:null,maxHideTime:null},C={toastId:u,state:"visible",startTime:new Date,options:f,map:i};return i.iconClass&&v.addClass(f.toastClass).addClass(m),function(){if(i.title){var e=i.title;f.escapeHtml&&(e=n(i.title)),y.append(e).addClass(f.titleClass),v.append(y)}}(),function(){if(i.message){var e=i.message;f.escapeHtml&&(e=n(i.message)),b.append(e).addClass(f.messageClass),v.append(b)}}(),f.closeButton&&(T.addClass(f.closeClass).attr("role","button"),v.prepend(T)),f.progressBar&&(w.addClass(f.progressClass),v.prepend(w)),f.rtl&&v.addClass("rtl"),f.newestOnTop?l.prepend(v):l.append(v),function(){var e="";switch(i.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}v.attr("aria-live",e)}(),v.hide(),v[f.showMethod]({duration:f.showDuration,easing:f.showEasing,complete:f.onShown}),f.timeOut>0&&(g=setTimeout(r,f.timeOut),_.maxHideTime=parseFloat(f.timeOut),_.hideEta=(new Date).getTime()+_.maxHideTime,f.progressBar&&(_.intervalId=setInterval(p,10))),f.closeOnHover&&v.hover(h,d),!f.onclick&&f.tapToDismiss&&v.click(r),f.closeButton&&T&&T.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),f.onCloseClick&&f.onCloseClick(e),r(!0)}),f.onclick&&v.click(function(e){f.onclick(e),r()}),a(C),f.debug&&console&&console.log(C),v}}function s(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},p.options)}function o(e){l||(l=t()),e.is(":visible")||(e.remove(),e=null,0===l.children().length&&(l.remove(),c=void 0))}var l,d,c,u=0,h={error:"error",info:"info",success:"success",warning:"warning"},p={clear:function(e,a){var r=s();l||t(r),n(e,r,a)||i(r)},remove:function(i){var n=s();return l||t(n),i&&0===e(":focus",i).length?void o(i):void(l.children().length&&l.remove())},error:function(e,t,i){return r({type:h.error,iconClass:s().iconClasses.error,message:e,optionsOverride:i,title:t})},getContainer:t,info:function(e,t,i){return r({type:h.info,iconClass:s().iconClasses.info,message:e,optionsOverride:i,title:t})},options:{},subscribe:function(e){d=e},success:function(e,t,i){return r({type:h.success,iconClass:s().iconClasses.success,message:e,optionsOverride:i,title:t})},version:"2.1.4",warning:function(e,t,i){return r({type:h.warning,iconClass:s().iconClasses.warning,message:e,optionsOverride:i,title:t})}};return p}()}),window.SEMICOLON_notificationInit=function(e){e=e.filter(":not(.customjs)"),toastr.remove();let t=e,i=t.attr("data-notify-position")||"top-right",n=t.attr("data-notify-type"),a=t.attr("data-notify-msg")||"Please set a message!",r=t.attr("data-notify-timeout")||5e3,s=t.attr("data-notify-close");return i="toast-"+i,s="true"==s,toastr.options.positionClass=i,toastr.options.timeOut=Number(r),toastr.options.closeButton=s,toastr.options.closeHtml='',"warning"==n?toastr.warning(a):"error"==n?toastr.error(a):"success"==n?toastr.success(a):toastr.info(a),!1},window.scwOnePageModulePlugin=window.scwOnePageModulePlugin||{};let $onePageMenu,windowEl=$(window),windowWidth=windowEl.width(),$body=$("body"),$pageSectionEl,locationHash=location.hash,onePageMenuActiveClass;function sm_format_twitter(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('
  • '+s+''+relative_time(e[i].created_at)+"
  • ")}return t.join("")}function sm_format_twitter2(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('")}return t.join("")}function sm_format_twitter3(e){for(var t=[],i=0;i]*[^.,;'">\:\s\<\>\)\]\!])/g,function(e){return''+e+""}).replace(/\B@([_a-z0-9]+)/gi,function(e){return e.charAt(0)+''+e.substring(1)+""});t.push('")}return t.join("")}function relative_time(e){var t=e.split(" ");e=t[1]+" "+t[2]+", "+t[5]+" "+t[3];var i=Date.parse(e),n=arguments.length>1?arguments[1]:new Date,a=parseInt((n.getTime()-i)/1e3);return(a+=60*n.getTimezoneOffset())<60?"less than a minute ago":a<120?"about a minute ago":a<3600?parseInt(a/60).toString()+" minutes ago":a<7200?"about an hour ago":a<86400?"about "+parseInt(a/3600).toString()+" hours ago":a<172800?"1 day ago":parseInt(a/86400).toString()+" days ago"}window.SEMICOLON_onePageModule=function(e){if(($onePageMenu=e.filter(":not(.customjs)")).length<1)return!0;if($('a[data-href="'+locationHash+'"]').parents(".one-page-menu").length>0){windowEl.on("beforeunload",function(){windowEl.scrollTop(0)}),windowEl.scrollTop(0);let e=$(locationHash);e.length>0&&setTimeout(function(){let t=e.offset().top,i=JSON.parse(e.attr("data-onepage-settings"));$("html,body").stop(!0,!0).animate({scrollTop:t-Number(i.offset)},i.speed,i.easing)},1200)}windowEl.scrollEnd(function(){SEMICOLON_onePageScroller()},500),$onePageMenu.each(function(){let t=$(this);onePageMenuActiveClass=t.attr("data-active-class")||"current",$onePageMenu=t,t.hasClass("no-offset")&&(elOffset=0);let i=t.find("a[data-href]");i.each(function(){let e=$(this).attr("data-href"),t=$(e),i=SEMICOLON_onePageSettings(e,$('a[data-href="'+e+'"]'));t.length>0&&setTimeout(function(){t.attr("data-onepage-settings",JSON.stringify(i)),$pageSectionEl=$("[data-onepage-settings]")},1e3)}),i.off("click").on("click",function(){let i=$(this).attr("data-href"),n=$(i);if(n.length>0){let a=JSON.parse(n.attr("data-onepage-settings"));t.find("li").removeClass(onePageMenuActiveClass),t.find('a[data-href="'+i+'"]').parent("li").addClass(onePageMenuActiveClass),(windowWidth<992||$body.hasClass("overlay-menu"))&&(e.parents(".primary-menu").filter(":not(.mobile-menu-off-canvas)").find(".menu-container").stop(!0,!0).slideUp(200),$("#page-menu").toggleClass("page-menu-open",!1),$body.toggleClass("primary-menu-open",!1)),setTimeout(function(){let e=n.offset().top;$("html,body").stop(!0,!0).animate({scrollTop:e-Number(a.offset)},Number(a.speed),a.easing)},250)}return!1})})},window.SEMICOLON_onePageScroller=function(){$onePageMenu.find("[data-href]").parent().removeClass(onePageMenuActiveClass),$onePageMenu.find('[data-href="#'+SEMICOLON_onePageCurrentSection()+'"]').parent().addClass(onePageMenuActiveClass)},window.SEMICOLON_onePageCurrentSection=function(){let e;return void 0===$pageSectionEl||($pageSectionEl.each(function(t){let i=$(this),n=JSON.parse(i.attr("data-onepage-settings")),a=i.offset().top-n.offset-5,r=windowEl.scrollTop();r>=a&&r0)||r&&this.length?(n.optionCheck.call(this,a)&&e("."+a.overlayClass).length<=0&&n.addOverlay.call(this,a),a.loading&&e("."+a.loadingClass).length<=0&&n.addLoading.call(this,a),this.each(function(){var r=this,s=e(this),o=e(window),l=e(document);s.data(i)||(a=e.extend({},a),s.data(i,{options:a}),a.timeout&&n.addTimer.call(r),a.onLoadEvent&&(t?(n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(r)):o.on("load."+i,function(){n.settings.timer&&clearTimeout(n.settings.timer),n.in.call(r)})),o.on("pageshow."+i,function(e){e.originalEvent.persisted&&n.in.call(r)}),o.on("unload."+i,function(){}),l.on("click."+i,a.linkElement,function(t){t.preventDefault();var i=e(this),a=i.attr("href");2===t.which||t.metaKey||t.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&t.ctrlKey?window.open(a,"_blank"):n.out.call(r,i,a)}))})):("console"in window||(window.console={},window.console.log=function(e){return e}),this.length||console.log("Animsition: Element does not exist on page."),r||console.log("Animsition: Does not support this browser."),n.destroy.call(this))},addOverlay:function(t){e(t.overlayParentElement).prepend('
    ')},addLoading:function(t){e(t.loadingParentElement).append('
    '+t.loadingInner+"
    ")},removeLoading:function(){var t=e(this).data(i).options;e(t.loadingParentElement).children("."+t.loadingClass).fadeOut().remove()},addTimer:function(){var t=this,a=e(this).data(i).options;n.settings.timer=setTimeout(function(){n.in.call(t),e(window).off("load."+i)},a.timeoutCountdown)},supportCheck:function(t){var i=e(this),n=t.browser,a=n.length,r=!1;0===a&&(r=!0);for(var s=0;a>s;s++)if("string"==typeof i.css(n[s])){r=!0;break}return r},optionCheck:function(t){var i=e(this);return!(!t.overlay&&!i.data(n.settings.data.overlay))},animationCheck:function(t,n,a){var r=e(this).data(i).options,s=typeof t,o=!n&&"number"===s,l=n&&"string"===s&&t.length>0;return o||l?t=t:n&&a?t=r.inClass:!n&&a?t=r.inDuration:n&&!a?t=r.outClass:n||a||(t=r.outDuration),t},in:function(){var t=this,a=e(this),r=a.data(i).options,s=a.data(n.settings.data.inDuration),o=a.data(n.settings.data.inClass),l=n.animationCheck.call(t,s,!1,!0),d=n.animationCheck.call(t,o,!0,!0),c=n.optionCheck.call(t,r),u=a.data(i).outClass;r.loading&&n.removeLoading.call(t),u&&a.removeClass(u),c?n.inOverlay.call(t,d,l):n.inDefault.call(t,d,l)},inDefault:function(t,i){var a=e(this);a.css({"animation-duration":i+"ms"}).addClass(t).trigger(n.settings.events.inStart).animateCallback(function(){a.removeClass(t).css({opacity:1}).trigger(n.settings.events.inEnd)})},inOverlay:function(t,a){var r=e(this),s=r.data(i).options;r.css({opacity:1}).trigger(n.settings.events.inStart),e(s.overlayParentElement).children("."+s.overlayClass).css({"animation-duration":a+"ms"}).addClass(t).animateCallback(function(){r.trigger(n.settings.events.inEnd)})},out:function(t,a){var r=this,s=e(this),o=s.data(i).options,l=t.data(n.settings.data.outClass),d=s.data(n.settings.data.outClass),c=t.data(n.settings.data.outDuration),u=s.data(n.settings.data.outDuration),h=l||d,p=c||u,f=n.animationCheck.call(r,h,!0,!1),m=n.animationCheck.call(r,p,!1,!1),g=n.optionCheck.call(r,o);s.data(i).outClass=f,g?n.outOverlay.call(r,f,m,a):n.outDefault.call(r,f,m,a)},outDefault:function(t,a,r){var s=e(this),o=s.data(i).options;s.css({"animation-duration":a+1+"ms"}).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){s.trigger(n.settings.events.outEnd),o.transition(r)})},outOverlay:function(t,a,r){var s=e(this),o=s.data(i).options,l=s.data(n.settings.data.inClass),d=n.animationCheck.call(this,l,!0,!0);e(o.overlayParentElement).children("."+o.overlayClass).css({"animation-duration":a+1+"ms"}).removeClass(d).addClass(t).trigger(n.settings.events.outStart).animateCallback(function(){s.trigger(n.settings.events.outEnd),o.transition(r)})},destroy:function(){return this.each(function(){var t=e(this);e(window).off("."+i),t.css({opacity:1}).removeData(i)})}};e.fn.animateCallback=function(t){var i="animationend webkitAnimationEnd";return this.each(function(){var n=e(this);n.on(i,function(){return n.off(i),t.call(this)})})},e.fn.animsition=function(t){return n[t]?n[t].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof t&&t?void e.error("Method "+t+" does not exist on jQuery."+i):n.init.apply(this,arguments)}}),window.SEMICOLON_pageTransitionInit=function(e){let t=$("body"),i=$("#wrapper");if(t.hasClass("no-transition"))return!0;if(!t.hasClass("page-transition"))return!0;if(!$().animsition)return t.addClass("no-transition"),console.log("pageTransition: Animsition not Defined."),!0;window.onpageshow=function(e){e.persisted&&window.location.reload()};let n=t.attr("data-animation-in")||"fadeIn",a=t.attr("data-animation-out")||"fadeOut",r=t.attr("data-speed-in")||1500,s=t.attr("data-speed-out")||800,o=!1,l=t.attr("data-loader-timeout"),d=t.attr("data-loader"),c=t.attr("data-loader-color"),u=t.attr("data-loader-html")||'
    ',h="",p="",f="",m="",g="",v="",y="";l?(o=!0,l=Number(l)):(o=!1,l=!1),c&&("theme"==c?(m=" bg-color",g=" border-color",v=' class="bg-color"',y=' class="border-color"'):(p=' style="background-color:'+c+';"',f=' style="border-color:'+c+';"'),h='
    "),"2"==d?h='
    ":"3"==d?h='
    ":"4"==d?h='
    ":"5"==d?h='
    ":"6"==d?h='
    ":"7"==d?h='
    ":"8"==d?h='
    ":"9"==d?h='
    ":"10"==d?h='
    ":"11"==d?h='
    ":"12"==d?h='
    ":"13"==d?h='
    ":"14"==d&&(h='
    "),u||(u=h),u='
    '+u+"
    ",i.css({opacity:1}),i.animsition({inClass:n,outClass:a,inDuration:Number(r),outDuration:Number(s),linkElement:'body:not(.device-md):not(.device-sm):not(.device-xs) .primary-menu:not(.on-click) .menu-link:not([target="_blank"]):not([href*="#"]):not([data-lightbox]):not([href^="mailto"]):not([href^="tel"]):not([href^="sms"]):not([href^="call"])',loading:!0,loadingParentElement:"body",loadingClass:"page-transition-wrap",loadingInner:u,timeout:o,timeoutCountdown:l,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body"})},function(e,t,i){"use strict";function n(i){if(a=t.documentElement,r=t.body,R(),ne=this,le=(i=i||{}).constants||{},i.easing)for(var n in i.easing)q[n]=i.easing[n];me=i.edgeStrategy||"set",se={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},(oe=!1!==i.forceHeight)&&(je=i.scale||1),de=i.mobileDeceleration||C,ue=!1!==i.smoothScrolling,he=i.smoothScrollingDuration||S,pe={targetTop:ne.getScrollTop()},(Be=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||e.opera)})())?((re=t.getElementById(i.skrollrBody||x))&&ie(),W(),Ee(a,[y,T],[b])):Ee(a,[y,w],[b]),ne.refresh(),ye(e,"resize orientationchange",function(){var e=a.clientWidth,t=a.clientHeight;(t!==De||e!==Ye)&&(De=t,Ye=e,Ne=!0)});var s=F();return function e(){U(),ve=s(e)}(),ne}var a,r,s={get:function(){return ne},init:function(e){return ne||new n(e)},VERSION:"0.6.29"},o=Object.prototype.hasOwnProperty,l=e.Math,d=e.getComputedStyle,c="touchstart",u="touchmove",h="touchcancel",p="touchend",f="skrollable",m=f+"-before",g=f+"-between",v=f+"-after",y="skrollr",b="no-"+y,w=y+"-desktop",T=y+"-mobile",_="linear",C=.004,x="skrollr-body",S=200,E="center",P="bottom",k="___skrollable_id",I=/^(?:input|textarea|button|select)$/i,M=/^\s+|\s+$/g,O=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,j=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,L=/^(@?[a-z\-]+)\[(\w+)\]$/,z=/-([a-z0-9_])/g,A=function(e,t){return t.toUpperCase()},Y=/[\-+]?[\d]*\.?[\d]+/g,D=/\{\?\}/g,N=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,$=/[a-z\-]+-gradient/g,B="",Q="",R=function(){var e=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(d){var t=d(r,null);for(var i in t)if(B=i.match(e)||+i==i&&t[i].match(e))break;if(!B)return void(B=Q="");"-"===(B=B[0]).slice(0,1)?(Q=B,B={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[B]):Q="-"+B.toLowerCase()+"-"}},F=function(){var t=e.requestAnimationFrame||e[B.toLowerCase()+"RequestAnimationFrame"],i=Ie();return(Be||!t)&&(t=function(t){var n=Ie()-i,a=l.max(0,1e3/60-n);return e.setTimeout(function(){i=Ie(),t()},a)}),t},H=function(){var t=e.cancelAnimationFrame||e[B.toLowerCase()+"CancelAnimationFrame"];return(Be||!t)&&(t=function(t){return e.clearTimeout(t)}),t},q={begin:function(){return 0},end:function(){return 1},linear:function(e){return e},quadratic:function(e){return e*e},cubic:function(e){return e*e*e},swing:function(e){return-l.cos(e*l.PI)/2+.5},sqrt:function(e){return l.sqrt(e)},outCubic:function(e){return l.pow(e-1,3)+1},bounce:function(e){var t;if(.5083>=e)t=3;else if(.8489>=e)t=9;else if(.96208>=e)t=27;else{if(!(.99981>=e))return 1;t=91}return 1-l.abs(3*l.cos(e*t*1.028)/t)}};n.prototype.refresh=function(e){var n,a,r=!1;for(e===i?(r=!0,ae=[],$e=0,e=t.getElementsByTagName("*")):e.length===i&&(e=[e]),n=0,a=e.length;a>n;n++){var s=e[n],o=s,l=[],d=ue,c=me,u=!1;if(r&&k in s&&delete s[k],s.attributes){for(var h=0,p=s.attributes.length;p>h;h++){var m=s.attributes[h];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var g=m.name.match(O);if(null!==g){var v={props:m.value,element:s,eventType:m.name.replace(z,A)};l.push(v);var y=g[1];y&&(v.constant=y.substr(1));var b=g[2];/p$/.test(b)?(v.isPercentage=!0,v.offset=(0|b.slice(0,-1))/100):v.offset=0|b;var w=g[3],T=g[4]||w;w&&"start"!==w&&"end"!==w?(v.mode="relative",v.anchors=[w,T]):(v.mode="absolute","end"===w?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*je))}}else u=!0;else c=m.value;else d="off"!==m.value;else if(null===(o=t.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}var _,C,x;if(l.length)!r&&k in s?(x=s[k],_=ae[x].styleAttr,C=ae[x].classAttr):(x=s[k]=$e++,_=s.style.cssText,C=Se(s)),ae[x]={element:s,styleAttr:_,classAttr:C,anchorTarget:o,keyFrames:l,smoothScrolling:d,edgeStrategy:c,emitEvents:u,lastFrameIndex:-1},Ee(s,[f],[])}}for(_e(),n=0,a=e.length;a>n;n++){var S=ae[e[n][k]];S!==i&&(G(S),K(S))}return ne},n.prototype.relativeToAbsolute=function(e,t,i){var n=a.clientHeight,r=e.getBoundingClientRect(),s=r.top,o=r.bottom-r.top;return t===P?s-=n:t===E&&(s-=n/2),i===P?s+=o:i===E&&(s+=o/2),(s+=ne.getScrollTop())+.5|0},n.prototype.animateTo=function(e,t){t=t||{};var n=Ie(),a=ne.getScrollTop(),r=t.duration===i?1e3:t.duration;return(ce={startTop:a,topDiff:e-a,targetTop:e,duration:r,startTime:n,endTime:n+r,easing:q[t.easing||_],done:t.done}).topDiff||(ce.done&&ce.done.call(ne,!1),ce=i),ne},n.prototype.stopAnimateTo=function(){ce&&ce.done&&ce.done.call(ne,!0),ce=i},n.prototype.isAnimatingTo=function(){return!!ce},n.prototype.isMobile=function(){return Be},n.prototype.setScrollTop=function(t,i){return fe=!0===i,Be?Qe=l.min(l.max(t,0),Oe):e.scrollTo(0,t),ne},n.prototype.getScrollTop=function(){return Be?Qe:e.pageYOffset||a.scrollTop||r.scrollTop||0},n.prototype.getMaxScrollTop=function(){return Oe},n.prototype.on=function(e,t){return se[e]=t,ne},n.prototype.off=function(e){return delete se[e],ne},n.prototype.destroy=function(){H()(ve),we(),Ee(a,[b],[y,w,T]);for(var e=0,t=ae.length;t>e;e++)te(ae[e].element);a.style.overflow=r.style.overflow="",a.style.height=r.style.height="",re&&s.setStyle(re,"transform","none"),ne=i,re=i,se=i,oe=i,Oe=0,je=1,le=i,de=i,Le="down",ze=-1,Ye=0,De=0,Ne=!1,ce=i,ue=i,he=i,pe=i,fe=i,$e=0,me=i,Be=!1,Qe=0,ge=i};var W=function(){var n,s,o,d,f,m,g,v,y,b,w;ye(a,[c,u,h,p].join(" "),function(e){var a=e.changedTouches[0];for(d=e.target;3===d.nodeType;)d=d.parentNode;switch(f=a.clientY,m=a.clientX,y=e.timeStamp,I.test(d.tagName)||e.preventDefault(),e.type){case c:n&&n.blur(),ne.stopAnimateTo(),n=d,s=g=f,o=m,y;break;case u:I.test(d.tagName)&&t.activeElement!==d&&e.preventDefault(),v=f-g,w=y-b,ne.setScrollTop(Qe-v,!0),g=f,b=y;break;default:case h:case p:var r=s-f,T=o-m;if(49>T*T+r*r){if(!I.test(n.tagName)){n.focus();var _=t.createEvent("MouseEvents");_.initMouseEvent("click",!0,!0,e.view,1,a.screenX,a.screenY,a.clientX,a.clientY,e.ctrlKey,e.altKey,e.shiftKey,e.metaKey,0,null),n.dispatchEvent(_)}return}n=i;var C=v/w;C=l.max(l.min(C,3),-3);var x=l.abs(C/de),S=C*x+.5*de*x*x,E=ne.getScrollTop()-S,P=0;E>Oe?(P=(Oe-E)/S,E=Oe):0>E&&(P=-E/S,E=0),x*=1-P,ne.animateTo(E+.5|0,{easing:"outCubic",duration:x})}}),e.scrollTo(0,0),a.style.overflow=r.style.overflow="hidden"},V=function(e,t){for(var i=0,n=ae.length;n>i;i++){var a,r,l=ae[i],d=l.element,c=l.smoothScrolling?e:t,u=l.keyFrames,h=u.length,p=u[0],y=u[u.length-1],b=cy.frame,T=b?p:y,_=l.emitEvents,C=l.lastFrameIndex;if(b||w){if(b&&-1===l.edge||w&&1===l.edge)continue;switch(b?(Ee(d,[m],[v,g]),_&&C>-1&&(Te(d,p.eventType,Le),l.lastFrameIndex=-1)):(Ee(d,[v],[m,g]),_&&h>C&&(Te(d,y.eventType,Le),l.lastFrameIndex=h)),l.edge=b?-1:1,l.edgeStrategy){case"reset":te(d);continue;case"ease":c=T.frame;break;default:case"set":var x=T.props;for(a in x)o.call(x,a)&&(r=ee(x[a].value),0===a.indexOf("@")?d.setAttribute(a.substr(1),r):s.setStyle(d,a,r));continue}}else 0!==l.edge&&(Ee(d,[f,g],[m,v]),l.edge=0);for(var S=0;h-1>S;S++)if(c>=u[S].frame&&c<=u[S+1].frame){var E=u[S],P=u[S+1];for(a in E.props)if(o.call(E.props,a)){var k=(c-E.frame)/(P.frame-E.frame);k=E.props[a].easing(k),r=Z(E.props[a].value,P.props[a].value,k),r=ee(r),0===a.indexOf("@")?d.setAttribute(a.substr(1),r):s.setStyle(d,a,r)}_&&C!==S&&(Te(d,"down"===Le?E.eventType:P.eventType,Le),l.lastFrameIndex=S);break}}},U=function(){Ne&&(Ne=!1,_e());var e,t,n=ne.getScrollTop(),a=Ie();if(ce)a>=ce.endTime?(n=ce.targetTop,e=ce.done,ce=i):(t=ce.easing((a-ce.startTime)/ce.duration),n=ce.startTop+t*ce.topDiff|0),ne.setScrollTop(n,!0);else if(!fe){pe.targetTop-n&&(pe={startTop:ze,topDiff:n-ze,targetTop:n,startTime:Ae,endTime:Ae+he}),a<=pe.endTime&&(t=q.sqrt((a-pe.startTime)/he),n=pe.startTop+t*pe.topDiff|0)}if(fe||ze!==n){fe=!1;var r={curTop:n,lastTop:ze,maxTop:Oe,direction:Le=n>ze?"down":ze>n?"up":Le};!1!==(se.beforerender&&se.beforerender.call(ne,r))&&(V(n,ne.getScrollTop()),Be&&re&&s.setStyle(re,"transform","translate(0, "+-Qe+"px) "+ge),ze=n,se.render&&se.render.call(ne,r)),e&&e.call(ne,!1)}Ae=a},G=function(e){for(var t=0,i=e.keyFrames.length;i>t;t++){for(var n,a,r,s,o=e.keyFrames[t],l={};null!==(s=j.exec(o.props));)r=s[1],a=s[2],null!==(n=r.match(L))?(r=n[1],n=n[2]):n=_,a=a.indexOf("!")?X(a):[a.slice(1)],l[r]={value:a,easing:q[n]};o.props=l}},X=function(e){var t=[];return N.lastIndex=0,e=e.replace(N,function(e){return e.replace(Y,function(e){return e/255*100+"%"})}),Q&&($.lastIndex=0,e=e.replace($,function(e){return Q+e})),e=e.replace(Y,function(e){return t.push(+e),"{?}"}),t.unshift(e),t},K=function(e){var t,i,n={};for(t=0,i=e.keyFrames.length;i>t;t++)J(e.keyFrames[t],n);for(n={},t=e.keyFrames.length-1;t>=0;t--)J(e.keyFrames[t],n)},J=function(e,t){var i;for(i in t)o.call(e.props,i)||(e.props[i]=t[i]);for(i in e.props)t[i]=e.props[i]},Z=function(e,t,i){var n,a=e.length;if(a!==t.length)throw"Can't interpolate between \""+e[0]+'" and "'+t[0]+'"';var r=[e[0]];for(n=1;a>n;n++)r[n]=e[n]+(t[n]-e[n])*i;return r},ee=function(e){var t=1;return D.lastIndex=0,e[0].replace(D,function(){return e[t++]})},te=function(e,t){for(var i,n,a=0,r=(e=[].concat(e)).length;r>a;a++)n=e[a],(i=ae[n[k]])&&(t?(n.style.cssText=i.dirtyStyleAttr,Ee(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Se(n),n.style.cssText=i.styleAttr,Ee(n,i.classAttr)))},ie=function(){ge="translateZ(0)",s.setStyle(re,"transform",ge);var e=d(re),t=e.getPropertyValue("transform"),i=e.getPropertyValue(Q+"transform");t&&"none"!==t||i&&"none"!==i||(ge="")};s.setStyle=function(e,t,i){var n=e.style;if("zIndex"===(t=t.replace(z,A).replace("-","")))isNaN(i)?n[t]=i:n[t]=""+(0|i);else if("float"===t)n.styleFloat=n.cssFloat=i;else try{B&&(n[B+t.slice(0,1).toUpperCase()+t.slice(1)]=i),n[t]=i}catch(e){}};var ne,ae,re,se,oe,le,de,ce,ue,he,pe,fe,me,ge,ve,ye=s.addEvent=function(t,i,n){for(var a,r=function(t){return(t=t||e.event).target||(t.target=t.srcElement),t.preventDefault||(t.preventDefault=function(){t.returnValue=!1,t.defaultPrevented=!0}),n.call(this,t)},s=0,o=(i=i.split(" ")).length;o>s;s++)a=i[s],t.addEventListener?t.addEventListener(a,n,!1):t.attachEvent("on"+a,r),Re.push({element:t,name:a,listener:n})},be=s.removeEvent=function(e,t,i){for(var n=0,a=(t=t.split(" ")).length;a>n;n++)e.removeEventListener?e.removeEventListener(t[n],i,!1):e.detachEvent("on"+t[n],i)},we=function(){for(var e,t=0,i=Re.length;i>t;t++)e=Re[t],be(e.element,e.name,e.listener);Re=[]},Te=function(e,t,i){se.keyframe&&se.keyframe.call(ne,e,t,i)},_e=function(){var e=ne.getScrollTop();Oe=0,oe&&!Be&&(r.style.height=""),function(){var e,t,i,n,r,s,o,d,c,u,h,p=a.clientHeight,f=Ce();for(d=0,c=ae.length;c>d;d++)for(t=(e=ae[d]).element,i=e.anchorTarget,r=0,s=(n=e.keyFrames).length;s>r;r++)u=(o=n[r]).offset,h=f[o.constant]||0,o.frame=u,o.isPercentage&&(u*=p,o.frame=u),"relative"===o.mode&&(te(t),o.frame=ne.relativeToAbsolute(i,o.anchors[0],o.anchors[1])-u,te(t,!0)),o.frame+=h,oe&&!o.isEnd&&o.frame>Oe&&(Oe=o.frame);for(Oe=l.max(Oe,xe()),d=0,c=ae.length;c>d;d++){for(r=0,s=(n=(e=ae[d]).keyFrames).length;s>r;r++)h=f[(o=n[r]).constant]||0,o.isEnd&&(o.frame=Oe-o.offset+h);e.keyFrames.sort(Me)}}(),oe&&!Be&&(r.style.height=Oe+a.clientHeight+"px"),Be?ne.setScrollTop(l.min(ne.getScrollTop(),Oe)):ne.setScrollTop(e,!0),fe=!0},Ce=function(){var e,t,i=a.clientHeight,n={};for(e in le)"function"==typeof(t=le[e])?t=t.call(ne):/p$/.test(t)&&(t=t.slice(0,-1)/100*i),n[e]=t;return n},xe=function(){var e=0;return re&&(e=l.max(re.offsetHeight,re.scrollHeight)),l.max(e,r.scrollHeight,r.offsetHeight,a.scrollHeight,a.offsetHeight,a.clientHeight)-a.clientHeight},Se=function(t){var i="className";return e.SVGElement&&t instanceof e.SVGElement&&(t=t[i],i="baseVal"),t[i]},Ee=function(t,n,a){var r="className";if(e.SVGElement&&t instanceof e.SVGElement&&(t=t[r],r="baseVal"),a!==i){for(var s=t[r],o=0,l=a.length;l>o;o++)s=ke(s).replace(ke(a[o])," ");s=Pe(s);for(var d=0,c=n.length;c>d;d++)-1===ke(s).indexOf(ke(n[d]))&&(s+=" "+n[d]);t[r]=Pe(s)}else t[r]=n},Pe=function(e){return e.replace(M,"")},ke=function(e){return" "+e+" "},Ie=Date.now||function(){return+new Date},Me=function(e,t){return e.frame-t.frame},Oe=0,je=1,Le="down",ze=-1,Ae=Ie(),Ye=0,De=0,Ne=!1,$e=0,Be=!1,Qe=0,Re=[];"function"==typeof define&&define.amd?define([],function(){return s}):"undefined"!=typeof module&&module.exports?module.exports=s:e.skrollr=s}(window,document),window.SEMICOLON_parallaxInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;SEMICOLON.isMobile.any()?e.addClass("mobile-parallax"):window.skrollrInstance=skrollr.init({forceHeight:!1})},function(e,t){"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e)}):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(0,function(e){var t=function(e,t){var i,n=document.createElement("canvas");e.appendChild(n),"object"==typeof G_vmlCanvasManager&&G_vmlCanvasManager.initElement(n);var a=n.getContext("2d");n.width=n.height=t.size;var r=1;window.devicePixelRatio>1&&(r=window.devicePixelRatio,n.style.width=n.style.height=[t.size,"px"].join(""),n.width=n.height=t.size*r,a.scale(r,r)),a.translate(t.size/2,t.size/2),a.rotate((t.rotate/180-.5)*Math.PI);var s=(t.size-t.lineWidth)/2;t.scaleColor&&t.scaleLength&&(s-=t.scaleLength+2),Date.now=Date.now||function(){return+new Date};var o=function(e,t,i){var n=0>=(i=Math.min(Math.max(-1,i||0),1));a.beginPath(),a.arc(0,0,s,0,2*Math.PI*i,n),a.strokeStyle=e,a.lineWidth=t,a.stroke()},l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)},d=function(){t.scaleColor&&function(){var e,i;a.lineWidth=1,a.fillStyle=t.scaleColor,a.save();for(var n=24;n>0;--n)n%6==0?(i=t.scaleLength,e=0):(i=.6*t.scaleLength,e=t.scaleLength-i),a.fillRect(-t.size/2+e,0,i,1),a.rotate(Math.PI/12);a.restore()}(),t.trackColor&&o(t.trackColor,t.trackWidth||t.lineWidth,1)};this.getCanvas=function(){return n},this.getCtx=function(){return a},this.clear=function(){a.clearRect(t.size/-2,t.size/-2,t.size,t.size)},this.draw=function(e){var n;t.scaleColor||t.trackColor?a.getImageData&&a.putImageData?i?a.putImageData(i,0,0):(d(),i=a.getImageData(0,0,t.size*r,t.size*r)):(this.clear(),d()):this.clear(),a.lineCap=t.lineCap,n="function"==typeof t.barColor?t.barColor(e):t.barColor,o(n,t.lineWidth,e/100)}.bind(this),this.animate=function(e,i){var n=Date.now();t.onStart(e,i);var a=function(){var r=Math.min(Date.now()-n,t.animate.duration),s=t.easing(this,r,e,i-e,t.animate.duration);this.draw(s),t.onStep(e,i,s),r>=t.animate.duration?t.onStop(e,i):l(a)}.bind(this);l(a)}.bind(this)},i=function(e,i){var n={barColor:"#ef1e25",trackColor:"#f9f9f9",scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,trackWidth:void 0,size:110,rotate:0,animate:{duration:1e3,enabled:!0},easing:function(e,t,i,n,a){return 1>(t/=a/2)?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},onStart:function(e,t){},onStep:function(e,t,i){},onStop:function(e,t){}};if(void 0!==t)n.renderer=t;else{if("undefined"==typeof SVGRenderer)throw new Error("Please load either the SVG- or the CanvasRenderer");n.renderer=SVGRenderer}var a={},r=0,s=function(){for(var t in this.el=e,this.options=a,n)n.hasOwnProperty(t)&&(a[t]=i&&void 0!==i[t]?i[t]:n[t],"function"==typeof a[t]&&(a[t]=a[t].bind(this)));"string"==typeof a.easing&&"undefined"!=typeof jQuery&&jQuery.isFunction(jQuery.easing[a.easing])?a.easing=jQuery.easing[a.easing]:a.easing=n.easing,"number"==typeof a.animate&&(a.animate={duration:a.animate,enabled:!0}),"boolean"!=typeof a.animate||a.animate||(a.animate={duration:1e3,enabled:a.animate}),this.renderer=new a.renderer(e,a),this.renderer.draw(r),e.dataset&&e.dataset.percent?this.update(parseFloat(e.dataset.percent)):e.getAttribute&&e.getAttribute("data-percent")&&this.update(parseFloat(e.getAttribute("data-percent")))}.bind(this);this.update=function(e){return e=parseFloat(e),a.animate.enabled?this.renderer.animate(r,e):this.renderer.draw(e),r=e,this}.bind(this),this.disableAnimation=function(){return a.animate.enabled=!1,this},this.enableAnimation=function(){return a.animate.enabled=!0,this},s()};e.fn.easyPieChart=function(t){return this.each(function(){var n;e.data(this,"easyPieChart")||(n=e.extend({},t,e(this).data()),e.data(this,"easyPieChart",new i(this,n)))})}}),window.SEMICOLON_roundedSkillInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-size")||140,i=e.attr("data-speed")||2e3,n=e.attr("data-width")||4,a=e.attr("data-color")||"#0093BF",r=e.attr("data-trackcolor")||"rgba(0,0,0,0.04)",s={size:Number(t),speed:Number(i),width:Number(n),color:a,trackcolor:r};if(e.css({width:t+"px",height:t+"px","line-height":t+"px"}),$("body").hasClass("device-xl")||$("body").hasClass("device-lg")){e.animate({opacity:0},10),new IntersectionObserver(function(t,i){t.forEach(function(t){if(t.isIntersecting){if(!e.hasClass("skills-animated")){setTimeout(function(){e.css({opacity:1})},100);SEMICOLON_runRoundedSkills(e,s),e.addClass("skills-animated")}i.unobserve(t.target)}})},{rootMargin:"-50px"}).observe(e[0])}else SEMICOLON_runRoundedSkills(e,s)})},window.SEMICOLON_runRoundedSkills=function(e,t){e.easyPieChart({size:t.size,animate:t.speed,scaleColor:!1,trackColor:t.trackcolor,lineWidth:t.width,lineCap:"square",barColor:t.color})},window.scwPricingSwitcherPlugin=window.scwPricingSwitcherPlugin||{},window.SEMICOLON_pricingSwitcherFn=function(e,t,i,n,a){t.find(".pts-left,.pts-right").removeClass(a).addClass(n),i.find(".pts-switch-content-left,.pts-switch-content-right").addClass("d-none"),e.filter(":checked").length>0?(t.find(".pts-right").removeClass(n).addClass(a),i.find(".pts-switch-content-right").removeClass("d-none")):(t.find(".pts-left").removeClass(n).addClass(a),i.find(".pts-switch-content-left").removeClass("d-none"))},window.SEMICOLON_pricingSwitcherInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){var e=$(this).find(":checkbox"),t=$(this).parents(".pricing-tenure-switcher"),i=$(this).attr("data-default-class")||"text-muted op-05",n=$(this).attr("data-active-class")||"font-weight-bold",a=$(t.attr("data-container"));SEMICOLON_pricingSwitcherFn(e,t,a,i,n),e.on("change",function(){SEMICOLON_pricingSwitcherFn(e,t,a,i,n)})})},window.scwProgressPlugin=window.scwProgressPlugin||{},window.SEMICOLON_progressInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.parent("li"),i=t.attr("data-percent");if(e.parent(".kv-upload-progress").length>0||e.children(".progress-bar").length>0)return!0;new IntersectionObserver(function(n,a){n.forEach(function(n){n.isIntersecting&&(t.hasClass("skills-animated")||(SEMICOLON.widget.counter({el:e.find(".counter-instant")}),t.find(".progress").css({width:i+"%"}).addClass("skills-animated")),a.unobserve(n.target))})},{rootMargin:"-50px"}).observe(t[0])})},window.scwQuantityPlugin=window.scwQuantityPlugin||{},window.SEMICOLON_quantityInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;$(".plus").off("click").on("click",function(){let e=$(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("max");if(n&&Number(t)>=Number(n))return!1;if(/^\d+$/.test(t)){let n=Number(t)+Number(i);e.val(n).change()}else e.val(Number(i)).change();return!1}),$(".minus").off("click").on("click",function(){let e=$(this).parents(".quantity").find(".qty"),t=e.val(),i=e.attr("step")||1,n=e.attr("min");if((!n||n<0)&&(n=1),/^\d+$/.test(t)){if(Number(t)>Number(n)){let n=Number(t)-Number(i);e.val(n).change()}}else e.val(Number(i)).change();return!1})},window.scwReadMorePlugin=window.scwReadMorePlugin||{},window.SEMICOLON_readmoreInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.outerHeight(),i=e.attr("data-readmore-size")||"10rem",n=e.attr("data-readmore-speed")||500,a=e.attr("data-readmore-trigger")||".read-more-trigger",r=e.attr("data-readmore-trigger-open")||"Read More",s=e.attr("data-readmore-trigger-close")||"Read Less";(a=e.find(a)).html(r),n=Number(n),e.addClass("read-more-wrap").css({height:i,"-webkit-transition-duration":n+"ms","transition-duration":n+"ms"}).append('
    ');let o=e.find(".read-more-mask"),l=e.attr("data-readmore-mask")||"true",d=e.attr("data-readmore-maskcolor")||"#FFF",c=e.attr("data-readmore-masksize")||"100%";"true"==l?o.css({height:c,"background-image":"linear-gradient( "+SEMICOLON_HEXtoRGBA(d,0)+", "+SEMICOLON_HEXtoRGBA(d,1)+" )"}):o.addClass("d-none"),a.off("click").on("click",function(){if(e.hasClass("read-more-wrap-open"))e.css({height:i}).removeClass("read-more-wrap-open"),setTimeout(function(){a.html(r)},n),"true"==l&&o.fadeIn(n);else{"false"==s&&a.remove();let i=t+a.outerHeight();e.css({height:i,overflow:""}).addClass("read-more-wrap-open"),setTimeout(function(){a.html(s)},n),"true"==l&&o.fadeOut(n)}return!1})})},window.SEMICOLON_HEXtoRGBA=function(e,t){let i;if(/^#([A-Fa-f0-9]{3}){1,2}$/.test(e))return 3==(i=e.substring(1).split("")).length&&(i=[i[0],i[0],i[1],i[1],i[2],i[2]]),"rgba("+[(i="0x"+i.join(""))>>16&255,i>>8&255,255&i].join(",")+","+t+")";console.log("Bad Hex")},window.scwShapeDividerPlugin=window.scwShapeDividerPlugin||{},window.SEMICOLON_shapeDividerInit=function(e){if(e.length<1)return!0;e.each(function(){let e,t,i,n=$(this),a=n.attr("data-shape")||"valley",r=n.attr("data-width")||100,s=n.attr("data-height")||100,o=n.attr("data-fill"),l=n.attr("data-outside")||"false",d=n.attr("data-position")||"top",c="shape-divider-"+Math.floor(1e4*Math.random()),u="",h="";r<100&&(r=100),e="width: calc( "+Number(r)+"% + 1.5px );",t="height: "+Number(s)+"px;",i="fill: "+o+";","true"==l&&(h="bottom"==d?"#"+c+".shape-divider { bottom: -"+(Number(s)-1)+"px; } ":"#"+c+".shape-divider { top: -"+(Number(s)-1)+"px; } ");let p=h+"#"+c+".shape-divider svg { "+e+t+" } #"+c+".shape-divider .shape-divider-fill { "+i+" }",f=document.head||document.getElementsByTagName("head")[0],m=document.createElement("style");switch(f.appendChild(m),m.type="text/css",m.appendChild(document.createTextNode(p)),n.attr("id",c),a){case"valley":u='';break;case"valley-2":u='';break;case"valley-3":u='';break;case"mountain":u='';break;case"mountain-2":u='';break;case"mountain-3":u='';break;case"mountain-4":u='';break;case"mountain-5":u='';break;case"mountains":u='';break;case"mountains-2":u='';break;case"mountains-3":u='';break;case"mountains-4":u='';break;case"plataeu":u='';break;case"plataeu-2":u='';break;case"hills":u='';break;case"hills-2":u='';break;case"hills-3":u='';break;case"hills-4":u='';break;case"cloud":u='';break;case"cloud-2":u='';break;case"cloud-3":u='';break;case"wave":u='';break;case"wave-2":u='';break;case"wave-3":u='';break;case"wave-4":u='';break;case"wave-5":u='';break;case"wave-6":u='';break;case"slant":u='';break;case"slant-2":u='';break;case"slant-3":u='';break;case"rounded":u='';break;case"rounded-2":u='';break;case"rounded-3":u='';break;case"rounded-4":u='';break;case"rounded-5":u='';break;case"triangle":u='';break;case"drops":u='';break;case"cliff":u='';break;case"zigzag":u='';break;case"illusion":u='';break;default:u=""}n.html(u),n.find("svg").addClass("op-ts"),setTimeout(function(){n.find("svg").addClass("op-1")},500)})},function(e){e.fn.scwStickySidebar=function(t){function i(t,i){return!0===t.initialized||!(e("body").width().scwStickySidebar:after {content: ""; display: table; clear: both;}')),i.each(function(){function i(){a.fixedScrollTop=0,a.sidebar.css({"min-height":"1px"}),a.stickySidebar.css({position:"static",width:"",transform:"none"})}var a={};if(a.sidebar=e(this),a.options=t||{},a.container=e(a.options.containerSelector),0==a.container.length&&(a.container=a.sidebar.parent()),a.sidebar.parents().css("-webkit-transform","none"),a.sidebar.css({position:a.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),a.stickySidebar=a.sidebar.find(".scwStickySidebar"),0==a.stickySidebar.length){var r=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i;a.sidebar.find("script").filter(function(e,t){return 0===t.type.length||t.type.match(r)}).remove(),a.stickySidebar=e("
    ").addClass("scwStickySidebar").append(a.sidebar.children()),a.sidebar.append(a.stickySidebar)}a.marginBottom=parseInt(a.sidebar.css("margin-bottom")),a.paddingTop=parseInt(a.sidebar.css("padding-top")),a.paddingBottom=parseInt(a.sidebar.css("padding-bottom"));var s=a.stickySidebar.offset().top,o=a.stickySidebar.outerHeight();a.stickySidebar.css("padding-top",1),a.stickySidebar.css("padding-bottom",1),s-=a.stickySidebar.offset().top,o=a.stickySidebar.outerHeight()-o-s,0==s?(a.stickySidebar.css("padding-top",0),a.stickySidebarPaddingTop=0):a.stickySidebarPaddingTop=1,0==o?(a.stickySidebar.css("padding-bottom",0),a.stickySidebarPaddingBottom=0):a.stickySidebarPaddingBottom=1,a.previousScrollTop=null,a.fixedScrollTop=0,i(),a.onScroll=function(a){if(a.stickySidebar.is(":visible")){if(e("body").width()a.container.width())return void i()}var s=e(document).scrollTop(),o="static";if(s>=a.sidebar.offset().top+(a.paddingTop-a.options.additionalMarginTop)){var l,d=a.paddingTop+t.additionalMarginTop,c=a.paddingBottom+a.marginBottom+t.additionalMarginBottom,u=a.sidebar.offset().top,h=a.sidebar.offset().top+function(t){var i=t.height();return t.children().each(function(){i=Math.max(i,e(this).height())}),i}(a.container),p=0+t.additionalMarginTop,f=a.stickySidebar.outerHeight()+d+c0?Math.min(v,p):Math.max(v,l-a.stickySidebar.outerHeight()),v=Math.max(v,m),v=Math.min(v,g-a.stickySidebar.outerHeight());var b=a.container.height()==a.stickySidebar.outerHeight();o=!b&&v==p||!b&&v==l-a.stickySidebar.outerHeight()?"fixed":s+v-a.sidebar.offset().top-a.paddingTop<=t.additionalMarginTop?"static":"absolute"}if("fixed"==o){var w=e(document).scrollLeft();a.stickySidebar.css({position:"fixed",width:n(a.stickySidebar)+"px",transform:"translateY("+v+"px)",left:a.sidebar.offset().left+parseInt(a.sidebar.css("padding-left"))-w+"px",top:"0px"})}else if("absolute"==o){var T={};"absolute"!=a.stickySidebar.css("position")&&(T.position="absolute",T.transform="translateY("+(s+v-a.sidebar.offset().top-a.stickySidebarPaddingTop-a.stickySidebarPaddingBottom)+"px)",T.top="0px"),T.width=n(a.stickySidebar)+"px",T.left="",a.stickySidebar.css(T)}else"static"==o&&i();"static"!=o&&1==a.options.updateSidebarHeight&&a.sidebar.css({"min-height":a.stickySidebar.outerHeight()+a.stickySidebar.offset().top-a.sidebar.offset().top+a.paddingBottom}),a.previousScrollTop=s}},a.onScroll(a),e(document).on("scroll."+a.options.namespace,function(e){return function(){e.onScroll(e)}}(a)),e(window).on("resize."+a.options.namespace,function(e){return function(){e.stickySidebar.css({position:"static"}),e.onScroll(e)}}(a)),"undefined"!=typeof ResizeSensor&&new ResizeSensor(a.stickySidebar[0],function(e){return function(){e.onScroll(e)}}(a))})}(t,i),!0)}function n(e){var t;try{t=e[0].getBoundingClientRect().width}catch(e){}return void 0===t&&(t=e.width()),t}return(t=e.extend({containerSelector:"",additionalMarginTop:0,additionalMarginBottom:0,updateSidebarHeight:!0,minWidth:0,disableOnResponsiveLayouts:!0,sidebarBehavior:"modern",defaultPosition:"relative",namespace:"TSS"},t)).additionalMarginTop=parseInt(t.additionalMarginTop)||0,t.additionalMarginBottom=parseInt(t.additionalMarginBottom)||0,function(t,n){i(t,n)||(console.log("TSS: Body width smaller than options.minWidth. Init is delayed."),e(document).on("scroll."+t.namespace,function(t,n){return function(a){i(t,n)&&e(this).unbind(a)}}(t,n)),e(window).on("resize."+t.namespace,function(t,n){return function(a){i(t,n)&&e(this).unbind(a)}}(t,n)))}(t,this),this}}(jQuery),function(){var e=function(t,i){function n(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e
    ',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[function(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}(e,"position")]||(e.style.position="relative");var r,s,o=e.resizeSensor.childNodes[0],l=o.childNodes[0],d=e.resizeSensor.childNodes[1],c=(d.childNodes[0],function(){l.style.width=o.offsetWidth+10+"px",l.style.height=o.offsetHeight+10+"px",o.scrollLeft=o.scrollWidth,o.scrollTop=o.scrollHeight,d.scrollLeft=d.scrollWidth,d.scrollTop=d.scrollHeight,r=e.offsetWidth,s=e.offsetHeight});c();var u=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},h=function(){e.offsetWidth==r&&e.offsetHeight==s||e.resizedAttached&&e.resizedAttached.call(),c()};u(o,"scroll",h),u(d,"scroll",h)}var r=Object.prototype.toString.call(t),s="[object Array]"===r||"[object NodeList]"===r||"[object HTMLCollection]"===r||"undefined"!=typeof jQuery&&t instanceof jQuery||"undefined"!=typeof Elements&&t instanceof Elements;if(s)for(var o=0,l=t.length;o')):$(n).find(".icon-email2").removeClass("icon-email2").addClass("icon-line-loader icon-spin"),$(n).ajaxSubmit({target:s,dataType:"json",resetForm:!0,success:function(l){if("button"==r?e.html(t):$(n).find(".icon-line-loader").removeClass("icon-line-loader icon-spin").addClass("icon-email2"),"error"!=l.alert&&o)return window.location.replace(o),!0;"inline"==a?(i="error"==l.alert?"alert-danger":"alert-success",s.addClass("alert "+i).html(l.message).slideDown(400)):(s.attr("data-notify-type",l.alert).attr("data-notify-msg",l.message).html(""),SEMICOLON.widget.notifications({el:s}))}})}})})},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,t){for(var i=0;i0&&n(e[a],t[a])})}var a={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){var e="undefined"!=typeof document?document:{};return n(e,a),e}var s={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function o(){var e="undefined"!=typeof window?window:{};return n(e,s),e}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e,t,i){return(c=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}}()?Reflect.construct:function(e,t,i){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return i&&d(a,i.prototype),a}).apply(null,arguments)}function u(e){var t="function"==typeof Map?new Map:void 0;return(u=function(e){if(null===e||(i=e,-1===Function.toString.call(i).indexOf("[native code]")))return e;var i;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return c(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),d(n,e)})(e)}var h=function(e){var t,i;function n(t){var i,n,a;return n=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i=e.call.apply(e,[this].concat(t))||this),a=n.__proto__,Object.defineProperty(n,"__proto__",{get:function(){return a},set:function(e){a.__proto__=e}}),i}return i=e,(t=n).prototype=Object.create(i.prototype),t.prototype.constructor=t,t.__proto__=i,n}(u(Array));function p(e){void 0===e&&(e=[]);var t=[];return e.forEach(function(e){Array.isArray(e)?t.push.apply(t,p(e)):t.push(e)}),t}function f(e,t){return Array.prototype.filter.call(e,t)}function m(e,t){var i=o(),n=r(),a=[];if(!t&&e instanceof h)return e;if(!e)return new h(a);if("string"==typeof e){var s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){var l="div";0===s.indexOf("0}).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),i=0;i=0;p-=1){var f=h[p];r&&f.listener===r||r&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===r?(u.removeEventListener(d,f.proxyListener,s),h.splice(p,1)):r||(u.removeEventListener(d,f.proxyListener,s),h.splice(p,1))}}return this},trigger:function(){for(var e=o(),t=arguments.length,i=new Array(t),n=0;n0}),c.dispatchEvent(u),c.dom7EventData=[],delete c.dom7EventData}}return this},transitionEnd:function(e){var t=this;return e&&t.on("transitionend",function i(n){n.target===this&&(e.call(this,n),t.off("transitionend",i))}),this},outerWidth:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){var e=o();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){var e=o(),t=r(),i=this[0],n=i.getBoundingClientRect(),a=t.body,s=i.clientTop||a.clientTop||0,l=i.clientLeft||a.clientLeft||0,d=i===e?e.scrollY:i.scrollTop,c=i===e?e.scrollX:i.scrollLeft;return{top:n.top+d-s,left:n.left+c-l}}return null},css:function(e,t){var i,n=o();if(1===arguments.length){if("string"!=typeof e){for(i=0;it-1)return m([]);if(e<0){var i=t+e;return m(i<0?[]:[this[i]])}return m([this[e]])},append:function(){for(var e,t=r(),i=0;i=0;i-=1)this[t].insertBefore(a.childNodes[i],this[t].childNodes[0])}else if(e instanceof h)for(i=0;i0?e?this[0].nextElementSibling&&m(this[0].nextElementSibling).is(e)?m([this[0].nextElementSibling]):m([]):this[0].nextElementSibling?m([this[0].nextElementSibling]):m([]):m([])},nextAll:function(e){var t=[],i=this[0];if(!i)return m([]);for(;i.nextElementSibling;){var n=i.nextElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},prev:function(e){if(this.length>0){var t=this[0];return e?t.previousElementSibling&&m(t.previousElementSibling).is(e)?m([t.previousElementSibling]):m([]):t.previousElementSibling?m([t.previousElementSibling]):m([])}return m([])},prevAll:function(e){var t=[],i=this[0];if(!i)return m([]);for(;i.previousElementSibling;){var n=i.previousElementSibling;e?m(n).is(e)&&t.push(n):t.push(n),i=n}return m(t)},parent:function(e){for(var t=[],i=0;i6&&(n=n.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),a=new r.WebKitCSSMatrix("none"===n?"":n)):i=(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(n=r.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=r.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}function C(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object}function x(){for(var e=Object(arguments.length<=0?void 0:arguments[0]),t=1;t=0,observer:"MutationObserver"in e||"WebkitMutationObserver"in e,passiveListener:function(){var t=!1;try{var i=Object.defineProperty({},"passive",{get:function(){t=!0}});e.addEventListener("testPassiveListener",null,i)}catch(e){}return t}(),gestures:"ongesturestart"in e}),g;var e,t}function P(e){return void 0===e&&(e={}),v||(v=function(e){var t=(void 0===e?{}:e).userAgent,i=E(),n=o(),a=n.navigator.platform,r=t||n.navigator.userAgent,s={ios:!1,android:!1},l=n.screen.width,d=n.screen.height,c=r.match(/(Android);?[\s\/]+([\d.]+)?/),u=r.match(/(iPad).*OS\s([\d_]+)/),h=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!u&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===a,m="MacIntel"===a;return!u&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(l+"x"+d)>=0&&((u=r.match(/(Version)\/([\d.]+)/))||(u=[0,1,"13_0_0"]),m=!1),c&&!f&&(s.os="android",s.android=!0),(u||p||h)&&(s.os="ios",s.ios=!0),s}(e)),v}function k(){return y||(t=o(),y={isEdge:!!t.navigator.userAgent.match(/Edge/g),isSafari:(e=t.navigator.userAgent.toLowerCase(),e.indexOf("safari")>=0&&e.indexOf("chrome")<0&&e.indexOf("android")<0),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent)}),y;var e,t}Object.keys(b).forEach(function(e){m.fn[e]=b[e]});var I={name:"resize",create:function(){var e=this;x(e,{resize:{observer:null,createObserver:function(){e&&!e.destroyed&&e.initialized&&(e.resize.observer=new ResizeObserver(function(t){var i=e.width,n=e.height,a=i,r=n;t.forEach(function(t){var i=t.contentBoxSize,n=t.contentRect,s=t.target;s&&s!==e.el||(a=n?n.width:(i[0]||i).inlineSize,r=n?n.height:(i[0]||i).blockSize)}),a===i&&r===n||e.resize.resizeHandler()}),e.resize.observer.observe(e.el))},removeObserver:function(){e.resize.observer&&e.resize.observer.unobserve&&e.el&&(e.resize.observer.unobserve(e.el),e.resize.observer=null)},resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(e){var t=o();e.params.resizeObserver&&void 0!==o().ResizeObserver?e.resize.createObserver():(t.addEventListener("resize",e.resize.resizeHandler),t.addEventListener("orientationchange",e.resize.orientationChangeHandler))},destroy:function(e){var t=o();e.resize.removeObserver(),t.removeEventListener("resize",e.resize.resizeHandler),t.removeEventListener("orientationchange",e.resize.orientationChangeHandler)}}},M={attach:function(e,t){void 0===t&&(t={});var i=o(),n=this,a=new(i.MutationObserver||i.WebkitMutationObserver)(function(e){if(1!==e.length){var t=function(){n.emit("observerUpdate",e[0])};i.requestAnimationFrame?i.requestAnimationFrame(t):i.setTimeout(t,0)}else n.emit("observerUpdate",e[0])});a.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.observer.observers.push(a)},init:function(){var e=this;if(e.support.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i0||a.isTouched&&a.isMoved)))if(!!s.noSwipingClass&&""!==s.noSwipingClass&&d.target&&d.target.shadowRoot&&e.path&&e.path[0]&&(c=m(e.path[0])),s.noSwiping&&c.closest(s.noSwipingSelector?s.noSwipingSelector:"."+s.noSwipingClass)[0])t.allowClick=!0;else if(!s.swipeHandler||c.closest(s.swipeHandler)[0]){l.currentX="touchstart"===d.type?d.targetTouches[0].pageX:d.pageX,l.currentY="touchstart"===d.type?d.targetTouches[0].pageY:d.pageY;var u=l.currentX,h=l.currentY,p=s.edgeSwipeDetection||s.iOSEdgeSwipeDetection,f=s.edgeSwipeThreshold||s.iOSEdgeSwipeThreshold;if(p&&(u<=f||u>=n.innerWidth-f)){if("prevent"!==p)return;e.preventDefault()}if(x(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=u,l.startY=h,a.touchStartTime=T(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,s.threshold>0&&(a.allowThresholdMove=!1),"touchstart"!==d.type){var g=!0;c.is(a.formElements)&&(g=!1),i.activeElement&&m(i.activeElement).is(a.formElements)&&i.activeElement!==c[0]&&i.activeElement.blur();var v=g&&t.allowTouchMove&&s.touchStartPreventDefault;!s.touchStartForcePreventDefault&&!v||c[0].isContentEditable||d.preventDefault()}t.emit("touchStart",d)}}}function L(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var n=e.allowSlideNext,a=e.allowSlidePrev,r=e.snapGrid;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=a,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}}var z=!1;function A(){}var Y={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!1,nested:!1,width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,slidesPerGroupSkip:0,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!1,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,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-container-",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},D={modular:{useParams:function(e){var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i];n.params&&x(e,n.params)})},useModules:function(e){void 0===e&&(e={});var t=this;t.modules&&Object.keys(t.modules).forEach(function(i){var n=t.modules[i],a=e[i]||{};n.on&&t.on&&Object.keys(n.on).forEach(function(e){t.on(e,n.on[e])}),n.create&&n.create.bind(t)(a)})}},eventsEmitter:{on:function(e,t,i){var n=this;if("function"!=typeof t)return n;var a=i?"unshift":"push";return e.split(" ").forEach(function(e){n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][a](t)}),n},once:function(e,t,i){var n=this;if("function"!=typeof t)return n;function a(){n.off(e,a),a.__emitterProxy&&delete a.__emitterProxy;for(var i=arguments.length,r=new Array(i),s=0;s=0&&t.eventsAnyListeners.splice(i,1),t},off:function(e,t){var i=this;return i.eventsListeners?(e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(function(n,a){(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(a,1)})}),i):i},emit:function(){var e,t,i,n=this;if(!n.eventsListeners)return n;for(var a=arguments.length,r=new Array(a),s=0;s=0&&(T=parseFloat(T.replace("%",""))/100*s),e.virtualSize=-T,l?h.css({marginLeft:"",marginTop:""}):h.css({marginRight:"",marginBottom:""}),a.slidesPerColumn>1&&(E=Math.floor(p/a.slidesPerColumn)===p/e.params.slidesPerColumn?p:Math.ceil(p/a.slidesPerColumn)*a.slidesPerColumn,"auto"!==a.slidesPerView&&"row"===a.slidesPerColumnFill&&(E=Math.max(E,a.slidesPerView*a.slidesPerColumn)));for(var k,I,M,O=a.slidesPerColumn,j=E/O,L=Math.floor(p/a.slidesPerColumn),z=0;z1){var Y=void 0,D=void 0,N=void 0;if("row"===a.slidesPerColumnFill&&a.slidesPerGroup>1){var $=Math.floor(z/(a.slidesPerGroup*a.slidesPerColumn)),B=z-a.slidesPerColumn*a.slidesPerGroup*$,Q=0===$?a.slidesPerGroup:Math.min(Math.ceil((p-$*O*a.slidesPerGroup)/O),a.slidesPerGroup);Y=(D=B-(N=Math.floor(B/Q))*Q+$*a.slidesPerGroup)+N*E/O,A.css({"-webkit-box-ordinal-group":Y,"-moz-box-ordinal-group":Y,"-ms-flex-order":Y,"-webkit-order":Y,order:Y})}else"column"===a.slidesPerColumnFill?(N=z-(D=Math.floor(z/O))*O,(D>L||D===L&&N===O-1)&&(N+=1)>=O&&(N=0,D+=1)):D=z-(N=Math.floor(z/j))*j;A.css(t("margin-top"),0!==N&&a.spaceBetween&&a.spaceBetween+"px")}if("none"!==A.css("display")){if("auto"===a.slidesPerView){var R=n.getComputedStyle(A[0],null),F=A[0].style.transform,H=A[0].style.webkitTransform;if(F&&(A[0].style.transform="none"),H&&(A[0].style.webkitTransform="none"),a.roundLengths)P=e.isHorizontal()?A.outerWidth(!0):A.outerHeight(!0);else{var q=i(R,"width"),W=i(R,"padding-left"),V=i(R,"padding-right"),U=i(R,"margin-left"),G=i(R,"margin-right"),X=R.getPropertyValue(R,"box-sizing");if(X&&"border-box"===X)P=q+U+G;else{var K=A[0],J=K.clientWidth;P=q+W+V+U+G+(K.offsetWidth-J)}}F&&(A[0].style.transform=F),H&&(A[0].style.webkitTransform=H),a.roundLengths&&(P=Math.floor(P))}else P=(s-(a.slidesPerView-1)*T)/a.slidesPerView,a.roundLengths&&(P=Math.floor(P)),h[z]&&(h[z].style[t("width")]=P+"px");h[z]&&(h[z].swiperSlideSize=P),g.push(P),a.centeredSlides?(_=_+P/2+C/2+T,0===C&&0!==z&&(_=_-s/2-T),0===z&&(_=_-s/2-T),Math.abs(_)<.001&&(_=0),a.roundLengths&&(_=Math.floor(_)),S%a.slidesPerGroup==0&&f.push(_),m.push(_)):(a.roundLengths&&(_=Math.floor(_)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&f.push(_),m.push(_),_=_+P+T),e.virtualSize+=P+T,C=P,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,s)+y,l&&d&&("slide"===a.effect||"coverflow"===a.effect)&&r.css({width:e.virtualSize+a.spaceBetween+"px"}),a.setWrapperSize&&r.css(((I={})[t("width")]=e.virtualSize+a.spaceBetween+"px",I)),a.slidesPerColumn>1&&(e.virtualSize=(P+a.spaceBetween)*E,e.virtualSize=Math.ceil(e.virtualSize/a.slidesPerColumn)-a.spaceBetween,r.css(((M={})[t("width")]=e.virtualSize+a.spaceBetween+"px",M)),a.centeredSlides)){k=[];for(var Z=0;Z1&&f.push(e.virtualSize-s)}if(0===f.length&&(f=[0]),0!==a.spaceBetween){var ne,ae=e.isHorizontal()&&l?"marginLeft":t("marginRight");h.filter(function(e,t){return!a.cssMode||t!==h.length-1}).css(((ne={})[ae]=T+"px",ne))}if(a.centeredSlides&&a.centeredSlidesBounds){var re=0;g.forEach(function(e){re+=e+(a.spaceBetween?a.spaceBetween:0)});var se=(re-=a.spaceBetween)-s;f=f.map(function(e){return e<0?-v:e>se?se+y:e})}if(a.centerInsufficientSlides){var oe=0;if(g.forEach(function(e){oe+=e+(a.spaceBetween?a.spaceBetween:0)}),(oe-=a.spaceBetween)1)if(i.params.centeredSlides)i.visibleSlides.each(function(e){n.push(e)});else for(t=0;ti.slides.length)break;n.push(i.slides.eq(r)[0])}else n.push(i.slides.eq(i.activeIndex)[0]);for(t=0;ta?s:a}a&&i.$wrapperEl.css("height",a+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t=0&&d1&&c<=t.size||d<=0&&c>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(s),n.eq(s).addClass(i.slideVisibleClass))}o.progress=a?-l:l}t.visibleSlides=m(t.visibleSlides)}},updateProgress:function(e){var t=this;if(void 0===e){var i=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*i||0}var n=t.params,a=t.maxTranslate()-t.minTranslate(),r=t.progress,s=t.isBeginning,o=t.isEnd,l=s,d=o;0===a?(r=0,s=!0,o=!0):(s=(r=(e-t.minTranslate())/a)<=0,o=r>=1),x(t,{progress:r,isBeginning:s,isEnd:o}),(n.watchSlidesProgress||n.watchSlidesVisibility||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),o&&!d&&t.emit("reachEnd toEdge"),(l&&!s||d&&!o)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this,i=t.slides,n=t.params,a=t.$wrapperEl,r=t.activeIndex,s=t.realIndex,o=t.virtual&&n.virtual.enabled;i.removeClass(n.slideActiveClass+" "+n.slideNextClass+" "+n.slidePrevClass+" "+n.slideDuplicateActiveClass+" "+n.slideDuplicateNextClass+" "+n.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+n.slideClass+'[data-swiper-slide-index="'+r+'"]'):i.eq(r)).addClass(n.slideActiveClass),n.loop&&(e.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+s+'"]').addClass(n.slideDuplicateActiveClass));var l=e.nextAll("."+n.slideClass).eq(0).addClass(n.slideNextClass);n.loop&&0===l.length&&(l=i.eq(0)).addClass(n.slideNextClass);var d=e.prevAll("."+n.slideClass).eq(0).addClass(n.slidePrevClass);n.loop&&0===d.length&&(d=i.eq(-1)).addClass(n.slidePrevClass),n.loop&&(l.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicateNextClass),d.hasClass(n.slideDuplicateClass)?a.children("."+n.slideClass+":not(."+n.slideDuplicateClass+')[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass):a.children("."+n.slideClass+"."+n.slideDuplicateClass+'[data-swiper-slide-index="'+d.attr("data-swiper-slide-index")+'"]').addClass(n.slideDuplicatePrevClass)),t.emitSlidesClasses()},updateActiveIndex:function(e){var t,i=this,n=i.rtlTranslate?i.translate:-i.translate,a=i.slidesGrid,r=i.snapGrid,s=i.params,o=i.activeIndex,l=i.realIndex,d=i.snapIndex,c=e;if(void 0===c){for(var u=0;u=a[u]&&n=a[u]&&n=a[u]&&(c=u);s.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(r.indexOf(n)>=0)t=r.indexOf(n);else{var h=Math.min(s.slidesPerGroupSkip,c);t=h+Math.floor((c-h)/s.slidesPerGroup)}if(t>=r.length&&(t=r.length-1),c!==o){var p=parseInt(i.slides.eq(c).attr("data-swiper-slide-index")||c,10);x(i,{snapIndex:t,realIndex:p,previousIndex:o,activeIndex:c}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==p&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}else t!==d&&(i.snapIndex=t,i.emit("snapIndexChange"))},updateClickedSlide:function(e){var t,i=this,n=i.params,a=m(e.target).closest("."+n.slideClass)[0],r=!1;if(a)for(var s=0;sd?d:n&&er?"next":na?"next":n=l.length&&(m=l.length-1),(u||o.initialSlide||0)===(c||0)&&i&&r.emit("beforeSlideChangeStart");var g,v=-l[m];if(r.updateProgress(v),o.normalizeSlideIndex)for(var y=0;y=w&&b=w&&b=w&&(s=y)}if(r.initialized&&s!==u){if(!r.allowSlideNext&&vr.translate&&v>r.maxTranslate()&&(u||0)!==s)return!1}if(g=s>u?"next":s=e&&(p=e)}),void 0!==p&&(h=o.indexOf(p))<0&&(h=n.activeIndex-1),n.slideTo(h,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);var a=this,r=a.activeIndex,s=Math.min(a.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){var d=a.snapGrid[o];l-d>(a.snapGrid[o+1]-d)*n&&(r+=a.params.slidesPerGroup)}else{var c=a.snapGrid[o-1];l-c<=(a.snapGrid[o]-c)*n&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,n=t.$wrapperEl,a="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,r=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?rt.slides.length-t.loopedSlides+a/2?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),w(function(){t.slideTo(r)})):t.slideTo(r):r>t.slides.length-a?(t.loopFix(),r=n.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),w(function(){t.slideTo(r)})):t.slideTo(r)}else t.slideTo(r)}},loop:{loopCreate:function(){var e=this,t=r(),i=e.params,n=e.$wrapperEl;n.children("."+i.slideClass+"."+i.slideDuplicateClass).remove();var a=n.children("."+i.slideClass);if(i.loopFillGroupWithBlank){var s=i.slidesPerGroup-a.length%i.slidesPerGroup;if(s!==i.slidesPerGroup){for(var o=0;oa.length&&(e.loopedSlides=a.length);var d=[],c=[];a.each(function(t,i){var n=m(t);i=a.length-e.loopedSlides&&d.push(t),n.attr("data-swiper-slide-index",i)});for(var u=0;u=0;h-=1)n.prepend(m(d[h].cloneNode(!0)).addClass(i.slideDuplicateClass))},loopFix:function(){var e=this;e.emit("beforeLoopFix");var t,i=e.activeIndex,n=e.slides,a=e.loopedSlides,r=e.allowSlidePrev,s=e.allowSlideNext,o=e.snapGrid,l=e.rtlTranslate;e.allowSlidePrev=!0,e.allowSlideNext=!0;var d=-o[i]-e.getTranslate();i=n.length-a&&(t=-n.length+i+a,t+=a,e.slideTo(t,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)),e.allowSlidePrev=r,e.allowSlideNext=s,e.emit("loopFix")},loopDestroy:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides;t.children("."+i.slideClass+"."+i.slideDuplicateClass+",."+i.slideClass+"."+i.slideBlankClass).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){var t=this;if(!(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)){var i=t.el;i.style.cursor="move",i.style.cursor=e?"-webkit-grabbing":"-webkit-grab",i.style.cursor=e?"-moz-grabbin":"-moz-grab",i.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){var e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.el.style.cursor="")}},manipulation:{appendSlide:function(e){var t=this,i=t.$wrapperEl,n=t.params;if(n.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var a=0;a=s)i.appendSlide(t);else{for(var o=r>e?r+1:r,l=[],d=s-1;d>=e;d-=1){var c=i.slides.eq(d);c.remove(),l.unshift(c)}if("object"==typeof t&&"length"in t){for(var u=0;ue?r+t.length:r}else n.append(t);for(var h=0;hs.startY&&i.translate>=i.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(cs.startX&&i.translate>=i.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&m(l.target).is(n.formElements))return n.isMoved=!0,void(i.allowClick=!1);if(n.allowTouchCallbacks&&i.emit("touchMove",l),!(l.targetTouches&&l.targetTouches.length>1)){s.currentX=c,s.currentY=u;var h,p=s.currentX-s.startX,f=s.currentY-s.startY;if(!(i.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(f,2))=25&&(h=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,n.isScrolling=i.isHorizontal()?h>a.touchAngle:90-h>a.touchAngle)),n.isScrolling&&i.emit("touchMoveOpposite",l),void 0===n.startMoving&&(s.currentX===s.startX&&s.currentY===s.startY||(n.startMoving=!0)),n.isScrolling)n.isTouched=!1;else if(n.startMoving){i.allowClick=!1,!a.cssMode&&l.cancelable&&l.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&l.stopPropagation(),n.isMoved||(a.loop&&i.loopFix(),n.startTranslate=i.getTranslate(),i.setTransition(0),i.animating&&i.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!a.grabCursor||!0!==i.allowSlideNext&&!0!==i.allowSlidePrev||i.setGrabCursor(!0),i.emit("sliderFirstMove",l)),i.emit("sliderMove",l),n.isMoved=!0;var g=i.isHorizontal()?p:f;s.diff=g,g*=a.touchRatio,o&&(g=-g),i.swipeDirection=g>0?"prev":"next",n.currentTranslate=g+n.startTranslate;var v=!0,y=a.resistanceRatio;if(a.touchReleaseOnEdges&&(y=0),g>0&&n.currentTranslate>i.minTranslate()?(v=!1,a.resistance&&(n.currentTranslate=i.minTranslate()-1+Math.pow(-i.minTranslate()+n.startTranslate+g,y))):g<0&&n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),i.allowSlidePrev||i.allowSlideNext||(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(g)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,void(s.diff=i.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY)}a.followFinger&&!a.cssMode&&((a.freeMode||a.watchSlidesProgress||a.watchSlidesVisibility)&&(i.updateActiveIndex(),i.updateSlidesClasses()),a.freeMode&&(0===n.velocities.length&&n.velocities.push({position:s[i.isHorizontal()?"startX":"startY"],time:n.touchStartTime}),n.velocities.push({position:s[i.isHorizontal()?"currentX":"currentY"],time:T()})),i.updateProgress(n.currentTranslate),i.setTranslate(n.currentTranslate))}}}}else n.startMoving&&n.isScrolling&&i.emit("touchMoveOpposite",l)}.bind(e),e.onTouchEnd=function(e){var t=this,i=t.touchEventsData,n=t.params,a=t.touches,r=t.rtlTranslate,s=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,d=e;if(d.originalEvent&&(d=d.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",d),i.allowTouchCallbacks=!1,!i.isTouched)return i.isMoved&&n.grabCursor&&t.setGrabCursor(!1),i.isMoved=!1,void(i.startMoving=!1);n.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var c,u=T(),h=u-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(d),t.emit("tap click",d),h<300&&u-i.lastClickTime<300&&t.emit("doubleTap doubleClick",d)),i.lastClickTime=T(),w(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===a.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,i.isMoved=!1,void(i.startMoving=!1);if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,c=n.followFinger?r?t.translate:-t.translate:-i.currentTranslate,!n.cssMode)if(n.freeMode){if(c<-t.minTranslate())return void t.slideTo(t.activeIndex);if(c>-t.maxTranslate())return void(t.slides.length1){var p=i.velocities.pop(),f=i.velocities.pop(),m=p.position-f.position,g=p.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)150||T()-p.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=n.freeModeMomentumVelocityRatio,i.velocities.length=0;var v=1e3*n.freeModeMomentumRatio,y=t.velocity*v,b=t.translate+y;r&&(b=-b);var _,C,x=!1,S=20*Math.abs(t.velocity)*n.freeModeMomentumBounceRatio;if(bt.minTranslate())n.freeModeMomentumBounce?(b-t.minTranslate()>S&&(b=t.minTranslate()+S),_=t.minTranslate(),x=!0,i.allowMomentumBounce=!0):b=t.minTranslate(),n.loop&&n.centeredSlides&&(C=!0);else if(n.freeModeSticky){for(var E,P=0;P-b){E=P;break}b=-(b=Math.abs(l[E]-b)=n.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var M=0,O=t.slidesSizesGrid[0],j=0;j=o[j]&&c=o[j]&&(M=j,O=o[o.length-1]-o[o.length-2])}var z=(c-o[M])/O,A=Mn.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(z>=n.longSwipesRatio?t.slideTo(M+A):t.slideTo(M)),"prev"===t.swipeDirection&&(z>1-n.longSwipesRatio?t.slideTo(M+A):t.slideTo(M))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||d.target!==t.navigation.nextEl&&d.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(M+A),"prev"===t.swipeDirection&&t.slideTo(M)):d.target===t.navigation.nextEl?t.slideTo(M+A):t.slideTo(M)}}}.bind(e),i.cssMode&&(e.onScroll=function(){var e=this,t=e.wrapperEl,i=e.rtlTranslate;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=i?t.scrollWidth-t.offsetWidth-t.scrollLeft:-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();var n=e.maxTranslate()-e.minTranslate();(0===n?0:(e.translate-e.minTranslate())/n)!==e.progress&&e.updateProgress(i?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}.bind(e)),e.onClick=function(e){var t=this;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var d=!!i.nested;if(!l.touch&&l.pointerEvents)a.addEventListener(n.start,e.onTouchStart,!1),t.addEventListener(n.move,e.onTouchMove,d),t.addEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var c=!("touchstart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.addEventListener(n.start,e.onTouchStart,c),a.addEventListener(n.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),a.addEventListener(n.end,e.onTouchEnd,c),n.cancel&&a.addEventListener(n.cancel,e.onTouchEnd,c),z||(t.addEventListener("touchstart",A),z=!0)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(a.addEventListener("mousedown",e.onTouchStart,!1),t.addEventListener("mousemove",e.onTouchMove,d),t.addEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.addEventListener("click",e.onClick,!0),i.cssMode&&s.addEventListener("scroll",e.onScroll),i.updateOnWindowResize?e.on(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",L,!0):e.on("observerUpdate",L,!0)},detachEvents:function(){var e=this,t=r(),i=e.params,n=e.touchEvents,a=e.el,s=e.wrapperEl,o=e.device,l=e.support,d=!!i.nested;if(!l.touch&&l.pointerEvents)a.removeEventListener(n.start,e.onTouchStart,!1),t.removeEventListener(n.move,e.onTouchMove,d),t.removeEventListener(n.end,e.onTouchEnd,!1);else{if(l.touch){var c=!("onTouchStart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a.removeEventListener(n.start,e.onTouchStart,c),a.removeEventListener(n.move,e.onTouchMove,d),a.removeEventListener(n.end,e.onTouchEnd,c),n.cancel&&a.removeEventListener(n.cancel,e.onTouchEnd,c)}(i.simulateTouch&&!o.ios&&!o.android||i.simulateTouch&&!l.touch&&o.ios)&&(a.removeEventListener("mousedown",e.onTouchStart,!1),t.removeEventListener("mousemove",e.onTouchMove,d),t.removeEventListener("mouseup",e.onTouchEnd,!1))}(i.preventClicks||i.preventClicksPropagation)&&a.removeEventListener("click",e.onClick,!0),i.cssMode&&s.removeEventListener("scroll",e.onScroll),e.off(o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",L)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.initialized,n=e.loopedSlides,a=void 0===n?0:n,r=e.params,s=e.$el,o=r.breakpoints;if(o&&(!o||0!==Object.keys(o).length)){var l=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(l&&e.currentBreakpoint!==l){var d=l in o?o[l]:void 0;d&&["slidesPerView","spaceBetween","slidesPerGroup","slidesPerGroupSkip","slidesPerColumn"].forEach(function(e){var t=d[e];void 0!==t&&(d[e]="slidesPerView"!==e||"AUTO"!==t&&"auto"!==t?"slidesPerView"===e?parseFloat(t):parseInt(t,10):"auto")});var c=d||e.originalParams,u=r.slidesPerColumn>1,h=c.slidesPerColumn>1;u&&!h?(s.removeClass(r.containerModifierClass+"multirow "+r.containerModifierClass+"multirow-column"),e.emitContainerClasses()):!u&&h&&(s.addClass(r.containerModifierClass+"multirow"),"column"===c.slidesPerColumnFill&&s.addClass(r.containerModifierClass+"multirow-column"),e.emitContainerClasses());var p=c.direction&&c.direction!==r.direction,f=r.loop&&(c.slidesPerView!==r.slidesPerView||p);p&&i&&e.changeDirection(),x(e.params,c),x(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",c),f&&i&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",c)}}},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var n=!1,a=o(),r="window"===t?a.innerWidth:i.clientWidth,s="window"===t?a.innerHeight:i.clientHeight,l=Object.keys(e).map(function(e){if("string"==typeof e&&0===e.indexOf("@")){var t=parseFloat(e.substr(1));return{value:s*t,point:e}}return{value:e,point:e}});l.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var d=0;d0&&t.slidesOffsetBefore+t.spaceBetween*(e.slides.length-1)+e.slides[0].offsetWidth*e.slides.length;t.slidesOffsetBefore&&t.slidesOffsetAfter&&n?e.isLocked=n<=e.size:e.isLocked=1===e.snapGrid.length,e.allowSlideNext=!e.isLocked,e.allowSlidePrev=!e.isLocked,i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock"),i&&i!==e.isLocked&&(e.isEnd=!1,e.navigation&&e.navigation.update())}},classes:{addClasses:function(){var e,t,i,n=this,a=n.classNames,r=n.params,s=n.rtl,o=n.$el,l=n.device,d=n.support,c=(e=["initialized",r.direction,{"pointer-events":d.pointerEvents&&!d.touch},{"free-mode":r.freeMode},{autoheight:r.autoHeight},{rtl:s},{multirow:r.slidesPerColumn>1},{"multirow-column":r.slidesPerColumn>1&&"column"===r.slidesPerColumnFill},{android:l.android},{ios:l.ios},{"css-mode":r.cssMode}],t=r.containerModifierClass,i=[],e.forEach(function(e){"object"==typeof e?Object.entries(e).forEach(function(e){var n=e[0];e[1]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i);a.push.apply(a,c),o.addClass([].concat(a).join(" ")),n.emitContainerClasses()},removeClasses:function(){var e=this,t=e.$el,i=e.classNames;t.removeClass(i.join(" ")),e.emitContainerClasses()}},images:{loadImage:function(e,t,i,n,a,r){var s,l=o();function d(){r&&r()}m(e).parent("picture")[0]||e.complete&&a?d():t?((s=new l.Image).onload=d,s.onerror=d,n&&(s.sizes=n),i&&(s.srcset=i),t&&(s.src=t)):d()},preloadImages:function(){var 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(var i=0;i1){var s=[];return m(i.el).each(function(e){var n=x({},i,{el:e});s.push(new t(n))}),s}var o=this;o.support=E(),o.device=P({userAgent:i.userAgent}),o.browser=k(),o.eventsListeners={},o.eventsAnyListeners=[],void 0===o.modules&&(o.modules={}),Object.keys(o.modules).forEach(function(e){var t=o.modules[e];if(t.params){var n=Object.keys(t.params)[0],a=t.params[n];if("object"!=typeof a||null===a)return;if(!(n in i&&"enabled"in a))return;!0===i[n]&&(i[n]={enabled:!0}),"object"!=typeof i[n]||"enabled"in i[n]||(i[n].enabled=!0),i[n]||(i[n]={enabled:!1})}});var l,d,c=x({},Y);return o.useParams(c),o.params=x({},c,N,i),o.originalParams=x({},o.params),o.passedParams=x({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(function(e){o.on(e,o.params.on[e])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),o.$=m,x(o,{el:e,classNames:[],slides:m(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===o.params.direction},isVertical:function(){return"vertical"===o.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEvents:(l=["touchstart","touchmove","touchend","touchcancel"],d=["mousedown","mousemove","mouseup"],o.support.pointerEvents&&(d=["pointerdown","pointermove","pointerup"]),o.touchEventsTouch={start:l[0],move:l[1],end:l[2],cancel:l[3]},o.touchEventsDesktop={start:d[0],move:d[1],end:d[2]},o.support.touch||!o.params.simulateTouch?o.touchEventsTouch:o.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,formElements:"input, select, option, textarea, button, video, label",lastClickTime:T(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.useModules(),o.emit("_swiper"),o.params.init&&o.init(),o}var i,n,a=t.prototype;return a.emitContainerClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper-container")||0===t.indexOf(e.params.containerModifierClass)});e.emit("_containerClasses",t.join(" "))}},a.getSlideClasses=function(e){var t=this;return e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")},a.emitSlidesClasses=function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.each(function(i){var n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}},a.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,n=e.slidesGrid,a=e.size,r=e.activeIndex,s=1;if(t.centeredSlides){for(var o,l=i[r].swiperSlideSize,d=r+1;da&&(o=!0));for(var c=r-1;c>=0;c-=1)i[c]&&!o&&(s+=1,(l+=i[c].swiperSlideSize)>a&&(o=!0))}else for(var u=r+1;u1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0))||n(),i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}function n(){var t=e.rtlTranslate?-1*e.translate:e.translate,i=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(i),e.updateActiveIndex(),e.updateSlidesClasses()}},a.changeDirection=function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(i.$el.removeClass(""+i.params.containerModifierClass+n).addClass(""+i.params.containerModifierClass+e),i.emitContainerClasses(),i.params.direction=e,i.slides.each(function(t){"vertical"===e?t.style.width="":t.style.height=""}),i.emit("changeDirection"),t&&i.update()),i},a.mount=function(e){var t=this;if(t.mounted)return!0;var i,n=m(e||t.params.el);return!!(e=n[0])&&(e.swiper=t,e&&e.shadowRoot&&e.shadowRoot.querySelector?(i=m(e.shadowRoot.querySelector("."+t.params.wrapperClass))).children=function(e){return n.children(e)}:i=n.children("."+t.params.wrapperClass),x(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0)},a.init=function(e){var t=this;return t.initialized||!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.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t},a.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i,n=this,a=n.params,r=n.$el,s=n.$wrapperEl,o=n.slides;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),a.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),s.removeAttr("style"),o&&o.length&&o.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(function(e){n.off(e)}),!1!==e&&(n.$el[0].swiper=null,i=n,Object.keys(i).forEach(function(e){try{i[e]=null}catch(e){}try{delete i[e]}catch(e){}})),n.destroyed=!0),null},t.extendDefaults=function(e){x(N,e)},t.installModule=function(e){t.prototype.modules||(t.prototype.modules={});var i=e.name||Object.keys(t.prototype.modules).length+"_"+T();t.prototype.modules[i]=e},t.use=function(e){return Array.isArray(e)?(e.forEach(function(e){return t.installModule(e)}),t):(t.installModule(e),t)},i=t,n=[{key:"extendedDefaults",get:function(){return N}},{key:"defaults",get:function(){return Y}}],null&&e(i.prototype,null),n&&e(i,n),t}();Object.keys(D).forEach(function(e){Object.keys(D[e]).forEach(function(t){$.prototype[t]=D[e][t]})}),$.use([I,O]);var B={update:function(e){var t=this,i=t.params,n=i.slidesPerView,a=i.slidesPerGroup,r=i.centeredSlides,s=t.params.virtual,o=s.addSlidesBefore,l=s.addSlidesAfter,d=t.virtual,c=d.from,u=d.to,h=d.slides,p=d.slidesGrid,f=d.renderSlide,m=d.offset;t.updateActiveIndex();var g,v,y,b=t.activeIndex||0;g=t.rtlTranslate?"right":t.isHorizontal()?"left":"top",r?(v=Math.floor(n/2)+a+l,y=Math.floor(n/2)+a+o):(v=n+(a-1)+l,y=a+o);var w=Math.max((b||0)-y,0),T=Math.min((b||0)+v,h.length-1),_=(t.slidesGrid[w]||0)-(t.slidesGrid[0]||0);function C(){t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.lazy&&t.params.lazy.enabled&&t.lazy.load()}if(x(t.virtual,{from:w,to:T,offset:_,slidesGrid:t.slidesGrid}),c===w&&u===T&&!e)return t.slidesGrid!==p&&_!==m&&t.slides.css(g,_+"px"),void t.updateProgress();if(t.params.virtual.renderExternal)return t.params.virtual.renderExternal.call(t,{offset:_,from:w,to:T,slides:function(){for(var e=[],t=w;t<=T;t+=1)e.push(h[t]);return e}()}),void(t.params.virtual.renderExternalUpdate&&C());var S=[],E=[];if(e)t.$wrapperEl.find("."+t.params.slideClass).remove();else for(var P=c;P<=u;P+=1)(PT)&&t.$wrapperEl.find("."+t.params.slideClass+'[data-swiper-slide-index="'+P+'"]').remove();for(var k=0;k=w&&k<=T&&(void 0===u||e?E.push(k):(k>u&&E.push(k),k'+e+"");return a.attr("data-swiper-slide-index")||a.attr("data-swiper-slide-index",t),n.cache&&(i.virtual.cache[t]=a),a},appendSlide:function(e){var t=this;if("object"==typeof e&&"length"in e)for(var i=0;i=0;n-=1)t.virtual.slides.splice(e[n],1),t.params.virtual.cache&&delete t.virtual.cache[e[n]],e[n]0&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var v=i.innerWidth,y=i.innerHeight,b=t.$el.offset();a&&(b.left-=t.$el[0].scrollLeft);for(var w=[[b.left,b.top],[b.left+t.width,b.top],[b.left,b.top+t.height],[b.left+t.width,b.top+t.height]],T=0;T=0&&_[0]<=v&&_[1]>=0&&_[1]<=y){if(0===_[0]&&0===_[1])continue;g=!0}}if(!g)return}t.isHorizontal()?((c||u||h||p)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((u||p)&&!a||(c||h)&&a)&&t.slideNext(),((c||h)&&!a||(u||p)&&a)&&t.slidePrev()):((c||u||f||m)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(u||m)&&t.slideNext(),(c||f)&&t.slidePrev()),t.emit("keyPress",l)}},enable:function(){var e=this,t=r();e.keyboard.enabled||(m(t).on("keydown",e.keyboard.handle),e.keyboard.enabled=!0)},disable:function(){var e=this,t=r();e.keyboard.enabled&&(m(t).off("keydown",e.keyboard.handle),e.keyboard.enabled=!1)}},F={name:"keyboard",params:{keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}},create:function(){S(this,{keyboard:t({enabled:!1},R)})},on:{init:function(e){e.params.keyboard.enabled&&e.keyboard.enable()},destroy:function(e){e.keyboard.enabled&&e.keyboard.disable()}}},H={lastScrollTime:T(),lastEventBeforeSnap:void 0,recentWheelEvents:[],event:function(){return o().navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var e=r(),t="onwheel",i=t in e;if(!i){var n=e.createElement("div");n.setAttribute(t,"return;"),i="function"==typeof n.onwheel}return!i&&e.implementation&&e.implementation.hasFeature&&!0!==e.implementation.hasFeature("","")&&(i=e.implementation.hasFeature("Events.wheel","3.0")),i}()?"wheel":"mousewheel"},normalize:function(e){var t=0,i=0,n=0,a=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=10*t,a=10*i,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=a,a=0),(n||a)&&e.deltaMode&&(1===e.deltaMode?(n*=40,a*=40):(n*=800,a*=800)),n&&!t&&(t=n<1?-1:1),a&&!i&&(i=a<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:a}},handleMouseEnter:function(){this.mouseEntered=!0},handleMouseLeave:function(){this.mouseEntered=!1},handle:function(e){var t=e,i=this,n=i.params.mousewheel;i.params.cssMode&&t.preventDefault();var a=i.$el;if("container"!==i.params.mousewheel.eventsTarget&&(a=m(i.params.mousewheel.eventsTarget)),!i.mouseEntered&&!a[0].contains(t.target)&&!n.releaseOnEdges)return!0;t.originalEvent&&(t=t.originalEvent);var r=0,s=i.rtlTranslate?-1:1,o=H.normalize(t);if(n.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(o.pixelX)>Math.abs(o.pixelY)))return!0;r=-o.pixelX*s}else{if(!(Math.abs(o.pixelY)>Math.abs(o.pixelX)))return!0;r=-o.pixelY}else r=Math.abs(o.pixelX)>Math.abs(o.pixelY)?-o.pixelX*s:-o.pixelY;if(0===r)return!0;n.invert&&(r=-r);var l=i.getTranslate()+r*n.sensitivity;if(l>=i.minTranslate()&&(l=i.minTranslate()),l<=i.maxTranslate()&&(l=i.maxTranslate()),(!!i.params.loop||!(l===i.minTranslate()||l===i.maxTranslate()))&&i.params.nested&&t.stopPropagation(),i.params.freeMode){var d={time:T(),delta:Math.abs(r),direction:Math.sign(r)},c=i.mousewheel.lastEventBeforeSnap,u=c&&d.time=i.minTranslate()&&(h=i.minTranslate()),h<=i.maxTranslate()&&(h=i.maxTranslate()),i.setTransition(0),i.setTranslate(h),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!p&&i.isBeginning||!f&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky){clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=void 0;var g=i.mousewheel.recentWheelEvents;g.length>=15&&g.shift();var v=g.length?g[g.length-1]:void 0,y=g[0];if(g.push(d),v&&(d.delta>v.delta||d.direction!==v.direction))g.splice(0);else if(g.length>=15&&d.time-y.time<500&&y.delta-d.delta>=1&&d.delta<=6){var b=r>0?.8:.2;i.mousewheel.lastEventBeforeSnap=d,g.splice(0),i.mousewheel.timeout=w(function(){i.slideToClosest(i.params.speed,!0,void 0,b)},0)}i.mousewheel.timeout||(i.mousewheel.timeout=w(function(){i.mousewheel.lastEventBeforeSnap=d,g.splice(0),i.slideToClosest(i.params.speed,!0,void 0,.5)},500))}if(u||i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.autoplay.stop(),h===i.minTranslate()||h===i.maxTranslate())return!0}}else{var _={time:T(),delta:Math.abs(r),direction:Math.sign(r),raw:e},C=i.mousewheel.recentWheelEvents;C.length>=2&&C.shift();var x=C.length?C[C.length-1]:void 0;if(C.push(_),x?(_.direction!==x.direction||_.delta>x.delta||_.time>x.time+150)&&i.mousewheel.animateSlider(_):i.mousewheel.animateSlider(_),i.mousewheel.releaseScroll(_))return!0}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},animateSlider:function(e){var t=this,i=o();return!(this.params.mousewheel.thresholdDelta&&e.delta=6&&T()-t.mousewheel.lastScrollTime<60)&&(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),t.emit("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),t.emit("scroll",e.raw)),t.mousewheel.lastScrollTime=(new i.Date).getTime(),1))},releaseScroll:function(e){var t=this,i=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&i.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&i.releaseOnEdges)return!0;return!1},enable:function(){var e=this,t=H.event();if(e.params.cssMode)return e.wrapperEl.removeEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=m(e.params.mousewheel.eventsTarget)),i.on("mouseenter",e.mousewheel.handleMouseEnter),i.on("mouseleave",e.mousewheel.handleMouseLeave),i.on(t,e.mousewheel.handle),e.mousewheel.enabled=!0,!0},disable:function(){var e=this,t=H.event();if(e.params.cssMode)return e.wrapperEl.addEventListener(t,e.mousewheel.handle),!0;if(!t)return!1;if(!e.mousewheel.enabled)return!1;var i=e.$el;return"container"!==e.params.mousewheel.eventsTarget&&(i=m(e.params.mousewheel.eventsTarget)),i.off(t,e.mousewheel.handle),e.mousewheel.enabled=!1,!0}},q={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var i=e.navigation,n=i.$nextEl,a=i.$prevEl;a&&a.length>0&&(e.isBeginning?a.addClass(t.disabledClass):a.removeClass(t.disabledClass),a[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass)),n&&n.length>0&&(e.isEnd?n.addClass(t.disabledClass):n.removeClass(t.disabledClass),n[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](t.lockClass))}},onPrevClick:function(e){var t=this;e.preventDefault(),t.isBeginning&&!t.params.loop||t.slidePrev()},onNextClick:function(e){var t=this;e.preventDefault(),t.isEnd&&!t.params.loop||t.slideNext()},init:function(){var e,t,i=this,n=i.params.navigation;(n.nextEl||n.prevEl)&&(n.nextEl&&(e=m(n.nextEl),i.params.uniqueNavElements&&"string"==typeof n.nextEl&&e.length>1&&1===i.$el.find(n.nextEl).length&&(e=i.$el.find(n.nextEl))),n.prevEl&&(t=m(n.prevEl),i.params.uniqueNavElements&&"string"==typeof n.prevEl&&t.length>1&&1===i.$el.find(n.prevEl).length&&(t=i.$el.find(n.prevEl))),e&&e.length>0&&e.on("click",i.navigation.onNextClick),t&&t.length>0&&t.on("click",i.navigation.onPrevClick),x(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this,t=e.navigation,i=t.$nextEl,n=t.$prevEl;i&&i.length&&(i.off("click",e.navigation.onNextClick),i.removeClass(e.params.navigation.disabledClass)),n&&n.length&&(n.off("click",e.navigation.onPrevClick),n.removeClass(e.params.navigation.disabledClass))}},W={update:function(){var e=this,t=e.rtl,i=e.params.pagination;if(i.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var n,a=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,r=e.pagination.$el,s=e.params.loop?Math.ceil((a-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((n=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>a-1-2*e.loopedSlides&&(n-=a-2*e.loopedSlides),n>s-1&&(n-=s),n<0&&"bullets"!==e.params.paginationType&&(n=s+n)):n=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===i.type&&e.pagination.bullets&&e.pagination.bullets.length>0){var o,l,d,c=e.pagination.bullets;if(i.dynamicBullets&&(e.pagination.bulletSize=c.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),r.css(e.isHorizontal()?"width":"height",e.pagination.bulletSize*(i.dynamicMainBullets+4)+"px"),i.dynamicMainBullets>1&&void 0!==e.previousIndex&&(e.pagination.dynamicBulletIndex+=n-e.previousIndex,e.pagination.dynamicBulletIndex>i.dynamicMainBullets-1?e.pagination.dynamicBulletIndex=i.dynamicMainBullets-1:e.pagination.dynamicBulletIndex<0&&(e.pagination.dynamicBulletIndex=0)),o=n-e.pagination.dynamicBulletIndex,d=((l=o+(Math.min(c.length,i.dynamicMainBullets)-1))+o)/2),c.removeClass(i.bulletActiveClass+" "+i.bulletActiveClass+"-next "+i.bulletActiveClass+"-next-next "+i.bulletActiveClass+"-prev "+i.bulletActiveClass+"-prev-prev "+i.bulletActiveClass+"-main"),r.length>1)c.each(function(e){var t=m(e),a=t.index();a===n&&t.addClass(i.bulletActiveClass),i.dynamicBullets&&(a>=o&&a<=l&&t.addClass(i.bulletActiveClass+"-main"),a===o&&t.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),a===l&&t.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next"))});else{var u=c.eq(n),h=u.index();if(u.addClass(i.bulletActiveClass),i.dynamicBullets){for(var p=c.eq(o),f=c.eq(l),g=o;g<=l;g+=1)c.eq(g).addClass(i.bulletActiveClass+"-main");if(e.params.loop)if(h>=c.length-i.dynamicMainBullets){for(var v=i.dynamicMainBullets;v>=0;v-=1)c.eq(c.length-v).addClass(i.bulletActiveClass+"-main");c.eq(c.length-i.dynamicMainBullets-1).addClass(i.bulletActiveClass+"-prev")}else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next");else p.prev().addClass(i.bulletActiveClass+"-prev").prev().addClass(i.bulletActiveClass+"-prev-prev"),f.next().addClass(i.bulletActiveClass+"-next").next().addClass(i.bulletActiveClass+"-next-next")}}if(i.dynamicBullets){var y=Math.min(c.length,i.dynamicMainBullets+4),b=(e.pagination.bulletSize*y-e.pagination.bulletSize)/2-d*e.pagination.bulletSize,w=t?"right":"left";c.css(e.isHorizontal()?w:"top",b+"px")}}if("fraction"===i.type&&(r.find("."+i.currentClass).text(i.formatFractionCurrent(n+1)),r.find("."+i.totalClass).text(i.formatFractionTotal(s))),"progressbar"===i.type){var T;T=i.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";var _=(n+1)/s,C=1,x=1;"horizontal"===T?C=_:x=_,r.find("."+i.progressbarFillClass).transform("translate3d(0,0,0) scaleX("+C+") scaleY("+x+")").transition(e.params.speed)}"custom"===i.type&&i.renderCustom?(r.html(i.renderCustom(e,n+1,s)),e.emit("paginationRender",r[0])):e.emit("paginationUpdate",r[0]),r[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](i.lockClass)}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,a="";if("bullets"===t.type){var r=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&!e.params.loop&&r>i&&(r=i);for(var s=0;s";n.html(a),e.pagination.bullets=n.find("."+t.bulletClass.replace(/ /g,"."))}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):' / ',n.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'',n.html(a)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var e=this,t=e.params.pagination;if(t.el){var i=m(t.el);0!==i.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&i.length>1&&(i=e.$el.find(t.el)),"bullets"===t.type&&t.clickable&&i.addClass(t.clickableClass),i.addClass(t.modifierClass+t.type),"bullets"===t.type&&t.dynamicBullets&&(i.addClass(""+t.modifierClass+t.type+"-dynamic"),e.pagination.dynamicBulletIndex=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&i.addClass(t.progressbarOppositeClass),t.clickable&&i.on("click","."+t.bulletClass.replace(/ /g,"."),function(t){t.preventDefault();var i=m(this).index()*e.params.slidesPerGroup;e.params.loop&&(i+=e.loopedSlides),e.slideTo(i)}),x(e.pagination,{$el:i,el:i[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click","."+t.bulletClass.replace(/ /g,"."))}}},V={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=e.rtlTranslate,n=e.progress,a=t.dragSize,r=t.trackSize,s=t.$dragEl,o=t.$el,l=e.params.scrollbar,d=a,c=(r-a)*n;i?(c=-c)>0?(d=a-c,c=0):-c+a>r&&(d=r+c):c<0?(d=a+c,c=0):c+a>r&&(d=r-c),e.isHorizontal()?(s.transform("translate3d("+c+"px, 0, 0)"),s[0].style.width=d+"px"):(s.transform("translate3d(0px, "+c+"px, 0)"),s[0].style.height=d+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){var t=this;t.params.scrollbar.el&&t.scrollbar.el&&t.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=t.$dragEl,n=t.$el;i[0].style.width="",i[0].style.height="";var a,r=e.isHorizontal()?n[0].offsetWidth:n[0].offsetHeight,s=e.size/e.virtualSize,o=s*(r/e.size);a="auto"===e.params.scrollbar.dragSize?r*s:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=a+"px":i[0].style.height=a+"px",n[0].style.display=s>=1?"none":"",e.params.scrollbar.hide&&(n[0].style.opacity=0),x(t,{trackSize:r,divider:s,moveDivider:o,dragSize:a}),t.$el[e.params.watchOverflow&&e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}},getPointerPosition:function(e){return this.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},setDragPosition:function(e){var t,i=this,n=i.scrollbar,a=i.rtlTranslate,r=n.$el,s=n.dragSize,o=n.trackSize,l=n.dragStartPos;t=(n.getPointerPosition(e)-r.offset()[i.isHorizontal()?"left":"top"]-(null!==l?l:s/2))/(o-s),t=Math.max(Math.min(t,1),0),a&&(t=1-t);var d=i.minTranslate()+(i.maxTranslate()-i.minTranslate())*t;i.updateProgress(d),i.setTranslate(d),i.updateActiveIndex(),i.updateSlidesClasses()},onDragStart:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,r=n.$el,s=n.$dragEl;t.scrollbar.isTouched=!0,t.scrollbar.dragStartPos=e.target===s[0]||e.target===s?n.getPointerPosition(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.transition(100),s.transition(100),n.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),r.transition(0),i.hide&&r.css("opacity",1),t.params.cssMode&&t.$wrapperEl.css("scroll-snap-type","none"),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this,i=t.scrollbar,n=t.$wrapperEl,a=i.$el,r=i.$dragEl;t.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,i.setDragPosition(e),n.transition(0),a.transition(0),r.transition(0),t.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,i=t.params.scrollbar,n=t.scrollbar,a=t.$wrapperEl,r=n.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,t.params.cssMode&&(t.$wrapperEl.css("scroll-snap-type",""),a.transition("")),i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=w(function(){r.css("opacity",0),r.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideToClosest())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=r(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,s=e.params,o=e.support,l=i.$el[0],d=!(!o.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},c=!(!o.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};l&&(o.touch?(l.addEventListener(n.start,e.scrollbar.onDragStart,d),l.addEventListener(n.move,e.scrollbar.onDragMove,d),l.addEventListener(n.end,e.scrollbar.onDragEnd,c)):(l.addEventListener(a.start,e.scrollbar.onDragStart,d),t.addEventListener(a.move,e.scrollbar.onDragMove,d),t.addEventListener(a.end,e.scrollbar.onDragEnd,c)))}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=r(),i=e.scrollbar,n=e.touchEventsTouch,a=e.touchEventsDesktop,s=e.params,o=e.support,l=i.$el[0],d=!(!o.passiveListener||!s.passiveListeners)&&{passive:!1,capture:!1},c=!(!o.passiveListener||!s.passiveListeners)&&{passive:!0,capture:!1};l&&(o.touch?(l.removeEventListener(n.start,e.scrollbar.onDragStart,d),l.removeEventListener(n.move,e.scrollbar.onDragMove,d),l.removeEventListener(n.end,e.scrollbar.onDragEnd,c)):(l.removeEventListener(a.start,e.scrollbar.onDragStart,d),t.removeEventListener(a.move,e.scrollbar.onDragMove,d),t.removeEventListener(a.end,e.scrollbar.onDragEnd,c)))}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,i=e.$el,n=e.params.scrollbar,a=m(n.el);e.params.uniqueNavElements&&"string"==typeof n.el&&a.length>1&&1===i.find(n.el).length&&(a=i.find(n.el));var r=a.find("."+e.params.scrollbar.dragClass);0===r.length&&(r=m('
    '),a.append(r)),x(t,{$el:a,el:a[0],$dragEl:r,dragEl:r[0]}),n.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},U={setTransform:function(e,t){var i=this.rtl,n=m(e),a=i?-1:1,r=n.attr("data-swiper-parallax")||"0",s=n.attr("data-swiper-parallax-x"),o=n.attr("data-swiper-parallax-y"),l=n.attr("data-swiper-parallax-scale"),d=n.attr("data-swiper-parallax-opacity");if(s||o?(s=s||"0",o=o||"0"):this.isHorizontal()?(s=r,o="0"):(o=r,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*t*a+"%":s*t*a+"px",o=o.indexOf("%")>=0?parseInt(o,10)*t+"%":o*t+"px",null!=d){var c=d-(d-1)*(1-Math.abs(t));n[0].style.opacity=c}if(null==l)n.transform("translate3d("+s+", "+o+", 0px)");else{var u=l-(l-1)*(1-Math.abs(t));n.transform("translate3d("+s+", "+o+", 0px) scale("+u+")")}},setTranslate:function(){var e=this,t=e.$el,i=e.slides,n=e.progress,a=e.snapGrid;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){e.parallax.setTransform(t,n)}),i.each(function(t,i){var r=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(r+=Math.ceil(i/2)-n*(a.length-1)),r=Math.min(Math.max(r,-1),1),m(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){e.parallax.setTransform(t,r)})})},setTransition:function(e){void 0===e&&(e=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(function(t){var i=m(t),n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)})}},G={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,n=e.targetTouches[1].pageX,a=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-t,2)+Math.pow(a-i,2))},onGestureStart:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,r=a.gesture;if(a.fakeGestureTouched=!1,a.fakeGestureMoved=!1,!i.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;a.fakeGestureTouched=!0,r.scaleStart=G.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=m(e.target).closest("."+t.params.slideClass),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),r.$imageWrapEl=r.$imageEl.parent("."+n.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl&&r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this,i=t.support,n=t.params.zoom,a=t.zoom,r=a.gesture;if(!i.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;a.fakeGestureMoved=!0,r.scaleMove=G.getDistanceBetweenTouches(e)}r.$imageEl&&0!==r.$imageEl.length?(i.gestures?a.scale=e.scale*a.currentScale:a.scale=r.scaleMove/r.scaleStart*a.currentScale,a.scale>r.maxRatio&&(a.scale=r.maxRatio-1+Math.pow(a.scale-r.maxRatio+1,.5)),a.scalea.touchesStart.x))return void(a.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(a.minY)===Math.floor(a.startY)&&a.touchesCurrent.ya.touchesStart.y))return void(a.isTouched=!1)}e.cancelable&&e.preventDefault(),e.stopPropagation(),a.isMoved=!0,a.currentX=a.touchesCurrent.x-a.touchesStart.x+a.startX,a.currentY=a.touchesCurrent.y-a.touchesStart.y+a.startY,a.currentXa.maxX&&(a.currentX=a.maxX-1+Math.pow(a.currentX-a.maxX+1,.8)),a.currentYa.maxY&&(a.currentY=a.maxY-1+Math.pow(a.currentY-a.maxY+1,.8)),r.prevPositionX||(r.prevPositionX=a.touchesCurrent.x),r.prevPositionY||(r.prevPositionY=a.touchesCurrent.y),r.prevTime||(r.prevTime=Date.now()),r.x=(a.touchesCurrent.x-r.prevPositionX)/(Date.now()-r.prevTime)/2,r.y=(a.touchesCurrent.y-r.prevPositionY)/(Date.now()-r.prevTime)/2,Math.abs(a.touchesCurrent.x-r.prevPositionX)<2&&(r.x=0),Math.abs(a.touchesCurrent.y-r.prevPositionY)<2&&(r.y=0),r.prevPositionX=a.touchesCurrent.x,r.prevPositionY=a.touchesCurrent.y,r.prevTime=Date.now(),n.$imageWrapEl.transform("translate3d("+a.currentX+"px, "+a.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,n=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var a=300,r=300,s=n.x*a,o=i.currentX+s,l=n.y*r,d=i.currentY+l;0!==n.x&&(a=Math.abs((o-i.currentX)/n.x)),0!==n.y&&(r=Math.abs((d-i.currentY)/n.y));var c=Math.max(a,r);i.currentX=o,i.currentY=d;var u=i.width*e.scale,h=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-u/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-h/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(c).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this,t=e.zoom,i=t.gesture;i.$slideEl&&e.previousIndex!==e.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,t.currentScale=1,i.$slideEl=void 0,i.$imageEl=void 0,i.$imageWrapEl=void 0)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,n,a,r,s,l,d,c,u,h,p,f,m,g,v,y=this,b=o(),w=y.zoom,T=y.params.zoom,_=w.gesture,C=w.image;_.$slideEl||(y.params.virtual&&y.params.virtual.enabled&&y.virtual?_.$slideEl=y.$wrapperEl.children("."+y.params.slideActiveClass):_.$slideEl=y.slides.eq(y.activeIndex),_.$imageEl=_.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),_.$imageWrapEl=_.$imageEl.parent("."+T.containerClass)),_.$imageEl&&0!==_.$imageEl.length&&(_.$slideEl.addClass(""+T.zoomedSlideClass),void 0===C.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=C.touchesStart.x,i=C.touchesStart.y),w.scale=_.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,w.currentScale=_.$imageWrapEl.attr("data-swiper-zoom")||T.maxRatio,e?(g=_.$slideEl[0].offsetWidth,v=_.$slideEl[0].offsetHeight,n=_.$slideEl.offset().left+b.scrollX+g/2-t,a=_.$slideEl.offset().top+b.scrollY+v/2-i,l=_.$imageEl[0].offsetWidth,d=_.$imageEl[0].offsetHeight,c=l*w.scale,u=d*w.scale,f=-(h=Math.min(g/2-c/2,0)),m=-(p=Math.min(v/2-u/2,0)),(r=n*w.scale)f&&(r=f),(s=a*w.scale)m&&(s=m)):(r=0,s=0),_.$imageWrapEl.transition(300).transform("translate3d("+r+"px, "+s+"px,0)"),_.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+w.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,n=t.gesture;n.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?n.$slideEl=e.$wrapperEl.children("."+e.params.slideActiveClass):n.$slideEl=e.slides.eq(e.activeIndex),n.$imageEl=n.$slideEl.find("img, svg, canvas, picture, .swiper-zoom-target"),n.$imageWrapEl=n.$imageEl.parent("."+i.containerClass)),n.$imageEl&&0!==n.$imageEl.length&&(t.scale=1,t.currentScale=1,n.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),n.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),n.$slideEl.removeClass(""+i.zoomedSlideClass),n.$slideEl=void 0)},toggleGestures:function(e){var t=this,i=t.zoom,n=i.slideSelector,a=i.passiveListener;t.$wrapperEl[e]("gesturestart",n,i.onGestureStart,a),t.$wrapperEl[e]("gesturechange",n,i.onGestureChange,a),t.$wrapperEl[e]("gestureend",n,i.onGestureEnd,a)},enableGestures:function(){this.zoom.gesturesEnabled||(this.zoom.gesturesEnabled=!0,this.zoom.toggleGestures("on"))},disableGestures:function(){this.zoom.gesturesEnabled&&(this.zoom.gesturesEnabled=!1,this.zoom.toggleGestures("off"))},enable:function(){var e=this,t=e.support,i=e.zoom;if(!i.enabled){i.enabled=!0;var n=!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!t.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;e.zoom.passiveListener=n,e.zoom.slideSelector=r,t.gestures?(e.$wrapperEl.on(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.on(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,i.onGestureStart,n),e.$wrapperEl.on(e.touchEvents.move,r,i.onGestureChange,a),e.$wrapperEl.on(e.touchEvents.end,r,i.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,i.onGestureEnd,n)),e.$wrapperEl.on(e.touchEvents.move,"."+e.params.zoom.containerClass,i.onTouchMove,a)}},disable:function(){var e=this,t=e.zoom;if(t.enabled){var i=e.support;e.zoom.enabled=!1;var n=!("touchstart"!==e.touchEvents.start||!i.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},a=!i.passiveListener||{passive:!1,capture:!0},r="."+e.params.slideClass;i.gestures?(e.$wrapperEl.off(e.touchEvents.start,e.zoom.enableGestures,n),e.$wrapperEl.off(e.touchEvents.end,e.zoom.disableGestures,n)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,t.onGestureStart,n),e.$wrapperEl.off(e.touchEvents.move,r,t.onGestureChange,a),e.$wrapperEl.off(e.touchEvents.end,r,t.onGestureEnd,n),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,t.onGestureEnd,n)),e.$wrapperEl.off(e.touchEvents.move,"."+e.params.zoom.containerClass,t.onTouchMove,a)}}},X={loadInSlide:function(e,t){void 0===t&&(t=!0);var i=this,n=i.params.lazy;if(void 0!==e&&0!==i.slides.length){var a=i.virtual&&i.params.virtual.enabled?i.$wrapperEl.children("."+i.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):i.slides.eq(e),r=a.find("."+n.elementClass+":not(."+n.loadedClass+"):not(."+n.loadingClass+")");!a.hasClass(n.elementClass)||a.hasClass(n.loadedClass)||a.hasClass(n.loadingClass)||r.push(a[0]),0!==r.length&&r.each(function(e){var r=m(e);r.addClass(n.loadingClass);var s=r.attr("data-background"),o=r.attr("data-src"),l=r.attr("data-srcset"),d=r.attr("data-sizes"),c=r.parent("picture");i.loadImage(r[0],o||s,l,d,!1,function(){if(null!=i&&i&&(!i||i.params)&&!i.destroyed){if(s?(r.css("background-image",'url("'+s+'")'),r.removeAttr("data-background")):(l&&(r.attr("srcset",l),r.removeAttr("data-srcset")),d&&(r.attr("sizes",d),r.removeAttr("data-sizes")),c.length&&c.children("source").each(function(e){var t=m(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))}),o&&(r.attr("src",o),r.removeAttr("data-src"))),r.addClass(n.loadedClass).removeClass(n.loadingClass),a.find("."+n.preloaderClass).remove(),i.params.loop&&t){var e=a.attr("data-swiper-slide-index");if(a.hasClass(i.params.slideDuplicateClass)){var u=i.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+i.params.slideDuplicateClass+")");i.lazy.loadInSlide(u.index(),!1)}else{var h=i.$wrapperEl.children("."+i.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');i.lazy.loadInSlide(h.index(),!1)}}i.emit("lazyImageReady",a[0],r[0]),i.params.autoHeight&&i.updateAutoHeight()}}),i.emit("lazyImageLoad",a[0],r[0])})}},load:function(){var e=this,t=e.$wrapperEl,i=e.params,n=e.slides,a=e.activeIndex,r=e.virtual&&i.virtual.enabled,s=i.lazy,o=i.slidesPerView;function l(e){if(r){if(t.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function d(e){return r?m(e).attr("data-swiper-slide-index"):m(e).index()}if("auto"===o&&(o=0),e.lazy.initialImageLoaded||(e.lazy.initialImageLoaded=!0),e.params.watchSlidesVisibility)t.children("."+i.slideVisibleClass).each(function(t){var i=r?m(t).attr("data-swiper-slide-index"):m(t).index();e.lazy.loadInSlide(i)});else if(o>1)for(var c=a;c1||s.loadPrevNextAmount&&s.loadPrevNextAmount>1){for(var u=s.loadPrevNextAmount,h=o,p=Math.min(a+h+Math.max(u,h),n.length),f=Math.max(a-Math.max(h,u),0),g=a+o;g0&&e.lazy.loadInSlide(d(y));var b=t.children("."+i.slidePrevClass);b.length>0&&e.lazy.loadInSlide(d(b))}},checkInViewOnLoad:function(){var e=o(),t=this;if(t&&!t.destroyed){var i=t.params.lazy.scrollingElement?m(t.params.lazy.scrollingElement):m(e),n=i[0]===e,a=n?e.innerWidth:i[0].offsetWidth,r=n?e.innerHeight:i[0].offsetHeight,s=t.$el.offset(),l=!1;t.rtlTranslate&&(s.left-=t.$el[0].scrollLeft);for(var d=[[s.left,s.top],[s.left+t.width,s.top],[s.left,s.top+t.height],[s.left+t.width,s.top+t.height]],c=0;c=0&&u[0]<=a&&u[1]>=0&&u[1]<=r){if(0===u[0]&&0===u[1])continue;l=!0}}l?(t.lazy.load(),i.off("scroll",t.lazy.checkInViewOnLoad)):t.lazy.scrollHandlerAttached||(t.lazy.scrollHandlerAttached=!0,i.on("scroll",t.lazy.checkInViewOnLoad))}}},K={LinearSpline:function(e,t){var i,n,a,r,s;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(s=function(e,t){for(n=-1,i=e.length;i-n>1;)e[a=i+n>>1]<=t?n=a:i=a;return i}(this.x,e),r=s-1,(e-this.x[r])*(this.y[s]-this.y[r])/(this.x[s]-this.x[r])+this.y[r]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new K.LinearSpline(t.slidesGrid,e.slidesGrid):new K.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){var i,n,a=this,r=a.controller.control,s=a.constructor;function o(e){var t=a.rtlTranslate?-a.translate:a.translate;"slide"===a.params.controller.by&&(a.controller.getInterpolateFunction(e),n=-a.controller.spline.interpolate(-t)),n&&"container"!==a.params.controller.by||(i=(e.maxTranslate()-e.minTranslate())/(a.maxTranslate()-a.minTranslate()),n=(t-a.minTranslate())*i+e.minTranslate()),a.params.controller.inverse&&(n=e.maxTranslate()-n),e.updateProgress(n),e.setTranslate(n,a),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(r))for(var l=0;l0&&(e.isBeginning?(e.a11y.disableEl(n),e.a11y.makeElNotFocusable(n)):(e.a11y.enableEl(n),e.a11y.makeElFocusable(n))),i&&i.length>0&&(e.isEnd?(e.a11y.disableEl(i),e.a11y.makeElNotFocusable(i)):(e.a11y.enableEl(i),e.a11y.makeElFocusable(i)))}},updatePagination:function(){var e=this,t=e.params.a11y;e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.bullets.each(function(i){var n=m(i);e.a11y.makeElFocusable(n),e.params.pagination.renderBullet||(e.a11y.addElRole(n,"button"),e.a11y.addElLabel(n,t.paginationBulletMessage.replace(/\{\{index\}\}/,n.index()+1)))})},init:function(){var e=this,t=e.params.a11y;e.$el.append(e.a11y.liveRegion);var i=e.$el;t.containerRoleDescriptionMessage&&e.a11y.addElRoleDescription(i,t.containerRoleDescriptionMessage),t.containerMessage&&e.a11y.addElLabel(i,t.containerMessage);var n,a,r,s=e.$wrapperEl,o=s.attr("id")||"swiper-wrapper-"+e.a11y.getRandomNumber(16);e.a11y.addElId(s,o),n=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite",e.a11y.addElLive(s,n),t.itemRoleDescriptionMessage&&e.a11y.addElRoleDescription(m(e.slides),t.itemRoleDescriptionMessage),e.a11y.addElRole(m(e.slides),"group"),e.slides.each(function(t){var i=m(t);e.a11y.addElLabel(i,i.index()+1+" / "+e.slides.length)}),e.navigation&&e.navigation.$nextEl&&(a=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(r=e.navigation.$prevEl),a&&a.length&&(e.a11y.makeElFocusable(a),"BUTTON"!==a[0].tagName&&(e.a11y.addElRole(a,"button"),a.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(a,t.nextSlideMessage),e.a11y.addElControls(a,o)),r&&r.length&&(e.a11y.makeElFocusable(r),"BUTTON"!==r[0].tagName&&(e.a11y.addElRole(r,"button"),r.on("keydown",e.a11y.onEnterOrSpaceKey)),e.a11y.addElLabel(r,t.prevSlideMessage),e.a11y.addElControls(r,o)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass.replace(/ /g,"."),e.a11y.onEnterOrSpaceKey)},destroy:function(){var e,t,i=this;i.a11y.liveRegion&&i.a11y.liveRegion.length>0&&i.a11y.liveRegion.remove(),i.navigation&&i.navigation.$nextEl&&(e=i.navigation.$nextEl),i.navigation&&i.navigation.$prevEl&&(t=i.navigation.$prevEl),e&&e.off("keydown",i.a11y.onEnterOrSpaceKey),t&&t.off("keydown",i.a11y.onEnterOrSpaceKey),i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.$el.off("keydown","."+i.params.pagination.bulletClass.replace(/ /g,"."),i.a11y.onEnterOrSpaceKey)}},Z={init:function(){var e=this,t=o();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var i=e.history;i.initialized=!0,i.paths=Z.getPathValues(e.params.url),(i.paths.key||i.paths.value)&&(i.scrollToSlide(0,i.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){var e=o();this.params.history.replaceState||e.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){var e=this;e.history.paths=Z.getPathValues(e.params.url),e.history.scrollToSlide(e.params.speed,e.history.paths.value,!1)},getPathValues:function(e){var t=o(),i=(e?new URL(e):t.location).pathname.slice(1).split("/").filter(function(e){return""!==e}),n=i.length;return{key:i[n-2],value:i[n-1]}},setHistory:function(e,t){var i=this,n=o();if(i.history.initialized&&i.params.history.enabled){var a;a=i.params.url?new URL(i.params.url):n.location;var r=i.slides.eq(t),s=Z.slugify(r.attr("data-history"));a.pathname.includes(e)||(s=e+"/"+s);var l=n.history.state;l&&l.value===s||(i.params.history.replaceState?n.history.replaceState({value:s},null,s):n.history.pushState({value:s},null,s))}},slugify:function(e){return e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){var n=this;if(t)for(var a=0,r=n.slides.length;a'),n.append(e)),e.css({height:r+"px"})):0===(e=i.find(".swiper-cube-shadow")).length&&(e=m('
    '),i.append(e)));for(var f=0;f-1&&(p=90*v+90*w,o&&(p=90*-v-90*w)),g.transform(x),c.slideShadows){var S=u?g.find(".swiper-slide-shadow-left"):g.find(".swiper-slide-shadow-top"),E=u?g.find(".swiper-slide-shadow-right"):g.find(".swiper-slide-shadow-bottom");0===S.length&&(S=m('
    '),g.append(S)),0===E.length&&(E=m('
    '),g.append(E)),S.length&&(S[0].style.opacity=Math.max(-w,0)),E.length&&(E[0].style.opacity=Math.max(w,0))}}if(n.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),c.shadow)if(u)e.transform("translate3d(0px, "+(r/2+c.shadowOffset)+"px, "+-r/2+"px) rotateX(90deg) rotateZ(0deg) scale("+c.shadowScale+")");else{var P=Math.abs(p)-90*Math.floor(Math.abs(p)/90),k=1.5-(Math.sin(2*P*Math.PI/360)/2+Math.cos(2*P*Math.PI/360)/2),I=c.shadowScale,M=c.shadowScale/k,O=c.shadowOffset;e.transform("scale3d("+I+", 1, "+M+") translate3d(0px, "+(s/2+O)+"px, "+-s/2/M+"px) rotateX(-90deg)")}var j=d.isSafari||d.isWebView?-l/2:0;n.transform("translate3d(0px,0,"+j+"px) rotateX("+(t.isHorizontal()?0:p)+"deg) rotateY("+(t.isHorizontal()?-p:0)+"deg)")},setTransition:function(e){var t=this,i=t.$el;t.slides.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()&&i.find(".swiper-cube-shadow").transition(e)}},ae={setTranslate:function(){for(var e=this,t=e.slides,i=e.rtlTranslate,n=0;n'),a.append(c)),0===u.length&&(u=m('
    '),a.append(u)),c.length&&(c[0].style.opacity=Math.max(-r,0)),u.length&&(u[0].style.opacity=Math.max(r,0))}a.transform("translate3d("+l+"px, "+d+"px, 0px) rotateX("+o+"deg) rotateY("+s+"deg)")}},setTransition:function(e){var t=this,i=t.slides,n=t.activeIndex,a=t.$wrapperEl;if(i.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.virtualTranslate&&0!==e){var r=!1;i.eq(n).transitionEnd(function(){if(!r&&t&&!t.destroyed){r=!0,t.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],i=0;i'),p.append(S)),0===E.length&&(E=m('
    '),p.append(E)),S.length&&(S[0].style.opacity=g>0?g:0),E.length&&(E[0].style.opacity=-g>0?-g:0)}}},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},se={init:function(){var e=this,t=e.params.thumbs;if(e.thumbs.initialized)return!1;e.thumbs.initialized=!0;var i=e.constructor;return t.swiper instanceof i?(e.thumbs.swiper=t.swiper,x(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),x(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1})):C(t.swiper)&&(e.thumbs.swiper=new i(x({},t.swiper,{watchSlidesVisibility:!0,watchSlidesProgress:!0,slideToClickedSlide:!1})),e.thumbs.swiperCreated=!0),e.thumbs.swiper.$el.addClass(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",e.thumbs.onThumbClick),!0},onThumbClick:function(){var e=this,t=e.thumbs.swiper;if(t){var i=t.clickedIndex,n=t.clickedSlide;if(!(n&&m(n).hasClass(e.params.thumbs.slideThumbActiveClass)||null==i)){var a;if(a=t.params.loop?parseInt(m(t.clickedSlide).attr("data-swiper-slide-index"),10):i,e.params.loop){var r=e.activeIndex;e.slides.eq(r).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,r=e.activeIndex);var s=e.slides.eq(r).prevAll('[data-swiper-slide-index="'+a+'"]').eq(0).index(),o=e.slides.eq(r).nextAll('[data-swiper-slide-index="'+a+'"]').eq(0).index();a=void 0===s?o:void 0===o?s:o-rt.previousIndex?"next":"prev"}else o=(s=t.realIndex)>t.previousIndex?"next":"prev";r&&(s+="next"===o?a:-1*a),i.visibleSlidesIndexes&&i.visibleSlidesIndexes.indexOf(s)<0&&(i.params.centeredSlides?s=s>l?s-Math.floor(n/2)+1:s+Math.floor(n/2)-1:s>l&&(s=s-n+1),i.slideTo(s,e?0:void 0))}var u=1,h=t.params.thumbs.slideThumbActiveClass;if(t.params.slidesPerView>1&&!t.params.centeredSlides&&(u=t.params.slidesPerView),t.params.thumbs.multipleActiveThumbs||(u=1),u=Math.floor(u),i.slides.removeClass(h),i.params.loop||i.params.virtual&&i.params.virtual.enabled)for(var p=0;p0&&!m(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;!0===e.pagination.$el.hasClass(e.params.pagination.hiddenClass)?e.emit("paginationShow"):e.emit("paginationHide"),e.pagination.$el.toggleClass(e.params.pagination.hiddenClass)}}}},{name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}},create:function(){S(this,{scrollbar:t({isTouched:!1,timeout:null,dragTimeout:null},V)})},on:{init:function(e){e.scrollbar.init(),e.scrollbar.updateSize(),e.scrollbar.setTranslate()},update:function(e){e.scrollbar.updateSize()},resize:function(e){e.scrollbar.updateSize()},observerUpdate:function(e){e.scrollbar.updateSize()},setTranslate:function(e){e.scrollbar.setTranslate()},setTransition:function(e,t){e.scrollbar.setTransition(t)},destroy:function(e){e.scrollbar.destroy()}}},{name:"parallax",params:{parallax:{enabled:!1}},create:function(){S(this,{parallax:t({},U)})},on:{beforeInit:function(e){e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},init:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTranslate:function(e){e.params.parallax.enabled&&e.parallax.setTranslate()},setTransition:function(e,t){e.params.parallax.enabled&&e.parallax.setTransition(t)}}},{name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var e=this;S(e,{zoom:t({enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{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:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}},G)});var i=1;Object.defineProperty(e.zoom,"scale",{get:function(){return i},set:function(t){if(i!==t){var n=e.zoom.gesture.$imageEl?e.zoom.gesture.$imageEl[0]:void 0,a=e.zoom.gesture.$slideEl?e.zoom.gesture.$slideEl[0]:void 0;e.emit("zoomChange",t,n,a)}i=t}})},on:{init:function(e){e.params.zoom.enabled&&e.zoom.enable()},destroy:function(e){e.zoom.disable()},touchStart:function(e,t){e.zoom.enabled&&e.zoom.onTouchStart(t)},touchEnd:function(e,t){e.zoom.enabled&&e.zoom.onTouchEnd(t)},doubleTap:function(e,t){!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&e.zoom.toggle(t)},transitionEnd:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.zoom.onTransitionEnd()},slideChange:function(e){e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&e.zoom.onTransitionEnd()}}},{name:"lazy",params:{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"}},create:function(){S(this,{lazy:t({initialImageLoaded:!1},X)})},on:{beforeInit:function(e){e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)},init:function(e){e.params.lazy.enabled&&!e.params.loop&&0===e.params.initialSlide&&(e.params.lazy.checkInView?e.lazy.checkInViewOnLoad():e.lazy.load())},scroll:function(e){e.params.freeMode&&!e.params.freeModeSticky&&e.lazy.load()},"scrollbarDragMove resize _freeModeNoMomentumRelease":function(e){e.params.lazy.enabled&&e.lazy.load()},transitionStart:function(e){e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(e){e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&e.lazy.load()},slideChange:function(e){e.params.lazy.enabled&&e.params.cssMode&&e.lazy.load()}}},{name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){S(this,{controller:t({control:this.params.controller.control},K)})},on:{update:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},resize:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},observerUpdate:function(e){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)},setTranslate:function(e,t,i){e.controller.control&&e.controller.setTranslate(t,i)},setTransition:function(e,t,i){e.controller.control&&e.controller.setTransition(t,i)}}},{name:"a11y",params:{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}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null}},create:function(){S(this,{a11y:t({},J,{liveRegion:m('')})})},on:{afterInit:function(e){e.params.a11y.enabled&&(e.a11y.init(),e.a11y.updateNavigation())},toEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},fromEdge:function(e){e.params.a11y.enabled&&e.a11y.updateNavigation()},paginationUpdate:function(e){e.params.a11y.enabled&&e.a11y.updatePagination()},destroy:function(e){e.params.a11y.enabled&&e.a11y.destroy()}}},{name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){S(this,{history:t({},Z)})},on:{init:function(e){e.params.history.enabled&&e.history.init()},destroy:function(e){e.params.history.enabled&&e.history.destroy()},transitionEnd:function(e){e.history.initialized&&e.history.setHistory(e.params.history.key,e.activeIndex)},slideChange:function(e){e.history.initialized&&e.params.cssMode&&e.history.setHistory(e.params.history.key,e.activeIndex)}}},{name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){S(this,{hashNavigation:t({initialized:!1},ee)})},on:{init:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.init()},destroy:function(e){e.params.hashNavigation.enabled&&e.hashNavigation.destroy()},transitionEnd:function(e){e.hashNavigation.initialized&&e.hashNavigation.setHash()},slideChange:function(e){e.hashNavigation.initialized&&e.params.cssMode&&e.hashNavigation.setHash()}}},{name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1}},create:function(){S(this,{autoplay:t({},te,{running:!1,paused:!1})})},on:{init:function(e){e.params.autoplay.enabled&&(e.autoplay.start(),r().addEventListener("visibilitychange",e.autoplay.onVisibilityChange))},beforeTransitionStart:function(e,t,i){e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(t):e.autoplay.stop())},sliderFirstMove:function(e){e.autoplay.running&&(e.params.autoplay.disableOnInteraction?e.autoplay.stop():e.autoplay.pause())},touchEnd:function(e){e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&e.autoplay.run()},destroy:function(e){e.autoplay.running&&e.autoplay.stop(),r().removeEventListener("visibilitychange",e.autoplay.onVisibilityChange)}}},{name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){S(this,{fadeEffect:t({},ie)})},on:{beforeInit:function(e){if("fade"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"fade");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};x(e.params,t),x(e.originalParams,t)}},setTranslate:function(e){"fade"===e.params.effect&&e.fadeEffect.setTranslate()},setTransition:function(e,t){"fade"===e.params.effect&&e.fadeEffect.setTransition(t)}}},{name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){S(this,{cubeEffect:t({},ne)})},on:{beforeInit:function(e){if("cube"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"cube"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};x(e.params,t),x(e.originalParams,t)}},setTranslate:function(e){"cube"===e.params.effect&&e.cubeEffect.setTranslate()},setTransition:function(e,t){"cube"===e.params.effect&&e.cubeEffect.setTransition(t)}}},{name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){S(this,{flipEffect:t({},ae)})},on:{beforeInit:function(e){if("flip"===e.params.effect){e.classNames.push(e.params.containerModifierClass+"flip"),e.classNames.push(e.params.containerModifierClass+"3d");var t={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};x(e.params,t),x(e.originalParams,t)}},setTranslate:function(e){"flip"===e.params.effect&&e.flipEffect.setTranslate()},setTransition:function(e,t){"flip"===e.params.effect&&e.flipEffect.setTransition(t)}}},{name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}},create:function(){S(this,{coverflowEffect:t({},re)})},on:{beforeInit:function(e){"coverflow"===e.params.effect&&(e.classNames.push(e.params.containerModifierClass+"coverflow"),e.classNames.push(e.params.containerModifierClass+"3d"),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)},setTranslate:function(e){"coverflow"===e.params.effect&&e.coverflowEffect.setTranslate()},setTransition:function(e,t){"coverflow"===e.params.effect&&e.coverflowEffect.setTransition(t)}}},{name:"thumbs",params:{thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-container-thumbs"}},create:function(){S(this,{thumbs:t({swiper:null,initialized:!1},se)})},on:{beforeInit:function(e){var t=e.params.thumbs;t&&t.swiper&&(e.thumbs.init(),e.thumbs.update(!0))},slideChange:function(e){e.thumbs.swiper&&e.thumbs.update()},update:function(e){e.thumbs.swiper&&e.thumbs.update()},resize:function(e){e.thumbs.swiper&&e.thumbs.update()},observerUpdate:function(e){e.thumbs.swiper&&e.thumbs.update()},setTransition:function(e,t){var i=e.thumbs.swiper;i&&i.setTransition(t)},beforeDestroy:function(e){var t=e.thumbs.swiper;t&&e.thumbs.swiperCreated&&t&&t.destroy()}}}];return $.use(oe),$}),window.SEMICOLON_swiperInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){if(!$(this).hasClass("swiper_wrapper"))return!0;if($(this).find(".swiper-slide").length<1)return!0;let e,t,i=$(this).filter(".swiper_wrapper"),n=i.attr("data-direction")||"horizontal",a=i.attr("data-speed")||300,r=i.attr("data-autoplay"),s=i.attr("data-loop"),o=i.attr("data-start")||1,l=i.attr("data-effect")||"slide",d=i.attr("data-grab"),c=i.attr("data-parallax"),u=i.find(".slide-number-total"),h=i.find(".slide-number-current"),p=i.attr("data-video-autoplay"),f=i.attr("data-settings");r=r?Number(r):999999999,s="true"==s,c="true"==c,d="false"!=d,p="false"!=p,o="random"===o?Math.floor(Math.random()*i.find(".swiper-slide:not(.swiper-slide-duplicate)").length):Number(o)-1,i.find(".swiper-pagination").length>0?(e=i.find(".swiper-pagination").get(0),t=!0):(e="",t=!1);let m=i.find(".slider-arrow-right").get(0),g=i.find(".slider-arrow-left").get(0),v=i.find(".swiper-scrollbar").get(0),y=new Swiper(i.find(".swiper-parent").get(0),{direction:n,speed:Number(a),autoplay:{delay:r},loop:s,initialSlide:o,effect:l,parallax:c,slidesPerView:1,grabCursor:d,pagination:{el:e,clickable:t},navigation:{prevEl:g,nextEl:m},scrollbar:{el:v},on:{init:function(e){SEMICOLON.slider.sliderDimensions(),i.find(".yt-bg-player").attr("data-autoplay","false").removeClass("customjs"),SEMICOLON.widget.youtubeBgVideo(),$(".swiper-slide-active [data-animate]").each(function(){let e=$(this),t=e.attr("data-delay"),i=0;if(i=t?Number(t)+750:750,!e.hasClass("animated")){e.addClass("not-animated");let t=e.attr("data-animate");setTimeout(function(){e.removeClass("not-animated").addClass(t+" animated")},i)}}),i.find("[data-animate]").each(function(){let e=$(this),t=e.attr("data-animate");if(e.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;e.removeClass("animated").removeClass(t).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionStart:function(e){h.length>0&&(1==s?h.html(Number(i.find(".swiper-slide.swiper-slide-active").attr("data-swiper-slide-index"))+1):h.html(y.activeIndex+1)),i.find("[data-animate]").each(function(){let e=$(this),t=e.attr("data-animate");if(e.parents(".swiper-slide").hasClass("swiper-slide-active"))return!0;e.removeClass("animated").removeClass(t).addClass("not-animated")}),SEMICOLON.slider.swiperSliderMenu()},transitionEnd:function(e){i.find(".swiper-slide").each(function(){let e=$(this);e.find("video").length>0&&1==p&&e.find("video").get(0).pause(),e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPause()}),i.find('.swiper-slide:not(".swiper-slide-active")').each(function(){let e=$(this);e.find("video").length>0&&0!=e.find("video").get(0).currentTime&&(e.find("video").get(0).currentTime=0),e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPSeekTo(e.find(".yt-bg-player.mb_YTPlayer:not(.customjs)").attr("data-start"))}),i.find(".swiper-slide.swiper-slide-active").find("video").length>0&&1==p&&i.find(".swiper-slide.swiper-slide-active").find("video").get(0).play(),i.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").length>0&&1==p&&i.find(".swiper-slide.swiper-slide-active").find(".yt-bg-player.mb_YTPlayer:not(.customjs)").YTPPlay(),i.find(".swiper-slide.swiper-slide-active [data-animate]").each(function(){let e=$(this),t=e.attr("data-delay"),i=0;if(i=t?Number(t)+300:300,!e.hasClass("animated")){e.addClass("not-animated");let t=e.attr("data-animate");setTimeout(function(){e.removeClass("not-animated").addClass(t+" animated")},i)}})}}});h.length>0&&(1==s?h.html(y.realIndex+1):h.html(y.activeIndex+1)),u.length>0&&u.html(i.find(".swiper-slide:not(.swiper-slide-duplicate)").length),f&&(f=Function("return "+f)(),Object.keys(f).forEach(function(e,t){y.params[e]=f[e],y.update()}))})},function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e){e.ui=e.ui||{},e.ui.version="1.12.1";var t=0,i=Array.prototype.slice;e.cleanData=function(t){return function(i){var n,a,r;for(r=0;null!=(a=i[r]);r++)try{(n=e._data(a,"events"))&&n.remove&&e(a).triggerHandler("remove")}catch(e){}t(i)}}(e.cleanData),e.widget=function(t,i,n){var a,r,s,o={},l=t.split(".")[0],d=l+"-"+(t=t.split(".")[1]);return n||(n=i,i=e.Widget),e.isArray(n)&&(n=e.extend.apply(null,[{}].concat(n))),e.expr[":"][d.toLowerCase()]=function(t){return!!e.data(t,d)},e[l]=e[l]||{},a=e[l][t],r=e[l][t]=function(e,t){return this._createWidget?void(arguments.length&&this._createWidget(e,t)):new r(e,t)},e.extend(r,a,{version:n.version,_proto:e.extend({},n),_childConstructors:[]}),(s=new i).options=e.widget.extend({},s.options),e.each(n,function(t,n){return e.isFunction(n)?void(o[t]=function(){function e(){return i.prototype[t].apply(this,arguments)}function a(e){return i.prototype[t].apply(this,e)}return function(){var t,i=this._super,r=this._superApply;return this._super=e,this._superApply=a,t=n.apply(this,arguments),this._super=i,this._superApply=r,t}}()):void(o[t]=n)}),r.prototype=e.widget.extend(s,{widgetEventPrefix:a&&s.widgetEventPrefix||t},o,{constructor:r,namespace:l,widgetName:t,widgetFullName:d}),a?(e.each(a._childConstructors,function(t,i){var n=i.prototype;e.widget(n.namespace+"."+n.widgetName,r,i._proto)}),delete a._childConstructors):i._childConstructors.push(r),e.widget.bridge(t,r),r},e.widget.extend=function(t){for(var n,a,r=i.call(arguments,1),s=0,o=r.length;o>s;s++)for(n in r[s])a=r[s][n],r[s].hasOwnProperty(n)&&void 0!==a&&(t[n]=e.isPlainObject(a)?e.isPlainObject(t[n])?e.widget.extend({},t[n],a):e.widget.extend({},a):a);return t},e.widget.bridge=function(t,n){var a=n.prototype.widgetFullName||t;e.fn[t]=function(r){var s="string"==typeof r,o=i.call(arguments,1),l=this;return s?this.length||"instance"!==r?this.each(function(){var i,n=e.data(this,a);return"instance"===r?(l=n,!1):n?e.isFunction(n[r])&&"_"!==r.charAt(0)?(i=n[r].apply(n,o))!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0:e.error("no such method '"+r+"' for "+t+" widget instance"):e.error("cannot call methods on "+t+" prior to initialization; attempted to call method '"+r+"'")}):l=void 0:(o.length&&(r=e.widget.extend.apply(null,[r].concat(o))),this.each(function(){var t=e.data(this,a);t?(t.option(r||{}),t._init&&t._init()):e.data(this,a,new n(r,this))})),l}},e.Widget=function(){},e.Widget._childConstructors=[],e.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
    ",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,n){n=e(n||this.defaultElement||this)[0],this.element=e(n),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=e(),this.hoverable=e(),this.focusable=e(),this.classesElementLookup={},n!==this&&(e.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===n&&this.destroy()}}),this.document=e(n.style?n.ownerDocument:n.document||n),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this.options=e.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){var t=this;this._destroy(),e.each(this.classesElementLookup,function(e,i){t._removeClass(i,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:e.noop,widget:function(){return this.element},option:function(t,i){var n,a,r,s=t;if(0===arguments.length)return e.widget.extend({},this.options);if("string"==typeof t)if(s={},n=t.split("."),t=n.shift(),n.length){for(a=s[t]=e.widget.extend({},this.options[t]),r=0;n.length-1>r;r++)a[n[r]]=a[n[r]]||{},a=a[n[r]];if(t=n.pop(),1===arguments.length)return void 0===a[t]?null:a[t];a[t]=i}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=i}return this._setOptions(s),this},_setOptions:function(e){var t;for(t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(t){var i,n,a;for(i in t)a=this.classesElementLookup[i],t[i]!==this.options.classes[i]&&a&&a.length&&(n=e(a.get()),this._removeClass(a,i),n.addClass(this._classes({element:n,keys:i,classes:t,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(t){function i(i,r){var s,o;for(o=0;i.length>o;o++)s=a.classesElementLookup[i[o]]||e(),s=t.add?e(e.unique(s.get().concat(t.element.get()))):e(s.not(t.element).get()),a.classesElementLookup[i[o]]=s,n.push(i[o]),r&&t.classes[i[o]]&&n.push(t.classes[i[o]])}var n=[],a=this;return t=e.extend({element:this.element,classes:this.options.classes||{}},t),this._on(t.element,{remove:"_untrackClassesElement"}),t.keys&&i(t.keys.match(/\S+/g)||[],!0),t.extra&&i(t.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(t){var i=this;e.each(i.classesElementLookup,function(n,a){-1!==e.inArray(t.target,a)&&(i.classesElementLookup[n]=e(a.not(t.target).get()))})},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){n="boolean"==typeof n?n:i;var a="string"==typeof e||null===e,r={extra:a?t:i,keys:a?e:t,element:a?this.element:e,add:n};return r.element.toggleClass(this._classes(r),n),this},_on:function(t,i,n){var a,r=this;"boolean"!=typeof t&&(n=i,i=t,t=!1),n?(i=a=e(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,a=this.widget()),e.each(n,function(n,s){function o(){return t||!0!==r.options.disabled&&!e(this).hasClass("ui-state-disabled")?("string"==typeof s?r[s]:s).apply(r,arguments):void 0}"string"!=typeof s&&(o.guid=s.guid=s.guid||o.guid||e.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),d=l[1]+r.eventNamespace,c=l[2];c?a.on(d,c,o):i.on(d,o)})},_off:function(t,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(i).off(i),this.bindings=e(this.bindings.not(t).get()),this.focusable=e(this.focusable.not(t).get()),this.hoverable=e(this.hoverable.not(t).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(e(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(e(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(e(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,i,n){var a,r,s=this.options[t];if(n=n||{},(i=e.Event(i)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),i.target=this.element[0],r=i.originalEvent)for(a in r)a in i||(i[a]=r[a]);return this.element.trigger(i,n),!(e.isFunction(s)&&!1===s.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},e.each({show:"fadeIn",hide:"fadeOut"},function(t,i){e.Widget.prototype["_"+t]=function(n,a,r){"string"==typeof a&&(a={effect:a});var s,o=a?!0===a||"number"==typeof a?i:a.effect||i:t;"number"==typeof(a=a||{})&&(a={duration:a}),s=!e.isEmptyObject(a),a.complete=r,a.delay&&n.delay(a.delay),s&&e.effects&&e.effects.effect[o]?n[t](a):o!==t&&n[o]?n[o](a.duration,a.easing,r):n.queue(function(i){e(this)[t](),r&&r.call(n[0]),i()})}}),e.widget,e.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},e.fn.extend({uniqueId:function(){var e=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++e)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&e(this).removeAttr("id")})}}),e.ui.escapeSelector=function(){var e=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g;return function(t){return t.replace(e,"\\$1")}}(),e.ui.safeActiveElement=function(e){var t;try{t=e.activeElement}catch(i){t=e.body}return t||(t=e.body),t.nodeName||(t=e.body),t},e.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var e=/#.*$/;return function(t){var i,n;i=t.href.replace(e,""),n=location.href.replace(e,"");try{i=decodeURIComponent(i)}catch(e){}try{n=decodeURIComponent(n)}catch(e){}return t.hash.length>1&&i===n}}(),_create:function(){var t=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),e.isArray(i.disabled)&&(i.disabled=e.unique(i.disabled.concat(e.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),this.active=!1!==this.options.active&&this.anchors.length?this._findActive(i.active):e(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var t=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);return null===t&&(n&&this.tabs.each(function(i,a){return e(a).attr("aria-controls")===n?(t=i,!1):void 0}),null===t&&(t=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),(null===t||-1===t)&&(t=!!this.tabs.length&&0)),!1!==t&&(-1===(t=this.tabs.index(this.tabs.eq(t)))&&(t=!i&&0)),!i&&!1===t&&this.anchors.length&&(t=0),t},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):e()}},_tabKeydown:function(t){var i=e(e.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(i),a=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case e.ui.keyCode.RIGHT:case e.ui.keyCode.DOWN:n++;break;case e.ui.keyCode.UP:case e.ui.keyCode.LEFT:a=!1,n--;break;case e.ui.keyCode.END:n=this.anchors.length-1;break;case e.ui.keyCode.HOME:n=0;break;case e.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(n);case e.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}t.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,a),t.ctrlKey||t.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===e.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===e.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===e.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,i){for(var n=this.tabs.length-1;-1!==e.inArray((t>n&&(t=0),0>t&&(t=n),t),this.options.disabled);)t=i?t+1:t-1;return t},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){return"active"===e?void this._activate(t):(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),void("heightStyle"===e&&this._setupHeightStyle(t)))},_sanitizeSelector:function(e){return e?e.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,i=this.tablist.children(":has(a[href])");t.disabled=e.map(i.filter(".ui-state-disabled"),function(e){return i.index(e)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!e.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=e()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=e()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var t=this,i=this.tabs,n=this.anchors,a=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(t){e(this).is(".ui-state-disabled")&&t.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){e(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return e("a",this)[0]}).attr({role:"presentation",tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=e(),this.anchors.each(function(i,n){var a,r,s,o=e(n).uniqueId().attr("id"),l=e(n).closest("li"),d=l.attr("aria-controls");t._isLocal(n)?(s=(a=n.hash).substring(1),r=t.element.find(t._sanitizeSelector(a))):(a="#"+(s=l.attr("aria-controls")||e({}).uniqueId()[0].id),(r=t.element.find(a)).length||(r=t._createPanel(s)).insertAfter(t.panels[i-1]||t.tablist),r.attr("aria-live","polite")),r.length&&(t.panels=t.panels.add(r)),d&&l.data("ui-tabs-aria-controls",d),l.attr({"aria-controls":s,"aria-labelledby":o}),r.attr("aria-labelledby",o)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),i&&(this._off(i.not(this.tabs)),this._off(n.not(this.anchors)),this._off(a.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return e("
    ").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var i,n,a;for(e.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),a=0;n=this.tabs[a];a++)i=e(n),!0===t||-1!==e.inArray(a,t)?(i.attr("aria-disabled","true"),this._addClass(i,null,"ui-state-disabled")):(i.removeAttr("aria-disabled"),this._removeClass(i,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var i={};t&&e.each(t.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,n=this.element.parent();"fill"===t?(i=n.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=e(this),n=t.css("position");"absolute"!==n&&"fixed"!==n&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=e(this).outerHeight(!0)}),this.panels.each(function(){e(this).height(Math.max(0,i-e(this).innerHeight()+e(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,e(this).height("").height())}).height(i))},_eventHandler:function(t){var i=this.options,n=this.active,a=e(t.currentTarget).closest("li"),r=a[0]===n[0],s=r&&i.collapsible,o=s?e():this._getPanelForTab(a),l=n.length?this._getPanelForTab(n):e(),d={oldTab:n,oldPanel:l,newTab:s?e():a,newPanel:o};t.preventDefault(),a.hasClass("ui-state-disabled")||a.hasClass("ui-tabs-loading")||this.running||r&&!i.collapsible||!1===this._trigger("beforeActivate",t,d)||(i.active=!s&&this.tabs.index(a),this.active=r?e():a,this.xhr&&this.xhr.abort(),l.length||o.length||e.error("jQuery UI Tabs: Mismatching fragment identifier."),o.length&&this.load(this.tabs.index(a),t),this._toggle(t,d))},_toggle:function(t,i){function n(){r.running=!1,r._trigger("activate",t,i)}function a(){r._addClass(i.newTab.closest("li"),"ui-tabs-active","ui-state-active"),s.length&&r.options.show?r._show(s,r.options.show,n):(s.show(),n())}var r=this,s=i.newPanel,o=i.oldPanel;this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){r._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),a()}):(this._removeClass(i.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o.hide(),a()),o.attr("aria-hidden","true"),i.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),s.length&&o.length?i.oldTab.attr("tabIndex",-1):s.length&&this.tabs.filter(function(){return 0===e(this).attr("tabIndex")}).attr("tabIndex",-1),s.attr("aria-hidden","false"),i.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var i,n=this._findActive(t);n[0]!==this.active[0]&&(n.length||(n=this.active),i=n.find(".ui-tabs-anchor")[0],this._eventHandler({target:i,currentTarget:i,preventDefault:e.noop}))},_findActive:function(t){return!1===t?e():this.tabs.eq(t)},_getIndex:function(t){return"string"==typeof t&&(t=this.anchors.index(this.anchors.filter("[href$='"+e.ui.escapeSelector(t)+"']"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){e.data(this,"ui-tabs-destroy")?e(this).remove():e(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=e(this),i=t.data("ui-tabs-aria-controls");i?t.attr("aria-controls",i).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(t){var i=this.options.disabled;!1!==i&&(void 0===t?i=!1:(t=this._getIndex(t),i=e.isArray(i)?e.map(i,function(e){return e!==t?e:null}):e.map(this.tabs,function(e,i){return i!==t?i:null})),this._setOptionDisabled(i))},disable:function(t){var i=this.options.disabled;if(!0!==i){if(void 0===t)i=!0;else{if(t=this._getIndex(t),-1!==e.inArray(t,i))return;i=e.isArray(i)?e.merge([t],i).sort():[t]}this._setOptionDisabled(i)}},load:function(t,i){t=this._getIndex(t);var n=this,a=this.tabs.eq(t),r=a.find(".ui-tabs-anchor"),s=this._getPanelForTab(a),o={tab:a,panel:s},l=function(e,t){"abort"===t&&n.panels.stop(!1,!0),n._removeClass(a,"ui-tabs-loading"),s.removeAttr("aria-busy"),e===n.xhr&&delete n.xhr};this._isLocal(r[0])||(this.xhr=e.ajax(this._ajaxSettings(r,i,o)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(a,"ui-tabs-loading"),s.attr("aria-busy","true"),this.xhr.done(function(e,t,a){setTimeout(function(){s.html(e),n._trigger("load",i,o),l(a,t)},1)}).fail(function(e,t){setTimeout(function(){l(e,t)},1)})))},_ajaxSettings:function(t,i,n){var a=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,r){return a._trigger("beforeLoad",i,e.extend({jqXHR:t,ajaxSettings:r},n))}}},_getPanelForTab:function(t){var i=e(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+i))}}),!1!==e.uiBackCompat&&e.widget("ui.tabs",e.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),e.ui.tabs;var n="ui-effects-",a="ui-effects-style",r="ui-effects-animated",s=e;e.effects={effect:{}},function(e,t){function i(e,t,i){var n=c[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),isNaN(e)?t.def:n.mod?(e+n.mod)%n.mod:0>e?0:e>n.max?n.max:e)}function n(i){var n=l(),a=n._rgba=[];return i=i.toLowerCase(),p(o,function(e,r){var s,o=r.re.exec(i),l=o&&r.parse(o),c=r.space||"rgba";return l?(s=n[c](l),n[d[c].cache]=s[d[c].cache],a=n._rgba=s._rgba,!1):t}),a.length?("0,0,0,0"===a.join()&&e.extend(a,r.transparent),n):r[i]}function a(e,t,i){return 1>6*(i=(i+1)%1)?e+6*(t-e)*i:1>2*i?t:2>3*i?e+6*(t-e)*(2/3-i):e}var r,s=/^([\-+])=\s*(\d+\.?\d*)/,o=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16)]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16)]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],l=e.Color=function(t,i,n,a){return new e.Color.fn.parse(t,i,n,a)},d={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},c={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},u=l.support={},h=e("

    ")[0],p=e.each;h.style.cssText="background-color:rgba(1,1,1,.5)",u.rgba=h.style.backgroundColor.indexOf("rgba")>-1,p(d,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),l.fn=e.extend(l.prototype,{parse:function(a,s,o,c){if(a===t)return this._rgba=[null,null,null,null],this;(a.jquery||a.nodeType)&&(a=e(a).css(s),s=t);var u=this,h=e.type(a),f=this._rgba=[];return s!==t&&(a=[a,s,o,c],h="array"),"string"===h?this.parse(n(a)||r._default):"array"===h?(p(d.rgba.props,function(e,t){f[t.idx]=i(a[t.idx],t)}),this):"object"===h?(p(d,a instanceof l?function(e,t){a[t.cache]&&(u[t.cache]=a[t.cache].slice())}:function(t,n){var r=n.cache;p(n.props,function(e,t){if(!u[r]&&n.to){if("alpha"===e||null==a[e])return;u[r]=n.to(u._rgba)}u[r][t.idx]=i(a[e],t,!0)}),u[r]&&0>e.inArray(null,u[r].slice(0,3))&&(u[r][3]=1,n.from&&(u._rgba=n.from(u[r])))}),this):t},is:function(e){var i=l(e),n=!0,a=this;return p(d,function(e,r){var s,o=i[r.cache];return o&&(s=a[r.cache]||r.to&&r.to(a._rgba)||[],p(r.props,function(e,i){return null!=o[i.idx]?n=o[i.idx]===s[i.idx]:t})),n}),n},_space:function(){var e=[],t=this;return p(d,function(i,n){t[n.cache]&&e.push(i)}),e.pop()},transition:function(e,t){var n=l(e),a=n._space(),r=d[a],s=0===this.alpha()?l("transparent"):this,o=s[r.cache]||r.to(s._rgba),u=o.slice();return n=n[r.cache],p(r.props,function(e,a){var r=a.idx,s=o[r],l=n[r],d=c[a.type]||{};null!==l&&(null===s?u[r]=l:(d.mod&&(l-s>d.mod/2?s+=d.mod:s-l>d.mod/2&&(s-=d.mod)),u[r]=i((l-s)*t+s,a)))}),this[a](u)},blend:function(t){if(1===this._rgba[3])return this;var i=this._rgba.slice(),n=i.pop(),a=l(t)._rgba;return l(e.map(i,function(e,t){return(1-n)*a[t]+n*e}))},toRgbaString:function(){var t="rgba(",i=e.map(this._rgba,function(e,t){return null==e?t>2?1:0:e});return 1===i[3]&&(i.pop(),t="rgb("),t+i.join()+")"},toHslaString:function(){var t="hsla(",i=e.map(this.hsla(),function(e,t){return null==e&&(e=t>2?1:0),t&&3>t&&(e=Math.round(100*e)+"%"),e});return 1===i[3]&&(i.pop(),t="hsl("),t+i.join()+")"},toHexString:function(t){var i=this._rgba.slice(),n=i.pop();return t&&i.push(~~(255*n)),"#"+e.map(i,function(e){return 1===(e=(e||0).toString(16)).length?"0"+e:e}).join("")},toString:function(){return 0===this._rgba[3]?"transparent":this.toRgbaString()}}),l.fn.parse.prototype=l.fn,d.hsla.to=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t,i,n=e[0]/255,a=e[1]/255,r=e[2]/255,s=e[3],o=Math.max(n,a,r),l=Math.min(n,a,r),d=o-l,c=o+l,u=.5*c;return t=l===o?0:n===o?60*(a-r)/d+360:a===o?60*(r-n)/d+120:60*(n-a)/d+240,i=0===d?0:.5>=u?d/c:d/(2-c),[Math.round(t)%360,i,u,null==s?1:s]},d.hsla.from=function(e){if(null==e[0]||null==e[1]||null==e[2])return[null,null,null,e[3]];var t=e[0]/360,i=e[1],n=e[2],r=e[3],s=.5>=n?n*(1+i):n+i-n*i,o=2*n-s;return[Math.round(255*a(o,s,t+1/3)),Math.round(255*a(o,s,t)),Math.round(255*a(o,s,t-1/3)),r]},p(d,function(n,a){var r=a.props,o=a.cache,d=a.to,c=a.from;l.fn[n]=function(n){if(d&&!this[o]&&(this[o]=d(this._rgba)),n===t)return this[o].slice();var a,s=e.type(n),u="array"===s||"object"===s?n:arguments,h=this[o].slice();return p(r,function(e,t){var n=u["object"===s?e:t.idx];null==n&&(n=h[t.idx]),h[t.idx]=i(n,t)}),c?((a=l(c(h)))[o]=h,a):l(h)},p(r,function(t,i){l.fn[t]||(l.fn[t]=function(a){var r,o=e.type(a),l="alpha"===t?this._hsla?"hsla":"rgba":n,d=this[l](),c=d[i.idx];return"undefined"===o?c:("function"===o&&(a=a.call(this,c),o=e.type(a)),null==a&&i.empty?this:("string"===o&&((r=s.exec(a))&&(a=c+parseFloat(r[2])*("+"===r[1]?1:-1))),d[i.idx]=a,this[l](d)))})})}),l.hook=function(t){var i=t.split(" ");p(i,function(t,i){e.cssHooks[i]={set:function(t,a){var r,s,o="";if("transparent"!==a&&("string"!==e.type(a)||(r=n(a)))){if(a=l(r||a),!u.rgba&&1!==a._rgba[3]){for(s="backgroundColor"===i?t.parentNode:t;(""===o||"transparent"===o)&&s&&s.style;)try{o=e.css(s,"backgroundColor"),s=s.parentNode}catch(e){}a=a.blend(o&&"transparent"!==o?o:"_default")}a=a.toRgbaString()}try{t.style[i]=a}catch(e){}}},e.fx.step[i]=function(t){t.colorInit||(t.start=l(t.elem,i),t.end=l(t.end),t.colorInit=!0),e.cssHooks[i].set(t.elem,t.start.transition(t.end,t.pos))}})},l.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),e.cssHooks.borderColor={expand:function(e){var t={};return p(["Top","Right","Bottom","Left"],function(i,n){t["border"+n+"Color"]=e}),t}},r=e.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"}}(s),function(){function t(t){var i,n,a=t.ownerDocument.defaultView?t.ownerDocument.defaultView.getComputedStyle(t,null):t.currentStyle,r={};if(a&&a.length&&a[0]&&a[a[0]])for(n=a.length;n--;)"string"==typeof a[i=a[n]]&&(r[e.camelCase(i)]=a[i]);else for(i in a)"string"==typeof a[i]&&(r[i]=a[i]);return r}function i(t,i){var n,r,s={};for(n in i)r=i[n],t[n]!==r&&(a[n]||(e.fx.step[n]||!isNaN(parseFloat(r)))&&(s[n]=r));return s}var n=["add","remove","toggle"],a={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};e.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(t,i){e.fx.step[i]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(s.style(e.elem,i,e.end),e.setAttr=!0)}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}),e.effects.animateClass=function(a,r,s,o){var l=e.speed(r,s,o);return this.queue(function(){var r,s=e(this),o=s.attr("class")||"",d=l.children?s.find("*").addBack():s;d=d.map(function(){return{el:e(this),start:t(this)}}),(r=function(){e.each(n,function(e,t){a[t]&&s[t+"Class"](a[t])})})(),d=d.map(function(){return this.end=t(this.el[0]),this.diff=i(this.start,this.end),this}),s.attr("class",o),d=d.map(function(){var t=this,i=e.Deferred(),n=e.extend({},l,{queue:!1,complete:function(){i.resolve(t)}});return this.el.animate(this.diff,n),i.promise()}),e.when.apply(e,d.get()).done(function(){r(),e.each(arguments,function(){var t=this.el;e.each(this.diff,function(e){t.css(e,"")})}),l.complete.call(s[0])})})},e.fn.extend({addClass:function(t){return function(i,n,a,r){return n?e.effects.animateClass.call(this,{add:i},n,a,r):t.apply(this,arguments)}}(e.fn.addClass),removeClass:function(t){return function(i,n,a,r){return arguments.length>1?e.effects.animateClass.call(this,{remove:i},n,a,r):t.apply(this,arguments)}}(e.fn.removeClass),toggleClass:function(t){return function(i,n,a,r,s){return"boolean"==typeof n||void 0===n?a?e.effects.animateClass.call(this,n?{add:i}:{remove:i},a,r,s):t.apply(this,arguments):e.effects.animateClass.call(this,{toggle:i},n,a,r)}}(e.fn.toggleClass),switchClass:function(t,i,n,a,r){return e.effects.animateClass.call(this,{add:i,remove:t},n,a,r)}})}(),function(){function t(t,i,n,a){return e.isPlainObject(t)&&(i=t,t=t.effect),t={effect:t},null==i&&(i={}),e.isFunction(i)&&(a=i,n=null,i={}),("number"==typeof i||e.fx.speeds[i])&&(a=n,n=i,i={}),e.isFunction(n)&&(a=n,n=null),i&&e.extend(t,i),n=n||i.duration,t.duration=e.fx.off?0:"number"==typeof n?n:n in e.fx.speeds?e.fx.speeds[n]:e.fx.speeds._default,t.complete=a||i.complete,t}function i(t){return!(t&&"number"!=typeof t&&!e.fx.speeds[t])||("string"==typeof t&&!e.effects.effect[t]||(!!e.isFunction(t)||"object"==typeof t&&!t.effect))}function s(e,t){var i=t.outerWidth(),n=t.outerHeight(),a=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,i,n,0];return{top:parseFloat(a[1])||0,right:"auto"===a[2]?i:parseFloat(a[2]),bottom:"auto"===a[3]?n:parseFloat(a[3]),left:parseFloat(a[4])||0}}e.expr&&e.expr.filters&&e.expr.filters.animated&&(e.expr.filters.animated=function(t){return function(i){return!!e(i).data(r)||t(i)}}(e.expr.filters.animated)),!1!==e.uiBackCompat&&e.extend(e.effects,{save:function(e,t){for(var i=0,a=t.length;a>i;i++)null!==t[i]&&e.data(n+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,a=0,r=t.length;r>a;a++)null!==t[a]&&(i=e.data(n+t[a]),e.css(t[a],i))},setMode:function(e,t){return"toggle"===t&&(t=e.is(":hidden")?"show":"hide"),t},createWrapper:function(t){if(t.parent().is(".ui-effects-wrapper"))return t.parent();var i={width:t.outerWidth(!0),height:t.outerHeight(!0),float:t.css("float")},n=e("

    ").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),a={width:t.width(),height:t.height()},r=document.activeElement;try{r.id}catch(e){r=document.body}return t.wrap(n),(t[0]===r||e.contains(t[0],r))&&e(r).trigger("focus"),n=t.parent(),"static"===t.css("position")?(n.css({position:"relative"}),t.css({position:"relative"})):(e.extend(i,{position:t.css("position"),zIndex:t.css("z-index")}),e.each(["top","left","bottom","right"],function(e,n){i[n]=t.css(n),isNaN(parseInt(i[n],10))&&(i[n]="auto")}),t.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),t.css(a),n.css(i).show()},removeWrapper:function(t){var i=document.activeElement;return t.parent().is(".ui-effects-wrapper")&&(t.parent().replaceWith(t),(t[0]===i||e.contains(t[0],i))&&e(i).trigger("focus")),t}}),e.extend(e.effects,{version:"1.12.1",define:function(t,i,n){return n||(n=i,i="effect"),e.effects.effect[t]=n,e.effects.effect[t].mode=i,n},scaledDimensions:function(e,t,i){if(0===t)return{height:0,width:0,outerHeight:0,outerWidth:0};var n="horizontal"!==i?(t||100)/100:1,a="vertical"!==i?(t||100)/100:1;return{height:e.height()*a,width:e.width()*n,outerHeight:e.outerHeight()*a,outerWidth:e.outerWidth()*n}},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();t>1&&n.splice.apply(n,[1,0].concat(n.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(a,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(a)||"",e.removeData(a)},mode:function(e,t){var i=e.is(":hidden");return"toggle"===t&&(t=i?"show":"hide"),(i?"hide"===t:"show"===t)&&(t="none"),t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createPlaceholder:function(t){var i,a=t.css("position"),r=t.position();return t.css({marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()),/^(static|relative)/.test(a)&&(a="absolute",i=e("<"+t[0].nodeName+">").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:t.css("marginTop"),marginBottom:t.css("marginBottom"),marginLeft:t.css("marginLeft"),marginRight:t.css("marginRight"),float:t.css("float")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass("ui-effects-placeholder"),t.data(n+"placeholder",i)),t.css({position:a,left:r.left,top:r.top}),i},removePlaceholder:function(e){var t=n+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(t){e.effects.restoreStyle(t),e.effects.removePlaceholder(t)},setTransition:function(t,i,n,a){return a=a||{},e.each(i,function(e,i){var r=t.cssUnit(i);r[0]>0&&(a[i]=r[0]*n+r[1])}),a}}),e.fn.extend({effect:function(){function i(t){function i(){e.isFunction(d)&&d.call(o[0]),e.isFunction(t)&&t()}var o=e(this);n.mode=u.shift(),!1===e.uiBackCompat||s?"none"===n.mode?(o[c](),i()):a.call(o[0],n,function(){o.removeData(r),e.effects.cleanUp(o),"hide"===n.mode&&o.hide(),i()}):(o.is(":hidden")?"hide"===c:"show"===c)?(o[c](),i()):a.call(o[0],n,i)}var n=t.apply(this,arguments),a=e.effects.effect[n.effect],s=a.mode,o=n.queue,l=o||"fx",d=n.complete,c=n.mode,u=[],h=function(t){var i=e(this),n=e.effects.mode(i,c)||s;i.data(r,!0),u.push(n),s&&("show"===n||n===s&&"hide"===n)&&i.show(),s&&"none"===n||e.effects.saveStyle(i),e.isFunction(t)&&t()};return e.fx.off||!a?c?this[c](n.duration,d):this.each(function(){d&&d.call(this)}):!1===o?this.each(h).each(i):this.queue(l,h).queue(l,i)},show:function(e){return function(n){if(i(n))return e.apply(this,arguments);var a=t.apply(this,arguments);return a.mode="show",this.effect.call(this,a)}}(e.fn.show),hide:function(e){return function(n){if(i(n))return e.apply(this,arguments);var a=t.apply(this,arguments);return a.mode="hide",this.effect.call(this,a)}}(e.fn.hide),toggle:function(e){return function(n){if(i(n)||"boolean"==typeof n)return e.apply(this,arguments);var a=t.apply(this,arguments);return a.mode="toggle",this.effect.call(this,a)}}(e.fn.toggle),cssUnit:function(t){var i=this.css(t),n=[];return e.each(["em","px","%","pt"],function(e,t){i.indexOf(t)>0&&(n=[parseFloat(i),t])}),n},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):s(this.css("clip"),this)},transfer:function(t,i){var n=e(this),a=e(t.to),r="fixed"===a.css("position"),s=e("body"),o=r?s.scrollTop():0,l=r?s.scrollLeft():0,d=a.offset(),c={top:d.top-o,left:d.left-l,height:a.innerHeight(),width:a.innerWidth()},u=n.offset(),h=e("
    ").appendTo("body").addClass(t.className).css({top:u.top-o,left:u.left-l,height:n.innerHeight(),width:n.innerWidth(),position:r?"fixed":"absolute"}).animate(c,t.duration,t.easing,function(){h.remove(),e.isFunction(i)&&i()})}}),e.fx.step.clip=function(t){t.clipInit||(t.start=e(t.elem).cssClip(),"string"==typeof t.end&&(t.end=s(t.end,t.elem)),t.clipInit=!0),e(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})}}(),function(){var t={};e.each(["Quad","Cubic","Quart","Quint","Expo"],function(e,i){t[i]=function(t){return Math.pow(t,e+2)}}),e.extend(t,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;((t=Math.pow(2,--i))-1)/11>e;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),e.each(t,function(t,i){e.easing["easeIn"+t]=i,e.easing["easeOut"+t]=function(e){return 1-i(1-e)},e.easing["easeInOut"+t]=function(e){return.5>e?i(2*e)/2:1-i(-2*e+2)/2}})}(),e.effects,e.effects.define("fade","toggle",function(t,i){var n="show"===t.mode;e(this).css("opacity",n?0:1).animate({opacity:n?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:i})}),e.effects.define("slide","show",function(t,i){var n,a,r=e(this),s={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},o=t.mode,l=t.direction||"left",d="up"===l||"down"===l?"top":"left",c="up"===l||"left"===l,u=t.distance||r["top"===d?"outerHeight":"outerWidth"](!0),h={};e.effects.createPlaceholder(r),n=r.cssClip(),a=r.position()[d],h[d]=(c?-1:1)*u+a,h.clip=r.cssClip(),h.clip[s[l][1]]=h.clip[s[l][0]],"show"===o&&(r.cssClip(h.clip),r.css(d,h[d]),h.clip=n,h[d]=a),r.animate(h,{queue:!1,duration:t.duration,easing:t.easing,complete:i})})}),window.SEMICOLON_tabsInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-action")||"click",i=e.attr("data-speed")||400,n=e.attr("data-active")||1;n-=1;let a=window.location.hash;$(a).length>0&&e.find(a).length>0&&(n=$(a).index()),e.tabs({event:t,active:Number(n),show:{effect:"fade",duration:Number(i)},activate:function(e,t){$(t.newPanel).find(".flexslider .slide").resize()}}),SEMICOLON_tabsResponsive(e),SEMICOLON_tabsResponsiveResizeInit(e),$(window).on("scwWindowResize",function(){SEMICOLON_tabsResponsiveResizeInit(e)})})},window.SEMICOLON_tabsResponsive=function(e){if((e=e.filter(".tabs-responsive")).length<1)return!0;e.each(function(){let e=$(this),t=e.find(".tab-nav"),i=e.find(".tab-container");t.children("li").each(function(){let e=$(this).children("a"),t=e.attr("href"),n=e.html();i.find(t).before('
    '+n+"
    ")})})},window.SEMICOLON_tabsResponsiveResizeInit=function(e){let t=$("body");if((e=e.filter(".tabs-responsive")).length<1)return!0;e.each(function(){let e=$(this),i=e.tabs("option","active")+1,n=e.attr("data-accordion-style");t.hasClass("device-sm")||t.hasClass("device-xs")?(e.find(".tab-nav").addClass("d-none"),e.find(".tab-container").addClass("accordion "+n).attr("data-active",i),e.find(".tab-content").addClass("accordion-content"),e.find(".accordion-header").removeClass("d-none"),SEMICOLON.widget.accordions({parent:e})):(t.hasClass("device-md")||t.hasClass("device-lg")||t.hasClass("device-xl"))&&(e.find(".tab-nav").removeClass("d-none"),e.find(".tab-container").removeClass("accordion "+n).attr("data-active",""),i=e.find(".acctitlec").next(".tab-content").index(),e.find(".tab-content").removeClass("accordion-content"),e.find(".accordion-header").addClass("d-none"),e.tabs("refresh"),i>0&&e.tabs("option","active",(i-1)/2))})},function(e){"use strict";function t(t,i){this.element=e(t),this.settings=e.extend({},n,i),this._defaults=n,this._init()}var i="Morphext",n={animation:"bounceIn",separator:",",speed:2e3,complete:e.noop};t.prototype={_init:function(){var t=this;this.phrases=[],this.element.addClass("morphext"),e.each(this.element.text().split(this.settings.separator),function(i,n){t.phrases.push(e.trim(n))}),this.index=-1,this.animate(),this.start()},animate:function(){this.index=++this.index%this.phrases.length,this.element[0].innerHTML=''+this.phrases[this.index]+"",e.isFunction(this.settings.complete)&&this.settings.complete.call(this)},start:function(){var e=this;this._interval=setInterval(function(){e.animate()},this.settings.speed)},stop:function(){this._interval=clearInterval(this._interval)}},e.fn[i]=function(n){return this.each(function(){e.data(this,"plugin_"+i)||e.data(this,"plugin_"+i,new t(this,n))})}}(jQuery),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Typed=t():e.Typed=t()}(this,function(){return function(e){function t(n){if(i[n])return i[n].exports;var a=i[n]={exports:{},id:n,loaded:!1};return e[n].call(a.exports,a,a.exports,t),a.loaded=!0,a.exports}var i={};return t.m=e,t.c=i,t.p="",t(0)}([function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var i=0;ie.length););var l=e.substring(0,t),d=e.substring(l.length+1,t+a),c=e.substring(t+a+1);e=l+d+c,a--}i.timeout=setTimeout(function(){i.toggleBlinking(!1),t>=e.length?i.doneTyping(e,t):i.keepTyping(e,t,a),i.temporaryPause&&(i.temporaryPause=!1,i.options.onTypingResumed(i.arrayPos,i))},n)},n))}},{key:"keepTyping",value:function(e,t,i){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=i;var n=e.substr(0,t);this.replaceText(n),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var i=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){i.backspace(e,t)},this.backDelay))}},{key:"backspace",value:function(e,t){var i=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=r.htmlParser.backSpaceHtmlChars(e,t,i);var n=e.substr(0,t);if(i.replaceText(n),i.smartBackspace){var a=i.strings[i.arrayPos+1];a&&n===a.substr(0,t)?i.stopNum=t:i.stopNum=0}t>i.stopNum?(t--,i.backspace(e,t)):t<=i.stopNum&&(i.arrayPos++,i.arrayPos===i.strings.length?(i.arrayPos=0,i.options.onLastStringBackspaced(),i.shuffleStringsIfNeeded(),i.begin()):i.typewrite(i.strings[i.sequence[i.arrayPos]],t))},n)}else this.setPauseStatus(e,t,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,i){this.pause.typewrite=i,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=s,e.exports=t.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t":";";e.substr(t+1).charAt(0)!==a&&!(++t+1>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,i){if("html"!==i.contentType)return t;var n=e.substr(t).charAt(0);if(">"===n||";"===n){var a;for(a=">"===n?"<":"&";e.substr(t-1).charAt(0)!==a&&!(--t<0););t--}return t}}]),e}();t.default=n;var a=new n;t.htmlParser=a}])}),window.SEMICOLON_textRotatorInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-typed")||"false",i=e.find(".t-rotate"),n=e.attr("data-rotate")||"fade",a=e.attr("data-speed")||1200,r=e.attr("data-separator")||",";if("true"==t){let t=i.html().split(r),n=e.attr("data-loop")||"true",a=e.attr("data-shuffle"),s=e.attr("data-cursor")||"true",o=e.attr("data-speed")||50,l=e.attr("data-backspeed")||30,d=e.attr("data-backdelay");n="true"==n,a="true"==a,s="true"==s,i.html("").addClass("plugin-typed-init");new Typed(i.get(0),{strings:t,typeSpeed:Number(o),loop:n,shuffle:a,showCursor:s,backSpeed:Number(l),backDelay:Number(d)})}else{i.Morphext({animation:n,separator:r,speed:Number(a)})}})},window.scwTogglesPlugin=window.scwTogglesPlugin||{},window.SEMICOLON_togglesInit=function(e){if((e=e.filter(":not(.customjs)")).length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-speed")||300;"open"!=e.attr("data-state")?e.children(".toggle-content").hide():e.addClass("toggle-active").children(".toggle-content").slideDown(Number(t)),e.children(".toggle-header").off("click").on("click",function(){return e.toggleClass("toggle-active").children(".toggle-content").slideToggle(Number(t)),!0})})},window.SEMICOLON_twitterFeedInit=function(e){if(e.length<1)return!0;e.each(function(){let e=$(this),t=e.attr("data-username")||"twitter",i=e.attr("data-count")||3,n=e.attr("data-loader")||"include/twitter/tweets.php";$.getJSON(n+"?username="+t+"&count="+Number(i),function(t){e.hasClass("fslider")?e.find(".slider-wrap").html(sm_format_twitter3(t)).promise().done(function(){let t=setInterval(function(){e.find(".slide").length>1&&(e.removeClass("customjs"),setTimeout(function(){SEMICOLON.widget.loadFlexSlider()},500),clearInterval(t))},500)}):e.html(sm_format_twitter(t))})})};var ytp=ytp||{};let YTPRndSuffix=(new Date).getTime(),YTPTimerLabels={init:"YTPlayerInit_"+YTPRndSuffix,startPlaying:"YTPlayerStartPlay_"+YTPRndSuffix};function onYouTubeIframeAPIReady(){ytp.YTAPIReady||(ytp.YTAPIReady=!0,jQuery(document).trigger("YTAPIReady"))}let getYTPVideoID=function(e){let t,i;return e.indexOf("youtu.be")>0||e.indexOf("youtube.com/embed")>0?t=(i=(t=e.substr(e.lastIndexOf("/")+1,e.length)).indexOf("?list=")>0?t.substr(t.lastIndexOf("="),t.length):null)?t.substr(0,t.lastIndexOf("?")):t:e.indexOf("http")>-1?(t=e.match(/[\\?&]v=([^&#]*)/)[1],i=e.indexOf("list=")>0?e.match(/[\\?&]list=([^&#]*)/)[1]:null):i=(t=e.length>15?null:e)?null:e,{videoID:t,playlistID:i}};!function(jQuery,ytp){jQuery.mbYTPlayer={name:"jquery.mb.YTPlayer",version:"3.3.9",build:"7581",author:"Matteo Bicocchi (pupunzi)",apiKey:"",defaults:{videoURL:null,containment:"body",ratio:"auto",fadeOnStartTime:1e3,startAt:0,stopAt:0,autoPlay:!0,delayAtStart:1e3,coverImage:!1,loop:!0,addRaster:!1,mask:!1,opacity:1,quality:"hd1080",vol:50,mute:!1,showControls:!0,anchor:"center,center",showAnnotations:!1,cc_load_policy:!1,showYTLogo:!0,useOnMobile:!0,playOnlyIfVisible:!1,onScreenPercentage:30,goFullScreenOnPlay:!1,stopMovieOnBlur:!0,realFullscreen:!0,optimizeDisplay:!0,abundance:.3,gaTrack:!0,remember_last_time:!1,addFilters:!1,useNoCookie:!0,onReady:function(e){},onError:function(e,t){},onEnd:function(){}},controls:{play:"P",pause:"p",mute:"M",unmute:"A",onlyYT:"O",showSite:"R",ytLogo:"Y"},controlBar:null,locationProtocol:"https:",defaultFilters:{grayscale:{value:0,unit:"%"},hue_rotate:{value:0,unit:"deg"},invert:{value:0,unit:"%"},opacity:{value:0,unit:"%"},saturate:{value:0,unit:"%"},sepia:{value:0,unit:"%"},brightness:{value:0,unit:"%"},contrast:{value:0,unit:"%"},blur:{value:0,unit:"px"}},buildPlayer:function(options){if(ytp.YTAPIReady||void 0!==window.YT)setTimeout(function(){jQuery(document).trigger("YTAPIReady"),ytp.YTAPIReady=!0},100);else{jQuery("#YTAPI").remove();let e=jQuery("