window._wpemojiSettings={"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/13.1.0\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/prosteklo.com.ua\/wp-includes\/js\/wp-emoji-release.min.js"}};
/*! This file is auto-generated */
!function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([127987,65039,8205,9895,65039],[127987,65039,8203,9895,65039])?!1:!s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])&&!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([10084,65039,8205,55357,56613],[10084,65039,8203,55357,56613])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings);
/*! jQuery Migrate v3.3.2 | (c) OpenJS Foundation and other contributors | jquery.org/license */
"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],i=1;i<=3;i++){if(+o[i]<+n[i])return 1;if(+n[i]<+o[i])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.3.2",n.console&&n.console.log&&(s&&e("3.0.0")||n.console.log("JQMIGRATE: jQuery 3.0.0+ REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var r={};function u(e){var t=n.console;s.migrateDeduplicateWarnings&&r[e]||(r[e]=!0,s.migrateWarnings.push(e),t&&t.warn&&!s.migrateMute&&(t.warn("JQMIGRATE: "+e),s.migrateTrace&&t.trace&&t.trace()))}function t(e,t,r,n){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n),r},set:function(e){u(n),r=e}})}function o(e,t,r,n){e[t]=function(){return u(n),r.apply(this,arguments)}}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){r={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("jQuery is not compatible with Quirks Mode");var i,a,c,d={},l=s.fn.init,p=s.find,f=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,y=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;for(i in s.fn.init=function(e){var t=Array.prototype.slice.call(arguments);return"string"==typeof e&&"#"===e&&(u("jQuery( '#' ) is not a valid selector"),t[0]=[]),l.apply(this,t)},s.fn.init.prototype=s.fn,s.find=function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&f.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(y,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("Attribute selector with '#' was not fixed: "+r[0])}}return p.apply(this,r)},p)Object.prototype.hasOwnProperty.call(p,i)&&(s.find[i]=p[i]);o(s.fn,"size",function(){return this.length},"jQuery.fn.size() is deprecated and removed; use the .length property"),o(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"jQuery.parseJSON is deprecated; use JSON.parse"),o(s,"holdReady",s.holdReady,"jQuery.holdReady is deprecated"),o(s,"unique",s.uniqueSort,"jQuery.unique is deprecated; use jQuery.uniqueSort"),t(s.expr,"filters",s.expr.pseudos,"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),t(s.expr,":",s.expr.pseudos,"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&o(s,"trim",function(e){return null==e?"":(e+"").replace(m,"")},"jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(o(s,"nodeName",function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},"jQuery.nodeName is deprecated"),o(s,"isArray",Array.isArray,"jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(o(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){d["[object "+t+"]"]=t.toLowerCase()}),o(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[Object.prototype.toString.call(e)]||"object":typeof e},"jQuery.type is deprecated"),o(s,"isFunction",function(e){return"function"==typeof e},"jQuery.isFunction() is deprecated"),o(s,"isWindow",function(e){return null!=e&&e===e.window},"jQuery.isWindow() is deprecated")),s.ajax&&(a=s.ajax,c=/(=)\?(?=&|$)|\?\?/,s.ajax=function(){var e=a.apply(this,arguments);return e.promise&&(o(e,"success",e.done,"jQXHR.success is deprecated and removed"),o(e,"error",e.fail,"jQXHR.error is deprecated and removed"),o(e,"complete",e.always,"jQXHR.complete is deprecated and removed")),e},e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(c.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&c.test(e.data))&&u("JSON-to-JSONP auto-promotion is deprecated")}));var g=s.fn.removeAttr,h=s.fn.toggleClass,v=/\S+/g;function j(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}s.fn.removeAttr=function(e){var r=this;return s.each(e.match(v),function(e,t){s.expr.match.bool.test(t)&&(u("jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),g.apply(this,arguments)};var Q,b=!(s.fn.toggleClass=function(t){return void 0!==t&&"boolean"!=typeof t?h.apply(this,arguments):(u("jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))}),w=/^[a-z]/,x=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return b=!0,e=r.apply(this,arguments),b=!1,e})}),s.swap=function(e,t,r,n){var o,i,a={};for(i in b||u("jQuery.swap() is undocumented and deprecated"),t)a[i]=e.style[i],e.style[i]=t[i];for(i in o=r.apply(e,n||[]),t)e.style[i]=a[i];return o},e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("JQMIGRATE: jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),s.cssNumber||(s.cssNumber={}),Q=s.fn.css,s.fn.css=function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=j(e),n=r,w.test(n)&&x.test(n[0].toUpperCase()+n.slice(1))||s.cssNumber[r]||u('Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))};var A,k,S,M,N=s.data;s.data=function(e,t,r){var n,o,i;if(t&&"object"==typeof t&&2===arguments.length){for(i in n=s.hasData(e)&&N.call(this,e),o={},t)i!==j(i)?(u("jQuery.data() always sets/gets camelCased names: "+i),n[i]=t[i]):o[i]=t[i];return N.call(this,e,o),t}return t&&"string"==typeof t&&t!==j(t)&&(n=s.hasData(e)&&N.call(this,e))&&t in n?(u("jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):N.apply(this,arguments)},s.fx&&(S=s.Tween.prototype.run,M=function(e){return e},s.Tween.prototype.run=function(){1<s.easing[this.easing].length&&(u("'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=M),S.apply(this,arguments)},A=s.fx.interval||13,k="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u(k),A},set:function(e){u(k),A=e}}));var R=s.fn.load,H=s.event.add,C=s.event.fix;s.event.props=[],s.event.fixHooks={},t(s.event.props,"concat",s.event.props.concat,"jQuery.event.props.concat() is deprecated and removed"),s.event.fix=function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=C.call(this,e),n&&n.filter?n.filter(t,e):t},s.event.add=function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("jQuery(window).on('load'...) called after load event occurred"),H.apply(this,arguments)},s.each(["load","unload","error"],function(e,t){s.fn[t]=function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?R.apply(this,e):(u("jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))}}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){s.fn[r]=function(e,t){return u("jQuery.fn."+r+"() event shorthand is deprecated"),0<arguments.length?this.on(r,null,e,t):this.trigger(r)}}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("'ready' event is deprecated")}},s.fn.extend({bind:function(e,t,r){return u("jQuery.fn.bind() is deprecated"),this.on(e,null,t,r)},unbind:function(e,t){return u("jQuery.fn.unbind() is deprecated"),this.off(e,null,t)},delegate:function(e,t,r,n){return u("jQuery.fn.delegate() is deprecated"),this.on(t,e,r,n)},undelegate:function(e,t,r){return u("jQuery.fn.undelegate() is deprecated"),1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},hover:function(e,t){return u("jQuery.fn.hover() is deprecated"),this.on("mouseenter",e).on("mouseleave",t||e)}});function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}function P(e){var t=e.replace(O,"<$1></$2>");t!==e&&T(e)!==T(t)&&u("HTML tags must be properly nested and closed: "+e)}var O=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,q=s.htmlPrefilter;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.htmlPrefilter=function(e){return P(e),e.replace(O,"<$1></$2>")}},s.htmlPrefilter=function(e){return P(e),q(e)};var D,_=s.fn.offset;s.fn.offset=function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?_.apply(this,arguments):(u("jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},s.ajax&&(D=s.param,s.param=function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)});var E,F,J=s.fn.andSelf||s.fn.addBack;return s.fn.andSelf=function(){return u("jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),J.apply(this,arguments)},s.Deferred&&(E=s.Deferred,F=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],s.Deferred=function(e){var i=E(),a=i.promise();return i.pipe=a.pipe=function(){var o=arguments;return u("deferred.pipe() is deprecated"),s.Deferred(function(n){s.each(F,function(e,t){var r="function"==typeof o[e]&&o[e];i[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===a?n.promise():this,r?[e]:arguments)})}),o=null}).promise()},e&&e.call(i,i),i},s.Deferred.exceptionHook=E.exceptionHook),s});
if(function(t){"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],t):t(jQuery)}(function(t){var e="left",i="right",r="up",n="down",s="in",a="out",o="none",l="auto",h="swipe",u="pinch",f="tap",p="doubletap",c="longtap",d="horizontal",_="vertical",m="all",g=10,v="start",y="move",x="end",w="cancel",T="ontouchstart"in window,b=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,P=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,S="TouchSwipe";function O(O,k){var C=T||P||!k.fallbackToMouseEvents,A=C?P?b?"MSPointerDown":"pointerdown":"touchstart":"mousedown",R=C?P?b?"MSPointerMove":"pointermove":"touchmove":"mousemove",M=C?P?b?"MSPointerUp":"pointerup":"touchend":"mouseup",E=C?null:"mouseleave",D=P?b?"MSPointerCancel":"pointercancel":"touchcancel",L=0,I=null,N=0,F=0,X=0,z=1,Y=0,j=0,B=null,V=t(O),G="start",U=0,W=null,q=0,H=0,Q=0,Z=0,$=0,K=null,J=null;try{V.bind(A,tt),V.bind(D,rt)}catch(e){t.error("events not supported "+A+","+D+" on jQuery.swipetp")}function tt(s){if(!0!==V.data(S+"_intouch")&&!(t(s.target).closest(k.excludedElements,V).length>0)){var a,o=s.originalEvent?s.originalEvent:s,l=o.touches,h=l?l[0]:o;return G=v,l?U=l.length:s.preventDefault(),L=0,I=null,j=null,N=0,F=0,X=0,z=1,Y=0,W=function(){for(var t=[],e=0;e<=5;e++)t.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0});return t}(),B=function(){var t={};return t[e]=At(e),t[i]=At(i),t[r]=At(r),t[n]=At(n),t}(),bt(),!l||U===k.fingers||k.fingers===m||ct()?(Ot(0,h),q=Et(),2==U&&(Ot(1,l[1]),F=X=Mt(W[0].start,W[1].start)),(k.swipeStatus||k.pinchStatus)&&(a=ot(o,G))):a=!1,!1===a?(ot(o,G=w),a):(k.hold&&(J=setTimeout(t.proxy(function(){V.trigger("hold",[o.target]),k.hold&&(a=k.hold.call(V,o,o.target))},this),k.longTapThreshold)),St(!0),null)}}function et(h){var u=h.originalEvent?h.originalEvent:h;if(G!==x&&G!==w&&!Pt()){var f,p=u.touches,c=kt(p?p[0]:u);if(H=Et(),p&&(U=p.length),k.hold&&clearTimeout(J),G=y,2==U&&(0==F?(Ot(1,p[1]),F=X=Mt(W[0].start,W[1].start)):(kt(p[1]),X=Mt(W[0].end,W[1].end),W[0].end,W[1].end,j=z<1?a:s),z=function(t,e){return(e/t*1).toFixed(2)}(F,X),Y=Math.abs(F-X)),U===k.fingers||k.fingers===m||!p||ct()){if(function(t,s){if(!1===k.preventDefaultEvents)return;if(k.allowPageScroll===o)t.preventDefault();else{var a=k.allowPageScroll===l;switch(s){case e:(k.swipeLeft&&a||!a&&k.allowPageScroll!=d)&&t.preventDefault();break;case i:(k.swipeRight&&a||!a&&k.allowPageScroll!=d)&&t.preventDefault();break;case r:(k.swipeUp&&a||!a&&k.allowPageScroll!=_)&&t.preventDefault();break;case n:(k.swipeDown&&a||!a&&k.allowPageScroll!=_)&&t.preventDefault()}}}(h,I=function(t,s){var a=function(t,e){var i=t.x-e.x,r=e.y-t.y,n=Math.atan2(r,i),s=Math.round(180*n/Math.PI);s<0&&(s=360-Math.abs(s));return s}(t,s);return a<=45&&a>=0?e:a<=360&&a>=315?e:a>=135&&a<=225?i:a>45&&a<135?n:r}(c.start,c.end)),L=function(t,e){return Math.round(Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)))}(c.start,c.end),N=Rt(),function(t,e){e=Math.max(e,Ct(t)),B[t].distance=e}(I,L),(k.swipeStatus||k.pinchStatus)&&(f=ot(u,G)),!k.triggerOnTouchEnd||k.triggerOnTouchLeave){var g=!0;if(k.triggerOnTouchLeave){var v=function(e){var i=(e=t(e)).offset();return{left:i.left,right:i.left+e.outerWidth(),top:i.top,bottom:i.top+e.outerHeight()}}(this);g=function(t,e){return t.x>e.left&&t.x<e.right&&t.y>e.top&&t.y<e.bottom}(c.end,v)}!k.triggerOnTouchEnd&&g?G=at(y):k.triggerOnTouchLeave&&!g&&(G=at(x)),G!=w&&G!=x||ot(u,G)}}else ot(u,G=w);!1===f&&ot(u,G=w)}}function it(t){var e=t.originalEvent?t.originalEvent:t,i=e.touches;return i&&i.length?(Q=Et(),Z=event.touches.length+1,!0):(Pt()&&(U=Z),H=Et(),N=Rt(),ut()||!ht()?ot(e,G=w):k.triggerOnTouchEnd||0==k.triggerOnTouchEnd&&G===y?(t.preventDefault(),ot(e,G=x)):!k.triggerOnTouchEnd&&xt()?lt(e,G=x,f):G===y&&ot(e,G=w),St(!1),null)}function rt(){U=0,H=0,q=0,F=0,X=0,z=1,bt(),St(!1)}function nt(t){var e=t.originalEvent?t.originalEvent:t;k.triggerOnTouchLeave&&ot(e,G=at(x))}function st(){V.unbind(A,tt),V.unbind(D,rt),V.unbind(R,et),V.unbind(M,it),E&&V.unbind(E,nt),St(!1)}function at(t){var e=t,i=ft(),r=ht(),n=ut();return!i||n?e=w:!r||t!=y||k.triggerOnTouchEnd&&!k.triggerOnTouchLeave?!r&&t==x&&k.triggerOnTouchLeave&&(e=w):e=x,e}function ot(t,e){var i,r=t.touches;return gt()||mt()||dt()||ct()?((gt()||mt())&&(i=lt(t,e,h)),(dt()||ct())&&!1!==i&&(i=lt(t,e,u))):Tt()&&wt()&&!1!==i?i=lt(t,e,p):N>k.longTapThreshold&&L<g&&k.longTap&&!1!==i?i=lt(t,e,c):1!==U&&T||!(isNaN(L)||L<k.threshold)||!xt()||!1===i||(i=lt(t,e,f)),e===w&&rt(),e===x&&(r&&r.length||rt()),i}function lt(o,l,d){var _;if(d==h){if(V.trigger("swipeStatus",[l,I||null,L||0,N||0,U,W]),k.swipeStatus&&!1===(_=k.swipeStatus.call(V,o,l,I||null,L||0,N||0,U,W)))return!1;if(l==x&&_t()){if(V.trigger("swipe",[I,L,N,U,W]),k.swipe&&!1===(_=k.swipe.call(V,o,I,L,N,U,W)))return!1;switch(I){case e:V.trigger("swipeLeft",[I,L,N,U,W]),k.swipeLeft&&(_=k.swipeLeft.call(V,o,I,L,N,U,W));break;case i:V.trigger("swipeRight",[I,L,N,U,W]),k.swipeRight&&(_=k.swipeRight.call(V,o,I,L,N,U,W));break;case r:V.trigger("swipeUp",[I,L,N,U,W]),k.swipeUp&&(_=k.swipeUp.call(V,o,I,L,N,U,W));break;case n:V.trigger("swipeDown",[I,L,N,U,W]),k.swipeDown&&(_=k.swipeDown.call(V,o,I,L,N,U,W))}}}if(d==u){if(V.trigger("pinchStatus",[l,j||null,Y||0,N||0,U,z,W]),k.pinchStatus&&!1===(_=k.pinchStatus.call(V,o,l,j||null,Y||0,N||0,U,z,W)))return!1;if(l==x&&pt())switch(j){case s:V.trigger("pinchIn",[j||null,Y||0,N||0,U,z,W]),k.pinchIn&&(_=k.pinchIn.call(V,o,j||null,Y||0,N||0,U,z,W));break;case a:V.trigger("pinchOut",[j||null,Y||0,N||0,U,z,W]),k.pinchOut&&(_=k.pinchOut.call(V,o,j||null,Y||0,N||0,U,z,W))}}return d==f?l!==w&&l!==x||(clearTimeout(K),clearTimeout(J),wt()&&!Tt()?($=Et(),K=setTimeout(t.proxy(function(){$=null,V.trigger("tap",[o.target]),k.tap&&(_=k.tap.call(V,o,o.target))},this),k.doubleTapThreshold)):($=null,V.trigger("tap",[o.target]),k.tap&&(_=k.tap.call(V,o,o.target)))):d==p?l!==w&&l!==x||(clearTimeout(K),$=null,V.trigger("doubletap",[o.target]),k.doubleTap&&(_=k.doubleTap.call(V,o,o.target))):d==c&&(l!==w&&l!==x||(clearTimeout(K),$=null,V.trigger("longtap",[o.target]),k.longTap&&(_=k.longTap.call(V,o,o.target)))),_}function ht(){var t=!0;return null!==k.threshold&&(t=L>=k.threshold),t}function ut(){var t=!1;return null!==k.cancelThreshold&&null!==I&&(t=Ct(I)-L>=k.cancelThreshold),t}function ft(){return!k.maxTimeThreshold||!(N>=k.maxTimeThreshold)}function pt(){var t=vt(),e=yt(),i=null===k.pinchThreshold||Y>=k.pinchThreshold;return t&&e&&i}function ct(){return!!(k.pinchStatus||k.pinchIn||k.pinchOut)}function dt(){return!(!pt()||!ct())}function _t(){var t=ft(),e=ht(),i=vt(),r=yt();return!ut()&&r&&i&&e&&t}function mt(){return!!(k.swipe||k.swipeStatus||k.swipeLeft||k.swipeRight||k.swipeUp||k.swipeDown)}function gt(){return!(!_t()||!mt())}function vt(){return U===k.fingers||k.fingers===m||!T}function yt(){return 0!==W[0].end.x}function xt(){return!!k.tap}function wt(){return!!k.doubleTap}function Tt(){if(null==$)return!1;var t=Et();return wt()&&t-$<=k.doubleTapThreshold}function bt(){Q=0,Z=0}function Pt(){var t=!1;Q&&(Et()-Q<=k.fingerReleaseThreshold&&(t=!0));return t}function St(t){!0===t?(V.bind(R,et),V.bind(M,it),E&&V.bind(E,nt)):(V.unbind(R,et,!1),V.unbind(M,it,!1),E&&V.unbind(E,nt,!1)),V.data(S+"_intouch",!0===t)}function Ot(t,e){var i=void 0!==e.identifier?e.identifier:0;return W[t].identifier=i,W[t].start.x=W[t].end.x=e.pageX||e.clientX,W[t].start.y=W[t].end.y=e.pageY||e.clientY,W[t]}function kt(t){var e=function(t){for(var e=0;e<W.length;e++)if(W[e].identifier==t)return W[e]}(void 0!==t.identifier?t.identifier:0);return e.end.x=t.pageX||t.clientX,e.end.y=t.pageY||t.clientY,e}function Ct(t){if(B[t])return B[t].distance}function At(t){return{direction:t,distance:0}}function Rt(){return H-q}function Mt(t,e){var i=Math.abs(t.x-e.x),r=Math.abs(t.y-e.y);return Math.round(Math.sqrt(i*i+r*r))}function Et(){return(new Date).getTime()}this.enable=function(){return V.bind(A,tt),V.bind(D,rt),V},this.disable=function(){return st(),V},this.destroy=function(){st(),V.data(S,null),V=null},this.option=function(e,i){if(void 0!==k[e]){if(void 0===i)return k[e];k[e]=i}else t.error("Option "+e+" does not exist on jQuery.swipetp.options");return null}}t.fn.swipetp=function(e){var i=t(this),r=i.data(S);if(r&&"string"==typeof e){if(r[e])return r[e].apply(this,Array.prototype.slice.call(arguments,1));t.error("Method "+e+" does not exist on jQuery.swipetp")}else if(!(r||"object"!=typeof e&&e))return function(e){!e||void 0!==e.allowPageScroll||void 0===e.swipe&&void 0===e.swipeStatus||(e.allowPageScroll=o);void 0!==e.click&&void 0===e.tap&&(e.tap=e.click);e||(e={});return e=t.extend({},t.fn.swipetp.defaults,e),this.each(function(){var i=t(this),r=i.data(S);r||(r=new O(this,e),i.data(S,r))})}.apply(this,arguments);return i},t.fn.swipetp.version="1.6.9",t.fn.swipetp.defaults={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:!0,triggerOnTouchLeave:!1,allowPageScroll:"auto",fallbackToMouseEvents:!0,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:!0},t.fn.swipetp.phases={PHASE_START:v,PHASE_MOVE:y,PHASE_END:x,PHASE_CANCEL:w},t.fn.swipetp.directions={LEFT:e,RIGHT:i,UP:r,DOWN:n,IN:s,OUT:a},t.fn.swipetp.pageScroll={NONE:o,HORIZONTAL:d,VERTICAL:_,AUTO:l},t.fn.swipetp.fingers={ONE:1,TWO:2,THREE:3,ALL:m}}),void 0===console){var console={};console.log=console.error=console.info=console.debug=console.warn=console.trace=console.dir=console.dirxml=console.group=console.groupEnd=console.time=console.timeEnd=console.assert=console.profile=console.groupCollapsed=function(){}}if(1==window.tplogs)try{console.groupCollapsed("ThemePunch GreenSocks Logs")}catch(t){}var oldgs=window.GreenSockGlobals;oldgs_queue=window._gsQueue;var _gsScope,punchgs=window.GreenSockGlobals={};if(1==window.tplogs)try{console.info("Build GreenSock SandBox for ThemePunch Plugins"),console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin")}catch(t){}!function(t,e){"use strict";var i=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!i.TweenLite){var r,n,s,a,o,l=function(t){var e,r=t.split("."),n=i;for(e=0;r.length>e;e++)n[r[e]]=n=n[r[e]]||{};return n},h=l("com.greensock"),u=1e-10,f=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},p=function(){},c=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),d={},_=function(e,r,n,s){this.sc=d[e]?d[e].sc:[],d[e]=this,this.gsClass=null,this.func=n;var a=[];this.check=function(o){for(var h,u,f,p,c=r.length,m=c;--c>-1;)(h=d[r[c]]||new _(r[c],[])).gsClass?(a[c]=h.gsClass,m--):o&&h.sc.push(this);if(0===m&&n)for(f=(u=("com.greensock."+e).split(".")).pop(),p=l(u.join("."))[f]=this.gsClass=n.apply(n,a),s&&(i[f]=p,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+e.split(".").pop(),[],function(){return p}):"TweenLite"===e&&"undefined"!=typeof module&&module.exports&&(module.exports=p)),c=0;this.sc.length>c;c++)this.sc[c].check()},this.check(!0)},m=t._gsDefine=function(t,e,i,r){return new _(t,e,i,r)},g=h._class=function(t,e,i){return e=e||function(){},m(t,[],function(){return e},i),e};m.globals=i;var v=[0,0,1,1],y=[],x=g("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?v.concat(e):v},!0),w=x.map={},T=x.register=function(t,e,i,r){for(var n,s,a,o,l=e.split(","),u=l.length,f=(i||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(s=l[u],n=r?g("easing."+s,null,!0):h.easing[s]||{},a=f.length;--a>-1;)o=f[a],w[s+"."+o]=w[o+s]=n[o]=t.getRatio?t:t[o]||new t};for((s=x.prototype)._calcEnd=!1,s.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},n=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--n>-1;)s=r[n]+",Power"+n,T(new x(null,null,1,n),s,"easeOut",!0),T(new x(null,null,2,n),s,"easeIn"+(0===n?",easeNone":"")),T(new x(null,null,3,n),s,"easeInOut");w.linear=h.easing.Linear.easeIn,w.swing=h.easing.Quad.easeInOut;var b=g("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(s=b.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,l,h=this._listeners[t],u=0;for(null==h&&(this._listeners[t]=h=[]),l=h.length;--l>-1;)(s=h[l]).c===e&&s.s===i?h.splice(l,1):0===u&&n>s.pr&&(u=l+1);h.splice(u,0,{c:e,s:i,up:r,pr:n}),this!==a||o||a.wake()},s.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},s.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for(e=n.length,i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var P=t.requestAnimationFrame,S=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},k=O();for(n=(r=["ms","moz","webkit","o"]).length;--n>-1&&!P;)P=t[r[n]+"RequestAnimationFrame"],S=t[r[n]+"CancelAnimationFrame"]||t[r[n]+"CancelRequestAnimationFrame"];g("Ticker",function(t,e){var i,r,n,s,l,h=this,f=O(),c=!1!==e&&P,d=500,_=33,m=function(t){var e,a,o=O()-k;o>d&&(f+=o-_),k+=o,h.time=(k-f)/1e3,e=h.time-l,(!i||e>0||!0===t)&&(h.frame++,l+=e+(e>=s?.004:s-e),a=!0),!0!==t&&(n=r(m)),a&&h.dispatchEvent("tick")};b.call(h),h.time=h.frame=0,h.tick=function(){m(!0)},h.lagSmoothing=function(t,e){d=t||1/u,_=Math.min(e,d,0)},h.sleep=function(){null!=n&&(c&&S?S(n):clearTimeout(n),r=p,n=null,h===a&&(o=!1))},h.wake=function(){null!==n?h.sleep():h.frame>10&&(k=O()-d+5),r=0===i?p:c&&P?P:function(t){return setTimeout(t,0|1e3*(l-h.time)+1)},h===a&&(o=!0),m(2)},h.fps=function(t){return arguments.length?(s=1/((i=t)||60),l=this.time+s,void h.wake()):i},h.useRAF=function(t){return arguments.length?(h.sleep(),c=t,void h.fps(i)):c},h.fps(t),setTimeout(function(){c&&5>h.frame&&h.useRAF(!1)},1500)}),(s=h.Ticker.prototype=new h.events.EventDispatcher).constructor=h.Ticker;var C=g("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,B){o||a.wake();var i=this.vars.useFrames?j:B;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});a=C.ticker=new h.Ticker,(s=C.prototype)._dirty=s._gc=s._initted=s._paused=!1,s._totalTime=s._time=0,s._rawPrevTime=-1,s._next=s._last=s._onUpdate=s._timeline=s.timeline=null,s._paused=!1;var A=function(){o&&O()-k>2e3&&a.wake(),setTimeout(A,2e3)};A(),s.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},s.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},s.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},s.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},s.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},s.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},s.render=function(){},s.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},s.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t},s._enabled=function(t,e){return o||a.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},s._kill=function(){return this._enabled(!1,!1)},s.kill=function(t,e){return this._kill(t,e),this},s._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},s._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},s._callback=function(t){var e=this.vars;e[t].apply(e[t+"Scope"]||e.callbackScope||this,e[t+"Params"]||y)},s.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=c(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},s.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},s.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},s.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},s.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},s.totalTime=function(t,e,i){if(o||a.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(this.render(t,e,!1),D.length&&G())}return this},s.progress=s.totalProgress=function(t,e){return arguments.length?this.totalTime(this.duration()*t,e):this._time/this.duration()},s.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},s.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},s.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||u,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},s.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},s.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(o||t||a.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&this.render(r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,!0,!0)),this._gc&&!t&&this._enabled(!0,!1),this};var R=g("core.SimpleTimeline",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(s=R.prototype=new C).constructor=R,s.kill()._gc=!1,s._first=s._last=s._recent=null,s._sortChildren=!1,s.add=s.insert=function(t,e){var i,r;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(r=t._startTime;i&&i._startTime>r;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},s._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},s.rawTime=function(){return o||a.wake(),this._totalTime};var M=g("TweenLite",function(e,i,r){if(C.call(this,i,r),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var n,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Y[M.defaultOverwrite]:"number"==typeof l?l>>0:Y[l],(o||e instanceof Array||e.push&&c(e))&&"number"!=typeof e[0])for(this._targets=a=f(e),this._propLookup=[],this._siblings=[],n=0;a.length>n;n++)(s=a[n])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(n--,1),this._targets=a=a.concat(f(s))):(this._siblings[n]=U(s,this,!1),1===l&&this._siblings[n].length>1&&q(s,this,null,1,this._siblings[n])):"string"==typeof(s=a[n--]=M.selector(s))&&a.splice(n+1,1):a.splice(n--,1);else this._propLookup={},this._siblings=U(e,this,!1),1===l&&this._siblings.length>1&&q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-u,this.render(-this._delay))},!0),E=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(s=M.prototype=new C).constructor=M,s.kill()._gc=!1,s.ratio=0,s._firstPT=s._targets=s._overwrittenProps=s._startAt=null,s._notifyPluginsOfEnabled=s._lazy=!1,M.version="1.17.0",M.defaultEase=s._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=a,M.autoSleep=120,M.lagSmoothing=function(t,e){a.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(M.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var D=[],L={},I=M._internals={isArray:c,isSelector:E,lazyTweens:D},N=M._plugins={},F=I.tweenLookup={},X=0,z=I.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1},Y={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},j=C._rootFramesTimeline=new R,B=C._rootTimeline=new R,V=30,G=I.lazyRender=function(){var t,e=D.length;for(L={};--e>-1;)(t=D[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);D.length=0};B._startTime=a.time,j._startTime=a.frame,B._active=j._active=!0,setTimeout(G,1),C._updateRoot=M.render=function(){var t,e,i;if(D.length&&G(),B.render((a.time-B._startTime)*B._timeScale,!1,!1),j.render((a.frame-j._startTime)*j._timeScale,!1,!1),D.length&&G(),a.frame>=V){for(i in V=a.frame+(parseInt(M.autoSleep,10)||120),F){for(t=(e=F[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete F[i]}if((!(i=B._first)||i._paused)&&M.autoSleep&&!j._first&&1===a._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||a.sleep()}}},a.addEventListener("tick",C._updateRoot);var U=function(t,e,i){var r,n,s=t._gsTweenID;if(F[s||(t._gsTweenID=s="t"+X++)]||(F[s]={target:t,tweens:[]}),e&&((r=F[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return F[s].tweens},W=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),(a=M.onOverwrite)&&(s=a(t,e,i,r)),!1!==n&&!1!==s},q=function(t,e,i,r,n){var s,a,o,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var h,f=e._startTime+u,p=[],c=0,d=0===e._duration;for(s=n.length;--s>-1;)(o=n[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||H(e,0,d),0===H(o,h,d)&&(p[c++]=o)):f>=o._startTime&&o._startTime+o.totalDuration()/o._timeScale>f&&((d||!o._initted)&&2e-10>=f-o._startTime||(p[c++]=o)));for(s=c;--s>-1;)if(o=p[s],2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted){if(2!==r&&!W(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},H=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&2*u>s-e?u:(s+=t.totalDuration()/t._timeScale/n)>e+u?0:s-e-u};s._init=function(){var t,e,i,r,n,s=this.vars,a=this._overwrittenProps,o=this._duration,l=!!s.immediateRender,h=s.ease;if(s.startAt){for(r in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},s.startAt)n[r]=s.startAt[r];if(n.overwrite=!1,n.immediateRender=!0,n.lazy=l&&!1!==s.lazy,n.startAt=n.delay=null,this._startAt=M.to(this.target,0,n),l)if(this._time>0)this._startAt=null;else if(0!==o)return}else if(s.runBackwards&&0!==o)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(r in 0!==this._time&&(l=!1),i={},s)z[r]&&"autoCSS"!==r||(i[r]=s[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==s.lazy,i.immediateRender=l,this._startAt=M.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof x?h:"function"==typeof h?new x(h,s.easeParams):w[h]||M.defaultEase:M.defaultEase,s.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a);if(e&&M._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=s.onUpdate,this._initted=!0},s._initProps=function(e,i,r,n){var s,a,o,l,h,u;if(null==e)return!1;for(s in L[e._gsTweenID]&&G(),this.vars.css||e.style&&e!==t&&e.nodeType&&N.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)z[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!N[i]||N[i]&&N[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e),this.vars){if(u=this.vars[s],z[s])u&&(u instanceof Array||u.push&&c(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[s]=u=this._swapSelfInParams(u,this));else if(N[s]&&(l=new N[s])._onInitTween(e,this.vars[s],this)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:s,pg:!0,pr:l._priority},a=l._overwriteProps.length;--a>-1;)i[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[s]=h={_next:this._firstPT,t:e,p:s,f:"function"==typeof e[s],n:s,pg:!1,pr:0},h.s=h.f?e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(e[s]),h.c="string"==typeof u&&"="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*Number(u.substr(2)):Number(u)-h.s||0;h&&h._next&&(h._next._prev=h)}return n&&this._kill(n,e)?this._initProps(e,i,r,n):this._overwrite>1&&this._firstPT&&r.length>1&&q(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),o)},s.render=function(t,e,i){var r,n,s,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,n="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0===t||0>h||h===u&&"isPause"!==this.data)&&h!==t&&(i=!0,h>u&&(n="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:u);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&h>0)&&(n="onReverseComplete",r=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(h!==u||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:u)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var f=t/l,p=this._easeType,c=this._easePower;(1===p||3===p&&f>=.5)&&(f=1-f),3===p&&(f*=2),1===c?f*=f:2===c?f*=f*f:3===c?f*=f*f*f:4===c&&(f*=f*f*f*f),this.ratio=1===p?1-f:2===p?f:.5>t/l?f/2:1-f/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=h,D.push(this),void(this._lazy=[t,e]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):n||(n="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==o||r)&&this._callback("onUpdate")),n&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n),0===l&&this._rawPrevTime===u&&a!==u&&(this._rawPrevTime=0))}},s._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:M.selector(e)||e;var r,n,s,a,o,l,h,u,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((c(e)||E(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(M.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(f||(f=[]),f.push(s));if((f||!t)&&!W(this,i,e,f))return!1}for(s in h)(a=o[s])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},s.invalidate=function(){return this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-u,this.render(-this._delay)),this},s._enabled=function(t,e){if(o||a.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=U(r[i],this,!0);else this._siblings=U(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,i){return new M(t,e,i)},M.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new M(t,e,i)},M.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new M(t,e,r)},M.delayedCall=function(t,e,i,r,n){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:M.selector(t)||t,(c(t)||E(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(M.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else for(i=(r=U(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r},M.killTweensOf=M.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=M.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var Q=g("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=Q.prototype},!0);if(s=Q.prototype,Q.version="1.10.1",Q.API=2,s._firstPT=null,s._addTween=function(t,e,i,r,n,s){var a,o;return null!=r&&(a="number"==typeof r||"="!==r.charAt(1)?Number(r)-Number(i):parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)))?(this._firstPT=o={_next:this._firstPT,t:t,p:e,s:i,c:a,f:"function"==typeof t[e],n:n||e,r:s},o._next&&(o._next._prev=o),o):void 0},s.setRatio=function(t){for(var e,i=this._firstPT;i;)e=i.c*t+i.s,i.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},s._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},s._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},M._onPluginEvent=function(t,e){var i,r,n,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},Q.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===Q.API&&(N[(new t[e])._propName]=t[e]);return!0},m.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=g("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){Q.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new Q(i);for(e in o.constructor=a,a.API=t.API,s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,Q.activate([a]),a},r=t._gsQueue){for(n=0;r.length>n;n++)r[n]();for(s in d)d[s].func||t.console.log("GSAP encountered missing dependency: com.greensock."+s)}o=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,r,n=this.vars;for(r in n)i=n[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(n[r]=this._swapSelfInParams(i));l(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)},n=1e-10,s=i._internals,a=r._internals={},o=s.isSelector,l=s.isArray,h=s.lazyTweens,u=s.lazyRender,f=[],p=_gsScope._gsDefine.globals,c=function(t){var e,i={};for(e in t)i[e]=t[e];return i},d=a.pauseCallback=function(t,e,i,r){var s,a=t._timeline,o=a._totalTime,l=t._startTime,h=0>t._rawPrevTime||0===t._rawPrevTime&&a._reversed,u=h?0:n,p=h?n:0;if(e||!this._forcingPlayhead){for(a.pause(l),s=t._prev;s&&s._startTime===l;)s._rawPrevTime=p,s=s._prev;for(s=t._next;s&&s._startTime===l;)s._rawPrevTime=u,s=s._next;e&&e.apply(r||a.vars.callbackScope||a,i||f),(this._forcingPlayhead||!a._paused)&&a.seek(o)}},_=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},m=r.prototype=new e;return r.version="1.17.0",m.constructor=r,m.kill()._gc=m._forcingPlayhead=!1,m.to=function(t,e,r,n){var s=r.repeat&&p.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},m.from=function(t,e,r,n){return this.add((r.repeat&&p.TweenMax||i).from(t,e,r),n)},m.fromTo=function(t,e,r,n,s){var a=n.repeat&&p.TweenMax||i;return e?this.add(a.fromTo(t,e,r,n),s):this.set(t,n,s)},m.staggerTo=function(t,e,n,s,a,l,h,u){var f,p=new r({onComplete:l,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=_(t)),0>(s=s||0)&&((t=_(t)).reverse(),s*=-1),f=0;t.length>f;f++)n.startAt&&(n.startAt=c(n.startAt)),p.to(t[f],e,c(n),f*s);return this.add(p,a)},m.staggerFrom=function(t,e,i,r,n,s,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,r,n,s,a,o)},m.staggerFromTo=function(t,e,i,r,n,s,a,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,r,n,s,a,o,l)},m.call=function(t,e,r,n){return this.add(i.delayedCall(0,t,e,r),n)},m.set=function(t,e,r){return r=this._parseTimeOrLabel(r,0,!0),null==e.immediateRender&&(e.immediateRender=r===this._time&&!this._paused),this.add(new i(t,0,e),r)},r.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var n,s,a=new r(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,n=o._first;n;)s=n._next,e&&n instanceof i&&n.target===n.vars.onComplete||a.add(n,n._startTime-n._delay),n=s;return o.add(a,0),a},m.add=function(n,s,a,o){var h,u,f,p,c,d;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(a=a||"normal",o=o||0,h=s,u=n.length,f=0;u>f;f++)l(p=n[f])&&(p=new r({tweens:p})),this.add(p,h),"string"!=typeof p&&"function"!=typeof p&&("sequence"===a?h=p._startTime+p.totalDuration()/p._timeScale:"start"===a&&(p._startTime-=p.delay())),h+=o;return this._uncache(!0)}if("string"==typeof n)return this.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(this,n,s),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(d=(c=this).rawTime()>n._startTime;c._timeline;)d&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},m.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&l(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},m._remove=function(t,i){e.prototype._remove.call(this,t,i);var r=this._last;return r?this._time>r._startTime+r._totalDuration/r._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},m.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,r,n){var s=i.delayedCall(0,d,["{self}",e,r,n],this);return s.data="isPause",this.add(s,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(e,i,r,n){var s;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(s=n.length;--s>-1;)n[s]instanceof t&&n[s].timeline===this&&this.remove(n[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(s=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,r):this.duration()}return Number(e)+i},m.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)},m.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,a,o,l,f=this._dirty?this.totalDuration():this._totalDuration,p=this._time,c=this._startTime,d=this._timeScale,_=this._paused;if(t>=f)this._totalTime=this._time=f,this._reversed||this._hasPausedChild()||(s=!0,o="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===n)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>n&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:n,t=f+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==p||0===this._duration&&this._rawPrevTime!==n&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(o="onReverseComplete",s=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=s=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:n,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(l=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==p&&this._first||i||l){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&0!==this._time&&(e||this._callback("onStart")),this._time>=p)for(r=this._first;r&&(a=r._next,!this._paused||_);)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=a;else for(r=this._last;r&&(a=r._prev,!this._paused||_);)(r._active||p>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=a;this._onUpdate&&(e||(h.length&&u(),this._callback("onUpdate"))),o&&(this._gc||(c===this._startTime||d!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(s&&(h.length&&u(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o)))}},m._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},m.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)n>a._startTime||(a instanceof i?!1!==e&&(s[o++]=a):(!1!==r&&(s[o++]=a),!1!==t&&(o=(s=s.concat(a.getChildren(!0,e,r))).length))),a=a._next;return s},m.getTweensOf=function(t,e){var r,n,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),n=(r=i.getTweensOf(t)).length;--n>-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(a[o++]=r[n]);return s&&this._enabled(!1,!0),a},m.recent=function(){return this._recent},m._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},m._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},m.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},m.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},m._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},m.totalTime=function(){this._forcingPlayhead=!0;var e=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this._last,s=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>s&&this._sortChildren&&!n._paused?this.add(n,n._startTime-n._delay):s=n._startTime,0>n._startTime&&!n._paused&&(r-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale),this.shiftChildren(-n._startTime,!1,-9999999999),s=0),(i=n._startTime+n._totalDuration/n._timeScale)>r&&(r=i),n=e;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},m.paused=function(e){if(!e)for(var i=this._first,r=this._time;i;)i._startTime===r&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},m.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},m.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},r},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineLite};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,r,n=_gsScope.GreenSockGlobals||_gsScope,s=n.com.greensock,a=2*Math.PI,o=Math.PI/2,l=s._class,h=function(e,i){var r=l("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},u=t.register||function(){},f=function(t,e,i,r){var n=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return u(n,t),n},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},c=function(e,i){var r=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},d=f("Back",c("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),c("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),c("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),_=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),m=_.prototype=new t;return m.constructor=_,m.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},_.ease=new _(.7,.7),m.config=_.config=function(t,e,i){return new _(t,e,i)},(m=(e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0)).prototype=new t).constructor=e,m.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},m.config=e.config=function(t){return new e(t)},i=l("easing.RoughEase",function(e){for(var i,r,n,s,a,o,l=(e=e||{}).taper||"none",h=[],u=0,f=0|(e.points||20),c=f,d=!1!==e.randomize,_=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--c>-1;)i=d?Math.random():1/f*c,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?n=(s=1-i)*s*g:"in"===l?n=i*i*g:.5>i?n=.5*(s=2*i)*s*g:n=.5*(s=2*(1-i))*s*g,d?r+=Math.random()*n-.5*n:c%2?r+=.5*n:r-=.5*n,_&&(r>1?r=1:0>r&&(r=0)),h[u++]={x:i,y:r};for(h.sort(function(t,e){return t.x-e.x}),o=new p(1,1,null),c=f;--c>-1;)a=h[c],o=new p(a.x,a.y,o);this._prev=new p(0,0,0!==o.t?o:o.next)},!0),(m=i.prototype=new t).constructor=i,m.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},m.config=function(t){return new i(t)},i.ease=new i,f("Bounce",h("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),h("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),h("BounceInOut",function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",h("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),h("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),h("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(r=function(e,i,r){var n=l("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),r("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)+1},.45)),f("Expo",h("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),h("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),h("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",h("SineOut",function(t){return Math.sin(t*o)}),h("SineIn",function(t){return 1-Math.cos(t*o)}),h("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),u(n.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(e,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,s,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=_gsScope._gsDefine.globals,l={},h=a.prototype=new t("css");h.constructor=a,a.version="1.17.0",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,h="px",a.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var u,f,p,c,d,_,m=/(?:\d|\-\d|\.\d|\-\.\d)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,v=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,y=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,x=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,T=/opacity:([^;]*)/i,b=/alpha\(opacity *=.+?\)/i,P=/^(rgb|hsl)/,S=/([A-Z])/g,O=/-([a-z])/gi,k=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(t,e){return e.toUpperCase()},A=/(?:Left|Right|Width)/i,R=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,M=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=/,(?=[^\)]*(?:\(|$))/gi,D=Math.PI/180,L=180/Math.PI,I={},N=document,F=function(t){return N.createElementNS?N.createElementNS("http://www.w3.org/1999/xhtml",t):N.createElement(t)},X=F("div"),z=F("img"),Y=a._internals={_specialProps:l},j=navigator.userAgent,B=function(){var t=j.indexOf("Android"),e=F("a");return p=-1!==j.indexOf("Safari")&&-1===j.indexOf("Chrome")&&(-1===t||Number(j.substr(t+8,1))>3),d=p&&6>Number(j.substr(j.indexOf("Version/")+8,1)),c=-1!==j.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(j)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(j))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),V=function(t){return w.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(t){window.console&&console.log(t)},U="",W="",q=function(t,e){var i,r,n=(e=e||X).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(U="-"+(W=3===r?"ms":i[r]).toLowerCase()+"-",W+t):null},H=N.defaultView?N.defaultView.getComputedStyle:function(){},Q=a.getStyle=function(t,e,i,r,n){var s;return B||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||H(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(S,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):V(t)},Z=Y.convertToPixels=function(t,i,r,n,s){if("px"===n||!n)return r;if("auto"===n||!r)return 0;var o,l,h,u=A.test(i),f=t,p=X.style,c=0>r;if(c&&(r=-r),"%"===n&&-1!==i.indexOf("border"))o=r/100*(u?t.clientWidth:t.clientHeight);else{if(p.cssText="border:0 solid red;position:"+Q(t,"position")+";line-height:0;","%"!==n&&f.appendChild)p[u?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(l=(f=t.parentNode||N.body)._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*r/100;p[u?"width":"height"]=r+n}f.appendChild(X),o=parseFloat(X[u?"offsetWidth":"offsetHeight"]),f.removeChild(X),u&&"%"===n&&!1!==a.cacheWidths&&((l=f._gsCache=f._gsCache||{}).time=h,l.width=o/r*100),0!==o||s||(o=Z(t,i,r,n,!0))}return c?-o:o},$=Y.calculateOffset=function(t,e,i){if("absolute"!==Q(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=Q(t,"margin"+r,i);return t["offset"+r]-(Z(t,e,parseFloat(n),n.replace(x,""))||0)},K=function(t,e){var i,r,n,s={};if(e=e||H(t,null))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Pt===n)&&(s[n.replace(O,C)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||bt===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(O,C)]=e[i]);return B||(s.opacity=V(t)),r=Nt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Ot&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},J=function(t,e,i,r,n){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(y,"")?s:0:$(t,a),void 0!==h[a]&&(o=new ct(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},tt={width:["Left","Right"],height:["Top","Bottom"]},et=["marginLeft","marginRight","marginTop","marginBottom"],it=function(t,e,i){var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=tt[e],s=n.length;for(i=i||H(t,null);--s>-1;)r-=parseFloat(Q(t,"padding"+n[s],i,!0))||0,r-=parseFloat(Q(t,"border"+n[s]+"Width",i,!0))||0;return r},rt=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],n=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==n?n="center"===r?"50%":"0":"center"===n&&(n="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),t=r+" "+n+(i.length>2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==n.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===n.charAt(1),e.ox=parseFloat(r.replace(y,"")),e.oy=parseFloat(n.replace(y,"")),e.v=t),e||t},nt=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},st=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)},at=function(t,e,i,r){var n,s,a,o,l;return null==t?o=e:"number"==typeof t?o=t:(n=360,s=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:L)-(l?0:e),s.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&((a%=n)!==a%180&&(a=0>a?a+n:a-n)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*n)%n-(0|a/n)*n:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*n)%n-(0|a/n)*n)),o=e+a),1e-6>o&&o>-1e-6&&(o=0),o},ot={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},lt=function(t,e,i){return 0|255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},ht=a.parseColor=function(t){var e,i,r,n,s,a;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ot[t]?ot[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),r=t.charAt(3),t="#"+e+e+i+i+r+r),[(t=parseInt(t.substr(1),16))>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(m),n=Number(t[0])%360/360,s=Number(t[1])/100,e=2*(a=Number(t[2])/100)-(i=.5>=a?a*(s+1):a+s-a*s),t.length>3&&(t[3]=Number(t[3])),t[0]=lt(n+1/3,e,i),t[1]=lt(n,e,i),t[2]=lt(n-1/3,e,i),t):((t=t.match(m)||ot.transparent)[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):ot.black},ut="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(h in ot)ut+="|"+h+"\\b";ut=RegExp(ut+")","gi");var ft=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(ut)||[""])[0]:"",a=t.split(s).join("").match(v)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=a.length,f=u>0?a[0].replace(m,""):"";return u?n=e?function(t){var e,p,c,d;if("number"==typeof t)t+=f;else if(r&&E.test(t)){for(d=t.replace(E,"|").split("|"),c=0;d.length>c;c++)d[c]=n(d[c]);return d.join(",")}if(e=(t.match(ut)||[s])[0],c=(p=t.split(e).join("").match(v)||[]).length,u>c--)for(;u>++c;)p[c]=i?p[0|(c-1)/2]:a[c];return o+p.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,p;if("number"==typeof t)t+=f;else if(r&&E.test(t)){for(s=t.replace(E,"|").split("|"),p=0;s.length>p;p++)s[p]=n(s[p]);return s.join(",")}if(p=(e=t.match(v)||[]).length,u>p--)for(;u>++p;)e[p]=i?e[0|(p-1)/2]:a[p];return o+e.join(h)+l}:function(t){return t}},pt=function(t){return t=t.split(","),function(e,i,r,n,s,a,o){var l,h=(i+"").split(" ");for(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return n.parse(e,o,s,a)}},ct=(Y._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s=this.data,a=s.proxy,o=s.firstMPT;o;)e=a[o.v],o.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),o.t[o.p]=e,o=o._next;if(s.autoRotate&&(s.autoRotate.rotation=a.rotation),1===t)for(o=s.firstMPT;o;){if((i=o.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;i.l>r;r++)n+=i["xn"+r]+i["xs"+(r+1)];i.e=n}}else i.e=i.s+i.xs0;o=o._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),dt=(Y._parseToProxy=function(t,e,i,r,n,s){var a,o,l,h,u,f=r,p={},c={},d=i._transform,_=I;for(i._transform=null,I=e,r=u=i.parse(t,e,r,n),I=_,s&&(i._transform=d,f&&(f._prev=null,f._prev&&(f._prev._next=null)));r&&r!==f;){if(1>=r.type&&(c[o=r.p]=r.s+r.c,p[o]=r.s,s||(h=new ct(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;--a>0;)l="xn"+a,c[o=r.p+"_"+l]=r.data[l],p[o]=r[l],s||(h=new ct(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:p,end:c,firstMPT:h,pt:u}},Y.CSSPropTween=function(t,e,r,n,a,o,l,h,u,f,p){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof dt||s.push(this.n),this.r=h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===f?r:f,this.e=void 0===p?r+n:p,a&&(this._next=a,a._prev=this)}),_t=function(t,e,i,r,n,s){var a=new dt(t,e,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a},mt=a.parseComplex=function(t,e,i,r,n,s,a,o,l,h){a=new dt(t,e,0,0,a,h?2:1,null,!1,o,i=i||s||"",r),r+="";var f,p,c,d,_,v,y,x,w,T,b,S,O=i.split(", ").join(",").split(" "),k=r.split(", ").join(",").split(" "),C=O.length,A=!1!==u;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(O=O.join(" ").replace(E,", ").split(" "),k=k.join(" ").replace(E,", ").split(" "),C=O.length),C!==k.length&&(C=(O=(s||"").split(" ")).length),a.plugin=l,a.setRatio=h,f=0;C>f;f++)if(d=O[f],_=k[f],(x=parseFloat(d))||0===x)a.appendXtra("",x,nt(_,x),_.replace(g,""),A&&-1!==_.indexOf("px"),!0);else if(n&&("#"===d.charAt(0)||ot[d]||P.test(d)))S=","===_.charAt(_.length-1)?"),":")",d=ht(d),_=ht(_),(w=d.length+_.length>6)&&!B&&0===_[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(k[f]).join("transparent")):(B||(w=!1),a.appendXtra(w?"rgba(":"rgb(",d[0],_[0]-d[0],",",!0,!0).appendXtra("",d[1],_[1]-d[1],",",!0).appendXtra("",d[2],_[2]-d[2],w?",":S,!0),w&&(d=4>d.length?1:d[3],a.appendXtra("",d,(4>_.length?1:_[3])-d,S,!1)));else if(v=d.match(m)){if(!(y=_.match(g))||y.length!==v.length)return a;for(c=0,p=0;v.length>p;p++)b=v[p],T=d.indexOf(b,c),a.appendXtra(d.substr(c,T-c),Number(b),nt(y[p],b),"",A&&"px"===d.substr(T+b.length,2),0===p),c=T+b.length;a["xs"+a.l]+=d.substr(c)}else a["xs"+a.l]+=a.l?" "+d:d;if(-1!==r.indexOf("=")&&a.data){for(S=a.xs0+a.data.s,f=1;a.l>f;f++)S+=a["xs"+f]+a.data["xn"+f];a.e=S+a["xs"+f]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},gt=9;for((h=dt.prototype).l=h.pr=0;--gt>0;)h["xn"+gt]=0,h["xs"+gt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,r,n,s){var a=this,o=a.l;return a["xs"+o]+=s&&o?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new dt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n,a)):(a["xs"+o]+=e+(r||""),a)};var vt=function(t,e){e=e||{},this.p=e.prefix&&q(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||ft(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},yt=Y._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;n.length>r;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new vt(n[r],e)},xt=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";yt(t,{parser:function(t,i,r,n,s,a,h){var u=o.com.greensock.plugins[e];return u?(u._cssRegister(),l[r].parse(t,i,r,n,s,a,h)):(G("Error: "+e+" js file not loaded."),s)}})}};(h=vt.prototype).parseComplex=function(t,e,i,r,n,s){var a,o,l,h,u,f,p=this.keyword;if(this.multi&&(E.test(i)||E.test(e)?(o=e.replace(E,"|").split("|"),l=i.replace(E,"|").split("|")):p&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,p&&((u=e.indexOf(p))!==(f=i.indexOf(p))&&(-1===f?o[a]=o[a].split(p).join(""):-1===u&&(o[a]+=" "+p)));e=o.join(", "),i=l.join(", ")}return mt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},h.parse=function(t,e,i,r,s,a){return this.parseComplex(t.style,this.format(Q(t,this.p,n,!1,this.dflt)),this.format(e),s,a)},a.registerSpecialProp=function(t,e,i){yt(t,{parser:function(t,r,n,s,a,o){var l=new dt(t,n,0,0,a,2,n,!1,i);return l.plugin=o,l.setRatio=e(t,r,s._tween,n),l},priority:i})},a.useSVGTransformAttr=p||c;var wt,Tt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),bt=q("transform"),Pt=U+"transform",St=q("transformOrigin"),Ot=null!==q("perspective"),kt=Y.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Ot)&&(a.defaultForce3D||"auto")},Ct=window.SVGElement,At=function(t,e,i){var r,n=N.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Rt=N.documentElement,Mt=function(){var t,e,i,r=_||/Android/i.test(j)&&!window.chrome;return N.createElementNS&&!r&&(t=At("svg",Rt),i=(e=At("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[St]="50% 50%",e.style[bt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(c&&Ot),Rt.removeChild(t)),r}(),Et=function(t,e,i,r,n){var s,o,l,h,u,f,p,c,d,_,m,g,v,y,x=t._gsTransform,w=It(t,!0);x&&(v=x.xOrigin,y=x.yOrigin),(!r||2>(s=r.split(" ")).length)&&(p=t.getBBox(),s=[(-1!==(e=rt(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=h=parseFloat(s[0]),i.yOrigin=u=parseFloat(s[1]),r&&w!==Lt&&(f=w[0],p=w[1],c=w[2],d=w[3],_=w[4],o=h*(d/(g=f*d-p*c))+u*(-c/g)+(c*(m=w[5])-d*_)/g,l=h*(-p/g)+u*(f/g)-(f*m-p*_)/g,h=i.xOrigin=s[0]=o,u=i.yOrigin=s[1]=l),x&&(n||!1!==n&&!1!==a.defaultSmoothOrigin?(o=h-v,l=u-y,x.xOffset+=o*w[0]+l*w[2]-o,x.yOffset+=o*w[1]+l*w[3]-l):x.xOffset=x.yOffset=0),t.setAttribute("data-svg-origin",s.join(" "))},Dt=function(t){return!!(Ct&&"function"==typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},Lt=[1,0,0,1,0,0],It=function(t,e){var i,r,n,s,a,o=t._gsTransform||new kt;if(bt?r=Q(t,Pt,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(R))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),o.x||0,o.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,(o.svg||t.getBBox&&Dt(t))&&(i&&-1!==(t.style[bt]+"").indexOf("matrix")&&(r=t.style[bt],i=0),n=t.getAttribute("transform"),i&&n&&(-1!==n.indexOf("matrix")?(r=n,i=0):-1!==n.indexOf("translate")&&(r="matrix(1,0,0,1,"+n.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return Lt;for(n=(r||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],gt=n.length;--gt>-1;)s=Number(n[gt]),n[gt]=(a=s-(s|=0))?(0|1e5*a+(0>a?-.5:.5))/1e5+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Nt=Y.getTransform=function(t,i,r,s){if(t._gsTransform&&r&&!s)return t._gsTransform;var o,l,h,u,f,p,c=r&&t._gsTransform||new kt,d=0>c.scaleX,_=1e5,m=Ot&&(parseFloat(Q(t,St,i,!1,"0 0 0").split(" ")[2])||c.zOrigin)||0,g=parseFloat(a.defaultTransformPerspective)||0;if(c.svg=!(!t.getBBox||!Dt(t)),c.svg&&(Et(t,Q(t,St,n,!1,"50% 50%")+"",c,t.getAttribute("data-svg-origin")),wt=a.useSVGTransformAttr||Mt),(o=It(t))!==Lt){if(16===o.length){var v,y,x,w,T,b=o[0],P=o[1],S=o[2],O=o[3],k=o[4],C=o[5],A=o[6],R=o[7],M=o[8],E=o[9],D=o[10],I=o[12],N=o[13],F=o[14],X=o[11],z=Math.atan2(A,D);c.zOrigin&&(I=M*(F=-c.zOrigin)-o[12],N=E*F-o[13],F=D*F+c.zOrigin-o[14]),c.rotationX=z*L,z&&(v=k*(w=Math.cos(-z))+M*(T=Math.sin(-z)),y=C*w+E*T,x=A*w+D*T,M=k*-T+M*w,E=C*-T+E*w,D=A*-T+D*w,X=R*-T+X*w,k=v,C=y,A=x),z=Math.atan2(M,D),c.rotationY=z*L,z&&(y=P*(w=Math.cos(-z))-E*(T=Math.sin(-z)),x=S*w-D*T,E=P*T+E*w,D=S*T+D*w,X=O*T+X*w,b=v=b*w-M*T,P=y,S=x),z=Math.atan2(P,b),c.rotation=z*L,z&&(b=b*(w=Math.cos(-z))+k*(T=Math.sin(-z)),y=P*w+C*T,C=P*-T+C*w,A=S*-T+A*w,P=y),c.rotationX&&Math.abs(c.rotationX)+Math.abs(c.rotation)>359.9&&(c.rotationX=c.rotation=0,c.rotationY+=180),c.scaleX=(0|Math.sqrt(b*b+P*P)*_+.5)/_,c.scaleY=(0|Math.sqrt(C*C+E*E)*_+.5)/_,c.scaleZ=(0|Math.sqrt(A*A+D*D)*_+.5)/_,c.skewX=0,c.perspective=X?1/(0>X?-X:X):0,c.x=I,c.y=N,c.z=F,c.svg&&(c.x-=c.xOrigin-(c.xOrigin*b-c.yOrigin*k),c.y-=c.yOrigin-(c.yOrigin*P-c.xOrigin*C))}else if(!(Ot&&!s&&o.length&&c.x===o[4]&&c.y===o[5]&&(c.rotationX||c.rotationY)||void 0!==c.x&&"none"===Q(t,"display",i))){var Y=o.length>=6,j=Y?o[0]:1,B=o[1]||0,V=o[2]||0,G=Y?o[3]:1;c.x=o[4]||0,c.y=o[5]||0,h=Math.sqrt(j*j+B*B),u=Math.sqrt(G*G+V*V),f=j||B?Math.atan2(B,j)*L:c.rotation||0,p=V||G?Math.atan2(V,G)*L+f:c.skewX||0,Math.abs(p)>90&&270>Math.abs(p)&&(d?(h*=-1,p+=0>=f?180:-180,f+=0>=f?180:-180):(u*=-1,p+=0>=p?180:-180)),c.scaleX=h,c.scaleY=u,c.rotation=f,c.skewX=p,Ot&&(c.rotationX=c.rotationY=c.z=0,c.perspective=g,c.scaleZ=1),c.svg&&(c.x-=c.xOrigin-(c.xOrigin*j+c.yOrigin*V),c.y-=c.yOrigin-(c.xOrigin*B+c.yOrigin*G))}for(l in c.zOrigin=m,c)2e-5>c[l]&&c[l]>-2e-5&&(c[l]=0)}return r&&(t._gsTransform=c,c.svg&&(wt&&t.style[bt]?e.delayedCall(.001,function(){Yt(t.style,bt)}):!wt&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),c},Ft=function(t){var e,i,r=this.data,n=-r.rotation*D,s=n+r.skewX*D,a=1e5,o=(0|Math.cos(n)*r.scaleX*a)/a,l=(0|Math.sin(n)*r.scaleX*a)/a,h=(0|Math.sin(s)*-r.scaleY*a)/a,u=(0|Math.cos(s)*r.scaleY*a)/a,f=this.t.style,p=this.t.currentStyle;if(p){i=l,l=-h,h=-i,e=p.filter,f.filter="";var c,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==p.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,T=r.x+m*r.xPercent/100,b=r.y+g*r.yPercent/100;if(null!=r.ox&&(T+=(c=(r.oxp?.01*m*r.ox:r.ox)-m/2)-(c*o+(d=(r.oyp?.01*g*r.oy:r.oy)-g/2)*l),b+=d-(c*h+d*u)),v?y+=", Dx="+((c=m/2)-(c*o+(d=g/2)*l)+T)+", Dy="+(d-(c*h+d*u)+b)+")":y+=", sizingMethod='auto expand')",f.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(M,y):y+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(v&&-1===y.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&f.removeAttribute("filter")),!v){var P,S,O,k=8>_?1:-1;for(c=r.ieOffsetX||0,d=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+T),r.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+b),gt=0;4>gt;gt++)O=(i=-1!==(P=p[S=et[gt]]).indexOf("px")?parseFloat(P):Z(this.t,S,parseFloat(P),P.replace(x,""))||0)!==r[S]?2>gt?-r.ieOffsetX:-r.ieOffsetY:2>gt?c-r.ieOffsetX:d-r.ieOffsetY,f[S]=(r[S]=Math.round(i-O*(0===gt||2===gt?1:k)))+"px"}}},Xt=Y.set3DTransformRatio=Y.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,u,f,p,d,_,m,g,v,y,x,w,T,b,P,S=this.data,O=this.t.style,k=S.rotation,C=S.rotationX,A=S.rotationY,R=S.scaleX,M=S.scaleY,E=S.scaleZ,L=S.x,I=S.y,N=S.z,F=S.svg,X=S.perspective,z=S.force3D;if(!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||N||X||A||C)||wt&&F||!Ot)k||S.skewX||F?(k*=D,b=S.skewX*D,P=1e5,e=Math.cos(k)*R,n=Math.sin(k)*R,i=Math.sin(k-b)*-M,s=Math.cos(k-b)*M,b&&"simple"===S.skewType&&(v=Math.tan(b),i*=v=Math.sqrt(1+v*v),s*=v,S.skewY&&(e*=v,n*=v)),F&&(L+=S.xOrigin-(S.xOrigin*e+S.yOrigin*i)+S.xOffset,I+=S.yOrigin-(S.xOrigin*n+S.yOrigin*s)+S.yOffset,wt&&(S.xPercent||S.yPercent)&&(_=this.t.getBBox(),L+=.01*S.xPercent*_.width,I+=.01*S.yPercent*_.height),(_=1e-6)>L&&L>-_&&(L=0),_>I&&I>-_&&(I=0)),x=(0|e*P)/P+","+(0|n*P)/P+","+(0|i*P)/P+","+(0|s*P)/P+","+L+","+I+")",F&&wt?this.t.setAttribute("transform","matrix("+x):O[bt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+x):O[bt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+M+","+L+","+I+")";else{if(c&&((_=1e-4)>R&&R>-_&&(R=E=2e-5),_>M&&M>-_&&(M=E=2e-5),!X||S.z||S.rotationX||S.rotationY||(X=0)),k||S.skewX)k*=D,m=e=Math.cos(k),g=n=Math.sin(k),S.skewX&&(k-=S.skewX*D,m=Math.cos(k),g=Math.sin(k),"simple"===S.skewType&&(v=Math.tan(S.skewX*D),m*=v=Math.sqrt(1+v*v),g*=v,S.skewY&&(e*=v,n*=v))),i=-g,s=m;else{if(!(A||C||1!==E||X||F))return void(O[bt]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+L+"px,"+I+"px,"+N+"px)"+(1!==R||1!==M?" scale("+R+","+M+")":""));e=s=1,i=n=0}h=1,r=a=o=l=u=f=0,p=X?-1/X:0,d=S.zOrigin,_=1e-6,w=",",T="0",(k=A*D)&&(m=Math.cos(k),o=-(g=Math.sin(k)),u=p*-g,r=e*g,a=n*g,h=m,p*=m,e*=m,n*=m),(k=C*D)&&(v=i*(m=Math.cos(k))+r*(g=Math.sin(k)),y=s*m+a*g,l=h*g,f=p*g,r=i*-g+r*m,a=s*-g+a*m,h*=m,p*=m,i=v,s=y),1!==E&&(r*=E,a*=E,h*=E,p*=E),1!==M&&(i*=M,s*=M,l*=M,f*=M),1!==R&&(e*=R,n*=R,o*=R,u*=R),(d||F)&&(d&&(L+=r*-d,I+=a*-d,N+=h*-d+d),F&&(L+=S.xOrigin-(S.xOrigin*e+S.yOrigin*i)+S.xOffset,I+=S.yOrigin-(S.xOrigin*n+S.yOrigin*s)+S.yOffset),_>L&&L>-_&&(L=T),_>I&&I>-_&&(I=T),_>N&&N>-_&&(N=0)),x=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",x+=(_>e&&e>-_?T:e)+w+(_>n&&n>-_?T:n)+w+(_>o&&o>-_?T:o),x+=w+(_>u&&u>-_?T:u)+w+(_>i&&i>-_?T:i)+w+(_>s&&s>-_?T:s),C||A?(x+=w+(_>l&&l>-_?T:l)+w+(_>f&&f>-_?T:f)+w+(_>r&&r>-_?T:r),x+=w+(_>a&&a>-_?T:a)+w+(_>h&&h>-_?T:h)+w+(_>p&&p>-_?T:p)+w):x+=",0,0,0,0,1,0,",x+=L+w+I+w+N+w+(X?1+-N/X:1)+")",O[bt]=x}};(h=kt.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,yt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,o,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var h,u,f,p,c,d,_,m,g,v=t._gsTransform,y=r._transform=Nt(t,n,!0,l.parseTransform),x=t.style,w=Tt.length,T=l,b={},P="transformOrigin";if("string"==typeof T.transform&&bt)(f=X.style)[bt]=T.transform,f.display="block",f.position="absolute",N.body.appendChild(X),h=Nt(X,null,!1),N.body.removeChild(X),null!=T.xPercent&&(h.xPercent=st(T.xPercent,y.xPercent)),null!=T.yPercent&&(h.yPercent=st(T.yPercent,y.yPercent));else if("object"==typeof T){if(h={scaleX:st(null!=T.scaleX?T.scaleX:T.scale,y.scaleX),scaleY:st(null!=T.scaleY?T.scaleY:T.scale,y.scaleY),scaleZ:st(T.scaleZ,y.scaleZ),x:st(T.x,y.x),y:st(T.y,y.y),z:st(T.z,y.z),xPercent:st(T.xPercent,y.xPercent),yPercent:st(T.yPercent,y.yPercent),perspective:st(T.transformPerspective,y.perspective)},null!=(_=T.directionalRotation))if("object"==typeof _)for(f in _)T[f]=_[f];else T.rotation=_;"string"==typeof T.x&&-1!==T.x.indexOf("%")&&(h.x=0,h.xPercent=st(T.x,y.xPercent)),"string"==typeof T.y&&-1!==T.y.indexOf("%")&&(h.y=0,h.yPercent=st(T.y,y.yPercent)),h.rotation=at("rotation"in T?T.rotation:"shortRotation"in T?T.shortRotation+"_short":"rotationZ"in T?T.rotationZ:y.rotation,y.rotation,"rotation",b),Ot&&(h.rotationX=at("rotationX"in T?T.rotationX:"shortRotationX"in T?T.shortRotationX+"_short":y.rotationX||0,y.rotationX,"rotationX",b),h.rotationY=at("rotationY"in T?T.rotationY:"shortRotationY"in T?T.shortRotationY+"_short":y.rotationY||0,y.rotationY,"rotationY",b)),h.skewX=null==T.skewX?y.skewX:at(T.skewX,y.skewX),h.skewY=null==T.skewY?y.skewY:at(T.skewY,y.skewY),(u=h.skewY-y.skewY)&&(h.skewX+=u,h.rotation+=u)}for(Ot&&null!=T.force3D&&(y.force3D=T.force3D,d=!0),y.skewType=T.skewType||y.skewType||a.defaultSkewType,(c=y.force3D||y.z||y.rotationX||y.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==T.scale||(h.scaleZ=1);--w>-1;)((p=h[i=Tt[w]]-y[i])>1e-6||-1e-6>p||null!=T[i]||null!=I[i])&&(d=!0,s=new dt(y,i,y[i],p,s),i in b&&(s.e=b[i]),s.xs0=0,s.plugin=o,r._overwriteProps.push(s.n));return p=T.transformOrigin,y.svg&&(p||T.svgOrigin)&&(m=y.xOffset,g=y.yOffset,Et(t,rt(p),h,T.svgOrigin,T.smoothOrigin),s=_t(y,"xOrigin",(v?y:h).xOrigin,h.xOrigin,s,P),s=_t(y,"yOrigin",(v?y:h).yOrigin,h.yOrigin,s,P),(m!==y.xOffset||g!==y.yOffset)&&(s=_t(y,"xOffset",v?m:y.xOffset,y.xOffset,s,P),s=_t(y,"yOffset",v?g:y.yOffset,y.yOffset,s,P)),p=wt?null:"0px 0px"),(p||Ot&&c&&y.zOrigin)&&(bt?(d=!0,i=St,p=(p||Q(t,i,n,!1,"50% 50%"))+"",(s=new dt(x,i,0,0,s,-1,P)).b=x[i],s.plugin=o,Ot?(f=y.zOrigin,p=p.split(" "),y.zOrigin=(p.length>2&&(0===f||"0px"!==p[2])?parseFloat(p[2]):f)||0,s.xs0=s.e=p[0]+" "+(p[1]||"50%")+" 0px",(s=new dt(y,"zOrigin",0,0,s,-1,s.n)).b=f,s.xs0=s.e=y.zOrigin):s.xs0=s.e=p):rt(p+"",y)),d&&(r._transformType=y.svg&&wt||!c&&3!==this._transformType?2:3),s},prefix:!0}),yt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),yt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a){e=this.format(e);var o,l,h,u,f,p,c,d,_,m,g,v,y,x,w,T,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],P=t.style;for(_=parseFloat(t.offsetWidth),m=parseFloat(t.offsetHeight),o=e.split(" "),l=0;b.length>l;l++)this.p.indexOf("border")&&(b[l]=q(b[l])),-1!==(f=u=Q(t,b[l],n,!1,"0px")).indexOf(" ")&&(u=f.split(" "),f=u[0],u=u[1]),p=h=o[l],c=parseFloat(f),v=f.substr((c+"").length),(y="="===p.charAt(1))?(d=parseInt(p.charAt(0)+"1",10),p=p.substr(2),d*=parseFloat(p),g=p.substr((d+"").length-(0>d?1:0))||""):(d=parseFloat(p),g=p.substr((d+"").length)),""===g&&(g=r[i]||v),g!==v&&(x=Z(t,"borderLeft",c,v),w=Z(t,"borderTop",c,v),"%"===g?(f=x/_*100+"%",u=w/m*100+"%"):"em"===g?(f=x/(T=Z(t,"borderLeft",1,"em"))+"em",u=w/T+"em"):(f=x+"px",u=w+"px"),y&&(p=parseFloat(f)+d+g,h=parseFloat(u)+d+g)),a=mt(P,b[l],f+" "+u,p+" "+h,!1,"0px",a);return a},prefix:!0,formatter:ft("0px 0px 0px 0px",!1,!0)}),yt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,a){var o,l,h,u,f,p,c="background-position",d=n||H(t,null),m=this.format((d?_?d.getPropertyValue(c+"-x")+" "+d.getPropertyValue(c+"-y"):d.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&((p=Q(t,"backgroundImage").replace(k,""))&&"none"!==p)){for(o=m.split(" "),l=g.split(" "),z.setAttribute("src",p),h=2;--h>-1;)(u=-1!==(m=o[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(f=0===h?t.offsetWidth-z.width:t.offsetHeight-z.height,o[h]=u?parseFloat(m)/100*f+"px":parseFloat(m)/f*100+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,s,a)},formatter:rt}),yt("backgroundSize",{defaultValue:"0 0",formatter:rt}),yt("perspective",{defaultValue:"0px",prefix:!0}),yt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),yt("transformStyle",{prefix:!0}),yt("backfaceVisibility",{prefix:!0}),yt("userSelect",{prefix:!0}),yt("margin",{parser:pt("marginTop,marginRight,marginBottom,marginLeft")}),yt("padding",{parser:pt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),yt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,a){var o,l,h;return 9>_?(l=t.currentStyle,h=8>_?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(Q(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),yt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),yt("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),yt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,a){return this.parseComplex(t.style,this.format(Q(t,"borderTopWidth",n,!1,"0px")+" "+Q(t,"borderTopStyle",n,!1,"solid")+" "+Q(t,"borderTopColor",n,!1,"#000")),this.format(e),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(ut)||["#000"])[0]}}),yt("borderWidth",{parser:pt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),yt("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new dt(s,a,0,0,n,-1,i,!1,0,s[a],e)}});var zt=function(t){var e,i=this.t,r=i.filter||Q(this.data,"filter")||"",n=0|this.s+this.c*t;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!Q(this.data,"filter")):(i.filter=r.replace(b,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(w,"opacity="+n))};yt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,a){var o=parseFloat(Q(t,"opacity",n,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===Q(t,"visibility",n)&&0!==e&&(o=0),B?s=new dt(l,"opacity",o,e-o,s):((s=new dt(l,"opacity",100*o,100*(e-o),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=zt),h&&((s=new dt(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Yt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(S,"-$1").toLowerCase())):t.removeAttribute(e))},jt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Yt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};yt("className",{parser:function(t,e,r,s,a,o,l){var h,u,f,p,c,d=t.getAttribute("class")||"",_=t.style.cssText;if((a=s._classNamePT=new dt(t,r,0,0,a,2)).setRatio=jt,a.pr=-11,i=!0,a.b=d,u=K(t,n),f=t._gsClassPT){for(p={},c=f.data;c;)p[c.p]=1,c=c._next;f.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:d.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=J(t,u,K(t),l,p),t.setAttribute("class",d),a.data=h.firstMPT,t.style.cssText=_,a.xfirst=s.parse(t,h.difs,a,o)}});var Bt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],l[i]&&(l[i].parse===o?n=!0:i="transformOrigin"===i?St:l[i].p),Yt(a,i);n&&(Yt(a,bt),(s=this.t._gsTransform)&&(s.svg&&this.t.removeAttribute("data-svg-origin"),delete this.t._gsTransform))}};for(yt("clearProps",{parser:function(t,e,r,n,s){return(s=new dt(t,r,0,0,s,2)).setRatio=Bt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),h="bezier,throwProps,physicsProps,physics2D".split(","),gt=h.length;gt--;)xt(h[gt]);(h=a.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,o){if(!t.nodeType)return!1;this._target=t,this._tween=o,this._vars=e,u=e.autoRound,i=!1,r=e.suffixMap||a.suffixMap,n=H(t,""),s=this._overwriteProps;var h,c,_,m,g,v,y,x,w,b=t.style;if(f&&""===b.zIndex&&(("auto"===(h=Q(t,"zIndex",n))||""===h)&&this._addLazySet(b,"zIndex",0)),"string"==typeof e&&(m=b.cssText,h=K(t,n),b.cssText=m+";"+e,h=J(t,h,K(t)).difs,!B&&T.test(e)&&(h.opacity=parseFloat(RegExp.$1)),e=h,b.cssText=m),this._firstPT=c=e.className?l.className.parse(t,e.className,"className",this,null,null,e):this.parse(t,e,null),this._transformType){for(w=3===this._transformType,bt?p&&(f=!0,""===b.zIndex&&(("auto"===(y=Q(t,"zIndex",n))||""===y)&&this._addLazySet(b,"zIndex",0)),d&&this._addLazySet(b,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(w?"visible":"hidden"))):b.zoom=1,_=c;_&&_._next;)_=_._next;x=new dt(t,"transform",0,0,null,2),this._linkCSSP(x,null,_),x.setRatio=bt?Xt:Ft,x.data=this._transform||Nt(t,n,!0),x.tween=o,x.pr=-1,s.pop()}if(i){for(;c;){for(v=c._next,_=m;_&&_.pr>c.pr;)_=_._next;(c._prev=_?_._prev:g)?c._prev._next=c:m=c,(c._next=_)?_._prev=c:g=c,c=v}this._firstPT=m}return!0},h.parse=function(t,e,i,s){var a,o,h,f,p,c,d,_,m,g,v=t.style;for(a in e)c=e[a],(o=l[a])?i=o.parse(t,c,a,this,i,s,e):(p=Q(t,a,n)+"",m="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||m&&P.test(c)?(m||(c=((c=ht(c)).length>3?"rgba(":"rgb(")+c.join(",")+")"),i=mt(v,a,p,c,!0,"transparent",i,0,s)):!m||-1===c.indexOf(" ")&&-1===c.indexOf(",")?(d=(h=parseFloat(p))||0===h?p.substr((h+"").length):"",(""===p||"auto"===p)&&("width"===a||"height"===a?(h=it(t,a,n),d="px"):"left"===a||"top"===a?(h=$(t,a,n),d="px"):(h="opacity"!==a?0:1,d="")),(g=m&&"="===c.charAt(1))?(f=parseInt(c.charAt(0)+"1",10),c=c.substr(2),f*=parseFloat(c),_=c.replace(x,"")):(f=parseFloat(c),_=m?c.replace(x,""):""),""===_&&(_=a in r?r[a]:d),c=f||0===f?(g?f+h:f)+_:e[a],d!==_&&""!==_&&(f||0===f)&&h&&(h=Z(t,a,h,d),"%"===_?(h/=Z(t,a,100,"%")/100,!0!==e.strictUnits&&(p=h+"%")):"em"===_?h/=Z(t,a,1,"em"):"px"!==_&&(f=Z(t,a,f,_),_="px"),g&&(f||0===f)&&(c=f+h+_)),g&&(f+=h),!h&&0!==h||!f&&0!==f?void 0!==v[a]&&(c||"NaN"!=c+""&&null!=c)?(i=new dt(v,a,f||h||0,0,i,-1,a,!1,0,p,c)).xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:p:G("invalid "+a+" tween value: "+e[a]):(i=new dt(v,a,h,f-h,i,0,a,!1!==u&&("px"===_||"zIndex"===a),0,p,c)).xs0=_):i=mt(v,a,p,c,!0,null,i,0,s)),s&&i&&!i.plugin&&(i.plugin=s);return i},h.setRatio=function(t){var e,i,r,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;n.l>r;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=Math.round(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;n.l>r;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},h._enableTransforms=function(t){this._transform=this._transform||Nt(this._target,n,!0),this._transformType=this._transform.svg&&wt||!t&&3!==this._transformType?2:3};var Vt=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,i){var r=this._firstPT=new dt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=Vt,r.data=this},h._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},h._kill=function(e){var i,r,n,s=e;if(e.autoAlpha||e.alpha){for(r in s={},e)s[r]=e[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}return e.className&&(i=this._classNamePT)&&((n=i.xfirst)&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),t.prototype._kill.call(this,s)};var Gt=function(t,e,i){var r,n,s,a;if(t.slice)for(n=t.length;--n>-1;)Gt(t[n],e,i);else for(n=(r=t.childNodes).length;--n>-1;)a=(s=r[n]).type,s.style&&(e.push(K(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||Gt(s,e,i)};return a.cascadeTo=function(t,i,r){var n,s,a,o,l=e.to(t,i,r),h=[l],u=[],f=[],p=[],c=e._internals.reservedProps;for(t=l._targets||l.target,Gt(t,u,p),l.render(i,!0,!0),Gt(t,f),l.render(0,!0,!0),l._enabled(!0),n=p.length;--n>-1;)if((s=J(p[n],u[n],f[n])).firstMPT){for(a in s=s.difs,r)c[a]&&(s[a]=r[a]);for(a in o={},s)o[a]=u[n][a];h.push(e.fromTo(p[n],i,o,s))}return h},t.activate([a]),a},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).CSSPlugin};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=e())}(),function(t){"use strict";var e=t.GreenSockGlobals||t,i=function(t){var i,r=t.split("."),n=e;for(i=0;r.length>i;i++)n[r[i]]=n=n[r[i]]||{};return n}("com.greensock.utils"),r=function(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=r(t)}else if(3===e||4===e)return t.nodeValue;return i},n=document,s=n.defaultView?n.defaultView.getComputedStyle:function(){},a=/([A-Z])/g,o=function(t,e,i,r){var n;return(i=i||s(t,null))?n=(t=i.getPropertyValue(e.replace(a,"-$1").toLowerCase()))||i.length?t:i[e]:t.currentStyle&&(n=(i=t.currentStyle)[e]),r?n:parseInt(n,10)||0},l=function(t){return!!(t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},h=")eefec303079ad17405c",u=/(?:<br>|<br\/>|<br \/>)/gi,f="<div style='position:relative;display:inline-block;"+(n.all&&!n.addEventListener?"*display:inline;*zoom:1;'":"'"),p=function(t){var e=-1!==(t=t||"").indexOf("++"),i=1;return e&&(t=t.split("++").join("")),function(){return f+(t?" class='"+t+(e?i++:"")+"'>":">")}},c=i.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=c.selector(t)),!t)throw"cannot split a null element.";this.elements=l(t)?function(t){var e,i,r,n=[],s=t.length;for(e=0;s>e;e++)if(i=t[e],l(i))for(r=i.length,r=0;i.length>r;r++)n.push(i[r]);else n.push(i);return n}(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},d=function(t,e,i){var r=t.nodeType;if(1===r||9===r||11===r)for(t=t.firstChild;t;t=t.nextSibling)d(t,e,i);else(3===r||4===r)&&(t.nodeValue=t.nodeValue.split(e).join(i))},_=function(t,e){for(var i=e.length;--i>-1;)t.push(e[i])},m=function(t,e,i,a,l){u.test(t.innerHTML)&&(t.innerHTML=t.innerHTML.replace(u,h));var f,c,m,g,v,y,x,w,T,b,P,S,O,k,C=r(t),A=e.type||e.split||"chars,words,lines",R=-1!==A.indexOf("lines")?[]:null,M=-1!==A.indexOf("words"),E=-1!==A.indexOf("chars"),D="absolute"===e.position||!0===e.absolute,L=D?"&#173; ":" ",I=-999,N=s(t),F=o(t,"paddingLeft",N),X=o(t,"borderBottomWidth",N)+o(t,"borderTopWidth",N),z=o(t,"borderLeftWidth",N)+o(t,"borderRightWidth",N),Y=o(t,"paddingTop",N)+o(t,"paddingBottom",N),j=o(t,"paddingLeft",N)+o(t,"paddingRight",N),B=o(t,"textAlign",N,!0),V=t.clientHeight,G=t.clientWidth,U="</div>",W=p(e.wordsClass),q=p(e.charsClass),H=-1!==(e.linesClass||"").indexOf("++"),Q=e.linesClass,Z=-1!==C.indexOf("<"),$=!0,K=[],J=[],tt=[];for(H&&(Q=Q.split("++").join("")),Z&&(C=C.split("<").join("{{LT}}")),f=C.length,g=W(),v=0;f>v;v++)if(")"===(x=C.charAt(v))&&C.substr(v,20)===h)g+=($?U:"")+"<BR/>",$=!1,v!==f-20&&C.substr(v+20,20)!==h&&(g+=" "+W(),$=!0),v+=19;else if(" "===x&&" "!==C.charAt(v-1)&&v!==f-1&&C.substr(v-20,20)!==h){for(g+=$?U:"",$=!1;" "===C.charAt(v+1);)g+=L,v++;(")"!==C.charAt(v+1)||C.substr(v+1,20)!==h)&&(g+=L+W(),$=!0)}else g+=E&&" "!==x?q()+x+"</div>":x;for(t.innerHTML=g+($?U:""),Z&&d(t,"{{LT}}","<"),f=(y=t.getElementsByTagName("*")).length,w=[],v=0;f>v;v++)w[v]=y[v];if(R||D)for(v=0;f>v;v++)((m=(T=w[v]).parentNode===t)||D||E&&!M)&&(b=T.offsetTop,R&&m&&b!==I&&"BR"!==T.nodeName&&(c=[],R.push(c),I=b),D&&(T._x=T.offsetLeft,T._y=b,T._w=T.offsetWidth,T._h=T.offsetHeight),R&&(M!==m&&E||(c.push(T),T._x-=F),m&&v&&(w[v-1]._wordEnd=!0),"BR"===T.nodeName&&T.nextSibling&&"BR"===T.nextSibling.nodeName&&R.push([])));for(v=0;f>v;v++)m=(T=w[v]).parentNode===t,"BR"!==T.nodeName?(D&&(S=T.style,M||m||(T._x+=T.parentNode._x,T._y+=T.parentNode._y),S.left=T._x+"px",S.top=T._y+"px",S.position="absolute",S.display="block",S.width=T._w+1+"px",S.height=T._h+"px"),M?m&&""!==T.innerHTML?J.push(T):E&&K.push(T):m?(t.removeChild(T),w.splice(v--,1),f--):!m&&E&&(b=!R&&!D&&T.nextSibling,t.appendChild(T),b||t.appendChild(n.createTextNode(" ")),K.push(T))):R||D?(t.removeChild(T),w.splice(v--,1),f--):M||t.appendChild(T);if(R){for(D&&(P=n.createElement("div"),t.appendChild(P),O=P.offsetWidth+"px",b=P.offsetParent===t?0:t.offsetLeft,t.removeChild(P)),S=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(k=!D||!M&&!E,v=0;R.length>v;v++){for(c=R[v],(P=n.createElement("div")).style.cssText="display:block;text-align:"+B+";position:"+(D?"absolute;":"relative;"),Q&&(P.className=Q+(H?v+1:"")),tt.push(P),f=c.length,y=0;f>y;y++)"BR"!==c[y].nodeName&&(T=c[y],P.appendChild(T),k&&(T._wordEnd||M)&&P.appendChild(n.createTextNode(" ")),D&&(0===y&&(P.style.top=T._y+"px",P.style.left=F+b+"px"),T.style.top="0px",b&&(T.style.left=T._x-b+"px")));0===f&&(P.innerHTML="&nbsp;"),M||E||(P.innerHTML=r(P).split(String.fromCharCode(160)).join(" ")),D&&(P.style.width=O,P.style.height=T._h+"px"),t.appendChild(P)}t.style.cssText=S}D&&(V>t.clientHeight&&(t.style.height=V-Y+"px",V>t.clientHeight&&(t.style.height=V+X+"px")),G>t.clientWidth&&(t.style.width=G-j+"px",G>t.clientWidth&&(t.style.width=G+z+"px"))),_(i,K),_(a,J),_(l,tt)},g=c.prototype;g.split=function(t){this.isSplit&&this.revert(),this.vars=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e=this.elements.length;--e>-1;)this._originals[e]=this.elements[e].innerHTML,m(this.elements[e],this.vars,this.chars,this.words,this.lines);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},g.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},c.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(c.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)},c.version="0.3.3"}(_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(module.exports=e())}();try{window.GreenSockGlobals=null,window._gsQueue=null,window._gsDefine=null,delete window.GreenSockGlobals,delete window._gsQueue,delete window._gsDefine}catch(t){}try{window.GreenSockGlobals=oldgs,window._gsQueue=oldgs_queue}catch(t){}if(1==window.tplogs)try{console.groupEnd()}catch(t){}!function(t,e){t.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]},t.expr[":"].uncached=function(e){var i=document.createElement("img");return i.src=e.src,t(e).is('img[src!=""]')&&!i.complete},t.fn.waitForImages=function(e,i,r){if(t.isPlainObject(arguments[0])&&(i=e.each,r=e.waitForAll,e=e.finished),e=e||t.noop,i=i||t.noop,r=!!r,!t.isFunction(e)||!t.isFunction(i))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var n=t(this),s=[];if(r){var a=t.waitForImages.hasImageProperties||[],o=/url\((['"]?)(.*?)\1\)/g;n.find("*").each(function(){var e=t(this);e.is("img:uncached")&&s.push({src:e.attr("src"),element:e[0]}),t.each(a,function(t,i){var r,n=e.css(i);if(!n)return!0;for(;r=o.exec(n);)s.push({src:r[2],element:e[0]})})})}else n.find("img:uncached").each(function(){s.push({src:this.src,element:this})});var l=s.length,h=0;0==l&&e.call(n[0]),t.each(s,function(r,s){var a=new Image;t(a).bind("load error",function(t){if(h++,i.call(s.element,h,l,"load"==t.type),h==l)return e.call(n[0]),!1}),a.src=s.src})})}}(jQuery);
!function(e,t){"use strict";e.fn.extend({revolution:function(a){return a=e.extend(!0,{},{delay:9e3,responsiveLevels:4064,gridwidth:960,gridheight:500,minHeight:0,autoHeight:"off",sliderType:"standard",sliderLayout:"auto",fullScreenAutoWidth:"off",fullScreenAlignForce:"off",fullScreenOffsetContainer:"",fullScreenOffset:"0",hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,disableProgressBar:"off",stopAtSlide:-1,stopAfterLoops:-1,shadow:0,dottedOverlay:"none",startDelay:0,lazyType:"smart",spinner:"spinner0",shuffle:"off",viewPort:{enable:!1,outof:"wait",visible_area:"60%"},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:"off",simplifyAll:"on",nextSlideOnWindowFocus:"off",disableFocusListener:!0},parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",speed:400,bgparallax:"on",opacity:"on",disable_onmobile:"off"},carousel:{horizontal_align:"center",vertical_align:"center",infinity:"on",space:0,maxVisibleItems:3,stretch:"off",fadeout:"on",maxRotation:0,minScale:0,vary_fade:"off",vary_rotation:"on",vary_scale:"off",border_radius:"0px",padding_top:0,padding_bottom:0},navigation:{keyboardNavigation:"on",keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:"on",touch:{touchenabled:"off",swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,swipe_direction:"horizontal"},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,tmp:"",left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0}},bullets:{style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"left",v_align:"center",space:0,h_offset:20,v_offset:0,tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>'},thumbnails:{style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"left",v_align:"center",h_offset:20,v_offset:0},tabs:{style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'<span class="tp-tab-image"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"left",v_align:"center",h_offset:20,v_offset:0}},extensions:"extensions/",extensions_suffix:".min.js",debugMode:!1},a),this.each(function(){var n=e(this);"hero"==a.sliderType&&n.find(">ul>li").each(function(t){t>0&&e(this).remove()}),a.jsFileLocation=a.jsFileLocation||s("themepunch.revolution.min.js"),a.jsFileLocation=a.jsFileLocation+a.extensions,a.scriptsneeded=o(a,n),a.curWinRange=0,e(this).on("scriptsloaded",function(){return a.modulesfailing?(n.html('<div style="margin:auto;line-height:40px;font-size:14px;color:#fff;padding:15px;background:#e74c3c;margin:20px 0px;">!! Error at loading Slider Revolution 5.0 Extrensions.'+a.errorm+"</div>").show(),!1):(i.migration!=t&&(a=i.migration(n,a)),punchgs.force3D=!0,"on"!==a.simplifyAll&&punchgs.TweenLite.lagSmoothing(1e3,16),d(n,a),void u(n,a))}),r(n,a.scriptsneeded)})},revaddcallback:function(i){return this.each(function(){var a=e(this);if(a!=t&&a.length>0&&e("body").find("#"+a.attr("id")).length>0){var n=a.parent().find(".tp-bannertimer").data("opt");n.callBackArray===t&&(n.callBackArray=new Array),n.callBackArray.push(i)}})},revgetparallaxproc:function(){var i=e(this);if(i!=t&&i.length>0&&e("body").find("#"+i.attr("id")).length>0)return i.parent().find(".tp-bannertimer").data("opt").scrollproc},revdebugmode:function(){return this.each(function(){var i=e(this);if(i!=t&&i.length>0&&e("body").find("#"+i.attr("id")).length>0){var a=i.parent().find(".tp-bannertimer").data("opt");a.debugMode=!0,v(i,a)}})},revscroll:function(i){return this.each(function(){var a=e(this);a!=t&&a.length>0&&e("body").find("#"+a.attr("id")).length>0&&e("body,html").animate({scrollTop:a.offset().top+opt.li.height()-i+"px"},{duration:400})})},revredraw:function(){return this.each(function(){var i=e(this);if(i!=t&&i.length>0&&e("body").find("#"+i.attr("id")).length>0){var a=i.parent().find(".tp-bannertimer").data("opt");v(i,a)}})},revkill:function(){var a=e(this);if(punchgs.TweenLite.killDelayedCallsTo(showHideNavElements),i.endMoveCaption&&punchgs.TweenLite.killDelayedCallsTo(i.endMoveCaption),a!=t&&a.length>0&&e("body").find("#"+a.attr("id")).length>0){a.data("conthover",1),a.data("conthover-changed",1),a.trigger("revolution.slide.onpause");var n=a.parent().find(".tp-bannertimer"),o=n.data("opt");o.tonpause=!0,a.trigger("stoptimer"),punchgs.TweenLite.killTweensOf(a.find("*"),!1),punchgs.TweenLite.killTweensOf(a,!1),a.unbind("hover, mouseover, mouseenter,mouseleave, resize");var r="resize.revslider-"+a.attr("id");e(window).off(r),a.find("*").each(function(){var i=e(this);i.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),i.off("on, hover, mouseenter,mouseleave,mouseover, resize"),i.data("mySplitText",null),i.data("ctl",null),i.data("tween")!=t&&i.data("tween").kill(),i.data("kenburn")!=t&&i.data("kenburn").kill(),i.data("timeline_out")!=t&&i.data("timeline_out").kill(),i.data("timeline")!=t&&i.data("timeline").kill(),i.remove(),i.empty(),i=null}),punchgs.TweenLite.killTweensOf(a.find("*"),!1),punchgs.TweenLite.killTweensOf(a,!1),n.remove();try{a.closest(".forcefullwidth_wrapper_tp_banner").remove()}catch(e){}try{a.closest(".rev_slider_wrapper").remove()}catch(e){}try{a.remove()}catch(e){}return a.empty(),a.html(),a=null,o=null,delete this.c,delete this.opt,!0}return!1},revpause:function(){return this.each(function(){var i=e(this);i!=t&&i.length>0&&e("body").find("#"+i.attr("id")).length>0&&(i.data("conthover",1),i.data("conthover-changed",1),i.trigger("revolution.slide.onpause"),i.parent().find(".tp-bannertimer").data("opt").tonpause=!0,i.trigger("stoptimer"))})},revresume:function(){return this.each(function(){var i=e(this);i!=t&&i.length>0&&e("body").find("#"+i.attr("id")).length>0&&(i.data("conthover",0),i.data("conthover-changed",1),i.trigger("revolution.slide.onresume"),i.parent().find(".tp-bannertimer").data("opt").tonpause=!1,i.trigger("starttimer"))})},revnext:function(){return this.each(function(){var a=e(this);if(a!=t&&a.length>0&&e("body").find("#"+a.attr("id")).length>0){var n=a.parent().find(".tp-bannertimer").data("opt");i.callingNewSlide(n,a,1)}})},revprev:function(){return this.each(function(){var a=e(this);if(a!=t&&a.length>0&&e("body").find("#"+a.attr("id")).length>0){var n=a.parent().find(".tp-bannertimer").data("opt");i.callingNewSlide(n,a,-1)}})},revmaxslide:function(){return e(this).find(".tp-revslider-mainul >li").length},revcurrentslide:function(){var i=e(this);if(i!=t&&i.length>0&&e("body").find("#"+i.attr("id")).length>0){var a=i.parent().find(".tp-bannertimer").data("opt");return parseInt(a.act,0)+1}},revlastslide:function(){return e(this).find(".tp-revslider-mainul >li").length},revshowslide:function(a){return this.each(function(){var n=e(this);if(n!=t&&n.length>0&&e("body").find("#"+n.attr("id")).length>0){var o=n.parent().find(".tp-bannertimer").data("opt");i.callingNewSlide(o,n,"to"+(a-1))}})},revcallslidewithid:function(a){return this.each(function(){var n=e(this);if(n!=t&&n.length>0&&e("body").find("#"+n.attr("id")).length>0){var o=n.parent().find(".tp-bannertimer").data("opt");i.callingNewSlide(o,n,a)}})}});var i=e.fn.revolution;e.extend(!0,i,{simp:function(e,t,i){var a=Math.abs(e)-Math.floor(Math.abs(e/t))*t;return i?a:0>e?-1*a:a},iOSVersion:function(){var e=!1;return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?navigator.userAgent.match(/OS 4_\d like Mac OS X/i)&&(e=!0):e=!1,e},isIE:function(t,i){var a=e('<div style="display:none;"/>').appendTo(e("body"));a.html("\x3c!--[if "+(i||"")+" IE "+(t||"")+"]><a>&nbsp;</a><![endif]--\x3e");var n=a.find("a").length;return a.remove(),n},is_mobile:function(){var e=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],t=!1;for(var i in e)navigator.userAgent.split(e[i]).length>1&&(t=!0);return t},callBackHandling:function(t,i,a){try{t.callBackArray&&e.each(t.callBackArray,function(e,t){t&&t.inmodule&&t.inmodule===i&&t.atposition&&t.atposition===a&&t.callback&&t.callback.call()})}catch(e){console.log("Call Back Failed")}},get_browser:function(){var e,t=navigator.appName,i=navigator.userAgent,a=i.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=i.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[t,navigator.appVersion,"-?"])[0]},get_browser_version:function(){var e,t=navigator.appName,i=navigator.userAgent,a=i.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=i.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[t,navigator.appVersion,"-?"])[1]},getHorizontalOffset:function(e,t){var i=c(e,".outer-left"),a=c(e,".outer-right");switch(t){case"left":return i;case"right":return a;case"both":return i+a}},callingNewSlide:function(t,i,a){var n=i.find(".next-revslide").length>0?i.find(".next-revslide").index():i.find(".processing-revslide").length>0?i.find(".processing-revslide").index():i.find(".active-revslide").index(),o=0;i.find(".next-revslide").removeClass("next-revslide"),a&&e.isNumeric(a)||a.match(/to/g)?(1===a||-1===a?o=0>(o=n+a)?t.slideamount-1:o>=t.slideamount?0:o:o=0>(a=e.isNumeric(a)?a:parseInt(a.split("to")[1],0))?0:a>t.slideamount-1?t.slideamount-1:a,i.find(".tp-revslider-slidesli:eq("+o+")").addClass("next-revslide")):a&&i.find(".tp-revslider-slidesli").each(function(){var t=e(this);t.data("index")===a&&t.addClass("next-revslide")}),o=i.find(".next-revslide").index(),i.trigger("revolution.nextslide.waiting"),o!==n&&-1!=o?C(i,t):i.find(".next-revslide").removeClass("next-revslide")},slotSize:function(i,a){a.slotw=Math.ceil(a.width/a.slots),a.sloth=Math.ceil("fullscreen"==a.sliderLayout?e(window).height()/a.slots:a.height/a.slots),"on"==a.autoHeight&&i!==t&&""!==i&&(a.sloth=Math.ceil(i.height()/a.slots))},setSize:function(i){var a=(i.top_outer||0)+(i.bottom_outer||0),n=parseInt(i.carousel.padding_top||0,0),o=parseInt(i.carousel.padding_bottom||0,0),r=i.gridheight[i.curWinRange];if(r=r<i.minHeight?i.minHeight:r,"fullwidth"==i.sliderLayout&&"off"==i.autoHeight&&punchgs.TweenLite.set(i.c,{maxHeight:r+"px"}),i.c.css({marginTop:n,marginBottom:o}),i.width=i.ul.width(),i.height=i.ul.height(),m(i),i.height=Math.round(i.gridheight[i.curWinRange]*(i.width/i.gridwidth[i.curWinRange])),i.height>i.gridheight[i.curWinRange]&&"on"!=i.autoHeight&&(i.height=i.gridheight[i.curWinRange]),"fullscreen"==i.sliderLayout){i.height=i.bw*i.gridheight[i.curWinRange];var s=(i.c.parent().width(),e(window).height());if(i.fullScreenOffsetContainer!=t){try{var l=i.fullScreenOffsetContainer.split(",");l&&e.each(l,function(t,i){s=e(i).length>0?s-e(i).outerHeight(!0):s})}catch(e){}try{i.fullScreenOffset.split("%").length>1&&i.fullScreenOffset!=t&&i.fullScreenOffset.length>0?s-=e(window).height()*parseInt(i.fullScreenOffset,0)/100:i.fullScreenOffset!=t&&i.fullScreenOffset.length>0&&(s-=parseInt(i.fullScreenOffset,0))}catch(e){}}s=s<i.minHeight?i.minHeight:s,s-=a,i.c.parent().height(s),i.c.closest(".rev_slider_wrapper").height(s),i.c.css({height:"100%"}),i.height=s,i.minHeight!=t&&i.height<i.minHeight&&(i.height=i.minHeight)}else i.minHeight!=t&&i.height<i.minHeight&&(i.height=i.minHeight),i.c.height(i.height);var d={height:n+o+a+i.height};i.c.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css(d),i.c.closest(".rev_slider_wrapper").css(d),m(i)},enterInViewPort:function(a){a.waitForCountDown&&(z(a.c,a),a.waitForCountDown=!1),a.waitForFirstSlide&&(C(a.c,a),a.waitForFirstSlide=!1),("playing"==a.sliderlaststatus||a.sliderlaststatus==t)&&a.c.trigger("starttimer"),a.lastplayedvideos!=t&&a.lastplayedvideos.length>0&&e.each(a.lastplayedvideos,function(e,t){i.playVideo(t,a)})},leaveViewPort:function(a){a.sliderlaststatus=a.sliderstatus,a.c.trigger("stoptimer"),a.playingvideos!=t&&a.playingvideos.length>0&&(a.lastplayedvideos=e.extend(!0,[],a.playingvideos),a.playingvideos&&e.each(a.playingvideos,function(e,t){i.stopVideo&&i.stopVideo(t,a)}))}});var a=i.is_mobile(),n=function(i,a){return!e("body").data(i)&&(a.filesystem?(a.errorm===t&&(a.errorm="<br>Local Filesystem Detected !<br>Put this to your header:"),console.warn("Local Filesystem detected !"),a.errorm=a.errorm+'<br>&lt;script type="text/javascript" src="'+a.jsFileLocation+i+a.extensions_suffix+'"&gt;&lt;/script&gt;',console.warn(a.jsFileLocation+i+a.extensions_suffix+" could not be loaded !"),console.warn("Please use a local Server or work online or make sure that you load all needed Libraries manually in your Document."),console.log(" "),a.modulesfailing=!0,!1):(e.ajax({url:a.jsFileLocation+i+a.extensions_suffix,dataType:"script",cache:!0,error:function(e){console.warn("Slider Revolution 5.0 Error !"),console.error("Failure at Loading:"+i+a.extensions_suffix+" on Path:"+a.jsFileLocation),console.info(e)}}),void e("body").data(i,!0)))},o=function(a,o){var r=new Object,s=a.navigation;return r.kenburns=!1,r.parallax=!1,r.carousel=!1,r.navigation=!1,r.videos=!1,r.actions=!1,r.layeranim=!1,r.migration=!1,o.data("version")&&o.data("version").match(/5./gi)?(o.find("img").each(function(){"on"==e(this).data("kenburns")&&(r.kenburns=!0)}),("carousel"==a.sliderType||"on"==s.keyboardNavigation||"on"==s.mouseScrollNavigation||"on"==s.touch.touchenabled||s.arrows.enable||s.bullets.enable||s.thumbnails.enable||s.tabs.enable)&&(r.navigation=!0),o.find(".tp-caption, .tp-static-layer, .rs-background-video-layer").each(function(){var i=e(this);(i.data("ytid")!=t||i.find("iframe").length>0&&i.find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&(r.videos=!0),(i.data("vimeoid")!=t||i.find("iframe").length>0&&i.find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&(r.videos=!0),i.data("actions")!==t&&(r.actions=!0),r.layeranim=!0}),o.find("li").each(function(){e(this).data("link")&&e(this).data("link")!=t&&(r.layeranim=!0,r.actions=!0)}),!r.videos&&(o.find(".rs-background-video-layer").length>0||o.find(".tp-videolayer").length>0||o.find("iframe").length>0||o.find("video").length>0)&&(r.videos=!0),"carousel"==a.sliderType&&(r.carousel=!0),("off"!==a.parallax.type||a.viewPort.enable||"true"==a.viewPort.enable)&&(r.parallax=!0)):(r.kenburns=!0,r.parallax=!0,r.carousel=!1,r.navigation=!0,r.videos=!0,r.actions=!0,r.layeranim=!0,r.migration=!0),"hero"==a.sliderType&&(r.carousel=!1,r.navigation=!1),window.location.href.match(/file:/gi)&&(r.filesystem=!0,a.filesystem=!0),r.videos&&void 0===i.isVideoPlaying&&n("revolution.extension.video",a),r.carousel&&void 0===i.prepareCarousel&&n("revolution.extension.carousel",a),r.carousel||void 0!==i.animateSlide||n("revolution.extension.slideanims",a),r.actions&&void 0===i.checkActions&&n("revolution.extension.actions",a),r.layeranim&&void 0===i.handleStaticLayers&&n("revolution.extension.layeranimation",a),r.kenburns&&void 0===i.stopKenBurn&&n("revolution.extension.kenburn",a),r.navigation&&void 0===i.createNavigation&&n("revolution.extension.navigation",a),r.migration&&void 0===i.migration&&n("revolution.extension.migration",a),r.parallax&&void 0===i.checkForParallax&&n("revolution.extension.parallax",a),r},r=function(e,t){t.filesystem||"undefined"!=typeof punchgs&&(!t.kenburns||t.kenburns&&void 0!==i.stopKenBurn)&&(!t.navigation||t.navigation&&void 0!==i.createNavigation)&&(!t.carousel||t.carousel&&void 0!==i.prepareCarousel)&&(!t.videos||t.videos&&void 0!==i.resetVideo)&&(!t.actions||t.actions&&void 0!==i.checkActions)&&(!t.layeranim||t.layeranim&&void 0!==i.handleStaticLayers)&&(!t.migration||t.migration&&void 0!==i.migration)&&(!t.parallax||t.parallax&&void 0!==i.checkForParallax)&&(t.carousel||!t.carousel&&void 0!==i.animateSlide)?e.trigger("scriptsloaded"):setTimeout(function(){r(e,t)},50)},s=function(){var t=new RegExp("themepunch.revolution.min.js","gi"),i="";return e("script").each(function(){var a=e(this).attr("src");a&&a.match(t)&&(i=a)}),i=(i=(i=i.replace("jquery.themepunch.revolution.min.js","")).replace("jquery.themepunch.revolution.js","")).split("?")[0]},l=function(t){var i=9999,a=0,n=0,o=0,r=e(window).width();t.responsiveLevels&&t.responsiveLevels.length&&e.each(t.responsiveLevels,function(e,t){t>r&&(0==a||a>t)&&(i=t,o=e,a=t),r>t&&t>a&&(a=t,n=e)}),i>a&&(o=n),t.curWinRange=o},d=function(e,t){t.carousel.maxVisibleItems=t.carousel.maxVisibleItems<1?999:t.carousel.maxVisibleItems,t.carousel.vertical_align="top"===t.carousel.vertical_align?"0%":"bottom"===t.carousel.vertical_align?"100%":"50%"},c=function(t,i){var a=0;return t.find(i).each(function(){var t=e(this);!t.hasClass("tp-forcenotvisible")&&a<t.outerWidth()&&(a=t.outerWidth())}),a},u=function(n,o){if(n==t)return!1;if(n.data("aimg")!=t&&("enabled"==n.data("aie8")&&i.isIE(8)||"enabled"==n.data("amobile")&&a)&&n.html('<img class="tp-slider-alternative-image" src="'+n.data("aimg")+'">'),n.find(">ul").addClass("tp-revslider-mainul"),o.c=n,o.ul=n.find(".tp-revslider-mainul"),o.cid=n.attr("id"),o.ul.css({visibility:"visible"}),o.slideamount=o.ul.find(">li").length,o.slayers=n.find(".tp-static-layers"),o.ul.find(">li").each(function(t){e(this).data("originalindex",t)}),"on"==o.shuffle){var r=new Object,s=o.ul.find(">li:first-child");r.fstransition=s.data("fstransition"),r.fsmasterspeed=s.data("fsmasterspeed"),r.fsslotamount=s.data("fsslotamount");for(var d=0;d<o.slideamount;d++){var c=Math.round(Math.random()*o.slideamount);o.ul.find(">li:eq("+c+")").prependTo(o.ul)}var u=o.ul.find(">li:first-child");u.data("fstransition",r.fstransition),u.data("fsmasterspeed",r.fsmasterspeed),u.data("fsslotamount",r.fsslotamount),o.li=o.ul.find(">li")}if(o.li=o.ul.find(">li"),o.thumbs=new Array,o.slots=4,o.act=-1,o.firststart=1,o.loadqueue=new Array,o.syncload=0,o.conw=n.width(),o.conh=n.height(),o.responsiveLevels.length>1?o.responsiveLevels[0]=9999:o.responsiveLevels=9999,e.each(o.li,function(i,a){var n=(a=e(a)).find(".rev-slidebg")||a.find("img").first(),r=0;a.addClass("tp-revslider-slidesli"),a.data("index")===t&&a.data("index","rs-"+Math.round(999999*Math.random()));var s=new Object;s.params=new Array,s.id=a.data("index"),s.src=a.data("thumb")!==t?a.data("thumb"):n.data("lazyload")!==t?n.data("lazyload"):n.attr("src"),a.data("title")!==t&&s.params.push({from:RegExp("\\{\\{title\\}\\}","g"),to:a.data("title")}),a.data("description")!==t&&s.params.push({from:RegExp("\\{\\{description\\}\\}","g"),to:a.data("description")});for(r=1;10>=r;r++)a.data("param"+r)!==t&&s.params.push({from:RegExp("\\{\\{param"+r+"\\}\\}","g"),to:a.data("param"+r)});if(o.thumbs.push(s),a.data("origindex",a.index()),a.data("link")!=t){var l=a.data("link"),d=a.data("target")||"_self",c="back"===a.data("slideindex")?0:60,u=a.data("linktoslide"),p=u;u!=t&&"next"!=u&&"prev"!=u&&o.li.each(function(){var t=e(this);t.data("origindex")+1==p&&(u=t.data("index"))}),"slide"!=l&&(u="no");var h='<div class="tp-caption sft slidelink" style="cursor:pointer;width:100%;height:100%;z-index:'+c+';" data-x="center" data-y="center" ';h="no"==u?h+' data-start="0">':h+"data-actions='"+("scroll_under"===u?'[{"event":"click","action":"scrollbelow","offset":"100px","delay":"0"}]':"prev"===u?'[{"event":"click","action":"jumptoslide","slide":"prev","delay":"0.2"}]':"next"===u?'[{"event":"click","action":"jumptoslide","slide":"next","delay":"0.2"}]':'[{"event":"click","action":"jumptoslide","slide":"'+u+'","delay":"0.2"}]')+'\' data-start="0">',h+='<a style="width:100%;height:100%;display:block"',h="slide"!=l?h+' target="'+d+'" href="'+l+'"':h,h+='><span style="width:100%;height:100%;display:block"></span></a></div>',a.append(h)}}),o.rle=o.responsiveLevels.length||1,o.gridwidth=p(o.gridwidth,o.rle),o.gridheight=p(o.gridheight,o.rle),"on"==o.simplifyAll&&(i.isIE(8)||i.iOSVersion())&&(n.find(".tp-caption").each(function(){var t=e(this);t.removeClass("customin customout").addClass("fadein fadeout"),t.data("splitin",""),t.data("speed",400)}),o.li.each(function(){var t=e(this);t.data("transition","fade"),t.data("masterspeed",500),t.data("slotamount",1),(t.find(".rev-slidebg")||t.find(">img").first()).data("kenburns","off")})),o.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),o.autoHeight="fullscreen"==o.sliderLayout?"on":o.autoHeight,"fullwidth"==o.sliderLayout&&"off"==o.autoHeight&&n.css({maxHeight:o.gridheight[o.curWinRange]+"px"}),"auto"!=o.sliderLayout&&0==n.closest(".forcefullwidth_wrapper_tp_banner").length&&("fullscreen"!==o.sliderLayout||"on"!=o.fullScreenAutoWidth)){var m=n.parent(),b=m.css("marginBottom"),y=m.css("marginTop");b=b===t?0:b,y=y===t?0:y,m.wrap('<div class="forcefullwidth_wrapper_tp_banner" style="position:relative;width:100%;height:auto;margin-top:'+y+";margin-bottom:"+b+'"></div>'),n.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+n.height()+'px"></div>'),n.parent().css({marginTop:"0px",marginBottom:"0px"}),n.parent().css({position:"absolute"})}if(o.shadow!==t&&o.shadow>0&&(n.parent().addClass("tp-shadow"+o.shadow),n.parent().append('<div class="tp-shadowcover"></div>'),n.parent().find(".tp-shadowcover").css({backgroundColor:n.parent().css("backgroundColor"),backgroundImage:n.parent().css("backgroundImage")})),l(o),!n.hasClass("revslider-initialised")){n.addClass("revslider-initialised"),n.addClass("tp-simpleresponsive"),n.attr("id")==t&&n.attr("id","revslider-"+Math.round(1e3*Math.random()+5)),o.firefox13=!1,o.ie=!e.support.opacity,o.ie9=9==document.documentMode,o.origcd=o.delay;var x=e.fn.jquery.split("."),_=parseFloat(x[0]),S=parseFloat(x[1]);parseFloat(x[2]||"0"),1==_&&7>S&&n.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+x+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"),_>1&&(o.ie=!1);var A=new Object;A.addedyt=0,A.addedvim=0,A.addedvid=0,n.find(".tp-caption, .rs-background-video-layer").each(function(){var n=e(this),r=n.data("autoplayonlyfirsttime"),s=n.data("autoplay");n.hasClass("tp-static-layer")&&i.handleStaticLayers&&i.handleStaticLayers(n,o);var l=0;if(n.find("iframe").each(function(){punchgs.TweenLite.set(e(this),{autoAlpha:0}),l++}),l>0&&n.data("iframes",!0),n.hasClass("tp-caption")){var d=n.hasClass("slidelink")?"width:100% !important;height:100% !important;":"";n.wrap('<div class="tp-parallax-wrap" style="'+d+'position:absolute;visibility:hidden"><div class="tp-loop-wrap" style="'+d+'position:absolute;"><div class="tp-mask-wrap" style="'+d+'position:absolute" ></div></div></div>');var c=n.closest(".tp-loop-wrap");e.each(["pendulum","rotate","slideloop","pulse","wave"],function(e,t){var i=n.find(".rs-"+t),a=i.data()||"";""!=a&&(c.data(a),c.addClass("rs-"+t),i.children(0).unwrap(),n.data("loopanimation","on"))}),punchgs.TweenLite.set(n,{visibility:"hidden"})}var u=n.data("actions");u!==t&&i.checkActions(n,o,u),h(n,o),i.checkVideoApis&&(A=i.checkVideoApis(n,o,A)),a&&((1==r||"true"==r)&&(n.data("autoplayonlyfirsttime","false"),r=!1),(1==s||"true"==s||"on"==s||"1sttime"==s)&&(n.data("autoplay","off"),s="off")),(1==r||"true"==r||"1sttime"==s)&&n.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-once"),(1==s||"true"==s||"on"==s||"no1sttime"==s)&&n.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-always")}),n.hover(function(){n.trigger("tp-mouseenter"),o.overcontainer=!0},function(){n.trigger("tp-mouseleft"),o.overcontainer=!1}),n.on("mouseover",function(){n.trigger("tp-mouseover"),o.overcontainer=!0}),n.find(".tp-caption video").each(function(){var t=e(this);t.removeClass("video-js vjs-default-skin"),t.attr("preload",""),t.css({display:"none"})}),"standard"!==o.sliderType&&(o.lazyType="all"),k(n.find(".tp-static-layers"),o,0),L(n.find(".tp-static-layers img"),o,function(){n.find(".tp-static-layers img").each(function(){var i=e(this),a=i.data("lazyload")!=t?i.data("lazyload"):i.attr("src"),n=T(o,a);i.attr("src",n.src)})}),o.li.each(function(t){var i=e(this);("all"==o.lazyType||"smart"==o.lazyType&&(0==t||1==t||t==o.slideamount||t==o.slideamount-1))&&(k(i,o,t),L(i,o,function(){"carousel"==o.sliderType&&punchgs.TweenLite.to(i,1,{autoAlpha:1,ease:punchgs.Power3.easeInOut})}))});var H=I("#")[0];if(H.length<9&&H.split("slide").length>1){var O=parseInt(H.split("slide")[1],0);1>O&&(O=1),O>o.slideamount&&(O=o.slideamount),o.startWithSlide=O-1}n.append('<div class="tp-loader '+o.spinner+'"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>'),0===n.find(".tp-bannertimer").length&&n.append('<div class="tp-bannertimer" style="visibility:hidden"></div>'),n.find(".tp-bannertimer").css({width:"0%"}),n.find(".tp-bannertimer").data("opt",o),o.ul.css({display:"block"}),w(n,o),"off"!==o.parallax.type&&i.checkForParallax(n,o),i.setSize(o),"hero"!==o.sliderType&&i.createNavigation(n,o),i.resizeThumbsTabs&&i.resizeThumbsTabs(o),f(o);var F=o.viewPort;o.inviewport=!1,F!=t&&F.enable&&(F.visible_area=parseFloat(F.visible_area)/100,F.visible_area=F.visible_area<.001?100*F.visible_area:F.visible_area,i.scrollTicker&&i.scrollTicker(o,n)),setTimeout(function(){"carousel"==o.sliderType&&i.prepareCarousel(o),!F.enable||F.enable&&o.inviewport||F.enable&&!o.inviewport&&"wait"==!F.outof?C(n,o):o.waitForFirstSlide=!0,i.manageNavigation&&i.manageNavigation(o),o.slideamount>1&&(!F.enable||F.enable&&o.inviewport?z(n,o):o.waitForCountDown=!0),setTimeout(function(){n.trigger("revolution.slide.onloaded")},100)},o.startDelay),o.startDelay=0,e("body").data("rs-fullScreenMode",!1),e(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode")),e("body").data("rs-fullScreenMode")&&setTimeout(function(){e(window).trigger("resize")},200)});var j="resize.revslider-"+n.attr("id");e(window).on(j,function(){return n!=t&&(0!=e("body").find(n)&&f(o),void((n.outerWidth(!0)!=o.width||n.is(":hidden")||"fullscreen"==o.sliderLayout&&e(window).height()!=o.lastwindowheight)&&(o.lastwindowheight=e(window).height(),v(n,o))))}),g(n,o),f(o),o.disableFocusListener||"true"==o.disableFocusListener||!0===o.disableFocusListener||P(n,o)}},p=function(t,i){if(!e.isArray(t)){var a=t;(t=new Array).push(a)}if(t.length<i){a=t[t.length-1];for(var n=0;n<i-t.length+2;n++)t.push(a)}return t},h=function(a,n){"sliderenter"===a.data("start")&&(n.layersonhover===t&&(n.c.on("tp-mouseenter",function(){n.layersonhover&&e.each(n.layersonhover,function(e,a){a.data("animdirection","in");var o=a.data("timeline_out"),r="carousel"===n.sliderType?0:n.width/2-n.gridwidth[n.curWinRange]*n.bw/2,s=a.closest(".tp-revslider-slidesli");if(s.hasClass("active-revslide")||s.hasClass("processing-revslide")){o!=t&&(o.pause(0),o.kill()),i.animateSingleCaption(a,n,r,0,0,!1,!0);var l=a.data("timeline");a.data("triggerstate","on"),l.play(0)}})}),n.c.on("tp-mouseleft",function(){n.layersonhover&&e.each(n.layersonhover,function(e,t){t.data("animdirection","out"),t.data("triggered",!0),t.data("triggerstate","off"),i.stopVideo&&i.stopVideo(t,n),i.endMoveCaption&&i.endMoveCaption(t,null,null,n)})}),n.layersonhover=new Array),n.layersonhover.push(a))},f=function(t){var a=i.getHorizontalOffset(t.c,"left");if("auto"==t.sliderLayout||"fullscreen"===t.sliderLayout&&"on"==t.fullScreenAutoWidth)"fullscreen"==t.sliderLayout&&"on"==t.fullScreenAutoWidth?punchgs.TweenLite.set(t.ul,{left:0,width:t.c.width()}):punchgs.TweenLite.set(t.ul,{left:a,width:t.c.width()-i.getHorizontalOffset(t.c,"both")});else{var n=Math.ceil(t.c.closest(".forcefullwidth_wrapper_tp_banner").offset().left-a);punchgs.TweenLite.set(t.c.parent(),{left:0-n+"px",width:e(window).width()-i.getHorizontalOffset(t.c,"both")})}t.slayers&&"fullwidth"!=t.sliderLayout&&"fullscreen"!=t.sliderLayout&&punchgs.TweenLite.set(t.slayers,{left:a})},g=function(a,n,o){var r=a.parent();e(window).width()<n.hideSliderAtLimit?(a.trigger("stoptimer"),"none"!=r.css("display")&&r.data("olddisplay",r.css("display")),r.css({display:"none"})):a.is(":hidden")&&o&&(r.css(r.data("olddisplay")!=t&&"undefined"!=r.data("olddisplay")&&"none"!=r.data("olddisplay")?{display:r.data("olddisplay")}:{display:"block"}),a.trigger("restarttimer"),setTimeout(function(){v(a,n)},150)),i.hideUnHideNav&&i.hideUnHideNav(n)},v=function(e,a){if(l(a),!i.resizeThumbsTabs||!0===i.resizeThumbsTabs(a)){if(g(e,a,!0),f(a),"carousel"==a.sliderType&&i.prepareCarousel(a,!0),e===t)return!1;i.setSize(a),a.conw=a.c.width(),a.conh=a.c.height();var n=e.find(".active-revslide .slotholder"),o=e.find(".processing-revslide .slotholder");b(e,a,e,2),"standard"===a.sliderType&&(punchgs.TweenLite.set(o.find(".defaultimg"),{opacity:0}),n.find(".defaultimg").css({opacity:1})),"carousel"==a.sliderType&&a.lastconw!=a.conw&&(clearTimeout(a.pcartimer),a.pcartimer=setTimeout(function(){i.prepareCarousel(a,!0)},100),a.lastconw=a.conw),i.manageNavigation&&i.manageNavigation(a),i.animateTheCaptions&&i.animateTheCaptions(e.find(".active-revslide"),a,!0),"on"==o.data("kenburns")&&i.startKenBurn(o,a,o.data("kbtl").progress()),"on"==n.data("kenburns")&&i.startKenBurn(n,a,n.data("kbtl").progress())}},m=function(e){e.bw=e.width/e.gridwidth[e.curWinRange],e.bh=e.height/e.gridheight[e.curWinRange],e.bh>e.bw?e.bh=e.bw:e.bw=e.bh,(e.bh>1||e.bw>1)&&(e.bw=1,e.bh=1)},w=function(n,o){if(n.find(".tp-caption").each(function(){var i=e(this);i.data("transition")!==t&&i.addClass(i.data("transition"))}),o.ul.css({overflow:"hidden",width:"100%",height:"100%",maxHeight:n.parent().css("maxHeight")}),"on"==o.autoHeight&&(o.ul.css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),n.css({maxHeight:"none"}),n.parent().css({maxHeight:"none"})),o.li.each(function(i){var a=e(this),n=a.data("originalindex");(o.startWithSlide!=t&&n==o.startWithSlide||o.startWithSlide===t&&0==i)&&a.addClass("next-revslide"),a.css({width:"100%",height:"100%",overflow:"hidden"})}),"carousel"===o.sliderType){o.ul.css({overflow:"visible"}).wrap('<div class="tp-carousel-wrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden;"></div>');var r='<div style="clear:both;display:block;width:100%;height:1px;position:relative;margin-bottom:-1px"></div>';o.c.parent().prepend(r),o.c.parent().append(r),i.prepareCarousel(o)}n.parent().css({overflow:"visible"}),o.li.find(">img").each(function(){var i=e(this),n=i.closest("li").find(".rs-background-video-layer");i.addClass("defaultimg"),"on"==o.panZoomDisableOnMobile&&a&&(i.data("kenburns","off"),i.data("bgfit","cover")),i.wrap('<div class="slotholder" style="width:100%;height:100%;"></div>');var r=i.data();i.closest(".slotholder").data(r),n.length>0&&r.bgparallax!=t&&n.data("bgparallax",r.bgparallax),"none"!=o.dottedOverlay&&o.dottedOverlay!=t&&i.closest(".slotholder").append('<div class="tp-dottedoverlay '+o.dottedOverlay+'"></div>');var s=i.attr("src");r.src=s,r.bgfit=r.bgfit||"cover",r.bgrepeat=r.bgrepeat||"no-repeat",r.bgposition=r.bgposition||"center center";var l=i.closest(".slotholder");i.parent().append('<div class="tp-bgimg defaultimg" style="background-color:'+i.css("backgroundColor")+";background-repeat:"+r.bgrepeat+";background-image:url("+s+");background-size:"+r.bgfit+";background-position:"+r.bgposition+';width:100%;height:100%;"></div>');var d=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+i.get(0).outerHTML);i.replaceWith(d),(i=l.find(".tp-bgimg")).data(r),i.attr("src",s),("standard"===o.sliderType||"undefined"===o.sliderType)&&i.css({opacity:0})})},b=function(t,i,a,n){i.removePrepare=i.removePrepare+n,a.find(".slot").each(function(){e(this).remove()}),i.transition=0,i.removePrepare=0},y=function(e){var i=e;return e!=t&&e.length>0&&(i=e.split("?")[0]),i},x=function(t,i,a){i.syncload--,i.loadqueue&&e.each(i.loadqueue,function(e,i){var n=i.src.replace(/\.\.\/\.\.\//gi,""),o=self.location.href,r=document.location.origin,s=o.substring(0,o.length-1)+"/"+n,l=r+"/"+n,d=function(e,t){var i=e.split("/"),a=t.split("/");i.pop();for(var n=0;n<a.length;n++)"."!=a[n]&&(".."==a[n]?i.pop():i.push(a[n]));return i.join("/")}(self.location.href,i.src);o=o.substring(0,o.length-1)+n,(y(r+=n)===y(decodeURIComponent(t.src))||y(o)===y(decodeURIComponent(t.src))||y(d)===y(decodeURIComponent(t.src))||y(l)===y(decodeURIComponent(t.src))||y(s)===y(decodeURIComponent(t.src))||y(i.src)===y(decodeURIComponent(t.src))||y(i.src).replace(/^.*\/\/[^\/]+/,"")===y(decodeURIComponent(t.src)).replace(/^.*\/\/[^\/]+/,"")||"file://"===window.location.origin&&y(t.src).match(new RegExp(n)))&&(i.progress=a,i.width=t.width,i.height=t.height)}),_(i)},_=function(t){3!=t.syncload&&t.loadqueue&&e.each(t.loadqueue,function(e,i){if(i.progress.match(/prepared/g)&&t.syncload<=3){t.syncload++;var a=new Image;a.onload=function(){x(this,t,"loaded")},a.onerror=function(){x(this,t,"failed")},a.src=i.src,i.progress="inload"}})},k=function(i,a,n){i.find("img,.defaultimg").each(function(){var i=e(this),o=i.data("lazyload")!==t&&"undefined"!==i.data("lazyload")?i.data("lazyload"):i.attr("src");i.data("start-to-load",e.now()),function(t,i,a){var n=!1;if(i.loadqueue&&e.each(i.loadqueue,function(e,i){i.src===t&&(n=!0)}),!n){var o=new Object;o.src=t,o.prio=a,o.progress="prepared",i.loadqueue.push(o)}}(o,a,n)}),_(a)},T=function(t,i){var a=new Object;return t.loadqueue&&e.each(t.loadqueue,function(e,t){t.src==i&&(a=t)}),a},L=function(a,n,o){var r=!1;a.find("img,.defaultimg").each(function(){var o=e(this),s=o.data("lazyload")!=t?o.data("lazyload"):o.attr("src"),l=T(n,s);if(o.data("loaded")===t&&l!==t&&l.progress&&l.progress.match(/loaded/g)){if(o.attr("src",l.src),o.hasClass("defaultimg"))i.isIE(8)?defimg.attr("src",l.src):o.css({backgroundImage:'url("'+l.src+'")'}),a.data("owidth",l.width),a.data("oheight",l.height),a.find(".slotholder").data("owidth",l.width),a.find(".slotholder").data("oheight",l.height);else{var d=o.data("ww"),c=o.data("hh");o.data("owidth",l.width),o.data("oheight",l.height),d=d==t||"auto"==d||""==d?l.width:d,c=c==t||"auto"==c||""==c?l.height:c,o.data("ww",d),o.data("hh",c)}o.data("loaded",!0)}if(l&&l.progress&&l.progress.match(/inprogress|inload|prepared/g)&&(e.now()-o.data("start-to-load")<5e3?r=!0:console.error(s+"  Could not be loaded !")),1==n.youtubeapineeded&&(!window.YT||YT.Player==t)&&(r=!0,e.now()-n.youtubestarttime>5e3&&1!=n.youtubewarning)){n.youtubewarning=!0;var u="YouTube Api Could not be loaded !";"https:"===location.protocol&&(u+=" Please Check and Renew SSL Certificate !"),console.error(u),n.c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c;  font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>'+u+"</strong></div>")}if(1==n.vimeoapineeded&&!window.Froogaloop&&(r=!0,e.now()-n.vimeostarttime>5e3&&1!=n.vimeowarning)){n.vimeowarning=!0;u="Vimeo Froogaloop Api Could not be loaded !";"https:"===location.protocol&&(u+=" Please Check and Renew SSL Certificate !"),console.error(u),n.c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c;  font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>'+u+"</strong></div>")}}),r?setTimeout(function(){L(a,n,o)},19):o()},C=function(t,a){if(clearTimeout(a.waitWithSwapSlide),t.find(".processing-revslide").length>0)return a.waitWithSwapSlide=setTimeout(function(){C(t,a)},150),!1;var n=t.find(".active-revslide"),o=t.find(".next-revslide"),r=o.find(".defaultimg");return o.index()===n.index()?(o.removeClass("next-revslide"),!1):(o.removeClass("next-revslide").addClass("processing-revslide"),"on"==a.stopLoop&&o.index()==a.lastslidetoshow-1&&(t.find(".tp-bannertimer").css({visibility:"hidden"}),t.trigger("revolution.slide.onstop"),a.noloopanymore=1),o.index()===a.slideamount-1&&(a.looptogo=a.looptogo-1,a.looptogo<=0&&(a.stopLoop="on")),a.tonpause=!0,t.trigger("stoptimer"),a.cd=0,t.find(".tp-loader").css({display:"block"}),k(o,a,1),void L(o,a,function(){o.find(".rs-background-video-layer").each(function(){var t=e(this);t.hasClass("HasListener")||(t.data("bgvideo",1),i.manageVideoLayer(t,a)),t.append('<div class="rs-fullvideo-cover"></div>')}),S(a,r,t)}))},S=function(e,a,n){var o=n.find(".active-revslide"),r=n.find(".processing-revslide"),s=o.find(".slotholder"),l=r.find(".slotholder");e.tonpause=!1,e.cd=0,n.trigger("nulltimer"),n.find(".tp-loader").css({display:"none"}),i.setSize(e),i.slotSize(a,e),i.manageNavigation&&i.manageNavigation(e);var d={};d.nextslide=r,d.currentslide=o,n.trigger("revolution.slide.onbeforeswap",d),e.transition=1,e.videoplaying=!1,r.data("delay")!=t?(e.cd=0,e.delay=r.data("delay")):e.delay=e.origcd;var c,u=o.index(),p=r.index();if(e.sdir=u>p?1:0,"arrow"==e.sc_indicator&&(0==u&&p==e.slideamount-1&&(e.sdir=1),u==e.slideamount-1&&0==p&&(e.sdir=0)),e.lsdir=e.lsdir===t?e.sdir:e.lsdir,e.dirc=e.lsdir!=e.sdir,e.lsdir=e.sdir,o.index()!=r.index()&&1!=e.firststart&&i.removeTheCaptions&&i.removeTheCaptions(o,e),r.hasClass("rs-pause-timer-once")||r.hasClass("rs-pause-timer-always")?e.videoplaying=!0:n.trigger("restarttimer"),r.removeClass("rs-pause-timer-once"),"carousel"==e.sliderType)c=new punchgs.TimelineLite,i.prepareCarousel(e,c),A(n,e,l,s,r,o,c),e.transition=0,e.firststart=0;else{(c=new punchgs.TimelineLite({onComplete:function(){A(n,e,l,s,r,o,c)}})).add(punchgs.TweenLite.set(l.find(".defaultimg"),{opacity:0})),c.pause(),1==e.firststart&&(punchgs.TweenLite.set(o,{autoAlpha:0}),e.firststart=0),punchgs.TweenLite.set(o,{zIndex:18}),punchgs.TweenLite.set(r,{autoAlpha:0,zIndex:20}),"prepared"==r.data("differentissplayed")&&(r.data("differentissplayed","done"),r.data("transition",r.data("savedtransition")),r.data("slotamount",r.data("savedslotamount")),r.data("masterspeed",r.data("savedmasterspeed"))),r.data("fstransition")!=t&&"done"!=r.data("differentissplayed")&&(r.data("savedtransition",r.data("transition")),r.data("savedslotamount",r.data("slotamount")),r.data("savedmasterspeed",r.data("masterspeed")),r.data("transition",r.data("fstransition")),r.data("slotamount",r.data("fsslotamount")),r.data("masterspeed",r.data("fsmasterspeed")),r.data("differentissplayed","prepared")),r.data("transition")==t&&r.data("transition","random"),0;var h=r.data("transition")!==t?r.data("transition").split(","):"fade",f=r.data("nexttransid")==t?-1:r.data("nexttransid");"on"==r.data("randomtransition")?f=Math.round(Math.random()*h.length):f+=1,f==h.length&&(f=0),r.data("nexttransid",f);var g=h[f];e.ie&&("boxfade"==g&&(g="boxslide"),"slotfade-vertical"==g&&(g="slotzoom-vertical"),"slotfade-horizontal"==g&&(g="slotzoom-horizontal")),i.isIE(8)&&(g=11),c=i.animateSlide(0,g,n,e,r,o,l,s,c),"on"==l.data("kenburns")&&(i.startKenBurn(l,e),c.add(punchgs.TweenLite.set(l,{autoAlpha:0}))),c.pause()}"off"!=e.parallax.type&&e.parallax.firstgo==t&&i.scrollHandling&&(e.parallax.firstgo=!0,e.lastscrolltop=-999,i.scrollHandling(e),setTimeout(function(){e.lastscrolltop=-999,i.scrollHandling(e)},210),setTimeout(function(){e.lastscrolltop=-999,i.scrollHandling(e)},420)),i.animateTheCaptions?i.animateTheCaptions(r,e,null,c):c!=t&&setTimeout(function(){c.resume()},30),punchgs.TweenLite.to(r,.001,{autoAlpha:1})},A=function(n,o,r,s,l,d,c){"carousel"===o.sliderType||(o.removePrepare=0,punchgs.TweenLite.to(r.find(".defaultimg"),.001,{zIndex:20,autoAlpha:1,onComplete:function(){b(n,o,l,1)}}),l.index()!=d.index()&&punchgs.TweenLite.to(d,.2,{zIndex:18,autoAlpha:0,onComplete:function(){b(n,o,d,1)}})),n.find(".active-revslide").removeClass("active-revslide"),n.find(".processing-revslide").removeClass("processing-revslide").addClass("active-revslide"),o.act=l.index(),("scroll"==o.parallax.type||"scroll+mouse"==o.parallax.type||"mouse+scroll"==o.parallax.type)&&(o.lastscrolltop=-999,i.scrollHandling(o)),c.clear(),s.data("kbtl")!=t&&(s.data("kbtl").reverse(),s.data("kbtl").timeScale(25)),"on"==r.data("kenburns")&&(r.data("kbtl")!=t?(r.data("kbtl").timeScale(1),r.data("kbtl").play()):i.startKenBurn(r,o)),l.find(".rs-background-video-layer").each(function(){if(a)return!1;var t=e(this);i.resetVideo(t,o),punchgs.TweenLite.fromTo(t,1,{autoAlpha:0},{autoAlpha:1,ease:punchgs.Power3.easeInOut,delay:.2,onComplete:function(){i.animcompleted&&i.animcompleted(t,o)}})}),d.find(".rs-background-video-layer").each(function(){if(a)return!1;var t=e(this);i.stopVideo&&(i.resetVideo(t,o),i.stopVideo(t,o)),punchgs.TweenLite.to(t,1,{autoAlpha:0,ease:punchgs.Power3.easeInOut,delay:.2})});var u={};u.slideIndex=l.index()+1,u.slideLIIndex=l.index(),u.slide=l,u.currentslide=l,u.prevslide=d,n.trigger("revolution.slide.onchange",u),n.trigger("revolution.slide.onafterswap",u)},z=function(n,o){if(o.cd=0,o.loop=0,o.looptogo=o.stopAfterLoops!=t&&o.stopAfterLoops>-1?o.stopAfterLoops:9999999,o.lastslidetoshow=o.stopAtSlide!=t&&o.stopAtSlide>-1?o.stopAtSlide:999,o.stopLoop="off",0==o.looptogo&&(o.stopLoop="on"),o.slideamount>1&&(0!=o.stopAfterLoops||1!=o.stopAtSlide)){var r=n.find(".tp-bannertimer");n.on("stoptimer",function(){var t=e(this).find(".tp-bannertimer");t.data("tween").pause(),"on"==o.disableProgressBar&&t.css({visibility:"hidden"}),o.sliderstatus="paused"}),n.on("starttimer",function(){1!=o.conthover&&1!=o.videoplaying&&o.width>o.hideSliderAtLimit&&1!=o.tonpause&&1!=o.overnav&&(1===o.noloopanymore||o.viewPort.enable&&!o.inviewport||(r.css({visibility:"visible"}),r.data("tween").resume(),o.sliderstatus="playing")),"on"==o.disableProgressBar&&r.css({visibility:"hidden"})}),n.on("restarttimer",function(){var t=e(this).find(".tp-bannertimer");return!(o.mouseoncontainer&&"on"==o.navigation.onHoverStop&&!a)&&(1===o.noloopanymore||o.viewPort.enable&&!o.inviewport||(t.css({visibility:"visible"}),t.data("tween").kill(),t.data("tween",punchgs.TweenLite.fromTo(t,o.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:s,delay:1})),o.sliderstatus="playing"),void("on"==o.disableProgressBar&&t.css({visibility:"hidden"})))}),n.on("nulltimer",function(){r.data("tween").pause(0),"on"==o.disableProgressBar&&r.css({visibility:"hidden"}),o.sliderstatus="paused"});var s=function(){0==e("body").find(n).length&&(function(t,i){t.children().each(function(){try{e(this).die("click")}catch(e){}try{e(this).die("mouseenter")}catch(e){}try{e(this).die("mouseleave")}catch(e){}try{e(this).unbind("hover")}catch(e){}});try{t.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(i.cdint),t=null}(n,o),clearInterval(o.cdint)),n.trigger("revolution.slide.slideatend"),1==n.data("conthover-changed")&&(o.conthover=n.data("conthover"),n.data("conthover-changed",0)),i.callingNewSlide(o,n,1)};r.data("tween",punchgs.TweenLite.fromTo(r,o.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:s,delay:1})),r.data("opt",o),n.trigger("starttimer"),n.on("tp-mouseenter",function(){o.mouseoncontainer=!0,"on"!=o.navigation.onHoverStop||a||(n.trigger("stoptimer"),n.trigger("revolution.slide.onpause"))}),n.on("tp-mouseleft",function(){o.mouseoncontainer=!1,1!=n.data("conthover")&&"on"==o.navigation.onHoverStop&&(1==o.viewPort.enable&&o.inviewport||0==o.viewPort.enable)&&(n.trigger("revolution.slide.onresume"),n.trigger("starttimer"))})}},H=(function(){var e,t,i={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(e in i)if(e in document){t=i[e];break}}(),function(e){return e!=t&&e.c!=t&&void(1!=e.windowfocused&&(e.windowfocused=!0,punchgs.TweenLite.delayedCall(.3,function(){"on"==e.fallbacks.nextSlideOnWindowFocus&&e.c.revnext(),e.c.revredraw(),"playing"==e.lastsliderstatus&&e.c.revresume()})))}),O=function(e){e.windowfocused=!1,e.lastsliderstatus=e.sliderstatus,e.c.revpause();var t=e.c.find(".active-revslide .slotholder"),a=e.c.find(".processing-revslide .slotholder");"on"==a.data("kenburns")&&i.stopKenBurn(a,e),"on"==t.data("kenburns")&&i.stopKenBurn(t,e)},P=function(i,a){var n=document.documentMode===t,o=window.chrome;n&&!o?e(window).on("focusin",function(){H(a)}).on("focusout",function(){O(a)}):window.addEventListener?(window.addEventListener("focus",function(){H(a)},!1),window.addEventListener("blur",function(){O(a)},!1)):(window.attachEvent("focus",function(){H(a)}),window.attachEvent("blur",function(){O(a)}))},I=function(e){for(var t,i=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),n=0;n<a.length;n++)a[n]=a[n].replace("%3D","="),t=a[n].split("="),i.push(t[0]),i[t[0]]=t[1];return i}}(jQuery);
(function(a){var ma=0,W=0,ca=0,M=0,Ba="ontouchstart"in window,Ca="onorientationchange"in window,da=!1,$=!1,X=!1,na=!1,fa="pointer",sa="pointer",ga=[],S=[],ta=[],Z=[],w=[],aa=[],F=[],j=[],q=[],ua=[],ea=[],e={showScrollbar:function(c,e){c.scrollbarHide&&a("."+e).css({opacity:c.scrollbarOpacity,filter:"alpha(opacity:"+100*c.scrollbarOpacity+")"})},hideScrollbar:function(a,f,b,x,d,g,j,q,G,v){if(a.scrollbar&&a.scrollbarHide)for(var w=b;w<b+25;w++)f[f.length]=e.hideScrollbarIntervalTimer(10*w,x[b],(b+24-w)/24,d,g,j,q,G,v,a)},hideScrollbarInterval:function(c,f,b,x,d,g,j,w,G){M=-1*c/q[w]*(d-g-j-x);e.setSliderOffset("."+b,M);a("."+b).css({opacity:G.scrollbarOpacity*f,filter:"alpha(opacity:"+100*G.scrollbarOpacity*f+")"})},slowScrollHorizontalInterval:function(c,f,b,x,d,g,T,N,G,v,K,y,r,s,E,n,k,z,h){if(h.infiniteSlider){if(b<=-1*q[n]){var B=a(c).width();if(b<=-1*ua[n]){var p=-1*K[0];a(f).each(function(b){e.setSliderOffset(a(f)[b],p+k);b<y.length&&(y[b]=-1*p);p+=E[b]});b+=-1*y[0];j[n]=-1*y[0]+k;q[n]=j[n]+B-g;F[n]=0}else{var m=0,I=e.getSliderOffset(a(f[0]),"x");a(f).each(function(b){e.getSliderOffset(this,"x")<I&&(I=e.getSliderOffset(this,"x"),m=b)});r=j[n]+B;e.setSliderOffset(a(f)[m],r);j[n]=-1*y[1]+k;q[n]=j[n]+B-g;y.splice(0,1);y.splice(y.length,0,-1*r+k);F[n]++}}if(b>=-1*j[n]||0<=b){B=a(c).width();if(0<=b){p=-1*K[0];a(f).each(function(b){e.setSliderOffset(a(f)[b],p+k);b<y.length&&(y[b]=-1*p);p+=E[b]});b-=-1*y[0];j[n]=-1*y[0]+k;q[n]=j[n]+B-g;for(F[n]=s;0<-1*y[0]-B+k;){var u=0,t=e.getSliderOffset(a(f[0]),"x");a(f).each(function(b){e.getSliderOffset(this,"x")>t&&(t=e.getSliderOffset(this,"x"),u=b)});r=j[n]-E[u];e.setSliderOffset(a(f)[u],r);y.splice(0,0,-1*r+k);y.splice(y.length-1,1);j[n]=-1*y[0]+k;q[n]=j[n]+B-g;F[n]--;w[n]++}}0>b&&(u=0,t=e.getSliderOffset(a(f[0]),"x"),a(f).each(function(b){e.getSliderOffset(this,"x")>t&&(t=e.getSliderOffset(this,"x"),u=b)}),r=j[n]-E[u],e.setSliderOffset(a(f)[u],r),y.splice(0,0,-1*r+k),y.splice(y.length-1,1),j[n]=-1*y[0]+k,q[n]=j[n]+B-g,F[n]--)}}K=!1;g=e.calcActiveOffset(h,b,y,g,F[n],s,v,n);r=(g+F[n]+s)%s;h.infiniteSlider?r!=aa[n]&&(K=!0):g!=w[n]&&(K=!0);if(K&&(s=new e.args("change",h,c,a(c).children(":eq("+r+")"),r,z),a(c).parent().data("args",s),""!=h.onSlideChange))h.onSlideChange(s);w[n]=g;aa[n]=r;b=Math.floor(b);e.setSliderOffset(c,b);h.scrollbar&&(M=Math.floor((-1*b-j[n]+k)/(q[n]-j[n]+k)*(T-N-d)),c=d-G,b>=-1*j[n]+k?(c=d-G- -1*M,e.setSliderOffset(a("."+x),0)):(b<=-1*q[n]+1&&(c=T-N-G-M),e.setSliderOffset(a("."+x),M)),a("."+x).css({width:c+"px"}))},slowScrollHorizontal:function(c,f,b,x,d,g,T,N,G,v,K,y,r,s,E,n,k,z,h,B,p){var m=e.getSliderOffset(c,"x");g=[];var I=0,u=25/1024*N;frictionCoefficient=p.frictionCoefficient;elasticFrictionCoefficient=p.elasticFrictionCoefficient;snapFrictionCoefficient=p.snapFrictionCoefficient;d>p.snapVelocityThreshold&&p.snapToChildren&&!h?I=1:d<-1*p.snapVelocityThreshold&&(p.snapToChildren&&!h)&&(I=-1);d<-1*u?d=-1*u:d>u&&(d=u);a(c)[0]!==a(z)[0]&&(I*=-1,d*=-2);z=F[E];if(p.infiniteSlider)var t=j[E],l=q[E];h=[];for(var u=[],C=0;C<r.length;C++)h[C]=r[C],C<f.length&&(u[C]=e.getSliderOffset(a(f[C]),"x"));for(;1<d||-1>d;){d*=frictionCoefficient;m+=d;if((m>-1*j[E]||m<-1*q[E])&&!p.infiniteSlider)d*=elasticFrictionCoefficient,m+=d;if(p.infiniteSlider){if(m<=-1*l){for(var l=a(c).width(),M=0,P=u[0],C=0;C<u.length;C++)u[C]<P&&(P=u[C],M=C);C=t+l;u[M]=C;t=-1*h[1]+B;l=t+l-N;h.splice(0,1);h.splice(h.length,0,-1*C+B);z++}if(m>=-1*t){l=a(c).width();M=0;P=u[0];for(C=0;C<u.length;C++)u[C]>P&&(P=u[C],M=C);C=t-s[M];u[M]=C;h.splice(0,0,-1*C+B);h.splice(h.length-1,1);t=-1*h[0]+B;l=t+l-N;z--}}g[g.length]=m}u=!1;d=e.calcActiveOffset(p,m,h,N,z,k,w[E],E);t=(d+z+k)%k;p.snapToChildren&&(p.infiniteSlider?t!=aa[E]&&(u=!0):d!=w[E]&&(u=!0),0>I&&!u?(d++,d>=r.length&&!p.infinteSlider&&(d=r.length-1)):0<I&&!u&&(d--,0>d&&!p.infinteSlider&&(d=0)));if(p.snapToChildren||(m>-1*j[E]||m<-1*q[E])&&!p.infiniteSlider){(m>-1*j[E]||m<-1*q[E])&&!p.infiniteSlider?g.splice(0,g.length):(g.splice(0.1*g.length,g.length),m=0<g.length?g[g.length-1]:m);for(;m<h[d]-0.5||m>h[d]+0.5;)m=(m-h[d])*snapFrictionCoefficient+h[d],g[g.length]=m;g[g.length]=h[d]}I=1;0!=g.length%2&&(I=0);for(m=0;m<b.length;m++)clearTimeout(b[m]);z=(d+z+k)%k;t=0;for(m=I;m<g.length;m+=2)if(m==I||1<Math.abs(g[m]-t)||m>=g.length-2)t=g[m],b[b.length]=e.slowScrollHorizontalIntervalTimer(10*m,c,f,g[m],x,T,N,G,v,K,d,y,r,n,k,s,E,B,z,p);t=(d+F[E]+k)%k;""!=p.onSlideComplete&&1<g.length&&(b[b.length]=e.onSlideCompleteTimer(10*(m+1),p,c,a(c).children(":eq("+t+")"),z,E));Z[E]=b;e.hideScrollbar(p,b,m,g,x,T,N,v,K,E)},onSlideComplete:function(c,f,b,x){b=new e.args("complete",c,a(f),b,x,x);a(f).parent().data("args",b);if(""!=c.onSlideComplete)c.onSlideComplete(b)},getSliderOffset:function(c,e){var b=0;e="x"==e?4:5;if(da&&!$&&!X){for(var b=["-webkit-transform","-moz-transform","transform"],x=0;x<b.length;x++)if(void 0!=a(c).css(b[x])&&0<a(c).css(b[x]).length){var d=a(c).css(b[x]).split(",");break}b=parseInt(d[e],10)}else b=parseInt(a(c).css("left"),10);return b},setSliderOffset:function(c,e){da&&!$&&!X?a(c).css({webkitTransform:"matrix(1,0,0,1,"+e+",0)",MozTransform:"matrix(1,0,0,1,"+e+",0)",transform:"matrix(1,0,0,1,"+e+",0)"}):a(c).css({left:e+"px"})},setBrowserInfo:function(){null!=navigator.userAgent.match("WebKit")?(fa="-webkit-grab",sa="-webkit-grabbing"):null!=navigator.userAgent.match("Gecko")?(fa="move",sa="-moz-grabbing"):null!=navigator.userAgent.match("MSIE 7")?na=$=!0:null!=navigator.userAgent.match("MSIE 8")?na=X=!0:null!=navigator.userAgent.match("MSIE 9")&&(na=!0)},has3DTransform:function(){var c=!1,e=a("<div />").css({webkitTransform:"matrix(1,1,1,1,1,1)",MozTransform:"matrix(1,1,1,1,1,1)",transform:"matrix(1,1,1,1,1,1)"});""==e.attr("style")?c=!1:void 0!=e.attr("style")&&(c=!0);return c},getSlideNumber:function(a,e,b){return(a-F[e]+b)%b},calcActiveOffset:function(a,e,b,x,d,g){d=!1;a=[];var j;e>b[0]&&(j=0);e<b[b.length-1]&&(j=g-1);for(g=0;g<b.length;g++)b[g]<=e&&b[g]>e-x&&(!d&&b[g]!=e&&(a[a.length]=b[g-1]),a[a.length]=b[g],d=!0);0==a.length&&(a[0]=b[b.length-1]);for(g=d=0;g<a.length;g++){var q=Math.abs(e-a[g]);q<x&&(d=a[g],x=q)}for(g=0;g<b.length;g++)d==b[g]&&(j=g);return j},changeSlide:function(c,f,b,x,d,g,j,q,G,v,K,y,r,s,E,n,k,z){e.autoSlidePause(s);for(var h=0;h<x.length;h++)clearTimeout(x[h]);var B=Math.ceil(z.autoSlideTransTimer/10)+1,p=e.getSliderOffset(f,"x"),m=y[c],m=m-p,I=c-(w[s]+F[s]+n)%n;if(z.infiniteSlider){c=(c-F[s]+2*n)%n;h=!1;0==c&&2==n&&(c=n,y[c]=y[c-1]-a(b).eq(0).outerWidth(!0),h=!0);var m=y[c],m=m-p,u=[y[c]-a(f).width(),y[c]+a(f).width()];h&&y.splice(y.length-1,1);for(h=0;h<u.length;h++)Math.abs(u[h]-p)<Math.abs(m)&&(m=u[h]-p);0>m&&-1==I?m+=a(f).width():0<m&&1==I&&(m-=a(f).width())}I=[];e.showScrollbar(z,d);for(h=0;h<=B;h++)u=h,u/=B,u--,u=p+m*(Math.pow(u,5)+1),I[I.length]=u;for(h=p=0;h<I.length;h++){if(0==h||1<Math.abs(I[h]-p)||h>=I.length-2)p=I[h],x[h]=e.slowScrollHorizontalIntervalTimer(10*(h+1),f,b,I[h],d,g,j,q,G,v,c,K,y,E,n,r,s,k,c,z);0==h&&""!=z.onSlideStart&&(B=(w[s]+F[s]+n)%n,z.onSlideStart(new e.args("start",z,f,a(f).children(":eq("+B+")"),B,c)))}p=!1;B=(c+F[s]+n)%n;z.infiniteSlider?B!=aa[s]&&(p=!0):c!=w[s]&&(p=!0);p&&""!=z.onSlideComplete&&(x[x.length]=e.onSlideCompleteTimer(10*(h+1),z,f,a(f).children(":eq("+B+")"),B,s));Z[s]=x;e.hideScrollbar(z,x,h,I,d,g,j,G,v,s);e.autoSlide(f,b,x,d,g,j,q,G,v,K,y,r,s,E,n,k,z)},autoSlide:function(a,f,b,x,d,g,j,q,G,v,K,y,r,s,E,n,k){if(!S[r].autoSlide)return!1;e.autoSlidePause(r);ga[r]=setTimeout(function(){!k.infiniteSlider&&w[r]>K.length-1&&(w[r]-=E);e.changeSlide((w[r]+F[r]+E+1)%E,a,f,b,x,d,g,j,q,G,v,K,y,r,s,E,n,k);e.autoSlide(a,f,b,x,d,g,j,q,G,v,K,y,r,s,E,n,k)},k.autoSlideTimer+k.autoSlideTransTimer)},autoSlidePause:function(a){clearTimeout(ga[a])},isUnselectable:function(c,e){return""!=e.unselectableSelector&&1==a(c).closest(e.unselectableSelector).size()?!0:!1},slowScrollHorizontalIntervalTimer:function(a,f,b,x,d,g,j,q,w,v,F,y,r,s,E,n,k,z,h,B){return setTimeout(function(){e.slowScrollHorizontalInterval(f,b,x,d,g,j,q,w,v,F,y,r,s,E,n,k,z,h,B)},a)},onSlideCompleteTimer:function(a,f,b,x,d,g){return setTimeout(function(){e.onSlideComplete(f,b,x,d,g)},a)},hideScrollbarIntervalTimer:function(a,f,b,x,d,g,j,q,w,v){return setTimeout(function(){e.hideScrollbarInterval(f,b,x,d,g,j,q,w,v)},a)},args:function(c,f,b,j,d,g){this.prevSlideNumber=void 0==a(b).parent().data("args")?void 0:a(b).parent().data("args").prevSlideNumber;this.prevSlideObject=void 0==a(b).parent().data("args")?void 0:a(b).parent().data("args").prevSlideObject;this.targetSlideNumber=g+1;this.targetSlideObject=a(b).children(":eq("+this.targetSlideOffset+")");this.slideChanged=!1;"load"==c?this.targetSlideObject=this.targetSlideNumber=void 0:"start"==c?this.targetSlideObject=this.targetSlideNumber=void 0:"change"==c?(this.slideChanged=!0,this.prevSlideNumber=void 0==a(b).parent().data("args")?f.startAtSlide:a(b).parent().data("args").currentSlideNumber,this.prevSlideObject=a(b).children(":eq("+this.prevSlideNumber+")")):"complete"==c&&(this.slideChanged=a(b).parent().data("args").slideChanged);this.settings=f;this.data=a(b).parent().data("iosslider");this.sliderObject=b;this.sliderContainerObject=a(b).parent();this.currentSlideObject=j;this.currentSlideNumber=d+1;this.currentSliderOffset=-1*e.getSliderOffset(b,"x")},preventDrag:function(a){a.preventDefault()},preventClick:function(a){a.stopImmediatePropagation();return!1},enableClick:function(){return!0}};e.setBrowserInfo();var V={init:function(c,f){da=e.has3DTransform();var b=a.extend(!0,{elasticPullResistance:0.6,frictionCoefficient:0.92,elasticFrictionCoefficient:0.6,snapFrictionCoefficient:0.92,snapToChildren:!1,snapSlideCenter:!1,startAtSlide:1,scrollbar:!1,scrollbarDrag:!1,scrollbarHide:!0,scrollbarLocation:"top",scrollbarContainer:"",scrollbarOpacity:0.4,scrollbarHeight:"4px",scrollbarBorder:"0",scrollbarMargin:"5px",scrollbarBackground:"#000",scrollbarBorderRadius:"100px",scrollbarShadow:"0 0 0 #000",scrollbarElasticPullResistance:0.9,desktopClickDrag:!1,keyboardControls:!1,tabToAdvance:!1,responsiveSlideContainer:!0,responsiveSlides:!0,navSlideSelector:"",navPrevSelector:"",navNextSelector:"",autoSlideToggleSelector:"",autoSlide:!1,autoSlideTimer:5E3,autoSlideTransTimer:750,autoSlideHoverPause:!0,infiniteSlider:!1,snapVelocityThreshold:5,slideStartVelocityThreshold:0,horizontalSlideLockThreshold:5,verticalSlideLockThreshold:3,stageCSS:{position:"relative",top:"0",left:"0",overflow:"hidden",zIndex:1},unselectableSelector:"",onSliderLoaded:"",onSliderUpdate:"",onSliderResize:"",onSlideStart:"",onSlideChange:"",onSlideComplete:""},c);void 0==f&&(f=this);return a(f).each(function(){function c(){e.autoSlidePause(d);va=a(D).find("a");za=a(D).find("[onclick]");oa=a(D).find("*");a(z).css("width","");a(z).css("height","");a(D).css("width","");A=a(D).children().not("script").get();ha=[];L=[];a(A).css("width","");q[d]=0;l=[];E=a(z).parent().width();h=a(z).outerWidth(!0);b.responsiveSlideContainer&&(h=a(z).outerWidth(!0)>E?E:a(z).outerWidth(!0));a(z).css({position:b.stageCSS.position,top:b.stageCSS.top,left:b.stageCSS.left,overflow:b.stageCSS.overflow,zIndex:b.stageCSS.zIndex,webkitPerspective:1E3,webkitBackfaceVisibility:"hidden",msTouchAction:"pan-y",width:h});a(b.unselectableSelector).css({cursor:"default"});for(var H=0;H<A.length;H++){ha[H]=a(A[H]).width();L[H]=a(A[H]).outerWidth(!0);var x=L[H];b.responsiveSlides&&(x=L[H]>h?h+-1*(L[H]-ha[H]):ha[H],a(A[H]).css({width:x}));a(A[H]).css({webkitBackfaceVisibility:"hidden",position:"absolute",top:0});l[H]=-1*q[d];q[d]=q[d]+x+(L[H]-ha[H])}b.snapSlideCenter&&(k=0.5*(h-L[0]),b.responsiveSlides&&L[0]>h&&(k=0));ua[d]=2*q[d];for(H=0;H<A.length;H++)e.setSliderOffset(a(A[H]),-1*l[H]+q[d]+k),l[H]-=q[d];if(!b.infiniteSlider&&!b.snapSlideCenter){for(H=0;H<l.length&&!(l[H]<=-1*(2*q[d]-h));H++)ga=H;l.splice(ga+1,l.length);l[l.length]=-1*(2*q[d]-h)}for(H=0;H<l.length;H++)C[H]=l[H];u&&(b.startAtSlide=S[d].startAtSlide>l.length?l.length:S[d].startAtSlide,b.infiniteSlider?(b.startAtSlide=(S[d].startAtSlide-1+J)%J,w[d]=S[d].startAtSlide):(b.startAtSlide=0>S[d].startAtSlide-1?l.length-1:S[d].startAtSlide,w[d]=S[d].startAtSlide-1),aa[d]=w[d]);j[d]=q[d]+k;a(D).css({position:"relative",cursor:fa,webkitPerspective:"0",webkitBackfaceVisibility:"hidden",width:q[d]+"px"});Q=q[d];q[d]=2*q[d]-h+2*k;(Y=Q<h?!0:!1)&&a(D).css({cursor:"default"});n=a(z).parent().outerHeight(!0);B=a(z).height();b.responsiveSlideContainer&&(B=B>n?n:B);a(z).css({height:B});e.setSliderOffset(D,l[w[d]]);if(b.infiniteSlider&&!Y){H=e.getSliderOffset(a(D),"x");for(x=-1*((F[d]+J)%J);0>x;){var t=0,ia=e.getSliderOffset(a(A[0]),"x");a(A).each(function(a){e.getSliderOffset(this,"x")<ia&&(ia=e.getSliderOffset(this,"x"),t=a)});var I=j[d]+Q;e.setSliderOffset(a(A)[t],I);j[d]=-1*l[1]+k;q[d]=j[d]+Q-h;l.splice(0,1);l.splice(l.length,0,-1*I+k);x++}for(;0<-1*l[0]-Q+k&&b.snapSlideCenter&&u;){var M=0,N=e.getSliderOffset(a(A[0]),"x");a(A).each(function(a){e.getSliderOffset(this,"x")>N&&(N=e.getSliderOffset(this,"x"),M=a)});I=j[d]-L[M];e.setSliderOffset(a(A)[M],I);l.splice(0,0,-1*I+k);l.splice(l.length-1,1);j[d]=-1*l[0]+k;q[d]=j[d]+Q-h;F[d]--;w[d]++}for(;H<=-1*q[d];)t=0,ia=e.getSliderOffset(a(A[0]),"x"),a(A).each(function(a){e.getSliderOffset(this,"x")<ia&&(ia=e.getSliderOffset(this,"x"),t=a)}),I=j[d]+Q,e.setSliderOffset(a(A)[t],I),j[d]=-1*l[1]+k,q[d]=j[d]+Q-h,l.splice(0,1),l.splice(l.length,0,-1*I+k),F[d]++,w[d]--}e.setSliderOffset(D,l[w[d]]);b.desktopClickDrag||a(D).css({cursor:"default"});b.scrollbar&&(a("."+G).css({margin:b.scrollbarMargin,overflow:"hidden",display:"none"}),a("."+G+" ."+v).css({border:b.scrollbarBorder}),p=parseInt(a("."+G).css("marginLeft"))+parseInt(a("."+G).css("marginRight")),m=parseInt(a("."+G+" ."+v).css("borderLeftWidth"),10)+parseInt(a("."+G+" ."+v).css("borderRightWidth"),10),r=""!=b.scrollbarContainer?a(b.scrollbarContainer).width():h,s=h/Q*(r-p),b.scrollbarHide||(V=b.scrollbarOpacity),a("."+G).css({position:"absolute",left:0,width:r-p+"px",margin:b.scrollbarMargin}),"top"==b.scrollbarLocation?a("."+G).css("top","0"):a("."+G).css("bottom","0"),a("."+G+" ."+v).css({borderRadius:b.scrollbarBorderRadius,background:b.scrollbarBackground,height:b.scrollbarHeight,width:s-m+"px",minWidth:b.scrollbarHeight,border:b.scrollbarBorder,webkitPerspective:1E3,webkitBackfaceVisibility:"hidden",position:"relative",opacity:V,filter:"alpha(opacity:"+100*V+")",boxShadow:b.scrollbarShadow}),e.setSliderOffset(a("."+G+" ."+v),Math.floor((-1*l[w[d]]-j[d]+k)/(q[d]-j[d]+k)*(r-p-s))),a("."+G).css({display:"block"}),K=a("."+G+" ."+v),y=a("."+G));b.scrollbarDrag&&!Y&&a("."+G+" ."+v).css({cursor:fa});b.infiniteSlider&&(R=(q[d]+h)/3);""!=b.navSlideSelector&&a(b.navSlideSelector).each(function(c){a(this).css({cursor:"pointer"});a(this).unbind(O).bind(O,function(H){"touchstart"==H.type?a(this).unbind("click.iosSliderEvent"):a(this).unbind("touchstart.iosSliderEvent");O=H.type+".iosSliderEvent";e.changeSlide(c,D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b)})});""!=b.navPrevSelector&&(a(b.navPrevSelector).css({cursor:"pointer"}),a(b.navPrevSelector).unbind(O).bind(O,function(c){"touchstart"==c.type?a(this).unbind("click.iosSliderEvent"):a(this).unbind("touchstart.iosSliderEvent");O=c.type+".iosSliderEvent";c=(w[d]+F[d]+J)%J;(0<c||b.infiniteSlider)&&e.changeSlide(c-1,D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b)}));""!=b.navNextSelector&&(a(b.navNextSelector).css({cursor:"pointer"}),a(b.navNextSelector).unbind(O).bind(O,function(c){"touchstart"==c.type?a(this).unbind("click.iosSliderEvent"):a(this).unbind("touchstart.iosSliderEvent");O=c.type+".iosSliderEvent";c=(w[d]+F[d]+J)%J;(c<l.length-1||b.infiniteSlider)&&e.changeSlide(c+1,D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b)}));b.autoSlide&&!Y&&""!=b.autoSlideToggleSelector&&(a(b.autoSlideToggleSelector).css({cursor:"pointer"}),a(b.autoSlideToggleSelector).unbind(O).bind(O,function(c){"touchstart"==c.type?a(this).unbind("click.iosSliderEvent"):a(this).unbind("touchstart.iosSliderEvent");O=c.type+".iosSliderEvent";wa?(e.autoSlide(D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b),wa=!1,a(b.autoSlideToggleSelector).removeClass("on")):(e.autoSlidePause(d),wa=!0,a(b.autoSlideToggleSelector).addClass("on"))}));e.autoSlide(D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b);a(z).bind("mouseleave.iosSliderEvent",function(){e.autoSlide(D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b)});a(z).bind("touchend.iosSliderEvent",function(){e.autoSlide(D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b)});b.autoSlidePauseHover&&a(z).bind("mouseenter.iosSliderEvent",function(){e.autoSlidePause(d)});a(z).data("iosslider",{obj:Aa,settings:b,scrollerNode:D,slideNodes:A,numberOfSlides:J,centeredSlideOffset:k,sliderNumber:d,originalOffsets:C,childrenOffsets:l,sliderMax:q[d],scrollbarClass:v,scrollbarWidth:s,scrollbarStageWidth:r,stageWidth:h,scrollMargin:p,scrollBorder:m,infiniteSliderOffset:F[d],infiniteSliderWidth:R,slideNodeOuterWidths:L});u=!1;return!0}ma++;var d=ma,f=[];S[d]=b;j[d]=0;q[d]=0;var T=[0,0],N=[0,0],G="scrollbarBlock"+ma,v="scrollbar"+ma,K,y,r,s,E,n,k=0,z=a(this),h,B,p,m,I,u=!0,t=-1,l,C=[],V=0,P=0,da=0,D=a(this).children(":first-child"),A,ha,L,J=a(D).children().not("script").size(),U=!1,ga=0,xa=!1,pa=void 0,R;F[d]=0;var Y=!1,wa=!1;ta[d]=!1;var qa,ra=!1,ja=!1,O="touchstart.iosSliderEvent click.iosSliderEvent",Q,va,za,oa;ea[d]=!1;Z[d]=[];b.scrollbarDrag&&(b.scrollbar=!0,b.scrollbarHide=!1);var Aa=a(this);if(void 0!=Aa.data("iosslider"))return!0;a(this).find("img").bind("dragstart.iosSliderEvent",function(a){a.preventDefault()});b.infiniteSlider&&(b.scrollbar=!1);b.infiniteSlider&&1==J&&(b.infiniteSlider=!1);b.scrollbar&&(""!=b.scrollbarContainer?a(b.scrollbarContainer).append("<div class = '"+G+"'><div class = '"+v+"'></div></div>"):a(D).parent().append("<div class = '"+G+"'><div class = '"+v+"'></div></div>"));if(!c())return!0;a(this).find("a").bind("mousedown",e.preventDrag);a(this).find("[onclick]").bind("click",e.preventDrag).each(function(){a(this).data("onclick",this.onclick)});t=e.calcActiveOffset(b,e.getSliderOffset(a(D),"x"),l,h,F[d],J,void 0,d);t=(t+F[d]+J)%J;t=new e.args("load",b,D,a(D).children(":eq("+t+")"),t,t);a(z).data("args",t);if(""!=b.onSliderLoaded)b.onSliderLoaded(t);if(S[d].responsiveSlides||S[d].responsiveSlideContainer)t=Ca?"orientationchange":"resize",a(window).bind(t+".iosSliderEvent-"+d,function(){if(!c())return!0;var d=a(z).data("args");if(""!=b.onSliderResize)b.onSliderResize(d)});(b.keyboardControls||b.tabToAdvance)&&!Y&&a(document).bind("keydown.iosSliderEvent",function(a){!$&&!X&&(a=a.originalEvent);if(37==a.keyCode&&b.keyboardControls)a.preventDefault(),a=(w[d]+F[d]+J)%J,(0<a||b.infiniteSlider)&&e.changeSlide(a-1,D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b);else if(39==a.keyCode&&b.keyboardControls||9==a.keyCode&&b.tabToAdvance)a.preventDefault(),a=(w[d]+F[d]+J)%J,(a<l.length-1||b.infiniteSlider)&&e.changeSlide(a+1,D,A,f,v,s,h,r,p,m,C,l,L,d,R,J,k,b)});if(Ba||b.desktopClickDrag){var ba=!1,ka=a(D),la=a(D),ya=!1;b.scrollbarDrag&&(ka=ka.add(K),la=la.add(y));a(ka).bind("mousedown.iosSliderEvent touchstart.iosSliderEvent",function(c){if(ba)return!0;ba=!0;"touchstart"==c.type?a(la).unbind("mousedown.iosSliderEvent"):a(la).unbind("touchstart.iosSliderEvent");if(ea[d]||Y||(ya=e.isUnselectable(c.target,b)))return U=ba=!1,!0;qa=a(this)[0]===a(K)[0]?K:D;!$&&!X&&(c=c.originalEvent);e.autoSlidePause(d);oa.unbind(".disableClick");if("touchstart"==c.type)eventX=c.touches[0].pageX,eventY=c.touches[0].pageY;else{if(window.getSelection)window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges();else if(document.selection)if(X)try{document.selection.empty()}catch(h){}else document.selection.empty();eventX=c.pageX;eventY=c.pageY;xa=!0;pa=D;a(this).css({cursor:sa})}T=[0,0];N=[0,0];W=0;U=!1;for(c=0;c<f.length;c++)clearTimeout(f[c]);c=e.getSliderOffset(D,"x");c>-1*j[d]+k+Q?(c=-1*j[d]+k+Q,e.setSliderOffset(a("."+v),c),a("."+v).css({width:s-m+"px"})):c<-1*q[d]&&(e.setSliderOffset(a("."+v),r-p-s),a("."+v).css({width:s-m+"px"}));c=a(this)[0]===a(K)[0]?j[d]:0;P=-1*(e.getSliderOffset(this,"x")-eventX-c);e.getSliderOffset(this,"y");T[1]=eventX;N[1]=eventY;ja=!1});a(la).bind("touchmove.iosSliderEvent mousemove.iosSliderEvent",function(c){!$&&!X&&(c=c.originalEvent);if(ea[d]||Y||ya)return!0;var f=0;if("touchmove"==c.type)eventX=c.touches[0].pageX,eventY=c.touches[0].pageY;else{if(window.getSelection)window.getSelection().empty||window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges();else if(document.selection)if(X)try{document.selection.empty()}catch(x){}else document.selection.empty();eventX=c.pageX;eventY=c.pageY;if(!xa||!na&&("undefined"!=typeof c.webkitMovementX||"undefined"!=typeof c.webkitMovementY)&&0===c.webkitMovementY&&0===c.webkitMovementX)return!0}T[0]=T[1];T[1]=eventX;W=(T[1]-T[0])/2;N[0]=N[1];N[1]=eventY;ca=(N[1]-N[0])/2;if(!U){var g=(w[d]+F[d]+J)%J,g=new e.args("start",b,D,a(D).children(":eq("+g+")"),g,void 0);a(z).data("args",g);if(""!=b.onSlideStart)b.onSlideStart(g)}if((ca>b.verticalSlideLockThreshold||ca<-1*b.verticalSlideLockThreshold)&&"touchmove"==c.type&&!U)ra=!0;(W>b.horizontalSlideLockThreshold||W<-1*b.horizontalSlideLockThreshold)&&"touchmove"==c.type&&c.preventDefault();if(W>b.slideStartVelocityThreshold||W<-1*b.slideStartVelocityThreshold)U=!0;if(U&&!ra){var g=e.getSliderOffset(D,"x"),n=a(this)[0]===a(y)[0]?j[d]:k,u=a(this)[0]===a(y)[0]?(j[d]-q[d]-k)/(r-p-s):1,t=a(this)[0]===a(y)[0]?b.scrollbarElasticPullResistance:b.elasticPullResistance,E=b.snapSlideCenter&&a(this)[0]===a(y)[0]?0:k,G=b.snapSlideCenter&&a(this)[0]===a(y)[0]?k:0;"touchmove"==c.type&&(da!=c.touches.length&&(P=-1*g+eventX),da=c.touches.length);if(b.infiniteSlider){if(g<=-1*q[d]){var B=a(D).width();if(g<=-1*ua[d]){var K=-1*C[0];a(A).each(function(b){e.setSliderOffset(a(A)[b],K+k);b<l.length&&(l[b]=-1*K);K+=L[b]});P-=-1*l[0];j[d]=-1*l[0]+k;q[d]=j[d]+B-h;F[d]=0}else{var R=0,S=e.getSliderOffset(a(A[0]),"x");a(A).each(function(a){e.getSliderOffset(this,"x")<S&&(S=e.getSliderOffset(this,"x"),R=a)});t=j[d]+B;e.setSliderOffset(a(A)[R],t);j[d]=-1*l[1]+k;q[d]=j[d]+B-h;l.splice(0,1);l.splice(l.length,0,-1*t+k);F[d]++}}if(g>=-1*j[d]||0<=g)if(B=a(D).width(),0<=g){K=-1*C[0];a(A).each(function(b){e.setSliderOffset(a(A)[b],K+k);b<l.length&&(l[b]=-1*K);K+=L[b]});P+=-1*l[0];j[d]=-1*l[0]+k;q[d]=j[d]+B-h;for(F[d]=J;0<-1*l[0]-B+k;){var O=0,Q=e.getSliderOffset(a(A[0]),"x");a(A).each(function(a){e.getSliderOffset(this,"x")>Q&&(Q=e.getSliderOffset(this,"x"),O=a)});t=j[d]-L[O];e.setSliderOffset(a(A)[O],t);l.splice(0,0,-1*t+k);l.splice(l.length-1,1);j[d]=-1*l[0]+k;q[d]=j[d]+B-h;F[d]--;w[d]++}}else O=0,Q=e.getSliderOffset(a(A[0]),"x"),a(A).each(function(a){e.getSliderOffset(this,"x")>Q&&(Q=e.getSliderOffset(this,"x"),O=a)}),t=j[d]-L[O],e.setSliderOffset(a(A)[O],t),l.splice(0,0,-1*t+k),l.splice(l.length-1,1),j[d]=-1*l[0]+k,q[d]=j[d]+B-h,F[d]--}else B=a(D).width(),g>-1*j[d]+k&&(f=-1*(j[d]+-1*(P-n-eventX+E)*u-n)*t/u),g<-1*q[d]&&(f=-1*(q[d]+G+-1*(P-n-eventX)*u-n)*t/u);e.setSliderOffset(D,-1*(P-n-eventX-f)*u-n+G);b.scrollbar&&(e.showScrollbar(b,v),M=Math.floor((P-eventX-f-j[d]+E)/(q[d]-j[d]+k)*(r-p-s)*u),g=s,0>=M?(g=s-m- -1*M,e.setSliderOffset(a("."+v),0),a("."+v).css({width:g+"px"})):M>=r-p-m-s?(g=r-p-m-M,e.setSliderOffset(a("."+v),M),a("."+v).css({width:g+"px"})):e.setSliderOffset(a("."+v),M));"touchmove"==c.type&&(I=c.touches[0].pageX);c=!1;f=e.calcActiveOffset(b,-1*(P-eventX-f),l,h,F[d],J,void 0,d);g=(f+F[d]+J)%J;b.infiniteSlider?g!=aa[d]&&(c=!0):f!=w[d]&&(c=!0);if(c&&(w[d]=f,aa[d]=g,ja=!0,g=new e.args("change",b,D,a(D).children(":eq("+g+")"),g,g),a(z).data("args",g),""!=b.onSlideChange))b.onSlideChange(g)}ba=!1});t=a(window);if(X||$)t=a(document);a(ka).bind("touchend.iosSliderEvent",function(a){a=a.originalEvent;if(ea[d]||Y||ya)return!0;if(0!=a.touches.length)for(var c=0;c<a.touches.length;c++)a.touches[c].pageX==I&&e.slowScrollHorizontal(D,A,f,v,W,ca,s,h,r,p,m,C,l,L,d,R,J,qa,ja,k,b);else e.slowScrollHorizontal(D,A,f,v,W,ca,s,h,r,p,m,C,l,L,d,R,J,qa,ja,k,b);ba=ra=!1});a(t).bind("mouseup.iosSliderEvent-"+d,function(){U?va.unbind("click.disableClick").bind("click.disableClick",e.preventClick):va.unbind("click.disableClick").bind("click.disableClick",e.enableClick);za.each(function(){this.onclick=function(b){if(U)return!1;a(this).data("onclick").call(this,b||window.event)}});1.8<=parseFloat(a().jquery)?oa.each(function(){var b=a._data(this,"events");if(void 0!=b&&void 0!=b.click&&"iosSliderEvent"!=b.click[0].namespace){if(!U)return!1;a(this).one("click.disableClick",e.preventClick);var b=a._data(this,"events").click,c=b.pop();b.splice(0,0,c)}}):1.6<=parseFloat(a().jquery)&&oa.each(function(){var b=a(this).data("events");if(void 0!=b&&void 0!=b.click&&"iosSliderEvent"!=b.click[0].namespace){if(!U)return!1;a(this).one("click.disableClick",e.preventClick);var b=a(this).data("events").click,c=b.pop();b.splice(0,0,c)}});if(!ta[d]){if(Y)return!0;a(ka).css({cursor:fa});xa=!1;if(void 0==pa)return!0;e.slowScrollHorizontal(pa,A,f,v,W,ca,s,h,r,p,m,C,l,L,d,R,J,qa,ja,k,b);pa=void 0}ba=ra=!1})}})},destroy:function(c,f){void 0==f&&(f=this);return a(f).each(function(){var b=a(this),f=b.data("iosslider");if(void 0==f)return!1;void 0==c&&(c=!0);e.autoSlidePause(f.sliderNumber);ta[f.sliderNumber]=!0;a(window).unbind(".iosSliderEvent-"+f.sliderNumber);a(document).unbind(".iosSliderEvent-"+f.sliderNumber);a(document).unbind("keydown.iosSliderEvent");a(this).unbind(".iosSliderEvent");a(this).children(":first-child").unbind(".iosSliderEvent");a(this).children(":first-child").children().unbind(".iosSliderEvent");c&&(a(this).attr("style",""),a(this).children(":first-child").attr("style",""),a(this).children(":first-child").children().attr("style",""),a(f.settings.navSlideSelector).attr("style",""),a(f.settings.navPrevSelector).attr("style",""),a(f.settings.navNextSelector).attr("style",""),a(f.settings.autoSlideToggleSelector).attr("style",""),a(f.settings.unselectableSelector).attr("style",""));f.settings.scrollbar&&a(".scrollbarBlock"+f.sliderNumber).remove();for(var f=Z[f.sliderNumber],d=0;d<f.length;d++)clearTimeout(f[d]);b.removeData("iosslider");b.removeData("args")})},update:function(c){void 0==c&&(c=this);return a(c).each(function(){var c=a(this),b=c.data("iosslider");if(void 0==b)return!1;b.settings.startAtSlide=c.data("args").currentSlideNumber;V.destroy(!1,this);1!=b.numberOfSlides&&b.settings.infiniteSlider&&(b.settings.startAtSlide=(w[b.sliderNumber]+1+F[b.sliderNumber]+b.numberOfSlides)%b.numberOfSlides);V.init(b.settings,this);c=new e.args("update",b.settings,b.scrollerNode,a(b.scrollerNode).children(":eq("+(b.settings.startAtSlide-1)+")"),b.settings.startAtSlide-1,b.settings.startAtSlide-1);a(b.stageNode).data("args",c);if(""!=b.settings.onSliderUpdate)b.settings.onSliderUpdate(c)})},addSlide:function(c,e){return this.each(function(){var b=a(this),j=b.data("iosslider");if(void 0==j)return!1;0==a(j.scrollerNode).children().size()?(a(j.scrollerNode).append(c),b.data("args").currentSlideNumber=1):j.settings.infiniteSlider?(1==e?a(j.scrollerNode).children(":eq(0)").before(c):a(j.scrollerNode).children(":eq("+(e-2)+")").after(c),-1>F[j.sliderNumber]&&w[j.sliderNumber]--,b.data("args").currentSlideNumber>=e&&w[j.sliderNumber]++):(e<=j.numberOfSlides?a(j.scrollerNode).children(":eq("+(e-1)+")").before(c):a(j.scrollerNode).children(":eq("+(e-2)+")").after(c),b.data("args").currentSlideNumber>=e&&b.data("args").currentSlideNumber++);b.data("iosslider").numberOfSlides++;V.update(this)})},removeSlide:function(c){return this.each(function(){var e=a(this).data("iosslider");if(void 0==e)return!1;a(e.scrollerNode).children(":eq("+(c-1)+")").remove();w[e.sliderNumber]>c-1&&w[e.sliderNumber]--;V.update(this)})},goToSlide:function(c,f){void 0==f&&(f=this);return a(f).each(function(){var b=a(this).data("iosslider");if(void 0==b)return!1;c=c>b.childrenOffsets.length?b.childrenOffsets.length-1:c-1;e.changeSlide(c,a(b.scrollerNode),a(b.slideNodes),Z[b.sliderNumber],b.scrollbarClass,b.scrollbarWidth,b.stageWidth,b.scrollbarStageWidth,b.scrollMargin,b.scrollBorder,b.originalOffsets,b.childrenOffsets,b.slideNodeOuterWidths,b.sliderNumber,b.infiniteSliderWidth,b.numberOfSlides,b.centeredSlideOffset,b.settings);w[b.sliderNumber]=c})},prevSlide:function(){return this.each(function(){var c=a(this).data("iosslider");if(void 0==c)return!1;var f=(w[c.sliderNumber]+F[c.sliderNumber]+c.numberOfSlides)%c.numberOfSlides;(0<f||c.settings.infiniteSlider)&&e.changeSlide(f-1,a(c.scrollerNode),a(c.slideNodes),Z[c.sliderNumber],c.scrollbarClass,c.scrollbarWidth,c.stageWidth,c.scrollbarStageWidth,c.scrollMargin,c.scrollBorder,c.originalOffsets,c.childrenOffsets,c.slideNodeOuterWidths,c.sliderNumber,c.infiniteSliderWidth,c.numberOfSlides,c.centeredSlideOffset,c.settings);w[c.sliderNumber]=f})},nextSlide:function(){return this.each(function(){var c=a(this).data("iosslider");if(void 0==c)return!1;var f=(w[c.sliderNumber]+F[c.sliderNumber]+c.numberOfSlides)%c.numberOfSlides;(f<c.childrenOffsets.length-1||c.settings.infiniteSlider)&&e.changeSlide(f+1,a(c.scrollerNode),a(c.slideNodes),Z[c.sliderNumber],c.scrollbarClass,c.scrollbarWidth,c.stageWidth,c.scrollbarStageWidth,c.scrollMargin,c.scrollBorder,c.originalOffsets,c.childrenOffsets,c.slideNodeOuterWidths,c.sliderNumber,c.infiniteSliderWidth,c.numberOfSlides,c.centeredSlideOffset,c.settings);w[c.sliderNumber]=f})},lock:function(){return this.each(function(){var c=a(this).data("iosslider");if(void 0==c)return!1;ea[c.sliderNumber]=!0})},unlock:function(){return this.each(function(){var c=a(this).data("iosslider");if(void 0==c)return!1;ea[c.sliderNumber]=!1})},getData:function(){return this.each(function(){var c=a(this).data("iosslider");return void 0==c?!1:c})},autoSlidePause:function(){return this.each(function(){var c=a(this).data("iosslider");if(void 0==c)return!1;S[c.sliderNumber].autoSlide=!1;e.autoSlidePause(c.sliderNumber);return c})},autoSlidePlay:function(){return this.each(function(){var c=a(this).data("iosslider");if(void 0==c)return!1;S[c.sliderNumber].autoSlide=!0;e.autoSlide(a(c.scrollerNode),a(c.slideNodes),Z[c.sliderNumber],c.scrollbarClass,c.scrollbarWidth,c.stageWidth,c.scrollbarStageWidth,c.scrollMargin,c.scrollBorder,c.originalOffsets,c.childrenOffsets,c.slideNodeOuterWidths,c.sliderNumber,c.infiniteSliderWidth,c.numberOfSlides,c.centeredSlideOffset,c.settings);return c})}};a.fn.iosSlider=function(c){if(V[c])return V[c].apply(this,Array.prototype.slice.call(arguments,1));if("object"===typeof c||!c)return V.init.apply(this,arguments);a.error("invalid method call!")}})(jQuery);
window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}
gtag('js',new Date());gtag('config','G-XTCR46V9PF');
(function($){$(window).load(function(){$('.productSlider').iosSlider({scrollbar:false,snapToChildren:true,desktopClickDrag:true,infiniteSlider:false,navPrevSelector:$('.products_slider_previous'),navNextSelector:$('.products_slider_next'),scrollbarHeight:'2',scrollbarBorderRadius:'0',scrollbarOpacity:'0.5',onSliderLoaded:productSlider2Load,onSlideChange:productSlider2Load,onSliderResize:productSlider2Load});$('.productThumbs .button').each(function(i){$(this).bind('click',function(){$('.productSlider').iosSlider('goToSlide',i+1);});});$('.productThumbs').iosSlider({desktopClickDrag:true,snapToChildren:true,snapSlideCenter:false,infiniteSlider:false});function productSlider2Load(args){currentSlide=args.currentSlideNumber;$('.productThumbs').iosSlider('goToSlide',args.currentSlideNumber);$('.productThumbs .button').removeClass('selected');$('.productThumbs .button:eq('+(args.currentSlideNumber-1)+')').addClass('selected');setTimeout(function(){var setHeight=$('.productSlider .item:eq('+(args.currentSlideNumber-1)+')').outerHeight(true);$('.productSlider').animate({height:setHeight},300);},300);}})})(jQuery);;
document.getElementById("ak_js_1").setAttribute("value",(new Date()).getTime());
jQuery(document).ready(function($){"use strict";$("#review_form_wrapper").prependTo("#review_form_wrapper_overlay");});
(function($){$(window).load(function(){$('.items_slider_id_1147181862 .items_slider').iosSlider({snapToChildren:true,desktopClickDrag:true,scrollbar:false,scrollbarHide:true,scrollbarLocation:'bottom',scrollbarHeight:'2px',scrollbarBackground:'#ccc',scrollbarBorder:'0',scrollbarMargin:'0',scrollbarOpacity:'1',navNextSelector:$('.items_slider_id_1147181862 .items_sliders_nav .big_arrow_right'),navPrevSelector:$('.items_slider_id_1147181862 .items_sliders_nav .big_arrow_left'),onSliderLoaded:items_slider_UpdateSliderHeight,onSlideChange:items_slider_UpdateSliderHeight,onSliderResize:items_slider_UpdateSliderHeight});function items_slider_UpdateSliderHeight(args){currentSlide=args.currentSlideNumber;setTimeout(function(){var setHeight=$('.items_slider_id_1147181862 .items_slider .product_item:eq('+(args.currentSlideNumber-1)+')').outerHeight(true);$('.items_slider_id_1147181862 .items_slider').animate({height:setHeight+20},300);},300);}})})(jQuery);
(function($){$(window).load(function(){$('.items_slider_id_457989206 .items_slider').iosSlider({snapToChildren:true,desktopClickDrag:true,navNextSelector:$('.items_slider_id_457989206 .items_sliders_nav .big_arrow_right'),navPrevSelector:$('.items_slider_id_457989206 .items_sliders_nav .big_arrow_left'),onSliderLoaded:items_slider_UpdateSliderHeight,onSlideChange:items_slider_UpdateSliderHeight,onSliderResize:items_slider_UpdateSliderHeight});function items_slider_UpdateSliderHeight(args){currentSlide=args.currentSlideNumber;setTimeout(function(){var setHeight=$('.items_slider_id_457989206 .items_slider .product_item:eq('+(args.currentSlideNumber-1)+')').outerHeight(true);$('.items_slider_id_457989206 .items_slider').animate({height:setHeight+20},300);},300);}})})(jQuery);
var c=document.body.className;c=c.replace(/woocommerce-no-js/,'woocommerce-js');document.body.className=c;
/*! jQuery UI - v1.13.1 - 2022-01-20
* http://jqueryui.com
* Includes: data.js, disable-selection.js, escape-selector.js, focusable.js, form-reset-mixin.js, form.js, ie.js, jquery-1-7.js, keycode.js, labels.js, plugin.js, position.js, safe-active-element.js, safe-blur.js, scroll-parent.js, tabbable.js, unique-id.js, version.js, widget.js
* Copyright jQuery Foundation and other contributors; Licensed  */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.1",
/*!
 * jQuery UI :data 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
/*!
 * jQuery UI Disable Selection 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
/*!
 * jQuery UI Focusable 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.ui.focusable=function(t,e){var i,n,o,s,r=t.nodeName.toLowerCase();return"area"===r?(n=(i=t.parentNode).name,!(!t.href||!n||"map"!==i.nodeName.toLowerCase())&&(0<(n=x("img[usemap='#"+n+"']")).length&&n.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(r)?(o=!t.disabled)&&(s=x(t).closest("fieldset")[0])&&(o=!s.disabled):o="a"===r&&t.href||e,o&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
/*!
 * jQuery UI Form Reset Mixin 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
/*!
 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.0
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 */
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
/*!
 * jQuery UI Keycode 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
/*!
 * jQuery UI Labels 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
/*!
 * jQuery UI Position 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 *
 * http://api.jqueryui.com/position/
 */
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){if(void 0!==n)return n;var t,e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>"),i=e.children()[0];return x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){if(!f||!f.of)return h.apply(this,arguments);var c,d,p,g,m,t,v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(t=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:N(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()};return v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})},x.ui.position={fit:{left:function(t,e){var i=e.within,n=i.isWindow?i.scrollLeft:i.offset.left,o=i.width,s=t.left-e.collisionPosition.marginLeft,r=n-s,l=s+e.collisionWidth-o-n;e.collisionWidth>o?0<r&&l<=0?(i=t.left+r+e.collisionWidth-o-n,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?n+o-e.collisionWidth:n:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i=e.within,n=i.isWindow?i.scrollTop:i.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;e.collisionHeight>o?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,s=i.isWindow?i.scrollLeft:i.offset.left,r=t.left-e.collisionPosition.marginLeft,l=r-s,a=r+e.collisionWidth-o-s,h="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,i="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,r=-2*e.offset[0];l<0?((n=t.left+h+i+r+e.collisionWidth-o-n)<0||n<C(l))&&(t.left+=h+i+r):0<a&&(0<(s=t.left-e.collisionPosition.marginLeft+h+i+r-s)||C(s)<a)&&(t.left+=h+i+r)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,s=i.isWindow?i.scrollTop:i.offset.top,r=t.top-e.collisionPosition.marginTop,l=r-s,a=r+e.collisionHeight-o-s,h="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,i="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,r=-2*e.offset[1];l<0?((n=t.top+h+i+r+e.collisionHeight-o-n)<0||n<C(l))&&(t.top+=h+i+r):0<a&&(0<(s=t.top-e.collisionPosition.marginTop+h+i+r-s)||C(s)<a)&&(t.top+=h+i+r)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=!(i=i||e.body).nodeName?e.body:i},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
/*!
 * jQuery UI Scroll Parent 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
/*!
 * jQuery UI Tabbable 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
/*!
 * jQuery UI Unique ID 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
/*!
 * jQuery UI Widget 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"==typeof n?function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}:n}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,i={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return i.element.toggleClass(this._classes(i),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var n=t.match(/^([\w:-]*)\s*(.*)$/),t=n[1]+l.eventNamespace,n=n[2];n?r.on(t,n,i):s.on(t,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
/*!
 * jQuery UI Controlgroup 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./core"],t):t(jQuery)}(function(r){"use strict";var s=/ui-corner-([a-z]){2,6}/g;return r.widget("ui.controlgroup",{version:"1.13.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var s=this,l=[];r.each(this.options.items,function(n,t){var e,o={};if(t)return"controlgroupLabel"===n?((e=s.element.find(t)).each(function(){var t=r(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),s._addClass(e,null,"ui-widget ui-widget-content ui-state-default"),void(l=l.concat(e.get()))):void(r.fn[n]&&(o=s["_"+n+"Options"]?s["_"+n+"Options"]("middle"):{classes:{}},s.element.find(t).each(function(){var t=r(this),e=t[n]("instance"),i=r.widget.extend({},o);"button"===n&&t.parent(".ui-spinner").length||((e=e||t[n]()[n]("instance"))&&(i.classes=s._resolveClassesValues(i.classes,e)),t[n](i),i=t[n]("widget"),r.data(i[0],"ui-controlgroup-data",e||t[n]("instance")),l.push(i[0]))})))}),this.childWidgets=r(r.uniqueSort(l)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var t=r(this).data("ui-controlgroup-data");t&&t[e]&&t[e]()})},_updateCornerClass:function(t,e){e=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,e)},_buildSimpleOptions:function(t,e){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){t=this._buildSimpleOptions(t,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(i,n){var o={};return r.each(i,function(t){var e=n.options.classes[t]||"",e=String.prototype.trim.call(e.replace(s,""));o[t]=(e+" "+i[t]).replace(/\s+/g," ")}),o},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var o,s=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),o=this.childWidgets,(o=this.options.onlyVisible?o.filter(":visible"):o).length&&(r.each(["first","last"],function(t,e){var i,n=o[e]().data("ui-controlgroup-data");n&&s["_"+n.widgetName+"Options"]?((i=s["_"+n.widgetName+"Options"](1===o.length?"only":e)).classes=s._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)):s._updateCornerClass(o[e](),e)}),this._callChildMethod("refresh"))}})});
/*!
 * jQuery UI Checkboxradio 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./core"],e):e(jQuery)}(function(s){"use strict";return s.widget("ui.checkboxradio",[s.ui.formResetMixin,{version:"1.13.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i=this,t=this._super()||{};return this._readType(),e=this.element.labels(),this.label=s(e[e.length-1]),this.label.length||s.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){i.originalLabel+=3===this.nodeType?s(this).text():this.outerHTML}),this.originalLabel&&(t.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(t.disabled=e),t},_create:function(){var e=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||s.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e=this.element[0].name,i="input[name='"+s.escapeSelector(e)+"']";return e?(this.form.length?s(this.form[0].elements).filter(i):s(i).filter(function(){return 0===s(this)._form().length})).not(this.element):s([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=s(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,i){if("label"!==e||i){if(this._super(e,i),"disabled"===e)return this._toggleClass(this.label,null,"ui-state-disabled",i),void(this.element[0].disabled=i);this.refresh()}},_updateIcon:function(e){var i="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=s("<span>"),this.iconSpace=s("<span> </span>"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(i+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):i+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",i),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),(e=this.iconSpace?e.not(this.iconSpace[0]):e).remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,i=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),i!==this.options.disabled&&this._setOptions({disabled:i})}}]),s.ui.checkboxradio});
/*!
 * jQuery UI Button 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./controlgroup","./checkboxradio","./core"],t):t(jQuery)}(function(e){"use strict";var h;return e.widget("ui.button",{version:"1.13.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var t,i=this._super()||{};return this.isInput=this.element.is("input"),null!=(t=this.element[0].disabled)&&(i.disabled=t),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(i.label=this.originalLabel),i},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(t){t.keyCode===e.ui.keyCode.SPACE&&(t.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(t,i){var o="iconPosition"!==t,s=o?this.options.iconPosition:i,t="top"===s||"bottom"===s;this.icon?o&&this._removeClass(this.icon,null,this.options.icon):(this.icon=e("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),o&&this._addClass(this.icon,null,i),this._attachIcon(s),t?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconSpace||(this.iconSpace=e("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(s))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(t){this.icon[/^(?:end|bottom)/.test(t)?"before":"after"](this.iconSpace)},_attachIcon:function(t){this.element[/^(?:end|bottom)/.test(t)?"append":"prepend"](this.icon)},_setOptions:function(t){var i=(void 0===t.showLabel?this.options:t).showLabel,o=(void 0===t.icon?this.options:t).icon;i||o||(t.showLabel=!0),this._super(t)},_setOption:function(t,i){"icon"===t&&(i?this._updateIcon(t,i):this.icon&&(this.icon.remove(),this.iconSpace&&this.iconSpace.remove())),"iconPosition"===t&&this._updateIcon(t,i),"showLabel"===t&&(this._toggleClass("ui-button-icon-only",null,!i),this._updateTooltip()),"label"===t&&(this.isInput?this.element.val(i):(this.element.html(i),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(t,i),"disabled"===t&&(this._toggleClass(null,"ui-state-disabled",i),(this.element[0].disabled=i)&&this.element.trigger("blur"))},refresh:function(){var t=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");t!==this.options.disabled&&this._setOptions({disabled:t}),this._updateTooltip()}}),!1!==e.uiBackCompat&&(e.widget("ui.button",e.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(t,i){"text"!==t?("showLabel"===t&&(this.options.text=i),"icon"===t&&(this.options.icons.primary=i),"icons"===t&&(i.primary?(this._super("icon",i.primary),this._super("iconPosition","beginning")):i.secondary&&(this._super("icon",i.secondary),this._super("iconPosition","end"))),this._superApply(arguments)):this._super("showLabel",i)}}),e.fn.button=(h=e.fn.button,function(o){var t="string"==typeof o,s=Array.prototype.slice.call(arguments,1),n=this;return t?this.length||"instance"!==o?this.each(function(){var t=e(this).attr("type"),i=e.data(this,"ui-"+("checkbox"!==t&&"radio"!==t?"button":"checkboxradio"));return"instance"===o?(n=i,!1):i?"function"!=typeof i[o]||"_"===o.charAt(0)?e.error("no such method '"+o+"' for button widget instance"):(t=i[o].apply(i,s))!==i&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:e.error("cannot call methods on button prior to initialization; attempted to call method '"+o+"'")}):n=void 0:(s.length&&(o=e.widget.extend.apply(null,[o].concat(s))),this.each(function(){var t=e(this).attr("type"),i="checkbox"!==t&&"radio"!==t?"button":"checkboxradio",t=e.data(this,"ui-"+i);t?(t.option(o||{}),t._init&&t._init()):"button"!=i?e(this).checkboxradio(e.extend({icon:!1},o)):h.call(e(this),o)})),n}),e.fn.buttonset=function(){return e.ui.controlgroup||e.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),e.ui.button});
/*!
 * jQuery UI Spinner 1.13.1
 * http://jqueryui.com
 *
 * Copyright jQuery Foundation and other contributors
 * Released under the MIT license.
 * http://jquery.org/license
 */
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","./button","./core"],t):t(jQuery)}(function(u){"use strict";function i(i){return function(){var t=this.element.val();i.apply(this,arguments),this._refresh(),t!==this.element.val()&&this._trigger("change")}}return u.widget("ui.spinner",{version:"1.13.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var e=this._super(),s=this.element;return u.each(["min","max","step"],function(t,i){var n=s.attr(i);null!=n&&n.length&&(e[i]=n)}),e},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",t))},mousewheel:function(t,i){var n=u.ui.safeActiveElement(this.document[0]);if(this.element[0]===n&&i){if(!this.spinning&&!this._start(t))return!1;this._spin((0<i?1:-1)*this.options.step,t),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(t)},100),t.preventDefault()}},"mousedown .ui-spinner-button":function(t){var i;function n(){this.element[0]===u.ui.safeActiveElement(this.document[0])||(this.element.trigger("focus"),this.previous=i,this._delay(function(){this.previous=i}))}i=this.element[0]===u.ui.safeActiveElement(this.document[0])?this.previous:this.element.val(),t.preventDefault(),n.call(this),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,n.call(this)}),!1!==this._start(t)&&this._repeat(null,u(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(t){if(u(t.currentTarget).hasClass("ui-state-active"))return!1!==this._start(t)&&void this._repeat(null,u(t.currentTarget).hasClass("ui-spinner-up")?1:-1,t)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(t){var i=this.options,n=u.ui.keyCode;switch(t.keyCode){case n.UP:return this._repeat(null,1,t),!0;case n.DOWN:return this._repeat(null,-1,t),!0;case n.PAGE_UP:return this._repeat(null,i.page,t),!0;case n.PAGE_DOWN:return this._repeat(null,-i.page,t),!0}return!1},_start:function(t){return!(!this.spinning&&!1===this._trigger("start",t))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(t,i,n){t=t||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,i,n)},t),this._spin(i*this.options.step,n)},_spin:function(t,i){var n=this.value()||0;this.counter||(this.counter=1),n=this._adjustValue(n+t*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",i,{value:n})||(this._value(n),this.counter++)},_increment:function(t){var i=this.options.incremental;return i?"function"==typeof i?i(t):Math.floor(t*t*t/5e4-t*t/500+17*t/200+1):1},_precision:function(){var t=this._precisionOf(this.options.step);return t=null!==this.options.min?Math.max(t,this._precisionOf(this.options.min)):t},_precisionOf:function(t){var i=t.toString(),t=i.indexOf(".");return-1===t?0:i.length-t-1},_adjustValue:function(t){var i=this.options,n=null!==i.min?i.min:0,e=t-n;return t=n+Math.round(e/i.step)*i.step,t=parseFloat(t.toFixed(this._precision())),null!==i.max&&t>i.max?i.max:null!==i.min&&t<i.min?i.min:t},_stop:function(t){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",t))},_setOption:function(t,i){var n;if("culture"===t||"numberFormat"===t)return n=this._parse(this.element.val()),this.options[t]=i,void this.element.val(this._format(n));"max"!==t&&"min"!==t&&"step"!==t||"string"==typeof i&&(i=this._parse(i)),"icons"===t&&(n=this.buttons.first().find(".ui-icon"),this._removeClass(n,null,this.options.icons.up),this._addClass(n,null,i.up),n=this.buttons.last().find(".ui-icon"),this._removeClass(n,null,this.options.icons.down),this._addClass(n,null,i.down)),this._super(t,i)},_setOptionDisabled:function(t){this._super(t),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!t),this.element.prop("disabled",!!t),this.buttons.button(t?"disable":"enable")},_setOptions:i(function(t){this._super(t)}),_parse:function(t){return""===(t="string"==typeof t&&""!==t?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(t,10,this.options.culture):+t:t)||isNaN(t)?null:t},_format:function(t){return""===t?"":window.Globalize&&this.options.numberFormat?Globalize.format(t,this.options.numberFormat,this.options.culture):t},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var t=this.value();return null!==t&&t===this._adjustValue(t)},_value:function(t,i){var n;""!==t&&null!==(n=this._parse(t))&&(i||(n=this._adjustValue(n)),t=this._format(n)),this.element.val(t),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:i(function(t){this._stepUp(t)}),_stepUp:function(t){this._start()&&(this._spin((t||1)*this.options.step),this._stop())},stepDown:i(function(t){this._stepDown(t)}),_stepDown:function(t){this._start()&&(this._spin((t||1)*-this.options.step),this._stop())},pageUp:i(function(t){this._stepUp((t||1)*this.options.page)}),pageDown:i(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){if(!arguments.length)return this._parse(this.element.val());i(this._value).call(this,t)},widget:function(){return this.uiSpinner}}),!1!==u.uiBackCompat&&u.widget("ui.spinner",u.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}}),u.ui.spinner});
(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function f(e){this.img=e}function c(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=void 0!==u,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;s>o;o++){var f=r[o];this.addImage(f)}}},s.prototype.addImage=function(e){var t=new f(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return void this.complete();for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),f.prototype=new t,f.prototype.check=function(){var e=v[this.img.src]||new c(this.img.src);if(e.isConfirmed)return void this.confirm(e.isLoaded,"cached was confirmed");if(this.img.complete&&void 0!==this.img.naturalWidth)return void this.confirm(0!==this.img.naturalWidth,"naturalWidth");var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},f.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return c.prototype=new t,c.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},c.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},c.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},c.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},c.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},c.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
!function(e){var t,n,i,o,r,a,s,l="Close",c="BeforeClose",d="AfterClose",u="BeforeAppend",p="MarkupParse",f="Open",m="Change",g="mfp",h="."+g,v="mfp-ready",C="mfp-removing",y="mfp-prevent-close",w=function(){},b=!!window.jQuery,I=e(window),x=function(e,n){t.ev.on(g+e+h,n)},k=function(t,n,i,o){var r=document.createElement("div");return r.className="mfp-"+t,i&&(r.innerHTML=i),o?n&&n.appendChild(r):(r=e(r),n&&r.appendTo(n)),r},T=function(n,i){t.ev.triggerHandler(g+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},E=function(n){return n===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=n),t.currTemplate.closeBtn},_=function(){e.magnificPopup.instance||(t=new w,t.init(),e.magnificPopup.instance=t)},S=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};w.prototype={constructor:w,init:function(){var n=navigator.appVersion;t.isIE7=-1!==n.indexOf("MSIE 7."),t.isIE8=-1!==n.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=S(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),o=e(document),t.popupsCache={}},open:function(n){i||(i=e(document.body));var r;if(n.isObj===!1){t.items=n.items.toArray(),t.index=0;var s,l=n.items;for(r=0;r<l.length;r++)if(s=l[r],s.parsed&&(s=s.el[0]),s===n.el[0]){t.index=r;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return void t.updateItemHTML();t.types=[],a="",t.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):o,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=k("bg").on("click"+h,function(){t.close()}),t.wrap=k("wrap").attr("tabindex",-1).on("click"+h,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=k("container",t.wrap)),t.contentContainer=k("content"),t.st.preloader&&(t.preloader=k("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(r=0;r<c.length;r++){var d=c[r];d=d.charAt(0).toUpperCase()+d.slice(1),t["init"+d].call(t)}T("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(x(p,function(e,t,n,i){n.close_replaceWith=E(i.type)}),a+=" mfp-close-btn-in"):t.wrap.append(E())),t.st.alignTop&&(a+=" mfp-align-top"),t.wrap.css(t.fixedContentPos?{overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}:{top:I.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey&&o.on("keyup"+h,function(e){27===e.keyCode&&t.close()}),I.on("resize"+h,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var u=t.wH=I.height(),m={};if(t.fixedContentPos&&t._hasScrollBar(u)){var g=t._getScrollbarSize();g&&(m.marginRight=g)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):m.overflow="hidden");var C=t.st.mainClass;return t.isIE7&&(C+=" mfp-ie7"),C&&t._addClassToMFP(C),t.updateItemHTML(),T("BuildControls"),e("html").css(m),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||i),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),o.on("focusin"+h,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(u),T(f),n},close:function(){t.isOpen&&(T(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(C),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){T(l);var n=C+" "+v+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var i={marginRight:""};t.isIE7?e("body, html").css("overflow",""):i.overflow="",e("html").css(i)}o.off("keyup"+h+" focusin"+h),t.ev.off(h),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),t.st.showCloseBtn&&(!t.st.closeBtnInside||t.currTemplate[t.currItem.type]===!0)&&t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,T(d)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||I.height();t.fixedContentPos||t.wrap.css("height",t.wH),T("Resize")},updateItemHTML:function(){var n=t.items[t.index];t.contentContainer.detach(),t.content&&t.content.detach(),n.parsed||(n=t.parseEl(t.index));var i=n.type;if(T("BeforeChange",[t.currItem?t.currItem.type:"",i]),t.currItem=n,!t.currTemplate[i]){var o=t.st[i]?t.st[i].markup:!1;T("FirstMarkupParse",o),t.currTemplate[i]=o?e(o):!0}r&&r!==n.type&&t.container.removeClass("mfp-"+r+"-holder");var a=t["get"+i.charAt(0).toUpperCase()+i.slice(1)](n,t.currTemplate[i]);t.appendContent(a,i),n.preloaded=!0,T(m,n),r=n.type,t.container.prepend(t.contentContainer),T("AfterChange")},appendContent:function(e,n){t.content=e,e?t.st.showCloseBtn&&t.st.closeBtnInside&&t.currTemplate[n]===!0?t.content.find(".mfp-close").length||t.content.append(E()):t.content=e:t.content="",T(u),t.container.addClass("mfp-"+n+"-holder"),t.contentContainer.append(t.content)},parseEl:function(n){var i,o=t.items[n];if(o.tagName?o={el:e(o)}:(i=o.type,o={data:o,src:o.src}),o.el){for(var r=t.types,a=0;a<r.length;a++)if(o.el.hasClass("mfp-"+r[a])){i=r[a];break}o.src=o.el.attr("data-mfp-src"),o.src||(o.src=o.el.attr("href"))}return o.type=i||t.st.type||"inline",o.index=n,o.parsed=!0,t.items[n]=o,T("ElementParse",o),t.items[n]},addGroup:function(e,n){var i=function(i){i.mfpEl=this,t._openClick(i,e,n)};n||(n={});var o="click.magnificPopup";n.mainEl=e,n.items?(n.isObj=!0,e.off(o).on(o,i)):(n.isObj=!1,n.delegate?e.off(o).on(o,n.delegate,i):(n.items=e,e.off(o).on(o,i)))},_openClick:function(n,i,o){var r=void 0!==o.midClick?o.midClick:e.magnificPopup.defaults.midClick;if(r||2!==n.which&&!n.ctrlKey&&!n.metaKey){var a=void 0!==o.disableOn?o.disableOn:e.magnificPopup.defaults.disableOn;if(a)if(e.isFunction(a)){if(!a.call(t))return!0}else if(I.width()<a)return!0;n.type&&(n.preventDefault(),t.isOpen&&n.stopPropagation()),o.el=e(n.mfpEl),o.delegate&&(o.items=i.find(o.delegate)),t.open(o)}},updateStatus:function(e,i){if(t.preloader){n!==e&&t.container.removeClass("mfp-s-"+n),!i&&"loading"===e&&(i=t.st.tLoading);var o={status:e,text:i};T("UpdateStatus",o),e=o.status,i=o.text,t.preloader.html(i),t.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),t.container.addClass("mfp-s-"+e),n=e}},_checkIfClose:function(n){if(!e(n).hasClass(y)){var i=t.st.closeOnContentClick,o=t.st.closeOnBgClick;if(i&&o)return!0;if(!t.content||e(n).hasClass("mfp-close")||t.preloader&&n===t.preloader[0])return!0;if(n===t.content[0]||e.contains(t.content[0],n)){if(i)return!0}else if(o&&e.contains(document,n))return!0;return!1}},_addClassToMFP:function(e){t.bgOverlay.addClass(e),t.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),t.wrap.removeClass(e)},_hasScrollBar:function(e){return(t.isIE7?o.height():document.body.scrollHeight)>(e||I.height())},_setFocus:function(){(t.st.focus?t.content.find(t.st.focus).eq(0):t.wrap).focus()},_onFocusIn:function(n){return n.target===t.wrap[0]||e.contains(t.wrap[0],n.target)?void 0:(t._setFocus(),!1)},_parseMarkup:function(t,n,i){var o;i.data&&(n=e.extend(i.data,n)),T(p,[t,n,i]),e.each(n,function(e,n){if(void 0===n||n===!1)return!0;if(o=e.split("_"),o.length>1){var i=t.find(h+"-"+o[0]);if(i.length>0){var r=o[1];"replaceWith"===r?i[0]!==n[0]&&i.replaceWith(n):"img"===r?i.is("img")?i.attr("src",n):i.replaceWith('<img src="'+n+'" class="'+i.attr("class")+'" />'):i.attr(o[1],n)}}else t.find(h+"-"+e).html(n)})},_getScrollbarSize:function(){if(void 0===t.scrollbarSize){var e=document.createElement("div");e.id="mfp-sbm",e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),t.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return t.scrollbarSize}},e.magnificPopup={instance:null,proto:w.prototype,modules:[],open:function(t,n){return _(),t=t?e.extend(!0,{},t):{},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(n){_();var i=e(this);if("string"==typeof n)if("open"===n){var o,r=b?i.data("magnificPopup"):i[0].magnificPopup,a=parseInt(arguments[1],10)||0;r.items?o=r.items[a]:(o=i,r.delegate&&(o=o.find(r.delegate)),o=o.eq(a)),t._openClick({mfpEl:o},i,r)}else t.isOpen&&t[n].apply(t,Array.prototype.slice.call(arguments,1));else n=e.extend(!0,{},n),b?i.data("magnificPopup",n):i[0].magnificPopup=n,t.addGroup(i,n);return i};var P,O,z,M="inline",B=function(){z&&(O.after(z.addClass(P)).detach(),z=null)};e.magnificPopup.registerModule(M,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){t.types.push(M),x(l+"."+M,function(){B()})},getInline:function(n,i){if(B(),n.src){var o=t.st.inline,r=e(n.src);if(r.length){var a=r[0].parentNode;a&&a.tagName&&(O||(P=o.hiddenClass,O=k(P),P="mfp-"+P),z=r.after(O).detach().removeClass(P)),t.updateStatus("ready")}else t.updateStatus("error",o.tNotFound),r=e("<div>");return n.inlineElement=r,r}return t.updateStatus("ready"),t._parseMarkup(i,{},n),i}}});var F,H="ajax",L=function(){F&&i.removeClass(F)},A=function(){L(),t.req&&t.req.abort()};e.magnificPopup.registerModule(H,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){t.types.push(H),F=t.st.ajax.cursor,x(l+"."+H,A),x("BeforeChange."+H,A)},getAjax:function(n){F&&i.addClass(F),t.updateStatus("loading");var o=e.extend({url:n.src,success:function(i,o,r){var a={data:i,xhr:r};T("ParseAjax",a),t.appendContent(e(a.data),H),n.finished=!0,L(),t._setFocus(),setTimeout(function(){t.wrap.addClass(v)},16),t.updateStatus("ready"),T("AjaxContentAdded")},error:function(){L(),n.finished=n.loadError=!0,t.updateStatus("error",t.st.ajax.tError.replace("%url%",n.src))}},t.st.ajax.settings);return t.req=e.ajax(o),""}}});var j,N=function(n){if(n.data&&void 0!==n.data.title)return n.data.title;var i=t.st.image.titleSrc;if(i){if(e.isFunction(i))return i.call(t,n);if(n.el)return n.el.attr(i)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=t.st.image,n=".image";t.types.push("image"),x(f+n,function(){"image"===t.currItem.type&&e.cursor&&i.addClass(e.cursor)}),x(l+n,function(){e.cursor&&i.removeClass(e.cursor),I.off("resize"+h)}),x("Resize"+n,t.resizeImage),t.isLowIE&&x("AfterChange",t.resizeImage)},resizeImage:function(){var e=t.currItem;if(e&&e.img&&t.st.image.verticalFit){var n=0;t.isLowIE&&(n=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",t.wH-n)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,j&&clearInterval(j),e.isCheckingImgSize=!1,T("ImageHasSize",e),e.imgHidden&&(t.content&&t.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var n=0,i=e.img[0],o=function(r){j&&clearInterval(j),j=setInterval(function(){return i.naturalWidth>0?void t._onImageHasSize(e):(n>200&&clearInterval(j),n++,3===n?o(10):40===n?o(50):100===n&&o(500),void 0)},r)};o(1)},getImage:function(n,i){var o=0,r=function(){n&&(n.img[0].complete?(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("ready")),n.hasSize=!0,n.loaded=!0,T("ImageLoadComplete")):(o++,200>o?setTimeout(r,100):a()))},a=function(){n&&(n.img.off(".mfploader"),n===t.currItem&&(t._onImageHasSize(n),t.updateStatus("error",s.tError.replace("%url%",n.src))),n.hasSize=!0,n.loaded=!0,n.loadError=!0)},s=t.st.image,l=i.find(".mfp-img");if(l.length){var c=document.createElement("img");c.className="mfp-img",n.img=e(c).on("load.mfploader",r).on("error.mfploader",a),c.src=n.src,l.is("img")&&(n.img=n.img.clone()),c=n.img[0],c.naturalWidth>0?n.hasSize=!0:c.width||(n.hasSize=!1)}return t._parseMarkup(i,{title:N(n),img_replaceWith:n.img},n),t.resizeImage(),n.hasSize?(j&&clearInterval(j),n.loadError?(i.addClass("mfp-loading"),t.updateStatus("error",s.tError.replace("%url%",n.src))):(i.removeClass("mfp-loading"),t.updateStatus("ready")),i):(t.updateStatus("loading"),n.loading=!0,n.hasSize||(n.imgHidden=!0,i.addClass("mfp-loading"),t.findImageSize(n)),i)}}});var W,R=function(){return void 0===W&&(W=void 0!==document.createElement("p").style.MozTransform),W};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,n=t.st.zoom,i=".zoom";if(n.enabled&&t.supportsTransition){var o,r,a=n.duration,s=function(e){var t=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),i="all "+n.duration/1e3+"s "+n.easing,o={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},r="transition";return o["-webkit-"+r]=o["-moz-"+r]=o["-o-"+r]=o[r]=i,t.css(o),t},d=function(){t.content.css("visibility","visible")};x("BuildControls"+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.content.css("visibility","hidden"),e=t._getItemToZoom(),!e)return void d();r=s(e),r.css(t._getOffset()),t.wrap.append(r),o=setTimeout(function(){r.css(t._getOffset(!0)),o=setTimeout(function(){d(),setTimeout(function(){r.remove(),e=r=null,T("ZoomAnimationEnded")},16)},a)},16)}}),x(c+i,function(){if(t._allowZoom()){if(clearTimeout(o),t.st.removalDelay=a,!e){if(e=t._getItemToZoom(),!e)return;r=s(e)}r.css(t._getOffset(!0)),t.wrap.append(r),t.content.css("visibility","hidden"),setTimeout(function(){r.css(t._getOffset())},16)}}),x(l+i,function(){t._allowZoom()&&(d(),r&&r.remove(),e=null)})}},_allowZoom:function(){return"image"===t.currItem.type},_getItemToZoom:function(){return t.currItem.hasSize?t.currItem.img:!1},_getOffset:function(n){var i;i=n?t.currItem.img:t.st.zoom.opener(t.currItem.el||t.currItem);var o=i.offset(),r=parseInt(i.css("padding-top"),10),a=parseInt(i.css("padding-bottom"),10);o.top-=e(window).scrollTop()-r;var s={width:i.width(),height:(b?i.innerHeight():i[0].offsetHeight)-a-r};return R()?s["-moz-transform"]=s.transform="translate("+o.left+"px,"+o.top+"px)":(s.left=o.left,s.top=o.top),s}}});var Z="iframe",q="//about:blank",D=function(e){if(t.currTemplate[Z]){var n=t.currTemplate[Z].find("iframe");n.length&&(e||(n[0].src=q),t.isIE8&&n.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(Z,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){t.types.push(Z),x("BeforeChange",function(e,t,n){t!==n&&(t===Z?D():n===Z&&D(!0))}),x(l+"."+Z,function(){D()})},getIframe:function(n,i){var o=n.src,r=t.st.iframe;e.each(r.patterns,function(){return o.indexOf(this.index)>-1?(this.id&&(o="string"==typeof this.id?o.substr(o.lastIndexOf(this.id)+this.id.length,o.length):this.id.call(this,o)),o=this.src.replace("%id%",o),!1):void 0});var a={};return r.srcAction&&(a[r.srcAction]=o),t._parseMarkup(i,a,n),t.updateStatus("ready"),i}}});var K=function(e){var n=t.items.length;return e>n-1?e-n:0>e?n+e:e},Y=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=t.st.gallery,i=".mfp-gallery",r=Boolean(e.fn.mfpFastClick);return t.direction=!0,n&&n.enabled?(a+=" mfp-gallery",x(f+i,function(){n.navigateByImgClick&&t.wrap.on("click"+i,".mfp-img",function(){return t.items.length>1?(t.next(),!1):void 0}),o.on("keydown"+i,function(e){37===e.keyCode?t.prev():39===e.keyCode&&t.next()})}),x("UpdateStatus"+i,function(e,n){n.text&&(n.text=Y(n.text,t.currItem.index,t.items.length))}),x(p+i,function(e,i,o,r){var a=t.items.length;o.counter=a>1?Y(n.tCounter,r.index,a):""}),x("BuildControls"+i,function(){if(t.items.length>1&&n.arrows&&!t.arrowLeft){var i=n.arrowMarkup,o=t.arrowLeft=e(i.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(y),a=t.arrowRight=e(i.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(y),s=r?"mfpFastClick":"click";o[s](function(){t.prev()}),a[s](function(){t.next()}),t.isIE7&&(k("b",o[0],!1,!0),k("a",o[0],!1,!0),k("b",a[0],!1,!0),k("a",a[0],!1,!0)),t.container.append(o.add(a))}}),x(m+i,function(){t._preloadTimeout&&clearTimeout(t._preloadTimeout),t._preloadTimeout=setTimeout(function(){t.preloadNearbyImages(),t._preloadTimeout=null},16)}),x(l+i,function(){o.off(i),t.wrap.off("click"+i),t.arrowLeft&&r&&t.arrowLeft.add(t.arrowRight).destroyMfpFastClick(),t.arrowRight=t.arrowLeft=null}),void 0):!1},next:function(){t.direction=!0,t.index=K(t.index+1),t.updateItemHTML()},prev:function(){t.direction=!1,t.index=K(t.index-1),t.updateItemHTML()},goTo:function(e){t.direction=e>=t.index,t.index=e,t.updateItemHTML()},preloadNearbyImages:function(){var e,n=t.st.gallery.preload,i=Math.min(n[0],t.items.length),o=Math.min(n[1],t.items.length);for(e=1;e<=(t.direction?o:i);e++)t._preloadItem(t.index+e);for(e=1;e<=(t.direction?i:o);e++)t._preloadItem(t.index-e)},_preloadItem:function(n){if(n=K(n),!t.items[n].preloaded){var i=t.items[n];i.parsed||(i=t.parseEl(n)),T("LazyLoad",i),"image"===i.type&&(i.img=e('<img class="mfp-img" />').on("load.mfploader",function(){i.hasSize=!0}).on("error.mfploader",function(){i.hasSize=!0,i.loadError=!0,T("LazyLoadError",i)}).attr("src",i.src)),i.preloaded=!0}}}});var U="retina";e.magnificPopup.registerModule(U,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=t.st.retina,n=e.ratio;n=isNaN(n)?n():n,n>1&&(x("ImageHasSize."+U,function(e,t){t.img.css({"max-width":t.img[0].naturalWidth/n,width:"100%"})}),x("ElementParse."+U,function(t,i){i.src=e.replaceSrc(i,n)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,i=function(){I.off("touchmove"+r+" touchend"+r)},o="mfpFastClick",r="."+o;e.fn.mfpFastClick=function(o){return e(this).each(function(){var a,s=e(this);if(n){var l,c,d,u,p,f;s.on("touchstart"+r,function(e){u=!1,f=1,p=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],c=p.clientX,d=p.clientY,I.on("touchmove"+r,function(e){p=e.originalEvent?e.originalEvent.touches:e.touches,f=p.length,p=p[0],(Math.abs(p.clientX-c)>10||Math.abs(p.clientY-d)>10)&&(u=!0,i())}).on("touchend"+r,function(e){i(),u||f>1||(a=!0,e.preventDefault(),clearTimeout(l),l=setTimeout(function(){a=!1},t),o())})})}s.on("click"+r,function(){a||o()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+r+" click"+r),n&&I.off("touchmove"+r+" touchend"+r)}}(),_()}(window.jQuery||window.Zepto);
function jckqv_setupPopup(){magnificPopup=jQuery.magnificPopup,jQuery("body").on(jckqv.settings.trigger_general_method,"*[data-jckqvpid]",function(){jQuery.magnificPopup=magnificPopup;var e=jckqv_getProducts(),t=jQuery(this).attr("data-jckqvpid"),a=jckqv_getArrayIndexForKey(e,"src",jckqv.ajaxurl+"?pid="+t);return jQuery.magnificPopup.open({items:e,type:"ajax",ajax:{settings:{type:"POST",data:{action:"jckqv",nonce:jckqv.nonce}}},gallery:{enabled:1==jckqv.settings.popup_general_gallery?!0:!1},closeOnContentClick:!1,callbacks:{ajaxContentAdded:function(){$sliderEl=jQuery("#jckqv #jckqv_images"),$sliderNavEl=jQuery("#jckqv #jckqv_thumbs"),$sliderElClone=$sliderEl.clone(),$variations_form=jQuery("#jckqv form.variations_form"),$img_container=jQuery("#jckqv_images"),$loadedClass="jckLoaded",jQuery("#jckqv_images_wrap").css({opacity:0,"max-height":500}),jQuery("#jckqv_images").imagesLoaded(function(){setup_main_slider(),setup_thumbnail_slider(),jQuery("#jckqv_images_wrap").hide().css({opacity:1,"max-height":""}).fadeIn()}),jckqv_setupVariationWatcher(),jckqv_setupResetImgs()},close:function(){jQuery("body").trigger("jckqv_close")}}},a),jQuery("body").trigger("jckqv_open"),!1})}function setup_main_slider(){var e="fade"==jckqv.settings.popup_imagery_imgtransition?!0:!1,t="1"==jckqv.settings.popup_imagery_autoplay?!0:!1,a="1"==jckqv.settings.popup_imagery_infinite?!0:!1,i="1"==jckqv.settings.popup_imagery_navarr?!0:!1,r="thumbnails"==jckqv.settings.popup_imagery_thumbnails?"#jckqv_thumbs":null,n="bullets"==jckqv.settings.popup_imagery_thumbnails?!0:!1;jQuery("#jckqv_images").on({mouseenter:function(){jQuery(this).addClass("jckqv-images--hovered")},mouseleave:function(){jQuery(this).removeClass("jckqv-images--hovered")},beforeChange:function(e,t,a,i){jQuery("#jckqv_thumbs .slick-slide").removeClass("slick-main-active"),jQuery("#jckqv_thumbs .slick-slide[data-index="+i+"]").addClass("slick-main-active")},init:function(){setTimeout(function(){jQuery("#jckqv select").trigger("change")},500)}}).slick({adaptiveHeight:!0,asNavFor:r,infinite:!1,prevArrow:'<a href="javascript:void(0)" class="jckqv-images__arr jckqv-images__arr--prev"><i class="jckqv-icon-chevron-with-circle-left"></i></a>',nextArrow:'<a href="javascript:void(0)" class="jckqv-images__arr jckqv-images__arr--next"><i class="jckqv-icon-chevron-with-circle-right"></i></a>',infinite:a,fade:e,speed:jckqv.settings.popup_imagery_transitionspeed,autoplay:t,autoplaySpeed:jckqv.settings.popup_imagery_autoplaySpeed,arrows:i,dots:n})}function setup_thumbnail_slider(){if("thumbnails"==jckqv.settings.popup_imagery_thumbnails){var e=jQuery("#jckqv_thumbs");speed=jckqv.settings.popup_imagery_transitionspeed,infinite="1"==jckqv.settings.popup_imagery_infinite?!0:!1,e.length>0&&e.slick({adaptiveHeight:!0,asNavFor:"#jckqv_images",slidesToShow:4,slidesToScroll:1,focusOnSelect:!0,arrows:!1,infinite:infinite,speed:jckqv.settings.popup_imagery_transitionspeed})}}function jckqv_getProducts(){var e=[],t=[];return jQuery("*[data-jckqvpid]").each(function(){var a=jQuery(this).attr("data-jckqvpid");-1===jQuery.inArray(a,t)&&(t.push(a),e.push({src:jckqv.ajaxurl+"?pid="+a}))}),jQuery("body").trigger("jckqv_getProducts"),e}function jckqv_setupAddToCart(){jQuery("body").on("submit","#jckqv form.cart",function(e){e.preventDefault();var t=jQuery(this),a=t.find("button[type=submit]"),i=jQuery(this).serialize(),r=jQuery("#addingToCart"),n=r.find("span"),s=r.find("i"),o="jckqv-icon-cw animate-spin",c="jckqv-icon-ok",u="jckqv-icon-error";s.addClass(o).removeClass(c).removeClass(u),n.text(jckqv.text.adding),r.fadeIn(),jQuery(".onsale").fadeOut(),jckqv_addToCart(i,a,function(e){return void 0!==e.fragments?(s.addClass(c).removeClass(o),n.text(jckqv.text.added)):(s.addClass(u).removeClass(o),n.text(e.message)),jQuery(".onsale").delay(2e3).fadeIn(),t.find(":disabled").prop("disabled",!1),1==jckqv.settings.popup_content_autohidepopup&&"fail"!=e.result?setTimeout(function(){var e=jQuery.magnificPopup.instance;e.close()},2e3):r.delay(2e3).fadeOut(),!1})})}function jckqv_addToCart(e,t,a){var i=jQuery.parseParams(e);i.action="jckqv_add_to_cart",i.nonce=jckqv.nonce,i.product_id=i["add-to-cart"],delete i["add-to-cart"],jQuery("body").trigger("adding_to_cart",[t]),jQuery.get(jckqv.ajaxurl,i,function(e){void 0!==e.fragments&&(fragments=e.fragments,cart_hash=e.cart_hash,jckUpdateWooCartWidget(fragments,cart_hash),jQuery("body").trigger("added_to_cart",[fragments,cart_hash])),"function"==typeof a&&a(e)})}function jckUpdateWooCartWidget(e,t){var a=window.location.toString();a=a.replace("add-to-cart","added-to-cart"),e&&jQuery.each(e,function(e){jQuery(e).addClass("updating")}),jQuery(".shop_table.cart, .updating, .cart_totals").fadeTo("400","0.6").block({message:null,overlayCSS:{background:"transparent url("+wc_add_to_cart_params.ajax_loader_url+") no-repeat center",backgroundSize:"16px 16px",opacity:.6}}),e&&jQuery.each(e,function(e,t){jQuery(e).replaceWith(t)}),jQuery(".widget_shopping_cart, .updating").stop(!0).css("opacity","1").unblock(),jQuery(".shop_table.cart").load(a+" .shop_table.cart:eq(0) > *",function(){jQuery("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").addClass("buttons_added").append('<input type="button" value="+" id="add1" class="plus" />').prepend('<input type="button" value="-" id="minus1" class="minus" />'),jQuery(".shop_table.cart").stop(!0).css("opacity","1").unblock(),jQuery("body").trigger("cart_page_refreshed")}),jQuery(".cart_totals").load(a+" .cart_totals:eq(0) > *",function(){jQuery(".cart_totals").stop(!0).css("opacity","1").unblock()}),jQuery("body").trigger("added_to_cart",[e,t])}function jckqv_setupVariationWatcher(){$alreadyLoaded=$variations_form.hasClass($loadedClass)?!1:!0,$variations_form.on("change",function(){""==jQuery("input[name=variation_id]").val()||$alreadyLoaded||($chosen_var=[{variation_id:jQuery("input[name=variation_id]").val()}],$variations_form.trigger("show_variation",$chosen_var),$variations_form.addClass($loadedClass))}),$variations_form.on("show_variation",function(e,t){$img_container.hasClass("loading")||($var_id=$swatches?jQuery("input[name=variation_id]").val():t.variation_id,jckqv_imgTrans($var_id),$variations_form.addClass($loadedClass))}),$swatches&&""!=jQuery("input[name=variation_id]").val()&&$variations_form.trigger("show_variation")}function jckqv_setupResetImgs(){$swatches?$variations_form.on("reset_image",jckqv_resetImg()):$variations_form.on("reset_image",function(){jckqv_resetImg()})}function jckqv_resetImg(){$img_container.hasClass("loading")||$img_container.hasClass("reset")||($var_id=0,jckqv_imgTrans($var_id))}function jckqv_imgTrans(e){var t=jQuery($sliderElClone).find('[data-jckqv~="-'+e+'-"]'),a=t.length>0?t.index():0;$sliderEl.slick("slickGoTo",a),$sliderNavEl.slick("slickGoTo",a)}function jckqv_setupHoverbtn(){jQuery("body").on({mouseenter:function(){if(jQuery(this).find(jckqv.settings.trigger_styling_hoverel).length<=0){var e=jQuery(this).find("*[data-jckqvpid]");e.length>0&&e.css({visibility:"visible"}).stop().animate({opacity:1},150)}},mouseleave:function(){var e=jQuery(this).find("*[data-jckqvpid]");e.length>0&&e.stop().animate({opacity:0},150,function(){jQuery(this).css({visibility:"hidden"})})}},jckqv.settings.trigger_styling_hoverel)}function jckqv_watch_qty_buttons(){jQuery(document).on("click",".jckqv-qty-spinner",function(){var e=jQuery(this),t=e.closest(".quantity"),a=t.find(".qty"),i=e.attr("data-dir");a.val("plus"==i?function(e,t){return++t}:function(e,t){return t>1?t-1:1})})}function jckqv_getArrayIndexForKey(e,t,a){for(var i=0;i<e.length;i++)if(e[i][t]==a)return i;return-1}var magnificPopup,$sliderEl,$sliderNavEl,$sliderElClone;$swatches="function"==typeof variation_calculator?!0:!1,jQuery(document).ready(function(){jckqv_setupPopup(),jckqv_watch_qty_buttons(),1==jckqv.settings.popup_content_ajaxcart&&jckqv_setupAddToCart(),1==jckqv.settings.trigger_styling_autohide&&jckqv_setupHoverbtn()}),function(e){var t=/([^&=]+)=?([^&]*)/g,a=/\+/g,i=function(e){return decodeURIComponent(e.replace(a," "))};e.parseParams=function(e){for(var a,r={};a=t.exec(e);){var n=i(a[1]),s=i(a[2]);"[]"===n.substring(n.length-2)?(n=n.substring(0,n.length-2),(r[n]||(r[n]=[])).push(s)):r[n]=s}return r}}(jQuery);
!function(i){"use strict";"function"==typeof define&&define.amd?define(["jquery"],i):"undefined"!=typeof exports?module.exports=i(require("jquery")):i(jQuery)}(function(i){"use strict";var e=window.Slick||{};e=function(){function e(e,o){var s,n,l,r=this;if(r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:i(e),appendDots:i(e),arrows:!0,asNavFor:null,prevArrow:'<button type="button" data-role="none" class="slick-prev">Previous</button>',nextArrow:'<button type="button" data-role="none" class="slick-next">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(i,e){return'<button type="button" data-role="none">'+(e+1)+"</button>"},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rtl:!1,slide:"",slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1},i.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.hidden="hidden",r.paused=!1,r.positionProp=null,r.respondTo=null,r.shouldClick=!0,r.$slider=i(e),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,s=i(e).data("slick")||{},r.options=i.extend({},r.defaults,s,o),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,n=r.options.responsive||null,n&&n.length>-1){r.respondTo=r.options.respondTo||"window";for(l in n)n.hasOwnProperty(l)&&(r.breakpoints.push(n[l].breakpoint),r.breakpointSettings[n[l].breakpoint]=n[l].settings);r.breakpoints.sort(function(i,e){return r.options.mobileFirst===!0?i-e:e-i})}"undefined"!=typeof document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):"undefined"!=typeof document.msHidden?(r.hidden="msHidden",r.visibilityChange="msvisibilitychange"):"undefined"!=typeof document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=i.proxy(r.autoPlay,r),r.autoPlayClear=i.proxy(r.autoPlayClear,r),r.changeSlide=i.proxy(r.changeSlide,r),r.clickHandler=i.proxy(r.clickHandler,r),r.selectHandler=i.proxy(r.selectHandler,r),r.setPosition=i.proxy(r.setPosition,r),r.swipeHandler=i.proxy(r.swipeHandler,r),r.dragHandler=i.proxy(r.dragHandler,r),r.keyHandler=i.proxy(r.keyHandler,r),r.autoPlayIterator=i.proxy(r.autoPlayIterator,r),r.instanceUid=t++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.init(),r.checkResponsive(!0)}var t=0;return e}(),e.prototype.addSlide=e.prototype.slickAdd=function(e,t,o){var s=this;if("boolean"==typeof t)o=t,t=null;else if(0>t||t>=s.slideCount)return!1;s.unload(),"number"==typeof t?0===t&&0===s.$slides.length?i(e).appendTo(s.$slideTrack):o?i(e).insertBefore(s.$slides.eq(t)):i(e).insertAfter(s.$slides.eq(t)):o===!0?i(e).prependTo(s.$slideTrack):i(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.animate({height:e},i.options.speed)}},e.prototype.animateSlide=function(e,t){var o={},s=this;s.animateHeight(),s.options.rtl===!0&&s.options.vertical===!1&&(e=-e),s.transformsEnabled===!1?s.options.vertical===!1?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,t):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,t):s.cssTransitions===!1?(s.options.rtl===!0&&(s.currentLeft=-s.currentLeft),i({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(i){i=Math.ceil(i),s.options.vertical===!1?(o[s.animType]="translate("+i+"px, 0px)",s.$slideTrack.css(o)):(o[s.animType]="translate(0px,"+i+"px)",s.$slideTrack.css(o))},complete:function(){t&&t.call()}})):(s.applyTransition(),e=Math.ceil(e),o[s.animType]=s.options.vertical===!1?"translate3d("+e+"px, 0px, 0px)":"translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(o),t&&setTimeout(function(){s.disableTransition(),t.call()},s.options.speed))},e.prototype.asNavFor=function(e){var t=this,o=null!==t.options.asNavFor?i(t.options.asNavFor).slick("getSlick"):null;null!==o&&o.slideHandler(e,!0)},e.prototype.applyTransition=function(i){var e=this,t={};t[e.transitionType]=e.options.fade===!1?e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:"opacity "+e.options.speed+"ms "+e.options.cssEase,e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.autoPlay=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer),i.slideCount>i.options.slidesToShow&&i.paused!==!0&&(i.autoPlayTimer=setInterval(i.autoPlayIterator,i.options.autoplaySpeed))},e.prototype.autoPlayClear=function(){var i=this;i.autoPlayTimer&&clearInterval(i.autoPlayTimer)},e.prototype.autoPlayIterator=function(){var i=this;i.options.infinite===!1?1===i.direction?(i.currentSlide+1===i.slideCount-1&&(i.direction=0),i.slideHandler(i.currentSlide+i.options.slidesToScroll)):(0===i.currentSlide-1&&(i.direction=1),i.slideHandler(i.currentSlide-i.options.slidesToScroll)):i.slideHandler(i.currentSlide+i.options.slidesToScroll)},e.prototype.buildArrows=function(){var e=this;e.options.arrows===!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow=i(e.options.prevArrow),e.$nextArrow=i(e.options.nextArrow),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.appendTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),e.options.infinite!==!0&&e.$prevArrow.addClass("slick-disabled"))},e.prototype.buildDots=function(){var e,t,o=this;if(o.options.dots===!0&&o.slideCount>o.options.slidesToShow){for(t='<ul class="'+o.options.dotsClass+'">',e=0;e<=o.getDotCount();e+=1)t+="<li>"+o.options.customPaging.call(this,o,e)+"</li>";t+="</ul>",o.$dots=i(t).appendTo(o.options.appendDots),o.$dots.find("li").first().addClass("slick-active")}},e.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){i(t).attr("data-slick-index",e)}),e.$slidesCache=e.$slides,e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?i('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),(e.options.centerMode===!0||e.options.swipeToSlide===!0)&&(e.options.slidesToScroll=1),i("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.options.accessibility===!0&&e.$list.prop("tabIndex",0),e.setSlideClasses("number"==typeof this.currentSlide?this.currentSlide:0),e.options.draggable===!0&&e.$list.addClass("draggable")},e.prototype.checkResponsive=function(e){var t,o,s,n=this,l=n.$slider.width(),r=window.innerWidth||i(window).width();if("window"===n.respondTo?s=r:"slider"===n.respondTo?s=l:"min"===n.respondTo&&(s=Math.min(r,l)),n.originalSettings.responsive&&n.originalSettings.responsive.length>-1&&null!==n.originalSettings.responsive){o=null;for(t in n.breakpoints)n.breakpoints.hasOwnProperty(t)&&(n.originalSettings.mobileFirst===!1?s<n.breakpoints[t]&&(o=n.breakpoints[t]):s>n.breakpoints[t]&&(o=n.breakpoints[t]));null!==o?null!==n.activeBreakpoint?o!==n.activeBreakpoint&&(n.activeBreakpoint=o,"unslick"===n.breakpointSettings[o]?n.unslick():(n.options=i.extend({},n.originalSettings,n.breakpointSettings[o]),e===!0&&(n.currentSlide=n.options.initialSlide),n.refresh())):(n.activeBreakpoint=o,"unslick"===n.breakpointSettings[o]?n.unslick():(n.options=i.extend({},n.originalSettings,n.breakpointSettings[o]),e===!0&&(n.currentSlide=n.options.initialSlide),n.refresh())):null!==n.activeBreakpoint&&(n.activeBreakpoint=null,n.options=n.originalSettings,e===!0&&(n.currentSlide=n.options.initialSlide),n.refresh())}},e.prototype.changeSlide=function(e,t){var o,s,n,l=this,r=i(e.target);switch(r.is("a")&&e.preventDefault(),n=0!==l.slideCount%l.options.slidesToScroll,o=n?0:(l.slideCount-l.currentSlide)%l.options.slidesToScroll,e.data.message){case"previous":s=0===o?l.options.slidesToScroll:l.options.slidesToShow-o,l.slideCount>l.options.slidesToShow&&l.slideHandler(l.currentSlide-s,!1,t);break;case"next":s=0===o?l.options.slidesToScroll:o,l.slideCount>l.options.slidesToShow&&l.slideHandler(l.currentSlide+s,!1,t);break;case"index":var d=0===e.data.index?0:e.data.index||i(e.target).parent().index()*l.options.slidesToScroll;l.slideHandler(l.checkNavigable(d),!1,t);break;default:return}},e.prototype.checkNavigable=function(i){var e,t,o=this;if(e=o.getNavigableIndexes(),t=0,i>e[e.length-1])i=e[e.length-1];else for(var s in e){if(i<e[s]){i=t;break}t=e[s]}return i},e.prototype.clickHandler=function(i){var e=this;e.shouldClick===!1&&(i.stopImmediatePropagation(),i.stopPropagation(),i.preventDefault())},e.prototype.destroy=function(){var e=this;e.autoPlayClear(),e.touchObject={},i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&"object"!=typeof e.options.prevArrow&&e.$prevArrow.remove(),e.$nextArrow&&"object"!=typeof e.options.nextArrow&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-center slick-visible").removeAttr("data-slick-index").css({position:"",left:"",top:"",zIndex:"",opacity:"",width:""}),e.$slider.removeClass("slick-slider"),e.$slider.removeClass("slick-initialized"),e.$list.off(".slick"),i(window).off(".slick-"+e.instanceUid),i(document).off(".slick-"+e.instanceUid),e.$slider.html(e.$slides)},e.prototype.disableTransition=function(i){var e=this,t={};t[e.transitionType]="",e.options.fade===!1?e.$slideTrack.css(t):e.$slides.eq(i).css(t)},e.prototype.fadeSlide=function(i,e){var t=this;t.cssTransitions===!1?(t.$slides.eq(i).css({zIndex:1e3}),t.$slides.eq(i).animate({opacity:1},t.options.speed,t.options.easing,e)):(t.applyTransition(i),t.$slides.eq(i).css({opacity:1,zIndex:1e3}),e&&setTimeout(function(){t.disableTransition(i),e.call()},t.options.speed))},e.prototype.filterSlides=e.prototype.slickFilter=function(i){var e=this;null!==i&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.filter(i).appendTo(e.$slideTrack),e.reinit())},e.prototype.getCurrent=e.prototype.slickCurrentSlide=function(){var i=this;return i.currentSlide},e.prototype.getDotCount=function(){var i=this,e=0,t=0,o=0;if(i.options.infinite===!0)o=Math.ceil(i.slideCount/i.options.slidesToScroll);else if(i.options.centerMode===!0)o=i.slideCount;else for(;e<i.slideCount;)++o,e=t+i.options.slidesToShow,t+=i.options.slidesToScroll<=i.options.slidesToShow?i.options.slidesToScroll:i.options.slidesToShow;return o-1},e.prototype.getLeft=function(i){var e,t,o,s=this,n=0;return s.slideOffset=0,t=s.$slides.first().outerHeight(),s.options.infinite===!0?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=-1*s.slideWidth*s.options.slidesToShow,n=-1*t*s.options.slidesToShow),0!==s.slideCount%s.options.slidesToScroll&&i+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(i>s.slideCount?(s.slideOffset=-1*(s.options.slidesToShow-(i-s.slideCount))*s.slideWidth,n=-1*(s.options.slidesToShow-(i-s.slideCount))*t):(s.slideOffset=-1*s.slideCount%s.options.slidesToScroll*s.slideWidth,n=-1*s.slideCount%s.options.slidesToScroll*t))):i+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(i+s.options.slidesToShow-s.slideCount)*s.slideWidth,n=(i+s.options.slidesToShow-s.slideCount)*t),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,n=0),s.options.centerMode===!0&&s.options.infinite===!0?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:s.options.centerMode===!0&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=s.options.vertical===!1?-1*i*s.slideWidth+s.slideOffset:-1*i*t+n,s.options.variableWidth===!0&&(o=s.$slideTrack.children(".slick-slide").eq(s.slideCount<=s.options.slidesToShow||s.options.infinite===!1?i:i+s.options.slidesToShow),e=o[0]?-1*o[0].offsetLeft:0,s.options.centerMode===!0&&(o=s.$slideTrack.children(".slick-slide").eq(s.options.infinite===!1?i:i+s.options.slidesToShow+1),e=o[0]?-1*o[0].offsetLeft:0,e+=(s.$list.width()-o.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(i){var e=this;return e.options[i]},e.prototype.getNavigableIndexes=function(){var i,e=this,t=0,o=0,s=[];for(e.options.infinite===!1?(i=e.slideCount-e.options.slidesToShow+1,e.options.centerMode===!0&&(i=e.slideCount)):(t=-1*e.slideCount,o=-1*e.slideCount,i=2*e.slideCount);i>t;)s.push(t),t=o+e.options.slidesToScroll,o+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,t,o,s=this;return o=s.options.centerMode===!0?s.slideWidth*Math.floor(s.options.slidesToShow/2):0,s.options.swipeToSlide===!0?(s.$slideTrack.find(".slick-slide").each(function(e,n){return n.offsetLeft-o+i(n).outerWidth()/2>-1*s.swipeLeft?(t=n,!1):void 0}),e=Math.abs(i(t).attr("data-slick-index")-s.currentSlide)||1):s.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(i,e){var t=this;t.changeSlide({data:{message:"index",index:parseInt(i)}},e)},e.prototype.init=function(){var e=this;i(e.$slider).hasClass("slick-initialized")||(i(e.$slider).addClass("slick-initialized"),e.buildOut(),e.setProps(),e.startLoad(),e.loadSlider(),e.initializeEvents(),e.updateArrows(),e.updateDots()),e.$slider.trigger("init",[e])},e.prototype.initArrowEvents=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.on("click.slick",{message:"previous"},i.changeSlide),i.$nextArrow.on("click.slick",{message:"next"},i.changeSlide))},e.prototype.initDotEvents=function(){var e=this;e.options.dots===!0&&e.slideCount>e.options.slidesToShow&&i("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),e.options.dots===!0&&e.options.pauseOnDotsHover===!0&&e.options.autoplay===!0&&i("li",e.$dots).on("mouseenter.slick",function(){e.paused=!0,e.autoPlayClear()}).on("mouseleave.slick",function(){e.paused=!1,e.autoPlay()})},e.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"},e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),e.options.autoplay===!0&&(i(document).on(e.visibilityChange,function(){e.visibility()}),e.options.pauseOnHover===!0&&(e.$list.on("mouseenter.slick",function(){e.paused=!0,e.autoPlayClear()}),e.$list.on("mouseleave.slick",function(){e.paused=!1,e.autoPlay()}))),e.options.accessibility===!0&&e.$list.on("keydown.slick",e.keyHandler),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),i(window).on("orientationchange.slick.slick-"+e.instanceUid,function(){e.checkResponsive(),e.setPosition()}),i(window).on("resize.slick.slick-"+e.instanceUid,function(){i(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=i(window).width(),e.checkResponsive(),e.setPosition()},50))}),i("*[draggable!=true]",e.$slideTrack).on("dragstart",function(i){i.preventDefault()}),i(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),i(document).on("ready.slick.slick-"+e.instanceUid,e.setPosition)},e.prototype.initUI=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.show(),i.$nextArrow.show()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.show(),i.options.autoplay===!0&&i.autoPlay()},e.prototype.keyHandler=function(i){var e=this;37===i.keyCode&&e.options.accessibility===!0?e.changeSlide({data:{message:"previous"}}):39===i.keyCode&&e.options.accessibility===!0&&e.changeSlide({data:{message:"next"}})},e.prototype.lazyLoad=function(){function e(e){i("img[data-lazy]",e).each(function(){var e=i(this),t=i(this).attr("data-lazy");e.load(function(){e.animate({opacity:1},200)}).css({opacity:0}).attr("src",t).removeAttr("data-lazy").removeClass("slick-loading")})}var t,o,s,n,l=this;l.options.centerMode===!0?l.options.infinite===!0?(s=l.currentSlide+(l.options.slidesToShow/2+1),n=s+l.options.slidesToShow+2):(s=Math.max(0,l.currentSlide-(l.options.slidesToShow/2+1)),n=2+(l.options.slidesToShow/2+1)+l.currentSlide):(s=l.options.infinite?l.options.slidesToShow+l.currentSlide:l.currentSlide,n=s+l.options.slidesToShow,l.options.fade===!0&&(s>0&&s--,n<=l.slideCount&&n++)),t=l.$slider.find(".slick-slide").slice(s,n),e(t),l.slideCount<=l.options.slidesToShow?(o=l.$slider.find(".slick-slide"),e(o)):l.currentSlide>=l.slideCount-l.options.slidesToShow?(o=l.$slider.find(".slick-cloned").slice(0,l.options.slidesToShow),e(o)):0===l.currentSlide&&(o=l.$slider.find(".slick-cloned").slice(-1*l.options.slidesToShow),e(o))},e.prototype.loadSlider=function(){var i=this;i.setPosition(),i.$slideTrack.css({opacity:1}),i.$slider.removeClass("slick-loading"),i.initUI(),"progressive"===i.options.lazyLoad&&i.progressiveLazyLoad()},e.prototype.next=e.prototype.slickNext=function(){var i=this;i.changeSlide({data:{message:"next"}})},e.prototype.pause=e.prototype.slickPause=function(){var i=this;i.autoPlayClear(),i.paused=!0},e.prototype.play=e.prototype.slickPlay=function(){var i=this;i.paused=!1,i.autoPlay()},e.prototype.postSlide=function(i){var e=this;e.$slider.trigger("afterChange",[e,i]),e.animating=!1,e.setPosition(),e.swipeLeft=null,e.options.autoplay===!0&&e.paused===!1&&e.autoPlay()},e.prototype.prev=e.prototype.slickPrev=function(){var i=this;i.changeSlide({data:{message:"previous"}})},e.prototype.progressiveLazyLoad=function(){var e,t,o=this;e=i("img[data-lazy]",o.$slider).length,e>0&&(t=i("img[data-lazy]",o.$slider).first(),t.attr("src",t.attr("data-lazy")).removeClass("slick-loading").load(function(){t.removeAttr("data-lazy"),o.progressiveLazyLoad()}).error(function(){t.removeAttr("data-lazy"),o.progressiveLazyLoad()}))},e.prototype.refresh=function(){var e=this,t=e.currentSlide;e.destroy(),i.extend(e,e.initials),e.init(),e.changeSlide({data:{message:"index",index:t}},!0)},e.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.options.focusOnSelect===!0&&i(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses(0),e.setPosition(),e.$slider.trigger("reInit",[e])},e.prototype.removeSlide=e.prototype.slickRemove=function(i,e,t){var o=this;return"boolean"==typeof i?(e=i,i=e===!0?0:o.slideCount-1):i=e===!0?--i:i,o.slideCount<1||0>i||i>o.slideCount-1?!1:(o.unload(),t===!0?o.$slideTrack.children().remove():o.$slideTrack.children(this.options.slide).eq(i).remove(),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slidesCache=o.$slides,void o.reinit())},e.prototype.setCSS=function(i){var e,t,o=this,s={};o.options.rtl===!0&&(i=-i),e="left"==o.positionProp?Math.ceil(i)+"px":"0px",t="top"==o.positionProp?Math.ceil(i)+"px":"0px",s[o.positionProp]=i,o.transformsEnabled===!1?o.$slideTrack.css(s):(s={},o.cssTransitions===!1?(s[o.animType]="translate("+e+", "+t+")",o.$slideTrack.css(s)):(s[o.animType]="translate3d("+e+", "+t+", 0px)",o.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var i=this;if(i.options.vertical===!1?i.options.centerMode===!0&&i.$list.css({padding:"0px "+i.options.centerPadding}):(i.$list.height(i.$slides.first().outerHeight(!0)*i.options.slidesToShow),i.options.centerMode===!0&&i.$list.css({padding:i.options.centerPadding+" 0px"})),i.listWidth=i.$list.width(),i.listHeight=i.$list.height(),i.options.vertical===!1&&i.options.variableWidth===!1)i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.width(Math.ceil(i.slideWidth*i.$slideTrack.children(".slick-slide").length));else if(i.options.variableWidth===!0){var e=0;i.slideWidth=Math.ceil(i.listWidth/i.options.slidesToShow),i.$slideTrack.children(".slick-slide").each(function(){e+=i.listWidth}),i.$slideTrack.width(Math.ceil(e)+1)}else i.slideWidth=Math.ceil(i.listWidth),i.$slideTrack.height(Math.ceil(i.$slides.first().outerHeight(!0)*i.$slideTrack.children(".slick-slide").length));var t=i.$slides.first().outerWidth(!0)-i.$slides.first().width();i.options.variableWidth===!1&&i.$slideTrack.children(".slick-slide").width(i.slideWidth-t)},e.prototype.setFade=function(){var e,t=this;t.$slides.each(function(o,s){e=-1*t.slideWidth*o,i(s).css(t.options.rtl===!0?{position:"relative",right:e,top:0,zIndex:800,opacity:0}:{position:"relative",left:e,top:0,zIndex:800,opacity:0})}),t.$slides.eq(t.currentSlide).css({zIndex:900,opacity:1})},e.prototype.setHeight=function(){var i=this;if(1===i.options.slidesToShow&&i.options.adaptiveHeight===!0&&i.options.vertical===!1){var e=i.$slides.eq(i.currentSlide).outerHeight(!0);i.$list.css("height",e)}},e.prototype.setOption=e.prototype.slickSetOption=function(i,e,t){var o=this;o.options[i]=e,t===!0&&(o.unload(),o.reinit())},e.prototype.setPosition=function(){var i=this;i.setDimensions(),i.setHeight(),i.options.fade===!1?i.setCSS(i.getLeft(i.currentSlide)):i.setFade(),i.$slider.trigger("setPosition",[i])},e.prototype.setProps=function(){var i=this,e=document.body.style;i.positionProp=i.options.vertical===!0?"top":"left","top"===i.positionProp?i.$slider.addClass("slick-vertical"):i.$slider.removeClass("slick-vertical"),(void 0!==e.WebkitTransition||void 0!==e.MozTransition||void 0!==e.msTransition)&&i.options.useCSS===!0&&(i.cssTransitions=!0),void 0!==e.OTransform&&(i.animType="OTransform",i.transformType="-o-transform",i.transitionType="OTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.MozTransform&&(i.animType="MozTransform",i.transformType="-moz-transform",i.transitionType="MozTransition",void 0===e.perspectiveProperty&&void 0===e.MozPerspective&&(i.animType=!1)),void 0!==e.webkitTransform&&(i.animType="webkitTransform",i.transformType="-webkit-transform",i.transitionType="webkitTransition",void 0===e.perspectiveProperty&&void 0===e.webkitPerspective&&(i.animType=!1)),void 0!==e.msTransform&&(i.animType="msTransform",i.transformType="-ms-transform",i.transitionType="msTransition",void 0===e.msTransform&&(i.animType=!1)),void 0!==e.transform&&i.animType!==!1&&(i.animType="transform",i.transformType="transform",i.transitionType="transition"),i.transformsEnabled=null!==i.animType&&i.animType!==!1},e.prototype.setSlideClasses=function(i){var e,t,o,s,n=this;n.$slider.find(".slick-slide").removeClass("slick-active").removeClass("slick-center"),t=n.$slider.find(".slick-slide"),n.options.centerMode===!0?(e=Math.floor(n.options.slidesToShow/2),n.options.infinite===!0&&(i>=e&&i<=n.slideCount-1-e?n.$slides.slice(i-e,i+e+1).addClass("slick-active"):(o=n.options.slidesToShow+i,t.slice(o-e+1,o+e+2).addClass("slick-active")),0===i?t.eq(t.length-1-n.options.slidesToShow).addClass("slick-center"):i===n.slideCount-1&&t.eq(n.options.slidesToShow).addClass("slick-center")),n.$slides.eq(i).addClass("slick-center")):i>=0&&i<=n.slideCount-n.options.slidesToShow?n.$slides.slice(i,i+n.options.slidesToShow).addClass("slick-active"):t.length<=n.options.slidesToShow?t.addClass("slick-active"):(s=n.slideCount%n.options.slidesToShow,o=n.options.infinite===!0?n.options.slidesToShow+i:i,n.options.slidesToShow==n.options.slidesToScroll&&n.slideCount-i<n.options.slidesToShow?t.slice(o-(n.options.slidesToShow-s),o+s).addClass("slick-active"):t.slice(o,o+n.options.slidesToShow).addClass("slick-active")),"ondemand"===n.options.lazyLoad&&n.lazyLoad()},e.prototype.setupInfinite=function(){var e,t,o,s=this;if(s.options.fade===!0&&(s.options.centerMode=!1),s.options.infinite===!0&&s.options.fade===!1&&(t=null,s.slideCount>s.options.slidesToShow)){for(o=s.options.centerMode===!0?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-o;e-=1)t=e-1,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;o>e;e+=1)t=e,i(s.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$slideTrack.find(".slick-cloned").find("[id]").each(function(){i(this).attr("id","")})}},e.prototype.selectHandler=function(e){var t=this,o=parseInt(i(e.target).parents(".slick-slide").attr("data-slick-index"));return o||(o=0),t.slideCount<=t.options.slidesToShow?(t.$slider.find(".slick-slide").removeClass("slick-active"),t.$slides.eq(o).addClass("slick-active"),t.options.centerMode===!0&&(t.$slider.find(".slick-slide").removeClass("slick-center"),t.$slides.eq(o).addClass("slick-center")),void t.asNavFor(o)):void t.slideHandler(o)},e.prototype.slideHandler=function(i,e,t){var o,s,n,l,r=null,d=this;return e=e||!1,d.animating===!0&&d.options.waitForAnimate===!0||d.options.fade===!0&&d.currentSlide===i||d.slideCount<=d.options.slidesToShow?void 0:(e===!1&&d.asNavFor(i),o=i,r=d.getLeft(o),l=d.getLeft(d.currentSlide),d.currentLeft=null===d.swipeLeft?l:d.swipeLeft,d.options.infinite===!1&&d.options.centerMode===!1&&(0>i||i>d.getDotCount()*d.options.slidesToScroll)?void(d.options.fade===!1&&(o=d.currentSlide,t!==!0?d.animateSlide(l,function(){d.postSlide(o)}):d.postSlide(o))):d.options.infinite===!1&&d.options.centerMode===!0&&(0>i||i>d.slideCount-d.options.slidesToScroll)?void(d.options.fade===!1&&(o=d.currentSlide,t!==!0?d.animateSlide(l,function(){d.postSlide(o)}):d.postSlide(o))):(d.options.autoplay===!0&&clearInterval(d.autoPlayTimer),s=0>o?0!==d.slideCount%d.options.slidesToScroll?d.slideCount-d.slideCount%d.options.slidesToScroll:d.slideCount+o:o>=d.slideCount?0!==d.slideCount%d.options.slidesToScroll?0:o-d.slideCount:o,d.animating=!0,d.$slider.trigger("beforeChange",[d,d.currentSlide,s]),n=d.currentSlide,d.currentSlide=s,d.setSlideClasses(d.currentSlide),d.updateDots(),d.updateArrows(),d.options.fade===!0?(t!==!0?d.fadeSlide(s,function(){d.postSlide(s)}):d.postSlide(s),void d.animateHeight()):void(t!==!0?d.animateSlide(r,function(){d.postSlide(s)}):d.postSlide(s))))},e.prototype.startLoad=function(){var i=this;i.options.arrows===!0&&i.slideCount>i.options.slidesToShow&&(i.$prevArrow.hide(),i.$nextArrow.hide()),i.options.dots===!0&&i.slideCount>i.options.slidesToShow&&i.$dots.hide(),i.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var i,e,t,o,s=this;return i=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,t=Math.atan2(e,i),o=Math.round(180*t/Math.PI),0>o&&(o=360-Math.abs(o)),45>=o&&o>=0?s.options.rtl===!1?"left":"right":360>=o&&o>=315?s.options.rtl===!1?"left":"right":o>=135&&225>=o?s.options.rtl===!1?"right":"left":"vertical"},e.prototype.swipeEnd=function(){var i,e=this;if(e.dragging=!1,e.shouldClick=e.touchObject.swipeLength>10?!1:!0,void 0===e.touchObject.curX)return!1;if(e.touchObject.edgeHit===!0&&e.$slider.trigger("edge",[e,e.swipeDirection()]),e.touchObject.swipeLength>=e.touchObject.minSwipe)switch(e.swipeDirection()){case"left":i=e.options.swipeToSlide?e.checkNavigable(e.currentSlide+e.getSlideCount()):e.currentSlide+e.getSlideCount(),e.slideHandler(i),e.currentDirection=0,e.touchObject={},e.$slider.trigger("swipe",[e,"left"]);break;case"right":i=e.options.swipeToSlide?e.checkNavigable(e.currentSlide-e.getSlideCount()):e.currentSlide-e.getSlideCount(),e.slideHandler(i),e.currentDirection=1,e.touchObject={},e.$slider.trigger("swipe",[e,"right"])}else e.touchObject.startX!==e.touchObject.curX&&(e.slideHandler(e.currentSlide),e.touchObject={})},e.prototype.swipeHandler=function(i){var e=this;if(!(e.options.swipe===!1||"ontouchend"in document&&e.options.swipe===!1||e.options.draggable===!1&&-1!==i.type.indexOf("mouse")))switch(e.touchObject.fingerCount=i.originalEvent&&void 0!==i.originalEvent.touches?i.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,i.data.action){case"start":e.swipeStart(i);break;case"move":e.swipeMove(i);break;case"end":e.swipeEnd(i)}},e.prototype.swipeMove=function(i){var e,t,o,s,n,l=this;return n=void 0!==i.originalEvent?i.originalEvent.touches:null,!l.dragging||n&&1!==n.length?!1:(e=l.getLeft(l.currentSlide),l.touchObject.curX=void 0!==n?n[0].pageX:i.clientX,l.touchObject.curY=void 0!==n?n[0].pageY:i.clientY,l.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(l.touchObject.curX-l.touchObject.startX,2))),t=l.swipeDirection(),"vertical"!==t?(void 0!==i.originalEvent&&l.touchObject.swipeLength>4&&i.preventDefault(),s=(l.options.rtl===!1?1:-1)*(l.touchObject.curX>l.touchObject.startX?1:-1),o=l.touchObject.swipeLength,l.touchObject.edgeHit=!1,l.options.infinite===!1&&(0===l.currentSlide&&"right"===t||l.currentSlide>=l.getDotCount()&&"left"===t)&&(o=l.touchObject.swipeLength*l.options.edgeFriction,l.touchObject.edgeHit=!0),l.swipeLeft=l.options.vertical===!1?e+o*s:e+o*(l.$list.height()/l.listWidth)*s,l.options.fade===!0||l.options.touchMove===!1?!1:l.animating===!0?(l.swipeLeft=null,!1):void l.setCSS(l.swipeLeft)):void 0)},e.prototype.swipeStart=function(i){var e,t=this;return 1!==t.touchObject.fingerCount||t.slideCount<=t.options.slidesToShow?(t.touchObject={},!1):(void 0!==i.originalEvent&&void 0!==i.originalEvent.touches&&(e=i.originalEvent.touches[0]),t.touchObject.startX=t.touchObject.curX=void 0!==e?e.pageX:i.clientX,t.touchObject.startY=t.touchObject.curY=void 0!==e?e.pageY:i.clientY,void(t.dragging=!0))},e.prototype.unfilterSlides=e.prototype.slickUnfilter=function(){var i=this;null!==i.$slidesCache&&(i.unload(),i.$slideTrack.children(this.options.slide).detach(),i.$slidesCache.appendTo(i.$slideTrack),i.reinit())},e.prototype.unload=function(){var e=this;i(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&"object"!=typeof e.options.prevArrow&&e.$prevArrow.remove(),e.$nextArrow&&"object"!=typeof e.options.nextArrow&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible").css("width","")},e.prototype.unslick=function(){var i=this;i.destroy()},e.prototype.updateArrows=function(){var i,e=this;i=Math.floor(e.options.slidesToShow/2),e.options.arrows===!0&&e.options.infinite!==!0&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.removeClass("slick-disabled"),e.$nextArrow.removeClass("slick-disabled"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled"),e.$nextArrow.removeClass("slick-disabled")):e.currentSlide>=e.slideCount-e.options.slidesToShow&&e.options.centerMode===!1?(e.$nextArrow.addClass("slick-disabled"),e.$prevArrow.removeClass("slick-disabled")):e.currentSlide>=e.slideCount-1&&e.options.centerMode===!0&&(e.$nextArrow.addClass("slick-disabled"),e.$prevArrow.removeClass("slick-disabled")))
},e.prototype.updateDots=function(){var i=this;null!==i.$dots&&(i.$dots.find("li").removeClass("slick-active"),i.$dots.find("li").eq(Math.floor(i.currentSlide/i.options.slidesToScroll)).addClass("slick-active"))},e.prototype.visibility=function(){var i=this;document[i.hidden]?(i.paused=!0,i.autoPlayClear()):(i.paused=!1,i.autoPlay())},i.fn.slick=function(){var i,t=this,o=arguments[0],s=Array.prototype.slice.call(arguments,1),n=t.length,l=0;for(l;n>l;l++)if("object"==typeof o||"undefined"==typeof o?t[l].slick=new e(t[l],o):i=t[l].slick[o].apply(t[l].slick,s),"undefined"!=typeof i)return i;return t},i(function(){i("[data-slick]").slick()})});
var wpcf7={"apiSettings":{"root":"https:\/\/prosteklo.com.ua\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"},"cached":"1"};
(function($){'use strict';if(typeof wpcf7==='undefined'||wpcf7===null){return;}
wpcf7=$.extend({cached:0,inputs:[]},wpcf7);$(function(){wpcf7.supportHtml5=(function(){var features={};var input=document.createElement('input');features.placeholder='placeholder'in input;var inputTypes=['email','url','tel','number','range','date'];$.each(inputTypes,function(index,value){input.setAttribute('type',value);features[value]=input.type!=='text';});return features;})();$('div.wpcf7 > form').each(function(){var $form=$(this);wpcf7.initForm($form);if(wpcf7.cached){wpcf7.refill($form);}});});wpcf7.getId=function(form){return parseInt($('input[name="_wpcf7"]',form).val(),10);};wpcf7.initForm=function(form){var $form=$(form);wpcf7.setStatus($form,'init');$form.submit(function(event){if(!wpcf7.supportHtml5.placeholder){$('[placeholder].placeheld',$form).each(function(i,n){$(n).val('').removeClass('placeheld');});}
if(typeof window.FormData==='function'){wpcf7.submit($form);event.preventDefault();}});$('.wpcf7-submit',$form).after('<span class="ajax-loader"></span>');wpcf7.toggleSubmit($form);$form.on('click','.wpcf7-acceptance',function(){wpcf7.toggleSubmit($form);});$('.wpcf7-exclusive-checkbox',$form).on('click','input:checkbox',function(){var name=$(this).attr('name');$form.find('input:checkbox[name="'+name+'"]').not(this).prop('checked',false);});$('.wpcf7-list-item.has-free-text',$form).each(function(){var $freetext=$(':input.wpcf7-free-text',this);var $wrap=$(this).closest('.wpcf7-form-control');if($(':checkbox, :radio',this).is(':checked')){$freetext.prop('disabled',false);}else{$freetext.prop('disabled',true);}
$wrap.on('change',':checkbox, :radio',function(){var $cb=$('.has-free-text',$wrap).find(':checkbox, :radio');if($cb.is(':checked')){$freetext.prop('disabled',false).focus();}else{$freetext.prop('disabled',true);}});});if(!wpcf7.supportHtml5.placeholder){$('[placeholder]',$form).each(function(){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');$(this).focus(function(){if($(this).hasClass('placeheld')){$(this).val('').removeClass('placeheld');}});$(this).blur(function(){if(''===$(this).val()){$(this).val($(this).attr('placeholder'));$(this).addClass('placeheld');}});});}
if(wpcf7.jqueryUi&&!wpcf7.supportHtml5.date){$form.find('input.wpcf7-date[type="date"]').each(function(){$(this).datepicker({dateFormat:'yy-mm-dd',minDate:new Date($(this).attr('min')),maxDate:new Date($(this).attr('max'))});});}
if(wpcf7.jqueryUi&&!wpcf7.supportHtml5.number){$form.find('input.wpcf7-number[type="number"]').each(function(){$(this).spinner({min:$(this).attr('min'),max:$(this).attr('max'),step:$(this).attr('step')});});}
wpcf7.resetCounter($form);$form.on('change','.wpcf7-validates-as-url',function(){var val=$.trim($(this).val());if(val&&!val.match(/^[a-z][a-z0-9.+-]*:/i)&&-1!==val.indexOf('.')){val=val.replace(/^\/+/,'');val='http://'+val;}
$(this).val(val);});};wpcf7.submit=function(form){if(typeof window.FormData!=='function'){return;}
var $form=$(form);$('.ajax-loader',$form).addClass('is-active');wpcf7.clearResponse($form);var formData=new FormData($form.get(0));var detail={id:$form.closest('div.wpcf7').attr('id'),status:'init',inputs:[],formData:formData};$.each($form.serializeArray(),function(i,field){if('_wpcf7'==field.name){detail.contactFormId=field.value;}else if('_wpcf7_version'==field.name){detail.pluginVersion=field.value;}else if('_wpcf7_locale'==field.name){detail.contactFormLocale=field.value;}else if('_wpcf7_unit_tag'==field.name){detail.unitTag=field.value;}else if('_wpcf7_container_post'==field.name){detail.containerPostId=field.value;}else if(field.name.match(/^_/)){}else{detail.inputs.push(field);}});wpcf7.triggerEvent($form.closest('div.wpcf7'),'beforesubmit',detail);var ajaxSuccess=function(data,status,xhr,$form){detail.id=$(data.into).attr('id');detail.status=data.status;detail.apiResponse=data;switch(data.status){case'init':wpcf7.setStatus($form,'init');break;case'validation_failed':$.each(data.invalid_fields,function(i,n){$(n.into,$form).each(function(){wpcf7.notValidTip(this,n.message);$('.wpcf7-form-control',this).addClass('wpcf7-not-valid');$('[aria-invalid]',this).attr('aria-invalid','true');});});wpcf7.setStatus($form,'invalid');wpcf7.triggerEvent(data.into,'invalid',detail);break;case'acceptance_missing':wpcf7.setStatus($form,'unaccepted');wpcf7.triggerEvent(data.into,'unaccepted',detail);break;case'spam':wpcf7.setStatus($form,'spam');wpcf7.triggerEvent(data.into,'spam',detail);break;case'aborted':wpcf7.setStatus($form,'aborted');wpcf7.triggerEvent(data.into,'aborted',detail);break;case'mail_sent':wpcf7.setStatus($form,'sent');wpcf7.triggerEvent(data.into,'mailsent',detail);break;case'mail_failed':wpcf7.setStatus($form,'failed');wpcf7.triggerEvent(data.into,'mailfailed',detail);break;default:wpcf7.setStatus($form,'custom-'+data.status.replace(/[^0-9a-z]+/i,'-'));}
wpcf7.refill($form,data);wpcf7.triggerEvent(data.into,'submit',detail);if('mail_sent'==data.status){$form.each(function(){this.reset();});wpcf7.toggleSubmit($form);wpcf7.resetCounter($form);}
if(!wpcf7.supportHtml5.placeholder){$form.find('[placeholder].placeheld').each(function(i,n){$(n).val($(n).attr('placeholder'));});}
$('.wpcf7-response-output',$form).html('').append(data.message).slideDown('fast');$('.screen-reader-response',$form.closest('.wpcf7')).each(function(){var $response=$(this);$response.html('').append(data.message);if(data.invalid_fields){var $invalids=$('<ul></ul>');$.each(data.invalid_fields,function(i,n){if(n.idref){var $li=$('<li></li>').append($('<a></a>').attr('href','#'+n.idref).append(n.message));}else{var $li=$('<li></li>').append(n.message);}
$invalids.append($li);});$response.append($invalids);}
$response.focus();});if(data.posted_data_hash){$form.find('input[name="_wpcf7_posted_data_hash"]').first().val(data.posted_data_hash);}};$.ajax({type:'POST',url:wpcf7.apiSettings.getRoute('/contact-forms/'+wpcf7.getId($form)+'/feedback'),data:formData,dataType:'json',processData:false,contentType:false}).done(function(data,status,xhr){ajaxSuccess(data,status,xhr,$form);$('.ajax-loader',$form).removeClass('is-active');}).fail(function(xhr,status,error){var $e=$('<div class="ajax-error"></div>').text(error.message);$form.after($e);});};wpcf7.triggerEvent=function(target,name,detail){var event=new CustomEvent('wpcf7'+name,{bubbles:true,detail:detail});$(target).get(0).dispatchEvent(event);};wpcf7.setStatus=function(form,status){var $form=$(form);var prevStatus=$form.data('status');$form.data('status',status);$form.addClass(status);if(prevStatus&&prevStatus!==status){$form.removeClass(prevStatus);}}
wpcf7.toggleSubmit=function(form,state){var $form=$(form);var $submit=$('input:submit',$form);if(typeof state!=='undefined'){$submit.prop('disabled',!state);return;}
if($form.hasClass('wpcf7-acceptance-as-validation')){return;}
$submit.prop('disabled',false);$('.wpcf7-acceptance',$form).each(function(){var $span=$(this);var $input=$('input:checkbox',$span);if(!$span.hasClass('optional')){if($span.hasClass('invert')&&$input.is(':checked')||!$span.hasClass('invert')&&!$input.is(':checked')){$submit.prop('disabled',true);return false;}}});};wpcf7.resetCounter=function(form){var $form=$(form);$('.wpcf7-character-count',$form).each(function(){var $count=$(this);var name=$count.attr('data-target-name');var down=$count.hasClass('down');var starting=parseInt($count.attr('data-starting-value'),10);var maximum=parseInt($count.attr('data-maximum-value'),10);var minimum=parseInt($count.attr('data-minimum-value'),10);var updateCount=function(target){var $target=$(target);var length=$target.val().length;var count=down?starting-length:length;$count.attr('data-current-value',count);$count.text(count);if(maximum&&maximum<length){$count.addClass('too-long');}else{$count.removeClass('too-long');}
if(minimum&&length<minimum){$count.addClass('too-short');}else{$count.removeClass('too-short');}};$(':input[name="'+name+'"]',$form).each(function(){updateCount(this);$(this).keyup(function(){updateCount(this);});});});};wpcf7.notValidTip=function(target,message){var $target=$(target);$('.wpcf7-not-valid-tip',$target).remove();$('<span></span>').attr({'class':'wpcf7-not-valid-tip','role':'alert','aria-hidden':'true',}).text(message).appendTo($target);if($target.is('.use-floating-validation-tip *')){var fadeOut=function(target){$(target).not(':hidden').animate({opacity:0},'fast',function(){$(this).css({'z-index':-100});});};$target.on('mouseover','.wpcf7-not-valid-tip',function(){fadeOut(this);});$target.on('focus',':input',function(){fadeOut($('.wpcf7-not-valid-tip',$target));});}};wpcf7.refill=function(form,data){var $form=$(form);var refillCaptcha=function($form,items){$.each(items,function(i,n){$form.find(':input[name="'+i+'"]').val('');$form.find('img.wpcf7-captcha-'+i).attr('src',n);var match=/([0-9]+)\.(png|gif|jpeg)$/.exec(n);$form.find('input:hidden[name="_wpcf7_captcha_challenge_'+i+'"]').attr('value',match[1]);});};var refillQuiz=function($form,items){$.each(items,function(i,n){$form.find(':input[name="'+i+'"]').val('');$form.find(':input[name="'+i+'"]').siblings('span.wpcf7-quiz-label').text(n[0]);$form.find('input:hidden[name="_wpcf7_quiz_answer_'+i+'"]').attr('value',n[1]);});};if(typeof data==='undefined'){$.ajax({type:'GET',url:wpcf7.apiSettings.getRoute('/contact-forms/'+wpcf7.getId($form)+'/refill'),beforeSend:function(xhr){var nonce=$form.find(':input[name="_wpnonce"]').val();if(nonce){xhr.setRequestHeader('X-WP-Nonce',nonce);}},dataType:'json'}).done(function(data,status,xhr){if(data.captcha){refillCaptcha($form,data.captcha);}
if(data.quiz){refillQuiz($form,data.quiz);}});}else{if(data.captcha){refillCaptcha($form,data.captcha);}
if(data.quiz){refillQuiz($form,data.quiz);}}};wpcf7.clearResponse=function(form){var $form=$(form);$form.siblings('.screen-reader-response').html('');$('.wpcf7-not-valid-tip',$form).remove();$('[aria-invalid]',$form).attr('aria-invalid','false');$('.wpcf7-form-control',$form).removeClass('wpcf7-not-valid');$('.wpcf7-response-output',$form).hide().empty();};wpcf7.apiSettings.getRoute=function(path){var url=wpcf7.apiSettings.root;url=url.replace(wpcf7.apiSettings.namespace,wpcf7.apiSettings.namespace+path);return url;};})(jQuery);(function(){if(typeof window.CustomEvent==="function")return false;function CustomEvent(event,params){params=params||{bubbles:false,cancelable:false,detail:undefined};var evt=document.createEvent('CustomEvent');evt.initCustomEvent(event,params.bubbles,params.cancelable,params.detail);return evt;}
CustomEvent.prototype=window.Event.prototype;window.CustomEvent=CustomEvent;})();
;(function(e){function b(){c=a.filter(function(){var f=e(this),a=d.scrollTop(),b=a+d.height(),c=f.offset().top;return c+f.height()>=a-g&&c<=b+g});a=a.not(c.trigger("scrollin"))}var d=e(window),g=200,a=e("img[data-src]"),c;a.bind("scrollin",{},function(){var a=jQuery(this),b=a.attr("data-src");a.unbind("scrollin").hide().removeAttr("data-src");this.src=b;a.fadeIn()});d.scroll(b);d.resize(b);b();return this})(jQuery);
/*!
 * jQuery blockUI plugin
 * Version 2.70.0-2014.11.23
 * Requires jQuery v1.7 or later
 *
 * Examples at: http://malsup.com/jquery/block/
 * Copyright (c) 2007-2013 M. Alsup
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Thanks to Amir-Hossein Sobhi for some excellent contributions!
 */
!function(){"use strict";function e(e){function t(t,n){var s,h,k=t==window,y=n&&n.message!==undefined?n.message:undefined;if(!(n=e.extend({},e.blockUI.defaults,n||{})).ignoreIfBlocked||!e(t).data("blockUI.isBlocked")){if(n.overlayCSS=e.extend({},e.blockUI.defaults.overlayCSS,n.overlayCSS||{}),s=e.extend({},e.blockUI.defaults.css,n.css||{}),n.onOverlayClick&&(n.overlayCSS.cursor="pointer"),h=e.extend({},e.blockUI.defaults.themedCSS,n.themedCSS||{}),y=y===undefined?n.message:y,k&&p&&o(window,{fadeOut:0}),y&&"string"!=typeof y&&(y.parentNode||y.jquery)){var m=y.jquery?y[0]:y,g={};e(t).data("blockUI.history",g),g.el=m,g.parent=m.parentNode,g.display=m.style.display,g.position=m.style.position,g.parent&&g.parent.removeChild(m)}e(t).data("blockUI.onUnblock",n.onUnblock);var v,I,w,U,x=n.baseZ;v=e(r||n.forceIframe?'<iframe class="blockUI" style="z-index:'+x+++';display:none;border:none;margin:0;padding:0;position:absolute;width:100%;height:100%;top:0;left:0" src="'+n.iframeSrc+'"></iframe>':'<div class="blockUI" style="display:none"></div>'),I=e(n.theme?'<div class="blockUI blockOverlay ui-widget-overlay" style="z-index:'+x+++';display:none"></div>':'<div class="blockUI blockOverlay" style="z-index:'+x+++';display:none;border:none;margin:0;padding:0;width:100%;height:100%;top:0;left:0"></div>'),n.theme&&k?(U='<div class="blockUI '+n.blockMsgClass+' blockPage ui-dialog ui-widget ui-corner-all" style="z-index:'+(x+10)+';display:none;position:fixed">',n.title&&(U+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||"&nbsp;")+"</div>"),U+='<div class="ui-widget-content ui-dialog-content"></div>',U+="</div>"):n.theme?(U='<div class="blockUI '+n.blockMsgClass+' blockElement ui-dialog ui-widget ui-corner-all" style="z-index:'+(x+10)+';display:none;position:absolute">',n.title&&(U+='<div class="ui-widget-header ui-dialog-titlebar ui-corner-all blockTitle">'+(n.title||"&nbsp;")+"</div>"),U+='<div class="ui-widget-content ui-dialog-content"></div>',U+="</div>"):U=k?'<div class="blockUI '+n.blockMsgClass+' blockPage" style="z-index:'+(x+10)+';display:none;position:fixed"></div>':'<div class="blockUI '+n.blockMsgClass+' blockElement" style="z-index:'+(x+10)+';display:none;position:absolute"></div>',w=e(U),y&&(n.theme?(w.css(h),w.addClass("ui-widget-content")):w.css(s)),n.theme||I.css(n.overlayCSS),I.css("position",k?"fixed":"absolute"),(r||n.forceIframe)&&v.css("opacity",0);var C=[v,I,w],S=e(k?"body":t);e.each(C,function(){this.appendTo(S)}),n.theme&&n.draggable&&e.fn.draggable&&w.draggable({handle:".ui-dialog-titlebar",cancel:"li"});var O=f&&(!e.support.boxModel||e("object,embed",k?null:t).length>0);if(u||O){if(k&&n.allowBodyStretch&&e.support.boxModel&&e("html,body").css("height","100%"),(u||!e.support.boxModel)&&!k)var E=a(t,"borderTopWidth"),T=a(t,"borderLeftWidth"),M=E?"(0 - "+E+")":0,B=T?"(0 - "+T+")":0;e.each(C,function(e,t){var o=t[0].style;if(o.position="absolute",e<2)k?o.setExpression("height","Math.max(document.body.scrollHeight, document.body.offsetHeight) - (jQuery.support.boxModel?0:"+n.quirksmodeOffsetHack+') + "px"'):o.setExpression("height",'this.parentNode.offsetHeight + "px"'),k?o.setExpression("width",'jQuery.support.boxModel && document.documentElement.clientWidth || document.body.clientWidth + "px"'):o.setExpression("width",'this.parentNode.offsetWidth + "px"'),B&&o.setExpression("left",B),M&&o.setExpression("top",M);else if(n.centerY)k&&o.setExpression("top",'(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (blah = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"'),o.marginTop=0;else if(!n.centerY&&k){var i="((document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "+(n.css&&n.css.top?parseInt(n.css.top,10):0)+') + "px"';o.setExpression("top",i)}})}if(y&&(n.theme?w.find(".ui-widget-content").append(y):w.append(y),(y.jquery||y.nodeType)&&e(y).show()),(r||n.forceIframe)&&n.showOverlay&&v.show(),n.fadeIn){var j=n.onBlock?n.onBlock:c,H=n.showOverlay&&!y?j:c,z=y?j:c;n.showOverlay&&I._fadeIn(n.fadeIn,H),y&&w._fadeIn(n.fadeIn,z)}else n.showOverlay&&I.show(),y&&w.show(),n.onBlock&&n.onBlock.bind(w)();if(i(1,t,n),k?(p=w[0],b=e(n.focusableElements,p),n.focusInput&&setTimeout(l,20)):d(w[0],n.centerX,n.centerY),n.timeout){var W=setTimeout(function(){k?e.unblockUI(n):e(t).unblock(n)},n.timeout);e(t).data("blockUI.timeout",W)}}}function o(t,o){var s,l=t==window,d=e(t),a=d.data("blockUI.history"),c=d.data("blockUI.timeout");c&&(clearTimeout(c),d.removeData("blockUI.timeout")),o=e.extend({},e.blockUI.defaults,o||{}),i(0,t,o),null===o.onUnblock&&(o.onUnblock=d.data("blockUI.onUnblock"),d.removeData("blockUI.onUnblock"));var r;r=l?e(document.body).children().filter(".blockUI").add("body > .blockUI"):d.find(">.blockUI"),o.cursorReset&&(r.length>1&&(r[1].style.cursor=o.cursorReset),r.length>2&&(r[2].style.cursor=o.cursorReset)),l&&(p=b=null),o.fadeOut?(s=r.length,r.stop().fadeOut(o.fadeOut,function(){0==--s&&n(r,a,o,t)})):n(r,a,o,t)}function n(t,o,n,i){var s=e(i);if(!s.data("blockUI.isBlocked")){t.each(function(e,t){this.parentNode&&this.parentNode.removeChild(this)}),o&&o.el&&(o.el.style.display=o.display,o.el.style.position=o.position,o.el.style.cursor="default",o.parent&&o.parent.appendChild(o.el),s.removeData("blockUI.history")),s.data("blockUI.static")&&s.css("position","static"),"function"==typeof n.onUnblock&&n.onUnblock(i,n);var l=e(document.body),d=l.width(),a=l[0].style.width;l.width(d-1).width(d),l[0].style.width=a}}function i(t,o,n){var i=o==window,l=e(o);if((t||(!i||p)&&(i||l.data("blockUI.isBlocked")))&&(l.data("blockUI.isBlocked",t),i&&n.bindEvents&&(!t||n.showOverlay))){var d="mousedown mouseup keydown keypress keyup touchstart touchend touchmove";t?e(document).bind(d,n,s):e(document).unbind(d,s)}}function s(t){if("keydown"===t.type&&t.keyCode&&9==t.keyCode&&p&&t.data.constrainTabKey){var o=b,n=!t.shiftKey&&t.target===o[o.length-1],i=t.shiftKey&&t.target===o[0];if(n||i)return setTimeout(function(){l(i)},10),!1}var s=t.data,d=e(t.target);return d.hasClass("blockOverlay")&&s.onOverlayClick&&s.onOverlayClick(t),d.parents("div."+s.blockMsgClass).length>0||0===d.parents().children().filter("div.blockUI").length}function l(e){if(b){var t=b[!0===e?b.length-1:0];t&&t.focus()}}function d(e,t,o){var n=e.parentNode,i=e.style,s=(n.offsetWidth-e.offsetWidth)/2-a(n,"borderLeftWidth"),l=(n.offsetHeight-e.offsetHeight)/2-a(n,"borderTopWidth");t&&(i.left=s>0?s+"px":"0"),o&&(i.top=l>0?l+"px":"0")}function a(t,o){return parseInt(e.css(t,o),10)||0}e.fn._fadeIn=e.fn.fadeIn;var c=e.noop||function(){},r=/MSIE/.test(navigator.userAgent),u=/MSIE 6.0/.test(navigator.userAgent)&&!/MSIE 8.0/.test(navigator.userAgent),f=(document.documentMode,e.isFunction(document.createElement("div").style.setExpression));e.blockUI=function(e){t(window,e)},e.unblockUI=function(e){o(window,e)},e.growlUI=function(t,o,n,i){var s=e('<div class="growlUI"></div>');t&&s.append("<h1>"+t+"</h1>"),o&&s.append("<h2>"+o+"</h2>"),n===undefined&&(n=3e3);var l=function(t){t=t||{},e.blockUI({message:s,fadeIn:"undefined"!=typeof t.fadeIn?t.fadeIn:700,fadeOut:"undefined"!=typeof t.fadeOut?t.fadeOut:1e3,timeout:"undefined"!=typeof t.timeout?t.timeout:n,centerY:!1,showOverlay:!1,onUnblock:i,css:e.blockUI.defaults.growlCSS})};l();s.css("opacity");s.mouseover(function(){l({fadeIn:0,timeout:3e4});var t=e(".blockMsg");t.stop(),t.fadeTo(300,1)}).mouseout(function(){e(".blockMsg").fadeOut(1e3)})},e.fn.block=function(o){if(this[0]===window)return e.blockUI(o),this;var n=e.extend({},e.blockUI.defaults,o||{});return this.each(function(){var t=e(this);n.ignoreIfBlocked&&t.data("blockUI.isBlocked")||t.unblock({fadeOut:0})}),this.each(function(){"static"==e.css(this,"position")&&(this.style.position="relative",e(this).data("blockUI.static",!0)),this.style.zoom=1,t(this,o)})},e.fn.unblock=function(t){return this[0]===window?(e.unblockUI(t),this):this.each(function(){o(this,t)})},e.blockUI.version=2.7,e.blockUI.defaults={message:"<h1>Please wait...</h1>",title:null,draggable:!0,theme:!1,css:{padding:0,margin:0,width:"30%",top:"40%",left:"35%",textAlign:"center",color:"#000",border:"3px solid #aaa",backgroundColor:"#fff",cursor:"wait"},themedCSS:{width:"30%",top:"40%",left:"35%"},overlayCSS:{backgroundColor:"#000",opacity:.6,cursor:"wait"},cursorReset:"default",growlCSS:{width:"350px",top:"10px",left:"",right:"10px",border:"none",padding:"5px",opacity:.6,cursor:"default",color:"#fff",backgroundColor:"#000","-webkit-border-radius":"10px","-moz-border-radius":"10px","border-radius":"10px"},iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank",forceIframe:!1,baseZ:1e3,centerX:!0,centerY:!0,allowBodyStretch:!0,bindEvents:!0,constrainTabKey:!0,fadeIn:200,fadeOut:400,timeout:0,showOverlay:!0,focusInput:!0,focusableElements:":input:enabled:visible",onBlock:null,onUnblock:null,onOverlayClick:null,quirksmodeOffsetHack:4,blockMsgClass:"blockMsg",ignoreIfBlocked:!1};var p=null,b=[]}"function"==typeof define&&define.amd&&define.amd.jQuery?define(["jquery"],e):e(jQuery)}();
var wc_add_to_cart_params={"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","i18n_view_cart":"\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u043a\u043e\u0440\u0437\u0438\u043d\u044b","cart_url":"https:\/\/prosteklo.com.ua\/cart\/","is_cart":"","cart_redirect_after_add":"no"};
jQuery(function(e){if("undefined"==typeof wc_add_to_cart_params)return!1;function t(){e(document.body).on("click",".add_to_cart_button",this.onAddToCart).on("click",".remove_from_cart_button",this.onRemoveFromCart).on("added_to_cart",this.updateButton).on("added_to_cart",this.updateCartPage).on("added_to_cart removed_from_cart",this.updateFragments)}t.prototype.onAddToCart=function(t){var a=e(this);if(a.is(".ajax_add_to_cart")){if(!a.attr("data-product_id"))return!0;t.preventDefault(),a.removeClass("added"),a.addClass("loading");var r={};e.each(a.data(),function(t,a){r[t]=a}),e(document.body).trigger("adding_to_cart",[a,r]),e.post(wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","add_to_cart"),r,function(t){t&&(t.error&&t.product_url?window.location=t.product_url:"yes"!==wc_add_to_cart_params.cart_redirect_after_add?e(document.body).trigger("added_to_cart",[t.fragments,t.cart_hash,a]):window.location=wc_add_to_cart_params.cart_url)})}},t.prototype.onRemoveFromCart=function(t){var a=e(this),r=a.closest(".woocommerce-mini-cart-item");t.preventDefault(),r.block({message:null,overlayCSS:{opacity:.6}}),e.post(wc_add_to_cart_params.wc_ajax_url.toString().replace("%%endpoint%%","remove_from_cart"),{cart_item_key:a.data("cart_item_key")},function(t){t&&t.fragments?e(document.body).trigger("removed_from_cart",[t.fragments,t.cart_hash,a]):window.location=a.attr("href")}).fail(function(){window.location=a.attr("href")})},t.prototype.updateButton=function(t,a,r,o){(o=void 0!==o&&o)&&(o.removeClass("loading"),o.addClass("added"),wc_add_to_cart_params.is_cart||0!==o.parent().find(".added_to_cart").length||o.after(' <a href="'+wc_add_to_cart_params.cart_url+'" class="added_to_cart wc-forward" title="'+wc_add_to_cart_params.i18n_view_cart+'">'+wc_add_to_cart_params.i18n_view_cart+"</a>"),e(document.body).trigger("wc_cart_button_updated",[o]))},t.prototype.updateCartPage=function(){var t=window.location.toString().replace("add-to-cart","added-to-cart");e.get(t,function(t){e(".shop_table.cart:eq(0)").replaceWith(e(t).find(".shop_table.cart:eq(0)")),e(".cart_totals:eq(0)").replaceWith(e(t).find(".cart_totals:eq(0)")),e(".cart_totals, .shop_table.cart").stop(!0).css("opacity","1").unblock(),e(document.body).trigger("cart_page_refreshed"),e(document.body).trigger("cart_totals_refreshed")})},t.prototype.updateFragments=function(t,a){a&&(e.each(a,function(t){e(t).addClass("updating").fadeTo("400","0.6").block({message:null,overlayCSS:{opacity:.6}})}),e.each(a,function(t,a){e(t).replaceWith(a),e(t).stop(!0).css("opacity","1").unblock()}),e(document.body).trigger("wc_fragments_loaded"))},new t});
var wc_single_product_params={"i18n_required_rating_text":"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0441\u0442\u0430\u0432\u044c\u0442\u0435 \u043e\u0446\u0435\u043d\u043a\u0443","review_rating_required":"yes","flexslider":{"rtl":false,"animation":"slide","smoothHeight":true,"directionNav":false,"controlNav":"thumbnails","slideshow":false,"animationSpeed":500,"animationLoop":false,"allowOneSlide":false},"zoom_enabled":"","zoom_options":[],"photoswipe_enabled":"","photoswipe_options":{"shareEl":false,"closeOnScroll":false,"history":false,"hideAnimationDuration":0,"showAnimationDuration":0},"flexslider_enabled":""};
jQuery(function(s){if("undefined"==typeof wc_single_product_params)return!1;s("body").on("init",".wc-tabs-wrapper, .woocommerce-tabs",function(){s(".wc-tab, .woocommerce-tabs .panel:not(.panel .panel)").hide();var t=window.location.hash,e=window.location.href,i=s(this).find(".wc-tabs, ul.tabs").first();0<=t.toLowerCase().indexOf("comment-")||"#reviews"===t||"#tab-reviews"===t?i.find("li.reviews_tab a").click():0<e.indexOf("comment-page-")||0<e.indexOf("cpage=")?i.find("li.reviews_tab a").click():"#tab-additional_information"===t?i.find("li.additional_information_tab a").click():i.find("li:first a").click()}).on("click",".wc-tabs li a, ul.tabs li a",function(t){t.preventDefault();var e=s(this),i=e.closest(".wc-tabs-wrapper, .woocommerce-tabs");i.find(".wc-tabs, ul.tabs").find("li").removeClass("active"),i.find(".wc-tab, .panel:not(.panel .panel)").hide(),e.closest("li").addClass("active"),i.find(e.attr("href")).show()}).on("click","a.woocommerce-review-link",function(){return s(".reviews_tab a").click(),!0}).on("init","#rating",function(){s("#rating").hide().before('<p class="stars">\t\t\t\t\t\t<span>\t\t\t\t\t\t\t<a class="star-1" href="#">1</a>\t\t\t\t\t\t\t<a class="star-2" href="#">2</a>\t\t\t\t\t\t\t<a class="star-3" href="#">3</a>\t\t\t\t\t\t\t<a class="star-4" href="#">4</a>\t\t\t\t\t\t\t<a class="star-5" href="#">5</a>\t\t\t\t\t\t</span>\t\t\t\t\t</p>')}).on("click","#respond p.stars a",function(){var t=s(this),e=s(this).closest("#respond").find("#rating"),i=s(this).closest(".stars");return e.val(t.text()),t.siblings("a").removeClass("active"),t.addClass("active"),i.addClass("selected"),!1}).on("click","#respond #submit",function(){var t=s(this).closest("#respond").find("#rating"),e=t.val();if(0<t.length&&!e&&"yes"===wc_single_product_params.review_rating_required)return window.alert(wc_single_product_params.i18n_required_rating_text),!1}),s(".wc-tabs-wrapper, .woocommerce-tabs, #rating").trigger("init");function e(t,e){this.$target=t,this.$images=s(".woocommerce-product-gallery__image",t),0!==this.$images.length?(t.data("product_gallery",this),this.flexslider_enabled=s.isFunction(s.fn.flexslider)&&wc_single_product_params.flexslider_enabled,this.zoom_enabled=s.isFunction(s.fn.zoom)&&wc_single_product_params.zoom_enabled,this.photoswipe_enabled="undefined"!=typeof PhotoSwipe&&wc_single_product_params.photoswipe_enabled,e&&(this.flexslider_enabled=!1!==e.flexslider_enabled&&this.flexslider_enabled,this.zoom_enabled=!1!==e.zoom_enabled&&this.zoom_enabled,this.photoswipe_enabled=!1!==e.photoswipe_enabled&&this.photoswipe_enabled),1===this.$images.length&&(this.flexslider_enabled=!1),this.initFlexslider=this.initFlexslider.bind(this),this.initZoom=this.initZoom.bind(this),this.initZoomForTarget=this.initZoomForTarget.bind(this),this.initPhotoswipe=this.initPhotoswipe.bind(this),this.onResetSlidePosition=this.onResetSlidePosition.bind(this),this.getGalleryItems=this.getGalleryItems.bind(this),this.openPhotoswipe=this.openPhotoswipe.bind(this),this.flexslider_enabled?(this.initFlexslider(e.flexslider),t.on("woocommerce_gallery_reset_slide_position",this.onResetSlidePosition)):this.$target.css("opacity",1),this.zoom_enabled&&(this.initZoom(),t.on("woocommerce_gallery_init_zoom",this.initZoom)),this.photoswipe_enabled&&this.initPhotoswipe()):this.$target.css("opacity",1)}e.prototype.initFlexslider=function(t){var e=this.$target,i=this,o=s.extend({selector:".woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image",start:function(){e.css("opacity",1)},after:function(t){i.initZoomForTarget(i.$images.eq(t.currentSlide))}},t);e.flexslider(o),s(".woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:eq(0) .wp-post-image").one("load",function(){var i=s(this);i&&setTimeout(function(){var t=i.closest(".woocommerce-product-gallery__image").height(),e=i.closest(".flex-viewport");t&&e&&e.height(t)},100)}).each(function(){this.complete&&s(this).trigger("load")})},e.prototype.initZoom=function(){this.initZoomForTarget(this.$images.first())},e.prototype.initZoomForTarget=function(t){if(!this.zoom_enabled)return!1;var i=this.$target.width(),o=!1;if(s(t).each(function(t,e){if(s(e).find("img").data("large_image_width")>i)return!(o=!0)}),o){var e=s.extend({touch:!1},wc_single_product_params.zoom_options);"ontouchstart"in document.documentElement&&(e.on="click"),t.trigger("zoom.destroy"),t.zoom(e),setTimeout(function(){t.find(":hover").length&&t.trigger("mouseover")},100)}},e.prototype.initPhotoswipe=function(){this.zoom_enabled&&0<this.$images.length?(this.$target.prepend('<a href="#" class="woocommerce-product-gallery__trigger">🔍</a>'),this.$target.on("click",".woocommerce-product-gallery__trigger",this.openPhotoswipe),this.$target.on("click",".woocommerce-product-gallery__image a",function(t){t.preventDefault()}),this.flexslider_enabled||this.$target.on("click",".woocommerce-product-gallery__image a",this.openPhotoswipe)):this.$target.on("click",".woocommerce-product-gallery__image a",this.openPhotoswipe)},e.prototype.onResetSlidePosition=function(){this.$target.flexslider(0)},e.prototype.getGalleryItems=function(){var t=this.$images,r=[];return 0<t.length&&t.each(function(t,e){var i=s(e).find("img");if(i.length){var o={src:i.attr("data-large_image"),w:i.attr("data-large_image_width"),h:i.attr("data-large_image_height"),title:i.attr("data-caption")?i.attr("data-caption"):i.attr("title")};r.push(o)}}),r},e.prototype.openPhotoswipe=function(t){t.preventDefault();var e,i=s(".pswp")[0],o=this.getGalleryItems(),r=s(t.target);e=r.is(".woocommerce-product-gallery__trigger")||r.is(".woocommerce-product-gallery__trigger img")?this.$target.find(".flex-active-slide"):r.closest(".woocommerce-product-gallery__image");var a=s.extend({index:s(e).index(),addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].textContent=t.title,!0):(e.children[0].textContent="",!1)}},wc_single_product_params.photoswipe_options);new PhotoSwipe(i,PhotoSwipeUI_Default,o,a).init()},s.fn.wc_product_gallery=function(t){return new e(this,t||wc_single_product_params),this},s(".woocommerce-product-gallery").each(function(){s(this).trigger("wc-product-gallery-before-init",[this,wc_single_product_params]),s(this).wc_product_gallery(wc_single_product_params),s(this).trigger("wc-product-gallery-after-init",[this,wc_single_product_params])})});
/*!
 * JavaScript Cookie v2.1.4
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */
!function(e){var n=!1;if("function"==typeof define&&define.amd&&(define(e),n=!0),"object"==typeof exports&&(module.exports=e(),n=!0),!n){var o=window.Cookies,t=window.Cookies=e();t.noConflict=function(){return window.Cookies=o,t}}}(function(){function e(){for(var e=0,n={};e<arguments.length;e++){var o=arguments[e];for(var t in o)n[t]=o[t]}return n}function n(o){function t(n,r,i){var c;if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(i=e({path:"/"},t.defaults,i)).expires){var a=new Date;a.setMilliseconds(a.getMilliseconds()+864e5*i.expires),i.expires=a}i.expires=i.expires?i.expires.toUTCString():"";try{c=JSON.stringify(r),/^[\{\[]/.test(c)&&(r=c)}catch(m){}r=o.write?o.write(r,n):encodeURIComponent(String(r)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),n=(n=(n=encodeURIComponent(String(n))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var f="";for(var s in i)i[s]&&(f+="; "+s,!0!==i[s]&&(f+="="+i[s]));return document.cookie=n+"="+r+f}n||(c={});for(var p=document.cookie?document.cookie.split("; "):[],d=/(%[0-9A-Z]{2})+/g,u=0;u<p.length;u++){var l=p[u].split("="),C=l.slice(1).join("=");'"'===C.charAt(0)&&(C=C.slice(1,-1));try{var g=l[0].replace(d,decodeURIComponent);if(C=o.read?o.read(C,g):o(C,g)||C.replace(d,decodeURIComponent),this.json)try{C=JSON.parse(C)}catch(m){}if(n===g){c=C;break}n||(c[g]=C)}catch(m){}}return c}}return t.set=t,t.get=function(e){return t.call(t,e)},t.getJSON=function(){return t.apply({json:!0},[].slice.call(arguments))},t.defaults={},t.remove=function(n,o){t(n,"",e(o,{expires:-1}))},t.withConverter=n,t}return n(function(){})});
var woocommerce_params={"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%"};
jQuery(function(i){i(".woocommerce-ordering").on("change","select.orderby",function(){i(this).closest("form").submit()}),i("input.qty:not(.product-quantity input.qty)").each(function(){var e=parseFloat(i(this).attr("min"));0<=e&&parseFloat(i(this).val())<e&&i(this).val(e)});var o="store_notice"+(i(".woocommerce-store-notice").data("notice-id")||"");"hidden"===Cookies.get(o)?i(".woocommerce-store-notice").hide():i(".woocommerce-store-notice").show(),i(".woocommerce-store-notice__dismiss-link").click(function(e){Cookies.set(o,"hidden",{path:"/"}),i(".woocommerce-store-notice").hide(),e.preventDefault()}),i(document.body).on("click",function(){i(".woocommerce-input-wrapper span.description:visible").prop("aria-hidden",!0).slideUp(250)}),i(".woocommerce-input-wrapper").on("click",function(e){e.stopPropagation()}),i(".woocommerce-input-wrapper :input").on("keydown",function(e){var o=i(this).parent().find("span.description");if(27===e.which&&o.length&&o.is(":visible"))return o.prop("aria-hidden",!0).slideUp(250),e.preventDefault(),!1}).on("click focus",function(){var e=i(this).parent(),o=e.find("span.description");e.addClass("currentTarget"),i(".woocommerce-input-wrapper:not(.currentTarget) span.description:visible").prop("aria-hidden",!0).slideUp(250),o.length&&o.is(":hidden")&&o.prop("aria-hidden",!1).slideDown(250),e.removeClass("currentTarget")}),i.scroll_to_notices=function(e){e.length&&i("html, body").animate({scrollTop:e.offset().top-100},1e3)}});
var wc_cart_fragments_params={"ajax_url":"\/wp-admin\/admin-ajax.php","wc_ajax_url":"\/?wc-ajax=%%endpoint%%","cart_hash_key":"wc_cart_hash_c0c6858ef1bae52fc4aa13b1a6a0798f","fragment_name":"wc_fragments_c0c6858ef1bae52fc4aa13b1a6a0798f","request_timeout":"5000"};
jQuery(function(r){if("undefined"==typeof wc_cart_fragments_params)return!1;var t=!0,o=wc_cart_fragments_params.cart_hash_key;try{t="sessionStorage"in window&&null!==window.sessionStorage,window.sessionStorage.setItem("wc","test"),window.sessionStorage.removeItem("wc"),window.localStorage.setItem("wc","test"),window.localStorage.removeItem("wc")}catch(f){t=!1}function a(){t&&sessionStorage.setItem("wc_cart_created",(new Date).getTime())}function s(e){t&&(localStorage.setItem(o,e),sessionStorage.setItem(o,e))}var e={url:wc_cart_fragments_params.wc_ajax_url.toString().replace("%%endpoint%%","get_refreshed_fragments"),type:"POST",data:{time:(new Date).getTime()},timeout:wc_cart_fragments_params.request_timeout,success:function(e){e&&e.fragments&&(r.each(e.fragments,function(e,t){r(e).replaceWith(t)}),t&&(sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(e.fragments)),s(e.cart_hash),e.cart_hash&&a()),r(document.body).trigger("wc_fragments_refreshed"))},error:function(){r(document.body).trigger("wc_fragments_ajax_error")}};function n(){r.ajax(e)}if(t){var i=null;r(document.body).on("wc_fragment_refresh updated_wc_div",function(){n()}),r(document.body).on("added_to_cart removed_from_cart",function(e,t,r){var n=sessionStorage.getItem(o);null!==n&&n!==undefined&&""!==n||a(),sessionStorage.setItem(wc_cart_fragments_params.fragment_name,JSON.stringify(t)),s(r)}),r(document.body).on("wc_fragments_refreshed",function(){clearTimeout(i),i=setTimeout(n,864e5)}),r(window).on("storage onstorage",function(e){o===e.originalEvent.key&&localStorage.getItem(o)!==sessionStorage.getItem(o)&&n()}),r(window).on("pageshow",function(e){e.originalEvent.persisted&&(r(".widget_shopping_cart_content").empty(),r(document.body).trigger("wc_fragment_refresh"))});try{var c=r.parseJSON(sessionStorage.getItem(wc_cart_fragments_params.fragment_name)),_=sessionStorage.getItem(o),g=Cookies.get("woocommerce_cart_hash"),m=sessionStorage.getItem("wc_cart_created");if(null!==_&&_!==undefined&&""!==_||(_=""),null!==g&&g!==undefined&&""!==g||(g=""),_&&(null===m||m===undefined||""===m))throw"No cart_created";if(m){var d=1*m+864e5,w=(new Date).getTime();if(d<w)throw"Fragment expired";i=setTimeout(n,d-w)}if(!c||!c["div.widget_shopping_cart_content"]||_!==g)throw"No fragment";r.each(c,function(e,t){r(e).replaceWith(t)}),r(document.body).trigger("wc_fragments_loaded")}catch(f){n()}}else n();0<Cookies.get("woocommerce_items_in_cart")?r(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show():r(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").hide(),r(document.body).on("adding_to_cart",function(){r(".hide_cart_widget_if_empty").closest(".widget_shopping_cart").show()}),"undefined"!=typeof wp&&wp.customize&&wp.customize.selectiveRefresh&&wp.customize.widgetsPreview&&wp.customize.widgetsPreview.WidgetPartial&&wp.customize.selectiveRefresh.bind("partial-content-rendered",function(){n()})});
var wpcf7_recaptcha={"sitekey":"6LcXvCcUAAAAAIGZAK2e90DsaRzXfKLYR5m7pwMD","actions":{"homepage":"homepage","contactform":"contactform"}};
(function(){document.addEventListener('DOMContentLoaded',function(event){wpcf7_recaptcha.execute=function(action){grecaptcha.execute(wpcf7_recaptcha.sitekey,{action:action}).then(function(token){var event=new CustomEvent('wpcf7grecaptchaexecuted',{detail:{action:action,token:token,},});document.dispatchEvent(event);});};wpcf7_recaptcha.execute_on_homepage=function(){wpcf7_recaptcha.execute(wpcf7_recaptcha.actions['homepage']);};wpcf7_recaptcha.execute_on_contactform=function(){wpcf7_recaptcha.execute(wpcf7_recaptcha.actions['contactform']);};grecaptcha.ready(wpcf7_recaptcha.execute_on_homepage);document.addEventListener('change',wpcf7_recaptcha.execute_on_contactform);document.addEventListener('wpcf7submit',wpcf7_recaptcha.execute_on_homepage);});document.addEventListener('wpcf7grecaptchaexecuted',function(event){var fields=document.querySelectorAll("form.wpcf7-form input[name='_wpcf7_recaptcha_response']");for(var i=0;i<fields.length;i++){var field=fields[i];field.setAttribute('value',event.detail.token);}});})();
/*!
* Bootstrap.js by @fat & @mdo
* Copyright 2012 Twitter, Inc.
* http://www.apache.org/licenses/LICENSE-2.0.txt
*/
!function(e){"use strict";e(function(){e.support.transition=function(){var e=function(){var e=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},n;for(n in t)if(e.style[n]!==undefined)return t[n]}();return e&&{end:e}}()})}(window.jQuery),!function(e){"use strict";var t='[data-dismiss="alert"]',n=function(n){e(n).on("click",t,this.close)};n.prototype.close=function(t){function s(){i.trigger("closed").remove()}var n=e(this),r=n.attr("data-target"),i;r||(r=n.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,"")),i=e(r),t&&t.preventDefault(),i.length||(i=n.hasClass("alert")?n:n.parent()),i.trigger(t=e.Event("close"));if(t.isDefaultPrevented())return;i.removeClass("in"),e.support.transition&&i.hasClass("fade")?i.on(e.support.transition.end,s):s()};var r=e.fn.alert;e.fn.alert=function(t){return this.each(function(){var r=e(this),i=r.data("alert");i||r.data("alert",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.alert.Constructor=n,e.fn.alert.noConflict=function(){return e.fn.alert=r,this},e(document).on("click.alert.data-api",t,n.prototype.close)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.button.defaults,n)};t.prototype.setState=function(e){var t="disabled",n=this.$element,r=n.data(),i=n.is("input")?"val":"html";e+="Text",r.resetText||n.data("resetText",n[i]()),n[i](r[e]||this.options[e]),setTimeout(function(){e=="loadingText"?n.addClass(t).attr(t,t):n.removeClass(t).removeAttr(t)},0)},t.prototype.toggle=function(){var e=this.$element.closest('[data-toggle="buttons-radio"]');e&&e.find(".active").removeClass("active"),this.$element.toggleClass("active")};var n=e.fn.button;e.fn.button=function(n){return this.each(function(){var r=e(this),i=r.data("button"),s=typeof n=="object"&&n;i||r.data("button",i=new t(this,s)),n=="toggle"?i.toggle():n&&i.setState(n)})},e.fn.button.defaults={loadingText:"loading..."},e.fn.button.Constructor=t,e.fn.button.noConflict=function(){return e.fn.button=n,this},e(document).on("click.button.data-api","[data-toggle^=button]",function(t){var n=e(t.target);n.hasClass("btn")||(n=n.closest(".btn")),n.button("toggle")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=n,this.options.pause=="hover"&&this.$element.on("mouseenter",e.proxy(this.pause,this)).on("mouseleave",e.proxy(this.cycle,this))};t.prototype={cycle:function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(e.proxy(this.next,this),this.options.interval)),this},getActiveIndex:function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},to:function(t){var n=this.getActiveIndex(),r=this;if(t>this.$items.length-1||t<0)return;return this.sliding?this.$element.one("slid",function(){r.to(t)}):n==t?this.pause().cycle():this.slide(t>n?"next":"prev",e(this.$items[t]))},pause:function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&e.support.transition.end&&(this.$element.trigger(e.support.transition.end),this.cycle(!0)),clearInterval(this.interval),this.interval=null,this},next:function(){if(this.sliding)return;return this.slide("next")},prev:function(){if(this.sliding)return;return this.slide("prev")},slide:function(t,n){var r=this.$element.find(".item.active"),i=n||r[t](),s=this.interval,o=t=="next"?"left":"right",u=t=="next"?"first":"last",a=this,f;this.sliding=!0,s&&this.pause(),i=i.length?i:this.$element.find(".item")[u](),f=e.Event("slide",{relatedTarget:i[0],direction:o});if(i.hasClass("active"))return;this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var t=e(a.$indicators.children()[a.getActiveIndex()]);t&&t.addClass("active")}));if(e.support.transition&&this.$element.hasClass("slide")){this.$element.trigger(f);if(f.isDefaultPrevented())return;i.addClass(t),i[0].offsetWidth,r.addClass(o),i.addClass(o),this.$element.one(e.support.transition.end,function(){i.removeClass([t,o].join(" ")).addClass("active"),r.removeClass(["active",o].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger("slid")},0)})}else{this.$element.trigger(f);if(f.isDefaultPrevented())return;r.removeClass("active"),i.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return s&&this.cycle(),this}};var n=e.fn.carousel;e.fn.carousel=function(n){return this.each(function(){var r=e(this),i=r.data("carousel"),s=e.extend({},e.fn.carousel.defaults,typeof n=="object"&&n),o=typeof n=="string"?n:s.slide;i||r.data("carousel",i=new t(this,s)),typeof n=="number"?i.to(n):o?i[o]():s.interval&&i.pause().cycle()})},e.fn.carousel.defaults={interval:5e3,pause:"hover"},e.fn.carousel.Constructor=t,e.fn.carousel.noConflict=function(){return e.fn.carousel=n,this},e(document).on("click.carousel.data-api","[data-slide], [data-slide-to]",function(t){var n=e(this),r,i=e(n.attr("data-target")||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,"")),s=e.extend({},i.data(),n.data()),o;i.carousel(s),(o=n.attr("data-slide-to"))&&i.data("carousel").pause().to(o).cycle(),t.preventDefault()})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.collapse.defaults,n),this.options.parent&&(this.$parent=e(this.options.parent)),this.options.toggle&&this.toggle()};t.prototype={constructor:t,dimension:function(){var e=this.$element.hasClass("width");return e?"width":"height"},show:function(){var t,n,r,i;if(this.transitioning||this.$element.hasClass("in"))return;t=this.dimension(),n=e.camelCase(["scroll",t].join("-")),r=this.$parent&&this.$parent.find("> .accordion-group > .in");if(r&&r.length){i=r.data("collapse");if(i&&i.transitioning)return;r.collapse("hide"),i||r.data("collapse",null)}this.$element[t](0),this.transition("addClass",e.Event("show"),"shown"),e.support.transition&&this.$element[t](this.$element[0][n])},hide:function(){var t;if(this.transitioning||!this.$element.hasClass("in"))return;t=this.dimension(),this.reset(this.$element[t]()),this.transition("removeClass",e.Event("hide"),"hidden"),this.$element[t](0)},reset:function(e){var t=this.dimension();return this.$element.removeClass("collapse")[t](e||"auto")[0].offsetWidth,this.$element[e!==null?"addClass":"removeClass"]("collapse"),this},transition:function(t,n,r){var i=this,s=function(){n.type=="show"&&i.reset(),i.transitioning=0,i.$element.trigger(r)};this.$element.trigger(n);if(n.isDefaultPrevented())return;this.transitioning=1,this.$element[t]("in"),e.support.transition&&this.$element.hasClass("collapse")?this.$element.one(e.support.transition.end,s):s()},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var n=e.fn.collapse;e.fn.collapse=function(n){return this.each(function(){var r=e(this),i=r.data("collapse"),s=e.extend({},e.fn.collapse.defaults,r.data(),typeof n=="object"&&n);i||r.data("collapse",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.collapse.defaults={toggle:!0},e.fn.collapse.Constructor=t,e.fn.collapse.noConflict=function(){return e.fn.collapse=n,this},e(document).on("click.collapse.data-api","[data-toggle=collapse]",function(t){var n=e(this),r,i=n.attr("data-target")||t.preventDefault()||(r=n.attr("href"))&&r.replace(/.*(?=#[^\s]+$)/,""),s=e(i).data("collapse")?"toggle":n.data();n[e(i).hasClass("in")?"addClass":"removeClass"]("collapsed"),e(i).collapse(s)})}(window.jQuery),!function(e){"use strict";function r(){e(".dropdown-backdrop").remove(),e(t).each(function(){i(e(this)).removeClass("open")})}function i(t){var n=t.attr("data-target"),r;n||(n=t.attr("href"),n=n&&/#/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,"")),r=n&&e(n);if(!r||!r.length)r=t.parent();return r}var t="[data-toggle=dropdown]",n=function(t){var n=e(t).on("click.dropdown.data-api",this.toggle);e("html").on("click.dropdown.data-api",function(){n.parent().removeClass("open")})};n.prototype={constructor:n,toggle:function(t){var n=e(this),s,o;if(n.is(".disabled, :disabled"))return;return s=i(n),o=s.hasClass("open"),r(),o||("ontouchstart"in document.documentElement&&e('<div class="dropdown-backdrop"/>').insertBefore(e(this)).on("click",r),s.toggleClass("open")),n.focus(),!1},keydown:function(n){var r,s,o,u,a,f;if(!/(38|40|27)/.test(n.keyCode))return;r=e(this),n.preventDefault(),n.stopPropagation();if(r.is(".disabled, :disabled"))return;u=i(r),a=u.hasClass("open");if(!a||a&&n.keyCode==27)return n.which==27&&u.find(t).focus(),r.click();s=e("[role=menu] li:not(.divider):visible a",u);if(!s.length)return;f=s.index(s.filter(":focus")),n.keyCode==38&&f>0&&f--,n.keyCode==40&&f<s.length-1&&f++,~f||(f=0),s.eq(f).focus()}};var s=e.fn.dropdown;e.fn.dropdown=function(t){return this.each(function(){var r=e(this),i=r.data("dropdown");i||r.data("dropdown",i=new n(this)),typeof t=="string"&&i[t].call(r)})},e.fn.dropdown.Constructor=n,e.fn.dropdown.noConflict=function(){return e.fn.dropdown=s,this},e(document).on("click.dropdown.data-api",r).on("click.dropdown.data-api",".dropdown form",function(e){e.stopPropagation()}).on("click.dropdown.data-api",t,n.prototype.toggle).on("keydown.dropdown.data-api",t+", [role=menu]",n.prototype.keydown)}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n);if(this.isShown||n.isDefaultPrevented())return;this.isShown=!0,this.escape(),this.backdrop(function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,function(){t.$element.focus().trigger("shown")}):t.$element.focus().trigger("shown")})},hide:function(t){t&&t.preventDefault();var n=this;t=e.Event("hide"),this.$element.trigger(t);if(!this.isShown||t.isDefaultPrevented())return;this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal()},enforceFocus:function(){var t=this;e(document).on("focusin.modal",function(e){t.$element[0]!==e.target&&!t.$element.has(e.target).length&&t.$element.focus()})},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",function(t){t.which==27&&e.hide()}):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout(function(){t.$element.off(e.support.transition.end),t.hideModal()},500);this.$element.one(e.support.transition.end,function(){clearTimeout(n),t.hideModal()})},hideModal:function(){var e=this;this.$element.hide(),this.backdrop(function(){e.removeBackdrop(),e.$element.trigger("hidden")})},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&r;this.$backdrop=e('<div class="modal-backdrop '+r+'" />').appendTo(document.body),this.$backdrop.click(this.options.backdrop=="static"?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in");if(!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each(function(){var r=e(this),i=r.data("modal"),s=e.extend({},e.fn.modal.defaults,r.data(),typeof n=="object"&&n);i||r.data("modal",i=new t(this,s)),typeof n=="string"?i[n]():s.show&&i.show()})},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',function(t){var n=e(this),r=n.attr("href"),i=e(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),s=i.data("modal")?"toggle":e.extend({remote:!/#/.test(r)&&r},i.data(),n.data());t.preventDefault(),i.modal(s).one("hide",function(){n.focus()})})}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("tooltip",e,t)};t.prototype={constructor:t,init:function(t,n,r){var i,s,o,u,a;this.type=t,this.$element=e(n),this.options=this.getOptions(r),this.enabled=!0,o=this.options.trigger.split(" ");for(a=o.length;a--;)u=o[a],u=="click"?this.$element.on("click."+this.type,this.options.selector,e.proxy(this.toggle,this)):u!="manual"&&(i=u=="hover"?"mouseenter":"focus",s=u=="hover"?"mouseleave":"blur",this.$element.on(i+"."+this.type,this.options.selector,e.proxy(this.enter,this)),this.$element.on(s+"."+this.type,this.options.selector,e.proxy(this.leave,this)));this.options.selector?this._options=e.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(t){return t=e.extend({},e.fn[this.type].defaults,this.$element.data(),t),t.delay&&typeof t.delay=="number"&&(t.delay={show:t.delay,hide:t.delay}),t},enter:function(t){var n=e.fn[this.type].defaults,r={},i;this._options&&e.each(this._options,function(e,t){n[e]!=t&&(r[e]=t)},this),i=e(t.currentTarget)[this.type](r).data(this.type);if(!i.options.delay||!i.options.delay.show)return i.show();clearTimeout(this.timeout),i.hoverState="in",this.timeout=setTimeout(function(){i.hoverState=="in"&&i.show()},i.options.delay.show)},leave:function(t){var n=e(t.currentTarget)[this.type](this._options).data(this.type);this.timeout&&clearTimeout(this.timeout);if(!n.options.delay||!n.options.delay.hide)return n.hide();n.hoverState="out",this.timeout=setTimeout(function(){n.hoverState=="out"&&n.hide()},n.options.delay.hide)},show:function(){var t,n,r,i,s,o,u=e.Event("show");if(this.hasContent()&&this.enabled){this.$element.trigger(u);if(u.isDefaultPrevented())return;t=this.tip(),this.setContent(),this.options.animation&&t.addClass("fade"),s=typeof this.options.placement=="function"?this.options.placement.call(this,t[0],this.$element[0]):this.options.placement,t.detach().css({top:0,left:0,display:"block"}),this.options.container?t.appendTo(this.options.container):t.insertAfter(this.$element),n=this.getPosition(),r=t[0].offsetWidth,i=t[0].offsetHeight;switch(s){case"bottom":o={top:n.top+n.height,left:n.left+n.width/2-r/2};break;case"top":o={top:n.top-i,left:n.left+n.width/2-r/2};break;case"left":o={top:n.top+n.height/2-i/2,left:n.left-r};break;case"right":o={top:n.top+n.height/2-i/2,left:n.left+n.width}}this.applyPlacement(o,s),this.$element.trigger("shown")}},applyPlacement:function(e,t){var n=this.tip(),r=n[0].offsetWidth,i=n[0].offsetHeight,s,o,u,a;n.offset(e).addClass(t).addClass("in"),s=n[0].offsetWidth,o=n[0].offsetHeight,t=="top"&&o!=i&&(e.top=e.top+i-o,a=!0),t=="bottom"||t=="top"?(u=0,e.left<0&&(u=e.left*-2,e.left=0,n.offset(e),s=n[0].offsetWidth,o=n[0].offsetHeight),this.replaceArrow(u-r+s,s,"left")):this.replaceArrow(o-i,o,"top"),a&&n.offset(e)},replaceArrow:function(e,t,n){this.arrow().css(n,e?50*(1-e/t)+"%":"")},setContent:function(){var e=this.tip(),t=this.getTitle();e.find(".tooltip-inner")[this.options.html?"html":"text"](t),e.removeClass("fade in top bottom left right")},hide:function(){function i(){var t=setTimeout(function(){n.off(e.support.transition.end).detach()},500);n.one(e.support.transition.end,function(){clearTimeout(t),n.detach()})}var t=this,n=this.tip(),r=e.Event("hide");this.$element.trigger(r);if(r.isDefaultPrevented())return;return n.removeClass("in"),e.support.transition&&this.$tip.hasClass("fade")?i():n.detach(),this.$element.trigger("hidden"),this},fixTitle:function(){var e=this.$element;(e.attr("title")||typeof e.attr("data-original-title")!="string")&&e.attr("data-original-title",e.attr("title")||"").attr("title","")},hasContent:function(){return this.getTitle()},getPosition:function(){var t=this.$element[0];return e.extend({},typeof t.getBoundingClientRect=="function"?t.getBoundingClientRect():{width:t.offsetWidth,height:t.offsetHeight},this.$element.offset())},getTitle:function(){var e,t=this.$element,n=this.options;return e=t.attr("data-original-title")||(typeof n.title=="function"?n.title.call(t[0]):n.title),e},tip:function(){return this.$tip=this.$tip||e(this.options.template)},arrow:function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(t){var n=t?e(t.currentTarget)[this.type](this._options).data(this.type):this;n.tip().hasClass("in")?n.hide():n.show()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var n=e.fn.tooltip;e.fn.tooltip=function(n){return this.each(function(){var r=e(this),i=r.data("tooltip"),s=typeof n=="object"&&n;i||r.data("tooltip",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.tooltip.Constructor=t,e.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1},e.fn.tooltip.noConflict=function(){return e.fn.tooltip=n,this}}(window.jQuery),!function(e){"use strict";var t=function(e,t){this.init("popover",e,t)};t.prototype=e.extend({},e.fn.tooltip.Constructor.prototype,{constructor:t,setContent:function(){var e=this.tip(),t=this.getTitle(),n=this.getContent();e.find(".popover-title")[this.options.html?"html":"text"](t),e.find(".popover-content")[this.options.html?"html":"text"](n),e.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var e,t=this.$element,n=this.options;return e=(typeof n.content=="function"?n.content.call(t[0]):n.content)||t.attr("data-content"),e},tip:function(){return this.$tip||(this.$tip=e(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var n=e.fn.popover;e.fn.popover=function(n){return this.each(function(){var r=e(this),i=r.data("popover"),s=typeof n=="object"&&n;i||r.data("popover",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.popover.Constructor=t,e.fn.popover.defaults=e.extend({},e.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'<div class="popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),e.fn.popover.noConflict=function(){return e.fn.popover=n,this}}(window.jQuery),!function(e){"use strict";function t(t,n){var r=e.proxy(this.process,this),i=e(t).is("body")?e(window):e(t),s;this.options=e.extend({},e.fn.scrollspy.defaults,n),this.$scrollElement=i.on("scroll.scroll-spy.data-api",r),this.selector=(this.options.target||(s=e(t).attr("href"))&&s.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=e("body"),this.refresh(),this.process()}t.prototype={constructor:t,refresh:function(){var t=this,n;this.offsets=e([]),this.targets=e([]),n=this.$body.find(this.selector).map(function(){var n=e(this),r=n.data("target")||n.attr("href"),i=/^#\w/.test(r)&&e(r);return i&&i.length&&[[i.position().top+(!e.isWindow(t.$scrollElement.get(0))&&t.$scrollElement.scrollTop()),r]]||null}).sort(function(e,t){return e[0]-t[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},process:function(){var e=this.$scrollElement.scrollTop()+this.options.offset,t=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,n=t-this.$scrollElement.height(),r=this.offsets,i=this.targets,s=this.activeTarget,o;if(e>=n)return s!=(o=i.last()[0])&&this.activate(o);for(o=r.length;o--;)s!=i[o]&&e>=r[o]&&(!r[o+1]||e<=r[o+1])&&this.activate(i[o])},activate:function(t){var n,r;this.activeTarget=t,e(this.selector).parent(".active").removeClass("active"),r=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',n=e(r).parent("li").addClass("active"),n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate")}};var n=e.fn.scrollspy;e.fn.scrollspy=function(n){return this.each(function(){var r=e(this),i=r.data("scrollspy"),s=typeof n=="object"&&n;i||r.data("scrollspy",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.scrollspy.Constructor=t,e.fn.scrollspy.defaults={offset:10},e.fn.scrollspy.noConflict=function(){return e.fn.scrollspy=n,this},e(window).on("load",function(){e('[data-spy="scroll"]').each(function(){var t=e(this);t.scrollspy(t.data())})})}(window.jQuery),!function(e){"use strict";var t=function(t){this.element=e(t)};t.prototype={constructor:t,show:function(){var t=this.element,n=t.closest("ul:not(.dropdown-menu)"),r=t.attr("data-target"),i,s,o;r||(r=t.attr("href"),r=r&&r.replace(/.*(?=#[^\s]*$)/,""));if(t.parent("li").hasClass("active"))return;i=n.find(".active:last a")[0],o=e.Event("show",{relatedTarget:i}),t.trigger(o);if(o.isDefaultPrevented())return;s=e(r),this.activate(t.parent("li"),n),this.activate(s,s.parent(),function(){t.trigger({type:"shown",relatedTarget:i})})},activate:function(t,n,r){function o(){i.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),t.addClass("active"),s?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu")&&t.closest("li.dropdown").addClass("active"),r&&r()}var i=n.find("> .active"),s=r&&e.support.transition&&i.hasClass("fade");s?i.one(e.support.transition.end,o):o(),i.removeClass("in")}};var n=e.fn.tab;e.fn.tab=function(n){return this.each(function(){var r=e(this),i=r.data("tab");i||r.data("tab",i=new t(this)),typeof n=="string"&&i[n]()})},e.fn.tab.Constructor=t,e.fn.tab.noConflict=function(){return e.fn.tab=n,this},e(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(t){t.preventDefault(),e(this).tab("show")})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.$element=e(t),this.options=e.extend({},e.fn.typeahead.defaults,n),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=e(this.options.menu),this.shown=!1,this.listen()};t.prototype={constructor:t,select:function(){var e=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(e)).change(),this.hide()},updater:function(e){return e},show:function(){var t=e.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:t.top+t.height,left:t.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(t){var n;return this.query=this.$element.val(),!this.query||this.query.length<this.options.minLength?this.shown?this.hide():this:(n=e.isFunction(this.source)?this.source(this.query,e.proxy(this.process,this)):this.source,n?this.process(n):this)},process:function(t){var n=this;return t=e.grep(t,function(e){return n.matcher(e)}),t=this.sorter(t),t.length?this.render(t.slice(0,this.options.items)).show():this.shown?this.hide():this},matcher:function(e){return~e.toLowerCase().indexOf(this.query.toLowerCase())},sorter:function(e){var t=[],n=[],r=[],i;while(i=e.shift())i.toLowerCase().indexOf(this.query.toLowerCase())?~i.indexOf(this.query)?n.push(i):r.push(i):t.push(i);return t.concat(n,r)},highlighter:function(e){var t=this.query.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&");return e.replace(new RegExp("("+t+")","ig"),function(e,t){return"<strong>"+t+"</strong>"})},render:function(t){var n=this;return t=e(t).map(function(t,r){return t=e(n.options.item).attr("data-value",r),t.find("a").html(n.highlighter(r)),t[0]}),t.first().addClass("active"),this.$menu.html(t),this},next:function(t){var n=this.$menu.find(".active").removeClass("active"),r=n.next();r.length||(r=e(this.$menu.find("li")[0])),r.addClass("active")},prev:function(e){var t=this.$menu.find(".active").removeClass("active"),n=t.prev();n.length||(n=this.$menu.find("li").last()),n.addClass("active")},listen:function(){this.$element.on("focus",e.proxy(this.focus,this)).on("blur",e.proxy(this.blur,this)).on("keypress",e.proxy(this.keypress,this)).on("keyup",e.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",e.proxy(this.keydown,this)),this.$menu.on("click",e.proxy(this.click,this)).on("mouseenter","li",e.proxy(this.mouseenter,this)).on("mouseleave","li",e.proxy(this.mouseleave,this))},eventSupported:function(e){var t=e in this.$element;return t||(this.$element.setAttribute(e,"return;"),t=typeof this.$element[e]=="function"),t},move:function(e){if(!this.shown)return;switch(e.keyCode){case 9:case 13:case 27:e.preventDefault();break;case 38:e.preventDefault(),this.prev();break;case 40:e.preventDefault(),this.next()}e.stopPropagation()},keydown:function(t){this.suppressKeyPressRepeat=~e.inArray(t.keyCode,[40,38,9,13,27]),this.move(t)},keypress:function(e){if(this.suppressKeyPressRepeat)return;this.move(e)},keyup:function(e){switch(e.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}e.stopPropagation(),e.preventDefault()},focus:function(e){this.focused=!0},blur:function(e){this.focused=!1,!this.mousedover&&this.shown&&this.hide()},click:function(e){e.stopPropagation(),e.preventDefault(),this.select(),this.$element.focus()},mouseenter:function(t){this.mousedover=!0,this.$menu.find(".active").removeClass("active"),e(t.currentTarget).addClass("active")},mouseleave:function(e){this.mousedover=!1,!this.focused&&this.shown&&this.hide()}};var n=e.fn.typeahead;e.fn.typeahead=function(n){return this.each(function(){var r=e(this),i=r.data("typeahead"),s=typeof n=="object"&&n;i||r.data("typeahead",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.typeahead.defaults={source:[],items:8,menu:'<ul class="typeahead dropdown-menu"></ul>',item:'<li><a href="#"></a></li>',minLength:1},e.fn.typeahead.Constructor=t,e.fn.typeahead.noConflict=function(){return e.fn.typeahead=n,this},e(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(t){var n=e(this);if(n.data("typeahead"))return;n.typeahead(n.data())})}(window.jQuery),!function(e){"use strict";var t=function(t,n){this.options=e.extend({},e.fn.affix.defaults,n),this.$window=e(window).on("scroll.affix.data-api",e.proxy(this.checkPosition,this)).on("click.affix.data-api",e.proxy(function(){setTimeout(e.proxy(this.checkPosition,this),1)},this)),this.$element=e(t),this.checkPosition()};t.prototype.checkPosition=function(){if(!this.$element.is(":visible"))return;var t=e(document).height(),n=this.$window.scrollTop(),r=this.$element.offset(),i=this.options.offset,s=i.bottom,o=i.top,u="affix affix-top affix-bottom",a;typeof i!="object"&&(s=o=i),typeof o=="function"&&(o=i.top()),typeof s=="function"&&(s=i.bottom()),a=this.unpin!=null&&n+this.unpin<=r.top?!1:s!=null&&r.top+this.$element.height()>=t-s?"bottom":o!=null&&n<=o?"top":!1;if(this.affixed===a)return;this.affixed=a,this.unpin=a=="bottom"?r.top-n:null,this.$element.removeClass(u).addClass("affix"+(a?"-"+a:""))};var n=e.fn.affix;e.fn.affix=function(n){return this.each(function(){var r=e(this),i=r.data("affix"),s=typeof n=="object"&&n;i||r.data("affix",i=new t(this,s)),typeof n=="string"&&i[n]()})},e.fn.affix.Constructor=t,e.fn.affix.defaults={offset:0},e.fn.affix.noConflict=function(){return e.fn.affix=n,this},e(window).on("load",function(){e('[data-spy="affix"]').each(function(){var t=e(this),n=t.data();n.offset=n.offset||{},n.offsetBottom&&(n.offset.bottom=n.offsetBottom),n.offsetTop&&(n.offset.top=n.offsetTop),t.affix(n)})})}(window.jQuery);

;window.Modernizr=function(a,b,c){function C(a){j.cssText=a}function D(a,b){return C(n.join(a+";")+(b||""))}function E(a,b){return typeof a===b}function F(a,b){return!!~(""+a).indexOf(b)}function G(a,b){for(var d in a){var e=a[d];if(!F(e,"-")&&j[e]!==c)return b=="pfx"?e:!0}return!1}function H(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:E(f,"function")?f.bind(d||b):f}return!1}function I(a,b,c){var d=a.charAt(0).toUpperCase()+a.slice(1),e=(a+" "+p.join(d+" ")+d).split(" ");return E(b,"string")||E(b,"undefined")?G(e,b):(e=(a+" "+q.join(d+" ")+d).split(" "),H(e,b,c))}function J(){e.input=function(c){for(var d=0,e=c.length;d<e;d++)t[c[d]]=c[d]in k;return t.list&&(t.list=!!b.createElement("datalist")&&!!a.HTMLDataListElement),t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" "))}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k=b.createElement("input"),l=":)",m={}.toString,n=" -webkit- -moz- -o- -ms- ".split(" "),o="Webkit Moz O ms",p=o.split(" "),q=o.toLowerCase().split(" "),r={},s={},t={},u=[],v=u.slice,w,x=function(a,c,d,e){var f,i,j,k,l=b.createElement("div"),m=b.body,n=m||b.createElement("body");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:h+(d+1),l.appendChild(j);return f=["&#173;",'<style id="s',h,'">',a,"</style>"].join(""),l.id=h,(m?l:n).innerHTML+=f,n.appendChild(l),m||(n.style.background="",n.style.overflow="hidden",k=g.style.overflow,g.style.overflow="hidden",g.appendChild(n)),i=c(l,a),m?l.parentNode.removeChild(l):(n.parentNode.removeChild(n),g.style.overflow=k),!!i},y=function(b){var c=a.matchMedia||a.msMatchMedia;if(c)return c(b).matches;var d;return x("@media "+b+" { #"+h+" { position: absolute; } }",function(b){d=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle)["position"]=="absolute"}),d},z=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;return f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=E(e[d],"function"),E(e[d],"undefined")||(e[d]=c),e.removeAttribute(d))),e=null,f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),A={}.hasOwnProperty,B;!E(A,"undefined")&&!E(A.call,"undefined")?B=function(a,b){return A.call(a,b)}:B=function(a,b){return b in a&&E(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=v.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(v.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(v.call(arguments)))};return e}),r.flexbox=function(){return I("flexWrap")},r.flexboxlegacy=function(){return I("boxDirection")},r.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},r.canvastext=function(){return!!e.canvas&&!!E(b.createElement("canvas").getContext("2d").fillText,"function")},r.touch=function(){var c;return"ontouchstart"in a||a.DocumentTouch&&b instanceof DocumentTouch?c=!0:x(["@media (",n.join("touch-enabled),("),h,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(a){c=a.offsetTop===9}),c},r.rgba=function(){return C("background-color:rgba(150,255,150,.5)"),F(j.backgroundColor,"rgba")},r.hsla=function(){return C("background-color:hsla(120,40%,100%,.5)"),F(j.backgroundColor,"rgba")||F(j.backgroundColor,"hsla")},r.backgroundsize=function(){return I("backgroundSize")},r.borderimage=function(){return I("borderImage")},r.borderradius=function(){return I("borderRadius")},r.boxshadow=function(){return I("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){return D("opacity:.55"),/^0.55$/.test(j.opacity)},r.cssanimations=function(){return I("animationName")},r.csscolumns=function(){return I("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";return C((a+"-webkit- ".split(" ").join(b+a)+n.join(c+a)).slice(0,-a.length)),F(j.backgroundImage,"gradient")},r.cssreflections=function(){return I("boxReflect")},r.csstransforms=function(){return!!I("transform")},r.csstransforms3d=function(){var a=!!I("perspective");return a&&"webkitPerspective"in g.style&&x("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(b,c){a=b.offsetLeft===9&&b.offsetHeight===3}),a},r.csstransitions=function(){return I("transition")},r.generatedcontent=function(){var a;return x(["#",h,"{font:0/0 a}#",h,':after{content:"',l,'";visibility:hidden;font:3px/1 a}'].join(""),function(b){a=b.offsetHeight>=3}),a},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),c.h264=a.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")}catch(d){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),c.mp3=a.canPlayType("audio/mpeg;").replace(/^no$/,""),c.wav=a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),c.m4a=(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")).replace(/^no$/,"")}catch(d){}return c};for(var K in r)B(r,K)&&(w=K.toLowerCase(),e[w]=r[K](),u.push((e[w]?"":"no-")+w));return e.input||J(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)B(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},C(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,e._prefixes=n,e._domPrefixes=q,e._cssomPrefixes=p,e.mq=y,e.hasEvent=z,e.testProp=function(a){return G([a])},e.testAllProps=I,e.testStyles=x,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+u.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
/*! This file is auto-generated */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)}(function(i){"use strict";function u(e){return"function"==typeof e}var r,v,a={interval:100,sensitivity:6,timeout:0},f=0,s=function(e){r=e.pageX,v=e.pageY},p=function(e,t,n,o){if(Math.sqrt((n.pX-r)*(n.pX-r)+(n.pY-v)*(n.pY-v))<o.sensitivity)return t.off(n.event,s),delete n.timeoutId,n.isActive=!0,e.pageX=r,e.pageY=v,delete n.pX,delete n.pY,o.over.apply(t[0],[e]);n.pX=r,n.pY=v,n.timeoutId=setTimeout(function(){p(e,t,n,o)},o.interval)};i.fn.hoverIntent=function(e,t,n){var o=f++,d=i.extend({},a);i.isPlainObject(e)?(d=i.extend(d,e),u(d.out)||(d.out=d.over)):d=u(t)?i.extend(d,{over:e,out:t,selector:n}):i.extend(d,{over:e,out:e,selector:t});t=function(e){var u=i.extend({},e),r=i(this),t=r.data("hoverIntent");t||r.data("hoverIntent",t={});var v=t[o];v||(t[o]=v={id:o}),v.timeoutId&&(v.timeoutId=clearTimeout(v.timeoutId));t=v.event="mousemove.hoverIntent.hoverIntent"+o;"mouseenter"===e.type?v.isActive||(v.pX=u.pageX,v.pY=u.pageY,r.off(t,s).on(t,s),v.timeoutId=setTimeout(function(){p(u,r,v,d)},d.interval)):v.isActive&&(r.off(t,s),v.timeoutId=setTimeout(function(){var e,t,n,o,i;e=u,t=r,n=v,o=d.out,(i=t.data("hoverIntent"))&&delete i[n.id],o.apply(t[0],[e])},d.timeout))};return this.on({"mouseenter.hoverIntent":t,"mouseleave.hoverIntent":t},d.selector)}});
!function(e){function t(){var e=location.href;return hashtag=-1!==e.indexOf("#prettyPhoto")?decodeURI(e.substring(e.indexOf("#prettyPhoto")+1,e.length)):!1,hashtag&&(hashtag=hashtag.replace(/<|>/g,"")),hashtag}function i(){"undefined"!=typeof theRel&&(location.hash=theRel+"/"+rel_index+"/")}function p(){-1!==location.href.indexOf("#prettyPhoto")&&(location.hash="prettyPhoto")}function o(e,t){e=e.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var i="[\\?&]"+e+"=([^&#]*)",p=new RegExp(i),o=p.exec(t);return null==o?"":o[1]}e.prettyPhoto={version:"3.1.6"},e.fn.prettyPhoto=function(a){function s(){e(".pp_loaderIcon").hide(),projectedTop=scroll_pos.scrollTop+(I/2-f.containerHeight/2),projectedTop<0&&(projectedTop=0),$ppt.fadeTo(settings.animation_speed,1),$pp_pic_holder.find(".pp_content").animate({height:f.contentHeight,width:f.contentWidth},settings.animation_speed),$pp_pic_holder.animate({top:projectedTop,left:j/2-f.containerWidth/2<0?0:j/2-f.containerWidth/2,width:f.containerWidth},settings.animation_speed,function(){$pp_pic_holder.find(".pp_hoverContainer,#fullResImage").height(f.height).width(f.width),$pp_pic_holder.find(".pp_fade").fadeIn(settings.animation_speed),isSet&&"image"==h(pp_images[set_position])?$pp_pic_holder.find(".pp_hoverContainer").show():$pp_pic_holder.find(".pp_hoverContainer").hide(),settings.allow_expand&&(f.resized?e("a.pp_expand,a.pp_contract").show():e("a.pp_expand").hide()),!settings.autoplay_slideshow||P||v||e.prettyPhoto.startSlideshow(),settings.changepicturecallback(),v=!0}),m(),a.ajaxcallback()}function n(t){$pp_pic_holder.find("#pp_full_res object,#pp_full_res embed").css("visibility","hidden"),$pp_pic_holder.find(".pp_fade").fadeOut(settings.animation_speed,function(){e(".pp_loaderIcon").show(),t()})}function r(t){t>1?e(".pp_nav").show():e(".pp_nav").hide()}function l(e,t){if(resized=!1,d(e,t),imageWidth=e,imageHeight=t,(k>j||b>I)&&doresize&&settings.allow_resize&&!$){for(resized=!0,fitting=!1;!fitting;)k>j?(imageWidth=j-200,imageHeight=t/e*imageWidth):b>I?(imageHeight=I-200,imageWidth=e/t*imageHeight):fitting=!0,b=imageHeight,k=imageWidth;(k>j||b>I)&&l(k,b),d(imageWidth,imageHeight)}return{width:Math.floor(imageWidth),height:Math.floor(imageHeight),containerHeight:Math.floor(b),containerWidth:Math.floor(k)+2*settings.horizontal_padding,contentHeight:Math.floor(y),contentWidth:Math.floor(w),resized:resized}}function d(t,i){t=parseFloat(t),i=parseFloat(i),$pp_details=$pp_pic_holder.find(".pp_details"),$pp_details.width(t),detailsHeight=parseFloat($pp_details.css("marginTop"))+parseFloat($pp_details.css("marginBottom")),$pp_details=$pp_details.clone().addClass(settings.theme).width(t).appendTo(e("body")).css({position:"absolute",top:-1e4}),detailsHeight+=$pp_details.height(),detailsHeight=detailsHeight<=34?36:detailsHeight,$pp_details.remove(),$pp_title=$pp_pic_holder.find(".ppt"),$pp_title.width(t),titleHeight=parseFloat($pp_title.css("marginTop"))+parseFloat($pp_title.css("marginBottom")),$pp_title=$pp_title.clone().appendTo(e("body")).css({position:"absolute",top:-1e4}),titleHeight+=$pp_title.height(),$pp_title.remove(),y=i+detailsHeight,w=t,b=y+titleHeight+$pp_pic_holder.find(".pp_top").height()+$pp_pic_holder.find(".pp_bottom").height(),k=t}function h(e){return e.match(/youtube\.com\/watch/i)||e.match(/youtu\.be/i)?"youtube":e.match(/vimeo\.com/i)?"vimeo":e.match(/\b.mov\b/i)?"quicktime":e.match(/\b.swf\b/i)?"flash":e.match(/\biframe=true\b/i)?"iframe":e.match(/\bajax=true\b/i)?"ajax":e.match(/\bcustom=true\b/i)?"custom":"#"==e.substr(0,1)?"inline":"image"}function c(){if(doresize&&"undefined"!=typeof $pp_pic_holder){if(scroll_pos=_(),contentHeight=$pp_pic_holder.height(),contentwidth=$pp_pic_holder.width(),projectedTop=I/2+scroll_pos.scrollTop-contentHeight/2,projectedTop<0&&(projectedTop=0),contentHeight>I)return;$pp_pic_holder.css({top:projectedTop,left:j/2+scroll_pos.scrollLeft-contentwidth/2})}}function _(){return self.pageYOffset?{scrollTop:self.pageYOffset,scrollLeft:self.pageXOffset}:document.documentElement&&document.documentElement.scrollTop?{scrollTop:document.documentElement.scrollTop,scrollLeft:document.documentElement.scrollLeft}:document.body?{scrollTop:document.body.scrollTop,scrollLeft:document.body.scrollLeft}:void 0}function g(){I=e(window).height(),j=e(window).width(),"undefined"!=typeof $pp_overlay&&$pp_overlay.height(e(document).height()).width(j)}function m(){isSet&&settings.overlay_gallery&&"image"==h(pp_images[set_position])?(itemWidth=57,navWidth="facebook"==settings.theme||"pp_default"==settings.theme?50:30,itemsPerPage=Math.floor((f.containerWidth-100-navWidth)/itemWidth),itemsPerPage=itemsPerPage<pp_images.length?itemsPerPage:pp_images.length,totalPage=Math.ceil(pp_images.length/itemsPerPage)-1,0==totalPage?(navWidth=0,$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").hide()):$pp_gallery.find(".pp_arrow_next,.pp_arrow_previous").show(),galleryWidth=itemsPerPage*itemWidth,fullGalleryWidth=pp_images.length*itemWidth,$pp_gallery.css("margin-left",-(galleryWidth/2+navWidth/2)).find("div:first").width(galleryWidth+5).find("ul").width(fullGalleryWidth).find("li.selected").removeClass("selected"),goToPage=Math.floor(set_position/itemsPerPage)<totalPage?Math.floor(set_position/itemsPerPage):totalPage,e.prettyPhoto.changeGalleryPage(goToPage),$pp_gallery_li.filter(":eq("+set_position+")").addClass("selected")):$pp_pic_holder.find(".pp_content").unbind("mouseenter mouseleave")}function u(){if(settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href))),settings.markup=settings.markup.replace("{pp_social}",""),e("body").append(settings.markup),$pp_pic_holder=e(".pp_pic_holder"),$ppt=e(".ppt"),$pp_overlay=e("div.pp_overlay"),isSet&&settings.overlay_gallery){currentGalleryPage=0,toInject="";for(var t=0;t<pp_images.length;t++)pp_images[t].match(/\b(jpg|jpeg|png|gif)\b/gi)?(classname="",img_src=pp_images[t]):(classname="default",img_src=""),toInject+="<li class='"+classname+"'><a href='#'><img src='"+img_src+"' width='50' alt='' /></a></li>";toInject=settings.gallery_markup.replace(/{gallery}/g,toInject),$pp_pic_holder.find("#pp_full_res").after(toInject),$pp_gallery=e(".pp_pic_holder .pp_gallery"),$pp_gallery_li=$pp_gallery.find("li"),$pp_gallery.find(".pp_arrow_next").click(function(){return e.prettyPhoto.changeGalleryPage("next"),e.prettyPhoto.stopSlideshow(),!1}),$pp_gallery.find(".pp_arrow_previous").click(function(){return e.prettyPhoto.changeGalleryPage("previous"),e.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_content").hover(function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeIn()},function(){$pp_pic_holder.find(".pp_gallery:not(.disabled)").fadeOut()}),itemWidth=57,$pp_gallery_li.each(function(t){e(this).find("a").click(function(){return e.prettyPhoto.changePage(t),e.prettyPhoto.stopSlideshow(),!1})})}settings.slideshow&&($pp_pic_holder.find(".pp_nav").prepend('<a href="#" class="pp_play">Play</a>'),$pp_pic_holder.find(".pp_nav .pp_play").click(function(){return e.prettyPhoto.startSlideshow(),!1})),$pp_pic_holder.attr("class","pp_pic_holder "+settings.theme),$pp_overlay.css({opacity:0,height:e(document).height(),width:e(window).width()}).bind("click",function(){settings.modal||e.prettyPhoto.close()}),e("a.pp_close").bind("click",function(){return e.prettyPhoto.close(),!1}),settings.allow_expand&&e("a.pp_expand").bind("click",function(){return e(this).hasClass("pp_expand")?(e(this).removeClass("pp_expand").addClass("pp_contract"),doresize=!1):(e(this).removeClass("pp_contract").addClass("pp_expand"),doresize=!0),n(function(){e.prettyPhoto.open()}),!1}),$pp_pic_holder.find(".pp_previous, .pp_nav .pp_arrow_previous").bind("click",function(){return e.prettyPhoto.changePage("previous"),e.prettyPhoto.stopSlideshow(),!1}),$pp_pic_holder.find(".pp_next, .pp_nav .pp_arrow_next").bind("click",function(){return e.prettyPhoto.changePage("next"),e.prettyPhoto.stopSlideshow(),!1}),c()}a=jQuery.extend({hook:"rel",animation_speed:"fast",ajaxcallback:function(){},slideshow:5e3,autoplay_slideshow:!1,opacity:.8,show_title:!0,allow_resize:!0,allow_expand:!0,default_width:500,default_height:344,counter_separator_label:"/",theme:"pp_default",horizontal_padding:20,hideflash:!1,wmode:"opaque",autoplay:!0,modal:!1,deeplinking:!0,overlay_gallery:!0,overlay_gallery_max:30,keyboard_shortcuts:!0,changepicturecallback:function(){},callback:function(){},ie6_fallback:!0,markup:'<div class="pp_pic_holder">       <div class="ppt">&nbsp;</div>       <div class="pp_top">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>       <div class="pp_content_container">        <div class="pp_left">        <div class="pp_right">         <div class="pp_content">          <div class="pp_loaderIcon"></div>          <div class="pp_fade">           <a href="#" class="pp_expand" title="Expand the image">Expand</a>           <div class="pp_hoverContainer">            <a class="pp_next" href="#">next</a>            <a class="pp_previous" href="#">previous</a>           </div>           <div id="pp_full_res"></div>           <div class="pp_details">            <div class="pp_nav">             <a href="#" class="pp_arrow_previous">Previous</a>             <p class="currentTextHolder">0/0</p>             <a href="#" class="pp_arrow_next">Next</a>            </div>            <p class="pp_description"></p>            <div class="pp_social">{pp_social}</div>            <a class="pp_close" href="#">Close</a>           </div>          </div>         </div>        </div>        </div>       </div>       <div class="pp_bottom">        <div class="pp_left"></div>        <div class="pp_middle"></div>        <div class="pp_right"></div>       </div>      </div>      <div class="pp_overlay"></div>',gallery_markup:'<div class="pp_gallery">         <a href="#" class="pp_arrow_previous">Previous</a>         <div>          <ul>           {gallery}          </ul>         </div>         <a href="#" class="pp_arrow_next">Next</a>        </div>',image_markup:'<img id="fullResImage" src="{path}" />',flash_markup:'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="{width}" height="{height}" wmode="{wmode}"></embed></object>',quicktime_markup:'<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>',iframe_markup:'<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',inline_markup:'<div class="pp_inline">{content}</div>',custom_markup:"",social_tools:'<div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="//www.facebook.com/plugins/like.php?locale=en_US&href={location_href}&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div>'},a);var f,v,y,w,b,k,P,x=this,$=!1,I=e(window).height(),j=e(window).width();return doresize=!0,scroll_pos=_(),e(window).unbind("resize.prettyphoto").bind("resize.prettyphoto",function(){c(),g()}),a.keyboard_shortcuts&&e(document).unbind("keydown.prettyphoto").bind("keydown.prettyphoto",function(t){if("undefined"!=typeof $pp_pic_holder&&$pp_pic_holder.is(":visible"))switch(t.keyCode){case 37:e.prettyPhoto.changePage("previous"),t.preventDefault();break;case 39:e.prettyPhoto.changePage("next"),t.preventDefault();break;case 27:settings.modal||e.prettyPhoto.close(),t.preventDefault()}}),e.prettyPhoto.initialize=function(){return settings=a,"pp_default"==settings.theme&&(settings.horizontal_padding=16),theRel=e(this).attr(settings.hook),galleryRegExp=/\[(?:.*)\]/,isSet=galleryRegExp.exec(theRel)?!0:!1,pp_images=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).attr("href"):void 0}):e.makeArray(e(this).attr("href")),pp_titles=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).find("img").attr("alt")?e(t).find("img").attr("alt"):"":void 0}):e.makeArray(e(this).find("img").attr("alt")),pp_descriptions=isSet?jQuery.map(x,function(t){return-1!=e(t).attr(settings.hook).indexOf(theRel)?e(t).attr("title")?e(t).attr("title"):"":void 0}):e.makeArray(e(this).attr("title")),pp_images.length>settings.overlay_gallery_max&&(settings.overlay_gallery=!1),set_position=jQuery.inArray(e(this).attr("href"),pp_images),rel_index=isSet?set_position:e("a["+settings.hook+"^='"+theRel+"']").index(e(this)),u(this),settings.allow_resize&&e(window).bind("scroll.prettyphoto",function(){c()}),e.prettyPhoto.open(),!1},e.prettyPhoto.open=function(t){return"undefined"==typeof settings&&(settings=a,pp_images=e.makeArray(arguments[0]),pp_titles=e.makeArray(arguments[1]?arguments[1]:""),pp_descriptions=e.makeArray(arguments[2]?arguments[2]:""),isSet=pp_images.length>1?!0:!1,set_position=arguments[3]?arguments[3]:0,u(t.target)),settings.hideflash&&e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","hidden"),r(e(pp_images).size()),e(".pp_loaderIcon").show(),settings.deeplinking&&i(),settings.social_tools&&(facebook_like_link=settings.social_tools.replace("{location_href}",encodeURIComponent(location.href)),$pp_pic_holder.find(".pp_social").html(facebook_like_link)),$ppt.is(":hidden")&&$ppt.css("opacity",0).show(),$pp_overlay.show().fadeTo(settings.animation_speed,settings.opacity),$pp_pic_holder.find(".currentTextHolder").text(set_position+1+settings.counter_separator_label+e(pp_images).size()),"undefined"!=typeof pp_descriptions[set_position]&&""!=pp_descriptions[set_position]?$pp_pic_holder.find(".pp_description").show().html(unescape(pp_descriptions[set_position])):$pp_pic_holder.find(".pp_description").hide(),movie_width=parseFloat(o("width",pp_images[set_position]))?o("width",pp_images[set_position]):settings.default_width.toString(),movie_height=parseFloat(o("height",pp_images[set_position]))?o("height",pp_images[set_position]):settings.default_height.toString(),$=!1,-1!=movie_height.indexOf("%")&&(movie_height=parseFloat(e(window).height()*parseFloat(movie_height)/100-150),$=!0),-1!=movie_width.indexOf("%")&&(movie_width=parseFloat(e(window).width()*parseFloat(movie_width)/100-150),$=!0),$pp_pic_holder.fadeIn(function(){switch($ppt.html(settings.show_title&&""!=pp_titles[set_position]&&"undefined"!=typeof pp_titles[set_position]?unescape(pp_titles[set_position]):"&nbsp;"),imgPreloader="",skipInjection=!1,h(pp_images[set_position])){case"image":imgPreloader=new Image,nextImage=new Image,isSet&&set_position<e(pp_images).size()-1&&(nextImage.src=pp_images[set_position+1]),prevImage=new Image,isSet&&pp_images[set_position-1]&&(prevImage.src=pp_images[set_position-1]),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=settings.image_markup.replace(/{path}/g,pp_images[set_position]),imgPreloader.onload=function(){f=l(imgPreloader.width,imgPreloader.height),s()},imgPreloader.onerror=function(){alert("Image cannot be loaded. Make sure the path is correct and image exist."),e.prettyPhoto.close()},imgPreloader.src=pp_images[set_position];break;case"youtube":f=l(movie_width,movie_height),movie_id=o("v",pp_images[set_position]),""==movie_id&&(movie_id=pp_images[set_position].split("youtu.be/"),movie_id=movie_id[1],movie_id.indexOf("?")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("?"))),movie_id.indexOf("&")>0&&(movie_id=movie_id.substr(0,movie_id.indexOf("&")))),movie="http://www.youtube.com/embed/"+movie_id,movie+=o("rel",pp_images[set_position])?"?rel="+o("rel",pp_images[set_position]):"?rel=1",settings.autoplay&&(movie+="&autoplay=1"),toInject=settings.iframe_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,movie);break;case"vimeo":f=l(movie_width,movie_height),movie_id=pp_images[set_position];var t=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,i=movie_id.match(t);movie="http://player.vimeo.com/video/"+i[3]+"?title=0&byline=0&portrait=0",settings.autoplay&&(movie+="&autoplay=1;"),vimeo_width=f.width+"/embed/?moog_width="+f.width,toInject=settings.iframe_markup.replace(/{width}/g,vimeo_width).replace(/{height}/g,f.height).replace(/{path}/g,movie);break;case"quicktime":f=l(movie_width,movie_height),f.height+=15,f.contentHeight+=15,f.containerHeight+=15,toInject=settings.quicktime_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,pp_images[set_position]).replace(/{autoplay}/g,settings.autoplay);break;case"flash":f=l(movie_width,movie_height),flash_vars=pp_images[set_position],flash_vars=flash_vars.substring(pp_images[set_position].indexOf("flashvars")+10,pp_images[set_position].length),filename=pp_images[set_position],filename=filename.substring(0,filename.indexOf("?")),toInject=settings.flash_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{wmode}/g,settings.wmode).replace(/{path}/g,filename+"?"+flash_vars);break;case"iframe":f=l(movie_width,movie_height),frame_url=pp_images[set_position],frame_url=frame_url.substr(0,frame_url.indexOf("iframe")-1),toInject=settings.iframe_markup.replace(/{width}/g,f.width).replace(/{height}/g,f.height).replace(/{path}/g,frame_url);break;case"ajax":doresize=!1,f=l(movie_width,movie_height),doresize=!0,skipInjection=!0,e.get(pp_images[set_position],function(e){toInject=settings.inline_markup.replace(/{content}/g,e),$pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,s()});break;case"custom":f=l(movie_width,movie_height),toInject=settings.custom_markup;break;case"inline":myClone=e(pp_images[set_position]).clone().append('<br clear="all" />').css({width:settings.default_width}).wrapInner('<div id="pp_full_res"><div class="pp_inline"></div></div>').appendTo(e("body")).show(),doresize=!1,f=l(e(myClone).width(),e(myClone).height()),doresize=!0,e(myClone).remove(),toInject=settings.inline_markup.replace(/{content}/g,e(pp_images[set_position]).html())}imgPreloader||skipInjection||($pp_pic_holder.find("#pp_full_res")[0].innerHTML=toInject,s())}),!1},e.prettyPhoto.changePage=function(t){currentGalleryPage=0,"previous"==t?(set_position--,set_position<0&&(set_position=e(pp_images).size()-1)):"next"==t?(set_position++,set_position>e(pp_images).size()-1&&(set_position=0)):set_position=t,rel_index=set_position,doresize||(doresize=!0),settings.allow_expand&&e(".pp_contract").removeClass("pp_contract").addClass("pp_expand"),n(function(){e.prettyPhoto.open()})},e.prettyPhoto.changeGalleryPage=function(e){"next"==e?(currentGalleryPage++,currentGalleryPage>totalPage&&(currentGalleryPage=0)):"previous"==e?(currentGalleryPage--,currentGalleryPage<0&&(currentGalleryPage=totalPage)):currentGalleryPage=e,slide_speed="next"==e||"previous"==e?settings.animation_speed:0,slide_to=currentGalleryPage*itemsPerPage*itemWidth,$pp_gallery.find("ul").animate({left:-slide_to},slide_speed)},e.prettyPhoto.startSlideshow=function(){"undefined"==typeof P?($pp_pic_holder.find(".pp_play").unbind("click").removeClass("pp_play").addClass("pp_pause").click(function(){return e.prettyPhoto.stopSlideshow(),!1}),P=setInterval(e.prettyPhoto.startSlideshow,settings.slideshow)):e.prettyPhoto.changePage("next")},e.prettyPhoto.stopSlideshow=function(){$pp_pic_holder.find(".pp_pause").unbind("click").removeClass("pp_pause").addClass("pp_play").click(function(){return e.prettyPhoto.startSlideshow(),!1}),clearInterval(P),P=void 0},e.prettyPhoto.close=function(){$pp_overlay.is(":animated")||(e.prettyPhoto.stopSlideshow(),$pp_pic_holder.stop().find("object,embed").css("visibility","hidden"),e("div.pp_pic_holder,div.ppt,.pp_fade").fadeOut(settings.animation_speed,function(){e(this).remove()}),$pp_overlay.fadeOut(settings.animation_speed,function(){settings.hideflash&&e("object,embed,iframe[src*=youtube],iframe[src*=vimeo]").css("visibility","visible"),e(this).remove(),e(window).unbind("scroll.prettyphoto"),p(),settings.callback(),doresize=!0,v=!1,delete settings}))},!pp_alreadyInitialized&&t()&&(pp_alreadyInitialized=!0,hashIndex=t(),hashRel=hashIndex,hashIndex=hashIndex.substring(hashIndex.indexOf("/")+1,hashIndex.length-1),hashRel=hashRel.substring(0,hashRel.indexOf("/")),setTimeout(function(){e("a["+a.hook+"^='"+hashRel+"']:eq("+hashIndex+")").trigger("click")},50)),this.unbind("click.prettyphoto").bind("click.prettyphoto",e.prettyPhoto.initialize)}}(jQuery);var pp_alreadyInitialized=!1;

(function(a,b,c){"use strict";var d=a.document,e=a.Modernizr,f=function(a){return a.charAt(0).toUpperCase()+a.slice(1)},g="Moz Webkit O Ms".split(" "),h=function(a){var b=d.documentElement.style,c;if(typeof b[a]=="string")return a;a=f(a);for(var e=0,h=g.length;e<h;e++){c=g[e]+a;if(typeof b[c]=="string")return c}},i=h("transform"),j=h("transitionProperty"),k={csstransforms:function(){return!!i},csstransforms3d:function(){var a=!!h("perspective");if(a){var c=" -o- -moz- -ms- -webkit- -khtml- ".split(" "),d="@media ("+c.join("transform-3d),(")+"modernizr)",e=b("<style>"+d+"{#modernizr{height:3px}}"+"</style>").appendTo("head"),f=b('<div id="modernizr" />').appendTo("html");a=f.height()===3,f.remove(),e.remove()}return a},csstransitions:function(){return!!j}},l;if(e)for(l in k)e.hasOwnProperty(l)||e.addTest(l,k[l]);else{e=a.Modernizr={_version:"1.6ish: miniModernizr for Isotope"};var m=" ",n;for(l in k)n=k[l](),e[l]=n,m+=" "+(n?"":"no-")+l;b("html").addClass(m)}if(e.csstransforms){var o=e.csstransforms3d?{translate:function(a){return"translate3d("+a[0]+"px, "+a[1]+"px, 0) "},scale:function(a){return"scale3d("+a+", "+a+", 1) "}}:{translate:function(a){return"translate("+a[0]+"px, "+a[1]+"px) "},scale:function(a){return"scale("+a+") "}},p=function(a,c,d){var e=b.data(a,"isoTransform")||{},f={},g,h={},j;f[c]=d,b.extend(e,f);for(g in e)j=e[g],h[g]=o[g](j);var k=h.translate||"",l=h.scale||"",m=k+l;b.data(a,"isoTransform",e),a.style[i]=m};b.cssNumber.scale=!0,b.cssHooks.scale={set:function(a,b){p(a,"scale",b)},get:function(a,c){var d=b.data(a,"isoTransform");return d&&d.scale?d.scale:1}},b.fx.step.scale=function(a){b.cssHooks.scale.set(a.elem,a.now+a.unit)},b.cssNumber.translate=!0,b.cssHooks.translate={set:function(a,b){p(a,"translate",b)},get:function(a,c){var d=b.data(a,"isoTransform");return d&&d.translate?d.translate:[0,0]}}}var q,r;e.csstransitions&&(q={WebkitTransitionProperty:"webkitTransitionEnd",MozTransitionProperty:"transitionend",OTransitionProperty:"oTransitionEnd otransitionend",transitionProperty:"transitionend"}[j],r=h("transitionDuration"));var s=b.event,t=b.event.handle?"handle":"dispatch",u;s.special.smartresize={setup:function(){b(this).bind("resize",s.special.smartresize.handler)},teardown:function(){b(this).unbind("resize",s.special.smartresize.handler)},handler:function(a,b){var c=this,d=arguments;a.type="smartresize",u&&clearTimeout(u),u=setTimeout(function(){s[t].apply(c,d)},b==="execAsap"?0:100)}},b.fn.smartresize=function(a){return a?this.bind("smartresize",a):this.trigger("smartresize",["execAsap"])},b.Isotope=function(a,c,d){this.element=b(c),this._create(a),this._init(d)};var v=["width","height"],w=b(a);b.Isotope.settings={resizable:!0,layoutMode:"masonry",containerClass:"isotope",itemClass:"isotope-item",hiddenClass:"isotope-hidden",hiddenStyle:{opacity:0,scale:.001},visibleStyle:{opacity:1,scale:1},containerStyle:{position:"relative",overflow:"hidden"},animationEngine:"best-available",animationOptions:{queue:!1,duration:800},sortBy:"original-order",sortAscending:!0,resizesContainer:!0,transformsEnabled:!0,itemPositionDataEnabled:!1},b.Isotope.prototype={_create:function(a){this.options=b.extend({},b.Isotope.settings,a),this.styleQueue=[],this.elemCount=0;var c=this.element[0].style;this.originalStyle={};var d=v.slice(0);for(var e in this.options.containerStyle)d.push(e);for(var f=0,g=d.length;f<g;f++)e=d[f],this.originalStyle[e]=c[e]||"";this.element.css(this.options.containerStyle),this._updateAnimationEngine(),this._updateUsingTransforms();var h={"original-order":function(a,b){return b.elemCount++,b.elemCount},random:function(){return Math.random()}};this.options.getSortData=b.extend(this.options.getSortData,h),this.reloadItems(),this.offset={left:parseInt(this.element.css("padding-left")||0,10),top:parseInt(this.element.css("padding-top")||0,10)};var i=this;setTimeout(function(){i.element.addClass(i.options.containerClass)},0),this.options.resizable&&w.bind("smartresize.isotope",function(){i.resize()}),this.element.delegate("."+this.options.hiddenClass,"click",function(){return!1})},_getAtoms:function(a){var b=this.options.itemSelector,c=b?a.filter(b).add(a.find(b)):a,d={position:"absolute"};return c=c.filter(function(a,b){return b.nodeType===1}),this.usingTransforms&&(d.left=0,d.top=0),c.css(d).addClass(this.options.itemClass),this.updateSortData(c,!0),c},_init:function(a){this.$filteredAtoms=this._filter(this.$allAtoms),this._sort(),this.reLayout(a)},option:function(a){if(b.isPlainObject(a)){this.options=b.extend(!0,this.options,a);var c;for(var d in a)c="_update"+f(d),this[c]&&this[c]()}},_updateAnimationEngine:function(){var a=this.options.animationEngine.toLowerCase().replace(/[ _\-]/g,""),b;switch(a){case"css":case"none":b=!1;break;case"jquery":b=!0;break;default:b=!e.csstransitions}this.isUsingJQueryAnimation=b,this._updateUsingTransforms()},_updateTransformsEnabled:function(){this._updateUsingTransforms()},_updateUsingTransforms:function(){var a=this.usingTransforms=this.options.transformsEnabled&&e.csstransforms&&e.csstransitions&&!this.isUsingJQueryAnimation;a||(delete this.options.hiddenStyle.scale,delete this.options.visibleStyle.scale),this.getPositionStyles=a?this._translate:this._positionAbs},_filter:function(a){var b=this.options.filter===""?"*":this.options.filter;if(!b)return a;var c=this.options.hiddenClass,d="."+c,e=a.filter(d),f=e;if(b!=="*"){f=e.filter(b);var g=a.not(d).not(b).addClass(c);this.styleQueue.push({$el:g,style:this.options.hiddenStyle})}return this.styleQueue.push({$el:f,style:this.options.visibleStyle}),f.removeClass(c),a.filter(b)},updateSortData:function(a,c){var d=this,e=this.options.getSortData,f,g;a.each(function(){f=b(this),g={};for(var a in e)!c&&a==="original-order"?g[a]=b.data(this,"isotope-sort-data")[a]:g[a]=e[a](f,d);b.data(this,"isotope-sort-data",g)})},_sort:function(){var a=this.options.sortBy,b=this._getSorter,c=this.options.sortAscending?1:-1,d=function(d,e){var f=b(d,a),g=b(e,a);return f===g&&a!=="original-order"&&(f=b(d,"original-order"),g=b(e,"original-order")),(f>g?1:f<g?-1:0)*c};this.$filteredAtoms.sort(d)},_getSorter:function(a,c){return b.data(a,"isotope-sort-data")[c]},_translate:function(a,b){return{translate:[a,b]}},_positionAbs:function(a,b){return{left:a,top:b}},_pushPosition:function(a,b,c){b=Math.round(b+this.offset.left),c=Math.round(c+this.offset.top);var d=this.getPositionStyles(b,c);this.styleQueue.push({$el:a,style:d}),this.options.itemPositionDataEnabled&&a.data("isotope-item-position",{x:b,y:c})},layout:function(a,b){var c=this.options.layoutMode;this["_"+c+"Layout"](a);if(this.options.resizesContainer){var d=this["_"+c+"GetContainerSize"]();this.styleQueue.push({$el:this.element,style:d})}this._processStyleQueue(a,b),this.isLaidOut=!0},_processStyleQueue:function(a,c){var d=this.isLaidOut?this.isUsingJQueryAnimation?"animate":"css":"css",f=this.options.animationOptions,g=this.options.onLayout,h,i,j,k;i=function(a,b){b.$el[d](b.style,f)};if(this._isInserting&&this.isUsingJQueryAnimation)i=function(a,b){h=b.$el.hasClass("no-transition")?"css":d,b.$el[h](b.style,f)};else if(c||g||f.complete){var l=!1,m=[c,g,f.complete],n=this;j=!0,k=function(){if(l)return;var b;for(var c=0,d=m.length;c<d;c++)b=m[c],typeof b=="function"&&b.call(n.element,a,n);l=!0};if(this.isUsingJQueryAnimation&&d==="animate")f.complete=k,j=!1;else if(e.csstransitions){var o=0,p=this.styleQueue[0],s=p&&p.$el,t;while(!s||!s.length){t=this.styleQueue[o++];if(!t)return;s=t.$el}var u=parseFloat(getComputedStyle(s[0])[r]);u>0&&(i=function(a,b){b.$el[d](b.style,f).one(q,k)},j=!1)}}b.each(this.styleQueue,i),j&&k(),this.styleQueue=[]},resize:function(){this["_"+this.options.layoutMode+"ResizeChanged"]()&&this.reLayout()},reLayout:function(a){this["_"+this.options.layoutMode+"Reset"](),this.layout(this.$filteredAtoms,a)},addItems:function(a,b){var c=this._getAtoms(a);this.$allAtoms=this.$allAtoms.add(c),b&&b(c)},insert:function(a,b){this.element.append(a);var c=this;this.addItems(a,function(a){var d=c._filter(a);c._addHideAppended(d),c._sort(),c.reLayout(),c._revealAppended(d,b)})},appended:function(a,b){var c=this;this.addItems(a,function(a){c._addHideAppended(a),c.layout(a),c._revealAppended(a,b)})},_addHideAppended:function(a){this.$filteredAtoms=this.$filteredAtoms.add(a),a.addClass("no-transition"),this._isInserting=!0,this.styleQueue.push({$el:a,style:this.options.hiddenStyle})},_revealAppended:function(a,b){var c=this;setTimeout(function(){a.removeClass("no-transition"),c.styleQueue.push({$el:a,style:c.options.visibleStyle}),c._isInserting=!1,c._processStyleQueue(a,b)},10)},reloadItems:function(){this.$allAtoms=this._getAtoms(this.element.children())},remove:function(a,b){this.$allAtoms=this.$allAtoms.not(a),this.$filteredAtoms=this.$filteredAtoms.not(a);var c=this,d=function(){a.remove(),b&&b.call(c.element)};a.filter(":not(."+this.options.hiddenClass+")").length?(this.styleQueue.push({$el:a,style:this.options.hiddenStyle}),this._sort(),this.reLayout(d)):d()},shuffle:function(a){this.updateSortData(this.$allAtoms),this.options.sortBy="random",this._sort(),this.reLayout(a)},destroy:function(){var a=this.usingTransforms,b=this.options;this.$allAtoms.removeClass(b.hiddenClass+" "+b.itemClass).each(function(){var b=this.style;b.position="",b.top="",b.left="",b.opacity="",a&&(b[i]="")});var c=this.element[0].style;for(var d in this.originalStyle)c[d]=this.originalStyle[d];this.element.unbind(".isotope").undelegate("."+b.hiddenClass,"click").removeClass(b.containerClass).removeData("isotope"),w.unbind(".isotope")},_getSegments:function(a){var b=this.options.layoutMode,c=a?"rowHeight":"columnWidth",d=a?"height":"width",e=a?"rows":"cols",g=this.element[d](),h,i=this.options[b]&&this.options[b][c]||this.$filteredAtoms["outer"+f(d)](!0)||g;h=Math.floor(g/i),h=Math.max(h,1),this[b][e]=h,this[b][c]=i},_checkIfSegmentsChanged:function(a){var b=this.options.layoutMode,c=a?"rows":"cols",d=this[b][c];return this._getSegments(a),this[b][c]!==d},_masonryReset:function(){this.masonry={},this._getSegments();var a=this.masonry.cols;this.masonry.colYs=[];while(a--)this.masonry.colYs.push(0)},_masonryLayout:function(a){var c=this,d=c.masonry;a.each(function(){var a=b(this),e=Math.ceil(a.outerWidth(!0)/d.columnWidth);e=Math.min(e,d.cols);if(e===1)c._masonryPlaceBrick(a,d.colYs);else{var f=d.cols+1-e,g=[],h,i;for(i=0;i<f;i++)h=d.colYs.slice(i,i+e),g[i]=Math.max.apply(Math,h);c._masonryPlaceBrick(a,g)}})},_masonryPlaceBrick:function(a,b){var c=Math.min.apply(Math,b),d=0;for(var e=0,f=b.length;e<f;e++)if(b[e]===c){d=e;break}var g=this.masonry.columnWidth*d,h=c;this._pushPosition(a,g,h);var i=c+a.outerHeight(!0),j=this.masonry.cols+1-f;for(e=0;e<j;e++)this.masonry.colYs[d+e]=i},_masonryGetContainerSize:function(){var a=Math.max.apply(Math,this.masonry.colYs);return{height:a}},_masonryResizeChanged:function(){return this._checkIfSegmentsChanged()},_fitRowsReset:function(){this.fitRows={x:0,y:0,height:0}},_fitRowsLayout:function(a){var c=this,d=this.element.width(),e=this.fitRows;a.each(function(){var a=b(this),f=a.outerWidth(!0),g=a.outerHeight(!0);e.x!==0&&f+e.x>d&&(e.x=0,e.y=e.height),c._pushPosition(a,e.x,e.y),e.height=Math.max(e.y+g,e.height),e.x+=f})},_fitRowsGetContainerSize:function(){return{height:this.fitRows.height}},_fitRowsResizeChanged:function(){return!0},_cellsByRowReset:function(){this.cellsByRow={index:0},this._getSegments(),this._getSegments(!0)},_cellsByRowLayout:function(a){var c=this,d=this.cellsByRow;a.each(function(){var a=b(this),e=d.index%d.cols,f=Math.floor(d.index/d.cols),g=(e+.5)*d.columnWidth-a.outerWidth(!0)/2,h=(f+.5)*d.rowHeight-a.outerHeight(!0)/2;c._pushPosition(a,g,h),d.index++})},_cellsByRowGetContainerSize:function(){return{height:Math.ceil(this.$filteredAtoms.length/this.cellsByRow.cols)*this.cellsByRow.rowHeight+this.offset.top}},_cellsByRowResizeChanged:function(){return this._checkIfSegmentsChanged()},_straightDownReset:function(){this.straightDown={y:0}},_straightDownLayout:function(a){var c=this;a.each(function(a){var d=b(this);c._pushPosition(d,0,c.straightDown.y),c.straightDown.y+=d.outerHeight(!0)})},_straightDownGetContainerSize:function(){return{height:this.straightDown.y}},_straightDownResizeChanged:function(){return!0},_masonryHorizontalReset:function(){this.masonryHorizontal={},this._getSegments(!0);var a=this.masonryHorizontal.rows;this.masonryHorizontal.rowXs=[];while(a--)this.masonryHorizontal.rowXs.push(0)},_masonryHorizontalLayout:function(a){var c=this,d=c.masonryHorizontal;a.each(function(){var a=b(this),e=Math.ceil(a.outerHeight(!0)/d.rowHeight);e=Math.min(e,d.rows);if(e===1)c._masonryHorizontalPlaceBrick(a,d.rowXs);else{var f=d.rows+1-e,g=[],h,i;for(i=0;i<f;i++)h=d.rowXs.slice(i,i+e),g[i]=Math.max.apply(Math,h);c._masonryHorizontalPlaceBrick(a,g)}})},_masonryHorizontalPlaceBrick:function(a,b){var c=Math.min.apply(Math,b),d=0;for(var e=0,f=b.length;e<f;e++)if(b[e]===c){d=e;break}var g=c,h=this.masonryHorizontal.rowHeight*d;this._pushPosition(a,g,h);var i=c+a.outerWidth(!0),j=this.masonryHorizontal.rows+1-f;for(e=0;e<j;e++)this.masonryHorizontal.rowXs[d+e]=i},_masonryHorizontalGetContainerSize:function(){var a=Math.max.apply(Math,this.masonryHorizontal.rowXs);return{width:a}},_masonryHorizontalResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_fitColumnsReset:function(){this.fitColumns={x:0,y:0,width:0}},_fitColumnsLayout:function(a){var c=this,d=this.element.height(),e=this.fitColumns;a.each(function(){var a=b(this),f=a.outerWidth(!0),g=a.outerHeight(!0);e.y!==0&&g+e.y>d&&(e.x=e.width,e.y=0),c._pushPosition(a,e.x,e.y),e.width=Math.max(e.x+f,e.width),e.y+=g})},_fitColumnsGetContainerSize:function(){return{width:this.fitColumns.width}},_fitColumnsResizeChanged:function(){return!0},_cellsByColumnReset:function(){this.cellsByColumn={index:0},this._getSegments(),this._getSegments(!0)},_cellsByColumnLayout:function(a){var c=this,d=this.cellsByColumn;a.each(function(){var a=b(this),e=Math.floor(d.index/d.rows),f=d.index%d.rows,g=(e+.5)*d.columnWidth-a.outerWidth(!0)/2,h=(f+.5)*d.rowHeight-a.outerHeight(!0)/2;c._pushPosition(a,g,h),d.index++})},_cellsByColumnGetContainerSize:function(){return{width:Math.ceil(this.$filteredAtoms.length/this.cellsByColumn.rows)*this.cellsByColumn.columnWidth}},_cellsByColumnResizeChanged:function(){return this._checkIfSegmentsChanged(!0)},_straightAcrossReset:function(){this.straightAcross={x:0}},_straightAcrossLayout:function(a){var c=this;a.each(function(a){var d=b(this);c._pushPosition(d,c.straightAcross.x,0),c.straightAcross.x+=d.outerWidth(!0)})},_straightAcrossGetContainerSize:function(){return{width:this.straightAcross.x}},_straightAcrossResizeChanged:function(){return!0}},b.fn.imagesLoaded=function(a){function h(){a.call(c,d)}function i(a){var c=a.target;c.src!==f&&b.inArray(c,g)===-1&&(g.push(c),--e<=0&&(setTimeout(h),d.unbind(".imagesLoaded",i)))}var c=this,d=c.find("img").add(c.filter("img")),e=d.length,f="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",g=[];return e||h(),d.bind("load.imagesLoaded error.imagesLoaded",i).each(function(){var a=this.src;this.src=f,this.src=a}),c};var x=function(b){a.console&&a.console.error(b)};b.fn.isotope=function(a,c){if(typeof a=="string"){var d=Array.prototype.slice.call(arguments,1);this.each(function(){var c=b.data(this,"isotope");if(!c){x("cannot call methods on isotope prior to initialization; attempted to call method '"+a+"'");return}if(!b.isFunction(c[a])||a.charAt(0)==="_"){x("no such method '"+a+"' for isotope instance");return}c[a].apply(c,d)})}else this.each(function(){var d=b.data(this,"isotope");d?(d.option(a),d._init(c)):b.data(this,"isotope",new b.Isotope(a,this,c))});return this}})(window,jQuery);
jQuery.easing['jswing']=jQuery.easing['swing'];jQuery.extend(jQuery.easing,{def:'easeOutQuad',swing:function(x,t,b,c,d){return jQuery.easing[jQuery.easing.def](x,t,b,c,d);},easeInQuad:function(x,t,b,c,d){return c*(t/=d)*t+b;},easeOutQuad:function(x,t,b,c,d){return-c*(t/=d)*(t-2)+b;},easeInOutQuad:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t+b;return-c/2*((--t)*(t-2)-1)+b;},easeInCubic:function(x,t,b,c,d){return c*(t/=d)*t*t+b;},easeOutCubic:function(x,t,b,c,d){return c*((t=t/d-1)*t*t+1)+b;},easeInOutCubic:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t+b;return c/2*((t-=2)*t*t+2)+b;},easeInQuart:function(x,t,b,c,d){return c*(t/=d)*t*t*t+b;},easeOutQuart:function(x,t,b,c,d){return-c*((t=t/d-1)*t*t*t-1)+b;},easeInOutQuart:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t+b;return-c/2*((t-=2)*t*t*t-2)+b;},easeInQuint:function(x,t,b,c,d){return c*(t/=d)*t*t*t*t+b;},easeOutQuint:function(x,t,b,c,d){return c*((t=t/d-1)*t*t*t*t+1)+b;},easeInOutQuint:function(x,t,b,c,d){if((t/=d/2)<1)return c/2*t*t*t*t*t+b;return c/2*((t-=2)*t*t*t*t+2)+b;},easeInSine:function(x,t,b,c,d){return-c*Math.cos(t/d*(Math.PI/2))+c+b;},easeOutSine:function(x,t,b,c,d){return c*Math.sin(t/d*(Math.PI/2))+b;},easeInOutSine:function(x,t,b,c,d){return-c/2*(Math.cos(Math.PI*t/d)-1)+b;},easeInExpo:function(x,t,b,c,d){return(t==0)?b:c*Math.pow(2,10*(t/d-1))+b;},easeOutExpo:function(x,t,b,c,d){return(t==d)?b+c:c*(-Math.pow(2,-10*t/d)+1)+b;},easeInOutExpo:function(x,t,b,c,d){if(t==0)return b;if(t==d)return b+c;if((t/=d/2)<1)return c/2*Math.pow(2,10*(t-1))+b;return c/2*(-Math.pow(2,-10*--t)+2)+b;},easeInCirc:function(x,t,b,c,d){return-c*(Math.sqrt(1-(t/=d)*t)-1)+b;},easeOutCirc:function(x,t,b,c,d){return c*Math.sqrt(1-(t=t/d-1)*t)+b;},easeInOutCirc:function(x,t,b,c,d){if((t/=d/2)<1)return-c/2*(Math.sqrt(1-t*t)-1)+b;return c/2*(Math.sqrt(1-(t-=2)*t)+1)+b;},easeInElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return-(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;},easeOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d)==1)return b+c;if(!p)p=d*.3;if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);return a*Math.pow(2,-10*t)*Math.sin((t*d-s)*(2*Math.PI)/p)+c+b;},easeInOutElastic:function(x,t,b,c,d){var s=1.70158;var p=0;var a=c;if(t==0)return b;if((t/=d/2)==2)return b+c;if(!p)p=d*(.3*1.5);if(a<Math.abs(c)){a=c;var s=p/4;}else var s=p/(2*Math.PI)*Math.asin(c/a);if(t<1)return-.5*(a*Math.pow(2,10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p))+b;return a*Math.pow(2,-10*(t-=1))*Math.sin((t*d-s)*(2*Math.PI)/p)*.5+c+b;},easeInBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*(t/=d)*t*((s+1)*t-s)+b;},easeOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;return c*((t=t/d-1)*t*((s+1)*t+s)+1)+b;},easeInOutBack:function(x,t,b,c,d,s){if(s==undefined)s=1.70158;if((t/=d/2)<1)return c/2*(t*t*(((s*=(1.525))+1)*t-s))+b;return c/2*((t-=2)*t*(((s*=(1.525))+1)*t+s)+2)+b;},easeInBounce:function(x,t,b,c,d){return c-jQuery.easing.easeOutBounce(x,d-t,0,c,d)+b;},easeOutBounce:function(x,t,b,c,d){if((t/=d)<(1/2.75)){return c*(7.5625*t*t)+b;}else if(t<(2/2.75)){return c*(7.5625*(t-=(1.5/2.75))*t+.75)+b;}else if(t<(2.5/2.75)){return c*(7.5625*(t-=(2.25/2.75))*t+.9375)+b;}else{return c*(7.5625*(t-=(2.625/2.75))*t+.984375)+b;}},easeInOutBounce:function(x,t,b,c,d){if(t<d/2)return jQuery.easing.easeInBounce(x,t*2,0,c,d)*.5+b;return jQuery.easing.easeOutBounce(x,t*2-d,0,c,d)*.5+c*.5+b;}});
(function(a){a.fn.extend({customSelect:function(b){var c={customClass:null,mapClass:true,mapStyle:true},d=function(i){var f=a(i),e=f.find(":selected"),j=f.next(),h=j.children(":first"),g=e.html()||"&nbsp;";h.html(g);setTimeout(function(){j.removeClass("customSelectOpen")},60)};if(typeof document.body.style.maxHeight==="undefined"){return this}b=a.extend(c,b);return this.each(function(){var e=a(this),g=a('<span class="customSelectInner" />'),f=a('<span class="customSelect" />');f.append(g);e.after(f);if(b.customClass){f.addClass(b.customClass)}if(b.mapClass){f.addClass(e.attr("class"))}if(b.mapStyle){f.attr("style",e.attr("style"))}e.addClass("hasCustomSelect").on("update",function(){var i=parseInt(e.outerWidth(),10)-(parseInt(f.outerWidth(),10)-parseInt(f.width(),10)),h=f.outerHeight();d(this);f.css({display:"inline-block"});g.css({width:i,display:"inline-block"});e.css({"-webkit-appearance":"menulist-button",width:f.outerWidth(),position:"absolute",opacity:0,height:h,fontSize:f.css("font-size")})}).on("change",function(){f.addClass("customSelectChanged");d(this)}).on("keyup",function(){e.blur();e.focus()}).on("mousedown",function(){f.removeClass("customSelectChanged").addClass("customSelectOpen")}).focus(function(){f.removeClass("customSelectChanged").addClass("customSelectFocus")}).blur(function(){f.removeClass("customSelectFocus customSelectOpen")}).hover(function(){f.addClass("customSelectHover")},function(){f.removeClass("customSelectHover")}).trigger("update")})}})})(jQuery);
(function($){$.fn.fitVids=function(options){var settings={customSelector:null}
var div=document.createElement('div'),ref=document.getElementsByTagName('base')[0]||document.getElementsByTagName('script')[0];div.className='fit-vids-style';div.innerHTML='&shy;<style> \
.fluid-width-video-wrapper { \
width: 100%; \
position: relative; \
padding: 0; \
} \
\
.fluid-width-video-wrapper iframe, \
.fluid-width-video-wrapper object, \
.fluid-width-video-wrapper embed { \
position: absolute; \
top: 0; \
left: 0; \
width: 100%; \
height: 100%; \
} \
</style>';ref.parentNode.insertBefore(div,ref);if(options){$.extend(settings,options);}return this.each(function(){var selectors=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src^='www.dailymotion.com']","iframe[src^='blip.tv']","iframe[src*='www.kickstarter.com']","object","embed"];if(settings.customSelector){selectors.push(settings.customSelector);}var $allVideos=$(this).find(selectors.join(','));$allVideos.each(function(){var $this=$(this);if(this.tagName.toLowerCase()=='embed'&&$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length){return;}var height=(this.tagName.toLowerCase()=='object'||$this.attr('height'))?$this.attr('height'):$this.height(),width=$this.attr('width')?$this.attr('width'):$this.width(),aspectRatio=height/width;if(!$this.attr('id')){var videoID='fitvid'+Math.floor(Math.random()*999999);$this.attr('id',videoID);}$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top',(aspectRatio*100)+"%");$this.removeAttr('height').removeAttr('width');});});}})(jQuery);
/*!
 * Fresco - A Beautiful Responsive Lightbox - v1.2.7
 * (c) 2012-2013 Nick Stakenburg
 *
 * http://www.frescojs.com
 *
 * License: http://www.frescojs.com/license
 */
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(G($){G 1g(i){H t={};1Y(H e 4B i)t[e]=i[e]+"1g";P t}G 5j(){H i=x.2H();P i.L>i.J?"2X":"3H"}G 6h(i){P 5k.7D.2B(5k,i.3s(","))}G 6i(){1Y(H i="",t=6h("9B,97,9C,6j,9D,9E");!/^([a-5l-Z])+/.6k(i);)i=13[t]().9F(36).5m(2,5);P i}G 6h(i){P 5k.7D.2B(5k,i.3s(","))}G 5n(i){16.6l&&6l[6l.5n?"5n":"9G"](i)}G 6m(i,t){U(!26.7E)P t(!1,1),2I 0;H e={J:i.J,L:i.L},s={J:43,L:43},o=1,n=1;e.J>s.J&&(o=s.J/e.J),e.L>s.L&&(n=s.L/e.L);H a=13.2e(o,n);1>a&&(e.J*=a,e.L*=a);H h=1Z 6n,r=$("<4C>").2p(e)[0],d=r.6o("2d");d.9H=.8,d.9I(i,0,0,e.J,e.L),h.3I=G(){t(h,a)};5o{h.3j=r.6p("1q/7F")}5p(u){t(!1,1)}}G 5q(i,t){1Y(H e 4B t)t[e]&&t[e].7G&&t[e].7G===9J?(i[e]=$.1e({},i[e])||{},5q(i[e],t[e])):i[e]=t[e];P i}G 3t(i,t){P 5q($.1e({},i),t)}G 44(){F.1A.2B(F,k.2j(1M))}G 6q(){F.1A.2B(F,k.2j(1M))}G 6r(){F.1A.2B(F,k.2j(1M))}G 6s(){F.1A.2B(F,k.2j(1M))}G 6t(){F.1A.2B(F,k.2j(1M))}G 46(){F.1A.2B(F,k.2j(1M))}G 6u(){F.1A.2B(F,k.2j(1M))}G 4D(i){H t={Y:"1q"};P $.1i(E,G(e,s){H o=s.1b(i);o&&(t=o,t.Y=e,t.1w=i)}),t}G 5r(i){H t=(i||"").9K(/\\?.*/g,"").6v(/\\.([^.]{3,4})$/);P t?t[1].6w():1m}H j=16.6x||{};$.1e(j,{6y:"1.2.7"}),j.3J={7H:{1t:{1r:{1h:0,17:0,1G:9L,5s:!0},1N:{1h:0,17:6z,2J:6A},1c:{1h:43,2Y:0,1U:6z,2J:6A},1V:{7I:43,7J:43},16:{1h:9M,17:6z,1v:9N},Q:{1h:6A,17:43,2J:9O}},5t:{Q:{1h:7K,17:7K,2J:9P}},2v:"4E",5u:{1u:!0,47:!0,5v:!0},2K:!1,3K:"1P-1I",1Q:{21:!0},1v:!1,3L:!0,7L:{4E:{48:20,3u:20},J:{48:0,3u:0},L:{48:0,3u:0},4F:{48:0,3u:0}},1c:!0,14:{J:{2X:.8,3H:.6}},Q:"28",1R:{5w:1,4G:1,9Q:1,9R:1,2X:0,2K:0},29:{5w:1,2Z:1,9S:1,6B:1,9T:3,2K:0,9U:1,9V:0},5x:{1q:{},1R:{J:7M},29:{J:7M,L:9W}}},7N:{},2f:{},7O:{}};H k=9X.31.9Y,2L={5y:G(i){P i&&1==i.7P},11:{9Z:G(){G i(i){1Y(H t=i;t&&t.7Q;)t=t.7Q;P t}P G(t){H e=i(t);P!(!e||!e.4H)}}()}};(G(){G i(i){H t;U(i.3k.7R?t=i.3k.7R/a0:i.3k.7S&&(t=-i.3k.7S/3),t){H e=$.a1("2f:5z");$(i.2C).a2(e,t),e.a3()&&i.2q(),e.a4()&&i.2n()}}$(2o.4I).1y("5z a5",i)})();H q=G(){H i=0,t=6i()+6i();P G(e){1Y(e=e||t,i++;$("#"+e+i)[0];)i++;P e+i}}(),3v={};(G(){H i={};$.1i(["a6","a7","a8","a9","aa"],G(t,e){i[e]=G(i){P 13.7T(i,t+2)}}),$.1e(i,{ab:G(i){P 1-13.ac(i*13.ad/2)}}),$.1i(i,G(i,t){3v["ae"+i]=t,3v["af"+i]=G(i){P 1-t(1-i)},3v["ag"+i]=G(i){P.5>i?t(2*i)/2:1-t(-2*i+2)/2}}),$.1i(3v,G(i,t){$.3v[i]||($.3v[i]=t)})})();H x={2H:G(){H i={L:$(16).L(),J:$(16).J()};P 1a.4J&&(i.J=16.ah,i.L=16.3M),i}},3w={3x:G(i){H t=$.1e({2v:"4E"},1M[1]||{});t.2M||(t.2M=$.1e({},R.22));H e=t.2M,s=$.1e({},i),o=1,n=5;t.3l&&(e.J-=2*t.3l,e.L-=2*t.3l);H a={L:!0,J:!0};2D(t.2v){1D"4F":a={};1D"J":1D"L":a={},a[t.2v]=!0}1Y(;n>0&&(a.J&&s.J>e.J||a.L&&s.L>e.L);){H h=1,r=1;a.J&&s.J>e.J&&(h=e.J/s.J),a.L&&s.L>e.L&&(r=e.L/s.L);H o=13.2e(h,r);s={J:13.3N(i.J*o),L:13.3N(i.L*o)},n--}P s.J=13.1B(s.J,0),s.L=13.1B(s.L,0),s}},1a=G(i){G t(t){H e=ai(t+"([\\\\d.]+)").5A(i);P e?4K(e[1]):!0}P{1n:!(!16.aj||-1!==i.32("6C"))&&t("ak "),6C:i.32("6C")>-1&&(!!16.6D&&6D.6y&&4K(6D.6y())||7.55),49:i.32("7U/")>-1&&t("7U/"),7V:i.32("7V")>-1&&-1===i.32("al")&&t("am:"),4J:!!i.6v(/an.*ao.*ap/),6E:i.32("6E")>-1&&t("6E/"),7W:i.32("7X")>-1&&t("7X/"),3y:i.32("3y")>-1&&t("3y "),5B:i.32("5B")>-1&&t("5B/")}}(7Y.aq),26=G(){G i(i){P e(i,"7Z")}G t(i,t){1Y(H e 4B i)U(2I 0!==s.3z[i[e]])P"7Z"==t?i[e]:!0;P!1}G e(i,e){H s=i.ar(0).80()+i.5m(1),n=(i+" "+o.as(s+" ")+s).3s(" ");P t(n,e)}H s=2o.6F("X"),o="at au O av aw".3s(" ");P{4C:G(){H i=2o.6F("4C");P!(!i.6o||!i.6o("2d"))}(),14:G(){5o{P!!("ax"4B 16||16.81&&2o ay 81)}5p(i){P!1}}(),6G:!(!16.6G||1a.1n&&9>1a.1n),19:{82:e("82"),az:i}}}();26.2N=26.14&&(1a.4J||1a.3y||1a.5B||1a.7W||!/^(aA|aB|aC)/.6k(7Y.aD)),26.7E=26.4C&&G(){H i=2o.6F("4C");P i.6p&&0===i.6p("1q/6H").32("1b:1q/6H")}();H y={3O:{23:{6I:"1.4.4",6J:16.23&&23.aE.aF}},83:G(){G i(i){1Y(H e=i.6v(t),s=e&&e[1]&&e[1].3s(".")||[],o=0,n=0,a=s.1o;a>n;n++)o+=4L(s[n]*13.7T(10,6-2*n));P e&&e[3]?o-1:o}H t=/^(\\d+(\\.?\\d+){0,3})([A-84-aG-]+[A-84-aH-9]+)?/;P G(t){(!F.3O[t].6J||i(F.3O[t].6J)<i(F.3O[t].6I)&&!F.3O[t].85)&&(F.3O[t].85=!0,5n("6x aI "+t+" >= "+F.3O[t].6I))}}()},3m={4a:G(i){P{4b:i?"4b":"5C",5D:i?"5D":"aJ",5E:i?"5E":"aK"}}(26.2N),1y:G(i){G t(t){G s(t){U(e.2n&&t.2n(),l){p=t.3k.5F?t.3k.5F[0]:t,d=(1Z 6K).6L(),h=p.33,r=p.34,n=h-m,a=r-v;H s=(1Z 6K).6L();g&&(e.aL&&13.4c(n)<e.6M||e.aM&&13.4c(a)<e.6M||l&&6j>s-l)||(w&&(w=!1,g=!1,m=p.33,v=p.34,n=h-m,a=r-v),"G"==$.Y(e.1G)&&e.1G({2C:i,x:n,y:a}))}}G o(){U(u.4d(3m.4a.4b),l&&d){H t=!1;e.86>d-l&&13.4c(c-h)>e.87&&13.4c(f-r)<e.88&&(t=!0,"G"==$.Y(e.4e)&&e.4e({2C:i,89:c>h?"1u":"47",x:n,y:a})),"G"==$.Y(e.4M)&&e.4M({2C:i,8a:t,x:n,y:a})}l=d=1m}H n,a,h,r,d,u=$(F),l=(1Z 6K).6L(),p=t.3k.5F?t.3k.5F[0]:t,c=p.33,f=p.34,m=p.33,v=p.34,w=!0,g=!0;e.2q&&t.aN(),"G"==$.Y(e.3P)&&e.3P({2C:i}),u.1b("I-4b",s).1b("I-5E",o),u.1y(3m.4a.4b,s).aO(3m.4a.5E,o)}H e=$.1e({87:15,88:75,6M:10,8b:!1,aP:!1,86:aQ,2q:!1,2n:!1,3P:!1,1G:!1,4M:!1,4e:!1},1M[1]||{});$(i).1b("I-5D",t),$(i).1y(3m.4a.5D,t)},4d:G(i){H t={3P:0,1G:0,4M:0};$.1i(t,G(e){t[e]=$(i).1b("I-14"+e),t[e]&&$(i).4d(3m.4a["14"+e],t[e]).aR("I-14"+e)})}},1s={1J:G(i,t,e){"G"==$.Y(t)&&(e=t,t={}),t=$.1e({3Q:!1,Y:!1,aS:aT,3A:!0},t||{});H s=1s.1C.1J(i),o=t.Y||4D(i).Y,n={Y:o,4f:e};U(!s){H a;(a=1s.3B.1J(i))&&a.1f&&(s=a,1s.1C.24(i,a.1f,a.1b))}U(s)e&&e($.1e({},s.1f),s.1b);25 2D(t.3Q&&1s.1N.2g(i),o){1D"1q":H h=1Z 6n;h.3I=G(){h.3I=G(){},s={1f:{J:h.J,L:h.L}},n.1q=h,t.3A?6m(h,G(o,a){n.3A=o,n.4N=a,1s.1C.24(i,s.1f,n),t.3Q&&1s.1N.2g(i),e&&e(s.1f,n)}):(1s.1C.24(i,s.1f,n),t.3Q&&1s.1N.2g(i),e&&e(s.1f,n))},h.3j=i,t.3Q&&1s.1N.24(i,{1q:h,Y:o});2O;1D"1R":H r=4D(i).3n,d="4O"+(16.2P&&"4P:"==16.2P.4Q?"s":"")+":",u=$.8c(d+"//1R.35/4G/8d.8e?1w="+d+"//1R.35/"+r+"&4f=?",$.W(G(s){H o={1f:{J:s.J,L:s.L}};1s.1C.24(i,o.1f,n),t.3Q&&1s.1N.2g(i),e&&e(o.1f,n)},F));t.3Q&&1s.1N.24(i,{5G:u,Y:o})}}};1s.6N=G(){P F.1A.2B(F,k.2j(1M))},$.1e(1s.6N.31,{1A:G(){F.1C=[]},1J:G(i){1Y(H t=1m,e=0;F.1C.1o>e;e++)F.1C[e]&&F.1C[e].1w==i&&(t=F.1C[e]);P t},24:G(i,t,e){F.1S(i),F.1C.2k({1w:i,1f:t,1b:e})},1S:G(i){1Y(H t=0;F.1C.1o>t;t++)F.1C[t]&&F.1C[t].1w==i&&4g F.1C[t]},aU:G(i){H t=1J(i.1w);t?$.1e(t,i):F.1C.2k(i)}}),1s.1C=1Z 1s.6N,1s.44=G(){P F.1A.2B(F,k.2j(1M))},$.1e(1s.44.31,{1A:G(){F.1C=[]},24:G(i,t){F.2g(i),F.1C.2k({1w:i,1b:t})},1J:G(i){1Y(H t=1m,e=0;F.1C.1o>e;e++)F.1C[e]&&F.1C[e].1w==i&&(t=F.1C[e]);P t},2g:G(i){1Y(H t=F.1C,e=0;t.1o>e;e++)U(t[e]&&t[e].1w==i&&t[e].1b){H s=t[e].1b;2D(s.Y){1D"1q":s.1q&&s.1q.3I&&(s.1q.3I=G(){});2O;1D"1R":s.5G&&(s.5G.aV(),s.5G=1m)}4g t[e]}}}),1s.1N=1Z 1s.44,1s.3L=G(i,t,e){U("G"==$.Y(t)&&(e=t,t={}),t=$.1e({3A:!0,6O:!1},t||{}),!t.6O||!1s.3B.1J(i)){H s;U((s=1s.3B.1J(i))&&s.1f)P"G"==$.Y(e)&&e($.1e({},s.1f),s.1b),2I 0;H o={1w:i,1b:{Y:"1q"}},n=1Z 6n;o.1b.1q=n,n.3I=G(){n.3I=G(){},o.1f={J:n.J,L:n.L},t.3A?6m(n,G(i,t){$.1e(o.1b,{3A:i,4N:t}),"G"==$.Y(e)&&e(o.1f,o.1b)}):"G"==$.Y(e)&&e(o.1f,o.1b)},1s.3B.1C.1O(o),n.3j=i}},1s.3B={1J:G(i){P 1s.3B.1C.1J(i)},8f:G(i){H t=F.1J(i);P t&&t.1f}},1s.3B.1C=G(){G i(i){1Y(H t=1m,s=0,o=e.1o;o>s;s++)e[s]&&e[s].1w&&e[s].1w==i&&(t=e[s]);P t}G t(i){e.2k(i)}H e=[];P{1J:i,1O:t}}();H z=G(){G i(i,s,o){i=i||{},o=o||{},i.3R=i.3R||(j.3J[A.4h]?A.4h:"2f"),1a.1n&&7>1a.1n&&(i.3R="7O");H n=i.3R?$.1e({},j.3J[i.3R]||j.3J[A.4h]):{},a=3t(e,n);s&&a.5x[s]&&(a=3t(a.5x[s],a),4g a.5x);H h=3t(a,i);U(26.2N?h.Q="14":"14"==h.Q&&(h.Q="14"!=a.Q?a.Q:"14"!=e.Q?e.Q:"14"!=t.Q?t.Q:"28"),h.2v?"6P"==$.Y(h.2v)&&(h.2v="4E"):h.2v="4F","14"==h.Q&&(h.2v="4E"),h.2Z&&(h.2Z="4R"==$.Y(h.2Z)?3t(a.2Z||e.2Z||t.2Z,{Y:h.2Z}):3t(t.2Z,h.2Z)),!h.1t||26.2N&&!h.5t?(h.1t={},$.1i(t.1t,G(i,t){$.1i(h.1t[i]=$.1e({},t),G(t){h.1t[i][t]=0})})):26.2N&&h.5t&&(h.1t=3t(h.1t,h.5t)),1a.1n&&9>1a.1n&&5q(h.1t,{1r:{1h:0,17:0},1c:{2Y:0},16:{1h:0,17:0},Q:{1h:0,17:0}}),("14"==h.Q||1a.1n&&7>1a.1n)&&(h.1c=!1),h.5u&&"1q"!=s&&$.1e(h.5u,{1u:!1,47:!1}),!h.1d&&"6P"!=$.Y(h.1d)){H r=!1;2D(s){1D"29":H d="4O"+(16.2P&&"4P:"==16.2P.4Q?"s":"")+":";r=d+"//5H.29.35/6Q/"+o.3n+"/0.8g";2O;1D"1q":1D"1R":r=!0}h.1d=r}P h}H t=j.3J.7H,e=3t(t,j.3J.7N);P{6R:i}}();$.1e(44.31,{1A:G(i){F.4i=i,F.M=$.1e({1c:C,2l:"I-1N"},1M[1]||{}),F.M.1c&&(F.1c=F.M.1c),F.2r(),F.38()},2r:G(){U($(2o.4H).T(F.11=$("<X>").N(F.M.2l).17().T(F.4S=$("<X>").N(F.M.2l+"-4S").T($("<X>").N(F.M.2l+"-2w")).T($("<X>").N(F.M.2l+"-2E")))),1a.1n&&7>1a.1n){H i=F.11[0].3z;i.1v="6S",i.4j("1x","((!!16.23 ? 23(16).4T() + (.5 * 23(16).L()) : 0) + \'1g\')"),i.4j("1u","((!!16.23 ? 23(16).5I() + (.5 * 23(16).J()): 0) + \'1g\')")}},4k:G(i){F.11[0].2l=F.M.2l+" "+F.M.2l+"-"+i},38:G(){F.11.1y("1W",$.W(G(){F.4i.17()},F))},3P:G(i){F.6T();H t=R.V&&R.V[R.12-1];F.11.1H(1,0).3S(t?t.K.M.1t.1N.1h:0,1,i)},1H:G(i,t){H e=R.V&&R.V[R.12-1];F.11.1H(1,0).2J(t?0:e?e.K.M.1t.1N.aW:0).4U(e.K.M.1t.1N.17,i)},6T:G(){H i=0;U(F.1c){F.1c.2x();H i=F.1c.1K.1c.L}F.4S.19({"2a-1x":(F.4i.K.M.1c?i*-.5:0)+"1g"})}}),$.1e(6q.31,{1A:G(i){F.M=$.1e({2l:"I-1Q"},1M[1]||{}),F.4i=i,F.2r(),1a.1n&&9>1a.1n&&$(16).1y("1L",$.W(G(){F.11&&F.11.2s(":1E")&&F.1B()},F)),F.6U()},2r:G(){U(F.11=$("<X>").N(F.M.2l).T(F.2w=$("<X>").N(F.M.2l+"-2w")),$(2o.4H).3T(F.11),1a.1n&&7>1a.1n){F.11.19({1v:"6S"});H i=F.11[0].3z;i.4j("1x","((!!16.23 ? 23(16).4T() : 0) + \'1g\')"),i.4j("1u","((!!16.23 ? 23(16).5I() : 0) + \'1g\')")}F.11.17(),F.11.1y("1W",$.W(G(){H i=F.4i.K;U(i){H t=i.M;U(t.1Q&&!t.1Q.21||"14"==t.Q)P}F.4i.17()},F)),F.11.1y("2f:5z",G(i){i.2n()})},4k:G(i){F.11[0].2l=F.M.2l+" "+F.M.2l+"-"+i},aX:G(i){F.M=i,F.6U()},6U:G(){F.1B()},1h:G(i){F.1B(),F.11.1H(1,0);H t=R.V&&R.V[R.12-1];P F.4l(1,t?t.K.M.1t.16.1h:0,i),F},17:G(i){H t=R.V&&R.V[R.12-1];P F.11.1H(1,0).4U(t?t.K.M.1t.16.17||0:0,"8h",i),F},4l:G(i,t,e){F.11.3S(t||0,i,"8h",e)},8i:G(){H i={};P $.1i(["J","L"],G(t,e){H s=e.5m(0,1).80()+e.5m(1),o=2o.4I;i[e]=(1a.1n?13.1B(o["4S"+s],o["4m"+s]):1a.49?2o.4H["4m"+s]:o["4m"+s])||0}),i},1B:G(){1a.4J&&1a.49&&8j.18>1a.49&&F.11.19(1g(F.8i())),1a.1n&&9>1a.1n&&F.11.19(1g({L:$(16).L(),J:$(16).J()}))}}),$.1e(6r.31,{1A:G(){F.2t={},F.5J=0},24:G(i,t,e){U("4R"==$.Y(i)&&F.2g(i),"G"==$.Y(i)){1Y(e=t,t=i;F.2t["8k"+F.5J];)F.5J++;i="8k"+F.5J}F.2t[i]=16.4V($.W(G(){t&&t(),F.2t[i]=1m,4g F.2t[i]},F),e)},1J:G(i){P F.2t[i]},2g:G(i){i||($.1i(F.2t,$.W(G(i,t){16.4W(t),F.2t[i]=1m,4g F.2t[i]},F)),F.2t={}),F.2t[i]&&(16.4W(F.2t[i]),F.2t[i]=1m,4g F.2t[i])}}),$.1e(6s.31,{1A:G(){F.6V={}},24:G(i,t){F.6V[i]=t},1J:G(i){P F.6V[i]||!1}});H A={4h:"2f",1A:G(){F.3C=[],F.3C.6W=$({}),F.3C.8l=$({}),F.2y=1Z 6s,F.3D=1Z 6r,F.2r(),F.38(),F.4k(F.4h)},2r:G(){U(F.1Q=1Z 6q(F),$(2o.4H).3T(F.11=$("<X>").N("I-16").T(F.2Q=$("<X>").N("I-2Q").17().T(F.2u=$("<X>").N("I-2u").T(F.1G=$("<X>").N("I-2u-1G"))).T(F.1c=$("<X>").N("I-1c")).T(F.1V=$("<X>").N("I-14")))),F.1N=1Z 44(F),1a.1n&&7>1a.1n){H i=F.11[0].3z;i.1v="6S",i.4j("1x","((!!16.23 ? 23(16).4T() : 0) + \'1g\')"),i.4j("1u","((!!16.23 ? 23(16).5I() : 0) + \'1g\')")}U(1a.1n){9>1a.1n&&F.11.N("I-aY");1Y(H t=6;9>=t;t++)t>1a.1n&&F.11.N("I-aZ"+t)}26.14&&F.11.N("I-14-1X"),26.2N&&F.11.N("I-b0-14-1X"),F.11.1b("8m-8n",F.11[0].2l),C.1A(F.11),R.1A(F.11),D.1A(F.11),B.1A(),F.11.17()},4k:G(i,t){t=t||{},i&&(t.3R=i),F.1Q.4k(i);H e=F.11.1b("8m-8n");P F.11[0].2l=e+" I-16-"+i,F},6X:G(i){j.3J[i]&&(F.4h=i)},38:G(){$(2o.4I).3o(".2f[4X]","1W",G(i,t){i.2q(),i.2n();H t=i.b1;R.3E({x:i.33,y:i.34}),5K.1h(t)}),$(2o.4I).1y("1W",G(i){R.3E({x:i.33,y:i.34})}),F.11.3o(".I-Q-2h, .I-2b-2h","1W",$.W(G(i){i.2q()},F)),$(2o.4I).3o(".I-1Q, .I-Q, .I-1j, .I-2Q","1W",$.W(G(i){H t=A.K;U(t){H e=t.M;U(e.1Q&&!e.1Q.21||"14"==e.Q)P}i.2n(),i.2q(),A.17()},F)),F.11.1y("2f:5z",G(i){i.2n()})},1U:G(i,t){H e=$.1e({},1M[2]||{});F.4n(),F.2m=!0;H s=2>i.1o;U($.1i(i,G(i,t){P t.M.1d?2I 0:(s=!0,!1)}),s&&$.1i(i,G(i,t){t.M.1d=!1,t.M.1c=!1}),2>i.1o){H o=i[0].M.3K;o&&"21"!=o&&(i[0].M.3K="21")}F.4o=i,C.1U(i),D.1U(i),R.1U(i),B.1X={5v:!0},t&&F.2F(t,$.W(G(){F.2m&&(F.2m=!1,e.4f&&e.4f())},F))},8o:G(){U(!F.2y.1J("4Y")){H i=$("5L, 6Y, b2"),t=[];i.1i(G(i,e){H s;$(e).2s("6Y, 5L")&&(s=$(e).2z(\'6Z[b3="8p"]\')[0])&&s.8q&&"8r"==s.8q.6w()||$(e).2s("[8p=\'8r\']")||t.2k({11:e,2R:$(e).19("2R")})}),$.1i(t,G(i,t){$(t.11).19({2R:"8s"})}),F.2y.24("4Y",t)}},8t:G(){H i=F.2y.1J("4Y");i&&i.1o>0&&$.1i(i,G(i,t){$(t.11).19({2R:t.2R})}),F.2y.24("4Y",1m)},b4:G(){H i=F.2y.1J("4Y");i&&$.1i(i,$.W(G(i,t){H e;(e=$(t.11).70(".b5-1r")[0])&&e==F.1r[0]&&$(t.11).19({2R:t.2R})},F))},1h:G(){H i=G(){};P G(t){H e=R.V&&R.V[R.12-1],s=F.3C.6W,o=e&&e.K.M.1t.16.17||0;U(F.2y.1J("1E"))P"G"==$.Y(t)&&t(),2I 0;F.2y.24("1E",!0),s.3U([]),F.8o(),e&&"G"==$.Y(e.K.M.8u)&&e.K.M.8u.2j(j);H n=2;s.3U($.W(G(i){e.K.M.1Q&&F.1Q.1h($.W(G(){1>--n&&i()},F)),F.3D.24("1h-16",$.W(G(){F.8v(G(){1>--n&&i()})},F),o>1?13.2e(.5*o,50):1)},F)),i(),s.3U($.W(G(i){B.4p(),i()},F)),"G"==$.Y(t)&&s.3U($.W(G(i){t(),i()}),F)}}(),8v:G(i){R.1L(),F.11.1h(),F.2Q.1H(!0);H t=R.V&&R.V[R.12-1];P F.4l(1,t.K.M.1t.16.1h,$.W(G(){i&&i()},F)),F},17:G(){H i=R.V&&R.V[R.12-1],t=F.3C.6W;t.3U([]),F.71(),F.1N.1H(1m,!0);H e=1;t.3U($.W(G(t){H s=i.K.M.1t.16.17||0;F.2Q.1H(!0,!0).4U(s,"5M",$.W(G(){F.11.17(),R.8w(),1>--e&&(F.72(),t())},F)),i.K.M.1Q&&(e++,F.3D.24("17-1Q",$.W(G(){F.1Q.17($.W(G(){1>--e&&(F.72(),t())},F))},F),s>1?13.2e(.5*s,b6):1))},F))},72:G(){F.2y.24("1E",!1),F.8t(),B.3V();H i=R.V&&R.V[R.12-1];i&&"G"==$.Y(i.K.M.8x)&&i.K.M.8x.2j(j),F.3D.2g(),F.4n()},4n:G(){H i=$.1e({73:!1,74:!1},1M[0]||{});"G"==$.Y(i.74)&&i.74.2j(j),F.71(),F.3D.2g(),F.1v=-1,F.4o=1m,C.2g(),R.8y(),F.b7=!1,F.2m=!1,A.2y.24("4Z",!1),F.4Z&&($(F.4Z).1H().1S(),F.4Z=1m),F.76&&($(F.76).1H().1S(),F.76=1m),"G"==$.Y(i.73)&&i.73.2j(j)},4l:G(i,t,e){F.2Q.1H(!0,!0).3S(t||0,i||1,"77",e)},71:G(){F.3C.8l.3U([]),F.2Q.1H(!0)},2F:G(i,t){i&&F.1v!=i&&(F.3D.2g("4Z"),F.12,F.1v=i,F.K=F.4o[i-1],F.4k(F.K.M&&F.K.M.3R,F.K.M),R.2F(i,t),D.2F(i))}};1a.3y&&3>1a.3y&&$.1i(A,G(i,t){"G"==$.Y(t)&&(A[i]=G(){P F})});H B={1X:!1,51:{1u:37,47:39,5v:27},4p:G(){F.78()},3V:G(){F.1X=!1},1A:G(){F.78(),$(2o).b8($.W(F.8z,F)).b9($.W(F.8A,F)),B.3V()},78:G(){H i=R.V&&R.V[R.12-1];F.1X=i&&i.K.M.5u},8z:G(i){U(F.1X&&A.11.2s(":1E")){H t=F.79(i.51);U(t&&(!t||!F.1X||F.1X[t]))2D(i.2n(),i.2q(),t){1D"1u":R.1P();2O;1D"47":R.1I()}}},8A:G(i){U(F.1X&&A.4o){H t=F.79(i.51);U(t&&(!t||!F.1X||F.1X[t]))2D(t){1D"5v":A.17()}}},79:G(i){1Y(H t 4B F.51)U(F.51[t]==i)P t;P 1m}},R={1A:G(i){i&&(F.11=i,F.12=-1,F.2G=[],F.2S=0,F.2T=[],F.5N=[],F.3C=[],F.3C.3a=$({}),F.2u=F.11.2z(".I-2u:4q"),F.1G=F.11.2z(".I-2u-1G:4q"),F.8B=F.11.2z(".I-8B:4q"),F.5O(5j()),F.52(),F.38())},5O:G(){H i={2X:"3H",3H:"2X"};P G(t){F.2u.N("I-2u-"+t).2A("I-2u-"+i[t])}}(),38:G(){$(16).1y("1L",$.W(G(){A.2y.1J("1E")&&(F.1L(),F.7a())},F)),$(16).1y("8C",$.W(G(){F.5O(5j()),A.2y.1J("1E")&&(F.1L(),F.7a())},F)),F.2u.3o(".I-1l","1W",$.W(G(i){i.2q(),F.3E({x:i.33,y:i.34});H t=$(i.2C).70(".I-1l").1b("1l");F[t]()},F))},ba:G(){3m.1y(F.2u,{3P:$.W(G(){U(!(F.V&&1>=F.V.1o)){H i=4K(F.1G.19("1u"));F.1G.1b("I-8D-1u",i)}},F),1G:$.W(G(i){U(!(F.V&&1>=F.V.1o)){H t=i.x,e=.4*F.22.J;1==F.12&&t>e||F.12==F.V.1o&&-1*e>t||F.1G.19({1u:F.1G.1b("I-8D-1u")+t+"1g"})}},F),4e:$.W(G(i){F.V&&1>=F.V.1o||F["47"==i.89?"1P":"1I"]()},F),4M:$.W(G(i){F.V&&1>=F.V.1o||i.8a||(i.x&&13.4c(i.x)>.5*F.22.J?F[i.x>0?"1P":"1I"]():F.3b(F.12),F.bb=1m)},F),8b:!0,2q:!0,2n:!0})},8y:G(){3m.4d(F.2u)},1U:G(i){F.V&&($.1i(F.V,G(i,t){t.1S()}),F.V=1m,F.7b=!1,F.2T=[],F.5N=[]),F.2S=0,F.1G.8E("3z"),F.V=[],5P=!1,$.1i(i,$.W(G(i,t){5P=5P||"14"==t.M.Q,F.V.2k(1Z 6t(t,i+1))},F)),F[(5P?"1y":"4d")+"3m"](),F.52()},8F:G(i){1a.1n&&9>1a.1n?(F.3E({x:i.33,y:i.34}),F.1v()):F.5Q=4V($.W(G(){F.3E({x:i.33,y:i.34}),F.1v()},F),30)},8G:G(){F.5Q&&(4W(F.5Q),F.5Q=1m)},8H:G(){26.2N||F.53||F.11.1y("5C",F.53=$.W(F.8F,F))},8I:G(){!26.2N&&F.53&&(F.11.4d("5C",F.53),F.53=1m,F.8G())},7a:G(){F.3b(F.12,1m,!0)},3b:G(i,t,e){F.7b||(e=!0,F.7b=!0),F.52();H s=F.V[i-1];U("14"==s.K.M.Q){H o=.5*F.1F.J-.5*F.22.J;o-=(i-1)*F.22.J;H n=e?0:s.K.M.1t.1r.1G,a=4K(F.1G.19("1u")),h=13.4c(a-o);U(F.22.J>h){H r=h/F.22.J;n=13.4r(n*r)}$.1i(F.V,G(i,t){16.5R&&t.3c&&t.54?(t.3c.bc(),t.8J=1m,t.5S(),t.7c()):t.7d&&t.54&&(t.7d.4G("bd"),t.8J=1m,t.5S(),t.7e())}),F.1G.1H().5T({1u:o+"1g"},{7f:e?0:s.K.M.1t.1r.1G,3v:"5M",8K:G(){t&&t()}})}},2F:G(i,t){F.8L(),F.12=i;H e=F.V[i-1],s=e.K.M.Q,o=1;"14"==s?(o++,F.3b(i,G(){"G"==$.Y(e.K.M.5U)&&1>--o&&e.K.M.5U.2j(j,i)})):F.1G.T(e.1j),F.2u.2z(".I-1j").2A("I-1j-4s"),e.1j.N("I-1j-4s"),C.2F(i),e.1U($.W(G(){!e||e&&!e.K||F.1h(i,G(){e&&e.K&&(t&&t(),"G"==$.Y(e.K.M.5U)&&1>--o&&e.K.M.5U.2j(j,i))})},F)),F.8M()},8M:G(){U(F.V&&F.V.1o>1){H i=F.56(),t=i.1P,e=i.1I,s={1P:t!=F.12&&F.V[t-1],1I:e!=F.12&&F.V[e-1]};1==F.12&&(s.1P=1m),F.12==F.V.1o&&(s.1I=1m);H o,n=(o=F.V[F.12-1])&&o.K&&"14"==o.K.M.Q;U(n)1Y(H a=10,h=13.4r(F.12/a)*a+1,r=0;a>r;r++){H d=h+r,u=F.V[d-1],l=u&&u.K;l&&-1>=$.7g(d,F.5N)&&(F.5N.2k(d),d!=F.12&&u.1U(1m,!0))}$.1i(s,$.W(G(t,e){H s=e&&e.K;U(s)U("14"==s.M.Q){e.1U(1m,!0);H o,n;"1P"==t&&(o=i.7h!=F.12&&F.V[i.7h-1])&&o.1U(1m,!0),"1I"==t&&(n=i.7i!=F.12&&F.V[i.7i-1])&&n.1U(1m,!0)}25"1q"==s.Y&&s.M.3L&&1s.3L(s.1w,{6O:!0})},F))}},56:G(){U(!F.V)P{};H i=F.12,t=F.V.1o,e=1>=i?t:i-1,s=i>=t?1:i+1,o=1>=e?t:e-1,n=s>=t?1:s+1;P{7h:o,1P:e,1I:s,7i:n}},8N:G(){H i=R.V&&R.V[R.12-1];P i&&i.K.M.2K&&F.V&&F.V.1o>1||1!=F.12},1P:G(i){H t=F.8N();U(i||t)A.2F(F.56().1P);25{H e;!t&&(e=R.V&&R.V[R.12-1])&&"14"==e.K.M.Q&&F.3b(F.12)}},8O:G(){H i=R.V&&R.V[R.12-1];P i&&i.K.M.2K&&F.V&&F.V.1o>1||F.V&&F.V.1o>1&&1!=F.56().1I},1I:G(i){H t=F.8O();U(i||t)A.2F(F.56().1I);25{H e;!t&&(e=R.V&&R.V[R.12-1])&&"14"==e.K.M.Q&&F.3b(F.12)}},8P:G(i){F.8Q(i)||F.2G.2k(i)},8R:G(i){F.2G=$.8S(F.2G,G(t){P t!=i})},8Q:G(i){P $.7g(i,F.2G)>-1},3E:G(i){i.y-=$(16).4T(),i.x-=$(16).5I();H t={y:13.2e(13.1B(i.y/F.1F.L,0),1),x:13.2e(13.1B(i.x/F.1F.J,0),1)},e=20,s={x:"J",y:"L"},o={};$.1i("x y".3s(" "),$.W(G(i,n){o[n]=13.2e(13.1B(e/F.1F[s[n]],0),1),t[n]*=1+2*o[n],t[n]-=o[n],t[n]=13.2e(13.1B(t[n],0),1)},F)),F.8T(t)},8T:G(i){F.7j=i},1v:G(){1>F.2T.1o||$.1i(F.2T,G(i,t){t.1v()})},1L:G(){1a.1n&&7>1a.1n||C.1L(),F.52(),F.2u.19(1g(F.1F)),$.1i(F.V,G(i,t){t.1L()}),F.V[0]&&"14"==F.V[0].K.M.Q&&($.1i(F.V,G(i,t){t.1j.19({J:R.5V+"1g"})}),F.1G.19({J:R.5V*F.V.1o+"1g"}))},52:G(){H i=x.2H(),t=F.V&&F.V[0].K.M.Q;C.1E()&&(C.2x(),i.L-=C.1K.1c.L),D.1E()&&(D.2x(),i.L-=D.1K.1p.L);H e=$.1e({},i);2D(F.2S=0,t){1D"28":$.1i(F.V,$.W(G(i,t){H e=t.21;F.V.1o>1&&(t.7k&&(e=e.1O(t.7k)),t.4t&&(e=e.1O(t.4t)));H s=0;t.5W(G(){$.1i(e,G(i,t){s=13.1B(s,$(t).2U(!0))})}),F.2S=13.1B(F.2S,s)||0},F)),e.J-=2*(F.2S||0);2O;1D"14":H s=5j();F.V&&F.V[0].1j;H o=F.1G.2p("3z");F.1G.8E("3z");H n,a;$.1i(F.V,$.W(G(t,e){H s=e.1j;U(s.1b("2X"))n=13.4r(i.J*s.1b("2X")),a=13.4r(i.J*s.1b("3H"));25{H o=e.K.M.14.J;s.1b("2X",13.1B(o.2X,.5)).1b("3H",13.1B(o.3H,.5))}},F)),F.5O(s),F.5V="2X"==s?n:a,$.1e(e,{J:F.5V||0}),F.1G.2p("3z",o)}F.1F=i,F.22=e},bf:G(){P{1P:F.12-1>0,1I:F.12+1<=F.V.1o}},1h:G(i,t){H e=[];$.1i(F.V,G(t,s){s.12!=i&&e.2k(s)});H s=e.1o+1,o=F.V[F.12-1];C[o.K.M.1c?"1h":"17"](),D["14"==o.K.M.Q?"1h":"17"](),F.1L();H n=o.K.M.1t.1r.5s;$.1i(e,$.W(G(e,o){o.17($.W(G(){n?t&&1>=s--&&t():2>=s--&&F.V[i-1].1h(t)},F))},F)),n&&F.V[i-1].1h(G(){t&&1>=s--&&t()})},8w:G(){$.1i(F.2G,$.W(G(i,t){F.V[t-1].17()},F)),C.17(),F.3E({x:0,y:0})},bg:G(i){$.1i(F.V,$.W(G(t,e){e.1v!=i&&e.17()},F))},8U:G(i){F.8V(i)||(F.2T.2k(F.V[i-1]),1==F.2T.1o&&F.8H())},bh:G(){F.2T=[]},7l:G(i){F.2T=$.8S(F.2T,G(t){P t.12!=i}),1>F.2T.1o&&F.8I()},8V:G(i){H t=!1;P $.1i(F.2T,G(e,s){P s.12==i?(t=!0,!1):2I 0}),t},2M:G(){H i=F.1F;P A.bi&&(i.J-=bj),i},8L:G(){$.1i(F.V,$.W(G(i,t){t.7m()},F))}};$.1e(6t.31,{1A:G(i,t){F.K=i,F.12=t,F.1F={},F.2r()},1S:G(){F.5X(),F.57&&(R.7l(F.12),F.57=!1),F.4n(),F.1j.1S(),F.1j=1m,F.Q&&(F.Q.1S(),F.Q=1m),F.K=1m,F.1F={},F.7m()},2r:G(){H i=F.K.M.Q,t=A.4o.1o;U(R.1G.T(F.1j=$("<X>").N("I-1j").T(F.2b=$("<X>").N("I-2b").N("I-2b-3d-Q-"+i))),F.2b.T(F.4u=$("<X>").N("I-2b-2h").T(F.7n=$("<X>").N("I-2b-3e").T(F.5Y=$("<X>").N("I-2b-8W-3l").T(F.3f=$("<X>").N("I-2b-1p"))))),"1q"==F.K.Y&&(F.3p=$("<X>").N("I-7o-1q")),"14"==i)F.1j.N("I-1j-14").1h(),"1q"==F.K.Y&&"21"==F.K.M.3K&&(F.1j.N("I-1j-3g-21"),F.3f.1y("1W",G(i){i.2n(),i.2q(),A.17()}));25{F.1j.1h();H e=F.K.M.3K;U("1q"==F.K.Y&&("1I"==e&&(F.K.M.2K||!F.K.M.2K&&F.12!=A.4o.1o)||"21"==e)&&F.1j.N("I-1j-3g-"+e.6w()),"28"==i?F.1j.3T(F.Q=$("<X>").N("I-Q I-Q-28")):F.1j.T(F.Q=$("<X>").N("I-Q I-Q-2V")),F.4u.1y("1W",$.W(G(i){i.2C==F.4u[0]&&F.K.M.1Q&&F.K.M.1Q.21&&A.17()},F)),"28"==F.K.M.Q?F.Q.T(F.2i=$("<X>").N("I-Q-1p-28")):(F.Q.T(F.7p=$("<X>").N("I-Q-2h").T(F.5Z=$("<X>").N("I-Q-3e").T(F.7q=$("<X>").N("I-Q-8W-3l").T(F.8X=$("<X>").N("I-Q-bk").T(F.2i=$("<X>").N("I-Q-1p")))))),F.3p&&F.2i.T(F.3p.60())),t>1&&(F.2i.T(F.3W=$("<X>").N("I-1l I-1l-1I").T(F.4t=$("<X>").N("I-1l-1T").T($("<X>").N("I-1l-1T-2E"))).1b("1l","1I")),F.12!=t||F.K.M.2K||(F.3W.N("I-1l-58"),F.4t.N("I-1l-1T-58")),F.2i.T(F.3X=$("<X>").N("I-1l I-1l-1P").T(F.61=$("<X>").N("I-1l-1T").T($("<X>").N("I-1l-1T-2E"))).1b("1l","1P")),1!=F.12||F.K.M.2K||(F.3X.N("I-1l-58"),F.61.N("I-1l-1T-58"))),F.3p&&"2V"==F.K.M.Q&&F.2i.2z(".I-1l").3T(F.3p.60()),F.1j.N("I-2W-1k"),(F.K.1k||"2V"==F.K.M.Q&&!F.K.1k)&&(F["2V"==F.K.M.Q?"2i":"1j"].T(F.1z=$("<X>").N("I-1z I-1z-"+F.K.M.Q).T(F.bl=$("<X>").N("I-1z-2w")).T(F.62=$("<X>").N("I-1z-3e"))),F.1z.1y("1W",G(i){i.2q()})),F.K.1k&&(F.1j.2A("I-2W-1k").N("I-3d-1k"),F.62.T(F.1k=$("<X>").N("I-1k").63(F.K.1k))),t>1&&F.K.M.1v){H s=F.12+" / "+t;F.1j.N("I-3d-1v");H i=F.K.M.Q;F["2V"==i?"62":"2i"]["2V"==i?"3T":"T"](F.7k=$("<X>").N("I-1v").T($("<X>").N("I-1v-2w")).T($("<3Y>").N("I-1v-bm").63(s)))}F.2i.T(F.21=$("<X>").N("I-21").1y("1W",G(){A.17()}).T($("<3Y>").N("I-21-2w")).T($("<3Y>").N("I-21-2E"))),"1q"==F.K.Y&&"21"==F.K.M.3K&&F["28"==F.K.M.Q?"3f":"5Z"].1y("1W",G(i){i.2n(),i.2q(),A.17()}),F.1j.17()}},7r:G(i){U(!F.K.1k)P 0;"28"==F.K.M.Q&&(i=13.2e(i,R.22.J));H t,e=F.1z.19("J");P F.1z.19({J:i+"1g"}),t=4K(F.1z.19("L")),F.1z.19({J:e}),t},5W:G(i,t){H e=[],s=A.11.1O(A.2Q).1O(F.1j).1O(F.Q);t&&(s=s.1O(t)),$.1i(s,G(i,t){e.2k({1E:$(t).2s(":1E"),11:$(t).1h()})}),i(),$.1i(e,G(i,t){t.1E||t.11.17()})},3Z:G(){F.2x();H i=F.1F.1B,t=F.K.M.Q,e=F.7s,s=F.8Y,o=F.64,n=3w.3x(i,{2v:e,Q:t,3l:o}),a=$.1e({},n);U(o&&(a=3w.3x(a,{2M:n,Q:t}),n.J+=2*o,n.L+=2*o),s.48||s.3u){H h=$.1e({},R.22);o&&(h.J-=2*o,h.L-=2*o),h={J:13.1B(h.J-2*s.48,0),L:13.1B(h.L-2*s.3u,0)},a=3w.3x(a,{2v:e,2M:h,Q:t})}H r={1k:!0},d=!1;U("28"==t){H s={L:n.L-a.L,J:n.J-a.J},u=$.1e({},a);F.1k&&F.1j.40("I-2W-1k");H l;U(F.1k){l=F.1k,F.1z.2A("I-2W-1k");H p=F.1j.40("I-2W-1k");F.1j.2A("I-2W-1k");H c=F.1j.40("I-3d-1k");F.1j.N("I-3d-1k")}A.11.19({2R:"1E"}),F.5W($.W(G(){1Y(H i=0,n=2;n>i;){r.L=F.7r(a.J);H h=.5*(R.22.L-2*o-(s.3u?2*s.3u:0)-a.L);r.L>h&&(a=3w.3x(a,{2M:$.1e({},{J:a.J,L:13.1B(a.L-r.L,0)}),2v:e,Q:t})),i++}r.L=F.7r(a.J);H d=x.2H();(65>=d.L&&66>=d.J||65>=d.J&&66>=d.L||r.L>=.5*a.L||r.L>=.6*a.J)&&(r.1k=!1,r.L=0,a=u)},F),l),A.11.19({2R:"1E"}),p&&F.1j.N("I-2W-1k"),c&&F.1j.N("I-3d-1k");H f={L:n.L-a.L,J:n.J-a.J};n.L+=s.L-f.L,n.J+=s.J-f.J,a.L!=u.L&&(d=!0)}25 r.L=0;H m={J:a.J+2*o,L:a.L+2*o};r.L&&(n.L+=r.L),"2V"==t&&(r.L=0);H v={2h:{1f:n},3e:{1f:m},1p:{1f:a,2M:m,2a:{1x:.5*(n.L-m.L)-.5*r.L,1u:.5*(n.J-m.J)}},1r:{1f:a},1z:r};"28"==t&&(v.1z.1x=v.1p.2a.1x,r.J=13.2e(a.J,R.22.J));H h=$.1e({},R.22);P"28"==t&&(v.2b={1f:{J:R.22.J},1v:{1u:.5*(R.1F.J-R.22.J)}}),v.Q={2h:{1f:{J:13.2e(n.J,h.J),L:13.2e(n.L,h.L)}},3e:{1f:m},1p:{1f:{J:13.2e(v.1p.1f.J,h.J-2*o),L:13.2e(v.1p.1f.L,h.L-2*o)},2a:{1x:v.1p.2a.1x+o,1u:v.1p.2a.1u+o}}},v},2x:G(){H i=$.1e({},F.1F.1B),t=4L(F.5Y.19("3l-1x-J"));F.64=t,t&&(i.J-=2*t,i.L-=2*t);H e=F.K.M.2v;"bn"==e?e=i.J>i.L?"L":i.L>i.J?"J":"4F":e||(e="4F"),F.7s=e;H s=F.K.M.7L[F.7s];F.8Y=s},7t:G(){F.59&&(4W(F.59),F.59=1m)},7m:G(){F.59&&F.2m&&!F.3F&&(F.7t(),F.2m=!1)},1U:G(i,t){P F.3F||F.2m?(F.3F&&F.67(i),2I 0):(t||1s.1C.1J(F.K.1w)||1s.3B.8f(F.K.1w)||A.1N.3P(),F.2m=!0,F.59=4V($.W(G(){2D(F.7t(),F.K.Y){1D"1q":1s.1J(F.K.1w,$.W(G(e,s){U(F.K){F.1F.8Z=e,F.1F.1B=e,F.3F=!0,F.2m=!1,F.2x();H o=F.3Z();F.1F.2h=o.2h.1f,F.1F.1r=o.1r.1f,F.1r=$("<5H>").2p({3j:F.K.1w}),F.3f.T(F.1r.N("I-1r I-1r-1q"));H n;F.3f.T(n=$("<X>").N("I-1r-1q-1Q")),F.3p&&n.T(F.3p.60());H a;"28"==F.K.M.Q&&((a=F.K.M.3K)&&"1I"==a||"1P-1I"==a)&&(F.K.M.2K||F.12==R.V.1o||F.3f.T($("<X>").N("I-3g-1l I-3g-1I").1b("1l","1I")),"1P-1I"!=a||F.K.M.2K||1==F.12||F.3f.T($("<X>").N("I-3g-1l I-3g-1P").1b("1l","1P")),F.3p&&F.3f.2z(".I-3g-1l").1i($.W(G(i,t){H e=$(t).1b("1l");$(t).3T(F.3p.60().1b("1l",e))},F)),F.1j.3o(".I-3g-1l","1W",G(i){H t=$(i.2C).1b("1l");R[t]()}),F.1j.3o(".I-3g-1l","90",$.W(G(i){H t=$(i.2C).1b("1l"),e=t&&F["2L"+t+"68"];e&&F["2L"+t+"68"].N("I-1l-1T-4s")},F)).3o(".I-3g-1l","91",$.W(G(i){H t=$(i.2C).1b("1l"),e=t&&F["2L"+t+"68"];e&&F["2L"+t+"68"].2A("I-1l-1T-4s")},F))),F.1j.2z(".I-7o-1q").1i($.W(G(i,t){H e=$("<5H>").N("I-7o-1q").2p({3j:F.K.1w}).19({bo:0}),o=$(t).1b("1l");26.2N||e.1O(F.1r).1y("bp",$.W(G(i){U("14"==F.K.M.Q)P i.2n(),2I 0;H t=i.3k,e=t.bq||{};U(s.3A&&e.92){H o=t.33||0,n=t.34||0,a=F.1r.4S();o=13.3N(o-a.1u),n=13.3N(n-a.1x),1>s.4N&&(o*=s.4N,n*=s.4N),e.92(s.3A,o,n)}25 e.93?e.93(F.1r[0]):i.2n()},F)),o&&e.1b("1l",o),$(t).br(e)},F)),F.67(i,t)}},F));2O;1D"29":H e={J:F.K.M.J,L:F.K.M.L};F.K.M.29&&F.K.M.29.6B&&(F.K.3h.94=e.J>bs?"bt":"bu"),F.7u(e,i);2O;1D"1R":H e={J:F.K.M.J,L:F.K.M.L};1s.1J(F.K.1w,$.W(G(t){U(F.K){H s=e.J,o=e.L,n=t.J,a=t.L,h=!1;(h=s&&!o||o&&!s)||s&&o?(h&&(s&&!o?e.L=s*a/n:e.J=o*n/a),e=3w.3x(t,{2M:e})):e=t,F.7u(e,i)}},F))}},F),10),2I 0)},7u:G(i,t){F.1F.8Z=i,F.1F.1B=i,F.3F=!0,F.2m=!1,F.2x();H e=F.3Z();F.1F.2h=e.2h.1f,F.1F.1r=e.1r.1f,F.3f.T(F.1r=$("<X>").N("I-1r I-1r-"+F.K.Y)),"14"!=F.K.M.Q||"29"!=F.K.Y&&"1R"!=F.K.Y||(F.1L(),("29"==F.K.Y&&16.5R||"1R"==F.K.Y&&26.6G)&&F.1h()),F.67(t)},67:G(i){H t=F.K.M.Q;F.1L(),"2V"==t&&F.7q.1y("90",$.W(F.5a,F)).1y("91",$.W(F.69,F)),F.Q&&(26.2N?F.2b.1y("1W",$.W(G(){F.2i.2s(":1E")||F.5a(),F.5b()},F)):F.Q.3o(".I-Q-3e","5C",$.W(G(){F.2i.2s(":1E")||F.5a(),F.5b()},F)));H e;R.V&&(e=R.V[R.12-1])&&(e.K.1w==F.K.1w||"14"==e.K.M.Q)&&A.1N.1H(),i&&i()},1L:G(){U(F.1r){H i=F.3Z(),t=F.K.M.Q;F.1F.2h=i.2h.1f,F.1F.1r=i.1r.1f,F.4u.19(1g(i.2h.1f)),"2V"==t&&F.7p.19(1g(i.Q.2h.1f)),F.3f.1O(F.5Y).19(1g(i.1p.1f));H e=0;2D("28"==F.K.M.Q&&i.1z.1k&&(e=i.1z.L),F.5Y.19({"7v-95":e+"1g"}),F.7n.19(1g({J:i.3e.1f.J,L:i.3e.1f.L+e})),i.2h.1f.J>("28"==F.K.M.Q?i.2b.1f.J:x.2H().J)?F.2b.N("I-96-4e"):F.2b.2A("I-96-4e"),t){1D"28":F.1k&&F.1z.19(1g({J:i.1z.J}));2O;1D"2V":F.2i.1O(F.7q).1O(F.8X).19(1g(i.Q.1p.1f)),F.5Z.19(1g(i.Q.3e.1f));H s=0;U(F.1k){H o=F.1j.40("I-2W-1k"),n=F.1j.40("I-3d-1k");F.1j.2A("I-2W-1k"),F.1j.N("I-3d-1k");H s=0;F.5W($.W(G(){s=F.1z.bv()},F),F.2i.1O(F.1k));H a=x.2H();(s>=.45*i.1p.1f.L||65>=a.L&&66>=a.J||65>=a.J&&66>=a.L)&&(i.1z.1k=!1),o&&F.1j.N("I-2W-1k"),n||F.1j.2A("I-3d-1k")}}U(F.1k){H h=i.1z.1k;F.1k[h?"1h":"17"](),F.1j[(h?"1S":"1O")+"4v"]("I-2W-1k"),F.1j[(h?"1O":"1S")+"4v"]("I-3d-1k")}F.7n.1O(F.5Z).19(1g(i.1p.2a));H r=R.22,d=F.1F.2h;U(F.6a={y:d.L-r.L,x:d.J-r.J},F.57=F.6a.x>0||F.6a.y>0,R[(F.57?"24":"1S")+"bw"](F.12),1a.1n&&8>1a.1n&&"1q"==F.K.Y&&F.1r.19(1g(i.1p.1f)),/^(1R|29)$/.6k(F.K.Y)){H u=i.1p.1f;F.3c?F.3c.bx(u.J,u.L):F.3q&&F.3q.2p(u)}}F.1v()},1v:G(){U(F.1r){H i=R.7j,t=R.22,e=F.1F.2h,s={1x:0,1u:0},o=F.6a;s.1x=o.y>0?0-i.y*o.y:.5*t.L-.5*e.L,s.1u=o.x>0?0-i.x*o.x:.5*t.J-.5*e.J,26.2N&&(o.y>0&&(s.1x=0),o.x>0&&(s.1u=0),F.4u.19({1v:"by"})),F.bz=s,F.4u.19({1x:s.1x+"1g",1u:s.1u+"1g"});H n=$.1e({},s);0>n.1x&&(n.1x=0),0>n.1u&&(n.1u=0);H a=F.K.M.Q;2D(a){1D"28":H h=F.3Z();U(F.2b.19(1g(h.2b.1f)).19(1g(h.2b.1v)),F.K.1k){H r=s.1x+h.1p.2a.1x+h.1p.1f.L+F.64;r>R.22.L-h.1z.L&&(r=R.22.L-h.1z.L);H d=R.2S+s.1u+h.1p.2a.1u+F.64;R.2S>d&&(d=R.2S),d+h.1z.J>R.2S+h.2b.1f.J&&(d=R.2S),F.1z.19({1x:r+"1g",1u:d+"1g"})}2O;1D"2V":F.7p.19({1u:n.1u+"1g",1x:n.1x+"1g"})}}},bA:G(i){F.1f=i},7c:G(){H i=1a.1n&&8>1a.1n,t=F.3Z(),e=t.1p.1f,s=$.1e({},F.K.M.29||{}),o="4O"+(16.2P&&"4P:"==16.2P.4Q?"s":"")+":";U("14"==F.K.M.Q&&(s.5w=0),16.5R){H n;F.1r.T(F.5c=$("<X>").T(n=$("<X>")[0])),F.3c=1Z 5R.bB(n,{L:e.L,J:e.J,bC:F.K.3h.3n,bD:s,bE:i?{}:{bF:$.W(G(i){U(F.K.M.29.6B)5o{i.2C.bG(F.K.3h.94)}5p(t){}F.1L()},F),bH:$.W(G(i){i.1b>-1&&(F.54=!0)},F)}})}25{H a=$.6Z(s);F.1r.T(F.3q=$("<98 99 9a 9b>").2p({3j:o+"//bI.29.35/5L/"+F.K.3h.3n+"?"+a,L:e.L,J:e.J,9c:0}))}},7e:G(){H i=F.3Z(),t=i.1p.1f,e=$.1e({},F.K.M.1R||{});"14"==F.K.M.Q&&(e.5w=0);H s="4O"+(16.2P&&"4P:"==16.2P.4Q?"s":"")+":",o=q()+"1R";e.bJ=o,e.4G=1;H n=$.6Z(e);F.1r.T(F.3q=$("<98 99 9a 9b>").2p({3j:s+"//3c.1R.35/bK/"+F.K.3h.3n+"?"+n,3n:o,L:t.L,J:t.J,9c:0})),16.bL&&$f(F.3q[0]).9d("9e",$.W(G(i){F.7d=$f(i).9d("bM",$.W(G(){F.54=!0},F))},F))},9f:G(){2D(F.K.Y){1D"29":F.7c();2O;1D"1R":F.7e()}},1h:G(i){U("14"==F.K.M.Q){U(F.9g)P i&&i(),2I 0;F.9g=!0}F.9f(),R.8P(F.12),F.1j.1H(1,0),F.Q&&(F.Q.1H(1,0),F.5a(1m,!0)),F.57&&R.8U(F.12),F.4l(1,13.1B(F.K.M.1t.1r.1h,1a.1n&&9>1a.1n?0:10),$.W(G(){i&&i()},F))},9h:G(){F.K&&F.1r&&"14"!=F.K.M.Q&&F.5S()},5S:G(){U(F.54=!1,F.3q&&(F.3q.1S(),F.3q=1m),F.3c){5o{F.3c.bN()}5p(i){}F.3c=1m}F.5c&&(F.5c.1S(),F.5c=1m),("29"==F.K.Y||"1R"==F.K.Y)&&(F.1r.63(""),F.5c=1m,F.3c=1m,F.3q=1m)},4n:G(i){R.7l(F.12),R.8R(F.12),F.9h(i)},17:G(i){U("14"==F.K.M.Q)P i&&i(),2I 0;H t=13.1B(F.K.M.1t.1r.17||0,1a.1n&&9>1a.1n?0:10),e=F.K.M.1t.1r.5s?"bO":"77";F.1j.1H(1,0).4U(t,e,$.W(G(){F.4n(),i&&i()},F))},4l:G(i,t,e){H s=F.K.M.1t.1r.5s?"bP":"5M";F.1j.1H(1,0).3S(t||0,i,s,e)},5a:G(i,t){F.Q&&(t?(F.2i.1h(),F.5b(),"G"==$.Y(i)&&i()):F.2i.1H(1,0).3S(t?0:F.K.M.1t.Q.1h,1,"5M",$.W(G(){F.5b(),"G"==$.Y(i)&&i()},F)))},69:G(i,t){F.Q&&"28"!=F.K.M.Q&&(t?(F.2i.17(),"G"==$.Y(i)&&i()):F.2i.1H(1,0).4U(t?0:F.K.M.1t.Q.17,"77",G(){"G"==$.Y(i)&&i()}))},5X:G(){F.5d&&(4W(F.5d),F.5d=1m)},5b:G(){F.5X(),F.5d=4V($.W(G(){F.69()},F),F.K.M.1t.Q.2J)},bQ:G(){F.5X(),F.5d=4V($.W(G(){F.69()},F),F.K.M.1t.Q.2J)}}),$.1e(46.31,{1A:G(a){H b=1M[1]||{},d={};U("4R"==$.Y(a))a={1w:a};25 U(a&&1==a.7P){H c=$(a);a={11:c[0],1w:c.2p("4X"),1k:c.1b("2f-1k"),4w:c.1b("2f-4w"),5e:c.1b("2f-5e"),Y:c.1b("2f-Y"),M:c.1b("2f-M")&&7w("({"+c.1b("2f-M")+"})")||{}}}U(a&&(a.5e||(a.5e=5r(a.1w)),!a.Y)){H d=4D(a.1w);a.3h=d,a.Y=d.Y}P a.3h||(a.3h=4D(a.1w)),a.M=a&&a.M?$.1e(!0,$.1e({},b),$.1e({},a.M)):$.1e({},b),a.M=z.6R(a.M,a.Y,a.3h),$.1e(F,a),F}});H C={1A:G(i){F.11=i,F.2c=[],F.1K={1d:{L:0,2U:0},1c:{L:0}},F.1c=F.11.2z(".I-1c:4q"),F.2r(),F.17(),F.38()},2r:G(){F.1c.T(F.1p=$("<X>").N("I-1c-1p").T(F.5f=$("<X>").N("I-1c-5f").T(F.3X=$("<X>").N("I-1c-1l I-1c-1l-1P").T(F.61=$("<X>").N("I-1c-1l-1T").T($("<X>").N("I-1c-1l-1T-2w")).T($("<X>").N("I-1c-1l-1T-2E")))).T(F.41=$("<X>").N("I-1c-bR").T(F.2Y=$("<X>").N("I-1c-2Y"))).T(F.3W=$("<X>").N("I-1c-1l I-1c-1l-1I").T(F.4t=$("<X>").N("I-1c-1l-1T").T($("<X>").N("I-1c-1l-1T-2w")).T($("<X>").N("I-1c-1l-1T-2E")))))),F.1L()},38:G(){F.5f.3o(".I-1d","1W",$.W(G(i){i.2q();H t=$(i.2C).70(".I-1d")[0],e=-1;F.5f.2z(".I-1d").1i(G(i,s){s==t&&(e=i+1)}),e&&(F.7x(e),A.2F(e))},F)),F.5f.1y("1W",G(i){i.2q()}),F.3X.1y("1W",$.W(F.9i,F)),F.3W.1y("1W",$.W(F.9j,F))},1U:G(i){F.2g(),F.2c=[],2>i.1o||($.1i(i,$.W(G(i,t){F.2c.2k(1Z 6u(F.2Y,t,i+1))},F)),1a.1n&&7>1a.1n||F.1L())},2g:G(){$.1i(F.2c,G(i,t){t.1S()}),F.2c=[],F.12=-1,F.3i=-1},2x:G(){H i=A.11,t=A.2Q,e=F.1K,s=i.2s(":1E");s||i.1h();H o=t.2s(":1E");o||t.1h();H n=F.1c.3M()-(4L(F.1c.19("7v-1x"))||0)-(4L(F.1c.19("7v-95"))||0);e.1d.L=n;H a=F.2Y.2z(".I-1d:4q"),h=!!a[0],r=0;h||F.41.T(a=$("<X>").N("I-1d").T($("<X>").N("I-1d-1p"))),r=4L(a.19("2a-1u")),h||a.1S(),e.1d.2U=n+2*r,e.1c.L=F.1c.3M(),e.3a={1P:F.3X.2U(!0),1I:F.3W.2U(!0)};H d=x.2H().J,u=e.1d.2U,l=F.2c.1o;e.3a.1X=l*u/d>1;H p=d,c=e.3a.1P+e.3a.1I;e.3a.1X&&(p-=c),p=13.4r(p/u)*u;H f=l*u;p>f&&(p=f);H m=p+(e.3a.1X?c:0);e.3G=p/u,F.5g="6b",1>=e.3G&&(p=d,m=d,e.3a.1X=!1,F.5g="6T"),e.7y=13.5h(l*u/p),e.1c.J=p,e.1p={J:m},o||t.17(),s||i.17()},3V:G(){F.4x=!0},4p:G(){F.4x=!1},1X:G(){P!F.4x},1h:G(){2>F.2c.1o||(F.4p(),F.1c.1h(),F.2G=!0)},17:G(){F.3V(),F.1c.17(),F.2G=!1},1E:G(){P!!F.2G},1L:G(){F.2x();H i=F.1K;$.1i(F.2c,G(i,t){t.1L()}),F.3X[i.3a.1X?"1h":"17"](),F.3W[i.3a.1X?"1h":"17"]();H t=i.1c.J;1a.1n&&9>1a.1n&&(A.3D.2g("9k-9l-1c"),A.3D.24("9k-9l-1c",$.W(G(){F.2x();H t=i.1c.J;F.41.19({J:t+"1g"}),F.2Y.19({J:F.2c.1o*i.1d.2U+1+"1g"})},F),bS)),F.41.19({J:t+"1g"}),F.2Y.19({J:F.2c.1o*i.1d.2U+1+"1g"});H e=i.1p.J+1;U(F.1p.19({J:e+"1g","2a-1u":-.5*e+"1g"}),F.3X.1O(F.3W).19({L:i.1d.L+"1g"}),F.12&&F.3b(F.12,!0),1a.1n&&9>1a.1n){H s=A.11,o=A.2Q,n=s.2s(":1E");n||s.1h();H a=o.2s(":1E");a||o.1h(),F.41.L("6j%"),F.41.19({L:F.41.3M()+"1g"}),F.1c.2z(".I-1d-1Q-3l").17(),a||o.17(),n||s.17()}},7z:G(i){U(!(1>i||i>F.1K.7y||i==F.3i)){H t=F.1K.3G*(i-1)+1;F.3b(t)}},9i:G(){F.7z(F.3i-1)},9j:G(){F.7z(F.3i+1)},bT:G(){H i=x.2H();P i},2F:G(i){U(!(1a.1n&&7>1a.1n)){H t=0>F.12;1>i&&(i=1);H e=F.2c.1o;i>e&&(i=e),F.12=i,F.7x(i),("6b"!=F.5g||F.3i!=13.5h(i/F.1K.3G))&&F.3b(i,t)}},3b:G(i,t){F.2x();H e,s=x.2H().J,o=.5*s,n=F.1K.1d.2U;U("6b"==F.5g){H a=13.5h(i/F.1K.3G);F.3i=a,e=-1*n*(F.3i-1)*F.1K.3G;H h="I-1c-1l-1T-58";F.61[(2>a?"1O":"1S")+"4v"](h),F.4t[(a>=F.1K.7y?"1O":"1S")+"4v"](h)}25 e=o+-1*(n*(i-1)+.5*n);H r=R.V&&R.V[R.12-1];F.2Y.1H(1,0).5T({1u:e+"1g"},t?0:r?r.K.M.1t.1c.2Y:0,$.W(G(){F.9m()},F))},9m:G(){H i,t;U(F.12&&F.1K.1d.2U&&!(1>F.2c.1o)){U("6b"==F.5g){U(1>F.3i)P;i=(F.3i-1)*F.1K.3G+1,t=13.2e(i-1+F.1K.3G,F.2c.1o)}25{H e=13.5h(x.2H().J/F.1K.1d.2U);i=13.1B(13.4r(13.1B(F.12-.5*e,0)),1),t=13.5h(13.2e(F.12+.5*e)),t>F.2c.1o&&(t=F.2c.1o)}1Y(H s=i;t>=s;s++)F.2c[s-1].1U()}},7x:G(i){$.1i(F.2c,G(i,t){t.9n()});H t=i&&F.2c[i-1];t&&t.9o()},bU:G(){F.12&&F.2F(F.12)}};$.1e(6u.31,{1A:G(i,t,e){F.11=i,F.K=t,F.bV={},F.12=e,F.2r()},2r:G(){H i=F.K.M;F.11.T(F.1d=$("<X>").N("I-1d").T(F.9p=$("<X>").N("I-1d-1p"))),"1q"==F.K.Y&&F.1d.N("I-1U-1d").1b("1d",{K:F.K,3j:i.1d||F.K.1w});H t=i.1d&&i.1d.2E;t&&F.1d.T($("<X>").N("I-1d-2E I-1d-2E-"+t));H e;F.1d.T(e=$("<X>").N("I-1d-1Q").T($("<X>").N("I-1d-1Q-2w")).T(F.1N=$("<X>").N("I-1d-1N").T($("<X>").N("I-1d-1N-2w")).T($("<X>").N("I-1d-1N-2E"))).T($("<X>").N("I-1d-1Q-3l"))),F.1d.T($("<X>").N("I-1d-bW"))},1S:G(){F.1d.1S(),F.1d=1m,F.bX=1m,F.2m=!1},1U:G(){U(!F.3F&&!F.2m&&C.1E()){F.2m=!0;H i=F.K.M.1d,t=i&&"6P"==$.Y(i)?F.K.1w:i||F.K.1w;U(F.4y=t,t)U("1R"==F.K.Y)U(t==i)1s.3L(F.4y,{Y:"1q"},$.W(F.6c,F));25{H e="4O"+(16.2P&&"4P:"==16.2P.4Q?"s":"")+":";$.8c(e+"//1R.35/4G/8d.8e?1w="+e+"//1R.35/"+F.K.3h.3n+"&4f=?",$.W(G(i){i&&i.9q?(F.4y=i.9q,1s.3L(F.4y,{Y:"1q"},$.W(F.6c,F))):(F.3F=!0,F.2m=!1,F.1N.1H(1,0).2J(F.K.M.1t.1c.2J).3S(F.K.M.1t.1c.1U,0))},F))}25 1s.3L(F.4y,{Y:"1q"},$.W(F.6c,F))}},6c:G(i){F.1d&&F.2m&&(F.3F=!0,F.2m=!1,F.1F=i,F.1q=$("<5H>").2p({3j:F.4y}),F.9p.3T(F.1q),F.1L(),F.1N.1H(1,0).2J(F.K.M.1t.1c.2J).3S(F.K.M.1t.1c.1U,0))},1L:G(){H i=C.1K.1d.L;U(F.1d.19({J:i+"1g",L:i+"1g"}),F.1q){H t,e={J:i,L:i},s=13.1B(e.J,e.L),o=$.1e({},F.1F);U(o.J>e.J&&o.L>e.L){t=3w.3x(o,{2M:e});H n=1,a=1;t.J<e.J&&(n=e.J/t.J),t.L<e.L&&(a=e.L/t.L);H h=13.1B(n,a);h>1&&(t.J*=h,t.L*=h),$.1i("J L".3s(" "),G(i,e){t[e]=13.3N(t[e])})}25 t=3w.3x(o.J<e.J||o.L<e.L?{J:s,L:s}:e,{2M:F.1F});H r=13.3N(.5*e.J-.5*t.J),d=13.3N(.5*e.L-.5*t.L);F.1q.19(1g(t)).19(1g({1x:d,1u:r}))}},9o:G(){F.1d.N("I-1d-4s")},9n:G(){F.1d.2A("I-1d-4s")}});H D={1A:G(i){F.11=i,F.6d=[],F.6e=!1,F.1K={1p:{}},F.1V=F.11.2z(".I-14:4q"),F.2r(),F.17(),F.38()},2r:G(){F.1V.T(F.1p=$("<X>").N("I-14-1p").T(F.bY=$("<X>").N("I-14-2w")).T(F.1z=$("<X>").N("I-14-1z").T(F.62=$("<X>").N("I-14-1z-3e").T(F.bZ=$("<X>").N("I-14-1k-1p").T(F.1k=$("<X>").N("I-14-1k"))))).T(F.21=$("<X>").N("I-14-1T I-14-21").T($("<3Y>").N("I-14-1T-2w")).T($("<3Y>").N("I-14-1T-2E"))).T(F.4z=$("<X>").N("I-14-1T I-14-4z").T($("<3Y>").N("I-14-1T-2w")).T($("<3Y>").N("I-14-1T-2E"))))},38:G(){F.21.1y("1W",G(){A.17()}),$(16).1y("1L 8C",$.W(G(){A.2y.1J("1E")&&F.1L()},F)),F.4z.1y("1W",$.W(G(){F[F.6e?"6f":"9r"]()},F)),F.1V.1y("4b",$.W(G(i){F.6g||i.2n()},F))},1h:G(){F.4p(),F.1V.1h(),F.2G=!0},17:G(){F.3V(),F.1V.17(),F.2G=!1},1E:G(){P!!F.2G},2x:G(){H i=A.11,t=A.2Q,e=F.1K;F.1V.19({2R:"8s"});H s=F.4z.1O(F.21);$.1i(s,$.W(G(i,t){H e=$(t);e.1b("9s-2a-1x",e.19("2a-1x")),e.19({"2a-1x":0})},F));H o=i.2s(":1E");o||i.1h();H n=t.2s(":1E");n||t.1h();H a=F.9t();a&&F.3r(!1);H h=F.1V.3M();a&&F.3r(!0),e.1p.L=h,a||F.3r(!0);H r=F.1V.3M(),d=r>h;e.42=d,a&&F.3r(!0),d&&(F.3r(!0),r=F.1V.3M()),e.1p.7A=r,F.3r(a),$.1i(s,$.W(G(i,t){H e=$(t);e.19({"2a-1x":e.1b("9s-2a-1x")})},F)),F.1V.19({2R:"1E"}),n||t.17(),o||i.17()},c0:G(){P F.1V.40("I-14-9u")},7B:G(i){F.1V[(i?"1O":"1S")+"4v"]("I-14-9u")},9t:G(){P F.1V.40("I-14-42")},3r:G(i){F.1V[(i?"1O":"1S")+"4v"]("I-14-42")},3V:G(){F.4x=!0},4p:G(){F.4x=!1},1X:G(){P!F.4x},1U:G(i){F.2g(),$.1i(i,$.W(G(i,t){F.6d.2k(t)},F))},2g:G(){F.6d=[],F.K=1m,F.12=-1,F.3i=-1},2F:G(i){U(i!=F.12){H t=F.6d[i-1];U("14"==t.M.Q){F.K=t;H e=t.1k||"";F.1k.63(e),F.1L(),F.6f(!0)}}},1L:G(){F.6f(!0),F.2x()},9r:G(i){F.3r(!0),F.7B(!0),F.6e=!0,F.4z.N("I-14-9v");H t=x.2H(),e=-1*13.2e(t.L,F.1K.1p.7A||0);F.1K.1p.7A>t.L?(F.1z.19({L:t.L+"1g"}).N("I-14-42-4m"),F.6g=!0):(F.1z.19({L:"9w"}).2A("I-14-42-4m"),F.6g=!1),F.1V.1H(1,0).5T({"2a-1x":e+"1g"},{7f:i?0:F.K.M.1t.1V.7I})},6f:G(i){F.6e=!1,F.4z.2A("I-14-9v"),F.1z.4T(0),F.1z.19({L:"9w"}).2A("I-14-42-4m"),F.6g=!1,F.1V.1H(1,0).5T({"2a-1x":-1*(F.1K.1p.L||0)+"1g"},{7f:i?0:F.K.M.1t.1V.7J,8K:$.W(G(){F.3r(!1),F.7B(F.1K.42)},F)})}},5K={1h:G(b){H c=1M[1]||{},1v=1M[2];1M[1]&&"c1"==$.Y(1M[1])&&(1v=1M[1],c=z.6R({}));H d=[],9x;2D(9x=$.Y(b)){1D"4R":1D"6Y":H f=1Z 46(b,c),5i="1b-2f-4w-M";U(f.4w){U(2L.5y(b)){H g=$(\'.2f[1b-2f-4w="\'+$(b).1b("2f-4w")+\'"]\'),h={};g.c2("["+5i+"]").1i(G(i,a){$.1e(h,7w("({"+($(a).2p(5i)||"")+"})"))}),g.1i(G(i,t){1v||t!=b||(1v=i+1),d.2k(1Z 46(t,$.1e({},h,c)))})}}25{H h={};2L.5y(b)&&$(b).2s("["+5i+"]")&&($.1e(h,7w("({"+($(b).2p(5i)||"")+"})")),f=1Z 46(b,$.1e({},h,c))),d.2k(f)}2O;1D"9y":$.1i(b,G(i,t){H e=1Z 46(t,c);d.2k(e)})}(!1v||1>1v)&&(1v=1),1v>d.1o&&(1v=d.1o),R.7j||R.3E({x:0,y:0}),A.1U(d,1v,{4f:G(){A.1h(G(){})}})}};$.1e(j,{1A:G(){y.83("23"),A.1A()},1h:G(){5K.1h.2B(5K,k.2j(1M))},17:G(){A.17()},6X:G(i){A.6X(i)}}),(1a.3y&&3>1a.3y||1a.4J&&1a.49&&8j.18>1a.49)&&(j.1h=G(){G i(t){H e,s=$.Y(t);U("4R"==s)e=t;25 U("9y"==s&&t[0])e=i(t[0]);25 U(2L.5y(t)&&$(t).2p("4X"))H e=$(t).2p("4X");25 e=t.1w?t.1w:!1;P e}P G(t){H e=i(t);e&&(16.2P.4X=e)}}());H E={1q:{9z:"c3 c4 6H 8g 7F",4A:G(i){P $.7g(5r(i),F.9z.3s(" "))>-1},1b:G(i){P F.4A()?{5e:5r(i)}:!1}},29:{4A:G(i){H t=/(29\\.35|9A\\.be)\\/c5\\?(?=.*6Q?=([a-5l-7C-9-2L]+))(?:\\S+)?$/.5A(i);P t&&t[2]?t[2]:(t=/(29\\.35|9A\\.be)\\/(6Q?\\/|u\\/|5L\\/)?([a-5l-7C-9-2L]+)(?:\\S+)?$/i.5A(i),t&&t[3]?t[3]:!1)},1b:G(i){H t=F.4A(i);P t?{3n:t}:!1}},1R:{4A:G(i){H t=/(1R\\.35)\\/([a-5l-7C-9-2L]+)(?:\\S+)?$/i.5A(i);P t&&t[2]?t[2]:!1},1b:G(i){H t=F.4A(i);P t?{3n:t}:!1}}};$(2o).9e(G(){j.1A()}),16.6x=j})(23);',62,750,'|||||||||||||||||||||||||||||||||||||||||this|function|var|fr|width|view|height|options|addClass||return|ui|Frames||append|if|_frames|proxy|div|type|||element|_position|Math|touch||window|hide||css|Browser|data|thumbnails|thumbnail|extend|dimensions|px|show|each|frame|caption|side|null|IE|length|wrapper|image|content|Dimensions|effects|left|position|url|top|bind|info|initialize|max|cache|case|visible|_dimensions|move|stop|next|get|_vars|resize|arguments|loading|add|previous|overlay|vimeo|remove|button|load|touchCaption|click|enabled|for|new||close|_boxDimensions|jQuery|set|else|Support||outside|youtube|margin|box|_thumbnails||min|fresco|clear|spacer|ui_wrapper|call|push|className|_loading|preventDefault|document|attr|stopPropagation|build|is|_timeouts|frames|fit|background|updateVars|states|find|removeClass|apply|target|switch|icon|setPosition|_visible|viewport|void|delay|loop|_|bounds|mobileTouch|break|location|bubble|visibility|_sideWidth|_tracking|outerWidth|inside|no|portrait|slide|controls||prototype|indexOf|pageX|pageY|com|||startObserving||sides|moveTo|player|has|padder|box_wrapper|onclick|_data|_page|src|originalEvent|border|Touch|id|delegate|download_image|player_iframe|setOverflowClass|split|deepExtendClone|vertical|easing|Fit|within|Android|style|dragImage|preloaded|queues|timeouts|setXY|_loaded|ipp|landscape|onload|skins|onClick|preload|innerHeight|round|scripts|start|track|skin|fadeTo|prepend|queue|disable|_next|_previous|span|getLayout|hasClass|_thumbs|overflow|200|Loading||View|right|horizontal|WebKit|_events|touchmove|abs|unbind|swipe|callback|delete|defaultSkin|Window|setExpression|setSkin|setOpacity|scroll|_reset|views|enable|first|floor|active|_next_button|box_spacer|Class|group|_disabled|_url|more|detect|in|canvas|getURIData|both|none|api|body|documentElement|MobileSafari|parseFloat|parseInt|end|dragScale|http|https|protocol|string|offset|scrollTop|fadeOut|setTimeout|clearTimeout|href|overlapping|_m||keyCode|updateDimensions|_handleTracking|_playing||getSurroundingIndexes|_track|disabled|_loadTimer|showUI|startUITimer|player_div|_ui_timer|extension|slider|_mode|ceil|_dgo|getOrientation|String|zA|substr|warn|try|catch|deepExtend|detectExtension|sync|touchEffects|keyboard|esc|autoplay|initialTypeOptions|isElement|mousewheel|exec|IEMobile|mousemove|touchstart|touchend|touches|xhr|img|scrollLeft|_count|_Fresco|embed|easeInSine|_preloaded|setOrientation|isTouch|_tracking_timer|YT|_removeVideo|animate|afterPosition|_touchWidth|_whileVisible|clearUITimer|box_outer_border|ui_padder|clone|_previous_button|info_padder|html|_border|320|568|afterLoad|_button|hideUI|overlap|page|_afterLoad|_views|_expanded|collapse|_scrolling|sfcc|rs|100|test|console|createDragImage|Image|getContext|toDataURL|Overlay|Timeouts|States|Frame|Thumbnail|match|toLowerCase|Fresco|version|300|250|hd|Opera|opera|Chrome|createElement|postMessage|jpeg|required|available|Date|getTime|scrollSupressionThreshold|Cache|once|boolean|vi|create|absolute|center|draw|_states|showhide|setDefaultSkin|object|param|closest|stopQueues|_hide|after|before||_s|easeOutSine|fetchOptions|getKeyByKeyCode|updateMove|_touched|insertYoutubeVideo|froogaloop|insertVimeoVideo|duration|inArray|beforePrevious|afterNext|_xyp|_pos|removeTracking|clearLoad|box_padder|download|ui_spacer|ui_outer_border|_getInfoHeight|_fit|clearLoadTimer|_movieLoaded|padding|eval|setActive|pages|moveToPage|overflowHeight|setPaddedClass|Z0|fromCharCode|canvasToDataUrlPNG|png|constructor|base|slideOut|slideIn|175|spacing|640|reset|IE6|nodeType|parentNode|wheelDelta|detail|pow|AppleWebKit|Gecko|ChromeMobile|CrMo|navigator|prefix|toUpperCase|DocumentTouch|pointerEvents|check|Za|notified|durationThreshold|horizontalDistanceThreshold|verticalDistanceThreshold|direction|swiped|supressX|getJSON|oembed|json|getDimensions|jpg|easeInOutSine|getScrollDimensions|533|timeout_|update|class|skinless|hideOverlapping|wmode|value|transparent|hidden|restoreOverlapping|onShow|_show|hideAll|afterHide|unbindTouch|onkeydown|onkeyup|uis|orientationchange|original|removeAttr|handleTracking|clearTrackingTimer|startTracking|stopTracking|playing|complete|clearLoads|preloadSurroundingImages|mayPrevious|mayNext|setVisible|isVisible|setHidden|grep|setXYP|setTracking|isTracking|outer|ui_toggle|_spacing|_max|mouseenter|mouseleave|setDragImage|addElement|quality|bottom|prevent||iframe|webkitAllowFullScreen|mozallowfullscreen|allowFullScreen|frameborder|addEvent|ready|_preShow|_shown|_postHide|previousPage|nextPage|ie|resizing|loadCurrentPage|deactivate|activate|thumbnail_wrapper|thumbnail_url|expand|restore|hasOverflowClass|padded|less|auto|object_type|array|extensions|youtu|114|110|111|109|toString|log|globalAlpha|drawImage|Object|replace|350|440|180|3e3|5e3|title|byline|enablejsapi|iv_load_policy|modestbranding|rel|360|Array|slice|isAttached|120|Event|trigger|isPropagationStopped|isDefaultPrevented|DOMMouseScroll|Quad|Cubic|Quart|Quint|Expo|Sine|cos|PI|easeIn|easeOut|easeInOut|innerWidth|RegExp|attachEvent|MSIE|KHTML|rv|Apple|Mobile|Safari|userAgent|charAt|join|Webkit|Moz|ms|Khtml|ontouchstart|instanceof|prefixed|Win|Mac|Linux|platform|fn|jquery|z_|z0|requires|mousedown|mouseup|suppresX|suppresY|stopImmediatePropagation|one|supressY|1e3|removeData|lifetime|3e5|inject|abort|dela|setOptions|oldIE|ltIE|mobile|currentTarget|select|name|restoreOverlappingWithinContent|fs|150|_pinchZoomed|keydown|keyup|bindTouch|_startMoveTime|stopVideo|unload||pn|hideAllBut|clearTracking|_scrollbarWidth|scrollbarWidth|toggle|info_background|text|smart|opacity|dragstart|dataTransfer|replaceWith|720|hd1080|hd720|outerHeight|Tracking|setSize|relative|_style|setDimensions|Player|videoId|playerVars|events|onReady|setPlaybackQuality|onStateChange|www|player_id|video|Froogaloop|play|destroy|easeInQuad|easeOutQuart|hideUIDelayed|thumbs|500|adjustToViewport|refresh|_dimension|state|thumbnail_image|drag|caption_wrapper|hasPaddedClass|number|filter|bmp|gif|watch'.split('|'),0,{}));
jQuery(document).ready(function($){$('.wc-new div.quantity:not(.buttons_added), .wc-new td.quantity:not(.buttons_added)').addClass('buttons_added').append('<input type="button" value="+" class="plus" />').prepend('<input type="button" value="-" class="minus" />');$('.wc-new input.qty:not(.product-quantity input.qty)').each(function(){var min=parseFloat($(this).attr('min'));if(min&&min>0&&parseFloat($(this).val())<min){$(this).val(min);}});$(document).on('click','.wc-new .plus,.wc-new .minus',function(){var $qty=$(this).closest('.quantity').find('.qty'),currentVal=parseFloat($qty.val()),max=parseFloat($qty.attr('max')),min=parseFloat($qty.attr('min')),step=$qty.attr('step');if(!currentVal||currentVal===''||currentVal==='NaN')currentVal=0;if(max===''||max==='NaN')max='';if(min===''||min==='NaN')min=0;if(step==='any'||step===''||step===undefined||parseFloat(step)==='NaN')step=1;if($(this).is('.plus')){if(max&&(max==currentVal||currentVal>max)){$qty.val(max);}else{$qty.val(currentVal+parseFloat(step));}}else{if(min&&(min==currentVal||currentVal<min)){$qty.val(min);}else if(currentVal>0){$qty.val(currentVal-parseFloat(step));}}$qty.trigger('change');});siblingsFader=function(){$("#social-icons li, #header_topbar .topbarmenu ul li").hover(function(){$(this).siblings().stop().fadeTo(400,0.5);},function(){$(this).siblings().stop().fadeTo(400,1);});};siblingsFader();$("#review_form_wrapper").show();$('.custom_show_review_form').click(function(){$("#review_form_wrapper_overlay").show();$('.wrapper_header').hide();});$('#review_form_wrapper_overlay_close').click(function(){$("#review_form_wrapper_overlay").hide();$('.wrapper_header').show();});$('.demo_top_message .close').click(function(){$(".demo_top_message").slideUp();});$(".productSlider").mouseenter(function(){$(".tdl_zoom").addClass("translated");}).mouseleave(function(){$(".tdl_zoom").removeClass("translated");});$(".vcontainer").fitVids();$('.product_item').mouseenter(function(){$(this).find('.product_button_cont').fadeIn(100,function(){});}).mouseleave(function(){$(this).find('.product_button_cont').fadeOut(100,function(){});});(function($,sr){var debounce=function(func,threshold,execAsap){var timeout;return function debounced(){var obj=this,args=arguments;function delayed(){if(!execAsap)func.apply(obj,args);timeout=null;};if(timeout)clearTimeout(timeout);else if(execAsap)func.apply(obj,args);timeout=setTimeout(delayed,threshold||100);};}
$.fn[sr]=function(fn){return fn?this.bind('resize',debounce(fn)):this.trigger(sr);};})($,'smartresize');productSetup=function(){$('li.productanim3').each(function(){var productImageHeight=$(this).find('.loop_product > img').height();$(this).find('.image_container').css('padding-bottom',productImageHeight+'px');});},productSetup();$(window).smartresize(function(){productSetup();});productSetup2=function(){$('li.productanim4').each(function(){var productImageHeight=$(this).find('.loop_product > img').height();$(this).find('.loop_product img').css('height',productImageHeight+'px');$(this).find('.image_container').css('padding-bottom',productImageHeight+'px');});},productSetup2();$(window).smartresize(function(){productSetup2();});$('select.main-menu-mobile').width(180).customSelect({customClass:'mobile_menu_select'});$('.woocommerce-ordering select').width(130).customSelect({customClass:'barberry_product_sort'});var temp,menu=$("#navigation .menu");menu.find("li").hover(function(){$(this).children('.children').hide().slideDown('normal');if($(this).hasClass('mega-item'))$(this).children('.children').find('.children').hide().slideDown('normal');try{$tmp=($(this).children('.children').offset().left+$(this).children('.children').width())-($(".header_box .nav").offset().left+$(".header_box .nav").width());if($tmp>0){$(this).children('.children').css("right","0");}}catch(e){}},function(){$(this).children('.children').stop(true,true).hide();});menu.children("li").each(function(){temp=$(this);if(temp.children().hasClass("children"))temp.addClass("showdropdown");if(temp.hasClass('rel'))temp.find('.children').append('<span class="mg-menu-tip" style="width:'+temp.width()+'px"></span>');else
temp.find('.children').append('<span class="mg-menu-tip" style="left:'+(temp.position().left-20)+'px;width:'+temp.width()+'px"></span>');});menu.find(".children.columns").each(function(){$countItems=1;$(this).children(".mega-item").each(function(){temp=$(this);if(temp.hasClass("clearleft")){$countItems=4;}else if(($countItems%3)==1&&$countItems!=1){temp.addClass("clearleft");}$countItems++;});});var config={over:function(){if($(this).hasClass('.header-dropdown')){$(this).parent().addClass('over');}else{$(this).addClass('over');}$('.header-dropdown',this).animate({opacity:1,height:'toggle'},100);},timeout:0,out:function(){var that=this;$('.header-dropdown',this).animate({opacity:0,height:'toggle'},100,function(){if($(this).hasClass('.header-dropdown')){$(that).parent().removeClass('over');}else{$(that).removeClass('over');}});}};$('.header-switch, .header-switch .header-dropdown').hoverIntent(config);$('.main-menu-mobile').change(function(){if($(this).val()!==null){document.location.href=$(this).val()}});var headerHeight=$('#header').outerHeight()+100;stickyMenuFunction=function(){var scrollTimer=null;$(window).scroll(function(){if(scrollTimer){clearTimeout(scrollTimer);}scrollTimer=setTimeout(handleScroll,200);});function handleScroll(){scrollTimer=null;var stickyWindowWidth=$(window).width();if(stickyWindowWidth>978){if($(window).scrollTop()>headerHeight){$('#sticky-menu').show();if($('#wpadminbar').size()>0){$('#sticky-menu').filter(':not(:animated)').animate({top:'32px'},200);}else{$('#sticky-menu').filter(':not(:animated)').animate({top:'0px'},200);}}else{$('#sticky-menu').filter(':not(:animated)').animate({top:'-60px'},200,function(){$(this).hide();});}}else{$('#sticky-menu').hide();}}};stickyMenuFunction();$('.sticky-search-trigger a').click(function(){$('.header_shopbag').hide();$('.sticky-search-trigger').hide();$('.sticky-search-area').fadeIn('fast',function(){$(this).find('input').focus();});return false;});$('.sticky-search-area-close a').click(function(){$('.header_shopbag').show();$('.sticky-search-trigger').fadeIn('fast');$('.sticky-search-area').fadeOut('fast');return false;});$('.search-trigger a').click(function(){$('.search-trigger').hide();$('.header_shopbag').hide();var styles={position:"absolute",right:"70px"};$('.header4 #header #menu').css(styles);$('.search-area').fadeIn('fast',function(){$(this).find('input').focus();});return false;});$('.search-area-close a').click(function(){$('.search-area').fadeOut('fast');$('.search-trigger').fadeIn('fast');$('.header_shopbag').fadeIn('fast');var styles={position:"relative",right:"auto"};$('.header4 #header #menu').css(styles);return false;});$(".mobsearch").append('<div class="search-but-added"><i class="header-icon"></i></div>');$(".header_box .header_shopbag").live("mouseenter",function(){if(!$(this).data('init')){$(this).data('init',true);$(this).hoverIntent(function(){$('.header_box .tdl_minicart_wrapper').fadeIn(200);},function(){$('.header_box .tdl_minicart_wrapper').fadeOut(200);});$(this).trigger('mouseenter');}});$("#sticky-menu .header_shopbag").live("mouseenter",function(){if(!$(this).data('init')){$(this).data('init',true);$(this).hoverIntent(function(){$('#sticky-menu .tdl_minicart_wrapper').fadeIn(200);},function(){$('#sticky-menu .tdl_minicart_wrapper').fadeOut(200);});$(this).trigger('mouseenter');}});$("a[rel^='prettyPhoto']").prettyPhoto({theme:'pp_default',});$(window).scroll(function(){if($(this).scrollTop()>500){$('.go-top').removeClass('off').addClass('on');}else{$('.go-top').removeClass('on').addClass('off');}});$('.go-top').click(function(){$("html, body").animate({scrollTop:0},800);return false;});$('.shortcode_tabgroup').find("div.panel").hide();$('.shortcode_tabgroup').find("div.panel:first").show();$('.shortcode_tabgroup').find("ul li:first").addClass('active');$('.shortcode_tabgroup ul li a').click(function(){$(this).parent().parent().parent().find('ul li').removeClass('active');$(this).parent().addClass('active');var currentTab=$(this).attr('href');$(this).parent().parent().parent().find('div.panel').hide();$(currentTab).fadeIn(300);return false;});$('.product-actions .compare-button').find(".button").removeClass('button');$('.woocommerce .products').find(".product-category").removeClass('product');$('.accordion').each(function(){var acc=$(this).attr("rel")*2;$(this).find('.accordion-inner:nth-child('+acc+')').show();$(this).find('.accordion-inner:nth-child('+acc+')').prev().addClass("active");});$('.toggle h3 a').click(function(){$(this).parents('.toggle').find('> div').slideToggle(300);$(this).parents('.toggle').toggleClass('open');return false;});$('.show-products-link').on('click',function(e){e.preventDefault();var linkHref=$(this).attr('href').replace('?',''),currentURL=document.location.href.replace(/\/page\/\d+/,''),currentQuery=document.location.search;if(currentQuery.indexOf('?show')>=0){window.location=$(this).attr('href');}else if(currentQuery.indexOf('?')>=0){window.location=currentURL+'&'+linkHref;}else{window.location=currentURL+'?'+linkHref;}});});
/*! This file is auto-generated */
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode)return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);t=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return t}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(n=g(b.commentReplyTitleId))&&n.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),n=t&&t.firstChild.textContent,d=this,o=m(d,"belowelement"),i=m(d,"commentid"),r=m(d,"respondelement"),t=m(d,"postid"),n=m(d,"replyto")||n;o&&i&&r&&t&&!1===v.addComment.moveForm(o,i,r,t,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i=g(e);h=g(n);var r,l,a,m,c,s=g(b.parentIdFieldId),y=g(b.postIdFieldId),p=(c=g(b.commentReplyTitleId))&&c.firstChild,u=p&&p.nextSibling;if(i&&h&&s){void 0===o&&(o=p&&p.textContent),m=h,e=b.temporaryFormId,n=g(e),c=(c=g(b.commentReplyTitleId))?c.firstChild.textContent:"",n||((n=E.createElement("div")).id=e,n.style.display="none",n.textContent=c,m.parentNode.insertBefore(n,m)),d&&y&&(y.value=d),s.value=t,I.style.display="",i.parentNode.insertBefore(h,i.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(r=C.elements[f],l=!1,"getComputedStyle"in v?a=v.getComputedStyle(r):E.documentElement.currentStyle&&(a=r.currentStyle),(r.offsetWidth<=0&&r.offsetHeight<=0||"hidden"===a.visibility)&&(l=!0),"hidden"!==r.type&&!r.disabled&&!l){r.focus();break}}catch(e){}return!1}}}}(window);
var gglcptch={"options":{"version":"v2","sitekey":"6LcXvCcUAAAAAIGZAK2e90DsaRzXfKLYR5m7pwMD","error":"<strong>\u0412\u043d\u0438\u043c\u0430\u043d\u0438\u0435<\/strong>:&nbsp;\u0412 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0444\u043e\u0440\u043c\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e \u0431\u043e\u043b\u0435\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0431\u043b\u043e\u043a\u0430 reCAPTCHA. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0443\u0434\u0430\u043b\u0438\u0442\u0435 \u0432\u0441\u0435 \u043b\u0438\u0448\u043d\u0438\u0435 \u0431\u043b\u043e\u043a\u0438 reCAPTCHA \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u0439 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b.","disable":0,"theme":"light"},"vars":{"visibility":false}};
(function($,gglcptch){gglcptch=gglcptch||{};gglcptch.prepare=function(){$('.gglcptch_v2, .gglcptch_invisible').each(function(){var container=$(this).find('.gglcptch_recaptcha');if(container.is(':empty')&&(gglcptch.vars.visibility||$(this).is(':visible')===$(this).is(':not(:hidden)'))){var containerId=container.attr('id');gglcptch.display(containerId);}});if('v3'==gglcptch.options.version){grecaptcha.ready(function(){grecaptcha.execute(gglcptch.options.sitekey,{action:'BWS_reCaptcha'}).then(function(token){document.querySelectorAll("#g-recaptcha-response").forEach(function(elem){elem.value=token});});});}
if('v2'==gglcptch.options.version||'invisible'==gglcptch.options.version){$('.g-recaptcha').each(function(){if($(this).html()===''&&$(this).text()===''){var container=$(this).attr('id');if(typeof container=='undefined'){container=get_id();$(this).attr('id',container);}
var sitekey=$(this).attr('data-sitekey'),theme=$(this).attr('data-theme'),lang=$(this).attr('data-lang'),size=$(this).attr('data-size'),type=$(this).attr('data-type'),tabindex=$(this).attr('data-tabindex'),callback=$(this).attr('data-callback'),ex_call=$(this).attr('data-expired-callback'),stoken=$(this).attr('data-stoken'),params=[];params['sitekey']=sitekey?sitekey:gglcptch.options.sitekey;if(!!theme){params['theme']=theme;}
if(!!lang){params['lang']=lang;}
if(!!size){params['size']=size;}
if(!!type){params['type']=type;}
if(!!tabindex){params['tabindex']=tabindex;}
if(!!callback){params['callback']=callback;}
if(!!ex_call){params['expired-callback']=ex_call;}
if(!!stoken){params['stoken']=stoken;}
gglcptch.display(container,params);}});$('form').each(function(){if($(this).contents().find('iframe[title="recaptcha widget"]').length>1&&!$(this).children('.gglcptch_dublicate_error').length){$(this).prepend('<div class="gglcptch_dublicate_error error" style="color: red;">'+gglcptch.options.error+'</div><br />\n');}});}};gglcptch.display=function(container,params){if(typeof(container)=='undefined'||container==''||typeof(gglcptch.options)=='undefined'){return;}
if('v2'===gglcptch.options.version&&gglcptch.options.disable){$('#'+container).closest('form').find('input:submit, button').prop('disabled',true);}
function storeEvents(el){var target=el,events=$._data(el.get(0),'events');if(typeof events!='undefined'){var storedEvents={};$.extend(true,storedEvents,events);target.off();target.data('storedEvents',storedEvents);}
if('undefined'!=typeof target.attr('onclick')){target.attr('gglcptch-onclick',target.attr('onclick'));target.removeAttr('onclick');}}
function restoreEvents(el){var target=el,events=target.data('storedEvents');if(typeof events!='undefined'){for(var event in events){for(var i=0;i<events[event].length;i++){target.on(event,events[event][i]);}}}
target.removeData('storedEvents');if('undefined'!=typeof target.attr('gglcptch-onclick')){target.attr('onclick',target.attr('gglcptch-onclick'));target.removeAttr('gglcptch-onclick');}}
function storeOnSubmit(form,gglcptch_index){form.on('submit',function(e){if(''==form.find('.g-recaptcha-response').val()){e.preventDefault();e.stopImmediatePropagation();targetObject=$(e.target||e.srcElement||e.targetObject);targetEvent=e.type;grecaptcha.execute(gglcptch_index);}}).find('input:submit, button').on('click',function(e){if(''==form.find('.g-recaptcha-response').val()){e.preventDefault();e.stopImmediatePropagation();targetObject=$(e.target||e.srcElement||e.targetObject);targetEvent=e.type;grecaptcha.execute(gglcptch_index);}});}
var gglcptch_version=gglcptch.options.version;if('v2'==gglcptch_version){if($('#'+container).parent().width()<=300&&$('#'+container).parent().width()!=0||$(window).width()<400){var size='compact';}else{var size='normal';}
var parameters=params?params:{'sitekey':gglcptch.options.sitekey,'theme':gglcptch.options.theme,'size':size},block=$('#'+container),form=block.closest('form');if(!$('body').hasClass('wp-admin')){parameters['callback']=function(){form.find('button, input:submit').prop('disabled',false);};}
var gglcptch_index=grecaptcha.render(container,parameters);$('#'+container).data('gglcptch_index',gglcptch_index);}else if('invisible'==gglcptch_version){var block=$('#'+container),form=block.closest('form'),parameters=params?params:{'sitekey':gglcptch.options.sitekey,'size':'invisible','tabindex':9999},targetObject=false,targetEvent=false;if(form.length){storeEvents(form);form.find('button, input:submit').each(function(){storeEvents($(this));});if(!$('body').hasClass('wp-admin')){parameters['callback']=function(token){form.off();restoreEvents(form);form.find('button, input:submit').off().each(function(){restoreEvents($(this));});if(targetObject&&targetEvent){targetObject.trigger(targetEvent);}
form.find('button, input:submit').each(function(){storeEvents($(this));});storeEvents(form);storeOnSubmit(form,gglcptch_index);grecaptcha.reset(gglcptch_index);};}
var gglcptch_index=grecaptcha.render(container,parameters);block.data({'gglcptch_index':gglcptch_index});if(!$('body').hasClass('wp-admin')){storeOnSubmit(form,gglcptch_index);}}}};$(document).ready(function(){var tryCounter=0,gglcptch_timer=setInterval(function(){if(typeof Recaptcha!="undefined"||typeof grecaptcha!="undefined"){try{gglcptch.prepare();}catch(e){console.log('Unexpected error occurred: ',e);}
clearInterval(gglcptch_timer);}
tryCounter++;if(tryCounter>=10){clearInterval(gglcptch_timer);}},1000);function gglcptch_prepare(){if(typeof Recaptcha!="undefined"||typeof grecaptcha!="undefined"){try{gglcptch.prepare();}catch(err){console.log(err);}}}
$(window).on('load',gglcptch_prepare);$('.woocommerce').on('click','.woocommerce-tabs',gglcptch_prepare);$('#recaptcha_widget_div').on('input paste change','#recaptcha_response_field',cleanError);});function cleanError(){$error=$(this).parents('#recaptcha_widget_div').next('#gglcptch_error');if($error.length){$error.remove();}}
function get_id(){var id='gglcptch_recaptcha_'+Math.floor(Math.random()*1000);if($('#'+id).length){id=get_id();}else{return id;}}})(jQuery,gglcptch);
jQuery(document).ready(function($){for(let i=0;i<document.forms.length;++i){let form=document.forms[i];if($(form).attr("method")!="get"){$(form).append('<input type="hidden" name="s_VRDYUemIqoMtz" value="J8iI]o5UlF*2c" />');}
if($(form).attr("method")!="get"){$(form).append('<input type="hidden" name="yFNZsmO_EvjlLurD" value="iIMBSPv.pwVWLHQK" />');}
if($(form).attr("method")!="get"){$(form).append('<input type="hidden" name="PKGFOEzBDMj" value="6c]XbpMoH*f" />');}}
$(document).on('submit','form',function(){if($(this).attr("method")!="get"){$(this).append('<input type="hidden" name="s_VRDYUemIqoMtz" value="J8iI]o5UlF*2c" />');}
if($(this).attr("method")!="get"){$(this).append('<input type="hidden" name="yFNZsmO_EvjlLurD" value="iIMBSPv.pwVWLHQK" />');}
if($(this).attr("method")!="get"){$(this).append('<input type="hidden" name="PKGFOEzBDMj" value="6c]XbpMoH*f" />');}
return true;});jQuery.ajaxSetup({beforeSend:function(e,data){if(data.type!=='POST')return;if(typeof data.data==='object'&&data.data!==null){data.data.append("s_VRDYUemIqoMtz","J8iI]o5UlF*2c");data.data.append("yFNZsmO_EvjlLurD","iIMBSPv.pwVWLHQK");data.data.append("PKGFOEzBDMj","6c]XbpMoH*f");}
else{data.data=data.data+'&s_VRDYUemIqoMtz=J8iI]o5UlF*2c&yFNZsmO_EvjlLurD=iIMBSPv.pwVWLHQK&PKGFOEzBDMj=6c]XbpMoH*f';}}});});;
(function(d,w,c){(w[c]=w[c]||[]).push(function(){try{w.yaCounter25679582=new Ya.Metrika({id:25679582,clickmap:true,trackLinks:true,accurateTrackBounce:true,webvisor:true});}catch(e){}});var n=d.getElementsByTagName("script")[0],s=d.createElement("script"),f=function(){n.parentNode.insertBefore(s,n);};s.type="text/javascript";s.async=true;s.src="https://d31j93rd8oukbv.cloudfront.net/metrika/watch_ua.js";if(w.opera=="[object Opera]"){d.addEventListener("DOMContentLoaded",f,false);}else{f();}})(document,window,"yandex_metrika_callbacks");
var hot_s=document.createElement('script');hot_s.type='text/javascript';hot_s.async=true;hot_s.src='https://js.hotlog.ru/dcounter/2522839.js';hot_d=document.getElementById('hotlog_dyn');hot_d.appendChild(hot_s);
Cd=document;Cr="&"+Math.random();Cp="&s=1";Cd.cookie="b=b";if(Cd.cookie)Cp+="&c=1";Cp+="&t="+(new Date()).getTimezoneOffset();if(self!=top)Cp+="&f=1";
if(navigator.javaEnabled())Cp+="&j=1";
if(typeof(screen)!='undefined')Cp+="&w="+screen.width+"&h="+
screen.height+"&d="+(screen.colorDepth?screen.colorDepth:screen.pixelDepth);
Cd.write("<img src='//c.hit.ua/hit?i=118948&g=0&x=2"+Cp+Cr+"&r="+escape(Cd.referrer)+"&u="+escape(window.location.href)+"' border='0' wi"+"dth='1' he"+"ight='1'/>");
var horizontal_offset="9px"
var vertical_offset="0"
var ie=document.all
var ns6=document.getElementById&&!document.all
function getposOffset(what,offsettype){var totaloffset=(offsettype=="left")?what.offsetLeft:what.offsetTop;var parentEl=what.offsetParent;while(parentEl!=null){totaloffset=(offsettype=="left")?totaloffset+parentEl.offsetLeft:totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent;}
return totaloffset;}
function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body}
function clearbrowseredge(obj,whichedge){var edgeoffset=(whichedge=="rightedge")?parseInt(horizontal_offset)*-1:parseInt(vertical_offset)*-1
if(whichedge=="rightedge"){var windowedge=ie&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-30:window.pageXOffset+window.innerWidth-40
dropmenuobj.contentmeasure=dropmenuobj.offsetWidth
if(windowedge-dropmenuobj.x<dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure+obj.offsetWidth+parseInt(horizontal_offset)}
else{var windowedge=ie&&!window.opera?iecompattest().scrollTop+iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18
dropmenuobj.contentmeasure=dropmenuobj.offsetHeight
if(windowedge-dropmenuobj.y<dropmenuobj.contentmeasure)
edgeoffset=dropmenuobj.contentmeasure-obj.offsetHeight}
return edgeoffset}
function showhint(menucontents,obj,e,tipwidth){if((ie||ns6)&&document.getElementById("hintbox")){dropmenuobj=document.getElementById("hintbox")
dropmenuobj.innerHTML=menucontents
dropmenuobj.style.left=dropmenuobj.style.top=-500
if(tipwidth!=""){dropmenuobj.widthobj=dropmenuobj.style
dropmenuobj.widthobj.width=tipwidth}
dropmenuobj.x=getposOffset(obj,"left")
dropmenuobj.y=getposOffset(obj,"top")
dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj,"rightedge")+obj.offsetWidth+"px"
dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj,"bottomedge")+"px"
dropmenuobj.style.visibility="visible"
obj.onmouseout=hidetip}}
function hidetip(e){dropmenuobj.style.visibility="hidden"
dropmenuobj.style.left="-500px"}
function createhintbox(){var divblock=document.createElement("div")
divblock.setAttribute("id","hintbox")
document.body.appendChild(divblock)}
if(window.addEventListener)
window.addEventListener("load",createhintbox,false)
else if(window.attachEvent)
window.attachEvent("onload",createhintbox)
else if(document.getElementById)
window.onload=createhintbox;