function revslider_showDoubleJqueryError(n){var t="Revolution Slider Error: You have some jquery.js library include that comes after the revolution files js include.";t+="<br> This includes make eliminates the revolution slider libraries, and make it not work.";t+="<br><br> To fix it you can:<br>&nbsp;&nbsp;&nbsp; 1. In the Slider Settings -> Troubleshooting set option:  <strong><b>Put JS Includes To Body<\/b><\/strong> option to true.";t+="<br>&nbsp;&nbsp;&nbsp; 2. Find the double jquery.js include and remove it.";t="<span style='font-size:16px;color:#BC0C06;'>"+t+"<\/span>";jQuery(n).show().html(t)}var console,oldgs,punchgs;jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(n,t,i){function r(i){var r=t.console;o[i]||(o[i]=!0,n.migrateWarnings.push(i),r&&r.warn&&!n.migrateMute&&(r.warn("JQMIGRATE: "+i),n.migrateTrace&&r.trace&&r.trace()))}function e(t,u,f,e){if(Object.defineProperty)try{return Object.defineProperty(t,u,{configurable:!0,enumerable:!0,get:function(){return r(e),f},set:function(n){r(e);f=n}}),i}catch(o){}n._definePropertyBroken=!0;t[u]=f}var o={},l,a,v;n.migrateWarnings=[];!n.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active");n.migrateTrace===i&&(n.migrateTrace=!0);n.migrateReset=function(){o={};n.migrateWarnings.length=0};"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var s=n("<input/>",{size:1}).attr("size")&&n.attrFn,h=n.attr,g=n.attrHooks.value&&n.attrHooks.value.get||function(){return null},nt=n.attrHooks.value&&n.attrHooks.value.set||function(){return i},tt=/^(?:input|button)$/i,it=/^[238]$/,rt=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,ut=/^(?:checked|selected)$/i;e(n,"attrFn",s||{},"jQuery.attrFn is deprecated");n.attr=function(t,u,f,e){var o=u.toLowerCase(),c=t&&t.nodeType;return e&&(4>h.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!it.test(c)&&(s?u in s:n.isFunction(n.fn[u])))?n(t)[u](f):("type"===u&&f!==i&&tt.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!n.attrHooks[o]&&rt.test(o)&&(n.attrHooks[o]={get:function(t,r){var u,f=n.prop(t,r);return f===!0||"boolean"!=typeof f&&(u=t.getAttributeNode(r))&&u.nodeValue!==!1?r.toLowerCase():i},set:function(t,i,r){var u;return i===!1?n.removeAttr(t,r):(u=n.propFix[r]||r,u in t&&(t[u]=!0),t.setAttribute(r,r.toLowerCase())),r}},ut.test(o)&&r("jQuery.fn.attr('"+o+"') may use property instead of attribute")),h.call(n,t,u,f))};n.attrHooks.value={get:function(n,t){var i=(n.nodeName||"").toLowerCase();return"button"===i?g.apply(this,arguments):("input"!==i&&"option"!==i&&r("jQuery.fn.attr('value') no longer gets properties"),t in n?n.value:null)},set:function(n,t){var u=(n.nodeName||"").toLowerCase();return"button"===u?nt.apply(this,arguments):("input"!==u&&"option"!==u&&r("jQuery.fn.attr('value', val) no longer sets properties"),n.value=t,i)}};var f,u,c=n.fn.init,ft=n.parseJSON,et=/^([^<]*)(<[\w\W]+>)([^>]*)$/;n.fn.init=function(t,i,u){var f;return t&&"string"==typeof t&&!n.isPlainObject(i)&&(f=et.exec(n.trim(t)))&&f[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),f[3]&&r("$(html) HTML text after last tag is ignored"),"#"===f[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),n.error("JQMIGRATE: Invalid selector string (XSS)")),i&&i.context&&(i=i.context),n.parseHTML)?c.call(this,n.parseHTML(f[2],i,!0),i,u):c.apply(this,arguments)};n.fn.init.prototype=n.fn;n.parseJSON=function(n){return n||null===n?ft.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)};n.uaMatch=function(n){n=n.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(n)||/(webkit)[ \/]([\w.]+)/.exec(n)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(n)||/(msie) ([\w.]+)/.exec(n)||0>n.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(n)||[];return{browser:t[1]||"",version:t[2]||"0"}};n.browser||(f=n.uaMatch(navigator.userAgent),u={},f.browser&&(u[f.browser]=!0,u.version=f.version),u.chrome?u.webkit=!0:u.webkit&&(u.safari=!0),n.browser=u);e(n,"browser",n.browser,"jQuery.browser is deprecated");n.sub=function(){function t(n,i){return new t.fn.init(n,i)}n.extend(!0,t,this);t.superclass=this;t.fn=t.prototype=this();t.fn.constructor=t;t.sub=this.sub;t.fn.init=function(r,u){return u&&u instanceof n&&!(u instanceof t)&&(u=t(u)),n.fn.init.call(this,r,u,i)};t.fn.init.prototype=t.fn;var i=t(document);return r("jQuery.sub() is deprecated"),t};n.ajaxSetup({converters:{"text json":n.parseJSON}});l=n.fn.data;n.fn.data=function(t){var f,u,e=this[0];return!e||"events"!==t||1!==arguments.length||(f=n.data(e,t),u=n._data(e,t),f!==i&&f!==u||u===i)?l.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),u)};a=/\/(java|ecma)script/i;v=n.fn.andSelf||n.fn.addBack;n.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),v.apply(this,arguments)};n.clean||(n.clean=function(t,u,f,e){u=u||document;u=!u.nodeType&&u[0]||u;u=u.ownerDocument||u;r("jQuery.clean() is deprecated");var s,o,c,l,h=[];if(n.merge(h,n.buildFragment(t,u).childNodes),f)for(c=function(n){return!n.type||a.test(n.type)?e?e.push(n.parentNode?n.parentNode.removeChild(n):n):f.appendChild(n):i},s=0;null!=(o=h[s]);s++)n.nodeName(o,"script")&&c(o)||(f.appendChild(o),o.getElementsByTagName!==i&&(l=n.grep(n.merge([],o.getElementsByTagName("script")),c),h.splice.apply(h,[s+1,0].concat(l)),s+=l.length));return h});var ot=n.event.add,st=n.event.remove,ht=n.event.trigger,ct=n.fn.toggle,y=n.fn.live,p=n.fn.die,w="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",b=RegExp("\\b(?:"+w+")\\b"),k=/(?:^|\s)hover(\.\S+|)\b/,d=function(t){return"string"!=typeof t||n.event.special.hover?t:(k.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(k,"mouseenter$1 mouseleave$1"))};n.event.props&&"attrChange"!==n.event.props[0]&&n.event.props.unshift("attrChange","attrName","relatedNode","srcElement");n.event.dispatch&&e(n.event,"handle",n.event.dispatch,"jQuery.event.handle is undocumented and deprecated");n.event.add=function(n,t,i,u,f){n!==document&&b.test(t)&&r("AJAX events should be attached to document: "+t);ot.call(this,n,d(t||""),i,u,f)};n.event.remove=function(n,t,i,r,u){st.call(this,n,d(t)||"",i,r,u)};n.fn.error=function(){var n=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),n.splice(0,0,"error"),arguments.length?this.bind.apply(this,n):(this.triggerHandler.apply(this,n),this)};n.fn.toggle=function(t,i){if(!n.isFunction(t)||!n.isFunction(i))return ct.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var u=arguments,e=t.guid||n.guid++,f=0,o=function(i){var r=(n._data(this,"lastToggle"+t.guid)||0)%f;return n._data(this,"lastToggle"+t.guid,r+1),i.preventDefault(),u[r].apply(this,arguments)||!1};for(o.guid=e;u.length>f;)u[f++].guid=e;return this.click(o)};n.fn.live=function(t,i,u){return r("jQuery.fn.live() is deprecated"),y?y.apply(this,arguments):(n(this.context).on(t,this.selector,i,u),this)};n.fn.die=function(t,i){return r("jQuery.fn.die() is deprecated"),p?p.apply(this,arguments):(n(this.context).off(t,this.selector||"**",i),this)};n.event.trigger=function(n,t,i,u){return i||b.test(n)||r("Global events are undocumented and deprecated"),ht.call(this,n,t,i||document,u)};n.each(w.split("|"),function(t,i){n.event.special[i]={setup:function(){var t=this;return t!==document&&(n.event.add(document,i+"."+n.guid,function(){n.event.trigger(i,null,t,!0)}),n._data(this,i,n.guid++)),!1},teardown:function(){return this!==document&&n.event.remove(document,i+"."+n._data(this,i)),!1}}})}(jQuery,window);window.disablehammer!=!0&&(function(n,t){"use strict";function e(){if(!i.READY){i.event.determineEventTypes();for(var n in i.gestures)i.gestures.hasOwnProperty(n)&&i.detection.register(i.gestures[n]);i.event.onTouch(i.DOCUMENT,i.EVENT_MOVE,i.detection.detect);i.event.onTouch(i.DOCUMENT,i.EVENT_END,i.detection.detect);i.READY=!0}}var i=function(n,t){return new i.Instance(n,t||{})};i.defaults={stop_browser_behavior:{userSelect:"none",touchAction:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};i.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled;i.HAS_TOUCHEVENTS="ontouchstart"in n;i.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android/i;i.NO_MOUSEEVENTS=i.HAS_TOUCHEVENTS&&navigator.userAgent.match(i.MOBILE_REGEX);i.EVENT_TYPES={};i.DIRECTION_DOWN="down";i.DIRECTION_LEFT="left";i.DIRECTION_UP="up";i.DIRECTION_RIGHT="right";i.POINTER_MOUSE="mouse";i.POINTER_TOUCH="touch";i.POINTER_PEN="pen";i.EVENT_START="start";i.EVENT_MOVE="move";i.EVENT_END="end";i.DOCUMENT=document;i.plugins={};i.READY=!1;i.Instance=function(n,t){var r=this;return e(),this.element=n,this.enabled=!0,this.options=i.utils.extend(i.utils.extend({},i.defaults),t||{}),this.options.stop_browser_behavior&&i.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),i.event.onTouch(n,i.EVENT_START,function(n){r.enabled&&i.detection.startDetect(r,n)}),this};i.Instance.prototype={on:function(n,t){for(var r=n.split(" "),i=0;r.length>i;i++)this.element.addEventListener(r[i],t,!1);return this},off:function(n,t){for(var r=n.split(" "),i=0;r.length>i;i++)this.element.removeEventListener(r[i],t,!1);return this},trigger:function(n,t){var u=i.DOCUMENT.createEvent("Event"),r;return u.initEvent(n,!0,!0),u.gesture=t,r=this.element,i.utils.hasParent(t.target,r)&&(r=t.target),r.dispatchEvent(u),this},enable:function(n){return this.enabled=n,this}};var r=null,f=!1,u=!1;i.event={bindDom:function(n,t,i){for(var u=t.split(" "),r=0;u.length>r;r++)n.addEventListener(u[r],i,!1)},onTouch:function(n,t,e){var o=this;this.bindDom(n,i.EVENT_TYPES[t],function(s){var c=s.type.toLowerCase(),h;c.match(/mouse/)&&u||((c.match(/touch/)||c.match(/pointerdown/)||c.match(/mouse/)&&1===s.which)&&(f=!0),c.match(/touch|pointer/)&&(u=!0),h=0,f&&(i.HAS_POINTEREVENTS&&t!=i.EVENT_END?h=i.PointerEvent.updatePointer(t,s):c.match(/touch/)?h=s.touches.length:u||(h=c.match(/up/)?0:1),h>0&&t==i.EVENT_END?t=i.EVENT_MOVE:h||(t=i.EVENT_END),h||null===r?r=s:s=r,e.call(i.detection,o.collectEventData(n,t,s)),i.HAS_POINTEREVENTS&&t==i.EVENT_END&&(h=i.PointerEvent.updatePointer(t,s))),h||(r=null,f=!1,u=!1,i.PointerEvent.reset()))})},determineEventTypes:function(){var n;n=i.HAS_POINTEREVENTS?i.PointerEvent.getEvents():i.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"];i.EVENT_TYPES[i.EVENT_START]=n[0];i.EVENT_TYPES[i.EVENT_MOVE]=n[1];i.EVENT_TYPES[i.EVENT_END]=n[2]},getTouchList:function(n){return i.HAS_POINTEREVENTS?i.PointerEvent.getTouchList():n.touches?n.touches:[{identifier:1,pageX:n.pageX,pageY:n.pageY,target:n.target}]},collectEventData:function(n,t,r){var u=this.getTouchList(r,t),f=i.POINTER_TOUCH;return(r.type.match(/mouse/)||i.PointerEvent.matchType(i.POINTER_MOUSE,r))&&(f=i.POINTER_MOUSE),{center:i.utils.getCenter(u),timeStamp:(new Date).getTime(),target:r.target,touches:u,eventType:t,pointerType:f,srcEvent:r,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation();this.srcEvent.preventDefault&&this.srcEvent.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return i.detection.stopDetect()}}}};i.PointerEvent={pointers:{},getTouchList:function(){var n=this,t=[];return Object.keys(n.pointers).sort().forEach(function(i){t.push(n.pointers[i])}),t},updatePointer:function(n,t){return n==i.EVENT_END?this.pointers={}:(t.identifier=t.pointerId,this.pointers[t.pointerId]=t),Object.keys(this.pointers).length},matchType:function(n,t){if(!t.pointerType)return!1;var r={};return r[i.POINTER_MOUSE]=t.pointerType==t.MSPOINTER_TYPE_MOUSE||t.pointerType==i.POINTER_MOUSE,r[i.POINTER_TOUCH]=t.pointerType==t.MSPOINTER_TYPE_TOUCH||t.pointerType==i.POINTER_TOUCH,r[i.POINTER_PEN]=t.pointerType==t.MSPOINTER_TYPE_PEN||t.pointerType==i.POINTER_PEN,r[n]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}};i.utils={extend:function(n,i,r){for(var u in i)n[u]!==t&&r||(n[u]=i[u]);return n},hasParent:function(n,t){for(;n;){if(n==t)return!0;n=n.parentNode}return!1},getCenter:function(n){for(var i=[],r=[],t=0,u=n.length;u>t;t++)i.push(n[t].pageX),r.push(n[t].pageY);return{pageX:(Math.min.apply(Math,i)+Math.max.apply(Math,i))/2,pageY:(Math.min.apply(Math,r)+Math.max.apply(Math,r))/2}},getVelocity:function(n,t,i){return{x:Math.abs(t/n)||0,y:Math.abs(i/n)||0}},getAngle:function(n,t){var i=t.pageY-n.pageY,r=t.pageX-n.pageX;return 180*Math.atan2(i,r)/Math.PI},getDirection:function(n,t){var r=Math.abs(n.pageX-t.pageX),u=Math.abs(n.pageY-t.pageY);return r>=u?n.pageX-t.pageX>0?i.DIRECTION_LEFT:i.DIRECTION_RIGHT:n.pageY-t.pageY>0?i.DIRECTION_UP:i.DIRECTION_DOWN},getDistance:function(n,t){var i=t.pageX-n.pageX,r=t.pageY-n.pageY;return Math.sqrt(i*i+r*r)},getScale:function(n,t){return n.length>=2&&t.length>=2?this.getDistance(t[0],t[1])/this.getDistance(n[0],n[1]):1},getRotation:function(n,t){return n.length>=2&&t.length>=2?this.getAngle(t[1],t[0])-this.getAngle(n[1],n[0]):0},isVertical:function(n){return n==i.DIRECTION_UP||n==i.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(n,t){var i,f=["webkit","khtml","moz","ms","o",""],r,u;if(t&&n.style){for(r=0;f.length>r;r++)for(u in t)t.hasOwnProperty(u)&&(i=u,f[r]&&(i=f[r]+i.substring(0,1).toUpperCase()+i.substring(1)),n.style[i]=t[u]);"none"==t.userSelect&&(n.onselectstart=function(){return!1})}}};i.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(n,t){this.current||(this.stopped=!1,this.current={inst:n,startEvent:i.utils.extend({},t),lastEvent:!1,name:""},this.detect(t))},detect:function(n){var t;if(this.current&&!this.stopped){n=this.extendEventData(n);for(var u=this.current.inst.options,r=0,f=this.gestures.length;f>r;r++)if(t=this.gestures[r],!this.stopped&&u[t.name]!==!1&&t.handler.call(t,n,this.current.inst)===!1){this.stopDetect();break}return this.current&&(this.current.lastEvent=n),n.eventType==i.EVENT_END&&!n.touches.length-1&&this.stopDetect(),n}},stopDetect:function(){this.previous=i.utils.extend({},this.current);this.current=null;this.stopped=!0},extendEventData:function(n){var t=this.current.startEvent,r,u;if(t&&(n.touches.length!=t.touches.length||n.touches===t.touches))for(t.touches=[],r=0,u=n.touches.length;u>r;r++)t.touches.push(i.utils.extend({},n.touches[r]));var f=n.timeStamp-t.timeStamp,e=n.center.pageX-t.center.pageX,o=n.center.pageY-t.center.pageY,s=i.utils.getVelocity(f,e,o);return i.utils.extend(n,{deltaTime:f,deltaX:e,deltaY:o,velocityX:s.x,velocityY:s.y,distance:i.utils.getDistance(t.center,n.center),angle:i.utils.getAngle(t.center,n.center),direction:i.utils.getDirection(t.center,n.center),scale:i.utils.getScale(t.touches,n.touches),rotation:i.utils.getRotation(t.touches,n.touches),startEvent:t}),n},register:function(n){var r=n.defaults||{};return r[n.name]===t&&(r[n.name]=!0),i.utils.extend(i.defaults,r,!0),n.index=n.index||1e3,this.gestures.push(n),this.gestures.sort(function(n,t){return n.index<t.index?-1:n.index>t.index?1:0}),this.gestures}};i.gestures=i.gestures||{};i.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(n,t){switch(n.eventType){case i.EVENT_START:clearTimeout(this.timer);i.detection.current.name=this.name;this.timer=setTimeout(function(){"hold"==i.detection.current.name&&t.trigger("hold",n)},t.options.hold_timeout);break;case i.EVENT_MOVE:n.distance>t.options.hold_threshold&&clearTimeout(this.timer);break;case i.EVENT_END:clearTimeout(this.timer)}}};i.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(n,t){if(n.eventType==i.EVENT_END){var r=i.detection.previous,u=!1;if(n.deltaTime>t.options.tap_max_touchtime||n.distance>t.options.tap_max_distance)return;r&&"tap"==r.name&&n.timeStamp-r.lastEvent.timeStamp<t.options.doubletap_interval&&n.distance<t.options.doubletap_distance&&(t.trigger("doubletap",n),u=!0);(!u||t.options.tap_always)&&(i.detection.current.name="tap",t.trigger(i.detection.current.name,n))}}};i.gestures.Swipe={name:"swipe",index:40,defaults:{swipe_max_touches:1,swipe_velocity:.7},handler:function(n,t){if(n.eventType==i.EVENT_END){if(t.options.swipe_max_touches>0&&n.touches.length>t.options.swipe_max_touches)return;(n.velocityX>t.options.swipe_velocity||n.velocityY>t.options.swipe_velocity)&&(t.trigger(this.name,n),t.trigger(this.name+n.direction,n))}}};i.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,drag_max_touches:1,drag_block_horizontal:!1,drag_block_vertical:!1,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(n,r){if(i.detection.current.name!=this.name&&this.triggered)return r.trigger(this.name+"end",n),this.triggered=!1,t;if(!(r.options.drag_max_touches>0&&n.touches.length>r.options.drag_max_touches))switch(n.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:if(n.distance<r.options.drag_min_distance&&i.detection.current.name!=this.name)return;i.detection.current.name=this.name;(i.detection.current.lastEvent.drag_locked_to_axis||r.options.drag_lock_to_axis&&r.options.drag_lock_min_distance<=n.distance)&&(n.drag_locked_to_axis=!0);var u=i.detection.current.lastEvent.direction;n.drag_locked_to_axis&&u!==n.direction&&(n.direction=i.utils.isVertical(u)?0>n.deltaY?i.DIRECTION_UP:i.DIRECTION_DOWN:0>n.deltaX?i.DIRECTION_LEFT:i.DIRECTION_RIGHT);this.triggered||(r.trigger(this.name+"start",n),this.triggered=!0);r.trigger(this.name,n);r.trigger(this.name+n.direction,n);(r.options.drag_block_vertical&&i.utils.isVertical(n.direction)||r.options.drag_block_horizontal&&!i.utils.isVertical(n.direction))&&n.preventDefault();break;case i.EVENT_END:this.triggered&&r.trigger(this.name+"end",n);this.triggered=!1}}};i.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(n,r){if(i.detection.current.name!=this.name&&this.triggered)return r.trigger(this.name+"end",n),this.triggered=!1,t;if(!(2>n.touches.length))switch(r.options.transform_always_block&&n.preventDefault(),n.eventType){case i.EVENT_START:this.triggered=!1;break;case i.EVENT_MOVE:var u=Math.abs(1-n.scale),f=Math.abs(n.rotation);if(r.options.transform_min_scale>u&&r.options.transform_min_rotation>f)return;i.detection.current.name=this.name;this.triggered||(r.trigger(this.name+"start",n),this.triggered=!0);r.trigger(this.name,n);f>r.options.transform_min_rotation&&r.trigger("rotate",n);u>r.options.transform_min_scale&&(r.trigger("pinch",n),r.trigger("pinch"+(1>n.scale?"in":"out"),n));break;case i.EVENT_END:this.triggered&&r.trigger(this.name+"end",n);this.triggered=!1}}};i.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(n,r){return r.options.prevent_mouseevents&&n.pointerType==i.POINTER_MOUSE?(n.stopDetect(),t):(r.options.prevent_default&&n.preventDefault(),n.eventType==i.EVENT_START&&r.trigger(this.name,n),t)}};i.gestures.Release={name:"release",index:1/0,handler:function(n,t){n.eventType==i.EVENT_END&&t.trigger(this.name,n)}};"object"==typeof module&&"object"==typeof module.exports?module.exports=i:(n.Hammer=i,"function"==typeof n.define&&n.define.amd&&n.define("hammer",[],function(){return i}))}(this),function(n,t){"use strict";n!==t&&(Hammer.event.bindDom=function(i,r,u){n(i).on(r,function(n){var i=n.originalEvent||n;i.pageX===t&&(i.pageX=n.pageX,i.pageY=n.pageY);i.target||(i.target=n.target);i.which===t&&(i.which=i.button);i.preventDefault||(i.preventDefault=n.preventDefault);i.stopPropagation||(i.stopPropagation=n.stopPropagation);u.call(this,i)})},Hammer.Instance.prototype.on=function(t,i){return n(this.element).on(t,i)},Hammer.Instance.prototype.off=function(t,i){return n(this.element).off(t,i)},Hammer.Instance.prototype.trigger=function(t,i){var r=n(this.element);return r.has(i.target).length&&(r=n(i.target)),r.trigger({type:t,gesture:i})},n.fn.hammer=function(t){return this.each(function(){var r=n(this),i=r.data("hammer");i?i&&t&&Hammer.utils.extend(i.options,t):r.data("hammer",new Hammer(this,t||{}))})})}(window.jQuery||window.Zepto));typeof console=="undefined"&&(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(){});console.groupCollapsed("ThemePunch GreenSocks Logs");oldgs=window.GreenSockGlobals;oldgs_queue=window._gsQueue;punchgs=window.GreenSockGlobals={};console.info("Build GreenSock SandBox for ThemePunch Plugins");console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin"),function(n){"use strict";var et=n.GreenSockGlobals||n,ct,o,at,rt,h;if(!et.TweenLite){var u,f,t,r,s,bt=function(n){for(var r=n.split("."),i=et,t=0;r.length>t;t++)i[r[t]]=i=i[r[t]]||{};return i},a=bt("com.greensock"),e=1e-10,kt=[].slice,dt=function(){},k=function(){var n=Object.prototype.toString,t=n.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&n.call(i)===t)}}(),d={},gt=function(t,i,r,u){this.sc=d[t]?d[t].sc:[];d[t]=this;this.gsClass=null;this.func=r;var f=[];this.check=function(e){for(var h,c,l,s,o=i.length,a=o;--o>-1;)(h=d[i[o]]||new gt(i[o],[])).gsClass?(f[o]=h.gsClass,a--):e&&h.sc.push(this);if(0===a&&r)for(c=("com.greensock."+t).split("."),l=c.pop(),s=bt(c.join("."))[l]=this.gsClass=r.apply(r,f),u&&(et[l]=s,"function"==typeof define&&define.amd?define((n.GreenSockAMDPath?n.GreenSockAMDPath+"/":"")+t.split(".").join("/"),[],function(){return s}):"undefined"!=typeof module&&module.exports&&(module.exports=s)),o=0;this.sc.length>o;o++)this.sc[o].check()};this.check(!0)},ot=n._gsDefine=function(n,t,i,r){return new gt(n,t,i,r)},c=a._class=function(n,t,i){return t=t||function(){},ot(n,[],function(){return t},i),t};ot.globals=et;var ni=[0,0,1,1],st=[],l=c("easing.Ease",function(n,t,i,r){this._func=n;this._type=i||0;this._power=r||0;this._params=t?ni.concat(t):ni},!0),g=l.map={},ht=l.register=function(n,t,i,r){for(var o,u,e,f,s=t.split(","),h=s.length,l=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(u=s[h],o=r?c("easing."+u,null,!0):a.easing[u]||{},e=l.length;--e>-1;)f=l[e],g[u+"."+f]=g[f+u]=o[f]=n.getRatio?n:n[f]||new n};for(t=l.prototype,t._calcEnd=!1,t.getRatio=function(n){if(this._func)return this._params[0]=n,this._func.apply(null,this._params);var i=this._type,r=this._power,t=1===i?1-n:2===i?n:.5>n?2*n:2*(1-n);return 1===r?t*=t:2===r?t*=t*t:3===r?t*=t*t*t:4===r&&(t*=t*t*t*t),1===i?1-t:2===i?t:.5>n?t/2:1-t/2},u=["Linear","Quad","Cubic","Quart","Quint,Strong"],f=u.length;--f>-1;)t=u[f]+",Power"+f,ht(new l(null,null,1,f),t,"easeOut",!0),ht(new l(null,null,2,f),t,"easeIn"+(0===f?",easeNone":"")),ht(new l(null,null,3,f),t,"easeInOut");g.linear=a.easing.Linear.easeIn;g.swing=a.easing.Quad.easeInOut;ct=c("events.EventDispatcher",function(n){this._listeners={};this._eventTarget=n||this});t=ct.prototype;t.addEventListener=function(n,t,i,u,f){f=f||0;var h,o,e=this._listeners[n],c=0;for(null==e&&(this._listeners[n]=e=[]),o=e.length;--o>-1;)h=e[o],h.c===t&&h.s===i?e.splice(o,1):0===c&&f>h.pr&&(c=o+1);e.splice(c,0,{c:t,s:i,up:u,pr:f});this!==r||s||r.wake()};t.removeEventListener=function(n,t){var i,r=this._listeners[n];if(r)for(i=r.length;--i>-1;)if(r[i].c===t)return r.splice(i,1),void 0};t.dispatchEvent=function(n){var r,i,t,u=this._listeners[n];if(u)for(r=u.length,i=this._eventTarget;--r>-1;)t=u[r],t.up?t.c.call(t.s||i,{type:n,target:i}):t.c.call(t.s||i)};var nt=n.requestAnimationFrame,lt=n.cancelAnimationFrame,tt=Date.now||function(){return(new Date).getTime()},it=tt();for(u=["ms","moz","webkit","o"],f=u.length;--f>-1&&!nt;)nt=n[u[f]+"RequestAnimationFrame"],lt=n[u[f]+"CancelAnimationFrame"]||n[u[f]+"CancelRequestAnimationFrame"];c("Ticker",function(n,t){var f,a,u,h,c,i=this,y=tt(),o=t!==!1&&nt,l=500,p=33,v=function(n){var t,e,r=tt()-it;r>l&&(y+=r-p);it+=r;i.time=(it-y)/1e3;t=i.time-c;(!f||t>0||n===!0)&&(i.frame++,c+=t+(t>=h?.004:h-t),e=!0);n!==!0&&(u=a(v));e&&i.dispatchEvent("tick")};ct.call(i);i.time=i.frame=0;i.tick=function(){v(!0)};i.lagSmoothing=function(n,t){l=n||1/e;p=Math.min(t,l,0)};i.sleep=function(){null!=u&&(o&&lt?lt(u):clearTimeout(u),a=dt,u=null,i===r&&(s=!1))};i.wake=function(){null!==u?i.sleep():i.frame>10&&(it=tt()-l+5);a=0===f?dt:o&&nt?nt:function(n){return setTimeout(n,0|1e3*(c-i.time)+1)};i===r&&(s=!0);v(2)};i.fps=function(n){return arguments.length?(f=n,h=1/(f||60),c=this.time+h,i.wake(),void 0):f};i.useRAF=function(n){return arguments.length?(i.sleep(),o=n,i.fps(f),void 0):o};i.fps(n);setTimeout(function(){o&&(!u||5>i.frame)&&i.useRAF(!1)},1500)});t=a.Ticker.prototype=new a.events.EventDispatcher;t.constructor=a.Ticker;o=c("core.Animation",function(n,t){if(this.vars=t=t||{},this._duration=this._totalDuration=n||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=t.immediateRender===!0,this.data=t.data,this._reversed=t.reversed===!0,y){s||r.wake();var i=this.vars.useFrames?b:y;i.add(this,i._time);this.vars.paused&&this.paused(!0)}});r=o.ticker=new a.Ticker;t=o.prototype;t._dirty=t._gc=t._initted=t._paused=!1;t._totalTime=t._time=0;t._rawPrevTime=-1;t._next=t._last=t._onUpdate=t._timeline=t.timeline=null;t._paused=!1;at=function(){s&&tt()-it>2e3&&r.wake();setTimeout(at,2e3)};at();t.play=function(n,t){return null!=n&&this.seek(n,t),this.reversed(!1).paused(!1)};t.pause=function(n,t){return null!=n&&this.seek(n,t),this.paused(!0)};t.resume=function(n,t){return null!=n&&this.seek(n,t),this.paused(!1)};t.seek=function(n,t){return this.totalTime(Number(n),t!==!1)};t.restart=function(n,t){return this.reversed(!1).paused(!1).totalTime(n?-this._delay:0,t!==!1,!0)};t.reverse=function(n,t){return null!=n&&this.seek(n||this.totalDuration(),t),this.reversed(!0).paused(!1)};t.render=function(){};t.invalidate=function(){return this};t.isActive=function(){var t,n=this._timeline,i=this._startTime;return!n||!this._gc&&!this._paused&&n.isActive()&&(t=n.rawTime())>=i&&i+this.totalDuration()/this._timeScale>t};t._enabled=function(n,t){return s||r.wake(),this._gc=!n,this._active=this.isActive(),t!==!0&&(n&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!n&&this.timeline&&this._timeline._remove(this,!0)),!1};t._kill=function(){return this._enabled(!1,!1)};t.kill=function(n,t){return this._kill(n,t),this};t._uncache=function(n){for(var t=n?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this};t._swapSelfInParams=function(n){for(var t=n.length,i=n.concat();--t>-1;)"{self}"===n[t]&&(i[t]=this);return i};t.eventCallback=function(n,t,i,r){if("on"===(n||"").substr(0,2)){var u=this.vars;if(1===arguments.length)return u[n];null==t?delete u[n]:(u[n]=t,u[n+"Params"]=k(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,u[n+"Scope"]=r);"onUpdate"===n&&(this._onUpdate=t)}return this};t.delay=function(n){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+n-this._delay),this._delay=n,this):this._delay};t.duration=function(n){return arguments.length?(this._duration=this._totalDuration=n,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==n&&this.totalTime(this._totalTime*(n/this._duration),!0),this):(this._dirty=!1,this._duration)};t.totalDuration=function(n){return this._dirty=!1,arguments.length?this.duration(n):this._totalDuration};t.time=function(n,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(n>this._duration?this._duration:n,t)):this._time};t.totalTime=function(n,t,i){if(s||r.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>n&&!i&&(n+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var f=this._totalDuration,u=this._timeline;if(n>f&&!i&&(n=f),this._startTime=(this._paused?this._pauseTime:u._time)-(this._reversed?f-n:n)/this._timeScale,u._dirty||this._uncache(!1),u._timeline)for(;u._timeline;)u._timeline._time!==(u._startTime+u._totalTime)/u._timeScale&&u.totalTime(u._totalTime,!0),u=u._timeline}this._gc&&this._enabled(!0,!1);(this._totalTime!==n||0===this._duration)&&(this.render(n,t,!1),v.length&&ut())}return this};t.progress=t.totalProgress=function(n,t){return arguments.length?this.totalTime(this.duration()*n,t):this._time/this.duration()};t.startTime=function(n){return arguments.length?(n!==this._startTime&&(this._startTime=n,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,n-this._delay)),this):this._startTime};t.timeScale=function(n){if(!arguments.length)return this._timeScale;if(n=n||e,this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,i=t||0===t?t:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/n}return this._timeScale=n,this._uncache(!1)};t.reversed=function(n){return arguments.length?(n!=this._reversed&&(this._reversed=n,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed};t.paused=function(n){if(!arguments.length)return this._paused;if(n!=this._paused&&this._timeline){s||n||r.wake();var t=this._timeline,i=t.rawTime(),u=i-this._pauseTime;!n&&t.smoothChildTiming&&(this._startTime+=u,this._uncache(!1));this._pauseTime=n?i:null;this._paused=n;this._active=this.isActive();!n&&0!==u&&this._initted&&this.duration()&&this.render(t.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!n&&this._enabled(!0,!1),this};rt=c("core.SimpleTimeline",function(n){o.call(this,0,n);this.autoRemoveChildren=this.smoothChildTiming=!0});t=rt.prototype=new o;t.constructor=rt;t.kill()._gc=!1;t._first=t._last=null;t._sortChildren=!1;t.add=t.insert=function(n,t){var i,r;if(n._startTime=Number(t||0)+n._delay,n._paused&&this!==n._timeline&&(n._pauseTime=n._startTime+(this.rawTime()-n._startTime)/n._timeScale),n.timeline&&n.timeline._remove(n,!0),n.timeline=n._timeline=this,n._gc&&n._enabled(!0,!0),i=this._last,this._sortChildren)for(r=n._startTime;i&&i._startTime>r;)i=i._prev;return i?(n._next=i._next,i._next=n):(n._next=this._first,this._first=n),n._next?n._next._prev=n:this._last=n,n._prev=i,this._timeline&&this._uncache(!0),this};t._remove=function(n,t){return n.timeline===this&&(t||n._enabled(!1,!0),n.timeline=null,n._prev?n._prev._next=n._next:this._first===n&&(this._first=n._next),n._next?n._next._prev=n._prev:this._last===n&&(this._last=n._prev),this._timeline&&this._uncache(!0)),this};t.render=function(n,t,i){var u,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=n;r;)u=r._next,(r._active||n>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=u};t.rawTime=function(){return s||r.wake(),this._totalTime};var i=c("TweenLite",function(t,r,u){if(o.call(this,r,u),this.render=i.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:i.selector(t)||t;var s,f,h,l=t.jquery||t.length&&t!==n&&t[0]&&(t[0]===n||t[0].nodeType&&t[0].style&&!t.nodeType),c=this.vars.overwrite;if(this._overwrite=c=null==c?ii[i.defaultOverwrite]:"number"==typeof c?c>>0:ii[c],(l||t instanceof Array||t.push&&k(t))&&"number"!=typeof t[0])for(this._targets=h=kt.call(t,0),this._propLookup=[],this._siblings=[],s=0;h.length>s;s++)f=h[s],f?"string"!=typeof f?f.length&&f!==n&&f[0]&&(f[0]===n||f[0].nodeType&&f[0].style&&!f.nodeType)?(h.splice(s--,1),this._targets=h=h.concat(kt.call(f,0))):(this._siblings[s]=ft(f,this,!1),1===c&&this._siblings[s].length>1&&wt(f,this,null,1,this._siblings[s])):(f=h[s--]=i.selector(f),"string"==typeof f&&h.splice(s+1,1)):h.splice(s--,1);else this._propLookup={},this._siblings=ft(t,this,!1),1===c&&this._siblings.length>1&&wt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===r&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-e,this.render(-this._delay))},!0),vt=function(t){return t.length&&t!==n&&t[0]&&(t[0]===n||t[0].nodeType&&t[0].style&&!t.nodeType)},ui=function(n,t){var i,r={};for(i in n)pt[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!p[i]||p[i]&&p[i]._autoCSS)||(r[i]=n[i],delete n[i]);n.css=r};t=i.prototype=new o;t.constructor=i;t.kill()._gc=!1;t.ratio=0;t._firstPT=t._targets=t._overwrittenProps=t._startAt=null;t._notifyPluginsOfEnabled=t._lazy=!1;i.version="1.12.1";i.defaultEase=t._ease=new l(null,null,1,1);i.defaultOverwrite="auto";i.ticker=r;i.autoSleep=!0;i.lagSmoothing=function(n,t){r.lagSmoothing(n,t)};i.selector=n.$||n.jQuery||function(t){return n.$?(i.selector=n.$,n.$(t)):n.document?n.document.getElementById("#"===t.charAt(0)?t.substr(1):t):t};var v=[],yt={},ti=i._internals={isArray:k,isSelector:vt,lazyTweens:v},p=i._plugins={},w=ti.tweenLookup={},fi=0,pt=ti.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},ii={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},b=o._rootFramesTimeline=new rt,y=o._rootTimeline=new rt,ut=function(){var n=v.length;for(yt={};--n>-1;)u=v[n],u&&u._lazy!==!1&&(u.render(u._lazy,!1,!0),u._lazy=!1);v.length=0};y._startTime=r.time;b._startTime=r.frame;y._active=b._active=!0;setTimeout(ut,1);o._updateRoot=i.render=function(){var u,t,n;if(v.length&&ut(),y.render((r.time-y._startTime)*y._timeScale,!1,!1),b.render((r.frame-b._startTime)*b._timeScale,!1,!1),v.length&&ut(),!(r.frame%120)){for(n in w){for(t=w[n].tweens,u=t.length;--u>-1;)t[u]._gc&&t.splice(u,1);0===t.length&&delete w[n]}if(n=y._first,(!n||n._paused)&&i.autoSleep&&!b._first&&1===r._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||r.sleep()}}};r.addEventListener("tick",o._updateRoot);var ft=function(n,t,i){var r,f,u=n._gsTweenID;if(w[u||(n._gsTweenID=u="t"+fi++)]||(w[u]={target:n,tweens:[]}),t&&(r=w[u].tweens,r[f=r.length]=t,i))for(;--f>-1;)r[f]===t&&r.splice(f,1);return w[u].tweens},wt=function(n,t,i,r,u){var o,s,f,y;if(1===r||r>=4){for(y=u.length,o=0;y>o;o++)if((f=u[o])!==t)f._gc||f._enabled(!1,!1)&&(s=!0);else if(5===r)break;return s}var h,c=t._startTime+e,l=[],a=0,v=0===t._duration;for(o=u.length;--o>-1;)(f=u[o])===t||f._gc||f._paused||(f._timeline!==t._timeline?(h=h||ri(t,0,v),0===ri(f,h,v)&&(l[a++]=f)):c>=f._startTime&&f._startTime+f.totalDuration()/f._timeScale>c&&((v||!f._initted)&&2e-10>=c-f._startTime||(l[a++]=f)));for(o=a;--o>-1;)f=l[o],2===r&&f._kill(i,n)&&(s=!0),(2!==r||!f._firstPT&&f._initted)&&f._enabled(!1,!1)&&(s=!0);return s},ri=function(n,t,i){for(var u=n._timeline,f=u._timeScale,r=n._startTime;u._timeline;){if(r+=u._startTime,f*=u._timeScale,u._paused)return-100;u=u._timeline}return r/=f,r>t?r-t:i&&r===t||!n._initted&&2*e>r-t?e:(r+=n.totalDuration()/n._timeScale/f)>t+e?0:r-t-e};if(t._init=function(){var e,h,n,r,u,t=this.vars,s=this._overwrittenProps,c=this._duration,o=!!t.immediateRender,f=t.ease;if(t.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill());u={};for(r in t.startAt)u[r]=t.startAt[r];if(u.overwrite=!1,u.immediateRender=!0,u.lazy=o&&t.lazy!==!1,u.startAt=u.delay=null,this._startAt=i.to(this.target,0,u),o)if(this._time>0)this._startAt=null;else if(0!==c)return}else if(t.runBackwards&&0!==c)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{n={};for(r in t)pt[r]&&"autoCSS"!==r||(n[r]=t[r]);if(n.overwrite=0,n.data="isFromStart",n.lazy=o&&t.lazy!==!1,n.immediateRender=o,this._startAt=i.to(this.target,0,n),o){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1)}if(this._ease=f?f instanceof l?t.easeParams instanceof Array?f.config.apply(f,t.easeParams):f:"function"==typeof f?new l(f,t.easeParams):g[f]||i.defaultEase:i.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length;--e>-1;)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],s?s[e]:null)&&(h=!0);else h=this._initProps(this.target,this._propLookup,this._siblings,s);if(h&&i._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),t.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=t.onUpdate;this._initted=!0},t._initProps=function(t,i,r,u){var f,h,c,s,o,e;if(null==t)return!1;yt[t._gsTweenID]&&ut();this.vars.css||t.style&&t!==n&&t.nodeType&&p.css&&this.vars.autoCSS!==!1&&ui(this.vars,t);for(f in this.vars){if(e=this.vars[f],pt[f])e&&(e instanceof Array||e.push&&k(e))&&-1!==e.join("").indexOf("{self}")&&(this.vars[f]=e=this._swapSelfInParams(e,this));else if(p[f]&&(s=new p[f])._onInitTween(t,this.vars[f],this)){for(this._firstPT=o={_next:this._firstPT,t:s,p:"setRatio",s:0,c:1,f:!0,n:f,pg:!0,pr:s._priority},h=s._overwriteProps.length;--h>-1;)i[s._overwriteProps[h]]=this._firstPT;(s._priority||s._onInitAllProps)&&(c=!0);(s._onDisable||s._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=i[f]=o={_next:this._firstPT,t:t,p:f,f:"function"==typeof t[f],n:f,pg:!1,pr:0},o.s=o.f?t[f.indexOf("set")||"function"!=typeof t["get"+f.substr(3)]?f:"get"+f.substr(3)]():parseFloat(t[f]),o.c="string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*Number(e.substr(2)):Number(e)-o.s||0;o&&o._next&&(o._next._prev=o)}return u&&this._kill(u,t)?this._initProps(t,i,r,u):this._overwrite>1&&this._firstPT&&r.length>1&&wt(t,this,i,this._overwrite,r)?(this._kill(i,t),this._initProps(t,i,r,u)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(yt[t._gsTweenID]=!0),c)},t.render=function(n,t,i){var h,o,u,y,c=this._time,f=this._duration,s=this._rawPrevTime;if(n>=f)this._totalTime=this._time=f,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(h=!0,o="onComplete"),0===f&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(n=0),(0===n||0>s||s===e)&&s!==n&&(i=!0,s>e&&(o="onReverseComplete")),this._rawPrevTime=y=!t||n||s===n?n:e);else if(1e-7>n)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==c||0===f&&s>0&&s!==e)&&(o="onReverseComplete",h=this._reversed),0>n?(this._active=!1,0===f&&(this._initted||!this.vars.lazy||i)&&(s>=0&&(i=!0),this._rawPrevTime=y=!t||n||s===n?n:e)):this._initted||(i=!0);else if(this._totalTime=this._time=n,this._easeType){var r=n/f,l=this._easeType,a=this._easePower;(1===l||3===l&&r>=.5)&&(r=1-r);3===l&&(r*=2);1===a?r*=r:2===a?r*=r*r:3===a?r*=r*r*r:4===a&&(r*=r*r*r*r);this.ratio=1===l?1-r:2===l?r:.5>n/f?r/2:1-r/2}else this.ratio=this._ease.getRatio(n/f);if(this._time!==c||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=c,this._rawPrevTime=s,v.push(this),this._lazy=n,void 0;this._time&&!h?this.ratio=this._ease.getRatio(this._time/f):h&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==c&&n>=0&&(this._active=!0),0===c&&(this._startAt&&(n>=0?this._startAt.render(n,t,i):o||(o="_dummyGS")),this.vars.onStart&&(0!==this._time||0===f)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||st))),u=this._firstPT;u;)u.f?u.t[u.p](u.c*this.ratio+u.s):u.t[u.p]=u.c*this.ratio+u.s,u=u._next;this._onUpdate&&(0>n&&this._startAt&&this._startTime&&this._startAt.render(n,t,i),t||(this._time!==c||h)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||st));o&&(this._gc||(0>n&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(n,t,i),h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[o]&&this.vars[o].apply(this.vars[o+"Scope"]||this,this.vars[o+"Params"]||st),0===f&&this._rawPrevTime===e&&y!==e&&(this._rawPrevTime=0)))}},t._kill=function(n,t){if("all"===n&&(n=null),null==n&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:i.selector(t)||t;var u,e,o,r,f,s,h,c;if((k(t)||vt(t))&&"number"!=typeof t[0])for(u=t.length;--u>-1;)this._kill(n,t[u])&&(s=!0);else{if(this._targets){for(u=this._targets.length;--u>-1;)if(t===this._targets[u]){f=this._propLookup[u]||{};this._overwrittenProps=this._overwrittenProps||[];e=this._overwrittenProps[u]=n?this._overwrittenProps[u]||{}:"all";break}}else{if(t!==this.target)return!1;f=this._propLookup;e=this._overwrittenProps=n?this._overwrittenProps||{}:"all"}if(f){h=n||f;c=n!==e&&"all"!==e&&n!==f&&("object"!=typeof n||!n._tempKill);for(o in h)(r=f[o])&&(r.pg&&r.t._kill(h)&&(s=!0),r.pg&&0!==r.t._overwriteProps.length||(r._prev?r._prev._next=r._next:r===this._firstPT&&(this._firstPT=r._next),r._next&&(r._next._prev=r._prev),r._next=r._prev=null),delete f[o]),c&&(e[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return s},t.invalidate=function(){return this._notifyPluginsOfEnabled&&i._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=this._lazy=!1,this._propLookup=this._targets?{}:[],this},t._enabled=function(n,t){if(s||r.wake(),n&&this._gc){var u,f=this._targets;if(f)for(u=f.length;--u>-1;)this._siblings[u]=ft(f[u],this,!0);else this._siblings=ft(this.target,this,!0)}return o.prototype._enabled.call(this,n,t),this._notifyPluginsOfEnabled&&this._firstPT?i._onPluginEvent(n?"_onEnable":"_onDisable",this):!1},i.to=function(n,t,r){return new i(n,t,r)},i.from=function(n,t,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new i(n,t,r)},i.fromTo=function(n,t,r,u){return u.startAt=r,u.immediateRender=0!=u.immediateRender&&0!=r.immediateRender,new i(n,t,u)},i.delayedCall=function(n,t,r,u,f){return new i(t,0,{delay:n,onComplete:t,onCompleteParams:r,onCompleteScope:u,onReverseComplete:t,onReverseCompleteParams:r,onReverseCompleteScope:u,immediateRender:!1,useFrames:f,overwrite:0})},i.set=function(n,t){return new i(n,0,t)},i.getTweensOf=function(n,t){if(null==n)return[];n="string"!=typeof n?n:i.selector(n)||n;var r,u,f,e;if((k(n)||vt(n))&&"number"!=typeof n[0]){for(r=n.length,u=[];--r>-1;)u=u.concat(i.getTweensOf(n[r],t));for(r=u.length;--r>-1;)for(e=u[r],f=r;--f>-1;)e===u[f]&&u.splice(r,1)}else for(u=ft(n).concat(),r=u.length;--r>-1;)(u[r]._gc||t&&!u[r].isActive())&&u.splice(r,1);return u},i.killTweensOf=i.killDelayedCallsTo=function(n,t,r){"object"==typeof t&&(r=t,t=!1);for(var u=i.getTweensOf(n,t),f=u.length;--f>-1;)u[f]._kill(r,n)},h=c("plugins.TweenPlugin",function(n,t){this._overwriteProps=(n||"").split(",");this._propName=this._overwriteProps[0];this._priority=t||0;this._super=h.prototype},!0),t=h.prototype,h.version="1.10.1",h.API=2,t._firstPT=null,t._addTween=function(n,t,i,r,u,f){var o,e;if(null!=r&&(o="number"==typeof r||"="!==r.charAt(1)?Number(r)-i:parseInt(r.charAt(0)+"1",10)*Number(r.substr(2))))return(this._firstPT=e={_next:this._firstPT,t:n,p:t,s:i,c:o,f:"function"==typeof n[t],n:u||t,r:f},e._next&&(e._next._prev=e),e)},t.setRatio=function(n){for(var i,t=this._firstPT,r=1e-6;t;)i=t.c*n+t.s,t.r?i=Math.round(i):r>i&&i>-r&&(i=0),t.f?t.t[t.p](i):t.t[t.p]=i,t=t._next},t._kill=function(n){var i,r=this._overwriteProps,t=this._firstPT;if(null!=n[this._propName])this._overwriteProps=[];else for(i=r.length;--i>-1;)null!=n[r[i]]&&r.splice(i,1);for(;t;)null!=n[t.n]&&(t._next&&(t._next._prev=t._prev),t._prev?(t._prev._next=t._next,t._prev=null):this._firstPT===t&&(this._firstPT=t._next)),t=t._next;return!1},t._roundProps=function(n,t){for(var i=this._firstPT;i;)(n[this._propName]||null!=i.n&&n[i.n.split(this._propName+"_").join("")])&&(i.r=t),i=i._next},i._onPluginEvent=function(n,t){var f,r,u,e,o,i=t._firstPT;if("_onInitAllProps"===n){for(;i;){for(o=i._next,r=u;r&&r.pr>i.pr;)r=r._next;(i._prev=r?r._prev:e)?i._prev._next=i:u=i;(i._next=r)?r._prev=i:e=i;i=o}i=t._firstPT=u}for(;i;)i.pg&&"function"==typeof i.t[n]&&i.t[n]()&&(f=!0),i=i._next;return f},h.activate=function(n){for(var t=n.length;--t>-1;)n[t].API===h.API&&(p[(new n[t])._propName]=n[t]);return!0},ot.plugin=function(n){if(!(n&&n.propName&&n.init&&n.API))throw"illegal plugin definition.";var i,r=n.propName,e=n.priority||0,o=n.overwriteProps,u={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},t=c("plugins."+r.charAt(0).toUpperCase()+r.substr(1)+"Plugin",function(){h.call(this,r,e);this._overwriteProps=o||[]},n.global===!0),f=t.prototype=new h(r);f.constructor=t;t.API=n.API;for(i in u)"function"==typeof n[i]&&(f[u[i]]=n[i]);return t.version=n.version,h.activate([t]),t},u=n._gsQueue){for(f=0;u.length>f;f++)u[f]();for(t in d)d[t].func||n.console.log("GSAP encountered missing dependency: com.greensock."+t)}s=!1}}(window);(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,t,i){var u=function(n){t.call(this,n);this._labels={};this.autoRemoveChildren=this.vars.autoRemoveChildren===!0;this.smoothChildTiming=this.vars.smoothChildTiming===!0;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;var r,u,i=this.vars;for(u in i)r=i[u],f(r)&&-1!==r.join("").indexOf("{self}")&&(i[u]=this._swapSelfInParams(r));f(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},e=1e-10,c=i._internals.isSelector,f=i._internals.isArray,o=[],s=window._gsDefine.globals,h=function(n){var t,i={};for(t in n)i[t]=n[t];return i},l=function(n,t,i,r){n._timeline.pause(n._startTime);t&&t.apply(r||n._timeline,i||o)},a=o.slice,r=u.prototype=new t;return u.version="1.12.1",r.constructor=u,r.kill()._gc=!1,r.to=function(n,t,r,u){var f=r.repeat&&s.TweenMax||i;return t?this.add(new f(n,t,r),u):this.set(n,r,u)},r.from=function(n,t,r,u){return this.add((r.repeat&&s.TweenMax||i).from(n,t,r),u)},r.fromTo=function(n,t,r,u,f){var e=u.repeat&&s.TweenMax||i;return t?this.add(e.fromTo(n,t,r,u),f):this.set(n,u,f)},r.staggerTo=function(n,t,r,f,e,o,s,l){var v,y=new u({onComplete:o,onCompleteParams:s,onCompleteScope:l,smoothChildTiming:this.smoothChildTiming});for("string"==typeof n&&(n=i.selector(n)||n),c(n)&&(n=a.call(n,0)),f=f||0,v=0;n.length>v;v++)r.startAt&&(r.startAt=h(r.startAt)),y.to(n[v],t,h(r),v*f);return this.add(y,e)},r.staggerFrom=function(n,t,i,r,u,f,e,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(n,t,i,r,u,f,e,o)},r.staggerFromTo=function(n,t,i,r,u,f,e,o,s){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(n,t,r,u,f,e,o,s)},r.call=function(n,t,r,u){return this.add(i.delayedCall(0,n,t,r),u)},r.set=function(n,t,r){return r=this._parseTimeOrLabel(r,0,!0),null==t.immediateRender&&(t.immediateRender=r===this._time&&!this._paused),this.add(new i(n,0,t),r)},u.exportRoot=function(n,t){n=n||{};null==n.smoothChildTiming&&(n.smoothChildTiming=!0);var r,o,f=new u(n),e=f._timeline;for(null==t&&(t=!0),e._remove(f,!0),f._startTime=0,f._rawPrevTime=f._time=f._totalTime=e._time,r=e._first;r;)o=r._next,t&&r instanceof i&&r.target===r.vars.onComplete||f.add(r,r._startTime-r._delay),r=o;return e.add(f,0),f},r.add=function(r,e,o,s){var l,v,a,h,c,y;if("number"!=typeof e&&(e=this._parseTimeOrLabel(e,0,!0,r)),!(r instanceof n)){if(r instanceof Array||r&&r.push&&f(r)){for(o=o||"normal",s=s||0,l=e,v=r.length,a=0;v>a;a++)f(h=r[a])&&(h=new u({tweens:h})),this.add(h,l),"string"!=typeof h&&"function"!=typeof h&&("sequence"===o?l=h._startTime+h.totalDuration()/h._timeScale:"start"===o&&(h._startTime-=h.delay())),l+=s;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,e);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(t.prototype.add.call(this,r,e),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(c=this,y=c.rawTime()>r._startTime;c._timeline;)y&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},r.remove=function(t){if(t instanceof n)return this._remove(t,!1);if(t instanceof Array||t&&t.push&&f(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},r._remove=function(n,i){t.prototype._remove.call(this,n,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},r.append=function(n,t){return this.add(n,this._parseTimeOrLabel(null,t,!0,n))},r.insert=r.insertMultiple=function(n,t,i,r){return this.add(n,t||0,i,r)},r.appendMultiple=function(n,t,i,r){return this.add(n,this._parseTimeOrLabel(null,t,!0,n),i,r)},r.addLabel=function(n,t){return this._labels[n]=this._parseTimeOrLabel(t),this},r.addPause=function(n,t,i,r){return this.call(l,["{self}",t,i,r],this,n)},r.removeLabel=function(n){return delete this._labels[n],this},r.getLabelTime=function(n){return null!=this._labels[n]?this._labels[n]:-1},r._parseTimeOrLabel=function(t,i,r,u){var e;if(u instanceof n&&u.timeline===this)this.remove(u);else if(u&&(u instanceof Array||u.push&&f(u)))for(e=u.length;--e>-1;)u[e]instanceof n&&u[e].timeline===this&&this.remove(u[e]);if("string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof t&&null==this._labels[i]?t-this.duration():0,r);if(i=i||0,"string"==typeof t&&(isNaN(t)||null!=this._labels[t])){if(e=t.indexOf("="),-1===e)return null==this._labels[t]?r?this._labels[t]=this.duration()+i:i:this._labels[t]+i;i=parseInt(t.charAt(e-1)+"1",10)*Number(t.substr(e+1));t=e>1?this._parseTimeOrLabel(t.substr(0,e-1),0,r):this.duration()}else null==t&&(t=this.duration());return Number(t)+i},r.seek=function(n,t){return this.totalTime("number"==typeof n?n:this._parseTimeOrLabel(n),t!==!1)},r.stop=function(){return this.paused(!0)},r.gotoAndPlay=function(n,t){return this.play(n,t)},r.gotoAndStop=function(n,t){return this.pause(n,t)},r.render=function(n,t,i){this._gc&&this._enabled(!0,!1);var r,l,s,u,h,c=this._dirty?this.totalDuration():this._totalDuration,f=this._time,v=this._startTime,y=this._timeScale,a=this._paused;if(n>=c?(this._totalTime=this._time=c,this._reversed||this._hasPausedChild()||(l=!0,u="onComplete",0===this._duration&&(0===n||0>this._rawPrevTime||this._rawPrevTime===e)&&this._rawPrevTime!==n&&this._first&&(h=!0,this._rawPrevTime>e&&(u="onReverseComplete"))),this._rawPrevTime=this._duration||!t||n||this._rawPrevTime===n?n:e,n=c+.0001):1e-7>n?(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==e&&(this._rawPrevTime>0||0>n&&this._rawPrevTime>=0))&&(u="onReverseComplete",l=this._reversed),0>n?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=n):(this._rawPrevTime=this._duration||!t||n||this._rawPrevTime===n?n:e,n=0,this._initted||(h=!0))):this._totalTime=this._time=this._rawPrevTime=n,this._time!==f&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&n>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||o)),this._time>=f)for(r=this._first;r&&(s=r._next,!this._paused||a);)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=s;else for(r=this._last;r&&(s=r._prev,!this._paused||a);)(r._active||f>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(n-r._startTime)*r._timeScale,t,i):r.render((n-r._startTime)*r._timeScale,t,i)),r=s;this._onUpdate&&(t||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||o));u&&(this._gc||(v===this._startTime||y!==this._timeScale)&&(0===this._time||c>=this.totalDuration())&&(l&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[u]&&this.vars[u].apply(this.vars[u+"Scope"]||this,this.vars[u+"Params"]||o)))}},r._hasPausedChild=function(){for(var n=this._first;n;){if(n._paused||n instanceof u&&n._hasPausedChild())return!0;n=n._next}return!1},r.getChildren=function(n,t,r,u){u=u||-9999999999;for(var e=[],f=this._first,o=0;f;)u>f._startTime||(f instanceof i?t!==!1&&(e[o++]=f):(r!==!1&&(e[o++]=f),n!==!1&&(e=e.concat(f.getChildren(!0,t,r)),o=e.length))),f=f._next;return e},r.getTweensOf=function(n,t){var r,u,f=this._gc,e=[],o=0;for(f&&this._enabled(!0,!0),r=i.getTweensOf(n),u=r.length;--u>-1;)(r[u].timeline===this||t&&this._contains(r[u]))&&(e[o++]=r[u]);return f&&this._enabled(!1,!0),e},r._contains=function(n){for(var t=n.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},r.shiftChildren=function(n,t,i){i=i||0;for(var u,r=this._first,f=this._labels;r;)r._startTime>=i&&(r._startTime+=n),r=r._next;if(t)for(u in f)f[u]>=i&&(f[u]+=n);return this._uncache(!0)},r._kill=function(n,t){if(!n&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),r=i.length,u=!1;--r>-1;)i[r]._kill(n,t)&&(u=!0);return u},r.clear=function(n){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;--i>-1;)t[i]._enabled(!1,!1);return n!==!1&&(this._labels={}),this._uncache(!0)},r.invalidate=function(){for(var n=this._first;n;)n.invalidate(),n=n._next;return this},r._enabled=function(n,i){if(n===this._gc)for(var r=this._first;r;)r._enabled(n,!0),r=r._next;return t.prototype._enabled.call(this,n,i)},r.duration=function(n){return arguments.length?(0!==this.duration()&&0!==n&&this.timeScale(this._duration/n),this):(this._dirty&&this.totalDuration(),this._duration)},r.totalDuration=function(n){if(!arguments.length){if(this._dirty){for(var f,r,i=0,t=this._last,u=999999999999;t;)f=t._prev,t._dirty&&t.totalDuration(),t._startTime>u&&this._sortChildren&&!t._paused?this.add(t,t._startTime-t._delay):u=t._startTime,0>t._startTime&&!t._paused&&(i-=t._startTime,this._timeline.smoothChildTiming&&(this._startTime+=t._startTime/this._timeScale),this.shiftChildren(-t._startTime,!1,-9999999999),u=0),r=t._startTime+t._totalDuration/t._timeScale,r>i&&(i=r),t=f;this._duration=this._totalDuration=i;this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==n&&this.timeScale(this._totalDuration/n),this},r.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===n._rootFramesTimeline},r.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},u},!0)});window._gsDefine&&window._gsQueue.pop()();(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("easing.Back",["easing.Ease"],function(n){var f,u,h,v=window.GreenSockGlobals||window,p=v.com.greensock,s=2*Math.PI,y=Math.PI/2,r=p._class,t=function(t,i){var u=r("easing."+t,function(){},!0),f=u.prototype=new n;return f.constructor=u,f.getRatio=i,u},c=n.register||function(){},e=function(n,t,i,u){var f=r("easing."+n,{easeOut:new t,easeIn:new i,easeInOut:new u},!0);return c(f,n),f},l=function(n,t,i){this.t=n;this.v=t;i&&(this.next=i,i.prev=this,this.c=i.v-t,this.gap=i.t-n)},a=function(t,i){var u=r("easing."+t,function(n){this._p1=n||0===n?n:1.70158;this._p2=1.525*this._p1},!0),f=u.prototype=new n;return f.constructor=u,f.getRatio=i,f.config=function(n){return new u(n)},u},w=e("Back",a("BackOut",function(n){return(n-=1)*n*((this._p1+1)*n+this._p1)+1}),a("BackIn",function(n){return n*n*((this._p1+1)*n-this._p1)}),a("BackInOut",function(n){return 1>(n*=2)?.5*n*n*((this._p2+1)*n-this._p2):.5*((n-=2)*n*((this._p2+1)*n+this._p2)+2)})),o=r("easing.SlowMo",function(n,t,i){t=t||0===t?t:.7;null==n?n=.7:n>1&&(n=1);this._p=1!==n?t:0;this._p1=(1-n)/2;this._p2=n;this._p3=this._p1+this._p2;this._calcEnd=i===!0},!0),i=o.prototype=new n;return i.constructor=o,i.getRatio=function(n){var t=n+(.5-n)*this._p;return this._p1>n?this._calcEnd?1-(n=1-n/this._p1)*n:t-(n=1-n/this._p1)*n*n*n*t:n>this._p3?this._calcEnd?1-(n=(n-this._p3)/this._p1)*n:t+(n-t)*(n=(n-this._p3)/this._p1)*n*n*n:this._calcEnd?1:t},o.ease=new o(.7,.7),i.config=o.config=function(n,t,i){return new o(n,t,i)},f=r("easing.SteppedEase",function(n){n=n||1;this._p1=1/n;this._p2=n+1},!0),i=f.prototype=new n,i.constructor=f,i.getRatio=function(n){return 0>n?n=0:n>=1&&(n=.999999999),(this._p2*n>>0)*this._p1},i.config=f.config=function(n){return new f(n)},u=r("easing.RoughEase",function(t){t=t||{};for(var i,r,u,f,h,e,c=t.taper||"none",a=[],w=0,v=0|(t.points||20),o=v,y=t.randomize!==!1,b=t.clamp===!0,p=t.template instanceof n?t.template:null,s="number"==typeof t.strength?.4*t.strength:.4;--o>-1;)i=y?Math.random():1/v*o,r=p?p.getRatio(i):i,"none"===c?u=s:"out"===c?(f=1-i,u=f*f*s):"in"===c?u=i*i*s:.5>i?(f=2*i,u=.5*f*f*s):(f=2*(1-i),u=.5*f*f*s),y?r+=Math.random()*u-.5*u:o%2?r+=.5*u:r-=.5*u,b&&(r>1?r=1:0>r&&(r=0)),a[w++]={x:i,y:r};for(a.sort(function(n,t){return n.x-t.x}),e=new l(1,1,null),o=v;--o>-1;)h=a[o],e=new l(h.x,h.y,e);this._prev=new l(0,0,0!==e.t?e:e.next)},!0),i=u.prototype=new n,i.constructor=u,i.getRatio=function(n){var t=this._prev;if(n>t.t){for(;t.next&&n>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&t.t>=n;)t=t.prev;return this._prev=t,t.v+(n-t.t)/t.gap*t.c},i.config=function(n){return new u(n)},u.ease=new u,e("Bounce",t("BounceOut",function(n){return 1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375}),t("BounceIn",function(n){return 1/2.75>(n=1-n)?1-7.5625*n*n:2/2.75>n?1-(7.5625*(n-=1.5/2.75)*n+.75):2.5/2.75>n?1-(7.5625*(n-=2.25/2.75)*n+.9375):1-(7.5625*(n-=2.625/2.75)*n+.984375)}),t("BounceInOut",function(n){var t=.5>n;return n=t?1-2*n:2*n-1,n=1/2.75>n?7.5625*n*n:2/2.75>n?7.5625*(n-=1.5/2.75)*n+.75:2.5/2.75>n?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375,t?.5*(1-n):.5*n+.5})),e("Circ",t("CircOut",function(n){return Math.sqrt(1-(n-=1)*n)}),t("CircIn",function(n){return-(Math.sqrt(1-n*n)-1)}),t("CircInOut",function(n){return 1>(n*=2)?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)})),h=function(t,i,u){var f=r("easing."+t,function(n,t){this._p1=n||1;this._p2=t||u;this._p3=this._p2/s*(Math.asin(1/this._p1)||0)},!0),e=f.prototype=new n;return e.constructor=f,e.getRatio=i,e.config=function(n,t){return new f(n,t)},f},e("Elastic",h("ElasticOut",function(n){return this._p1*Math.pow(2,-10*n)*Math.sin((n-this._p3)*s/this._p2)+1},.3),h("ElasticIn",function(n){return-(this._p1*Math.pow(2,10*(n-=1))*Math.sin((n-this._p3)*s/this._p2))},.3),h("ElasticInOut",function(n){return 1>(n*=2)?-.5*this._p1*Math.pow(2,10*(n-=1))*Math.sin((n-this._p3)*s/this._p2):.5*this._p1*Math.pow(2,-10*(n-=1))*Math.sin((n-this._p3)*s/this._p2)+1},.45)),e("Expo",t("ExpoOut",function(n){return 1-Math.pow(2,-10*n)}),t("ExpoIn",function(n){return Math.pow(2,10*(n-1))-.001}),t("ExpoInOut",function(n){return 1>(n*=2)?.5*Math.pow(2,10*(n-1)):.5*(2-Math.pow(2,-10*(n-1)))})),e("Sine",t("SineOut",function(n){return Math.sin(n*y)}),t("SineIn",function(n){return-Math.cos(n*y)+1}),t("SineInOut",function(n){return-.5*(Math.cos(Math.PI*n)-1)})),r("easing.EaseLookup",{find:function(t){return n.map[t]}},!0),c(v.SlowMo,"SlowMo","ease,"),c(u,"RoughEase","ease,"),c(f,"SteppedEase","ease,"),w},!0)});window._gsDefine&&window._gsQueue.pop()();(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n,t){var rt,lt,f,bt,e=function(){n.call(this,"css");this._overwriteProps.length=0;this.setRatio=e.prototype.setRatio},c={},i=e.prototype=new n("css"),hr,wt,cr,lr,ar,ct;i.constructor=e;e.version="1.12.1";e.API=2;e.defaultTransformPerspective=0;e.defaultSkewType="compensated";i="px";e.suffixMap={top:i,right:i,bottom:i,left:i,width:i,height:i,fontSize:i,padding:i,margin:i,perspective:i,lineHeight:""};var kt,ai,dt,vi,yi,ut,at=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pi=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,gt=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,vt=/[^\d\-\.]/g,ni=/(?:\d|\-|\+|=|#|\.)*/g,ti=/opacity *= *([^)]*)/i,vr=/opacity:([^;]*)/i,yr=/alpha\(opacity *=.+?\)/i,wi=/^(rgb|hsl)/,bi=/([A-Z])/g,ki=/-([a-z])/gi,pr=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,di=function(n,t){return t.toUpperCase()},wr=/(?:Left|Right|Width)/i,br=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,kr=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,l=/,(?=[^\)]*(?:\(|$))/gi,a=Math.PI/180,g=180/Math.PI,yt={},b=document,p=b.createElement("div"),ii=b.createElement("img"),v=e._internals={_specialProps:c},k=navigator.userAgent,nt=function(){var n,t=k.indexOf("Android"),i=b.createElement("div");return dt=-1!==k.indexOf("Safari")&&-1===k.indexOf("Chrome")&&(-1===t||Number(k.substr(t+8,1))>3),yi=dt&&6>Number(k.substr(k.indexOf("Version/")+8,1)),vi=-1!==k.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(k)&&(ut=parseFloat(RegExp.$1)),i.innerHTML="<a style='top:1px;opacity:.55;'>a<\/a>",n=i.getElementsByTagName("a")[0],n?/^0.55/.test(n.style.opacity):!1}(),gi=function(n){return ti.test("string"==typeof n?n:(n.currentStyle?n.currentStyle.filter:n.style.filter)||"")?parseFloat(RegExp.$1)/100:1},nr=function(n){window.console&&console.log(n)},tr="",ri="",ft=function(n,t){t=t||p;var r,i,u=t.style;if(void 0!==u[n])return n;for(n=n.charAt(0).toUpperCase()+n.substr(1),r=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===u[r[i]+n];);return i>=0?(ri=3===i?"ms":r[i],tr="-"+ri.toLowerCase()+"-",ri+n):null},et=b.defaultView?b.defaultView.getComputedStyle:function(){},r=e.getStyle=function(n,t,i,r,u){var f;return nt||"opacity"!==t?(!r&&n.style[t]?f=n.style[t]:(i=i||et(n))?f=i[t]||i.getPropertyValue(t)||i.getPropertyValue(t.replace(bi,"-$1").toLowerCase()):n.currentStyle&&(f=n.currentStyle[t]),null==u||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:u):gi(n)},y=v.convertToPixels=function(n,i,u,f,o){if("px"===f||!f)return u;if("auto"===f||!u)return 0;var s,h,a,l=wr.test(i),c=n,v=p.style,w=0>u;if(w&&(u=-u),"%"===f&&-1!==i.indexOf("border"))s=u/100*(l?n.clientWidth:n.clientHeight);else{if(v.cssText="border:0 solid red;position:"+r(n,"position")+";line-height:0;","%"!==f&&c.appendChild)v[l?"borderLeftWidth":"borderTopWidth"]=u+f;else{if(c=n.parentNode||b.body,h=c._gsCache,a=t.ticker.frame,h&&l&&h.time===a)return h.width*u/100;v[l?"width":"height"]=u+f}c.appendChild(p);s=parseFloat(p[l?"offsetWidth":"offsetHeight"]);c.removeChild(p);l&&"%"===f&&e.cacheWidths!==!1&&(h=c._gsCache=c._gsCache||{},h.time=a,h.width=100*(s/u));0!==s||o||(s=y(n,i,u,f,!0))}return w?-s:s},ir=v.calculateOffset=function(n,t,i){if("absolute"!==r(n,"position",i))return 0;var u="left"===t?"Left":"Top",f=r(n,"margin"+u,i);return n["offset"+u]-(y(n,t,parseFloat(f),f.replace(ni,""))||0)},ot=function(n,t){var r,u,i={};if(t=t||et(n,null))if(r=t.length)for(;--r>-1;)i[t[r].replace(ki,di)]=t.getPropertyValue(t[r]);else for(r in t)i[r]=t[r];else if(t=n.currentStyle||n.style)for(r in t)"string"==typeof r&&void 0===i[r]&&(i[r.replace(ki,di)]=t[r]);return nt||(i.opacity=gi(n)),u=ht(n,t,!1),i.rotation=u.rotation,i.skewX=u.skewX,i.scaleX=u.scaleX,i.scaleY=u.scaleY,i.x=u.x,i.y=u.y,w&&(i.z=u.z,i.rotationX=u.rotationX,i.rotationY=u.rotationY,i.scaleZ=u.scaleZ),i.filters&&delete i.filters,i},ui=function(n,t,i,r,u){var e,f,o,s={},h=n.style;for(f in i)"cssText"!==f&&"length"!==f&&isNaN(f)&&(t[f]!==(e=i[f])||u&&u[f])&&-1===f.indexOf("Origin")&&("number"==typeof e||"string"==typeof e)&&(s[f]="auto"!==e||"left"!==f&&"top"!==f?""!==e&&"auto"!==e&&"none"!==e||"string"!=typeof t[f]||""===t[f].replace(vt,"")?e:0:ir(n,f),void 0!==h[f]&&(o=new hi(h,f,h[f],o)));if(r)for(f in r)"className"!==f&&(s[f]=r[f]);return{difs:s,firstMPT:o}},dr={width:["Left","Right"],height:["Top","Bottom"]},gr=["marginLeft","marginRight","marginTop","marginBottom"],nu=function(n,t,i){var u=parseFloat("width"===t?n.offsetWidth:n.offsetHeight),f=dr[t],e=f.length;for(i=i||et(n,null);--e>-1;)u-=parseFloat(r(n,"padding"+f[e],i,!0))||0,u-=parseFloat(r(n,"border"+f[e]+"Width",i,!0))||0;return u},fi=function(n,t){(null==n||""===n||"auto"===n||"auto auto"===n)&&(n="0 0");var u=n.split(" "),i=-1!==n.indexOf("left")?"0%":-1!==n.indexOf("right")?"100%":u[0],r=-1!==n.indexOf("top")?"0%":-1!==n.indexOf("bottom")?"100%":u[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===i||isNaN(parseFloat(i))&&-1===(i+"").indexOf("="))&&(i="50%"),t&&(t.oxp=-1!==i.indexOf("%"),t.oyp=-1!==r.indexOf("%"),t.oxr="="===i.charAt(1),t.oyr="="===r.charAt(1),t.ox=parseFloat(i.replace(vt,"")),t.oy=parseFloat(r.replace(vt,""))),i+" "+r+(u.length>2?" "+u[2]:"")},rr=function(n,t){return"string"==typeof n&&"="===n.charAt(1)?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-parseFloat(t)},d=function(n,t){return null==n?t:"string"==typeof n&&"="===n.charAt(1)?parseInt(n.charAt(0)+"1",10)*Number(n.substr(2))+t:parseFloat(n)},st=function(n,t,i,r){var f,o,u,e,s=1e-6;return null==n?e=t:"number"==typeof n?e=n:(f=360,o=n.split("_"),u=Number(o[0].replace(vt,""))*(-1===n.indexOf("rad")?1:g)-("="===n.charAt(1)?0:t),o.length&&(r&&(r[i]=t+u),-1!==n.indexOf("short")&&(u%=f,u!==u%(f/2)&&(u=0>u?u+f:u-f)),-1!==n.indexOf("_cw")&&0>u?u=(u+9999999999*f)%f-(0|u/f)*f:-1!==n.indexOf("ccw")&&u>0&&(u=(u-9999999999*f)%f-(0|u/f)*f)),e=t+u),s>e&&e>-s&&(e=0),e},tt={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]},ei=function(n,t,i){return n=0>n?n+1:n>1?n-1:n,0|255*(1>6*n?t+6*(i-t)*n:.5>n?i:2>3*n?t+6*(i-t)*(2/3-n):t)+.5},oi=function(n){var i,t,e,u,f,r;return n&&""!==n?"number"==typeof n?[n>>16,255&n>>8,255&n]:(","===n.charAt(n.length-1)&&(n=n.substr(0,n.length-1)),tt[n]?tt[n]:"#"===n.charAt(0)?(4===n.length&&(i=n.charAt(1),t=n.charAt(2),e=n.charAt(3),n="#"+i+i+t+t+e+e),n=parseInt(n.substr(1),16),[n>>16,255&n>>8,255&n]):"hsl"===n.substr(0,3)?(n=n.match(at),u=Number(n[0])%360/360,f=Number(n[1])/100,r=Number(n[2])/100,t=.5>=r?r*(f+1):r+f-r*f,i=2*r-t,n.length>3&&(n[3]=Number(n[3])),n[0]=ei(u+1/3,i,t),n[1]=ei(u,i,t),n[2]=ei(u-1/3,i,t),n):(n=n.match(at)||tt.transparent,n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3])),n)):tt.black},it="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(i in tt)it+="|"+i+"\\b";it=RegExp(it+")","gi");var ur=function(n,t,i,r){if(null==n)return function(n){return n};var e,s=t?(n.match(it)||[""])[0]:"",f=n.split(s).join("").match(gt)||[],h=n.substr(0,n.indexOf(f[0])),c=")"===n.charAt(n.length-1)?")":"",o=-1!==n.indexOf(" ")?" ":",",u=f.length,a=u>0?f[0].replace(at,""):"";return u?e=t?function(n){var p,v,t,y;if("number"==typeof n)n+=a;else if(r&&l.test(n)){for(y=n.replace(l,"|").split("|"),t=0;y.length>t;t++)y[t]=e(y[t]);return y.join(",")}if(p=(n.match(it)||[s])[0],v=n.split(p).join("").match(gt)||[],t=v.length,u>t--)for(;u>++t;)v[t]=i?v[0|(t-1)/2]:f[t];return h+v.join(o)+o+p+c+(-1!==n.indexOf("inset")?" inset":"")}:function(n){var s,v,t;if("number"==typeof n)n+=a;else if(r&&l.test(n)){for(v=n.replace(l,"|").split("|"),t=0;v.length>t;t++)v[t]=e(v[t]);return v.join(",")}if(s=n.match(gt)||[],t=s.length,u>t--)for(;u>++t;)s[t]=i?s[0|(t-1)/2]:f[t];return h+s.join(o)+c}:function(n){return n}},si=function(n){return n=n.split(","),function(t,i,r,u,f,e,o){var s,h=(i+"").split(" ");for(o={},s=0;4>s;s++)o[n[s]]=h[s]=h[s]||h[(s-1)/2>>0];return u.parse(t,o,f,e)}},hi=(v._setPluginRatio=function(n){this.plugin.setRatio(n);for(var r,t,u,e,f=this.data,o=f.proxy,i=f.firstMPT,s=1e-6;i;)r=o[i.v],i.r?r=Math.round(r):s>r&&r>-s&&(r=0),i.t[i.p]=r,i=i._next;if(f.autoRotate&&(f.autoRotate.rotation=o.rotation),1===n)for(i=f.firstMPT;i;){if(t=i.t,t.type){if(1===t.type){for(e=t.xs0+t.s+t.xs1,u=1;t.l>u;u++)e+=t["xn"+u]+t["xs"+(u+1)];t.e=e}}else t.e=t.s+t.xs0;i=i._next}},function(n,t,i,r,u){this.t=n;this.p=t;this.v=i;this.r=u;r&&(r._prev=this,this._next=r)}),o=(v._parseToProxy=function(n,t,i,r,u,f){var c,e,o,s,v,h=r,l={},a={},y=i._transform,p=yt;for(i._transform=null,yt=t,r=v=i.parse(n,t,r,u),yt=p,f&&(i._transform=y,h&&(h._prev=null,h._prev&&(h._prev._next=null)));r&&r!==h;){if(1>=r.type&&(e=r.p,a[e]=r.s+r.c,l[e]=r.s,f||(s=new hi(r,"s",e,s,r.r),r.c=0),1===r.type))for(c=r.l;--c>0;)o="xn"+c,e=r.p+"_"+o,a[e]=r.data[o],l[e]=r[o],f||(s=new hi(r,o,e,s,r.rxp[o]));r=r._next}return{proxy:l,end:a,firstMPT:s,pt:v}},v.CSSPropTween=function(n,t,i,r,u,f,e,s,h,c,l){this.t=n;this.p=t;this.s=i;this.c=r;this.n=e||t;n instanceof o||bt.push(this.n);this.r=s;this.type=f||0;h&&(this.pr=h,rt=!0);this.b=void 0===c?i:c;this.e=void 0===l?i+r:l;u&&(this._next=u,u._prev=this)}),pt=e.parseComplex=function(n,t,i,r,u,f,e,s,h,c){i=i||f||"";e=new o(n,t,0,0,e,c?2:1,null,!1,s,i,r);r+="";var y,w,b,a,v,ut,ft,it,k,et,d,g,p=i.split(", ").join(",").split(" "),rt=r.split(", ").join(",").split(" "),ot=p.length,st=kt!==!1;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(p=p.join(" ").replace(l,", ").split(" "),rt=rt.join(" ").replace(l,", ").split(" "),ot=p.length),ot!==rt.length&&(p=(f||"").split(" "),ot=p.length),e.plugin=h,e.setRatio=c,y=0;ot>y;y++)if(a=p[y],v=rt[y],it=parseFloat(a),it||0===it)e.appendXtra("",it,rr(v,it),v.replace(pi,""),st&&-1!==v.indexOf("px"),!0);else if(u&&("#"===a.charAt(0)||tt[a]||wi.test(a)))g=","===v.charAt(v.length-1)?"),":")",a=oi(a),v=oi(v),k=a.length+v.length>6,k&&!nt&&0===v[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(rt[y]).join("transparent")):(nt||(k=!1),e.appendXtra(k?"rgba(":"rgb(",a[0],v[0]-a[0],",",!0,!0).appendXtra("",a[1],v[1]-a[1],",",!0).appendXtra("",a[2],v[2]-a[2],k?",":g,!0),k&&(a=4>a.length?1:a[3],e.appendXtra("",a,(4>v.length?1:v[3])-a,g,!1)));else if(ut=a.match(at)){if(ft=v.match(pi),!ft||ft.length!==ut.length)return e;for(b=0,w=0;ut.length>w;w++)d=ut[w],et=a.indexOf(d,b),e.appendXtra(a.substr(b,et-b),Number(d),rr(ft[w],d),"",st&&"px"===a.substr(et+d.length,2),0===w),b=et+d.length;e["xs"+e.l]+=a.substr(b)}else e["xs"+e.l]+=e.l?" "+a:a;if(-1!==r.indexOf("=")&&e.data){for(g=e.xs0+e.data.s,y=1;e.l>y;y++)g+=e["xs"+y]+e.data["xn"+y];e.e=g+e["xs"+y]}return e.l||(e.type=-1,e.xs0=e.e),e.xfirst||e},s=9;for(i=o.prototype,i.l=i.pr=0;--s>0;)i["xn"+s]=0,i["xs"+s]="";i.xs0="";i._next=i._prev=i.xfirst=i.data=i.plugin=i.setRatio=i.rxp=null;i.appendXtra=function(n,t,i,r,u,f){var e=this,s=e.l;return e["xs"+s]+=f&&s?" "+n:n||"",i||0===s||e.plugin?(e.l++,e.type=e.setRatio?2:1,e["xs"+e.l]=r||"",s>0?(e.data["xn"+s]=t+i,e.rxp["xn"+s]=u,e["xn"+s]=t,e.plugin||(e.xfirst=new o(e,"xn"+s,t,i,e.xfirst||e,0,e.n,u,e.pr),e.xfirst.xs0=0),e):(e.data={s:t+i},e.rxp={},e.s=t,e.c=i,e.r=u,e)):(e["xs"+s]+=t+(r||""),e)};var fr=function(n,t){t=t||{};this.p=t.prefix?ft(n)||n:n;c[n]=c[this.p]=this;this.format=t.formatter||ur(t.defaultValue,t.color,t.collapsible,t.multi);t.parser&&(this.parse=t.parser);this.clrs=t.color;this.multi=t.multi;this.keyword=t.keyword;this.dflt=t.defaultValue;this.pr=t.priority||0},u=v._registerComplexSpecialProp=function(n,t,i){"object"!=typeof t&&(t={parser:i});var r,e,u=n.split(","),f=t.defaultValue;for(i=i||[f],r=0;u.length>r;r++)t.prefix=0===r&&t.prefix,t.defaultValue=i[r]||f,e=new fr(u[r],t)},tu=function(n){if(!c[n]){var t=n.charAt(0).toUpperCase()+n.substr(1)+"Plugin";u(n,{parser:function(n,i,r,u,f,e,o){var s=(window.GreenSockGlobals||window).com.greensock.plugins[t];return s?(s._cssRegister(),c[r].parse(n,i,r,u,f,e,o)):(nr("Error: "+t+" js file not loaded."),f)}})}};i=fr.prototype;i.parseComplex=function(n,t,i,r,u,f){var o,s,e,a,v,c,h=this.keyword;if(this.multi&&(l.test(i)||l.test(t)?(s=t.replace(l,"|").split("|"),e=i.replace(l,"|").split("|")):h&&(s=[t],e=[i])),e){for(a=e.length>s.length?e.length:s.length,o=0;a>o;o++)t=s[o]=s[o]||this.dflt,i=e[o]=e[o]||this.dflt,h&&(v=t.indexOf(h),c=i.indexOf(h),v!==c&&(i=-1===c?e:s,i[o]+=" "+h));t=s.join(", ");i=e.join(", ")}return pt(n,this.p,t,i,this.clrs,this.dflt,r,this.pr,u,f)};i.parse=function(n,t,i,u,e,o){return this.parseComplex(n.style,this.format(r(n,this.p,f,!1,this.dflt)),this.format(t),e,o)};e.registerSpecialProp=function(n,t,i){u(n,{parser:function(n,r,u,f,e,s){var h=new o(n,u,0,0,e,2,u,!1,i);return h.plugin=s,h.setRatio=t(n,r,f._tween,u),h},priority:i})};var er="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective".split(","),h=ft("transform"),iu=tr+"transform",ci=ft("transformOrigin"),w=null!==ft("perspective"),or=v.Transform=function(){this.skewY=0},ht=v.getTransform=function(n,t,i,u){if(n._gsTransform&&i&&!u)return n._gsTransform;var v,o,nt,lt,ui,vt,yt,ut,tt,fi,ei,pt,wt,f=i?n._gsTransform||new or:new or,yi=0>f.scaleX,et=2e-5,y=1e5,at=179.99,ot=at*a,pi=w?parseFloat(r(n,ci,t,!1,"0 0 0").split(" ")[2])||f.zOrigin||0:0;for(h?v=r(n,iu,t,!0):n.currentStyle&&(v=n.currentStyle.filter.match(br),v=v&&4===v.length?[v[0].substr(4),Number(v[2].substr(4)),Number(v[1].substr(4)),v[3].substr(4),f.x||0,f.y||0].join(","):""),o=(v||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],nt=o.length;--nt>-1;)lt=Number(o[nt]),o[nt]=(ui=lt-(lt|=0))?(0|ui*y+(0>ui?-.5:.5))/y+lt:lt;if(16===o.length){var st=o[8],b=o[9],p=o[10],hi=o[12],li=o[13],ht=o[14];if(f.zOrigin&&(ht=-f.zOrigin,hi=st*ht-o[12],li=b*ht-o[13],ht=p*ht+f.zOrigin-o[14]),!i||u||null==f.rotationX){var bt,ct,kt,s,c,oi,si,ft=o[0],k=o[1],dt=o[2],wi=o[3],gt=o[4],d=o[5],it=o[6],bi=o[7],rt=o[11],l=Math.atan2(it,p),ai=-ot>l||l>ot;f.rotationX=l*g;l&&(s=Math.cos(-l),c=Math.sin(-l),bt=gt*s+st*c,ct=d*s+b*c,kt=it*s+p*c,st=gt*-c+st*s,b=d*-c+b*s,p=it*-c+p*s,rt=bi*-c+rt*s,gt=bt,d=ct,it=kt);l=Math.atan2(st,ft);f.rotationY=l*g;l&&(oi=-ot>l||l>ot,s=Math.cos(-l),c=Math.sin(-l),bt=ft*s-st*c,ct=k*s-b*c,kt=dt*s-p*c,b=k*c+b*s,p=dt*c+p*s,rt=wi*c+rt*s,ft=bt,k=ct,dt=kt);l=Math.atan2(k,d);f.rotation=l*g;l&&(si=-ot>l||l>ot,s=Math.cos(-l),c=Math.sin(-l),ft=ft*s+gt*c,ct=k*s+d*c,d=k*-c+d*s,it=dt*-c+it*s,k=ct);si&&ai?f.rotation=f.rotationX=0:si&&oi?f.rotation=f.rotationY=0:oi&&ai&&(f.rotationY=f.rotationX=0);f.scaleX=(0|Math.sqrt(ft*ft+k*k)*y+.5)/y;f.scaleY=(0|Math.sqrt(d*d+b*b)*y+.5)/y;f.scaleZ=(0|Math.sqrt(it*it+p*p)*y+.5)/y;f.skewX=0;f.perspective=rt?1/(0>rt?-rt:rt):0;f.x=hi;f.y=li;f.z=ht}}else if(!(w&&!u&&o.length&&f.x===o[4]&&f.y===o[5]&&(f.rotationX||f.rotationY)||void 0!==f.x&&"none"===r(n,"display",t))){var vi=o.length>=6,ni=vi?o[0]:1,ti=o[1]||0,ii=o[2]||0,ri=vi?o[3]:1;f.x=o[4]||0;f.y=o[5]||0;vt=Math.sqrt(ni*ni+ti*ti);yt=Math.sqrt(ri*ri+ii*ii);ut=ni||ti?Math.atan2(ti,ni)*g:f.rotation||0;tt=ii||ri?Math.atan2(ii,ri)*g+ut:f.skewX||0;fi=vt-Math.abs(f.scaleX||0);ei=yt-Math.abs(f.scaleY||0);Math.abs(tt)>90&&270>Math.abs(tt)&&(yi?(vt*=-1,tt+=0>=ut?180:-180,ut+=0>=ut?180:-180):(yt*=-1,tt+=0>=tt?180:-180));pt=(ut-f.rotation)%180;wt=(tt-f.skewX)%180;(void 0===f.skewX||fi>et||-et>fi||ei>et||-et>ei||pt>-at&&at>pt&&!1|pt*y||wt>-at&&at>wt&&!1|wt*y)&&(f.scaleX=vt,f.scaleY=yt,f.rotation=ut,f.skewX=tt);w&&(f.rotationX=f.rotationY=f.z=0,f.perspective=parseFloat(e.defaultTransformPerspective)||0,f.scaleZ=1)}f.zOrigin=pi;for(nt in f)et>f[nt]&&f[nt]>-et&&(f[nt]=0);return i&&(n._gsTransform=f),f},ru=function(n){var o,w,t=this.data,nt=-t.rotation*a,ft=nt+t.skewX*a,e=1e5,h=(0|Math.cos(nt)*t.scaleX*e)/e,u=(0|Math.sin(nt)*t.scaleX*e)/e,f=(0|Math.sin(ft)*-t.scaleY*e)/e,c=(0|Math.cos(ft)*t.scaleY*e)/e,d=this.t.style,g=this.t.currentStyle,k,p,et,ot;if(g){w=u;u=-f;f=-w;o=g.filter;d.filter="";var i,r,l=this.t.offsetWidth,v=this.t.offsetHeight,tt="absolute"!==g.position,b="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+u+", M21="+f+", M22="+c,it=t.x,rt=t.y;if(null!=t.ox&&(i=(t.oxp?.01*l*t.ox:t.ox)-l/2,r=(t.oyp?.01*v*t.oy:t.oy)-v/2,it+=i-(i*h+r*u),rt+=r-(i*f+r*c)),tt?(i=l/2,r=v/2,b+=", Dx="+(i-(i*h+r*u)+it)+", Dy="+(r-(i*f+r*c)+rt)+")"):b+=", sizingMethod='auto expand')",d.filter=-1!==o.indexOf("DXImageTransform.Microsoft.Matrix(")?o.replace(kr,b):b+" "+o,(0===n||1===n)&&1===h&&0===u&&0===f&&1===c&&(tt&&-1===b.indexOf("Dx=0, Dy=0")||ti.test(o)&&100!==parseFloat(RegExp.$1)||-1===o.indexOf("gradient("&&o.indexOf("Alpha"))&&d.removeAttribute("filter")),!tt)for(ot=8>ut?1:-1,i=t.ieOffsetX||0,r=t.ieOffsetY||0,t.ieOffsetX=Math.round((l-((0>h?-h:h)*l+(0>u?-u:u)*v))/2+it),t.ieOffsetY=Math.round((v-((0>c?-c:c)*v+(0>f?-f:f)*l))/2+rt),s=0;4>s;s++)p=gr[s],k=g[p],w=-1!==k.indexOf("px")?parseFloat(k):y(this.t,p,parseFloat(k),k.replace(ni,""))||0,et=w!==t[p]?2>s?-t.ieOffsetX:-t.ieOffsetY:2>s?i-t.ieOffsetX:r-t.ieOffsetY,d[p]=(t[p]=Math.round(w-et*(0===s||2===s?1:ot)))+"px"}},li=v.set3DTransformRatio=function(n){var tt,g,y,p,it,nt,w,b,et,rt,l,o,ot,ut,k,st,t,r,u,f,ht,ct,lt,i=this.data,at=this.t.style,e=i.rotation*a,s=i.scaleX,c=i.scaleY,v=i.scaleZ,d=i.perspective,ft;if(!(1!==n&&0!==n||"auto"!==i.force3D||i.rotationY||i.rotationX||1!==v||d||i.z))return sr.call(this,n),void 0;if(vi&&(ft=.0001,ft>s&&s>-ft&&(s=v=2e-5),ft>c&&c>-ft&&(c=v=2e-5),!d||i.z||i.rotationX||i.rotationY||(d=0)),e||i.skewX)r=Math.cos(e),u=Math.sin(e),tt=r,it=u,i.skewX&&(e-=i.skewX*a,r=Math.cos(e),u=Math.sin(e),"simple"===i.skewType&&(f=Math.tan(i.skewX*a),f=Math.sqrt(1+f*f),r*=f,u*=f)),g=-u,nt=r;else{if(!(i.rotationY||i.rotationX||1!==v||d))return at[h]="translate3d("+i.x+"px,"+i.y+"px,"+i.z+"px)"+(1!==s||1!==c?" scale("+s+","+c+")":""),void 0;tt=nt=1;g=it=0}l=1;y=p=w=b=et=rt=o=ot=ut=0;k=d?-1/d:0;st=i.zOrigin;t=1e5;e=i.rotationY*a;e&&(r=Math.cos(e),u=Math.sin(e),et=l*-u,ot=k*-u,y=tt*u,w=it*u,l*=r,k*=r,tt*=r,it*=r);e=i.rotationX*a;e&&(r=Math.cos(e),u=Math.sin(e),f=g*r+y*u,ht=nt*r+w*u,ct=rt*r+l*u,lt=ut*r+k*u,y=g*-u+y*r,w=nt*-u+w*r,l=rt*-u+l*r,k=ut*-u+k*r,g=f,nt=ht,rt=ct,ut=lt);1!==v&&(y*=v,w*=v,l*=v,k*=v);1!==c&&(g*=c,nt*=c,rt*=c,ut*=c);1!==s&&(tt*=s,it*=s,et*=s,ot*=s);st&&(o-=st,p=y*o,b=w*o,o=l*o+st);p=(f=(p+=i.x)-(p|=0))?(0|f*t+(0>f?-.5:.5))/t+p:p;b=(f=(b+=i.y)-(b|=0))?(0|f*t+(0>f?-.5:.5))/t+b:b;o=(f=(o+=i.z)-(o|=0))?(0|f*t+(0>f?-.5:.5))/t+o:o;at[h]="matrix3d("+[(0|tt*t)/t,(0|it*t)/t,(0|et*t)/t,(0|ot*t)/t,(0|g*t)/t,(0|nt*t)/t,(0|rt*t)/t,(0|ut*t)/t,(0|y*t)/t,(0|w*t)/t,(0|l*t)/t,(0|k*t)/t,p,b,o,d?1+-o/d:1].join(",")+")"},sr=v.set2DTransformRatio=function(n){var r,u,i,f,e,t=this.data,s=this.t,o=s.style;return t.rotationX||t.rotationY||t.z||t.force3D===!0||"auto"===t.force3D&&1!==n&&0!==n?(this.setRatio=li,li.call(this,n),void 0):(t.rotation||t.skewX?(r=t.rotation*a,u=r-t.skewX*a,i=1e5,f=t.scaleX*i,e=t.scaleY*i,o[h]="matrix("+(0|Math.cos(r)*f)/i+","+(0|Math.sin(r)*f)/i+","+(0|Math.sin(u)*-e)/i+","+(0|Math.cos(u)*e)/i+","+t.x+","+t.y+")"):o[h]="matrix("+t.scaleX+",0,0,"+t.scaleY+","+t.x+","+t.y+")",void 0)};for(u("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType",{parser:function(n,t,i,u,s,c,l){if(u._transform)return s;var k,ut,g,y,it,rt,nt,v=u._transform=ht(n,f,!0,l.parseTransform),ft=n.style,et=1e-6,ot=er.length,a=l,tt={};if("string"==typeof a.transform&&h)g=p.style,g[h]=a.transform,g.display="block",g.position="absolute",b.body.appendChild(p),k=ht(p,null,!1),b.body.removeChild(p);else if("object"==typeof a){if(k={scaleX:d(null!=a.scaleX?a.scaleX:a.scale,v.scaleX),scaleY:d(null!=a.scaleY?a.scaleY:a.scale,v.scaleY),scaleZ:d(a.scaleZ,v.scaleZ),x:d(a.x,v.x),y:d(a.y,v.y),z:d(a.z,v.z),perspective:d(a.transformPerspective,v.perspective)},nt=a.directionalRotation,null!=nt)if("object"==typeof nt)for(g in nt)a[g]=nt[g];else a.rotation=nt;k.rotation=st("rotation"in a?a.rotation:"shortRotation"in a?a.shortRotation+"_short":"rotationZ"in a?a.rotationZ:v.rotation,v.rotation,"rotation",tt);w&&(k.rotationX=st("rotationX"in a?a.rotationX:"shortRotationX"in a?a.shortRotationX+"_short":v.rotationX||0,v.rotationX,"rotationX",tt),k.rotationY=st("rotationY"in a?a.rotationY:"shortRotationY"in a?a.shortRotationY+"_short":v.rotationY||0,v.rotationY,"rotationY",tt));k.skewX=null==a.skewX?v.skewX:st(a.skewX,v.skewX);k.skewY=null==a.skewY?v.skewY:st(a.skewY,v.skewY);(ut=k.skewY-v.skewY)&&(k.skewX+=ut,k.rotation+=ut)}for(w&&null!=a.force3D&&(v.force3D=a.force3D,rt=!0),v.skewType=a.skewType||v.skewType||e.defaultSkewType,it=v.force3D||v.z||v.rotationX||v.rotationY||k.z||k.rotationX||k.rotationY||k.perspective,it||null==a.scale||(k.scaleZ=1);--ot>-1;)i=er[ot],y=k[i]-v[i],(y>et||-et>y||null!=yt[i])&&(rt=!0,s=new o(v,i,v[i],y,s),i in tt&&(s.e=tt[i]),s.xs0=0,s.plugin=c,u._overwriteProps.push(s.n));return y=a.transformOrigin,(y||w&&it&&v.zOrigin)&&(h?(rt=!0,i=ci,y=(y||r(n,i,f,!1,"50% 50%"))+"",s=new o(ft,i,0,0,s,-1,"transformOrigin"),s.b=ft[i],s.plugin=c,w?(g=v.zOrigin,y=y.split(" "),v.zOrigin=(y.length>2&&(0===g||"0px"!==y[2])?parseFloat(y[2]):g)||0,s.xs0=s.e=y[0]+" "+(y[1]||"50%")+" 0px",s=new o(v,"zOrigin",0,0,s,-1,s.n),s.b=g,s.xs0=s.e=v.zOrigin):s.xs0=s.e=y):fi(y+"",v)),rt&&(u._transformType=it||3===this._transformType?3:2),s},prefix:!0}),u("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),u("borderRadius",{defaultValue:"0px",parser:function(n,t,i,u,e){t=this.format(t);var tt,l,d,h,o,s,w,a,it,rt,c,v,g,b,k,nt,p=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],ut=n.style;for(it=parseFloat(n.offsetWidth),rt=parseFloat(n.offsetHeight),tt=t.split(" "),l=0;p.length>l;l++)this.p.indexOf("border")&&(p[l]=ft(p[l])),o=h=r(n,p[l],f,!1,"0px"),-1!==o.indexOf(" ")&&(h=o.split(" "),o=h[0],h=h[1]),s=d=tt[l],w=parseFloat(o),v=o.substr((w+"").length),g="="===s.charAt(1),g?(a=parseInt(s.charAt(0)+"1",10),s=s.substr(2),a*=parseFloat(s),c=s.substr((a+"").length-(0>a?1:0))||""):(a=parseFloat(s),c=s.substr((a+"").length)),""===c&&(c=lt[i]||v),c!==v&&(b=y(n,"borderLeft",w,v),k=y(n,"borderTop",w,v),"%"===c?(o=100*(b/it)+"%",h=100*(k/rt)+"%"):"em"===c?(nt=y(n,"borderLeft",1,"em"),o=b/nt+"em",h=k/nt+"em"):(o=b+"px",h=k+"px"),g&&(s=parseFloat(o)+a+c,d=parseFloat(h)+a+c)),e=pt(ut,p[l],o+" "+h,s+" "+d,!1,"0px",e);return e},prefix:!0,formatter:ur("0px 0px 0px 0px",!1,!0)}),u("backgroundPosition",{defaultValue:"0 0",parser:function(n,t,i,u,e,o){var c,b,h,v,y,l,p="background-position",a=f||et(n,null),s=this.format((a?ut?a.getPropertyValue(p+"-x")+" "+a.getPropertyValue(p+"-y"):a.getPropertyValue(p):n.currentStyle.backgroundPositionX+" "+n.currentStyle.backgroundPositionY)||"0 0"),w=this.format(t);if(-1!==s.indexOf("%")!=(-1!==w.indexOf("%"))&&(l=r(n,"backgroundImage").replace(pr,""),l&&"none"!==l)){for(c=s.split(" "),b=w.split(" "),ii.setAttribute("src",l),h=2;--h>-1;)s=c[h],v=-1!==s.indexOf("%"),v!==(-1!==b[h].indexOf("%"))&&(y=0===h?n.offsetWidth-ii.width:n.offsetHeight-ii.height,c[h]=v?parseFloat(s)/100*y+"px":100*(parseFloat(s)/y)+"%");s=c.join(" ")}return this.parseComplex(n.style,s,w,e,o)},formatter:fi}),u("backgroundSize",{defaultValue:"0 0",formatter:fi}),u("perspective",{defaultValue:"0px",prefix:!0}),u("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),u("transformStyle",{prefix:!0}),u("backfaceVisibility",{prefix:!0}),u("userSelect",{prefix:!0}),u("margin",{parser:si("marginTop,marginRight,marginBottom,marginLeft")}),u("padding",{parser:si("paddingTop,paddingRight,paddingBottom,paddingLeft")}),u("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(n,t,i,u,e,o){var c,s,h;return 9>ut?(s=n.currentStyle,h=8>ut?" ":",",c="rect("+s.clipTop+h+s.clipRight+h+s.clipBottom+h+s.clipLeft+")",t=this.format(t).split(",").join(h)):(c=this.format(r(n,this.p,f,!1,this.dflt)),t=this.format(t)),this.parseComplex(n.style,c,t,e,o)}}),u("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),u("autoRound,strictUnits",{parser:function(n,t,i,r,u){return u}}),u("border",{defaultValue:"0px solid #000",parser:function(n,t,i,u,e,o){return this.parseComplex(n.style,this.format(r(n,"borderTopWidth",f,!1,"0px")+" "+r(n,"borderTopStyle",f,!1,"solid")+" "+r(n,"borderTopColor",f,!1,"#000")),this.format(t),e,o)},color:!0,formatter:function(n){var t=n.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(n.match(it)||["#000"])[0]}}),u("borderWidth",{parser:si("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),u("float,cssFloat,styleFloat",{parser:function(n,t,i,r,u){var f=n.style,e="cssFloat"in f?"cssFloat":"styleFloat";return new o(f,e,0,0,u,-1,i,!1,0,f[e],t)}}),hr=function(n){var f,i=this.t,t=i.filter||r(this.data,"filter"),u=0|this.s+this.c*n;100===u&&(-1===t.indexOf("atrix(")&&-1===t.indexOf("radient(")&&-1===t.indexOf("oader(")?(i.removeAttribute("filter"),f=!r(this.data,"filter")):(i.filter=t.replace(yr,""),f=!0));f||(this.xn1&&(i.filter=t=t||"alpha(opacity="+u+")"),-1===t.indexOf("pacity")?0===u&&this.xn1||(i.filter=t+" alpha(opacity="+u+")"):i.filter=t.replace(ti,"opacity="+u))},u("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(n,t,i,u,e,s){var h=parseFloat(r(n,"opacity",f,!1,"1")),c=n.style,l="autoAlpha"===i;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+h),l&&1===h&&"hidden"===r(n,"visibility",f)&&0!==t&&(h=0),nt?e=new o(c,"opacity",h,t-h,e):(e=new o(c,"opacity",100*h,100*(t-h),e),e.xn1=l?1:0,c.zoom=1,e.type=2,e.b="alpha(opacity="+e.s+")",e.e="alpha(opacity="+(e.s+e.c)+")",e.data=n,e.plugin=s,e.setRatio=hr),l&&(e=new o(c,"visibility",0,0,e,-1,null,!1,0,0!==h?"inherit":"hidden",0===t?"hidden":"inherit"),e.xs0="inherit",u._overwriteProps.push(e.n),u._overwriteProps.push(i)),e}}),wt=function(n,t){t&&(n.removeProperty?("ms"===t.substr(0,2)&&(t="M"+t.substr(1)),n.removeProperty(t.replace(bi,"-$1").toLowerCase())):n.removeAttribute(t))},cr=function(n){if(this.t._gsClassPT=this,1===n||0===n){this.t.setAttribute("class",0===n?this.b:this.e);for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:wt(i,t.p),t=t._next;1===n&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)},u("className",{parser:function(n,t,i,r,u,e,s){var c,y,l,a,h,v=n.getAttribute("class")||"",p=n.style.cssText;if(u=r._classNamePT=new o(n,i,0,0,u,2),u.setRatio=cr,u.pr=-11,rt=!0,u.b=v,y=ot(n,f),l=n._gsClassPT){for(a={},h=l.data;h;)a[h.p]=1,h=h._next;l.setRatio(1)}return n._gsClassPT=u,u.e="="!==t.charAt(1)?t:v.replace(RegExp("\\s*\\b"+t.substr(2)+"\\b"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),r._tween._duration&&(n.setAttribute("class",u.e),c=ui(n,y,ot(n),s,a),n.setAttribute("class",v),u.data=c.firstMPT,n.style.cssText=p,u=u.xfirst=r.parse(n,c.difs,u,e)),u}}),lr=function(n){if((1===n||0===n)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var i,t,r,u,f=this.t.style,e=c.transform.parse;if("all"===this.e)f.cssText="",u=!0;else for(i=this.e.split(","),r=i.length;--r>-1;)t=i[r],c[t]&&(c[t].parse===e?u=!0:t="transformOrigin"===t?ci:c[t].p),wt(f,t);u&&(wt(f,h),this.t._gsTransform&&delete this.t._gsTransform)}},u("clearProps",{parser:function(n,t,i,r,u){return u=new o(n,i,0,0,u,2),u.setRatio=lr,u.e=t,u.pr=-10,u.data=r._tween,rt=!0,u}}),i="bezier,throwProps,physicsProps,physics2D".split(","),s=i.length;s--;)tu(i[s]);return i=e.prototype,i._firstPT=null,i._onInitTween=function(n,t,i){if(!n.nodeType)return!1;this._target=n;this._tween=i;this._vars=t;kt=t.autoRound;rt=!1;lt=t.suffixMap||e.suffixMap;f=et(n,"");bt=this._overwriteProps;var l,s,u,a,b,k,y,v,p,c=n.style;if(ai&&""===c.zIndex&&(l=r(n,"zIndex",f),("auto"===l||""===l)&&this._addLazySet(c,"zIndex",0)),"string"==typeof t&&(a=c.cssText,l=ot(n,f),c.cssText=a+";"+t,l=ui(n,l,ot(n)).difs,!nt&&vr.test(t)&&(l.opacity=parseFloat(RegExp.$1)),t=l,c.cssText=a),this._firstPT=s=this.parse(n,t,null),this._transformType){for(p=3===this._transformType,h?dt&&(ai=!0,""===c.zIndex&&(y=r(n,"zIndex",f),("auto"===y||""===y)&&this._addLazySet(c,"zIndex",0)),yi&&this._addLazySet(c,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(p?"visible":"hidden"))):c.zoom=1,u=s;u&&u._next;)u=u._next;v=new o(n,"transform",0,0,null,2);this._linkCSSP(v,null,u);v.setRatio=p&&w?li:h?sr:ru;v.data=this._transform||ht(n,f,!0);bt.pop()}if(rt){for(;s;){for(k=s._next,u=a;u&&u.pr>s.pr;)u=u._next;(s._prev=u?u._prev:b)?s._prev._next=s:a=s;(s._next=u)?u._prev=s:b=s;s=k}this._firstPT=a}return!0},i.parse=function(n,t,i,u){var e,d,h,l,v,s,p,a,w,b,k=n.style;for(e in t)s=t[e],d=c[e],d?i=d.parse(n,s,e,this,i,u,t):(v=r(n,e,f)+"",w="string"==typeof s,"color"===e||"fill"===e||"stroke"===e||-1!==e.indexOf("Color")||w&&wi.test(s)?(w||(s=oi(s),s=(s.length>3?"rgba(":"rgb(")+s.join(",")+")"),i=pt(k,e,v,s,!0,"transparent",i,0,u)):!w||-1===s.indexOf(" ")&&-1===s.indexOf(",")?(h=parseFloat(v),p=h||0===h?v.substr((h+"").length):"",(""===v||"auto"===v)&&("width"===e||"height"===e?(h=nu(n,e,f),p="px"):"left"===e||"top"===e?(h=ir(n,e,f),p="px"):(h="opacity"!==e?0:1,p="")),b=w&&"="===s.charAt(1),b?(l=parseInt(s.charAt(0)+"1",10),s=s.substr(2),l*=parseFloat(s),a=s.replace(ni,"")):(l=parseFloat(s),a=w?s.substr((l+"").length)||"":""),""===a&&(a=e in lt?lt[e]:p),s=l||0===l?(b?l+h:l)+a:t[e],p!==a&&""!==a&&(l||0===l)&&h&&(h=y(n,e,h,p),"%"===a?(h/=y(n,e,100,"%")/100,t.strictUnits!==!0&&(v=h+"%")):"em"===a?h/=y(n,e,1,"em"):"px"!==a&&(l=y(n,e,l,a),a="px"),b&&(l||0===l)&&(s=l+h+a)),b&&(l+=h),!h&&0!==h||!l&&0!==l?void 0!==k[e]&&(s||"NaN"!=s+""&&null!=s)?(i=new o(k,e,l||h||0,0,i,-1,e,!1,0,v,s),i.xs0="none"!==s||"display"!==e&&-1===e.indexOf("Style")?s:v):nr("invalid "+e+" tween value: "+t[e]):(i=new o(k,e,h,l-h,i,0,e,kt!==!1&&("px"===a||"zIndex"===e),0,v,s),i.xs0=a)):i=pt(k,e,v,s,!0,null,i,0,u)),u&&i&&!i.plugin&&(i.plugin=u);return i},i.setRatio=function(n){var i,u,r,t=this._firstPT,f=1e-6;if(1!==n||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(n||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;t;){if(i=t.c*n+t.s,t.r?i=Math.round(i):f>i&&i>-f&&(i=0),t.type)if(1===t.type)if(r=t.l,2===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2;else if(3===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3;else if(4===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4;else if(5===r)t.t[t.p]=t.xs0+i+t.xs1+t.xn1+t.xs2+t.xn2+t.xs3+t.xn3+t.xs4+t.xn4+t.xs5;else{for(u=t.xs0+i+t.xs1,r=1;t.l>r;r++)u+=t["xn"+r]+t["xs"+(r+1)];t.t[t.p]=u}else-1===t.type?t.t[t.p]=t.xs0:t.setRatio&&t.setRatio(n);else t.t[t.p]=i+t.xs0;t=t._next}else for(;t;)2!==t.type?t.t[t.p]=t.b:t.setRatio(n),t=t._next;else for(;t;)2!==t.type?t.t[t.p]=t.e:t.setRatio(n),t=t._next},i._enableTransforms=function(n){this._transformType=n||3===this._transformType?3:2;this._transform=this._transform||ht(this._target,f,!0)},ar=function(){this.t[this.p]=this.e;this.data._linkCSSP(this,this._next,null,!0)},i._addLazySet=function(n,t,i){var r=this._firstPT=new o(n,t,0,0,this._firstPT,2);r.e=i;r.setRatio=ar;r.data=this},i._linkCSSP=function(n,t,i,r){return n&&(t&&(t._prev=n),n._next&&(n._next._prev=n._prev),n._prev?n._prev._next=n._next:this._firstPT===n&&(this._firstPT=n._next,r=!0),i?i._next=n:r||null!==this._firstPT||(this._firstPT=n),n._next=t,n._prev=i),n},i._kill=function(t){var i,f,r,u=t;if(t.autoAlpha||t.alpha){u={};for(f in t)u[f]=t[f];u.opacity=1;u.autoAlpha&&(u.visibility=1)}return t.className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),n.prototype._kill.call(this,u)},ct=function(n,t,i){var e,u,r,f;if(n.slice)for(u=n.length;--u>-1;)ct(n[u],t,i);else for(e=n.childNodes,u=e.length;--u>-1;)r=e[u],f=r.type,r.style&&(t.push(ot(r)),i&&i.push(r)),1!==f&&9!==f&&11!==f||!r.childNodes.length||ct(r,t,i)},e.cascadeTo=function(n,i,r){var u,f,o,e=t.to(n,i,r),h=[e],c=[],l=[],s=[],a=t._internals.reservedProps;for(n=e._targets||e.target,ct(n,c,s),e.render(i,!0),ct(n,l),e.render(0,!0),e._enabled(!0),u=s.length;--u>-1;)if(f=ui(s[u],c[u],l[u]),f.firstMPT){f=f.difs;for(o in r)a[o]&&(f[o]=r[o]);h.push(t.to(s[u],i,f))}return h},n.activate([e]),e},!0)});window._gsDefine&&window._gsQueue.pop()(),function(n){"use strict";var f=n.GreenSockGlobals||n,a=function(n){for(var r=n.split("."),i=f,t=0;r.length>t;t++)i[r[t]]=i=i[r[t]]||{};return i},v=a("com.greensock.utils"),u=function(n){var t=n.nodeType,i="";if(1===t||9===t||11===t){if("string"==typeof n.textContent)return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)i+=u(n)}else if(3===t||4===t)return n.nodeValue;return i},t=document,e=t.defaultView?t.defaultView.getComputedStyle:function(){},y=/([A-Z])/g,i=function(n,t,i,r){var u;return(i=i||e(n,null))?(n=i.getPropertyValue(t.replace(y,"-$1").toLowerCase()),u=n||i.length?n:i[t]):n.currentStyle&&(i=n.currentStyle,u=i[t]),r?u:parseInt(u,10)||0},o=function(n){return n.length&&n[0]&&(n[0].nodeType&&n[0].style&&!n.nodeType||n[0].length&&n[0][0])?!0:!1},p=function(n){for(var t,i,u=[],f=n.length,r=0;f>r;r++)if(t=n[r],o(t))for(i=t.length,i=0;t.length>i;i++)u.push(t[i]);else u.push(t);return u},s=")eefec303079ad17405c",h=/(?:<br>|<br\/>|<br \/>)/gi,w=t.all&&!t.addEventListener,b="<div style='position:relative;display:inline-block;"+(w?"*display:inline;*zoom:1;'":"'"),c=function(n){n=n||"";var t=-1!==n.indexOf("++"),i=1;return t&&(n=n.split("++").join("")),function(){return b+(n?" class='"+n+(t?i++:"")+"'>":">")}},r=v.SplitText=f.SplitText=function(n,t){if("string"==typeof n&&(n=r.selector(n)),!n)throw"cannot split a null element.";this.elements=o(n)?p(n):[n];this.chars=[];this.words=[];this.lines=[];this._originals=[];this.vars=t||{};this.split(t)},k=function(n,r,f,o,l){h.test(n.innerHTML)&&(n.innerHTML=n.innerHTML.replace(h,s));var rt,b,ut,v,g,ot,ft,a,k,y,nt,pt,wt,st=u(n),at=r.type||r.split||"chars,words,lines",tt=-1!==at.indexOf("lines")?[]:null,it=-1!==at.indexOf("words"),et=-1!==at.indexOf("chars"),p="absolute"===r.position||r.absolute===!0,gt=p?"&#173; ":" ",bt=-999,d=e(n),kt=i(n,"paddingLeft",d),ni=i(n,"borderBottomWidth",d)+i(n,"borderTopWidth",d),ti=i(n,"borderLeftWidth",d)+i(n,"borderRightWidth",d),ii=i(n,"paddingTop",d)+i(n,"paddingBottom",d),ri=i(n,"paddingLeft",d)+i(n,"paddingRight",d),ui=i(n,"textAlign",d,!0),ht=n.clientHeight,ct=n.clientWidth,w=st.length,vt="<\/div>",yt=c(r.wordsClass),fi=c(r.charsClass),dt=-1!==(r.linesClass||"").indexOf("++"),lt=r.linesClass;for(dt&&(lt=lt.split("++").join("")),ut=yt(),v=0;w>v;v++)ot=st.charAt(v),")"===ot&&st.substr(v,20)===s?(ut+=vt+"<BR/>",v!==w-1&&(ut+=" "+yt()),v+=19):" "===ot&&" "!==st.charAt(v-1)&&v!==w-1?(ut+=vt,v!==w-1&&(ut+=gt+yt())):ut+=et&&" "!==ot?fi()+ot+"<\/div>":ot;for(n.innerHTML=ut+vt,g=n.getElementsByTagName("*"),w=g.length,ft=[],v=0;w>v;v++)ft[v]=g[v];if(tt||p)for(v=0;w>v;v++)a=ft[v],b=a.parentNode===n,(b||p||et&&!it)&&(k=a.offsetTop,tt&&b&&k!==bt&&"BR"!==a.nodeName&&(rt=[],tt.push(rt),bt=k),p&&(a._x=a.offsetLeft,a._y=k,a._w=a.offsetWidth,a._h=a.offsetHeight),tt&&(it!==b&&et||(rt.push(a),a._x-=kt),b&&v&&(ft[v-1]._wordEnd=!0)));for(v=0;w>v;v++)a=ft[v],b=a.parentNode===n,"BR"!==a.nodeName?(p&&(nt=a.style,it||b||(a._x+=a.parentNode._x,a._y+=a.parentNode._y),nt.left=a._x+"px",nt.top=a._y+"px",nt.position="absolute",nt.display="block",nt.width=a._w+1+"px",nt.height=a._h+"px"),it?b?o.push(a):et&&f.push(a):b?(n.removeChild(a),ft.splice(v--,1),w--):!b&&et&&(k=!tt&&!p&&a.nextSibling,n.appendChild(a),k||n.appendChild(t.createTextNode(" ")),f.push(a))):tt||p?(n.removeChild(a),ft.splice(v--,1),w--):it||n.appendChild(a);if(tt){for(p&&(y=t.createElement("div"),n.appendChild(y),pt=y.offsetWidth+"px",k=y.offsetParent===n?0:n.offsetLeft,n.removeChild(y)),nt=n.style.cssText,n.style.cssText="display:none;";n.firstChild;)n.removeChild(n.firstChild);for(wt=!p||!it&&!et,v=0;tt.length>v;v++){for(rt=tt[v],y=t.createElement("div"),y.style.cssText="display:block;text-align:"+ui+";position:"+(p?"absolute;":"relative;"),lt&&(y.className=lt+(dt?v+1:"")),l.push(y),w=rt.length,g=0;w>g;g++)"BR"!==rt[g].nodeName&&(a=rt[g],y.appendChild(a),wt&&(a._wordEnd||it)&&y.appendChild(t.createTextNode(" ")),p&&(0===g&&(y.style.top=a._y+"px",y.style.left=kt+k+"px"),a.style.top="0px",k&&(a.style.left=a._x-k+"px")));it||et||(y.innerHTML=u(y).split(String.fromCharCode(160)).join(" "));p&&(y.style.width=pt,y.style.height=a._h+"px");n.appendChild(y)}n.style.cssText=nt}p&&(ht>n.clientHeight&&(n.style.height=ht-ii+"px",ht>n.clientHeight&&(n.style.height=ht+ni+"px")),ct>n.clientWidth&&(n.style.width=ct-ri+"px",ct>n.clientWidth&&(n.style.width=ct+ti+"px")))},l=r.prototype;l.split=function(n){this.isSplit&&this.revert();this.vars=n||this.vars;this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var t=0;this.elements.length>t;t++)this._originals[t]=this.elements[t].innerHTML,k(this.elements[t],this.vars,this.chars,this.words,this.lines);return this.isSplit=!0,this};l.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var n=this._originals.length;--n>-1;)this.elements[n].innerHTML=this._originals[n];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this};r.selector=n.$||n.jQuery||function(i){return n.$?(r.selector=n.$,n.$(i)):t?t.getElementById("#"===i.charAt(0)?i.substr(1):i):i}}(window||{});window.GreenSockGobals=null;window._gsQueue=null;delete window.GreenSockGlobals;delete window._gsQueue;window.GreenSockGlobals=oldgs;window._gsQueue=oldgs_queue;console.groupEnd(),function(n){n.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};n.expr[":"].uncached=function(t){var i=document.createElement("img");return i.src=t.src,n(t).is('img[src!=""]')&&!i.complete};n.fn.waitForImages=function(t,i,r){if(n.isPlainObject(arguments[0])&&(i=t.each,r=t.waitForAll,t=t.finished),t=t||n.noop,i=i||n.noop,r=!!r,!n.isFunction(t)||!n.isFunction(i))throw new TypeError("An invalid callback was supplied.");return this.each(function(){var f=n(this),u=[],s,h,e,o;r?(s=n.waitForImages.hasImageProperties||[],h=/url\((['"]?)(.*?)\1\)/g,f.find("*").each(function(){var t=n(this);t.is("img:uncached")&&u.push({src:t.attr("src"),element:t[0]});n.each(s,function(n,i){var r=t.css(i),f;if(!r)return!0;while(f=h.exec(r))u.push({src:f[2],element:t[0]})})})):f.find("img:uncached").each(function(){u.push({src:this.src,element:this})});e=u.length;o=0;e==0&&t.call(f[0]);n.each(u,function(r,u){var s=new Image;n(s).bind("load error",function(n){return o++,i.call(u.element,o,e,n.type=="load"),o==e?(t.call(f[0]),!1):void 0});s.src=u.src})})}}(jQuery),function(n,t){function vt(i,r){var y,g,h,f,p,e,tt,o;if((r.navigationStyle=="preview1"||r.navigationStyle=="preview3"||r.navigationStyle=="preview4")&&(r.soloArrowLeftHalign="left",r.soloArrowLeftValign="center",r.soloArrowLeftHOffset=0,r.soloArrowLeftVOffset=0,r.soloArrowRightHalign="right",r.soloArrowRightValign="center",r.soloArrowRightHOffset=0,r.soloArrowRightVOffset=0,r.navigationArrows="solo"),r.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),r.fullWidth!="on"&&r.fullScreen!="on"&&(r.autoHeight="off"),r.fullScreen=="on"&&(r.autoHeight="on"),r.fullWidth!="on"&&r.fullScreen!="on"&&(forceFulWidth="off"),r.fullWidth=="on"&&r.autoHeight=="off"&&i.css({maxHeight:r.startheight+"px"}),u()&&r.hideThumbsOnMobile=="on"&&r.navigationType=="thumb"&&(r.navigationType="none"),u()&&r.hideBulletsOnMobile=="on"&&r.navigationType=="bullet"&&(r.navigationType="none"),u()&&r.hideBulletsOnMobile=="on"&&r.navigationType=="both"&&(r.navigationType="none"),u()&&r.hideArrowsOnMobile=="on"&&(r.navigationArrows="none"),r.forceFullWidth=="on"&&i.closest(".forcefullwidth_wrapper_tp_banner").length==0){var e=i.parent().offset().left,c=i.parent().css("marginBottom"),l=i.parent().css("marginTop");c==t&&(c=0);l==t&&(l=0);i.parent().wrap('<div style="position:relative;width:100%;height:auto;margin-top:'+l+";margin-bottom:"+c+'" class="forcefullwidth_wrapper_tp_banner"><\/div>');i.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+i.height()+'px"><\/div>');i.css({backgroundColor:i.parent().css("backgroundColor"),backgroundImage:i.parent().css("backgroundImage")});i.parent().css({left:0-e+"px",position:"absolute",width:n(window).width()});r.width=n(window).width()}try{r.hideThumbsUnderResolution>n(window).width()&&r.hideThumbsUnderResolution!=0?i.parent().find(".tp-bullets.tp-thumbs").css({display:"none"}):i.parent().find(".tp-bullets.tp-thumbs").css({display:"block"})}catch(it){}if(!i.hasClass("revslider-initialised")){i.addClass("revslider-initialised");i.attr("id")==t&&i.attr("id","revslider-"+Math.round(Math.random()*1e3+5));r.firefox13=!1;r.ie=!n.support.opacity;r.ie9=document.documentMode==9;r.origcd=r.delay;var s=n.fn.jquery.split("."),w=parseFloat(s[0]),nt=parseFloat(s[1]),rt=parseFloat(s[2]||"0");w==1&&nt<7&&i.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+s+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin<\/div>");w>1&&(r.ie=!1);n.support.transition||(n.fn.transition=n.fn.animate);i.find(".caption").each(function(){n(this).addClass("tp-caption")});u()&&i.find(".tp-caption").each(function(){n(this).data("autoplay")==!0&&n(this).data("autoplay",!1)});var k=0,d=0,a="http";if(location.protocol==="https:"&&(a="https"),i.find(".tp-caption iframe").each(function(){var t,i,r,u;try{n(this).attr("src").indexOf("you")>0&&k==0&&(k=1,t=document.createElement("script"),i="https",t.src=i+"://www.youtube.com/iframe_api",r=document.getElementsByTagName("script")[0],u=!0,n("head").find("*").each(function(){n(this).attr("src")==i+"://www.youtube.com/iframe_api"&&(u=!1)}),u&&r.parentNode.insertBefore(t,r))}catch(f){}}),i.find(".tp-caption iframe").each(function(){var t,i,r;try{n(this).attr("src").indexOf("vim")>0&&d==0&&(d=1,t=document.createElement("script"),t.src=a+"://a.vimeocdn.com/js/froogaloop2.min.js",i=document.getElementsByTagName("script")[0],r=!0,n("head").find("*").each(function(){n(this).attr("src")==a+"://a.vimeocdn.com/js/froogaloop2.min.js"&&(r=!1)}),r&&i.parentNode.insertBefore(t,i))}catch(u){}}),i.find(".tp-caption video").each(function(){n(this).removeClass("video-js").removeClass("vjs-default-skin");n(this).attr("preload","");n(this).css({display:"none"})}),r.shuffle=="on")for(y=0;y<i.find(">ul:first-child >li").length;y++)g=Math.round(Math.random()*i.find(">ul:first-child >li").length),i.find(">ul:first-child >li:eq("+g+")").prependTo(i.find(">ul:first-child"));r.slots=4;r.act=-1;r.next=0;r.startWithSlide!=t&&(r.next=r.startWithSlide);h=yt("#")[0];h.length<9&&h.split("slide").length>1&&(f=parseInt(h.split("slide")[1],0),f<1&&(f=1),f>i.find(">ul:first >li").length&&(f=i.find(">ul:first >li").length),r.next=f-1);r.firststart=1;r.navigationHOffset==t&&(r.navOffsetHorizontal=0);r.navigationVOffset==t&&(r.navOffsetVertical=0);i.append('<div class="tp-loader '+r.spinner+'"><div class="dot1"><\/div><div class="dot2"><\/div><div class="bounce1"><\/div><div class="bounce2"><\/div><div class="bounce3"><\/div><\/div>');i.find(".tp-bannertimer").length==0&&i.append('<div class="tp-bannertimer" style="visibility:hidden"><\/div>');p=i.find(".tp-bannertimer");p.length>0&&p.css({width:"0%"});i.addClass("tp-simpleresponsive");r.container=i;r.slideamount=i.find(">ul:first >li").length;i.height()==0&&i.height(r.startheight);(r.startwidth==t||r.startwidth==0)&&(r.startwidth=i.width());(r.startheight==t||r.startheight==0)&&(r.startheight=i.height());r.width=i.width();r.height=i.height();r.bw=r.startwidth/i.width();r.bh=r.startheight/i.height();r.width!=r.startwidth&&(r.height=Math.round(r.startheight*(r.width/r.startwidth)),i.height(r.height));r.shadow!=0&&(i.parent().append('<div class="tp-bannershadow tp-shadow'+r.shadow+'"><\/div>'),e=0,r.forceFullWidth=="on"&&(e=0-r.container.parent().offset().left),i.parent().find(".tp-bannershadow").css({width:r.width,left:e}));i.find("ul").css({display:"none"});tt=i;i.find("ul").css({display:"block"});ni(i,r);r.parallax!="off"&&ai(i,r);r.slideamount>1&&pt(i,r);r.slideamount>1&&r.navigationType=="thumb"&&vi(i,r);r.slideamount>1&&wt(i,r);r.keyboardNavigation=="on"&&bt(i,r);try{kt(i,r)}catch(it){}r.hideThumbs>0&&dt(i,r);b(i,r);r.slideamount>1&&ci(i,r);setTimeout(function(){i.trigger("revolution.slide.onloaded")},500);n("body").data("rs-fullScreenMode",!1);n(window).on("mozfullscreenchange webkitfullscreenchange fullscreenchange",function(){n("body").data("rs-fullScreenMode",!n("body").data("rs-fullScreenMode"));n("body").data("rs-fullScreenMode")&&setTimeout(function(){n(window).trigger("resize")},200)});n(window).resize(function(){if(n("body").find(i)!=0&&r.forceFullWidth=="on"){var t=r.container.closest(".forcefullwidth_wrapper_tp_banner").offset().left;r.container.parent().css({left:0-t+"px",width:n(window).width()})}(i.outerWidth(!0)!=r.width||i.is(":hidden"))&&v(i,r)});try{r.hideThumbsUnderResoluition!=0&&r.navigationType=="thumb"&&(r.hideThumbsUnderResoluition>n(window).width()?n(".tp-bullets").css({display:"none"}):n(".tp-bullets").css({display:"block"}))}catch(it){}i.find(".tp-scrollbelowslider").on("click",function(){var t=0;try{t=n("body").find(r.fullScreenOffsetContainer).height()}catch(u){}try{t=t-n(this).data("scrolloffset")}catch(u){}n("body,html").animate({scrollTop:i.offset().top+i.find(">ul >li").height()-t+"px"},{duration:400})});o=i.parent();n(window).width()<r.hideSliderAtLimit&&(i.trigger("stoptimer"),o.css("display")!="none"&&o.data("olddisplay",o.css("display")),o.css({display:"none"}))}}n.fn.extend({revolution:function(i){return defaults={delay:9e3,startheight:500,startwidth:960,fullScreenAlignForce:"off",autoHeight:"off",hideTimerBar:"off",hideThumbs:200,hideNavDelayOnMobile:1500,thumbWidth:100,thumbHeight:50,thumbAmount:3,navigationType:"bullet",navigationArrows:"solo",navigationInGrid:"off",hideThumbsOnMobile:"off",hideBulletsOnMobile:"off",hideArrowsOnMobile:"off",hideThumbsUnderResoluition:0,navigationStyle:"round",navigationHAlign:"center",navigationVAlign:"bottom",navigationHOffset:0,navigationVOffset:20,soloArrowLeftHalign:"left",soloArrowLeftValign:"center",soloArrowLeftHOffset:20,soloArrowLeftVOffset:0,soloArrowRightHalign:"right",soloArrowRightValign:"center",soloArrowRightHOffset:20,soloArrowRightVOffset:0,keyboardNavigation:"on",touchenabled:"on",onHoverStop:"on",stopAtSlide:-1,stopAfterLoops:-1,hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,shadow:0,fullWidth:"off",fullScreen:"off",minFullScreenHeight:0,fullScreenOffsetContainer:"",fullScreenOffset:"0",dottedOverlay:"none",forceFullWidth:"off",spinner:"spinner0",swipe_velocity:.4,swipe_max_touches:1,swipe_min_touches:1,drag_block_vertical:!1,isJoomla:!1,parallax:"off",parallaxLevels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],parallaxBgFreeze:"off",parallaxOpacity:"on",parallaxDisableOnMobile:"off"},i=n.extend({},defaults,i),this.each(function(){try{console.groupCollapsed("Slider Revolution 4.5.7 Initialisation on "+n(this).attr("id"));console.groupCollapsed("Used Options:");console.info(i);console.groupEnd();console.groupCollapsed("Tween Engine:")}catch(r){}if(punchgs.TweenLite==t){try{console.error("GreenSock Engine Does not Exist!")}catch(r){}return!1}punchgs.force3D=!0;try{console.info("GreenSock Engine Version in Slider Revolution:"+punchgs.TweenLite.version)}catch(r){}punchgs.TweenLite.lagSmoothing(1e3,16);punchgs.force3D="true";vt(n(this),i);try{console.groupEnd();console.groupEnd()}catch(r){}})},revscroll:function(t){return this.each(function(){var i=n(this);n("body,html").animate({scrollTop:i.offset().top+i.find(">ul >li").height()-t+"px"},{duration:400})})},revredraw:function(){return this.each(function(){var t=n(this),i=t.parent().find(".tp-bannertimer"),r=i.data("opt");v(t,r)})},revpause:function(){return this.each(function(){var t=n(this),i,r;t.data("conthover",1);t.data("conthover-changed",1);t.trigger("revolution.slide.onpause");i=t.parent().find(".tp-bannertimer");r=i.data("opt");r.bannertimeronpause=!0;t.trigger("stoptimer")})},revresume:function(){return this.each(function(){var t=n(this),i,r;t.data("conthover",0);t.data("conthover-changed",1);t.trigger("revolution.slide.onresume");i=t.parent().find(".tp-bannertimer");r=i.data("opt");r.bannertimeronpause=!1;t.trigger("starttimer")})},revnext:function(){return this.each(function(){var t=n(this);t.parent().find(".tp-rightarrow").click()})},revprev:function(){return this.each(function(){var t=n(this);t.parent().find(".tp-leftarrow").click()})},revmaxslide:function(){return n(this).find(">ul:first-child >li").length},revcurrentslide:function(){var t=n(this),i=t.parent().find(".tp-bannertimer"),r=i.data("opt");return r.act},revlastslide:function(){var t=n(this),i=t.parent().find(".tp-bannertimer"),r=i.data("opt");return r.lastslide},revshowslide:function(t){return this.each(function(){var i=n(this);i.data("showus",t);i.parent().find(".tp-rightarrow").click()})}});var yt=function(n){for(var u=[],i,r=window.location.href.slice(window.location.href.indexOf(n)+1).split("_"),t=0;t<r.length;t++)r[t]=r[t].replace("%3D","="),i=r[t].split("="),u.push(i[0]),u[i[0]]=i[1];return u},v=function(i,r){var u,s,c,h,l,f;try{r.hideThumbsUnderResoluition!=0&&r.navigationType=="thumb"&&(r.hideThumbsUnderResoluition>n(window).width()?n(".tp-bullets").css({display:"none"}):n(".tp-bullets").css({display:"block"}))}catch(a){}i.find(".defaultimg").each(function(){e(n(this),r)});u=i.parent();n(window).width()<r.hideSliderAtLimit?(i.trigger("stoptimer"),u.css("display")!="none"&&u.data("olddisplay",u.css("display")),u.css({display:"none"})):i.is(":hidden")&&(u.data("olddisplay")!=t&&u.data("olddisplay")!="undefined"&&u.data("olddisplay")!="none"?u.css({display:u.data("olddisplay")}):u.css({display:"block"}),i.trigger("restarttimer"),setTimeout(function(){v(i,r)},150));s=0;r.forceFullWidth=="on"&&(s=0-r.container.parent().offset().left);try{i.parent().find(".tp-bannershadow").css({width:r.width,left:s})}catch(a){}c=i.find(">ul >li:eq("+r.act+") .slotholder");h=i.find(">ul >li:eq("+r.next+") .slotholder");p(i,r,i);punchgs.TweenLite.set(h.find(".defaultimg"),{opacity:0});c.find(".defaultimg").css({opacity:1});h.find(".defaultimg").each(function(){var u=n(this);u.data("kenburn")!=t&&(u.data("kenburn").restart(),nt(i,r,!0))});l=i.find(">ul >li:eq("+r.next+")");f=i.parent().find(".tparrows");f.hasClass("preview2")&&f.css({width:parseInt(f.css("minWidth"),0)});ot(l,r,!0);o(i,r)},r=function(t,i){var r=n('<div style="display:none;"/>').appendTo(n("body")),u;return r.html("<!--[if "+(i||"")+" IE "+(t||"")+"]><a>&nbsp;<\/a><![endif]-->"),u=r.find("a").length,r.remove(),u},f=function(n,t){b(t,n)},pt=function(t,i){var u="hidebullets",r;i.hideThumbs==0&&(u="");(i.navigationType=="bullet"||i.navigationType=="both")&&t.parent().append('<div class="tp-bullets '+u+" simplebullets "+i.navigationStyle+'"><\/div>');r=t.parent().find(".tp-bullets");t.find(">ul:first >li").each(function(n){var u=t.find(">ul:first >li:eq("+n+") img:first").attr("src"),i;r.append('<div class="bullet"><\/div>');i=r.find(".bullet:first")});r.find(".bullet").each(function(r){var u=n(this);r==i.slideamount-1&&u.addClass("last");r==0&&u.addClass("first");u.click(function(){var n=!1;i.navigationArrows=="withbullet"||i.navigationArrows=="nexttobullets"?u.index()-1==i.act&&(n=!0):u.index()==i.act&&(n=!0);i.transition!=0||n||(i.next=i.navigationArrows=="withbullet"||i.navigationArrows=="nexttobullets"?u.index()-1:u.index(),f(i,t))})});r.append('<div class="tpclear"><\/div>');o(t,i)},wt=function(n,i){function u(t){n.parent().append('<div style="'+e+'" class="tp-'+t+"arrow "+s+" tparrows "+r+'"><div class="tp-arr-allwrapper"><div class="tp-arr-iwrapper"><div class="tp-arr-imgholder"><\/div><div class="tp-arr-imgholder2"><\/div><div class="tp-arr-titleholder"><\/div><div class="tp-arr-subtitleholder"><\/div><\/div><\/div><\/div>')}var h=n.find(".tp-bullets"),e="",s="hidearrows",r;i.hideThumbs==0&&(s="");r=i.navigationStyle;i.navigationArrows=="none"&&(e="visibility:hidden;display:none");i.soloArrowStyle="default "+i.navigationStyle;i.navigationArrows!="none"&&i.navigationArrows!="nexttobullets"&&(r=i.soloArrowStyle);u("left");u("right");n.parent().find(".tp-rightarrow").click(function(){i.transition==0&&(i.next=n.data("showus")!=t&&n.data("showus")!=-1?n.data("showus")-1:i.next+1,n.data("showus",-1),i.next>=i.slideamount&&(i.next=0),i.next<0&&(i.next=0),i.act!=i.next&&f(i,n))});n.parent().find(".tp-leftarrow").click(function(){i.transition==0&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),f(i,n))});o(n,i)},bt=function(i,r){n(document).keydown(function(n){r.transition==0&&n.keyCode==39&&(r.next=i.data("showus")!=t&&i.data("showus")!=-1?i.data("showus")-1:r.next+1,i.data("showus",-1),r.next>=r.slideamount&&(r.next=0),r.next<0&&(r.next=0),r.act!=r.next&&f(r,i));r.transition==0&&n.keyCode==37&&(r.next=r.next-1,r.leftarrowpressed=1,r.next<0&&(r.next=r.slideamount-1),f(r,i))});o(i,r)},kt=function(t,i){if(i.touchenabled=="on")try{var r=Hammer(t,{drag_block_vertical:i.drag_block_vertical,drag_lock_to_axis:!0,swipe_velocity:i.swipe_velocity,swipe_max_touches:i.swipe_max_touches,swipe_min_touches:i.swipe_min_touches,prevent_default:!1});r.on("swipeleft",function(){i.transition==0&&(i.next=i.next+1,i.next==i.slideamount&&(i.next=0),f(i,t))});r.on("swiperight",function(){i.transition==0&&(i.next=i.next-1,i.leftarrowpressed=1,i.next<0&&(i.next=i.slideamount-1),f(i,t))});r.on("swipeup",function(){n("html, body").animate({scrollTop:t.offset().top+t.height()+"px"})});r.on("swipedown",function(){n("html, body").animate({scrollTop:t.offset().top-n(window).height()+"px"})})}catch(u){}},dt=function(n,t){var i=n.parent().find(".tp-bullets"),r=n.parent().find(".tparrows");if(i==null&&(n.append('<div class=".tp-bullets"><\/div>'),i=n.parent().find(".tp-bullets")),r==null&&(n.append('<div class=".tparrows"><\/div>'),r=n.parent().find(".tparrows")),n.data("hideThumbs",t.hideThumbs),i.addClass("hidebullets"),r.addClass("hidearrows"),u())try{n.hammer().on("touch",function(){n.addClass("hovered");t.onHoverStop=="on"&&n.trigger("stoptimer");clearTimeout(n.data("hideThumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")});n.hammer().on("release",function(){n.removeClass("hovered");n.trigger("playtimer");n.hasClass("hovered")||i.hasClass("hovered")||n.data("hideThumbs",setTimeout(function(){i.addClass("hidebullets");r.addClass("hidearrows");n.trigger("playtimer")},t.hideNavDelayOnMobile))})}catch(f){}else{i.hover(function(){t.overnav=!0;t.onHoverStop=="on"&&n.trigger("stoptimer");i.addClass("hovered");clearTimeout(n.data("hideThumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=!1;n.trigger("playtimer");i.removeClass("hovered");n.hasClass("hovered")||i.hasClass("hovered")||n.data("hideThumbs",setTimeout(function(){i.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))});r.hover(function(){t.overnav=!0;t.onHoverStop=="on"&&n.trigger("stoptimer");i.addClass("hovered");clearTimeout(n.data("hideThumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")},function(){t.overnav=!1;n.trigger("playtimer");i.removeClass("hovered")});n.on("mouseenter",function(){n.addClass("hovered");t.onHoverStop=="on"&&n.trigger("stoptimer");clearTimeout(n.data("hideThumbs"));i.removeClass("hidebullets");r.removeClass("hidearrows")});n.on("mouseleave",function(){n.removeClass("hovered");n.trigger("playtimer");n.hasClass("hovered")||i.hasClass("hovered")||n.data("hideThumbs",setTimeout(function(){i.addClass("hidebullets");r.addClass("hidearrows")},t.hideThumbs))})}},o=function(t,i){var h=t.parent(),f=h.find(".tp-bullets"),s,r,u,e,o,c;i.navigationType=="thumb"&&(f.find(".thumb").each(function(){var t=n(this);t.css({width:i.thumbWidth*i.bw+"px",height:i.thumbHeight*i.bh+"px"})}),s=f.find(".tp-mask"),s.width(i.thumbWidth*i.thumbAmount*i.bw),s.height(i.thumbHeight*i.bh),s.parent().width(i.thumbWidth*i.thumbAmount*i.bw),s.parent().height(i.thumbHeight*i.bh));r=h.find(".tp-leftarrow");u=h.find(".tp-rightarrow");i.navigationType=="thumb"&&i.navigationArrows=="nexttobullets"&&(i.navigationArrows="solo");i.navigationArrows=="nexttobullets"&&(r.prependTo(f).css({float:"left"}),u.insertBefore(f.find(".tpclear")).css({float:"left"}));e=0;i.forceFullWidth=="on"&&(e=0-i.container.parent().offset().left);o=0;c=0;i.navigationInGrid=="on"&&(o=t.width()>i.startwidth?(t.width()-i.startwidth)/2:0,c=t.height()>i.startheight?(t.height()-i.startheight)/2:0);i.navigationArrows!="none"&&i.navigationArrows!="nexttobullets"&&(r.css({position:"absolute"}),u.css({position:"absolute"}),i.soloArrowLeftValign=="center"&&r.css({top:"50%",marginTop:i.soloArrowLeftVOffset-Math.round(r.innerHeight()/2)+"px"}),i.soloArrowLeftValign=="bottom"&&r.css({top:"auto",bottom:0+i.soloArrowLeftVOffset+"px"}),i.soloArrowLeftValign=="top"&&r.css({bottom:"auto",top:0+i.soloArrowLeftVOffset+"px"}),i.soloArrowLeftHalign=="center"&&r.css({left:"50%",marginLeft:e+i.soloArrowLeftHOffset-Math.round(r.innerWidth()/2)+"px"}),i.soloArrowLeftHalign=="left"&&r.css({left:o+i.soloArrowLeftHOffset+e+"px"}),i.soloArrowLeftHalign=="right"&&r.css({right:o+i.soloArrowLeftHOffset-e+"px"}),i.soloArrowRightValign=="center"&&u.css({top:"50%",marginTop:i.soloArrowRightVOffset-Math.round(u.innerHeight()/2)+"px"}),i.soloArrowRightValign=="bottom"&&u.css({top:"auto",bottom:0+i.soloArrowRightVOffset+"px"}),i.soloArrowRightValign=="top"&&u.css({bottom:"auto",top:0+i.soloArrowRightVOffset+"px"}),i.soloArrowRightHalign=="center"&&u.css({left:"50%",marginLeft:e+i.soloArrowRightHOffset-Math.round(u.innerWidth()/2)+"px"}),i.soloArrowRightHalign=="left"&&u.css({left:o+i.soloArrowRightHOffset+e+"px"}),i.soloArrowRightHalign=="right"&&u.css({right:o+i.soloArrowRightHOffset-e+"px"}),r.position()!=null&&r.css({top:Math.round(parseInt(r.position().top,0))+"px"}),u.position()!=null&&u.css({top:Math.round(parseInt(u.position().top,0))+"px"}));i.navigationArrows=="none"&&(r.css({visibility:"hidden"}),u.css({visibility:"hidden"}));i.navigationVAlign=="center"&&f.css({top:"50%",marginTop:i.navigationVOffset-Math.round(f.innerHeight()/2)+"px"});i.navigationVAlign=="bottom"&&f.css({bottom:0+i.navigationVOffset+"px"});i.navigationVAlign=="top"&&f.css({top:0+i.navigationVOffset+"px"});i.navigationHAlign=="center"&&f.css({left:"50%",marginLeft:e+i.navigationHOffset-Math.round(f.innerWidth()/2)+"px"});i.navigationHAlign=="left"&&f.css({left:0+i.navigationHOffset+e+"px"});i.navigationHAlign=="right"&&f.css({right:0+i.navigationHOffset-e+"px"})},gt=function(i){var s=i.container,f,w;i.beforli=i.next-1;i.comingli=i.next+1;i.beforli<0&&(i.beforli=i.slideamount-1);i.comingli>=i.slideamount&&(i.comingli=0);var h=s.find(">ul:first-child >li:eq("+i.comingli+")"),c=s.find(">ul:first-child >li:eq("+i.beforli+")"),l=c.find(".defaultimg").attr("src"),a=h.find(".defaultimg").attr("src");i.arr==t&&(i.arr=s.parent().find(".tparrows"),i.rar=s.parent().find(".tp-rightarrow"),i.lar=s.parent().find(".tp-leftarrow"),i.raimg=i.rar.find(".tp-arr-imgholder"),i.laimg=i.lar.find(".tp-arr-imgholder"),i.raimg_b=i.rar.find(".tp-arr-imgholder2"),i.laimg_b=i.lar.find(".tp-arr-imgholder2"),i.ratit=i.rar.find(".tp-arr-titleholder"),i.latit=i.lar.find(".tp-arr-titleholder"));var f=i.arr,e=i.rar,v=i.lar,r=i.raimg,o=i.laimg,y=i.raimg_b,p=i.laimg_b,b=i.ratit,k=i.latit;h.data("title")!=t&&b.html(h.data("title"));c.data("title")!=t&&k.html(c.data("title"));e.hasClass("itishovered")&&e.width(b.outerWidth(!0)+parseInt(e.css("minWidth"),0));v.hasClass("itishovered")&&v.width(k.outerWidth(!0)+parseInt(v.css("minWidth"),0));f.hasClass("preview2")&&!f.hasClass("hashoveralready")&&(f.addClass("hashoveralready"),u()?(f=n(this),w=f.find(".tp-arr-titleholder"),w.addClass("alwayshidden"),punchgs.TweenLite.set(w,{autoAlpha:0})):f.hover(function(){var t=n(this),i=t.find(".tp-arr-titleholder");t.width(i.outerWidth(!0)+parseInt(t.css("minWidth"),0));t.addClass("itishovered")},function(){var t=n(this),i=t.find(".tp-arr-titleholder");t.css({width:parseInt(t.css("minWidth"),0)});t.removeClass("itishovered")}));c.data("thumb")!=t&&(l=c.data("thumb"));h.data("thumb")!=t&&(a=h.data("thumb"));f.hasClass("preview4")?(y.css({backgroundImage:"url("+a+")"}),p.css({backgroundImage:"url("+l+")"}),punchgs.TweenLite.fromTo(y,.8,{force3D:punchgs.force3d,x:0},{x:-r.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){r.css({backgroundImage:"url("+a+")"});punchgs.TweenLite.set(y,{x:0})}}),punchgs.TweenLite.fromTo(p,.8,{force3D:punchgs.force3d,x:0},{x:r.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){o.css({backgroundImage:"url("+l+")"});punchgs.TweenLite.set(p,{x:0})}}),punchgs.TweenLite.fromTo(r,.8,{x:0},{force3D:punchgs.force3d,x:-r.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(r,{x:0})}}),punchgs.TweenLite.fromTo(o,.8,{x:0},{force3D:punchgs.force3d,x:r.width(),ease:punchgs.Power3.easeOut,delay:1,onComplete:function(){punchgs.TweenLite.set(o,{x:0})}})):(punchgs.TweenLite.to(r,.5,{autoAlpha:0,onComplete:function(){r.css({backgroundImage:"url("+a+")"});o.css({backgroundImage:"url("+l+")"})}}),punchgs.TweenLite.to(o,.5,{autoAlpha:0,onComplete:function(){punchgs.TweenLite.to(r,.5,{autoAlpha:1,delay:.2});punchgs.TweenLite.to(o,.5,{autoAlpha:1,delay:.2})}}));e.hasClass("preview4")&&!e.hasClass("hashoveralready")&&(e.addClass("hashoveralready"),e.hover(function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(t,.4,{x:t.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"});punchgs.TweenLite.to(i,.2,{autoAlpha:1,overwrite:"all"})},function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(t,.4,{x:t.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"});punchgs.TweenLite.to(i,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}),v.hover(function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.fromTo(t,.4,{x:0-t.width()},{x:0,delay:.3,ease:punchgs.Power3.easeOut,overwrite:"all"});punchgs.TweenLite.to(i,.2,{autoAlpha:1,overwrite:"all"})},function(){var t=n(this).find(".tp-arr-iwrapper"),i=n(this).find(".tp-arr-allwrapper");punchgs.TweenLite.to(t,.4,{x:0-t.width(),ease:punchgs.Power3.easeOut,delay:.2,overwrite:"all"});punchgs.TweenLite.to(i,.2,{delay:.6,autoAlpha:0,overwrite:"all"})}))},e=function(i,r){var e,u,f;if(r.container.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css({height:r.container.height()}),r.container.closest(".rev_slider_wrapper").css({height:r.container.height()}),r.width=parseInt(r.container.width(),0),r.height=parseInt(r.container.height(),0),r.bw=r.width/r.startwidth,r.bh=r.height/r.startheight,r.bh>r.bw&&(r.bh=r.bw),r.bh<r.bw&&(r.bw=r.bh),r.bw<r.bh&&(r.bh=r.bw),r.bh>1&&(r.bw=1,r.bh=1),r.bw>1&&(r.bw=1,r.bh=1),r.height=Math.round(r.startheight*(r.width/r.startwidth)),r.height>r.startheight&&r.autoHeight!="on"&&(r.height=r.startheight),r.fullScreen=="on"){if(r.height=r.bw*r.startheight,e=r.container.parent().width(),u=n(window).height(),r.fullScreenOffsetContainer!=t){try{f=r.fullScreenOffsetContainer.split(",");n.each(f,function(t,i){u=u-n(i).outerHeight(!0);u<r.minFullScreenHeight&&(u=r.minFullScreenHeight)})}catch(o){}try{r.fullScreenOffset.split("%").length>1&&r.fullScreenOffset!=t&&r.fullScreenOffset.length>0?u=u-n(window).height()*parseInt(r.fullScreenOffset,0)/100:r.fullScreenOffset!=t&&r.fullScreenOffset.length>0&&(u=u-parseInt(r.fullScreenOffset,0));u<r.minFullScreenHeight&&(u=r.minFullScreenHeight)}catch(o){}}r.container.parent().height(u);r.container.closest(".rev_slider_wrapper").height(u);r.container.css({height:"100%"});r.height=u}else r.container.height(r.height);r.slotw=Math.ceil(r.width/r.slots);r.sloth=r.fullScreen=="on"?Math.ceil(n(window).height()/r.slots):Math.ceil(r.height/r.slots);r.autoHeight=="on"&&(r.sloth=Math.ceil(i.height()/r.slots))},ni=function(i,u){i.find(".tp-caption").each(function(){n(this).addClass(n(this).data("transition"));n(this).addClass("start")});i.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:i.parent().css("maxHeight")});u.autoHeight=="on"&&(i.find(">ul:first").css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),i.css({maxHeight:"none"}),i.parent().css({maxHeight:"none"}));i.find(">ul:first >li").each(function(){var i=n(this),r;if(i.css({width:"100%",height:"100%",overflow:"hidden"}),i.data("link")!=t){var f=i.data("link"),e="_self",u=60;i.data("slideindex")=="back"&&(u=0);r=i.data("linktoslide");i.data("target")!=t&&(e=i.data("target"));f=="slide"?i.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+u+';" data-x="center" data-y="center" data-linktoslide="'+r+'" data-start="0"><a style="width:100%;height:100%;display:block"><span style="width:100%;height:100%;display:block"><\/span><\/a><\/div>'):(r="no",i.append('<div class="tp-caption sft slidelink" style="width:100%;height:100%;z-index:'+u+';" data-x="center" data-y="center" data-linktoslide="'+r+'" data-start="0"><a style="width:100%;height:100%;display:block" target="'+e+'" href="'+f+'"><span style="width:100%;height:100%;display:block"><\/span><\/a><\/div>'))}});i.parent().css({overflow:"visible"});i.find(">ul:first >li >img").each(function(i){var f=n(this),l;f.addClass("defaultimg");f.data("lazyload")!=t&&f.data("lazydone")!=1||e(f,u);f.wrap('<div class="slotholder" style="width:100%;height:100%;"data-duration="'+f.data("duration")+'"data-zoomstart="'+f.data("zoomstart")+'"data-zoomend="'+f.data("zoomend")+'"data-rotationstart="'+f.data("rotationstart")+'"data-rotationend="'+f.data("rotationend")+'"data-ease="'+f.data("ease")+'"data-duration="'+f.data("duration")+'"data-bgpositionend="'+f.data("bgpositionend")+'"data-bgposition="'+f.data("bgposition")+'"data-duration="'+f.data("duration")+'"data-kenburns="'+f.data("kenburns")+'"data-easeme="'+f.data("ease")+'"data-bgfit="'+f.data("bgfit")+'"data-bgfitend="'+f.data("bgfitend")+'"data-owidth="'+f.data("owidth")+'"data-oheight="'+f.data("oheight")+'"><\/div>');u.dottedOverlay!="none"&&u.dottedOverlay!=t&&f.closest(".slotholder").append('<div class="tp-dottedoverlay '+u.dottedOverlay+'"><\/div>');var o=f.attr("src"),a=f.data("lazyload"),s=f.data("bgfit"),h=f.data("bgrepeat"),c=f.data("bgposition");s==t&&(s="cover");h==t&&(h="no-repeat");c==t&&(c="center center");l=f.closest(".slotholder");f.replaceWith('<div class="tp-bgimg defaultimg" data-lazyload="'+f.data("lazyload")+'" data-bgfit="'+s+'"data-bgposition="'+c+'" data-bgrepeat="'+h+'" data-lazydone="'+f.data("lazydone")+'" src="'+o+'" data-src="'+o+'" style="background-color:'+f.css("backgroundColor")+";background-repeat:"+h+";background-image:url("+o+");background-size:"+s+";background-position:"+c+';width:100%;height:100%;"><\/div>');r(8)&&(l.find(".tp-bgimg").css({backgroundImage:"none","background-image":"none"}),l.find(".tp-bgimg").append('<img class="ieeightfallbackimage defaultimg" src="'+o+'" style="width:100%">'));f.css({opacity:0});f.data("li-id",i)})},it=function(n,i,u,f){var o=n,h=o.find(".defaultimg"),w=o.data("zoomstart"),v=o.data("rotationstart"),tt,a,c;h.data("currotate")!=t&&(v=h.data("currotate"));h.data("curscale")!=t&&(w=h.data("curscale"));e(h,i);var b=h.data("src"),it=h.css("background-color"),k=i.width,p=i.height,d=h.data("fxof");i.autoHeight=="on"&&(p=i.container.height());d==t&&(d=0);fullyoff=0;var a=0,l=h.data("bgfit"),g=h.data("bgrepeat"),nt=h.data("bgposition");if(l==t&&(l="cover"),g==t&&(g="no-repeat"),nt==t&&(nt="center center"),r(8)&&(o.data("kenburns","off"),tt=b,b=""),o.data("kenburns")=="on"&&(l=w,l.toString().length<4&&(l=s(l,o,i))),f=="horizontal")for(u||(a=0-i.slotw),c=0;c<i.slots;c++)o.append('<div class="slot" style="position:absolute;top:'+(0+fullyoff)+"px;left:"+(d+c*i.slotw)+"px;overflow:hidden;width:"+(i.slotw+.6)+"px;height:"+p+'px"><div class="slotslide" style="position:absolute;top:0px;left:'+a+"px;width:"+(i.slotw+.6)+"px;height:"+p+'px;overflow:hidden;"><div style="background-color:'+it+";position:absolute;top:0px;left:"+(0-c*i.slotw)+"px;width:"+k+"px;height:"+p+"px;background-image:url("+b+");background-repeat:"+g+";background-size:"+l+";background-position:"+nt+';"><\/div><\/div><\/div>'),w!=t&&v!=t&&punchgs.TweenLite.set(o.find(".slot").last(),{rotationZ:v}),r(8)&&(o.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+tt+'" style="width:100%;height:auto">'),y(o,i));else for(u||(a=0-i.sloth),c=0;c<i.slots+2;c++)o.append('<div class="slot" style="position:absolute;top:'+(fullyoff+c*i.sloth)+"px;left:"+d+"px;overflow:hidden;width:"+k+"px;height:"+i.sloth+'px"><div class="slotslide" style="position:absolute;top:'+a+"px;left:0px;width:"+k+"px;height:"+i.sloth+'px;overflow:hidden;"><div style="background-color:'+it+";position:absolute;top:"+(0-c*i.sloth)+"px;left:0px;width:"+k+"px;height:"+p+"px;background-image:url("+b+");background-repeat:"+g+";background-size:"+l+";background-position:"+nt+';"><\/div><\/div><\/div>'),w!=t&&v!=t&&punchgs.TweenLite.set(o.find(".slot").last(),{rotationZ:v}),r(8)&&(o.find(".slot ").last().find(".slotslide").append('<img class="ieeightfallbackimage" src="'+tt+'" style="width:100%;height:auto;">'),y(o,i))},rt=function(n,i,u){var h=n,f=h.find(".defaultimg"),p=h.data("zoomstart"),w=h.data("rotationstart"),v,rt,o,k,nt,tt;f.data("currotate")!=t&&(w=f.data("currotate"));f.data("curscale")!=t&&(p=f.data("curscale")*100);e(f,i);var b=f.data("src"),ut=f.css("backgroundColor"),ft=i.width,it=i.height;i.autoHeight=="on"&&(it=i.container.height());v=f.data("fxof");v==t&&(v=0);fullyoff=0;k=0;r(8)&&(rt=b,b="");o=0;o=i.sloth>i.slotw?i.sloth:i.slotw;u||(k=0-o);i.slotw=o;i.sloth=o;var a=0,l=0,c=f.data("bgfit"),d=f.data("bgrepeat"),g=f.data("bgposition");for(c==t&&(c="cover"),d==t&&(d="no-repeat"),g==t&&(g="center center"),h.data("kenburns")=="on"&&(c=p,c.toString().length<4&&(c=s(c,h,i))),nt=0;nt<i.slots;nt++){for(l=0,tt=0;tt<i.slots;tt++)h.append('<div class="slot" style="position:absolute;top:'+(fullyoff+l)+"px;left:"+(v+a)+"px;width:"+o+"px;height:"+o+'px;overflow:hidden;"><div class="slotslide" data-x="'+a+'" data-y="'+l+'" style="position:absolute;top:0px;left:0px;width:'+o+"px;height:"+o+'px;overflow:hidden;"><div style="position:absolute;top:'+(0-l)+"px;left:"+(0-a)+"px;width:"+ft+"px;height:"+it+"px;background-color:"+ut+";background-image:url("+b+");background-repeat:"+d+";background-size:"+c+";background-position:"+g+';"><\/div><\/div><\/div>'),l=l+o,r(8)&&(h.find(".slot ").last().find(".slotslide").append('<img src="'+rt+'">'),y(h,i)),p!=t&&w!=t&&punchgs.TweenLite.set(h.find(".slot").last(),{rotationZ:w});a=a+o}},y=function(n,t){if(r(8)){var i=n.find(".ieeightfallbackimage"),u=i.width(),f=i.height();t.startwidth/t.startheight<n.data("owidth")/n.data("oheight")?i.css({width:"auto",height:"100%"}):i.css({width:"100%",height:"auto"});setTimeout(function(){var r=i.width(),u=i.height();n.data("bgposition")=="center center"&&i.css({position:"absolute",top:t.height/2-u/2+"px",left:t.width/2-r/2+"px"});(n.data("bgposition")=="center top"||n.data("bgposition")=="top center")&&i.css({position:"absolute",top:"0px",left:t.width/2-r/2+"px"});(n.data("bgposition")=="center bottom"||n.data("bgposition")=="bottom center")&&i.css({position:"absolute",bottom:"0px",left:t.width/2-r/2+"px"});(n.data("bgposition")=="right top"||n.data("bgposition")=="top right")&&i.css({position:"absolute",top:"0px",right:"0px"});(n.data("bgposition")=="right bottom"||n.data("bgposition")=="bottom right")&&i.css({position:"absolute",bottom:"0px",right:"0px"});(n.data("bgposition")=="right center"||n.data("bgposition")=="center right")&&i.css({position:"absolute",top:t.height/2-u/2+"px",right:"0px"});(n.data("bgposition")=="left bottom"||n.data("bgposition")=="bottom left")&&i.css({position:"absolute",bottom:"0px",left:"0px"});(n.data("bgposition")=="left center"||n.data("bgposition")=="center left")&&i.css({position:"absolute",top:t.height/2-u/2+"px",left:"0px"})},20)}},p=function(t,i,r){r.find(".slot").each(function(){n(this).remove()});i.transition=0},ut=function(i,r){i.find("img, .defaultimg").each(function(){var i=n(this),u;i.data("lazyload")!=i.attr("src")&&r<3&&i.data("lazyload")!=t&&i.data("lazyload")!="undefined"?i.data("lazyload")!=t&&i.data("lazyload")!="undefined"&&(i.attr("src",i.data("lazyload")),u=new Image,u.onload=function(){i.data("lazydone",1);i.hasClass("defaultimg")&&c(i,u)},u.error=function(){i.data("lazydone",1)},u.src=i.attr("src"),u.complete&&(i.hasClass("defaultimg")&&c(i,u),i.data("lazydone",1))):(i.data("lazyload")===t||i.data("lazyload")==="undefined")&&i.data("lazydone")!=1&&(u=new Image,u.onload=function(){i.hasClass("defaultimg")&&c(i,u);i.data("lazydone",1)},u.error=function(){i.data("lazydone",1)},u.src=i.attr("src")!=t&&i.attr("src")!="undefined"?i.attr("src"):i.data("src"),u.complete&&(i.hasClass("defaultimg")&&c(i,u),i.data("lazydone",1)))})},c=function(n,t){var i=n.closest("li"),r=t.width,u=t.height;i.data("owidth",r);i.data("oheight",u);i.find(".slotholder").data("owidth",r);i.find(".slotholder").data("oheight",u);i.data("loadeddone",1)},w=function(i,r,u){ut(i,0);var f=setInterval(function(){u.bannertimeronpause=!0;u.container.trigger("stoptimer");u.cd=0;var e=0;i.find("img, .defaultimg").each(function(){n(this).data("lazydone")!=1&&e++});e>0?ut(i,e):(clearInterval(f),r!=t&&r())},100)},b=function(n,i){var e,f,u;try{e=n.find(">ul:first-child >li:eq("+i.act+")")}catch(o){e=n.find(">ul:first-child >li:eq(1)")}i.lastslide=i.act;f=n.find(">ul:first-child >li:eq("+i.next+")");u=f.find(".defaultimg");i.bannertimeronpause=!0;n.trigger("stoptimer");i.cd=0;u.data("lazyload")!=t&&u.data("lazyload")!="undefined"&&u.data("lazydone")!=1?(r(8)?u.attr("src",f.find(".defaultimg").data("lazyload")):u.css({backgroundImage:'url("'+f.find(".defaultimg").data("lazyload")+'")'}),u.data("src",f.find(".defaultimg").data("lazyload")),u.data("lazydone",1),u.data("orgw",0),f.data("loadeddone",1),n.find(".tp-loader").css({display:"block"}),w(n.find(".tp-static-layers"),function(){w(f,function(){var t=f.find(".slotholder"),r;t.data("kenburns")=="on"?r=setInterval(function(){var f=t.data("owidth");f>=0&&(clearInterval(r),l(i,u,n))},10):l(i,u,n)},i)},i)):f.data("loadeddone")===t?(f.data("loadeddone",1),w(f,function(){l(i,u,n)},i)):l(i,u,n)},l=function(n,t,i){n.bannertimeronpause=!1;n.cd=0;i.trigger("nulltimer");i.find(".tp-loader").css({display:"none"});e(t,n);o(i,n);e(t,n);ti(i,n)},ti=function(n,i){var r,u,e,o,f;n.trigger("revolution.slide.onbeforeswap");i.transition=1;i.videoplaying=!1;try{r=n.find(">ul:first-child >li:eq("+i.act+")")}catch(s){r=n.find(">ul:first-child >li:eq(1)")}i.lastslide=i.act;u=n.find(">ul:first-child >li:eq("+i.next+")");setTimeout(function(){gt(i)},200);e=r.find(".slotholder");o=u.find(".slotholder");(o.data("kenburns")=="on"||e.data("kenburns")=="on")&&(li(n,i),n.find(".kenburnimg").remove());u.data("delay")!=t?(i.cd=0,i.delay=u.data("delay")):i.delay=i.origcd;i.firststart==1&&punchgs.TweenLite.set(r,{autoAlpha:0});punchgs.TweenLite.set(r,{zIndex:18});punchgs.TweenLite.set(u,{autoAlpha:0,zIndex:20});f=0;r.index()!=u.index()&&i.firststart!=1&&(f=oi(r,i));r.data("saveperformance")!="on"&&(f=0);setTimeout(function(){n.trigger("restarttimer");ii(n,i,u,r,e,o)},f)},ii=function(i,u,f,e,o,s){function hi(){n.each(yt,function(n,t){(t[0]==c||t[8]==c)&&(l=t[1],g=t[2],li=ni);ni=ni+1})}var c,g,ai,lt,ut,v,a,vi,at,yi,pi,ti,pt,wt,bi,kt,tt,b,y,dt,gt,ft,w,d,p,si,ui;f.data("differentissplayed")=="prepared"&&(f.data("differentissplayed","done"),f.data("transition",f.data("savedtransition")),f.data("slotamount",f.data("savedslotamount")),f.data("masterspeed",f.data("savedmasterspeed")));f.data("fstransition")!=t&&f.data("differentissplayed")!="done"&&(f.data("savedtransition",f.data("transition")),f.data("savedslotamount",f.data("slotamount")),f.data("savedmasterspeed",f.data("masterspeed")),f.data("transition",f.data("fstransition")),f.data("slotamount",f.data("fsslotamount")),f.data("masterspeed",f.data("fsmasterspeed")),f.data("differentissplayed","prepared"));var l=0,ci=f.data("transition").split(","),et=f.data("nexttransid");et==t?(et=0,f.data("nexttransid",et)):(et=et+1,et==ci.length&&(et=0),f.data("nexttransid",et));c=ci[et];u.ie&&(c=="boxfade"&&(c="boxslide"),c=="slotfade-vertical"&&(c="slotzoom-vertical"),c=="slotfade-horizontal"&&(c="slotzoom-horizontal"));r(8)&&(c=11);g=0;u.parallax=="scroll"&&u.parallaxFirstGo==t&&(u.parallaxFirstGo=!0,h(i,u),setTimeout(function(){h(i,u)},210),setTimeout(function(){h(i,u)},420));(c=="boxslide"||c=="boxfade"||c=="papercut"||c==0||c==1||c==16)&&(c=9);c=="slidehorizontal"&&(c="slideleft",u.leftarrowpressed==1&&(c="slideright"));c=="slidevertical"&&(c="slideup",u.leftarrowpressed==1&&(c="slidedown"));c=="parallaxhorizontal"&&(c="parallaxtoleft",u.leftarrowpressed==1&&(c="parallaxtoright"));c=="parallaxvertical"&&(c="parallaxtotop",u.leftarrowpressed==1&&(c="parallaxtobottom"));var yt=[["boxslide",0,1,10,0,"box",!1,null,0],["boxfade",1,0,10,0,"box",!1,null,1],["slotslide-horizontal",2,0,0,200,"horizontal",!0,!1,2],["slotslide-vertical",3,0,0,200,"vertical",!0,!1,3],["curtain-1",4,3,0,0,"horizontal",!0,!0,4],["curtain-2",5,3,0,0,"horizontal",!0,!0,5],["curtain-3",6,3,25,0,"horizontal",!0,!0,6],["slotzoom-horizontal",7,0,0,400,"horizontal",!0,!0,7],["slotzoom-vertical",8,0,0,0,"vertical",!0,!0,8],["slotfade-horizontal",9,0,0,500,"horizontal",!0,null,9],["slotfade-vertical",10,0,0,500,"vertical",!0,null,10],["fade",11,0,1,300,"horizontal",!0,null,11],["slideleft",12,0,1,0,"horizontal",!0,!0,12],["slideup",13,0,1,0,"horizontal",!0,!0,13],["slidedown",14,0,1,0,"horizontal",!0,!0,14],["slideright",15,0,1,0,"horizontal",!0,!0,15],["papercut",16,0,0,600,"",null,null,16],["3dcurtain-horizontal",17,0,20,100,"vertical",!1,!0,17],["3dcurtain-vertical",18,0,10,100,"horizontal",!1,!0,18],["cubic",19,0,20,600,"horizontal",!1,!0,19],["cube",19,0,20,600,"horizontal",!1,!0,20],["flyin",20,0,4,600,"vertical",!1,!0,21],["turnoff",21,0,1,1600,"horizontal",!1,!0,22],["incube",22,0,20,200,"horizontal",!1,!0,23],["cubic-horizontal",23,0,20,500,"vertical",!1,!0,24],["cube-horizontal",23,0,20,500,"vertical",!1,!0,25],["incube-horizontal",24,0,20,500,"vertical",!1,!0,26],["turnoff-vertical",25,0,1,200,"horizontal",!1,!0,27],["fadefromright",12,1,1,0,"horizontal",!0,!0,28],["fadefromleft",15,1,1,0,"horizontal",!0,!0,29],["fadefromtop",14,1,1,0,"horizontal",!0,!0,30],["fadefrombottom",13,1,1,0,"horizontal",!0,!0,31],["fadetoleftfadefromright",12,2,1,0,"horizontal",!0,!0,32],["fadetorightfadetoleft",15,2,1,0,"horizontal",!0,!0,33],["fadetobottomfadefromtop",14,2,1,0,"horizontal",!0,!0,34],["fadetotopfadefrombottom",13,2,1,0,"horizontal",!0,!0,35],["parallaxtoright",12,3,1,0,"horizontal",!0,!0,36],["parallaxtoleft",15,3,1,0,"horizontal",!0,!0,37],["parallaxtotop",14,3,1,0,"horizontal",!0,!0,38],["parallaxtobottom",13,3,1,0,"horizontal",!0,!0,39],["scaledownfromright",12,4,1,0,"horizontal",!0,!0,40],["scaledownfromleft",15,4,1,0,"horizontal",!0,!0,41],["scaledownfromtop",14,4,1,0,"horizontal",!0,!0,42],["scaledownfrombottom",13,4,1,0,"horizontal",!0,!0,43],["zoomout",13,5,1,0,"horizontal",!0,!0,44],["zoomin",13,6,1,0,"horizontal",!0,!0,45],["notransition",26,0,1,0,"horizontal",!0,null,46]],st=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],ht=[16,17,18,19,20,21,22,23,24,25,26,27],l=0,g=1,li=0,ni=0,k=[];if(s.data("kenburns")=="on"&&((c=="boxslide"||c==0||c=="boxfade"||c==1||c=="papercut"||c==16)&&(c=11),nt(i,u,!0,!0)),c=="random"&&(c=Math.round(Math.random()*yt.length-1),c>yt.length-1&&(c=yt.length-1)),c=="random-static"&&(c=Math.round(Math.random()*st.length-1),c>st.length-1&&(c=st.length-1),c=st[c]),c=="random-premium"&&(c=Math.round(Math.random()*ht.length-1),c>ht.length-1&&(c=ht.length-1),c=ht[c]),ai=[12,13,14,15,16,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45],u.isJoomla==!0&&window.MooTools!=t&&ai.indexOf(c)!=-1&&(lt=Math.round(Math.random()*(ht.length-2))+1,lt>ht.length-1&&(lt=ht.length-1),lt==0&&(lt=1),c=ht[lt]),hi(),r(8)&&l>15&&l<28&&(c=Math.round(Math.random()*st.length-1),c>st.length-1&&(c=st.length-1),c=st[c],ni=0,hi()),ut=-1,(u.leftarrowpressed==1||u.act>u.next)&&(ut=1),u.leftarrowpressed=0,l>26&&(l=26),l<0&&(l=0),v=300,f.data("masterspeed")!=t&&f.data("masterspeed")>99&&f.data("masterspeed")<4001&&(v=f.data("masterspeed")),k=yt[li],i.parent().find(".bullet").each(function(){var t=n(this);t.removeClass("selected");u.navigationArrows=="withbullet"||u.navigationArrows=="nexttobullets"?t.index()-1==u.next&&t.addClass("selected"):t.index()==u.next&&t.addClass("selected")}),a=new punchgs.TimelineLite({onComplete:function(){ri(i,u,s,o,f,e,a)}}),a.add(punchgs.TweenLite.set(s.find(".defaultimg"),{opacity:0})),a.pause(),f.data("slotamount")==t||f.data("slotamount")<1?(u.slots=Math.round(Math.random()*12+4),c=="boxslide"?u.slots=Math.round(Math.random()*6+3):c=="flyin"&&(u.slots=Math.round(Math.random()*4+1))):u.slots=f.data("slotamount"),u.rotate=f.data("rotate")==t?0:f.data("rotate")==999?Math.round(Math.random()*360):f.data("rotate"),(!n.support.transition||u.ie||u.ie9)&&(u.rotate=0),u.firststart==1&&(u.firststart=0),v=v+k[4],(l==4||l==5||l==6)&&u.slots<3&&(u.slots=3),k[3]!=0&&(u.slots=Math.min(u.slots,k[3])),l==9&&(u.slots=u.width/20),l==10&&(u.slots=u.height/20),k[5]=="box"?(k[7]!=null&&rt(o,u,k[7]),k[6]!=null&&rt(s,u,k[6])):(k[5]=="vertical"||k[5]=="horizontal")&&(k[7]!=null&&it(o,u,k[7],k[5]),k[6]!=null&&it(s,u,k[6],k[5])),l==0&&(vi=Math.ceil(u.height/u.sloth),at=0,s.find(".slotslide").each(function(t){var i=n(this);at=at+1;at==vi&&(at=0);a.add(punchgs.TweenLite.from(i,v/600,{opacity:0,top:0-u.sloth,left:0-u.slotw,rotation:u.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),(t*15+at*30)/1500)})),l==1&&(pi=0,s.find(".slotslide").each(function(t){var i=n(this);rand=Math.random()*v+300;rand2=Math.random()*500+200;rand+rand2>yi&&(yi=rand2+rand2,pi=t);a.add(punchgs.TweenLite.from(i,rand/1e3,{autoAlpha:0,force3D:"auto",rotation:u.rotate,ease:punchgs.Power2.easeInOut}),rand2/1e3)})),l==2&&(y=new punchgs.TimelineLite,o.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.to(t,v/1e3,{left:u.slotw,force3D:"auto",rotation:0-u.rotate}),0);a.add(y,0)}),s.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.from(t,v/1e3,{left:0-u.slotw,force3D:"auto",rotation:u.rotate}),0);a.add(y,0)})),l==3&&(y=new punchgs.TimelineLite,o.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.to(t,v/1e3,{top:u.sloth,rotation:u.rotate,force3D:"auto",transformPerspective:600}),0);a.add(y,0)}),s.find(".slotslide").each(function(){var t=n(this);y.add(punchgs.TweenLite.from(t,v/1e3,{top:0-u.sloth,rotation:u.rotate,ease:punchgs.Power2.easeOut,force3D:"auto",transformPerspective:600}),0);a.add(y,0)})),l==4||l==5){setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100);var ct=v/1e3,fr=ct,y=new punchgs.TimelineLite;o.find(".slotslide").each(function(t){var r=n(this),i=t*ct/u.slots;l==5&&(i=(u.slots-t-1)*ct/u.slots/1.5);y.add(punchgs.TweenLite.to(r,ct*3,{transformPerspective:600,force3D:"auto",top:0+u.height,opacity:.5,rotation:u.rotate,ease:punchgs.Power2.easeInOut,delay:i}),0);a.add(y,0)});s.find(".slotslide").each(function(t){var r=n(this),i=t*ct/u.slots;l==5&&(i=(u.slots-t-1)*ct/u.slots/1.5);y.add(punchgs.TweenLite.from(r,ct*3,{top:0-u.height,opacity:.5,rotation:u.rotate,force3D:"auto",ease:punchgs.Power2.easeInOut,delay:i}),0);a.add(y,0)})}if(l==6&&(u.slots<2&&(u.slots=2),u.slots%2&&(u.slots=u.slots+1),y=new punchgs.TimelineLite,setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100),o.find(".slotslide").each(function(t){var r=n(this),i;i=t+1<u.slots/2?(t+2)*90:(2+u.slots-t)*90;y.add(punchgs.TweenLite.to(r,(v+i)/1e3,{top:0+u.height,opacity:1,force3D:"auto",rotation:u.rotate,ease:punchgs.Power2.easeInOut}),0);a.add(y,0)}),s.find(".slotslide").each(function(t){var r=n(this),i;i=t+1<u.slots/2?(t+2)*90:(2+u.slots-t)*90;y.add(punchgs.TweenLite.from(r,(v+i)/1e3,{top:0-u.height,opacity:1,force3D:"auto",rotation:u.rotate,ease:punchgs.Power2.easeInOut}),0);a.add(y,0)})),l==7&&(v=v*2,y=new punchgs.TimelineLite,setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100),o.find(".slotslide").each(function(){var t=n(this).find("div");y.add(punchgs.TweenLite.to(t,v/1e3,{left:0-u.slotw/2+"px",top:0-u.height/2+"px",width:u.slotw*2+"px",height:u.height*2+"px",opacity:0,rotation:u.rotate,force3D:"auto",ease:punchgs.Power2.easeOut}),0);a.add(y,0)}),s.find(".slotslide").each(function(t){var i=n(this).find("div");y.add(punchgs.TweenLite.fromTo(i,v/1e3,{left:0,top:0,opacity:0,transformPerspective:600},{left:0-t*u.slotw+"px",ease:punchgs.Power2.easeOut,force3D:"auto",top:"0px",width:u.width,height:u.height,opacity:1,rotation:0,delay:.1}),0);a.add(y,0)})),l==8&&(v=v*3,y=new punchgs.TimelineLite,o.find(".slotslide").each(function(){var t=n(this).find("div");y.add(punchgs.TweenLite.to(t,v/1e3,{left:0-u.width/2+"px",top:0-u.sloth/2+"px",width:u.width*2+"px",height:u.sloth*2+"px",force3D:"auto",opacity:0,rotation:u.rotate}),0);a.add(y,0)}),s.find(".slotslide").each(function(t){var i=n(this).find("div");y.add(punchgs.TweenLite.fromTo(i,v/1e3,{left:0,top:0,opacity:0,force3D:"auto"},{left:"0px",top:0-t*u.sloth+"px",width:s.find(".defaultimg").data("neww")+"px",height:s.find(".defaultimg").data("newh")+"px",opacity:1,rotation:0}),0);a.add(y,0)})),(l==9||l==10)&&(ti=0,s.find(".slotslide").each(function(t){var i=n(this);ti++;a.add(punchgs.TweenLite.fromTo(i,v/1e3,{autoAlpha:0,force3D:"auto",transformPerspective:600},{autoAlpha:1,ease:punchgs.Power2.easeInOut,delay:t/200}),0)})),(l==11||l==26)&&(ti=0,l==26&&(v=0),s.find(".slotslide").each(function(){var t=n(this);a.add(punchgs.TweenLite.from(t,v/1e3,{autoAlpha:0,force3D:"auto",ease:punchgs.Power2.easeInOut}),0)})),l==12||l==13||l==14||l==15){v=1e3;setTimeout(function(){punchgs.TweenLite.set(o.find(".defaultimg"),{autoAlpha:0})},100);var tt=u.width,b=u.height,fi=s.find(".slotslide");(u.fullWidth=="on"||u.fullScreen=="on")&&(tt=fi.width(),b=fi.height());pt=0;wt=0;l==12?pt=tt:l==15?pt=0-tt:l==13?wt=b:l==14&&(wt=0-b);var d=1,vt=1,ei=1,bt=punchgs.Power2.easeInOut,wi=punchgs.Power2.easeInOut,oi=v/1e3,ii=oi;g==1&&(d=0);g==2&&(d=0);g==3&&(bt=punchgs.Power2.easeInOut,wi=punchgs.Power1.easeInOut,oi=v/1200);(g==4||g==5)&&(vt=.6);g==6&&(vt=1.4);(g==5||g==6)&&(ei=1.4,d=0,tt=0,b=0,pt=0,wt=0);g==6&&(ei=.6);bi=0;a.add(punchgs.TweenLite.from(fi,oi,{left:pt,top:wt,scale:ei,opacity:d,rotation:u.rotate,ease:wi,force3D:"auto"}),0);kt=o.find(".slotslide");(g==4||g==5)&&(tt=0,b=0);g!=1&&(l==12?a.add(punchgs.TweenLite.to(kt,ii,{left:0-tt+"px",force3D:"auto",scale:vt,opacity:d,rotation:u.rotate,ease:bt}),0):l==15?a.add(punchgs.TweenLite.to(kt,ii,{left:tt+"px",force3D:"auto",scale:vt,opacity:d,rotation:u.rotate,ease:bt}),0):l==13?a.add(punchgs.TweenLite.to(kt,ii,{top:0-b+"px",force3D:"auto",scale:vt,opacity:d,rotation:u.rotate,ease:bt}),0):l==14&&a.add(punchgs.TweenLite.to(kt,ii,{top:b+"px",orce3D:"auto",scale:vt,opacity:d,rotation:u.rotate,ease:bt}),0))}if(l==16){y=new punchgs.TimelineLite;a.add(punchgs.TweenLite.set(e,{position:"absolute","z-index":20}),0);a.add(punchgs.TweenLite.set(f,{position:"absolute","z-index":15}),0);e.wrapInner('<div class="tp-half-one" style="position:relative; width:100%;height:100%"><\/div>');e.find(".tp-half-one").clone(!0).appendTo(e).addClass("tp-half-two");e.find(".tp-half-two").removeClass("tp-half-one");tt=u.width;b=u.height;u.autoHeight=="on"&&(b=i.height());e.find(".tp-half-one .defaultimg").wrap('<div class="tp-papercut" style="width:'+tt+"px;height:"+b+'px;"><\/div>');e.find(".tp-half-two .defaultimg").wrap('<div class="tp-papercut" style="width:'+tt+"px;height:"+b+'px;"><\/div>');e.find(".tp-half-two .defaultimg").css({position:"absolute",top:"-50%"});e.find(".tp-half-two .tp-caption").wrapAll('<div style="position:absolute;top:-50%;left:0px;"><\/div>');a.add(punchgs.TweenLite.set(e.find(".tp-half-two"),{width:tt,height:b,overflow:"hidden",zIndex:15,position:"absolute",top:b/2,left:"0px",transformPerspective:600,transformOrigin:"center bottom"}),0);a.add(punchgs.TweenLite.set(e.find(".tp-half-one"),{width:tt,height:b/2,overflow:"visible",zIndex:10,position:"absolute",top:"0px",left:"0px",transformPerspective:600,transformOrigin:"center top"}),0);var er=e.find(".defaultimg"),ki=Math.round(Math.random()*20-10),di=Math.round(Math.random()*20-10),gi=Math.round(Math.random()*20-10),nr=Math.random()*.4-.2,tr=Math.random()*.4-.2,ir=Math.random()*1+1,rr=Math.random()*1+1,ur=Math.random()*.3+.3;a.add(punchgs.TweenLite.set(e.find(".tp-half-one"),{overflow:"hidden"}),0);a.add(punchgs.TweenLite.fromTo(e.find(".tp-half-one"),v/800,{width:tt,height:b/2,position:"absolute",top:"0px",left:"0px",force3D:"auto",transformOrigin:"center top"},{scale:ir,rotation:ki,y:0-b-b/4,autoAlpha:0,ease:punchgs.Power2.easeInOut}),0);a.add(punchgs.TweenLite.fromTo(e.find(".tp-half-two"),v/800,{width:tt,height:b,overflow:"hidden",position:"absolute",top:b/2,left:"0px",force3D:"auto",transformOrigin:"center bottom"},{scale:rr,rotation:di,y:b+b/4,ease:punchgs.Power2.easeInOut,autoAlpha:0,onComplete:function(){punchgs.TweenLite.set(e,{position:"absolute","z-index":15});punchgs.TweenLite.set(f,{position:"absolute","z-index":20});e.find(".tp-half-one").length>0&&(e.find(".tp-half-one .defaultimg").unwrap(),e.find(".tp-half-one .slotholder").unwrap());e.find(".tp-half-two").remove()}}),0);y.add(punchgs.TweenLite.set(s.find(".defaultimg"),{autoAlpha:1}),0);e.html()!=null&&a.add(punchgs.TweenLite.fromTo(f,(v-200)/1e3,{scale:ur,x:u.width/4*nr,y:b/4*tr,rotation:gi,force3D:"auto",transformOrigin:"center center",ease:punchgs.Power2.easeOut},{autoAlpha:1,scale:1,x:0,y:0,rotation:0}),0);a.add(y,0)}if(l==17&&s.find(".slotslide").each(function(t){var i=n(this);a.add(punchgs.TweenLite.fromTo(i,v/800,{opacity:0,rotationY:0,scale:.9,rotationX:-110,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{opacity:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:t*.06}),0)}),l==18&&s.find(".slotslide").each(function(t){var i=n(this);a.add(punchgs.TweenLite.fromTo(i,v/500,{autoAlpha:0,rotationY:310,scale:.9,rotationX:10,force3D:"auto",transformPerspective:600,transformOrigin:"center center"},{autoAlpha:1,top:0,left:0,scale:1,rotation:0,rotationX:0,force3D:"auto",rotationY:0,ease:punchgs.Power3.easeOut,delay:t*.06}),0)}),l==19||l==22){y=new punchgs.TimelineLite;a.add(punchgs.TweenLite.set(e,{zIndex:20}),0);a.add(punchgs.TweenLite.set(f,{zIndex:20}),0);setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100);var dt=f.css("z-index"),gt=e.css("z-index"),w=90,d=1;ut==1&&(w=-90);l==19?(p="center center -"+u.height/2,d=0):p="center center "+u.height/2;punchgs.TweenLite.set(i,{transformStyle:"flat",backfaceVisibility:"hidden",transformPerspective:600});s.find(".slotslide").each(function(t){var i=n(this);y.add(punchgs.TweenLite.fromTo(i,v/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",left:0,rotationY:u.rotate,z:10,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationX:w},{left:0,rotationY:0,top:0,z:0,scale:1,force3D:"auto",rotationX:0,delay:t/20,ease:punchgs.Power2.easeInOut}),0);y.add(punchgs.TweenLite.to(i,.1,{autoAlpha:1,delay:t/20}),0);a.add(y)});o.find(".slotslide").each(function(t){var r=n(this),i=-90;ut==1&&(i=90);y.add(punchgs.TweenLite.fromTo(r,v/1e3,{transformStyle:"flat",backfaceVisibility:"hidden",autoAlpha:1,rotationY:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationX:0},{autoAlpha:1,rotationY:u.rotate,top:0,z:10,scale:1,rotationX:i,delay:t/20,force3D:"auto",ease:punchgs.Power2.easeInOut}),0);a.add(y)})}if(l==20){if(setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100),dt=f.css("z-index"),gt=e.css("z-index"),ut==1)var ft=-u.width,w=70,p="left center -"+u.height/2;else var ft=u.width,w=-70,p="right center -"+u.height/2;s.find(".slotslide").each(function(t){var i=n(this);a.add(punchgs.TweenLite.fromTo(i,v/1500,{left:ft,rotationX:40,z:-600,opacity:d,top:0,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:w},{left:0,delay:t/20,ease:punchgs.Power2.easeInOut}),0);a.add(punchgs.TweenLite.fromTo(i,v/1e3,{rotationX:40,z:-600,opacity:d,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:w},{rotationX:0,opacity:1,top:0,z:0,scale:1,rotationY:0,delay:t/20,ease:punchgs.Power2.easeInOut}),0);a.add(punchgs.TweenLite.to(i,.1,{opacity:1,force3D:"auto",delay:t/20+v/2e3}),0)});o.find(".slotslide").each(function(t){var i=n(this);if(ut!=1)var r=-u.width,f=70,e="left center -"+u.height/2;else var r=u.width,f=-70,e="right center -"+u.height/2;a.add(punchgs.TweenLite.fromTo(i,v/1e3,{opacity:1,rotationX:0,top:0,z:0,scale:1,left:0,force3D:"auto",transformPerspective:600,transformOrigin:e,rotationY:0},{opacity:1,rotationX:40,top:0,z:-600,left:r,force3D:"auto",scale:.8,rotationY:f,delay:t/20,ease:punchgs.Power2.easeInOut}),0);a.add(punchgs.TweenLite.to(i,.1,{force3D:"auto",opacity:0,delay:t/20+(v/1e3-v/1e4)}),0)})}if((l==21||l==25)&&(setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100),dt=f.css("z-index"),gt=e.css("z-index"),ut==1?(ft=-u.width,w=90,l==25?(p="center top 0",rot2=-w,w=u.rotate):(p="left center 0",rot2=u.rotate)):(ft=u.width,w=-90,l==25?(p="center bottom 0",rot2=-w,w=u.rotate):(p="right center 0",rot2=u.rotate)),s.find(".slotslide").each(function(){var t=n(this);a.add(punchgs.TweenLite.fromTo(t,v/1e3,{left:0,transformStyle:"flat",rotationX:rot2,z:0,autoAlpha:0,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:w},{left:0,rotationX:0,top:0,z:0,autoAlpha:1,scale:1,rotationY:0,force3D:"auto",ease:punchgs.Power3.easeInOut}),0)}),ut!=1?(ft=-u.width,w=90,l==25?(p="center top 0",rot2=-w,w=u.rotate):(p="left center 0",rot2=u.rotate)):(ft=u.width,w=-90,l==25?(p="center bottom 0",rot2=-w,w=u.rotate):(p="right center 0",rot2=u.rotate)),o.find(".slotslide").each(function(){var t=n(this);a.add(punchgs.TweenLite.fromTo(t,v/1e3,{left:0,transformStyle:"flat",rotationX:0,z:0,autoAlpha:1,top:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:0},{left:0,rotationX:rot2,top:0,z:0,autoAlpha:1,force3D:"auto",scale:1,rotationY:w,ease:punchgs.Power1.easeInOut}),0)})),l==23||l==24){setTimeout(function(){o.find(".defaultimg").css({opacity:0})},100);var dt=f.css("z-index"),gt=e.css("z-index"),w=-90;ut==1&&(w=90);d=1;l==23?(p="center center -"+u.width/2,d=0):p="center center "+u.width/2;si=0;punchgs.TweenLite.set(i,{transformStyle:"preserve-3d",backfaceVisibility:"hidden",perspective:2500});s.find(".slotslide").each(function(t){var i=n(this);a.add(punchgs.TweenLite.fromTo(i,v/1e3,{left:si,rotationX:u.rotate,force3D:"auto",opacity:d,top:0,scale:1,transformPerspective:600,transformOrigin:p,rotationY:w},{left:0,rotationX:0,autoAlpha:1,top:0,z:0,scale:1,rotationY:0,delay:t/10,ease:punchgs.Power2.easeInOut}),0)});w=90;ut==1&&(w=-90);o.find(".slotslide").each(function(t){var i=n(this);a.add(punchgs.TweenLite.fromTo(i,v/1e3,{left:0,autoAlpha:1,rotationX:0,top:0,z:0,scale:1,force3D:"auto",transformPerspective:600,transformOrigin:p,rotationY:0},{left:si,autoAlpha:1,rotationX:u.rotate,top:0,scale:1,rotationY:w,delay:t/10,ease:punchgs.Power2.easeInOut}),0)})}a.pause();ot(f,u,null,a);punchgs.TweenLite.to(f,.001,{autoAlpha:1});ui={};ui.slideIndex=u.next+1;ui.slide=f;i.trigger("revolution.slide.onchange",ui);setTimeout(function(){i.trigger("revolution.slide.onafterswap")},v);i.trigger("revolution.slide.onvideostop")},ri=function(n,t,i,r,u,f,e){punchgs.TweenLite.to(i.find(".defaultimg"),.001,{autoAlpha:1,onComplete:function(){p(n,t,u)}});u.index()!=f.index()&&punchgs.TweenLite.to(f,.2,{autoAlpha:0,onComplete:function(){p(n,t,f)}});t.act=t.next;t.navigationType=="thumb"&&at(n);i.data("kenburns")=="on"&&nt(n,t);n.find(".current-sr-slide-visible").removeClass("current-sr-slide-visible");u.addClass("current-sr-slide-visible");(t.parallax=="scroll"||t.parallax=="scroll+mouse"||t.parallax=="mouse+scroll")&&h(n,t);e.clear()},ft=function(t){var e=t.target.getVideoEmbedCode(),f=n("#"+e.split('id="')[1].split('"')[0]),r=f.closest(".tp-simpleresponsive"),o=f.parent().data("player"),u,i;t.data==YT.PlayerState.PLAYING?(u=r.find(".tp-bannertimer"),i=u.data("opt"),f.closest(".tp-caption").data("volume")=="mute"&&o.mute(),i.videoplaying=!0,r.trigger("stoptimer"),r.trigger("revolution.slide.onvideoplay")):(u=r.find(".tp-bannertimer"),i=u.data("opt"),t.data!=-1&&(i.videoplaying=!1,r.trigger("playtimer"),r.trigger("revolution.slide.onvideostop")));t.data==0&&i.nextslideatend==!0&&i.container.revnext()},yi=function(n,t,i){n.addEventListener?n.addEventListener(t,i,!1):n.attachEvent(t,i,!1)},ui=function(t,i){var u=$f(t),f=n("#"+t),r=f.closest(".tp-simpleresponsive");u.addEvent("ready",function(){i&&u.api("play");u.addEvent("play",function(){var n=r.find(".tp-bannertimer"),t=n.data("opt");t.videoplaying=!0;r.trigger("stoptimer");f.closest(".tp-caption").data("volume")=="mute"&&u.api("setVolume","0")});u.addEvent("finish",function(){var t=r.find(".tp-bannertimer"),n=t.data("opt");n.videoplaying=!1;r.trigger("playtimer");r.trigger("revolution.slide.onvideoplay");n.nextslideatend==!0&&n.container.revnext()});u.addEvent("pause",function(){var n=r.find(".tp-bannertimer"),t=n.data("opt");t.videoplaying=!1;r.trigger("playtimer");r.trigger("revolution.slide.onvideostop")})})},et=function(n,i){var u=i.width(),f=i.height(),r=n.data("mediaAspect"),e,o;r==t&&(r=1);e=u/f;n.css({position:"absolute"});o=n.find("video");e<r?(n.width(f*r).height(f),punchgs.TweenLite.to(n,.01,{force3D:"auto",top:0,left:0-(f*r-u)/2,height:f})):(n.width(u).height(u/r),punchgs.TweenLite.to(n,.01,{force3D:"auto",top:0-(u/r-f)/2,left:0,height:u/r}))},a=function(){var n={};return n.x=0,n.y=0,n.rotationX=0,n.rotationY=0,n.rotationZ=0,n.scale=1,n.scaleX=1,n.scaleY=1,n.skewX=0,n.skewY=0,n.opacity=0,n.transformOrigin="center, center",n.transformPerspective=400,n.rotation=0,n},k=function(t,i){var r=i.split(";");return n.each(r,function(n,i){i=i.split(":");var r=i[0],u=i[1];r=="rotationX"&&(t.rotationX=parseInt(u,0));r=="rotationY"&&(t.rotationY=parseInt(u,0));r=="rotationZ"&&(t.rotationZ=parseInt(u,0));r=="rotationZ"&&(t.rotation=parseInt(u,0));r=="scaleX"&&(t.scaleX=parseFloat(u));r=="scaleY"&&(t.scaleY=parseFloat(u));r=="opacity"&&(t.opacity=parseFloat(u));r=="skewX"&&(t.skewX=parseInt(u,0));r=="skewY"&&(t.skewY=parseInt(u,0));r=="x"&&(t.x=parseInt(u,0));r=="y"&&(t.y=parseInt(u,0));r=="z"&&(t.z=parseInt(u,0));r=="transformOrigin"&&(t.transformOrigin=u.toString());r=="transformPerspective"&&(t.transformPerspective=parseInt(u,0))}),t},fi=function(t){var r=t.split("animation:"),i={},u;return i.animation=k(a(),r[1]),u=r[0].split(";"),n.each(u,function(n,t){t=t.split(":");var r=t[0],u=t[1];r=="typ"&&(i.typ=u);r=="speed"&&(i.speed=parseInt(u,0)/1e3);r=="start"&&(i.start=parseInt(u,0)/1e3);r=="elementdelay"&&(i.elementdelay=parseFloat(u));r=="ease"&&(i.ease=u)}),i},ot=function(i,r,f,e){var c;i.data("ctl")==t&&i.data("ctl",new punchgs.TimelineLite);var l=i.data("ctl"),s=0,o=0,h=i.find(".tp-caption"),v=r.container.find(".tp-static-layers").find(".tp-caption");l.pause();n.each(v,function(n,t){h.push(t)});h.each(function(i){var ut=f,nt=-1,e=n(this),y,ki,yt,b,ct,di,lt,at,rt,it,dt,l,gt,ni,ti,tt,vt,ci,pt,wt,li,ai,p,w,c,v,bt,vi,i,yi,kt,nr,ot,wi,bi;if(e.hasClass("tp-static-layer")&&((e.data("startslide")==-1||e.data("startslide")=="-1")&&e.data("startslide",0),(e.data("endslide")==-1||e.data("endslide")=="-1")&&e.data("endslide",r.slideamount),e.hasClass("tp-is-shown")?nt=e.data("endslide")==r.next||e.data("startslide")>r.next||e.data("endslide")<r.next?2:0:e.data("startslide")<=r.next&&e.data("endslide")>=r.next||e.data("startslide")==r.next||e.data("endslide")==r.next?(e.addClass("tp-is-shown"),nt=1):nt=0),s=r.width/2-r.startwidth*r.bw/2,y=r.bw,ki=r.bh,r.fullScreen=="on"&&(o=r.height/2-r.startheight*r.bh/2),r.autoHeight=="on"&&(o=r.container.height()/2-r.startheight*r.bh/2),o<0&&(o=0),yt=0,r.width<r.hideCaptionAtLimit&&e.data("captionhidden")=="on"?(e.addClass("tp-hidden-caption"),yt=1):r.width<r.hideAllCaptionAtLimit||r.width<r.hideAllCaptionAtLilmit?(e.addClass("tp-hidden-caption"),yt=1):e.removeClass("tp-hidden-caption"),yt==0){if(e.data("linktoslide")==t||e.hasClass("hasclicklistener")||(e.addClass("hasclicklistener"),e.css({cursor:"pointer"}),e.data("linktoslide")!="no"&&e.click(function(){var i=n(this),t=i.data("linktoslide");t!="next"&&t!="prev"?(r.container.data("showus",t),r.container.parent().find(".tp-rightarrow").click()):t=="next"?r.container.parent().find(".tp-rightarrow").click():t=="prev"&&r.container.parent().find(".tp-leftarrow").click()})),s<0&&(s=0),b="iframe"+Math.round(Math.random()*1e3+1),(e.find("iframe").length>0||e.find("video").length>0)&&(ct=!1,(e.data("autoplayonlyfirsttime")==!0||e.data("autoplayonlyfirsttime")=="true"||e.data("autoplay")==!0)&&(e.data("autoplay",!0),ct=!0),e.find("iframe").each(function(){var i=n(this),a,v,f,s;if(u()&&(a=i.attr("src"),i.attr("src",""),i.attr("src",a)),r.nextslideatend=e.data("nextslideatend"),e.data("thumbimage")!=t&&e.data("thumbimage").length>2&&e.data("autoplay")!=!0&&!ut&&(e.find(".tp-thumb-image").remove(),e.append('<div class="tp-thumb-image" style="cursor:pointer; position:absolute;top:0px;left:0px;width:100%;height:100%;background-image:url('+e.data("thumbimage")+'); background-size:cover"><\/div>')),i.attr("src").toLowerCase().indexOf("youtube")>=0){if(i.hasClass("HasListener"))(e.data("autoplay")==!0||ct)&&(f=e.data("player"),e.data("timerplay",setTimeout(function(){e.data("forcerewind")=="on"&&f.seekTo(0);f.playVideo()},e.data("start"))));else try{i.attr("id",b);v=setInterval(function(){YT!=t&&typeof YT.Player!=t&&typeof YT.Player!="undefined"&&(f=e.data("autoplay")==!0||ct?new YT.Player(b,{events:{onStateChange:ft,onReady:function(n){n.target.playVideo()}}}):new YT.Player(b,{events:{onStateChange:ft}}),i.addClass("HasListener"),e.data("player",f),clearInterval(v))},100)}catch(w){}e.find(".tp-thumb-image").click(function(){if(punchgs.TweenLite.to(n(this),.3,{opacity:0,force3D:"auto",ease:punchgs.Power3.easeInOut,onComplete:function(){e.find(".tp-thumb-image").remove()}}),!u()){var t=e.data("player");t.playVideo()}})}else if(i.attr("src").toLowerCase().indexOf("vimeo")>=0){if(i.hasClass("HasListener")){if(e.data("autoplay")==!0)var i=e.find("iframe"),l=i.attr("id"),s=setInterval(function(){if($f!=t&&typeof $f(l).api!=t&&typeof $f(l).api!="undefined"){var n=$f(l);e.data("timerplay",setTimeout(function(){e.data("forcerewind")=="on"&&n.api("seekTo",0);n.api("play")},e.data("start")));clearInterval(s)}},100)}else{i.addClass("HasListener");i.attr("id",b);for(var o=i.attr("src"),h={},y=o,p=/([^&=]+)=([^&]*)/g,c;c=p.exec(y);)h[decodeURIComponent(c[1])]=decodeURIComponent(c[2]);o=h.player_id!=t?o.replace(h.player_id,b):o+"&player_id="+b;try{o=o.replace("api=0","api=1")}catch(w){}o=o+"&api=1";i.attr("src",o);f=e.find("iframe")[0];s=setInterval(function(){$f!=t&&typeof $f(b).api!=t&&typeof $f(b).api!="undefined"&&($f(f).addEvent("ready",function(){ui(b,ct)}),clearInterval(s))},100)}e.find(".tp-thumb-image").click(function(){punchgs.TweenLite.to(n(this),.3,{opacity:0,force3D:"auto",ease:punchgs.Power3.easeInOut,onComplete:function(){e.find(".tp-thumb-image").remove()}});var r=e.find("iframe"),i=r.attr("id"),u=setInterval(function(){if($f!=t&&typeof $f(i).api!=t&&typeof $f(i).api!="undefined"){var n=$f(i);n.api("play");clearInterval(u)}},100)})}}),e.find("video").length>0&&e.find("video").each(function(){var f=n(this),u=this,i,o;f.parent().hasClass("html5vid")||f.wrap('<div class="html5vid" style="position:relative;top:0px;left:0px;width:auto;height:auto"><\/div>');i=n(this).parent();u.addEventListener?u.addEventListener("loadedmetadata",function(){i.data("metaloaded",1)}):u.attachEvent("loadedmetadata",function(){i.data("metaloaded",1)});f.hasClass("HasListener")||(f.addClass("HasListener"),u.addEventListener("play",function(){i.addClass("videoisplaying");i.find(".tp-poster").remove();e.data("volume")=="mute"&&(u.muted=!0);r.container.trigger("revolution.slide.onvideoplay");r.videoplaying=!0;r.container.trigger("stoptimer")}),u.addEventListener("pause",function(){i.removeClass("videoisplaying");r.videoplaying=!1;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop")}),u.addEventListener("ended",function(){i.removeClass("videoisplaying");r.videoplaying=!1;r.container.trigger("playtimer");r.container.trigger("revolution.slide.onvideostop");r.nextslideatend==!0&&r.container.revnext()}));f.attr("poster")!=t&&i.find(".tp-poster").length==0&&i.append('<div class="tp-poster" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;background:url('+f.attr("poster")+'); background-position:center center;background-size:100%;background-repeat:no-repeat;"><\/div>');f.attr("control")==t&&i.find(".tp-video-play-button").length==0&&(i.append('<div class="tp-video-play-button"><i class="revicon-right-dir"><\/i><div class="tp-revstop"><\/div><\/div>'),i.find(".tp-video-play-button").click(function(){i.hasClass("videoisplaying")?u.pause():u.play()}));f.attr("control")==t&&i.find("video, .tp-poster").click(function(){i.hasClass("videoisplaying")?u.pause():u.play()});e.data("forcecover")==1&&(et(i,r.container),i.addClass("fullcoveredvideo"),e.addClass("fullcoveredvideo"));(e.data("forcecover")==1||e.hasClass("fullscreenvideo"))&&i.css({width:"100%",height:"100%"});o=!1;(e.data("autoplayonlyfirsttime")==!0||e.data("autoplayonlyfirsttime")=="true")&&(o=!0);clearInterval(i.data("interval"));i.data("interval",setInterval(function(){var s,h;if(i.data("metaloaded")==1||u.duration!=NaN){if(clearInterval(i.data("interval")),e.data("dottedoverlay")!="none"&&e.data("dottedoverlay")!=t&&e.find(".tp-dottedoverlay").length!=1&&i.append('<div class="tp-dottedoverlay '+e.data("dottedoverlay")+'"><\/div>'),s=16/9,e.data("aspectratio")=="4:3"&&(s=4/3),i.data("mediaAspect",s),i.closest(".tp-caption").data("forcecover")==1&&(et(i,r.container),i.addClass("fullcoveredvideo")),f.css({display:"block"}),r.nextslideatend=e.data("nextslideatend"),(e.data("autoplay")==!0||o==!0)&&(h=n("body").find("#"+r.container.attr("id")).find(".tp-bannertimer"),setTimeout(function(){r.videoplaying=!0;r.container.trigger("stoptimer")},200),e.data("forcerewind")!="on"||i.hasClass("videoisplaying")||u.currentTime>0&&(u.currentTime=0),e.data("volume")=="mute"&&(u.muted=!0),i.data("timerplay",setTimeout(function(){e.data("forcerewind")!="on"||i.hasClass("videoisplaying")||u.currentTime>0&&(u.currentTime=0);e.data("volume")=="mute"&&(u.muted=!0);setTimeout(function(){u.play()},500)},10+e.data("start")))),i.data("ww")==t&&i.data("ww",f.attr("width")),i.data("hh")==t&&i.data("hh",f.attr("height")),!e.hasClass("fullscreenvideo")&&e.data("forcecover")==1)try{i.width(i.data("ww")*r.bw);i.height(i.data("hh")*r.bh)}catch(c){}clearInterval(i.data("interval"))}}),100)}),e.data("autoplay")==!0&&(di=n("body").find("#"+r.container.attr("id")).find(".tp-bannertimer"),setTimeout(function(){r.videoplaying=!0;r.container.trigger("stoptimer")},200),r.videoplaying=!0,r.container.trigger("stoptimer"),(e.data("autoplayonlyfirsttime")==!0||e.data("autoplayonlyfirsttime")=="true")&&(e.data("autoplay",!1),e.data("autoplayonlyfirsttime",!1)))),lt=0,at=0,e.find("img").length>0)l=e.find("img"),l.width()==0&&l.css({width:"auto"}),l.height()==0&&l.css({height:"auto"}),l.data("ww")==t&&l.width()>0&&l.data("ww",l.width()),l.data("hh")==t&&l.height()>0&&l.data("hh",l.height()),rt=l.data("ww"),it=l.data("hh"),rt==t&&(rt=0),it==t&&(it=0),l.width(rt*r.bw),l.height(it*r.bh),lt=l.width(),at=l.height();else if(e.find("iframe").length>0||e.find("video").length>0){dt=!1;l=e.find("iframe");l.length==0&&(l=e.find("video"),dt=!0);l.css({display:"block"});e.data("ww")==t&&e.data("ww",l.width());e.data("hh")==t&&e.data("hh",l.height());var rt=e.data("ww"),it=e.data("hh"),h=e;h.data("fsize")==t&&h.data("fsize",parseInt(h.css("font-size"),0)||0);h.data("pt")==t&&h.data("pt",parseInt(h.css("paddingTop"),0)||0);h.data("pb")==t&&h.data("pb",parseInt(h.css("paddingBottom"),0)||0);h.data("pl")==t&&h.data("pl",parseInt(h.css("paddingLeft"),0)||0);h.data("pr")==t&&h.data("pr",parseInt(h.css("paddingRight"),0)||0);h.data("mt")==t&&h.data("mt",parseInt(h.css("marginTop"),0)||0);h.data("mb")==t&&h.data("mb",parseInt(h.css("marginBottom"),0)||0);h.data("ml")==t&&h.data("ml",parseInt(h.css("marginLeft"),0)||0);h.data("mr")==t&&h.data("mr",parseInt(h.css("marginRight"),0)||0);h.data("bt")==t&&h.data("bt",parseInt(h.css("borderTop"),0)||0);h.data("bb")==t&&h.data("bb",parseInt(h.css("borderBottom"),0)||0);h.data("bl")==t&&h.data("bl",parseInt(h.css("borderLeft"),0)||0);h.data("br")==t&&h.data("br",parseInt(h.css("borderRight"),0)||0);h.data("lh")==t&&h.data("lh",parseInt(h.css("lineHeight"),0)||0);gt=r.width;ni=r.height;gt>r.startwidth&&(gt=r.startwidth);ni>r.startheight&&(ni=r.startheight);e.hasClass("fullscreenvideo")?(s=0,o=0,e.data("x",0),e.data("y",0),ti=r.height,r.autoHeight=="on"&&(ti=r.container.height()),e.css({width:r.width,height:ti})):e.css({"font-size":h.data("fsize")*r.bw+"px","padding-top":h.data("pt")*r.bh+"px","padding-bottom":h.data("pb")*r.bh+"px","padding-left":h.data("pl")*r.bw+"px","padding-right":h.data("pr")*r.bw+"px","margin-top":h.data("mt")*r.bh+"px","margin-bottom":h.data("mb")*r.bh+"px","margin-left":h.data("ml")*r.bw+"px","margin-right":h.data("mr")*r.bw+"px","border-top":h.data("bt")*r.bh+"px","border-bottom":h.data("bb")*r.bh+"px","border-left":h.data("bl")*r.bw+"px","border-right":h.data("br")*r.bw+"px","line-height":h.data("lh")*r.bh+"px",height:it*r.bh+"px"});dt==!1?(l.width(rt*r.bw),l.height(it*r.bh)):e.data("forcecover")==1||e.hasClass("fullscreenvideo")||(l.width(rt*r.bw),l.height(it*r.bh));lt=l.width();at=l.height()}else e.find(".tp-resizeme, .tp-resizeme *").each(function(){d(n(this),r)}),e.hasClass("tp-resizeme")&&e.find("*").each(function(){d(n(this),r)}),d(e,r),at=e.outerHeight(!0),lt=e.outerWidth(!0),tt=e.outerHeight(),vt=e.css("backgroundColor"),e.find(".frontcorner").css({borderWidth:tt+"px",left:0-tt+"px",borderRight:"0px solid transparent",borderTopColor:vt}),e.find(".frontcornertop").css({borderWidth:tt+"px",left:0-tt+"px",borderRight:"0px solid transparent",borderBottomColor:vt}),e.find(".backcorner").css({borderWidth:tt+"px",right:0-tt+"px",borderLeft:"0px solid transparent",borderBottomColor:vt}),e.find(".backcornertop").css({borderWidth:tt+"px",right:0-tt+"px",borderLeft:"0px solid transparent",borderTopColor:vt});r.fullScreenAlignForce=="on"&&(s=0,o=0);e.data("voffset")==t&&e.data("voffset",0);e.data("hoffset")==t&&e.data("hoffset",0);var ii=e.data("voffset")*y,ri=e.data("hoffset")*y,oi=r.startwidth*y,hi=r.startheight*y;if(r.fullScreenAlignForce=="on"&&(oi=r.container.width(),hi=r.container.height()),(e.data("x")=="center"||e.data("xcenter")=="center")&&(e.data("xcenter","center"),e.data("x",oi/2-e.outerWidth(!0)/2+ri)),(e.data("x")=="left"||e.data("xleft")=="left")&&(e.data("xleft","left"),e.data("x",0/y+ri)),(e.data("x")=="right"||e.data("xright")=="right")&&(e.data("xright","right"),e.data("x",(oi-e.outerWidth(!0)+ri)/y)),(e.data("y")=="center"||e.data("ycenter")=="center")&&(e.data("ycenter","center"),e.data("y",hi/2-e.outerHeight(!0)/2+ii)),(e.data("y")=="top"||e.data("ytop")=="top")&&(e.data("ytop","top"),e.data("y",0/r.bh+ii)),(e.data("y")=="bottom"||e.data("ybottom")=="bottom")&&(e.data("ybottom","bottom"),e.data("y",(hi-e.outerHeight(!0)+ii)/y)),e.data("start")==t&&e.data("start",1e3),ci=e.data("easing"),ci==t&&(ci="punchgs.Power1.easeOut"),pt=e.data("start")/1e3,wt=e.data("speed")/1e3,li=e.data("x")=="center"||e.data("xcenter")=="center"?e.data("x")+s:y*e.data("x")+s,ai=e.data("y")=="center"||e.data("ycenter")=="center"?e.data("y")+o:r.bh*e.data("y")+o,punchgs.TweenLite.set(e,{top:ai,left:li,overwrite:"auto"}),nt==0&&(ut=!0),e.data("timeline")==t||ut||(e.data("timeline").gotoAndPlay(0),ut=!0),!ut){e.data("timeline")!=t;function pi(){}function gi(){}if(p=new punchgs.TimelineLite({smoothChildTiming:!0,onStart:gi}),p.pause(),r.fullScreenAlignForce=="on",w=e,e.data("mySplitText")!=t&&e.data("mySplitText").revert(),(e.data("splitin")=="chars"||e.data("splitin")=="words"||e.data("splitin")=="lines"||e.data("splitout")=="chars"||e.data("splitout")=="words"||e.data("splitout")=="lines")&&(e.find("a").length>0?e.data("mySplitText",new punchgs.SplitText(e.find("a"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):e.find(".tp-layer-inner-rotation").length>0?e.data("mySplitText",new punchgs.SplitText(e.find(".tp-layer-inner-rotation"),{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})):e.data("mySplitText",new punchgs.SplitText(e,{type:"lines,words,chars",charsClass:"tp-splitted",wordsClass:"tp-splitted",linesClass:"tp-splitted"})),e.addClass("splitted")),e.data("splitin")=="chars"&&(w=e.data("mySplitText").chars),e.data("splitin")=="words"&&(w=e.data("mySplitText").words),e.data("splitin")=="lines"&&(w=e.data("mySplitText").lines),c=a(),v=a(),e.data("repeat")!=t&&(repeatV=e.data("repeat")),e.data("yoyo")!=t&&(yoyoV=e.data("yoyo")),e.data("repeatdelay")!=t&&(repeatdelayV=e.data("repeatdelay")),e.hasClass("customin")?c=k(c,e.data("customin")):e.hasClass("randomrotate")?(c.scale=Math.random()*3+1,c.rotation=Math.round(Math.random()*200-100),c.x=Math.round(Math.random()*200-100),c.y=Math.round(Math.random()*200-100)):e.hasClass("lfr")||e.hasClass("skewfromright")?c.x=15+r.width:e.hasClass("lfl")||e.hasClass("skewfromleft")?c.x=-15-lt:e.hasClass("sfl")||e.hasClass("skewfromleftshort")?c.x=-50:e.hasClass("sfr")||e.hasClass("skewfromrightshort")?c.x=50:e.hasClass("lft")?c.y=-25-at:e.hasClass("lfb")?c.y=25+r.height:e.hasClass("sft")?c.y=-50:e.hasClass("sfb")&&(c.y=50),e.hasClass("skewfromright")||e.hasClass("skewfromrightshort")?c.skewX=-85:(e.hasClass("skewfromleft")||e.hasClass("skewfromleftshort"))&&(c.skewX=85),(e.hasClass("fade")||e.hasClass("sft")||e.hasClass("sfl")||e.hasClass("sfb")||e.hasClass("skewfromleftshort")||e.hasClass("sfr")||e.hasClass("skewfromrightshort"))&&(c.opacity=0),ei().toLowerCase()=="safari",bt=e.data("elementdelay")==t?0:e.data("elementdelay"),v.ease=c.ease=e.data("easing")==t?punchgs.Power1.easeInOut:e.data("easing"),c.data={},c.data.oldx=c.x,c.data.oldy=c.y,v.data={},v.data.oldx=v.x,v.data.oldy=v.y,c.x=c.x*y,c.y=c.y*y,vi=new punchgs.TimelineLite,nt!=2)if(e.hasClass("customin"))w!=e&&p.add(punchgs.TweenLite.set(e,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"})),c.visibility="hidden",v.visibility="visible",v.overwrite="all",v.opacity=1,v.onComplete=pi(),v.delay=pt,v.force3D="auto",p.add(vi.staggerFromTo(w,wt,c,v,bt),"frame0");else if(c.visibility="visible",c.transformPerspective=600,w!=e&&p.add(punchgs.TweenLite.set(e,{force3D:"auto",opacity:1,scaleX:1,scaleY:1,rotationX:0,rotationY:0,rotationZ:0,skewX:0,skewY:0,z:0,x:0,y:0,visibility:"visible",opacity:1,delay:0,overwrite:"all"})),v.visibility="visible",v.delay=pt,v.onComplete=pi(),v.opacity=1,v.force3D="auto",e.hasClass("randomrotate")&&w!=e)for(i=0;i<w.length;i++)yi={},kt={},n.extend(yi,c),n.extend(kt,v),c.scale=Math.random()*3+1,c.rotation=Math.round(Math.random()*200-100),c.x=Math.round(Math.random()*200-100),c.y=Math.round(Math.random()*200-100),i!=0&&(kt.delay=pt+i*bt),p.append(punchgs.TweenLite.fromTo(w[i],wt,yi,kt),"frame0");else p.add(vi.staggerFromTo(w,wt,c,v,bt),"frame0");e.data("timeline",p);nr=[];e.data("frames")!=t&&(ot=e.data("frames"),ot=ot.replace(/\s+/g,""),ot=ot.replace("{",""),wi=ot.split("}"),n.each(wi,function(n,t){if(t.length>0){var i=fi(t);si(e,r,i,"frame"+(n+10),y)}}));p=e.data("timeline");e.data("end")!=t&&(nt==-1||nt==2)?g(e,r,e.data("end")/1e3,c,"frame99",y):nt==-1||nt==2?g(e,r,999999,c,"frame99",y):g(e,r,200,c,"frame99",y);p=e.data("timeline");e.data("timeline",p);st(e,y);p.resume()}}ut&&(ht(e),st(e,y),e.data("timeline")!=t&&(bi=e.data("timeline").getTweensOf(),n.each(bi,function(n,i){if(i.vars.data!=t){var r=i.vars.data.oldx*y,u=i.vars.data.oldy*y;if(i.progress()!=1&&i.progress()!=0)try{i.vars.x=r;i.vary.y=u}catch(f){}else i.progress()==1&&punchgs.TweenLite.set(i.target,{x:r,y:u})}})))});c=n("body").find("#"+r.container.attr("id")).find(".tp-bannertimer");c.data("opt",r);e!=t&&setTimeout(function(){e.resume()},30)},ei=function(){var r=navigator.appName,t=navigator.userAgent,i,n=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return n&&(i=t.match(/version\/([\.\d]+)/i))!=null&&(n[2]=i[1]),n=n?[n[1],n[2]]:[r,navigator.appVersion,"-?"],n[0]},pi=function(){var r=navigator.appName,t=navigator.userAgent,i,n=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return n&&(i=t.match(/version\/([\.\d]+)/i))!=null&&(n[2]=i[1]),n=n?[n[1],n[2]]:[r,navigator.appVersion,"-?"],n[1]},d=function(n,i){n.data("fsize")==t&&n.data("fsize",parseInt(n.css("font-size"),0)||0);n.data("pt")==t&&n.data("pt",parseInt(n.css("paddingTop"),0)||0);n.data("pb")==t&&n.data("pb",parseInt(n.css("paddingBottom"),0)||0);n.data("pl")==t&&n.data("pl",parseInt(n.css("paddingLeft"),0)||0);n.data("pr")==t&&n.data("pr",parseInt(n.css("paddingRight"),0)||0);n.data("mt")==t&&n.data("mt",parseInt(n.css("marginTop"),0)||0);n.data("mb")==t&&n.data("mb",parseInt(n.css("marginBottom"),0)||0);n.data("ml")==t&&n.data("ml",parseInt(n.css("marginLeft"),0)||0);n.data("mr")==t&&n.data("mr",parseInt(n.css("marginRight"),0)||0);n.data("bt")==t&&n.data("bt",parseInt(n.css("borderTopWidth"),0)||0);n.data("bb")==t&&n.data("bb",parseInt(n.css("borderBottomWidth"),0)||0);n.data("bl")==t&&n.data("bl",parseInt(n.css("borderLeftWidth"),0)||0);n.data("br")==t&&n.data("br",parseInt(n.css("borderRightWidth"),0)||0);n.data("ls")==t&&n.data("ls",parseInt(n.css("letterSpacing"),0)||0);n.data("lh")==t&&n.data("lh",parseInt(n.css("lineHeight"),0)||"auto");n.data("minwidth")==t&&n.data("minwidth",parseInt(n.css("minWidth"),0)||0);n.data("minheight")==t&&n.data("minheight",parseInt(n.css("minHeight"),0)||0);n.data("maxwidth")==t&&n.data("maxwidth",parseInt(n.css("maxWidth"),0)||"none");n.data("maxheight")==t&&n.data("maxheight",parseInt(n.css("maxHeight"),0)||"none");n.data("wii")==t&&n.data("wii",parseInt(n.css("width"),0)||0);n.data("hii")==t&&n.data("hii",parseInt(n.css("height"),0)||0);n.data("wan")==t&&n.data("wan",n.css("-webkit-transition"));n.data("moan")==t&&n.data("moan",n.css("-moz-animation-transition"));n.data("man")==t&&n.data("man",n.css("-ms-animation-transition"));n.data("ani")==t&&n.data("ani",n.css("transition"));n.hasClass("tp-splitted")||(n.css("-webkit-transition","none"),n.css("-moz-transition","none"),n.css("-ms-transition","none"),n.css("transition","none"),punchgs.TweenLite.set(n,{fontSize:Math.round(n.data("fsize")*i.bw)+"px",letterSpacing:Math.floor(n.data("ls")*i.bw)+"px",paddingTop:Math.round(n.data("pt")*i.bh)+"px",paddingBottom:Math.round(n.data("pb")*i.bh)+"px",paddingLeft:Math.round(n.data("pl")*i.bw)+"px",paddingRight:Math.round(n.data("pr")*i.bw)+"px",marginTop:n.data("mt")*i.bh+"px",marginBottom:n.data("mb")*i.bh+"px",marginLeft:n.data("ml")*i.bw+"px",marginRight:n.data("mr")*i.bw+"px",borderTopWidth:Math.round(n.data("bt")*i.bh)+"px",borderBottomWidth:Math.round(n.data("bb")*i.bh)+"px",borderLeftWidth:Math.round(n.data("bl")*i.bw)+"px",borderRightWidth:Math.round(n.data("br")*i.bw)+"px",lineHeight:Math.round(n.data("lh")*i.bh)+"px",minWidth:n.data("minwidth")*i.bw+"px",minHeight:n.data("minheight")*i.bh+"px",overwrite:"auto"}),setTimeout(function(){n.css("-webkit-transition",n.data("wan"));n.css("-moz-transition",n.data("moan"));n.css("-ms-transition",n.data("man"));n.css("transition",n.data("ani"))},30),n.data("maxheight")!="none"&&n.css({maxHeight:n.data("maxheight")*i.bh+"px"}),n.data("maxwidth")!="none"&&n.css({maxWidth:n.data("maxwidth")*i.bw+"px"}))},st=function(i,r){i.find(".rs-pendulum").each(function(){var i=n(this),u,f;i.data("timeline")==t&&(i.data("timeline",new punchgs.TimelineLite),u=i.data("startdeg")==t?-20:i.data("startdeg"),f=i.data("enddeg")==t?20:i.data("enddeg"),speed=i.data("speed")==t?2:i.data("speed"),origin=i.data("origin")==t?"50% 50%":i.data("origin"),easing=i.data("ease")==t?punchgs.Power2.easeInOut:i.data("ease"),u=u*r,f=f*r,i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",rotation:u,transformOrigin:origin},{rotation:f,ease:easing})),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",rotation:f,transformOrigin:origin},{rotation:u,ease:easing,onComplete:function(){i.data("timeline").restart()}})))});i.find(".rs-slideloop").each(function(){var i=n(this),u,f;i.data("timeline")==t&&(i.data("timeline",new punchgs.TimelineLite),u=i.data("xs")==t?0:i.data("xs"),f=i.data("ys")==t?0:i.data("ys"),xe=i.data("xe")==t?0:i.data("xe"),ye=i.data("ye")==t?0:i.data("ye"),speed=i.data("speed")==t?2:i.data("speed"),easing=i.data("ease")==t?punchgs.Power2.easeInOut:i.data("ease"),u=u*r,f=f*r,xe=xe*r,ye=ye*r,i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",x:u,y:f},{x:xe,y:ye,ease:easing})),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",x:xe,y:ye},{x:u,y:f,onComplete:function(){i.data("timeline").restart()}})))});i.find(".rs-pulse").each(function(){var i=n(this),r,u;i.data("timeline")==t&&(i.data("timeline",new punchgs.TimelineLite),r=i.data("zoomstart")==t?0:i.data("zoomstart"),u=i.data("zoomend")==t?0:i.data("zoomend"),speed=i.data("speed")==t?2:i.data("speed"),easing=i.data("ease")==t?punchgs.Power2.easeInOut:i.data("ease"),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",scale:r},{scale:u,ease:easing})),i.data("timeline").append(new punchgs.TweenLite.fromTo(i,speed,{force3D:"auto",scale:u},{scale:r,onComplete:function(){i.data("timeline").restart()}})))});i.find(".rs-wave").each(function(){var i=n(this),u;if(i.data("timeline")==t){i.data("timeline",new punchgs.TimelineLite);var f=i.data("angle")==t?10:i.data("angle"),e=i.data("radius")==t?10:i.data("radius"),o=i.data("speed")==t?-20:i.data("speed"),s=i.data("origin")==t?-20:i.data("origin");f=f*r;e=e*r;u={a:0,ang:f,element:i,unit:e};i.data("timeline").append(new punchgs.TweenLite.fromTo(u,o,{a:360},{a:0,force3D:"auto",ease:punchgs.Linear.easeNone,onUpdate:function(){var n=u.a*(Math.PI/180);punchgs.TweenLite.to(u.element,.1,{force3D:"auto",x:Math.cos(n)*u.unit,y:u.unit*(1-Math.sin(n))})},onComplete:function(){i.data("timeline").restart()}}))}})},ht=function(i){i.find(".rs-pendulum, .rs-slideloop, .rs-pulse, .rs-wave").each(function(){var i=n(this);i.data("timeline")!=t&&(i.data("timeline").pause(),i.data("timeline",null))})},oi=function(i,r){var u=0,f=i.find(".tp-caption"),e=r.container.find(".tp-static-layers").find(".tp-caption");return n.each(e,function(n,t){f.push(t)}),f.each(function(){var e=-1,i=n(this),s,h,o;if(i.hasClass("tp-static-layer")&&((i.data("startslide")==-1||i.data("startslide")=="-1")&&i.data("startslide",0),(i.data("endslide")==-1||i.data("endslide")=="-1")&&i.data("endslide",r.slideamount),i.hasClass("tp-is-shown")?i.data("startslide")>r.next||i.data("endslide")<r.next?(e=2,i.removeClass("tp-is-shown")):e=0:e=2),e!=0){if(ht(i),i.find("iframe").length>0){try{var c=i.find("iframe"),l=c.attr("id"),a=$f(l);a.api("pause");clearTimeout(i.data("timerplay"))}catch(p){}try{s=i.data("player");s.stopVideo();clearTimeout(i.data("timerplay"))}catch(p){}}if(i.find("video").length>0)try{i.find("video").each(function(){var t=n(this).parent(),r=t.attr("id"),i;clearTimeout(t.data("timerplay"));i=this;i.pause()})}catch(p){}try{var f=i.data("timeline"),v=f.getLabelTime("frame99"),y=f.time();v>y&&(h=f.getTweensOf(i),n.each(h,function(n,t){n!=0&&t.pause()}),i.css("opacity")!=0?(o=i.data("endspeed")==t?i.data("speed"):i.data("endspeed"),o>u&&(u=o),f.play("frame99")):f.progress(1,!1))}catch(p){}}}),u},si=function(n,i,r,u,f){var o=n.data("timeline"),s=new punchgs.TimelineLite,e=n;r.typ=="chars"?e=n.data("mySplitText").chars:r.typ=="words"?e=n.data("mySplitText").words:r.typ=="lines"&&(e=n.data("mySplitText").lines);r.animation.ease=r.ease;r.animation.rotationZ!=t&&(r.animation.rotation=r.animation.rotationZ);r.animation.data={};r.animation.data.oldx=r.animation.x;r.animation.data.oldy=r.animation.y;r.animation.x=r.animation.x*f;r.animation.y=r.animation.y*f;o.add(s.staggerTo(e,r.speed,r.animation,r.elementdelay),r.start);o.addLabel(u,r.start);n.data("timeline",o)},g=function(n,i,r,u,f,e){var h=n.data("timeline"),v=new punchgs.TimelineLite,o=a(),c=n.data("endspeed")==t?n.data("speed"):n.data("endspeed"),s,l;o.ease=n.data("endeasing")==t?punchgs.Power1.easeInOut:n.data("endeasing");c=c/1e3;n.hasClass("ltr")||n.hasClass("ltl")||n.hasClass("str")||n.hasClass("stl")||n.hasClass("ltt")||n.hasClass("ltb")||n.hasClass("stt")||n.hasClass("stb")||n.hasClass("skewtoright")||n.hasClass("skewtorightshort")||n.hasClass("skewtoleft")||n.hasClass("skewtoleftshort")||n.hasClass("fadeout")||n.hasClass("randomrotateout")?(n.hasClass("skewtoright")||n.hasClass("skewtorightshort")?o.skewX=35:(n.hasClass("skewtoleft")||n.hasClass("skewtoleftshort"))&&(o.skewX=-35),n.hasClass("ltr")||n.hasClass("skewtoright")?o.x=i.width+60:n.hasClass("ltl")||n.hasClass("skewtoleft")?o.x=0-(i.width+60):n.hasClass("ltt")?o.y=0-(i.height+60):n.hasClass("ltb")?o.y=i.height+60:n.hasClass("str")||n.hasClass("skewtorightshort")?(o.x=50,o.opacity=0):n.hasClass("stl")||n.hasClass("skewtoleftshort")?(o.x=-50,o.opacity=0):n.hasClass("stt")?(o.y=-50,o.opacity=0):n.hasClass("stb")?(o.y=50,o.opacity=0):n.hasClass("randomrotateout")?(o.x=Math.random()*i.width,o.y=Math.random()*i.height,o.scale=Math.random()*2+.3,o.rotation=Math.random()*360-180,o.opacity=0):n.hasClass("fadeout")&&(o.opacity=0),n.hasClass("skewtorightshort")?o.x=270:n.hasClass("skewtoleftshort")&&(o.x=-270),o.data={},o.data.oldx=o.x,o.data.oldy=o.y,o.x=o.x*e,o.y=o.y*e,o.overwrite="auto",s=n,s=n,n.data("splitout")=="chars"?s=n.data("mySplitText").chars:n.data("splitout")=="words"?s=n.data("mySplitText").words:n.data("splitout")=="lines"&&(s=n.data("mySplitText").lines),l=n.data("endelementdelay")==t?0:n.data("endelementdelay"),h.add(v.staggerTo(s,c,o,l),r)):n.hasClass("customout")?(o=k(o,n.data("customout")),s=n,n.data("splitout")=="chars"?s=n.data("mySplitText").chars:n.data("splitout")=="words"?s=n.data("mySplitText").words:n.data("splitout")=="lines"&&(s=n.data("mySplitText").lines),l=n.data("endelementdelay")==t?0:n.data("endelementdelay"),o.onStart=function(){punchgs.TweenLite.set(n,{transformPerspective:o.transformPerspective,transformOrigin:o.transformOrigin,overwrite:"auto"})},o.data={},o.data.oldx=o.x,o.data.oldy=o.y,o.x=o.x*e,o.y=o.y*e,h.add(v.staggerTo(s,c,o,l),r)):(u.delay=0,h.add(punchgs.TweenLite.to(n,c,u),r));h.addLabel(f,r);n.data("timeline",h)},hi=function(t,i){t.children().each(function(){try{n(this).die("click")}catch(t){}try{n(this).die("mouseenter")}catch(t){}try{n(this).die("mouseleave")}catch(t){}try{n(this).unbind("hover")}catch(t){}});try{t.die("click","mouseenter","mouseleave")}catch(r){}clearInterval(i.cdint);t=null},ci=function(i,r){var f,e;if(r.cd=0,r.loop=0,r.looptogo=r.stopAfterLoops!=t&&r.stopAfterLoops>-1?r.stopAfterLoops:9999999,r.lastslidetoshow=r.stopAtSlide!=t&&r.stopAtSlide>-1?r.stopAtSlide:999,r.stopLoop="off",r.looptogo==0&&(r.stopLoop="on"),r.slideamount>1&&!(r.stopAfterLoops==0&&r.stopAtSlide==1)){f=i.find(".tp-bannertimer");i.on("stoptimer",function(){f.data("tween").pause();r.hideTimerBar=="on"&&f.css({visibility:"hidden"})});i.on("starttimer",function(){r.conthover!=1&&r.videoplaying!=!0&&r.width>r.hideSliderAtLimit&&r.bannertimeronpause!=!0&&r.overnav!=!0&&(r.stopLoop=="on"&&r.next==r.lastslidetoshow-1||(f.css({visibility:"visible"}),f.data("tween").play()));r.hideTimerBar=="on"&&f.css({visibility:"hidden"})});i.on("restarttimer",function(){r.stopLoop=="on"&&r.next==r.lastslidetoshow-1||(f.css({visibility:"visible"}),f.data("tween",punchgs.TweenLite.fromTo(f,r.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:e,delay:1})));r.hideTimerBar=="on"&&f.css({visibility:"hidden"})});i.on("nulltimer",function(){f.data("tween").pause(0);r.hideTimerBar=="on"&&f.css({visibility:"hidden"})});e=function(){n("body").find(i).length==0&&(hi(i,r),clearInterval(r.cdint));i.data("conthover-changed")==1&&(r.conthover=i.data("conthover"),i.data("conthover-changed",0));r.act=r.next;r.next=r.next+1;r.next>i.find(">ul >li").length-1&&(r.next=0,r.looptogo=r.looptogo-1,r.looptogo<=0&&(r.stopLoop="on"));r.stopLoop=="on"&&r.next==r.lastslidetoshow-1?(i.find(".tp-bannertimer").css({visibility:"hidden"}),i.trigger("revolution.slide.onstop")):f.data("tween").restart();b(i,r)};f.data("tween",punchgs.TweenLite.fromTo(f,r.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:e,delay:1}));f.data("opt",r);i.hover(function(){if(r.onHoverStop=="on"&&!u()){i.trigger("stoptimer");i.trigger("revolution.slide.onpause");var f=i.find(">ul >li:eq("+r.next+") .slotholder");f.find(".defaultimg").each(function(){var i=n(this);i.data("kenburn")!=t&&i.data("kenburn").pause()})}},function(){if(i.data("conthover")!=1){i.trigger("revolution.slide.onresume");i.trigger("starttimer");var u=i.find(">ul >li:eq("+r.next+") .slotholder");u.find(".defaultimg").each(function(){var i=n(this);i.data("kenburn")!=t&&i.data("kenburn").play()})}})}},u=function(){var n=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],t=!1;for(i in n)navigator.userAgent.split(n[i]).length>1&&(t=!0);return t},s=function(n,t,i){var u=t.data("owidth"),f=t.data("oheight");if(u/f>i.width/i.height){var e=i.container.width()/u,o=f*e,r=o/i.container.height()*n;return n=n*(100/r),r=100,n=n,n+"% "+r+"% 1"}var e=i.container.width()/u,o=f*e,r=o/i.container.height()*n;return n+"% "+r+"%"},nt=function(i,u,f,e){var w,d,g,h,a;try{w=i.find(">ul:first-child >li:eq("+u.act+")")}catch(ft){w=i.find(">ul:first-child >li:eq(1)")}u.lastslide=u.act;var nt=i.find(">ul:first-child >li:eq("+u.next+")"),o=nt.find(".slotholder"),tt=o.data("bgposition"),it=o.data("bgpositionend"),v=o.data("zoomstart")/100,y=o.data("zoomend")/100,k=o.data("rotationstart"),b=o.data("rotationend"),c=o.data("bgfit"),l=o.data("bgfitend"),rt=o.data("easeme"),ut=o.data("duration")/1e3,p=100;c==t&&(c=100);l==t&&(l=100);d=c;g=l;c=s(c,o,u);l=s(l,o,u);p=s(100,o,u);v==t&&(v=1);y==t&&(y=1);k==t&&(k=0);b==t&&(b=0);v<1&&(v=1);y<1&&(y=1);h={};h.w=parseInt(p.split(" ")[0],0);h.h=parseInt(p.split(" ")[1],0);a=!1;p.split(" ")[2]=="1"&&(a=!0);o.find(".defaultimg").each(function(){var f=n(this);o.find(".kenburnimg").length==0?o.append('<div class="kenburnimg" style="position:absolute;z-index:1;width:100%;height:100%;top:0px;left:0px;"><img src="'+f.attr("src")+'" style="-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;position:absolute;width:'+h.w+"%;height:"+h.h+'%;"><\/div>'):o.find(".kenburnimg img").css({width:h.w+"%",height:h.h+"%"});var t=o.find(".kenburnimg img"),i=ct(u,tt,c,t,a),s=ct(u,it,l,t,a);if(a&&(i.w=d/100,s.w=g/100),e){punchgs.TweenLite.set(t,{autoAlpha:0,transformPerspective:1200,transformOrigin:"0% 0%",top:0,left:0,scale:i.w,x:i.x,y:i.y});var v=i.w,y=v*t.width()-u.width,p=v*t.height()-u.height,w=Math.abs(i.x/y*100),k=Math.abs(i.y/p*100);p==0&&(k=0);y==0&&(w=0);f.data("bgposition",w+"% "+k+"%");r(8)||f.data("currotate",lt(t));r(8)||f.data("curscale",h.w*v+"%  "+(h.h*v+"%"));o.find(".kenburnimg").remove()}else f.data("kenburn",punchgs.TweenLite.fromTo(t,ut,{autoAlpha:1,force3D:punchgs.force3d,transformOrigin:"0% 0%",top:0,left:0,scale:i.w,x:i.x,y:i.y},{autoAlpha:1,rotationZ:b,ease:rt,x:s.x,y:s.y,scale:s.w,onUpdate:function(){var n=t[0]._gsTransform.scaleX,i=n*t.width()-u.width,e=n*t.height()-u.height,o=Math.abs(t[0]._gsTransform.x/i*100),s=Math.abs(t[0]._gsTransform.y/e*100);e==0&&(s=0);i==0&&(o=0);f.data("bgposition",o+"% "+s+"%");r(8)||f.data("currotate",lt(t));r(8)||f.data("curscale",h.w*n+"%  "+(h.h*n+"%"))}}))})},ct=function(n,t,i,r,u){var f={};f.w=u?parseInt(i.split(" ")[1],0)/100:parseInt(i.split(" ")[0],0)/100;switch(t){case"left top":case"top left":f.x=0;f.y=0;break;case"center top":case"top center":f.x=((0-r.width())*f.w+parseInt(n.width,0))/2;f.y=0;break;case"top right":case"right top":f.x=(0-r.width())*f.w+parseInt(n.width,0);f.y=0;break;case"center left":case"left center":f.x=0;f.y=((0-r.height())*f.w+parseInt(n.height,0))/2;break;case"center center":f.x=((0-r.width())*f.w+parseInt(n.width,0))/2;f.y=((0-r.height())*f.w+parseInt(n.height,0))/2;break;case"center right":case"right center":f.x=(0-r.width())*f.w+parseInt(n.width,0);f.y=((0-r.height())*f.w+parseInt(n.height,0))/2;break;case"bottom left":case"left bottom":f.x=0;f.y=(0-r.height())*f.w+parseInt(n.height,0);break;case"bottom center":case"center bottom":f.x=((0-r.width())*f.w+parseInt(n.width,0))/2;f.y=(0-r.height())*f.w+parseInt(n.height,0);break;case"bottom right":case"right bottom":f.x=(0-r.width())*f.w+parseInt(n.width,0);f.y=(0-r.height())*f.w+parseInt(n.height,0)}return f},lt=function(n){var i=n.css("-webkit-transform")||n.css("-moz-transform")||n.css("-ms-transform")||n.css("-o-transform")||n.css("transform"),t;if(i!=="none")var r=i.split("(")[1].split(")")[0].split(","),u=r[0],f=r[1],t=Math.round(Math.atan2(f,u)*(180/Math.PI));else t=0;return t<0?t+=360:t},li=function(i,r){var u;try{u=i.find(">ul:first-child >li:eq("+r.act+")")}catch(e){u=i.find(">ul:first-child >li:eq(1)")}r.lastslide=r.act;var f=i.find(">ul:first-child >li:eq("+r.next+")"),o=u.find(".slotholder"),s=f.find(".slotholder");i.find(".defaultimg").each(function(){var i=n(this);punchgs.TweenLite.killTweensOf(i,!1);punchgs.TweenLite.set(i,{scale:1,rotationZ:0});punchgs.TweenLite.killTweensOf(i.data("kenburn img"),!1);i.data("kenburn")!=t&&i.data("kenburn").pause();i.data("currotate")!=t&&i.data("bgposition")!=t&&i.data("curscale")!=t&&punchgs.TweenLite.set(i,{rotation:i.data("currotate"),backgroundPosition:i.data("bgposition"),backgroundSize:i.data("curscale")});i!=t&&i.data("kenburn img")!=t&&i.data("kenburn img").length>0&&punchgs.TweenLite.set(i.data("kenburn img"),{autoAlpha:0})})},ai=function(t,i){if(u()&&i.parallaxDisableOnMobile=="on")return!1;if(t.find(">ul:first-child >li").each(function(){for(var r=n(this),t=1;t<=10;t++)r.find(".rs-parallaxlevel-"+t).each(function(){var r=n(this);r.wrap('<div style="position:absolute;top:0px;left:0px;width:100%;height:100%;z-index:'+r.css("zIndex")+'" class="tp-parallax-container" data-parallaxlevel="'+i.parallaxLevels[t-1]+'"><\/div>')})}),i.parallax=="mouse"||i.parallax=="scroll+mouse"||i.parallax=="mouse+scroll"){t.mouseenter(function(n){var i=t.find(".current-sr-slide-visible"),r=t.offset().top,u=t.offset().left,f=n.pageX-u,e=n.pageY-r;i.data("enterx",f);i.data("entery",e)});t.on("mousemove.hoverdir, mouseleave.hoverdir",function(i){var r=t.find(".current-sr-slide-visible");switch(i.type){case"mousemove":var u=t.offset().top,f=t.offset().left,e=r.data("enterx"),o=r.data("entery"),s=e-(i.pageX-f),h=o-(i.pageY-u);r.find(".tp-parallax-container").each(function(){var t=n(this),i=parseInt(t.data("parallaxlevel"),0)/100,r=s*i,u=h*i;punchgs.TweenLite.to(t,.4,{force3D:"auto",x:r,y:u,ease:punchgs.Power3.easeOut,overwrite:"all"})});break;case"mouseleave":r.find(".tp-parallax-container").each(function(){var t=n(this);punchgs.TweenLite.to(t,1.5,{force3D:"auto",x:0,y:0,ease:punchgs.Power3.easeOut})})}});u()&&(window.ondeviceorientation=function(i){var r=Math.round(i.beta||0),u=Math.round(i.gamma||0),s=t.find(".current-sr-slide-visible"),f,e,o;n(window).width()>n(window).height()&&(f=u,u=r,r=f);e=360/t.width()*u;o=180/t.height()*r;s.find(".tp-parallax-container").each(function(){var t=n(this),i=parseInt(t.data("parallaxlevel"),0)/100,r=e*i,u=o*i;punchgs.TweenLite.to(t,.2,{force3D:"auto",x:r,y:u,ease:punchgs.Power3.easeOut})})})}if(i.parallax=="scroll"||i.parallax=="scroll+mouse"||i.parallax=="mouse+scroll")n(window).on("scroll",function(){h(t,i)})},h=function(t,i){var a,s,h;if(u()&&i.parallaxDisableOnMobile=="on")return!1;var e=t.offset().top,c=n(window).scrollTop(),o=e+t.height()/2,l=e+t.height()/2-c,f=n(window).height()/2,r=f-l;o<f&&(r=r-(f-o));a=t.find(".current-sr-slide-visible");t.find(".tp-parallax-container").each(function(){var t=n(this),u=parseInt(t.data("parallaxlevel"),0)/100,i=r*u;t.data("parallaxoffset",i);punchgs.TweenLite.to(t,.2,{force3D:"auto",y:i,ease:punchgs.Power3.easeOut})});i.parallaxBgFreeze!="on"&&(s=i.parallaxLevels[0]/100,h=r*s,punchgs.TweenLite.to(t,.2,{force3D:"auto",y:h,ease:punchgs.Power3.easeOut}))},vi=function(i,r){var s=i.parent(),u,e,o,h,c;(r.navigationType=="thumb"||r.navsecond=="both")&&s.append('<div class="tp-bullets tp-thumbs '+r.navigationStyle+'"><div class="tp-mask"><div class="tp-thumbcontainer"><\/div><\/div><\/div>');u=s.find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer");e=u.parent();e.width(r.thumbWidth*r.thumbAmount);e.height(r.thumbHeight);e.parent().width(r.thumbWidth*r.thumbAmount);e.parent().height(r.thumbHeight);i.find(">ul:first >li").each(function(n){var f=i.find(">ul:first >li:eq("+n+")"),o=f.find(".defaultimg").css("backgroundColor"),e,s;e=f.data("thumb")!=t?f.data("thumb"):f.find("img:first").attr("src");u.append('<div class="bullet thumb" style="background-color:'+o+";position:relative;width:"+r.thumbWidth+"px;height:"+r.thumbHeight+"px;background-image:url("+e+') !important;background-size:cover;background-position:center center;"><\/div>');s=u.find(".bullet:first")});o=10;u.find(".bullet").each(function(t){var u=n(this);t==r.slideamount-1&&u.addClass("last");t==0&&u.addClass("first");u.width(r.thumbWidth);u.height(r.thumbHeight);o<u.outerWidth(!0)&&(o=u.outerWidth(!0));u.click(function(){r.transition==0&&u.index()!=r.act&&(r.next=u.index(),f(r,i))})});h=o*i.find(">ul:first >li").length;c=u.parent().width();r.thumbWidth=o;c<h&&(n(document).mousemove(function(t){n("body").data("mousex",t.pageX)}),u.parent().mouseenter(function(){var r=n(this),t;r.addClass("over");var o=r.offset(),f=n("body").data("mousex")-o.left,u=r.width(),s=r.find(".bullet:first").outerWidth(!0),e=s*i.find(">ul:first >li").length,h=e-u+15,c=h/u;f=f-30;t=0-f*c;t>0&&(t=0);t<0-e+u&&(t=0-e+u);tt(r,t,200)}),u.parent().mousemove(function(){var f=n(this),o=f.offset(),t=n("body").data("mousex")-o.left,r=f.width(),s=f.find(".bullet:first").outerWidth(!0),e=s*i.find(">ul:first >li").length-1,h=e-r+15,c=h/r,u;t=t-3;t<6&&(t=0);t+3>r-6&&(t=r);u=0-t*c;u>0&&(u=0);u<0-e+r&&(u=0-e+r);tt(f,u,0)}),u.parent().mouseleave(function(){var t=n(this);t.removeClass("over");at(i)}))},at=function(n){var e=n.parent().find(".tp-bullets.tp-thumbs .tp-mask .tp-thumbcontainer"),t=e.parent(),h=t.offset(),u=t.find(".bullet:first").outerWidth(!0),o=t.find(".bullet.selected").index()*u,r=t.width(),u=t.find(".bullet:first").outerWidth(!0),f=u*n.find(">ul:first >li").length,s=f-r,c=s/r,i=0-o;i>0&&(i=0);i<0-f+r&&(i=0-f+r);t.hasClass("over")||tt(t,i,200)},tt=function(n,t){punchgs.TweenLite.to(n.find(".tp-thumbcontainer"),.2,{force3D:"auto",left:t,ease:punchgs.Power3.easeOut,overwrite:"auto"})}}(jQuery)