/**handles:isotope-min,wow-min,jquery-marquee,jquery-ticker,jquery-mCustomScrollbar,ResizeSensor,theia-sticky-sidebar,buzz-magazine-custom,buzz-magazine-navigation,jetpack-lazy-images-polyfill-intersectionobserver**/
/*!
 * Isotope PACKAGED v3.0.6
 *
 * Licensed GPLv3 for open source use
 * or Isotope Commercial License for commercial use
 *
 * https://isotope.metafizzy.co
 * Copyright 2010-2018 Metafizzy
 */

!function(t,e){"function"==typeof define&amp;&amp;define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&amp;&amp;module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){"use strict";function i(i,s,a){function u(t,e,o){var n,s="$()."+i+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,i);if(!h)return void r(i+" not initialized. Cannot call methods, i.e. "+s);var d=h[e];if(!d||"_"==e.charAt(0))return void r(s+" is not a valid method");var l=d.apply(h,o);n=void 0===n?l:n}),void 0!==n?n:t}function h(t,e){t.each(function(t,o){var n=a.data(o,i);n?(n.option(e),n._init()):(n=new s(o,e),a.data(o,i,n))})}a=a||e||t.jQuery,a&amp;&amp;(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&amp;&amp;(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){if("string"==typeof t){var e=n.call(arguments,1);return u(this,t,e)}return h(this,t),this},o(a))}function o(t){!t||t&amp;&amp;t.bridget||(t.bridget=i)}var n=Array.prototype.slice,s=t.console,r="undefined"==typeof s?function(){}:function(t){s.error(t)};return o(e||t.jQuery),i}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&amp;&amp;module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&amp;&amp;e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return o.indexOf(e)==-1&amp;&amp;o.push(e),this}},e.once=function(t,e){if(t&amp;&amp;e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{},o=i[t]=i[t]||{};return o[e]=!0,this}},e.off=function(t,e){var i=this._events&amp;&amp;this._events[t];if(i&amp;&amp;i.length){var o=i.indexOf(e);return o!=-1&amp;&amp;i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&amp;&amp;this._events[t];if(i&amp;&amp;i.length){i=i.slice(0),e=e||[];for(var o=this._onceEvents&amp;&amp;this._onceEvents[t],n=0;n&lt;i.length;n++){var s=i[n],r=o&amp;&amp;o[s];r&amp;&amp;(this.off(t,s),delete o[s]),s.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t}),function(t,e){&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;get-size/get-size&quot;,e):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e():t.getSize=e()}(window,function(){&quot;use strict&quot;;function t(t){var e=parseFloat(t),i=t.indexOf(&quot;%&quot;)==-1&amp;&amp;!isNaN(e);return i&amp;&amp;e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e&lt;h;e++){var i=u[e];t[i]=0}return t}function o(t){var e=getComputedStyle(t);return e||a(&quot;Style returned &quot;+e+&quot;. Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1&quot;),e}function n(){if(!d){d=!0;var e=document.createElement(&quot;div&quot;);e.style.width=&quot;200px&quot;,e.style.padding=&quot;1px 2px 3px 4px&quot;,e.style.borderStyle=&quot;solid&quot;,e.style.borderWidth=&quot;1px 2px 3px 4px&quot;,e.style.boxSizing=&quot;border-box&quot;;var i=document.body||document.documentElement;i.appendChild(e);var n=o(e);r=200==Math.round(t(n.width)),s.isBoxSizeOuter=r,i.removeChild(e)}}function s(e){if(n(),&quot;string&quot;==typeof e&amp;&amp;(e=document.querySelector(e)),e&amp;&amp;&quot;object&quot;==typeof e&amp;&amp;e.nodeType){var s=o(e);if(&quot;none&quot;==s.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var d=a.isBorderBox=&quot;border-box&quot;==s.boxSizing,l=0;l&lt;h;l++){var f=u[l],c=s[f],m=parseFloat(c);a[f]=isNaN(m)?0:m}var p=a.paddingLeft+a.paddingRight,y=a.paddingTop+a.paddingBottom,g=a.marginLeft+a.marginRight,v=a.marginTop+a.marginBottom,_=a.borderLeftWidth+a.borderRightWidth,z=a.borderTopWidth+a.borderBottomWidth,I=d&amp;&amp;r,x=t(s.width);x!==!1&amp;&amp;(a.width=x+(I?0:p+_));var S=t(s.height);return S!==!1&amp;&amp;(a.height=S+(I?0:y+z)),a.innerWidth=a.width-(p+_),a.innerHeight=a.height-(y+z),a.outerWidth=a.width+g,a.outerHeight=a.height+v,a}}var r,a=&quot;undefined&quot;==typeof console?e:function(t){console.error(t)},u=[&quot;paddingLeft&quot;,&quot;paddingRight&quot;,&quot;paddingTop&quot;,&quot;paddingBottom&quot;,&quot;marginLeft&quot;,&quot;marginRight&quot;,&quot;marginTop&quot;,&quot;marginBottom&quot;,&quot;borderLeftWidth&quot;,&quot;borderRightWidth&quot;,&quot;borderTopWidth&quot;,&quot;borderBottomWidth&quot;],h=u.length,d=!1;return s}),function(t,e){&quot;use strict&quot;;&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;desandro-matches-selector/matches-selector&quot;,e):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){&quot;use strict&quot;;var t=function(){var t=window.Element.prototype;if(t.matches)return&quot;matches&quot;;if(t.matchesSelector)return&quot;matchesSelector&quot;;for(var e=[&quot;webkit&quot;,&quot;moz&quot;,&quot;ms&quot;,&quot;o&quot;],i=0;i&lt;e.length;i++){var o=e[i],n=o+&quot;MatchesSelector&quot;;if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;fizzy-ui-utils/utils&quot;,[&quot;desandro-matches-selector/matches-selector&quot;],function(i){return e(t,i)}):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e(t,require(&quot;desandro-matches-selector&quot;)):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e};var o=Array.prototype.slice;i.makeArray=function(t){if(Array.isArray(t))return t;if(null===t||void 0===t)return[];var e=&quot;object&quot;==typeof t&amp;&amp;&quot;number&quot;==typeof t.length;return e?o.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);i!=-1&amp;&amp;t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&amp;&amp;t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return&quot;string&quot;==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e=&quot;on&quot;+t.type;this[e]&amp;&amp;this[e](t)},i.filterFindElements=function(t,o){t=i.makeArray(t);var n=[];return t.forEach(function(t){if(t instanceof HTMLElement){if(!o)return void n.push(t);e(t,o)&amp;&amp;n.push(t);for(var i=t.querySelectorAll(o),s=0;s&lt;i.length;s++)n.push(i[s])}}),n},i.debounceMethod=function(t,e,i){i=i||100;var o=t.prototype[e],n=e+&quot;Timeout&quot;;t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i)}},i.docReady=function(t){var e=document.readyState;&quot;complete&quot;==e||&quot;interactive&quot;==e?setTimeout(t):document.addEventListener(&quot;DOMContentLoaded&quot;,t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+&quot;-&quot;+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,o){i.docReady(function(){var s=i.toDashed(o),r=&quot;data-&quot;+s,a=document.querySelectorAll(&quot;[&quot;+r+&quot;]&quot;),u=document.querySelectorAll(&quot;.js-&quot;+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+&quot;-options&quot;,l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&amp;&amp;JSON.parse(s)}catch(a){return void(n&amp;&amp;n.error(&quot;Error parsing &quot;+r+&quot; on &quot;+t.className+&quot;: &quot;+a))}var u=new e(t,i);l&amp;&amp;l.data(t,o,u)})})},i}),function(t,e){&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;outlayer/item&quot;,[&quot;ev-emitter/ev-emitter&quot;,&quot;get-size/get-size&quot;],e):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e(require(&quot;ev-emitter&quot;),require(&quot;get-size&quot;)):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){&quot;use strict&quot;;function i(t){for(var e in t)return!1;return e=null,!0}function o(t,e){t&amp;&amp;(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}function n(t){return t.replace(/([A-Z])/g,function(t){return&quot;-&quot;+t.toLowerCase()})}var s=document.documentElement.style,r=&quot;string&quot;==typeof s.transition?&quot;transition&quot;:&quot;WebkitTransition&quot;,a=&quot;string&quot;==typeof s.transform?&quot;transform&quot;:&quot;WebkitTransform&quot;,u={WebkitTransition:&quot;webkitTransitionEnd&quot;,transition:&quot;transitionend&quot;}[r],h={transform:a,transition:r,transitionDuration:r+&quot;Duration&quot;,transitionProperty:r+&quot;Property&quot;,transitionDelay:r+&quot;Delay&quot;},d=o.prototype=Object.create(t.prototype);d.constructor=o,d._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:&quot;absolute&quot;})},d.handleEvent=function(t){var e=&quot;on&quot;+t.type;this[e]&amp;&amp;this[e](t)},d.getSize=function(){this.size=e(this.element)},d.css=function(t){var e=this.element.style;for(var i in t){var o=h[i]||i;e[o]=t[i]}},d.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption(&quot;originLeft&quot;),i=this.layout._getOption(&quot;originTop&quot;),o=t[e?&quot;left&quot;:&quot;right&quot;],n=t[i?&quot;top&quot;:&quot;bottom&quot;],s=parseFloat(o),r=parseFloat(n),a=this.layout.size;o.indexOf(&quot;%&quot;)!=-1&amp;&amp;(s=s/100*a.width),n.indexOf(&quot;%&quot;)!=-1&amp;&amp;(r=r/100*a.height),s=isNaN(s)?0:s,r=isNaN(r)?0:r,s-=e?a.paddingLeft:a.paddingRight,r-=i?a.paddingTop:a.paddingBottom,this.position.x=s,this.position.y=r},d.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption(&quot;originLeft&quot;),o=this.layout._getOption(&quot;originTop&quot;),n=i?&quot;paddingLeft&quot;:&quot;paddingRight&quot;,s=i?&quot;left&quot;:&quot;right&quot;,r=i?&quot;right&quot;:&quot;left&quot;,a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]=&quot;&quot;;var u=o?&quot;paddingTop&quot;:&quot;paddingBottom&quot;,h=o?&quot;top&quot;:&quot;bottom&quot;,d=o?&quot;bottom&quot;:&quot;top&quot;,l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]=&quot;&quot;,this.css(e),this.emitEvent(&quot;layout&quot;,[this])},d.getXValue=function(t){var e=this.layout._getOption(&quot;horizontal&quot;);return this.layout.options.percentPosition&amp;&amp;!e?t/this.layout.size.width*100+&quot;%&quot;:t+&quot;px&quot;},d.getYValue=function(t){var e=this.layout._getOption(&quot;horizontal&quot;);return this.layout.options.percentPosition&amp;&amp;e?t/this.layout.size.height*100+&quot;%&quot;:t+&quot;px&quot;},d._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=t==this.position.x&amp;&amp;e==this.position.y;if(this.setPosition(t,e),n&amp;&amp;!this.isTransitioning)return void this.layoutPosition();var s=t-i,r=e-o,a={};a.transform=this.getTranslate(s,r),this.transition({to:a,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})},d.getTranslate=function(t,e){var i=this.layout._getOption(&quot;originLeft&quot;),o=this.layout._getOption(&quot;originTop&quot;);return t=i?t:-t,e=o?e:-e,&quot;translate3d(&quot;+t+&quot;px, &quot;+e+&quot;px, 0)&quot;},d.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.moveTo=d._transitionTo,d.setPosition=function(t,e){this.position.x=parseFloat(t),this.position.y=parseFloat(e)},d._nonTransition=function(t){this.css(t.to),t.isCleaning&amp;&amp;this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.transition=function(t){if(!parseFloat(this.layout.options.transitionDuration))return void this._nonTransition(t);var e=this._transn;for(var i in t.onTransitionEnd)e.onEnd[i]=t.onTransitionEnd[i];for(i in t.to)e.ingProperties[i]=!0,t.isCleaning&amp;&amp;(e.clean[i]=!0);if(t.from){this.css(t.from);var o=this.element.offsetHeight;o=null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0};var l=&quot;opacity,&quot;+n(a);d.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t=&quot;number&quot;==typeof t?t+&quot;ms&quot;:t,this.css({transitionProperty:l,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(u,this,!1)}},d.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.onotransitionend=function(t){this.ontransitionend(t)};var f={&quot;-webkit-transform&quot;:&quot;transform&quot;};d.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,o=f[t.propertyName]||t.propertyName;if(delete e.ingProperties[o],i(e.ingProperties)&amp;&amp;this.disableTransition(),o in e.clean&amp;&amp;(this.element.style[t.propertyName]=&quot;&quot;,delete e.clean[o]),o in e.onEnd){var n=e.onEnd[o];n.call(this),delete e.onEnd[o]}this.emitEvent(&quot;transitionEnd&quot;,[this])}},d.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(u,this,!1),this.isTransitioning=!1},d._removeStyles=function(t){var e={};for(var i in t)e[i]=&quot;&quot;;this.css(e)};var c={transitionProperty:&quot;&quot;,transitionDuration:&quot;&quot;,transitionDelay:&quot;&quot;};return d.removeTransitionStyles=function(){this.css(c)},d.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+&quot;ms&quot;},d.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:&quot;&quot;}),this.emitEvent(&quot;remove&quot;,[this])},d.remove=function(){return r&amp;&amp;parseFloat(this.layout.options.transitionDuration)?(this.once(&quot;transitionEnd&quot;,function(){this.removeElem()}),void this.hide()):void this.removeElem()},d.reveal=function(){delete this.isHidden,this.css({display:&quot;&quot;});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty(&quot;visibleStyle&quot;);e[i]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent(&quot;reveal&quot;)},d.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return&quot;opacity&quot;;for(var i in e)return i},d.hide=function(){this.isHidden=!0,this.css({display:&quot;&quot;});var t=this.layout.options,e={},i=this.getHideRevealTransitionEndProperty(&quot;hiddenStyle&quot;);e[i]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.onHideTransitionEnd=function(){this.isHidden&amp;&amp;(this.css({display:&quot;none&quot;}),this.emitEvent(&quot;hide&quot;))},d.destroy=function(){this.css({position:&quot;&quot;,left:&quot;&quot;,right:&quot;&quot;,top:&quot;&quot;,bottom:&quot;&quot;,transition:&quot;&quot;,transform:&quot;&quot;})},o}),function(t,e){&quot;use strict&quot;;&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;outlayer/outlayer&quot;,[&quot;ev-emitter/ev-emitter&quot;,&quot;get-size/get-size&quot;,&quot;fizzy-ui-utils/utils&quot;,&quot;./item&quot;],function(i,o,n,s){return e(t,i,o,n,s)}):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e(t,require(&quot;ev-emitter&quot;),require(&quot;get-size&quot;),require(&quot;fizzy-ui-utils&quot;),require(&quot;./item&quot;)):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){&quot;use strict&quot;;function s(t,e){var i=o.getQueryElement(t);if(!i)return void(u&amp;&amp;u.error(&quot;Bad element for &quot;+this.constructor.namespace+&quot;: &quot;+(i||t)));this.element=i,h&amp;&amp;(this.$element=h(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++l;this.element.outlayerGUID=n,f[n]=this,this._create();var s=this._getOption(&quot;initLayout&quot;);s&amp;&amp;this.layout()}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if(&quot;number&quot;==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&amp;&amp;e[1],o=e&amp;&amp;e[2];if(!i.length)return 0;i=parseFloat(i);var n=m[o]||1;return i*n}var u=t.console,h=t.jQuery,d=function(){},l=0,f={};s.namespace=&quot;outlayer&quot;,s.Item=n,s.defaults={containerStyle:{position:&quot;relative&quot;},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:&quot;0.4s&quot;,hiddenStyle:{opacity:0,transform:&quot;scale(0.001)&quot;},visibleStyle:{opacity:1,transform:&quot;scale(1)&quot;}};var c=s.prototype;o.extend(c,e.prototype),c.option=function(t){o.extend(this.options,t)},c._getOption=function(t){var e=this.constructor.compatOptions[t];return e&amp;&amp;void 0!==this.options[e]?this.options[e]:this.options[t]},s.compatOptions={initLayout:&quot;isInitLayout&quot;,horizontal:&quot;isHorizontal&quot;,layoutInstant:&quot;isLayoutInstant&quot;,originLeft:&quot;isOriginLeft&quot;,originTop:&quot;isOriginTop&quot;,resize:&quot;isResizeBound&quot;,resizeContainer:&quot;isResizingContainer&quot;},c._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle);var t=this._getOption(&quot;resize&quot;);t&amp;&amp;this.bindResize()},c.reloadItems=function(){this.items=this._itemize(this.element.children)},c._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n&lt;e.length;n++){var s=e[n],r=new i(s,this);o.push(r)}return o},c._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},c.getItemElements=function(){return this.items.map(function(t){return t.element})},c.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption(&quot;layoutInstant&quot;),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},c._init=c.layout,c._resetLayout=function(){this.getSize()},c.getSize=function(){this.size=i(this.element)},c._getMeasurement=function(t,e){var o,n=this.options[t];n?(&quot;string&quot;==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&amp;&amp;(o=n),this[t]=o?i(o)[e]:n):this[t]=0},c.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},c._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},c._layoutItems=function(t,e){if(this._emitCompleteOnItems(&quot;layout&quot;,t),t&amp;&amp;t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},c._getItemLayoutPosition=function(){return{x:0,y:0}},c._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},c.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},c._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},c._postLayout=function(){this.resizeContainer()},c.resizeContainer=function(){var t=this._getOption(&quot;resizeContainer&quot;);if(t){var e=this._getContainerSize();e&amp;&amp;(this._setContainerMeasure(e.width,!0),this._setContainerMeasure(e.height,!1))}},c._getContainerSize=d,c._setContainerMeasure=function(t,e){if(void 0!==t){var i=this.size;i.isBorderBox&amp;&amp;(t+=e?i.paddingLeft+i.paddingRight+i.borderLeftWidth+i.borderRightWidth:i.paddingBottom+i.paddingTop+i.borderTopWidth+i.borderBottomWidth),t=Math.max(t,0),this.element.style[e?&quot;width&quot;:&quot;height&quot;]=t+&quot;px&quot;}},c._emitCompleteOnItems=function(t,e){function i(){n.dispatchEvent(t+&quot;Complete&quot;,null,[e])}function o(){r++,r==s&amp;&amp;i()}var n=this,s=e.length;if(!e||!s)return void i();var r=0;e.forEach(function(e){e.once(t,o)})},c.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),h)if(this.$element=this.$element||h(this.element),e){var n=h.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},c.ignore=function(t){var e=this.getItem(t);e&amp;&amp;(e.isIgnored=!0)},c.unignore=function(t){var e=this.getItem(t);e&amp;&amp;delete e.isIgnored},c.stamp=function(t){t=this._find(t),t&amp;&amp;(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},c.unstamp=function(t){t=this._find(t),t&amp;&amp;t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},c._find=function(t){if(t)return&quot;string&quot;==typeof t&amp;&amp;(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},c._manageStamps=function(){this.stamps&amp;&amp;this.stamps.length&amp;&amp;(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},c._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},c._manageStamp=d,c._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t),s={left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom};return s},c.handleEvent=o.handleEvent,c.bindResize=function(){t.addEventListener(&quot;resize&quot;,this),this.isResizeBound=!0},c.unbindResize=function(){t.removeEventListener(&quot;resize&quot;,this),this.isResizeBound=!1},c.onresize=function(){this.resize()},o.debounceMethod(s,&quot;onresize&quot;,100),c.resize=function(){this.isResizeBound&amp;&amp;this.needsResizeLayout()&amp;&amp;this.layout()},c.needsResizeLayout=function(){var t=i(this.element),e=this.size&amp;&amp;t;return e&amp;&amp;t.innerWidth!==this.size.innerWidth},c.addItems=function(t){var e=this._itemize(t);return e.length&amp;&amp;(this.items=this.items.concat(e)),e},c.appended=function(t){var e=this.addItems(t);e.length&amp;&amp;(this.layoutItems(e,!0),this.reveal(e))},c.prepended=function(t){var e=this._itemize(t);if(e.length){var i=this.items.slice(0);this.items=e.concat(i),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(i)}},c.reveal=function(t){if(this._emitCompleteOnItems(&quot;reveal&quot;,t),t&amp;&amp;t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},c.hide=function(t){if(this._emitCompleteOnItems(&quot;hide&quot;,t),t&amp;&amp;t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},c.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},c.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},c.getItem=function(t){for(var e=0;e&lt;this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},c.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&amp;&amp;e.push(i)},this),e},c.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems(&quot;remove&quot;,e),e&amp;&amp;e.length&amp;&amp;e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},c.destroy=function(){var t=this.element.style;t.height=&quot;&quot;,t.position=&quot;&quot;,t.width=&quot;&quot;,this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete f[e],delete this.element.outlayerGUID,h&amp;&amp;h.removeData(this.element,this.constructor.namespace)},s.data=function(t){t=o.getQueryElement(t);var e=t&amp;&amp;t.outlayerGUID;return e&amp;&amp;f[e]},s.create=function(t,e){var i=r(s);return i.defaults=o.extend({},s.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},s.compatOptions),i.namespace=t,i.data=s.data,i.Item=r(n),o.htmlInit(i,t),h&amp;&amp;h.bridget&amp;&amp;h.bridget(t,i),i};var m={ms:1,s:1e3};return s.Item=n,s}),function(t,e){&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;isotope-layout/js/item&quot;,[&quot;outlayer/outlayer&quot;],e):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e(require(&quot;outlayer&quot;)):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){&quot;use strict&quot;;function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.call(this),this.sortData={}},i.updateSortData=function(){if(!this.isIgnored){this.sortData.id=this.id,this.sortData[&quot;original-order&quot;]=this.id,this.sortData.random=Math.random();var t=this.layout.options.getSortData,e=this.layout._sorters;for(var i in t){var o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.apply(this,arguments),this.css({display:&quot;&quot;})},e}),function(t,e){&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;isotope-layout/js/layout-mode&quot;,[&quot;get-size/get-size&quot;,&quot;outlayer/outlayer&quot;],e):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e(require(&quot;get-size&quot;),require(&quot;outlayer&quot;)):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){&quot;use strict&quot;;function i(t){this.isotope=t,t&amp;&amp;(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype,n=[&quot;_resetLayout&quot;,&quot;_getItemLayoutPosition&quot;,&quot;_manageStamp&quot;,&quot;_getContainerSize&quot;,&quot;_getElementOffset&quot;,&quot;needsResizeLayout&quot;,&quot;_getOption&quot;];return n.forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element),i=this.isotope.size&amp;&amp;e;return i&amp;&amp;e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize(&quot;column&quot;,&quot;Width&quot;)},o.getRowHeight=function(){this.getSegmentSize(&quot;row&quot;,&quot;Height&quot;)},o.getSegmentSize=function(t,e){var i=t+e,o=&quot;outer&quot;+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&amp;&amp;n[o]||this.isotope.size[&quot;inner&quot;+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&amp;&amp;e.element&amp;&amp;t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&amp;&amp;(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},i}),function(t,e){&quot;function&quot;==typeof define&amp;&amp;define.amd?define(&quot;masonry-layout/masonry&quot;,[&quot;outlayer/outlayer&quot;,&quot;get-size/get-size&quot;],e):&quot;object&quot;==typeof module&amp;&amp;module.exports?module.exports=e(require(&quot;outlayer&quot;),require(&quot;get-size&quot;)):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create(&quot;masonry&quot;);i.compatOptions.fitWidth=&quot;isFitWidth&quot;;var o=i.prototype;return o._resetLayout=function(){this.getSize(),this._getMeasurement(&quot;columnWidth&quot;,&quot;outerWidth&quot;),this._getMeasurement(&quot;gutter&quot;,&quot;outerWidth&quot;),this.measureColumns(),this.colYs=[];for(var t=0;t&lt;this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},o.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],i=t&amp;&amp;t.element;this.columnWidth=i&amp;&amp;e(i).outerWidth||this.containerWidth}var o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o,a=r&amp;&amp;r&lt;1?&quot;round&quot;:&quot;floor&quot;;s=Math[a](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption(&quot;fitWidth&quot;),i=t?this.element.parentNode:this.element,o=e(i);this.containerWidth=o&amp;&amp;o.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&amp;&amp;e&lt;1?&quot;round&quot;:&quot;ceil&quot;,o=Math[i](t.size.outerWidth/this.columnWidth);o=Math.min(o,this.cols);for(var n=this.options.horizontalOrder?&quot;_getHorizontalColPosition&quot;:&quot;_getTopColPosition&quot;,s=this[n](o,t),r={x:this.columnWidth*s.col,y:s.y},a=s.y+t.size.outerHeight,u=o+s.col,h=s.col;h&lt;u;h++)this.colYs[h]=a;return r},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t&lt;2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o&lt;i;o++)e[o]=this._getColGroupY(o,t);return e},o._getColGroupY=function(t,e){if(e1&amp;&amp;i+t&gt;this.cols;i=o?0:i;var n=e.size.outerWidth&amp;&amp;e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft"),s=n?o.left:o.right,r=s+i.outerWidth,a=Math.floor(s/this.columnWidth);a=Math.max(0,a);var u=Math.floor(r/this.columnWidth);u-=r%this.columnWidth?0:1,u=Math.min(this.cols-1,u);for(var h=this._getOption("originTop"),d=(h?o.top:o.bottom)+i.outerHeight,l=a;li&amp;&amp;(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define("isotope-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&amp;&amp;module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotope.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&amp;&amp;define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope-layout/js/item","isotope-layout/js/layout-mode","isotope-layout/js/layout-modes/masonry","isotope-layout/js/layout-modes/fit-rows","isotope-layout/js/layout-modes/vertical"],function(i,o,n,s,r,a){return e(t,i,o,n,s,r,a)}):"object"==typeof module&amp;&amp;module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope-layout/js/item"),require("isotope-layout/js/layout-mode"),require("isotope-layout/js/layout-modes/masonry"),require("isotope-layout/js/layout-modes/fit-rows"),require("isotope-layout/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,o,n,s,r){function a(t,e){return function(i,o){for(var n=0;na||r<a>a?1:-1)*h}}return 0}}var u=t.jQuery,h=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},d=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});d.Item=s,d.LayoutMode=r;var l=d.prototype;l._create=function(){this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"];for(var t in r.modes)this._initLayoutMode(t)},l.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},l._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i&lt;t.length;i++){var o=t[i];o.id=this.itemGUID++}return this._updateItemsSortData(t),t},l._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},l.layout=function(){return!this._isLayoutInited&amp;&amp;this._getOption(&quot;initLayout&quot;)?void this.arrange():void this._layout()},l._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},l.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},l._init=l.arrange,l._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},l._getIsInstant=function(){var t=this._getOption(&quot;layoutInstant&quot;),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},l._bindArrangeComplete=function(){function t(){e&amp;&amp;i&amp;&amp;o&amp;&amp;n.dispatchEvent(&quot;arrangeComplete&quot;,null,[n.filteredItems])}var e,i,o,n=this;this.once(&quot;layoutComplete&quot;,function(){e=!0,t()}),this.once(&quot;hideComplete&quot;,function(){i=!0,t()}),this.once(&quot;revealComplete&quot;,function(){o=!0,t()})},l._filter=function(t){var e=this.options.filter;e=e||&quot;*&quot;;for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r&lt;t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&amp;&amp;i.push(a),u&amp;&amp;a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},l._getFilterTest=function(t){return u&amp;&amp;this.options.isJQueryFiltering?function(e){return u(e.element).is(t);
}:&quot;function&quot;==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},l.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},l._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=f(i)}},l._updateItemsSortData=function(t){for(var e=t&amp;&amp;t.length,i=0;e&amp;&amp;i&lt;e;i++){var o=t[i];o.updateSortData()}};var f=function(){function t(t){if(&quot;string&quot;!=typeof t)return t;var i=h(t).split(&quot; &quot;),o=i[0],n=o.match(/^\[(.+)\]$/),s=n&amp;&amp;n[1],r=e(s,o),a=d.sortDataParsers[i[1]];return t=a?function(t){return t&amp;&amp;a(r(t))}:function(t){return t&amp;&amp;r(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&amp;&amp;i.textContent}}return t}();d.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},l._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e&lt;t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},l._mode=function(){var t=this.options.layoutMode,e=this.modes[t];if(!e)throw new Error(&quot;No layout mode: &quot;+t);return e.options=this.options[t],e},l._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},l._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},l._manageStamp=function(t){this._mode()._manageStamp(t)},l._getContainerSize=function(){return this._mode()._getContainerSize()},l.needsResizeLayout=function(){return this._mode().needsResizeLayout()},l.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},l.prepended=function(t){var e=this._itemize(t);if(e.length){this._resetLayout(),this._manageStamps();var i=this._filterRevealAdded(e);this.layoutItems(this.filteredItems),this.filteredItems=i.concat(this.filteredItems),this.items=e.concat(this.items)}},l._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},l.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i&lt;n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i&lt;n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i&lt;n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var c=l.remove;return l.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);c.call(this,t);for(var i=e&amp;&amp;e.length,o=0;i&amp;&amp;o&lt;i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},l.shuffle=function(){for(var t=0;t=0}function e(a,b){for(var c in b)if(null==a[c]){var d=b[c];a[c]=d}return a}function f(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)}function g(a){var b=arguments.length&lt;=1||void 0===arguments[1]?!1:arguments[1],c=arguments.length&lt;=2||void 0===arguments[2]?!1:arguments[2],d=arguments.length&lt;=3||void 0===arguments[3]?null:arguments[3],e=void 0;return null!=document.createEvent?(e=document.createEvent(&quot;CustomEvent&quot;),e.initCustomEvent(a,b,c,d)):null!=document.createEventObject?(e=document.createEventObject(),e.eventType=a):e.eventName=a,e}function h(a,b){null!=a.dispatchEvent?a.dispatchEvent(b):b in(null!=a)?a[b]():&quot;on&quot;+b in(null!=a)&amp;&amp;a[&quot;on&quot;+b]()}function i(a,b,c){null!=a.addEventListener?a.addEventListener(b,c,!1):null!=a.attachEvent?a.attachEvent(&quot;on&quot;+b,c):a[b]=c}function j(a,b,c){null!=a.removeEventListener?a.removeEventListener(b,c,!1):null!=a.detachEvent?a.detachEvent(&quot;on&quot;+b,c):delete a[b]}function k(){return&quot;innerHeight&quot;in window?window.innerHeight:document.documentElement.clientHeight}Object.defineProperty(b,&quot;__esModule&quot;,{value:!0});var l,m,n=function(){function a(a,b){for(var c=0;c&lt;b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1,d.configurable=!0,&quot;value&quot;in d&amp;&amp;(d.writable=!0),Object.defineProperty(a,d.key,d)}}return function(b,c,d){return c&amp;&amp;a(b.prototype,c),d&amp;&amp;a(b,d),b}}(),o=window.WeakMap||window.MozWeakMap||function(){function a(){c(this,a),this.keys=[],this.values=[]}return n(a,[{key:&quot;get&quot;,value:function(a){for(var b=0;b&lt;this.keys.length;b++){var c=this.keys[b];if(c===a)return this.values[b]}}},{key:&quot;set&quot;,value:function(a,b){for(var c=0;c&lt;this.keys.length;c++){var d=this.keys[c];if(d===a)return this.values[c]=b,this}return this.keys.push(a),this.values.push(b),this}}]),a}(),p=window.MutationObserver||window.WebkitMutationObserver||window.MozMutationObserver||(m=l=function(){function a(){c(this,a),&quot;undefined&quot;!=typeof console&amp;&amp;null!==console&amp;&amp;(console.warn(&quot;MutationObserver is not supported by your browser.&quot;),console.warn(&quot;WOW.js cannot detect dom mutations, please call .sync() after loading new content.&quot;))}return n(a,[{key:&quot;observe&quot;,value:function(){}}]),a}(),l.notSupported=!0,m),q=window.getComputedStyle||function(a){var b=/(\-([a-z]){1})/g;return{getPropertyValue:function(c){&quot;float&quot;===c&amp;&amp;(c=&quot;styleFloat&quot;),b.test(c)&amp;&amp;c.replace(b,function(a,b){return b.toUpperCase()});var d=a.currentStyle;return(null!=d?d[c]:void 0)||null}}},r=function(){function a(){var b=arguments.length&lt;=0||void 0===arguments[0]?{}:arguments[0];c(this,a),this.defaults={boxClass:&quot;wow&quot;,animateClass:&quot;animated&quot;,offset:0,mobile:!0,live:!0,callback:null,scrollContainer:null,resetAnimation:!0},this.animate=function(){return&quot;requestAnimationFrame&quot;in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),this.vendors=[&quot;moz&quot;,&quot;webkit&quot;],this.start=this.start.bind(this),this.resetAnimation=this.resetAnimation.bind(this),this.scrollHandler=this.scrollHandler.bind(this),this.scrollCallback=this.scrollCallback.bind(this),this.scrolled=!0,this.config=e(b,this.defaults),null!=b.scrollContainer&amp;&amp;(this.config.scrollContainer=document.querySelector(b.scrollContainer)),this.animationNameCache=new o,this.wowEvent=g(this.config.boxClass)}return n(a,[{key:&quot;init&quot;,value:function(){this.element=window.document.documentElement,d(document.readyState,[&quot;interactive&quot;,&quot;complete&quot;])?this.start():i(document,&quot;DOMContentLoaded&quot;,this.start),this.finished=[]}},{key:&quot;start&quot;,value:function(){var a=this;if(this.stopped=!1,this.boxes=[].slice.call(this.element.querySelectorAll(&quot;.&quot;+this.config.boxClass)),this.all=this.boxes.slice(0),this.boxes.length)if(this.disabled())this.resetStyle();else for(var b=0;b&lt;this.boxes.length;b++){var c=this.boxes[b];this.applyStyle(c,!0)}if(this.disabled()||(i(this.config.scrollContainer||window,&quot;scroll&quot;,this.scrollHandler),i(window,&quot;resize&quot;,this.scrollHandler),this.interval=setInterval(this.scrollCallback,50)),this.config.live){var d=new p(function(b){for(var c=0;c&lt;b.length;c++)for(var d=b[c],e=0;e&lt;d.addedNodes.length;e++){var f=d.addedNodes[e];a.doSync(f)}});d.observe(document.body,{childList:!0,subtree:!0})}}},{key:&quot;stop&quot;,value:function(){this.stopped=!0,j(this.config.scrollContainer||window,&quot;scroll&quot;,this.scrollHandler),j(window,&quot;resize&quot;,this.scrollHandler),null!=this.interval&amp;&amp;clearInterval(this.interval)}},{key:&quot;sync&quot;,value:function(){p.notSupported&amp;&amp;this.doSync(this.element)}},{key:&quot;doSync&quot;,value:function(a){if(&quot;undefined&quot;!=typeof a&amp;&amp;null!==a||(a=this.element),1===a.nodeType){a=a.parentNode||a;for(var b=a.querySelectorAll(&quot;.&quot;+this.config.boxClass),c=0;c&lt;b.length;c++){var e=b[c];d(e,this.all)||(this.boxes.push(e),this.all.push(e),this.stopped||this.disabled()?this.resetStyle():this.applyStyle(e,!0),this.scrolled=!0)}}}},{key:&quot;show&quot;,value:function(a){return this.applyStyle(a),a.className=a.className+&quot; &quot;+this.config.animateClass,null!=this.config.callback&amp;&amp;this.config.callback(a),h(a,this.wowEvent),this.config.resetAnimation&amp;&amp;(i(a,&quot;animationend&quot;,this.resetAnimation),i(a,&quot;oanimationend&quot;,this.resetAnimation),i(a,&quot;webkitAnimationEnd&quot;,this.resetAnimation),i(a,&quot;MSAnimationEnd&quot;,this.resetAnimation)),a}},{key:&quot;applyStyle&quot;,value:function(a,b){var c=this,d=a.getAttribute(&quot;data-wow-duration&quot;),e=a.getAttribute(&quot;data-wow-delay&quot;),f=a.getAttribute(&quot;data-wow-iteration&quot;);return this.animate(function(){return c.customStyle(a,b,d,e,f)})}},{key:&quot;resetStyle&quot;,value:function(){for(var a=0;a=0){var b=a.target||a.srcElement;b.className=b.className.replace(this.config.animateClass,"").trim()}}},{key:"customStyle",value:function(a,b,c,d,e){return b&amp;&amp;this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&amp;&amp;this.vendorSet(a.style,{animationDuration:c}),d&amp;&amp;this.vendorSet(a.style,{animationDelay:d}),e&amp;&amp;this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a}},{key:"vendorSet",value:function(a,b){for(var c in b)if(b.hasOwnProperty(c)){var d=b[c];a[""+c]=d;for(var e=0;e&lt;this.vendors.length;e++){var f=this.vendors[e];a[&quot;&quot;+f+c.charAt(0).toUpperCase()+c.substr(1)]=d}}}},{key:&quot;vendorCSS&quot;,value:function(a,b){for(var c=q(a),d=c.getPropertyCSSValue(b),e=0;e&lt;this.vendors.length;e++){var f=this.vendors[e];d=d||c.getPropertyCSSValue(&quot;-&quot;+f+&quot;-&quot;+b)}return d}},{key:&quot;animationName&quot;,value:function(a){var b=void 0;try{b=this.vendorCSS(a,&quot;animation-name&quot;).cssText}catch(c){b=q(a).getPropertyValue(&quot;animation-name&quot;)}return&quot;none&quot;===b?&quot;&quot;:b}},{key:&quot;cacheAnimationName&quot;,value:function(a){return this.animationNameCache.set(a,this.animationName(a))}},{key:&quot;cachedAnimationName&quot;,value:function(a){return this.animationNameCache.get(a)}},{key:&quot;scrollHandler&quot;,value:function(){this.scrolled=!0}},{key:&quot;scrollCallback&quot;,value:function(){if(this.scrolled){this.scrolled=!1;for(var a=[],b=0;b=e&amp;&amp;f&gt;=c}},{key:"disabled",value:function(){return!this.config.mobile&amp;&amp;f(navigator.userAgent)}}]),a}();b["default"]=r,a.exports=b["default"]});
/**
 * jQuery.marquee - scrolling text like old marquee element
 * @author Aamir Afridi - aamirafridi(at)gmail(dot)com / http://aamirafridi.com/jquery/jquery-marquee-plugin
 */
(function($){$.fn.marquee=function(options){return this.each(function(){var o=$.extend({},$.fn.marquee.defaults,options),$this=$(this),$marqueeWrapper,containerWidth,animationCss,verticalDir,elWidth,loopCount=3,playState='animation-play-state',css3AnimationIsSupported=!1,_prefixedEvent=function(element,type,callback){var pfx=["webkit","moz","MS","o",""];for(var p=0;p&lt;pfx.length;p++){if(!pfx[p])type=type.toLowerCase();element.addEventListener(pfx[p]+type,callback,!1)}},_objToString=function(obj){var tabjson=[];for(var p in obj){if(obj.hasOwnProperty(p)){tabjson.push(p+&#039;:&#039;+obj[p])}}
tabjson.push();return&#039;{&#039;+tabjson.join(&#039;,&#039;)+&#039;}&#039;},_startAnimationWithDelay=function(){$this.timer=setTimeout(animate,o.delayBeforeStart)},methods={pause:function(){if(css3AnimationIsSupported&amp;&amp;o.allowCss3Support){$marqueeWrapper.css(playState,&#039;paused&#039;)}else{if($.fn.pause){$marqueeWrapper.pause()}}
$this.data(&#039;runningStatus&#039;,&#039;paused&#039;);$this.trigger(&#039;paused&#039;)},resume:function(){if(css3AnimationIsSupported&amp;&amp;o.allowCss3Support){$marqueeWrapper.css(playState,&#039;running&#039;)}else{if($.fn.resume){$marqueeWrapper.resume()}}
$this.data(&#039;runningStatus&#039;,&#039;resumed&#039;);$this.trigger(&#039;resumed&#039;)},toggle:function(){methods[$this.data(&#039;runningStatus&#039;)==&#039;resumed&#039;?&#039;pause&#039;:&#039;resume&#039;]()},destroy:function(){clearTimeout($this.timer);$this.find(&quot;*&quot;).addBack().off();$this.html($this.find(&#039;.js-marquee:first&#039;).html())}};if(typeof options===&#039;string&#039;){if($.isFunction(methods[options])){if(!$marqueeWrapper){$marqueeWrapper=$this.find(&#039;.js-marquee-wrapper&#039;)}
if($this.data(&#039;css3AnimationIsSupported&#039;)===!0){css3AnimationIsSupported=!0}
methods[options]()}
return}
var dataAttributes={},attr;$.each(o,function(key,value){attr=$this.attr(&#039;data-&#039;+key);if(typeof attr!==&#039;undefined&#039;){switch(attr){case &#039;true&#039;:attr=!0;break;case &#039;false&#039;:attr=!1;break}
o[key]=attr}});if(o.speed){o.duration=parseInt($this.width(),10)/o.speed*1000}
verticalDir=o.direction==&#039;up&#039;||o.direction==&#039;down&#039;;o.gap=o.duplicated?parseInt(o.gap):0;$this.wrapInner(&#039;<div class="js-marquee"></div>');var $el=$this.find('.js-marquee').css({'margin-right':o.gap,'float':'left'});if(o.duplicated){$el.clone(!0).appendTo($this)}
$this.wrapInner('<div style="width:100000px" class="js-marquee-wrapper"></div>');$marqueeWrapper=$this.find('.js-marquee-wrapper');if(verticalDir){var containerHeight=$this.height();$marqueeWrapper.removeAttr('style');$this.height(containerHeight);$this.find('.js-marquee').css({'float':'none','margin-bottom':o.gap,'margin-right':0});if(o.duplicated)$this.find('.js-marquee:last').css({'margin-bottom':0});var elHeight=$this.find('.js-marquee:first').height()+o.gap;if(o.startVisible&amp;&amp;!o.duplicated){o._completeDuration=((parseInt(elHeight,10)+parseInt(containerHeight,10))/parseInt(containerHeight,10))*o.duration;o.duration=(parseInt(elHeight,10)/parseInt(containerHeight,10))*o.duration}else{o.duration=((parseInt(elHeight,10)+parseInt(containerHeight,10))/parseInt(containerHeight,10))*o.duration}}else{elWidth=$this.find('.js-marquee:first').width()+o.gap;containerWidth=$this.width();if(o.startVisible&amp;&amp;!o.duplicated){o._completeDuration=((parseInt(elWidth,10)+parseInt(containerWidth,10))/parseInt(containerWidth,10))*o.duration;o.duration=(parseInt(elWidth,10)/parseInt(containerWidth,10))*o.duration}else{o.duration=((parseInt(elWidth,10)+parseInt(containerWidth,10))/parseInt(containerWidth,10))*o.duration}}
if(o.duplicated){o.duration=o.duration/2}
if(o.allowCss3Support){var
elm=document.body||document.createElement('div'),animationName='marqueeAnimation-'+Math.floor(Math.random()*10000000),domPrefixes='Webkit Moz O ms Khtml'.split(' '),animationString='animation',animationCss3Str='',keyframeString='';if(elm.style.animation!==undefined){keyframeString='@keyframes '+animationName+' ';css3AnimationIsSupported=!0}
if(css3AnimationIsSupported===!1){for(var i=0;i2){$marqueeWrapper.css('transform','translateY('+(o.direction=='up'?0:'-'+elHeight+'px')+')')}
animationCss={'transform':'translateY('+(o.direction=='up'?'-'+elHeight+'px':0)+')'}}else if(o.startVisible){if(loopCount===2){if(animationCss3Str){animationCss3Str=animationName+' '+o.duration/1000+'s '+o.delayBeforeStart/1000+'s '+o.css3easing}
animationCss={'transform':'translateY('+(o.direction=='up'?'-'+elHeight+'px':containerHeight+'px')+')'};loopCount++}else if(loopCount===3){o.duration=o._completeDuration;if(animationCss3Str){animationName=animationName+'0';keyframeString=$.trim(keyframeString)+'0 ';animationCss3Str=animationName+' '+o.duration/1000+'s 0s infinite '+o.css3easing}
_rePositionVertically()}}else{_rePositionVertically();animationCss={'transform':'translateY('+(o.direction=='up'?'-'+($marqueeWrapper.height())+'px':containerHeight+'px')+')'}}}else{if(o.duplicated){if(loopCount&gt;2){$marqueeWrapper.css('transform','translateX('+(o.direction=='left'?0:'-'+elWidth+'px')+')')}
animationCss={'transform':'translateX('+(o.direction=='left'?'-'+elWidth+'px':0)+')'}}else if(o.startVisible){if(loopCount===2){if(animationCss3Str){animationCss3Str=animationName+' '+o.duration/1000+'s '+o.delayBeforeStart/1000+'s '+o.css3easing}
animationCss={'transform':'translateX('+(o.direction=='left'?'-'+elWidth+'px':containerWidth+'px')+')'};loopCount++}else if(loopCount===3){o.duration=o._completeDuration;if(animationCss3Str){animationName=animationName+'0';keyframeString=$.trim(keyframeString)+'0 ';animationCss3Str=animationName+' '+o.duration/1000+'s 0s infinite '+o.css3easing}
_rePositionHorizontally()}}else{_rePositionHorizontally();animationCss={'transform':'translateX('+(o.direction=='left'?'-'+elWidth+'px':containerWidth+'px')+')'}}}
$this.trigger('beforeStarting');if(css3AnimationIsSupported){$marqueeWrapper.css(animationString,animationCss3Str);var keyframeCss=keyframeString+' { 100%  '+_objToString(animationCss)+'}',$styles=$marqueeWrapper.find('style');if($styles.length!==0){$styles.filter(":last").html(keyframeCss)}else{$('head').append(''+keyframeCss+'')}
_prefixedEvent($marqueeWrapper[0],"AnimationIteration",function(){$this.trigger('finished')});_prefixedEvent($marqueeWrapper[0],"AnimationEnd",function(){animate();$this.trigger('finished')})}else{$marqueeWrapper.animate(animationCss,o.duration,o.easing,function(){$this.trigger('finished');if(o.pauseOnCycle){_startAnimationWithDelay()}else{animate()}})}
$this.data('runningStatus','resumed')};$this.on('pause',methods.pause);$this.on('resume',methods.resume);if(o.pauseOnHover){$this.on('mouseenter',methods.pause);$this.on('mouseleave',methods.resume)}
if(css3AnimationIsSupported&amp;&amp;o.allowCss3Support){animate()}else{_startAnimationWithDelay()}})};$.fn.marquee.defaults={allowCss3Support:!0,css3easing:'linear',easing:'linear',delayBeforeStart:1000,direction:'left',duplicated:!1,duration:5000,speed:0,gap:20,pauseOnCycle:!1,pauseOnHover:!1,startVisible:!1}})(jQuery);
//Plugin name        : inewsticker - jQuery news ticker 
//Version            : 0.1.0
//Author             : mahdi khaksar
//Author website     : progpars.com
//Url                : http://www.ijquery.ir/effect/inewsticker/
(function(e){e.fn.inewsticker=function(t){var n={speed:200,effect:"fade",dir:"ltr",font_size:null,color:null,font_family:null,delay_after:3e3};e.extend(n,t);var r=e(this);var i=r.children();i.not(":first").hide();r.css("direction",t.dir);r.css("font-size",t.font_size);r.css("color",t.color);r.css("font-family",t.font_family);setInterval(function(){var e=r.children();e.not(":first").hide();var n=e.eq(0);var i=e.eq(1);if(t.effect=="slide"){n.slideUp();i.slideDown(function(){n.remove().appendTo(r)})}if(t.effect=="fade"){n.fadeOut(function(){i.fadeIn();n.remove().appendTo(r)})}},t.speed);if(t.effect=="typing"){var s=0;var o=0;var u=t.delay_after/t.speed;var a=(new Array(1+u)).join(" ");var f=new Array;i.each(function(){f.push(e(this).text()+a)});count=f.length;setInterval(function(){result=f[o].substring(0,s);e(r).html(result);s++;if(s==f[o].length){s=0;r.appendTo(r).hide().fadeIn("slow");o++;if(count==o){o=0}}},t.speed)}}})(jQuery)

/* == jquery mousewheel plugin == Version: 3.1.13, License: MIT License (MIT) */
!function(a){"function"==typeof define&amp;&amp;define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&amp;&amp;(m=-1*g.detail),"wheelDelta"in g&amp;&amp;(m=g.wheelDelta),"wheelDeltaY"in g&amp;&amp;(m=g.wheelDeltaY),"wheelDeltaX"in g&amp;&amp;(l=-1*g.wheelDeltaX),"axis"in g&amp;&amp;g.axis===g.HORIZONTAL_AXIS&amp;&amp;(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&amp;&amp;(m=-1*g.deltaY,j=m),"deltaX"in g&amp;&amp;(l=g.deltaX,0===m&amp;&amp;(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f&gt;n)&amp;&amp;(f=n,d(g,n)&amp;&amp;(f/=40)),d(g,n)&amp;&amp;(j/=40,l/=40,m/=40),j=Math[j&gt;=1?"floor":"ceil"](j/f),l=Math[l&gt;=1?"floor":"ceil"](l/f),m=Math[m&gt;=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&amp;&amp;this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&amp;&amp;clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&amp;&amp;"mousewheel"===a.type&amp;&amp;b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode&gt;=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});!function(a){"function"==typeof define&amp;&amp;define.amd?define(["jquery"],a):"object"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type="mousewheel","detail"in g&amp;&amp;(m=-1*g.detail),"wheelDelta"in g&amp;&amp;(m=g.wheelDelta),"wheelDeltaY"in g&amp;&amp;(m=g.wheelDeltaY),"wheelDeltaX"in g&amp;&amp;(l=-1*g.wheelDeltaX),"axis"in g&amp;&amp;g.axis===g.HORIZONTAL_AXIS&amp;&amp;(l=-1*m,m=0),j=0===m?l:m,"deltaY"in g&amp;&amp;(m=-1*g.deltaY,j=m),"deltaX"in g&amp;&amp;(l=g.deltaX,0===m&amp;&amp;(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,"mousewheel-line-height");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,"mousewheel-page-height");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f&gt;n)&amp;&amp;(f=n,d(g,n)&amp;&amp;(f/=40)),d(g,n)&amp;&amp;(j/=40,l/=40,m/=40),j=Math[j&gt;=1?"floor":"ceil"](j/f),l=Math[l&gt;=1?"floor":"ceil"](l/f),m=Math[m&gt;=1?"floor":"ceil"](m/f),k.settings.normalizeOffset&amp;&amp;this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&amp;&amp;clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&amp;&amp;"mousewheel"===a.type&amp;&amp;b%120===0}var e,f,g=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],h="onwheel"in document||document.documentMode&gt;=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,"mousewheel-line-height",k.getLineHeight(this)),a.data(this,"mousewheel-page-height",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,"mousewheel-line-height"),a.removeData(this,"mousewheel-page-height")},getLineHeight:function(b){var c=a(b),d=c["offsetParent"in a.fn?"offsetParent":"parent"]();return d.length||(d=a("body")),parseInt(d.css("fontSize"),10)||parseInt(c.css("fontSize"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})});
/* == malihu jquery custom scrollbar plugin == Version: 3.1.5, License: MIT License (MIT) */
!function(e){"function"==typeof define&amp;&amp;define.amd?define(["jquery"],e):"undefined"!=typeof module&amp;&amp;module.exports?module.exports=e:e(jQuery,window,document)}(function(e){!function(t){var o="function"==typeof define&amp;&amp;define.amd,a="undefined"!=typeof module&amp;&amp;module.exports,n="https:"==document.location.protocol?"https:":"http:",i="cdnjs.cloudflare.com/ajax/libs/jquery-mousewheel/3.1.13/jquery.mousewheel.min.js";o||(a?require("jquery-mousewheel")(e):e.event.special.mousewheel||e("head").append(decodeURI("%3Cscript src="+n+"//"+i+"%3E%3C/script%3E"))),t()}(function(){var t,o="mCustomScrollbar",a="mCS",n=".mCustomScrollbar",i={setTop:0,setLeft:0,axis:"y",scrollbarPosition:"inside",scrollInertia:950,autoDraggerLength:!0,alwaysShowScrollbar:0,snapOffset:0,mouseWheel:{enable:!0,scrollAmount:"auto",axis:"y",deltaFactor:"auto",disableOver:["select","option","keygen","datalist","textarea"]},scrollButtons:{scrollType:"stepless",scrollAmount:"auto"},keyboard:{enable:!0,scrollType:"stepless",scrollAmount:"auto"},contentTouchScroll:25,documentTouchScroll:!0,advanced:{autoScrollOnFocus:"input,textarea,select,button,datalist,keygen,a[tabindex],area,object,[contenteditable='true']",updateOnContentResize:!0,updateOnImageLoad:"auto",autoUpdateTimeout:60},theme:"light",callbacks:{onTotalScrollOffset:0,onTotalScrollBackOffset:0,alwaysTriggerOffsets:!0}},r=0,l={},s=window.attachEvent&amp;&amp;!window.addEventListener?1:0,c=!1,d=["mCSB_dragger_onDrag","mCSB_scrollTools_onDrag","mCS_img_loaded","mCS_disabled","mCS_destroyed","mCS_no_scrollbar","mCS-autoHide","mCS-dir-rtl","mCS_no_scrollbar_y","mCS_no_scrollbar_x","mCS_y_hidden","mCS_x_hidden","mCSB_draggerContainer","mCSB_buttonUp","mCSB_buttonDown","mCSB_buttonLeft","mCSB_buttonRight"],u={init:function(t){var t=e.extend(!0,{},i,t),o=f.call(this);if(t.live){var s=t.liveSelector||this.selector||n,c=e(s);if("off"===t.live)return void m(s);l[s]=setTimeout(function(){c.mCustomScrollbar(t),"once"===t.live&amp;&amp;c.length&amp;&amp;m(s)},500)}else m(s);return t.setWidth=t.set_width?t.set_width:t.setWidth,t.setHeight=t.set_height?t.set_height:t.setHeight,t.axis=t.horizontalScroll?"x":p(t.axis),t.scrollInertia=t.scrollInertia&gt;0&amp;&amp;t.scrollInertias[0].parent().height()?B.call(this):(G(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}),n.contentReset.y=null):(B.call(this),"y"===i.axis?k.call(this):"yx"===i.axis&amp;&amp;n.overflowed[1]&amp;&amp;G(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}))),"y"!==i.axis&amp;&amp;(n.overflowed[1]?s[1].width()&gt;s[1].parent().width()?B.call(this):(G(t,c[1].toString(),{dir:"x",dur:0,overwrite:"none"}),n.contentReset.x=null):(B.call(this),"x"===i.axis?k.call(this):"yx"===i.axis&amp;&amp;n.overflowed[0]&amp;&amp;G(t,c[0].toString(),{dir:"y",dur:0,overwrite:"none"}))),o&amp;&amp;n&amp;&amp;(2===o&amp;&amp;i.callbacks.onImageLoad&amp;&amp;"function"==typeof i.callbacks.onImageLoad?i.callbacks.onImageLoad.call(this):3===o&amp;&amp;i.callbacks.onSelectorChange&amp;&amp;"function"==typeof i.callbacks.onSelectorChange?i.callbacks.onSelectorChange.call(this):i.callbacks.onUpdate&amp;&amp;"function"==typeof i.callbacks.onUpdate&amp;&amp;i.callbacks.onUpdate.call(this)),N.call(this)}})},scrollTo:function(t,o){if("undefined"!=typeof t&amp;&amp;null!=t){var n=f.call(this);return e(n).each(function(){var n=e(this);if(n.data(a)){var i=n.data(a),r=i.opt,l={trigger:"external",scrollInertia:r.scrollInertia,scrollEasing:"mcsEaseInOut",moveDragger:!1,timeout:60,callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},s=e.extend(!0,{},l,o),c=Y.call(this,t),d=s.scrollInertia&gt;0&amp;&amp;s.scrollInertia&lt;17?17:s.scrollInertia;c[0]=X.call(this,c[0],&quot;y&quot;),c[1]=X.call(this,c[1],&quot;x&quot;),s.moveDragger&amp;&amp;(c[0]*=i.scrollRatio.y,c[1]*=i.scrollRatio.x),s.dur=ne()?0:d,setTimeout(function(){null!==c[0]&amp;&amp;&quot;undefined&quot;!=typeof c[0]&amp;&amp;&quot;x&quot;!==r.axis&amp;&amp;i.overflowed[0]&amp;&amp;(s.dir=&quot;y&quot;,s.overwrite=&quot;all&quot;,G(n,c[0].toString(),s)),null!==c[1]&amp;&amp;&quot;undefined&quot;!=typeof c[1]&amp;&amp;&quot;y&quot;!==r.axis&amp;&amp;i.overflowed[1]&amp;&amp;(s.dir=&quot;x&quot;,s.overwrite=&quot;none&quot;,G(n,c[1].toString(),s))},s.timeout)}})}},stop:function(){var t=f.call(this);return e(t).each(function(){var t=e(this);t.data(a)&amp;&amp;Q(t)})},disable:function(t){var o=f.call(this);return e(o).each(function(){var o=e(this);if(o.data(a)){o.data(a);N.call(this,&quot;remove&quot;),k.call(this),t&amp;&amp;B.call(this),M.call(this,!0),o.addClass(d[3])}})},destroy:function(){var t=f.call(this);return e(t).each(function(){var n=e(this);if(n.data(a)){var i=n.data(a),r=i.opt,l=e(&quot;#mCSB_&quot;+i.idx),s=e(&quot;#mCSB_&quot;+i.idx+&quot;_container&quot;),c=e(&quot;.mCSB_&quot;+i.idx+&quot;_scrollbar&quot;);r.live&amp;&amp;m(r.liveSelector||e(t).selector),N.call(this,&quot;remove&quot;),k.call(this),B.call(this),n.removeData(a),$(this,&quot;mcs&quot;),c.remove(),s.find(&quot;img.&quot;+d[2]).removeClass(d[2]),l.replaceWith(s.contents()),n.removeClass(o+&quot; _&quot;+a+&quot;_&quot;+i.idx+&quot; &quot;+d[6]+&quot; &quot;+d[7]+&quot; &quot;+d[5]+&quot; &quot;+d[3]).addClass(d[4])}})}},f=function(){return&quot;object&quot;!=typeof e(this)||e(this).length-1?!1:t.autoDraggerLength,t.autoExpandScrollbar=e.inArray(t.theme,a)&gt;-1?!1:t.autoExpandScrollbar,t.scrollButtons.enable=e.inArray(t.theme,n)&gt;-1?!1:t.scrollButtons.enable,t.autoHideScrollbar=e.inArray(t.theme,i)&gt;-1?!0:t.autoHideScrollbar,t.scrollbarPosition=e.inArray(t.theme,r)&gt;-1?"outside":t.scrollbarPosition},m=function(e){l[e]&amp;&amp;(clearTimeout(l[e]),$(l,e))},p=function(e){return"yx"===e||"xy"===e||"auto"===e?"yx":"x"===e||"horizontal"===e?"x":"y"},g=function(e){return"stepped"===e||"pixels"===e||"step"===e||"click"===e?"stepped":"stepless"},v=function(){var t=e(this),n=t.data(a),i=n.opt,r=i.autoExpandScrollbar?" "+d[1]+"_expand":"",l=["<div id='mCSB_"+n.idx+"_scrollbar_vertical' class='mCSB_scrollTools mCSB_"+n.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_vertical"+r+"'><div class='"+d[12]+"'><div id='mCSB_"+n.idx+"_dragger_vertical' class='mCSB_dragger'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>","<div id='mCSB_"+n.idx+"_scrollbar_horizontal' class='mCSB_scrollTools mCSB_"+n.idx+"_scrollbar mCS-"+i.theme+" mCSB_scrollTools_horizontal"+r+"'><div class='"+d[12]+"'><div id='mCSB_"+n.idx+"_dragger_horizontal' class='mCSB_dragger'><div class='mCSB_dragger_bar' /></div><div class='mCSB_draggerRail' /></div></div>"],s="yx"===i.axis?"mCSB_vertical_horizontal":"x"===i.axis?"mCSB_horizontal":"mCSB_vertical",c="yx"===i.axis?l[0]+l[1]:"x"===i.axis?l[1]:l[0],u="yx"===i.axis?"<div id='mCSB_"+n.idx+"_container_wrapper' class='mCSB_container_wrapper' />":"",f=i.autoHideScrollbar?" "+d[6]:"",h="x"!==i.axis&amp;&amp;"rtl"===n.langDir?" "+d[7]:"";i.setWidth&amp;&amp;t.css("width",i.setWidth),i.setHeight&amp;&amp;t.css("height",i.setHeight),i.setLeft="y"!==i.axis&amp;&amp;"rtl"===n.langDir?"989999px":i.setLeft,t.addClass(o+" _"+a+"_"+n.idx+f+h).wrapInner("<div id='mCSB_"+n.idx+"' class='mCustomScrollBox mCS-"+i.theme+" "+s+"'><div id='mCSB_"+n.idx+"_container' class='mCSB_container' dir='"+n.langDir+"' /></div>");var m=e("#mCSB_"+n.idx),p=e("#mCSB_"+n.idx+"_container");"y"===i.axis||i.advanced.autoExpandHorizontalScroll||p.css("width",x(p)),"outside"===i.scrollbarPosition?("static"===t.css("position")&amp;&amp;t.css("position","relative"),t.css("overflow","visible"),m.addClass("mCSB_outside").after(c)):(m.addClass("mCSB_inside").append(c),p.wrap(u)),w.call(this);var g=[e("#mCSB_"+n.idx+"_dragger_vertical"),e("#mCSB_"+n.idx+"_dragger_horizontal")];g[0].css("min-height",g[0].height()),g[1].css("min-width",g[1].width())},x=function(t){var o=[t[0].scrollWidth,Math.max.apply(Math,t.children().map(function(){return e(this).outerWidth(!0)}).get())],a=t.parent().width();return o[0]&gt;a?o[0]:o[1]&gt;a?o[1]:"100%"},_=function(){var t=e(this),o=t.data(a),n=o.opt,i=e("#mCSB_"+o.idx+"_container");if(n.advanced.autoExpandHorizontalScroll&amp;&amp;"y"!==n.axis){i.css({width:"auto","min-width":0,"overflow-x":"scroll"});var r=Math.ceil(i[0].scrollWidth);3===n.advanced.autoExpandHorizontalScroll||2!==n.advanced.autoExpandHorizontalScroll&amp;&amp;r&gt;i.parent().width()?i.css({width:r,"min-width":"100%","overflow-x":"inherit"}):i.css({"overflow-x":"inherit",position:"absolute"}).wrap("<div class='mCSB_h_wrapper' style='width:999999px' />").css({width:Math.ceil(i[0].getBoundingClientRect().right+.4)-Math.floor(i[0].getBoundingClientRect().left),"min-width":"100%",position:"relative"}).unwrap()}},w=function(){var t=e(this),o=t.data(a),n=o.opt,i=e(".mCSB_"+o.idx+"_scrollbar:first"),r=oe(n.scrollButtons.tabindex)?"tabindex='"+n.scrollButtons.tabindex+"'":"",l=["<a href='#' class='"+d[13]+"' />","<a href='#' class='"+d[14]+"' />","<a href='#' class='"+d[15]+"' />","<a href='#' class='"+d[16]+"' />"],s=["x"===n.axis?l[2]:l[0],"x"===n.axis?l[3]:l[1],l[2],l[3]];n.scrollButtons.enable&amp;&amp;i.prepend(s[0]).append(s[1]).next(".mCSB_scrollTools").prepend(s[2]).append(s[3])},S=function(){var t=e(this),o=t.data(a),n=e("#mCSB_"+o.idx),i=e("#mCSB_"+o.idx+"_container"),r=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")],l=[n.height()/i.outerHeight(!1),n.width()/i.outerWidth(!1)],c=[parseInt(r[0].css("min-height")),Math.round(l[0]*r[0].parent().height()),parseInt(r[1].css("min-width")),Math.round(l[1]*r[1].parent().width())],d=s&amp;&amp;c[1]&lt;c[0]?c[0]:c[1],u=s&amp;&amp;c[3]r&amp;&amp;(r=s),c&gt;l&amp;&amp;(l=c),[r&gt;n.height(),l&gt;n.width()]},B=function(){var t=e(this),o=t.data(a),n=o.opt,i=e("#mCSB_"+o.idx),r=e("#mCSB_"+o.idx+"_container"),l=[e("#mCSB_"+o.idx+"_dragger_vertical"),e("#mCSB_"+o.idx+"_dragger_horizontal")];if(Q(t),("x"!==n.axis&amp;&amp;!o.overflowed[0]||"y"===n.axis&amp;&amp;o.overflowed[0])&amp;&amp;(l[0].add(r).css("top",0),G(t,"_resetY")),"y"!==n.axis&amp;&amp;!o.overflowed[1]||"x"===n.axis&amp;&amp;o.overflowed[1]){var s=dx=0;"rtl"===o.langDir&amp;&amp;(s=i.width()-r.outerWidth(!1),dx=Math.abs(s/o.scrollRatio.x)),r.css("left",s),l[1].css("left",dx),G(t,"_resetX")}},T=function(){function t(){r=setTimeout(function(){e.event.special.mousewheel?(clearTimeout(r),W.call(o[0])):t()},100)}var o=e(this),n=o.data(a),i=n.opt;if(!n.bindEvents){if(I.call(this),i.contentTouchScroll&amp;&amp;D.call(this),E.call(this),i.mouseWheel.enable){var r;t()}P.call(this),U.call(this),i.advanced.autoScrollOnFocus&amp;&amp;H.call(this),i.scrollButtons.enable&amp;&amp;F.call(this),i.keyboard.enable&amp;&amp;q.call(this),n.bindEvents=!0}},k=function(){var t=e(this),o=t.data(a),n=o.opt,i=a+"_"+o.idx,r=".mCSB_"+o.idx+"_scrollbar",l=e("#mCSB_"+o.idx+",#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,"+r+" ."+d[12]+",#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal,"+r+"&gt;a"),s=e("#mCSB_"+o.idx+"_container");n.advanced.releaseDraggableSelectors&amp;&amp;l.add(e(n.advanced.releaseDraggableSelectors)),n.advanced.extraDraggableSelectors&amp;&amp;l.add(e(n.advanced.extraDraggableSelectors)),o.bindEvents&amp;&amp;(e(document).add(e(!A()||top.document)).unbind("."+i),l.each(function(){e(this).unbind("."+i)}),clearTimeout(t[0]._focusTimeout),$(t[0],"_focusTimeout"),clearTimeout(o.sequential.step),$(o.sequential,"step"),clearTimeout(s[0].onCompleteTimeout),$(s[0],"onCompleteTimeout"),o.bindEvents=!1)},M=function(t){var o=e(this),n=o.data(a),i=n.opt,r=e("#mCSB_"+n.idx+"_container_wrapper"),l=r.length?r:e("#mCSB_"+n.idx+"_container"),s=[e("#mCSB_"+n.idx+"_scrollbar_vertical"),e("#mCSB_"+n.idx+"_scrollbar_horizontal")],c=[s[0].find(".mCSB_dragger"),s[1].find(".mCSB_dragger")];"x"!==i.axis&amp;&amp;(n.overflowed[0]&amp;&amp;!t?(s[0].add(c[0]).add(s[0].children("a")).css("display","block"),l.removeClass(d[8]+" "+d[10])):(i.alwaysShowScrollbar?(2!==i.alwaysShowScrollbar&amp;&amp;c[0].css("display","none"),l.removeClass(d[10])):(s[0].css("display","none"),l.addClass(d[10])),l.addClass(d[8]))),"y"!==i.axis&amp;&amp;(n.overflowed[1]&amp;&amp;!t?(s[1].add(c[1]).add(s[1].children("a")).css("display","block"),l.removeClass(d[9]+" "+d[11])):(i.alwaysShowScrollbar?(2!==i.alwaysShowScrollbar&amp;&amp;c[1].css("display","none"),l.removeClass(d[11])):(s[1].css("display","none"),l.addClass(d[11])),l.addClass(d[9]))),n.overflowed[0]||n.overflowed[1]?o.removeClass(d[5]):o.addClass(d[5])},O=function(t){var o=t.type,a=t.target.ownerDocument!==document&amp;&amp;null!==frameElement?[e(frameElement).offset().top,e(frameElement).offset().left]:null,n=A()&amp;&amp;t.target.ownerDocument!==top.document&amp;&amp;null!==frameElement?[e(t.view.frameElement).offset().top,e(t.view.frameElement).offset().left]:[0,0];switch(o){case"pointerdown":case"MSPointerDown":case"pointermove":case"MSPointerMove":case"pointerup":case"MSPointerUp":return a?[t.originalEvent.pageY-a[0]+n[0],t.originalEvent.pageX-a[1]+n[1],!1]:[t.originalEvent.pageY,t.originalEvent.pageX,!1];case"touchstart":case"touchmove":case"touchend":var i=t.originalEvent.touches[0]||t.originalEvent.changedTouches[0],r=t.originalEvent.touches.length||t.originalEvent.changedTouches.length;return t.target.ownerDocument!==document?[i.screenY,i.screenX,r&gt;1]:[i.pageY,i.pageX,r&gt;1];default:return a?[t.pageY-a[0]+n[0],t.pageX-a[1]+n[1],!1]:[t.pageY,t.pageX,!1]}},I=function(){function t(e,t,a,n){if(h[0].idleTimer=d.scrollInertial&amp;&amp;l&gt;0&amp;&amp;m&gt;u&amp;&amp;u&gt;0&amp;&amp;(n=l,i=u),C(o,"active",d.autoExpandScrollbar)}}).bind("touchmove."+u,function(e){e.stopImmediatePropagation(),e.preventDefault();var a=o.offset(),r=O(e)[0]-a.top,l=O(e)[1]-a.left;t(n,i,r,l)}),e(document).add(g).bind("mousemove."+u+" pointermove."+u+" MSPointerMove."+u,function(e){if(o){var a=o.offset(),r=O(e)[0]-a.top,l=O(e)[1]-a.left;if(n===r&amp;&amp;i===l)return;t(n,i,r,l)}}).add(p).bind("mouseup."+u+" touchend."+u+" pointerup."+u+" MSPointerUp."+u,function(){o&amp;&amp;(C(o,"active",d.autoExpandScrollbar),o=null),c=!1,s&amp;&amp;(document.onselectstart=null),L.call(h,!0)})},D=function(){function o(e){if(!te(e)||c||O(e)[2])return void(t=0);t=1,b=0,C=0,d=1,y.removeClass("mCS_touch_action");var o=I.offset();u=O(e)[0]-o.top,f=O(e)[1]-o.left,z=[O(e)[0],O(e)[1]]}function n(e){if(te(e)&amp;&amp;!c&amp;&amp;!O(e)[2]&amp;&amp;(T.documentTouchScroll||e.preventDefault(),e.stopImmediatePropagation(),(!C||b)&amp;&amp;d)){g=K();var t=M.offset(),o=O(e)[0]-t.top,a=O(e)[1]-t.left,n="mcsLinearOut";if(E.push(o),W.push(a),z[2]=Math.abs(O(e)[0]-z[0]),z[3]=Math.abs(O(e)[1]-z[1]),B.overflowed[0])var i=D[0].parent().height()-D[0].height(),r=u-o&gt;0&amp;&amp;o-u&gt;-(i*B.scrollRatio.y)&amp;&amp;(2*z[3]0&amp;&amp;a-f&gt;-(l*B.scrollRatio.x)&amp;&amp;(2*z[2]30)){_=1e3/(v-p);var n="mcsEaseOut",i=2.5&gt;_,r=i?[E[E.length-2],W[W.length-2]]:[0,0];x=i?[o-r[0],a-r[1]]:[o-h,a-m];var u=[Math.abs(x[0]),Math.abs(x[1])];_=i?[Math.abs(x[0]/4),Math.abs(x[1]/4)]:[_,_];var f=[Math.abs(I[0].offsetTop)-x[0]*l(u[0]/_[0],_[0]),Math.abs(I[0].offsetLeft)-x[1]*l(u[1]/_[1],_[1])];w="yx"===T.axis?[f[0],f[1]]:"x"===T.axis?[null,f[1]]:[f[0],null],S=[4*u[0]+T.scrollInertia,4*u[1]+T.scrollInertia];var y=parseInt(T.contentTouchScroll)||0;w[0]=u[0]&gt;y?w[0]:0,w[1]=u[1]&gt;y?w[1]:0,B.overflowed[0]&amp;&amp;s(w[0],S[0],n,"y",L,!1),B.overflowed[1]&amp;&amp;s(w[1],S[1],n,"x",L,!1)}}}function l(e,t){var o=[1.5*t,2*t,t/1.5,t/2];return e&gt;90?t&gt;4?o[0]:o[3]:e&gt;60?t&gt;3?o[3]:o[2]:e&gt;30?t&gt;8?o[1]:t&gt;6?o[0]:t&gt;4?t:o[2]:t&gt;8?t:o[3]}function s(e,t,o,a,n,i){e&amp;&amp;G(y,e.toString(),{dur:t,scrollEasing:o,dir:a,overwrite:n,drag:i})}var d,u,f,h,m,p,g,v,x,_,w,S,b,C,y=e(this),B=y.data(a),T=B.opt,k=a+"_"+B.idx,M=e("#mCSB_"+B.idx),I=e("#mCSB_"+B.idx+"_container"),D=[e("#mCSB_"+B.idx+"_dragger_vertical"),e("#mCSB_"+B.idx+"_dragger_horizontal")],E=[],W=[],R=0,L="yx"===T.axis?"none":"all",z=[],P=I.find("iframe"),H=["touchstart."+k+" pointerdown."+k+" MSPointerDown."+k,"touchmove."+k+" pointermove."+k+" MSPointerMove."+k,"touchend."+k+" pointerup."+k+" MSPointerUp."+k],U=void 0!==document.body.style.touchAction&amp;&amp;""!==document.body.style.touchAction;I.bind(H[0],function(e){o(e)}).bind(H[1],function(e){n(e)}),M.bind(H[0],function(e){i(e)}).bind(H[2],function(e){r(e)}),P.length&amp;&amp;P.each(function(){e(this).bind("load",function(){A(this)&amp;&amp;e(this.contentDocument||this.contentWindow.document).bind(H[0],function(e){o(e),i(e)}).bind(H[1],function(e){n(e)}).bind(H[2],function(e){r(e)})})})},E=function(){function o(){return window.getSelection?window.getSelection().toString():document.selection&amp;&amp;"Control"!=document.selection.type?document.selection.createRange().text:0}function n(e,t,o){d.type=o&amp;&amp;i?"stepped":"stepless",d.scrollAmount=10,j(r,e,t,"mcsLinearOut",o?60:null)}var i,r=e(this),l=r.data(a),s=l.opt,d=l.sequential,u=a+"_"+l.idx,f=e("#mCSB_"+l.idx+"_container"),h=f.parent();f.bind("mousedown."+u,function(){t||i||(i=1,c=!0)}).add(document).bind("mousemove."+u,function(e){if(!t&amp;&amp;i&amp;&amp;o()){var a=f.offset(),r=O(e)[0]-a.top+f[0].offsetTop,c=O(e)[1]-a.left+f[0].offsetLeft;r&gt;0&amp;&amp;r0&amp;&amp;cr?n("on",38):r&gt;h.height()&amp;&amp;n("on",40)),"y"!==s.axis&amp;&amp;l.overflowed[1]&amp;&amp;(0&gt;c?n("on",37):c&gt;h.width()&amp;&amp;n("on",39)))}}).bind("mouseup."+u+" dragend."+u,function(){t||(i&amp;&amp;(i=0,n("off",null)),c=!1)})},W=function(){function t(t,a){if(Q(o),!z(o,t.target)){var r="auto"!==i.mouseWheel.deltaFactor?parseInt(i.mouseWheel.deltaFactor):s&amp;&amp;t.deltaFactor=l.width()?.9*l.width():f[0],m=Math.abs(e("#mCSB_"+n.idx+"_container")[0].offsetLeft),p=c[1][0].offsetLeft,g=c[1].parent().width()-c[1].width(),v="y"===i.mouseWheel.axis?t.deltaY||a:t.deltaX;else var u="y",f=[Math.round(r*n.scrollRatio.y),parseInt(i.mouseWheel.scrollAmount)],h="auto"!==i.mouseWheel.scrollAmount?f[1]:f[0]&gt;=l.height()?.9*l.height():f[0],m=Math.abs(e("#mCSB_"+n.idx+"_container")[0].offsetTop),p=c[0][0].offsetTop,g=c[0].parent().height()-c[0].height(),v=t.deltaY||a;"y"===u&amp;&amp;!n.overflowed[0]||"x"===u&amp;&amp;!n.overflowed[1]||((i.mouseWheel.invert||t.webkitDirectionInvertedFromDevice)&amp;&amp;(v=-v),i.mouseWheel.normalizeDelta&amp;&amp;(v=0&gt;v?-1:1),(v&gt;0&amp;&amp;0!==p||0&gt;v&amp;&amp;p!==g||i.mouseWheel.preventDefault)&amp;&amp;(t.stopImmediatePropagation(),t.preventDefault()),t.deltaFactor-1&amp;&amp;!(e.inArray(n,r)&gt;-1&amp;&amp;!e(o).is(":focus"))},P=function(){var t,o=e(this),n=o.data(a),i=a+"_"+n.idx,r=e("#mCSB_"+n.idx+"_container"),l=r.parent(),s=e(".mCSB_"+n.idx+"_scrollbar ."+d[12]);s.bind("mousedown."+i+" touchstart."+i+" pointerdown."+i+" MSPointerDown."+i,function(o){c=!0,e(o.target).hasClass("mCSB_dragger")||(t=1)}).bind("touchend."+i+" pointerup."+i+" MSPointerUp."+i,function(){c=!1}).bind("click."+i,function(a){if(t&amp;&amp;(t=0,e(a.target).hasClass(d[12])||e(a.target).hasClass("mCSB_draggerRail"))){Q(o);var i=e(this),s=i.find(".mCSB_dragger");if(i.parent(".mCSB_scrollTools_horizontal").length&gt;0){if(!n.overflowed[1])return;var c="x",u=a.pageX&gt;s.offset().left?-1:1,f=Math.abs(r[0].offsetLeft)-u*(.9*l.width())}else{if(!n.overflowed[0])return;var c="y",u=a.pageY&gt;s.offset().top?-1:1,f=Math.abs(r[0].offsetTop)-u*(.9*l.height())}G(o,f.toString(),{dir:c,scrollEasing:"mcsEaseInOut"})}})},H=function(){var t=e(this),o=t.data(a),n=o.opt,i=a+"_"+o.idx,r=e("#mCSB_"+o.idx+"_container"),l=r.parent();r.bind("focusin."+i,function(){var o=e(document.activeElement),a=r.find(".mCustomScrollBox").length,i=0;o.is(n.advanced.autoScrollOnFocus)&amp;&amp;(Q(t),clearTimeout(t[0]._focusTimeout),t[0]._focusTimer=a?(i+17)*a:0,t[0]._focusTimeout=setTimeout(function(){var e=[ae(o)[0],ae(o)[1]],a=[r[0].offsetTop,r[0].offsetLeft],s=[a[0]+e[0]&gt;=0&amp;&amp;a[0]+e[0]=0&amp;&amp;a[0]+e[1]a");s.bind("contextmenu."+r,function(e){e.preventDefault()}).bind("mousedown."+r+" touchstart."+r+" pointerdown."+r+" MSPointerDown."+r+" mouseup."+r+" touchend."+r+" pointerup."+r+" MSPointerUp."+r+" mouseout."+r+" pointerout."+r+" MSPointerOut."+r+" click."+r,function(a){function r(e,o){i.scrollAmount=n.scrollButtons.scrollAmount,j(t,e,o)}if(a.preventDefault(),ee(a)){var l=e(this).attr("class");switch(i.type=n.scrollButtons.scrollType,a.type){case"mousedown":case"touchstart":case"pointerdown":case"MSPointerDown":if("stepped"===i.type)return;c=!0,o.tweenRunning=!1,r("on",l);break;case"mouseup":case"touchend":case"pointerup":case"MSPointerUp":case"mouseout":case"pointerout":case"MSPointerOut":if("stepped"===i.type)return;c=!1,i.dir&amp;&amp;r("off",l);break;case"click":if("stepped"!==i.type||o.tweenRunning)return;r("on",l)}}})},q=function(){function t(t){function a(e,t){r.type=i.keyboard.scrollType,r.scrollAmount=i.keyboard.scrollAmount,"stepped"===r.type&amp;&amp;n.tweenRunning||j(o,e,t)}switch(t.type){case"blur":n.tweenRunning&amp;&amp;r.dir&amp;&amp;a("off",null);break;case"keydown":case"keyup":var l=t.keyCode?t.keyCode:t.which,s="on";if("x"!==i.axis&amp;&amp;(38===l||40===l)||"y"!==i.axis&amp;&amp;(37===l||39===l)){if((38===l||40===l)&amp;&amp;!n.overflowed[0]||(37===l||39===l)&amp;&amp;!n.overflowed[1])return;"keyup"===t.type&amp;&amp;(s="off"),e(document.activeElement).is(u)||(t.preventDefault(),t.stopImmediatePropagation(),a(s,l))}else if(33===l||34===l){if((n.overflowed[0]||n.overflowed[1])&amp;&amp;(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type){Q(o);var f=34===l?-1:1;if("x"===i.axis||"yx"===i.axis&amp;&amp;n.overflowed[1]&amp;&amp;!n.overflowed[0])var h="x",m=Math.abs(c[0].offsetLeft)-f*(.9*d.width());else var h="y",m=Math.abs(c[0].offsetTop)-f*(.9*d.height());G(o,m.toString(),{dir:h,scrollEasing:"mcsEaseInOut"})}}else if((35===l||36===l)&amp;&amp;!e(document.activeElement).is(u)&amp;&amp;((n.overflowed[0]||n.overflowed[1])&amp;&amp;(t.preventDefault(),t.stopImmediatePropagation()),"keyup"===t.type)){if("x"===i.axis||"yx"===i.axis&amp;&amp;n.overflowed[1]&amp;&amp;!n.overflowed[0])var h="x",m=35===l?Math.abs(d.width()-c.outerWidth(!1)):0;else var h="y",m=35===l?Math.abs(d.height()-c.outerHeight(!1)):0;G(o,m.toString(),{dir:h,scrollEasing:"mcsEaseInOut"})}}}var o=e(this),n=o.data(a),i=n.opt,r=n.sequential,l=a+"_"+n.idx,s=e("#mCSB_"+n.idx),c=e("#mCSB_"+n.idx+"_container"),d=c.parent(),u="input,textarea,select,datalist,keygen,[contenteditable='true']",f=c.find("iframe"),h=["blur."+l+" keydown."+l+" keyup."+l];f.length&amp;&amp;f.each(function(){e(this).bind("load",function(){A(this)&amp;&amp;e(this.contentDocument||this.contentWindow.document).bind(h[0],function(e){t(e)})})}),s.attr("tabindex","0").bind(h[0],function(e){t(e)})},j=function(t,o,n,i,r){function l(e){u.snapAmount&amp;&amp;(f.scrollAmount=u.snapAmount instanceof Array?"x"===f.dir[0]?u.snapAmount[1]:u.snapAmount[0]:u.snapAmount);var o="stepped"!==f.type,a=r?r:e?o?p/1.5:g:1e3/60,n=e?o?7.5:40:2.5,s=[Math.abs(h[0].offsetTop),Math.abs(h[0].offsetLeft)],d=[c.scrollRatio.y&gt;10?10:c.scrollRatio.y,c.scrollRatio.x&gt;10?10:c.scrollRatio.x],m="x"===f.dir[0]?s[1]+f.dir[1]*(d[1]*n):s[0]+f.dir[1]*(d[0]*n),v="x"===f.dir[0]?s[1]+f.dir[1]*parseInt(f.scrollAmount):s[0]+f.dir[1]*parseInt(f.scrollAmount),x="auto"!==f.scrollAmount?v:m,_=i?i:e?o?"mcsLinearOut":"mcsEaseInOut":"mcsLinear",w=!!e;return e&amp;&amp;17&gt;a&amp;&amp;(x="x"===f.dir[0]?s[1]:s[0]),G(t,x.toString(),{dir:f.dir[0],scrollEasing:_,dur:a,onComplete:w}),e?void(f.dir=!1):(clearTimeout(f.step),void(f.step=setTimeout(function(){l()},a)))}function s(){clearTimeout(f.step),$(f,"step"),Q(t)}var c=t.data(a),u=c.opt,f=c.sequential,h=e("#mCSB_"+c.idx+"_container"),m="stepped"===f.type,p=u.scrollInertia&lt;26?26:u.scrollInertia,g=u.scrollInertia1?[t[0],t[1]]:"x"===o.axis?[null,t[0]]:[t[0],null]:(n[0]=t.y?t.y:t.x||"x"===o.axis?null:t,n[1]=t.x?t.x:t.y||"y"===o.axis?null:t),"function"==typeof n[0]&amp;&amp;(n[0]=n[0]()),"function"==typeof n[1]&amp;&amp;(n[1]=n[1]()),n},X=function(t,o){if(null!=t&amp;&amp;"undefined"!=typeof t){var n=e(this),i=n.data(a),r=i.opt,l=e("#mCSB_"+i.idx+"_container"),s=l.parent(),c=typeof t;o||(o="x"===r.axis?"x":"y");var d="x"===o?l.outerWidth(!1)-s.width():l.outerHeight(!1)-s.height(),f="x"===o?l[0].offsetLeft:l[0].offsetTop,h="x"===o?"left":"top";switch(c){case"function":return t();case"object":var m=t.jquery?t:e(t);if(!m.length)return;return"x"===o?ae(m)[1]:ae(m)[0];case"string":case"number":if(oe(t))return Math.abs(t);if(-1!==t.indexOf("%"))return Math.abs(d*parseInt(t)/100);if(-1!==t.indexOf("-="))return Math.abs(f-parseInt(t.split("-=")[1]));if(-1!==t.indexOf("+=")){var p=f+parseInt(t.split("+=")[1]);return p&gt;=0?0:Math.abs(p)}if(-1!==t.indexOf("px")&amp;&amp;oe(t.split("px")[0]))return Math.abs(t.split("px")[0]);if("top"===t||"left"===t)return 0;if("bottom"===t)return Math.abs(s.height()-l.outerHeight(!1));if("right"===t)return Math.abs(s.width()-l.outerWidth(!1));if("first"===t||"last"===t){var m=l.find(":"+t);return"x"===o?ae(m)[1]:ae(m)[0]}return e(t).length?"x"===o?ae(e(t))[1]:ae(e(t))[0]:(l.css(h,t),void u.update.call(null,n[0]))}}},N=function(t){function o(){return clearTimeout(f[0].autoUpdate),0===l.parents("html").length?void(l=null):void(f[0].autoUpdate=setTimeout(function(){return c.advanced.updateOnSelectorChange&amp;&amp;(s.poll.change.n=i(),s.poll.change.n!==s.poll.change.o)?(s.poll.change.o=s.poll.change.n,void r(3)):c.advanced.updateOnContentResize&amp;&amp;(s.poll.size.n=l[0].scrollHeight+l[0].scrollWidth+f[0].offsetHeight+l[0].offsetHeight+l[0].offsetWidth,s.poll.size.n!==s.poll.size.o)?(s.poll.size.o=s.poll.size.n,void r(1)):!c.advanced.updateOnImageLoad||"auto"===c.advanced.updateOnImageLoad&amp;&amp;"y"===c.axis||(s.poll.img.n=f.find("img").length,s.poll.img.n===s.poll.img.o)?void((c.advanced.updateOnSelectorChange||c.advanced.updateOnContentResize||c.advanced.updateOnImageLoad)&amp;&amp;o()):(s.poll.img.o=s.poll.img.n,void f.find("img").each(function(){n(this)}))},c.advanced.autoUpdateTimeout))}function n(t){function o(e,t){return function(){
return t.apply(e,arguments)}}function a(){this.onload=null,e(t).addClass(d[2]),r(2)}if(e(t).hasClass(d[2]))return void r();var n=new Image;n.onload=o(n,a),n.src=t.src}function i(){c.advanced.updateOnSelectorChange===!0&amp;&amp;(c.advanced.updateOnSelectorChange="*");var e=0,t=f.find(c.advanced.updateOnSelectorChange);return c.advanced.updateOnSelectorChange&amp;&amp;t.length&gt;0&amp;&amp;t.each(function(){e+=this.offsetHeight+this.offsetWidth}),e}function r(e){clearTimeout(f[0].autoUpdate),u.update.call(null,l[0],e)}var l=e(this),s=l.data(a),c=s.opt,f=e("#mCSB_"+s.idx+"_container");return t?(clearTimeout(f[0].autoUpdate),void $(f[0],"autoUpdate")):void o()},V=function(e,t,o){return Math.round(e/t)*t-o},Q=function(t){var o=t.data(a),n=e("#mCSB_"+o.idx+"_container,#mCSB_"+o.idx+"_container_wrapper,#mCSB_"+o.idx+"_dragger_vertical,#mCSB_"+o.idx+"_dragger_horizontal");n.each(function(){Z.call(this)})},G=function(t,o,n){function i(e){return s&amp;&amp;c.callbacks[e]&amp;&amp;"function"==typeof c.callbacks[e]}function r(){return[c.callbacks.alwaysTriggerOffsets||w&gt;=S[0]+y,c.callbacks.alwaysTriggerOffsets||-B&gt;=w]}function l(){var e=[h[0].offsetTop,h[0].offsetLeft],o=[x[0].offsetTop,x[0].offsetLeft],a=[h.outerHeight(!1),h.outerWidth(!1)],i=[f.height(),f.width()];t[0].mcs={content:h,top:e[0],left:e[1],draggerTop:o[0],draggerLeft:o[1],topPct:Math.round(100*Math.abs(e[0])/(Math.abs(a[0])-i[0])),leftPct:Math.round(100*Math.abs(e[1])/(Math.abs(a[1])-i[1])),direction:n.dir}}var s=t.data(a),c=s.opt,d={trigger:"internal",dir:"y",scrollEasing:"mcsEaseOut",drag:!1,dur:c.scrollInertia,overwrite:"all",callbacks:!0,onStart:!0,onUpdate:!0,onComplete:!0},n=e.extend(d,n),u=[n.dur,n.drag?0:n.dur],f=e("#mCSB_"+s.idx),h=e("#mCSB_"+s.idx+"_container"),m=h.parent(),p=c.callbacks.onTotalScrollOffset?Y.call(t,c.callbacks.onTotalScrollOffset):[0,0],g=c.callbacks.onTotalScrollBackOffset?Y.call(t,c.callbacks.onTotalScrollBackOffset):[0,0];if(s.trigger=n.trigger,0===m.scrollTop()&amp;&amp;0===m.scrollLeft()||(e(".mCSB_"+s.idx+"_scrollbar").css("visibility","visible"),m.scrollTop(0).scrollLeft(0)),"_resetY"!==o||s.contentReset.y||(i("onOverflowYNone")&amp;&amp;c.callbacks.onOverflowYNone.call(t[0]),s.contentReset.y=1),"_resetX"!==o||s.contentReset.x||(i("onOverflowXNone")&amp;&amp;c.callbacks.onOverflowXNone.call(t[0]),s.contentReset.x=1),"_resetY"!==o&amp;&amp;"_resetX"!==o){if(!s.contentReset.y&amp;&amp;t[0].mcs||!s.overflowed[0]||(i("onOverflowY")&amp;&amp;c.callbacks.onOverflowY.call(t[0]),s.contentReset.x=null),!s.contentReset.x&amp;&amp;t[0].mcs||!s.overflowed[1]||(i("onOverflowX")&amp;&amp;c.callbacks.onOverflowX.call(t[0]),s.contentReset.x=null),c.snapAmount){var v=c.snapAmount instanceof Array?"x"===n.dir?c.snapAmount[1]:c.snapAmount[0]:c.snapAmount;o=V(o,v,c.snapOffset)}switch(n.dir){case"x":var x=e("#mCSB_"+s.idx+"_dragger_horizontal"),_="left",w=h[0].offsetLeft,S=[f.width()-h.outerWidth(!1),x.parent().width()-x.width()],b=[o,0===o?0:o/s.scrollRatio.x],y=p[1],B=g[1],T=y&gt;0?y/s.scrollRatio.x:0,k=B&gt;0?B/s.scrollRatio.x:0;break;case"y":var x=e("#mCSB_"+s.idx+"_dragger_vertical"),_="top",w=h[0].offsetTop,S=[f.height()-h.outerHeight(!1),x.parent().height()-x.height()],b=[o,0===o?0:o/s.scrollRatio.y],y=p[0],B=g[0],T=y&gt;0?y/s.scrollRatio.y:0,k=B&gt;0?B/s.scrollRatio.y:0}b[1]=S[1]?b=[S[0],S[1]]:b[0]=-b[0],t[0].mcs||(l(),i("onInit")&amp;&amp;c.callbacks.onInit.call(t[0])),clearTimeout(h[0].onCompleteTimeout),J(x[0],_,Math.round(b[1]),u[1],n.scrollEasing),!s.tweenRunning&amp;&amp;(0===w&amp;&amp;b[0]&gt;=0||w===S[0]&amp;&amp;b[0]=S[1]-T&amp;&amp;s.cbOffsets[0]&amp;&amp;(l(),c.callbacks.onTotalScroll.call(t[0])),i("onTotalScrollBack")&amp;&amp;b[1]=S.time&amp;&amp;(S.time=x&gt;S.time?x+f-(x-S.time):x+f-1,S.time&lt;x+1&amp;&amp;(S.time=x+1)),S.time<a>0?(S.currVal=u(S.time,_,b,a,n),w[t]=Math.round(S.currVal)+"px"):w[t]=o+"px",p.call()}function c(){f=1e3/60,S.time=x+f,h=window.requestAnimationFrame?window.requestAnimationFrame:function(e){return s(),setTimeout(e,.01)},S.id=h(l)}function d(){null!=S.id&amp;&amp;(window.requestAnimationFrame?window.cancelAnimationFrame(S.id):clearTimeout(S.id),S.id=null)}function u(e,t,o,a,n){switch(n){case"linear":case"mcsLinear":return o*e/a+t;case"mcsLinearOut":return e/=a,e--,o*Math.sqrt(1-e*e)+t;case"easeInOutSmooth":return e/=a/2,1&gt;e?o/2*e*e+t:(e--,-o/2*(e*(e-2)-1)+t);case"easeInOutStrong":return e/=a/2,1&gt;e?o/2*Math.pow(2,10*(e-1))+t:(e--,o/2*(-Math.pow(2,-10*e)+2)+t);case"easeInOut":case"mcsEaseInOut":return e/=a/2,1&gt;e?o/2*e*e*e+t:(e-=2,o/2*(e*e*e+2)+t);case"easeOutSmooth":return e/=a,e--,-o*(e*e*e*e-1)+t;case"easeOutStrong":return o*(-Math.pow(2,-10*e/a)+1)+t;case"easeOut":case"mcsEaseOut":default:var i=(e/=a)*e,r=i*e;return t+o*(.499999999999997*r*i+-2.5*i*i+5.5*r+-6.5*i+4*e)}}e._mTween||(e._mTween={top:{},left:{}});var f,h,r=r||{},m=r.onStart||function(){},p=r.onUpdate||function(){},g=r.onComplete||function(){},v=K(),x=0,_=e.offsetTop,w=e.style,S=e._mTween[t];"left"===t&amp;&amp;(_=e.offsetLeft);var b=o-_;S.stop=0,"none"!==i&amp;&amp;d(),c()},K=function(){return window.performance&amp;&amp;window.performance.now?window.performance.now():window.performance&amp;&amp;window.performance.webkitNow?window.performance.webkitNow():Date.now?Date.now():(new Date).getTime()},Z=function(){var e=this;e._mTween||(e._mTween={top:{},left:{}});for(var t=["top","left"],o=0;o&lt;t.length;o++){var a=t[o];e._mTween[a].id&amp;&amp;(window.requestAnimationFrame?window.cancelAnimationFrame(e._mTween[a].id):clearTimeout(e._mTween[a].id),e._mTween[a].id=null,e._mTween[a].stop=1)}},$=function(e,t){try{delete e[t]}catch(o){e[t]=null}},ee=function(e){return!(e.which&amp;&amp;1!==e.which)},te=function(e){var t=e.originalEvent.pointerType;return!(t&amp;&amp;&quot;touch&quot;!==t&amp;&amp;2!==t)},oe=function(e){return!isNaN(parseFloat(e))&amp;&amp;isFinite(e)},ae=function(e){var t=e.parents(&quot;.mCSB_container&quot;);return[e.offset().top-t.offset().top,e.offset().left-t.offset().left]},ne=function(){function e(){var e=[&quot;webkit&quot;,&quot;moz&quot;,&quot;ms&quot;,&quot;o&quot;];if(&quot;hidden&quot;in document)return&quot;hidden&quot;;for(var t=0;t=0&amp;&amp;a[0]+ae(n)[0]=0&amp;&amp;a[1]+ae(n)[1]&lt;o.width()-n.outerWidth(!1)},mcsInSight:e.expr[&quot;:&quot;].mcsInSight||function(t,o,a){var n,i,r,l,s=e(t),c=s.parents(&quot;.mCSB_container&quot;),d=&quot;exact&quot;===a[3]?[[1,0],[1,0]]:[[.9,.1],[.6,.4]];if(c.length)return n=[s.outerHeight(!1),s.outerWidth(!1)],r=[c[0].offsetTop+ae(s)[0],c[0].offsetLeft+ae(s)[1]],i=[c.parent()[0].offsetHeight,c.parent()[0].offsetWidth],l=[n[0]&lt;i[0]?d[0]:d[1],n[1]&lt;i[1]?d[0]:d[1]],r[0]-i[0]*l[0][0]=0&amp;&amp;r[1]-i[1]*l[1][0]=0},mcsOverflow:e.expr[":"].mcsOverflow||function(t){var o=e(t).data(a);if(o)return o.overflowed[0]||o.overflowed[1]}})})})});
!function(){var d=function(i,e){function a(){var e,t;this.q=[],this.add=function(e){this.q.push(e)},this.call=function(){for(e=0,t=this.q.length;e&lt;t;e++)this.q[e].call()}}function f(e,t){return e.currentStyle?e.currentStyle[t]:window.getComputedStyle?window.getComputedStyle(e,null).getPropertyValue(t):e.style[t]}function t(e,t){if(e.resizedAttached){if(e.resizedAttached)return void e.resizedAttached.add(t)}else e.resizedAttached=new a,e.resizedAttached.add(t);e.resizeSensor=document.createElement(&quot;div&quot;),e.resizeSensor.className=&quot;resize-sensor&quot;;var i=&quot;position: absolute; left: 0; top: 0; right: 0; bottom: 0; overflow: hidden; z-index: -1; visibility: hidden;&quot;,t=&quot;position: absolute; left: 0; top: 0; transition: 0s;&quot;;e.resizeSensor.style.cssText=i,e.resizeSensor.innerHTML=&#039;<div class="resize-sensor-expand" style="'+i+'"><div style="'+t+'"></div></div><div class="resize-sensor-shrink" style="'+i+'"><div style="height: 200%"></div></div>',e.appendChild(e.resizeSensor),{fixed:1,absolute:1}[f(e,"position")]||(e.style.position="relative");var s=e.resizeSensor.childNodes[0],o=s.childNodes[0],n=e.resizeSensor.childNodes[1],r=n.childNodes[0],d,l,c=function(){o.style.width=s.offsetWidth+10+"px",o.style.height=s.offsetHeight+10+"px",s.scrollLeft=s.scrollWidth,s.scrollTop=s.scrollHeight,n.scrollLeft=n.scrollWidth,n.scrollTop=n.scrollHeight,d=e.offsetWidth,l=e.offsetHeight};c();var h=function(){e.resizedAttached&amp;&amp;e.resizedAttached.call()},i=function(e,t,i){e.attachEvent?e.attachEvent("on"+t,i):e.addEventListener(t,i)},t=function(){e.offsetWidth==d&amp;&amp;e.offsetHeight==l||h(),c()};i(s,"scroll",t),i(n,"scroll",t)}var s=Object.prototype.toString.call(i),o="[object Array]"===s||"[object NodeList]"===s||"[object HTMLCollection]"===s||"undefined"!=typeof jQuery&amp;&amp;i instanceof jQuery||"undefined"!=typeof Elements&amp;&amp;i instanceof Elements;if(o)for(var n=0,r=i.length;n&lt;r;n++)t(i[n],e);else t(i,e);this.detach=function(){if(o)for(var e=0,t=i.length;e&lt;t;e++)d.detach(i[e]);else d.detach(i)}};d.detach=function(e){e.resizeSensor&amp;&amp;(e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached)},&quot;undefined&quot;!=typeof module&amp;&amp;void 0!==module.exports?module.exports=d:window.ResizeSensor=d}();
!function(S){S.fn.theiaStickySidebar=function(i){var t;function o(i,t){var o,e,a,n,s;d(i,t)||(console.log(&quot;TSS: Body width smaller than options.minWidth. Init is delayed.&quot;),S(document).on(&quot;scroll.&quot;+i.namespace,(n=i,s=t,function(i){var t;d(n,s)&amp;&amp;S(this).unbind(i)})),S(window).on(&quot;resize.&quot;+i.namespace,(e=i,a=t,function(i){var t;d(e,a)&amp;&amp;S(this).unbind(i)})))}function d(i,t){return!0===i.initialized||!(S(&quot;body&quot;).width()&lt;i.minWidth)&amp;&amp;(e(i,t),!0)}function e(g,i){var t;g.initialized=!0,0===S(&quot;#theia-sticky-sidebar-stylesheet-&quot;+g.namespace).length&amp;&amp;S(&quot;head&quot;).append(S(&#039;.theiaStickySidebar:after {content: ""; display: table; clear: both;}')),i.each(function(){var i={},o;i.sidebar=S(this),i.options=g||{},i.container=S(i.options.containerSelector),0==i.container.length&amp;&amp;(i.container=i.sidebar.parent()),i.sidebar.parents().css("-webkit-transform","none"),i.sidebar.css({position:i.options.defaultPosition,overflow:"visible","-webkit-box-sizing":"border-box","-moz-box-sizing":"border-box","box-sizing":"border-box"}),i.stickySidebar=i.sidebar.find(".theiaStickySidebar"),0==i.stickySidebar.length&amp;&amp;(o=/(?:text|application)\/(?:x-)?(?:javascript|ecmascript)/i,i.sidebar.find("script").filter(function(i,t){return 0===t.type.length||t.type.match(o)}).remove(),i.stickySidebar=S("<div>").addClass("theiaStickySidebar").append(i.sidebar.children()),i.sidebar.append(i.stickySidebar)),i.marginBottom=parseInt(i.sidebar.css("margin-bottom")),i.paddingTop=parseInt(i.sidebar.css("padding-top")),i.paddingBottom=parseInt(i.sidebar.css("padding-bottom"));var t=i.stickySidebar.offset().top,e=i.stickySidebar.outerHeight(),a,n,s;function l(){i.fixedScrollTop=0,i.sidebar.css({"min-height":"1px"}),i.stickySidebar.css({position:"static",width:"",transform:"none"})}function h(i){var t=i.height();return i.children().each(function(){t=Math.max(t,S(this).height())}),t}i.stickySidebar.css("padding-top",1),i.stickySidebar.css("padding-bottom",1),t-=i.stickySidebar.offset().top,e=i.stickySidebar.outerHeight()-e-t,0==t?(i.stickySidebar.css("padding-top",0),i.stickySidebarPaddingTop=0):i.stickySidebarPaddingTop=1,0==e?(i.stickySidebar.css("padding-bottom",0),i.stickySidebarPaddingBottom=0):i.stickySidebarPaddingBottom=1,i.previousScrollTop=null,i.fixedScrollTop=0,l(),i.onScroll=function(i){if(i.stickySidebar.is(":visible"))if(S("body").width()<i>i.container.width())return void l();var o=S(document).scrollTop(),e="static",a,n,s,d,r,c,p,c,a,n,s,d,s,n,e,b,b;o&gt;=i.sidebar.offset().top+(i.paddingTop-i.options.additionalMarginTop)&amp;&amp;(a=i.paddingTop+g.additionalMarginTop,n=i.paddingBottom+i.marginBottom+g.additionalMarginBottom,s=i.sidebar.offset().top,d=i.sidebar.offset().top+h(i.container),r=0+g.additionalMarginTop,c=i.stickySidebar.outerHeight()+a+n&lt;S(window).height()?r+i.stickySidebar.outerHeight():S(window).height()-i.marginBottom-i.paddingBottom-g.additionalMarginBottom,a=s-o+i.paddingTop,n=d-o-i.paddingBottom-i.marginBottom,s=i.stickySidebar.offset().top-o,d=i.previousScrollTop-o,&quot;fixed&quot;==i.stickySidebar.css(&quot;position&quot;)&amp;&amp;&quot;modern&quot;==i.options.sidebarBehavior&amp;&amp;(s+=d),&quot;stick-to-top&quot;==i.options.sidebarBehavior&amp;&amp;(s=g.additionalMarginTop),&quot;stick-to-bottom&quot;==i.options.sidebarBehavior&amp;&amp;(s=c-i.stickySidebar.outerHeight()),s=0&lt;d?Math.min(s,r):Math.max(s,c-i.stickySidebar.outerHeight()),s=Math.max(s,a),s=Math.min(s,n-i.stickySidebar.outerHeight()),e=((n=i.container.height()==i.stickySidebar.outerHeight())||s!=r)&amp;&amp;(n||s!=c-i.stickySidebar.outerHeight())?o+s-i.sidebar.offset().top-i.paddingTope?o(".back-to-top").fadeIn():o(".back-to-top").fadeOut()}),o(".main-navigation").meanmenu({meanMenuContainer:".navbar-wrap",meanScreenWidth:"768",meanRevealPosition:"left"}),o(".mean-bar").on("keydown",function(e){o(".sub-menu").attr("aria-expanded","true");var t=o(" .mean-bar .meanmenu-reveal, .mean-bar a[href]:not([disabled]), .mean-bar li"),a=t[0],t=t[t.length-1],n=9;"Tab"!==e.key&amp;&amp;9!==e.keyCode||(e.shiftKey?document.activeElement:document.activeElement===t&amp;&amp;(a.focus(),e.preventDefault()))}),o(".site-header .search-toggle").on("click",function(){e()}),o(document).on("keyup",function(e){27===e.keyCode&amp;&amp;o(".search-section").hasClass("active")&amp;&amp;o(".search-section").removeClass("active")}),o(".main-slider-wrap").slick({infinite:!0,slidesToShow:1,dots:!1,arrows:!0,slidesToScroll:1}),o(".popular-videos-wrap").slick({infinite:!0,slidesToShow:1,dots:!0,arrows:!1,slidesToScroll:1}),o(".editor-pickup-wrap").slick({infinite:!0,slidesToShow:1,dots:!1,arrows:!0,slidesToScroll:1}),o(".trending-and-latest-tab-section .header-tab-button .widget-title").on("click",function(){var e=o(this).attr("data-tab");o(".trending-and-latest-tab-section .header-tab-button .widget-title").removeClass("current"),o(".trending-and-latest-tab-section .tab-content").removeClass("current"),o(this).addClass("current"),o("."+e).addClass("current")}),o(".general-tab-section .header-tab-button .widget-title").on("click",function(){var e=o(this).attr("data-tab");o(".general-tab-section .header-tab-button .widget-title").removeClass("current"),o(".general-tab-section .tab-content").removeClass("current"),o(this).addClass("current"),o("."+e).addClass("current")}),o(".social-post .header-tab-button .widget-title").on("click",function(){var e=o(this).attr("data-tab");o(".social-post .header-tab-button .widget-title").removeClass("current"),o(".social-post .tab-content").removeClass("current"),o(this).addClass("current"),o("."+e).addClass("current")}),o(".video-title-option li").on("click",function(){var e=o(this).attr("data-tab");o(".video-title-option li").removeClass("current"),o(".entertainment-item").removeClass("current"),o(this).addClass("current"),o("."+e).addClass("current")}),o(".tab-section-new .tab-option li").on("click",function(){var e=o(this).attr("data-tab");o(".tab-section-new .tab-option li").removeClass("current"),o(".tab-section-new .tab-content").removeClass("current"),o(this).addClass("current"),o("."+e).addClass("current")}),t=document,a="script",n="facebook-jssdk",i=t.getElementsByTagName(a)[0],t.getElementById(n)||((a=t.createElement(a)).id=n,a.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&amp;version=v3.2",i.parentNode.insertBefore(a,i)),jQuery(".section-left , .sidebar ,#primary, #secondary").theiaStickySidebar({additionalMarginTop:30});var i=jQuery(".entertainment-item").outerHeight();jQuery(".video-title-option").css({height:i}),jQuery(".video-title-option-wrap,.social-post.widget .tab-content").mCustomScrollbar({}),768 a, .page_item_has_children &gt; a");for(const o of e)o.addEventListener("focus",s,!0),o.addEventListener("blur",s,!0);for(const c of t)c.addEventListener("touchstart",s,!1)}else a.style.display="none";function s(){if("focus"===event.type||"blur"===event.type){let e=this;for(;!e.classList.contains("nav-menu");)"li"===e.tagName.toLowerCase()&amp;&amp;e.classList.toggle("focus"),e=e.parentNode}if("touchstart"===event.type){const e=this.parentNode;event.preventDefault();for(const t of e.parentNode.children)e!==t&amp;&amp;t.classList.remove("focus");e.classList.toggle("focus")}}}}}();
!function(){"use strict";var d,o,g,m;function s(t){try{return t.defaultView&amp;&amp;t.defaultView.frameElement||null}catch(t){return null}}function u(t){this.time=t.time,this.target=t.target,this.rootBounds=n(t.rootBounds),this.boundingClientRect=n(t.boundingClientRect),this.intersectionRect=n(t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0}),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,t=e.width*e.height,e=this.intersectionRect,e=e.width*e.height;this.intersectionRatio=t?Number((e/t).toFixed(4)):this.isIntersecting?1:0}function t(t,e){var o,n,i,e=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(e.root&amp;&amp;1!=e.root.nodeType&amp;&amp;9!=e.root.nodeType)throw new Error("root must be a Document or Element");this._checkForIntersections=(o=this._checkForIntersections.bind(this),n=this.THROTTLE_TIMEOUT,i=null,function(){i=i||setTimeout(function(){o(),i=null},n)}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(e.rootMargin),this.thresholds=this._initThresholds(e.threshold),this.root=e.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function r(t,e,o,n){"function"==typeof t.addEventListener?t.addEventListener(e,o,n||!1):"function"==typeof t.attachEvent&amp;&amp;t.attachEvent("on"+e,o)}function h(t,e,o,n){"function"==typeof t.removeEventListener?t.removeEventListener(e,o,n||!1):"function"==typeof t.detatchEvent&amp;&amp;t.detatchEvent("on"+e,o)}function _(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?e=!e.width||!e.height?{top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}:e:{top:0,bottom:0,left:0,right:0,width:0,height:0}}function n(t){return!t||"x"in t?t:{top:t.top,y:t.top,bottom:t.bottom,left:t.left,x:t.left,right:t.right,width:t.width,height:t.height}}function b(t,e){var o=e.top-t.top,t=e.left-t.left;return{top:o,left:t,height:e.height,width:e.width,bottom:o+e.height,right:t+e.width}}function i(t,e){for(var o=e;o;){if(o==t)return!0;o=w(o)}return!1}function w(t){var e=t.parentNode;return 9==t.nodeType&amp;&amp;t!=d?s(t):(e=e&amp;&amp;e.assignedSlot?e.assignedSlot.parentNode:e)&amp;&amp;11==e.nodeType&amp;&amp;e.host?e.host:e}function c(t){return t&amp;&amp;9===t.nodeType}"object"==typeof window&amp;&amp;("IntersectionObserver"in window&amp;&amp;"IntersectionObserverEntry"in window&amp;&amp;"intersectionRatio"in window.IntersectionObserverEntry.prototype?"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0&lt;this.intersectionRatio}}):(d=function(t){for(var e=window.document,o=s(e);o;)o=s(e=o.ownerDocument);return e}(),o=[],m=g=null,t.prototype.THROTTLE_TIMEOUT=100,t.prototype.POLL_INTERVAL=null,t.prototype.USE_MUTATION_OBSERVER=!0,t._setupCrossOriginUpdater=function(){return g=g||function(t,e){m=t&amp;&amp;e?b(t,e):{top:0,bottom:0,left:0,right:0,width:0,height:0},o.forEach(function(t){t._checkForIntersections()})}},t._resetCrossOriginUpdater=function(){m=g=null},t.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw new Error(&quot;target must be an Element&quot;);this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},t.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&amp;&amp;this._unregisterInstance()},t.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},t.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},t.prototype._initThresholds=function(t){var t=t||[0];return(t=!Array.isArray(t)?[t]:t).sort().filter(function(t,e,o){if(&quot;number&quot;!=typeof t||isNaN(t)||t&lt;0||1&lt;t)throw new Error(&quot;threshold must be a number between 0 and 1 inclusively&quot;);return t!==o[e-1]})},t.prototype._parseRootMargin=function(t){var t=(t||&quot;0px&quot;).split(/\s+/).map(function(t){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!t)throw new Error(&quot;rootMargin must be specified in pixels or percent&quot;);return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},t.prototype._monitorIntersections=function(e){var t=e.defaultView,o,n,i,t,t;t&amp;&amp;-1==this._monitoringDocuments.indexOf(e)&amp;&amp;(o=this._checkForIntersections,i=n=null,this.POLL_INTERVAL?n=t.setInterval(o,this.POLL_INTERVAL):(r(t,&quot;resize&quot;,o,!0),r(e,&quot;scroll&quot;,o,!0),this.USE_MUTATION_OBSERVER&amp;&amp;&quot;MutationObserver&quot;in t&amp;&amp;(i=new t.MutationObserver(o)).observe(e,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(e),this._monitoringUnsubscribes.push(function(){var t=e.defaultView;t&amp;&amp;(n&amp;&amp;t.clearInterval(n),h(t,&quot;resize&quot;,o,!0)),h(e,&quot;scroll&quot;,o,!0),i&amp;&amp;i.disconnect()}),t=this.root&amp;&amp;(this.root.ownerDocument||this.root)||d,e==t||(t=s(e))&amp;&amp;this._monitorIntersections(t.ownerDocument))},t.prototype._unmonitorIntersections=function(n){var t=this._monitoringDocuments.indexOf(n),i,e,o,r;-1!=t&amp;&amp;(i=this.root&amp;&amp;(this.root.ownerDocument||this.root)||d,this._observationTargets.some(function(t){var e=t.element.ownerDocument;if(e==n)return!0;for(;e&amp;&amp;e!=i;){var o=s(e);if((e=o&amp;&amp;o.ownerDocument)==n)return!0}return!1})||(o=this._monitoringUnsubscribes[t],this._monitoringDocuments.splice(t,1),this._monitoringUnsubscribes.splice(t,1),o(),n!=i&amp;&amp;(r=s(n))&amp;&amp;this._unmonitorIntersections(r.ownerDocument)))},t.prototype._unmonitorAllIntersections=function(){var t=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0;for(var e=this._monitoringUnsubscribes.length=0;e&lt;t.length;e++)t[e]()},t.prototype._checkForIntersections=function(){var h,c;!this.root&amp;&amp;g&amp;&amp;!m||(h=this._rootIsInDom(),c=h?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0},this._observationTargets.forEach(function(t){var e=t.element,o=_(e),n=this._rootContainsTarget(e),i=t.entry,r=h&amp;&amp;n&amp;&amp;this._computeTargetAndRootIntersection(e,o,c),s=null;this._rootContainsTarget(e)?g&amp;&amp;!this.root||(s=c):s={top:0,bottom:0,left:0,right:0,width:0,height:0};var r=t.entry=new u({time:window.performance&amp;&amp;performance.now&amp;&amp;performance.now(),target:e,boundingClientRect:o,rootBounds:s,intersectionRect:r});i?h&amp;&amp;n?this._hasCrossedThreshold(i,r)&amp;&amp;this._queuedEntries.push(r):i&amp;&amp;i.isIntersecting&amp;&amp;this._queuedEntries.push(r):this._queuedEntries.push(r)},this),this._queuedEntries.length&amp;&amp;this._callback(this.takeRecords(),this))},t.prototype._computeTargetAndRootIntersection=function(t,e,o){if(&quot;none&quot;!=window.getComputedStyle(t).display){for(var n,i,r,s,h,c,u,a,l=e,p=w(t),f=!1;!f&amp;&amp;p;){var a=null,u=1==p.nodeType?window.getComputedStyle(p):{},r,s,h,c;if(&quot;none&quot;==u.display)return null;if(p==this.root||9==p.nodeType?(f=!0,p==this.root||p==d?g&amp;&amp;!this.root?!m||0==m.width&amp;&amp;0==m.height?l=a=p=null:a=m:a=o:(s=(r=w(p))&amp;&amp;_(r),h=r&amp;&amp;this._computeTargetAndRootIntersection(r,s,o),s&amp;&amp;h?(p=r,a=b(s,h)):l=p=null)):p!=(c=p.ownerDocument).body&amp;&amp;p!=c.documentElement&amp;&amp;&quot;visible&quot;!=u.overflow&amp;&amp;(a=_(p)),a&amp;&amp;(n=a,i=l,a=u=c=h=s=r=void 0,r=Math.max(n.top,i.top),s=Math.min(n.bottom,i.bottom),h=Math.max(n.left,i.left),a=s-r,l=0&lt;=(u=(c=Math.min(n.right,i.right))-h)&amp;&amp;0&lt;=a?{top:r,bottom:s,left:h,right:c,width:u,height:a}:null),!l)break;p=p&amp;&amp;w(p)}return l}},t.prototype._getRootRect=function(){var t,t,e,t,t;return t=this.root&amp;&amp;!c(this.root)?_(this.root):(e=(t=c(this.root)?this.root:d).documentElement,t=t.body,{top:0,left:0,right:e.clientWidth||t.clientWidth,width:e.clientWidth||t.clientWidth,bottom:e.clientHeight||t.clientHeight,height:e.clientHeight||t.clientHeight}),this._expandRectByRootMargin(t)},t.prototype._expandRectByRootMargin=function(o){var t=this._rootMarginValues.map(function(t,e){return&quot;px&quot;==t.unit?t.value:t.value*(e%2?o.width:o.height)/100}),t={top:o.top-t[0],right:o.right+t[1],bottom:o.bottom+t[2],left:o.left-t[3]};return t.width=t.right-t.left,t.height=t.bottom-t.top,t},t.prototype._hasCrossedThreshold=function(t,e){var o=t&amp;&amp;t.isIntersecting?t.intersectionRatio||0:-1,n=e.isIntersecting?e.intersectionRatio||0:-1;if(o!==n)for(var i=0;i&lt;this.thresholds.length;i++){var r=this.thresholds[i];if(r==o||r==n||r&lt;o!=r&lt;n)return!0}},t.prototype._rootIsInDom=function(){return!this.root||i(d,this.root)},t.prototype._rootContainsTarget=function(t){var e=this.root&amp;&amp;(this.root.ownerDocument||this.root)||d;return i(e,t)&amp;&amp;(!this.root||e==t.ownerDocument)},t.prototype._registerInstance=function(){o.indexOf(this)&lt;0&amp;&amp;o.push(this)},t.prototype._unregisterInstance=function(){var t=o.indexOf(this);-1!=t&amp;&amp;o.splice(t,1)},window.IntersectionObserver=t,window.IntersectionObserverEntry=u))}();