/*! * Bootstrap v3.3.5 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under the MIT license */ if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(a){"use strict";var b=a.fn.jquery.split(" ")[0].split(".");if(b[0]<2&&b[1]<9||1==b[0]&&9==b[1]&&b[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]};return!1}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one("bsTransitionEnd",function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b(),a.support.transition&&(a.event.special.bsTransitionEnd={bindType:a.support.transition.end,delegateType:a.support.transition.end,handle:function(b){return a(b.target).is(this)?b.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var c=a(this),e=c.data("bs.alert");e||c.data("bs.alert",e=new d(this)),"string"==typeof b&&e[b].call(c)})}var c='[data-dismiss="alert"]',d=function(b){a(b).on("click",c,this.close)};d.VERSION="3.3.5",d.TRANSITION_DURATION=150,d.prototype.close=function(b){function c(){g.detach().trigger("closed.bs.alert").remove()}var e=a(this),f=e.attr("data-target");f||(f=e.attr("href"),f=f&&f.replace(/.*(?=#[^\s]*$)/,""));var g=a(f);b&&b.preventDefault(),g.length||(g=e.closest(".alert")),g.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(g.removeClass("in"),a.support.transition&&g.hasClass("fade")?g.one("bsTransitionEnd",c).emulateTransitionEnd(d.TRANSITION_DURATION):c())};var e=a.fn.alert;a.fn.alert=b,a.fn.alert.Constructor=d,a.fn.alert.noConflict=function(){return a.fn.alert=e,this},a(document).on("click.bs.alert.data-api",c,d.prototype.close)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof b&&b;e||d.data("bs.button",e=new c(this,f)),"toggle"==b?e.toggle():b&&e.setState(b)})}var c=function(b,d){this.$element=a(b),this.options=a.extend({},c.DEFAULTS,d),this.isLoading=!1};c.VERSION="3.3.5",c.DEFAULTS={loadingText:"loading..."},c.prototype.setState=function(b){var c="disabled",d=this.$element,e=d.is("input")?"val":"html",f=d.data();b+="Text",null==f.resetText&&d.data("resetText",d[e]()),setTimeout(a.proxy(function(){d[e](null==f[b]?this.options[b]:f[b]),"loadingText"==b?(this.isLoading=!0,d.addClass(c).attr(c,c)):this.isLoading&&(this.isLoading=!1,d.removeClass(c).removeAttr(c))},this),0)},c.prototype.toggle=function(){var a=!0,b=this.$element.closest('[data-toggle="buttons"]');if(b.length){var c=this.$element.find("input");"radio"==c.prop("type")?(c.prop("checked")&&(a=!1),b.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==c.prop("type")&&(c.prop("checked")!==this.$element.hasClass("active")&&(a=!1),this.$element.toggleClass("active")),c.prop("checked",this.$element.hasClass("active")),a&&c.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var d=a.fn.button;a.fn.button=b,a.fn.button.Constructor=c,a.fn.button.noConflict=function(){return a.fn.button=d,this},a(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(c){var d=a(c.target);d.hasClass("btn")||(d=d.closest(".btn")),b.call(d,"toggle"),a(c.target).is('input[type="radio"]')||a(c.target).is('input[type="checkbox"]')||c.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(b){a(b.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(b.type))})}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},c.DEFAULTS,d.data(),"object"==typeof b&&b),g="string"==typeof b?b:f.slide;e||d.data("bs.carousel",e=new c(this,f)),"number"==typeof b?e.to(b):g?e[g]():f.interval&&e.pause().cycle()})}var c=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",a.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",a.proxy(this.pause,this)).on("mouseleave.bs.carousel",a.proxy(this.cycle,this))};c.VERSION="3.3.5",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(a){if(!/input|textarea/i.test(a.target.tagName)){switch(a.which){case 37:this.prev();break;case 39:this.next();break;default:return}a.preventDefault()}},c.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(a){return this.$items=a.parent().children(".item"),this.$items.index(a||this.$active)},c.prototype.getItemForDirection=function(a,b){var c=this.getItemIndex(b),d="prev"==a&&0===c||"next"==a&&c==this.$items.length-1;if(d&&!this.options.wrap)return b;var e="prev"==a?-1:1,f=(c+e)%this.$items.length;return this.$items.eq(f)},c.prototype.to=function(a){var b=this,c=this.getItemIndex(this.$active=this.$element.find(".item.active"));return a>this.$items.length-1||0>a?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){b.to(a)}):c==a?this.pause().cycle():this.slide(a>c?"next":"prev",this.$items.eq(a))},c.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){return this.sliding?void 0:this.slide("next")},c.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},c.prototype.slide=function(b,d){var e=this.$element.find(".item.active"),f=d||this.getItemForDirection(b,e),g=this.interval,h="next"==b?"left":"right",i=this;if(f.hasClass("active"))return this.sliding=!1;var j=f[0],k=a.Event("slide.bs.carousel",{relatedTarget:j,direction:h});if(this.$element.trigger(k),!k.isDefaultPrevented()){if(this.sliding=!0,g&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var l=a(this.$indicators.children()[this.getItemIndex(f)]);l&&l.addClass("active")}var m=a.Event("slid.bs.carousel",{relatedTarget:j,direction:h});return a.support.transition&&this.$element.hasClass("slide")?(f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),e.one("bsTransitionEnd",function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger(m)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger(m)),g&&this.cycle(),this}};var d=a.fn.carousel;a.fn.carousel=b,a.fn.carousel.Constructor=c,a.fn.carousel.noConflict=function(){return a.fn.carousel=d,this};var e=function(c){var d,e=a(this),f=a(e.attr("data-target")||(d=e.attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,""));if(f.hasClass("carousel")){var g=a.extend({},f.data(),e.data()),h=e.attr("data-slide-to");h&&(g.interval=!1),b.call(f,g),h&&f.data("bs.carousel").to(h),c.preventDefault()}};a(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var c=a(this);b.call(c,c.data())})})}(jQuery),+function(a){"use strict";function b(b){var c,d=b.attr("data-target")||(c=b.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"");return a(d)}function c(b){return this.each(function(){var c=a(this),e=c.data("bs.collapse"),f=a.extend({},d.DEFAULTS,c.data(),"object"==typeof b&&b);!e&&f.toggle&&/show|hide/.test(b)&&(f.toggle=!1),e||c.data("bs.collapse",e=new d(this,f)),"string"==typeof b&&e[b]()})}var d=function(b,c){this.$element=a(b),this.options=a.extend({},d.DEFAULTS,c),this.$trigger=a('[data-toggle="collapse"][href="#'+b.id+'"],[data-toggle="collapse"][data-target="#'+b.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};d.VERSION="3.3.5",d.TRANSITION_DURATION=350,d.DEFAULTS={toggle:!0},d.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},d.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(b=e.data("bs.collapse"),b&&b.transitioning))){var f=a.Event("show.bs.collapse");if(this.$element.trigger(f),!f.isDefaultPrevented()){e&&e.length&&(c.call(e,"hide"),b||e.data("bs.collapse",null));var g=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[g](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var h=function(){this.$element.removeClass("collapsing").addClass("collapse in")[g](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return h.call(this);var i=a.camelCase(["scroll",g].join("-"));this.$element.one("bsTransitionEnd",a.proxy(h,this)).emulateTransitionEnd(d.TRANSITION_DURATION)[g](this.$element[0][i])}}}},d.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var e=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return a.support.transition?void this.$element[c](0).one("bsTransitionEnd",a.proxy(e,this)).emulateTransitionEnd(d.TRANSITION_DURATION):e.call(this)}}},d.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},d.prototype.getParent=function(){return a(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(c,d){var e=a(d);this.addAriaAndCollapsedClass(b(e),e)},this)).end()},d.prototype.addAriaAndCollapsedClass=function(a,b){var c=a.hasClass("in");a.attr("aria-expanded",c),b.toggleClass("collapsed",!c).attr("aria-expanded",c)};var e=a.fn.collapse;a.fn.collapse=c,a.fn.collapse.Constructor=d,a.fn.collapse.noConflict=function(){return a.fn.collapse=e,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(d){var e=a(this);e.attr("data-target")||d.preventDefault();var f=b(e),g=f.data("bs.collapse"),h=g?"toggle":e.data();c.call(f,h)})}(jQuery),+function(a){"use strict";function b(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#[A-Za-z]/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}function c(c){c&&3===c.which||(a(e).remove(),a(f).each(function(){var d=a(this),e=b(d),f={relatedTarget:this};e.hasClass("open")&&(c&&"click"==c.type&&/input|textarea/i.test(c.target.tagName)&&a.contains(e[0],c.target)||(e.trigger(c=a.Event("hide.bs.dropdown",f)),c.isDefaultPrevented()||(d.attr("aria-expanded","false"),e.removeClass("open").trigger("hidden.bs.dropdown",f))))}))}function d(b){return this.each(function(){var c=a(this),d=c.data("bs.dropdown");d||c.data("bs.dropdown",d=new g(this)),"string"==typeof b&&d[b].call(c)})}var e=".dropdown-backdrop",f='[data-toggle="dropdown"]',g=function(b){a(b).on("click.bs.dropdown",this.toggle)};g.VERSION="3.3.5",g.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=b(e),g=f.hasClass("open");if(c(),!g){"ontouchstart"in document.documentElement&&!f.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",c);var h={relatedTarget:this};if(f.trigger(d=a.Event("show.bs.dropdown",h)),d.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),f.toggleClass("open").trigger("shown.bs.dropdown",h)}return!1}},g.prototype.keydown=function(c){if(/(38|40|27|32)/.test(c.which)&&!/input|textarea/i.test(c.target.tagName)){var d=a(this);if(c.preventDefault(),c.stopPropagation(),!d.is(".disabled, :disabled")){var e=b(d),g=e.hasClass("open");if(!g&&27!=c.which||g&&27==c.which)return 27==c.which&&e.find(f).trigger("focus"),d.trigger("click");var h=" li:not(.disabled):visible a",i=e.find(".dropdown-menu"+h);if(i.length){var j=i.index(c.target);38==c.which&&j>0&&j--,40==c.which&&jdocument.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&a?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!a?this.scrollbarWidth:""})},c.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},c.prototype.checkScrollbar=function(){var a=window.innerWidth;if(!a){var b=document.documentElement.getBoundingClientRect();a=b.right-Math.abs(b.left)}this.bodyIsOverflowing=document.body.clientWidth
',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},c.prototype.init=function(b,c,d){if(this.enabled=!0,this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.$viewport=this.options.viewport&&a(a.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var e=this.options.trigger.split(" "),f=e.length;f--;){var g=e[f];if("click"==g)this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this));else if("manual"!=g){var h="hover"==g?"mouseenter":"focusin",i="hover"==g?"mouseleave":"focusout";this.$element.on(h+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(i+"."+this.type,this.options.selector,a.proxy(this.leave,this))}}this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.getOptions=function(b){return b=a.extend({},this.getDefaults(),this.$element.data(),b),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},c.prototype.getDelegateOptions=function(){var b={},c=this.getDefaults();return this._options&&a.each(this._options,function(a,d){c[a]!=d&&(b[a]=d)}),b},c.prototype.enter=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusin"==b.type?"focus":"hover"]=!0),c.tip().hasClass("in")||"in"==c.hoverState?void(c.hoverState="in"):(clearTimeout(c.timeout),c.hoverState="in",c.options.delay&&c.options.delay.show?void(c.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show)):c.show())},c.prototype.isInStateTrue=function(){for(var a in this.inState)if(this.inState[a])return!0;return!1},c.prototype.leave=function(b){var c=b instanceof this.constructor?b:a(b.currentTarget).data("bs."+this.type);return c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c)),b instanceof a.Event&&(c.inState["focusout"==b.type?"focus":"hover"]=!1),c.isInStateTrue()?void 0:(clearTimeout(c.timeout),c.hoverState="out",c.options.delay&&c.options.delay.hide?void(c.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide)):c.hide())},c.prototype.show=function(){var b=a.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(b);var d=a.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(b.isDefaultPrevented()||!d)return;var e=this,f=this.tip(),g=this.getUID(this.type);this.setContent(),f.attr("id",g),this.$element.attr("aria-describedby",g),this.options.animation&&f.addClass("fade");var h="function"==typeof this.options.placement?this.options.placement.call(this,f[0],this.$element[0]):this.options.placement,i=/\s?auto?\s?/i,j=i.test(h);j&&(h=h.replace(i,"")||"top"),f.detach().css({top:0,left:0,display:"block"}).addClass(h).data("bs."+this.type,this),this.options.container?f.appendTo(this.options.container):f.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var k=this.getPosition(),l=f[0].offsetWidth,m=f[0].offsetHeight;if(j){var n=h,o=this.getPosition(this.$viewport);h="bottom"==h&&k.bottom+m>o.bottom?"top":"top"==h&&k.top-mo.width?"left":"left"==h&&k.left-lg.top+g.height&&(e.top=g.top+g.height-i)}else{var j=b.left-f,k=b.left+f+c;jg.right&&(e.left=g.left+g.width-k)}return e},c.prototype.getTitle=function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},c.prototype.getUID=function(a){do a+=~~(1e6*Math.random());while(document.getElementById(a));return a},c.prototype.tip=function(){if(!this.$tip&&(this.$tip=a(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},c.prototype.enable=function(){this.enabled=!0},c.prototype.disable=function(){this.enabled=!1},c.prototype.toggleEnabled=function(){this.enabled=!this.enabled},c.prototype.toggle=function(b){var c=this;b&&(c=a(b.currentTarget).data("bs."+this.type),c||(c=new this.constructor(b.currentTarget,this.getDelegateOptions()),a(b.currentTarget).data("bs."+this.type,c))),b?(c.inState.click=!c.inState.click,c.isInStateTrue()?c.enter(c):c.leave(c)):c.tip().hasClass("in")?c.leave(c):c.enter(c)},c.prototype.destroy=function(){var a=this;clearTimeout(this.timeout),this.hide(function(){a.$element.off("."+a.type).removeData("bs."+a.type),a.$tip&&a.$tip.detach(),a.$tip=null,a.$arrow=null,a.$viewport=null})};var d=a.fn.tooltip;a.fn.tooltip=b,a.fn.tooltip.Constructor=c,a.fn.tooltip.noConflict=function(){return a.fn.tooltip=d,this}}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof b&&b;(e||!/destroy|hide/.test(b))&&(e||d.data("bs.popover",e=new c(this,f)),"string"==typeof b&&e[b]())})}var c=function(a,b){this.init("popover",a,b)};if(!a.fn.tooltip)throw new Error("Popover requires tooltip.js");c.VERSION="3.3.5",c.DEFAULTS=a.extend({},a.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:''}),c.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),c.prototype.constructor=c,c.prototype.getDefaults=function(){return c.DEFAULTS},c.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof c?"html":"append":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},c.prototype.hasContent=function(){return this.getTitle()||this.getContent()},c.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},c.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var d=a.fn.popover;a.fn.popover=b,a.fn.popover.Constructor=c,a.fn.popover.noConflict=function(){return a.fn.popover=d,this}}(jQuery),+function(a){"use strict";function b(c,d){this.$body=a(document.body),this.$scrollElement=a(a(c).is(document.body)?window:c),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",a.proxy(this.process,this)),this.refresh(),this.process()}function c(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})}b.VERSION="3.3.5",b.DEFAULTS={offset:10},b.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},b.prototype.refresh=function(){var b=this,c="offset",d=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),a.isWindow(this.$scrollElement[0])||(c="position",d=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var b=a(this),e=b.data("target")||b.attr("href"),f=/^#./.test(e)&&a(e);return f&&f.length&&f.is(":visible")&&[[f[c]().top+d,e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){b.offsets.push(this[0]),b.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.getScrollHeight(),d=this.options.offset+c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(this.scrollHeight!=c&&this.refresh(),b>=d)return g!=(a=f[f.length-1])&&this.activate(a);if(g&&b=e[a]&&(void 0===e[a+1]||b .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),b.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),h?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu").length&&b.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),e&&e()}var g=d.find("> .active"),h=e&&a.support.transition&&(g.length&&g.hasClass("fade")||!!d.find("> .fade").length);g.length&&h?g.one("bsTransitionEnd",f).emulateTransitionEnd(c.TRANSITION_DURATION):f(),g.removeClass("in")};var d=a.fn.tab;a.fn.tab=b,a.fn.tab.Constructor=c,a.fn.tab.noConflict=function(){return a.fn.tab=d,this};var e=function(c){c.preventDefault(),b.call(a(this),"show")};a(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',e).on("click.bs.tab.data-api",'[data-toggle="pill"]',e)}(jQuery),+function(a){"use strict";function b(b){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof b&&b;e||d.data("bs.affix",e=new c(this,f)),"string"==typeof b&&e[b]()})}var c=function(b,d){this.options=a.extend({},c.DEFAULTS,d),this.$target=a(this.options.target).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(b),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};c.VERSION="3.3.5",c.RESET="affix affix-top affix-bottom",c.DEFAULTS={offset:0,target:window},c.prototype.getState=function(a,b,c,d){var e=this.$target.scrollTop(),f=this.$element.offset(),g=this.$target.height();if(null!=c&&"top"==this.affixed)return c>e?"top":!1;if("bottom"==this.affixed)return null!=c?e+this.unpin<=f.top?!1:"bottom":a-d>=e+g?!1:"bottom";var h=null==this.affixed,i=h?e:f.top,j=h?g:b;return null!=c&&c>=e?"top":null!=d&&i+j>=a-d?"bottom":!1},c.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(c.RESET).addClass("affix");var a=this.$target.scrollTop(),b=this.$element.offset();return this.pinnedOffset=b.top-a},c.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},c.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b=this.$element.height(),d=this.options.offset,e=d.top,f=d.bottom,g=Math.max(a(document).height(),a(document.body).height());"object"!=typeof d&&(f=e=d),"function"==typeof e&&(e=d.top(this.$element)),"function"==typeof f&&(f=d.bottom(this.$element));var h=this.getState(g,b,e,f);if(this.affixed!=h){null!=this.unpin&&this.$element.css("top","");var i="affix"+(h?"-"+h:""),j=a.Event(i+".bs.affix");if(this.$element.trigger(j),j.isDefaultPrevented())return;this.affixed=h,this.unpin="bottom"==h?this.getPinnedOffset():null,this.$element.removeClass(c.RESET).addClass(i).trigger(i.replace("affix","affixed")+".bs.affix")}"bottom"==h&&this.$element.offset({top:g-b-f})}};var d=a.fn.affix;a.fn.affix=b,a.fn.affix.Constructor=c,a.fn.affix.noConflict=function(){return a.fn.affix=d,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var c=a(this),d=c.data();d.offset=d.offset||{},null!=d.offsetBottom&&(d.offset.bottom=d.offsetBottom),null!=d.offsetTop&&(d.offset.top=d.offsetTop),b.call(c,d)})})}(jQuery);; /*! jQuery Mobile v1.4.5 | Copyright 2010, 2014 jQuery Foundation, Inc. | jquery.org/license */ (function(e,t,n){typeof define=="function"&&define.amd?define(["jquery"],function(r){return n(r,e,t),r.mobile}):n(e.jQuery,e,t)})(this,document,function(e,t,n,r){(function(e,t,n,r){function T(e){while(e&&typeof e.originalEvent!="undefined")e=e.originalEvent;return e}function N(t,n){var i=t.type,s,o,a,l,c,h,p,d,v;t=e.Event(t),t.type=n,s=t.originalEvent,o=e.event.props,i.search(/^(mouse|click)/)>-1&&(o=f);if(s)for(p=o.length,l;p;)l=o[--p],t[l]=s[l];i.search(/mouse(down|up)|click/)>-1&&!t.which&&(t.which=1);if(i.search(/^touch/)!==-1){a=T(s),i=a.touches,c=a.changedTouches,h=i&&i.length?i[0]:c&&c.length?c[0]:r;if(h)for(d=0,v=u.length;di||Math.abs(n.pageY-p)>i,d&&!r&&P("vmousecancel",t,s),P("vmousemove",t,s),_()}function I(e){if(g)return;A();var t=C(e.target),n,r;P("vmouseup",e,t),d||(n=P("vclick",e,t),n&&n.isDefaultPrevented()&&(r=T(e).changedTouches[0],v.push({touchID:E,x:r.clientX,y:r.clientY}),m=!0)),P("vmouseout",e,t),d=!1,_()}function q(t){var n=e.data(t,i),r;if(n)for(r in n)if(n[r])return!0;return!1}function R(){}function U(t){var n=t.substr(1);return{setup:function(){q(this)||e.data(this,i,{});var r=e.data(this,i);r[t]=!0,l[t]=(l[t]||0)+1,l[t]===1&&b.bind(n,H),e(this).bind(n,R),y&&(l.touchstart=(l.touchstart||0)+1,l.touchstart===1&&b.bind("touchstart",B).bind("touchend",I).bind("touchmove",F).bind("scroll",j))},teardown:function(){--l[t],l[t]||b.unbind(n,H),y&&(--l.touchstart,l.touchstart||b.unbind("touchstart",B).unbind("touchmove",F).unbind("touchend",I).unbind("scroll",j));var r=e(this),s=e.data(this,i);s&&(s[t]=!1),r.unbind(n,R),q(this)||r.removeData(i)}}}var i="virtualMouseBindings",s="virtualTouchID",o="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),u="clientX clientY pageX pageY screenX screenY".split(" "),a=e.event.mouseHooks?e.event.mouseHooks.props:[],f=e.event.props.concat(a),l={},c=0,h=0,p=0,d=!1,v=[],m=!1,g=!1,y="addEventListener"in n,b=e(n),w=1,E=0,S,x;e.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(x=0;xMath.floor(e.pageY)||e.pageX===0&&Math.floor(i)>Math.floor(e.pageX))i-=n,s-=r;else if(se.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-n.coords[1])n.coords[0]?"swipeleft":"swiperight";return l(r,"swipe",e.Event("swipe",{target:i,swipestart:t,swipestop:n}),!0),l(r,s,e.Event(s,{target:i,swipestart:t,swipestop:n}),!0),!0}return!1},eventInProgress:!1,setup:function(){var t,n=this,r=e(n),s={};t=e.data(this,"mobile-events"),t||(t={length:0},e.data(this,"mobile-events",t)),t.length++,t.swipe=s,s.start=function(t){if(e.event.special.swipe.eventInProgress)return;e.event.special.swipe.eventInProgress=!0;var r,o=e.event.special.swipe.start(t),u=t.target,l=!1;s.move=function(t){if(!o||t.isDefaultPrevented())return;r=e.event.special.swipe.stop(t),l||(l=e.event.special.swipe.handleSwipe(o,r,n,u),l&&(e.event.special.swipe.eventInProgress=!1)),Math.abs(o.coords[0]-r.coords[0])>e.event.special.swipe.scrollSupressionThreshold&&t.preventDefault()},s.stop=function(){l=!0,e.event.special.swipe.eventInProgress=!1,i.off(f,s.move),s.move=null},i.on(f,s.move).one(a,s.stop)},r.on(u,s.start)},teardown:function(){var t,n;t=e.data(this,"mobile-events"),t&&(n=t.swipe,delete t.swipe,t.length--,t.length===0&&e.removeData(this,"mobile-events")),n&&(n.start&&e(this).off(u,n.start),n.move&&i.off(f,n.move),n.stop&&i.off(a,n.stop))}},e.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(t,n){e.event.special[t]={setup:function(){e(this).bind(n,e.noop)},teardown:function(){e(this).unbind(n)}}})}(e,this)});; !function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof module&&module.exports?module.exports=a(require("jquery")):a(jQuery)}(function(a){var b=Array.prototype.slice,c=Array.prototype.splice,d={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:"auto"},e=a(window),f=a(document),g=[],h=e.height(),i=function(){for(var b=e.scrollTop(),c=f.height(),d=c-h,i=b>d?d-b:0,j=0,k=g.length;jo||null===l.currentTop&&o=q.offset().top+q.outerHeight()&&l.stickyElement.offset().top<=l.topSpacing;r?l.stickyElement.css("position","absolute").css("top","").css("bottom",0).css("z-index",""):l.stickyElement.css("position","fixed").css("top",o).css("bottom","").css("z-index",l.zIndex)}}},j=function(){h=e.height();for(var b=0,c=g.length;b0;)g[f].stickyElement.get(0)===a(b).children(":first").get(0)&&(c.call(g,f,1),e=f);e!==-1&&d.css({width:"",position:"",top:"","float":"","z-index":""})})}};window.addEventListener?(window.addEventListener("scroll",i,!1),window.addEventListener("resize",j,!1)):window.attachEvent&&(window.attachEvent("onscroll",i),window.attachEvent("onresize",j)),a.fn.sticky=function(c){return k[c]?k[c].apply(this,b.call(arguments,1)):"object"!=typeof c&&c?void a.error("Method "+c+" does not exist on jQuery.sticky"):k.init.apply(this,arguments)},a.fn.unstick=function(c){return k[c]?k[c].apply(this,b.call(arguments,1)):"object"!=typeof c&&c?void a.error("Method "+c+" does not exist on jQuery.sticky"):k.unstick.apply(this,arguments)},a(function(){setTimeout(i,0)})});; function initTaboola(){window._taboola=window._taboola||[],_taboola.push({article:"auto"}),!function(a,b,c,d){document.getElementById(d)||(a.async=1,a.src=c,a.id=d,b.parentNode.insertBefore(a,b))}(document.createElement("script"),document.getElementsByTagName("script")[0],"//cdn.taboola.com/libtrc/newsuk-drivingcouk/loader.js","tb_loader_script"),window.performance&&"function"==typeof window.performance.mark&&window.performance.mark("tbl_ic")}function lazyMediaLoad(){$j.fn.isInViewport=function(){var a=$j(this).offset().top-150,b=a+$j(this).outerHeight(),c=$j(window).scrollTop(),d=c+$j(window).height();return b>c&&a=a?$j(e).removeClass("active"):$j(e).addClass("active"),b>0?$j(d).addClass("active"):$j(d).removeClass("active")}var g=".header-ad",h=!1;"undefined"!=typeof isAdSticky&&"true"==isAdSticky&&$j(window).width()>=768&&(a(),setTimeout(function(){$j(g).children(":first").animate({top:"-"+adHeaderHeight},200,b)},6e3)),$j(".js-submit-form").on("click",function(){$j(this).parent().submit()}),$j(".js-search-icon").on("click",function(a){a.preventDefault(),$j(".menu-item-search").hasClass("is-visible")?($j(".menu-item-search").removeClass("is-visible"),$j(".search-field").val("").focus()):($j(".menu-item-search").addClass("is-visible"),setTimeout(function(){$j(".terms").focus()},500))}),$j("html").on("touchend","#menu-main-menu-1 > li:not(.menu-item-home) > a",function(a){$j(this).hasClass("clicked")||(a.preventDefault(),$j(this).addClass("clicked").parent("li").siblings("li").children("a").removeClass("clicked"))});var i,j=$j("[data-toggle=collapse-side]"),k=j.attr("data-target"),l=j.attr("data-target-2");j.click(function(a){$j(l).hasClass("out")?($j(window).scrollTop(i),$j(l).css("top","auto")):(i=$j(window).scrollTop(),$j(l).css("top","-"+i+"px")),$j(k).toggleClass("in"),$j(l).toggleClass("out"),$j(window).scrollTop(i)}),$j(".navbar-nav > .menu-item > a").on("click",function(a){$j(this).siblings(".sub-menu").size()>0&&a.preventDefault(),$j(this).parent("li").siblings("li").children().removeClass("show rotated"),$j(this).parent("li").children(".sub-menu").toggleClass("show"),$j(this).parent("li").children(".arrow").toggleClass("rotated")}),$j(".navbar-nav .active").parents(".sub-menu").addClass("show").parent(".menu-item").children("img").addClass("rotated"),$j(".navbar-nav .current-menu-item").children("img").addClass("rotated").end().children(".sub-menu").addClass("show").end().find(".sub-menu a:first").addClass("active"),$j(".overlay").on("click",function(){$j(".side-collapse").addClass("in"),$j(".side-collapse-container").removeClass("out")}),$j(".bx-slider").bxSlider({controls:!1,auto:!0,pager:!0,pause:6e3,onSliderLoad:function(){$j(".bx-slider").css("visibility","visible")}}),$j(".item-image").bind("tap",c),$j(".twitter-list").bxSlider({auto:!0,pager:!1,useCSS:!1,controls:!1,pause:6e3});var m;m=$j(".competitor-carousel").bxSlider({nextSelector:"#competitor-carousel-next",prevSelector:"#competitor-carousel-prev",nextText:"",prevText:"",maxSlides:1,infiniteLoop:!1,slideWidth:310,slideMargin:0,moveSlides:1,controls:!0,auto:!1,pager:!1,pause:6e3,onSliderLoad:function(){$j(".bx-carousel").css("visibility","visible"),e("#competitor-carousel-prev","#competitor-carousel-next")},onSlideAfter:function(a,b,c){f(m.getSlideCount(),c,1,"#competitor-carousel-prev","#competitor-carousel-next")}}),$j(window).on("orientationchange load resize",function(){d()}),$j(".js-carousel").bxSlider({controls:!1,auto:!1,pager:!0,pause:12e3,onSliderLoad:function(){$j(".bx-carousel").css("visibility","visible")}}),$j(".js-carousel-wide").bxSlider({maxSlides:3,slideWidth:310,slideMargin:0,moveSlides:1,controls:!0,auto:!0,pager:!0,pause:6e3,onSliderLoad:function(){$j(".bx-carousel").css("visibility","visible")}}),$j(".info-panel .review-score-box").html($j(".article-left-sidebar .review-score-box").html()),$j(".more-info-btn").click(function(a){$j(".expand-text").html("close info"),$j(this).hasClass("expanded-info")?($j(this).removeClass("expanded-info"),$j(".info-panel").removeClass("expanded"),$j(".expand-icon").removeClass("expanded"),$j(".expand-text").html("more info")):($j(window).width()<768&&$j(".info-panel").width($j(window).width()),$j(this).addClass("expanded-info"),$j(".info-panel").addClass("expanded"),$j(".expand-icon").addClass("expanded"),$j(".expand-text").html("close info"))}),$j(".entry-content table").stacktable(),$j(".review-search .title").on("click",function(){$j(".search-boxes").toggleClass("show"),$j(".arrow").toggleClass("rotated")}),$j(".filter").change(function(){$j(this).hasClass("single")?$j(this).is(":checked")?$j(this).closest(".cat-filter").addClass("checked").siblings(".all-items").removeClass("checked").find(".filter").prop("checked",!1):$j(this).closest(".cat-filter").removeClass("checked"):$j(this).closest(".cat-filter").addClass("checked").siblings(".single-item").removeClass("checked").find(".filter").prop("checked",!1)}),$j(function(){$j(window).scroll(function(){$j("body").scrollTop()>320?$j(".back-top").addClass("visible"):$j(".back-top").removeClass("visible")}),$j(".back-top a").click(function(){return $j("body,html").animate({scrollTop:0},400),!1})})}),$j(window).on("resize scroll",function(){initTaboola()}),$j(window).on("resize scroll",function(){lazyMediaLoad()}),$j(document).ready(function(){lazyMediaLoad()});; // Limit List Items (function($){ $.fn.extend({ hideMaxListItems: function(options) { // Options var defaults = { max: 4, speed: 1000, moreText:'› See More', lessText:'› See Less', moreHTML:'

', }; var options = $.extend(defaults, options); // For each matched elements return this.each(function() { var $thisList = $(this); var op = options; var totalListItems = $thisList.children("li").length; var speedPerLI; // Get animation speed per LI; Divide the total speed by num of LIs. // Avoid dividing by 0 and make it at least 1 for small numbers. if ( totalListItems > 0 && op.speed > 0 ){ speedPerLI = Math.round( op.speed / totalListItems ); if ( speedPerLI < 1 ) { speedPerLI = 1; } } else { speedPerLI = 0; } // If list has more than the "max" option if ( (totalListItems > 0) && (totalListItems > op.max) ) { // Initial Page Load: Hide each LI element over the max $thisList.children("li").each(function(index){ if ( (index+1) > op.max ) { $(this).hide(0); } else { $(this).show(0); } }); // Replace [COUNT] in "moreText" or "lessText" with number of items beyond max var howManyMore = totalListItems - op.max; var newMoreText = op.moreText; var newLessText = op.lessText; if ( howManyMore > 0 ){ newMoreText = newMoreText.replace("[COUNT]", howManyMore); newLessText = newLessText.replace("[COUNT]", howManyMore); } // Add "Read More" button, or unhide it if it already exists if ( $thisList.next(".maxlist-more").length > 0 ){ $thisList.next(".maxlist-more").show(); } else { $thisList.after(op.moreHTML); } // READ MORE - add text within button, register click event that slides the items up and down $thisList.next(".maxlist-more") .children("a") .html(newMoreText) .off('click') .on("click", function(e){ var $theLink = $(this); // Get array of children past the maximum option var listElements = $theLink.parent().prev("ul, ol").children("li"); listElements = listElements.slice(op.max); // Sequentially slideToggle the list items // For more info on this awesome function: http://goo.gl/dW0nM if ( $theLink.html() == newMoreText ){ $(this).html(newLessText); var i = 0; (function() { $(listElements[i++] || []).slideToggle(speedPerLI,arguments.callee); })(); } else { $theLink.html(newMoreText); var i = listElements.length - 1; (function() { $(listElements[i--] || []).slideToggle(speedPerLI,arguments.callee); })(); } // Prevent Default Click Behavior (Scrolling) e.preventDefault(); }); } else { // List has less than the max // Hide "Read More" button if it's there if ( $thisList.next(".maxlist-more").length > 0 ){ $thisList.next(".maxlist-more").hide(); } // Show all list items that may have been hidden $thisList.children("li").each(function(index){ $(this).show(0); }); } }); } }); })(jQuery); // End jQuery Plugin (function($){ $(document).ready(function() { $('#content-sidebar #archives-2 ul').hideMaxListItems({ 'max':4 }); $('#content-sidebar #categories-2 ul').hideMaxListItems({ 'max':4 }); }); })(jQuery); ; jQuery(document).ready(function() { if ( $j('.reveal').length > 0 ) { $j.ajax({ type : "POST", dataType : "json", url : ajax_object.url, data : { 'action' : 'get_model_counter', 'model': $j('.reveal').attr("id") }, success: function(response) { if ( response['count']> 0) { $j('.reveal span').append(response['count']); } else { $j('.reveal').css("display","none"); } } }); $j.ajax({ type : "POST", dataType : "html", url : ajax_object.url, data : { 'action' : 'get_model_reviews', 'model': $j('.reveal').attr("id") }, success: function(response) { $j("#all-reviews").append(response); } }); } $j('.reveal').on("click" , function(e){ $j("#all-reviews").slideDown(); $j('.reveal').css("display","none"); return false; }); }); // url: GetModels.url, // type: 'GET', // data: { // 'action':'st_getmodels', // 'make_type' : make_type // }, // dataType: 'json', // success: function(data) { // var select = $j('select#model'); // select.empty().append(''); // for (var i=0; i < data.length; ++i){ // select.append(''); // } // $j('select#model').prop('disabled', false); // }, ; /** * BxSlider v4.1.2 - Fully loaded, responsive content slider * http://bxslider.com * * Copyright 2014, Steven Wanderski - http://stevenwanderski.com - http://bxcreative.com * Written while drinking Belgian ales and listening to jazz * * Released under the MIT license - http://opensource.org/licenses/MIT */ !function(t){var e={},s={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(n){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(n)}),this;var o={},r=this;e.el=this;var a=t(window).width(),l=t(window).height(),d=function(){o.settings=t.extend({},s,n),o.settings.slideWidth=parseInt(o.settings.slideWidth),o.children=r.children(o.settings.slideSelector),o.children.length1||o.settings.maxSlides>1,o.carousel&&(o.settings.preloadImages="all"),o.minThreshold=o.settings.minSlides*o.settings.slideWidth+(o.settings.minSlides-1)*o.settings.slideMargin,o.maxThreshold=o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin,o.working=!1,o.controls={},o.interval=null,o.animProp="vertical"==o.settings.mode?"top":"left",o.usingCSS=o.settings.useCSS&&"fade"!=o.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var i in e)if(void 0!==t.style[e[i]])return o.cssPrefix=e[i].replace("Perspective","").toLowerCase(),o.animProp="-"+o.cssPrefix+"-transform",!0;return!1}(),"vertical"==o.settings.mode&&(o.settings.maxSlides=o.settings.minSlides),r.data("origStyle",r.attr("style")),r.children(o.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){r.wrap('
'),o.viewport=r.parent(),o.loader=t('
'),o.viewport.prepend(o.loader),r.css({width:"horizontal"==o.settings.mode?100*o.children.length+215+"%":"auto",position:"relative"}),o.usingCSS&&o.settings.easing?r.css("-"+o.cssPrefix+"-transition-timing-function",o.settings.easing):o.settings.easing||(o.settings.easing="swing"),f(),o.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),o.viewport.parent().css({maxWidth:p()}),o.settings.pager||o.viewport.parent().css({margin:"0 auto 0px"}),o.children.css({"float":"horizontal"==o.settings.mode?"left":"none",listStyle:"none",position:"relative"}),o.children.css("width",u()),"horizontal"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginRight",o.settings.slideMargin),"vertical"==o.settings.mode&&o.settings.slideMargin>0&&o.children.css("marginBottom",o.settings.slideMargin),"fade"==o.settings.mode&&(o.children.css({position:"absolute",zIndex:0,display:"none"}),o.children.eq(o.settings.startSlide).css({zIndex:o.settings.slideZIndex,display:"block"})),o.controls.el=t('
'),o.settings.captions&&P(),o.active.last=o.settings.startSlide==x()-1,o.settings.video&&r.fitVids();var e=o.children.eq(o.settings.startSlide);"all"==o.settings.preloadImages&&(e=o.children),o.settings.ticker?o.settings.pager=!1:(o.settings.pager&&T(),o.settings.controls&&C(),o.settings.auto&&o.settings.autoControls&&E(),(o.settings.controls||o.settings.autoControls||o.settings.pager)&&o.viewport.after(o.controls.el)),g(e,h)},g=function(e,i){var s=e.find("img, iframe").length;if(0==s)return i(),void 0;var n=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++n==s&&i()}).each(function(){this.complete&&t(this).load()})})},h=function(){if(o.settings.infiniteLoop&&"fade"!=o.settings.mode&&!o.settings.ticker){var e="vertical"==o.settings.mode?o.settings.minSlides:o.settings.maxSlides,i=o.children.slice(0,e).clone().addClass("bx-clone"),s=o.children.slice(-e).clone().addClass("bx-clone");r.append(i).prepend(s)}o.loader.remove(),S(),"vertical"==o.settings.mode&&(o.settings.adaptiveHeight=!0),o.viewport.height(v()),r.redrawSlider(),o.settings.onSliderLoad(o.active.index),o.initialized=!0,o.settings.responsive&&t(window).bind("resize",Z),o.settings.auto&&o.settings.autoStart&&H(),o.settings.ticker&&L(),o.settings.pager&&q(o.settings.startSlide),o.settings.controls&&W(),o.settings.touchEnabled&&!o.settings.ticker&&O()},v=function(){var e=0,s=t();if("vertical"==o.settings.mode||o.settings.adaptiveHeight)if(o.carousel){var n=1==o.settings.moveSlides?o.active.index:o.active.index*m();for(s=o.children.eq(n),i=1;i<=o.settings.maxSlides-1;i++)s=n+i>=o.children.length?s.add(o.children.eq(i-1)):s.add(o.children.eq(n+i))}else s=o.children.eq(o.active.index);else s=o.children;return"vertical"==o.settings.mode?(s.each(function(){e+=t(this).outerHeight()}),o.settings.slideMargin>0&&(e+=o.settings.slideMargin*(o.settings.minSlides-1))):e=Math.max.apply(Math,s.map(function(){return t(this).outerHeight(!1)}).get()),e},p=function(){var t="100%";return o.settings.slideWidth>0&&(t="horizontal"==o.settings.mode?o.settings.maxSlides*o.settings.slideWidth+(o.settings.maxSlides-1)*o.settings.slideMargin:o.settings.slideWidth),t},u=function(){var t=o.settings.slideWidth,e=o.viewport.width();return 0==o.settings.slideWidth||o.settings.slideWidth>e&&!o.carousel||"vertical"==o.settings.mode?t=e:o.settings.maxSlides>1&&"horizontal"==o.settings.mode&&(e>o.maxThreshold||e0)if(o.viewport.width()o.maxThreshold)t=o.settings.maxSlides;else{var e=o.children.first().width();t=Math.floor(o.viewport.width()/e)}else"vertical"==o.settings.mode&&(t=o.settings.minSlides);return t},x=function(){var t=0;if(o.settings.moveSlides>0)if(o.settings.infiniteLoop)t=o.children.length/m();else for(var e=0,i=0;e0&&o.settings.moveSlides<=f()?o.settings.moveSlides:f()},S=function(){if(o.children.length>o.settings.maxSlides&&o.active.last&&!o.settings.infiniteLoop){if("horizontal"==o.settings.mode){var t=o.children.last(),e=t.position();b(-(e.left-(o.viewport.width()-t.width())),"reset",0)}else if("vertical"==o.settings.mode){var i=o.children.length-o.settings.minSlides,e=o.children.eq(i).position();b(-e.top,"reset",0)}}else{var e=o.children.eq(o.active.index*m()).position();o.active.index==x()-1&&(o.active.last=!0),void 0!=e&&("horizontal"==o.settings.mode?b(-e.left,"reset",0):"vertical"==o.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,i,s){if(o.usingCSS){var n="vertical"==o.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";r.css("-"+o.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"==e?(r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),D()})):"reset"==e?r.css(o.animProp,n):"ticker"==e&&(r.css("-"+o.cssPrefix+"-transition-timing-function","linear"),r.css(o.animProp,n),r.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){r.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(s.resetValue,"reset",0),N()}))}else{var a={};a[o.animProp]=t,"slide"==e?r.animate(a,i,o.settings.easing,function(){D()}):"reset"==e?r.css(o.animProp,t):"ticker"==e&&r.animate(a,speed,"linear",function(){b(s.resetValue,"reset",0),N()})}},w=function(){for(var e="",i=x(),s=0;i>s;s++){var n="";o.settings.buildPager&&t.isFunction(o.settings.buildPager)?(n=o.settings.buildPager(s),o.pagerEl.addClass("bx-custom-pager")):(n=s+1,o.pagerEl.addClass("bx-default-pager")),e+='"}o.pagerEl.html(e)},T=function(){o.settings.pagerCustom?o.pagerEl=t(o.settings.pagerCustom):(o.pagerEl=t('
'),o.settings.pagerSelector?t(o.settings.pagerSelector).html(o.pagerEl):o.controls.el.addClass("bx-has-pager").append(o.pagerEl),w()),o.pagerEl.on("click","a",I)},C=function(){o.controls.next=t(''+o.settings.nextText+""),o.controls.prev=t(''+o.settings.prevText+""),o.controls.next.bind("click",y),o.controls.prev.bind("click",z),o.settings.nextSelector&&t(o.settings.nextSelector).append(o.controls.next),o.settings.prevSelector&&t(o.settings.prevSelector).append(o.controls.prev),o.settings.nextSelector||o.settings.prevSelector||(o.controls.directionEl=t('
'),o.controls.directionEl.append(o.controls.prev).append(o.controls.next),o.controls.el.addClass("bx-has-controls-direction").append(o.controls.directionEl))},E=function(){o.controls.start=t('"),o.controls.stop=t('"),o.controls.autoEl=t('
'),o.controls.autoEl.on("click",".bx-start",k),o.controls.autoEl.on("click",".bx-stop",M),o.settings.autoControlsCombine?o.controls.autoEl.append(o.controls.start):o.controls.autoEl.append(o.controls.start).append(o.controls.stop),o.settings.autoControlsSelector?t(o.settings.autoControlsSelector).html(o.controls.autoEl):o.controls.el.addClass("bx-has-controls-auto").append(o.controls.autoEl),A(o.settings.autoStart?"stop":"start")},P=function(){o.children.each(function(){var e=t(this).find("img:first").attr("title");void 0!=e&&(""+e).length&&t(this).append('
'+e+"
")})},y=function(t){o.settings.auto&&r.stopAuto(),r.goToNextSlide(),t.preventDefault()},z=function(t){o.settings.auto&&r.stopAuto(),r.goToPrevSlide(),t.preventDefault()},k=function(t){r.startAuto(),t.preventDefault()},M=function(t){r.stopAuto(),t.preventDefault()},I=function(e){o.settings.auto&&r.stopAuto();var i=t(e.currentTarget),s=parseInt(i.attr("data-slide-index"));s!=o.active.index&&r.goToSlide(s),e.preventDefault()},q=function(e){var i=o.children.length;return"short"==o.settings.pagerType?(o.settings.maxSlides>1&&(i=Math.ceil(o.children.length/o.settings.maxSlides)),o.pagerEl.html(e+1+o.settings.pagerShortSeparator+i),void 0):(o.pagerEl.find("a").removeClass("active"),o.pagerEl.each(function(i,s){t(s).find("a").eq(e).addClass("active")}),void 0)},D=function(){if(o.settings.infiniteLoop){var t="";0==o.active.index?t=o.children.eq(0).position():o.active.index==x()-1&&o.carousel?t=o.children.eq((x()-1)*m()).position():o.active.index==o.children.length-1&&(t=o.children.eq(o.children.length-1).position()),t&&("horizontal"==o.settings.mode?b(-t.left,"reset",0):"vertical"==o.settings.mode&&b(-t.top,"reset",0))}o.working=!1,o.settings.onSlideAfter(o.children.eq(o.active.index),o.oldIndex,o.active.index)},A=function(t){o.settings.autoControlsCombine?o.controls.autoEl.html(o.controls[t]):(o.controls.autoEl.find("a").removeClass("active"),o.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},W=function(){1==x()?(o.controls.prev.addClass("disabled"),o.controls.next.addClass("disabled")):!o.settings.infiniteLoop&&o.settings.hideControlOnEnd&&(0==o.active.index?(o.controls.prev.addClass("disabled"),o.controls.next.removeClass("disabled")):o.active.index==x()-1?(o.controls.next.addClass("disabled"),o.controls.prev.removeClass("disabled")):(o.controls.prev.removeClass("disabled"),o.controls.next.removeClass("disabled")))},H=function(){o.settings.autoDelay>0?setTimeout(r.startAuto,o.settings.autoDelay):r.startAuto(),o.settings.autoHover&&r.hover(function(){o.interval&&(r.stopAuto(!0),o.autoPaused=!0)},function(){o.autoPaused&&(r.startAuto(!0),o.autoPaused=null)})},L=function(){var e=0;if("next"==o.settings.autoDirection)r.append(o.children.clone().addClass("bx-clone"));else{r.prepend(o.children.clone().addClass("bx-clone"));var i=o.children.first().position();e="horizontal"==o.settings.mode?-i.left:-i.top}b(e,"reset",0),o.settings.pager=!1,o.settings.controls=!1,o.settings.autoControls=!1,o.settings.tickerHover&&!o.usingCSS&&o.viewport.hover(function(){r.stop()},function(){var e=0;o.children.each(function(){e+="horizontal"==o.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var i=o.settings.speed/e,s="horizontal"==o.settings.mode?"left":"top",n=i*(e-Math.abs(parseInt(r.css(s))));N(n)}),N()},N=function(t){speed=t?t:o.settings.speed;var e={left:0,top:0},i={left:0,top:0};"next"==o.settings.autoDirection?e=r.find(".bx-clone").first().position():i=o.children.first().position();var s="horizontal"==o.settings.mode?-e.left:-e.top,n="horizontal"==o.settings.mode?-i.left:-i.top,a={resetValue:n};b(s,"ticker",speed,a)},O=function(){o.touch={start:{x:0,y:0},end:{x:0,y:0}},o.viewport.bind("touchstart",X)},X=function(t){if(o.working)t.preventDefault();else{o.touch.originalPos=r.position();var e=t.originalEvent;o.touch.start.x=e.changedTouches[0].pageX,o.touch.start.y=e.changedTouches[0].pageY,o.viewport.bind("touchmove",Y),o.viewport.bind("touchend",V)}},Y=function(t){var e=t.originalEvent,i=Math.abs(e.changedTouches[0].pageX-o.touch.start.x),s=Math.abs(e.changedTouches[0].pageY-o.touch.start.y);if(3*i>s&&o.settings.preventDefaultSwipeX?t.preventDefault():3*s>i&&o.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=o.settings.mode&&o.settings.oneToOneTouch){var n=0;if("horizontal"==o.settings.mode){var r=e.changedTouches[0].pageX-o.touch.start.x;n=o.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-o.touch.start.y;n=o.touch.originalPos.top+r}b(n,"reset",0)}},V=function(t){o.viewport.unbind("touchmove",Y);var e=t.originalEvent,i=0;if(o.touch.end.x=e.changedTouches[0].pageX,o.touch.end.y=e.changedTouches[0].pageY,"fade"==o.settings.mode){var s=Math.abs(o.touch.start.x-o.touch.end.x);s>=o.settings.swipeThreshold&&(o.touch.start.x>o.touch.end.x?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto())}else{var s=0;"horizontal"==o.settings.mode?(s=o.touch.end.x-o.touch.start.x,i=o.touch.originalPos.left):(s=o.touch.end.y-o.touch.start.y,i=o.touch.originalPos.top),!o.settings.infiniteLoop&&(0==o.active.index&&s>0||o.active.last&&0>s)?b(i,"reset",200):Math.abs(s)>=o.settings.swipeThreshold?(0>s?r.goToNextSlide():r.goToPrevSlide(),r.stopAuto()):b(i,"reset",200)}o.viewport.unbind("touchend",V)},Z=function(){var e=t(window).width(),i=t(window).height();(a!=e||l!=i)&&(a=e,l=i,r.redrawSlider(),o.settings.onSliderResize.call(r,o.active.index))};return r.goToSlide=function(e,i){if(!o.working&&o.active.index!=e)if(o.working=!0,o.oldIndex=o.active.index,o.active.index=0>e?x()-1:e>=x()?0:e,o.settings.onSlideBefore(o.children.eq(o.active.index),o.oldIndex,o.active.index),"next"==i?o.settings.onSlideNext(o.children.eq(o.active.index),o.oldIndex,o.active.index):"prev"==i&&o.settings.onSlidePrev(o.children.eq(o.active.index),o.oldIndex,o.active.index),o.active.last=o.active.index>=x()-1,o.settings.pager&&q(o.active.index),o.settings.controls&&W(),"fade"==o.settings.mode)o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed),o.children.filter(":visible").fadeOut(o.settings.speed).css({zIndex:0}),o.children.eq(o.active.index).css("zIndex",o.settings.slideZIndex+1).fadeIn(o.settings.speed,function(){t(this).css("zIndex",o.settings.slideZIndex),D()});else{o.settings.adaptiveHeight&&o.viewport.height()!=v()&&o.viewport.animate({height:v()},o.settings.adaptiveHeightSpeed);var s=0,n={left:0,top:0};if(!o.settings.infiniteLoop&&o.carousel&&o.active.last)if("horizontal"==o.settings.mode){var a=o.children.eq(o.children.length-1);n=a.position(),s=o.viewport.width()-a.outerWidth()}else{var l=o.children.length-o.settings.minSlides;n=o.children.eq(l).position()}else if(o.carousel&&o.active.last&&"prev"==i){var d=1==o.settings.moveSlides?o.settings.maxSlides-m():(x()-1)*m()-(o.children.length-o.settings.maxSlides),a=r.children(".bx-clone").eq(d);n=a.position()}else if("next"==i&&0==o.active.index)n=r.find("> .bx-clone").eq(o.settings.maxSlides).position(),o.active.last=!1;else if(e>=0){var c=e*m();n=o.children.eq(c).position()}if("undefined"!=typeof n){var g="horizontal"==o.settings.mode?-(n.left-s):-n.top;b(g,"slide",o.settings.speed)}}},r.goToNextSlide=function(){if(o.settings.infiniteLoop||!o.active.last){var t=parseInt(o.active.index)+1;r.goToSlide(t,"next")}},r.goToPrevSlide=function(){if(o.settings.infiniteLoop||0!=o.active.index){var t=parseInt(o.active.index)-1;r.goToSlide(t,"prev")}},r.startAuto=function(t){o.interval||(o.interval=setInterval(function(){"next"==o.settings.autoDirection?r.goToNextSlide():r.goToPrevSlide()},o.settings.pause),o.settings.autoControls&&1!=t&&A("stop"))},r.stopAuto=function(t){o.interval&&(clearInterval(o.interval),o.interval=null,o.settings.autoControls&&1!=t&&A("start"))},r.getCurrentSlide=function(){return o.active.index},r.getCurrentSlideElement=function(){return o.children.eq(o.active.index)},r.getSlideCount=function(){return o.children.length},r.redrawSlider=function(){o.children.add(r.find(".bx-clone")).outerWidth(u()),o.viewport.css("height",v()),o.settings.ticker||S(),o.active.last&&(o.active.index=x()-1),o.active.index>=x()&&(o.active.last=!0),o.settings.pager&&!o.settings.pagerCustom&&(w(),q(o.active.index))},r.destroySlider=function(){o.initialized&&(o.initialized=!1,t(".bx-clone",this).remove(),o.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),o.controls.el&&o.controls.el.remove(),o.controls.next&&o.controls.next.remove(),o.controls.prev&&o.controls.prev.remove(),o.pagerEl&&o.settings.controls&&o.pagerEl.remove(),t(".bx-caption",this).remove(),o.controls.autoEl&&o.controls.autoEl.remove(),clearInterval(o.interval),o.settings.responsive&&t(window).unbind("resize",Z))},r.reloadSlider=function(t){void 0!=t&&(n=t),r.destroySlider(),d()},d(),this}}(jQuery);; !function(t){t.fn.cardtable=function(a){var s,d=this,e={headIndex:0},n=t.extend({},e,a) return s=a&&a.headIndex?a.headIndex:0,d.each(function(){var a=t(this) if(!a.hasClass("stacktable")){var s=t(this).prop("class"),d=t("
") "undefined"!=typeof n.myClass&&d.addClass(n.myClass) var e,l,h,i,r,c="" a.addClass("stacktable large-only"),e=a.find("caption").clone(),l=a.find("tr").eq(0),a.find("tbody tr").each(function(){h="",i="",r=t(this).prop("class"),t(this).find("td,th").each(function(a){""!==t(this).html()&&(i+='',i+=l.find("td,th").eq(a).html()?''+l.find("td,th").eq(a).html()+"":'',i+=''+t(this).html()+"",i+="")}),c+=''+h+i+"
"}),a.find("tfoot tr td").each(function(a,d){""!==t.trim(t(d).text())&&(c+='
'+t(d).html()+"
")}),d.prepend(e),d.append(t(c)),a.before(d)}})},t.fn.stacktable=function(a){var s,d=this,e={headIndex:0},n=t.extend({},e,a) return s=a&&a.headIndex?a.headIndex:0,d.each(function(){var a=t(this).prop("class"),d=t('
') "undefined"!=typeof n.myClass&&d.addClass(n.myClass) var e,l,h,i,r,c,o="" e=t(this),e.addClass("stacktable large-only"),l=e.find("caption").clone(),h=e.find("tr").eq(0),e.find("tr").each(function(a){i="",r="",c=t(this).prop("class"),0===a?o+=''+t(this).find("th,td").eq(s).html()+"":(t(this).find("td,th").each(function(a){a===s?i=''+t(this).html()+"":""!==t(this).html()&&(r+='',r+=h.find("td,th").eq(a).html()?''+h.find("td,th").eq(a).html()+"":'',r+=''+t(this).html()+"",r+="")}),o+=i+r)}),d.prepend(l),d.append(t(o)),e.before(d)})},t.fn.stackcolumns=function(a){var s=this,d={},e=t.extend({},d,a) return s.each(function(){var a=t(this),s=a.find("tr").eq(0).find("td,th").length if(!(3>s)){var d=t('
') "undefined"!=typeof e.myClass&&d.addClass(e.myClass),a.addClass("stacktable large-only") for(var n=t(""),l=1;s>l;)a.find("tr").each(function(a){var s=t("") 0===a&&s.addClass("st-head-row st-head-row-main") var d=t(this).find("td,th").eq(0).clone().addClass("st-key"),e=l if(t(this).find("*[colspan]").length){var h=0 t(this).find("td,th").each(function(){var a=t(this).attr("colspan") return a?(a=parseInt(a,10),e-=a-1,h+a>l&&(e+=h+a-l-1),h+=a):h++,h>l?!1:void 0})}var i=t(this).find("td,th").eq(e).clone().addClass("st-val").removeAttr("colspan") s.append(d,i),n.append(s)}),++l d.append(t(n)),a.before(d)}})}}(jQuery); /*! Jssor Slider (MIT license) */ /* eslint-disable */ !function(i,h,m,f,d,k,e){new(function(){});var c={E:m.PI,m:m.max,k:m.min,K:m.ceil,P:m.floor,F:m.abs,sb:m.sin,dc:m.cos,Ee:m.tan,yf:m.atan,Yb:m.sqrt,q:m.pow,ke:m.random,$Round:m.round},g=i.$Jease$={$Swing:function(a){return-c.dc(a*c.E)/2+.5},$Linear:function(a){return a},$InQuad:function(a){return a*a},$OutQuad:function(a){return-a*(a-2)},$InOutQuad:function(a){return(a*=2)<1?1/2*a*a:-1/2*(--a*(a-2)-1)},$InCubic:function(a){return a*a*a},$OutCubic:function(a){return(a-=1)*a*a+1},$InOutCubic:function(a){return(a*=2)<1?1/2*a*a*a:1/2*((a-=2)*a*a+2)},$InQuart:function(a){return a*a*a*a},$OutQuart:function(a){return-((a-=1)*a*a*a-1)},$InOutQuart:function(a){return(a*=2)<1?1/2*a*a*a*a:-1/2*((a-=2)*a*a*a-2)},$InQuint:function(a){return a*a*a*a*a},$OutQuint:function(a){return(a-=1)*a*a*a*a+1},$InOutQuint:function(a){return(a*=2)<1?1/2*a*a*a*a*a:1/2*((a-=2)*a*a*a*a+2)},$InSine:function(a){return 1-c.dc(c.E/2*a)},$OutSine:function(a){return c.sb(c.E/2*a)},$InOutSine:function(a){return-1/2*(c.dc(c.E*a)-1)},$InExpo:function(a){return a==0?0:c.q(2,10*(a-1))},$OutExpo:function(a){return a==1?1:-c.q(2,-10*a)+1},$InOutExpo:function(a){return a==0||a==1?a:(a*=2)<1?1/2*c.q(2,10*(a-1)):1/2*(-c.q(2,-10*--a)+2)},$InCirc:function(a){return-(c.Yb(1-a*a)-1)},$OutCirc:function(a){return c.Yb(1-(a-=1)*a)},$InOutCirc:function(a){return(a*=2)<1?-1/2*(c.Yb(1-a*a)-1):1/2*(c.Yb(1-(a-=2)*a)+1)},$InElastic:function(a){if(!a||a==1)return a;var b=.3,d=.075;return-(c.q(2,10*(a-=1))*c.sb((a-d)*2*c.E/b))},$OutElastic:function(a){if(!a||a==1)return a;var b=.3,d=.075;return c.q(2,-10*a)*c.sb((a-d)*2*c.E/b)+1},$InOutElastic:function(a){if(!a||a==1)return a;var b=.45,d=.1125;return(a*=2)<1?-.5*c.q(2,10*(a-=1))*c.sb((a-d)*2*c.E/b):c.q(2,-10*(a-=1))*c.sb((a-d)*2*c.E/b)*.5+1},$InBack:function(a){var b=1.70158;return a*a*((b+1)*a-b)},$OutBack:function(a){var b=1.70158;return(a-=1)*a*((b+1)*a+b)+1},$InOutBack:function(a){var b=1.70158;return(a*=2)<1?1/2*a*a*(((b*=1.525)+1)*a-b):1/2*((a-=2)*a*(((b*=1.525)+1)*a+b)+2)},$InBounce:function(a){return 1-g.$OutBounce(1-a)},$OutBounce:function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},$InOutBounce:function(a){return a<1/2?g.$InBounce(a*2)*.5:g.$OutBounce(a*2-1)*.5+.5},$GoBack:function(a){return 1-c.F(2-1)},$InWave:function(a){return 1-c.dc(a*c.E*2)},$OutWave:function(a){return c.sb(a*c.E*2)},$OutJump:function(a){return 1-((a*=2)<1?(a=1-a)*a*a:(a-=1)*a*a)},$InJump:function(a){return(a*=2)<1?a*a*a:(a=2-a)*a*a},$Early:c.K,$Late:c.P};var b=i.$Jssor$=new function(){var j=this,xb=/\S+/g,K=1,eb=2,hb=3,gb=4,kb=5,L,r=0,n=0,B=0,E=navigator,qb=E.appName,p=E.userAgent,q=parseFloat;function Gb(){if(!L){L={Vc:"ontouchstart"in i||"createTouch"in h};var a;if(E.pointerEnabled||(a=E.msPointerEnabled))L.ie=a?"msTouchAction":"touchAction"}return L}function u(g){if(!r){r=-1;if(qb=="Microsoft Internet Explorer"&&!!i.attachEvent&&!!i.ActiveXObject){var e=p.indexOf("MSIE");r=K;n=q(p.substring(e+5,p.indexOf(";",e)));/*@cc_on@*/}else if(qb=="Netscape"&&!!i.addEventListener){var d=p.indexOf("Firefox"),b=p.indexOf("Safari"),f=p.indexOf("Chrome"),c=p.indexOf("AppleWebKit");if(d>=0){r=eb;n=q(p.substring(d+8))}else if(b>=0){var h=p.substring(0,b).lastIndexOf("/");r=f>=0?gb:hb;n=q(p.substring(h+1,b))}else{var a=/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/i.exec(p);if(a){r=K;n=q(a[1])}}if(c>=0)B=q(p.substring(c+12))}else{var a=/(opera)(?:.*version|)[ \/]([\w.]+)/i.exec(p);if(a){r=kb;n=q(a[2])}}}return g==r}function v(){return u(K)}function zb(){return u(eb)}function fb(){return u(hb)}function jb(){return u(kb)}function bb(){return fb()&&B>534&&B<535}function H(){u();return B>537||n>42||r==K&&n>=11}function cb(a){var b,c;return function(g){if(!b){b=d;var f=a.substr(0,1).toUpperCase()+a.substr(1);l([a].concat(["WebKit","ms","Moz","O","webkit"]),function(h,d){var b=a;if(d)b=h+f;if(g.style[b]!=e)return c=b})}return c}}function ab(b){var a;return function(c){a=a||cb(b)(c)||b;return a}}var M=ab("transform");function pb(a){return{}.toString.call(a)}var mb={};l(["Boolean","Number","String","Function","Array","Date","RegExp","Object"],function(a){mb["[object "+a+"]"]=a.toLowerCase()});function l(b,d){var a,c;if(pb(b)=="[object Array]"){for(a=0;a=a.x&&b.x<=a.x+a.w&&b.y>=a.y&&b.y<=a.y+a.h};j.oe=function(c,e){var a=b.Ig(e),d=b.jd(c);return j.Yf(d,a)};function w(c,d,a){if(a!==e)c.style[d]=a==e?"":a;else{var b=c.currentStyle||c.style;a=b[d];if(a==""&&i.getComputedStyle){b=c.ownerDocument.defaultView.getComputedStyle(c,f);b&&(a=b.getPropertyValue(d)||b[d])}return a}}function Y(b,c,a,d){if(a===e){a=q(w(b,c));isNaN(a)&&(a=f);return a}if(a==f)a="";else d&&(a+="px");w(b,c,a)}function m(c,a){var d=a?Y:w,b;if(a&4)b=ab(c);return function(e,f){return d(e,b?b(e):c,f,a&2)}}function Bb(a){return q(a.style.opacity||"1")}function Db(b,a){b.style.opacity=a==1?"":c.$Round(a*100)/100}var O={$Rotate:["rotate"],$RotateX:["rotateX"],$RotateY:["rotateY"],$SkewX:["skewX"],$SkewY:["skewY"]};if(!H())O=z(O,{$ScaleX:["scaleX",2],$ScaleY:["scaleY",2],$TranslateZ:["translateZ",1]});function N(c,a){var b="";if(a){if(v()&&n&&n<10){delete a.$RotateX;delete a.$RotateY;delete a.$TranslateZ}l(a,function(d,c){var a=O[c];if(a){var e=a[1]||0;if(P[c]!=d)b+=" "+a[0]+"("+d+(["deg","px",""])[e]+")"}});if(H()){if(a.$TranslateX||a.$TranslateY||a.$TranslateZ!=e)b+=" translate3d("+(a.$TranslateX||0)+"px,"+(a.$TranslateY||0)+"px,"+(a.$TranslateZ||0)+"px)";if(a.$ScaleX==e)a.$ScaleX=1;if(a.$ScaleY==e)a.$ScaleY=1;if(a.$ScaleX!=1||a.$ScaleY!=1)b+=" scale3d("+a.$ScaleX+", "+a.$ScaleY+", 1)"}}c.style[M(c)]=b}j.Zf=m("transformOrigin",4);j.dg=m("backfaceVisibility",4);m("transformStyle",4);j.bg=m("perspective",6);j.xg=m("perspectiveOrigin",4);j.yg=function(b,a){if(v()&&n<9)b.style.zoom=a==1?"":a;else{var c=M(b),f=a==1?"":"scale("+a+")",e=b.style[c],g=new RegExp(/[\s]*scale\(.*?\)/g),d=lb(e,[g],f);b.style[c]=d}};j.$AddEvent=function(a,c,d,b){a=j.$GetElement(a);if(a.addEventListener){c=="mousewheel"&&a.addEventListener("DOMMouseScroll",d,b);a.addEventListener(c,d,b)}else if(a.attachEvent){a.attachEvent("on"+c,d);b&&a.setCapture&&a.setCapture()}};j.$RemoveEvent=function(a,c,d,b){a=j.$GetElement(a);if(a.removeEventListener){c=="mousewheel"&&a.removeEventListener("DOMMouseScroll",d,b);a.removeEventListener(c,d,b)}else if(a.detachEvent){a.detachEvent("on"+c,d);b&&a.releaseCapture&&a.releaseCapture()}};j.$CancelEvent=function(a){a=t(a);a.preventDefault&&a.preventDefault();a.cancel=d;a.returnValue=k};j.$StopEvent=function(a){a=t(a);a.stopPropagation&&a.stopPropagation();a.cancelBubble=d};j.S=function(d,c){var a=[].slice.call(arguments,2),b=function(){var b=a.concat([].slice.call(arguments,0));return c.apply(d,b)};return b};j.Ag=function(a,b){if(b==e)return a.textContent||a.innerText;var c=h.createTextNode(b);j.Xb(a);a.appendChild(c)};j.Ig=function(b){var a=b.getBoundingClientRect();return{x:a.left,y:a.top,w:a.right-a.left,h:a.bottom-a.top}};j.Eb=function(d,c){for(var b=[],a=d.firstChild;a;a=a.nextSibling)(c||a.nodeType==1)&&b.push(a);return b};function ob(a,c,e,b){b=b||"u";for(a=a?a.firstChild:f;a;a=a.nextSibling)if(a.nodeType==1){if(D(a,b)==c)return a;if(!e){var d=ob(a,c,e,b);if(d)return d}}}j.$FindChild=ob;function T(a,d,g,b){b=b||"u";var c=[];for(a=a?a.firstChild:f;a;a=a.nextSibling)if(a.nodeType==1){D(a,b)==d&&c.push(a);if(!g){var e=T(a,d,g,b);if(e.length)c=c.concat(e)}}return c}j.qg=function(b,a){return b.getElementsByTagName(a)};j.tb=function(a,f,d,g){d=d||"u";var e;do{if(a.nodeType==1){var c;d&&(c=D(a,d));if(c&&c==rb(f,c)||g==a.tagName){e=a;break}}a=b.sd(a)}while(a&&a!=h.body);return e};j.ug=function(a){return X(["INPUT","TEXTAREA","SELECT"])[a.tagName]};function z(){var f=arguments,d,c,b,a,h=1&f[0],g=1+h;d=f[g-1]||{};for(;g-1;f--){var d=c[f],e=U(i);x(e,x(d));b.zd(e,d.style.cssText);b.Ib(e,d);b.nb(d)}return a};function Eb(){var a=this;b.V(a,o);var d,q="",s=["av","pv","ds","dn"],f=[],r,n=0,k=0,g=0;function m(){I(d,r,(f[g||k&2||k]||"")+" "+(f[n]||""));j.zc(d,g?"none":"")}function c(){n=0;a.T(i,"mouseup",c);a.T(h,"mouseup",c);a.T(h,"touchend",c);a.T(h,"touchcancel",c);a.T(i,"blur",c);m()}function p(b){if(g)j.$CancelEvent(b);else{n=4;m();a.a(i,"mouseup",c);a.a(h,"mouseup",c);a.a(h,"touchend",c);a.a(h,"touchcancel",c);a.a(i,"blur",c)}}a.ae=function(a){if(a===e)return k;k=a&2||a&1;m()};a.$Enable=function(a){if(a===e)return!g;g=a?0:3;m()};a.A=function(e){a.$Elmt=d=j.$GetElement(e);F(d,"data-jssor-button","1");var c=b.Tg(x(d));if(c)q=c.shift();l(s,function(a){f.push(q+a)});r=Z(" ",f);f.unshift("");a.a(d,"mousedown",p);a.a(d,"touchstart",p)};b.A(a)}j.qc=function(a){return new Eb(a)};j.Rb=w;j.Lb=m("overflow");j.zc=m("pointerEvents");j.ab=m("top",2);j.Xd=m("right",2);j.Vd=m("bottom",2);j.Q=m("left",2);j.C=m("width",2);j.D=m("height",2);m("marginLeft",2);m("marginTop",2);j.rb=m("position");j.Bb=m("display");j.Y=m("zIndex",1);j.hg=function(b,a,c){if(a!=e)Db(b,a,c);else return Bb(b)};j.zd=function(a,b){if(b!=e)a.style.cssText=b;else return a.style.cssText};j.gg=function(b,a){if(a===e){a=w(b,"backgroundImage")||"";var c=/\burl\s*\(\s*["']?([^"'\r\n,]+)["']?\s*\)/gi.exec(a)||[];return c[1]}w(b,"backgroundImage",a?"url('"+a+"')":"")};var J;j.Eg=J={$Opacity:j.hg,$Top:j.ab,$Right:j.Xd,$Bottom:j.Vd,$Left:j.Q,H:j.C,I:j.D,Ob:j.rb,Sd:j.Bb,$ZIndex:j.Y};j.Ud=function(c,b){var a={};l(b,function(d,b){if(J[b])a[b]=J[b](c)});return a};function s(b,i){var a=H(),g=bb(),h=M(b);function d(l,a){a=a||{};var g=a.$TranslateZ||0,i=(a.$RotateX||0)%360,j=(a.$RotateY||0)%360,k=(a.$Rotate||0)%360,c=a.$ScaleX,d=a.$ScaleY,f=a.Mh;if(c==e)c=1;if(d==e)d=1;if(f==e)f=1;var b=new Ab(a.$TranslateX,a.$TranslateY,g);b.$Scale(c,d,f);b.Zg(a.$SkewX,a.$SkewY);b.$RotateX(i);b.$RotateY(j);b.Yg(k);b.$Move(a.N,a.J);l.style[h]=b.ah()}s=function(c,b){b=b||{};var i=b.N,k=b.J,h;l(J,function(a,d){h=b[d];h!==e&&a(c,h)});j.Lg(c,b.$Clip);j.ig(c,b.vb);if(!a){i!=e&&j.Q(c,(b.Fd||0)+i);k!=e&&j.ab(c,(b.Pd||0)+k)}if(b.dh)if(g)ub(j.S(f,N,c,b));else if(a)d(c,b);else N(c,b)};j.Z=s;s(b,i)}j.fh=N;j.Z=s;function Ab(j,k,o){var d=this,b=[1,0,0,0,0,1,0,0,0,0,1,0,j||0,k||0,o||0,1],i=c.sb,h=c.dc,l=c.Ee;function g(a){return a*c.E/180}function m(b,c,f,g,i,l,n,o,q,t,u,w,y,A,C,F,a,d,e,h,j,k,m,p,r,s,v,x,z,B,D,E){return[b*a+c*j+f*r+g*z,b*d+c*k+f*s+g*B,b*e+c*m+f*v+g*D,b*h+c*p+f*x+g*E,i*a+l*j+n*r+o*z,i*d+l*k+n*s+o*B,i*e+l*m+n*v+o*D,i*h+l*p+n*x+o*E,q*a+t*j+u*r+w*z,q*d+t*k+u*s+w*B,q*e+t*m+u*v+w*D,q*h+t*p+u*x+w*E,y*a+A*j+C*r+F*z,y*d+A*k+C*s+F*B,y*e+A*m+C*v+F*D,y*h+A*p+C*x+F*E]}function e(c,a){return m.apply(f,(a||b).concat(c))}d.$Scale=function(a,c,d){if(a!=1||c!=1||d!=1)b=e([a,0,0,0,0,c,0,0,0,0,d,0,0,0,0,1])};d.$Move=function(a,c,d){b[12]+=a||0;b[13]+=c||0;b[14]+=d||0};d.$RotateX=function(c){if(c){a=g(c);var d=h(a),f=i(a);b=e([1,0,0,0,0,d,f,0,0,-f,d,0,0,0,0,1])}};d.$RotateY=function(c){if(c){a=g(c);var d=h(a),f=i(a);b=e([d,0,-f,0,0,1,0,0,f,0,d,0,0,0,0,1])}};d.Yg=function(c){if(c){a=g(c);var d=h(a),f=i(a);b=e([d,f,0,0,-f,d,0,0,0,0,1,0,0,0,0,1])}};d.Zg=function(a,c){if(a||c){j=g(a);k=g(c);b=e([1,l(k),0,0,l(j),1,0,0,0,0,1,0,0,0,0,1])}};d.ah=function(){return"matrix3d("+b.join(",")+")"}}var P={Fd:0,Pd:0,N:0,J:0,$Zoom:1,$ScaleX:1,$ScaleY:1,$Rotate:0,$RotateX:0,$RotateY:0,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0};j.ad=function(c,d){var a=c||{};if(c)if(b.me(c))a={W:a};else if(b.me(c.$Clip))a.$Clip={W:c.$Clip};a.W=a.W||d;if(a.$Clip)a.$Clip.W=a.$Clip.W||d;if(a.vb)a.vb.W=a.vb.W||d;return a};function tb(c,a){var b={};l(c,function(c,d){var f=c;if(a[d]!=e)if(j.oc(c))f=c+a[d];else f=tb(c,a[d]);b[d]=f});return b}j.Sg=tb;j.Ld=function(o,j,s,t,D,E,p){var a=j;if(o){a={};for(var i in j){var F=E[i]||1,B=D[i]||[0,1],h=(s-B[0])/B[1];h=c.k(c.m(h,0),1);h=h*F;var y=c.P(h);if(h!=y)h-=y;var k=t.W||g.$Linear,m,G=o[i],r=j[i];if(b.oc(r)){k=t[i]||k;var C=k(h);m=G+r*C}else{m=z({kc:{}},o[i]);var A=t[i]||{};l(r.kc||r,function(d,a){k=A[a]||A.W||k;var c=k(h),b=d*c;m.kc[a]=b;m[a]+=b})}a[i]=m}var x=l(j,function(b,a){return P[a]!=e});x&&l(P,function(c,b){if(a[b]==e&&o[b]!==e)a[b]=o[b]});if(x){if(a.$Zoom)a.$ScaleX=a.$ScaleY=a.$Zoom;a.$OriginalWidth=p.$OriginalWidth;a.$OriginalHeight=p.$OriginalHeight;if(v()&&n>=11&&(j.N||j.J)&&s!=0&&s!=1)a.$Rotate=a.$Rotate||1e-8;a.dh=d}}if(j.$Clip&&p.$Move){var q=a.$Clip.kc,w=(q.$Top||0)+(q.$Bottom||0),u=(q.$Left||0)+(q.$Right||0);a.$Left=(a.$Left||0)+u;a.$Top=(a.$Top||0)+w;a.$Clip.$Left-=u;a.$Clip.$Right-=u;a.$Clip.$Top-=w;a.$Clip.$Bottom-=w}if(a.$Clip&&!a.$Clip.$Top&&!a.$Clip.$Left&&!a.$Clip.J&&!a.$Clip.N&&a.$Clip.$Right==p.$OriginalWidth&&a.$Clip.$Bottom==p.$OriginalHeight)a.$Clip=f;return a}};function o(){var a=this,f,e=[],c=[];function k(a,b){e.push({Kb:a,gc:b})}function j(a,c){b.c(e,function(b,d){b.Kb==a&&b.gc===c&&e.splice(d,1)})}function h(){e=[]}function g(){b.c(c,function(a){b.$RemoveEvent(a.Nd,a.Kb,a.gc,a.Md)});c=[]}a.bd=function(){return f};a.a=function(f,d,e,a){b.$AddEvent(f,d,e,a);c.push({Nd:f,Kb:d,gc:e,Md:a})};a.T=function(f,d,e,a){b.c(c,function(g,h){if(g.Nd===f&&g.Kb==d&&g.gc===e&&g.Md==a){b.$RemoveEvent(f,d,e,a);c.splice(h,1)}})};a.Rd=g;a.$On=a.addEventListener=k;a.$Off=a.removeEventListener=j;a.j=function(a){var c=[].slice.call(arguments,1);b.c(e,function(b){b.Kb==a&&b.gc.apply(i,c)})};a.$Destroy=function(){if(!f){f=d;g();h()}}}var l=function(C,F,h,m,T,O){C=C||0;var a=this,p,n,o,t,D=0,Q=1,M,N,L,E,B=0,j=0,r=0,A,l,f,g,s,z,v=[],y,I=k,J,H=k;function U(a){f+=a;g+=a;l+=a;j+=a;r+=a;B+=a}function x(x){var k=x;if(s)if(!z&&(k>=g||k=f)k=((k-f)%s+s)%s+f;if(!A||t||j!=k){var i=c.k(k,g);i=c.m(i,f);if(h.$Reverse)i=g-i+f;if(!A||t||i!=r){if(O){var w=(i-l)/(F||1),o=b.Ld(T,O,w,M,L,N,h);if(y)b.c(o,function(b,a){y[a]&&y[a](m,b)});else b.Z(m,o);var n;if(J){toDisablePointerEventsByAnimation=i>f&&i=n*o)a=n;x(a);if(!t&&a*o>=n*o)R(E);else u(P)}}function w(e,h,i){if(!p){p=d;t=i;E=h;e=c.m(e,f);e=c.k(e,g);n=e;o=n=0&&c=0&&h=0&&c=0&&df||d>h){switch(e){case j:case m:a++;break;case k:case l:case o:case i:b++;break;case p:case n:default:a--}if(a<0||b<0||a>f||b>h){switch(e){case j:case m:a=f;b++;break;case o:case i:b=h;a++;break;case k:case l:b=h;a--;break;case p:case n:default:a=0;b++}if(b>h)b=h;else if(b<0)b=0;else if(a>f)a=f;else if(a<0)a=0}d=b;c=a}}return r};h.$FormationRectangle=function(f){var d=f.$Cols||1,e=f.$Rows||1,h=[],a,b,i;i=c.$Round(c.k(d/2,e/2))+1;for(a=0;a1||a.$Clip;if(a.$Zoom||a.$Rotate){var J=d;if(J){e.$Zoom=a.$Zoom?a.$Zoom-1:1;f.$Zoom=1;var N=a.$Rotate||0;e.$Rotate=N*360*(x?-1:1);f.$Rotate=0}}if(K){var i=t.kc={};if(a.$Clip){var w=a.$ScaleClip||1;if(C&&z){i.$Top=g.I/2*w;i.$Bottom=-i.$Top}else if(C)i.$Bottom=-g.I*w;else if(z)i.$Top=g.I*w;if(B&&A){i.$Left=g.H/2*w;i.$Right=-i.$Left}else if(B)i.$Right=-g.H*w;else if(A)i.$Left=g.H*w}r.$Clip=t;f.$Clip=g[v]}var L=o?1:-1,M=s?1:-1;if(a.x)e.N+=n*a.x*L;if(a.y)e.J+=l*a.y*M;b.c(e,function(a,c){if(b.oc(a))if(a!=f[c])r[c]=a-f[c]});u[v]=j?f:e;var D=a.mf,y=c.$Round(m*a.$Delay/a.$Interval);h[v]=new Array(y);h[v].k=y;h[v].m=y+D-1;for(var F=0;F<=D;F++){var E=b.Ld(f,r,F/D,a.$Easing,a.$During,a.$Round,{$Move:a.$Move,$OriginalWidth:n,$OriginalHeight:l});E.$ZIndex=E.$ZIndex||1;h[v].push(E)}})});o.reverse();b.c(o,function(a){b.c(a,function(c){var f=c[0],e=c[1],d=f+","+e,a=i;if(e||f)a=b.gb(i);b.Z(a,u[d]);b.Lb(a,"hidden");b.rb(a,"absolute");z.Af(a);m[d]=a;b.eb(a,!j)})})}function w(){var a=this,b=0;l.call(a,0,v);a.ec=function(c,a){if(a-b>i){b=a;e&&e.rc(a);h&&h.rc(a)}};a.Xc=q}a.xf=function(){var a=0,b=u.$Transitions,d=b.length;if(x)a=y++%d;else a=c.P(c.ke()*d);b[a]&&(b[a].Zb=a);return b[a]};a.tf=function(x,y,k,l,b,t){a.zb();q=b;b=j(b,i,t);var g=l.Ad,f=k.Ad;g["no-image"]=!l.Uc;f["no-image"]=!k.Uc;var o=g,s=f,w=b,d=b.$Brother||j({},i,t);if(!b.$SlideOut){o=f;s=g}var u=d.$Shift||0;h=new n(m,s,d,c.m(u-d.$Interval,0),r,p);e=new n(m,o,w,c.m(d.$Interval-u,0),r,p);h.rc(0);e.rc(0);v=c.m(h.Cd,e.Cd);a.Zb=x};a.zb=function(){m.zb();h=f;e=f};a.Pe=function(){var a=f;if(e)a=new w;return a};if(z&&b.jg()<537)i=16;o.call(a);l.call(a,-1e7,1e7)};var r={yc:1};i.$JssorBulletNavigator$=function(){var a=this,E=b.V(a,o),h,v,C,B,m,l=0,g,s,p,z,A,i,k,u,t,x,j;function y(a){j[a]&&j[a].ae(a==l)}function w(b){a.j(r.yc,b*s)}a.cd=function(a){if(a!=m){var d=l,b=c.P(a/s);l=b;m=a;y(d);y(b)}};a.dd=function(a){b.eb(h,a)};a.hd=function(J){b.$Destroy(j);m=e;a.Rd();x=[];j=[];b.Xb(h);v=c.K(J/s);l=0;var F=u+z,G=t+A,r=c.K(v/p)-1;C=u+F*(!i?r:p-1);B=t+G*(i?r:p-1);b.C(h,C);b.D(h,B);for(var n=0;n1);i.$Enable((g.$Loop||!l.Ff(h))&&k>1)}a.cd=function(c,a,b){h=a;!b&&t()};a.dd=u;a.hd=function(g){k=g;h=0;if(!s){a.a(e,"click",b.S(f,p,-m));a.a(c,"click",b.S(f,p,m));j=b.qc(e);i=b.qc(c);b.z(e,n.Qc,1);b.z(c,n.Qc,1);s=d}};a.A=function(f,d,h,i){a.Jc=g=b.G({$Steps:1},h);e=f;c=d;if(g.cc){e=d;c=f}m=g.$Steps;l=i;if(g.$AutoCenter){q.Ac(e,n.yb,g.$AutoCenter);q.Ac(c,n.yb,g.$AutoCenter)}q.Cc(e);q.Cc(c)};a.$Destroy=function(){b.$Destroy(j,i,v)};b.A(a)};i.$JssorThumbnailNavigator$=function(){var i=this,E=b.V(i,o),h,B,a,y,C,m,l=[],A,z,g,p,s,w,v,x,t,u;function D(){var c=this;b.V(c,o);var h,e,n,l;function p(){n.ae(m==h)}function j(e){if(e||!t.$LastDragSucceeded()){var c=g-h%g,a=t.de((h+c)/g-1),b=a*g+g-c;if(a<0)b+=y%g;if(a>=C)b-=y%g;i.j(r.yc,b,k,d)}}c.ce=p;c.A=function(g,i){c.Zb=h=i;l=g.Fe||g.Uc||b.Tb();c.ld=e=b.fe(u,"thumbnailtemplate",l,d);n=b.qc(e);a.$ActionMode&1&&c.a(e,"click",b.S(f,j,0));a.$ActionMode&2&&c.a(e,"mouseenter",b.S(f,j,1))};b.A(c)}i.cd=function(a,e,d){if(a!=m){var b=m;m=a;b!=-1&&l[b].ce();l[a]&&l[a].ce()}!d&&t.$PlayTo(t.de(c.P(a/g)))};i.dd=function(a){b.eb(h,a)};i.hd=function(I,J){b.$Destroy(t,l);m=e;l=[];var K=b.gb(B);b.Xb(h);a.cc&&b.z(h,"dir","rtl");b.sg(h,b.Eb(K));var i=b.$FindChild(h,"slides",d);y=I;C=c.K(y/g);m=-1;var f=a.$Orientation&1,r=w+(w+p)*(g-1)*(1-f),o=v+(v+s)*(g-1)*f,E=(f?c.m:c.k)(A,r),u=(f?c.k:c.m)(z,o);x=c.K((A-p)/(w+p)*f+(z-s)/(v+s)*(1-f));var G=r+(r+p)*(x-1)*f,F=o+(o+s)*(x-1)*(1-f);E=c.k(E,G);u=c.k(u,F);b.C(i,E);b.D(i,u);b.nd(i,3);var n=[];b.c(J,function(k,e){var h=new D(k,e),d=h.ld,a=c.P(e/g),j=e%g;b.Q(d,(w+p)*j*(1-f));b.ab(d,(v+s)*j*f);if(!n[a]){n[a]=b.Tb();b.bb(i,n[a])}b.bb(n[a],d);l.push(h)});var H=b.G({$AutoPlay:0,$NaviQuitDrag:k,$SlideWidth:r,$SlideHeight:o,$SlideSpacing:p*f+s*(1-f),$MinDragOffsetToSlide:12,$SlideDuration:200,$PauseOnHover:1,$Cols:x,$PlayOrientation:a.$Orientation,$DragOrientation:a.$NoDrag||a.$DisableDrag?0:a.$Orientation},a);t=new j(h,H);q.Cc(h)};i.A=function(j,f,e){h=j;i.Jc=a=b.G({$SpacingX:0,$SpacingY:0,$Orientation:1,$ActionMode:1},f);A=b.C(h);z=b.D(h);var c=b.$FindChild(h,"slides",d);u=b.$FindChild(c,"prototype");e=b.gb(e);b.Ib(e,c);w=b.C(u);v=b.D(u);b.nb(u,c);b.rb(c,"absolute");b.Lb(c,"hidden");g=a.$Rows||1;p=a.$SpacingX;s=a.$SpacingY;a.$AutoCenter&=a.$Orientation;a.$AutoCenter&&q.Ac(h,n.yb,a.$AutoCenter);B=b.gb(h)};i.$Destroy=function(){b.$Destroy(t,l,E)};b.A(i)};function p(e,d,c){var a=this;b.V(a,o);l.call(a,0,c.$Idle);a.jc=0;a.rd=c.$Idle}p.Rc=21;p.xc=24;var t=i.$JssorCaptionSlideo$=i.$JssorSlideo$=function(){var a=this,gb=b.V(a,o);l.call(a,0,0);var e,u,fb=[g.$Linear,g.$Swing,g.$InQuad,g.$OutQuad,g.$InOutQuad,g.$InCubic,g.$OutCubic,g.$InOutCubic,g.$InQuart,g.$OutQuart,g.$InOutQuart,g.$InQuint,g.$OutQuint,g.$InOutQuint,g.$InSine,g.$OutSine,g.$InOutSine,g.$InExpo,g.$OutExpo,g.$InOutExpo,g.$InCirc,g.$OutCirc,g.$InOutCirc,g.$InElastic,g.$OutElastic,g.$InOutElastic,g.$InBack,g.$OutBack,g.$InOutBack,g.$InBounce,g.$OutBounce,g.$InOutBounce,g.$Early,g.$Late],I={},K,E,z=new l(0,0),L=[],w=[],G,r=0;function N(d,c){var a={};b.c(d,function(d,f){var e=I[f];if(e){if(b.Ae(d))d=N(d,c||f=="e");else if(c)if(b.oc(d))d=fb[d];a[e]=d}});return a}function O(c,f){var e=[],d=b.B(c,"play");if(f&&d){var g=new t(c,u,{Fg:d});S.push(g);a.a(g,p.Rc,Y);a.a(g,p.xc,T)}else b.c(b.Eb(c),function(a){e=e.concat(O(a,f+1))});if(!f&&(!j||j&16)||f&&(!d||!(d&16))){var h=K[b.B(c,"t")];h&&e.push({$Elmt:c,Xc:h})}return e}function H(c,e){var a=L[c];if(a==f){a=L[c]={pb:c,gd:[],xe:[]};var d=0;!b.c(w,function(a,b){d=b;return a.pb>c})&&d++;w.splice(d,0,a)}return a}function cb(o,p,g){var a,e;if(E){var k=E[b.B(o,"c")];if(k){a=H(k.r,0);a.eh=k.e||0}}b.c(p,function(h){var f=b.G(d,{},N(h)),i=b.ad(f.$Easing);delete f.$Easing;if(f.$Left){f.N=f.$Left;i.N=i.$Left;delete f.$Left}if(f.$Top){f.J=f.$Top;i.J=i.$Top;delete f.$Top}var m={$Easing:i,$OriginalWidth:g.H,$OriginalHeight:g.I},j=new l(h.b,h.d,m,o,g,f);r=c.m(r,h.b+h.d);if(a){if(!e)e=new l(h.b,0);e.U(j)}else{var k=H(h.b,h.b+h.d);k.gd.push(j)}if(f.vb)g.vb={xd:0,wd:0,Bd:0,$Opacity:0};g=b.Sg(g,f)});if(a&&e){e.ef();var h=e,j,i=e.mc(),m=e.ub(),n=c.m(m,a.eh);if(a.pbi){h=new l(i,a.pb-i);h.U(e,d)}else h=f;j=new l(a.pb,n-i,{pc:n-a.pb,Oe:d});j.U(e,d)}h&&a.gd.push(h);j&&a.xe.push(j)}return g}function bb(a){b.c(a,function(f){var a=f.$Elmt,e=b.C(a),d=b.D(a),c={$Left:b.Q(a),$Top:b.ab(a),N:0,J:0,$Opacity:1,$ZIndex:b.Y(a)||0,$Rotate:0,$RotateX:0,$RotateY:0,$ScaleX:1,$ScaleY:1,$TranslateX:0,$TranslateY:0,$TranslateZ:0,$SkewX:0,$SkewY:0,H:e,I:d,$Clip:{$Top:0,$Right:e,$Bottom:d,$Left:0}};c.Fd=c.$Left;c.Pd=c.$Top;cb(a,f.Xc,c)})}function eb(f,e,g){var c=f.b-e;if(c){var b=new l(e,c);b.U(z,d);b.$Shift(g);a.U(b)}a.Hc(f.d);return c}function db(e){var c=z.mc(),d=0;b.c(e,function(e,f){e=b.G({d:3e3},e);eb(e,c,d);c=e.b;d+=e.d;if(!f||e.t==2){a.jc=c;a.rd=c+e.d}})}function D(i,d,e){var f=d.length;if(f>4)for(var j=c.K(f/4),a=0;aa.jc&&a.M(a.jc);a.Zd(m||1);a.sc(0)}}function U(){!n&&q()}function R(c){var b=c;if(c<0&&a.n())b=1;if(b!=B){B=b;M&&a.j(p.xc,a,B)}}function J(a){i&8&&b.re(a)==27&&q()}function W(a){if(n&&b.qe(a)!==f){n=k;i&16&&b.$Delay(U,160)}}function v(a){i&32&&!b.ve(e,b.$EvtSrc(a))&&q()}function V(a){if(!n){n=d;if(j&1)b.oe(a,e)&&Q()}}function ab(h){var g=b.$EvtSrc(h),a=b.tb(g,f,f,"A"),c=a&&(b.ug(a)||a===e||b.ve(e,a));if(s&&x(i))!c&&q();else if(x(j))!c&&Q(d)}function Y(b){var a=b.Wg();childSlideoPlaying=y[a];childSlideoPlaying!==b&&y[a]&&y[a].pg();y[a]=b}function T(b,c){a.j(p.xc,b,c)}a.Wg=function(){return P||""};a.pg=q;a.pd=function(){R(1)};a.qd=function(){s=k;F=k;R(-1);!a.n()&&X()};a.ec=function(){!n&&A&&a.Jd()>a.rd&&q()};a.A=function(l,g,f){e=l;u=g;j=f.Fg;G=f.ng;K=u.$Transitions;E=u.$Controls;var k={$Top:"y",$Left:"x",$Bottom:"m",$Right:"t",$Rotate:"r",$RotateX:"rX",$RotateY:"rY",$ScaleX:"sX",$ScaleY:"sY",$TranslateX:"tX",$TranslateY:"tY",$TranslateZ:"tZ",$SkewX:"kX",$SkewY:"kY",$Opacity:"o",$Easing:"e",$ZIndex:"i",$Clip:"c",vb:"bc",xd:"re",wd:"gr",Bd:"bl"};b.c(k,function(b,a){I[b]=a});bb(O(e,0));D(z,w);if(j){a.U(z);G=d;A=b.B(e,"idle");(x(j)||x(i))&&a.a(e,"click",ab);if((j&1||A)&&!b.Sc().Vc){a.a(e,"mouseenter",V);a.a(e,"mouseleave",W)}i=b.B(e,"rollback");m=b.X(e,"speed")||"";if(m.substr(0,1)=="x")m=m.substr(1);m=b.Ce(m);P=b.X(e,"group");M=b.B(e,"pause")}var h=u.$Breaks||[],c=h[b.B(e,"b")]||[];c=c.concat({b:r,d:c.length?0:f.$Idle||A||0});db(c);G&&a.Hc(1e8);r=a.ub();D(a,w,d);a.M(-1);a.M(b.B(e,"begin")||0)};a.$Destroy=function(){b.$Destroy(gb,S);a.O();a.M(-1)};b.A(a)},j=i.$JssorSlider$=(i.module||{}).exports=function(){var a=this,Dc=b.V(a,o),Nb="data-jssor-slider",hc="data-jssor-thumb",u,m,S,Bb,db,jb,X,J,O,M,Xb,Ac,Ec=1,zc=1,jc=1,pc=1,lc={},x,R,Lb,Zb,Wb,vb,yb,xb,gb,B=[],Rb,s=-1,rc,q,I,H,P,nb,ob,F,N,kb,T,y,W,mb,Z=[],uc,wc,mc,t,ub,Hb,qb,U,Y,qc,Gb,Pb,sc,G,Kb=0,cb=0,Q=Number.MAX_VALUE,K=Number.MIN_VALUE,D,lb,eb,V=1,Vb=0,pb,A,Eb,Db,L,zb,Cb,C,ab,rb,z,Ab,ac=b.Sc(),Fb=ac.Vc,w=[],E,hb,bb,Mb,gc,kc,ib;function Jb(){return!V&&Y&12}function Fc(){return Vb||!V&&Y&3}function Ib(){return!A&&!Jb()&&!z.$IsPlaying()}function Xc(){return!Fc()&&Ib()}function ic(){return y||S}function Oc(){return ic()&2?ob:nb}function Qb(a,c,d){b.Q(a,c);b.ab(a,d)}function Cc(c,b){var a=ic(),d=(nb*b+Kb)*(a&1),e=(ob*b+Kb)*(a&2)/2;Qb(c,d,e)}function cc(b,f){if(A&&!(D&1)){var e=b,d;if(bQ){e=Q;d=1}if(d){var a=b-e;if(f){a=c.yf(a)*2/c.E;a=c.q(a*d,1.6)}else{a=c.q(a*d,.625);a=c.Ee(a*c.E/2)}b=e+a*d}}return b}function Qc(a){return cc(a,d)}function Lc(a){return cc(a)}function wb(a,b){if(!(D&1)){var c=a-Q+(b||0),d=K-a+(b||0);if(c>0&&c>d)a=Q;else if(d>0)a=K}return a}function xc(a){return!(D&1)&&a-K<.0001}function vc(a){return!(D&1)&&Q-a<.0001}function sb(a){return!(D&1)&&(a-K<.0001||Q-a<.0001)}function Sb(c,a,d){!ib&&b.c(Z,function(b){b.cd(c,a,d)})}function dc(b){var a=b,d=sb(b);if(d)a=wb(a);else{b=v(b);a=b}a=c.P(a);a=c.m(a,0);return a}function Ic(a){if(a!=s){w[s];Rb=s;s=a;rc=w[s]}}function Uc(){y=0;var b=C.n(),d=dc(b);Sb(d,b);if(sb(b)||b==c.P(b)){if(t&2&&(U>0&&d==q-1||U<0&&!d))t=0;Ic(d);a.j(j.$EVT_PARK,s,Rb)}}function nc(a,b){if(q&&(!b||!z.$IsPlaying())){z.O();z.Kc(a,a)}}function tb(a){if(q){a=v(a);a=wb(a);nc(a)}else Sb(0,0)}function ad(){var b=j.je||0,a=lb;j.je|=a;return W=a&~b}function Vc(){if(W){j.je&=~lb;W=0}}function bd(){var a=b.Tb();b.Z(a,gb);return a}function v(b,a){a=a||q||1;return(b%a+a)%a}function ec(c,a,b){t&8&&(t=0);bc(c,Gb,a,b)}function Tb(){b.c(Z,function(a){a.dd(a.Jc.$ChanceToShow<=V)})}function Kc(c){if(!V&&(b.qe(c)||!b.oe(c,u))){V=1;Tb();if(!A){Y&12&&Gc();w[s]&&w[s].uc()}a.j(j.$EVT_MOUSE_LEAVE)}}function Jc(){if(V){V=0;Tb();A||!(Y&12)||Hc()}a.j(j.$EVT_MOUSE_ENTER)}function Nc(){b.c(B,function(a){b.Z(a,gb);b.Lb(a,"hidden");b.Cb(a)});b.Z(R,gb)}function Ub(b,a){bc(b,a,d)}function bc(g,h,l,p){if(q&&(!A||m.$NaviQuitDrag)&&!Jb()){var f=C.n(),a=g;if(l){a=f+g;if(D&2){if(xc(f)&&g<0)a=Q;if(vc(f)&&g>0)a=K}}if(!(D&1))if(p)a=v(a);else a=wb(a,.5);if(l&&!sb(a))a=c.$Round(a);var i=(a-f)%q;a=f+i;if(h==e)h=Gb;var b=c.F(i),j=0;if(b){if(b<1)b=c.q(b,.5);if(b>1){var o=Oc(),n=(S&1?yb:xb)/o;b=c.k(b,n*1.5)}j=h*b}ib=d;z.O();ib=k;z.Kc(f,a,j)}}function Rc(e,h,o){var l=this,i={$Top:2,$Right:1,$Bottom:2,$Left:1},m={$Top:"top",$Right:"right",$Bottom:"bottom",$Left:"left"},g,a,f,j,k={};l.$Elmt=e;l.$ScaleSize=function(q,l,u){var p,s=q,r=l;if(!f){f=b.wg(e);g=e.parentNode;j={$Scale:b.B(e,n.Hf,1),$AutoCenter:b.B(e,n.yb)};b.c(m,function(c,a){k[a]=b.B(e,"data-scale-"+c,1)});a=e;if(h){a=b.gb(g,d);b.Z(a,{$Top:0,$Left:0});b.bb(a,e);b.bb(g,a)}}if(o){p=c.m(q,l);if(h)if(u>=0&&u<1){var w=c.k(q,l);p=c.k(p/w,1/(1-u))*w}}else s=r=p=c.q(O1e-5){var g=b,f=b;if(c.P(b)!=b&&b>e&&(D&1||b>cb))f++;var h=dc(f);Sb(h,g,d);a.j(j.$EVT_POSITION_CHANGE,v(g),v(e),b,e)}}}function Tc(o,n){var b=this,g,i,e,c,h;l.call(b,-1e8,2e8,{Hd:100});b.pd=function(){pb=d;a.j(j.$EVT_SWIPE_START,v(C.n()),ab.n())};b.qd=function(){pb=k;c=k;a.j(j.$EVT_SWIPE_END,v(C.n()),ab.n());!A&&Uc()};b.ec=function(f,b){var a=b;if(c)a=h;else if(e){var d=b/e;a=m.$SlideEasing(d)*(i-g)+g}a=Qc(a);ab.M(a)};b.Kc=function(a,c,h,f){A=k;e=h||1;g=a;i=c;ib=d;ab.M(a);ib=k;b.M(0);b.sc(e,f)};b.Wf=function(){c=d;c&&b.$Play(f,f,d)};b.lg=function(a){h=a};ab=new gd;ab.U(o);ab.U(n)}function Pc(){var c=this,a=bd();b.Y(a,0);c.$Elmt=a;c.Af=function(c){b.bb(a,c);b.eb(a)};c.zb=function(){b.Cb(a);b.Xb(a)}}function dd(r,h){var g=this,ib=b.V(g,o),x,B=0,V,jb=r,A=b.B(jb,"data-fillmode",m.$FillMode),F,u,z=[],T,K,P,O,i,n,y,Q;l.call(g,-N,N+1,{pc:D&1?q:e,$Reverse:Hb});function G(a){x&&x.$Destroy();Vb-=B;B=0;S(r,a,0);O=d;x=new db.$Class(r,db,{$Idle:b.B(r,"idle",qc),ng:!t});x.$On(p.xc,X)}function Y(){x.PcI||c>H)){var f=k,o=I/H*c/e;if(A&1)f=o>1;else if(A&2)f=o<1;l=f?e*H/c:I;i=f?H:c*I/e}b.C(u,l);b.D(u,i);b.ab(u,(H-i)/2);b.Q(u,(I-l)/2)}b.rb(u,"absolute");a.j(j.$EVT_LOAD_END,h)}}p.ue(k);n&&n(g)}function W(f,b,c,e){if(e==y&&s==h&&t&&Ib()&&!g.bd()){var a=v(f);E.tf(a,h,b,g,c,H/I);b.gh();rb.$Shift(a-rb.mc()-1);rb.M(a);nc(a,d)}}function ab(b){if(b==y&&s==h&&Ib()&&!g.bd()){if(!i){var a=f;if(E)if(E.Zb==h)a=E.Pe();else E.zb();Y();i=new cd(r,h,a,x);i.ch(n)}!i.$IsPlaying()&&i.fd()}}function J(a,d,k){if(a==h){if(a!=d)w[d]&&w[d].he();else!k&&i&&i.Jg();n&&n.$Enable();y=b.Ab();g.Nb(b.S(f,ab,y))}else{var j=c.k(h,a),e=c.m(h,a),o=c.k(e-j,j+q-e),l=N+m.$LazyLoading-1;(!P||o<=l)&&g.Nb()}}function bb(){if(s==h&&i){i.O();n&&n.$Quit();n&&n.$Disable();i.le()}}function fb(){s==h&&i&&i.O()}function Z(b){!eb&&a.j(j.$EVT_CLICK,h,b)}g.ue=function(a){if(Q!=a){Q=a;a&&b.bb(r,F);!a&&b.nb(F)}};g.Nb=function(e,c){c=c||g;if(z.length&&!K){c.ue(d);if(!T){T=d;a.j(j.$EVT_LOAD_START,h);b.c(z,function(a){if(!b.z(a,"src")){a.src=b.X(a,"src2")||"";b.Bb(a,b.z(a,"data-display"))}})}b.cg(z,u,b.S(f,M,e,c))}else M(e,c)};g.Ng=function(){if(Xc())if(q==1){g.he();J(h,h)}else{var a;if(E)a=E.xf(q);if(a){y=b.Ab();var c=h+U,d=w[v(c)];return d.Nb(b.S(f,W,c,d,a,y),g)}else(D||!sb(C.n())||!sb(C.n()+U))&&Ub(U)}};g.uc=function(){J(h,h,d)};g.he=function(){n&&n.$Quit();n&&n.$Disable();g.ze();i&&i.Og();i=f;G()};g.gh=function(){b.Cb(r)};g.ze=function(){b.eb(r)};function S(a,h,c){if(b.z(a,Nb))return;if(!O){b.z(a,"data-events",b.zc(a));b.z(a,"data-display",b.Bb(a));b.Zf(a,b.X(a,"data-to"));b.dg(a,b.X(a,"data-bf"));b.bg(a,b.B(a,"data-p"));b.xg(a,b.X(a,"po"));if(a.tagName=="IMG"){z.push(a);if(!b.z(a,"src")){P=d;b.Cb(a)}}var e=b.gg(a);if(e){var f=new Image;b.X(f,"src2",e);z.push(f)}c&&b.Y(a,(b.Y(a)||0)+1)}var g=b.Eb(a);b.c(g,function(d){if(c<2&&!u)if(b.X(d,"u")=="image"){u=d;u.border=0;b.Z(u,gb);b.Z(a,gb)}S(d,h,c+1)})}g.Tc=function(c,b){var a=N-b;Cc(V,a)};g.Zb=h;var L=b.$FindChild(r,"thumb",d);if(L){g.Fe=b.gb(L);b.Cb(L)}b.eb(r);F=b.gb(R);b.Y(F,1e3);g.a(r,"click",Z);G(d);g.Uc=u;g.Ad=r;g.ld=V=r;g.a(a,203,J);g.a(a,28,fb);g.a(a,24,bb);g.$Destroy=function(){b.$Destroy(ib,x,i)}}function cd(F,h,q,r){var c=this,D=b.V(c,o),i=0,u=0,g,m,f,e,n,x,v,y=w[h];l.call(c,0,0);function B(){c.fd()}function C(a){v=a;c.O();c.fd()}function z(){}c.fd=function(){if(!A&&!pb&&!v&&s==h&&!c.bd()){var k=c.n();if(!k)if(g&&!n){n=d;c.le(d);a.j(j.$EVT_SLIDESHOW_START,h,u,i,u,g,e)}a.j(j.$EVT_STATE_CHANGE,h,k,i,m,f,e);if(!Jb()){var l;if(k==e)t&&b.$Delay(y.Ng,20);else{if(k==f)l=e;else if(!k)l=f;else l=c.Id();(k!=f||!Fc())&&c.sc(l,B)}}}};c.Jg=function(){f==e&&f==c.n()&&c.M(m)};c.Og=function(){E&&E.Zb==h&&E.zb();var b=c.n();b=g){n=k;y.ze();E.zb();a.j(j.$EVT_SLIDESHOW_END,h,g,i,u,g,e)}a.j(j.$EVT_PROGRESS_CHANGE,h,b,i,m,f,e)};c.ch=function(a){if(a&&!x){x=a;a.$On($JssorPlayer$.If,C)}};c.a(r,p.Rc,z);q&&c.Gc(q);g=c.ub();c.Gc(r);m=g+r.jc;e=c.ub();f=t?g+r.rd:e;c.$Destroy=function(){D.$Destroy();c.O()}}function oc(){Mb=pb;gc=z.Id();bb=C.n();hb=Lc(bb)}function Hc(){oc();if(A||Jb()){z.O();a.j(j.hf)}}function Gc(f){if(Ib()){var b=C.n(),a=hb,e=0;if(f&&c.F(L)>=m.$MinDragOffsetToSlide){a=b;e=Cb}a=c.K(a);a=wb(a+e,.5);var d=c.F(a-b);if(d<1&&m.$SlideEasing!=g.$Linear)d=c.q(d,.5);if((!eb||!f)&&Mb)z.sc(gc);else if(b==a)rc.uc();else z.Kc(b,a,d*Gb)}}function fc(a){!b.tb(b.$EvtSrc(a),e,n.Td)&&b.$CancelEvent(a)}function yc(b){Eb=k;A=d;Hc();if(!Mb)y=0;a.j(j.$EVT_DRAG_START,v(bb),bb,b)}function Zc(a){Bc(a,1)}function Bc(c,d){L=0;zb=0;Cb=0;jc=pc;if(d){var i=c.touches[0];Db={x:i.clientX,y:i.clientY}}else Db=b.jd(c);var f=b.$EvtSrc(c),g=b.tb(f,"1",hc);if((!g||g===u)&&!W&&(!d||c.touches.length==1)){mb=b.tb(f,e,n.Td)||!lb||!ad();a.a(h,d?"touchmove":"mousemove",Yb);Eb=!mb&&b.tb(f,e,n.Qc);!Eb&&!mb&&yc(c,d)}}function Yb(a){var e,f;a=b.Xf(a);if(a.type!="mousemove")if(a.touches.length==1){f=a.touches[0];e={x:f.clientX,y:f.clientY}}else fb();else e=b.jd(a);if(e){var i=e.x-Db.x,j=e.y-Db.y,g=c.F(i),h=c.F(j);if(y||g>1.5||h>1.5)if(Eb)yc(a,f);else{if(c.P(hb)!=hb)y=y||S&W;if((i||j)&&!y){if(W==3)if(h>g)y=2;else y=1;else y=W;if(Fb&&y==1&&h>g*2.4)mb=d}var l=i,k=nb;if(y==2){l=j;k=ob}(L-zb)*qb<-1.5&&(Cb=0);(L-zb)*qb>1.5&&(Cb=-1);zb=L;L=l;kc=hb-L*qb/k/jc*m.$DragRatio;if(L&&y&&!mb){b.$CancelEvent(a);z.Wf(d);z.lg(kc)}}}}function fb(){Vc();a.T(h,"mousemove",Yb);a.T(h,"touchmove",Yb);eb=L;if(A){eb&&t&8&&(t=0);z.O();A=k;var b=C.n();a.j(j.$EVT_DRAG_END,v(b),b,v(bb),bb);Y&12&&oc();Gc(d)}}function Mc(a){var c=b.$EvtSrc(a),f=b.tb(c,"1",Nb);if(u===f)if(eb){b.$StopEvent(a);var d=b.tb(c,e,"data-jssor-button","A");d&&b.$CancelEvent(a)}else t&4&&(t=0)}a.$SlidesCount=function(){return B.length};a.$CurrentIndex=function(){return s};a.$CurrentPosition=function(){return C.n()};a.$AutoPlay=function(a){if(a==e)return t;if(a!=t){t=a;t&&w[s]&&w[s].uc()}};a.$IsDragging=function(){return A};a.$IsSliding=function(){return pb};a.$IsMouseOver=function(){return!V};a.$LastDragSucceeded=function(){return eb};a.$OriginalWidth=function(){return O};a.$OriginalHeight=function(){return M};a.$ScaleHeight=function(b){if(b==e)return Ac||M;a.$ScaleSize(b/M*O,b)};a.$ScaleWidth=function(b){if(b==e)return Xb||O;a.$ScaleSize(b,b/O*M)};a.$ScaleSize=function(c,a,d){b.C(u,c);b.D(u,a);Ec=c/O;zc=a/M;b.c(lc,function(a){a.$ScaleSize(Ec,zc,d)});if(!Xb){b.Ib(T,x);b.ab(T,0);b.Q(T,0)}Xb=c;Ac=a};a.Ef=xc;a.Ff=vc;a.$PlayTo=bc;a.$GoTo=tb;a.$Next=function(){Ub(1)};a.$Prev=function(){Ub(-1)};a.$Pause=function(){t=0};a.$Play=function(){a.$AutoPlay(t||1)};a.$SetSlideshowTransitions=function(a){m.$SlideshowOptions.$Transitions=a};a.$SetCaptionTransitions=function(a){db.$Transitions=a;db.Pc=b.Ab()};a.de=function(a){a=v(a);if(D&1){var d=G/F,b=v(C.n()),e=v(a-b+d),f=v(c.F(a-b));if(e>=N){if(f>q/2)if(a>b)a-=q;else a+=q}else if(a>b&&ed)a+=q}return a};function Yc(){ac.ie&&b.Rb(x,ac.ie,([f,"pan-y","pan-x","auto"])[lb]||"");a.a(u,"click",Mc,d);a.a(u,"mouseleave",Kc);a.a(u,"mouseenter",Jc);a.a(u,"mousedown",Bc);a.a(u,"touchstart",Zc);a.a(u,"dragstart",fc);a.a(u,"selectstart",fc);a.a(i,"mouseup",fb);a.a(h,"mouseup",fb);a.a(h,"touchend",fb);a.a(h,"touchcancel",fb);a.a(i,"blur",fb);m.$ArrowKeyNavigation&&a.a(h,"keydown",function(c){var a=b.re(c);if(a==37||a==39){t&8&&(t=0);ec(m.$ArrowKeyNavigation*(a-38)*qb,d)}})}function tc(f){Dc.Rd();B=[];w=[];var g=b.Eb(x),j=b.ye(["DIV","A","LI"]);b.c(g,function(a){j[a.tagName.toUpperCase()]&&!b.X(a,"u")&&b.Bb(a)!="none"&&B.push(a);b.Y(a,(b.Y(a)||0)+1)});q=B.length;if(q){var a=S&1?yb:xb;Nc();G=m.$Align;if(G==e)G=(a-F+P)/2;kb=a/F;N=c.k(q,m.$Cols||q,c.K(kb));D=N1&&Pb&&(!b.te()||b.id()>=9)}if(!(D&1)){cb=G/F;if(cb>q-1){cb=q-1;G=cb*F}K=cb;Q=K+q-kb-P/F}lb=(N>1||G?S:-1)&m.$DragOrientation;if(sc)E=new Pb(Ab,I,H,Bb,Fb,Qb);for(var d=0;d=0){d.push(B[b]);b originalHeight / windowHeight) { scaleWidth = Math.ceil(windowHeight / originalHeight * originalWidth); } jssorSliderWrapper.$ScaleWidth(scaleWidth); } } /* Get FullScreen */ function getFullScreen() { ScaleFullScreen(); fullScreenWrapper.css("display", "none"); closeWrapper.css("display", "block"); } /* Variable declaration */ var fullScreenWrapper = $('.full-screen-wrapper'); var closeWrapper = $('.close-wrapper'); var divWrapper = $(".div-wrapper"); /* On Clicking full screen */ fullScreenWrapper.click(function () { divWrapper.addClass("full-screen"); getFullScreen(); }); /* On Clicking Close */ closeWrapper.click(function () { closeWrapper.css("display", "none"); fullScreenWrapper.css("display", "block"); divWrapper.removeClass("full-screen"); // jssor_slider.$Pause(); ScaleSlider(); }); }); ; /*! jQuery UI - v1.13.2 - 2022-07-14 * http://jqueryui.com * Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js * Copyright jQuery Foundation and other contributors; Licensed MIT */ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.2", /*! * jQuery UI :data 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}), /*! * jQuery UI Disable Selection 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}), /*! * jQuery UI Focusable 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)}, /*! * jQuery UI Form Reset Mixin 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()), /*! * jQuery UI Support for jQuery core 1.8.x and newer 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * */ x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}), /*! * jQuery UI Keycode 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ x.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}, /*! * jQuery UI Labels 1.13.2 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license */ x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o
")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthW(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;e.collisionWidth>n?0o?0",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(e){var t=a(e.target),i=a(a.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this._menuItems().first();t||this.focus(e,i)},blur:function(e){this._delay(function(){a.contains(this.element[0],a.ui.safeActiveElement(this.document[0]))||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(e){var t,i;this.previousFilter||e.clientX===this.lastMousePosition.x&&e.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:e.clientX,y:e.clientY},t=a(e.target).closest(".ui-menu-item"),i=a(e.currentTarget),t[0]!==i[0])||i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i))},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=a(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,i,s,n=!0;switch(e.keyCode){case a.ui.keyCode.PAGE_UP:this.previousPage(e);break;case a.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case a.ui.keyCode.HOME:this._move("first","first",e);break;case a.ui.keyCode.END:this._move("last","last",e);break;case a.ui.keyCode.UP:this.previous(e);break;case a.ui.keyCode.DOWN:this.next(e);break;case a.ui.keyCode.LEFT:this.collapse(e);break;case a.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case a.ui.keyCode.ENTER:case a.ui.keyCode.SPACE:this._activate(e);break;case a.ui.keyCode.ESCAPE:this.collapse(e);break;default:t=this.previousFilter||"",s=n=!1,i=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),i===t?s=!0:i=t+i,t=this._filterMenuItems(i),(t=s&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(i=String.fromCharCode(e.keyCode),t=this._filterMenuItems(i)),t.length?(this.focus(e,t),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=a(this),t=e.prev(),i=a("").data("ui-menu-submenu-caret",!0);s._addClass(i,"ui-menu-icon","ui-icon "+n),t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(e=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=a(this);s._isDivider(e)&&s._addClass(e,"ui-menu-divider","ui-widget-content")}),t=(i=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(t,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!a.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var i;"icons"===e&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,s;this._hasScroll()&&(t=parseFloat(a.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(a.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-t-i,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),e=e.outerHeight(),t<0?this.activeMenu.scrollTop(i+t):sa;)o(e,r=n[a++])&&(~u(p,r)||f(p,r));return p}},function(t,n,r){var e=r(10),o=r(55),i=r(57);r=function(t){return function(n,r,u){var c,f=e(n),a=i(f),p=o(u,a);if(t&&r!=r){for(;p"+t+""}var u,c=e(42),f=e(64),a=e(59),p=e(48),s=e(66),l=e(39),y=(e=e(47),"prototype"),v="script",d=e("IE_PROTO"),b=function(){try{u=new ActiveXObject("htmlfile")}catch(t){}var t;b="undefined"==typeof document||document.domain&&u?function(t){t.write(i("")),t.close();var n=t.parentWindow.Object;return t=null,n}(u):((t=l("iframe")).style.display="none",s.appendChild(t),t.src=String("javascript:"),(t=t.contentWindow.document).open(),t.write(i("document.F=Object")),t.close(),t.F);for(var n=a.length;n--;)delete b[y][a[n]];return b()};p[d]=!0,n.exports=Object.create||function(n,r){var e;return null!==n?(o[y]=c(n),e=new o,o[y]=null,e[d]=n):e=b(),r===t?e:f(e,r)}},function(t,n,r){var e=r(5),o=r(41),i=r(42),u=r(10),c=r(65);t.exports=e?Object.defineProperties:function(t,n){i(t);for(var r,e=u(n),f=c(n),a=f.length,p=0;p3&&void 0!==arguments[3]?arguments[3]:10;const u=n[t];if(!e(o))return;if(!r(i))return;if("function"!=typeof c)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const l={callback:c,priority:s,namespace:i};if(u[o]){const n=u[o].handlers;let t;for(t=n.length;t>0&&!(s>=n[t-1].priority);t--);t===n.length?n[t]=l:n.splice(t,0,l),u.__current.forEach((n=>{n.name===o&&n.currentIndex>=t&&n.currentIndex++}))}else u[o]={handlers:[l],runs:0};"hookAdded"!==o&&n.doAction("hookAdded",o,i,c,s)}};var i=function(n,t){let o=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(i,c){const s=n[t];if(!e(i))return;if(!o&&!r(c))return;if(!s[i])return 0;let u=0;if(o)u=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else{const n=s[i].handlers;for(let t=n.length-1;t>=0;t--)n[t].namespace===c&&(n.splice(t,1),u++,s.__current.forEach((n=>{n.name===i&&n.currentIndex>=t&&n.currentIndex--})))}return"hookRemoved"!==i&&n.doAction("hookRemoved",i,c),u}};var c=function(n,t){return function(r,e){const o=n[t];return void 0!==e?r in o&&o[r].handlers.some((n=>n.namespace===e)):r in o}};var s=function(n,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return function(e){const o=n[t];o[e]||(o[e]={handlers:[],runs:0}),o[e].runs++;const i=o[e].handlers;for(var c=arguments.length,s=new Array(c>1?c-1:0),u=1;u