// source --> https://servindamian.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.0 /*! jQuery v3.7.0 | (c) OpenJS Foundation and other contributors | jquery.org/license */ !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(ie,e){"use strict";var oe=[],r=Object.getPrototypeOf,ae=oe.slice,g=oe.flat?function(e){return oe.flat.call(e)}:function(e){return oe.concat.apply([],e)},s=oe.push,se=oe.indexOf,n={},i=n.toString,ue=n.hasOwnProperty,o=ue.toString,a=o.call(Object),le={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},y=function(e){return null!=e&&e===e.window},C=ie.document,u={type:!0,src:!0,nonce:!0,noModule:!0};function m(e,t,n){var r,i,o=(n=n||C).createElement("script");if(o.text=e,t)for(r in u)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[i.call(e)]||"object":typeof e}var t="3.7.0",l=/HTML$/i,ce=function(e,t){return new ce.fn.init(e,t)};function c(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!v(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+ge+")"+ge+"*"),x=new RegExp(ge+"|>"),j=new RegExp(g),A=new RegExp("^"+t+"$"),D={ID:new RegExp("^#("+t+")"),CLASS:new RegExp("^\\.("+t+")"),TAG:new RegExp("^("+t+"|[*])"),ATTR:new RegExp("^"+p),PSEUDO:new RegExp("^"+g),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ge+"*(even|odd|(([+-]|)(\\d*)n|)"+ge+"*(?:([+-]|)"+ge+"*(\\d+)|))"+ge+"*\\)|)","i"),bool:new RegExp("^(?:"+f+")$","i"),needsContext:new RegExp("^"+ge+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ge+"*((?:-\\d)?\\d*)"+ge+"*\\)|)(?=[^-]|$)","i")},N=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,L=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,H=/[+~]/,O=new RegExp("\\\\[\\da-fA-F]{1,6}"+ge+"?|\\\\([^\\r\\n\\f])","g"),P=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},R=function(){V()},M=J(function(e){return!0===e.disabled&&fe(e,"fieldset")},{dir:"parentNode",next:"legend"});try{k.apply(oe=ae.call(ye.childNodes),ye.childNodes),oe[ye.childNodes.length].nodeType}catch(e){k={apply:function(e,t){me.apply(e,ae.call(t))},call:function(e){me.apply(e,ae.call(arguments,1))}}}function I(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(V(e),e=e||T,C)){if(11!==p&&(u=L.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return k.call(n,a),n}else if(f&&(a=f.getElementById(i))&&I.contains(e,a)&&a.id===i)return k.call(n,a),n}else{if(u[2])return k.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&e.getElementsByClassName)return k.apply(n,e.getElementsByClassName(i)),n}if(!(h[t+" "]||d&&d.test(t))){if(c=t,f=e,1===p&&(x.test(t)||m.test(t))){(f=H.test(t)&&z(e.parentNode)||e)==e&&le.scope||((s=e.getAttribute("id"))?s=ce.escapeSelector(s):e.setAttribute("id",s=S)),o=(l=Y(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+Q(l[o]);c=l.join(",")}try{return k.apply(n,f.querySelectorAll(c)),n}catch(e){h(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return re(t.replace(ve,"$1"),e,n,r)}function W(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function F(e){return e[S]=!0,e}function $(e){var t=T.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function B(t){return function(e){return fe(e,"input")&&e.type===t}}function _(t){return function(e){return(fe(e,"input")||fe(e,"button"))&&e.type===t}}function X(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&M(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function U(a){return F(function(o){return o=+o,F(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function z(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function V(e){var t,n=e?e.ownerDocument||e:ye;return n!=T&&9===n.nodeType&&n.documentElement&&(r=(T=n).documentElement,C=!ce.isXMLDoc(T),i=r.matches||r.webkitMatchesSelector||r.msMatchesSelector,ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",R),le.getById=$(function(e){return r.appendChild(e).id=ce.expando,!T.getElementsByName||!T.getElementsByName(ce.expando).length}),le.disconnectedMatch=$(function(e){return i.call(e,"*")}),le.scope=$(function(){return T.querySelectorAll(":scope")}),le.cssHas=$(function(){try{return T.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),le.getById?(b.filter.ID=function(e){var t=e.replace(O,P);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(O,P);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&C){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},b.find.CLASS=function(e,t){if("undefined"!=typeof t.getElementsByClassName&&C)return t.getElementsByClassName(e)},d=[],$(function(e){var t;r.appendChild(e).innerHTML="",e.querySelectorAll("[selected]").length||d.push("\\["+ge+"*(?:value|"+f+")"),e.querySelectorAll("[id~="+S+"-]").length||d.push("~="),e.querySelectorAll("a#"+S+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=T.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),r.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=T.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+ge+"*name"+ge+"*="+ge+"*(?:''|\"\")")}),le.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),l=function(e,t){if(e===t)return a=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!le.sortDetached&&t.compareDocumentPosition(e)===n?e===T||e.ownerDocument==ye&&I.contains(ye,e)?-1:t===T||t.ownerDocument==ye&&I.contains(ye,t)?1:o?se.call(o,e)-se.call(o,t):0:4&n?-1:1)}),T}for(e in I.matches=function(e,t){return I(e,null,null,t)},I.matchesSelector=function(e,t){if(V(e),C&&!h[t+" "]&&(!d||!d.test(t)))try{var n=i.call(e,t);if(n||le.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){h(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(O,P),e[3]=(e[3]||e[4]||e[5]||"").replace(O,P),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||I.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&I.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return D.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&j.test(n)&&(t=Y(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(O,P).toLowerCase();return"*"===e?function(){return!0}:function(e){return fe(e,t)}},CLASS:function(e){var t=s[e+" "];return t||(t=new RegExp("(^|"+ge+")"+e+"("+ge+"|$)"))&&s(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=I.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function T(e,n,r){return v(n)?ce.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?ce.grep(e,function(e){return e===n!==r}):"string"!=typeof n?ce.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(ce.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||k,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:S.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof ce?t[0]:t,ce.merge(this,ce.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:C,!0)),w.test(r[1])&&ce.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=C.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(ce):ce.makeArray(e,this)}).prototype=ce.fn,k=ce(C);var E=/^(?:parents|prev(?:Until|All))/,j={children:!0,contents:!0,next:!0,prev:!0};function A(e,t){while((e=e[t])&&1!==e.nodeType);return e}ce.fn.extend({has:function(e){var t=ce(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,Ce=/^$|^module$|\/(?:java|ecma)script/i;xe=C.createDocumentFragment().appendChild(C.createElement("div")),(be=C.createElement("input")).setAttribute("type","radio"),be.setAttribute("checked","checked"),be.setAttribute("name","t"),xe.appendChild(be),le.checkClone=xe.cloneNode(!0).cloneNode(!0).lastChild.checked,xe.innerHTML="",le.noCloneChecked=!!xe.cloneNode(!0).lastChild.defaultValue,xe.innerHTML="",le.option=!!xe.lastChild;var ke={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function Se(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&fe(e,t)?ce.merge([e],n):n}function Ee(e,t){for(var n=0,r=e.length;n",""]);var je=/<|&#?\w+;/;function Ae(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function Me(e,t){return fe(e,"table")&&fe(11!==t.nodeType?t:t.firstChild,"tr")&&ce(e).children("tbody")[0]||e}function Ie(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function We(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Fe(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(_.hasData(e)&&(s=_.get(e).events))for(i in _.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),C.head.appendChild(r[0])},abort:function(){i&&i()}}});var Jt,Kt=[],Zt=/(=)\?(?=&|$)|\?\?/;ce.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||ce.expando+"_"+jt.guid++;return this[e]=!0,e}}),ce.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Zt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Zt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Zt,"$1"+r):!1!==e.jsonp&&(e.url+=(At.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||ce.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=ie[r],ie[r]=function(){o=arguments},n.always(function(){void 0===i?ce(ie).removeProp(r):ie[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Kt.push(r)),o&&v(i)&&i(o[0]),o=i=void 0}),"script"}),le.createHTMLDocument=((Jt=C.implementation.createHTMLDocument("").body).innerHTML="
",2===Jt.childNodes.length),ce.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(le.createHTMLDocument?((r=(t=C.implementation.createHTMLDocument("")).createElement("base")).href=C.location.href,t.head.appendChild(r)):t=C),o=!n&&[],(i=w.exec(e))?[t.createElement(i[1])]:(i=Ae([e],t,o),o&&o.length&&ce(o).remove(),ce.merge([],i.childNodes)));var r,i,o},ce.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(ce.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},ce.expr.pseudos.animated=function(t){return ce.grep(ce.timers,function(e){return t===e.elem}).length},ce.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=ce.css(e,"position"),c=ce(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=ce.css(e,"top"),u=ce.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),v(t)&&(t=t.call(e,n,ce.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},ce.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){ce.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===ce.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===ce.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=ce(e).offset()).top+=ce.css(e,"borderTopWidth",!0),i.left+=ce.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-ce.css(r,"marginTop",!0),left:t.left-i.left-ce.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===ce.css(e,"position"))e=e.offsetParent;return e||J})}}),ce.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;ce.fn[t]=function(e){return R(this,function(e,t,n){var r;if(y(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),ce.each(["top","left"],function(e,n){ce.cssHooks[n]=Ye(le.pixelPosition,function(e,t){if(t)return t=Ge(e,n),_e.test(t)?ce(e).position()[n]+"px":t})}),ce.each({Height:"height",Width:"width"},function(a,s){ce.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){ce.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return R(this,function(e,t,n){var r;return y(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?ce.css(e,t,i):ce.style(e,t,n,i)},s,n?e:void 0,n)}})}),ce.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){ce.fn[t]=function(e){return this.on(t,e)}}),ce.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),ce.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){ce.fn[n]=function(e,t){return 0 https://servindamian.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1 /*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); // source --> https://servindamian.com/wp-content/plugins/revslider/public/assets/js/rbtools.min.js?ver=6.4.3 !function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports=jQuery},function(t,e,n){n(2),n(6),t.exports=n(4)},function(t,e,n){var r,i,u,s; /*! * @fileOverview TouchSwipe - jQuery Plugin @version 1.6.18 / SANDBOXED VERSION FOR TP * @author Matt Bryson http://www.github.com/mattbryson * @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin * @see http://labs.rampinteractive.co.uk/touchSwipe/ * @see http://plugins.jquery.com/project/touchSwipe * @license * Copyright (c) 2010-2015 Matt Bryson * Dual licensed under the MIT or GPL Version 2 licenses. * */s=function(t){"use strict";var e="left",n="right",r="up",i="down",u="none",s="doubletap",o="longtap",a="horizontal",l="vertical",h="all",f="move",D="end",p="cancel",c="ontouchstart"in window,d=window.navigator.msPointerEnabled&&!window.PointerEvent&&!c,g=(window.PointerEvent||window.navigator.msPointerEnabled)&&!c,_="TouchSwipe";function m(m,v){v=t.extend({},v);var y=c||g||!v.fallbackToMouseEvents,C=y?g?d?"MSPointerDown":"pointerdown":"touchstart":"mousedown",x=y?g?d?"MSPointerMove":"pointermove":"touchmove":"mousemove",F=y?g?d?"MSPointerUp":"pointerup":"touchend":"mouseup",w=y?g?"mouseleave":null:"mouseleave",E=g?d?"MSPointerCancel":"pointercancel":"touchcancel",b=0,T=null,A=null,M=0,O=0,S=0,P=1,B=0,k=0,L=null,N=t(m),R="start",I=0,z={},Y=0,X=0,j=0,V=0,U=0,W=null,q=null;try{N.on(C,G),N.on(E,K)}catch(m){t.error("events not supported "+C+","+E+" on jQuery.swipe")}function G(u){if(!0!==N.data(_+"_intouch")&&!(0g.left&&d.xg.top&&d.yv.longTapThreshold&&b<10&&v.longTap&&!1!==n?n=et(t,e,o):1!==I&&c||!(isNaN(b)||b=v.threshold),t}function rt(){var t=!1;return null!==v.cancelThreshold&&null!==T&&(t=vt(T)-b>=v.cancelThreshold),t}function it(){return!(v.maxTimeThreshold&&M>=v.maxTimeThreshold)}function ut(){var t=lt(),e=ht(),n=null===v.pinchThreshold||B>=v.pinchThreshold;return t&&e&&n}function st(){return v.pinchStatus||v.pinchIn||v.pinchOut}function ot(){var t=it(),e=nt(),n=lt(),r=ht();return!rt()&&r&&n&&e&&t}function at(){return v.swipe||v.swipeStatus||v.swipeLeft||v.swipeRight||v.swipeUp||v.swipeDown}function lt(){return I===v.fingers||v.fingers===h||!c}function ht(){return 0!==z[0].end.x}function ft(){return v.tap}function Dt(){return!!v.doubleTap}function pt(){if(null==U)return!1;var t=wt();return Dt()&&t-U<=v.doubleTapThreshold}function ct(){V=j=0}function dt(){var t=!1;return j&&wt()-j<=v.fingerReleaseThreshold&&(t=!0),t}function gt(t){N&&(!0===t?(N.on(x,H),N.on(F,Q),w&&N.on(w,Z)):(N.off(x,H,!1),N.off(F,Q,!1),w&&N.off(w,Z,!1)),N.data(_+"_intouch",!0===t))}function _t(t,e){var n={start:{x:0,y:0},last:{x:0,y:0},end:{x:0,y:0}};return n.start.x=n.last.x=n.end.x=e.pageX||e.clientX,n.start.y=n.last.y=n.end.y=e.pageY||e.clientY,z[t]=n}function mt(t){var e=void 0!==t.identifier?t.identifier:0,n=z[e]||null;return null===n&&(n=_t(e,t)),n.last.x=n.end.x,n.last.y=n.end.y,n.end.x=t.pageX||t.clientX,n.end.y=t.pageY||t.clientY,n}function vt(t){if(L[t])return L[t].distance}function yt(t){return{direction:t,distance:0}}function Ct(){return X-Y}function xt(t,e){var n=Math.abs(t.x-e.x),r=Math.abs(t.y-e.y);return Math.round(Math.sqrt(n*n+r*r))}function Ft(t,s){if(a=s,(o=t).x==a.x&&o.y==a.y)return u;var o,a,l,h,f,D,p,c,d=(h=s,f=(l=t).x-h.x,D=h.y-l.y,p=Math.atan2(D,f),(c=Math.round(180*p/Math.PI))<0&&(c=360-Math.abs(c)),c);return d<=45&&0<=d||d<=360&&315<=d?e:135<=d&&d<=225?n:45t._dur||e._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},It=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},zt=function(t){return t._repeat?Yt(t._tTime,t=t.duration()+t._rDelay)*t:0},Yt=function(t,e){return(t/=e)&&~~t===t?~~t-1:~~t},Xt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},jt=function(t){return t._end=xt(t._start+(t._tDur/Math.abs(t._ts||t._rts||1e-8)||0))},Vt=function(t,e){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=xt(t._dp._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),jt(t),n._dirty||Rt(n,t)),t},Ut=function(t,e){var n;if((e._time||e._initted&&!e._dur)&&(n=Xt(t.rawTime(),e),(!e._dur||Jt(0,e.totalDuration(),n)-e._tTime>1e-8)&&e.render(n,!0)),Rt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-1e-8}},Wt=function(t,e,n,r){return e.parent&&Nt(e),e._start=xt(n+e._delay),e._end=xt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),function(t,e,n,r,i){void 0===n&&(n="_first"),void 0===r&&(r="_last");var u,s=t[r];if(i)for(u=e[i];s&&s[i]>u;)s=s._prev;s?(e._next=s._next,s._next=e):(e._next=t[n],t[n]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,r||Ut(t,e),t},qt=function(t,e){return(rt.ScrollTrigger||st("scrollTrigger",e))&&rt.ScrollTrigger.create(e,t)},Gt=function(t,e,n,r){return We(t,e),t._initted?!n&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&h!==Ee.frame?(ft.push(t),t._lazy=[e,r],1):void 0:1},Ht=function(t,e,n,r){var i=t._repeat,u=xt(e)||0,s=t._tTime/t._tDur;return s&&!r&&(t._time*=u/t._dur),t._dur=u,t._tDur=i?i<0?1e10:xt(u*(i+1)+t._rDelay*i):u,s&&!r?Vt(t,t._tTime=t._tDur*s):t.parent&&jt(t),n||Rt(t.parent,t),t},Qt=function(t){return t instanceof Ye?Rt(t):Ht(t,t._dur)},Kt={_start:0,endTime:lt},Zt=function t(e,n){var r,i,u=e.labels,s=e._recent||Kt,o=e.duration()>=k?s.endTime(!1):e._dur;return X(n)&&(isNaN(n)||n in u)?"<"===(r=n.charAt(0))||">"===r?("<"===r?s._start:s.endTime(s._repeat>=0))+(parseFloat(n.substr(1))||0):(r=n.indexOf("="))<0?(n in u||(u[n]=o),u[n]):(i=+(n.charAt(r-1)+n.substr(r+1)),r>1?t(e,n.substr(0,r-1))+i:o+i):null==n?o:+n},$t=function(t,e){return t||0===t?e(t):e},Jt=function(t,e,n){return ne?e:n},te=function(t){return(t=(t+"").substr((parseFloat(t)+"").length))&&isNaN(t)?t:""},ee=[].slice,ne=function(t,e){return t&&W(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&W(t[0]))&&!t.nodeType&&t!==s},re=function(t,e,n){return void 0===n&&(n=[]),t.forEach((function(t){var r;return X(t)&&!e||ne(t,1)?(r=n).push.apply(r,ie(t)):n.push(t)}))||n},ie=function(t,e){return!X(t)||e||!o&&be()?K(t)?re(t,e):ne(t)?ee.call(t,0):t?[t]:[]:ee.call(a.querySelectorAll(t),0)},ue=function(t){return t.sort((function(){return.5-Math.random()}))},se=function(t){if(j(t))return t;var e=W(t)?t:{each:t},n=Be(e.ease),r=e.from||0,i=parseFloat(e.base)||0,u={},s=r>0&&r<1,o=isNaN(r)||s,a=e.axis,l=r,h=r;return X(r)?l=h={center:.5,edges:.5,end:1}[r]||0:!s&&o&&(l=r[0],h=r[1]),function(t,s,f){var D,p,c,d,g,_,m,v,y,C=(f||e).length,x=u[C];if(!x){if(!(y="auto"===e.grid?0:(e.grid||[1,k])[1])){for(m=-k;m<(m=f[y++].getBoundingClientRect().left)&&ym&&(m=g),gC?C-1:a?"y"===a?C/y:y:Math.max(y,C/y))||0)*("edges"===r?-1:1),x.b=C<0?i-C:i,x.u=te(e.amount||e.each)||0,n=n&&C<0?Se(n):n}return C=(x[t]-x.min)/x.max||0,xt(x.b+(n?n(C):C)*x.v)+x.u}},oe=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return Math.floor(Math.round(parseFloat(n)/t)*t*e)/e+(V(n)?0:te(n))}},ae=function(t,e){var n,r,i=K(t);return!i&&W(t)&&(n=i=t.radius||k,t.values?(t=ie(t.values),(r=!V(t[0]))&&(n*=n)):t=oe(t.increment)),$t(e,i?j(t)?function(e){return r=t(e),Math.abs(r-e)<=n?r:e}:function(e){for(var i,u,s=parseFloat(r?e.x:e),o=parseFloat(r?e.y:0),a=k,l=0,h=t.length;h--;)(i=r?(i=t[h].x-s)*i+(u=t[h].y-o)*u:Math.abs(t[h]-s))(i=Math.abs(i))&&(u=r,o=i);return u},ce=function(t,e,n){var r,i,u=t.vars,s=u[e];if(s)return r=u[e+"Params"],i=u.callbackScope||t,n&&ft.length&&Et(),r?s.apply(i,r):s.call(i)},de=function(t){return Nt(t),t.progress()<1&&ce(t,"onInterrupt"),t},ge=function(t){var e=(t=!t.name&&t.default||t).name,n=j(t),r=e&&!n&&t.init?function(){this._props=[]}:t,i={init:lt,render:un,add:Ve,kill:on,modifier:sn,rawVars:0},u={targetTest:0,get:0,getSetter:tn,aliases:{},register:0};if(be(),t!==r){if(pt[e])return;Mt(r,Mt(Bt(t,i),u)),St(r.prototype,St(i,Bt(t,u))),pt[r.prop=e]=r,t.targetTest&&(gt.push(r),ht[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}at(e,r),t.register&&t.register(cn,r,hn)},_e={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],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]},me=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ve=function(t,e,n){var r,i,u,s,o,a,l,h,f,D,p=t?V(t)?[t>>16,t>>8&255,255&t]:0:_e.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),_e[t])p=_e[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),i=t.charAt(2),u=t.charAt(3),t="#"+r+r+i+i+u+u),p=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(p=D=t.match(Z),e){if(~t.indexOf("="))return p=t.match($),n&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,o=+p[1]/100,r=2*(a=+p[2]/100)-(i=a<=.5?a*(o+1):a+o-a*o),p.length>3&&(p[3]*=1),p[0]=me(s+1/3,r,i),p[1]=me(s,r,i),p[2]=me(s-1/3,r,i);else p=t.match(Z)||_e.transparent;p=p.map(Number)}return e&&!D&&(r=p[0]/255,i=p[1]/255,u=p[2]/255,a=((l=Math.max(r,i,u))+(h=Math.min(r,i,u)))/2,l===h?s=o=0:(f=l-h,o=a>.5?f/(2-l-h):f/(l+h),s=l===r?(i-u)/f+(iy&&(x+=s-C),((n=(i=(F+=s)-x)-E)>0||o)&&(u=++g.frame,_=i-1e3*g.time,g.time=i/=1e3,E+=n+(n>=w?4:w-n),r=1),o||(p=c(t)),r)for(m=0;m=e&&m--},_listeners:b=[]}),be=function(){return!D&&Ee.wake()},Te={},Ae=/^[\d.\-M][\d.\-,\s]/,Me=/["']/g,Oe=function(t){for(var e,n,r,i={},u=t.substr(1,t.length-3).split(":"),s=u[0],o=1,a=u.length;o1&&s.config?s.config.apply(null,~t.indexOf("{")?[Oe(u[1])]:(e=t,n=e.indexOf("(")+1,r=e.indexOf(")"),i=e.indexOf("(",n),e.substring(n,~i&&i=1?n:1,u=(r||(e?.3:.45))/(n<1?n:1),s=u/L*(Math.asin(1/i)||0),o=function(t){return 1===t?1:i*Math.pow(2,-10*t)*Y((t-s)*u)+1},a="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Le(o);return u=L/u,a.config=function(n,r){return t(e,n,r)},a},Re=function t(e,n){void 0===n&&(n=1.70158);var r=function(t){return t?--t*t*((n+1)*t+n)+1:0},i="out"===e?r:"in"===e?function(t){return 1-r(1-t)}:Le(r);return i.config=function(n){return t(e,n)},i};Ct("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var n=e<5?e+1:e;ke(t+",Power"+(n-1),e?function(t){return Math.pow(t,n)}:function(t){return t},(function(t){return 1-Math.pow(1-t,n)}),(function(t){return t<.5?Math.pow(2*t,n)/2:1-Math.pow(2*(1-t),n)/2}))})),Te.Linear.easeNone=Te.none=Te.Linear.easeIn,ke("Elastic",Ne("in"),Ne("out"),Ne()),A=7.5625,O=1/(M=2.75),ke("Bounce",(function(t){return 1-S(1-t)}),S=function(t){return t0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,Ht(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(be(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Vt(this,t);n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&Wt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&1e-8===Math.abs(this._zTime)||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),bt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+zt(this))%this._dur||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+zt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*n,e):this._repeat?Yt(this._tTime,n)+1:1},e.timeScale=function(t){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?Xt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,It(this.totalTime(Jt(-this._delay,this._tDur,e),!0))},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(be(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&(this._tTime-=1e-8)&&1e-8!==Math.abs(this._zTime)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Wt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(q(t)?this.totalDuration():this.duration())/Math.abs(this._ts)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Xt(e.rawTime(t),this):this._tTime:this._tTime},e.globalTime=function(t){for(var e=this,n=arguments.length?t:e.rawTime();e;)n=e._start+n/(e._ts||1),e=e._dp;return n},e.repeat=function(t){return arguments.length?(this._repeat=t,Qt(this)):this._repeat},e.repeatDelay=function(t){return arguments.length?(this._rDelay=t,Qt(this)):this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Zt(this,t),q(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,q(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,n=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=n&&t1?(e?(r[t]=e,n&&(r[t+"Params"]=n),"onUpdate"===t&&(this._onUpdate=e)):delete r[t],this):r[t]},e.then=function(t){var e=this;return new Promise((function(n){var r=j(t)?t:At,i=function(){var t=e.then;e.then=null,j(r)&&(r=r(e))&&(r.then||r===e)&&(e.then=t),n(r),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?i():e._prom=i}))},e.kill=function(){de(this)},t}();Mt(ze.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Ye=function(t){function e(e,n){var i;return void 0===e&&(e={}),(i=t.call(this,e,n)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=q(e.sortChildren),i.parent&&Ut(i.parent,r(i)),e.scrollTrigger&&qt(r(i),e.scrollTrigger),i}i(e,t);var n=e.prototype;return n.to=function(t,e,n){return new Qe(t,wt(arguments,0,this),Zt(this,V(e)?arguments[3]:n)),this},n.from=function(t,e,n){return new Qe(t,wt(arguments,1,this),Zt(this,V(e)?arguments[3]:n)),this},n.fromTo=function(t,e,n,r){return new Qe(t,wt(arguments,2,this),Zt(this,V(e)?arguments[4]:r)),this},n.set=function(t,e,n){return e.duration=0,e.parent=this,kt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Qe(t,e,Zt(this,n),1),this},n.call=function(t,e,n){return Wt(this,Qe.delayedCall(0,t,e),Zt(this,n))},n.staggerTo=function(t,e,n,r,i,u,s){return n.duration=e,n.stagger=n.stagger||r,n.onComplete=u,n.onCompleteParams=s,n.parent=this,new Qe(t,n,Zt(this,i)),this},n.staggerFrom=function(t,e,n,r,i,u,s){return n.runBackwards=1,kt(n).immediateRender=q(n.immediateRender),this.staggerTo(t,e,n,r,i,u,s)},n.staggerFromTo=function(t,e,n,r,i,u,s,o){return r.startAt=n,kt(r).immediateRender=q(r.immediateRender),this.staggerTo(t,e,r,i,u,s,o)},n.render=function(t,e,n){var r,i,s,o,a,l,h,f,D,p,c,d,g=this._time,_=this._dirty?this.totalDuration():this._tDur,m=this._dur,v=this!==u&&t>_-1e-8&&t>=0?_:t<1e-8?0:t,y=this._zTime<0!=t<0&&(this._initted||!m);if(v!==this._tTime||n||y){if(g!==this._time&&m&&(v+=this._time-g,t+=this._time-g),r=v,D=this._start,l=!(f=this._ts),y&&(m||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat&&(c=this._yoyo,a=m+this._rDelay,r=xt(v%a),v===_?(o=this._repeat,r=m):((o=~~(v/a))&&o===v/a&&(r=m,o--),r>m&&(r=m)),p=Yt(this._tTime,a),!g&&this._tTime&&p!==o&&(p=o),c&&1&o&&(r=m-r,d=1),o!==p&&!this._lock)){var C=c&&1&p,x=C===(c&&1&o);if(oe)for(r=t._first;r&&r._start<=n;){if(!r._dur&&"isPause"===r.data&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=n;){if(!r._dur&&"isPause"===r.data&&r._start=g&&t>=0)for(i=this._first;i;){if(s=i._next,(i._act||r>=i._start)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(r-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(r-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){h=0,s&&(v+=this._zTime=-1e-8);break}}i=s}else{i=this._last;for(var F=t<0?t:r;i;){if(s=i._prev,(i._act||F<=i._end)&&i._ts&&h!==i){if(i.parent!==this)return this.render(t,e,n);if(i.render(i._ts>0?(F-i._start)*i._ts:(i._dirty?i.totalDuration():i._tDur)+(F-i._start)*i._ts,e,n),r!==this._time||!this._ts&&!l){h=0,s&&(v+=this._zTime=F?-1e-8:1e-8);break}}i=s}}if(h&&!e&&(this.pause(),h.render(r>=g?0:-1e-8)._zTime=r>=g?1:-1,this._ts))return this._start=D,jt(this),this.render(t,e,n);this._onUpdate&&!e&&ce(this,"onUpdate",!0),(v===_&&_>=this.totalDuration()||!v&&g)&&(D!==this._start&&Math.abs(f)===Math.abs(this._ts)||this._lock||((t||!m)&&(v===_&&this._ts>0||!v&&this._ts<0)&&Nt(this,1),e||t<0&&!g||!v&&!g||(ce(this,v===_?"onComplete":"onReverseComplete",!0),this._prom&&!(v<_&&this.timeScale()>0)&&this._prom())))}return this},n.add=function(t,e){var n=this;if(V(e)||(e=Zt(this,e)),!(t instanceof ze)){if(K(t))return t.forEach((function(t){return n.add(t,e)})),this;if(X(t))return this.addLabel(t,e);if(!j(t))return this;t=Qe.delayedCall(0,t)}return this!==t?Wt(this,t,e):this},n.getChildren=function(t,e,n,r){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===n&&(n=!0),void 0===r&&(r=-k);for(var i=[],u=this._first;u;)u._start>=r&&(u instanceof Qe?e&&i.push(u):(n&&i.push(u),t&&i.push.apply(i,u.getChildren(!0,e,n)))),u=u._next;return i},n.getById=function(t){for(var e=this.getChildren(1,1,1),n=e.length;n--;)if(e[n].vars.id===t)return e[n]},n.remove=function(t){return X(t)?this.removeLabel(t):j(t)?this.killTweensOf(t):(Lt(this,t),t===this._recent&&(this._recent=this._last),Rt(this))},n.totalTime=function(e,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=xt(Ee.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,n),this._forcing=0,this):this._tTime},n.addLabel=function(t,e){return this.labels[t]=Zt(this,e),this},n.removeLabel=function(t){return delete this.labels[t],this},n.addPause=function(t,e,n){var r=Qe.delayedCall(0,e||lt,n);return r.data="isPause",this._hasPause=1,Wt(this,r,Zt(this,t))},n.removePause=function(t){var e=this._first;for(t=Zt(this,t);e;)e._start===t&&"isPause"===e.data&&Nt(e),e=e._next},n.killTweensOf=function(t,e,n){for(var r=this.getTweensOf(t,n),i=r.length;i--;)Xe!==r[i]&&r[i].kill(t,e);return this},n.getTweensOf=function(t,e){for(var n,r=[],i=ie(t),u=this._first,s=V(e);u;)u instanceof Qe?Ft(u._targets,i)&&(s?(!Xe||u._initted&&u._ts)&&u.globalTime(0)<=e&&u.globalTime(u.totalDuration())>e:!e||u.isActive())&&r.push(u):(n=u.getTweensOf(i,e)).length&&r.push.apply(r,n),u=u._next;return r},n.tweenTo=function(t,e){e=e||{};var n=this,r=Zt(n,t),i=e,u=i.startAt,s=i.onStart,o=i.onStartParams,a=Qe.to(n,Mt(e,{ease:"none",lazy:!1,time:r,overwrite:"auto",duration:e.duration||Math.abs((r-(u&&"time"in u?u.time:n._time))/n.timeScale())||1e-8,onStart:function(){n.pause();var t=e.duration||Math.abs((r-n._time)/n.timeScale());a._dur!==t&&Ht(a,t,0,1).render(a._time,!0,!0),s&&s.apply(a,o||[])}}));return a},n.tweenFromTo=function(t,e,n){return this.tweenTo(e,Mt({startAt:{time:Zt(this,t)}},n))},n.recent=function(){return this._recent},n.nextLabel=function(t){return void 0===t&&(t=this._time),pe(this,Zt(this,t))},n.previousLabel=function(t){return void 0===t&&(t=this._time),pe(this,Zt(this,t),1)},n.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+1e-8)},n.shiftChildren=function(t,e,n){void 0===n&&(n=0);for(var r,i=this._first,u=this.labels;i;)i._start>=n&&(i._start+=t,i._end+=t),i=i._next;if(e)for(r in u)u[r]>=n&&(u[r]+=t);return Rt(this)},n.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},n.clear=function(t){void 0===t&&(t=!0);for(var e,n=this._first;n;)e=n._next,this.remove(n),n=e;return this._time=this._tTime=this._pTime=0,t&&(this.labels={}),Rt(this)},n.totalDuration=function(t){var e,n,r,i=0,s=this,o=s._last,a=k;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(r=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(n=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,Wt(s,o,n-o._delay,1)._lock=0):a=n,n<0&&o._ts&&(i-=n,(!r&&!s._dp||r&&r.smoothChildTiming)&&(s._start+=n/s._ts,s._time-=n,s._tTime-=n),s.shiftChildren(-n,!1,-Infinity),a=0),o._end>i&&o._ts&&(i=o._end),o=e;Ht(s,s===u&&s._time>i?s._time:i,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(u._ts&&(bt(u,Xt(t,u)),h=Ee.frame),Ee.frame>=dt){dt+=P.autoSleep||120;var e=u._first;if((!e||!e._ts)&&P.autoSleep&&Ee._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Ee.sleep()}}},e}(ze);Mt(Ye.prototype,{_lock:0,_hasPause:0,_forcing:0});var Xe,je=function(t,e,n,r,i,u,s){var o,a,l,h,f,D,p,c,d=new hn(this._pt,t,e,0,1,rn,null,i),g=0,_=0;for(d.b=n,d.e=r,n+="",(p=~(r+="").indexOf("random("))&&(r=fe(r)),u&&(u(c=[n,r],t,e),n=c[0],r=c[1]),a=n.match(tt)||[];o=tt.exec(r);)h=o[0],f=r.substring(g,o.index),l?l=(l+1)%5:"rgba("===f.substr(-5)&&(l=1),h!==a[_++]&&(D=parseFloat(a[_-1])||0,d._pt={_next:d._pt,p:f||1===_?f:",",s:D,c:"="===h.charAt(1)?parseFloat(h.substr(2))*("-"===h.charAt(0)?-1:1):parseFloat(h)-D,m:l&&l<4?Math.round:0},g=tt.lastIndex);return d.c=g0)A||(e._startAt=0);else if(M&&!(n<0&&O))return void(n&&(e._zTime=n))}else if(E&&M)if(O)!A&&(e._startAt=0);else if(n&&(y=!1),s=Mt({overwrite:!1,data:"isFromStart",lazy:y&&q(C),immediateRender:y,stagger:0,parent:P},r),d&&(s[f.prop]=d),Nt(e._startAt=Qe.set(S,s)),y){if(!n)return}else t(e._startAt,1e-8);for(e._pt=0,C=M&&q(C)||C&&!M,i=0;i")}));else{if(f=T.length,c=y?se(y):lt,W(y))for(D in y)~Ge.indexOf(D)&&(d||(d={}),d[D]=y[D]);for(l=0;lp-1e-8&&t>=0?p:t<1e-8?0:t;if(c){if(d!==this._tTime||!t||n||this._startAt&&this._zTime<0!=t<0){if(r=d,h=this.timeline,this._repeat){if(s=c+this._rDelay,r=xt(d%s),d===p?(u=this._repeat,r=c):((u=~~(d/s))&&u===d/s&&(r=c,u--),r>c&&(r=c)),(a=this._yoyo&&1&u)&&(f=this._yEase,r=c-r),o=Yt(this._tTime,s),r===D&&!n&&this._initted)return this;u!==o&&(h&&this._yEase&&Pe(h,a),!this.vars.repeatRefresh||a||this._lock||(this._lock=n=1,this.render(xt(s*u),!0).invalidate()._lock=0))}if(!this._initted){if(Gt(this,t<0?t:r,n,e))return this._tTime=0,this;if(c!==this._dur)return this.render(t,e,n)}for(this._tTime=d,this._time=r,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=l=(f||this._ease)(r/c),this._from&&(this.ratio=l=1-l),r&&!D&&!e&&ce(this,"onStart"),i=this._pt;i;)i.r(l,i.d),i=i._next;h&&h.render(t<0?t:!r&&a?-1e-8:h._dur*l,e,n)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(t<0&&this._startAt&&this._startAt.render(t,!0,n),ce(this,"onUpdate")),this._repeat&&u!==o&&this.vars.onRepeat&&!e&&this.parent&&ce(this,"onRepeat"),d!==this._tDur&&d||this._tTime!==d||(t<0&&this._startAt&&!this._onUpdate&&this._startAt.render(t,!0,!0),(t||!c)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&Nt(this,1),e||t<0&&!D||!d&&!D||(ce(this,d===p?"onComplete":"onReverseComplete",!0),this._prom&&!(d0)&&this._prom()))}}else!function(t,e,n,r){var i,u,s=t.ratio,o=e<0||!e&&s&&!t._start&&t._zTime>1e-8&&!t._dp._lock||(t._ts<0||t._dp._ts<0)&&"isFromStart"!==t.data&&"isStart"!==t.data?0:1,a=t._rDelay,l=0;if(a&&t._repeat&&(l=Jt(0,t._tDur,e),Yt(l,a)!==(u=Yt(t._tTime,a))&&(s=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==s||r||1e-8===t._zTime||!e&&t._zTime){if(!t._initted&&Gt(t,e,r,n))return;for(u=t._zTime,t._zTime=e||(n?1e-8:0),n||(n=e&&!u),t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=l,n||ce(t,"onStart"),i=t._pt;i;)i.r(o,i.d),i=i._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!n&&ce(t,"onUpdate"),l&&t._repeat&&!n&&t.parent&&ce(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&Nt(t,1),n||(ce(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,n);return this},n.targets=function(){return this._targets},n.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this)},n.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return de(this);if(this.timeline){var n=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Xe&&!0!==Xe.vars.overwrite)._first||de(this),this.parent&&n!==this.timeline.totalDuration()&&Ht(this,this._dur*this.timeline._tDur/n,0,1),this}var r,i,u,s,o,a,l,h=this._targets,f=t?ie(t):h,D=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var n=t.length,r=n===e.length;r&&n--&&t[n]===e[n];);return n<0}(h,f))return"all"===e&&(this._pt=0),de(this);for(r=this._op=this._op||[],"all"!==e&&(X(e)&&(o={},Ct(e,(function(t){return o[t]=1})),e=o),e=function(t,e){var n,r,i,u,s=t[0]?vt(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(r in n=St({},e),o)if(r in n)for(i=(u=o[r].split(",")).length;i--;)n[u[i]]=n[r];return n}(h,e)),l=h.length;l--;)if(~f.indexOf(h[l]))for(o in i=D[l],"all"===e?(r[l]=e,s=i,u={}):(u=r[l]=r[l]||{},s=e),s)(a=i&&i[o])&&("kill"in a.d&&!0!==a.d.kill(o)||Lt(this,a,"_pt"),delete i[o]),"all"!==u&&(u[o]=1);return this._initted&&!this._pt&&p&&de(this),this},e.to=function(t,n){return new e(t,n,arguments[2])},e.from=function(t,n){return new e(t,wt(arguments,1))},e.delayedCall=function(t,n,r,i){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:n,onReverseComplete:n,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},e.fromTo=function(t,n,r){return new e(t,wt(arguments,2))},e.set=function(t,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(t,n)},e.killTweensOf=function(t,e,n){return u.killTweensOf(t,e,n)},e}(ze);Mt(Qe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),Ct("staggerTo,staggerFrom,staggerFromTo",(function(t){Qe[t]=function(){var e=new Ye,n=ee.call(arguments,0);return n.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,n)}}));var Ke=function(t,e,n){return t[e]=n},Ze=function(t,e,n){return t[e](n)},$e=function(t,e,n,r){return t[e](r.fp,n)},Je=function(t,e,n){return t.setAttribute(e,n)},tn=function(t,e){return j(t[e])?Ze:U(t[e])&&t.setAttribute?Je:Ke},en=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e)},nn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},rn=function(t,e){var n=e._pt,r="";if(!t&&e.b)r=e.b;else if(1===t&&e.e)r=e.e;else{for(;n;)r=n.p+(n.m?n.m(n.s+n.c*t):Math.round(1e4*(n.s+n.c*t))/1e4)+r,n=n._next;r+=e.c}e.set(e.t,e.p,r,e)},un=function(t,e){for(var n=e._pt;n;)n.r(t,n.d),n=n._next},sn=function(t,e,n,r){for(var i,u=this._pt;u;)i=u._next,u.p===r&&u.modifier(t,e,n),u=i},on=function(t){for(var e,n,r=this._pt;r;)n=r._next,r.p===t&&!r.op||r.op===t?Lt(this,r,"_pt"):r.dep||(e=1),r=n;return!e},an=function(t,e,n,r){r.mSet(t,e,r.m.call(r.tween,n,r.mt),r)},ln=function(t){for(var e,n,r,i,u=t._pt;u;){for(e=u._next,n=r;n&&n.pr>u.pr;)n=n._next;(u._prev=n?n._prev:i)?u._prev._next=u:r=u,(u._next=n)?n._prev=u:i=u,u=e}t._pt=r},hn=function(){function t(t,e,n,r,i,u,s,o,a){this.t=e,this.s=r,this.c=i,this.p=n,this.r=u||en,this.d=s||this,this.set=o||Ke,this.pr=a||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,n){this.mSet=this.mSet||this.set,this.set=an,this.m=t,this.mt=n,this.tween=e},t}();Ct(_t+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return ht[t]=1})),rt.TweenMax=rt.TweenLite=Qe,rt.TimelineLite=rt.TimelineMax=Ye,u=new Ye({sortChildren:!1,defaults:B,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),P.stringFilter=we;var fn={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),n=0;n1){var r=t.map((function(t){return cn.quickSetter(t,e,n)})),i=r.length;return function(t){for(var e=i;e--;)r[e](t)}}t=t[0]||{};var u=pt[e],s=vt(t),o=s.harness&&(s.harness.aliases||{})[e]||e,a=u?function(e){var r=new u;f._pt=0,r.init(t,n?e+n:e,f,0,[t]),r.render(1,r),f._pt&&un(1,f)}:s.set(t,o);return u?a:function(e){return a(t,o,n?e+n:e,s,1)}},isTweening:function(t){return u.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Be(t.ease,B.ease)),Pt(B,t||{})},config:function(t){return Pt(P,t||{})},registerEffect:function(t){var e=t.name,n=t.effect,r=t.plugins,i=t.defaults,u=t.extendTimeline;(r||"").split(",").forEach((function(t){return t&&!pt[t]&&!rt[t]&&ot(e+" effect requires "+t+" plugin.")})),ct[e]=function(t,e,r){return n(ie(t),Mt(e||{},i),r)},u&&(Ye.prototype[e]=function(t,n,r){return this.add(ct[e](t,W(n)?n:(r=n)&&{},this),r)})},registerEase:function(t,e){Te[t]=Be(e)},parseEase:function(t,e){return arguments.length?Be(t,e):Te},getById:function(t){return u.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var n,r,i=new Ye(t);for(i.smoothChildTiming=q(t.smoothChildTiming),u.remove(i),i._dp=0,i._time=i._tTime=u._time,n=u._first;n;)r=n._next,!e&&!n._dur&&n instanceof Qe&&n.vars.onComplete===n._targets[0]||Wt(i,n,n._start-n._delay),n=r;return Wt(u,i,0),i},utils:{wrap:function t(e,n,r){var i=n-e;return K(e)?he(e,t(0,e.length),n):$t(r,(function(t){return(i+(t-e)%i)%i+e}))},wrapYoyo:function t(e,n,r){var i=n-e,u=2*i;return K(e)?he(e,t(0,e.length-1),n):$t(r,(function(t){return e+((t=(u+(t-e)%u)%u||0)>i?u-t:t)}))},distribute:se,random:le,snap:ae,normalize:function(t,e,n){return De(t,e,0,1,n)},getUnit:te,clamp:function(t,e,n){return $t(n,(function(n){return Jt(t,e,n)}))},splitColor:ve,toArray:ie,mapRange:De,pipe:function(){for(var t=arguments.length,e=new Array(t),n=0;n=0?Gn[i]:"")+t},Qn=function(){"undefined"!=typeof window&&window.document&&(dn=window,gn=dn.document,_n=gn.documentElement,vn=Wn("div")||{style:{}},yn=Wn("div"),Vn=Hn(Vn),Un=Vn+"Origin",vn.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",xn=!!Hn("perspective"),mn=1)},Kn=function t(e){var n,r=Wn("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,u=this.nextSibling,s=this.style.cssText;if(_n.appendChild(r),r.appendChild(this),this.style.display="block",e)try{n=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(n=this._gsapBBox());return i&&(u?i.insertBefore(this,u):i.appendChild(this)),_n.removeChild(r),this.style.cssText=s,n},Zn=function(t,e){for(var n=e.length;n--;)if(t.hasAttribute(e[n]))return t.getAttribute(e[n])},$n=function(t){var e;try{e=t.getBBox()}catch(n){e=Kn.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Kn||(e=Kn.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+Zn(t,["x","cx","x1"])||0,y:+Zn(t,["y","cy","y1"])||0,width:0,height:0}},Jn=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!$n(t))},tr=function(t,e){if(e){var n=t.style;e in Fn&&e!==Un&&(e=Vn),n.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),n.removeProperty(e.replace(Tn,"-$1").toLowerCase())):n.removeAttribute(e)}},er=function(t,e,n,r,i,u){var s=new hn(t._pt,e,n,0,1,u?Nn:Ln);return t._pt=s,s.b=r,s.e=i,t._props.push(n),s},nr={deg:1,rad:1,turn:1},rr=function t(e,n,r,i){var u,s,o,a,l=parseFloat(r)||0,h=(r+"").trim().substr((l+"").length)||"px",f=vn.style,D=An.test(n),p="svg"===e.tagName.toLowerCase(),c=(p?"client":"offset")+(D?"Width":"Height"),d="px"===i,g="%"===i;return i===h||!l||nr[i]||nr[h]?l:("px"!==h&&!d&&(l=t(e,n,r,"px")),a=e.getCTM&&Jn(e),g&&(Fn[n]||~n.indexOf("adius"))?xt(l/(a?e.getBBox()[D?"width":"height"]:e[c])*100):(f[D?"width":"height"]=100+(d?h:i),s=~n.indexOf("adius")||"em"===i&&e.appendChild&&!p?e:e.parentNode,a&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==gn&&s.appendChild||(s=gn.body),(o=s._gsap)&&g&&o.width&&D&&o.time===Ee.time?xt(l/o.width*100):((g||"%"===h)&&(f.position=qn(e,"position")),s===e&&(f.position="static"),s.appendChild(vn),u=vn[c],s.removeChild(vn),f.position="absolute",D&&g&&((o=vt(s)).time=Ee.time,o.width=s[c]),xt(d?u*l/100:u&&l?100/u*l:0))))},ir=function(t,e,n,r){var i;return mn||Qn(),e in On&&"transform"!==e&&~(e=On[e]).indexOf(",")&&(e=e.split(",")[0]),Fn[e]&&"transform"!==e?(i=dr(t,r),i="transformOrigin"!==e?i[e]:gr(qn(t,Un))+" "+i.zOrigin+"px"):(!(i=t.style[e])||"auto"===i||r||~(i+"").indexOf("calc("))&&(i=ar[e]&&ar[e](t,e,n)||qn(t,e)||yt(t,e)||("opacity"===e?1:0)),n&&!~(i+"").indexOf(" ")?rr(t,e,i,n)+n:i},ur=function(t,e,n,r){if(!n||"none"===n){var i=Hn(e,t,1),u=i&&qn(t,i,1);u&&u!==n?(e=i,n=u):"borderColor"===e&&(n=qn(t,"borderTopColor"))}var s,o,a,l,h,f,D,p,c,d,g,_,m=new hn(this._pt,t.style,e,0,1,rn),v=0,y=0;if(m.b=n,m.e=r,n+="","auto"===(r+="")&&(t.style[e]=r,r=qn(t,e)||r,t.style[e]=n),we(s=[n,r]),r=s[1],a=(n=s[0]).match(J)||[],(r.match(J)||[]).length){for(;o=J.exec(r);)D=o[0],c=r.substring(v,o.index),h?h=(h+1)%5:"rgba("!==c.substr(-5)&&"hsla("!==c.substr(-5)||(h=1),D!==(f=a[y++]||"")&&(l=parseFloat(f)||0,g=f.substr((l+"").length),(_="="===D.charAt(1)?+(D.charAt(0)+"1"):0)&&(D=D.substr(2)),p=parseFloat(D),d=D.substr((p+"").length),v=J.lastIndex-d.length,d||(d=d||P.units[e]||g,v===r.length&&(r+=d,m.e+=d)),g!==d&&(l=rr(t,e,f,d)||0),m._pt={_next:m._pt,p:c||1===y?c:",",s:l,c:_?_*p:p-l,m:h&&h<4?Math.round:0});m.c=v-1;)n=o[i],Fn[n]&&(r=1,n="transformOrigin"===n?Un:Vn),tr(u,n);r&&(tr(u,Vn),a&&(a.svg&&u.removeAttribute("transform"),dr(u,1),a.uncache=1))}},ar={clearProps:function(t,e,n,r,i){if("isFromStart"!==i.data){var u=t._pt=new hn(t._pt,e,n,0,0,or);return u.u=r,u.pr=-10,u.tween=i,t._props.push(n),1}}},lr=[1,0,0,1,0,0],hr={},fr=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Dr=function(t){var e=qn(t,Vn);return fr(e)?lr:e.substr(7).match($).map(xt)},pr=function(t,e){var n,r,i,u,s=t._gsap||vt(t),o=t.style,a=Dr(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(a=[(i=t.transform.baseVal.consolidate().matrix).a,i.b,i.c,i.d,i.e,i.f]).join(",")?lr:a:(a!==lr||t.offsetParent||t===_n||s.svg||(i=o.display,o.display="block",(n=t.parentNode)&&t.offsetParent||(u=1,r=t.nextSibling,_n.appendChild(t)),a=Dr(t),i?o.display=i:tr(t,"display"),u&&(r?n.insertBefore(t,r):n?n.appendChild(t):_n.removeChild(t))),e&&a.length>6?[a[0],a[1],a[4],a[5],a[12],a[13]]:a)},cr=function(t,e,n,r,i,u){var s,o,a,l=t._gsap,h=i||pr(t,!0),f=l.xOrigin||0,D=l.yOrigin||0,p=l.xOffset||0,c=l.yOffset||0,d=h[0],g=h[1],_=h[2],m=h[3],v=h[4],y=h[5],C=e.split(" "),x=parseFloat(C[0])||0,F=parseFloat(C[1])||0;n?h!==lr&&(o=d*m-g*_)&&(a=x*(-g/o)+F*(d/o)-(d*y-g*v)/o,x=x*(m/o)+F*(-_/o)+(_*y-m*v)/o,F=a):(x=(s=$n(t)).x+(~C[0].indexOf("%")?x/100*s.width:x),F=s.y+(~(C[1]||C[0]).indexOf("%")?F/100*s.height:F)),r||!1!==r&&l.smooth?(v=x-f,y=F-D,l.xOffset=p+(v*d+y*_)-v,l.yOffset=c+(v*g+y*m)-y):l.xOffset=l.yOffset=0,l.xOrigin=x,l.yOrigin=F,l.smooth=!!r,l.origin=e,l.originIsAbsolute=!!n,t.style[Un]="0px 0px",u&&(er(u,l,"xOrigin",f,x),er(u,l,"yOrigin",D,F),er(u,l,"xOffset",p,l.xOffset),er(u,l,"yOffset",c,l.yOffset)),t.setAttribute("data-svg-origin",x+" "+F)},dr=function(t,e){var n=t._gsap||new Ie(t);if("x"in n&&!e&&!n.uncache)return n;var r,i,u,s,o,a,l,h,f,D,p,c,d,g,_,m,v,y,C,x,F,w,E,b,T,A,M,O,S,B,k,L,N=t.style,R=n.scaleX<0,I=qn(t,Un)||"0";return r=i=u=a=l=h=f=D=p=0,s=o=1,n.svg=!(!t.getCTM||!Jn(t)),g=pr(t,n.svg),n.svg&&(b=!n.uncache&&t.getAttribute("data-svg-origin"),cr(t,b||I,!!b||n.originIsAbsolute,!1!==n.smooth,g)),c=n.xOrigin||0,d=n.yOrigin||0,g!==lr&&(y=g[0],C=g[1],x=g[2],F=g[3],r=w=g[4],i=E=g[5],6===g.length?(s=Math.sqrt(y*y+C*C),o=Math.sqrt(F*F+x*x),a=y||C?bn(C,y)*wn:0,(f=x||F?bn(x,F)*wn+a:0)&&(o*=Math.cos(f*En)),n.svg&&(r-=c-(c*y+d*x),i-=d-(c*C+d*F))):(L=g[6],B=g[7],M=g[8],O=g[9],S=g[10],k=g[11],r=g[12],i=g[13],u=g[14],l=(_=bn(L,S))*wn,_&&(b=w*(m=Math.cos(-_))+M*(v=Math.sin(-_)),T=E*m+O*v,A=L*m+S*v,M=w*-v+M*m,O=E*-v+O*m,S=L*-v+S*m,k=B*-v+k*m,w=b,E=T,L=A),h=(_=bn(-x,S))*wn,_&&(m=Math.cos(-_),k=F*(v=Math.sin(-_))+k*m,y=b=y*m-M*v,C=T=C*m-O*v,x=A=x*m-S*v),a=(_=bn(C,y))*wn,_&&(b=y*(m=Math.cos(_))+C*(v=Math.sin(_)),T=w*m+E*v,C=C*m-y*v,E=E*m-w*v,y=b,w=T),l&&Math.abs(l)+Math.abs(a)>359.9&&(l=a=0,h=180-h),s=xt(Math.sqrt(y*y+C*C+x*x)),o=xt(Math.sqrt(E*E+L*L)),_=bn(w,E),f=Math.abs(_)>2e-4?_*wn:0,p=k?1/(k<0?-k:k):0),n.svg&&(b=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!fr(qn(t,Vn)),b&&t.setAttribute("transform",b))),Math.abs(f)>90&&Math.abs(f)<270&&(R?(s*=-1,f+=a<=0?180:-180,a+=a<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),n.x=((n.xPercent=r&&Math.round(t.offsetWidth/2)===Math.round(-r)?-50:0)?0:r)+"px",n.y=((n.yPercent=i&&Math.round(t.offsetHeight/2)===Math.round(-i)?-50:0)?0:i)+"px",n.z=u+"px",n.scaleX=xt(s),n.scaleY=xt(o),n.rotation=xt(a)+"deg",n.rotationX=xt(l)+"deg",n.rotationY=xt(h)+"deg",n.skewX=f+"deg",n.skewY=D+"deg",n.transformPerspective=p+"px",(n.zOrigin=parseFloat(I.split(" ")[2])||0)&&(N[Un]=gr(I)),n.xOffset=n.yOffset=0,n.force3D=P.force3D,n.renderTransform=n.svg?yr:xn?vr:mr,n.uncache=0,n},gr=function(t){return(t=t.split(" "))[0]+" "+t[1]},_r=function(t,e,n){var r=te(e);return xt(parseFloat(e)+parseFloat(rr(t,"x",n+"px",r)))+r},mr=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,vr(t,e)},vr=function(t,e){var n=e||this,r=n.xPercent,i=n.yPercent,u=n.x,s=n.y,o=n.z,a=n.rotation,l=n.rotationY,h=n.rotationX,f=n.skewX,D=n.skewY,p=n.scaleX,c=n.scaleY,d=n.transformPerspective,g=n.force3D,_=n.target,m=n.zOrigin,v="",y="auto"===g&&t&&1!==t||!0===g;if(m&&("0deg"!==h||"0deg"!==l)){var C,x=parseFloat(l)*En,F=Math.sin(x),w=Math.cos(x);x=parseFloat(h)*En,C=Math.cos(x),u=_r(_,u,F*C*-m),s=_r(_,s,-Math.sin(x)*-m),o=_r(_,o,w*C*-m+m)}"0px"!==d&&(v+="perspective("+d+") "),(r||i)&&(v+="translate("+r+"%, "+i+"%) "),(y||"0px"!==u||"0px"!==s||"0px"!==o)&&(v+="0px"!==o||y?"translate3d("+u+", "+s+", "+o+") ":"translate("+u+", "+s+") "),"0deg"!==a&&(v+="rotate("+a+") "),"0deg"!==l&&(v+="rotateY("+l+") "),"0deg"!==h&&(v+="rotateX("+h+") "),"0deg"===f&&"0deg"===D||(v+="skew("+f+", "+D+") "),1===p&&1===c||(v+="scale("+p+", "+c+") "),_.style[Vn]=v||"translate(0, 0)"},yr=function(t,e){var n,r,i,u,s,o=e||this,a=o.xPercent,l=o.yPercent,h=o.x,f=o.y,D=o.rotation,p=o.skewX,c=o.skewY,d=o.scaleX,g=o.scaleY,_=o.target,m=o.xOrigin,v=o.yOrigin,y=o.xOffset,C=o.yOffset,x=o.forceCSS,F=parseFloat(h),w=parseFloat(f);D=parseFloat(D),p=parseFloat(p),(c=parseFloat(c))&&(p+=c=parseFloat(c),D+=c),D||p?(D*=En,p*=En,n=Math.cos(D)*d,r=Math.sin(D)*d,i=Math.sin(D-p)*-g,u=Math.cos(D-p)*g,p&&(c*=En,s=Math.tan(p-c),i*=s=Math.sqrt(1+s*s),u*=s,c&&(s=Math.tan(c),n*=s=Math.sqrt(1+s*s),r*=s)),n=xt(n),r=xt(r),i=xt(i),u=xt(u)):(n=d,u=g,r=i=0),(F&&!~(h+"").indexOf("px")||w&&!~(f+"").indexOf("px"))&&(F=rr(_,"x",h,"px"),w=rr(_,"y",f,"px")),(m||v||y||C)&&(F=xt(F+m-(m*n+v*i)+y),w=xt(w+v-(m*r+v*u)+C)),(a||l)&&(s=_.getBBox(),F=xt(F+a/100*s.width),w=xt(w+l/100*s.height)),s="matrix("+n+","+r+","+i+","+u+","+F+","+w+")",_.setAttribute("transform",s),x&&(_.style[Vn]=s)},Cr=function(t,e,n,r,i,u){var s,o,a=X(i),l=parseFloat(i)*(a&&~i.indexOf("rad")?wn:1),h=u?l*u:l-r,f=r+h+"deg";return a&&("short"===(s=i.split("_")[1])&&(h%=360)!==h%180&&(h+=h<0?360:-360),"cw"===s&&h<0?h=(h+36e9)%360-360*~~(h/360):"ccw"===s&&h>0&&(h=(h-36e9)%360-360*~~(h/360))),t._pt=o=new hn(t._pt,e,n,r,h,Pn),o.e=f,o.u="deg",t._props.push(n),o},xr=function(t,e,n){var r,i,u,s,o,a,l,h=yn.style,f=n._gsap;for(i in h.cssText=getComputedStyle(n).cssText+";position:absolute;display:block;",h[Vn]=e,gn.body.appendChild(yn),r=dr(yn,1),Fn)(u=f[i])!==(s=r[i])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(i)<0&&(o=te(u)!==(l=te(s))?rr(n,i,u,l):parseFloat(u),a=parseFloat(s),t._pt=new hn(t._pt,f,i,o,a-o,Sn),t._pt.u=l||0,t._props.push(i));gn.body.removeChild(yn)};Ct("padding,margin,Width,Radius",(function(t,e){var n="Top",r="Right",i="Bottom",u="Left",s=(e<3?[n,r,i,u]:[n+u,n+r,i+r,i+u]).map((function(n){return e<2?t+n:"border"+n+t}));ar[e>1?"border"+t:t]=function(t,e,n,r,i){var u,o;if(arguments.length<4)return u=s.map((function(e){return ir(t,e,n)})),5===(o=u.join(" ")).split(u[0]).length?u[0]:o;u=(r+"").split(" "),o={},s.forEach((function(t,e){return o[t]=u[e]=u[e]||u[(e-1)/2|0]})),t.init(e,o,i)}}));var Fr,wr,Er={name:"css",register:Qn,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,n,r,i){var u,s,o,a,l,h,f,D,p,c,d,g,_,m,v,y,C,x,F,w=this._props,E=t.style;for(f in mn||Qn(),e)if("autoRound"!==f&&(s=e[f],!pt[f]||!Ue(f,e,n,r,t,i)))if(l=typeof s,h=ar[f],"function"===l&&(l=typeof(s=s.call(n,r,t,i))),"string"===l&&~s.indexOf("random(")&&(s=fe(s)),h)h(this,t,f,s,n)&&(v=1);else if("--"===f.substr(0,2))this.add(E,"setProperty",getComputedStyle(t).getPropertyValue(f)+"",s+"",r,i,0,0,f);else if("undefined"!==l){if(u=ir(t,f),a=parseFloat(u),(c="string"===l&&"="===s.charAt(1)?+(s.charAt(0)+"1"):0)&&(s=s.substr(2)),o=parseFloat(s),f in On&&("autoAlpha"===f&&(1===a&&"hidden"===ir(t,"visibility")&&o&&(a=0),er(this,E,"visibility",a?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==f&&"transform"!==f&&~(f=On[f]).indexOf(",")&&(f=f.split(",")[0])),d=f in Fn)if(g||((_=t._gsap).renderTransform||dr(t),m=!1!==e.smoothOrigin&&_.smooth,(g=this._pt=new hn(this._pt,E,Vn,0,1,_.renderTransform,_,0,-1)).dep=1),"scale"===f)this._pt=new hn(this._pt,_,"scaleY",_.scaleY,c?c*o:o-_.scaleY),w.push("scaleY",f),f+="X";else{if("transformOrigin"===f){C=void 0,x=void 0,F=void 0,C=(y=s).split(" "),x=C[0],F=C[1]||"50%","top"!==x&&"bottom"!==x&&"left"!==F&&"right"!==F||(y=x,x=F,F=y),C[0]=sr[x]||x,C[1]=sr[F]||F,s=C.join(" "),_.svg?cr(t,s,0,m,0,this):((p=parseFloat(s.split(" ")[2])||0)!==_.zOrigin&&er(this,_,"zOrigin",_.zOrigin,p),er(this,E,f,gr(u),gr(s)));continue}if("svgOrigin"===f){cr(t,s,1,m,0,this);continue}if(f in hr){Cr(this,_,f,a,s,c);continue}if("smoothOrigin"===f){er(this,_,"smooth",_.smooth,s);continue}if("force3D"===f){_[f]=s;continue}if("transform"===f){xr(this,s,t);continue}}else f in E||(f=Hn(f)||f);if(d||(o||0===o)&&(a||0===a)&&!Mn.test(s)&&f in E)o||(o=0),(D=(u+"").substr((a+"").length))!==(p=te(s)||(f in P.units?P.units[f]:D))&&(a=rr(t,f,u,p)),this._pt=new hn(this._pt,d?_:E,f,a,c?c*o:o-a,"px"!==p||!1===e.autoRound||d?Sn:kn),this._pt.u=p||0,D!==p&&(this._pt.b=u,this._pt.r=Bn);else if(f in E)ur.call(this,t,f,u,s);else{if(!(f in t)){st(f,s);continue}this.add(t,f,t[f],s,r,i)}w.push(f)}v&&ln(this)},get:ir,aliases:On,getSetter:function(t,e,n){var r=On[e];return r&&r.indexOf(",")<0&&(e=r),e in Fn&&e!==Un&&(t._gsap.x||ir(t,"x"))?n&&Cn===n?"scale"===e?Yn:zn:(Cn=n||{})&&("scale"===e?Xn:jn):t.style&&!U(t.style[e])?Rn:~e.indexOf("-")?In:tn(t,e)},core:{_removeProperty:tr,_getMatrix:pr}};cn.utils.checkPrefix=Hn,wr=Ct("x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+(Fr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Fn[t]=1})),Ct(Fr,(function(t){P.units[t]="deg",hr[t]=1})),On[wr[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+Fr,Ct("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");On[e[1]]=wr[e[0]]})),Ct("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){P.units[t]="px"})),cn.registerPlugin(Er);var br,Tr,Ar,Mr=cn.registerPlugin(Er)||cn,Or=Mr.core.Tween,Sr=function(){return br||"undefined"!=typeof window&&(br=window.gsap)&&br.registerPlugin&&br},Pr=function(t){br=Sr(),(Ar=br&&br.parseEase("_CE"))?(Tr=1,br.parseEase("bounce").config=function(t){return"object"==typeof t?kr("",t):kr("bounce("+t+")",{strength:+t})}):t&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")},Br=function(t){var e,n=t.length,r=1/t[n-2];for(e=2;e.999));s++);if(e.endAtStart&&"false"!==e.endAtStart){if(i=-.1,_.unshift(i,1,i,1,-.07,0),D)for(i-=f=2.5*D,_.unshift(i,1,i,1,i,1),m.splice(0,6),m.unshift(i,0,i,0,i,1,i+f/2,1,i+f,1,i+f,0,i+f,0,i+f,-.6,i+f+.033,0),s=0;s element or an SVG path data string")}function ri(t){var e,n=0;for(t.reverse();n-1;)n=i[u].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,i[u].nodeValue);return r}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),F=function(t,e){for(var n=e?e.split(","):[],r={},i=n.length;--i>-1;)r[n[i]]=+t.getAttribute(n[i])||0;return r}(t,ii[w]),"rect"===w?(u=F.rx,s=F.ry||u,r=F.x,i=F.y,f=F.width-2*u,D=F.height-2*s,n=u||s?"M"+(_=(d=(c=r+u)+f)+u)+","+(v=i+s)+" V"+(y=v+D)+" C"+[_,C=y+s*E,g=d+u*E,x=y+s,d,x,d-(d-c)/3,x,c+(d-c)/3,x,c,x,p=r+u*(1-E),x,r,C,r,y,r,y-(y-v)/3,r,v+(y-v)/3,r,v,r,m=i+s*(1-E),p,i,c,i,c+(d-c)/3,i,d-(d-c)/3,i,d,i,g,i,_,m,_,v].join(",")+"z":"M"+(r+f)+","+i+" v"+D+" h"+-f+" v"+-D+" h"+f+"z"):"circle"===w||"ellipse"===w?("circle"===w?l=(u=s=F.r)*E:(u=F.rx,l=(s=F.ry)*E),n="M"+((r=F.cx)+u)+","+(i=F.cy)+" C"+[r+u,i+l,r+(a=u*E),i+s,r,i+s,r-a,i+s,r-u,i+l,r-u,i,r-u,i-l,r-a,i-s,r,i-s,r+a,i-s,r+u,i-l,r+u,i].join(",")+"z"):"line"===w?n="M"+F.x1+","+F.y1+" L"+F.x2+","+F.y2:"polyline"!==w&&"polygon"!==w||(n="M"+(r=(h=(t.getAttribute("points")+"").match(Rr)||[]).shift())+","+(i=h.shift())+" L"+h.join(","),"polygon"===w&&(n+=","+r+","+i+"z")),o.setAttribute("d",mi(o._gsRawPath=di(n))),e&&t.parentNode&&(t.parentNode.insertBefore(o,t),t.parentNode.removeChild(t)),o):t}function si(t,e,n){var r,i=t[e],u=t[e+2],s=t[e+4];return i+=(u-i)*n,i+=((u+=(s-u)*n)-i)*n,r=u+(s+(t[e+6]-s)*n-u)*n-i,i=t[e+1],i+=((u=t[e+3])-i)*n,i+=((u+=((s=t[e+5])-u)*n)-i)*n,$r(qr(u+(s+(t[e+7]-s)*n-u)*n-i,r)*Xr)}function oi(t,e,n){void 0===n&&(n=1);var r=(e=e||0)>n,i=Math.max(0,~~(Ur(n-e)-1e-8));if(r&&(r=n,n=e,e=r,r=1,i-=i?1:0),e<0||n<0){var u=1+~~Math.min(e,n);e+=u,n+=u}var s,o,a,l,h,f,D,p=function(t){for(var e=[],n=0;n1,d=fi(p,e,Qr,!0),g=fi(p,n,Kr),_=g.segment,m=d.segment,v=g.segIndex,y=d.segIndex,C=g.i,x=d.i,F=y===v,w=C===x&&F,E=F&&x>C||w&&d.t>g.t;if(c||i){if(Jr(p,y,x,d.t)&&(s=1,y++,w?E?g.t/=d.t:(g.t=(g.t-d.t)/(1-d.t),v++,C=0):y<=v+1&&!E&&(v++,F&&(C-=x))),g.t?Jr(p,v,C,g.t)&&(E&&s&&y++,r&&v++):(v--,r&&y--),l=[],f=1+(h=p.length)*i,D=y,r)for(f+=(h-(v=(v||h)-1)+y)%h,a=0;av)&&p.splice(a,1);else _.angle=si(_,C+o,0),d=_[C+=o],g=_[C+1],_.length=_.totalLength=0,_.totalPoints=p.totalPoints=8,_.push(d,g,d,g,d,g,d,g);return r&&function(t,e){var n=t.length;for(e||t.reverse();n--;)t[n].reversed||ri(t[n])}(p,c||i),p.totalLength=0,p}function ai(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r,i,u,s,o,a,l,h,f,D,p,c,d,g,_,m,v,y=~~t.resolution||12,C=1/y,x=n?e+6*n+1:t.length,F=t[e],w=t[e+1],E=e?e/6*y:0,b=t.samples,T=t.lookup,A=(e?t.minLength:1e8)||1e8,M=b[E+n*y-1],O=e?b[E-1]:0;for(b.length=T.length=0,i=e+2;i8&&(t.splice(i,6),i-=6,x-=6);else for(r=1;r<=y;r++)a=l-(l=((g=C*r)*g*u+3*(d=1-g)*(g*s+d*o))*g),p=c-(c=(g*g*h+3*d*(g*f+d*D))*g),(m=Wr(p*p+a*a))=1)return 0;var r=t[e],i=t[e+1],u=t[e+2],s=t[e+3],o=t[e+4],a=t[e+5],l=r+(u-r)*n,h=u+(o-u)*n,f=i+(s-i)*n,D=s+(a-s)*n,p=l+(h-l)*n,c=f+(D-f)*n,d=o+(t[e+6]-o)*n,g=a+(t[e+7]-a)*n;return h+=(d-h)*n,D+=(g-D)*n,t.splice(e+2,4,$r(l),$r(f),$r(p),$r(c),$r(p+(h-p)*n),$r(c+(D-c)*n),$r(h),$r(D),$r(d),$r(g)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function fi(t,e,n,r){n=n||{},t.totalLength||li(t),(e<0||e>1)&&(e=Zr(e));var i,u,s,o,a,l,h,f=0,D=t[0];if(t.length>1){for(s=t.totalLength*e,a=l=0;(a+=t[l++].totalLength)1)&&(e=Zr(e)),t.length>1){for(s=t.totalLength*e,a=l=0;(a+=t[l++].totalLength)=1?1-1e-9:h||1e-9):p.angle||0),c}function pi(t,e,n,r,i,u,s){for(var o,a,l,h,f,D=t.length;--D>-1;)for(a=(o=t[D]).length,l=0;l1&&(n=Wr(y)*n,r=Wr(y)*r);var C=n*n,x=r*r,F=(C*x-C*v-x*m)/(C*v+x*m);F<0&&(F=0);var w=(u===s?-1:1)*Wr(F),E=w*(n*_/r),b=w*(-r*g/n),T=(t+o)/2+(h*E-f*b),A=(e+a)/2+(f*E+h*b),M=(g-E)/n,O=(_-b)/r,S=(-g-E)/n,P=(-_-b)/r,B=M*M+O*O,k=(O<0?-1:1)*Math.acos(M/Wr(B)),L=(M*P-O*S<0?-1:1)*Math.acos((M*S+O*P)/Wr(B*(S*S+P*P)));isNaN(L)&&(L=D),!s&&L>0?L-=p:s&&L<0&&(L+=p),k%=p,L%=p;var N,R=Math.ceil(Ur(L)/(p/4)),I=[],z=L/R,Y=4/3*jr(z/2)/(1+Vr(z/2)),X=h*n,j=f*n,V=f*-r,U=h*r;for(N=0;N-1e-4?0:e})).match(Nr)||[],_=[],m=0,v=0,y=g.length,C=0,x="ERROR: malformed path: "+t,F=function(t,e,n,r){h=(n-t)/3,f=(r-e)/3,o.push(t+h,e+f,n-h,r-f,n,r)};if(!t||!isNaN(g[0])||isNaN(g[1]))return console.log(x),_;for(e=0;e.5||Ur(v-i)>.5)&&(F(m,v,r,i),"L"===u&&(e+=2)),m=r,v=i;else if("A"===u){if(c=g[e+4],d=g[e+5],h=g[e+6],f=g[e+7],n=7,c.length>1&&(c.length<3?(f=h,h=d,n--):(f=d,h=c.substr(2),n-=2),d=c.charAt(1),c=c.charAt(0)),D=ci(m,v,+g[e+1],+g[e+2],+g[e+3],+c,+d,(s?m:0)+1*h,(s?v:0)+1*f),e+=n,D)for(n=0;nn?(s=qr(f,l),x.push($r(m-Vr(s)*D),$r(v-jr(s)*D),$r(m),$r(v),$r(m+Vr(s)*p),$r(v+jr(s)*p))):(s=qr(h,a),x.push($r(m-Vr(s)*D),$r(v-jr(s)*D)),s=qr(w,F),x.push($r(m),$r(v),$r(m+Vr(s)*p),$r(v+jr(s)*p))));return x.push($r(y),$r(C),$r(y),$r(C)),E&&(x.splice(0,6),x.length=x.length-6),x}function mi(t){Hr(t[0])&&(t=[t]);var e,n,r,i,u="",s=t.length;for(n=0;nl*(E*E+b*b)&&(D=h.length,t(e,n,p,c,v,y,F,w,l,h,f),t(F,w,C,x,_,m,o,a,l,h,f+1+(h.length-D))),h},Ti=function(){function t(t,e,n){yi||xi(),this.id=t,this.setData(e,n)}var e=t.prototype;return e.setData=function(t,e){e=e||{};var n,r,i,u,s,o,a,l,h,f=(t=t||"0,0,1,1").match(wi),D=1,p=[],c=[],d=e.precision||1,g=d<=1;if(this.data=t,(Ei.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(f=di(t)[0]),4===(n=f.length))f.unshift(0,0),f.push(1,1),n=8;else if((n-2)%6)throw"Invalid CustomEase";for(0==+f[0]&&1==+f[n-2]||function(t,e,n){n||0===n||(n=Math.max(+t[t.length-1],+t[1]));var r,i=-1*+t[0],u=-n,s=t.length,o=1/(+t[s-2]+i),a=-e||(Math.abs(+t[s-1]-+t[1])<.01*(+t[s-2]-+t[0])?function(t){var e,n=t.length,r=1e20;for(e=1;el.x||l.y!==a.y&&l.x===a.x||a===l)&&a.x<=1?(l.cx=a.x-l.x,l.cy=a.y-l.y,l.n=a,l.nx=a.x,g&&u>1&&Math.abs(l.cy/l.cx-p[u-2].cy/p[u-2].cx)>2&&(g=0),l.cxh||u===l-1)&&(r.push(f,D),i=(a-D)/(o-f)),f=o,D=a;r="M"+r.join(",")}return _&&_.setAttribute("d",r),r},t}();Ci()&&vi.registerPlugin(Ti),Ti.version="3.5.1"; /*! * CustomWiggle 3.5.1 * https://greensock.com * * @license Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ var Ai,Mi,Oi,Si=function(){return Ai||"undefined"!=typeof window&&(Ai=window.gsap)&&Ai.registerPlugin&&Ai},Pi={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},Bi=function(t){return t},ki=function(t){if(!Mi)if(Ai=Si(),Oi=Ai&&Ai.parseEase("_CE")){for(var e in Pi)Pi[e]=Oi("",Pi[e]);Mi=1,Ni("wiggle").config=function(t){return"object"==typeof t?Ni("",t):Ni("wiggle("+t+")",{wiggles:+t})}}else t&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")},Li=function(t,e){return"function"!=typeof t&&(t=Ai.parseEase(t)||Oi("",t)),t.custom||!e?t:function(e){return 1-t(e)}},Ni=function(t,e){Mi||ki(1);var n,r,i,u,s,o,a,l,h,f=0|((e=e||{}).wiggles||10),D=1/f,p=D/2,c="anticipate"===e.type,d=Pi[e.type]||Pi.easeOut,g=Bi;if(c&&(g=d,d=Pi.easeOut),e.timingEase&&(g=Li(e.timingEase)),e.amplitudeEase&&(d=Li(e.amplitudeEase,!0)),l=[0,0,(o=g(p))/4,0,o/2,a=c?-d(p):d(p),o,a],"random"===e.type){for(l.length=4,n=g(D),r=2*Math.random()-1,h=2;h0?-1:1)*d(h*D),o=g(p),l.push(g(p-D/2),a,o,a);l.push(g(p+D/4),a,g(p+D/4),0,1,0)}for(h=l.length;--h>-1;)l[h]=~~(1e3*l[h])/1e3;return l[2]="C"+l[2],Oi(t,"M"+l.join(","))},Ri=function(){function t(t,e){this.ease=Ni(t,e)}return t.create=function(t,e){return Ni(t,e)},t.register=function(t){Ai=t,ki()},t}();Si()&&Ai.registerPlugin(Ri),Ri.version="3.5.1"; /*! * DrawSVGPlugin 3.5.1 * https://greensock.com * * @license Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ var Ii,zi,Yi,Xi,ji,Vi=function(){return"undefined"!=typeof window},Ui=function(){return Ii||Vi()&&(Ii=window.gsap)&&Ii.registerPlugin&&Ii},Wi=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,qi={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},Gi=function(t){return Math.round(1e4*t)/1e4},Hi=function(t){return parseFloat(t||0)},Qi=function(t,e){return Hi(t.getAttribute(e))},Ki=Math.sqrt,Zi=function(t,e,n,r,i,u){return Ki(Math.pow((Hi(n)-Hi(t))*i,2)+Math.pow((Hi(r)-Hi(e))*u,2))},$i=function(t){return console.warn(t)},Ji=function(t){return"non-scaling-stroke"===t.getAttribute("vector-effect")},tu=function(t){if(!(t=zi(t)[0]))return 0;var e,n,r,i,u,s,o,a=t.tagName.toLowerCase(),l=t.style,h=1,f=1;Ji(t)&&(f=t.getScreenCTM(),h=Ki(f.a*f.a+f.b*f.b),f=Ki(f.d*f.d+f.c*f.c));try{n=t.getBBox()}catch(t){$i("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var D=n||{x:0,y:0,width:0,height:0},p=D.x,c=D.y,d=D.width,g=D.height;if(n&&(d||g)||!qi[a]||(d=Qi(t,qi[a][0]),g=Qi(t,qi[a][1]),"rect"!==a&&"line"!==a&&(d*=2,g*=2),"line"===a&&(p=Qi(t,"x1"),c=Qi(t,"y1"),d=Math.abs(d-p),g=Math.abs(g-c))),"path"===a)i=l.strokeDasharray,l.strokeDasharray="none",e=t.getTotalLength()||0,h!==f&&$i("Warning: length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),e*=(h+f)/2,l.strokeDasharray=i;else if("rect"===a)e=2*d*h+2*g*f;else if("line"===a)e=Zi(p,c,p+d,c+g,h,f);else if("polyline"===a||"polygon"===a)for(r=t.getAttribute("points").match(Wi)||[],"polygon"===a&&r.push(r[0],r[1]),e=0,u=2;ue&&(r=e),[Math.max(0,-i),Math.max(0,r-i)]},nu=function(){Vi()&&(document,Yi=window,ji=Ii=Ui(),zi=Ii.utils.toArray,Xi=-1!==((Yi.navigator||{}).userAgent||"").indexOf("Edge"))},ru={version:"3.5.1",name:"drawSVG",register:function(t){Ii=t,nu()},init:function(t,e,n,r,i){if(!t.getBBox)return!1;ji||nu();var u,s,o,a,l=tu(t)+1;return this._style=t.style,this._target=t,e+""=="true"?e="0 100%":e?-1===(e+"").indexOf(" ")&&(e="0 "+e):e="0 0",s=function(t,e,n){var r,i,u=t.indexOf(" ");return u<0?(r=void 0!==n?n+"":t,i=t):(r=t.substr(0,u),i=t.substr(u+1)),(r=~r.indexOf("%")?Hi(r)/100*e:Hi(r))>(i=~i.indexOf("%")?Hi(i)/100*e:Hi(i))?[i,r]:[r,i]}(e,l,(u=eu(t,l))[0]),this._length=Gi(l+10),0===u[0]&&0===s[0]?(o=Math.max(1e-5,s[1]-l),this._dash=Gi(l+o),this._offset=Gi(l-u[1]+o),this._offsetPT=this.add(this,"_offset",this._offset,Gi(l-s[1]+o))):(this._dash=Gi(u[1]-u[0])||1e-6,this._offset=Gi(-u[0]),this._dashPT=this.add(this,"_dash",this._dash,Gi(s[1]-s[0])||1e-5),this._offsetPT=this.add(this,"_offset",this._offset,Gi(-s[0]))),Xi&&(a=Yi.getComputedStyle(t)).strokeLinecap!==a.strokeLinejoin&&(s=Hi(a.strokeMiterlimit),this.add(t.style,"strokeMiterlimit",s,s+.01)),this._live=Ji(t)||~(e+"").indexOf("live"),this._props.push("drawSVG"),1},render:function(t,e){var n,r,i,u,s=e._pt,o=e._style;if(s){for(e._live&&(n=tu(e._target)+11)!==e._length&&(r=n/e._length,e._length=n,e._offsetPT.s*=r,e._offsetPT.c*=r,e._dashPT?(e._dashPT.s*=r,e._dashPT.c*=r):e._dash*=r);s;)s.r(t,s.d),s=s._next;i=e._dash,u=e._offset,n=e._length,o.strokeDashoffset=e._offset,1!==t&&t?o.strokeDasharray=i+"px,"+n+"px":(i-u<.001&&n-i<=10&&(o.strokeDashoffset=u+1),o.strokeDasharray=u<.001&&n-i<=10?"none":u===i?"0px, 999999px":i+"px,"+n+"px")}},getLength:tu,getPosition:eu};Ui()&&Ii.registerPlugin(ru); /*! * matrix 3.5.1 * https://greensock.com * * Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ var iu,uu,su,ou,au,lu,hu,fu,Du="transform",pu=Du+"Origin",cu=function(t){var e=t.ownerDocument||t;!(Du in t.style)&&"msTransform"in t.style&&(pu=(Du="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(uu=window,hu=new Cu,e){iu=e,su=e.documentElement,ou=e.body;var n=e.createElement("div"),r=e.createElement("div");ou.appendChild(n),n.appendChild(r),n.style.position="static",n.style[Du]="translate3d(0,0,1px)",fu=r.offsetParent!==n,ou.removeChild(n)}return e},du=[],gu=[],_u=function(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)},mu=function t(e,n){if(e.parentNode&&(iu||cu(e))){var r=_u(e),i=r?r.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",u=r?n?"rect":"g":"div",s=2!==n?0:100,o=3===n?100:0,a="position:absolute;display:block;pointer-events:none;",l=iu.createElementNS?iu.createElementNS(i.replace(/^https/,"http"),u):iu.createElement(u);return n&&(r?(lu||(lu=t(e)),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+s+","+o+")"),lu.appendChild(l)):(au||((au=t(e)).style.cssText=a),l.style.cssText=a+"width:0.1px;height:0.1px;top:"+o+"px;left:"+s+"px",au.appendChild(l))),l}throw"Need document and parent."},vu=function(t,e){var n,r,i,u,s,o=_u(t),a=t===o,l=o?du:gu;if(t===uu)return t;if(l.length||l.push(mu(t,1),mu(t,2),mu(t,3)),n=o?lu:au,o)i=a?{x:0,y:0}:t.getBBox(),(r=t.transform?t.transform.baseVal:{}).numberOfItems?(u=(r=r.numberOfItems>1?function(t){for(var e=new Cu,n=0;n4&&(u=i.offsetLeft,s=i.offsetTop,i=0);(i=n.style).top=t.offsetTop-s+"px",i.left=t.offsetLeft-u+"px",r=uu.getComputedStyle(t),i[Du]=r[Du],i[pu]=r[pu],i.border=r.border,i.borderLeftStyle=r.borderLeftStyle,i.borderTopStyle=r.borderTopStyle,i.borderLeftWidth=r.borderLeftWidth,i.borderTopWidth=r.borderTopWidth,i.position="fixed"===r.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n},yu=function(t,e,n,r,i,u,s){return t.a=e,t.b=n,t.c=r,t.d=i,t.e=u,t.f=s,t},Cu=function(){function t(t,e,n,r,i,u){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===i&&(i=0),void 0===u&&(u=0),yu(this,t,e,n,r,i,u)}var e=t.prototype;return e.inverse=function(){var t=this.a,e=this.b,n=this.c,r=this.d,i=this.e,u=this.f,s=t*r-e*n||1e-10;return yu(this,r/s,-e/s,-n/s,t/s,(n*u-r*i)/s,-(t*u-e*i)/s)},e.multiply=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,u=this.e,s=this.f,o=t.a,a=t.c,l=t.b,h=t.d,f=t.e,D=t.f;return yu(this,o*e+l*r,o*n+l*i,a*e+h*r,a*n+h*i,u+f*e+D*r,s+f*n+D*i)},e.clone=function(){return new t(this.a,this.b,this.c,this.d,this.e,this.f)},e.equals=function(t){var e=this.a,n=this.b,r=this.c,i=this.d,u=this.e,s=this.f;return e===t.a&&n===t.b&&r===t.c&&i===t.d&&u===t.e&&s===t.f},e.apply=function(t,e){void 0===e&&(e={});var n=t.x,r=t.y,i=this.a,u=this.b,s=this.c,o=this.d,a=this.e,l=this.f;return e.x=n*i+r*s+a||0,e.y=n*u+r*o+l||0,e},t}();function xu(t,e,n){if(!t||!t.parentNode||(iu||cu(t)).documentElement===t)return new Cu;var r=function(t){for(var e,n;t&&t!==ou;)(n=t._gsap)&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e}(t.parentNode),i=_u(t)?du:gu,u=vu(t,n),s=i[0].getBoundingClientRect(),o=i[1].getBoundingClientRect(),a=i[2].getBoundingClientRect(),l=u.parentNode,h=function t(e){return"fixed"===uu.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)}(t),f=new Cu((o.left-s.left)/100,(o.top-s.top)/100,(a.left-s.left)/100,(a.top-s.top)/100,s.left+(h?0:uu.pageXOffset||iu.scrollLeft||su.scrollLeft||ou.scrollLeft||0),s.top+(h?0:uu.pageYOffset||iu.scrollTop||su.scrollTop||ou.scrollTop||0));if(l.removeChild(u),r)for(s=r.length;s--;)(o=r[s]).scaleX=o.scaleY=0,o.renderTransform(1,o);return e?f.inverse():f} /*! * MotionPathPlugin 3.5.1 * https://greensock.com * * @license Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Fu,wu,Eu,bu,Tu=["x","translateX","left","marginLeft"],Au=["y","translateY","top","marginTop"],Mu=Math.PI/180,Ou=function(t,e,n,r){for(var i=e.length,u=2===r?0:r,s=0;s1?t=1:t<0&&(t=0);r--;)Di(n[r],t,!r&&e.rotate,n[r]);for(;i;)i.set(i.t,i.p,i.path[i.pp]+i.u,i.d,t),i=i._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?Mu:1)+e.rOffset+e.ru,e,t)},getLength:function(t){return li(ni(t)).totalLength},sliceRawPath:oi,getRawPath:ni,pointsToSegment:_i,stringToRawPath:di,rawPathToString:mi,transformRawPath:pi,getGlobalMatrix:xu,getPositionOnPath:Di,cacheRawPathMeasurements:li,convertToPath:function(t,e){return bu(t).map((function(t){return ui(t,!1!==e)}))},convertCoordinates:function(t,e,n){var r=xu(e,!0,!0).multiply(xu(t));return n?r.apply(n):r},getAlignMatrix:Ru,getRelativePosition:function(t,e,n,r){var i=Ru(t,e,n,r);return{x:i.e,y:i.f}},arrayToRawPath:function(t,e){var n=Ou(Ou([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&Pu(n),["cubic"===e.type?n:_i(n,e.curviness)]}};(Fu||"undefined"!=typeof window&&(Fu=window.gsap)&&Fu.registerPlugin&&Fu)&&Fu.registerPlugin(Yu); /*! * ScrollToPlugin 3.5.1 * https://greensock.com * * @license Copyright 2008-2020, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */ var Xu,ju,Vu,Uu,Wu,qu,Gu,Hu=function(){return"undefined"!=typeof window},Qu=function(){return Xu||Hu()&&(Xu=window.gsap)&&Xu.registerPlugin&&Xu},Ku=function(t){return"string"==typeof t},Zu=function(t,e){var n="x"===e?"Width":"Height",r="scroll"+n,i="client"+n;return t===Vu||t===Uu||t===Wu?Math.max(Uu[r],Wu[r])-(Vu["inner"+n]||Uu[i]||Wu[i]):t[r]-t["offset"+n]},$u=function(t,e){var n="scroll"+("x"===e?"Left":"Top");return t===Vu&&(null!=t.pageXOffset?n="page"+e.toUpperCase()+"Offset":t=null!=Uu[n]?Uu:Wu),function(){return t[n]}},Ju=function(t,e){var n=qu(t)[0].getBoundingClientRect(),r=!e||e===Vu||e===Wu,i=r?{top:Uu.clientTop-(Vu.pageYOffset||Uu.scrollTop||Wu.scrollTop||0),left:Uu.clientLeft-(Vu.pageXOffset||Uu.scrollLeft||Wu.scrollLeft||0)}:e.getBoundingClientRect(),u={x:n.left-i.left,y:n.top-i.top};return!r&&e&&(u.x+=$u(e,"x")(),u.y+=$u(e,"y")()),u},ts=function(t,e,n,r,i){return isNaN(t)||"object"==typeof t?Ku(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+r-i:"max"===t?Zu(e,n)-i:Math.min(Zu(e,n),Ju(t,e)[n]-i):parseFloat(t)-i},es=function(){Xu=Qu(),Hu()&&Xu&&document.body&&(Vu=window,Wu=document.body,Uu=document.documentElement,qu=Xu.utils.toArray,Xu.config({autoKillThreshold:7}),Gu=Xu.config(),ju=1)},ns={version:"3.5.1",name:"scrollTo",rawVars:1,register:function(t){Xu=t,es()},init:function(t,e,n,r,i){ju||es();this.isWin=t===Vu,this.target=t,this.tween=n,"object"!=typeof e?Ku((e={y:e}).y)&&"max"!==e.y&&"="!==e.y.charAt(1)&&(e.x=e.y):e.nodeType&&(e={y:e,x:e}),this.vars=e,this.autoKill=!!e.autoKill,this.getX=$u(t,"x"),this.getY=$u(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=e.x?(this.add(this,"x",this.x,ts(e.x,t,"x",this.x,e.offsetX||0),r,i,Math.round),this._props.push("scrollTo_x")):this.skipX=1,null!=e.y?(this.add(this,"y",this.y,ts(e.y,t,"y",this.y,e.offsetY||0),r,i,Math.round),this._props.push("scrollTo_y")):this.skipY=1},render:function(t,e){for(var n,r,i,u,s,o=e._pt,a=e.target,l=e.tween,h=e.autoKill,f=e.xPrev,D=e.yPrev,p=e.isWin;o;)o.r(t,o.d),o=o._next;n=p||!e.skipX?e.getX():f,i=(r=p||!e.skipY?e.getY():D)-D,u=n-f,s=Gu.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),h&&(!e.skipX&&(u>s||u<-s)&&ns||i<-s)&&r-1;)if(n=e[r],t.substr(0,n.length)===n)return n.length},gs=function(t,e){void 0===t&&(t="");var n=~t.indexOf("++"),r=1;return n&&(t=t.split("++").join("")),function(){return"<"+e+" style='position:relative;display:inline-block;'"+(t?" class='"+t+(n?r++:"")+"'>":">")}},_s=function t(e,n,r){var i=e.nodeType;if(1===i||9===i||11===i)for(e=e.firstChild;e;e=e.nextSibling)t(e,n,r);else 3!==i&&4!==i||(e.nodeValue=e.nodeValue.split(n).join(r))},ms=function(t,e){for(var n=e.length;--n>-1;)t.push(e[n])},vs=function(t,e,n){for(var r;t&&t!==e;){if(r=t._next||t.nextSibling)return r.textContent.charAt(0)===n;t=t.parentNode||t._parent}},ys=function t(e){var n,r,i=ps(e.childNodes),u=i.length;for(n=0;nb&&("BR"!==h.nodeName||0===o)&&(p=[],k.push(p),C=m),R&&(h._x=h.offsetLeft,h._y=m,h._w=h.offsetWidth,h._h=h.offsetHeight),k&&((h._isSplit&&D||!N&&D||L&&D||!L&&h.parentNode.parentNode===t&&!h.parentNode._isSplit)&&(p.push(h),h._x-=y,vs(h,t,S)&&(h._wordEnd=!0)),"BR"===h.nodeName&&(h.nextSibling&&"BR"===h.nextSibling.nodeName||0===o)&&k.push([])));for(o=0;o-1;)Y[o].parentNode.removeChild(Y[o]);if(k){for(R&&(g=is.createElement(P),t.appendChild(g),_=g.offsetWidth+"px",m=g.offsetParent===t?0:t.offsetLeft,t.removeChild(g)),d=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(c=" "===S&&(!R||!L&&!N),o=0;ot.clientHeight&&(t.style.height=s-w+"px",t.clientHeightt.clientWidth&&(t.style.width=u-E+"px",t.clientWidth",m=1,v=e.specialChars?"function"==typeof e.specialChars?e.specialChars:ds:null,y=is.createElement("div"),C=t.parentNode;for(C.insertBefore(y,t),y.textContent=t.nodeValue,C.removeChild(t),h=-1!==(i=function t(e){var n=e.nodeType,r="";if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=t(e)}else if(3===n||4===n)return e.nodeValue;return r}(t=y)).indexOf("<"),!1!==e.reduceWhiteSpace&&(i=i.replace(ls," ").replace(as,"")),h&&(i=i.split("<").join("{{LT}}")),a=i.length,u=(" "===i.charAt(0)?g:"")+n(),s=0;s":l,s+=f-1;else if(l===d&&i.charAt(s-1)!==d&&s){for(u+=m?_:"",m=0;i.charAt(s+1)===d;)u+=g,s++;s===a-1?u+=g:")"!==i.charAt(s+1)&&(u+=g+n(),m=1)}else"{"===l&&"{{LT}}"===i.substr(s,6)?(u+=p?r()+"{{LT}}":"{{LT}}",s+=5):l.charCodeAt(0)>=55296&&l.charCodeAt(0)<=56319||i.charCodeAt(s+1)>=65024&&i.charCodeAt(s+1)<=65039?(o=((i.substr(s,12).split(rs)||[])[1]||"").length||2,u+=p&&" "!==l?r()+i.substr(s,o)+"":i.substr(s,o),s+=o-1):u+=p&&" "!==l?r()+l+"":l;t.outerHTML=u+(m?_:""),h&&_s(C,"{{LT}}","<")},ws=function t(e,n,r,i){var u,s,o=ps(e.childNodes),a=o.length,l=cs(n);if(3!==e.nodeType||a>1){for(n.absolute=!1,u=0;u-1;)r=this.elements[i],this._originals[i]=r.innerHTML,e=r.clientHeight,n=r.clientWidth,ws(r,t,s,o),xs(r,t,this.chars,this.words,this.lines,n,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var t=this._originals;if(!t)throw"revert() call wasn't scoped properly.";return this.elements.forEach((function(e,n){return e.innerHTML=t[n]})),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},t.create=function(e,n){return new t(e,n)},t}();Es.version="3.5.1",Mr.registerPlugin(Qe,Or,Ye,Ye,Lr,Ti,Ri,ru,Yu,ns,Er);var bs=os=window.punchgs=window.tpGS={};for(var Ts in bs.gsap=Mr,bs.TweenLite=Qe,bs.TweenMax=Or,bs.TimelineLite=Ye,bs.TimelineMax=Ye,bs.CustomBounce=Lr,bs.CustomEase=Ti,bs.CustomWiggle=Ri,bs.DrawSVGPlugin=ru,bs.MotionPathPlugin=Yu,bs.ScrollToPlugin=ns,bs.CSSPlugin=Er, /*! Map SplitText to tpGS TPGSSPLITTEXT */ bs.SplitText=Es,bs.RAD2DEG=180/Math.PI,bs.DEG2RAD=Math.PI/180, /*! REGISTER MOTION PATH (BEZIER) */ bs.gsap.registerPlugin(bs.MotionPathPlugin),bs.gsap.config({nullTargetWarn:!1}), /*!FallBack for old and new Eases*/ bs.eases=bs.gsap.parseEase(),bs.eases)bs.eases.hasOwnProperty(Ts)&&void 0===bs[Ts]&&(bs[Ts]=bs.eases[Ts]) /*! FallBack for Essential Grid */;void 0!==os&&void 0!==os.TweenLite&&void 0===os.TweenLite.lagSmoothing&&(os.TweenLite.lagSmoothing=function(){});var As=[];function Ms(t,e,n){var r=document.createElement("canvas"),i=r.getContext("2d");if(r.width=100,r.height=200,0===t.length)i.fillStyle=n;else{for(var u=i.createLinearGradient(0,0,100,0),s=0;ss.stops.length?a+=Os(s.points,l,e,u.points):o+=Os(u.points,l,t,s.points)),o+=")",a+=")","sliding"===n&&(u.stops.length>s.stops.length?o=t:a=e),r.rFrom=o,r.rTo=a,r.tyep=n,As.push(r),{from:o,to:a}}}]); // source --> https://servindamian.com/wp-content/plugins/revslider/public/assets/js/rs6.min.js?ver=6.4.3 /*! - Slider Revolution 6.4.0 JavaScript Plugin - ..........................xXXXXX................. ................. xXXXXX..xXXXXX..xXXXXX......... ..................xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .........,xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .........,xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .........,xXXXXX..xXXXXX..xXXXXX..xXXXXX......... ..........xXXXXX..xXXXXX..xXXXXX..xXXXXX......... .....................xxxxxxxxxxxxxxxxxxx......... .....................xxxxxxxxxxxxxxxxxxx......... .....................xxxxxxxxxxxxxxxxxxx......... VERSION: 6.4.0 DATE: 2021-02-10 @author: Krisztian Horvath, ThemePunch OHG. UPDATES AND DOCS AT: https://www.themepunch.com/support-center GET LICENSE AT: https://www.themepunch.com/links/slider_revolution_wordpress_regular_license LICENSE: Copyright (c) 2009-2019, ThemePunch. All rights reserved. This work is subject to the terms at https://www.themepunch.com/links/slider_revolution_wordpress_regular_license (Regular / Extended) */ !function(e,i){"use strict";var t;window.RSANYID=window.RSANYID===i?[]:window.RSANYID,window.RSANYID_sliderID=window.RSANYID_sliderID===i?[]:window.RSANYID_sliderID,e.fn.extend({revolution:function(s){return this.each(function(){t=e.fn.revolution;for(var n=document.getElementsByClassName("rs-p-wp-fix");n[0];)n[0].parentNode.removeChild(n[0]);this.id!==i?(t[d]={anyid:[]},this.id=t.revCheckIDS(d,this,!0)):this.id="rs_module_"+Math.round(1e7*Math.random());var d=this.id,l=t.clone(s);t[d]=j(s),t[d].ignoreHeightChange=a&&"fullscreen"===t[d].sliderLayout&&t[d].ignoreHeightChange,t[d].option_export=l,t[d].anyid=[],t[d]._Lshortcuts={},t[d].computedStyle={},t[d].c=e(this),t[d].cpar=t[d].c.parent(),t[d].canvas=t[d].c.find("rs-slides"),t[d].caches={calcResponsiveLayersList:[],contWidthManager:{}},t[d].sbgs={},window.RSBrowser=window.RSBrowser===i?t.get_browser():window.RSBrowser,t.setIsIOS(),t.setIsChrome8889(),t[d].noDetach=t[d].BUG_ie_clipPath="Edge"===window.RSBrowser||"IE"===window.RSBrowser,t.getByTag=r(),t[d].indexhelper=0,t[d].fullScreenOffsetResult=0,t[d].level=0,t[d].rtl=e("body").hasClass("rtl"),t[d]._L=t[d]._L===i?{}:t[d]._L,t[d].emptyObject="{}",t[d].dimensionReCheck={},t.globalListener===i&&t.pageHandler(d),t[d].stopAfterLoops!=i&&t[d].stopAfterLoops>-1?t[d].looptogo=t[d].stopAfterLoops:t[d].looptogo="disabled",window.T=t[d],t[d].BUG_safari_clipPath="Safari"===t.get_browser()&&t.get_browser_version()>"12",t[d].minHeight="fullwidth"===t[d].sliderLayout?0:t[d].minHeight!=i&&""!==t[d].minHeight?parseInt(t[d].minHeight,0):0,t[d].minHeight=t[d].minHeight===i?0:t[d].minHeight,t[d].isEdge="Edge"===t.get_browser(),o(d),t.updateVisibleArea(d),H(d),window.requestAnimationFrame(function(){if("fullscreen"===t[d].sliderLayout){var e=t.getFullscreenOffsets(d);0!==e&&t[d].cpar.height(t.getWinH(d)-e)}t[d].cpar[0].style.visibility="visible"}),"hero"==t[d].sliderType&&t[d].c.find("rs-slide").each(function(i){i>0&&e(this).remove()}),t[d].navigation.use="hero"!==t[d].sliderType&&("carousel"==t[d].sliderType||t[d].navigation.keyboardNavigation||"on"==t[d].navigation.mouseScrollNavigation||"carousel"==t[d].navigation.mouseScrollNavigation||t[d].navigation.touch.touchenabled||t[d].navigation.arrows.enable||t[d].navigation.bullets.enable||t[d].navigation.thumbnails.enable||t[d].navigation.tabs.enable),t[d].c.find("rs-bgvideo").each(function(){"RS-BGVIDEO"!==this.tagName||this.id!==i&&""!==this.id||(this.id="rs-bg-video-"+Math.round(1e6*Math.random()))}),tpGS.force3D="auto",!0===t[d].modal.useAsModal&&-1===t.RS_prioList.indexOf(d)&&(t.RS_toInit[d]=!1,t.RS_prioList.push(d)),t.RS_killedlist!==i&&-1!==t.RS_killedlist.indexOf(d)&&(t.RS_toInit[d]=!1,t.RS_prioList.push(d)),!0===t.RS_prioListFirstInit&&!0!==t[d].modal.useAsModal&&-1===t.RS_prioList.indexOf(d)&&(t.RS_toInit[d]=!1,t.RS_prioList.push(d)),t.initNextRevslider(d)})},getRSJASONOptions:function(e){console.log(JSON.stringify(t[e].option_export))},getRSVersion:function(e){var i,t,a=window.SliderRevolutionVersion;if(!e){for(var r in i=t="---------------------------------------------------------\n",i+=" Currently Loaded Slider Revolution & SR Modules :\n"+t,a)a.hasOwnProperty(r)&&(i+=a[r].alias+": "+a[r].ver+"\n");i+=t}return e?a:i},revremoveslide:function(i){return this.each(function(){var a=this.id;if(!(i<0||i>t[a].slideamount)&&t[a]&&t[a].slides.length>0&&(i>0||i<=t[a].slides.length)){var r=t.gA(t[a].slides[i],"key");t[a].slideamount=t[a].slideamount-1,t[a].realslideamount=t[a].realslideamount-1,n("rs-bullet",r,a),n("rs-tab",r,a),n("rs-thumb",r,a),e(t[a].slides[i]).remove(),t[a].thumbs=s(t[a].thumbs,i),t.updateNavIndexes&&t.updateNavIndexes(a),i<=t[a].pr_active_key&&(t[a].pr_active_key=t[a].pr_active_key-1)}})},revaddcallback:function(e){return this.each(function(){t[this.id]&&(t[this.id].callBackArray===i&&(t[this.id].callBackArray=[]),t[this.id].callBackArray.push(e))})},revgetparallaxproc:function(){if(t[this[0].id])return t[this[0].id].scrollproc},revdebugmode:function(){},revscroll:function(i){return this.each(function(){var t=e(this);e("body,html").animate({scrollTop:t.offset().top+t.height()-i+"px"},{duration:400})})},revredraw:function(){return this.each(function(){m(this.id,i,!0)})},revkill:function(){return this.each(function(){var a=this.id;t[a].c.data("conthover",1),t[a].c.data("conthoverchanged",1),t[a].c.trigger("revolution.slide.onpause"),t[a].tonpause=!0,t[a].c.trigger("stoptimer"),t[a].sliderisrunning=!1;var r="updateContainerSizes."+t[a].c.attr("id");t.window.unbind(r),tpGS.gsap.killTweensOf(t[a].c.find("*"),!1),tpGS.gsap.killTweensOf(t[a].c,!1),t[a].c.unbind("hover, mouseover, mouseenter,mouseleave, resize"),t[a].c.find("*").each(function(){var t=e(this);t.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),t.off("on, hover, mouseenter,mouseleave,mouseover, resize"),t.data("mySplitText",null),t.data("ctl",null),t.data("tween")!=i&&t.data("tween").kill(),t.data("pztl")!=i&&t.data("pztl").kill(),t.data("timeline_out")!=i&&t.data("timeline_out").kill(),t.data("timeline")!=i&&t.data("timeline").kill(),t.remove(),t.empty(),t=null}),tpGS.gsap.killTweensOf(t[a].c.find("*"),!1),tpGS.gsap.killTweensOf(t[a].c,!1),t[a].progressC.remove();try{t[a].c.closest(".rev_slider_wrapper").detach()}catch(e){}try{t[a].c.closest("rs-fullwidth-wrap").remove()}catch(e){}try{t[a].c.closest("rs-module-wrap").remove()}catch(e){}try{t[a].c.remove()}catch(e){}t[a].cpar.detach(),t[a].c.html(""),t[a].c=null,delete t[a],t.RS_prioList.splice(t.RS_prioList.indexOf(a),1),t.RS_toInit[a]=!1,t.RS_killedlist=t.RS_killedlist===i?[]:t.RS_killedlist,-1===t.RS_killedlist.indexOf(a)&&t.RS_killedlist.push(a)})},revpause:function(){return this.each(function(){var a=e(this);a!=i&&a.length>0&&e("body").find("#"+a.attr("id")).length>0&&(a.data("conthover",1),a.data("conthoverchanged",1),a.trigger("revolution.slide.onpause"),t[this.id].tonpause=!0,a.trigger("stoptimer"))})},revresume:function(){return this.each(function(){if(t[this.id]!==i){var a=e(this);a.data("conthover",0),a.data("conthoverchanged",1),a.trigger("revolution.slide.onresume"),t[this.id].tonpause=!1,a.trigger("starttimer")}})},revmodal:function(a){var r=this instanceof e?this[0]:this,o=r.id;t[r.id]!==i&&t.revModal(o,a)},revstart:function(){var a=this instanceof e?this[0]:this;return t[a.id]===i?(console.log("Slider is Not Existing"),!1):t[a.id].sliderisrunning||!0===t[a.id].initEnded?(console.log("Slider Is Running Already"),!1):(t[a.id].c=e(a),t[a.id].canvas=t[a.id].c.find("rs-slides"),u(a.id),!0)},revnext:function(){return this.each(function(){t[this.id]!==i&&t.callingNewSlide(this.id,1,"carousel"===t[this.id].sliderType)})},revprev:function(){return this.each(function(){t[this.id]!==i&&t.callingNewSlide(this.id,-1,"carousel"===t[this.id].sliderType)})},revmaxslide:function(){return e(this).find("rs-slide").length},revcurrentslide:function(){if(t[e(this)[0].id]!==i)return parseInt(t[e(this)[0].id].pr_active_key,0)+1},revlastslide:function(){return e(this).find("rs-slide").length},revshowslide:function(e){return this.each(function(){t[this.id]!==i&&e!==i&&t.callingNewSlide(this.id,"to"+(e-1))})},revcallslidewithid:function(e){return this.each(function(){t[this.id]!==i&&t.callingNewSlide(this.id,e,"carousel"===t[this.id].sliderType)})}}),t=e.fn.revolution,e.extend(!0,t,{isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},trim:function(e){return e!==i&&null!==e&&"string"==typeof e?e.trim():e},pageHandler:function(r){t.globalListener=!0,t.window=e(window),t.document=e(document),t.RS_toInit={},t.RS_prioList=[],t.RS_swapping=[],t.RS_swapList={},window.isSafari11===i&&(window.isSafari11=t.isSafari11()),a?window.addEventListener("orientationchange",function(){t.getWindowDimension(!1,!0),setTimeout(function(){t.getWindowDimension(!0,!0)},400)}):window.addEventListener("resize",t.getWindowDimension),t.getWindowDimension(!1),t.stickySupported=!1,"IE"!==window.RSBrowser&&(t.stickySupported=!0),t.checkParrentOverflows(r);var o=t.getByTag(document,"RS-MODULE");for(var s in o)o.hasOwnProperty(s)&&(t.RS_toInit[o[s].id]=!1,t.RS_prioList.push(o[s].id));t.nextSlider=r,t.RS_prioListFirstInit=!0},checkParrentOverflows:function(e){window.requestAnimationFrame(function(){for(var i=t[e].cpar[0];i.parentNode&&!1!==t.stickySupported;){if("RS-MODULE-WRAP"!==i.tagName&&"RS-FULLWIDTH-WRAP"!==i.tagName&&"RS-MODULE-WRAP"!==i.tagName&&-1===i.className.indexOf("wp-block-themepunch-revslider")){var a=window.getComputedStyle(i);t.stickySupported="hidden"!==a.overflow&&"hidden"!==a.overflowX&&"hidden"!==a.overflowY}i=i.parentNode}})},initNextRevslider:function(e){t.RS_prioList[0]===e&&!1===t.RS_toInit[e]?(t.RS_toInit[e]="waiting",c(e),setTimeout(function(){t.initNextRevslider(e)},19)):t.RS_prioList[0]===e&&"waiting"===t.RS_toInit[e]?setTimeout(function(){t.initNextRevslider(e)},19):t.RS_prioList[0]===e&&!0===t.RS_toInit[e]?(t.RS_prioList.shift(),0!==t.RS_prioList.length&&setTimeout(function(){t.initNextRevslider(e)},19)):t.RS_prioList[0]!==e&&!1===t.RS_toInit[e]?setTimeout(function(){t.initNextRevslider(e)},19):0===t.RS_prioList.length&&!0===t.RS_toInit[e]&&c(e)},scrollTicker:function(e){1!=t.scrollTickerAdded&&(t.slidersToScroll=[],t.scrollTickerAdded=!0,a?(tpGS.gsap.ticker.fps(150),tpGS.gsap.ticker.add(function(){t.generalObserver()})):document.addEventListener("scroll",function(e){t.scrollRaF===i&&(t.scrollRaF=requestAnimationFrame(t.generalObserver.bind(this,!0)))},{passive:!0})),t.slidersToScroll.push(e),t.generalObserver(a)},generalObserver:function(e,a){for(var r in t.scrollRaF&&(t.scrollRaF=cancelAnimationFrame(t.scrollRaF)),t.lastwindowheight=t.lastwindowheight||t.winH,t.scrollY=window.scrollY,t.slidersToScroll)t.slidersToScroll.hasOwnProperty(r)&&t.scrollHandling(t.slidersToScroll[r],e,i,a)},wrapObserver:{targets:[],init:function(e){var i=1,a=0,r=0,o=s.bind(t.wrapObserver);function s(){if(r++,requestAnimationFrame(o),!(r-a<30/i))for(var s in a=r,t.wrapObserver.targets)if(t.wrapObserver.targets.hasOwnProperty(s)){var n=t.wrapObserver.targets[s],d=n.elem.getBoundingClientRect();n.lw===d.width&&n.lh===d.height||0===d.width||(n.callback&&(n.callback.pause(),n.callback.kill(),n.callback=null),n.callback=tpGS.gsap.to({},{duration:.2,onComplete:e.bind(window,n.elem,n.id)})),n.lw=d.width,n.lh=d.height}}s()},observe:function(e,i){if(""!==(e=e.getBoundingClientRect?e:e[0].getBoundingClientRect?e[0]:"")){var a=e.getBoundingClientRect();t.wrapObserver.targets.push({elem:e,id:i,lw:a.width,lh:a.height})}}},enterViewPort:function(a,r){!0!==t[a].started?(t[a].started=!0,t[a].c.trigger("revolution.slide.firstrun"),setTimeout(function(){I(a),"hero"!==t[a].sliderType&&t.manageNavigation&&t[a].navigation.use&&!0===t[a].navigation.createNavigationDone&&t.manageNavigation(a),t[a].slideamount>1&&P(a),setTimeout(function(){t[a]!==i&&(t[a].revolutionSlideOnLoaded=!0,t[a].c.trigger("revolution.slide.onloaded"))},50)},t[a].startDelay),t[a].startDelay=0,window.requestAnimationFrame(function(){h(a)})):(t[a].waitForCountDown&&(P(a),t[a].waitForCountDown=!1),"playing"!=t[a].sliderlaststatus&&t[a].sliderlaststatus!=i||t[a].c.trigger("starttimer"),t[a].lastplayedvideos!=i&&t[a].lastplayedvideos.length>0&&e.each(t[a].lastplayedvideos,function(e,i){t.playVideo(i,a)}))},leaveViewPort:function(a){t[a].sliderlaststatus=t[a].sliderstatus,t[a].c.trigger("stoptimer"),t[a].playingvideos!=i&&t[a].playingvideos.length>0&&(t[a].lastplayedvideos=e.extend(!0,[],t[a].playingvideos),t[a].playingvideos&&e.each(t[a].playingvideos,function(e,i){t[a].leaveViewPortBasedStop=!0,t.stopVideo&&t.stopVideo(i,a)}))},scrollHandling:function(e,a,r,o){if(t[e]!==i){var s=t[e].topc!==i?t[e].topc[0].getBoundingClientRect():0===t[e].canv.height?t[e].cpar[0].getBoundingClientRect():t[e].c[0].getBoundingClientRect();s.hheight=0===s.height?0===t[e].canv.height?t[e].module.height:t[e].canv.height:s.height,t[e].scrollproc=s.top<0||s.hheight>t.lastwindowheight&&s.topt.lastwindowheight?(s.bottom-t.lastwindowheight)/s.hheight:0;var n=Math.max(0,1-Math.abs(t[e].scrollproc));t[e].viewPort.enable&&("%"===t[e].viewPort.vaType[t[e].level]&&(t[e].viewPort.visible_area[t[e].level]<=n||n>=0&&n<=1&&t[e].sbtimeline.fixed)||"px"===t[e].viewPort.vaType[t[e].level]&&(s.top<=0&&s.bottom>=t.lastwindowheight||s.top>=0&&s.bottom<=t.lastwindowheight||s.top>=0&&s.top=t[e].viewPort.visible_area[t[e].level]&&s.bottom=0})},getWinH:function(e){return t[e].ignoreHeightChange?t.mobileWinH:t.winH},getWindowDimension:function(e,r){!1===e?(t.winWAll=window.innerWidth,t.winWSbar=document.documentElement.clientWidth,a?(t.zoom=r?1:t.winWSbar/t.winWAll,t.winW=1!==t.zoom?t.winWSbar*t.zoom:Math.min(t.winWAll,t.winWSbar),t.winH=1!==t.zoom?window.innerHeight*t.zoom:window.innerHeight,r&&window.visualViewport&&(t.winH*=window.visualViewport.scale,t.winWAll*=window.visualViewport.scale),t.scrollBarWidth=0):(t.scrollBarWidth=t.winWAll-t.winWSbar,t.winW=Math.min(t.winWAll,t.winWSbar),t.winH=window.innerHeight),a&&t.winH>125&&(t.lastwindowheight!==i&&Math.abs(t.lastwindowheight-t.winH)<125?t.mobileWinH=t.lastwindowheight:t.mobileWinH=t.winH)):clearTimeout(t.windowDimenstionDelay),t.windowDimenstionDelay=setTimeout(function(){t.winWAll=window.innerWidth,t.winWSbar=document.documentElement.clientWidth,a?(t.zoom=r?1:t.winWSbar/t.winWAll,t.RS_px_ratio=window.devicePixelRatio||window.screen.availWidth/document.documentElement.clientWidth,t.winW=1!==t.zoom?t.winWSbar*t.zoom:Math.min(t.winWAll,t.winWSbar),t.winH=1!==t.zoom?window.innerHeight*t.zoom:window.innerHeight,r&&window.visualViewport&&(t.winH*=window.visualViewport.scale,t.winWAll*=window.visualViewport.scale),t.scrollBarWidth=0,r&&tpGS.gsap.delayedCall(.1,function(){t.getWindowDimension()})):(t.scrollBarWidth=t.winWAll-t.winWSbar,t.winW=Math.min(t.winWAll,t.winWSbar),t.winH=window.innerHeight),a&&t.winH>125&&(t.lastwindowheight!==i&&Math.abs(t.lastwindowheight-t.winH)<125?t.mobileWinH=t.lastwindowheight:t.mobileWinH=t.winH),!1!==e&&t.document.trigger("updateContainerSizes")},100)},aC:function(i,t){i&&(i.classList&&i.classList.add?i.classList.add(""+t):e(i).addClass(t))},rC:function(i,t){i&&(i.classList&&i.classList.remove?i.classList.remove(""+t):e(i).removeClass(t))},sA:function(e,i,t){e&&e.setAttribute&&e.setAttribute("data-"+i,t)},gA:function(e,t,a){return e===i?i:e.hasAttribute&&e.hasAttribute("data-"+t)&&e.getAttribute("data-"+t)!==i&&null!==e.getAttribute("data-"+t)?e.getAttribute("data-"+t):a!==i?a:i},rA:function(e,i){e&&e.removeAttribute&&e.removeAttribute("data-"+i)},iWA:function(e,a){return t[e].justifyCarousel?"static"===a?t[e].carousel.wrapwidth:t[e].carousel.slide_widths[a!==i?a:t[e].carousel.focused]:t[e].gridwidth[t[e].level]},iHE:function(e,i){return t[e].useFullScreenHeight?t[e].canv.height:Math.max(t[e].currentRowsHeight,t[e].gridheight[t[e].level])},updateFixedScrollTimes:function(e){!0===t[e].sbtimeline.set&&!0===t[e].sbtimeline.fixed&&"auto"!==t[e].sliderLayout&&(t[e].sbtimeline.rest=t[e].duration-t[e].sbtimeline.fixEnd,t[e].sbtimeline.time=t[e].duration-(t[e].sbtimeline.fixStart+t[e].sbtimeline.rest),t[e].sbtimeline.extended=t[e].sbtimeline.time/10)},addSafariFix:function(e){!0===window.isSafari11&&!0!==t[e].safari3dFix&&(t[e].safari3dFix=!0,t[e].c[0].className+=" safarifix")},showModalCover:function(a,r,o){switch(o){case"show":var s;if(r.spin!==i&&"off"!==r.spin&&(s=t.buildSpinner(a,"spinner"+r.spin,r.spinc,"modalspinner")),r.bg!==i&&!1!==r.bg&&"false"!==r.bg&&"transparent"!==r.bg){var n=e('');e("body").append(n),r.speed=parseFloat(r.speed),r.speed=r.speed>200?r.speed/1e3:r.speed,r.speed=Math.max(Math.min(3,r.speed),.3),tpGS.gsap.to(n,r.speed,{display:"block",opacity:1,ease:"power3.inOut"}),t.isModalOpen=!0,s!==i&&n.append(s)}else s!==i&&t[a].c.append(s);break;case"hide":(n=e('rs-modal-cover[data-alias="'+r.alias+'"] .modalspinner'))!==i&&n.length>0?n.remove():t[a].c.find(".modalspinner").remove()}},revModal:function(a,r){if(a!==i&&t[a]!==i&&"clicked"!==t[a].modal.closeProtection){if(!0===t[a].modal.closeProtection)return t[a].modal.closeProtection,void setTimeout(function(){t[a].modal.closeProtection=!1,t.revModal(a,r)},750);switch(r.mode){case"show":if(!0===t[a].modal.isLive)return;if(!0===t.anyModalclosing)return;t[a].modal.isLive=!0,r.slide=r.slide===i?"to0":r.slide,t[a].modal.bodyclass!==i&&t[a].modal.bodyclass.length>=0&&document.body.classList.add(t[a].modal.bodyclass),tpGS.gsap.to(t[a].modal.bg,t[a].modal.coverSpeed,{display:"block",opacity:1,ease:"power3.inOut"}),tpGS.gsap.set(t[a].modal.c,{display:"auto"===t[a].sliderLayout?"inline-block":"block",opacity:0}),t[a].cpar.removeClass("hideallscrollbars"),tpGS.gsap.set(t[a].cpar,{display:"block",opacity:1});var o={a:0};t.isModalOpen=!0,t[a].clearModalBG=!0,tpGS.gsap.fromTo(o,t[a].modal.coverSpeed/5,{a:0},{a:10,ease:"power3.inOut",onComplete:function(){t.openModalId=a,t[a].sliderisrunning?t.callingNewSlide(a,r.slide):("to0"!==r.slide&&(t[a].startWithSlideKey=r.slide),u(a))}}),tpGS.gsap.fromTo([t[a].modal.c],.01,{opacity:0},{opacity:1,delay:t[a].modal.coverSpeed/4,ease:"power3.inOut",onComplete:function(){}}),window.overscrollhistory=document.body.style.overflow,setTimeout(function(){document.body.style.overflow="hidden"},250),t.getWindowDimension();break;case"close":if(!0===t.anyModalclosing)return;t.anyModalclosing=!0,t.openModalId=i,R(a),document.body.style.overflow=window.overscrollhistory,t[a].cpar.addClass("hideallscrollbars"),t[a].modal.bodyclass!==i&&t[a].modal.bodyclass.length>=0&&document.body.classList.remove(t[a].modal.bodyclass),tpGS.gsap.to(t[a].modal.bg,t[a].modal.coverSpeed,{display:"none",opacity:0,ease:"power3.inOut"}),tpGS.gsap.to(t[a].modal.c,t[a].modal.coverSpeed/6.5,{display:"none",delay:t[a].modal.coverSpeed/4,opacity:0,onComplete:function(){tpGS.gsap.set(t[a].cpar,{display:"none",opacity:0}),t.document.trigger("revolution.all.resize"),t.getWindowDimension(),t.isModalOpen=!1}}),t[a].modal.closeProtection=!0,clearTimeout(t[a].modal.closeTimer),t[a].modal.closeTimer=setTimeout(function(){t.anyModalclosing=!1,t[a].modal.isLive=!1,t[a].modal.closeProtection=!1},Math.max(750,1020*t[a].modal.coverSpeed));break;case"init":if(window.RS_60_MODALS=window.RS_60_MODALS===i?[]:window.RS_60_MODALS,-1===e.inArray(t[a].modal.alias,window.RS_60_MODALS)&&window.RS_60_MODALS.push(t[a].modal.alias),t[a].modal.listener===i&&(t[a].modal.c=e("#"+a+"_modal"),!1!==t[a].modal.cover&&"false"!==t[a].modal.cover||(t[a].modal.coverColor="transparent"),t[a].modal.bg=e('rs-modal-cover[data-alias="'+r.alias+'"]'),t[a].modal.bg===i||0===t[a].modal.bg.length?(t[a].modal.bg=e(''),"auto"===t[a].sliderLayout&&t[a].modal.cover?e("body").append(t[a].modal.bg):t[a].modal.c.append(t[a].modal.bg)):t[a].modal.bg.attr("data-rid",a),t[a].modal.c[0].className+="rs-modal-"+t[a].sliderLayout,t[a].modal.calibration={left:"auto"===t[a].sliderLayout?"center"===t[a].modal.horizontal?"50%":"left"===t[a].modal.horizontal?"0px":"auto":"0px",right:"auto"===t[a].sliderLayout?"center"===t[a].modal.horizontal?"auto":"left"===t[a].modal.horizontal?"auto":"0px":"0px",top:"auto"===t[a].sliderLayout||"fullwidth"===t[a].sliderLayout?"middle"===t[a].modal.vertical?"50%":"top"===t[a].modal.vertical?"0px":"auto":"0px",bottom:"auto"===t[a].sliderLayout||"fullwidth"===t[a].sliderLayout?"middle"===t[a].modal.vertical?"auto":"top"===t[a].modal.vertical?"auto":"0px":"0px",y:("auto"===t[a].sliderLayout||"fullwidth"===t[a].sliderLayout)&&"middle"===t[a].modal.vertical?"-50%":0,x:"auto"===t[a].sliderLayout&&"center"===t[a].modal.horizontal?"-50%":0},"-50%"===t[a].modal.calibration.y&&(t[a].modal.calibration.filter="blur(0px)"),tpGS.gsap.set(t[a].modal.c,"auto"===t[a].sliderLayout||"fullscreen"===t[a].sliderLayout?e.extend(!0,t[a].modal.calibration,{opacity:0,display:"none"}):{opacity:0,display:"none"}),"fullwidth"===t[a].sliderLayout&&tpGS.gsap.set(t[a].modal.c.find("rs-module-wrap"),t[a].modal.calibration),t.document.on("RS_OPENMODAL_"+t[a].modal.alias,function(e,i){t.revModal(a,{mode:"show",slide:i})}),t.document.on("click","rs-modal-cover",function(){t.revModal(t.gA(this,"rid"),{mode:"close"})}),t[a].modal.listener=!0,t[a].modal.trigger!==i)){var s,n=t[a].modal.trigger.split(";");for(o in t[a].modal.trigger={},n)if(n.hasOwnProperty(o))switch((s=n[o].split(":"))[0]){case"t":t[a].modal.trigger.time=parseInt(s[1],0);break;case"s":t[a].modal.trigger.scroll=s[1];break;case"so":t[a].modal.trigger.scrollo=parseInt(s[1],0);break;case"e":t[a].modal.trigger.event=s[1]}if(t[a].modal.trigger.time!==i&&0!==t[a].modal.trigger.time&&setTimeout(function(){t.document.trigger("RS_OPENMODAL_"+t[a].modal.alias)},t[a].modal.trigger.time),t[a].modal.trigger.scrollo!==i||t[a].modal.trigger.scroll!==i){t[a].modal.trigger.scroll!==i&&e(t[a].modal.trigger.scroll)[0]!==i&&(t[a].modal.trigger.scroll=e(t[a].modal.trigger.scroll)[0]);var d=function(){if(t[a].modal.trigger.scroll!==i)var e=t[a].modal.trigger.scroll.getBoundingClientRect();(t[a].modal.trigger.scroll!==i&&Math.abs(e.top+(e.bottom-e.top)/2-t.getWinH(a)/2)<50||t[a].modal.trigger.scrollo!==i&&Math.abs(t[a].modal.trigger.scrollo-(t.scrollY!==i?t.scrollY:window.scrollY))<100)&&(t.document.trigger("RS_OPENMODAL_"+t[a].modal.alias),document.removeEventListener("scroll",d))};document.addEventListener("scroll",d,{id:a,passive:!0})}t[a].modal.trigger.event!==i&&t.document.on(t[a].modal.trigger.event,function(){t.document.trigger("RS_OPENMODAL_"+t[a].modal.alias)})}}}},smartConvertDivs:function(e){var i="";if("string"==typeof e&&e.indexOf("#")>=0){var t=e.split(","),a=t.length-1;for(var r in t)i="string"==typeof t[r]&&"#"===t[r][0]?i+t[r][1]/t[r][3]*100+"%"+(r=0)){var u=e(p[l]).data(),h=g(p[l],i,o),m=h!==i?h:t.gA(p[l],"svg_src")!=i?t.gA(p[l],"svg_src"):p[l].src===i?u.src:p[l].src,v=t.getLoadObj(o,m);if(t.sA(p[l],"src-rs-ref",m),u.loaded===i&&v!==i&&v.progress&&"loaded"==v.progress){if(p[l].src=v.src,"img"==v.type){if(u.slidebgimage){-1==v.src.indexOf("images/transparent.png")&&-1==v.src.indexOf("assets/transparent.png")||u.bgcolor===i||u.bgcolor!==i&&"transparent"!==u.bgcolor&&(v.bgColor=!0),t.sA(d[c],"owidth",v.width),t.sA(d[c],"oheight",v.height);var f=t.getByTag(d[c],"RS-SBG-WRAP"),y=t.gA(d[c],"key");if(t[o].sbgs[y].loadobj=v,f.length>0&&(t.sA(f[0],"owidth",v.width),t.sA(f[0],"oheight",v.height)),"carousel"===t[o].sliderType){var b=e(f),w=t.getSlideIndex(o,y);(t[o].carousel.justify&&t[o].carousel.slide_widths===i||t[o].carousel.slide_width===i)&&t.setCarouselDefaults(o,!0),b.data("panzoom")===i||t[o].panzoomTLs!==i&&t[o].panzoomTLs[w]!==i||t.startPanZoom(b,o,0,w,"prepare",y),t[o].sbgs[y].isHTML5&&!t[o].sbgs[y].videoisplaying&&(t[o].sbgs[y].video=t[o].sbgs[y].loadobj.img),d[c].getAttribute("data-iratio")!==i&&!d[c].getAttribute("data-iratio")&&v.img&&v.img.naturalWidth&&(d[c].setAttribute("data-iratio",v.img.naturalWidth/v.img.naturalHeight),t.setCarouselDefaults(o,"redraw"),!0===t[o].carousel.ocfirsttun&&t.organiseCarousel(o,"right",!0,!1,!1)),t.updateSlideBGs(o,y,t[o].sbgs[y])}}}else"svg"==v.type&&"loaded"==v.progress&&(p[l].innerHTML=v.innerHTML);u.loaded=!0}v&&v.progress&&v.progress.match(/inprogress|inload|prepared/g)&&(!v.error&&e.now()-v.starttoload<3e3?n=!0:(v.progress="failed",v.reported_img||(v.reported_img=!0,console.log(m+" Could not be loaded !")))),1!=t[o].youtubeapineeded||window.YT&&YT.Player!=i||(n=L("youtube",o)),1!=t[o].vimeoapineeded||window.Vimeo||(n=L("vimeo",o))}}!a&&t[o].audioqueue&&t[o].audioqueue.length>0&&e.each(t[o].audioqueue,function(i,t){t.status&&"prepared"===t.status&&e.now()-t.start=0?"%":"px"),t[e].viewPort.visible_area[a]=parseInt(t[e].viewPort.visible_area[a],0),t[e].viewPort.visible_area[a]="%"==t[e].viewPort.vaType[a]?t[e].viewPort.visible_area[a]/100:t[e].viewPort.visible_area[a])},observeFonts:function(e,a,r){r=r===i?0:r,t.fonts===i&&(t.fonts={},t.monoWidth=d("monospace"),t.sansWidth=d("sans-serif"),t.serifWidth=d("serif")),r++;var o=t.fonts[e];!0!==t.fonts[e]&&(t.fonts[e]=t.monoWidth!==d(e+",monospace")||t.sansWidth!==d(e+",sans-serif")||t.serifWidth!==d(e+",serif")),100===r||(!1===o||o===i)&&!0===t.fonts[e]?(d(e+",monospace",!0),d(e+",sans-serif",!0),d(e+",serif",!0),a()):setTimeout(function(){t.observeFonts(e,a,r)},19)},getversion:function(){return"Slider Revolution 6.4.0"},currentSlideIndex:function(e){return t[e].pr_active_key},iOSVersion:function(){return!!(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i))&&navigator.userAgent.match(/OS 4_\d like Mac OS X/i)},setIsIOS:function(){t.isIOS=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&void 0!==navigator.standalone},setIsChrome8889:function(){t.isChrome8889=t.isChrome8889===i?navigator.userAgent.indexOf("Chrome/88")>=0||navigator.userAgent.indexOf("Chrome/89")>=0:t.isChrome8889},isIE:function(){if(t.isIERes===i){var a=e('
').appendTo(e("body"));a.html("\x3c!--[if IE 8]> 1)||t);return t},is_android:function(){var e=["android","Android"],i=!1;for(var t in e)e.hasOwnProperty(t)&&(i=!!(i||navigator.userAgent.split(e[t]).length>1)||i);return i},callBackHandling:function(i,a,r){t[i].callBackArray&&e.each(t[i].callBackArray,function(e,i){i&&i.inmodule&&i.inmodule===a&&i.atposition&&i.atposition===r&&i.callback&&i.callback.call()})},get_browser:function(){var e,i=navigator.userAgent,t=i.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(t[1])?(e=/\brv[ :]+(\d+)/g.exec(i)||[],"IE"):"Chrome"===t[1]&&null!=(e=i.match(/\b(OPR|Edge)\/(\d+)/))?e[1].replace("OPR","Opera"):(t=t[2]?[t[1],t[2]]:[navigator.appName,navigator.appVersion,"-?"],null!=(e=i.match(/version\/(\d+)/i))&&t.splice(1,1,e[1]),t[0])},get_browser_version:function(){var e,i=navigator.appName,t=navigator.userAgent,a=t.match(/(edge|opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=t.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[i,navigator.appVersion,"-?"])[1]},isFaceBook:function(){return t.isFaceBookApp==i&&(t.isFaceBookApp=navigator.userAgent||navigator.vendor||window.opera,t.isFaceBookApp=t.isFaceBookApp.indexOf("FBAN")>-1||t.isFaceBookApp.indexOf("FBAV")>-1),t.isFaceBookApp},isFirefox:function(e){return t[e].isFirefox=t[e].isFirefox===i?"Firefox"===t.get_browser():t[e].isFirefox,t[e].isFirefox},isSafari11:function(){return"safari"===t.trim(t.get_browser().toLowerCase())&&parseFloat(t.get_browser_version())>=11},isWebkit:function(){var e=/(webkit)[ \/]([\w.]+)/.exec(navigator.userAgent.toLowerCase());return e&&e[1]&&"webkit"===e[1]},isIE11:function(){return t.IE11=t.IE11===i?!!navigator.userAgent.match(/Trident.*rv\:11\./):t.IE11,t.IE11},deepLink:function(e,a){var r;if(a!==i&&a.length<9)if(a.split("slide").length>1&&-1==a.indexOf("slider")){var o=parseInt(a.split("slide")[1],0);t.isNumeric(parseInt(o,0))&&((o=parseInt(o,0))<1&&(o=1),o>t[e].slideamount&&(o=t[e].slideamount),r=o)}else for(var s in t[e].slides)t[e].slides.hasOwnProperty(s)&&t.gA(t[e].slides[s],"deeplink")==a&&(r=parseInt(s)+1);return r},getHorizontalOffset:function(e,i){var t=l(e,".outer-left"),a=l(e,".outer-right");return"left"==i?t:"right"==i?a:"all"==i?{left:t,right:a,both:t+a,inuse:t+a!=0}:t+a},getComingSlide:function(e,a){var r=t[e].pr_next_key!==i?t[e].pr_next_key:t[e].pr_processing_key!==i?t[e].pr_processing_key:t[e].pr_active_key,o=0;if(o=0,t[e].pr_active_slide!==i&&"true"==t.gA(t[e].pr_active_slide[0],"not_in_nav")&&(r=t[e].pr_lastshown_key),a!==i&&t.isNumeric(a)||a!==i&&a.match(/to/g))o=1===a||-1===a?parseInt(r,0)+a<0?t[e].slideamount-1:parseInt(r,0)+a>=t[e].slideamount?0:parseInt(r,0)+a:(a=t.isNumeric(a)?a:parseInt(a.split("to")[1],0))<0?0:a>t[e].slideamount-1?t[e].slideamount-1:a;else if(a)for(var s in t[e].slides)t[e].slides.hasOwnProperty(s)&&(o=t[e].slides&&t[e].slides[s]&&t.gA(t[e].slides[s],"key")===a?s:o);return{nindex:o,aindex:r}},callingNewSlide:function(e,a,r){var o=t.getComingSlide(e,a);t[e].pr_next_key=o.nindex,t[e].sdir=t[e].pr_next_keyparseInt(t[e].responsiveLevels[s]))&&(i=parseInt(t[e].responsiveLevels[s]),o=parseInt(s),a=parseInt(t[e].responsiveLevels[s])),t.winWAll>t[e].responsiveLevels[s]&&ar.w?r.h=r.w:r.w=r.h,(r.h>1||r.w>1)&&(r.w=1,r.h=1))),r},updateDims:function(e,a){var r=t[e].pr_processing_key||t[e].pr_active_key||0,o=t[e].pr_active_key||0,s=t[e].modal!==i&&t[e].modal.useAsModal,n=s?t.winWAll:t.winW,d=!1;if(t[e].redraw=t[e].redraw===i?{}:t[e].redraw,t[e].module=t[e].module===i?{}:t[e].module,t[e].canv=t[e].canv===i?{}:t[e].canv,t[e].content=t[e].content===i?{}:t[e].content,t[e].drawUpdates={c:{},cpar:{},canv:{}},"carousel"==t[e].sliderType?t[e].module.margins={top:parseInt(t[e].carousel.padding_top||0,0),bottom:parseInt(t[e].carousel.padding_bottom||0,0)}:t[e].module.margins={top:0,bottom:0},t[e].module.paddings===i&&(t[e].module.paddings={top:parseInt(t[e].cpar.css("paddingTop"),0)||0,bottom:parseInt(t[e].cpar.css("paddingBottom"),0)||0}),t[e].blockSpacing!==i?(t[e].block={bottom:t[e].blockSpacing.bottom!==i?parseInt(t[e].blockSpacing.bottom[t[e].level],0):0,top:t[e].blockSpacing.top!==i?parseInt(t[e].blockSpacing.top[t[e].level],0):0,left:t[e].blockSpacing.left!==i?parseInt(t[e].blockSpacing.left[t[e].level],0):0,right:t[e].blockSpacing.right!==i?parseInt(t[e].blockSpacing.right[t[e].level],0):0},t[e].block.hor=t[e].block.left+t[e].block.right,t[e].block.ver=t[e].block.top+t[e].block.bottom):t[e].block===i&&(t[e].block={top:0,left:0,right:0,bottom:0,hor:0,ver:0}),t[e].blockSpacing!==i){var l={paddingLeft:t[e].block.left,paddingRight:t[e].block.right,marginTop:t[e].block.top,marginBottom:t[e].block.bottom},c=JSON.stringify(l);l!==t[e].emptyObject&&c!==t[e].caches.setsizeBLOCKOBJ&&(tpGS.gsap.set(t[e].blockSpacing.block,l),t[e].caches.setsizeBLOCKOBJ=c,d=!0)}if(t[e].levelForced=t[e].level=t.getResponsiveLevel(e),t[e].rowHeights=t.getRowHeights(e),t[e].aratio=t[e].gridheight[t[e].level]/t[e].gridwidth[t[e].level],t[e].module.width="auto"===t[e].sliderLayout||1==t[e].disableForceFullWidth?t[e].cpar.width():n-t[e].block.hor,t[e].outNavDims=t.getOuterNavDimension(e),t[e].canv.width=t[e].module.width-t[e].outNavDims.horizontal-(s?t.scrollBarWidth:0),s&&"auto"===t[e].sliderLayout&&(t[e].canv.width=Math.min(t[e].gridwidth[t[e].level],n)),"fullscreen"===t[e].sliderLayout||t[e].infullscreenmode){var p=t.getWinH(e)-t.getFullscreenOffsets(e);t[e].canv.height=Math.max(t[e].rowHeights.cur,Math.max(p-t[e].outNavDims.vertical,t[e].minHeight)),o!==r&&(t[e].currentSlideHeight=Math.max(t[e].rowHeights.last,Math.max(p-t[e].outNavDims.vertical,t[e].minHeight)),t[e].redraw.maxHeightOld=!0),t[e].drawUpdates.c.height="100%"}else t[e].canv.height=t[e].keepBPHeight?t[e].gridheight[t[e].level]:Math.round(t[e].canv.width*t[e].aratio),t[e].canv.height=t[e].autoHeight?t[e].canv.height:Math.min(t[e].canv.height,t[e].gridheight[t[e].level]),t[e].canv.height=Math.max(Math.max(t[e].rowHeights.cur,t[e].canv.height),t[e].minHeight),t[e].drawUpdates.c.height=t[e].canv.height;t[e].module.height=t[e].canv.height,"fullwidth"!=t[e].sliderLayout||t[e].autoHeight||(t[e].drawUpdates.c.maxHeight=0!=t[e].maxHeight?Math.min(t[e].canv.height,t[e].maxHeight):t[e].canv.height),t[e].CM=t.getSizeMultpilicator(e,t[e].enableUpscaling,{width:t[e].canv.width,height:t[e].canv.height}),t[e].content.width=t[e].gridwidth[t[e].level]*t[e].CM.w,t[e].content.height=Math.round(Math.max(t[e].rowHeights.cur,t[e].gridheight[t[e].level]*t[e].CM.h));var g=t[e].module.margins.top+t[e].module.margins.bottom+t[e].outNavDims.vertical+t[e].canv.height+t[e].module.paddings.top+t[e].module.paddings.bottom;t[e].drawUpdates.cpar.height=g,t[e].drawUpdates.cpar.width="auto"===t[e].sliderLayout?"auto":t[e].module.width,"auto"===t[e].sliderLayout||"fullscreen"===t[e].sliderLayout&&!0===t[e].disableForceFullWidth||t[e].rsFullWidthWrap===i?"fullscreen"==t[e].sliderLayout&&1==t[e].disableForceFullWidth&&(t[e].drawUpdates.cpar.left=0):t[e].drawUpdates.cpar.left=0-Math.ceil(t[e].rsFullWidthWrap.offset().left-(t[e].outNavDims.left+t[e].block.left)),t[e].sbtimeline.set&&t[e].sbtimeline.fixed?(t[e].sbtimeline.extended===i&&t.updateFixedScrollTimes(e),t[e].forcerHeight=2*g+t[e].sbtimeline.extended):t[e].forcerHeight=g,t[e].forcerHeight!==t[e].caches.setsizeForcerHeight&&t[e].forcer!==i&&(t[e].caches.setsizeForcerHeight=t[e].forcerHeight,d=!0,t[e].redraw.forcer=!0),t[e].drawUpdates.c.width=t[e].canv.width,"auto"===t[e].sliderLayout&&(t[e].drawUpdates.c.left=t[e].outNavDims.left),t[e].drawUpdates.c!==t[e].emptyObject&&JSON.stringify(t[e].drawUpdates.c)!==t[e].caches.setsizeCOBJ&&(t[e].caches.setsizeCOBJ=JSON.stringify(t[e].drawUpdates.c),d=!0,t[e].redraw.c=!0),t[e].drawUpdates.cpar!==t[e].emptyObject&&JSON.stringify(t[e].drawUpdates.cpar)!==t[e].caches.setsizeCPAROBJ&&(t[e].caches.setsizeCPAROBJ=JSON.stringify(t[e].drawUpdates.cpar),d=!0,t[e].redraw.cpar=!0),s&&"auto"===t[e].sliderLayout&&t[e].caches.canWidth!==t[e].canv.width&&(t[e].caches.canWidth=t[e].canv.width,d=!0,t[e].redraw.modalcanvas=!0),t[e].slayers&&t[e].slayers.length>0&&t[e].outNavDims.left!==t[e].caches.outNavDimsLeft&&"fullwidth"!=t[e].sliderLayout&&"fullscreen"!=t[e].sliderLayout&&(t[e].caches.outNavDimsLeft=t[e].outNavDims.left,t[e].redraw.slayers=!0),s&&t[e].modal.calibration!==i&&"middle"===t[e].modal.vertical&&(t[e].modal.calibration.top=t.getWinH(e)0&&(t.loadImages(i,e,2),t.waitForCurrentImages(i,e,function(){}))}},getFullscreenOffsets:function(a){var r=0;if(t[a].fullScreenOffsetContainer!=i){var o=(""+t[a].fullScreenOffsetContainer).split(",");for(var s in o)o.hasOwnProperty(s)&&(r+=e(o[s]).outerHeight(!0)||0)}return t[a].fullScreenOffset!=i&&(!t.isNumeric(t[a].fullScreenOffset)&&t[a].fullScreenOffset.split("%").length>1?r+=t.getWinH(a)*parseInt(t[a].fullScreenOffset,0)/100:t.isNumeric(parseInt(t[a].fullScreenOffset,0))&&(r+=parseInt(t[a].fullScreenOffset,0)||0)),t[a].fullScreenOffsetResult=r,r},unToggleState:function(e){if(e!==i)for(var t=0;t0)for(var a=0;a=0?r.classList.remove("rs-tc-active"):r.classList.add("rs-tc-active"))}},lastToggleState:function(e){var t;if(e!==i)for(var a=0;a=0||t}return t},revCheckIDS:function(a,r){if(t.gA(r,"idcheck")===i){var o=r.id,s=e.inArray(r.id,window.RSANYID),n=-1;-1!==s&&(n=e.inArray(r.id,t[a].anyid),window.RSANYID_sliderID[s]===a&&-1===n||(r.id=r.id+"_"+Math.round(9999*Math.random()),console.log("Warning - ID:"+o+" exists already. New Runtime ID:"+r.id),s=n=-1)),-1===n&&t[a].anyid.push(r.id),-1===s&&(window.RSANYID.push(r.id),window.RSANYID_sliderID.push(a))}return t.sA(r,"idcheck",!0),r.id},buildSpinner:function(t,a,r,o){var s;if("off"!==a){o=o===i?"":o,r=r===i?"#ffffff":r;var n=parseInt(a.replace("spinner",""),10);if(isNaN(n)||n<6){var d='style="background-color:'+r+'"',l=o===i||3!==n&&4!=n?"":d;s=e("
')}else{var c,p='
2&&(c="rgba("+c[0].trim()+", "+c[1].trim()+", "+c[2].trim()+", "),c&&"string"==typeof c&&(p+=' style="border-top-color: '+c+"0.65); border-bottom-color: "+c+"0.15); border-left-color: "+c+"0.65); border-right-color: "+c+'0.15)"');else 12===n&&(p+=' style="background:'+r+'"');p+=">";for(var g=[10,0,4,2,5,9,0,4,4,2][n-6],u=0;u0&&(p+=" "),p+='';s=e(''+(p+="
")+"
")}return s}},addStaticLayerTo:function(e,i,a){if(t[e].slayers.length<2){var r=document.createElement("rs-static-layers");r.className="rs-stl-"+i,r.appendChild(a[0]),t[e].c[0].appendChild(r),t[e].slayers.push(r)}else t[e].slayers[1].appendChild(a[0])}});var a=t.is_mobile(),r=(t.is_android(),function(){return t.isIE11()?function(e,i){return e.querySelectorAll(i)}:function(e,i){return e.getElementsByTagName(i)}}),o=function(e){t[e].responsiveLevels=t.revToResp(t[e].responsiveLevels,t[e].rle),t[e].visibilityLevels=t.revToResp(t[e].visibilityLevels,t[e].rle),t[e].responsiveLevels[0]=9999,t[e].rle=t[e].responsiveLevels.length||1,t[e].gridwidth=t.revToResp(t[e].gridwidth,t[e].rle),t[e].gridheight=t.revToResp(t[e].gridheight,t[e].rle),t[e].editorheight!==i&&(t[e].editorheight=t.revToResp(t[e].editorheight,t[e].rle)),t.updateDims(e)},s=function(i,t){var a=[];return e.each(i,function(e,i){e!=t&&a.push(i)}),a},n=function(i,a,r){t[r].c.find(i).each(function(){var i=e(this);i.data("key")===a&&i.remove()})},d=function(e,a){if(t["rsfont_"+e]==i&&(t["rsfont_"+e]=document.createElement("span"),t["rsfont_"+e].innerHTML=Array(100).join("wi"),t["rsfont_"+e].style.cssText=["position:absolute","width:auto","font-size:128px","left:-99999px"].join(" !important;"),t["rsfont_"+e].style.fontFamily=e,document.body.appendChild(t["rsfont_"+e])),a===i)return t["rsfont_"+e].clientWidth;document.body.removeChild(t["rsfont_"+e])},l=function(i,t){var a=0;return i.find(t).each(function(){var i=e(this);!i.hasClass("tp-forcenotvisible")&&a');else{window._rs_firefox13=!1,window._rs_firefox=t.isFirefox(),window._rs_ie=window._rs_ie===i?!e.support.opacity:window._rs_ie,window._rs_ie9=window._rs_ie9===i?9==document.documentMode:window._rs_ie9;var o=e.fn.jquery.split("."),s=parseFloat(o[0]),n=parseFloat(o[1]);1==s&&n<7&&t[r].c.html('
The Current Version of jQuery:'+o+"
Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin
"),s>1&&(window._rs_ie=!1),t[r].realslideamount=t[r].slideamount=0;var d=t.getByTag(t[r].canvas[0],"RS-SLIDE"),l=[];for(var c in t[r].notInNav=[],t[r].slides=[],d)d.hasOwnProperty(c)&&("on"==t.gA(d[c],"hsom")&&a?l.push(d[c]):(t.gA(d[c],"invisible")||1==t.gA(d[c],"invisible")?t[r].notInNav.push(d[c]):(t[r].slides.push(d[c]),t[r].slideamount++),t[r].realslideamount++,t.sA(d[c],"originalindex",t[r].realslideamount),t.sA(d[c],"origindex",t[r].realslideamount-1)));for(c in l)l.hasOwnProperty(c)&&l[c].remove();for(c in t[r].notInNav)t[r].notInNav.hasOwnProperty(c)&&(t.sA(t[r].notInNav[c],"not_in_nav",!0),t[r].canvas[0].appendChild(t[r].notInNav[c]));if(t[r].canvas.css({visibility:"visible"}),t[r].slayers=t[r].c.find("rs-static-layers"),t[r].slayers.length>0&&t.sA(t[r].slayers[0],"key","staticlayers"),!0===t[r].modal.useAsModal&&(t[r].cpar.wrap(''),t[r].modal.c=e(t.closestNode(t[r].cpar[0],"RS-MODAL")),t[r].modal.c.appendTo(e("body")),t[r].modal!==i&&t[r].modal.alias!==i&&t.revModal(r,{mode:"init"})),1==t[r].waitForInit||1==t[r].modal.useAsModal)return t.RS_toInit!==i&&(t.RS_toInit[r]=!0),t[r].c.trigger("revolution.slide.waitingforinit"),void(t[r].waitingForInit=!0);window.requestAnimationFrame(function(){u(r)}),t[r].initEnded=!0}},p=function(){e("body").data("rs-fullScreenMode",!e("body").data("rs-fullScreenMode")),e("body").data("rs-fullScreenMode")&&setTimeout(function(){t.window.trigger("resize")},200)},g=function(e,a,r){return t.gA(e,"lazyload")!==i?t.gA(e,"lazyload"):t[r].lazyloaddata!==i&&t[r].lazyloaddata.length>0&&t.gA(e,t[r].lazyloaddata)!==i?t.gA(e,t[r].lazyloaddata):t.gA(e,"lazy-src")!==i?t.gA(e,"lazy-src"):t.gA(e,"lazy-wpfc-original-src")!==i?t.gA(e,"lazy-wpfc-original-src"):t.gA(e,"lazy")!==i?t.gA(e,"lazy"):a},u=function(r){if(t[r]!==i){if(t[r].sliderisrunning=!0,!0!==t[r].noDetach&&t[r].c.detach(),t[r].shuffle){for(var o=t[r].canvas.find("rs-slide:first-child"),s=t.gA(o[0],"firstanim"),n=0;n0&&tpGS.gsap.set(u,{borderRadius:l+"px"}),t.gA(u,"link")!=i||t.gA(u,"linktoslide")!==i){var b=t.gA(u,"link")!==i?t.gA(u,"link"):"slide",w="slide"!=b?"no":t.gA(u,"linktoslide"),_=t.gA(u,"seoz");if(w!=i&&"no"!=w&&"next"!=w&&"prev"!=w)for(var x in t[r].slides)t[r].slides.hasOwnProperty(x)&&parseInt(t.gA(t[r].slides[x],"origindex"),0)+1==t.gA(u,"linktoslide")&&(w=t.gA(t[r].slides[x],"key"));e(u).prepend('"+(a?"":"")+"")}d++}if(t[r].simplifyAll&&(t.isIE(8)||t.iOSVersion())&&(t[r].c.find(".rs-layer").each(function(){var i=e(this);i.removeClass("customin customout").addClass("fadein fadeout"),i.data("splitin",""),i.data("speed",400)}),t[r].c.find("rs-slide").each(function(){var i=e(this);i.data("transition","fade"),i.data("masterspeed",500),i.data("slotamount",1),(i.find(".rev-slidebg")||i.find(">img").first()).data("panzoom",null)})),window._rs_desktop=window._rs_desktop===i?!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i):window._rs_desktop,t[r].autoHeight="fullscreen"==t[r].sliderLayout||t[r].autoHeight,"fullwidth"!=t[r].sliderLayout||t[r].autoHeight||t[r].c.css({maxHeight:t[r].gridheight[t[r].level]+"px"}),"auto"==t[r].sliderLayout||null!==t.closestNode(t[r].c[0],"RS-FULLWIDTH-WRAP")||"fullscreen"===t[r].sliderLayout&&1==t[r].disableForceFullWidth)t[r].topc=t[r].cpar;else{var S=t[r].cpar[0].style.marginTop,k=t[r].cpar[0].style.marginBottom;S=S===i||""===S?"":"margin-top:"+S+";",k=k===i||""===k?"":"margin-bottom:"+k+";",t[r].rsFullWidthWrap=t[r].topc=e(''),t[r].forcer=e(''),t[r].topc.append(t[r].forcer),t[r].topc.insertBefore(t[r].cpar),t[r].cpar.detach(),t[r].cpar.css({marginTop:"0px",marginBottom:"0px",position:"absolute"}),t[r].cpar.prependTo(t[r].topc)}if(t[r].forceOverflow&&t[r].topc[0].classList.add("rs-forceoverflow"),"carousel"===t[r].sliderType&&!0!==t[r].overflowHidden&&t[r].c.css({overflow:"visible"}),0!==t[r].maxHeight&&tpGS.gsap.set([t[r].cpar,t[r].c,t[r].topc],{maxHeight:t[r].maxHeight+"px"}),t[r].fixedOnTop&&tpGS.gsap.set(t[r].blockSpacing!==i&&t[r].blockSpacing.block!==i?t[r].blockSpacing.block:t[r].topc,{position:"fixed",top:"0px",left:"0px",pointerEvents:"none",zIndex:5e3}),t[r].shadow!==i&&t[r].shadow>0&&t[r].cpar.addClass("tp-shadow"+t[r].shadow).append('
'),t.updateDims(r,"prepared"),t.observeWraps===i&&(t.observeWraps=new t.wrapObserver.init(function(e,t){m(t,i,!0)})),!t[r].c.hasClass("revslider-initialised")){t[r].c[0].classList.add("revslider-initialised"),t[r].c[0].id=t[r].c[0].id===i?"revslider-"+Math.round(1e3*Math.random()+5):t[r].c[0].id,t.revCheckIDS(r,t[r].c[0]),t[r].origcd=parseInt(t[r].duration,0),t[r].scrolleffect._L=[],t[r].sbas=t[r].sbas===i?{}:t[r].sbas,t[r].layers=t[r].layers||{},t[r].sortedLayers=t[r].sortedLayers||{};var L=t[r].c[0].querySelectorAll("rs-layer, rs-row, rs-column, rs-group, rs-bgvideo, .rs-layer");for(var R in L)if(L.hasOwnProperty(R)){var I,O,T=e(L[R]),C=T.data();if(C.startclasses=L[R].className,C.startclasses=C.startclasses===i||null===C.startclasses?"":C.startclasses,C.animationonscroll=!!t[r].sbtimeline.set&&t[r].sbtimeline.layers,C.animationonscroll=!0===C.animationonscroll||"true"==C.animationonscroll,C.filteronscroll=!!t[r].scrolleffect.set&&t[r].scrolleffect.layers,C.pxundermask=C.startclasses.indexOf("rs-pxmask")>=0&&"off"!==t[r].parallax.type&&C.startclasses.indexOf("rs-pxl-")>=0,C.noPevents=C.startclasses.indexOf("rs-noevents")>=0,C.sba)for(var y in I=C.sba.split(";"))I.hasOwnProperty(y)&&("t"==(O=I[y].split(":"))[0]&&(C.animationonscroll=O[1],"false"==O[1]&&(C.animOnScrollForceDisable=!0)),"e"==O[0]&&(C.filteronscroll=O[1]),"so"==O[0]&&(C.scrollBasedOffset=parseInt(O[1])/1e3));if("true"!=C.animationonscroll&&1!=C.animationonscroll||(C.startclasses+=" rs-sba",T[0].className+=" rs-sba"),C.startclasses.indexOf("rs-layer-static")>=0&&t.handleStaticLayers&&t.handleStaticLayers(T,r),"RS-BGVIDEO"!==T[0].tagName){if(T[0].classList.add("rs-layer"),"column"===C.type&&(C.columnwidth="33.33%",C.verticalalign="top",C.column!==i))for(var A in I=C.column.split(";"))I.hasOwnProperty(A)&&("w"===(O=I[A].split(":"))[0]&&(C.columnwidth=O[1]),"a"===O[0]&&(C.verticalalign=O[1]));var M=C.startclasses.indexOf("slidelink")>=0?"z-index:"+C.zindex+";width:100% !important;height:100% !important;":"",P="column"!==C.type?"":C.verticalalign===i?" vertical-align:top;":" vertical-align:"+C.verticalalign+";",B="row"===C.type||"column"===C.type?"position:relative;":"position:absolute;",D="",H="row"===C.type?"rs-row-wrap":"column"===C.type?"rs-column-wrap":"group"===C.type?"rs-group-wrap":"rs-layer-wrap",N="",j="",F=(C.noPevents,";pointer-events:none");"row"===C.type||"column"===C.type||"group"===C.type?(T[0].classList.remove("tp-resizeme"),"column"===C.type&&(C.width="auto",T[0].group="row",tpGS.gsap.set(T,{width:"auto"}),C.filteronscroll=!1)):(N="display:"+("inline-block"===T[0].style.display?"inline-block":"block")+";",null!==t.closestNode(T[0],"RS-COLUMN")?(T[0].group="column",C.filteronscroll=!1):null!==t.closestNode(T[0],"RS-GROUP-WRAP")&&(T[0].group="group",C.filteronscroll=!1)),C.wrpcls!==i&&(D=D+" "+C.wrpcls),C.wrpid!==i&&(j='id="'+C.wrpid+'"'),T.wrap("<"+H+" "+j+' class="rs-parallax-wrap '+D+'" style="'+P+" "+M+B+N+F+'">'+(C.pxundermask?"":"")+""),!0!==C.filteronscroll&&"true"!=C.filteronscroll||t[r].scrolleffect._L.push(T.parent()),T[0].id=T[0].id===i?"layer-"+Math.round(999999999*Math.random()):T[0].id,t.revCheckIDS(r,T[0]),C.pxundermask?t[r]._Lshortcuts[T[0].id]={p:e(T[0].parentNode.parentNode.parentNode.parentNode),lp:e(T[0].parentNode.parentNode.parentNode),m:e(T[0].parentNode.parentNode)}:t[r]._Lshortcuts[T[0].id]={p:e(T[0].parentNode.parentNode.parentNode),lp:e(T[0].parentNode.parentNode),m:e(T[0].parentNode)},"column"===C.type&&t[r]._Lshortcuts[T[0].id].p.append(''),"text"===C.type&&t.getByTag(T[0],"IFRAME").length>0&&(t[r].slideHasIframe=!0,T[0].classList.add("rs-ii-o")),t[r].BUG_safari_clipPath&&"true"!=C.animationonscroll&&1!=C.animationonscroll&&T[0].classList.add("rs-pelock"),T[0].dataset.staticz!==i&&"row"!==C.type&&"row"!==T[0].group&&"column"!==T[0].group&&t.addStaticLayerTo(r,T[0].dataset.staticz,t[r]._Lshortcuts[T[0].id].p)}t.gA(T[0],"actions")&&t.checkActions&&t.checkActions(T,r,t[r]),!t.checkVideoApis||window.rs_addedvim&&window.rs_addedyt||t[r].youtubeapineeded&&t[r].vimeoapineeded||t.checkVideoApis(T,r)}t.checkActions&&t.checkActions(i,r),t[r].c[0].addEventListener("mousedown",function(){if(!0!==t[r].onceClicked&&(t[r].onceClicked=!0,!0!==t[r].onceVideoPlayed&&t[r].activeRSSlide!==i&&t[r].slides!==i&&t[r].slides[t[r].activeRSSlide]!==i)){var a=e(t[r].slides[t[r].activeRSSlide]).find("rs-bgvideo");a!==i&&null!==a&&a.length>0&&t.playVideo(a,r)}}),t[r].c[0].addEventListener("mouseenter",function(){t[r].c.trigger("tp-mouseenter"),t[r].overcontainer=!0},{passive:!0}),t[r].c[0].addEventListener("mouseover",function(){t[r].c.trigger("tp-mouseover"),t[r].overcontainer=!0},{passive:!0}),t[r].c[0].addEventListener("mouseleave",function(){t[r].c.trigger("tp-mouseleft"),t[r].overcontainer=!1},{passive:!0}),t[r].c.find(".rs-layer video").each(function(i){var t=e(this);t.removeClass("video-js vjs-default-skin"),t.attr("preload",""),t.css({display:"none"})}),t[r].rs_static_layer=t.getByTag(t[r].c[0],"RS-STATIC-LAYERS"),t.preLoadAudio&&t[r].rs_static_layer.length>0&&t.preLoadAudio(e(t[r].rs_static_layer),r,1),t[r].rs_static_layer.length>0&&(t.loadImages(t[r].rs_static_layer[0],r,0,!0),t.waitForCurrentImages(t[r].rs_static_layer[0],r,function(){t[r]!==i&&t[r].c.find("rs-static-layers img").each(function(){this.src=t.getLoadObj(r,t.gA(this,"src")!=i?t.gA(this,"src"):this.src).src})})),t[r].rowzones=[],t[r].rowzonesHeights=[],t[r].middleZones=[];let a=t.deepLink(r,G("#")[0]);a!==i&&(t[r].startWithSlide=a,t[r].deepLinkListener=!0,window.addEventListener("hashchange",function(){if(!0!==t[r].ignoreDeeplinkChange){let e=t.deepLink(r,G("#")[0]);e!==i&&t.callingNewSlide(r,e,!0)}t[r].ignoreDeeplinkChange=!1})),t[r].loader=t.buildSpinner(r,t[r].spinner,t[r].spinnerclr),t[r].loaderVisible=!0,t[r].c.append(t[r].loader),f(r),("off"!==t[r].parallax.type||t[r].scrolleffect.set||t[r].sbtimeline.set)&&t.checkForParallax&&t.checkForParallax(r),t[r].fallbacks.disableFocusListener||"true"==t[r].fallbacks.disableFocusListener||!0===t[r].fallbacks.disableFocusListener||(t[r].c.addClass("rev_redraw_on_blurfocus"),z());var W=t[r].viewPort;for(var y in"on"===t[r].navigation.mouseScrollNavigation&&(W.enable=!0),t[r].slides)if(t[r].slides.hasOwnProperty(y)){var V=e(t[r].slides[y]);t[r].rowzones[y]=[],t[r].rowzonesHeights[y]=[],t[r].middleZones[y]=[],V.find("rs-zone").each(function(){t[r].rowzones[y].push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&t[r].middleZones[y].push(this)}),(W.enable&&t[r].inviewport||!W.enable)&&"all"==t[r].lazyType&&(t.loadImages(V[0],r,y),t.waitForCurrentImages(V[0],r,function(){}))}t[r].srowzones=[],t[r].smiddleZones=[],t[r].slayers&&t[r].slayers.find("rs-zone").each(function(){t[r].srowzones.push(e(this)),this.className.indexOf("rev_row_zone_middle")>=0&&t[r].smiddleZones.push(this)}),"carousel"===t[r].sliderType&&tpGS.gsap.set(t[r].canvas,{scale:1,perspective:1200,transformStyle:"flat",opacity:0}),t[r].c.prependTo(t[r].cpar),e("body").data("rs-fullScreenMode",!1),window.addEventListener("fullscreenchange",p,{passive:!0}),window.addEventListener("mozfullscreenchange",p,{passive:!0}),window.addEventListener("webkitfullscreenchange",p,{passive:!0}),t.document.on("updateContainerSizes."+t[r].c.attr("id"),function(){if(t[r]!==i)return t[r].c!=i&&void(t.updateDims(r,"ignore")&&window.requestAnimationFrame(function(){t.updateDims(r,"ignore"),t[r].fullScreenMode=t.checkfullscreenEnabled(r),t.lastwindowheight=t.getWinH(r),m(r)}))}),W.presize&&(t[r].pr_next_slide=e(t[r].slides[0]),t.loadImages(t[r].pr_next_slide[0],r,0,!0),t.waitForCurrentImages(t[r].pr_next_slide.find(".tp-layers"),r,function(){t.animateTheLayers&&t.animateTheLayers({slide:t[r].pr_next_key,id:r,mode:"preset",caller:"runSlider"})})),("off"!=t[r].parallax.type||t[r].sbtimeline.set||!0===W.enable)&&t.scrollTicker(r),!0!==W.enable&&(t[r].inviewport=!0,t.enterViewPort(r)),t.RS_toInit!==i&&(t.RS_toInit[r]=!0),t[r].observeWrap&&t.observeWraps&&t.wrapObserver.observe(t[r].rsFullWidthWrap!==i?t[r].rsFullWidthWrap[0]:t[r].cpar[0],r)}}},h=function(e,a){t.winW'),t[a].cpar.prepend("").append(""),t.defineCarouselElements(a)}t[a].startWithSlide=t[a].startWithSlide===i?i:Math.max(1,(t[a].sliderType,parseInt(t[a].startWithSlide))),t[a].cpar.css({overflow:"visible"}),t[a].scrolleffect.bgs=[];for(var s=0;simg"),c=t[a].sbgs[d]=y(l.data(),a),p=n.data("mediafilter");if(c.skeyindex=t.getSlideIndex(a,d),c.bgvid=n.find("rs-bgvideo"),l.detach(),c.bgvid.detach(),(t[a].startWithSlide!=i&&t.gA(t[a].slides[s],"originalindex")==t[a].startWithSlide||t[a].startWithSlide===i&&0==s)&&(t[a].pr_next_key=n.index()),tpGS.gsap.set(n,{width:"100%",height:"100%",overflow:r}),l.wrap(''),c.wrap=e(t.closestNode(l[0],"RS-SBG-WRAP")),c.src=l[0].src,c.lazyload=c.lazyload=g(l[0],i,a),c.slidebgimage=!0,c.loadobj=c.loadobj===i?{}:c.loadobj,c.mediafilter=p="none"===p||p===i?"":p,c.sbg=document.createElement("rs-sbg"),t[a].overlay!==i&&"none"!=t[a].overlay.type&&t[a].overlay.type!=i){var u=t.createOverlay(a,t[a].overlay.type,t[a].overlay.size,{0:t[a].overlay.colora,1:t[a].overlay.colorb});c.wrap.append('')}l.data("mediafilter",p),c.canvas=document.createElement("canvas"),c.sbg.appendChild(c.canvas),c.canvas.style.width="100%",c.canvas.style.height="100%",c.ctx=c.canvas.getContext("2d"),c.lazyload!==i&&(c.sbg.dataset.lazyload=c.lazyload),c.sbg.className=p,c.sbg.src=c.src,c.sbg.dataset.bgcolor=c.bgcolor,c.sbg.style.width="100%",c.sbg.style.height="100%",c.key=d,c.wrap[0].dataset.key=d,e(c.sbg).data(c),c.wrap.data(c),c.wrap[0].appendChild(c.sbg);var h=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+l.get(0).outerHTML);l.replaceWith(h),t.gA(n[0],"sba")===i&&t.sA(n[0],"sba","");var m={},v=t.gA(n[0],"sba").split(";");for(var f in v)if(v.hasOwnProperty(f)){var b=v[f].split(":");switch(b[0]){case"f":m.f=b[1];break;case"b":m.b=b[1];break;case"g":m.g=b[1];break;case"t":m.s=b[1]}}t.sA(n[0],"scroll-based",!!t[a].sbtimeline.set&&(m.s!==i&&m.s)),c.bgvid.length>0&&(c.bgvidid=c.bgvid[0].id,c.animateDirection="idle",c.bgvid.addClass("defaultvid").css({zIndex:30}),p!==i&&""!==p&&"none"!==p&&c.bgvid.addClass(p),c.bgvid.appendTo(c.wrap),c.parallax!=i&&(c.bgvid.data("parallax",c.parallax),c.bgvid.data("showcoveronpause","on"),c.bgvid.data("mediafilter",p)),c.poster=!1,(c.src!==i&&-1==c.src.indexOf("assets/dummy.png")&&-1==c.src.indexOf("assets/transparent.png")||c.lazyload!==i&&-1==c.lazyload.indexOf("assets/transparent.png")&&-1==c.lazyload.indexOf("assets/dummy.png"))&&(c.poster=!0),c.bgvid.data("bgvideo",1),c.bgvid[0].dataset.key=d,t.manageVideoLayer(c.bgvid,a,d),0==c.bgvid.find(".rs-fullvideo-cover").length&&c.bgvid.append('
')),t[a].scrolleffect.set?(t[a].scrolleffect.bgs.push({fade:m.f!==i?m.f:!!t[a].scrolleffect.slide&&t[a].scrolleffect.fade,blur:m.b!==i?m.b:!!t[a].scrolleffect.slide&&t[a].scrolleffect.blur,grayscale:m.g!==i?m.g:!!t[a].scrolleffect.slide&&t[a].scrolleffect.grayscale,c:c.wrap.wrap("").parent()}),n.prepend(c.wrap.parent().parent())):n.prepend(c.wrap.parent())}"carousel"===t[a].sliderType?(tpGS.gsap.set(t[a].carousel.wrap,{opacity:0}),t[a].c[0].appendChild(t[a].carousel.wrap[0])):t[a].c[0].appendChild(t[a].canvas[0])},y=function(r,o){r.bg=r.bg===i?"":r.bg;var s=r.bg.split(";"),n={bgposition:"50% 50%",bgfit:"cover",bgrepeat:"no-repeat",bgcolor:"transparent"};for(var d in s)if(s.hasOwnProperty(d)){var l=s[d].split(":"),c=l[0],p=l[1],g="";switch(c){case"p":g="bgposition";break;case"f":g="bgfit";break;case"r":g="bgrepeat";break;case"c":g="bgcolor"}g!==i&&(n[g]=p)}return t[o].fallbacks.panZoomDisableOnMobile&&a&&(n.panzoom=i,n.bgfit="cover"),e.extend(!0,r,n)},b=function(e){var t=e;return e!=i&&e.length>0&&(t=e.split("?")[0]),t},w=function(e){var t=e;return e!=i&&e.length>0&&(t=t.replace(document.location.protocol,"")),t},_=function(e,i){var t=e.split("/"),a=i.split("/");t.pop();for(var r=0;r5e3&&1!=t[a][i+"warning"]){t[a][i+"warning"]=!0;var r=i+" Api Could not be loaded !";"https:"===location.protocol&&(r+=" Please Check and Renew SSL Certificate !"),console.error(r),t[a].c.append('
'+r+"
")}return!0},R=function(a){t[a]!==i&&(t[a].pr_active_slide=e(t[a].slides[t[a].pr_active_key]),t[a].pr_next_slide=e(t[a].slides[t[a].pr_processing_key]),t[a].pr_active_bg=t[a].pr_active_slide.find("rs-sbg-wrap"),t[a].pr_next_bg=t[a].pr_next_slide.find("rs-sbg-wrap"),t[a].pr_active_bg!==i&&t[a].pr_active_bg.length>0&&tpGS.gsap.to(t[a].pr_active_bg,.5,{opacity:0}),t[a].pr_next_bg!==i&&t[a].pr_next_bg.length>0&&tpGS.gsap.to(t[a].pr_next_bg,.5,{opacity:0}),tpGS.gsap.set(t[a].pr_active_slide,{zIndex:18}),t[a].pr_next_slide!==i&&t[a].pr_next_slide.length>0&&tpGS.gsap.set(t[a].pr_next_slide,{autoAlpha:0,zIndex:20}),t[a].tonpause=!1,t[a].pr_active_key!==i&&t.removeTheLayers(t[a].pr_active_slide,a,!0),t[a].firststart=1,setTimeout(function(){delete t[a].pr_active_key,delete t[a].pr_processing_key},200))},I=function(a,r){if(t[a]!==i)if(clearTimeout(t[a].waitWithSwapSlide),t[a].pr_processing_key===i||!0!==t[a].firstSlideShown){if(clearTimeout(t[a].waitWithSwapSlide),t[a].startWithSlideKey!==i&&(t[a].pr_next_key=t.getComingSlide(a,t[a].startWithSlideKey).nindex,delete t[a].startWithSlideKey),t[a].pr_active_slide=e(t[a].slides[t[a].pr_active_key]),t[a].pr_next_slide=e(t[a].slides[t[a].pr_next_key]),t[a].pr_next_key==t[a].pr_active_key)return delete t[a].pr_next_key;t[a].pr_processing_key=t[a].pr_next_key,t[a].pr_cache_pr_next_key=t[a].pr_next_key,delete t[a].pr_next_key,t[a].pr_next_slide!==i&&t[a].pr_next_slide[0]!==i&&t.gA(t[a].pr_next_slide[0],"hal")!==i&&t.sA(t[a].pr_next_slide[0],"sofacounter",t.gA(t[a].pr_next_slide[0],"sofacounter")===i?1:parseInt(t.gA(t[a].pr_next_slide[0],"sofacounter"),0)+1),t[a].stopLoop&&t[a].pr_processing_key==t[a].lastslidetoshow-1&&(t[a].progressC.css({visibility:"hidden"}),t[a].c.trigger("revolution.slide.onstop"),t[a].noloopanymore=1),t[a].pr_next_slide.index()===t[a].slideamount-1&&t[a].looptogo>0&&"disabled"!==t[a].looptogo&&(t[a].looptogo--,t[a].looptogo<=0&&(t[a].stopLoop=!0)),t[a].tonpause=!0,t[a].slideInSwapTimer=!0,t[a].c.trigger("stoptimer"),"off"===t[a].spinner?t[a].loader!==i&&!0===t[a].loaderVisible&&(t[a].loader.css({display:"none"}),t[a].loaderVisible=!1):t[a].loadertimer=setTimeout(function(){t[a].loader!==i&&!0!==t[a].loaderVisible&&(t[a].loader.css({display:"block"}),t[a].loaderVisible=!0)},50);var o="carousel"===t[a].sliderType&&"all"!==t[a].lazyType?t.loadVisibleCarouselItems(a):t[a].pr_next_slide[0];t.loadImages(o,a,1),t.preLoadAudio&&t.preLoadAudio(t[a].pr_next_slide,a,1),t.waitForCurrentImages(o,a,function(){t[a].firstSlideShown=!0,t[a].pr_next_slide.find("rs-bgvideo").each(function(){t.prepareCoveredVideo(a)}),t.loadUpcomingContent(a),window.requestAnimationFrame(function(){O(t[a].pr_next_slide.find("rs-sbg"),a,r)})})}else t[a].waitWithSwapSlide=setTimeout(function(){I(a,r)},18)},O=function(a,r,o){if(t[r]!==i){if(C(r),t[r].pr_active_slide=e(t[r].slides[t[r].pr_active_key]),t[r].pr_next_slide=e(t[r].slides[t[r].pr_processing_key]),t[r].pr_active_bg=t[r].pr_active_slide.find("rs-sbg-wrap"),t[r].pr_next_bg=t[r].pr_next_slide.find("rs-sbg-wrap"),t[r].tonpause=!1,clearTimeout(t[r].loadertimer),t[r].loader!==i&&!0===t[r].loaderVisible&&(window.requestAnimationFrame(function(){t[r].loader.css({display:"none"})}),t[r].loaderVisible=!1),t[r].onBeforeSwap={slider:r,slideIndex:parseInt(t[r].pr_active_key,0)+1,slideLIIndex:t[r].pr_active_key,nextSlideIndex:parseInt(t[r].pr_processing_key,0)+1,nextSlideLIIndex:t[r].pr_processing_key,nextslide:t[r].pr_next_slide,slide:t[r].pr_active_slide,currentslide:t[r].pr_active_slide,prevslide:t[r].pr_lastshown_key!==i?t[r].slides[t[r].pr_lastshown_key]:""},t[r].c.trigger("revolution.slide.onbeforeswap",t[r].onBeforeSwap),t[r].transition=1,t[r].stopByVideo=!1,t[r].pr_next_slide[0]!==i&&t.gA(t[r].pr_next_slide[0],"duration")!=i&&""!=t.gA(t[r].pr_next_slide[0],"duration")?t[r].duration=parseInt(t.gA(t[r].pr_next_slide[0],"duration"),0):t[r].duration=t[r].origcd,t[r].pr_next_slide[0]===i||"true"!=t.gA(t[r].pr_next_slide[0],"ssop")&&!0!==t.gA(t[r].pr_next_slide[0],"ssop")?t[r].ssop=!1:t[r].ssop=!0,t[r].sbtimeline.set&&t[r].sbtimeline.fixed&&t.updateFixedScrollTimes(r),t[r].c.trigger("nulltimer"),t[r].sdir=t[r].pr_processing_key0&&t.SLTR));t[r].sbgs[s].slideanimation=t[r].firstSlideAnimDone===i&&t[r].fanim!==i&&!1!==t[r].fanim?t.convertSlideAnimVals(e.extend(!0,{},t.getSlideAnim_EmptyObject(),t[r].fanim)):t[r].sbgs[s].slideanimation===i||t[r].sbgs[s].slideanimationRebuild?t.getSlideAnimationObj(r,{anim:t.gA(t[r].pr_next_slide[0],"anim"),filter:t.gA(t[r].pr_next_slide[0],"filter"),in:t.gA(t[r].pr_next_slide[0],"in"),out:t.gA(t[r].pr_next_slide[0],"out"),d3:t.gA(t[r].pr_next_slide[0],"d3")},s):t[r].sbgs[s].random!==i&&t.SLTR!==i?t.convertSlideAnimVals(e.extend(!0,{},t.getSlideAnim_EmptyObject(),t.getAnimObjectByKey(t.getRandomSlideTrans(t[r].sbgs[s].random.rndmain,t[r].sbgs[s].random.rndgrp,t.SLTR),t.SLTR))):t[r].sbgs[s].altLen>0&&t.SLTR!==i?t.convertSlideAnimVals(e.extend(!0,{altAnim:t[r].sbgs[s].alt[t[r].sbgs[s].altIndex]},t.getSlideAnim_EmptyObject(),t.getAnimObjectByKey(t[r].sbgs[s].alt[t[r].sbgs[s].altIndex],t.SLTR))):t[r].sbgs[s].slideanimation,t[r].sbgs[s].altLen>0&&(t[r].sbgs[s].firstSlideAnimDone!==i?(t[r].sbgs[s].altIndex++,t[r].sbgs[s].altIndex=t[r].sbgs[s].altIndex>=t[r].sbgs[s].altLen?0:t[r].sbgs[s].altIndex):(t[r].sbgs[s].firstSlideAnimDone=!0,t.SLTR===i&&t.SLTR_loading===i&&t.loadSlideAnimLibrary(r))),t[r].sbgs[s].currentState="animating",t.animateSlide(r,t[r].sbgs[s].slideanimation),t[r].firstSlideAnimDone===i&&t[r].fanim!==i&&!1!==t[r].fanim&&(t[r].sbgs[s].slideanimationRebuild=!0),t[r].firstSlideAnimDone=!0,t[r].pr_next_bg.data("panzoom")!==i&&requestAnimationFrame(function(){var e=t.gA(t[r].pr_next_slide[0],"key");t.startPanZoom(t[r].pr_next_bg,r,0,t.getSlideIndex(r,e),"first",e)}),t[r].mtl.pause()}t.animateTheLayers?"carousel"===t[r].sliderType?(!1!==t[r].carousel.showLayersAllTime&&(t[r].carousel.allLayersStarted?t.animateTheLayers({slide:"individual",id:r,mode:"rebuild",caller:"swapSlideProgress_5"}):t.animateTheLayers({slide:"individual",id:r,mode:"start",caller:"swapSlideProgress_4"}),t[r].carousel.allLayersStarted=!0),0!==t[r].firststart?t.animateTheLayers({slide:0,id:r,mode:"start",caller:"swapSlideProgress_6"}):!0!==o&&t.animateTheLayers({slide:t[r].pr_next_key!==i?t[r].pr_next_key:t[r].pr_processing_key!==i?t[r].pr_processing_key:t[r].pr_active_key,id:r,mode:"start",caller:"swapSlideProgress_7"}),t[r].firststart=0):t.animateTheLayers({slide:t[r].pr_next_key!==i?t[r].pr_next_key:t[r].pr_processing_key!==i?t[r].pr_processing_key:t[r].pr_active_key,id:r,mode:"start",caller:"swapSlideProgress_8"}):t[r].mtl!=i&&setTimeout(function(){t[r].mtl.resume()},18),"carousel"!==t[r].sliderType&&tpGS.gsap.to(t[r].pr_next_slide,.001,{autoAlpha:1})}},T=function(r){if(t[r]!==i){if("done"!==t.RS_swapList[r]){t.RS_swapList[r]="done";var o=e.inArray(r,t.RS_swapping);t.RS_swapping.splice(o,1)}if(t[r].firstSlideAvailable===i&&(t[r].firstSlideAvailable=!0,window.requestAnimationFrame(function(){"hero"!==t[r].sliderType&&t.createNavigation&&t[r].navigation.use&&!0!==t[r].navigation.createNavigationDone&&t.createNavigation(r)})),"carousel"===t[r].sliderType&&tpGS.gsap.to(t[r].carousel.wrap,1,{opacity:1}),t[r].pr_active_key=t[r].pr_processing_key!==i?t[r].pr_processing_key:t[r].pr_active_key,delete t[r].pr_processing_key,"scroll"!=t[r].parallax.type&&"scroll+mouse"!=t[r].parallax.type&&"mouse+scroll"!=t[r].parallax.type||(t[r].lastscrolltop=-999,t.generalObserver(a)),t[r].mtldiff=t[r].mtl.time(),delete t[r].mtl,t[r].pr_active_key!==i){t.gA(t[r].slides[t[r].pr_active_key],"sloop")!==i&&function(e){if(t[e]!==i){t[e].sloops=t[e].sloops===i?{}:t[e].sloops;var a=t.gA(t[e].slides[t[e].pr_active_key],"key"),r=t[e].sloops[a];if(r===i){r={s:2500,e:4500,r:"unlimited"};var o=t.gA(t[e].slides[t[e].pr_active_key],"sloop").split(";");for(var s in o)if(o.hasOwnProperty(s)){var n=o[s].split(":");switch(n[0]){case"s":r.s=parseInt(n[1],0)/1e3;break;case"e":r.e=parseInt(n[1],0)/1e3;break;case"r":r.r=n[1]}}r.r="unlimited"===r.r?-1:parseInt(r.r,0),t[e].sloops[a]=r,r.key=a}r.ct={time:r.s},r.tl=tpGS.gsap.timeline({}),r.timer=tpGS.gsap.fromTo(r.ct,r.e-r.s,{time:r.s},{time:r.e,ease:"none",onRepeat:function(){for(var a in t[e].layers[r.key])t[e].layers[r.key].hasOwnProperty(a)&&t[e]._L[a].timeline.play(r.s);var o=t[e].progressC;o!==i&&o[0]!==i&&o[0].tween!==i&&o[0].tween.time(r.s)},onUpdate:function(){},onComplete:function(){}}).repeat(r.r),r.tl.add(r.timer,r.s),r.tl.time(t[e].mtldiff)}}(r),t.sA(t[r].slides[t[r].activeRSSlide],"isactiveslide",!1),t[r].activeRSSlide=t[r].pr_active_key,t.sA(t[r].slides[t[r].activeRSSlide],"isactiveslide",!0);var s=t.gA(t[r].slides[t[r].pr_active_key],"key"),n=t.gA(t[r].slides[t[r].pr_lastshown_key],"key");t.sA(t[r].c[0],"slideactive",s),n!==i&&t[r].panzoomTLs!==i&&t[r].panzoomTLs[t.getSlideIndex(r,n)]!==i&&("carousel"===t[r].sliderType?(t[r].panzoomTLs[t.getSlideIndex(r,n)].timeScale(3),t[r].panzoomTLs[t.getSlideIndex(r,n)].reverse()):t[r].panzoomTLs[t.getSlideIndex(r,n)].pause()),t[r].pr_next_bg.data("panzoom")!==i&&(t[r].panzoomTLs!==i&&t[r].panzoomTLs[t.getSlideIndex(r,s)]!==i?(t[r].panzoomTLs[t.getSlideIndex(r,s)].timeScale(1),t[r].panzoomTLs[t.getSlideIndex(r,s)].play()):t.startPanZoom(t[r].pr_next_bg,r,0,t.getSlideIndex(r,s),"play",s));var d={slider:r,slideIndex:parseInt(t[r].pr_active_key,0)+1,slideLIIndex:t[r].pr_active_key,slide:t[r].pr_next_slide,currentslide:t[r].pr_next_slide,prevSlideIndex:t[r].pr_lastshown_key!==i&&parseInt(t[r].pr_lastshown_key,0)+1,prevSlideLIIndex:t[r].pr_lastshown_key!==i&&parseInt(t[r].pr_lastshown_key,0),prevSlide:t[r].pr_lastshown_key!==i&&t[r].slides[t[r].pr_lastshown_key]};if(t[r].c.trigger("revolution.slide.onchange",d),t[r].c.trigger("revolution.slide.onafterswap",d),t[r].deepLinkListener||t[r].enableDeeplinkHash){let e=t.gA(t[r].slides[t[r].pr_active_key],"deeplink");e!==i&&e.length>0&&(t[r].ignoreDeeplinkChange=!0,window.location.hash=t.gA(t[r].slides[t[r].pr_active_key],"deeplink"))}t[r].pr_lastshown_key=t[r].pr_active_key,t[r].startWithSlide!==i&&"done"!==t[r].startWithSlide&&"carousel"===t[r].sliderType&&(t[r].firststart=0),t[r].duringslidechange=!1,t[r].pr_active_slide.length>0&&0!=t.gA(t[r].pr_active_slide[0],"hal")&&t.gA(t[r].pr_active_slide[0],"hal")<=t.gA(t[r].pr_active_slide[0],"sofacounter")&&t[r].c.revremoveslide(t[r].pr_active_slide.index());var l=t[r].pr_processing_key||t[r].pr_active_key||0;t[r].rowzones!=i&&(l=l>t[r].rowzones.length?t[r].rowzones.length:l),(t[r].rowzones!=i&&t[r].rowzones.length>0&&t[r].rowzones[l]!=i&&l>=0&&l<=t[r].rowzones.length&&t[r].rowzones[l].length>0||t.winH'),"horizontal"===r.style||"vertical"===r.style){if("module"===r.basedon){for(var o="",s=0;s";o+="";for(s=0;s";if(o+="","nogap"!==r.gaptype)for(s=0;s";t[a].progressC[0].innerHTML=o,!0===t[a].noDetach&&t[a].c.append(t[a].progressC),t[a].progressCBarBGS=t.getByTag(t[a].progressC[0],"RS-PROGRESS-BG"),t[a].progressCBarGAPS=t.getByTag(t[a].progressC[0],"RS-PROGRESS-GAP"),"nogap"!==r.gaptype&&tpGS.gsap.set(t[a].progressCBarGAPS,{backgroundColor:r.gapcolor,zIndex:"gapbg"===r.gaptype?17:27}),tpGS.gsap.set(t[a].progressCBarBGS,{backgroundColor:r.bgcolor})}else t[a].progressC[0].innerHTML="",!0===t[a].noDetach&&t[a].c.append(t[a].progressC);t[a].progressCBarInner=t.getByTag(t[a].progressC[0],"RS-PROGRESS-BAR"),tpGS.gsap.set(t[a].progressCBarInner,{background:r.color})}else t[a].progressC[0].innerHTML='',!0===t[a].noDetach&&t[a].c.append(t[a].progressC),t[a].progressCBarInner=t[a].progressC[0].getElementsByClassName("rs-progress-bar")[0],t[a].progressBCanvas=t[a].progressCBarInner.getContext("2d"),t[a].progressBar.degree="cw"===t[a].progressBar.style?360:0,A(a);if(!0!==t[a].noDetach&&t[a].progressC.detach(),t[a].progressBar.visibility[t[a].level]&&1!=t[a].progressBar.disableProgressBar)if("horizontal"===r.style||"vertical"===r.style){var n,d,l=t[a].slideamount-1;if("horizontal"===r.style){var c="grid"===r.alignby?t[a].gridwidth[t[a].level]:t[a].module.width;n=Math.ceil(c/t[a].slideamount),d=Math.ceil((c-l*r.gapsize)/t[a].slideamount),tpGS.gsap.set(t[a].progressC,{visibility:"visible",top:"top"===r.vertical?r.y+("grid"===r.alignby&&t[a].gridOffsetHeight!==i?Math.max(0,t[a].gridOffsetHeight):0):"center"===r.vertical?"50%":"auto",bottom:"top"===r.vertical||"center"===r.vertical?"auto":r.y+("grid"===r.alignby&&t[a].gridOffsetHeight!==i?Math.max(0,t[a].gridOffsetHeight):0),left:"left"===r.horizontal&&"grid"===r.alignby&&t[a].gridOffsetWidth!==i?Math.max(0,t[a].gridOffsetWidth):"auto",right:"right"===r.horizontal&&"grid"===r.alignby&&t[a].gridOffsetWidth!==i?Math.max(0,t[a].gridOffsetWidth):"auto",y:"center"===r.vertical?r.y:0,height:r.size,backgroundColor:"module"===r.basedon?"transparent":r.bgcolor,marginTop:"bottom"===r.vertical?0:"top"===r.vertical?0:parseInt(r.size,0)/2,width:"grid"===r.alignby?t[a].gridwidth[t[a].level]:"100%"}),tpGS.gsap.set(t[a].progressCBarInner,{x:"module"===r.basedon?r.gap?function(e){return("right"===r.horizontal?l-e:e)*(d+r.gapsize)}:function(e){return("right"===r.horizontal?l-e:e)*n}:0,width:"module"===r.basedon?r.gap?d+"px":100/t[a].slideamount+"%":"100%"}),"module"===r.basedon&&(tpGS.gsap.set(t[a].progressCBarBGS,{x:"module"===r.basedon?r.gap?function(e){return e*(d+r.gapsize)}:function(e){return e*n}:0,width:"module"===r.basedon?r.gap?d+"px":100/t[a].slideamount+"%":"100%"}),tpGS.gsap.set(t[a].progressCBarGAPS,{width:r.gap?r.gapsize+"px":0,x:r.gap?function(e){return(e+1)*d+parseInt(r.gapsize,0)*e}:0}))}else if("vertical"===r.style){c="grid"===r.alignby?t[a].gridheight[t[a].level]:t[a].module.height;n=Math.ceil(c/t[a].slideamount),d=Math.ceil((c-l*r.gapsize)/t[a].slideamount),tpGS.gsap.set(t[a].progressC,{visibility:"visible",left:"left"===r.horizontal?r.x+("grid"===r.alignby&&t[a].gridOffsetWidth!==i?Math.max(0,t[a].gridOffsetWidth):0):"center"===r.horizontal?"50%":"auto",right:"left"===r.horizontal||"center"===r.horizontal?"auto":r.x+("grid"===r.alignby&&t[a].gridOffsetWidth!==i?Math.max(0,t[a].gridOffsetWidth):0),x:"center"===r.horizontal?r.x:0,top:"top"===r.vertical&&"grid"===r.alignby&&t[a].gridOffsetHeight!==i?Math.max(t[a].gridOffsetHeight,0):"auto",bottom:"bottom"===r.vertical&&"grid"===r.alignby&&t[a].gridOffsetHeight!==i?Math.max(t[a].gridOffsetHeight,0):"auto",width:r.size,marginLeft:"left"===r.horizontal?0:"right"===r.horizontal?0:parseInt(r.size,0)/2,backgroundColor:"module"===r.basedon?"transparent":r.bgcolor,height:"grid"===r.alignby?t[a].gridheight[t[a].level]:"100%"}),tpGS.gsap.set(t[a].progressCBarInner,{y:"module"===r.basedon?r.gap?function(e){return("bottom"===r.vertical?l-e:e)*(d+r.gapsize)}:function(e){return("bottom"===r.vertical?l-e:e)*n}:0,height:"module"===r.basedon?r.gap?d+"px":100/t[a].slideamount+"%":"100%"}),"module"===r.basedon&&(tpGS.gsap.set(t[a].progressCBarBGS,{y:"module"===r.basedon?r.gap?function(e){return e*(d+r.gapsize)}:function(e){return e*n}:0,height:"module"===r.basedon?r.gap?d+"px":100/t[a].slideamount+"%":"100%"}),tpGS.gsap.set(t[a].progressCBarGAPS,{height:r.gap?r.gapsize+"px":0,y:r.gap?function(e){return(e+1)*d+parseInt(r.gapsize,0)*e}:0}))}}else tpGS.gsap.set(t[a].progressC,{top:"top"===r.vertical?r.y+("grid"===r.alignby&&t[a].gridOffsetHeight!==i?Math.max(0,t[a].gridOffsetHeight):0):"center"===r.vertical?"50%":"auto",bottom:"top"===r.vertical||"center"===r.vertical?"auto":r.y+("grid"===r.alignby&&t[a].gridOffsetHeight!==i?Math.max(0,t[a].gridOffsetHeight):0),left:"left"===r.horizontal?r.x+("grid"===r.alignby&&t[a].gridOffsetWidth!==i?Math.max(0,t[a].gridOffsetWidth):0):"center"===r.horizontal?"50%":"auto",right:"left"===r.horizontal||"center"===r.horizontal?"auto":r.x+("grid"===r.alignby&&t[a].gridOffsetWidth!==i?Math.max(0,t[a].gridOffsetWidth):0),y:"center"===r.vertical?r.y:0,x:"center"===r.horizontal?r.x:0,width:2*r.radius,height:2*r.radius,marginTop:"center"===r.vertical?0-r.radius:0,marginLeft:"center"===r.horizontal?0-r.radius:0,backgroundColor:"transparent",visibility:"visible"});else t[a].progressC[0].style.visibility="hidden";!0!==t[a].noDetach&&t[a].c.append(t[a].progressC),t[a].gridOffsetWidth===i&&"grid"===r.alignby?t[a].rebuildProgressBar=!0:t[a].rebuildProgressBar=!1},A=function(e){var i=t[e].progressBar;i.radius-parseInt(i.size,0)<=0&&(i.size=i.radius/4);var a=parseInt(i.radius),r=parseInt(i.radius);t[e].progressBCanvas.lineCap="round",t[e].progressBCanvas.clearRect(0,0,2*i.radius,2*i.radius),t[e].progressBCanvas.beginPath(),t[e].progressBCanvas.arc(a,r,i.radius-parseInt(i.size,0),Math.PI/180*270,Math.PI/180*630),t[e].progressBCanvas.strokeStyle=i.bgcolor,t[e].progressBCanvas.lineWidth=parseInt(i.size,0)-1,t[e].progressBCanvas.stroke(),t[e].progressBCanvas.beginPath(),t[e].progressBCanvas.strokeStyle=i.color,t[e].progressBCanvas.lineWidth=parseInt(i.size,0),t[e].progressBCanvas.arc(a,r,i.radius-parseInt(i.size,0),Math.PI/180*270,Math.PI/180*(270+t[e].progressBar.degree),"cw"!==i.style),t[e].progressBCanvas.stroke()},M=function(a){var r=function(){a!==i&&t!==i&&t[a]!==i&&(0==e("body").find(t[a].c).length||null===t[a]||null===t[a].c||t[a].c===i||0===t[a].length?(!function(i){t[i].c.children().each(function(){try{e(this).die("click")}catch(e){}try{e(this).die("mouseenter")}catch(e){}try{e(this).die("mouseleave")}catch(e){}try{e(this).unbind("hover")}catch(e){}});try{t[i].c.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(t[i].cdint),t[i].c=null}(a),clearInterval(t[a].cdint)):(t[a].c.trigger("revolution.slide.slideatend"),1==t[a].c.data("conthoverchanged")&&(t[a].conthover=t[a].c.data("conthover"),t[a].c.data("conthoverchanged",0)),t.callingNewSlide(a,1,!0)))},o=tpGS.gsap.timeline({paused:!0}),s="reset"===t[a].progressBar.reset||t[a].progressBar.notnew===i?0:.2,n="slide"===t[a].progressBar.basedon?0:t[a].pr_processing_key!==i?t[a].pr_processing_key:t[a].pr_active_key;if(n=n===i?0:n,"horizontal"===t[a].progressBar.style){if(o.add(tpGS.gsap.to(t[a].progressCBarInner[n],s,{scaleX:0,transformOrigin:"right"===t[a].progressBar.horizontal?"100% 50%":"0% 50%"})),o.add(tpGS.gsap.to(t[a].progressCBarInner[n],t[a].duration/1e3,{transformOrigin:"right"===t[a].progressBar.horizontal?"100% 50%":"0% 50%",force3D:"auto",scaleX:1,onComplete:r,delay:.5,ease:t[a].progressBar.ease})),"module"===t[a].progressBar.basedon)for(var d=0;d-1?t[e].lastslidetoshow=t[e].stopAtSlide:t[e].lastslidetoshow=999,t[e].stopLoop=!1,0==t[e].looptogo&&(t[e].stopLoop=!0),t[e].c.on("stoptimer",function(){t[e].progressC!=i&&(t[e].progressC[0].tween.pause(),t[e].progressBar.disableProgressBar&&(t[e].progressC[0].style.visibility="hidden"),t[e].sliderstatus="paused",t[e].slideInSwapTimer||t.unToggleState(t[e].slidertoggledby),t[e].slideInSwapTimer=!1)}),t[e].c.on("starttimer",function(){t[e].progressC!=i&&(t[e].forcepaused||(1!=t[e].conthover&&1!=t[e].stopByVideo&&t[e].module.width>t[e].hideSliderAtLimit&&1!=t[e].tonpause&&1!=t[e].overnav&&1!=t[e].ssop&&(1===t[e].noloopanymore||t[e].viewPort.enable&&!t[e].inviewport||(t[e].progressBar.visibility[t[e].level]||(t[e].progressC[0].style.visibility="visible"),t[e].progressC[0].tween.resume(),t[e].sliderstatus="playing")),!t[e].progressBar.disableProgressBar&&t[e].progressBar.visibility[t[e].level]||(t[e].progressC[0].style.visibility="hidden"),t.toggleState(t[e].slidertoggledby)))}),t[e].c.on("restarttimer",function(){if(t[e].progressC!=i&&!t[e].forcepaused){if(t[e].mouseoncontainer&&"on"==t[e].navigation.onHoverStop&&!a)return!1;1===t[e].noloopanymore||t[e].viewPort.enable&&!t[e].inviewport||1==t[e].ssop?t.unToggleState(t[e].slidertoggledby):(t[e].progressBar.visibility[t[e].level]||(t[e].progressC[0].style.visibility="visible"),t[e].progressC[0].tween!==i&&t[e].progressC[0].tween.kill(),t[e].progressC[0].tween=M(e),t[e].progressC[0].tween.play(),t[e].sliderstatus="playing",t.toggleState(t[e].slidertoggledby)),!t[e].progressBar.disableProgressBar&&t[e].progressBar.visibility[t[e].level]||(t[e].progressC[0].style.visibility="hidden"),t[e].mouseoncontainer&&1==t[e].navigation.onHoverStop&&!a&&(t[e].c.trigger("stoptimer"),t[e].c.trigger("revolution.slide.onpause"))}}),t[e].c.on("nulltimer",function(){t[e].progressC!=i&&t[e].progressC[0]!==i&&(t[e].progressC[0].tween!==i&&t[e].progressC[0].tween.kill(),t[e].progressC[0].tween=M(e),t[e].progressC[0].tween.pause(0),!t[e].progressBar.disableProgressBar&&t[e].progressBar.visibility[t[e].level]||(t[e].progressC[0].style.visibility="hidden"),t[e].sliderstatus="paused")}),t[e].progressC!==i&&(t[e].progressC[0].tween=M(e)),t[e].slideamount>1&&(0!=t[e].stopAfterLoops||1!=t[e].stopAtSlide)?t[e].c.trigger("starttimer"):(t[e].noloopanymore=1,t[e].c.trigger("nulltimer")),t[e].c.on("tp-mouseenter",function(){t[e].mouseoncontainer=!0,1!=t[e].navigation.onHoverStop||a||(t[e].c.trigger("stoptimer"),t[e].c.trigger("revolution.slide.onpause"))}),t[e].c.on("tp-mouseleft",function(){t[e].mouseoncontainer=!1,1!=t[e].c.data("conthover")&&1==t[e].navigation.onHoverStop&&(1==t[e].viewPort.enable&&t[e].inviewport||0==t[e].viewPort.enable)&&(t[e].c.trigger("revolution.slide.onresume"),t[e].c.trigger("starttimer"))})},B=function(){e(".rev_redraw_on_blurfocus").each(function(){var e=this.id;if(t[e]==i||t[e].c==i||0===t[e].c.length)return!1;1!=t[e].windowfocused&&(t[e].windowfocused=!0,tpGS.gsap.delayedCall(.1,function(){t[e].fallbacks.nextSlideOnWindowFocus&&t[e].c.revnext(),t[e].c.revredraw(),"playing"==t[e].lastsliderstatus&&t[e].c.revresume(),t[e].c.trigger("revolution.slide.tabfocused")}))})},D=function(){document.hasFocus()||e(".rev_redraw_on_blurfocus").each(function(e){var i=this.id;t[i].windowfocused=!1,t[i].lastsliderstatus=t[i].sliderstatus,t[i].c.revpause(),t[i].c.trigger("revolution.slide.tabblured")})},z=function(){var e=document.documentMode===i,a=window.chrome;1!==t.revslider_focus_blur_listener&&(t.revslider_focus_blur_listener=1,e&&!a?t.window.on("focusin",function(){!0!==t.windowIsFocused&&B(),t.windowIsFocused=!0}).on("focusout",function(){!0!==t.windowIsFocused&&t.windowIsFocused!==i||D(),t.windowIsFocused=!1}):window.addEventListener?(window.addEventListener("focus",function(e){!0!==t.windowIsFocused&&B(),t.windowIsFocused=!0},{capture:!1,passive:!0}),window.addEventListener("blur",function(e){!0!==t.windowIsFocused&&t.windowIsFocused!==i||D(),t.windowIsFocused=!1},{capture:!1,passive:!0})):(window.attachEvent("focus",function(e){!0!==t.windowIsFocused&&B(),t.windowIsFocused=!0}),window.attachEvent("blur",function(e){!0!==t.windowIsFocused&&t.windowIsFocused!==i||D(),t.windowIsFocused=!1})))},G=function(e){for(var i,t=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),r=0;r1?e.carousel.maxOpacity/100:e.carousel.maxOpacity,e.carousel.showLayersAllTime="true"===e.carousel.showLayersAllTime||!0===e.carousel.showLayersAllTime?"all":e.carousel.showLayersAllTime,e.carousel.maxRotation=parseInt(e.carousel.maxRotation,0),e.carousel.minScale=parseInt(e.carousel.minScale,0),e.carousel.minScale=e.carousel.minScale>.9?e.carousel.minScale/100:e.carousel.minScale,e.carousel.speed=parseInt(e.carousel.speed,0),e.navigation.maintypes=["arrows","tabs","thumbnails","bullets"],e.perspective=parseInt(e.perspective,0),e.navigation.maintypes)e.navigation.maintypes.hasOwnProperty(a)&&e.navigation[e.navigation.maintypes[a]]!==i&&(e.navigation[e.navigation.maintypes[a]].animDelay=e.navigation[e.navigation.maintypes[a]].animDelay===i?1e3:e.navigation[e.navigation.maintypes[a]].animDelay,e.navigation[e.navigation.maintypes[a]].animSpeed=e.navigation[e.navigation.maintypes[a]].animSpeed===i?1e3:e.navigation[e.navigation.maintypes[a]].animSpeed,e.navigation[e.navigation.maintypes[a]].animDelay=parseInt(e.navigation[e.navigation.maintypes[a]].animDelay,0)/1e3,e.navigation[e.navigation.maintypes[a]].animSpeed=parseInt(e.navigation[e.navigation.maintypes[a]].animSpeed,0)/1e3);if(t.isNumeric(e.scrolleffect.tilt)||-1!==e.scrolleffect.tilt.indexOf("%")&&(e.scrolleffect.tilt=parseInt(e.scrolleffect.tilt)),e.scrolleffect.tilt=e.scrolleffect.tilt/100,e.navigation.thumbnails.position="outer-horizontal"==e.navigation.thumbnails.position?"bottom"==e.navigation.thumbnails.v_align?"outer-bottom":"outer-top":"outer-vertical"==e.navigation.thumbnails.position?"left"==e.navigation.thumbnails.h_align?"outer-left":"outer-right":e.navigation.thumbnails.position,e.navigation.tabs.position="outer-horizontal"==e.navigation.tabs.position?"bottom"==e.navigation.tabs.v_align?"outer-bottom":"outer-top":"outer-vertical"==e.navigation.tabs.position?"left"==e.navigation.tabs.h_align?"outer-left":"outer-right":e.navigation.tabs.position,e.sbtimeline.speed=parseInt(e.sbtimeline.speed,0)/1e3||.5,!0===e.sbtimeline.set&&!0===e.sbtimeline.fixed&&"auto"!==e.sliderLayout?(e.sbtimeline.fixStart=parseInt(e.sbtimeline.fixStart),e.sbtimeline.fixEnd=parseInt(e.sbtimeline.fixEnd)):e.sbtimeline.fixed=!1,e.progressBar===i||"true"!=e.progressBar.disableProgressBar&&1!=e.progressBar.disableProgressBar||(e.progressBar.disableProgressBar=!0),e.startDelay=parseInt(e.startDelay,0)||0,e.navigation!==i&&e.navigation.arrows!=i&&e.navigation.arrows.hide_under!=i&&(e.navigation.arrows.hide_under=parseInt(e.navigation.arrows.hide_under)),e.navigation!==i&&e.navigation.bullets!=i&&e.navigation.bullets.hide_under!=i&&(e.navigation.bullets.hide_under=parseInt(e.navigation.bullets.hide_under)),e.navigation!==i&&e.navigation.thumbnails!=i&&e.navigation.thumbnails.hide_under!=i&&(e.navigation.thumbnails.hide_under=parseInt(e.navigation.thumbnails.hide_under)),e.navigation!==i&&e.navigation.tabs!=i&&e.navigation.tabs.hide_under!=i&&(e.navigation.tabs.hide_under=parseInt(e.navigation.tabs.hide_under)),e.navigation!==i&&e.navigation.arrows!=i&&e.navigation.arrows.hide_over!=i&&(e.navigation.arrows.hide_over=parseInt(e.navigation.arrows.hide_over)),e.navigation!==i&&e.navigation.bullets!=i&&e.navigation.bullets.hide_over!=i&&(e.navigation.bullets.hide_over=parseInt(e.navigation.bullets.hide_over)),e.navigation!==i&&e.navigation.thumbnails!=i&&e.navigation.thumbnails.hide_over!=i&&(e.navigation.thumbnails.hide_over=parseInt(e.navigation.thumbnails.hide_over)),e.navigation!==i&&e.navigation.tabs!=i&&e.navigation.tabs.hide_over!=i&&(e.navigation.tabs.hide_over=parseInt(e.navigation.tabs.hide_over)),e.lazyloaddata!==i&&e.lazyloaddata.length>0&&e.lazyloaddata.indexOf("-")>0){var r=e.lazyloaddata.split("-");for(e.lazyloaddata=r[0],a=1;a200?e.modal.coverSpeed/1e3:e.modal.coverSpeed,e.modal.coverSpeed=Math.max(Math.min(3,e.modal.coverSpeed),.3),e.navigation.wheelViewPort=e.navigation.wheelViewPort===i?.5:e.navigation.wheelViewPort/100,e.navigation.wheelCallDelay=e.navigation.wheelCallDelay===i?1e3:parseInt(e.navigation.wheelCallDelay),e}(e.extend(!0,{sliderType:"standard",sliderLayout:"auto",overlay:{type:"none",size:1,colora:"transparent",colorb:"#000000"},duration:9e3,imgCrossOrigin:"",modal:{useAsModal:!1,cover:!0,coverColor:"rgba(0,0,0,0.5)",horizontal:"center",vertical:"middle",coverSpeed:1},navigation:{keyboardNavigation:!1,keyboard_direction:"horizontal",mouseScrollNavigation:"off",wheelViewPort:50,wheelCallDelay:"1000ms",onHoverStop:!0,mouseScrollReverse:"default",touch:{touchenabled:!1,touchOnDesktop:!1,swipe_treshold:75,swipe_min_touches:1,swipe_direction:"horizontal",drag_block_vertical:!1,mobileCarousel:!0,desktopCarousel:!0},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_under:0,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{enable:!1,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"center",v_align:"bottom",space:5,h_offset:0,v_offset:20,tmp:'',container:"slider",rtl:!1,style:""},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"transparent",tmp:'',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"center",v_align:"bottom",h_offset:0,v_offset:20,mhoff:0,mvoff:0},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"transparent",tmp:'',visibleAmount:5,hide_onmobile:!1,hide_onleave:!1,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"center",v_align:"bottom",h_offset:0,v_offset:20,mhoff:0,mvoff:0}},responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,maxHeight:0,keepBPHeight:!1,useFullScreenHeight:!0,overflowHidden:!1,forceOverflow:!1,fixedOnTop:!1,autoHeight:!1,gridEQModule:!1,disableForceFullWidth:!1,fullScreenOffsetContainer:"",fullScreenOffset:"0",hideLayerAtLimit:0,hideAllLayerAtLimit:0,hideSliderAtLimit:0,progressBar:{disableProgressBar:!1,style:"horizontal",size:"5px",radius:10,vertical:"bottom",horizontal:"left",x:0,y:0,color:"rgba(255,255,255,0.5)",bgcolor:"transparent",basedon:"slide",gapsize:0,reset:"reset",gaptype:"gapboth",gapcolor:"rgba(255,255,255,0.5)",ease:"none",visibility:{0:!0,1:!0,2:!0,3:!0}},stopAtSlide:-1,stopAfterLoops:0,shadow:0,startDelay:0,lazyType:"none",spinner:"off",shuffle:!1,perspective:"600px",perspectiveType:"local",viewPort:{enable:!1,outof:"wait",visible_area:"200px",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:!1,simplifyAll:!0,nextSlideOnWindowFocus:!1,disableFocusListener:!1,allowHTML5AutoPlayOnAndroid:!0},fanim:!1,parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",disable_onmobile:!1,ddd_shadow:!1,ddd_bgfreeze:!1,ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,speed:400,speedbg:0,speedls:0},scrolleffect:{set:!1,fade:!1,blur:!1,scale:!1,grayscale:!1,maxblur:10,layers:!1,slide:!1,direction:"both",multiplicator:1.35,multiplicator_layers:.5,tilt:30,disable_onmobile:!1},sbtimeline:{set:!1,fixed:!1,fixStart:0,fixEnd:0,layers:!1,slide:!1,ease:"none",speed:500},carousel:{easing:"power3.inOut",speed:800,showLayersAllTime:!1,horizontal_align:"center",vertical_align:"center",infinity:!1,space:0,maxVisibleItems:3,stretch:!1,fadeout:!0,maxRotation:0,maxOpacity:100,minScale:0,offsetScale:!1,vary_fade:!1,vary_rotation:!1,vary_scale:!1,border_radius:"0px",padding_top:0,padding_bottom:0},observeWrap:!1,extensions:"extensions/",extensions_suffix:".min.js",stopLoop:!1,waitForInit:!1,ignoreHeightChange:!0},a))}}(jQuery),function($,undefined){"use strict";var _R=jQuery.fn.revolution,_ISM=_R.is_mobile();jQuery.extend(!0,_R,{checkActions:function(e,i){e===undefined?moduleEnterLeaveActions(i):checkActions_intern(e,i)},delayer:function(e,i,t){_R[e].timeStamps=_R[e].timeStamps===undefined?{}:_R[e].timeStamps;var a=(new Date).getTime(),r=_R[e].timeStamps[t]===undefined?parseInt(i)+100:a-_R[e].timeStamps[t],o=parseInt(r)>i;return o&&(_R[e].timeStamps[t]=a),o},getURLDetails:function(e){(e=e===undefined?{}:e).url=e.url===undefined?window.location.href:e.url,e.url=e.url.replace("www",""),e.protocol=0===e.url.indexOf("http://")?"http://":0===e.url.indexOf("https://")?"https://":0===e.url.indexOf("//")?"//":"relative";var i=e.url.replace("https://","");i=i.replace("http://",""),"relative"===e.protocol&&(i=i.replace("//","")),i=i.split("#"),e.anchor=(e.anchor===undefined||""==e.anchor||0==e.anchor.length)&&i.length>1?i[1]:e.anchor===undefined?"":e.anchor.replace("#",""),e.anchor=e.anchor.split("?"),e.queries=i[0].split("?"),e.queries=e.queries.length>1?e.queries[1]:"",e.queries=e.queries.length>1?e.queries[1]:e.anchor.length>1?e.anchor[1]:e.queries,e.anchor=e.anchor[0];(i=i[0]).split("/");var t=i.split("/");return e.host=t[0],t.splice(0,1),e.path="/"+t.join("/"),"/"==e.path[e.path.length-1]&&(e.path=e.path.slice(0,-1)),e.origin="relative"!==e.protocol?e.protocol+e.host:window.location.origin.replace("www","")+window.location.pathname,e.hash=(""!==e.queries&&e.queries!==undefined?"?"+e.queries:"")+(""!==e.anchor&&e.anchor!==undefined?"#"+e.anchor:""),e},scrollToId:function(e){var i="scrollbelow"===e.action?(getOffContH(_R[e.id].fullScreenOffsetContainer)||0)-(parseInt(e.offset,0)||0)||0:0-(parseInt(e.offset,0)||0),t="scrollbelow"===e.action?_R[e.id].c:jQuery("#"+e.anchor),a=t.length>0?t.offset().top:0,r={_y:_R[e.id].modal.useAsModal?_R[e.id].cpar[0].scrollTop:window.pageYOffset!==document.documentElement.scrollTop?0!==window.pageYOffset?window.pageYOffset:document.documentElement.scrollTop:window.pageYOffset};a+="scrollbelow"===e.action?_R[e.id].sbtimeline.fixed?_R[e.id].cpar.parent().height()+_R[e.id].fullScreenOffsetResult:jQuery(_R[e.id].slides[0]).height():0,tpGS.gsap.to(r,e.speed/1e3,{_y:a-i,ease:e.ease,onUpdate:function(){_R[e.id].modal.useAsModal?_R[e.id].cpar.scrollTop(r._y):_R.document.scrollTop(r._y)},onComplete:function(){e.hash!==undefined&&(window.location.hash=e.hash)}})}});var moduleEnterLeaveActions=function(e){!_R[e].moduleActionsPrepared&&_R[e].c[0].getElementsByClassName("rs-on-sh").length>0&&(_R[e].c.on("tp-mouseenter",function(){_R[e].mouseoncontainer=!0;var i,t=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==t&&t!==undefined){if((t=_R.gA(_R[e].slides[t],"key"))!==undefined&&_R[e].layers[t])for(i in _R[e].layers[t])_R[e].layers[t][i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[t][i]),frame:"frame_1",mode:"trigger",id:e});for(i in _R[e].layers.static)_R[e].layers.static[i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[i]),frame:"frame_1",mode:"trigger",id:e})}}),_R[e].c.on("tp-mouseleft",function(){_R[e].mouseoncontainer=!0;var i,t=_R[e].pr_next_key!==undefined?_R[e].pr_next_key:_R[e].pr_processing_key!==undefined?_R[e].pr_processing_key:_R[e].pr_active_key!==undefined?_R[e].pr_active_key:_R[e].pr_next_key;if("none"!==t&&t!==undefined){if((t=_R.gA(_R[e].slides[t],"key"))!==undefined&&_R[e].layers[t])for(i in _R[e].layers[t])_R[e].layers[t][i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers[t][i]),frame:"frame_999",mode:"trigger",id:e});for(i in _R[e].layers.static)_R[e].layers.static[i].className.indexOf("rs-on-sh")>=0&&_R.renderLayerAnimation({layer:jQuery(_R[e].layers.static[i]),frame:"frame_999",mode:"trigger",id:e})}})),_R[e].moduleActionsPrepared=!0},checkActions_intern=function(layer,id){var actions=_R.gA(layer[0],"actions"),_L=layer.data();for(var ei in actions=actions.split("||"),layer.addClass("rs-waction"),_L.events=_L.events===undefined?[]:_L.events,_R[id].lastMouseDown={},actions)if(actions.hasOwnProperty(ei)){var event=getEventParams(actions[ei].split(";"));_L.events.push(event),"click"===event.on&&layer[0].classList.add("rs-wclickaction"),_R[id].fullscreen_esclistener||"exitfullscreen"!=event.action&&"togglefullscreen"!=event.action||(_R.document.keyup(function(e){27==e.keyCode&&jQuery("#rs-go-fullscreen").length>0&&layer.trigger(event.on)}),_R[id].fullscreen_esclistener=!0);var targetlayer="backgroundvideo"==event.layer?jQuery("rs-bgvideo"):"firstvideo"==event.layer?jQuery("rs-slide").find(".rs-layer-video"):jQuery("#"+event.layer);switch(-1!=jQuery.inArray(event.action,["toggleslider","toggle_mute_video","toggle_global_mute_video","togglefullscreen"])&&(_L._togglelisteners=!0),event.action){case"togglevideo":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"videotoggledby",layer[0].id)});break;case"togglelayer":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"layertoggledby",layer[0].id),jQuery(this).data("triggered_startstatus",event.togglestate)});break;case"toggle_global_mute_video":case"toggle_mute_video":jQuery.each(targetlayer,function(){updateToggleByList(jQuery(this),"videomutetoggledby",layer[0].id)});break;case"toggleslider":_R[id].slidertoggledby==undefined&&(_R[id].slidertoggledby=[]),_R[id].slidertoggledby.push(layer[0].id);break;case"togglefullscreen":_R[id].fullscreentoggledby==undefined&&(_R[id].fullscreentoggledby=[]),_R[id].fullscreentoggledby.push(layer[0].id)}}_R[id].actionsPrepared=!0,layer.on("mousedown",function(e){e.touches&&(e=e.touches[0]),_R[id].lastMouseDown.pageX=e.pageX,_R[id].lastMouseDown.pageY=e.pageY}),layer.on("click mouseenter mouseleave",function(e){if("click"===e.type){var evt=e.touches?e.touches[0]:e;if(Math.abs(evt.pageX-_R[id].lastMouseDown.pageX)>5||Math.abs(evt.pageY-_R[id].lastMouseDown.pageY)>5)return}for(var i in _L.events)if(_L.events.hasOwnProperty(i)&&_L.events[i].on===e.type){var event=_L.events[i];if(!(event.repeat!==undefined&&event.repeat>0)||_R.delayer(id,1e3*event.repeat,_L.c[0].id+"_"+event.action)){if("click"===event.on&&layer.hasClass("tp-temporarydisabled"))return!1;var targetlayer="backgroundvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find("rs-sbg-wrap rs-bgvideo"):"firstvideo"==event.layer?jQuery(_R[id].slides[_R[id].pr_active_key]).find(".rs-layer-video").first():jQuery("#"+event.layer),tex=targetlayer.length>0;switch(event.action){case"menulink":var linkto=_R.getURLDetails({url:event.url,anchor:event.anchor}),linkfrom=_R.getURLDetails();linkto.host==linkfrom.host&&linkto.path==linkfrom.path&&"_self"===event.target?_R.scrollToId({id:id,offset:event.offset,action:event.action,anchor:event.anchor,hash:linkto.hash,speed:event.speed,ease:event.ease}):"_self"===event.target?window.location=linkto.url+(linkto.anchor!==undefined&&""!==linkto.anchor?"#"+linkto.anchor:""):window.open(linkto.url+(linkto.anchor!==undefined&&""!==linkto.anchor?"#"+linkto.anchor:"")),e.preventDefault();break;case"nextframe":case"prevframe":case"gotoframe":case"togglelayer":case"toggleframes":case"startlayer":case"stoplayer":if(targetlayer[0]===undefined)continue;var _=_R[id]._L[targetlayer[0].id],frame=event.frame,tou="triggerdelay";if("click"===e.type&&_.clicked_time_stamp!==undefined&&(new Date).getTime()-_.clicked_time_stamp<300)return;if("mouseenter"===e.type&&_.mouseentered_time_stamp!==undefined&&(new Date).getTime()-_.mouseentered_time_stamp<300)return;if(clearTimeout(_.triggerdelayIn),clearTimeout(_.triggerdelayOut),clearTimeout(_.triggerdelay),"click"===e.type&&(_.clicked_time_stamp=(new Date).getTime()),"mouseenter"===e.type&&(_.mouseentered_time_stamp=(new Date).getTime()),"mouseleave"===e.type&&(_.mouseentered_time_stamp=undefined),"nextframe"===event.action||"prevframe"===event.action){_.forda=_.forda===undefined?getFordWithAction(_):_.forda;var inx=jQuery.inArray(_.currentframe,_.ford);for("nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--;"skip"!==_.forda[inx]&&inx>0&&inx<_.forda.length-1;)"nextframe"===event.action&&inx++,"prevframe"===event.action&&inx--,inx=Math.min(Math.max(0,inx),_.forda.length-1);frame=_.ford[inx]}jQuery.inArray(event.action,["toggleframes","togglelayer","startlayer","stoplayer"])>=0&&(_.triggeredstate="startlayer"===event.action||"togglelayer"===event.action&&"frame_1"!==_.currentframe||"toggleframes"===event.action&&_.currentframe!==event.frameN,"togglelayer"===event.action&&!0===_.triggeredstate&&_.currentframe!==undefined&&"frame_999"!==_.currentframe&&(_.triggeredstate=!1),frame=_.triggeredstate?"toggleframes"===event.action?event.frameN:"frame_1":"toggleframes"===event.action?event.frameM:"frame_999",tou=_.triggeredstate?"triggerdelayIn":"triggerdelayOut",_.triggeredstate?_R.toggleState(_.layertoggledby):(_R.stopVideo&&_R.stopVideo(targetlayer,id),_R.unToggleState(_.layertoggledby)));var pars={layer:targetlayer,frame:frame,mode:"trigger",id:id};!0===event.children&&(pars.updateChildren=!0,pars.fastforward=!0),_R.renderLayerAnimation&&(clearTimeout(_[tou]),_[tou]=setTimeout(function(e){_R.renderLayerAnimation(e)},1e3*event.delay,pars));break;case"playvideo":tex&&_R.playVideo(targetlayer,id);break;case"stopvideo":tex&&_R.stopVideo&&_R.stopVideo(targetlayer,id);break;case"togglevideo":tex&&(_R.isVideoPlaying(targetlayer,id)?_R.stopVideo&&_R.stopVideo(targetlayer,id):_R.playVideo(targetlayer,id));break;case"mutevideo":tex&&_R.Mute(targetlayer,id,!0);break;case"unmutevideo":tex&&_R.Mute&&_R.Mute(targetlayer,id,!1);break;case"toggle_mute_video":tex&&(_R.Mute(targetlayer,id)?_R.Mute(targetlayer,id,!1):_R.Mute&&_R.Mute(targetlayer,id,!0));break;case"toggle_global_mute_video":var pvl=_R[id].playingvideos!=undefined&&_R[id].playingvideos.length>0;pvl&&(_R[id].globalmute?jQuery.each(_R[id].playingvideos,function(e,i){_R.Mute&&_R.Mute(i,id,!1)}):jQuery.each(_R[id].playingvideos,function(e,i){_R.Mute&&_R.Mute(i,id,!0)})),_R[id].globalmute=!_R[id].globalmute;break;default:tpGS.gsap.delayedCall(event.delay,function(targetlayer,id,event,layer){switch(event.action){case"openmodal":if(event.modalslide=event.modalslide===undefined?0:event.modalslide,window.RS_60_MODALS===undefined||-1==jQuery.inArray(event.modal,window.RS_60_MODALS)){_R.showModalCover(id,event,"show");var data={action:"revslider_ajax_call_front",client_action:"get_slider_html",token:_R[id].ajaxNonce,alias:event.modal,usage:"modal"};jQuery.ajax({type:"post",url:_R[id].ajaxUrl,dataType:"json",data:data,success:function(e,i,t){1==e.success&&(jQuery("body").append(e.data),setTimeout(function(){_R.showModalCover(id,event,"hide"),_R.document.trigger("RS_OPENMODAL_"+event.modal,event.modalslide)},49))},error:function(e){console.log("Modal Can not be Loaded"),console.log(e)}})}else _R.document.trigger("RS_OPENMODAL_"+event.modal,event.modalslide);break;case"closemodal":_R.revModal(id,{mode:"close"});break;case"callback":eval(event.callback);break;case"simplelink":window.open(event.url,event.target);break;case"simulateclick":targetlayer.length>0&&targetlayer.trigger("click");break;case"toggleclass":targetlayer.length>0&&targetlayer.toggleClass(event.classname);break;case"scrollbelow":case"scrollto":"scrollbelow"===event.action&&layer.addClass("tp-scrollbelowslider"),_R.scrollToId({id:id,offset:event.offset,action:event.action,anchor:event.id,speed:event.speed,ease:event.ease});break;case"jumptoslide":switch(event.slide.toLowerCase()){case"rs-random":var ts=Math.min(Math.max(0,Math.ceil(Math.random()*_R[id].realslideamount)-1));ts=_R[id].activeRSSlide==ts?ts>0?ts-1:ts+1:ts,_R.callingNewSlide(id,_R[id].slides[ts].dataset.key,"carousel"===_R[id].sliderType);break;case"+1":case"next":case"rs-next":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,1,"carousel"===_R[id].sliderType);break;case"rs-previous":case"rs-prev":case"previous":case"prev":case"-1":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,-1,"carousel"===_R[id].sliderType);break;case"first":case"rs-first":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=1,_R.callingNewSlide(id,0,"carousel"===_R[id].sliderType);break;case"last":case"rs-last":_R[id].sc_indicator="arrow",_R[id].sc_indicator_dir=0,_R.callingNewSlide(id,_R[id].slideamount-1,"carousel"===_R[id].sliderType);break;default:var ts=_R.isNumeric(event.slide)?parseInt(event.slide,0):event.slide;_R.callingNewSlide(id,ts,"carousel"===_R[id].sliderType)}break;case"toggleslider":_R[id].noloopanymore=0,"playing"==_R[id].sliderstatus?(_R[id].c.revpause(),_R[id].forcepaused=!0,_R.unToggleState(_R[id].slidertoggledby)):(_R[id].forcepaused=!1,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby));break;case"pauseslider":_R[id].c.revpause(),_R.unToggleState(_R[id].slidertoggledby);break;case"playslider":_R[id].noloopanymore=0,_R[id].c.revresume(),_R.toggleState(_R[id].slidertoggledby);break;case"gofullscreen":case"exitfullscreen":case"togglefullscreen":var gf;jQuery(".rs-go-fullscreen").length>0&&("togglefullscreen"==event.action||"exitfullscreen"==event.action)?(jQuery(".rs-go-fullscreen").removeClass("rs-go-fullscreen"),gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),_R[id].minHeight=_R[id].oldminheight,_R[id].infullscreenmode=!1,_R[id].c.revredraw(),_R[id].c.revredraw(),jQuery(window).trigger("resize"),_R.unToggleState(_R[id].fullscreentoggledby)):0!=jQuery(".rs-go-fullscreen").length||"togglefullscreen"!=event.action&&"gofullscreen"!=event.action||(gf=_R[id].c.closest("rs-fullwidth-wrap").length>0?_R[id].c.closest("rs-fullwidth-wrap"):_R[id].c.closest("rs-module-wrap"),gf.addClass("rs-go-fullscreen"),_R[id].oldminheight=_R[id].minHeight,_R[id].minHeight=_R.getWinH(id),_R[id].infullscreenmode=!0,jQuery(window).trigger("resize"),_R.toggleState(_R[id].fullscreentoggledby),_R[id].c.revredraw());break;default:_R[id].c.trigger("layeraction",[event.action,layer,event])}},[targetlayer,id,event,layer])}}}})};function getFordWithAction(e){var i=[];for(var t in e.ford)e.frames[e.ford[t]].timeline.waitoncall?i.push(e.ford[t]):i.push("skip");return i}function updateToggleByList(e,i,t){var a=e.data(i);a===undefined&&(a=[]),a.push(t),e.data(i,a)}function getEventParams(e){var i={on:"click",delay:0,ease:"power2.out",speed:400};for(var t in e)if(e.hasOwnProperty(t)){var a=e[t].split(":");switch(a.length>2&&"call"===a[0]&&(a[1]=a.join(":").replace(a[0]+":","")),a[0]){case"modal":i.modal=a[1];break;case"ms":i.modalslide=a[1];break;case"m":i.frameM=a[1];break;case"n":i.frameN=a[1];break;case"o":i.on="click"===a[1]||"c"===a[1]?"click":"ml"===a[1]||"mouseleave"===a[1]?"mouseleave":"mouseenter"===a[1]||"me"===a[1]?"mouseenter":a[1];break;case"d":i.delay=parseInt(a[1],0)/1e3,i.delay="NaN"===i.delay||isNaN(i.delay)?0:i.delay;break;case"rd":i.repeat=parseInt(a[1],0)/1e3,i.repeat="NaN"===i.repeat||isNaN(i.repeat)?0:i.repeat;break;case"a":i.action=a[1];break;case"f":i.frame=a[1];break;case"slide":i.slide=a[1];break;case"layer":i.layer=a[1];break;case"sp":i.speed=parseInt(a[1],0);break;case"e":i.ease=a[1];break;case"ls":i.togglestate=a[1];break;case"offset":i.offset=a[1];break;case"call":i.callback=a[1];break;case"url":i.url="";for(var r=1;r0&&""!==a[0]&&(i[a[0]]=a[1])}}return i}var getOffContH=function(e){if(e==undefined)return 0;if(e.split(",").length>1){var i=e.split(","),t=0;return i&&jQuery.each(i,function(e,i){jQuery(i).length>0&&(t+=jQuery(i).outerHeight(!0))}),t}return jQuery(e).height()}}(jQuery),function(e){"use strict";var i=jQuery.fn.revolution;i.is_mobile();jQuery.extend(!0,i,{prepareCarousel:function(e,t,a){if(void 0!==e){var o=i[e].carousel;o.slidepositions=void 0===o.slidepositions?[]:o.slidepositions,o.slideFakePositions=void 0===o.slideFakePositions?[]:o.slideFakePositions,t=o.lastdirection=r(t,o.lastdirection),i.setCarouselDefaults(e),void 0===o.slidepositions[0]&&(o.slideAnims=[],i.organiseCarousel(e,"right",!0,!1,!1),o.focused=0,o.keepFocusedFirst=!0),o.slide_offset=void 0!==o.slide_offset&&i.isNumeric(o.slide_offset)?o.slide_offset:0,o.swipeTo=o.slide_offset+s(e),o.swipeToDistance=Math.abs(o.slide_offset)+Math.abs(s(e)),void 0!==o.swipeTo&&i.isNumeric(o.swipeTo)?void 0!==a?i.swipeAnimate({id:e,to:o.swipeTo,distance:o.swipeToDistance,direction:t,fix:!0,speed:a}):i.swipeAnimate({id:e,to:o.swipeTo,distance:o.swipeToDistance,direction:t,fix:!0}):i.swipeAnimate({id:e,to:0,direction:t,speed:0})}},carouselToEvalPosition:function(e,a,o){var s=i[e].carousel;if(s.justify)s.focused=void 0===s.focused?0:s.focused,s.slidepositions[s.focused]=void 0===s.slidepositions[s.focused]?0:s.slidepositions[s.focused],s.slide_offset_target=t(e,s.focused);else{a=s.lastdirection=r(a,s.lastdirection);var n="center"===s.horizontal_align?(s.wrapwidth/2-s.slide_width/2-s.slide_offset)/s.slide_width:(0-s.slide_offset)/s.slide_width,d=n%i[e].slideamount,l=d-Math.floor(d),c=-1*(Math.ceil(d)-d),p=-1*(Math.floor(d)-d),g=l*s.slide_width,u=g>=20&&"left"===a?1:g>=s.slide_width-20&&"right"===a?2:g<20&&"left"===a?3:gi[e].slideamount-1?n-(i[e].slideamount-1):h)*s.slide_width}return s.slide_offset_target!==s.slide_offset_targetCACHE&&!0!==o&&(0!==Math.abs(s.slide_offset_target)?i.animateCarousel(e,a,!0):i.organiseCarousel(e,a),s.slide_offset_targetCACHE=s.slide_offset_target),s.slide_offset_target},loadVisibleCarouselItems:function(e,t){var a=[];i[e].carousel.focused=parseInt(i[e].carousel.focused,0),i[e].carousel.focused=i.isNumeric(i[e].carousel.focused)?i[e].carousel.focused:0;for(var r=0;r=i[e].slideamount?o-i[e].slideamount+0:o,s=s>=i[e].slideamount?s-i[e].slideamount+0:s,o=o<0?i[e].slideamount+o:o,s=s<0?i[e].slideamount+s:s,a.push(i[e].slides[o]),o!==s&&a.push(i[e].slides[s])}return t&&(i.loadImages(a,e,1),i.waitForCurrentImages(a,e)),a},organiseCarousel:function(e,t,a,r,o){Math.round(1e5*Math.random());var s=i[e].carousel,n="center"===s.horizontal_align?2:1,d=Math.ceil(s.maxVisibleItems/n),l="center"===s.horizontal_align?s.wrapwidth/2+s.maxwidth/2:s.maxwidth-s.slide_width,c="center"===s.horizontal_align?s.wrapwidth/2-s.maxwidth/2:0-s.slide_width,p=0,g=0,u=0;if(s.ocfirsttun=!0,t=s.slide_offset=s.maxwidth&&("left"===t&&(l=2*s.windhalf,c=0-(s.slide_width-(h-s.maxwidth))),"right"===t&&(l=2*s.windhalf-(h-s.maxwidth),c=0-s.slide_width))}for(var m=2*s.windhalf,v=0,f=-1,y=0;y0?s.slide_widths[y-1]+s.space:s.slide_offset,s.wrapwidth>=s.maxwidth&&"center"!==s.horizontal_align&&(s.slideFakePositions[y]=p-s.slide_offset),c=0-s.slide_widths[y],l=s.maxwidth-s.slide_widths[y],s.inneroffset=0):(p=y*s.slide_width+s.slide_offset,s.wrapwidth>=s.maxwidth&&"left"===s.horizontal_align&&(s.slideFakePositions[y]=y*s.slide_width),s.wrapwidth>=s.maxwidth&&"right"===s.horizontal_align&&(s.slideFakePositions[y]=s.wrapwidth-(y+1)*s.slide_width)),u=g=p,s.infinity&&(g=g>=l-s.inneroffset?g-s.maxwidth:g<=c-s.inneroffset?g+s.maxwidth:g),m>g&&(m=g,y),vs.maxwidth+l?g-s.maxwidth:u0&&v>s.wrapwidth&&(s.slidepositions[f]-=s.maxwidth);var b=999,w=0,_=(i[e].module.width,!1),x="right"===s.horizontal_align?0:s.wrapwidth;if(i[e].slides)for(y=0;y=s.maxwidth&&"center"!==s.horizontal_align||("center"===s.horizontal_align&&s.slidepositions[y]s.windhalf?s.focused=y:"left"===s.horizontal_align&&s.slidepositions[y]>=-25&&s.slidepositions[y]s.windhalf||s.slidepositions[y]>s.wrapwidth-s.slide_widths[y])&&(!_||s.slidepositions[y]>x)&&(s.focused=y,_=!0,x=s.slidepositions[y]),s.focused=s.focused>=s.len?s.infinity?0:s.len-1:s.focused<0?s.infinity?s.len-1:0:s.focused);else{k="center"===s.horizontal_align?(Math.abs(s.wrapwidth/2)-(S.left+s.slide_width/2))/s.slide_width:(s.inneroffset-S.left)/s.slide_width,(Math.abs(k)0&&(s.vary_scale?S.scale=1-Math.abs((1-s.minScale)/d*k):S.scale=k>=1||k<=-1?s.minScale:s.minScale+(1-s.minScale)*(1-Math.abs(k)),w=k*(S.width-S.width*S.scale)/2),s.fadeout&&(s.vary_fade?S.autoAlpha=1-Math.abs(s.maxOpacity/d*k):S.autoAlpha=k>=1||k<=-1?s.maxOpacity:s.maxOpacity+(1-s.maxOpacity)*(1-Math.abs(k)));var L=Math.ceil(s.maxVisibleItems/n)-Math.abs(k);S.autoAlpha=void 0===S.autoAlpha?1:S.autoAlpha,S.autoAlpha=Math.max(0,Math.min(L,S.autoAlpha)),void 0!==s.maxRotation&&0!=Math.abs(s.maxRotation)&&(s.vary_rotation?(S.rotationY=Math.abs(s.maxRotation)-Math.abs((1-Math.abs(1/d*k))*s.maxRotation),S.autoAlpha=Math.abs(S.rotationY)>90?0:S.autoAlpha):S.rotationY=k>=1||k<=-1?s.maxRotation:Math.abs(k)*s.maxRotation,S.rotationY=k<0?-1*S.rotationY:S.rotationY,i.isSafari11()&&(S.z=0!==k?0-Math.abs(S.rotationY):0)),S.x=Math.floor(-1*s.space*k*(s.offsetScale?S.scale:1)),void 0!==S.scale&&(S.x=S.x+w)}S.x+=s.wrapwidth>=s.maxwidth&&("left"===s.horizontal_align||"right"===s.horizontal_align)?s.slideFakePositions[y]:Math.floor(S.left),delete S.left,S.zIndex=s.justify?95:Math.round(100-Math.abs(5*k)),!0!==o&&(void 0!==s.slideAnims[y]&&(S.width===s.slideAnims[y].width&&delete S.width,S.x===s.slideAnims[y].x&&delete S.x,S.autoAlpha===s.slideAnims[y].autoAlpha&&delete S.autoAlpha,S.scale===s.slideAnims[y].scale&&delete S.scale,S.zIndex===s.slideAnims[y].zIndex&&delete S.zIndex,S.rotationY===s.slideAnims[y].rotationY&&delete S.rotationY),tpGS.gsap.set(i[e].slides[y],S),s.slideAnims[y]=jQuery.extend(!0,s.slideAnims[y],S))}if(i.loadVisibleCarouselItems(e,!0),r&&!0!==o){if(s.focused=void 0===s.focused?0:s.focused,s.oldfocused=void 0===s.oldfocused?0:s.oldfocused,i[e].pr_next_key=s.focused,s.focused!==s.oldfocused)for(var R in void 0!==s.oldfocused&&i.removeTheLayers(jQuery(i[e].slides[s.oldfocused]),e),i.animateTheLayers({slide:s.focused,id:e,mode:"start"}),i.animateTheLayers({slide:"individual",id:e,mode:i[e].carousel.allLayersStarted?"rebuild":"start"}),i[e].sbgs)i[e].sbgs.hasOwnProperty(R)&&void 0!==i[e].sbgs[R].bgvid&&0!==i[e].sbgs[R].bgvid.length&&(""+i[e].sbgs[R].skeyindex==""+s.focused?i.playBGVideo(e,i.gA(i[e].pr_next_slide[0],"key")):i.stopBGVideo(e,i[e].sbgs[R].key));s.oldfocused=s.focused,i[e].c.trigger("revolution.nextslide.waiting")}},swipeAnimate:function(e){var t=i[e.id].carousel,r={from:t.slide_offset,to:e.to},o=void 0===e.speed?.5:e.speed;if(t.distance=void 0!==e.distance?e.distance:e.to,void 0!==t.positionanim&&t.positionanim.pause(),e.fix){if(!1!==t.snap){var s=t.slide_offset,n="end"===e.phase?t.focusedBeforeSwipe:t.focused;t.slide_offset=e.to,i.organiseCarousel(e.id,e.direction,!0,!1,!1),Math.abs(t.swipeDistance)>40&&n==t.focused&&(t.focused="right"===e.direction?t.focused-1:t.focused+1,t.focused=t.focused>=t.len?t.infinity?0:t.len-1:t.focused<0?t.infinity?t.len-1:0:t.focused),r.to+=i.carouselToEvalPosition(e.id,e.direction,!0),t.slide_offset=s,i.organiseCarousel(e.id,e.direction,!0,!1,!1),t.keepFocusedFirst&&(t.keepFocusedFirst=!1,t.focused=0)}else!0!==t.infinity?(r.to>0&&(r.to=0),r.to25&&(o=.3)}t.swipeDistance=0,o=!0!==t.firstSwipedDone?0:o,t.firstSwipedDone=!0,t.positionanim=tpGS.gsap.to(r,o,{from:r.to,onUpdate:function(){t.slide_offset=r.from%t.maxwidth,i.organiseCarousel(e.id,e.direction,!0!==e.fix,!0!==e.fix),t.slide_offset=r.from},onComplete:function(){t.slide_offset=r.from%t.maxwidth,"carousel"!==i[e.id].sliderType||t.fadein||(tpGS.gsap.to(i[e.id].canvas,1,{scale:1,opacity:1}),t.fadein=!0),t.lastNotSimplifedSlideOffset=t.slide_offset,t.justDragged=!1,e.fix&&(t.focusedAfterAnimation=t.focused,e.newSlide&&t.focusedBeforeSwipe!==t.focused&&i.callingNewSlide(e.id,jQuery(i[e.id].slides[t.focused]).data("key"),!0),i.organiseCarousel(e.id,e.direction,!0,!0),i[e.id].c.trigger("revolution.slide.carouselchange",{slider:e.id,slideIndex:parseInt(i[e.id].pr_active_key,0)+1,slideLIIndex:i[e.id].pr_active_key,slide:i[e.id].pr_next_slide,currentslide:i[e.id].pr_next_slide,prevSlideIndex:void 0!==i[e.id].pr_lastshown_key&&parseInt(i[e.id].pr_lastshown_key,0)+1,prevSlideLIIndex:void 0!==i[e.id].pr_lastshown_key&&parseInt(i[e.id].pr_lastshown_key,0),prevSlide:void 0!==i[e.id].pr_lastshown_key&&i[e.id].slides[i[e.id].pr_lastshown_key]}))},ease:e.easing?e.easing:t.easing})},defineCarouselElements:function(e){var t=i[e].carousel;t.infbackup=t.infinity,t.maxVisiblebackup=t.maxVisibleItems,t.slide_offset="none",t.slide_offset=0,t.cached_slide_offset=0,t.wrap=jQuery(i[e].canvas[0].parentNode),0!==t.maxRotation&&("3D"!==i[e].parallax.type&&"3d"!==i[e].parallax.type||tpGS.gsap.set(t.wrap,{perspective:"1600px",transformStyle:"preserve-3d"}))},setCarouselDefaults:function(e,t){var a=i[e].carousel;if(a.slide_width=!0!==a.stretch?i[e].gridwidth[i[e].level]*(0===i[e].CM.w?1:i[e].CM.w):i[e].canv.width,a.slide_height=!0!==a.stretch?i[e].infullscreenmode?i.getWinH(e)-i.getFullscreenOffsets(e):i[e].gridheight[i[e].level]*(0===i[e].CM.w?1:i[e].CM.w):i[e].canv.height,a.ratio=a.slide_width/a.slide_height,a.len=i[e].slides.length,a.maxwidth=i[e].slideamount*a.slide_width,1!=a.justify&&a.maxVisiblebackup>a.len&&(a.maxVisibleItems=a.len%2?a.len:a.len+1),a.wrapwidth=a.maxVisibleItems*a.slide_width+(a.maxVisibleItems-1)*a.space,a.wrapwidth="auto"!=i[e].sliderLayout?a.wrapwidth>i[e].canv.width?i[e].canv.width:a.wrapwidth:a.wrapwidth>i[e].module.width?i[e].module.width:a.wrapwidth,!0===a.justify){a.slide_height="fullscreen"===i[e].sliderLayout?i[e].module.height:i[e].gridheight[i[e].level],a.slide_widths=[],a.slide_widthsCache=void 0===a.slide_widthsCache?[]:a.slide_widthsCache,a.maxwidth=0;for(var r=0;r=a.maxwidth)&&a.infbackup,!0!==a.quickmode){a.wrapoffset="center"===a.horizontal_align?(i[e].canv.width-i[e].outNavDims.right-i[e].outNavDims.left-a.wrapwidth)/2:0,a.wrapoffset="auto"!=i[e].sliderLayout&&i[e].outernav?0:a.wrapoffset0&&tpGS.gsap.set(i[e].canvas,{left:0})}),a.cacheWrapObj=jQuery.extend(!0,{},n)),a.inneroffset="right"===a.horizontal_align?a.wrapwidth-a.slide_width:0,a.windhalf="auto"===i[e].sliderLayout?i[e].module.width/2:i.winW/2}}});var t=function(e,t){var a=i[e].carousel;return"center"===a.horizontal_align?a.windhalf-a.slide_widths[t]/2-a.slidepositions[t]:"left"===a.horizontal_align?0-a.slidepositions[t]:a.wrapwidth-a.slide_widths[t]-a.slidepositions[t]},a=function(e){return e<1?Math.sqrt(1-(e-=1)*e):Math.sqrt(e)},r=function(e,i){return null===e||jQuery.isEmptyObject(e)?i:void 0===e?"right":e},o=function(e,i){return Math.abs(e)>Math.abs(i)?e>0?e-Math.abs(Math.floor(e/i)*i):e+Math.abs(Math.floor(e/i)*i):e},s=function(e){var t,a,r,s,n,d=0,l=i[e].carousel;if(void 0!==l.positionanim&&l.positionanim.pause(),l.justify)"center"===l.horizontal_align?d=l.windhalf-l.slide_widths[l.focused]/2-l.slidepositions[l.focused]:"left"===l.horizontal_align?d=0-l.slidepositions[l.focused]:"right"===l.horizontal_align&&(d=l.wrapwidth-l.slide_widths[l.focused]-l.slidepositions[l.focused]),d=d>l.maxwidth/2?l.maxwidth-d:d<0-l.maxwidth/2?d+l.maxwidth:d;else{var c=i[e].pr_processing_key>=0?i[e].pr_processing_key:i[e].pr_active_key>=0?i[e].pr_active_key:0,p=("center"===l.horizontal_align?(l.wrapwidth/2-l.slide_width/2-l.slide_offset)/l.slide_width:(0-l.slide_offset)/l.slide_width)%i[e].slideamount;d=(l.infinity?(t=p,a=c,r=i[e].slideamount,n=a-r-t,s=o(s=a-t,r),n=o(n,r),-(Math.abs(s)>Math.abs(n)?n:s)):p-c)*l.slide_width}return!1===l.snap&&l.justDragged&&(d=0),l.justDragged=!1,d}}(jQuery),function(e){"use strict";var i=["chars","words","lines"],t=["Top","Right","Bottom","Left"],a=["TopLeft","TopRight","BottomRight","BottomLeft"],r=["top","right","bottom","left"],o=jQuery.fn.revolution,s=o.is_mobile();o.is_android();jQuery.extend(!0,o,{checkLayerDimensions:function(e){var i=!1;for(var t in o[e.id].layers[e.skey])if(o[e.id].layers[e.skey].hasOwnProperty(t)){var a=o[e.id].layers[e.skey][t],r=o[e.id]._L[a.id];r.eow!==a.offsetWidth&&"true"!==o.gA(a,"vary-layer-dims")&&(i=!0),r.lastknownwidth=r.eow,r.lastknownheight=r.eoh,r._slidelink||o[e.id].caches.calcResponsiveLayersList.push({a:o[e.id]._L[a.id].c,b:e.id,c:0,d:r.rsp_bd,e:e.slideIndex})}return i},requestLayerUpdates:function(e,i,t,a){var r,s,n,d;if(void 0!==t)r=t,o[e]._L[r].pVisRequest!==o[e]._L[r].pVisStatus&&(void 0===o[e]._L[r]._ligid||!0!==o[e]._L[o[e]._L[r]._ligid].childrenAtStartNotVisible?(o[e]._L[r].pVisStatus=o[e]._L[r].pVisRequest,d=("row"===o[e]._L[r].type||"column"===o[e]._L[r].type||"group"===o[e]._L[r].type)&&void 0!==o[e]._L[r].frames&&void 0!==o[e]._L[r].frames.frame_999&&void 0!==o[e]._L[r].frames.frame_999.transform&&""+o[e]._L[r].frames.frame_999.transform.opacity!="0",n=1===o[e]._L[r].pVisRequest?"remove":d?n:"add",s=1===o[e]._L[r].pVisRequest?"remove":d?"add":s):(n="add",s="remove"),void 0!==s&&o[e]._L[r].p[0].classList[s]("rs-forceuntouchable"),void 0!==n&&o[e]._L[r].p[0].classList[n]("rs-forcehidden")),o[e]._L[r].pPointerStatus!==o[e]._L[r].pPeventsRequest&&(o[e]._L[r].pPointerStatus=o[e]._L[r].pPeventsRequest,tpGS.gsap.set(o[e]._L[r].p[0],{pointerEvents:o[e]._L[r].pPointerStatus,visibility:1===o[e]._L[r].pVisStatus?"visible":0===o[e]._L[r].pVisStatus?"hidden":o[e]._L[r].pVisStatus})),void 0!==a&&"ignore"!==a&&0!==a&&(a++,"enterstage"===i||"leavestage"===i||"framestarted"===i?o.isFirefox(e)?-1===o[e]._L[r].p[0].style.transform.indexOf("perspective")&&(o[e]._L[r].p[0].style.transform+=(0===o[e]._L[r].p[0].style.transform.length?" ":"")+"perspective("+a+"px)"):(!window.isSafari11&&!0!==o[e]._L[r].maskHasPerspective&&0===o[e]._L[r].p[0].style.perspective.length||"none"==o[e]._L[r].p[0].style.perspective)&&(o[e]._L[r].p[0].style.perspective=a+"px"):"frameended"===i&&(o.isFirefox(e)?o[e]._L[r].p[0].style.transform=o[e]._L[r].p[0].style.transform.replace("perspective("+a+"px)",""):window.isSafari11||(o[e]._L[r].p[0].style.perspective=o[e]._L[r].p[0].style.perspective.replace(a-1+"px",""))));else for(r in o[e]._L)o[e]._L.hasOwnProperty(r)&&(o[e]._L[r].pVisRequest!==o[e]._L[r].pVisStatus&&(o[e]._L[r].pVisStatus=o[e]._L[r].pVisRequest,0===o[e]._L[r].pVisStatus?o[e]._L[r].p[0].classList.add("rs-forcehidden"):o[e]._L[r].p[0].classList.remove("rs-forcehidden")),o[e]._L[r].pPointerStatus!==o[e]._L[r].pPeventsRequest&&(o[e]._L[r].pPointerStatus=o[e]._L[r].pPeventsRequest,tpGS.gsap.set(o[e]._L[r].p[0],{pointerEvents:o[e]._L[r].pPointerStatus,visibility:o[e]._L[r].pVisStatus})));"enterstage"===i&&void 0!==t&&void 0!==o[e]._L[t].esginside&&o[e]._L[t].esginside.length>0&&void 0!==o[e]._L[t].esginside.esredraw&&o[e]._L[t].esginside.esredraw()},updateMiddleZonesAndESG:function(e){var i,t=o[e].pr_processing_key||o[e].pr_active_key||0;if(o[e].middleZones&&o[e].middleZones.length>0&&void 0!==o[e].middleZones[t])for(i=0;i0)for(i=0;i0){if(void 0!==o[e].rowzones[r])for(var n=0;n0)for(n=0;n=0&&(!1!==p.animationonscroll||void 0===p.frames.loop)&&!0!==p.animOnScrollForceDisable&&(p.animationonscroll=!0,l[0].className+=" rs-sba",o[r].sbas[s][d.id]=l[0]),p.animOnScrollRepeats=0,p._isgroup="RS-GROUP"===l[0].tagName,p.type=p.type||"none","row"===p.type&&void 0===p.cbreak&&(p.cbreak=2),p.esginside=jQuery(l[0].getElementsByClassName("esg-grid")[0]),p._isnotext=-1!==jQuery.inArray(p.type,["video","image","audio","shape","row","group"]),p._mediatag="html5"==p.audio?"audio":"video",p.img=l.find("img"),p.deepiframe=o.getByTag(l[0],"iframe"),p.deepmedia=o.getByTag(l[0],p._mediatag),p.layertype="image"===p.type?"image":l[0].className.indexOf("rs-layer-video")>=0||l[0].className.indexOf("rs-layer-audio")>=0||p.deepiframe.length>0&&(p.deepiframe[0].src.toLowerCase().indexOf("youtube")>0||p.deepiframe[0].src.toLowerCase().indexOf("vimeo")>0)||p.deepmedia.length>0?"video":"html",p.deepiframe.length>0&&o.sA(p.deepiframe[0],"layertype",p.layertype),"column"===p.type&&(p.cbg=jQuery(o.getByTag(p.p[0],"RS-COLUMN-BG")[0]),p.cbgmask=jQuery(o.getByTag(p.p[0],"RS-CBG-MASK-WRAP")[0])),p._slidelink=l[0].className.indexOf("slidelink")>=0,p._isstatic=l[0].className.indexOf("rs-layer-static")>=0,p.slidekey=p._isstatic?"staticlayers":s,p._togglelisteners=l[0].getElementsByClassName("rs-toggled-content").length>0,p.bgcol=void 0===p.bgcol?l[0].style.background.indexOf("gradient")>=0?l[0].style.background:l[0].style.backgroundColor:p.bgcol,p.bgcol=""===p.bgcol?"rgba(0, 0, 0, 0)":p.bgcol,p.bgcol=0===p.bgcol.indexOf("rgba(0, 0, 0, 0)")&&p.bgcol.length>18?p.bgcol.replace("rgba(0, 0, 0, 0)",""):p.bgcol,p.zindex=void 0===p.zindex?l[0].style.zIndex:p.zindex,p._isgroup&&(p.frames.frame_1.timeline.waitoncall&&(p.childrenAtStartNotVisible=!0),p.pVisRequest=0),p._togglelisteners&&l.on("click",function(){o.swaptoggleState([this.id])}),void 0!==p.border)for(i in p.border=p.border.split(";"),p.bordercolor="transparent",p.border)if(p.border.hasOwnProperty(i))switch((t=p.border[i].split(":"))[0]){case"boc":p.bordercolor=t[1];break;case"bow":p.borderwidth=o.revToResp(t[1],4,0);break;case"bos":p.borderstyle=o.revToResp(t[1],4,0);break;case"bor":p.borderradius=o.revToResp(t[1],4,0)}if("svg"===p.type&&(p.svg=l.find("svg"),p.svgPath=p.svg.find("path"),p.svgI=y(p.svgi,r),p.svgH=void 0!==p.svgi&&-1===p.svgi.indexOf("oc:t")?y(p.svgh,r):{}),void 0!==p.btrans){var h=p.btrans;for(i in p.btrans={rX:0,rY:0,rZ:0,o:1},h=h.split(";"))if(h.hasOwnProperty(i))switch((t=h[i].split(":"))[0]){case"rX":p.btrans.rX=t[1];break;case"rY":p.btrans.rY=t[1];break;case"rZ":p.btrans.rZ=t[1];break;case"o":p.btrans.o=t[1]}}if(void 0!==p.tsh)for(i in p.tshadow={c:"rgba(0,0,0,0.25)",v:0,h:0,b:0},p.tsh=p.tsh.split(";"),p.tsh)if(p.tsh.hasOwnProperty(i))switch((t=p.tsh[i].split(":"))[0]){case"c":p.tshadow.c=t[1];break;case"h":p.tshadow.h=t[1];break;case"v":p.tshadow.v=t[1];break;case"b":p.tshadow.b=t[1]}if(void 0!==p.tst)for(i in p.tstroke={c:"rgba(0,0,0,0.25)",w:1},p.tst=p.tst.split(";"),p.tst)if(p.tst.hasOwnProperty(i))switch((t=p.tst[i].split(":"))[0]){case"c":p.tstroke.c=t[1];break;case"w":p.tstroke.w=t[1]}if(void 0!==p.bsh)for(i in p.bshadow={e:"c",c:"rgba(0,0,0,0.25)",v:0,h:0,b:0,s:0},p.bsh=p.bsh.split(";"),p.bsh)if(p.bsh.hasOwnProperty(i))switch((t=p.bsh[i].split(":"))[0]){case"c":p.bshadow.c=t[1];break;case"h":p.bshadow.h=t[1];break;case"v":p.bshadow.v=t[1];break;case"b":p.bshadow.b=t[1];break;case"s":p.bshadow.s=t[1];break;case"e":p.bshadow.e=t[1]}if(void 0!==p.dim)for(i in p.dim=p.dim.split(";"),p.dim)if(p.dim.hasOwnProperty(i))switch((t=p.dim[i].split(":"))[0]){case"w":p.width=t[1];break;case"h":p.height=t[1];break;case"maxw":p.maxwidth=t[1];break;case"maxh":p.maxheight=t[1];break;case"minw":p.minwidth=t[1];break;case"minh":p.minheight=t[1]}if(void 0!==p.xy)for(i in p.xy=p.xy.split(";"),p.xy)if(p.xy.hasOwnProperty(i))switch((t=p.xy[i].split(":"))[0]){case"x":p.x=t[1].replace("px","");break;case"y":p.y=t[1].replace("px","");break;case"xo":p.hoffset=t[1].replace("px","");break;case"yo":p.voffset=t[1].replace("px","")}if(!p._isnotext&&void 0!==p.text)for(i in p.text=p.text.split(";"),p.text)if(p.text.hasOwnProperty(i))switch((t=p.text[i].split(":"))[0]){case"w":p.whitespace=t[1];break;case"td":p.textDecoration=t[1];break;case"c":p.clear=t[1];break;case"f":p.float=t[1];break;case"s":p.fontsize=t[1];break;case"l":p.lineheight=t[1];break;case"ls":p.letterspacing=t[1];break;case"fw":p.fontweight=t[1];break;case"a":p.textalign=t[1]}if("column"===p.type&&void 0!==p.textDecoration&&delete p.textDecoration,void 0!==p.flcr)for(i in p.flcr=p.flcr.split(";"),p.flcr)if(p.flcr.hasOwnProperty(i))switch((t=p.flcr[i].split(":"))[0]){case"c":p.clear=t[1];break;case"f":p.float=t[1]}if(void 0!==p.padding)for(i in p.padding=p.padding.split(";"),p.padding)if(p.padding.hasOwnProperty(i))switch((t=p.padding[i].split(":"))[0]){case"t":p.paddingtop=t[1];break;case"b":p.paddingbottom=t[1];break;case"l":p.paddingleft=t[1];break;case"r":p.paddingright=t[1]}if(void 0!==p.margin)for(i in p.margin=p.margin.split(";"),p.margin)if(p.margin.hasOwnProperty(i))switch((t=p.margin[i].split(":"))[0]){case"t":p.margintop=t[1];break;case"b":p.marginbottom=t[1];break;case"l":p.marginleft=t[1];break;case"r":p.marginright=t[1]}if(void 0!==p.spike&&(p.spike=G(p.spike)),void 0!==p.corners)for(i in a=p.corners.split(";"),p.corners={},a)a.hasOwnProperty(i)&&a[i].length>0&&(p.corners[a[i]]=jQuery("<"+a[i]+">"),p.c.append(p.corners[a[i]]));p.textalign=b(p.textalign),p.vbility=o.revToResp(p.vbility,o[r].rle,!0),p.hoffset=o.revToResp(p.hoffset,o[r].rle,0),p.voffset=o.revToResp(p.voffset,o[r].rle,0),p.x=o.revToResp(p.x,o[r].rle,"l"),p.y=o.revToResp(p.y,o[r].rle,"t"),M(l,0,r),o.sA(d,"initialised",!0),o[r].c.trigger("layerinitialised",{layer:l[0].id,slider:r})}var m="grid"===p.basealign?o[r].canv.width:"carousel"!==o[r].sliderType||p._isstatic?o[r].canv.width:o[r].carousel.slide_width,v=o[r].useFullScreenHeight?o[r].module.height:"grid"===p.basealign?o[r].content.height:"carousel"!==o[r].sliderType||p._isstatic?o[r].module.height:o[r].canv.height,f=p.x[o[r].level],w=p.y[o[r].level];if(p.gw=m,p.gh=v,u="slide"===p.basealign?0:Math.max(0,"fullscreen"==o[r].sliderLayout?o[r].module.height/2-o.iHE(r)*(o[r].keepBPHeight?1:o[r].CM.h)/2:o[r].autoHeight||null!=o[r].minHeight&&o[r].minHeight>0||o[r].keepBPHeight?o[r].canv.height/2-o.iHE(r)*o[r].CM.h/2:u),g="slide"===p.basealign?0:Math.max(0,g),"slide"!==p.basealign&&"carousel"===o[r].sliderType&&p._isstatic&&void 0!==o[r].carousel&&void 0!==o[r].carousel.horizontal_align&&(g=Math.max(0,"center"===o[r].carousel.horizontal_align?0+(o[r].module.width-o.iWA(r,"static")*o[r].CM.w)/2:"right"===o[r].carousel.horizontal_align?o[r].module.width-o[r].gridwidth[o[r].level]*o[r].CM.w:g)),o[r].lgridOffset={offsety:u,offsetx:g},"updateposition"!==e.mode){if(0==p.vbility[o[r].levelForced]||"f"==p.vbility[o[r].levelForced]||mx&&_<=1||_1?{width:"100%",height:"auto",left:"c"===f||"center"===f?"50%":"left"===f||"l"===f?"0":"auto",right:"r"===f||"right"===f?"0":"auto",top:"c"===w||"center"===w?"50%":"top"===w||"t"===w?"0":"auto",bottom:"b"===w||"bottom"===w?"0":"auto",x:"c"===f||"center"===f?"-50%":"0",y:"c"===w||"center"===f?"-50%":"0"}:{height:"100%",width:"auto",left:"c"===f||"center"===f?"50%":"left"===f||"l"===f?"0":"auto",right:"r"===f||"right"===f?"0":"auto",top:"c"===w||"center"===w?"50%":"top"===w||"t"===w?"0":"auto",bottom:"b"===w||"bottom"===w?"0":"auto",x:"c"===f||"center"===f?"-50%":"0",y:"c"===w||"center"===f?"-50%":"0"}}else void 0===p.group&&"auto"===p.width[o[r].level]&&"auto"===p.height[o[r].level]&&(p.width[o[r].level]=o.gA(p.img[0],"owidth",p.img[0].width),p.height[o[r].level]=o.gA(p.img[0],"owidth",p.img[0].height)),p.imgOBJ={width:"auto"!==p.width[o[r].level]||isNaN(p.width[o[r].level])&&p.width[o[r].level].indexOf("%")>=0?"100%":"auto",height:"auto"!==p.height[o[r].level]||isNaN(p.height[o[r].level])&&p.height[o[r].level].indexOf("%")>=0?"100%":"auto"};else if("video"===p.layertype){o.manageVideoLayer(l,r,s),"rebuild"!==e.mode&&o.resetVideo(l,r,e.mode),null!=p.aspectratio&&p.aspectratio.split(":").length>1&&1==p.bgvideo&&o.prepareCoveredVideo(r,l),p.media=void 0===p.media?p.deepiframe.length>0?jQuery(p.deepiframe[0]):jQuery(p.deepmedia[0]):p.media,p.html5vid=void 0===p.html5vid?!(p.deepiframe.length>0):p.html5vid,p.mediaOBJ={display:"block"};var S=p.width[o[r].level],k=p.height[o[r].level];if(S="auto"===S?S:!o.isNumeric(S)&&S.indexOf("%")>0?p._incolumn||p._ingroup?"100%":"grid"===p.basealign?o.iWA(r,e.slideIndex)*o[r].CM.w:m:"off"!==p.rsp_bd?parseFloat(S)*o[r].CM.w+"px":parseFloat(S)+"px",k="auto"===k?k:!o.isNumeric(k)&&k.indexOf("%")>0?"grid"===p.basealign?o.iHE(r)*o[r].CM.w:v:"off"!==p.rsp_bd?parseFloat(k)*o[r].CM.h+"px":parseFloat(k)+"px",p.vd=void 0===p.vd?o[r].videos[l[0].id].ratio.split(":").length>1?o[r].videos[l[0].id].ratio.split(":")[0]/o[r].videos[l[0].id].ratio.split(":")[1]:1:p.vd,!p._incolumn||"100%"!==S&&"auto"!==k||void 0===p.ytid)-1==l[0].className.indexOf("rs-fsv")?(k="auto"===k&&void 0!==p.vd&&"auto"!==S?"100%"===S?l.width()/p.vd:S/p.vd:k,p.vidOBJ={width:S,height:k}):(g=0,u=0,p.x=o.revToResp(0,o[r].rle,0),p.y=o.revToResp(0,o[r].rle,0),p.vidOBJ={width:S,height:o[r].autoHeight?o[r].canv.height:k}),0!=p.html5vid&&l.hasClass("rs-fsv")||(p.mediaOBJ={width:S,height:k,display:"block"}),p._ingroup&&null!==p.vidOBJ.width&&void 0!==p.vidOBJ.width&&!o.isNumeric(p.vidOBJ.width)&&p.vidOBJ.width.indexOf("%")>0&&(p.OBJUPD.lppmOBJ={minWidth:S});else{var R=l.width(),I="auto"===k?R/p.vd:k;p.vidOBJ={width:"auto",height:I},p.heightSetByVideo=!0}}p._slidelink||o[r].caches.calcResponsiveLayersList.push({a:l,b:r,c:0,d:p.rsp_bd,e:e.slideIndex}),"on"===p.rsp_ch&&"row"!==p.type&&"column"!==p.type&&"group"!==p.type&&"image"!==p.type&&"video"!==p.type&&"shape"!==p.type&&l.find("*").each(function(){var i=jQuery(this);"true"!==o.gA(this,"stylerecorder")&&!0!==o.gA(this,"stylerecorder")&&M(i,"rekursive",r),o[r].caches.calcResponsiveLayersList.push({a:i,b:r,c:"rekursive",d:p.rsp_bd,e:e.slideIndex,RSL:l})})}if("preset"!==e.mode){if(p.oldeow=p.eow,p.oldeoh=p.eoh,p.eow=l.outerWidth(!0),p.eoh=l.outerHeight(!0),p.imgInFirefox="image"==p.type&&"auto"==p.width[o[r].level]&&"100%"==p.height[o[r].level]&&o.isFirefox(r),p.imgInFirefox){var O=p.img.width();p.eow=0!==O?O:p.eow}if(p.eow<=0&&void 0!==p.lastknownwidth&&(p.eow=p.lastknownwidth),p.eoh<=0&&void 0!==p.lastknownheight&&(p.eoh=p.lastknownheight),void 0!==p.corners&&("text"===p.type||"button"===p.type||"shape"===p.type)){for(a in p.corners)if(p.corners.hasOwnProperty(a)){p.corners[a].css("borderWidth",p.eoh+"px");var T="rs-fcrt"===a||"rs-fcr"===a;p.corners[a].css("border"+(T?"Right":"Left"),"0px solid transparent"),p.corners[a].css("border"+("rs-fcrt"==a||"rs-bcr"==a?"Bottom":"Top")+"Color",p.bgcol)}p.eow=l.outerWidth(!0)}0==p.eow&&0==p.eoh&&(p.eow="grid"===p.basealign?o[r].content.width:o[r].module.width,p.eoh="grid"===p.basealign?o[r].content.height:o[r].module.height),p.basealign=o[r].justifyCarousel?"grid":p.basealign;var C="on"===p.rsp_o?parseInt(p.voffset[o[r].level],0)*o[r].CM.w:parseInt(p.voffset[o[r].level],0),A="on"===p.rsp_o?parseInt(p.hoffset[o[r].level],0)*o[r].CM.w:parseInt(p.hoffset[o[r].level],0),P="grid"===p.basealign?o.iWA(r,e.slideIndex)*o[r].CM.w:m,B="grid"===p.basealign?o.iHE(r)*(o[r].keepBPHeight||o[r].currentRowsHeight>o[r].gridheight[o[r].level]?1:o[r].CM.h):v;(1==o[r].gridEQModule||void 0!==p._lig&&"row"!==p.type&&"column"!==p.type&&"group"!==p.type)&&(P=void 0!==p._lig?p._lig.width():o[r].module.width,B=void 0!==p._lig?p._lig.height():o[r].module.height,g=0,u=0),"video"===p.type&&null!=p.vidOBJ&&(p.vidOBJ.height>=0&&0===p.eoh&&(p.eoh=p.vidOBJ.height),p.vidOBJ.width>=0&&0===p.eow&&(p.eow=p.vidOBJ.width)),f="c"===f||"m"===f||"center"===f||"middle"===f?P/2-p.eow/2+A:"l"===f||"left"===f?A:"r"===f||"right"===f?P-p.eow-A:"off"!==p.rsp_o?f*o[r].CM.w:f,w="m"===w||"c"===w||"center"===w||"middle"===w?B/2-p.eoh/2+C:"t"===w||"top"==w?C:"b"===w||"bottom"==w?B-p.eoh-C:"off"!==p.rsp_o?w*o[r].CM.w:w,f=p._slidelink?0:o[r].rtl&&-1==(""+p.width[o[r].level]).indexOf("%")?parseInt(f)+p.eow:f,p.calcx=parseInt(f,0)+g,p.calcy=parseInt(w,0)+u,"row"!==p.type&&"column"!==p.type?p.OBJUPD.POBJ={zIndex:p.zindex,top:p.calcy,left:p.calcx,overwrite:"auto"}:"row"!==p.type?p.OBJUPD.POBJ={zIndex:p.zindex,width:p.columnwidth,top:0,left:0,overwrite:"auto"}:"row"===p.type&&(p.OBJUPD.POBJ={zIndex:p.zindex,width:"grid"===p.basealign?P+"px":"100%",top:0,left:o[r].rtl?-1*g:g,overwrite:"auto"},p.cbreak<=o[r].level?-1===l[0].className.indexOf("rev_break_columns")&&l[0].classList.add("rev_break_columns"):l[0].className.indexOf("rev_break_columns")>0&&l[0].classList.remove("rev_break_columns"),p.rowcalcx=p.OBJUPD.POBJ.left,p.pow=p.p.outerWidth(!0)),void 0!==p.blendmode&&(p.OBJUPD.POBJ.mixBlendMode=p.blendmode),(void 0!==p.frames.loop||p.imgInFirefox)&&(p.OBJUPD.LPOBJ={width:p.eow,height:p.eoh}),p._ingroup&&(void 0!==p._groupw&&!o.isNumeric(p._groupw)&&p._groupw.indexOf("%")>0&&(p.OBJUPD.lppmOBJ.minWidth=p._groupw),void 0!==p._grouph&&!o.isNumeric(p._grouph)&&p._grouph.indexOf("%")>0&&(p.OBJUPD.lppmOBJ.minHeight=p._grouph)),"updateposition"===e.mode&&(p.caches.POBJ_LEFT===p.OBJUPD.POBJ.left&&p.caches.POBJ_TOP===p.OBJUPD.POBJ.top||(tpGS.gsap.set(p.p,p.OBJUPD.POBJ),p.caches.POBJ_LEFT=p.OBJUPD.POBJ.left,p.caches.POBJ_TOP=p.OBJUPD.POBJ.top)),e.animcompleted&&o.animcompleted(l,r)}}},hoverReverseDone:function(e){o[e.id]._L[e.L[0].id].textDecoration&&tpGS.gsap.set(o[e.id]._L[e.L[0].id].c,{textDecoration:o[e.id]._L[e.L[0].id].textDecoration})},animcompleted:function(e,i,t){if(void 0!==o[i].videos){var a=o[i].videos[e[0].id];null!=a&&null!=a.type&&"none"!=a.type&&(1==a.aplay||"true"==a.aplay||"on"==a.aplay||"1sttime"==a.aplay?(("carousel"!==o[i].sliderType||e.closest("rs-slide").index()==o[i].carousel.focused||e.closest("rs-slide").index()==o[i].activeRSSlide&&o[i].carousel.oldfocused==o[i].carousel.focused||t)&&o.playVideo(e,i),o.toggleState(e.data("videotoggledby")),(a.aplay1||"1sttime"==a.aplay)&&(a.aplay1=!1,a.aplay=!1)):("no1sttime"==a.aplay&&(a.aplay=!0),o.unToggleState(e.data("videotoggledby"))))}},handleStaticLayers:function(e,i){var t=0,a=o[i].realslideamount+1;if(void 0!==o.gA(e[0],"onslides")){var r=o.gA(e[0],"onslides").split(";");for(var s in r)if(r.hasOwnProperty(s)){var n=r[s].split(":");"s"===n[0]&&(t=parseInt(n[1],0)),"e"===n[0]&&(a=parseInt(n[1],0))}}t=Math.max(0,t),a=Math.min(o[i].realslideamount,a<0?o[i].realslideamount:a),a=1!==t&&0!==t||a!==o[i].realslideamount?a:o[i].realslideamount+1,e.data("startslide",t),e.data("endslide",a),o.sA(e[0],"startslide",t),o.sA(e[0],"endslide",a)},updateLayersOnFullStage:function(e){if(o[e].caches.calcResponsiveLayersList.length>0){!0!==o[e].slideHasIframe&&!0!==o[e].fullScreenMode&&("carousel"===o[e].sliderType?o[e].carousel.wrap.detach():o[e].canvas.detach());for(var i=0;i0&&e.index>=0&&o[e.id].rowzones[Math.min(e.index,o[e.id].rowzones.length)]&&o[e.id].rowzones[Math.min(e.index,o[e.id].rowzones.length)].length>0||void 0!==o[e.id].srowzones&&o[e.id].srowzones.length>0||void 0!==o[e.id].smiddleZones&&o[e.id].smiddleZones.length>0)&&(o.updateDims(e.id),o.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateposition"}),o.initLayer({id:e.id,skey:"static",slideIndex:"static",mode:"updateposition"}),"start"!==e.mode&&"preset"!==e.mode||o.manageNavigation(e.id))},updateLayerDimensions:function(e){var i=!1;o[e.id].caches.calcResponsiveLayersList=[],void 0===e.key||"individual"!=e.key&&void 0===o[e.id].layers[e.key]||!o.checkLayerDimensions({id:e.id,skey:e.key,slideIndex:e.slide})||(i=!0),o.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateAndResize"}),o[e.id].layers.static&&o.checkLayerDimensions({id:e.id,skey:"static",slideIndex:"static"})&&(i=!0,o.initLayer({id:e.id,skey:"static",slideIndex:"static",mode:"updateAndResize"})),i&&o.updateLayersOnFullStage(e.id)},updateAnimatingLayerPositions:function(e){o.initLayer({id:e.id,skey:e.key,slideIndex:e.slide,mode:"updateposition"})},removeTheLayers:function(e,i,t){var a=o.gA(e[0],"key");for(var r in o[i].sloops&&o[i].sloops[a]&&o[i].sloops[a].tl&&o[i].sloops[a].tl.pause(),o[i].layers[a])o[i].layers[a].hasOwnProperty(r)&&o.renderLayerAnimation({layer:jQuery(o[i].layers[a][r]),frame:"frame_999",mode:"continue",remove:!0,id:i,allforce:t});for(var r in o[i].layers.static)o[i].layers.static.hasOwnProperty(r)&&o.renderLayerAnimation({layer:jQuery(o[i].layers.static[r]),frame:"frame_999",mode:"continue",remove:!0,id:i,allforce:t})},renderLayerAnimation:function(e){var t,a=e.layer,r=e.id,s=o[r].level,h=o[r]._L[a[0].id],v=void 0!==h.timeline?h.timeline.time():void 0,f=!1,y=!1,b="none";if(("containerResized_2"!==e.caller&&"swapSlideProgress_2"!==e.caller||!0===h.animationRendered)&&(h.animationRendered=!0,"preset"!==e.mode||!0===h.frames.frame_1.timeline.waitoncall||void 0!==h.scrollBasedOffset)){if("trigger"==e.mode&&(h.triggeredFrame=e.frame),h._isstatic){var x="carousel"===o[r].sliderType&&void 0!==o[r].carousel.oldfocused?o[r].carousel.oldfocused:void 0===o[r].pr_lastshown_key?1:parseInt(o[r].pr_lastshown_key,0)+1,k="carousel"===o[r].sliderType?void 0===o[r].pr_next_key?0===x?1:x:parseInt(o[r].pr_next_key,0)+1:void 0===o[r].pr_processing_key?x:parseInt(o[r].pr_processing_key,0)+1,L=x>=h.startslide&&x<=h.endslide,R=k>=h.startslide&&k<=h.endslide;if(b=x===h.endslide&&"continue"===e.mode||("continue"===e.mode||x===h.endslide)&&"none",!0===e.allforce||!0===b){if("continue"===e.mode&&"frame_999"===e.frame&&(R||void 0===h.lastRequestedMainFrame))return}else{if("preset"===e.mode&&(h.elementHovered||!R))return;if("rebuild"===e.mode&&!L&&!R)return;if("start"===e.mode&&R&&"frame_1"===h.lastRequestedMainFrame)return;if(("start"===e.mode||"preset"===e.mode)&&"frame_999"===h.lastRequestedMainFrame&&!0!==h.leftstage)return;if("continue"===e.mode&&"frame_999"===e.frame&&(R||void 0===h.lastRequestedMainFrame))return;if("start"===e.mode&&!R)return}}else"start"===e.mode&&"keep"!==h.triggercache&&(h.triggeredFrame=void 0);for(var I in"start"===e.mode&&(void 0!==h.layerLoop&&(h.layerLoop.count=0),e.frame=void 0===h.triggeredFrame?0:h.triggeredFrame),"continue"===e.mode||"trigger"===e.mode||void 0===h.timeline||h._isstatic&&!0===h.leftstage||h.timeline.pause(0),"continue"!==e.mode&&"trigger"!==e.mode||void 0===h.timeline||h.timeline.pause(),h.timeline=tpGS.gsap.timeline({paused:!0}),"text"!==h.type&&"button"!==h.type||void 0!==h.splitText&&(void 0!==h.splitTextFix||"start"!==e.mode&&"preset"!==e.mode)||(w({layer:a,id:r}),"start"===e.mode&&(h.splitTextFix=!0)),h.ford)if(h.ford.hasOwnProperty(I)){var O=h.ford[I],T=!1;if("frame_0"!==O&&"frame_hover"!==O&&"loop"!==O){if("frame_999"===O&&!h.frames[O].timeline.waitoncall&&h.frames[O].timeline.start>=o[r].duration&&!0!==e.remove&&(h.frames[O].timeline.waitoncall=!0),"start"===e.mode&&"keep"!==h.triggercache&&(h.frames[O].timeline.callstate=h.frames[O].timeline.waitoncall?"waiting":""),"trigger"===e.mode&&h.frames[O].timeline.waitoncall&&(O===e.frame?(h.frames[O].timeline.triggered=!0,h.frames[O].timeline.callstate="called"):h.frames[O].timeline.triggered=!1),"rebuild"===e.mode||h.frames[O].timeline.triggered||(h.frames[O].timeline.callstate=h.frames[O].timeline.waitoncall?"waiting":""),!1!==e.fastforward){if(("continue"===e.mode||"trigger"===e.mode)&&!1===y&&O!==e.frame)continue;if(("rebuild"===e.mode||"preset"===e.mode)&&!1===y&&void 0!==h.triggeredFrame&&O!==h.triggeredFrame)continue;(O===e.frame||"rebuild"===e.mode&&O===h.triggeredFrame)&&(y=!0)}else O===e.frame&&(y=!0);if(O!==e.frame&&h.frames[O].timeline.waitoncall&&"called"!==h.frames[O].timeline.callstate&&(f=!0),O!==e.frame&&y&&(f=!0===f&&h.frames[O].timeline.waitoncall?"skiprest":!0!==f&&f),void 0===h.hideonfirststart&&"frame_1"===O&&h.frames[O].timeline.waitoncall&&(h.hideonfirststart=!0),f&&"waiting"===h.frames[O].timeline.callstate&&"preset"===e.mode&&1!=h.firstTimeRendered){if(h._isstatic&&void 0===h.currentframe)continue;T=!0,h.firstTimeRendered=!0}else if("skiprest"===f||"called"!==h.frames[O].timeline.callstate&&f&&e.toframe!==O)continue;if("frame_999"!==O||!1!==b||"continue"!==e.mode&&"start"!==e.mode&&"rebuild"!==e.mode){h.fff="frame_1"===O&&("trigger"!==e.mode||"frame_999"===h.currentframe||"frame_0"===h.currentframe||void 0===h.currentframe),"trigger"===e.mode&&"frame_1"===e.frame&&!1===h.leftstage&&(h.fff=!1),T||(h.frames[O].timeline.callstate="called",h.currentframe=O);var C=h.frames[O],A=h.fff?h.frames.frame_0:void 0,M=tpGS.gsap.timeline(),P=tpGS.gsap.timeline(),B=h.c,D=void 0!==C.sfx&&_(C.sfx.effect,h.m,C.timeline.ease),z=C.timeline.speed/1e3,G=0,H=S({id:r,frame:C,layer:a,ease:C.timeline.ease,splitAmount:B.length,target:O,forcefilter:void 0!==h.frames.frame_hover&&void 0!==h.frames.frame_hover.filter}),N=h.fff?S({id:r,frame:A,layer:a,ease:C.timeline.ease,splitAmount:B.length,target:"frame_0"}):void 0,j=void 0!==C.mask?S({id:r,frame:{transform:{x:C.mask.x,y:C.mask.y}},layer:a,ease:H.ease,target:"mask"}):void 0,F=void 0!==j&&h.fff?S({id:r,frame:{transform:{x:A.mask.x,y:A.mask.y}},layer:a,ease:H.ease,target:"frommask"}):void 0,W=H.ease;if(H.force3D=!0,"block"===D.type&&(D.ft[0].background=C.sfx.fxc,D.ft[0].visibility="visible",D.ft[1].visibility="visible",M.add(tpGS.gsap.fromTo(D.bmask_in,z/2,D.ft[0],D.ft[1],0)),M.add(tpGS.gsap.fromTo(D.bmask_in,z/2,D.ft[1],D.t,z/2)),"frame_0"!==O&&"frame_1"!==O||(N.opacity=0)),void 0!==C.color?H.color=C.color:void 0!==h.color&&"npc"!==h.color[s]&&(H.color=h.color[s]),void 0!==A&&void 0!==A.color?N.color=A.color:void 0!==A&&void 0!==h.color&&"npc"!==h.color[s]&&(N.color=h.color[s]),void 0!==C.bgcolor?C.bgcolor.indexOf("gradient")>=0?H.background=C.bgcolor:H.backgroundColor=C.bgcolor:!0===h.bgcolinuse&&(h.bgcol.indexOf("gradient")>=0?H.background=h.bgcol:H.backgroundColor=h.bgcol),void 0!==A&&(void 0!==A.bgcolor?A.bgcolor.indexOf("gradient")>=0?N.background=A.bgcolor:N.backgroundColor=A.bgcolor:!0===h.bgcolinuse&&(h.bgcol.indexOf("gradient")>=0?N.background=h.bgcol:N.backgroundColor=h.bgcol)),void 0!==h.splitText&&!1!==h.splitText)for(var V in i)if(void 0!==C[i[V]]&&!h.quickRendering){var E=h.splitText[i[V]],X=S({id:r,frame:C,source:i[V],ease:W,layer:a,splitAmount:E.length,target:O+"_"+i[V]}),Y=h.fff?S({id:r,frame:A,ease:X.ease,source:i[V],layer:a,splitAmount:E.length,target:"frame_0_"+i[V]}):void 0,Q=h.frames[O].dosplit?void 0===C[i[V]].delay?.05:C[i[V]].delay/100:0;h.color[s]===H.color&&"frame_1"===O||(X.color=H.color),void 0!==N&&h.color[s]!==N.color&&(Y.color=N.color),void 0!==Y&&Y.color!==H.color&&(X.color=H.color);var J=o.clone(X),q=h.fff?o.clone(Y):void 0,U=C[i[V]].dir;delete J.dir,J.data={splitted:!0},J.stagger="center"===U||"edge"===U?c({each:Q,offset:Q/2,from:U}):{each:Q,from:U},J.duration=z,void 0!==q&&delete q.dir,h.fff?M.add(P.fromTo(E,q,J),0):M.add(P.to(E,J),0),G=Math.max(G,E.length*Q)}if(z+=G,void 0===t&&(t="isometric"===o[r].perspectiveType?0:"local"===o[r].perspectiveType?void 0!==H.transformPerspective?H.transformPerspective:h.fff&&void 0!==N.transfromPerspective?N.transfromPerspective:o[r].perspective:o[r].perspective),h.knowTransformPerspective=t,h.pxundermask||void 0!==j&&(void 0!==A&&"hidden"===A.mask.overflow||"hidden"===C.mask.overflow))M.add(tpGS.gsap.to(h.m,.001,{overflow:"hidden"}),0),"column"===h.type&&M.add(tpGS.gsap.to(h.cbgmask,.001,{overflow:"hidden"}),0),h.btrans&&(F&&(F.rotationX=h.btrans.rX,F.rotationY=h.btrans.rY,F.rotationZ=h.btrans.rZ,F.opacity=h.btrans.o),j.rotationX=h.btrans.rX,j.rotationY=h.btrans.rY,j.rotationZ=h.btrans.rZ,j.opacity=h.btrans.o),h.fff?M.add(tpGS.gsap.fromTo([h.m,h.cbgmask],z,o.clone(F),o.clone(j)),.001):M.add(tpGS.gsap.to([h.m,h.cbgmask],z,o.clone(j)),.001);else if(void 0!==h.btrans){var Z={x:0,y:0,filter:"none",opacity:h.btrans.o,rotationX:h.btrans.rX,rotationY:h.btrans.rY,rotationZ:h.btrans.rZ,overflow:"visible"};0===h.btrans.rX&&0==h.btrans.rY||(h.maskHasPerspective=!0,Z.transformPerspective=t),M.add(tpGS.gsap.to(h.m,.001,Z),0)}else M.add(tpGS.gsap.to(h.m,.001,{clearProps:"transform",overflow:"visible"}),0);H.force3D="auto",h.fff?(H.visibility="visible",void 0!==h.cbg&&M.fromTo(h.cbg,z,N,H,0),o[r].BUG_safari_clipPath&&(N.clipPath||H.clipPath||h.spike)&&(N.z&&parseInt(N.z,10)||(N.z=-1e-4),H.z&&parseInt(H.z,10)||(H.z=0)),void 0!==h.cbg&&"column"===h.type?M.fromTo(B,z,n(N),n(H),0):M.fromTo(B,z,N,H,0),M.invalidate()):("frame_999"!==h.frame&&(H.visibility="visible"),void 0!==h.cbg&&M.to(h.cbg,z,H,0),!o[r].BUG_safari_clipPath||!H.clipPath&&!h.spike||H.z&&parseInt(H.z,10)||(H.z=0-.01*Math.random()),void 0!==h.cbg&&"column"===h.type?M.to(B,z,n(H),0):M.to(B,z,H,0)),void 0!==W&&"object"!=typeof W&&"function"!=typeof W&&W.indexOf("SFXBounce")>=0&&M.to(B,z,{scaleY:.5,scaleX:1.3,ease:H.ease+"-squash",transformOrigin:"bottom"},1e-4);var K="trigger"!==e.mode&&(!0!==f&&"skiprest"!==f||"rebuild"!==e.mode)||e.frame===O||void 0===C.timeline.start||!o.isNumeric(C.timeline.start)?"+=0"===C.timeline.start||void 0===C.timeline.start?"+=0.05":parseInt(C.timeline.start,0)/1e3:"+="+parseInt(C.timeline.startRelative,0)/1e3;h.timeline.addLabel(O,K),h.timeline.add(M,K),h.timeline.addLabel(O+"_end","+=0.01"),M.eventCallback("onStart",p,[{id:r,frame:O,L:a,tPE:t}]),"true"==h.animationonscroll||1==h.animationonscroll?(M.eventCallback("onUpdate",g,[{id:r,frame:O,L:a}]),M.smoothChildTiming=!0):M.eventCallback("onUpdate",g,[{id:r,frame:O,L:a}]),M.eventCallback("onComplete",u,[{id:r,frame:O,L:a,tPE:t}])}}}if(void 0!==h.frames.loop){var $=parseInt(h.frames.loop.timeline.speed,0)/1e3,ee=parseInt(h.frames.loop.timeline.start)/1e3||0,ie="trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame?.2:0,te=ee+ie;h.loop={root:tpGS.gsap.timeline({}),preset:tpGS.gsap.timeline({}),move:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_move}),rotate:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_rotate}),scale:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_scale}),filter:tpGS.gsap.timeline({repeat:-1,yoyo:h.frames.loop.timeline.yoyo_filter})};var ae=h.frames.loop.frame_0,re=h.frames.loop.frame_999,oe="blur("+parseInt(ae.blur||0,0)+"px) grayscale("+parseInt(ae.grayscale||0,0)+"%) brightness("+parseInt(ae.brightness||100,0)+"%)",se="blur("+(re.blur||0)+"px) grayscale("+(re.grayscale||0)+"%) brightness("+(re.brightness||100)+"%)";if(h.loop.root.add(h.loop.preset,0),h.loop.root.add(h.loop.move,ie),h.loop.root.add(h.loop.rotate,ie),h.loop.root.add(h.loop.scale,ie),h.loop.root.add(h.loop.filter,ie),"blur(0px) grayscale(0%) brightness(100%)"===oe&&"blur(0px) grayscale(0%) brightness(100%)"===se&&(oe="none",se="none"),re.originX=ae.originX,re.originY=ae.originY,re.originZ=ae.originZ,void 0===t&&(t="isometric"===o[r].perspectiveType?0:"local"===o[r].perspectiveType&&void 0!==H?void 0!==H.transformPerspective?H.transformPerspective:h.fff&&void 0!==N.transfromPerspective?N.transfromPerspective:o[r].perspective:o[r].perspective),h.frames.loop.timeline.curved){var ne=parseInt(h.frames.loop.timeline.radiusAngle,0)||0,de=[{x:(ae.x-ae.xr)*o[r].CM.w,y:0,z:(ae.z-ae.zr)*o[r].CM.w},{x:0,y:(ae.y+ae.yr)*o[r].CM.w,z:0},{x:(re.x+re.xr)*o[r].CM.w,y:0,z:(re.z+re.zr)*o[r].CM.w},{x:0,y:(re.y-re.yr)*o[r].CM.w,z:0}],le={type:"thru",curviness:h.frames.loop.timeline.curviness,path:[],autoRotate:h.frames.loop.timeline.autoRotate};for(var ce in de)de.hasOwnProperty(ce)&&(le.path[ce]=de[ne],ne=++ne==de.length?0:ne);("trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame)&&h.loop.preset.fromTo(h.lp,ie,{"-webkit-filter":oe,filter:oe,x:0,y:0,z:0,minWidth:h._incolumn||h._ingroup?"100%":void 0===h.eow?0:h.eow,minHeight:h._incolumn||h._ingroup?"100%":void 0===h.eoh?0:h.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:t,transformOrigin:re.originX+" "+re.originY+" "+re.originZ,opacity:1},l({x:le.path[3].x,y:le.path[3].y,z:le.path[3].z,scaleX:ae.scaleX,skewX:ae.skewX,skewY:ae.skewY,scaleY:ae.scaleY,rotationX:ae.rotationX,rotationY:ae.rotationY,rotationZ:ae.rotationZ,"-webkit-filter":oe,filter:oe,ease:"sine.inOut",opacity:ae.opacity}),0),d(le)&&h.loop.move.to(h.lp,h.frames.loop.timeline.yoyo_move?$/2:$,{motionPath:le,ease:h.frames.loop.timeline.ease})}else("trigger"!==e.mode&&"frame_999"!==e.frame||"frame_999"!==e.frame)&&h.loop.preset.fromTo(h.lp,ie,{"-webkit-filter":oe,filter:oe,x:0,y:0,z:0,minWidth:h._incolumn||h._ingroup?"100%":void 0===h.eow?0:h.eow,minHeight:h._incolumn||h._ingroup?"100%":void 0===h.eoh?0:h.eoh,scaleX:1,scaleY:1,skewX:0,skewY:0,rotationX:0,rotationY:0,rotationZ:0,transformPerspective:t,transformOrigin:re.originX+" "+re.originY+" "+re.originZ,opacity:1},l({x:ae.x*o[r].CM.w,y:ae.y*o[r].CM.w,z:ae.z*o[r].CM.w,scaleX:ae.scaleX,skewX:ae.skewX,skewY:ae.skewY,scaleY:ae.scaleY,rotationX:ae.rotationX,rotationY:ae.rotationY,rotationZ:ae.rotationZ,ease:"sine.out",opacity:ae.opacity,"-webkit-filter":oe,filter:oe}),0),h.loop.move.to(h.lp,h.frames.loop.timeline.yoyo_move?$/2:$,{x:re.x*o[r].CM.w,y:re.y*o[r].CM.w,z:re.z*o[r].CM.w,ease:h.frames.loop.timeline.ease});h.loop.rotate.to(h.lp,h.frames.loop.timeline.yoyo_rotate?$/2:$,{rotationX:re.rotationX,rotationY:re.rotationY,rotationZ:re.rotationZ,ease:h.frames.loop.timeline.ease}),h.loop.scale.to(h.lp,h.frames.loop.timeline.yoyo_scale?$/2:$,l({scaleX:re.scaleX,scaleY:re.scaleY,skewX:re.skewX,skewY:re.skewY,ease:h.frames.loop.timeline.ease}));var pe={opacity:re.opacity||1,ease:h.frames.loop.timeline.ease,"-webkit-filter":se,filter:se};h.loop.filter.to(h.lp,h.frames.loop.timeline.yoyo_filter?$/2:$,pe),h.timeline.add(h.loop.root,te)}if(void 0!==h.frames.frame_hover&&("start"===e.mode||void 0===h.hoverframeadded)){h.hoverframeadded=!0;var ge=h.frames.frame_hover.timeline.speed/1e3;ge=0===ge?1e-5:ge,h.hoverlistener||(h.hoverlistener=!0,o.document.on("mouseenter mousemove",("column"===h.type?"#"+h.cbg[0].id+",":"")+"#"+h.c[0].id,function(e){if("mousemove"!==e.type||!0!==h.ignoremousemove){if(h.animationonscroll||h.readyForHover){if(h.elementHovered=!0,h.hovertimeline||(h.hovertimeline=tpGS.gsap.timeline({paused:!0})),0==h.hovertimeline.progress()&&(void 0===h.lastHoveredTimeStamp||(new Date).getTime()-h.lastHoveredTimeStamp>150)&&(h.ignoremousemove=!0,h.hovertimeline.to([h.m,h.cbgmask],ge,{overflow:h.frames.frame_hover.mask?"hidden":"visible"},0),"column"===h.type&&h.hovertimeline.to(h.cbg,ge,o.clone(m(h.frames.frame_hover,h.cbg,{bgCol:h.bgcol,bg:h.styleProps.background})),0),"text"!==h.type&&"button"!==h.type||void 0===h.splitText||!1===h.splitText||h.hovertimeline.to([h.splitText.lines,h.splitText.words,h.splitText.chars],ge,{color:h.frames.frame_hover.color,ease:h.frames.frame_hover.transform.ease},0),"column"===h.type?h.hovertimeline.to(h.c,ge,n(o.clone(m(h.frames.frame_hover,h.c,{bgCol:h.bgcol,bg:h.styleProps.background}))),0):h.hovertimeline.to(h.c,ge,o.clone(m(h.frames.frame_hover,h.c,{bgCol:h.bgcol,bg:h.styleProps.background})),0),"svg"===h.type)){h.svgHTemp=o.clone(h.svgH);var i=Array.isArray(h.svgHTemp.fill)?h.svgHTemp.fill[o[r].level]:h.svgHTemp.fill;h.svgHTemp.fill=i,h.hovertimeline.to(h.svg,ge,h.svgHTemp,0),h.hovertimeline.to(h.svgPath,ge,{fill:i},0)}h.hovertimeline.play()}h.lastHoveredTimeStamp=(new Date).getTime()}}),o.document.on("mouseleave",("column"===h.type?"#"+h.cbg[0].id+",":"")+"#"+h.c[0].id,function(){h.elementHovered=!1,(h.animationonscroll||h.readyForHover)&&void 0!==h.hovertimeline&&(h.hovertimeline.reverse(),h.hovertimeline.eventCallback("onReverseComplete",o.hoverReverseDone,[{id:r,L:a}]))}))}if(T||(h.lastRequestedMainFrame="start"===e.mode?"frame_1":"continue"===e.mode?void 0===e.frame?h.currentframe:e.frame:h.lastRequestedMainFrame),void 0!==e.totime?h.tSTART=e.totime:void 0!==v&&void 0===e.frame?h.tSTART=v:void 0!==e.frame?h.tSTART=e.frame:h.tSTART=0,0===h.tSTART&&void 0===h.startedAnimOnce&&void 0===h.leftstage&&void 0===h.startedAnimOnce&&!0===h.hideonfirststart&&"preset"===e.mode&&(o[r]._L[a[0].id].pVisRequest=0,h.hideonfirststart=!1),"frame_999"!==h.tSTART&&"frame_999"!==h.triggeredFrame||!h.leftstage&&void 0!==h.startedAnimOnce){if("true"!=h.animationonscroll&&1!=h.animationonscroll?h.timeline.play(h.tSTART):h.timeline.time(h.tSTART),jQuery.inArray(h.type,["group","row","column"])>=0&&void 0!==e.frame){if(void 0===h.childrenJS)for(var V in h.childrenJS={},o[r]._L)void 0!==o[r]._L[V]._lig&&void 0!==o[r]._L[V]._lig[0]&&o[r]._L[V]._lig[0].id===a[0].id&&o[r]._L[V]._lig[0].id!==o[r]._L[V].c[0].id&&(h.childrenJS[o[r]._L[V].c[0].id]=o[r]._L[V].c);e.frame="0"==e.frame?"frame_0":e.frame,e.frame="1"==e.frame?"frame_1":e.frame,e.frame="999"==e.frame?"frame_999":e.frame;var ue=void 0===e.totime?void 0!==h.frames[e.frame].timeline.startAbsolute?parseInt(h.frames[e.frame].timeline.startAbsolute,0)/1e3:void 0!==h.frames[e.frame].timeline.start?o.isNumeric(h.frames[e.frame].timeline.start)?parseInt(h.frames[e.frame].timeline.start,0)/1e3:0:.001:e.totime;if(!0===e.updateChildren)for(var V in h.childrenJS)h.childrenJS.hasOwnProperty(V)&&o.renderLayerAnimation({layer:h.childrenJS[V],fastforward:!1,id:r,mode:"continue",updateChildren:!0,totime:ue});else for(var V in h.childrenJS)h.childrenJS.hasOwnProperty(V)&&o[r]._L[V].pausedTrueParrent&&(o.renderLayerAnimation({layer:h.childrenJS[V],fastforward:!1,id:r,mode:"continue",updateChildren:!0,totime:ue}),o[r]._L[V].pausedTrueParrent=!1)}}else;}}});var n=function(e){var i=o.clone(e);return delete i.backgroundColor,delete i.background,delete i.backgroundImage,delete i.borderSize,delete i.borderStyle,delete i["backdrop-filter"],i},d=function(e){if(void 0!==e&&void 0!==e.path&&Array.isArray(e.path)){var i=0,t=0;for(var a in e.path)!e.path.hasOwnProperty(a)||i>0||t>0||(i+=e.path[a].x,t+=e.path[a].y);return 0!=i||0!=t}},l=function(e){return void 0===e.skewX&&delete e.skewX,void 0===e.skewY&&delete e.skewY,e},c=function(e){e.from="edge"===e.from?"edges":e.from;var i=tpGS.gsap.utils.distribute(e);return function(t,a,r){return i(t,a,r)+(t<=r.length/2?0:e.offset||0)}},p=function(e){o[e.id].BUG_safari_clipPath&&e.L[0].classList.remove("rs-pelock"),(o[e.id]._L[e.L[0].id]._ingroup||o[e.id]._L[e.L[0].id]._incolumn||o[e.id]._L[e.L[0].id]._inrow)&&void 0!==o[e.id]._L[o[e.id]._L[e.L[0].id]._ligid]&&void 0!==o[e.id]._L[o[e.id]._L[e.L[0].id]._ligid].timeline&&(o[e.id]._L[o[e.id]._L[e.L[0].id]._ligid].timeline.isActive()||void 0===o[e.id]._L[e.L[0].id]||void 0===o[e.id]._L[e.L[0].id].frames[o[e.id]._L[e.L[0].id].timeline.currentLabel()]||(null==o[e.id]._L[o[e.id]._L[e.L[0].id]._ligid].timezone||o[e.id]._L[o[e.id]._L[e.L[0].id]._ligid].timezone.to<=parseInt(o[e.id]._L[e.L[0].id].frames[o[e.id]._L[e.L[0].id].timeline.currentLabel()].timeline.start,0))&&!0!==o[e.id]._L[e.L[0].id].animOnScrollForceDisable&&(o[e.id]._L[e.L[0].id].pausedTrueParrent=!0,o[e.id]._L[e.L[0].id].timeline.pause()));var i=o[e.id]._L[e.L[0].id],t=i.hovertimeline;t&&t.time()>0&&(t.pause(),t.time(0),t.kill(),delete i.hovertimeline),delete o[e.id]._L[e.L[0].id].childrenAtStartNotVisible,o[e.id]._L[e.L[0].id].pVisRequest=1;var a={layer:e.L};o[e.id]._L[e.L[0].id].ignoremousemove=!1,o[e.id]._L[e.L[0].id].leftstage=!1,o[e.id]._L[e.L[0].id].readyForHover=!1,void 0!==o[e.id]._L[e.L[0].id].layerLoop&&o[e.id]._L[e.L[0].id].layerLoop.from===e.frame&&o[e.id]._L[e.L[0].id].layerLoop.count++,"frame_1"===e.frame&&"Safari"===window.RSBrowser&&void 0===o[e.id]._L[e.L[0].id].safariRenderIssue&&(tpGS.gsap.set([o[e.id]._L[e.L[0].id].c],{opacity:1}),o[e.id]._L[e.L[0].id].safariRenderIssue=!0),"frame_999"!==e.frame&&(o[e.id]._L[e.L[0].id].startedAnimOnce=!0,o[e.id]._L[e.L[0].id].pPeventsRequest=o[e.id]._L[e.L[0].id].noPevents?"none":"auto"),a.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enterstage":"frame_999"===e.frame?"leavestage":"framestarted",window.requestAnimationFrame(function(){o[e.id]._L[e.L[0].id]._ingroup&&!0!==o[e.id]._L[o[e.id]._L[e.L[0].id]._lig[0].id].frames.frame_1.timeline.waitoncall&&(o[e.id]._L[o[e.id]._L[e.L[0].id]._lig[0].id].pVisRequest=1),o.requestLayerUpdates(e.id,a.eventtype,e.L[0].id,void 0!==o[e.id]._L[e.L[0].id].frames[e.frame]&&void 0!==o[e.id]._L[e.L[0].id].frames[e.frame].timeline&&0==o[e.id]._L[e.L[0].id].frames[e.frame].timeline.usePerspective?e.tPE:"ignore")}),a.id=e.id,a.layerid=e.L[0].id,a.layertype=o[e.id]._L[e.L[0].id].type,a.frame_index=e.frame,a.layersettings=o[e.id]._L[e.L[0].id],o[e.id].c.trigger("revolution.layeraction",[a]),"enterstage"===a.eventtype&&o.toggleState(o[e.id]._L[e.L[0].id].layertoggledby),"frame_1"===e.frame&&o.animcompleted(e.L,e.id)},g=function(e){"frame_999"===e.frame&&(o[e.id]._L[e.L[0].id].pVisRequest=1,o[e.id]._L[e.L[0].id].pPeventsRequest=o[e.id]._L[e.L[0].id].noPevents?"none":"auto",o[e.id]._L[e.L[0].id].leftstage=!1,window.requestAnimationFrame(function(){o.requestLayerUpdates(e.id,"update",e.L[0].id)}))},u=function(e){var i=!0;if("column"===o[e.id]._L[e.L[0].id].type||"row"===o[e.id]._L[e.L[0].id].type||"group"===o[e.id]._L[e.L[0].id].type){var t=o[e.id]._L[e.L[0].id].timeline.currentLabel(),a=jQuery.inArray(t,o[e.id]._L[e.L[0].id].ford);a++,a=o[e.id]._L[e.L[0].id].ford.length>a?o[e.id]._L[e.L[0].id].ford[a]:t,void 0!==o[e.id]._L[e.L[0].id].frames[a]&&void 0!==o[e.id]._L[e.L[0].id].frames[t]&&(o[e.id]._L[e.L[0].id].timezone={from:parseInt(o[e.id]._L[e.L[0].id].frames[t].timeline.startAbsolute,0),to:parseInt(o[e.id]._L[e.L[0].id].frames[a].timeline.startAbsolute,0)})}if("frame_999"!==e.frame&&o[e.id].isEdge&&"shape"===o[e.id]._L[e.L[0].id].type){var r=o[e.id]._L[e.L[0].id].c[0].style.opacity;o[e.id]._L[e.L[0].id].c[0].style.opacity=r-1e-4,tpGS.gsap.set(o[e.id]._L[e.L[0].id].c[0],{opacity:r-.001,delay:.05}),tpGS.gsap.set(o[e.id]._L[e.L[0].id].c[0],{opacity:r,delay:.1})}var s={};s.layer=e.L,s.eventtype="frame_0"===e.frame||"frame_1"===e.frame?"enteredstage":"frame_999"===e.frame?"leftstage":"frameended",o[e.id]._L[e.L[0].id].readyForHover=!0,s.layertype=o[e.id]._L[e.L[0].id].type,s.frame_index=e.frame,s.layersettings=o[e.id]._L[e.L[0].id],o[e.id].c.trigger("revolution.layeraction",[s]),"frame_999"===e.frame&&"leftstage"===s.eventtype?(o[e.id]._L[e.L[0].id].leftstage=!0,o[e.id]._L[e.L[0].id].pVisRequest=0,o[e.id]._L[e.L[0].id].pPeventsRequest="none",i=!1,window.requestAnimationFrame(function(){o.requestLayerUpdates(e.id,"leftstage",e.L[0].id)})):(e.L[0].id,void 0!==o[e.id]._L[e.L[0].id].frames[e.frame]&&void 0!==o[e.id]._L[e.L[0].id].frames[e.frame].timeline&&0==o[e.id]._L[e.L[0].id].frames[e.frame].timeline.usePerspective&&window.requestAnimationFrame(function(){o.requestLayerUpdates(e.id,"frameended",e.L[0].id,e.tPE)})),"leftstage"===s.eventtype&&void 0!==o[e.id].videos&&void 0!==o[e.id].videos[e.L[0].id]&&o.stopVideo&&o.stopVideo(e.L,e.id),"column"===o[e.id]._L[e.L[0].id].type&&tpGS.gsap.to(o[e.id]._L[e.L[0].id].cbg,.01,{visibility:"visible"}),"leftstage"===s.eventtype&&(o.unToggleState(e.layertoggledby),"video"===o[e.id]._L[e.L[0].id].type&&o.resetVideo&&setTimeout(function(){o.resetVideo(e.L,e.id)},100)),o[e.id].BUG_safari_clipPath&&!i&&e.L[0].classList.add("rs-pelock"),void 0!==o[e.id]._L[e.L[0].id].layerLoop&&o[e.id]._L[e.L[0].id].layerLoop.to===e.frame&&(-1==o[e.id]._L[e.L[0].id].layerLoop.repeat||o[e.id]._L[e.L[0].id].layerLoop.repeat>o[e.id]._L[e.L[0].id].layerLoop.count)&&o.renderLayerAnimation({layer:o[e.id]._L[e.L[0].id].c,frame:o[e.id]._L[e.L[0].id].layerLoop.from,updateChildren:o[e.id]._L[e.L[0].id].layerLoop.children,mode:"continue",fastforward:!0===o[e.id]._L[e.L[0].id].layerLoop.keep,id:e.id})},h=function(e){if(void 0===e)return"";var i="";return o.isChrome8889&&0===e.blur&&(e.blur=.05),i=void 0!==e.blur?"blur("+(e.blur||0)+"px)":"",i+=void 0!==e.grayscale?(i.length>0?" ":"")+"grayscale("+(e.grayscale||0)+"%)":"",""===(i+=void 0!==e.brightness?(i.length>0?" ":"")+"brightness("+(e.brightness||100)+"%)":"")?"none":i},m=function(e,i,t){var a,r=o.clone(e.transform);if((r.originX||r.originY||r.originZ)&&(r.transformOrigin=(void 0===r.originX?"50%":r.originX)+" "+(void 0===r.originY?"50%":r.originY)+" "+(void 0===r.originZ?"50%":r.originZ),delete r.originX,delete r.originY,delete r.originZ),void 0!==e&&void 0!==e.filter&&(r.filter=h(e.filter),r["-webkit-filter"]=r.filter),r.color=void 0===r.color?"rgba(255,255,255,1)":r.color,r.force3D="auto",void 0!==r.borderRadius&&((a=r.borderRadius.split(" ")).length,r.borderTopLeftRadius=a[0],r.borderTopRightRadius=a[1],r.borderBottomRightRadius=a[2],r.borderBottomLeftRadius=a[3],delete r.borderRadius),void 0!==r.borderWidth&&((a=r.borderWidth.split(" ")).length,r.borderTopWidth=a[0],r.borderRightWidth=a[1],r.borderBottomWidth=a[2],r.borderLeftWidth=a[3],delete r.borderWidth),void 0===t.bg||-1===t.bg.indexOf("url")){var s=-1!==t.bgCol.search("gradient"),n=r.backgroundImage&&"string"==typeof r.backgroundImage&&-1!==r.backgroundImage.search("gradient");n&&s?(180!==f(t.bgCol)&&180==f(r.backgroundImage)&&(r.backgroundImage=v(r.backgroundImage,180)),r.backgroundImage=tpGS.getSSGColors(t.bgCol,r.backgroundImage,void 0===r.gs?"fading":r.gs).to):n&&!s?r.backgroundImage=tpGS.getSSGColors(t.bgCol,r.backgroundImage,void 0===r.gs?"fading":r.gs).to:!n&&s&&(r.backgroundImage=tpGS.getSSGColors(t.bgCol,r.backgroundColor,void 0===r.gs?"fading":r.gs).to)}return delete r.gs,r},v=function(e,i){var t=(e=e.split("("))[0];return e.shift(),t+"("+i+"deg, "+e.join("(")},f=function(e){if(-1!==e.search("deg,")){var i=e.split("deg,")[0];if(-1!==i.search(/\(/))return parseInt(i.split("(")[1],10)}return 180},y=function(e,i){if(void 0!==e&&e.indexOf("oc:t")>=0)return{};e=void 0===e?"":e.split(";");var t={fill:o.revToResp("#ffffff",o[i].rle),stroke:"transparent","stroke-width":"0px","stroke-dasharray":"0","stroke-dashoffset":"0"};for(var a in e)if(e.hasOwnProperty(a)){var r=e[a].split(":");switch(r[0]){case"c":t.fill=o.revToResp(r[1],o[i].rle,void 0,"||");break;case"sw":t["stroke-width"]=r[1];break;case"sc":t.stroke=r[1];break;case"so":t["stroke-dashoffset"]=r[1];break;case"sa":t["stroke-dasharray"]=r[1]}}return t},b=function(e){return"c"===e?"center":"l"===e?"left":"r"===e?"right":e},w=function(e){var i=o[e.id]._L[e.layer[0].id],t=!1;if(i.splitText&&!1!==i.splitText&&i.splitText.revert(),"text"===i.type||"button"===i.type){for(var a in i.frames)if(void 0!==i.frames[a].chars||void 0!==i.frames[a].words||void 0!==i.frames[a].lines){t=!0;break}i.splitText=!!t&&new tpGS.SplitText(i.c,{type:"lines,words,chars",wordsClass:"rs_splitted_words",linesClass:"rs_splitted_lines",charsClass:"rs_splitted_chars"})}else i.splitText=!1},_=function(e,i,t){if(void 0!==e&&e.indexOf("block")>=0){var a={};switch(0===i[0].getElementsByClassName("tp-blockmask_in").length&&(i.append('
'),i.append('
')),t=void 0===t?"power3.inOut":t,a.ft=[{scaleY:1,scaleX:0,transformOrigin:"0% 50%"},{scaleY:1,scaleX:1,ease:t,immediateRender:!1}],a.t={scaleY:1,scaleX:0,transformOrigin:"100% 50%",ease:t,immediateRender:!1},a.bmask_in=i.find(".tp-blockmask_in"),a.bmask_out=i.find(".tp-blockmask_out"),a.type="block",e){case"blocktoleft":case"blockfromright":a.ft[0].transformOrigin="100% 50%",a.t.transformOrigin="0% 50%";break;case"blockfromtop":case"blocktobottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 0%"},{scaleX:1,scaleY:1,ease:t,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 100%",ease:t,immediateRender:!1};break;case"blocktotop":case"blockfrombottom":a.ft=[{scaleX:1,scaleY:0,transformOrigin:"50% 100%"},{scaleX:1,scaleY:1,ease:t,immediateRender:!1}],a.t={scaleX:1,scaleY:0,transformOrigin:"50% 0%",ease:t,immediateRender:!1}}return a.ft[1].overwrite="auto",a.t.overwrite="auto",a}return!1},x=function(e,i,t,a,r){return 0===o[r].sdir||void 0===i?e:("mask"===t?a="x"===a?"mX":"y"===a?"mY":a:"chars"===t?a="x"===a?"cX":"y"===a?"cY":"dir"===a?"cD":a:"words"===t?a="x"===a?"wX":"y"===a?"wY":"dir"===a?"wD":a:"lines"===t&&(a="x"===a?"lX":"y"===a?"lY":"dir"===a?"lD":a),void 0===i[a]||!1===i[a]?e:void 0!==i&&!0===i[a]?"t"===e||"top"===e?"b":"b"===e||"bottom"===e?"t":"l"===e||"left"===e?"r":"r"===e||"right"===e?"l":-1*e:void 0)},S=function(e){var i,t=o[e.id]._L[e.layer[0].id],a=void 0===e.source?o.clone(e.frame.transform):o.clone(e.frame[e.source]),r={originX:"50%",originY:"50%",originZ:"0"},s=void 0!==t._lig?o[e.id]._L[t._lig[0].id].eow:o[e.id].conw,n=void 0!==t._lig?o[e.id]._L[t._lig[0].id].eoh:o[e.id].conh;for(var d in a)if(a.hasOwnProperty(d)){if(a[d]="object"==typeof a[d]?a[d][o[e.id].level]:a[d],"inherit"===a[d]||"delay"===d||"direction"===d||"use"===d)delete a[d];else if("originX"===d||"originY"===d||"originZ"===d)r[d]=a[d],delete a[d];else if(o.isNumeric(a[d],0))a[d]=x(a[d],e.frame.reverse,e.target,d,e.id,e.id);else if("r"===a[d][0]&&"a"===a[d][1]&&"("===a[d][3])a[d]=a[d].replace("ran","random");else if(a[d].indexOf("cyc(")>=0){var l=a[d].replace("cyc(","").replace(")","").replace("[","").replace("]","").split("|");a[d]=new function(e){return tpGS.gsap.utils.wrap(l,void 0)}}else if(a[d].indexOf("%")>=0&&o.isNumeric(i=parseInt(a[d],0)))a[d]="x"===d?x((t.eow||0)*i/100,e.frame.reverse,e.target,d,e.id):"y"===d?x((t.eoh||0)*i/100,e.frame.reverse,e.target,d,e.id):a[d];else switch(a[d]=a[d].replace("[","").replace("]",""),a[d]=x(a[d],e.frame.reverse,e.target,d,e.id,e.id),a[d]){case"t":case"top":a[d]=0-(t.eoh||0)-("column"===t.type?0:t.calcy||0)-o.getLayerParallaxOffset(e.id,e.layer[0].id,"v")-("row"===t.type&&void 0!==t.marginTop?t.marginTop[o[e.id].level]:0);break;case"b":case"bottom":a[d]=n-("column"===t.type?0:t.calcy||0)+o.getLayerParallaxOffset(e.id,e.layer[0].id,"v");break;case"l":case"left":a[d]=0-("row"===t.type?t.pow:t.eow||0)-("column"===t.type?0:"row"===t.type?t.rowcalcx:t.calcx||0)-o.getLayerParallaxOffset(e.id,e.layer[0].id,"h");break;case"r":case"right":a[d]=s-("column"===t.type?0:"row"===t.type?t.rowcalcx:t.calcx||0)+o.getLayerParallaxOffset(e.id,e.layer[0].id,"h");break;case"m":case"c":case"middle":case"center":a[d]="x"===d?x(s/2-("column"===t.type?0:t.calcx||0)-(t.eow||0)/2,e.frame.reverse,e.target,d,e.id):"y"===d?x(n/2-("column"===t.type?0:t.calcy||0)-(t.eoh||0)/2,e.frame.reverse,e.target,d,e.id):a[d]}"skewX"===d&&void 0!==a[d]&&(a.scaleY=void 0===a.scaleY?1:parseFloat(a.scaleY),a.scaleY*=Math.cos(parseFloat(a[d])*tpGS.DEG2RAD)),"skewY"===d&&void 0!==a[d]&&(a.scaleX=void 0===a.scaleX?1:parseFloat(a.scaleX),a.scaleX*=Math.cos(parseFloat(a[d])*tpGS.DEG2RAD))}if(a.transformOrigin=r.originX+" "+r.originY+" "+r.originZ,!o[e.id].BUG_ie_clipPath&&void 0!==a.clip&&void 0!==t.clipPath&&t.clipPath.use){var c="rectangle"==t.clipPath.type,p=parseInt(a.clip,0),g=100-parseInt(a.clipB,0),u=Math.round(p/2);switch(t.clipPath.origin){case"invh":a.clipPath="polygon(0% 0%, 0% 100%, "+p+"% 100%, "+p+"% 0%, 100% 0%, 100% 100%, "+g+"% 100%, "+g+"% 0%, 0% 0%)";break;case"invv":a.clipPath="polygon(100% 0%, 0% 0%, 0% "+p+"%, 100% "+p+"%, 100% 100%, 0% 100%, 0% "+g+"%, 100% "+g+"%, 100% 0%)";break;case"cv":a.clipPath=c?"polygon("+(50-u)+"% 0%, "+(50+u)+"% 0%, "+(50+u)+"% 100%, "+(50-u)+"% 100%)":"circle("+p+"% at 50% 50%)";break;case"ch":a.clipPath=c?"polygon(0% "+(50-u)+"%, 0% "+(50+u)+"%, 100% "+(50+u)+"%, 100% "+(50-u)+"%)":"circle("+p+"% at 50% 50%)";break;case"l":a.clipPath=c?"polygon(0% 0%, "+p+"% 0%, "+p+"% 100%, 0% 100%)":"circle("+p+"% at 0% 50%)";break;case"r":a.clipPath=c?"polygon("+(100-p)+"% 0%, 100% 0%, 100% 100%, "+(100-p)+"% 100%)":"circle("+p+"% at 100% 50%)";break;case"t":a.clipPath=c?"polygon(0% 0%, 100% 0%, 100% "+p+"%, 0% "+p+"%)":"circle("+p+"% at 50% 0%)";break;case"b":a.clipPath=c?"polygon(0% 100%, 100% 100%, 100% "+(100-p)+"%, 0% "+(100-p)+"%)":"circle("+p+"% at 50% 100%)";break;case"lt":a.clipPath=c?"polygon(0% 0%,"+2*p+"% 0%, 0% "+2*p+"%)":"circle("+p+"% at 0% 0%)";break;case"lb":a.clipPath=c?"polygon(0% "+(100-2*p)+"%, 0% 100%,"+2*p+"% 100%)":"circle("+p+"% at 0% 100%)";break;case"rt":a.clipPath=c?"polygon("+(100-2*p)+"% 0%, 100% 0%, 100% "+2*p+"%)":"circle("+p+"% at 100% 0%)";break;case"rb":a.clipPath=c?"polygon("+(100-2*p)+"% 100%, 100% 100%, 100% "+(100-2*p)+"%)":"circle("+p+"% at 100% 100%)";break;case"clr":a.clipPath=c?"polygon(0% 0%, 0% "+p+"%, "+(100-p)+"% 100%, 100% 100%, 100% "+(100-p)+"%, "+p+"% 0%)":"circle("+p+"% at 50% 50%)";break;case"crl":a.clipPath=c?"polygon(0% "+(100-p)+"%, 0% 100%, "+p+"% 100%, 100% "+p+"%, 100% 0%, "+(100-p)+"% 0%)":"circle("+p+"% at 50% 50%)"}!0!==o.isFirefox(e.id)&&(a["-webkit-clip-path"]=a.clipPath),a["clip-path"]=a.clipPath,delete a.clip,delete a.clipB}else delete a.clip;return"mask"!==e.target&&(void 0===e.frame||void 0===e.frame.filter&&!e.forcefilter||(a.filter=h(e.frame.filter),a["-webkit-filter"]=a.filter,a["backdrop-filter"]=function(e){if(void 0===e)return"";var i="";return o.isChrome8889&&0===e.b_blur&&(e.b_blur=.05),i=void 0!==e.b_blur?"blur("+(e.b_blur||0)+"px)":"",i+=void 0!==e.b_grayscale?(i.length>0?" ":"")+"grayscale("+(e.b_grayscale||0)+"%)":"",i+=void 0!==e.b_sepia?(i.length>0?" ":"")+"sepia("+(e.b_sepia||0)+"%)":"",i+=void 0!==e.b_invert?(i.length>0?" ":"")+"invert("+(e.b_invert||0)+"%)":"",""==(i+=void 0!==e.b_brightness?(i.length>0?" ":"")+"brightness("+(e.b_brightness||100)+"%)":"")?"none":i}(e.frame.filter),window.isSafari11&&(a["-webkit-backdrop-filter"]=a["backdrop-filter"]),window.isSafari11&&void 0!==a.filter&&void 0===a.rotationX&&void 0!==e.frame.filter&&void 0!==e.frame.filter.blur&&(a.rotationX=.001)),jQuery.inArray(e.source,["chars","words","lines"])>=0&&(void 0!==e.frame[e.source].blur||e.forcefilter)&&(a.filter=h(e.frame[e.source]),a["-webkit-filter"]=a.filter),delete a.grayscale,delete a.blur,delete a.brightness),a.ease=void 0!==a.ease?a.ease:void 0===a.ease&&void 0!==e.ease||void 0!==a.ease&&void 0!==e.ease&&"inherit"===a.ease?e.ease:e.frame.timeline.ease,a.ease=void 0===a.ease||"default"===a.ease?"power3.inOut":a.ease,a},k=function(e,i,t,a,r){var s,n,d={},l={},c={};for(var p in a=void 0===a?"transform":a,"loop"===r?(c.autoRotate=!1,c.yoyo_filter=!1,c.yoyo_rotate=!1,c.yoyo_move=!1,c.yoyo_scale=!1,c.curved=!1,c.curviness=2,c.ease="none",c.speed=1e3,c.st=0,d.x=0,d.y=0,d.z=0,d.xr=0,d.yr=0,d.zr=0,d.scaleX=1,d.scaleY=1,d.originX="50%",d.originY="50%",d.originZ="0",d.rotationX="0deg",d.rotationY="0deg",d.rotationZ="0deg"):(c.speed=300,t?c.ease="default":d.ease="default"),"sfx"===r&&(d.fxc="#ffffff"),e=e.split(";"))if(e.hasOwnProperty(p)){var g=e[p].split(":");switch(g[0]){case"u":d.use="true"===g[1]||"t"===g[1]||fasle;break;case"c":s=g[1];break;case"fxc":d.fxc=g[1];break;case"bgc":n=g[1];break;case"auto":d.auto="t"===g[1]||void 0===g[1]||"true"===g[1];break;case"o":d.opacity=g[1];break;case"oX":d.originX=g[1];break;case"oY":d.originY=g[1];break;case"oZ":d.originZ=g[1];break;case"sX":d.scaleX=g[1];break;case"sY":d.scaleY=g[1];break;case"skX":d.skewX=g[1];break;case"skY":d.skewY=g[1];break;case"rX":d.rotationX=g[1],0!=g[1]&&"0deg"!==g[1]&&o.addSafariFix(i);break;case"rY":d.rotationY=g[1],0!=g[1]&&"0deg"!==g[1]&&o.addSafariFix(i);break;case"rZ":d.rotationZ=g[1];break;case"sc":d.color=g[1];break;case"se":d.effect=g[1];break;case"bos":d.borderStyle=g[1];break;case"boc":d.borderColor=g[1];break;case"td":d.textDecoration=g[1];break;case"zI":d.zIndex=g[1];break;case"tp":d.transformPerspective="isometric"===o[i].perspectiveType?0:"global"===o[i].perspectiveType?o[i].perspective:g[1];break;case"cp":d.clip=parseInt(g[1],0);break;case"cpb":d.clipB=parseInt(g[1],0);break;case"aR":c.autoRotate="t"==g[1];break;case"rA":c.radiusAngle=g[1];break;case"yyf":c.yoyo_filter="t"==g[1];break;case"yym":c.yoyo_move="t"==g[1];break;case"yyr":c.yoyo_rotate="t"==g[1];break;case"yys":c.yoyo_scale="t"==g[1];break;case"crd":c.curved="t"==g[1];break;case"x":d.x="reverse"===r?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===r?parseInt(g[1],0):o.revToResp(g[1],o[i].rle);break;case"y":d.y="reverse"===r?"t"===g[1]||!0===g[1]||"true"==g[1]:"loop"===r?parseInt(g[1],0):o.revToResp(g[1],o[i].rle);break;case"z":d.z="loop"===r?parseInt(g[1],0):o.revToResp(g[1],o[i].rle),0!=g[1]&&o.addSafariFix(i);break;case"bow":d.borderWidth=o.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"bor":d.borderRadius=o.revToResp(g[1],4,0).toString().replace(/,/g," ");break;case"m":d.mask="t"===g[1]||"f"!==g[1]&&g[1];break;case"iC":d.instantClick="t"===g[1]||"f"!==g[1]&&g[1];break;case"xR":d.xr=parseInt(g[1],0),o.addSafariFix(i);break;case"yR":d.yr=parseInt(g[1],0),o.addSafariFix(i);break;case"zR":d.zr=parseInt(g[1],0);break;case"blu":"loop"===r?d.blur=parseInt(g[1],0):l.blur=parseInt(g[1],0);break;case"gra":"loop"===r?d.grayscale=parseInt(g[1],0):l.grayscale=parseInt(g[1],0);break;case"bri":"loop"===r?d.brightness=parseInt(g[1],0):l.brightness=parseInt(g[1],0);break;case"bB":l.b_blur=parseInt(g[1],0);break;case"bG":l.b_grayscale=parseInt(g[1],0);break;case"bR":l.b_brightness=parseInt(g[1],0);break;case"bI":l.b_invert=parseInt(g[1],0);break;case"bS":l.b_sepia=parseInt(g[1],0);break;case"sp":c.speed=parseInt(g[1],0);break;case"d":d.delay=parseInt(g[1],0);break;case"crns":c.curviness=parseInt(g[1],0);break;case"st":c.start="w"===g[1]||"a"===g[1]?"+=0":g[1],c.waitoncall="w"===g[1]||"a"===g[1];break;case"sA":c.startAbsolute=g[1];break;case"sR":c.startRelative=g[1];break;case"e":t?c.ease=g[1]:d.ease=g[1];break;default:g[0].length>0&&(d[g[0]]="t"===g[1]||"f"!==g[1]&&g[1])}}var u={timeline:c};return jQuery.isEmptyObject(l)||("split"===r?d=jQuery.extend(!0,d,l):u.filter=l),"split"===r&&(d.dir=void 0===d.dir?"start":"backward"===d.dir?"end":"middletoedge"===d.dir?"center":"edgetomiddle"===d.dir?"edge":d.dir),jQuery.isEmptyObject(s)||(u.color=s),jQuery.isEmptyObject(n)||(u.bgcolor=n),u[a]=d,u},L=function(e,i){var t={},a=0;if(void 0===window.rdF0){var r=k("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;dir:forward;d:5",i).transform;window.rdF0=window.rdF1={transform:k("x:0;y:0;z:0;rX:0;rY:0;rZ:0;o:0;skX:0;skY:0;sX:0;sY:0;oX:50%;oY:50%;oZ:0;tp:600px",i,!0).transform,mask:k("x:0;y:0",i,!0).transform,chars:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},r),words:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},r),lines:jQuery.extend(!0,{blur:0,grayscale:0,brightness:100},r)},window.rdF1.transform.opacity=window.rdF1.chars.opacity=window.rdF1.words.opacity=window.rdF1.lines.opacity=window.rdF1.transform.scaleX=window.rdF1.chars.scaleX=window.rdF1.words.scaleX=window.rdF1.lines.scaleX=window.rdF1.transform.scaleY=window.rdF1.chars.scaleY=window.rdF1.words.scaleY=window.rdF1.lines.scaleY=1}for(var a in void 0===e.frame_0&&(e.frame_0="x:0"),void 0===e.frame_1&&(e.frame_1="x:0"),e.dddNeeded=!1,e.ford)if(e.ford.hasOwnProperty(a)){var n=e.ford[a];if(e[n]){if(t[n]=k(e[n],i,!0),void 0!==t[n].bgcolor&&(e.bgcolinuse=!0),o[i].BUG_ie_clipPath&&void 0!==e.clipPath&&e.clipPath.use&&void 0!==t[n].transform.clip){var d="rectangle"===e.clipPath.type?100-parseInt(t[n].transform.clip):100-Math.min(100,2*parseInt(t[n].transform.clip));switch(e.clipPath.origin){case"clr":case"rb":case"rt":case"r":e[n+"_mask"]="u:t;x:"+d+"%;y:0px;",t[n].transform.x=o.revToResp("-"+d+"%",o[i].rle);break;case"crl":case"lb":case"lt":case"cv":case"l":e[n+"_mask"]="u:t;x:-"+d+"%;y:0px;",t[n].transform.x=o.revToResp(d+"%",o[i].rle);break;case"ch":case"t":e[n+"_mask"]="u:t;y:-"+d+"%;y:0px;",t[n].transform.y=o.revToResp(d+"%",o[i].rle);break;case"b":e[n+"_mask"]="u:t;y:"+d+"%;y:0px;",t[n].transform.y=o.revToResp("-"+d+"%",o[i].rle)}delete t[n].transform.clip,delete t[n].transform.clipB}e[n+"_mask"]&&(t[n].mask=k(e[n+"_mask"],i).transform),null!=t[n].mask&&t[n].mask.use?(t[n].mask.x=void 0===t[n].mask.x?0:t[n].mask.x,t[n].mask.y=void 0===t[n].mask.y?0:t[n].mask.y,delete t[n].mask.use,t[n].mask.overflow="hidden"):t[n].mask={ease:"default",overflow:"visible"},e[n+"_chars"]&&(t[n].chars=k(e[n+"_chars"],i,void 0,void 0,"split").transform),e[n+"_words"]&&(t[n].words=k(e[n+"_words"],i,void 0,void 0,"split").transform),e[n+"_lines"]&&(t[n].lines=k(e[n+"_lines"],i,void 0,void 0,"split").transform),(e[n+"_chars"]||e[n+"_words"]||e[n+"_lines"])&&(t[n].dosplit=!0),t.frame_0=void 0===t.frame_0?{transform:{}}:t.frame_0,t[n].transform.auto&&(t[n].transform=o.clone(t.frame_0.transform),t[n].transform.opacity=void 0===t[n].transform.opacity?0:t[n].transform.opacity,void 0!==t.frame_0.filter&&(t[n].filter=o.clone(t.frame_0.filter)),void 0!==t.frame_0.mask&&(t[n].mask=o.clone(t.frame_0.mask)),void 0!==t.frame_0.chars&&(t[n].chars=o.clone(t.frame_0.chars)),void 0!==t.frame_0.words&&(t[n].words=o.clone(t.frame_0.words)),void 0!==t.frame_0.lines&&(t[n].lines=o.clone(t.frame_0.lines)),void 0===t.frame_0.chars&&void 0===t.frame_0.words&&void 0===t.frame_0.lines||(t[n].dosplit=!0)),e[n+"_sfx"]&&(t[n].sfx=k(e[n+"_sfx"],i,!1,void 0,"sfx").transform),e[n+"_reverse"]&&(t[n].reverse=k(e[n+"_reverse"],i,!1,void 0,"reverse").transform)}}if(t.frame_0.dosplit&&(t.frame_1.dosplit=!0),void 0===e.frame_hover&&void 0===e.svgh||(t.frame_hover=k(void 0===e.frame_hover?"":e.frame_hover,i),!s||"true"!=t.frame_hover.transform.instantClick&&1!=t.frame_hover.transform.instantClick?(delete t.frame_hover.transform.instantClick,t.frame_hover.transform.color=t.frame_hover.color,void 0===t.frame_hover.transform.color&&delete t.frame_hover.transform.color,void 0!==t.frame_hover.bgcolor&&t.frame_hover.bgcolor.indexOf("gradient")>=0?t.frame_hover.transform.backgroundImage=t.frame_hover.bgcolor:void 0!==t.frame_hover.bgcolor&&(t.frame_hover.transform.backgroundColor=t.frame_hover.bgcolor),void 0!==t.frame_hover.bgcolor&&(e.bgcolinuse=!0),t.frame_hover.transform.opacity=void 0===t.frame_hover.transform.opacity?1:t.frame_hover.transform.opacity,t.frame_hover.mask=void 0!==t.frame_hover.transform.mask&&t.frame_hover.transform.mask,delete t.frame_hover.transform.mask,void 0!==t.frame_hover.transform&&((t.frame_hover.transform.borderWidth||t.frame_hover.transform.borderStyle)&&(t.frame_hover.transform.borderColor=void 0===t.frame_hover.transform.borderColor?"transparent":t.frame_hover.transform.borderColor),"none"!==t.frame_hover.transform.borderStyle&&void 0===t.frame_hover.transform.borderWidth&&(t.frame_hover.transform.borderWidth=o.revToResp(0,4,0).toString().replace(/,/g," ")),void 0===e.bordercolor&&void 0!==t.frame_hover.transform.borderColor&&(e.bordercolor="transparent"),void 0===e.borderwidth&&void 0!==t.frame_hover.transform.borderWidth&&(e.borderwidth=o.revToResp(t.frame_hover.transform.borderWidth,4,0)),void 0===e.borderstyle&&void 0!==t.frame_hover.transform.borderStyle&&(e.borderstyle=o.revToResp(t.frame_hover.transform.borderStyle,4,0)))):delete t.frame_hover),void 0!==e.tloop){e.layerLoop={from:"frame_1",to:"frame_999",repeat:-1,keep:!0,children:!0};var l=e.tloop.split(";");for(var a in l)if(l.hasOwnProperty(a)){var c=l[a].split(":");switch(c[0]){case"f":e.layerLoop.from=c[1];break;case"t":e.layerLoop.to=c[1];break;case"k":e.layerLoop.keep=c[1];break;case"r":e.layerLoop.repeat=parseInt(c[1],0);break;case"c":e.layerLoop.children=c[1]}}e.layerLoop.count=0}for(var a in(e.loop_0||e.loop_999)&&(t.loop=k(e.loop_999,i,!0,"frame_999","loop"),t.loop.frame_0=k(e.loop_0||"",i,!1,void 0,"loop").transform),t.frame_0.transform.opacity=void 0===t.frame_0.transform.opacity?0:t.frame_0.transform.opacity,t.frame_1.transform.opacity=void 0===t.frame_1.transform.opacity?1:t.frame_1.transform.opacity,t.frame_999.transform.opacity=void 0===t.frame_999.transform.opacity?"inherit":t.frame_999.transform.opacity,e.clipPath&&e.clipPath.use&&(t.frame_0.transform.clip=void 0===t.frame_0.transform.clip?100:parseInt(t.frame_0.transform.clip),t.frame_1.transform.clip=void 0===t.frame_1.transform.clip?100:parseInt(t.frame_1.transform.clip)),e.resetfilter=!1,e.useFilter={blur:!1,grayscale:!1,brightness:!1,b_blur:!1,b_grayscale:!1,b_brightness:!1,b_invert:!1,b_sepia:!1},t)void 0!==t[a].filter&&(e.resetfilter=!0,e.useFilter=I(e.useFilter,t[a].filter));if(!0!==e.resetFilter&&void 0!==t.frame_hover&&(e.useFilter=I(e.useFilter,t.frame_hover)),e.resetfilter)for(var a in t.frame_0.filter=o.clone(t.frame_0.filter),t.frame_0.filter=R(e.useFilter,o.clone(t.frame_0.filter)),t)void 0!==t[a].filter&&"frame_1"!==a&&"frame_0"!==a&&(t[a].filter=o.clone(t[a].filter),t[a].filter=R(e.useFilter,o.clone(t[a].filter)));return void 0!==t.frame_0.filter&&(t.frame_1.filter=o.clone(t.frame_1.filter),void 0!==t.frame_0.filter.blur&&0!==t.frame_1.filter.blur&&(t.frame_1.filter.blur=void 0===t.frame_1.filter.blur?0:t.frame_1.filter.blur),void 0!==t.frame_0.filter.brightness&&100!==t.frame_1.filter.brightness&&(t.frame_1.filter.brightness=void 0===t.frame_1.filter.brightness?100:t.frame_1.filter.brightness),void 0!==t.frame_0.filter.grayscale&&0!==t.frame_1.filter.grayscale&&(t.frame_1.filter.grayscale=void 0===t.frame_1.filter.grayscale?0:t.frame_1.filter.grayscale),void 0!==t.frame_0.filter.b_blur&&0!==t.frame_1.filter.b_blur&&(t.frame_1.filter.b_blur=void 0===t.frame_1.filter.b_blur?0:t.frame_1.filter.b_blur),void 0!==t.frame_0.filter.b_brightness&&100!==t.frame_1.filter.b_brightness&&(t.frame_1.filter.b_brightness=void 0===t.frame_1.filter.b_brightness?100:t.frame_1.filter.b_brightness),void 0!==t.frame_0.filter.b_grayscale&&0!==t.frame_1.filter.b_grayscale&&(t.frame_1.filter.b_grayscale=void 0===t.frame_1.filter.b_grayscale?0:t.frame_1.filter.b_grayscale),void 0!==t.frame_0.filter.b_invert&&0!==t.frame_1.filter.b_invert&&(t.frame_1.filter.b_invert=void 0===t.frame_1.filter.b_invert?0:t.frame_1.filter.b_invert),void 0!==t.frame_0.filter.b_sepia&&0!==t.frame_1.filter.b_sepia&&(t.frame_1.filter.b_sepia=void 0===t.frame_1.filter.b_sepia?0:t.frame_1.filter.b_sepia)),T(t,i,e)},R=function(e,i){return e.blur?i.blur=void 0===i.blur?0:i.blur:delete i.blur,e.brightness?i.brightness=void 0===i.brightness?100:i.brightness:delete i.brightness,e.grayscale?i.grayscale=void 0===i.grayscale?0:i.grayscale:delete i.grayscale,e.b_blur?i.b_blur=void 0===i.b_blur?0:i.b_blur:delete i.b_blur,e.b_brightness?i.b_brightness=void 0===i.b_brightness?100:i.b_brightness:delete i.b_brightness,e.b_grayscale?i.b_grayscale=void 0===i.b_grayscale?0:i.b_grayscale:delete i.b_grayscale,e.b_invert?i.b_invert=void 0===i.b_invert?0:i.b_invert:delete i.b_invert,e.b_sepia?i.b_sepia=void 0===i.b_sepia?0:i.b_sepia:delete i.b_sepia,i},I=function(e,i){return e.blur=!0===e.blur||void 0!==i.blur&&0!==i.blur&&"0px"!==i.blur,e.grayscale=!0===e.grayscale||void 0!==i.grayscale&&0!==i.grayscale&&"0%"!==i.grayscale,e.brightness=!0===e.brightness||void 0!==i.brightness&&100!==i.brightness&&"100%"!==i.brightness,e.b_blur=!0===e.b_blur||void 0!==i.b_blur&&0!==i.b_blur&&"0px"!==i.b_blur,e.b_grayscale=!0===e.b_grayscale||void 0!==i.b_grayscale&&0!==i.b_grayscale&&"0%"!==i.b_grayscale,e.b_brightness=!0===e.b_brightness||void 0!==i.b_brightness&&100!==i.b_brightness&&"100%"!==i.b_brightness,e.b_invert=!0===e.b_invert||void 0!==i.b_invert&&0!==i.b_invert&&"0%"!==i.b_invert,e.b_sepia=!0===e.b_sepia||void 0!==i.b_sepia&&0!==i.b_sepia&&"0%"!==i.b_sepia,e},O=function(e){return void 0!==e&&(void 0!==e.rotationY||void 0!==e.rotationX||void 0!==e.z)},T=function(e,i,t){var a,r={},s=["transform","words","chars","lines","mask"],n="global"==o[i].perspectiveType?o[i].perspective:0,d=!0,l=!1;for(var c in e)"loop"!==c&&"frame_hover"!==c&&(r=jQuery.extend(!0,r,e[c]));for(var c in e)if(e.hasOwnProperty(c)&&(void 0!==e[c].timeline&&(e[c].timeline.usePerspective=!1),"loop"!==c&&"frame_hover"!==c)){for(a in r.transform)r.transform.hasOwnProperty(a)&&(r.transform[a]=void 0===e[c].transform[a]?"frame_0"===c?window.rdF0.transform[a]:"frame_1"===c?window.rdF1.transform[a]:r.transform[a]:e[c].transform[a],e[c].transform[a]=void 0===e[c].transform[a]?r.transform[a]:e[c].transform[a]);for(var p=1;p<=4;p++)for(a in r[s[p]])r[s[p]].hasOwnProperty(a)&&(e[c][s[p]]=void 0===e[c][s[p]]?{}:e[c][s[p]],r[s[p]][a]=void 0===e[c][s[p]][a]?"frame_0"===c?window.rdF0[s[p]][a]:"frame_1"===c?window.rdF1[s[p]][a]:r[s[p]][a]:e[c][s[p]][a],e[c][s[p]][a]=void 0===e[c][s[p]][a]?r[s[p]][a]:e[c][s[p]][a]);void 0!==e[c].timeline&&!1===e[c].timeline.usePerspective&&void 0!==e[c].transform&&(void 0!==e[c].transform.rotationY||void 0!==e[c].transform.rotationX||void 0!==e[c].transform.z||O(e[c].chars)||O(e[c].words)||O(e[c].lines))&&(n="local"==o[i].perspectiveType?void 0===e[c].transform.transformPerspective?600:e[c].transform.transformPerspective:n,e[c].timeline.usePerspective=!0,(O(e[c].chars)||O(e[c].words)||O(e[c].lines))&&!o.isFirefox(i)&&(l=!0),d=!1)}if(l&&requestAnimationFrame(function(){tpGS.gsap.set(t.c,{transformStyle:"preserve-3d"})}),void 0!==e.frame_0.timeline&&e.frame_0.timeline.usePerspective&&(e.frame_0.transform.transformPerspective="local"===o[i].perspectiveType?void 0===e.frame_0.transform.transformPerspective?n:e.frame_0.transform.transformPerspective:"isometric"===o[i].perspectiveType?0:o[i].perspective),d)for(var c in e){if(!e.hasOwnProperty(c)||void 0===e[c].transform)continue;delete e[c].transform.transformPerspective}return e},C=function(e,i,t){if(0===e.length)return{};for(var a=e[0].getElementsByClassName(i),r={},o=0;o=0)return!1;o.sA(e[0],"stylerecorder",!0),void 0===e[0].id&&(e[0].id="rs-layer-sub-"+Math.round(1e6*Math.random())),o[s].computedStyle[e[0].id]=window.getComputedStyle(e[0],null);var d=void 0!==e[0].id&&void 0!==o[s]._L[e[0].id]?o[s]._L[e[0].id]:e.data(),l="rekursive"===i?jQuery(o.closestClass(e[0],"rs-layer")):void 0;void 0!==l&&(o[s].computedStyle[l[0].id]=void 0===o[s].computedStyle[l[0].id]?window.getComputedStyle(l[0],null):o[s].computedStyle[l[0].id]);var c=void 0!==l&&o[s].computedStyle[e[0].id].fontSize==o[s].computedStyle[l[0].id].fontSize&&A(o[s].computedStyle[e[0].id].fontWeight)==A(o[s].computedStyle[l[0].id].fontWeight)&&o[s].computedStyle[e[0].id].lineHeight==o[s].computedStyle[l[0].id].lineHeight,p=c?void 0!==l[0].id&&void 0!==o[s]._L[l[0].id]?o[s]._L[l[0].id]:l.data():void 0,g=0;for(d.basealign=void 0===d.basealign?"grid":d.basealign,d._isnotext||(d.fontSize=o.revToResp(c?void 0===p.fontsize?parseInt(o[s].computedStyle[l[0].id].fontSize,0)||20:p.fontsize:void 0===d.fontsize?"rekursive"!==i?20:"inherit":d.fontsize,o[s].rle),d.fontWeight=o.revToResp(c?void 0===p.fontweight?o[s].computedStyle[l[0].id].fontWeight||"inherit":p.fontweight:void 0===d.fontweight?o[s].computedStyle[e[0].id].fontWeight||"inherit":d.fontweight,o[s].rle),d.whiteSpace=o.revToResp(c?void 0===p.whitespace?"nowrap":p.whitespace:void 0===d.whitespace?"nowrap":d.whitespace,o[s].rle),d.textAlign=o.revToResp(c?void 0===p.textalign?"left":p.textalign:void 0===d.textalign?"left":d.textalign,o[s].rle),d.letterSpacing=o.revToResp(c?void 0===p.letterspacing?parseInt(o[s].computedStyle[l[0].id].letterSpacing,0)||"inherit":p.letterspacing:void 0===d.letterspacing?parseInt("normal"===o[s].computedStyle[e[0].id].letterSpacing?0:o[s].computedStyle[e[0].id].letterSpacing,0)||"inherit":d.letterspacing,o[s].rle),d.textDecoration=c?void 0===p.textDecoration?"none":p.textDecoration:void 0===d.textDecoration?"none":d.textDecoration,g=25,g=void 0!==l&&"I"===e[0].tagName?"inherit":g,void 0!==d.tshadow&&(d.tshadow.b=o.revToResp(d.tshadow.b,o[s].rle),d.tshadow.h=o.revToResp(d.tshadow.h,o[s].rle),d.tshadow.v=o.revToResp(d.tshadow.v,o[s].rle))),void 0!==d.bshadow&&(d.bshadow.b=o.revToResp(d.bshadow.b,o[s].rle),d.bshadow.h=o.revToResp(d.bshadow.h,o[s].rle),d.bshadow.v=o.revToResp(d.bshadow.v,o[s].rle),d.bshadow.s=o.revToResp(d.bshadow.s,o[s].rle)),void 0!==d.tstroke&&(d.tstroke.w=o.revToResp(d.tstroke.w,o[s].rle)),d.display=c?void 0===p.display?o[s].computedStyle[l[0].id].display:p.display:void 0===d.display?o[s].computedStyle[e[0].id].display:d.display,d.float=o.revToResp(c?void 0===p.float?o[s].computedStyle[l[0].id].float||"none":p.float:void 0===d.float?"none":d.float,o[s].rle),d.clear=o.revToResp(c?void 0===p.clear?o[s].computedStyle[l[0].id].clear||"none":p.clear:void 0===d.clear?"none":d.clear,o[s].rle),d.lineHeight=o.revToResp(e.is("img")||-1!=jQuery.inArray(d.layertype,["video","image","audio"])?g:c?void 0===p.lineheight?parseInt(o[s].computedStyle[l[0].id].lineHeight,0)||g:p.lineheight:void 0===d.lineheight?g:d.lineheight,o[s].rle),d.zIndex=c?void 0===p.zindex?parseInt(o[s].computedStyle[l[0].id].zIndex,0)||"inherit":p.zindex:void 0===d.zindex?parseInt(o[s].computedStyle[e[0].id].zIndex,0)||"inherit":d.zindex,n=0;n<4;n++)d["padding"+t[n]]=o.revToResp(void 0===d["padding"+r[n]]?parseInt(o[s].computedStyle[e[0].id]["padding"+t[n]],0)||0:d["padding"+r[n]],o[s].rle),d["margin"+t[n]]=o.revToResp(void 0===d["margin"+r[n]]?parseInt(o[s].computedStyle[e[0].id]["margin"+t[n]],0)||0:d["margin"+r[n]],o[s].rle),d["border"+t[n]+"Width"]=void 0===d.borderwidth?parseInt(o[s].computedStyle[e[0].id]["border"+t[n]+"Width"],0)||0:d.borderwidth[n],d["border"+t[n]+"Color"]=void 0===d.bordercolor?o[s].computedStyle[e[0].id]["border-"+r[n]+"-color"]:d.bordercolor,d["border"+a[n]+"Radius"]=o.revToResp(void 0===d.borderradius?o[s].computedStyle[e[0].id]["border"+a[n]+"Radius"]||0:d.borderradius[n],o[s].rle);for(d.borderStyle=o.revToResp(void 0===d.borderstyle?o[s].computedStyle[e[0].id].borderStyle||0:d.borderstyle,o[s].rle),"rekursive"!==i?(d.color=o.revToResp(void 0===d.color?"#ffffff":d.color,o[s].rle,void 0,"||"),d.minWidth=o.revToResp(void 0===d.minwidth?parseInt(o[s].computedStyle[e[0].id].minWidth,0)||0:d.minwidth,o[s].rle),d.minHeight=o.revToResp(void 0===d.minheight?parseInt(o[s].computedStyle[e[0].id].minHeight,0)||0:d.minheight,o[s].rle),d.width=o.revToResp(void 0===d.width?"auto":o.smartConvertDivs(d.width),o[s].rle),d.height=o.revToResp(void 0===d.height?"auto":o.smartConvertDivs(d.height),o[s].rle),d.maxWidth=o.revToResp(void 0===d.maxwidth?parseInt(o[s].computedStyle[e[0].id].maxWidth,0)||"none":d.maxwidth,o[s].rle),d.maxHeight=o.revToResp(-1!==jQuery.inArray(d.type,["column","row"])?"none":void 0!==d.maxheight?parseInt(o[s].computedStyle[e[0].id].maxHeight,0)||"none":d.maxheight,o[s].rle)):"html"===d.layertype&&(d.width=o.revToResp(e[0].width,o[s].rle),d.height=o.revToResp(e[0].height,o[s].rle)),d.styleProps={background:e[0].style.background,"background-color":e[0].style["background-color"],color:e[0].style.color,cursor:e[0].style.cursor,"font-style":e[0].style["font-style"]},null==d.bshadow&&(d.styleProps.boxShadow=e[0].style.boxShadow),""!==d.styleProps.background&&void 0!==d.styleProps.background&&d.styleProps.background!==d.styleProps["background-color"]||delete d.styleProps.background,""==d.styleProps.color&&(d.styleProps.color=o[s].computedStyle[e[0].id].color),n=0;n<4;n++)P(d["padding"+t[n]],0)&&delete d["padding"+t[n]],P(d["margin"+t[n]],0)&&delete d["margin"+t[n]],P(d["border"+a[n]+"Radius"],"0px")?delete d["border"+a[n]+"Radius"]:P(d["border"+a[n]+"Radius"],"0")&&delete d["border"+a[n]+"Radius"];if(P(d.borderStyle,"none"))for(delete d.borderStyle,n=0;n<4;n++)delete d["border"+t[n]+"Width"],delete d["border"+t[n]+"Color"]},P=function(e,i){return i===e[0]&&i===e[1]&&i===e[2]&&i===e[3]},B=function(e,i,t,a,r){var s=o.isNumeric(e)||void 0===e?"":e.indexOf("px")>=0?"px":e.indexOf("%")>=0?"%":"";return e=o.isNumeric(parseInt(e))?parseInt(e):e,e=null==(e="full"===(e=o.isNumeric(e)?e*i+s:e)?a:"auto"===e||"none"===e?t:e)?r:e},D=function(e){return null!=e&&0!==parseInt(e,0)},z=function(e){var i,s,n,d,l,c,p,g,u,h,m=e.a,v=e.b,f=e.c,y=e.d,b=e.e,w={},_={},x=o[v]._L[m[0].id],S=m[0].className;if(x=void 0===x?{}:x,"object"==typeof S&&(S=""),void 0!==m&&void 0!==m[0]&&(S.indexOf("rs_splitted")>=0||"BR"==m[0].nodeName||"br"==m[0].tagName||m[0].tagName.indexOf("FCR")>0||m[0].tagName.indexOf("BCR")>0))return!1;b="individual"===b?x.slideIndex:b;e=function(e,i,r){if(void 0!==e){if("BR"==e[0].nodeName||"br"==e[0].tagName)return!1;var s,n=o[i].level,d=void 0!==e[0]&&void 0!==e[0].id&&void 0!==o[i]._L[e[0].id]?o[i]._L[e[0].id]:e.data();void 0===(d=void 0===d.basealign?r.data():d)._isnotext&&(d._isnotext=void 0!==r&&void 0!==r[0]&&r[0].length>0?o.gA(r[0],"_isnotext"):d._isnotext);var l={basealign:void 0===d.basealign?"grid":d.basealign,lineHeight:void 0===d.basealign?"inherit":parseInt(d.lineHeight[n]),color:void 0===d.color?void 0:d.color[n],width:void 0===d.width?void 0:"a"===d.width[n]?"auto":d.width[n],height:void 0===d.height?void 0:"a"===d.height[n]?"auto":d.height[n],minWidth:void 0===d.minWidth?void 0:"n"===d.minWidth[n]?"none":d.minWidth[n],minHeight:void 0===d.minHeight?void 0:"n"==d.minHeight[n]?"none":d.minHeight[n],maxWidth:void 0===d.maxWidth?void 0:"n"==d.maxWidth[n]?"none":d.maxWidth[n],maxHeight:void 0===d.maxHeight?void 0:"n"==d.maxHeight[n]?"none":d.maxHeight[n],float:d.float[n],clear:d.clear[n]};for(d.borderStyle&&(l.borderStyle=d.borderStyle[n]),s=0;s<4;s++)d["padding"+t[s]]&&(l["padding"+t[s]]=d["padding"+t[s]][n]),d["margin"+t[s]]&&(l["margin"+t[s]]=parseInt(d["margin"+t[s]][n])),d["border"+a[s]+"Radius"]&&(l["border"+a[s]+"Radius"]=d["border"+a[s]+"Radius"][n]),d["border"+t[s]+"Color"]&&(l["border"+t[s]+"Color"]=d["border"+t[s]+"Color"]),d["border"+t[s]+"Width"]&&(l["border"+t[s]+"Width"]=parseInt(d["border"+t[s]+"Width"]));return d._isnotext||(l.textDecoration=d.textDecoration,l.fontSize=parseInt(d.fontSize[n]),l.fontWeight=parseInt(d.fontWeight[n]),l.letterSpacing=parseInt(d.letterSpacing[n])||0,l.textAlign=d.textAlign[n],l.whiteSpace=d.whiteSpace[n],l.whiteSpace="normal"===l.whiteSpace&&"auto"===l.width&&!0!==d._incolumn?"nowrap":l.whiteSpace,l.display=d.display,void 0!==d.tshadow&&(l.textShadow=parseInt(d.tshadow.h[n],0)+"px "+parseInt(d.tshadow.v[n],0)+"px "+d.tshadow.b[n]+" "+d.tshadow.c),void 0!==d.tstroke&&(l.textStroke=parseInt(d.tstroke.w[n],0)+"px "+d.tstroke.c)),void 0!==d.bshadow&&(l.boxShadow=parseInt(d.bshadow.h[n],0)+"px "+parseInt(d.bshadow.v[n],0)+"px "+parseInt(d.bshadow.b[n],0)+"px "+parseInt(d.bshadow.s[n],0)+"px "+d.bshadow.c),l}}(m,v,e.RSL);var k,L="off"===y?1:o[v].CM.w;if(void 0===x._isnotext&&(x._isnotext=void 0!==e.RSL&&void 0!==e.RSL[0]&&e.RSL[0].length>0?o.gA(e.RSL[0],"_isnotext"):x._isnotext),x.OBJUPD=null==x.OBJUPD?{}:x.OBJUPD,x.caches=null==x.caches?{}:x.caches,"column"===x.type){for(s={},k={},i=0;i<4;i++)void 0!==e["margin"+t[i]]&&(s["padding"+t[i]]=Math.round(e["margin"+t[i]]*L)+"px",k["margin"+t[i]]=e["margin"+t[i]],delete e["margin"+t[i]]);jQuery.isEmptyObject(s)||tpGS.gsap.set(x._column,s)}var R=o.clone(x.OBJUPD.POBJ),I=o.clone(x.OBJUPD.LPOBJ);if(-1===S.indexOf("rs_splitted_")){for(s={overwrite:"auto"},i=0;i<4;i++)void 0!==e["border"+a[i]+"Radius"]&&(s["border"+a[i]+"Radius"]=e["border"+a[i]+"Radius"]),void 0!==e["padding"+t[i]]&&(s["padding"+t[i]]=Math.round(e["padding"+t[i]]*L)+"px"),void 0===e["margin"+t[i]]||x._incolumn||(s["margin"+t[i]]="row"===x.type?0:Math.round(e["margin"+t[i]]*L)+"px");if(void 0!==x.spike&&(s["clip-path"]=s["-webkit-clip-path"]=x.spike),e.boxShadow&&(s.boxShadow=e.boxShadow),"column"!==x.type&&(void 0!==e.borderStyle&&"none"!==e.borderStyle&&(0!==e.borderTopWidth||e.borderBottomWidth>0||e.borderLeftWidth>0||e.borderRightWidth>0)?(s.borderTopWidth=Math.round(e.borderTopWidth*L)+"px",s.borderBottomWidth=Math.round(e.borderBottomWidth*L)+"px",s.borderLeftWidth=Math.round(e.borderLeftWidth*L)+"px",s.borderRightWidth=Math.round(e.borderRightWidth*L)+"px",s.borderStyle=e.borderStyle,s.borderTopColor=e.borderTopColor,s.borderBottomColor=e.borderBottomColor,s.borderLeftColor=e.borderLeftColor,s.borderRightColor=e.borderRightColor):("none"===e.borderStyle&&(s.borderStyle="none"),s.borderTopColor=e.borderTopColor,s.borderBottomColor=e.borderBottomColor,s.borderLeftColor=e.borderLeftColor,s.borderRightColor=e.borderRightColor)),"shape"!==x.type&&"image"!==x.type||!(D(e.borderTopLeftRadius)||D(e.borderTopRightRadius)||D(e.borderBottomLeftRadius)||D(e.borderBottomRightRadius))||(s.overflow="hidden"),x._isnotext||("column"!==x.type&&(s.fontSize=Math.round(e.fontSize*L)+"px",s.fontWeight=e.fontWeight,s.letterSpacing=e.letterSpacing*L+"px",e.textShadow&&(s.textShadow=e.textShadow),e.textStroke&&(s["-webkit-text-stroke"]=e.textStroke)),s.lineHeight=Math.round(e.lineHeight*L)+"px",s.textAlign=e.textAlign),"column"===x.type&&(void 0===x.cbg_set&&(x.cbg_set=x.styleProps["background-color"],x.cbg_set=""==x.cbg_set||void 0===x.cbg_set||0==x.cbg_set.length?"transparent":x.cbg_set,x.cbg_img=m.css("backgroundImage"),""!==x.cbg_img&&void 0!==x.cbg_img&&"none"!==x.cbg_img&&(x.cbg_img_r=m.css("backgroundRepeat"),x.cbg_img_p=m.css("backgroundPosition"),x.cbg_img_s=m.css("backgroundSize")),x.cbg_o=x.bgopacity?1:x.bgopacity,w.backgroundColor="transparent",w.backgroundImage=""),s.backgroundColor="transparent",s.backgroundImage="none"),x._isstatic&&x.elementHovered&&(p=m.data("frames"))&&p.frame_hover&&p.frame_hover.transform)for(g in s)s.hasOwnProperty(g)&&p.frame_hover.transform.hasOwnProperty(g)&&delete s[g];if("IFRAME"==m[0].nodeName&&"html"===o.gA(m[0],"layertype")&&(u="slide"==e.basealign?o[v].module.width:o.iWA(v,b),h="slide"==e.basealign?o[v].module.height:o.iHE(v),s.width=!o.isNumeric(e.width)&&e.width.indexOf("%")>=0?!x._isstatic||x._incolumn||x._ingroup?e.width:u*parseInt(e.width,0)/100:B(e.width,L,"auto",u,"auto"),s.height=!o.isNumeric(e.height)&&e.height.indexOf("%")>=0?!x._isstatic||x._incolumn||x._ingroup?e.height:h*parseInt(e.height,0)/100:B(e.height,L,"auto",u,"auto")),w=jQuery.extend(!0,w,s),"rekursive"!=f){u="slide"==e.basealign?o[v].module.width:o.iWA(v,b),h="slide"==e.basealign?o[v].module.height:o.iHE(v);var O=!o.isNumeric(e.width)&&e.width.indexOf("%")>=0?!x._isstatic||x._incolumn||x._ingroup?e.width:u*parseInt(e.width,0)/100:B(e.width,L,"auto",u,"auto"),T=!o.isNumeric(e.height)&&e.height.indexOf("%")>=0?!x._isstatic||x._incolumn||x._ingroup?e.height:h*parseInt(e.height,0)/100:B(e.height,L,"auto",u,"auto"),C={maxWidth:B(e.maxWidth,L,"none",u,"none"),maxHeight:B(e.maxHeight,L,"none",h,"none"),minWidth:B(e.minWidth,L,"0px",u,0),minHeight:B(e.minHeight,L,"0px",h,0),height:T,width:O,overwrite:"auto"};1==x.heightSetByVideo&&(C.height=x.vidOBJ.height);var A=!1;if(x._incolumn){for(R=jQuery.extend(!0,R,{minWidth:O,maxWidth:O,float:e.float,clear:e.clear}),i=0;i<4;i++)void 0!==e["margin"+t[i]]&&(R["margin"+t[i]]=e["margin"+t[i]]*L+"px");I.width="100%",void 0!==e.display&&"inline-block"!==e.display||(_={width:"100%"}),C.width=!o.isNumeric(e.width)&&e.width.indexOf("%")>=0?"100%":O,"image"===x.type&&tpGS.gsap.set(x.img,{width:"100%"})}else!o.isNumeric(e.width)&&e.width.indexOf("%")>=0&&(R.minWidth="slide"===x.basealign||!0===x._ingroup?O:o.iWA(v,b)*o[v].CM.w*parseInt(O)/100+"px",I.width="100%",_.width="100%");if(!o.isNumeric(e.height)&&e.height.indexOf("%")>=0&&(R.minHeight="slide"===x.basealign||!0===x._ingroup?T:o.iHE(v)*(o[v].currentRowsHeight>o[v].gridheight[o[v].level]?1:o[v].CM.w)*parseInt(T)/100+"px",I.height="100%",_.height="100%",A=!0),x._isnotext||(C.whiteSpace=e.whiteSpace,C.textAlign=e.textAlign,C.textDecoration=e.textDecoration),"npc"!=e.color&&void 0!==e.color&&(C.color=e.color),x._ingroup&&(x._groupw=C.minWidth,x._grouph=C.minHeight),"row"===x.type&&(o.isNumeric(C.minHeight)||C.minHeight.indexOf("px")>=0)&&"0px"!==C.minHeight&&0!==C.minHeight&&"0"!==C.minHeight&&"none"!==C.minHeight?C.height=C.minHeight:"row"===x.type&&(C.height="auto"),x._isstatic&&x.elementHovered&&(p=m.data("frames"))&&p.frame_hover&&p.frame_hover.transform)for(g in C)C.hasOwnProperty(g)&&p.frame_hover.transform.hasOwnProperty(g)&&delete C[g];"group"!==x.type&&"row"!==x.type&&"column"!==x.type&&(!o.isNumeric(C.width)&&C.width.indexOf("%")>=0&&(C.width="100%"),!o.isNumeric(C.height)&&C.height.indexOf("%")>=0&&(C.height="100%")),x._isgroup&&(!o.isNumeric(C.width)&&C.width.indexOf("%")>=0&&(C.width="100%"),R.height=A?"100%":C.height),w=jQuery.extend(!0,w,C),null!=x.svg_src&&void 0!==x.svgI&&("string"==typeof x.svgI.fill&&(x.svgI.fill=[x.svgI.fill]),x.svgTemp=o.clone(x.svgI),void 0!==x.svgTemp.fill&&(x.svgTemp.fill=x.svgTemp.fill[o[v].level],tpGS.gsap.set(x.svgPath,{fill:x.svgI.fill[o[v].level]})),tpGS.gsap.set(x.svg,x.svgTemp))}if("row"===x.type)for(i=0;i<4;i++)void 0!==e["margin"+t[i]]&&(R["padding"+t[i]]=e["margin"+t[i]]*L+"px");if("column"===x.type&&x.cbg&&x.cbg.length>0){for(void 0!==x.cbg_img_s&&(x.cbg[0].style.backgroundSize=x.cbg_img_s),s={},""!==x.styleProps.cursor&&(s.cursor=x.styleProps.cursor),""!==x.cbg_set&&"transparent"!==x.cbg_set&&(s.backgroundColor=x.cbg_set),""!==x.cbg_img&&"none"!==x.cbg_img&&(s.backgroundImage=x.cbg_img,""!==x.cbg_img_r&&(s.backgroundRepeat=x.cbg_img_r),""!==x.cbg_img_p&&(s.backgroundPosition=x.cbg_img_p)),""!==x.cbg_o&&void 0!==x.cbg_o&&(s.opacity=x.cbg_o),i=0;i<4;i++)void 0!==e.borderStyle&&"none"!==e.borderStyle&&(void 0!==e["border"+t[i]+"Width"]&&(s["border"+t[i]+"Width"]=Math.round(parseInt(e["border"+t[i]+"Width"])*L)+"px"),void 0!==e["border"+t[i]+"Color"]&&(s["border"+t[i]+"Color"]=e["border"+t[i]+"Color"])),e["border"+a[i]+"Radius"]&&(s["border"+a[i]+"Radius"]=e["border"+a[i]+"Radius"]);for(void 0!==e.borderStyle&&"none"!==e.borderStyle&&(s.borderStyle=e.borderStyle),(n=JSON.stringify(s))!==o[v].emptyObject&&n!==x.caches.cbgS&&tpGS.gsap.set(x.cbg,s),x.caches.cbgS=n,s={},i=0;i<4;i++)k["margin"+t[i]]&&(s[r[i]]=k["margin"+t[i]]*L+"px");(n=JSON.stringify(s))!==o[v].emptyObject&&n!==x.caches.cbgmaskS&&(tpGS.gsap.set(x.cbgmask,s),x.caches.cbgmaskS=n)}"auto"===R.maxWidth&&(R.maxWidth="inherit"),"auto"===R.maxHeight&&(R.maxHeight="inherit"),"auto"===_.maxWidth&&(_.maxWidth="inherit"),"auto"===_.maxHeight&&(_.maxHeight="inherit"),"auto"===I.maxWidth&&(I.maxWidth="inherit"),"auto"===I.maxHeight&&(I.maxHeight="inherit"),void 0!==x.vidOBJ&&(w.width=x.vidOBJ.width,w.height=x.vidOBJ.height),void 0!==x.OBJUPD.lppmOBJ&&(void 0!==x.OBJUPD.lppmOBJ.minWidth&&(I.minWidth=x.OBJUPD.lppmOBJ.minWidth,_.minWidth=x.OBJUPD.lppmOBJ.minWidth,R.minWidth=x.OBJUPD.lppmOBJ.minWidth),void 0!==x.OBJUPD.lppmOBJ.minHeight&&(I.minHeight=x.OBJUPD.lppmOBJ.minHeight,_.minHeight=x.OBJUPD.lppmOBJ.minHeight,R.minHeight=x.OBJUPD.lppmOBJ.minHeight)),n=JSON.stringify(w),d=JSON.stringify(I),l=JSON.stringify(_),c=JSON.stringify(R),void 0===x.imgOBJ||void 0!==x.caches.imgOBJ&&x.caches.imgOBJ.width===x.imgOBJ.width&&x.caches.imgOBJ.height===x.imgOBJ.height&&x.caches.imgOBJ.left===x.imgOBJ.left&&x.caches.imgOBJ.right===x.imgOBJ.right&&x.caches.imgOBJ.top===x.imgOBJ.top&&x.caches.imgOBJ.bottom===x.imgOBJ.bottom||(x.caches.imgOBJ=o.clone(x.imgOBJ),x.imgOBJ.position="relative",tpGS.gsap.set(x.img,x.imgOBJ)),void 0===x.mediaOBJ||void 0!==x.caches.mediaOBJ&&x.caches.mediaOBJ.width===x.mediaOBJ.width&&x.caches.mediaOBJ.height===x.mediaOBJ.height&&x.caches.mediaOBJ.display===x.mediaOBJ.display||(x.caches.mediaOBJ=o.clone(x.mediaOBJ),x.media.css(x.mediaOBJ)),n!=o[v].emptyObject&&n!=x.caches.LOBJ&&(tpGS.gsap.set(m,w),x.caches.LOBJ=n),d!=o[v].emptyObject&&d!=x.caches.LPOBJ&&(tpGS.gsap.set(x.lp,I),x.caches.LPOBJ=d),l!=o[v].emptyObject&&l!=x.caches.MOBJ&&(tpGS.gsap.set(x.m,_),x.caches.MOBJ=l),c!=o[v].emptyObject&&c!=x.caches.POBJ&&(tpGS.gsap.set(x.p,R),x.caches.POBJ=c,x.caches.POBJ_LEFT=R.left,x.caches.POBJ_TOP=R.top)}},G=function(e){var i={l:"none",lw:10,r:"none",rw:10};for(var t in e=e.split(";"))if(e.hasOwnProperty(t)){var a=e[t].split(":");switch(a[0]){case"l":i.l=a[1];break;case"r":i.r=a[1];break;case"lw":i.lw=a[1];break;case"rw":i.rw=a[1]}}return"polygon("+H(i.l,0,parseFloat(i.lw))+","+H(i.r,100,100-parseFloat(i.rw),!0)+")"},H=function(e,i,t,a){var r;switch(e){case"none":r=i+"% 100%,"+i+"% 0%";break;case"top":r=t+"% 100%,"+i+"% 0%";break;case"middle":r=t+"% 100%,"+i+"% 50%,"+t+"% 0%";break;case"bottom":r=i+"% 100%,"+t+"% 0%";break;case"two":r=t+"% 100%,"+i+"% 75%,"+t+"% 50%,"+i+"% 25%,"+t+"% 0%";break;case"three":r=i+"% 100%,"+t+"% 75%,"+i+"% 50%,"+t+"% 25%,"+i+"% 0%";break;case"four":r=i+"% 100%,"+t+"% 87.5%,"+i+"% 75%,"+t+"% 62.5%,"+i+"% 50%,"+t+"% 37.5%,"+i+"% 25%,"+t+"% 12.5%,"+i+"% 0%";break;case"five":r=i+"% 100%,"+t+"% 90%,"+i+"% 80%,"+t+"% 70%,"+i+"% 60%,"+t+"% 50%,"+i+"% 40%,"+t+"% 30%,"+i+"% 20%,"+t+"% 10%,"+i+"% 0%"}if(a){var o=r.split(",");for(var t in r="",o)o.hasOwnProperty(t)&&(r+=o[o.length-1-t]+(ti[e].module.width,i[e].navigation.thumbnails.cw=Math.max(Math.round(i[e].navigation.thumbnails.width*i[e].navigation.scaler),i[e].navigation.thumbnails.min_width),i[e].navigation.thumbnails.ch=Math.round(i[e].navigation.thumbnails.cw/i[e].navigation.thumbnails.width*i[e].navigation.thumbnails.height),i[e].navigation.thumbnails.isVisible&&"outer-left"===i[e].navigation.thumbnails.position?t.left=i[e].navigation.thumbnails.cw+2*i[e].navigation.thumbnails.wrapper_padding:i[e].navigation.thumbnails.isVisible&&"outer-right"===i[e].navigation.thumbnails.position?t.right=i[e].navigation.thumbnails.cw+2*i[e].navigation.thumbnails.wrapper_padding:i[e].navigation.thumbnails.isVisible&&"outer-top"===i[e].navigation.thumbnails.position?t.top=i[e].navigation.thumbnails.ch+2*i[e].navigation.thumbnails.wrapper_padding:i[e].navigation.thumbnails.isVisible&&"outer-bottom"===i[e].navigation.thumbnails.position&&(t.bottom=i[e].navigation.thumbnails.ch+2*i[e].navigation.thumbnails.wrapper_padding)),i[e].navigation.tabs&&i[e].navigation.tabs.enable&&(i[e].navigation.tabs.isVisible=i[e].navigation.tabs.hide_underi[e].module.width,i[e].navigation.tabs.cw=Math.max(Math.round(i[e].navigation.tabs.width*i[e].navigation.scaler),i[e].navigation.tabs.min_width),i[e].navigation.tabs.ch=Math.round(i[e].navigation.tabs.cw/i[e].navigation.tabs.width*i[e].navigation.tabs.height),i[e].navigation.tabs.isVisible&&"outer-left"===i[e].navigation.tabs.position?t.left+=i[e].navigation.tabs.cw+2*i[e].navigation.tabs.wrapper_padding:i[e].navigation.tabs.isVisible&&"outer-right"===i[e].navigation.tabs.position?t.right+=i[e].navigation.tabs.cw+2*i[e].navigation.tabs.wrapper_padding:i[e].navigation.tabs.isVisible&&"outer-top"===i[e].navigation.tabs.position?t.top+=i[e].navigation.tabs.ch+2*i[e].navigation.tabs.wrapper_padding:i[e].navigation.tabs.isVisible&&"outer-bottom"===i[e].navigation.tabs.position&&(t.bottom+=i[e].navigation.tabs.ch+2*i[e].navigation.tabs.wrapper_padding)),{left:t.left,right:t.right,horizontal:t.left+t.right,vertical:t.top+t.bottom,top:t.top,bottom:t.bottom}},resizeThumbsTabs:function(e,t){if(void 0!==i[e]&&i[e].navigation.use&&(i[e].navigation&&i[e].navigation.bullets.enable||i[e].navigation&&i[e].navigation.tabs.enable||i[e].navigation&&i[e].navigation.thumbnails.enable)){var a=tpGS.gsap.timeline(),r=i[e].navigation.tabs,s=i[e].navigation.thumbnails,n=i[e].navigation.bullets;if(a.pause(),p(r)&&(t||r.width>r.min_width)&&o(e,a,i[e].c,r,i[e].slideamount,"tab"),p(s)&&(t||s.width>s.min_width)&&o(e,a,i[e].c,s,i[e].slideamount,"thumb",e),p(n)&&t){var d=i[e].c.find(".tp-bullets");d.find(".tp-bullet").each(function(e){var i=jQuery(this),t=e+1,a=i.outerWidth()+parseInt(void 0===n.space?0:n.space,0),r=i.outerHeight()+parseInt(void 0===n.space?0:n.space,0);"vertical"===n.direction?(i.css({top:(t-1)*r+"px",left:"0px"}),d.css({height:(t-1)*r+i.outerHeight(),width:i.outerWidth()})):(i.css({left:(t-1)*a+"px",top:"0px"}),d.css({width:(t-1)*a+i.outerWidth(),height:i.outerHeight()}))})}a.play()}return!0},updateNavIndexes:function(e){var t=i[e].c;function a(e){t.find(e).lenght>0&&t.find(e).each(function(e){jQuery(this).data("liindex",e)})}a("rs-tab"),a("rs-bullet"),a("rs-thumb"),i.resizeThumbsTabs(e,!0),i.manageNavigation(e)},manageNavigation:function(e,t){i[e].navigation.use&&(p(i[e].navigation.bullets)&&("fullscreen"!=i[e].sliderLayout&&"fullwidth"!=i[e].sliderLayout&&(i[e].navigation.bullets.h_offset_old=void 0===i[e].navigation.bullets.h_offset_old?parseInt(i[e].navigation.bullets.h_offset,0):i[e].navigation.bullets.h_offset_old,i[e].navigation.bullets.h_offset="center"===i[e].navigation.bullets.h_align?i[e].navigation.bullets.h_offset_old+i[e].outNavDims.left/2-i[e].outNavDims.right/2:i[e].navigation.bullets.h_offset_old+i[e].outNavDims.left),w(i[e].navigation.bullets.c,i[e].navigation.bullets,e)),p(i[e].navigation.thumbnails)&&w(i[e].navigation.thumbnails,e),p(i[e].navigation.tabs)&&w(i[e].navigation.tabs,e),p(i[e].navigation.arrows)&&("fullscreen"!=i[e].sliderLayout&&"fullwidth"!=i[e].sliderLayout&&(i[e].navigation.arrows.left.h_offset_old=void 0===i[e].navigation.arrows.left.h_offset_old?parseInt(i[e].navigation.arrows.left.h_offset,0):i[e].navigation.arrows.left.h_offset_old,i[e].navigation.arrows.left.h_offset=(i[e].navigation.arrows.left.h_align,i[e].navigation.arrows.left.h_offset_old),i[e].navigation.arrows.right.h_offset_old=void 0===i[e].navigation.arrows.right.h_offset_old?parseInt(i[e].navigation.arrows.right.h_offset,0):i[e].navigation.arrows.right.h_offset_old,i[e].navigation.arrows.right.h_offset=(i[e].navigation.arrows.right.h_align,i[e].navigation.arrows.right.h_offset_old)),w(i[e].navigation.arrows.left,e),w(i[e].navigation.arrows.right,e)),!1!==t&&(p(i[e].navigation.thumbnails)&&r(i[e].navigation.thumbnails,e),p(i[e].navigation.tabs)&&r(i[e].navigation.tabs,e)))},showFirstTime:function(e){u(e),i.hideUnHideNav(e)},selectNavElement:function(e,t,a,r){for(var o=i[e].cpar[0].getElementsByClassName(a),s=0;s0?l-1:i[e].slideamount-1,u=l+1==i[e].slideamount?0:l+1;if(!0===t.enable&&t.pi!==g&&t.ni!==u){if(t.pi=g,t.ni=u,t.left.c[0].innerHTML=i.transferParams(t.tmp,i[e].thumbs[g]),u>i[e].slideamount)return;t.right.c[0].innerHTML=i.transferParams(t.tmp,i[e].thumbs[u]),t.right.iholder=t.right.c.find(".tp-arr-imgholder"),t.left.iholder=t.left.c.find(".tp-arr-imgholder"),t.rtl?(void 0!==t.left.iholder[0]&&tpGS.gsap.set(t.left.iholder,{backgroundImage:"url("+i[e].thumbs[u].src+")"}),void 0!==i[e].thumbs[g]&&void 0!==t.right.iholder[0]&&tpGS.gsap.set(t.right.iholder,{backgroundImage:"url("+i[e].thumbs[g].src+")"})):(void 0!==i[e].thumbs[g]&&void 0!==t.left.iholder[0]&&tpGS.gsap.set(t.left.iholder,{backgroundImage:"url("+i[e].thumbs[g].src+")"}),void 0!==t.right.iholder[0]&&tpGS.gsap.set(t.right.iholder,{backgroundImage:"url("+i[e].thumbs[u].src+")"}))}}},createNavigation:function(e){var r=i[e].navigation.arrows,o=i[e].navigation.bullets,d=i[e].navigation.thumbnails,h=i[e].navigation.tabs,v=p(r),y=p(o),b=p(d),S=p(h);for(var k in s(e),n(e),v&&(f(r,e),r.c=i[e].cpar.find(".tparrows")),i[e].slides)if(i[e].slides.hasOwnProperty(k)&&"true"!=i.gA(i[e].slides[k],"not_in_nav")){var L=jQuery(i[e].slides[i[e].slides.length-1-k]),R=jQuery(i[e].slides[k]);y&&(i[e].navigation.bullets.rtl?_(i[e].c,o,L,e):_(i[e].c,o,R,e)),b&&(i[e].navigation.thumbnails.rtl?x(i[e].c,d,L,"tp-thumb",e):x(i[e].c,d,R,"tp-thumb",e)),S&&(i[e].navigation.tabs.rtl?x(i[e].c,h,L,"tp-tab",e):x(i[e].c,h,R,"tp-tab",e))}y&&w(o,e),b&&w(d,e),S&&w(h,e),(b||S)&&i.updateDims(e),i[e].navigation.createNavigationDone=!0,b&&jQuery.extend(!0,d,a(e,"thumb")),S&&jQuery.extend(!0,h,a(e,"tab")),i[e].c.on("revolution.slide.onafterswap revolution.nextslide.waiting",function(){i.updateNavElementContent(e,r,o,d,h)}),c(r),c(o),c(d),c(h),i[e].cpar.on("mouseenter mousemove",function(a){void 0!==a.target&&void 0!==a.target.className&&"string"==typeof a.target.className&&a.target.className.indexOf("rs-waction")>=0||!0!==i[e].tpMouseOver&&i[e].firstSlideAvailable&&(i[e].tpMouseOver=!0,u(e),t&&!0!==i[e].someNavIsDragged&&(g(i[e].hideAllNavElementTimer),i[e].hideAllNavElementTimer=setTimeout(function(){i[e].tpMouseOver=!1,m(e)},150)))}),i[e].cpar.on("mouseleave ",function(){i[e].tpMouseOver=!1,m(e)}),(b||S||"carousel"===i[e].sliderType||i[e].navigation.touch.touchOnDesktop||i[e].navigation.touch.touchenabled&&t)&&l(e),i[e].navigation.initialised=!0,i.updateNavElementContent(e,r,o,d,h),i.showFirstTime(e)}});var r=function(e,t){if(void 0!==e&&null!=e.mask){var a="vertical"===e.direction?e.mask.find(e.single).first().outerHeight(!0)+e.space:e.mask.find(e.single).first().outerWidth(!0)+e.space,r="vertical"===e.direction?e.mask.height():e.mask.width(),o=e.mask.find(e.single+".selected").data("liindex");o=(o=void 0===(o=e.rtl?i[t].slideamount-o:o)?0:o)>0&&1===i[t].sdir&&e.visibleAmount>1?o-1:o;var s=r/a,n="vertical"===e.direction?e.mask.height():e.mask.width(),d=0-o*a,l="vertical"===e.direction?e.wrap.height():e.wrap.width(),c=d<0-(l-n)?0-(l-n):d,p=i.gA(e.wrap[0],"offset");p=void 0===p?0:p,s>2&&(c=d-(p+a)<=0?d-(p+a)<0-a?p:c+a:c,c=d-a+p+r=e.wrap.width()||"vertical"===e.direction&&e.mask.height()>=e.wrap.height()?0:c<0-(l-n)?0-(l-n):c>0?0:c,e.c.hasClass("dragged")||("vertical"===e.direction?e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{top:c+"px",ease:"power3.inOut"})):e.wrap.data("tmmove",tpGS.gsap.to(e.wrap,.5,{left:c+"px",ease:"power3.inOut"})),e.wrap.data("offset",c))}},o=function(e,t,a,r,o,s){var n=a.parent().find(".tp-"+s+"s"),d=n.find(".tp-"+s+"s-inner-wrapper"),l=n.find(".tp-"+s+"-mask"),c="vertical"===r.direction?r.cw:r.cw*o+parseFloat(r.space)*(o-1),p="vertical"===r.direction?r.ch*o+parseInt(r.space)*(o-1):r.ch,g="vertical"===r.direction?{width:r.cw+"px"}:{height:r.ch+"px"};if(t.add(tpGS.gsap.set(n,g)),t.add(tpGS.gsap.set(d,{width:c+"px",height:p+"px"})),"horizontal"===r.direction){var u=Math.min(c,r.cw*r.visibleAmount+parseFloat(r.space)*(r.visibleAmount-1));t.add(tpGS.gsap.set(l,{width:u+"px",height:p+"px"}))}else{var h=Math.min(p,r.ch*r.visibleAmount+parseFloat(r.space)*(r.visibleAmount-1));t.add(tpGS.gsap.set(l,{width:c+"px",height:h+"px"}))}null!==d.outerWidth()&&(i[e].thumbResized=!0);var m=d.find(".tp-"+s);return m&&jQuery.each(m,function(e,i){"vertical"===r.direction?t.add(tpGS.gsap.set(i,{top:e*(r.ch+parseInt(void 0===r.space?0:r.space,0)),width:r.cw+"px",height:r.ch+"px"})):"horizontal"===r.direction&&t.add(tpGS.gsap.set(i,{left:e*(r.cw+parseInt(void 0===r.space?0:r.space,0)),width:r.cw+"px",height:r.ch+"px"}))}),t},s=function(e){!0===i[e].navigation.keyboardNavigation&&i.document.on("keydown",function(t){if("horizontal"==i[e].navigation.keyboard_direction&&39==t.keyCode||"vertical"==i[e].navigation.keyboard_direction&&40==t.keyCode){if(void 0!==i[e].keydown_time_stamp&&(new Date).getTime()-i[e].keydown_time_stamp<1e3)return;i[e].sc_indicator="arrow",i[e].sc_indicator_dir=0,"carousel"===i[e].sliderType&&(i[e].ctNavElement=!0),i.callingNewSlide(e,1,"carousel"===i[e].sliderType)}if("horizontal"==i[e].navigation.keyboard_direction&&37==t.keyCode||"vertical"==i[e].navigation.keyboard_direction&&38==t.keyCode){if(void 0!==i[e].keydown_time_stamp&&(new Date).getTime()-i[e].keydown_time_stamp<1e3)return;i[e].sc_indicator="arrow",i[e].sc_indicator_dir=1,"carousel"===i[e].sliderType&&(i[e].ctNavElement=!0),i.callingNewSlide(e,-1,"carousel"===i[e].sliderType)}i[e].keydown_time_stamp=(new Date).getTime()})},n=function(e){!0!==i[e].navigation.mouseScrollNavigation&&"on"!==i[e].navigation.mouseScrollNavigation&&"carousel"!==i[e].navigation.mouseScrollNavigation||i[e].c.on("wheel mousewheel DOMMouseScroll",function(t){var a=function(e){var i=0;return"deltaY"in e||"deltaX"in e?i=0!=e.deltaY&&-0!=e.deltaY||!(e.deltaX<0||e.deltaX>0)?e.deltaY:e.deltaX:("detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120)),((i=navigator.userAgent.match(/mozilla/i)?10*i:i)>300||i<-300)&&(i/=10),i}(t.originalEvent),r=!1,o=0==i[e].pr_active_key||0==i[e].pr_processing_key,s=i[e].pr_active_key==i[e].slideamount-1||i[e].pr_processing_key==i[e].slideamount-1,n=void 0!==i[e].topc?i[e].topc[0].getBoundingClientRect():0===i[e].canv.height?i[e].cpar[0].getBoundingClientRect():i[e].c[0].getBoundingClientRect();if((n.top>0&&n.bottom=0&&n.bottom>=i.winH?(i.winH-n.top)/n.height:n.top<=0&&n.bottom<=i.winH?n.bottom/n.height:1)>=i[e].navigation.wheelViewPort){if("reverse"==i[e].navigation.mouseScrollReverse){let e=s;s=o,o=e}if("carousel"===i[e].sliderType&&!1===i[e].carousel.snap)i.swipeAnimate({id:e,to:i[e].carousel.slide_offset+5*a,direction:a<0?"left":"right",easing:"power2.out",phase:"move"});else{var d=a<0?-1:1;i[e].sc_indicator_dir="reverse"===i[e].navigation.mouseScrollReverse&&d<0||"reverse"!==i[e].navigation.mouseScrollReverse&&d>0?0:1,"carousel"==i[e].navigation.mouseScrollNavigation||0===i[e].sc_indicator_dir&&!s||1===i[e].sc_indicator_dir&&!o?void 0===i[e].pr_processing_key&&!0!==i[e].justmouseScrolled?(i[e].sc_indicator="arrow","carousel"===i[e].sliderType&&(i[e].ctNavElement=!0),i.callingNewSlide(e,0===i[e].sc_indicator_dir?1:-1,"carousel"===i[e].sliderType),i[e].justmouseScrolled=!0,setTimeout(function(){i[e].justmouseScrolled=!1},i[e].navigation.wheelCallDelay)):delete i[e].sc_indicator_dir:!0!==i[e].justmouseScrolled&&(r=!0)}return!!r||(t.preventDefault(t),!1)}})},d=function(e,i){var a=!1;for(var r in(void 0===i.path||t)&&(a=function(e,i){for(;e&&e!==document;e=e.parentNode)if(e.tagName===i)return e;return!1}(i.target,e)),i.path)i.path.hasOwnProperty(r)&&i.path[r].tagName===e&&(a=!0);return a},l=function(e){var a=i[e].carousel,r=i.is_android();jQuery(".bullet, .bullets, .tp-bullets, .tparrows").addClass("noSwipe"),i[e].navigation.touch=void 0===i[e].navigation.touch?{}:i[e].navigation.touch,i[e].navigation.touch.swipe_direction=void 0===i[e].navigation.touch.swipe_direction?"horizontal":i[e].navigation.touch.swipe_direction,jQuery(".rs-nav-element").rsswipe({allowPageScroll:"vertical",triggerOnTouchLeave:!0,treshold:i[e].navigation.touch.swipe_treshold,fingers:i[e].navigation.touch.swipe_min_touches>5?1:i[e].navigation.touch.swipe_min_touches,excludedElements:"button, input, select, textarea, .noSwipe, .rs-waction",tap:function(e,i){if(void 0!==i)var t=jQuery(i).closest("rs-thumb");void 0!==t&&t.length>0?t.trigger("click"):(t=jQuery(i).closest("rs-tab")).length>0?t.trigger("click"):(t=jQuery(i).closest("rs-bullet")).length>0&&t.trigger("click")},swipeStatus:function(t,o,s,n,l,c,p){if("start"!==o&&"move"!==o&&"end"!==o&&"cancel"!=o)return!0;var u=d("RS-THUMB",t),m=d("RS-TAB",t);!1===u&&!1===m&&!0!==(u="RS-THUMBS-WRAP"===t.target.tagName||"RS-THUMBS"===t.target.tagName||t.target.className.indexOf("tp-thumb-mask")>=0)&&(m="RS-TABS-WRAP"===t.target.tagName||"RS-TABS"===t.target.tagName||t.target.className.indexOf("tp-tab-mask")>=0);var v="start"===o?0:r?p[0].end.x-p[0].start.x:t.pageX-a.screenX,f="start"===o?0:r?p[0].end.y-p[0].start.y:t.pageY-a.screenY,y=u?".tp-thumbs":".tp-tabs",b=u?".tp-thumb-mask":".tp-tab-mask",w=u?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",_=u?".tp-thumb":".tp-tab",x=u?i[e].navigation.thumbnails:i[e].navigation.tabs,S=i[e].cpar.find(b),k=S.find(w),L=x.direction,R="vertical"===L?k.height():k.width(),I="vertical"===L?S.height():S.width(),O="vertical"===L?S.find(_).first().outerHeight(!0)+parseFloat(x.space):S.find(_).first().outerWidth(!0)+parseFloat(x.space),T=void 0===k.data("offset")?0:parseInt(k.data("offset"),0),C=0;switch(o){case"start":"vertical"===L&&t.preventDefault(),a.screenX=r?p[0].end.x:t.pageX,a.screenY=r?p[0].end.y:t.pageY,i[e].cpar.find(y).addClass("dragged"),T="vertical"===L?k.position().top:k.position().left,k.data("offset",T),k.data("tmmove")&&k.data("tmmove").pause(),i[e].someNavIsDragged=!0,h(e);break;case"move":if(R<=I)return!1;C=(C=T+("vertical"===L?f:v))>0?"horizontal"===L?C-k.width()*(C/k.width()*C/k.width()):C-k.height()*(C/k.height()*C/k.height()):C;var A="vertical"===L?0-(k.height()-S.height()):0-(k.width()-S.width());C=C0?0:C,C=Math.abs(n)>O/10?n<=0?Math.floor(C/O)*O:Math.ceil(C/O)*O:n<0?Math.ceil(C/O)*O:Math.floor(C/O)*O,C=(C="vertical"===L?C<0-(k.height()-S.height())?0-(k.height()-S.height()):C:C<0-(k.width()-S.width())?0-(k.width()-S.width()):C)>0?0:C,"vertical"===L?tpGS.gsap.to(k,.5,{top:C+"px",ease:"power3.out"}):tpGS.gsap.to(k,.5,{left:C+"px",ease:"power3.out"}),C=C||("vertical"===L?k.position().top:k.position().left),k.data("offset",C),k.data("distance",n),i[e].cpar.find(y).removeClass("dragged"),i[e].someNavIsDragged=!1,!0}}}),("carousel"!==i[e].sliderType&&(t&&i[e].navigation.touch.touchenabled||!0!==t&&i[e].navigation.touch.touchOnDesktop)||"carousel"===i[e].sliderType&&(t&&i[e].navigation.touch.mobileCarousel||!0!==t&&i[e].navigation.touch.desktopCarousel))&&(i[e].preventClicks=!1,i[e].c.on("click",function(t){i[e].preventClicks&&t.preventDefault()}),i[e].c.rsswipe({allowPageScroll:"vertical",triggerOnTouchLeave:!0,treshold:i[e].navigation.touch.swipe_treshold,fingers:i[e].navigation.touch.swipe_min_touches>5?1:i[e].navigation.touch.swipe_min_touches,excludedElements:"label, button, input, select, textarea, .noSwipe, .rs-nav-element",swipeStatus:function(o,s,n,d,l,c,p){i[e].preventClicks=!0;var g="start"===s?0:r?p[0].end.x-p[0].start.x:o.pageX-a.screenX,u="start"===s?0:r?p[0].end.x-p[0].start.y:o.pageY-a.screenY;if(!("carousel"===i[e].sliderType&&i[e].carousel.wrapwidth>i[e].carousel.maxwidth&&"center"!==i[e].carousel.horizontal_align)){if("carousel"!==i[e].sliderType){if("end"==s){if(i[e].sc_indicator="arrow","horizontal"==i[e].navigation.touch.swipe_direction&&"left"==n||"vertical"==i[e].navigation.touch.swipe_direction&&"up"==n)return i[e].sc_indicator_dir=0,i.callingNewSlide(e,1),!1;if("horizontal"==i[e].navigation.touch.swipe_direction&&"right"==n||"vertical"==i[e].navigation.touch.swipe_direction&&"down"==n)return i[e].sc_indicator_dir=1,i.callingNewSlide(e,-1),!1}return!0}switch((a.preventSwipe||t&&("left"===n||"right"===n))&&o.preventDefault(),void 0!==a.positionanim&&a.positionanim.pause(),a.carouselAutomatic=!1,s){case"start":clearTimeout(a.swipeMainTimer),a.beforeSwipeOffet=a.slide_offset,a.focusedBeforeSwipe=a.focused,a.beforeDragStatus=i[e].sliderstatus,i[e].c.trigger("stoptimer"),a.swipeStartPos=r?p[0].start.x:o.pageX,a.swipeStartTime=(new Date).getTime(),a.screenX=r?p[0].end.x:o.pageX,a.screenY=r?p[0].end.y:o.pageY,void 0!==a.positionanim&&(a.positionanim.pause(),a.carouselAutomatic=!1),a.overpull="none",a.wrap.addClass("dragged");break;case"move":if("left"!==n&&"right"!==n||(a.preventSwipe=!0),a.justDragged=!0,Math.abs(g)>=10||i[e].carousel.isDragged){if(i[e].carousel.isDragged=!0,i[e].c.find(".rs-waction").addClass("tp-temporarydisabled"),a.CACHE_slide_offset=a.beforeSwipeOffet+g,!a.infinity){var h="center"===a.horizontal_align?(a.wrapwidth/2-a.slide_width/2-a.CACHE_slide_offset)/a.slide_width:(0-a.CACHE_slide_offset)/a.slide_width;"none"!==a.overpull&&0!==a.overpull||!(h<0||h>i[e].slideamount-1)?h>=0&&h<=i[e].slideamount-1&&(h>=0&&g>a.overpull||h<=i[e].slideamount-1&&gi[e].slideamount-1?a.CACHE_slide_offset+(a.overpull-g)/1.5-Math.sqrt(Math.abs((a.overpull-g)/1.5)):a.CACHE_slide_offset}i.swipeAnimate({id:e,to:a.CACHE_slide_offset,direction:n,easing:"power2.out",phase:"move"})}break;case"end":case"cancel":if(clearTimeout(a.swipeMainTimer),a.swipeMainTimer=setTimeout(function(){a.preventSwipe=!1},500),i[e].carousel.isDragged=!1,a.wrap.removeClass("dragged"),a.swipeEndPos=r?p[0].end.x:o.pageX,a.swipeEndTime=(new Date).getTime(),a.swipeDuration=a.swipeEndTime-a.swipeStartTime,a.swipeDistance=t?a.swipeEndPos-a.swipeStartPos:(a.swipeEndPos-a.swipeStartPos)/1.5,a.swipePower=a.swipeDistance/a.swipeDuration,a.CACHE_slide_offset=a.slide_offset+a.swipeDistance*Math.abs(a.swipePower),Math.abs(g)<5&&Math.abs(u)<5)break;i.swipeAnimate({id:e,to:a.CACHE_slide_offset,direction:n,fix:!0,newSlide:!0,easing:"power2.out",phase:"end"}),"playing"===a.beforeDragStatus&&i[e].c.trigger("restarttimer"),setTimeout(function(){i[e].c.find(".rs-waction").removeClass("tp-temporarydisabled")},19)}}},tap:function(){i[e].preventClicks=!1}})),"carousel"===i[e].sliderType&&(t&&0==i[e].navigation.touch.mobileCarousel||!0!==t&&!1===i[e].navigation.touch.desktopCarousel)&&a.wrap.addClass("noswipe"),i[e].navigation.touch.drag_block_vertical&&i[e].c.addClass("disableVerticalScroll")},c=function(e){e.hide_delay=i.isNumeric(parseInt(e.hide_delay,0))?e.hide_delay:.2,e.hide_delay_mobile=i.isNumeric(parseInt(e.hide_delay_mobile,0))?e.hide_delay_mobile:.2},p=function(e){return e&&e.enable},g=function(e){clearTimeout(e)},u=function(e){var t=i[e].navigation.maintypes;for(var a in t)t.hasOwnProperty(a)&&p(i[e].navigation[t[a]])&&void 0!==i[e].navigation[t[a]].c&&(g(i[e].navigation[t[a]].showCall),i[e].navigation[t[a]].showCall=setTimeout(function(t){g(t.hideCall),t.hide_onleave&&!0!==i[e].tpMouseOver||(void 0===t.tween?t.tween=v(t):t.tween.play())},i[e].navigation[t[a]].hide_onleave&&!0!==i[e].tpMouseOver?0:parseInt(i[e].navigation[t[a]].animDelay),i[e].navigation[t[a]]))},h=function(e){var t=i[e].navigation.maintypes;for(var a in t)t.hasOwnProperty(a)&&void 0!==i[e].navigation[t[a]]&&i[e].navigation[t[a]].hide_onleave&&p(i[e].navigation[t[a]])&&g(i[e].navigation[t[a]].hideCall)},m=function(e,a){var r=i[e].navigation.maintypes;for(var o in r)r.hasOwnProperty(o)&&void 0!==i[e].navigation[r[o]]&&i[e].navigation[r[o]].hide_onleave&&p(i[e].navigation[r[o]])&&(g(i[e].navigation[r[o]].hideCall),i[e].navigation[r[o]].hideCall=setTimeout(function(e){g(e.showCall),e.tween&&e.tween.reverse()},t?parseInt(i[e].navigation[r[o]].hide_delay_mobile,0):parseInt(i[e].navigation[r[o]].hide_delay,0),i[e].navigation[r[o]]))},v=function(e){e.speed=void 0===e.speed?.5:e.speed,e.anims=[],void 0!==e.anim&&void 0===e.left&&e.anims.push(e.anim),void 0!==e.left&&e.anims.push(e.left.anim),void 0!==e.right&&e.anims.push(e.right.anim);var i=tpGS.gsap.timeline();for(var t in i.add(tpGS.gsap.to(e.c,e.speed,{opacity:1,ease:"power3.inOut"}),0),e.anims)if(e.anims.hasOwnProperty(t))switch(e.anims[t]){case"left":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginLeft:-50},{marginLeft:0,ease:"power3.inOut"}),0);break;case"right":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginLeft:50},{marginLeft:0,ease:"power3.inOut"}),0);break;case"top":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginTop:-50},{marginTop:0,ease:"power3.inOut"}),0);break;case"bottom":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{marginTop:50},{marginTop:0,ease:"power3.inOut"}),0);break;case"zoomin":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{scale:.5},{scale:1,ease:"power3.inOut"}),0);break;case"zoomout":i.add(tpGS.gsap.fromTo(e.c[t],e.speed,{scale:1.2},{scale:1,ease:"power3.inOut"}),0)}return i.play(),i},f=function(e,t){e.style=void 0===e.style?"":e.style,e.left.style=void 0===e.left.style?"":e.left.style,e.right.style=void 0===e.right.style?"":e.right.style,void 0===e.left.c&&(e.left.c=jQuery(''+e.tmp+""),i[t].c.append(e.left.c)),void 0===e.right.c&&(e.right.c=jQuery(''+e.tmp+""),i[t].c.append(e.right.c)),e[e.rtl?"left":"right"].c.on("click",function(){"carousel"===i[t].sliderType&&(i[t].ctNavElement=!0),i[t].sc_indicator="arrow",i[t].sc_indicator_dir=0,i[t].c.revnext()}),e[e.rtl?"right":"left"].c.on("click",function(){"carousel"===i[t].sliderType&&(i[t].ctNavElement=!0),i[t].sc_indicator="arrow",i[t].sc_indicator_dir=1,i[t].c.revprev()}),e.padding_top=parseInt(i[t].carousel.padding_top||0,0),e.padding_bottom=parseInt(i[t].carousel.padding_bottom||0,0),w(e.left,t),w(e.right,t),"outer-left"!=e.position&&"outer-right"!=e.position||(i[t].outernav=!0)},y=function(e,t,a,r){r=void 0===r?e.outerHeight(!0):r;var o=null==i[a]?0:0==i[a].canv.height?i[a].module.height:i[a].canv.height,s="layergrid"==t.container?"fullscreen"==i[a].sliderLayout?i[a].module.height/2-i[a].gridheight[i[a].level]*i[a].CM.h/2:i[a].autoHeight||null!=i[a].minHeight&&i[a].minHeight>0?o/2-i[a].gridheight[i[a].level]*i[a].CM.h/2:0:0,n="top"===t.v_align?{top:"0px",y:Math.round(t.v_offset+s)+"px"}:"center"===t.v_align?{top:"50%",y:Math.round(0-r/2+t.v_offset)+"px"}:{top:"100%",y:Math.round(0-(r+t.v_offset+s))+"px"};e.hasClass("outer-bottom")||tpGS.gsap.set(e,n)},b=function(e,t,a,r){r=void 0===r?e.outerWidth():r;var o="layergrid"===t.container?i[a].module.width/2-i[a].gridwidth[i[a].level]*i[a].CM.w/2:0,s="left"===t.h_align?{left:"0px",x:Math.round(t.h_offset+o)+"px"}:"center"===t.h_align?{left:"50%",x:Math.round(0-r/2+t.h_offset)+"px"}:{left:"100%",x:Math.round(0-(r+t.h_offset+o))+"px"};tpGS.gsap.set(e,s)},w=function(e,t){if(null!=e&&void 0!==e.c){var a="fullwidth"==i[t].sliderLayout||"fullscreen"==i[t].sliderLayout?i[t].module.width:i[t].canv.width,r=e.c.outerWidth(),o=e.c.outerHeight();if(!(r<=0||o<=0)&&(y(e.c,e,t,o),b(e.c,e,t,r),"outer-left"===e.position?tpGS.gsap.set(e.c,{left:0-r+"px",x:e.h_offset+"px"}):"outer-right"===e.position&&tpGS.gsap.set(e.c,{right:0-r+"px",x:e.h_offset+"px"}),"tp-thumb"===e.type||"tp-tab"===e.type)){var s=parseInt(e.padding_top||0,0),n=parseInt(e.padding_bottom||0,0),d={},l={};e.maxw>a&&"outer-left"!==e.position&&"outer-right"!==e.position?(d.left="0px",d.x=0,d.maxWidth=a-2*e.wpad+"px",l.maxWidth=a-2*e.wpad+"px"):(d.maxWidth=e.maxw,l.maxWidth=a+"px"),e.maxh+2*e.wpad>i[t].conh&&"outer-bottom"!==e.position&&"outer-top"!==e.position?(d.top="0px",d.y=0,d.maxHeight=s+n+(i[t].conh-2*e.wpad)+"px",l.maxHeight=s+n+(i[t].conh-2*e.wpad)+"px"):(d.maxHeight=e.maxh+"px",l.maxHeight=e.maxh+"px"),e.mask=void 0===e.mask?e.c.find("rs-navmask"):e.mask,(e.mhoff>0||e.mvoff>0)&&(l.padding=e.mvoff+"px "+e.mhoff+"px"),e.span?("layergrid"==e.container&&"outer-left"!==e.position&&"outer-right"!==e.position&&(s=n=0),"vertical"===e.direction?(d.maxHeight=s+n+(i[t].conh-2*e.wpad)+"px",d.height=s+n+(i[t].conh-2*e.wpad)+"px",d.top=0,d.y=0,l.maxHeight=s+n+Math.min(e.maxh,i[t].conh-2*e.wpad)+"px",tpGS.gsap.set(e.c,d),tpGS.gsap.set(e.mask,l),y(e.mask,e,t)):"horizontal"===e.direction&&(d.maxWidth="100%",d.width=a-2*e.wpad+"px",d.left=0,d.x=0,l.maxWidth=e.maxw>=a?"100%":Math.min(e.maxw,a)+"px",tpGS.gsap.set(e.c,d),tpGS.gsap.set(e.mask,l),b(e.mask,e,t))):(tpGS.gsap.set(e.c,d),tpGS.gsap.set(e.mask,l))}}},_=function(e,t,a,r){0===e.find(".tp-bullets").length&&(t.style=void 0===t.style?"":t.style,t.c=jQuery(''));var o=a.data("key"),s=t.tmp;void 0!==i[r].thumbs[a.index()]&&jQuery.each(i[r].thumbs[a.index()].params,function(e,i){s=s.replace(i.from,i.to)});var n=jQuery(''+s+"");void 0!==i[r].thumbs[a.index()]&&n.find(".tp-bullet-image").css({backgroundImage:"url("+i[r].thumbs[a.index()].src+")"}),t.c.append(n),e.append(t.c);var d=t.c.find(".tp-bullet").length,l=n.outerWidth(),c=n.outerHeight(),p=l+parseInt(void 0===t.space?0:t.space,0),g=c+parseInt(void 0===t.space?0:t.space,0);"vertical"===t.direction?(n.css({top:(d-1)*g+"px",left:"0px"}),t.c.css({height:(d-1)*g+c,width:l})):(n.css({left:(d-1)*p+"px",top:"0px"}),t.c.css({width:(d-1)*p+l,height:c})),n.on("click",function(){"carousel"===i[r].sliderType&&(i[r].ctNavElement=!0),i[r].sc_indicator="bullet",e.revcallslidewithid(o),e.find(".tp-bullet").removeClass("selected"),jQuery(this).addClass("selected")}),t.padding_top=parseInt(i[r].carousel.padding_top||0,0),t.padding_bottom=parseInt(i[r].carousel.padding_bottom||0,0),"outer-left"!=t.position&&"outer-right"!=t.position||(i[r].outernav=!0)},x=function(e,t,a,r,o){var s="tp-thumb"===r?".tp-thumbs":".tp-tabs",n="tp-thumb"===r?".tp-thumb-mask":".tp-tab-mask",d="tp-thumb"===r?".tp-thumbs-inner-wrapper":".tp-tabs-inner-wrapper",l="tp-thumb"===r?".tp-thumb":".tp-tab",c="tp-thumb"===r?".tp-thumb-image":".tp-tab-image",p="tp-thumb"===r?"rs-thumb":"rs-tab";t.type=r,t.visibleAmount=t.visibleAmount>i[o].slideamount?i[o].slideamount:t.visibleAmount,t.sliderLayout=i[o].sliderLayout,void 0===t.c&&(t.wpad=t.wrapper_padding,t.c=jQuery("<"+p+'s style="opacity:0" class="nav-dir-'+t.direction+" nav-pos-ver-"+t.v_align+" nav-pos-hor-"+t.h_align+" rs-nav-element "+r+"s "+(!0===t.span?"tp-span-wrapper":"")+" "+t.position+" "+(void 0===t.style?"":t.style)+'"><'+p+'s-wrap class="'+r+'s-inner-wrapper" style="position:relative;">"),t.c.css({overflow:"visible",position:"outer-top"===t.position||"outer-bottom"===t.position?"relative":"absolute",background:t.wrapper_color,padding:t.wpad+"px",boxSizing:"contet-box"}),"outer-top"===t.position?e.parent().prepend(t.c):"outer-bottom"===t.position?e.after(t.c):e.append(t.c),"outer-left"!==t.position&&"outer-right"!==t.position||tpGS.gsap.set(i[o].c,{overflow:"visible"}),t.padding_top=parseInt(i[o].carousel.padding_top||0,0),t.padding_bottom=parseInt(i[o].carousel.padding_bottom||0,0),"outer-left"!=t.position&&"outer-right"!=t.position||(i[o].outernav=!0));var g=a.data("key"),u=t.c.find(n),h=u.find(d),m=t.tmp;t.space=parseFloat(t.space)||0,t.maxw="horizontal"===t.direction?t.width*t.visibleAmount+t.space*(t.visibleAmount-1):t.width,t.maxh="horizontal"===t.direction?t.height:t.height*t.visibleAmount+t.space*(t.visibleAmount-1),t.maxw+=2*t.mhoff,t.maxh+=2*t.mvoff,void 0!==i[o].thumbs[a.index()]&&jQuery.each(i[o].thumbs[a.index()].params,function(e,i){m=m.replace(i.from,i.to)});var v=jQuery("<"+p+' data-liindex="'+a.index()+'" data-key="'+g+'" class="'+r+'" style="width:'+t.width+"px;height:"+t.height+'px;">'+m+"<"+p+">");void 0!==i[o].thumbs[a.index()]&&v.find(c).css({backgroundImage:"url("+i[o].thumbs[a.index()].src+")"}),h.append(v);var f=t.c.find(l).length,y=v.outerWidth(),b=v.outerHeight(),w=y+parseInt(void 0===t.space?0:t.space,0),_=b+parseInt(void 0===t.space?0:t.space,0);"vertical"===t.direction?(v.css({top:(f-1)*_+"px",left:"0px"}),h.css({height:(f-1)*_+b,width:y})):(v.css({left:(f-1)*w+"px",top:"0px"}),h.css({width:(f-1)*w+y,height:b})),u.css({maxWidth:t.maxw+"px",maxHeight:t.maxh+"px"}),t.c.css({maxWidth:t.maxw+"px",maxHeight:t.maxh+"px"}),v.on("click",function(){i[o].sc_indicator="bullet","carousel"===i[o].sliderType&&(i[o].ctNavElement=!0);var t=e.parent().find(d).data("distance");t=void 0===t?0:t,Math.abs(t)<10&&(e.revcallslidewithid(g),e.parent().find(s).removeClass("selected"),jQuery(this).addClass("selected"))})},S=function(e,t,a){return null==e||void 0===e.c?a:(e.hide_under>i[t].canv.width||i[t].canv.width>e.hide_over?(!0!==e.tpForceNotVisible&&(e.c.addClass("tp-forcenotvisible"),e.isVisible=!1,a=!0),e.tpForceNotVisible=!0):(!1!==e.tpForceNotVisible&&(e.c.removeClass("tp-forcenotvisible"),e.isVisible=!0,a=!0),e.tpForceNotVisible=!1),a)}}(jQuery),function(e){"use strict";window._R_is_Editor?RVS._R=void 0===RVS._R?{}:RVS._R:window._R_is_Editor=!1;var i=_R_is_Editor?RVS._R:jQuery.fn.revolution;jQuery.extend(!0,i,{bgW:function(e,t){return _R_is_Editor?RVS.RMD.width:"carousel"===i[e].sliderType?i[e].justifyCarousel?i[e].carousel.slide_widths[void 0!==t?t:i[e].carousel.focused]:i[e].carousel.slide_width:i[e].module.width},bgH:function(e,t){return _R_is_Editor?RVS.RMD.height:"carousel"===i[e].sliderType?i[e].carousel.slide_height:i[e].module.height},getPZSides:function(e,i,t,a,r,o,s){var n=e*t,d=i*t,l=Math.abs(a-n),c=Math.abs(r-d),p=new Object;return p.l=(0-o)*l,p.r=p.l+n,p.t=(0-s)*c,p.b=p.t+d,p.h=o,p.v=s,p},getPZCorners:function(e,t,a,r){var o=e.bgposition.split(" ")||"center center",s="center"==o[0]?"50%":"left"==o[0]||"left"==o[1]?"0%":"right"==o[0]||"right"==o[1]?"100%":o[0],n="center"==o[1]?"50%":"top"==o[0]||"top"==o[1]?"0%":"bottom"==o[0]||"bottom"==o[1]?"100%":o[1];s=parseInt(s,0)/100||0,n=parseInt(n,0)/100||0;var d=new Object;return d.start=i.getPZSides(r.start.width,r.start.height,r.start.scale,t,a,s,n),d.end=i.getPZSides(r.start.width,r.start.height,r.end.scale,t,a,s,n),d},getPZValues:function(e){var i=e.panzoom.split(";"),t={duration:10,ease:"none",scalestart:1,scaleend:1,rotatestart:.01,rotateend:0,blurstart:0,blurend:0,offsetstart:"0/0",offsetend:"0/0"};for(var a in i)if(i.hasOwnProperty(a)){var r=i[a].split(":"),o=r[0],s=r[1];switch(o){case"d":t.duration=parseInt(s,0)/1e3;break;case"e":t.ease=s;break;case"ss":t.scalestart=parseInt(s,0)/100;break;case"se":t.scaleend=parseInt(s,0)/100;break;case"rs":t.rotatestart=parseInt(s,0);break;case"re":t.rotateend=parseInt(s,0);break;case"bs":t.blurstart=parseInt(s,0);break;case"be":t.blurend=parseInt(s,0);break;case"os":t.offsetstart=s;break;case"oe":t.offsetend=s}}return t.offsetstart=t.offsetstart.split("/")||[0,0],t.offsetend=t.offsetend.split("/")||[0,0],t.rotatestart=0===t.rotatestart?.01:t.rotatestart,e.panvalues=t,e.bgposition="center center"==e.bgposition?"50% 50%":e.bgposition,t},pzCalcL:function(e,t,a){var r,o,s,n,d,l,c=void 0===a.panvalues?jQuery.extend(!0,{},i.getPZValues(a)):jQuery.extend(!0,{},a.panvalues),p=c.offsetstart,g=c.offsetend,u={start:{width:e,height:_R_is_Editor?e/a.loadobj.width*a.loadobj.height:e/a.owidth*a.oheight,rotation:c.rotatestart,scale:c.scalestart,transformOrigin:"0% 0%"},end:{rotation:c.rotateend,scale:c.scaleend}};c.scalestart,a.owidth,a.oheight,c.scaleend,a.owidth,a.oheight;return u.start.height0?0:o+p[0]0?0:n+g[0]0?0:s+p[1]0?0:d+g[1]');tpGS.gsap.set(s,{force3D:"auto",transformPerspective:1600,transformOrigin:"50% 50%",width:"100%",height:"100%",position:"absolute",top:0,left:0,zIndex:0}),i[e].c.prepend(s)}for(var n in i[e].slides)i[e].slides.hasOwnProperty(n)&&a(jQuery(i[e].slides[n]),e);i[e].c.find("rs-static-layers").length>0&&(tpGS.gsap.set(i[e].c.find("rs-static-layers"),{top:0,left:0,width:"100%",height:"100%"}),a(i[e].c.find("rs-static-layers"),e))}o.pcontainers={},o.bgcontainers=[],o.bgcontainer_depths=[],o.speed=void 0===o.speed?0:parseInt(o.speed,0),o.speedbg=void 0===o.speedbg?0:parseInt(o.speedbg,0),o.speedls=void 0===o.speedls?0:parseInt(o.speedls,0),i[e].c.find("rs-slide rs-sbg-wrap, rs-slide rs-bgvideo").each(function(){var t=jQuery(this),a=t.data("parallax");window.isSafari11||(i[e].parZ=1),void 0!==(a="on"==a||!0===a?1:a)&&"off"!==a&&!1!==a&&(o.bgcontainers.push(t.closest("rs-sbg-px")),o.bgcontainer_depths.push(i[e].parallax.levels[parseInt(a,0)-1]/100))});for(n=1;n<=o.levels.length;n++){for(var d in i[e].slides)if(i[e].slides.hasOwnProperty(d)){var l=(p=i[e].slides[d]).dataset.key;void 0===o.pcontainers[l]&&(o.pcontainers[l]={}),r(n,o,p,o.pcontainers[l])}l="static";void 0===o.pcontainers[l]&&(o.pcontainers[l]={}),r(n,o,i[e].slayers[0],o.pcontainers[l]),JSON.stringify(o.pcontainers[l])==JSON.stringify({})&&delete o.pcontainers[l]}if("mouse"==o.type||"mousescroll"==o.type||"3D"==o.type||"3d"==o.type){var c="rs-slide .dddwrapper, .dddwrappershadow, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer";for(var d in"carousel"===i[e].sliderType&&(c="rs-slide .dddwrapper, rs-slide .dddwrapper-layer, rs-static-layers .dddwrapper-layer"),o.sctors={},i[e].slides)if(i[e].slides.hasOwnProperty(d)){var p;l=(p=i[e].slides[d]).dataset.key;o.sctors[l]=p.querySelectorAll(c)}i[e].slayers[0]&&(o.sctors.static=i[e].slayers[0].querySelectorAll(c)),o.mouseEntered=!1,i[e].c.on("mouseenter",function(t){var a=i[e].c.offset().top,r=i[e].c.offset().left;o.mouseEnterX=t.pageX-r,o.mouseEnterY=t.pageY-a,o.mouseEntered=!0});var g=this.updateParallax.bind(this,e,o);i[e].c.on("mousemove.hoverdir, mouseleave.hoverdir, trigger3dpath",function(e){o.eventData=e,void 0!==o.frame&&"mouseleave"!==e.type||(o.frame=window.requestAnimationFrame(g))}),t&&window.addEventListener("deviceorientation",function(e){o.eventData=e,void 0===o.frame&&(o.frame=window.requestAnimationFrame(g))})}var u=i[e].scrolleffect;u.set&&(u.multiplicator_layers=parseFloat(u.multiplicator_layers),u.multiplicator=parseFloat(u.multiplicator)),void 0!==u._L&&0===u._L.length&&(u._L=!1),void 0!==u.bgs&&0===u.bgs.length&&(u.bgs=!1)}},getLayerParallaxOffset:function(e,t,a){return void 0!==i[e].parallax&&void 0!==i[e].parallax.pcontainers&&void 0!==i[e].parallax.pcontainers[i[e]._L[t].slidekey]&&void 0!==i[e].parallax.pcontainers[i[e]._L[t].slidekey][t]?Math.abs(i[e].parallax.pcontainers[i[e]._L[t].slidekey][t]["offs"+a]):0},updateParallax:function(e,t){t.frame&&(t.frame=window.cancelAnimationFrame(t.frame));var a,r,o=t.eventData,s=i[e].c.offset().left,n=i[e].c.offset().top,d=i[e].canv.width,l=i[e].canv.height,c=t.speed/1e3||3;if("enterpoint"==t.origo&&"deviceorientation"!==o.type?(!1===t.mouseEntered&&(t.mouseEnterX=o.pageX-s,t.mouseEnterY=o.pageY-n,t.mouseEntered=!0),a=t.mouseEnterX-(o.pageX-s),r=t.mouseEnterY-(o.pageY-n),c=t.speed/1e3||.4):"deviceorientation"!==o.type&&(a=d/2-(o.pageX-s),r=l/2-(o.pageY-n)),"deviceorientation"==o.type){var p,g,u;p=o.beta-60,g=o.gamma,u=p;var h=Math.abs(t.orientationX-g)>1||Math.abs(t.orientationY-u)>1;if(t.orientationX=g,t.orientationY=u,!h)return;if(i.winW>i.getWinH(e)){var m=g;g=u,u=m}a=360/d*(g*=1.5),r=180/l*(u*=1.5)}for(var v in o.type,"mouseout"===o.type&&(a=0,r=0,t.mouseEntered=!1),t.pcontainers)if(t.pcontainers.hasOwnProperty(v)&&(void 0===i[e].activeRSSlide||"static"===v||i[e].slides[i[e].activeRSSlide].dataset.key===v))for(var f in t.pcontainers[v])if(t.pcontainers[v].hasOwnProperty(f)){var y=t.pcontainers[v][f];y.pl="3D"==t.type||"3d"==t.type?y.depth/200:y.depth/100,y.offsh=a*y.pl,y.offsv=r*y.pl,"mousescroll"==t.type?tpGS.gsap.to(y.tpw,c,{force3D:"auto",x:y.offsh,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(y.tpw,c,{force3D:"auto",x:y.offsh,y:y.offsv,ease:"power3.out",overwrite:"all"})}if("3D"==t.type||"3d"==t.type)for(var v in t.sctors)if(t.sctors.hasOwnProperty(v)&&(void 0===i[e].activeRSSlide||"static"===v||i[e].slides[i[e].activeRSSlide].dataset.key===v))for(var f in t.sctors[v])if(t.sctors[v].hasOwnProperty(f)){n=jQuery(t.sctors[v][f]);var b=i.isFirefox()?Math.min(25,t.levels[t.levels.length-1])/200:t.levels[t.levels.length-1]/200,w=a*b,_=r*b,x=0==i[e].canv.width?0:Math.round(a/i[e].canv.width*b*100)||0,S=0==i[e].canv.height?0:Math.round(r/i[e].canv.height*b*100)||0,k=n.closest("rs-slide"),L=0,R=!1;"deviceorientation"===o.type&&(w=a*(b=t.levels[t.levels.length-1]/200),_=r*b*3,x=0==i[e].canv.width?0:Math.round(a/i[e].canv.width*b*500)||0,S=0==i[e].canv.height?0:Math.round(r/i[e].canv.height*b*700)||0),n.hasClass("dddwrapper-layer")&&(L=t.ddd_z_correction||65,R=!0),n.hasClass("dddwrapper-layer")&&(w=0,_=0),k.index()===i[e].pr_active_key||"carousel"!=i[e].sliderType?!t.ddd_bgfreeze||R?tpGS.gsap.to(n,c,{rotationX:S,rotationY:-x,x:w,z:L,y:_,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}):tpGS.gsap.to(n,.5,{force3D:"auto",rotationY:0,x:0,y:0,rotationX:0,z:0,ease:"power3.out",overwrite:"all"}),"mouseleave"!=o.type&&"mouseout"!==o.type||tpGS.gsap.to(this,3.8,{z:0,ease:"power3.out"})}},parallaxProcesses:function(e,a,r,o){var s=i[e].fixedOnTop?Math.min(1,Math.max(0,window.scrollY/i.lastwindowheight)):Math.min(1,Math.max(0,(0-(a.top-i.lastwindowheight))/(a.hheight+i.lastwindowheight))),n=(a.top>=0&&a.top<=i.lastwindowheight||a.top<=0&&a.bottom>=0||a.top<=0&&a.bottom,i[e].slides[void 0===i[e].pr_active_key?0:i[e].pr_active_key]);if(i[e].scrollProg=s,i[e].scrollProgBasics={top:a.top,height:a.hheight,bottom:a.bottom},i[e].sbtimeline.fixed?(!1===i[e].fixedScrollOnState||!i.stickySupported||0!=i[e].fullScreenOffsetResult&&null!=i[e].fullScreenOffsetResult?i.stickySupported=!1:(i[e].topc.addClass("rs-stickyscrollon"),i[e].fixedScrollOnState=!0),void 0===i[e].sbtimeline.rest&&i.updateFixedScrollTimes(e),a.top>=i[e].fullScreenOffsetResult&&a.top<=i.lastwindowheight?(s=i[e].sbtimeline.fixStart*(1-a.top/i.lastwindowheight)/1e3,!0!==i.stickySupported&&!1!==i[e].fixedScrollOnState&&(i[e].topc.removeClass("rs-fixedscrollon"),tpGS.gsap.set(i[e].cpar,{top:0,y:0}),i[e].fixedScrollOnState=!1)):a.top<=i[e].fullScreenOffsetResult&&a.bottom>=i[e].module.height?(!0!==i.stickySupported&&!0!==i[e].fixedScrollOnState&&(i[e].fixedScrollOnState=!0,i[e].topc.addClass("rs-fixedscrollon"),tpGS.gsap.set(i[e].cpar,{top:0,y:i[e].fullScreenOffsetResult})),s=(i[e].sbtimeline.fixStart+i[e].sbtimeline.time*(Math.abs(a.top)/(a.hheight-i[e].module.height)))/1e3):(!0!==i.stickySupported&&(tpGS.gsap.set(i[e].cpar,{top:i[e].scrollproc>=0?0:a.height-i[e].module.height}),!1!==i[e].fixedScrollOnState&&(i[e].topc.removeClass("rs-fixedscrollon"),i[e].fixedScrollOnState=!1)),s=a.top>i.lastwindowheight?0:(i[e].sbtimeline.fixEnd+i[e].sbtimeline.rest*(1-a.bottom/i[e].module.height))/1e3)):s=i[e].duration*s/1e3,void 0!==n&&void 0!==i.gA(n,"key")&&!0!==r){for(var d in i[e].sbas[i.gA(n,"key")])if(void 0!==i[e]._L[d]&&void 0!==i[e]._L[d].timeline&&(1==i[e]._L[d].animationonscroll||"true"==i[e]._L[d].animationonscroll)){var l=void 0!==i[e]._L[d].scrollBasedOffset?s+i[e]._L[d].scrollBasedOffset:s;l=l<=0?0:l<.1?.1:l,i[e]._L[d].animteToTime!==l&&(i[e]._L[d].animteToTime=l,tpGS.gsap.to(i[e]._L[d].timeline,i[e].sbtimeline.speed,{time:l,ease:i[e].sbtimeline.ease}))}i[e].c.trigger("timeline_scroll_processed",{id:e,mproc:s,speed:i[e].sbtimeline.speed})}if(t&&i[e].parallax.disable_onmobile)return!1;var c=i[e].parallax;if("3d"!=c.type&&"3D"!=c.type){if("scroll"==c.type||"mousescroll"==c.type)for(var p in c.pcontainers)if(c.pcontainers.hasOwnProperty(p)&&void 0===i[e].activeRSSlide||"static"===p||i[e].slides[i[e].activeRSSlide].dataset.key===p)for(var g in c.pcontainers[p])if(c.pcontainers[p].hasOwnProperty(g)){var u=c.pcontainers[p][g],h=void 0!==o?o:c.speedls/1e3||0;u.pl=u.depth/100,u.offsv=Math.round(i[e].scrollproc*(-u.pl*i[e].canv.height)*10)/10||0,tpGS.gsap.to(u.tpw,h,{overwrite:"auto",force3D:"auto",y:u.offsv})}if(c.bgcontainers)for(g=0;g50?.15:h,tpGS.gsap.to(m,h,{position:"absolute",top:"0px",left:"0px",backfaceVisibility:"hidden",force3D:"true",y:f+"px"}),i[e].parallax.lastBGY=f}}var y=i[e].scrolleffect;if(y.set&&(!t||!1===y.disable_onmobile)){var b=Math.abs(i[e].scrollproc)-y.tilt/100;if(b=b<0?0:b,!1!==y._L){var w=1-b*y.multiplicator_layers,_={force3D:"true"};if("top"==y.direction&&i[e].scrollproc>=0&&(w=1),"bottom"==y.direction&&i[e].scrollproc<=0&&(w=1),w=w>1?1:w<0?0:w,y.fade&&(_.opacity=w),y.scale){var x=w;_.scale=1-x+1}if(y.blur)L=(L=(1-w)*y.maxblur)<=.03?0:L,_["-webkit-filter"]="blur("+L+"px)",_.filter="blur("+L+"px)";if(y.grayscale){var S="grayscale("+100*(1-w)+"%)";_["-webkit-filter"]=void 0===_["-webkit-filter"]?S:_["-webkit-filter"]+" "+S,_.filter=void 0===_.filter?S:_.filter+" "+S}tpGS.gsap.set(y._L,_)}if(!1!==y.bgs){w=1-b*y.multiplicator,_={backfaceVisibility:"hidden",force3D:"true"};for(var k in"top"==y.direction&&i[e].scrollproc>=0&&(w=1),"bottom"==y.direction&&i[e].scrollproc<=0&&(w=1),w=w>1?1:w<0?0:w,y.bgs)if(y.bgs.hasOwnProperty(k)){if(y.bgs[k].fade&&(_.opacity=w),y.bgs[k].blur){var L=(1-w)*y.maxblur;_["-webkit-filter"]="blur("+L+"px)",_.filter="blur("+L+"px)"}if(y.bgs[k].grayscale){S="grayscale("+100*(1-w)+"%)";_["-webkit-filter"]=void 0===_["-webkit-filter"]?S:_["-webkit-filter"]+" "+S,_.filter=void 0===_.filter?S:_.filter+" "+S}tpGS.gsap.set(y.bgs[k].c,_)}}}}});var a=function(e,t){var a=i[t].parallax;e.find("rs-sbg-wrap").wrapAll('
');var r=e[0].querySelectorAll(".rs-parallax-wrap"),o=document.createElement("div");o.className="dddwrapper-layer",o.style.width="100%",o.style.height="100%",o.style.position="absolute",o.style.top="0px",o.style.left="0px",o.style.zIndex=5,o.style.overflow=a.ddd_layer_overflow;for(var s=0;s');var n=e.find(".dddwrapper"),d=e.find(".dddwrapper-layer");e.find(".dddwrapper-layertobggroup").appendTo(n),"carousel"==i[t].sliderType&&(a.ddd_shadow&&n.addClass("dddwrappershadow"),tpGS.gsap.set(n,{borderRadius:i[t].carousel.border_radius})),tpGS.gsap.set(e,{overflow:"visible",transformStyle:"preserve-3d",perspective:1600}),tpGS.gsap.set(n,{force3D:"auto",transformOrigin:"50% 50%",transformStyle:"preserve-3d",transformPerspective:1600}),tpGS.gsap.set(d,{force3D:"auto",transformOrigin:"50% 50%",zIndex:5,transformStyle:"flat",transformPerspective:1600}),tpGS.gsap.set(i[t].canvas,{transformStyle:"preserve-3d",transformPerspective:1600})};function r(t,a,r,o){e(r).find(".rs-pxl-"+t).each(function(){var e=this.className.indexOf("rs-pxmask")>=0,r=e?i.closestNode(this,"RS-PX-MASK"):i.closestClass(this,"rs-parallax-wrap");r&&(e&&!window.isSafari11&&(tpGS.gsap.set(r,{z:1}),tpGS.gsap.set(i.closestNode(r,"RS-BG-ELEM"),{z:1})),r.dataset.parallaxlevel=a.levels[t-1],r.classList.add("tp-parallax-container"),o[this.id]={tpw:r,depth:a.levels[t-1],offsv:0,offsh:0})})}}(jQuery),function(e){"use strict";window._R_is_Editor?RVS._R=void 0===RVS._R?{}:RVS._R:window._R_is_Editor=!1;var i=_R_is_Editor?RVS._R:jQuery.fn.revolution,t=!_R_is_Editor&&i.is_mobile();_R_is_Editor&&(RVS._R.isNumeric=RVS.F.isNumeric),jQuery.extend(!0,i,{getSlideAnimationObj:function(e,t,a){var r,o={};for(var s in void 0===t.anim&&null==t.in&&(t.in="o:0"),t)if(t.hasOwnProperty(s)&&void 0!==t[s]){var n=t[s].split(";");for(var d in n)n.hasOwnProperty(d)&&void 0!==(r=n[d].split(":"))[0]&&void 0!==r[1]&&(o[s]=void 0===o[s]?{}:o[s],o[s][r[0]]="d3"===s&&"c"===r[0]?r[1]:r[1].split(",")[0])}return o.in=void 0===o.in?{}:o.in,o.anim=void 0===o.anim?{e:"basic"}:o.anim,_R_is_Editor||void 0===o.in||void 0===o.in.prst||i.loadSlideAnimLibrary(e,{key:a,prst:o.in.prst}),i[e].sbgs[a].slideanimationRebuild=!1,o},loadSlideAnimLibrary:function(e,t){void 0===i.SLTR&&!0!==i.SLTR_loading?(i.SLTR_loading=!0,jQuery.ajax({type:"post",url:i[e].ajaxUrl,dataType:"json",data:{action:"revslider_ajax_call_front",client_action:"get_transitions",token:i[e].ajaxNonce},success:function(a,r,o){1==a.success&&(i.SLTR=a.transitions,void 0!==t&&i.setRandomDefaults(e,t.key,t.prst))},error:function(e){console.log("Transition Table can not be loaded"),console.log(e)}})):void 0!==t&&void 0!==i.SLTR&&i.setRandomDefaults(e,t.key,t.prst)},convertSlideAnimVals:function(e){return{anim:{ms:parseInt(e.speed,0),o:e.o,e:e.e,f:e.f,p:e.p,d:parseInt(e.d,0)},d3:{f:e.d3.f,d:e.d3.d,z:e.d3.z,t:e.d3.t,c:e.d3.c,e:e.d3.e,fdi:e.d3.fdi,fdo:e.d3.fdo,fz:e.d3.fz,su:e.d3.su,smi:e.d3.smi,sma:e.d3.sma,sc:e.d3.sc,sl:e.d3.sl},in:{o:_R_is_Editor&&void 0!==e.preset&&0===e.preset.indexOf("rnd")?0:g(e.in.o),x:g(e.in.x),y:g(e.in.y),r:g(e.in.r),sx:g(e.in.sx),sy:g(e.in.sy),m:e.in.m,e:e.in.e,row:e.in.row,col:e.in.col,mo:"false"!==e.in.mou&&!1!==e.in.mou?g(e.in.mo):0,moo:"false"!==e.in.mou&&!1!==e.in.mou?g(e.in.moo):"none",mou:e.in.mou},out:void 0===e.out.a||"true"==e.out.a||!0===e.out.a?void 0:{a:p(e.out.a),o:g(e.out.o),x:g(e.out.x),y:g(e.out.y),r:g(e.out.r),sx:g(e.out.sx),sy:g(e.out.sy),m:e.out.m,e:e.out.e,row:g(e.out.row),col:g(e.out.col)},filter:{u:e.filter.u,e:e.filter.e,b:e.filter.b,g:e.filter.g,h:e.filter.h,s:e.filter.s,c:e.filter.c,i:e.filter.i}}},setRandomDefaults:function(e,t,a){i[e].sbgs[t].random=i.getAnimObjectByKey(a,i.SLTR)},getSlideAnim_EmptyObject:function(){return{speed:1e3,o:"inout",e:"basic",f:"start",p:"none",d:15,d3:{f:"none",d:"horizontal",z:300,t:0,c:"#ccc",e:"power2.inOut",fdi:1.5,fdo:2,fz:0,su:!1,smi:0,sma:.5,sc:"#000",sl:1},filter:{u:!1,e:"default",b:0,g:0,h:100,s:0,c:100,i:0},in:{o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1,mo:80,mou:!1},out:{a:"true",o:1,x:0,y:0,r:0,sx:1,sy:1,m:!1,e:"power2.inOut",row:1,col:1}}},getAnimObjectByKey:function(e,t){if(i.getAnimObjectCacheKey===e)return i.getAnimObjectCache;var a;for(var r in i.getAnimObjectCacheKey=e,t)if(t.hasOwnProperty(r)&&void 0===a)for(var o in t[r])if(t[r].hasOwnProperty(o)&&void 0===a)if(e===o&&0===e.indexOf("rnd"))(a=t[r][o]).main=r,a.group=o;else for(var s in t[r][o])t[r][o].hasOwnProperty(s)&&void 0===a&&s===e&&((a=t[r][o][s]).main=r,a.group=o);return i.getAnimObjectCache=jQuery.extend(!0,{},a),a},getRandomSlideTrans:function(e,t,a){if(void 0!==i.randomSlideAnimCache&&void 0!==i.randomSlideAnimCache[e]&&void 0!==i.randomSlideAnimCache[e][t])return i.randomSlideAnimCache[e][t][Math.floor(Math.random()*i.randomSlideAnimCache[e][t].length)];for(var r in i.randomSlideAnimCache=void 0===i.randomSlideAnimCache?{}:i.randomSlideAnimCache,i.randomSlideAnimCache[e]=void 0===i.randomSlideAnimCache[e]?{}:i.randomSlideAnimCache[e],i.randomSlideAnimCache[e][t]=void 0===i.randomSlideAnimCache[e][t]?[]:i.randomSlideAnimCache[e][t],a)if(a.hasOwnProperty(r)&&"random"!==r&&"custom"!==r&&("all"==e||r==e))for(var o in a[r])if(a[r].hasOwnProperty(o)&&"icon"!==o&&(""+t=="undefined"||t.indexOf(o)>=0))for(var s in a[r][o])a[r][o].hasOwnProperty(s)&&-1==jQuery.inArray(a[r][o][s].title,["*north*","*south*","*east*","*west*"])&&i.randomSlideAnimCache[e][t].push(s);return i.randomSlideAnimCache[e][t][Math.floor(Math.random()*i.randomSlideAnimCache[e][t].length)]},cbgW:function(e,t){return _R_is_Editor?RVS.RMD.width:"carousel"===i[e].sliderType?i[e].justifyCarousel?i[e].carousel.slide_widths[void 0!==t?t:i[e].carousel.focused]:i[e].carousel.slide_width:i[e].canv.width},cbgH:function(e,t){return _R_is_Editor?RVS.RMD.height:"carousel"===i[e].sliderType?i[e].carousel.slide_height:i[e].canv.height},animateSlide:function(e,i){return _R_is_Editor&&RVS.F.resetSlideTL(),void 0===tpGS.eases.late&&(tpGS.CustomEase.create("late","M0,0,C0,0,0.474,0.078,0.724,0.26,0.969,0.438,1,1,1,1"),tpGS.CustomEase.create("late2","M0,0 C0,0 0.738,-0.06 0.868,0.22 1,0.506 1,1 1,1 "),tpGS.CustomEase.create("late3","M0,0,C0,0,0.682,0.157,0.812,0.438,0.944,0.724,1,1,1,1")),s(e,i)},getBasic:function(e){return jQuery.extend(!0,{attr:null==e||void 0===e.attr?["o","r","sx","sy","x","y","m","e","row","col","mo","moo"]:e.attr,in:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:"power2.inOut",ms:1e3,mo:0,moo:"none"},out:{f:"start",m:!1,o:1,r:0,sx:1,sy:1,x:0,y:0,row:1,col:1,e:"power2.inOut",ms:1e3}},e)},playBGVideo:function(e,t,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===i[e].pr_next_bg||0===i[e].pr_next_bg.length))return;a=void 0===a?i[e].sbgs[void 0===t?i[e].pr_next_bg[0].dataset.key:t]:a}void 0!==a.bgvid&&a.bgvid.length>0&&(u(e,{},a,"in"),i.resetVideo(a.bgvid,e),i.playVideo(a.bgvid,e,!0),tpGS.gsap.to(a.bgvid[0],.2,{zIndex:30,display:"block",autoAlpha:1,delay:.075,overwrite:"all"}))},stopBGVideo:function(e,t,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===i[e].pr_next_bg||0===i[e].pr_next_bg.length))return;a=void 0===a?i[e].sbgs[void 0===t?i[e].pr_next_bg[0].dataset.key:t]:a}void 0!==a.bgvid&&a.bgvid.length>0&&(a.drawVideoCanvasImagesRecall=!1,i.stopVideo(a.bgvid,e),tpGS.gsap.to(a.bgvid[0],.2,{autoAlpha:0,zIndex:0,display:"none"}))},getmDim:function(e,t,a){var r=i.cbgW(e,t),o=i.cbgH(e,t);return a.DPR=Math.min(window.devicePixelRatio,2),{width:Math.round(r*a.DPR),height:Math.round(o*a.DPR),w:r,h:o}},updateSlideBGs:function(e,t,a){if(_R_is_Editor)a=void 0===a?RVS.SBGS[RVS.S.slideId].n:a;else{if(void 0===a&&(void 0===i[e].pr_next_bg||0===i[e].pr_next_bg.length))return;a=void 0===a?i[e].sbgs[void 0===t?i[e].pr_next_bg[0].dataset.key:t]:a}a.mDIM=i.getmDim(e,a.skeyindex,a),void 0!==a.video?("IMG"!==a.video.tagName&&(a.isVidImg=""),a.cDIMS=i.getBGCanvasDetails(e,a),a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,a.ctx.clearRect(0,0,a.mDIM.width,a.mDIM.height),a.ctx.drawImage(a.shadowCanvas,0,0)):(a.cDIMS=i.getBGCanvasDetails(e,a),a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,"panzoom"===a.currentState||"animating"===a.currentState||void 0===a.currentState&&!_R_is_Editor&&"carousel"!=i[e].sliderType||(a.ctx.clearRect(0,0,a.mDIM.width,a.mDIM.height),a.ctx.drawImage(a.shadowCanvas,0,0))),"animating"===a.currentState&&"carousel"!==i[e].sliderType&&i.animatedCanvasUpdate(e,a)},addCanvas:function(){var e=document.createElement("canvas");return x=e.getContext("2d"),e.style.background="transparent",e.style.opacity=1,x},updateVideoFrames:function(e,a,r){if(a.now=Date.now(),a.then=void 0===a.then?a.now-500:a.then,a.elapsed=a.now-a.then,a.fps="animating"===a.currentState&&window._rs_firefox?50:33,a.elapsed>a.fps){a.then=a.now-a.elapsed%a.fps;var o="img"===a.video.tagName||null==a.video.videoWidth||0==a.video.videoWidth;void 0!==a.video&&!a.video.BGrendered&&void 0!==a.loadobj&&void 0!==a.loadobj.img||t&&i.isFirefox(e)?(a.mDIM=i.getmDim(e,a.skeyindex,a),a.pDIMS=l(a.mDIM,a,{width:a.mDIM.width,height:a.mDIM.height,x:0,y:0,contw:a.loadobj.width,conth:a.loadobj.height}),a.shadowCanvas.width=a.mDIM.width,a.shadowCanvas.height=a.mDIM.height,a.shadowCTX.drawImage(a.loadobj.img,a.pDIMS.x,a.pDIMS.y,a.pDIMS.width,a.pDIMS.height)):((r||void 0===a.sDIMS||o!==a.isVidImg||0===a.sDIMS.width||0===a.sDIMS.height)&&(a.isVidImg=o,a.mDIM=i.getmDim(e,a.skeyindex,a),a.sDIMS=l(a.mDIM,a,{width:a.mDIM.width,height:a.mDIM.height,x:0,y:0,contw:a.isVidImg?a.loadobj.width:a.video.videoWidth,conth:a.isVidImg?a.loadobj.height:a.video.videoHeight})),void 0!==a.sDIMS&&0!==a.sDIMS.width&&0!==a.sDIMS.height&&("animating"===a.currentState?(a.shadowCanvas.width=a.sDIMS.width,a.shadowCanvas.height=a.sDIMS.height,a.shadowCTX.drawImage(a.video,a.sDIMS.x,a.sDIMS.y,a.sDIMS.width,a.sDIMS.height)):void 0===a.animateDirection&&(a.canvas.width=a.mDIM.width,a.canvas.height=a.mDIM.height,a.ctx.drawImage(a.video,a.sDIMS.x,a.sDIMS.y,a.sDIMS.width,a.sDIMS.height)),a.shadowCanvas_Drawn=!0))}(r||a.drawVideoCanvasImagesRecall&&"animating"===a.currentState||"animating"===a.currentState&&void 0===a.shadowCanvas_Drawn)&&window.requestAnimationFrame(function(){i.updateVideoFrames(e,a)})},createOverlay:function(e,t,a,r){if("none"===t)return"none";a=void 0===a?1:a;r=void 0===r?{0:"rgba(0, 0, 0, 0)",1:"rgba(0, 0, 0, 1)"}:r;var o={none:[[0]],1:[[1,0],[0,0]],2:[[1,0,0],[0,0,0],[0,0,0]],3:[[1,0,0,0],[0,0,0,0],[0,0,0,0]],4:[[1],[0]],5:[[1],[0],[0]],6:[[1],[0],[0],[0]],7:[[1,0]],8:[[1,0,0]],9:[[1,0,0,0]],10:[[1,0,0,0,0],[0,1,0,1,0],[0,0,0,0,0],[0,1,0,1,0],[0,0,0,0,1]],11:[[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0]],12:[[1,0,0],[0,1,0],[0,0,1]],13:[[0,0,1],[0,1,0],[1,0,0]],14:[[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,0]],15:[[0,0,0,0,1],[0,0,0,1,0],[0,0,1,0,0],[0,1,0,0,0],[1,0,0,0,0]],16:[[1,0,0,0,1],[0,1,0,1,0],[0,0,1,0,0],[0,1,0,1,0],[1,0,0,0,1]]},s=void 0===o[t=void 0===t?1:t]?o[2]:o[t];_R_is_Editor&&(i[e]=void 0===i[e]?{}:i[e]),i[e].patternCanvas=document.createElement("canvas"),i[e].patternCtx=i[e].patternCanvas.getContext("2d"),i[e].patternCanvas.width=s[0].length*a,i[e].patternCanvas.height=s.length*a;for(var n=0;n=0,_R_is_Editor&&void 0===t.panzoom&&delete t.shadowCanvas,void 0===t.shadowCanvas&&(t.shadowCanvas=document.createElement("canvas"),t.shadowCTX=t.shadowCanvas.getContext("2d"),t.shadowCanvas.style.background="transparent",t.shadowCanvas.style.opacity=1),!0===t.replaceShadowCanvas||!0===t.loadobj.bgColor||!0===t.usebgColor||void 0!==t.panzoom||null!=t.isHTML5&&1!=t.poster||t.usepattern?(o={width:t.mDIM.width,height:t.mDIM.height,x:0,y:0},t.usepattern&&void 0!==t.loadobj&&void 0!==t.loadobj.img?i.getCanvasPattern(e,t,{ratio:t.loadobj.height/t.loadobj.width}):(t.loadobj.bgColor||t.usebgColor)&&(t.shadowCanvas.width=t.mDIM.width,t.shadowCanvas.height=t.mDIM.height,i.getCanvasGradients(e,t))):(o=l(t.mDIM,t,{width:t.mDIM.width,height:t.mDIM.height,x:0,y:0,contw:t.loadobj.width,conth:t.loadobj.height}),t.shadowCanvas.width=t.mDIM.width,t.shadowCanvas.height=t.mDIM.height,void 0!==t.loadobj&&void 0!==t.loadobj.img&&t.shadowCTX.drawImage(t.loadobj.img,o.x,o.y,o.width,o.height),o={width:t.mDIM.width,height:t.mDIM.height,x:0,y:0}),o},getCanvasPattern:function(e,t,a){void 0===t.patternImageCanvas&&(t.patternImageCanvas=document.createElement("canvas"),t.patternImageCTX=t.patternImageCanvas.getContext("2d"));var r=t.bgfit.split(" ");1===r.length&&(r[1]=r[0]),a.width="auto"===r[0]?t.loadobj.width:t.loadobj.width*(parseInt(r[0],0)/100),a.height="auto"===r[1]?t.loadobj.height:a.width*a.ratio,t.DPR=Math.min(window.devicePixelRatio,2),a.width=a.width*t.DPR,a.height=a.height*t.DPR,t.patternImageCanvas.width=a.width,t.patternImageCanvas.height=a.height,t.patternImageCTX.drawImage(t.loadobj.img,0,0,a.width,a.height),t.shadowCanvas.width=t.mDIM.width,t.shadowCanvas.height=t.mDIM.height,t.pattern=t.shadowCTX.createPattern(t.patternImageCanvas,t.bgrepeat),t.shadowCTX.fillStyle=t.pattern,t.shadowShifts={h:t.bgposition.split(" ")[0],v:t.bgposition.split(" ")[1]},t.shadowShifts.hperc=i.isNumeric(parseInt(t.shadowShifts.h))?parseInt(t.shadowShifts.h)/100*t.mDIM.width:0,t.shadowShifts.vperc=i.isNumeric(parseInt(t.shadowShifts.v))?parseInt(t.shadowShifts.v)/100*t.mDIM.height:0,t.shadowShifts.x="left"===t.shadowShifts.h?0:"center"===t.shadowShifts.h||"50%"==t.shadowShifts.h?"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?t.mDIM.width/2-a.width/2-Math.ceil(t.mDIM.width/2/a.width)*a.width:t.mDIM.width/2-a.width/2:"right"===t.shadowShifts.h?"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?-(a.width-t.mDIM.width%a.width):t.mDIM.width-a.width:"repeat"==t.bgrepeat||"repeat-x"==t.bgrepeat?-(a.width-t.shadowShifts.hperc%a.width):t.shadowShifts.hperc,t.shadowShifts.y="top"===t.shadowShifts.v?0:"center"===t.shadowShifts.v||"50%"==t.shadowShifts.v?"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?t.mDIM.height/2-a.height/2-Math.ceil(t.mDIM.height/2/a.height)*a.height:t.mDIM.height/2-a.height/2:"bottom"===t.shadowShifts.v?"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?-(a.height-t.mDIM.height%a.height):t.mDIM.height-a.height:"repeat"==t.bgrepeat||"repeat-y"==t.bgrepeat?-(a.height-t.shadowShifts.vperc%a.height):t.shadowShifts.vperc,t.shadowCTX.translate(t.shadowShifts.x,t.shadowShifts.y),t.shadowCTX.fillRect(0,0,t.mDIM.width-t.shadowShifts.x,t.mDIM.height-t.shadowShifts.y)},getCanvasGradients:function(e,t){var a;if(t.bgcolor.indexOf("gradient")>=0){if(t.bgcolor.indexOf("radial-gradient")>=0)(null==t.gradient||_R_is_Editor)&&(t.gradient=t.bgcolor.split("radial-gradient(ellipse at center, ")[1],t.gradient=i.getGradientColorStopPoints(t.gradient)),t.shadowGrd=t.shadowCTX.createRadialGradient(t.mDIM.width/2,t.mDIM.height/2,0,t.mDIM.width/2,t.mDIM.height/2,Math.max(t.mDIM.width/2,t.mDIM.height/2));else{if(null==t.gradient||_R_is_Editor)for(a in t.gradient=t.bgcolor.split("linear-gradient(")[1],_R_is_Editor&&(t.gradient=t.gradient.split(", ").join(","),t.gradient=t.gradient.split(",rgba").join(", rgba")),t.gradientDeg=t.gradient.split("deg, "),t.gradient=(t.gradientDeg.length>1?t.gradientDeg[1]:t.gradientDeg[0]).split(" "),t.gradientDeg=t.gradientDeg.length>1?t.gradientDeg[0]:180,t.gradient)t.gradient.hasOwnProperty(a)&&t.gradient[a].indexOf("%")>=0&&(t.gradient[a]=""+Math.round(100*parseFloat(t.gradient[a].split("%,")[0].split("%)")[0]))/1e4);t.shadowGrd=i.calcLinearGradient(t.shadowCTX,t.shadowCanvas.width,t.shadowCanvas.height,t.gradientDeg)}for(a=0;ah(d,l,u[1].x,u[1].y)?(r=u[0].x,o=u[0].y):(r=u[1].x,o=u[1].y),h(d,l,u[2].x,u[2].y)>h(d,l,u[3].x,u[3].y)?(s=u[2].x,n=u[2].y):(s=u[3].x,n=u[3].y),Math.round(100*Math.atan2(l-o,d-r))/100===Math.round(a%(2*Math.PI)*100)/100){var y=r,b=o;r=s,o=n,s=y,n=b}return e.createLinearGradient(Math.round(r),Math.round(o),Math.round(s),Math.round(n))},transitions:{filter:{update:function(e,i,t){if(void 0!==e&&void 0!==e.tl){var a=void 0!==t||void 0!==e.tl.blur?" blur("+(void 0!==t?t:0+e.tl.blur!==void 0?e.tl.blur:0)+"px)":"";i.canvas.style.filter=void 0===e.tl.filter?""+a:e.tl.filter+a}},extendTimeLine:function(e,i,t){if(null!=i){var a=void 0!==i.g&&"0%"!==i.g&&0!==i.g?(""===a?"":" ")+"grayscale(_g_%)":"";a+=void 0!==i.h&&"100%"!==i.h&&100!==i.h?(""===a?"":" ")+"brightness(_h_%)":"",a+=void 0!==i.s&&"0px"!==i.s&&0!==i.s?(""===a?"":" ")+"sepia(_s_%)":"",a+=void 0!==i.c&&100!==i.c?(""===a?"":" ")+"contrast(_c_%)":"",""!==(a+=void 0!==i.i&&0!==i.i?(""===a?"":" ")+"invert(_i_%)":"")&&(i.tl={filter:a.replace("_g_",parseFloat(i.g)).replace("_h_",parseFloat(i.h)).replace("_s_",parseFloat(i.s)).replace("_c_",parseFloat(i.c)).replace("_i_",parseFloat(i.i))}),void 0!==i.b&&"0px"!==i.b&&0!==i.b&&(void 0===i.tl?i.tl={blur:parseFloat(i.b)}:i.tl.blur=parseFloat(i.b)),void 0!==i.tl&&(e.add(tpGS.gsap.to(i.tl,i.ms/i.sec,void 0===i.tl.filter?{blur:0}:void 0===i.tl.blur?{filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:i.e}:{blur:0,filter:a.replace("_g_","0").replace("_h_","100").replace("_s_","0").replace("_c_",100).replace("_i_",0),ease:i.e}),0),t.canvasFilter=!0)}}},slidingoverlay:{getBasic:function(){return i.getBasic({attr:["x","y"],in:{m:!0,o:-1,_xy:20,_gxys:10,_gxye:-10,zIndex:20,e:"power1.inOut"},out:{m:!0,reversed:!1,_xy:-100,o:0,zIndex:10,e:"power1.inOut"}})},updateAnim:function(e,i,t){var a=void 0!==i.in.x&&0!==i.in.x&&"0%"!==i.in.x?"x":"y";i.in["g"+a+"s"]=n(i.in[a],i.in._gxys,t,1)+"%",i.in["g"+a+"e"]=n(i.in[a],i.in._gxye,t,1)+"%",i.out[a]=n(i.in[a],i.out._xy,t,1)+"%",i.in[a]=n(i.in[a],i.in._xy,t,1)+"%";var r=parseInt(i.in[a])>=0;return i.in.d="x"===a?r?"left":"right":r?"up":"down",i},beforeDraw:function(e,i,t,a){void 0!==t.d&&(t._dxs="right"===t.d?0+t.mw:"left"===t.d?0-t.mw:0,t._dys="down"===t.d?0+t.mh:"up"===t.d?0-t.mh:0,t._xs="left"===t.d?0-t.mw:0,t._ys="up"===t.d?0-t.mh:0,t._xe="right"===t.d?a.SLOT.OW+t.mw:"left"===t.d?a.SLOT.OW-t.mw:a.SLOT.OW,t._ye="down"===t.d?a.SLOT.OH+t.mh:"up"===t.d?a.SLOT.OH-t.mh:a.SLOT.OH,i.beginPath(),i.rect("left"===t.d?Math.max(0,t._xs):"right"===t.d?Math.min(0,t._xs):0,"up"===t.d?Math.max(0,t._ys):"down"===t.d?Math.min(0,t._ys):0,"left"===t.d?Math.max(a.SLOT.OW,t._xe):"right"===t.d?Math.min(a.SLOT.OW,t._xe):t._xe,"up"===t.d?Math.max(a.SLOT.OH,t._ye):"down"===t.d?Math.min(a.SLOT.OH,t._ye):t._ye),i.clip())},afterDraw:function(e,i,t,a,r){void 0!==t.d&&(i.save(),i.beginPath(),i.rect(Math.max(0,t._dxs),Math.max(0,t._dys),t._xe,t._ye),i.clip(),i.save(),i.transform(r.csx,r.ssx,r.ssy,r.csy,.5*a.SLOT.OW+t.x+t.sgx,.5*a.SLOT.OH+t.y+t.sgy),i.drawImage(void 0!==a.shadowCanvas?a.shadowCanvas:a.loadobj.img,0,0,a.SLOT.OW,a.SLOT.OH,t.sgx-a.SLOT.OW/2,t.sgy-a.SLOT.OH/2,a.SLOT.OW,a.SLOT.OH),i.restore(),i.fillStyle="rgba(0,0,0,0.6)",i.fillRect(t.gx,t.gy,a.SLOT.OW,a.SLOT.OH),i.restore())},extendTimeLine:function(e,i,t,a,r,o){"in"!==r.direction||void 0===a.gxe&&void 0===a.gye||(jQuery.extend(!0,t[0],{d:a.d,gx:void 0===a.gxs?0:2*n(a.gxs,o.width,r.sdir,0),gy:void 0===a.gys?0:2*n(a.gys,o.height,r.sdir,0),sgx:void 0===a.gxs?0:n(a.gxs,o.width,r.sdir,0),sgy:void 0===a.gys?0:n(a.gys,o.height,r.sdir,0),mw:0-o.width,mh:0-o.height}),i.add(tpGS.gsap.to(t,a.ms/a.sec,{gx:void 0===a.gxe?0:2*n(a.gxe,o.width,r.sdir,0),gy:void 0===a.gye?0:2*n(a.gye,o.height,r.sdir,0),sgx:void 0===a.gxe?0:2*n(a.gxe,o.width,r.sdir,0),sgy:void 0===a.gye?0:2*n(a.gye,o.height,r.sdir,0),mw:o.width,mh:o.height,ease:a.e}),0))}},motionFilter:{init:function(e,i){return void 0!==i&&parseFloat(i)>0?(i=parseFloat(i),e.fmExists=!0,e.fmShadow=void 0===e.fmShadow?document.createElement("canvas"):e.fmShadow,e.fmCtx=e.fmShadow.getContext("2d"),e.fmShadow.width=e.ctx.canvas.width,e.fmShadow.height=e.ctx.canvas.height,e.fmCtx.globalAlpha=tpGS.gsap.utils.mapRange(100,0,40,0,i)/100,e.fmCtx.clearRect(0,0,e.ctx.canvas.width,e.ctx.canvas.height)):e.fmExists=!1,i},render:function(e,i){"partial"===i&&(e.fmCtx.globalCompositeOperation="source-over"),e.fmCtx.drawImage(e.canvas,0,0,e.canvas.width,e.canvas.height),e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.ctx.drawImage(e.fmCtx.canvas,0,0,e.canvas.width,e.canvas.height),"partial"===i&&(e.fmCtx.globalCompositeOperation="source-atop"),"partial"!==i&&"full"!==i||(e.fmCtx.fillStyle="rgba(255, 255, 255, 0.1)",e.fmCtx.fillRect(0,0,e.canvas.width,e.canvas.height))},clearFull:function(e,i){e.fmExists&&void 0!==e.fmCtx&&(e.ctx.clearRect(0,0,e.canvas.width,e.canvas.height),e.fmCtx.clearRect(0,0,e.canvas.width,e.canvas.height),void 0!==i&&i.render(i.time(),!0,!0))},complete:function(e){e.fmShadow&&e.fmShadow.remove()}},d3:{ticker:function(e,i,t){if(void 0!==e.helper){var a=e.smi*("in"===t?e.helper.oo:e.helper.o),r=e.sma*("in"===t?e.helper.oo:e.helper.o);if(e.gradient="vertical"===e.d?"in"===t?i.ctx.createLinearGradient(0,0,0,i.canvas.height):i.ctx.createLinearGradient(0,i.canvas.height,0,0):"in"===t?i.ctx.createLinearGradient(0,0,i.canvas.width,0):i.ctx.createLinearGradient(i.canvas.width,0,0,0),e.gradient.addColorStop(0,"rgba("+e.sc+","+a+")"),e.gradient.addColorStop(e.sl,"rgba("+e.sc+","+r+")"),i.ctx.fillStyle=e.gradient,i.ctx.fillRect(0,0,i.canvas.width,i.canvas.height),void 0!==i.cube&&i.cube.ctx){var o=void 0!==e.roomhelper&&!1!==e.roomhelper&&(90-e.roomhelper.r)/90;a=!1!==o?o:e.smi*e.helper.o,r=!1!==o?o:e.sma*e.helper.o,i.cube.ctx.clearRect(0,0,i.cube.ctx.canvas.width,i.cube.ctx.canvas.height),e.gradientW=!1!==o?"vertical"===e.d?e.t<0&&1===e.sdir||e.t>0&&-1===e.sdir?i.ctx.createRadialGradient(0,i.cube.ctx.canvas.width/2,0,0,0,2*i.cube.ctx.canvas.width):i.ctx.createRadialGradient(i.cube.ctx.canvas.width,0,0,0,0,2*i.cube.ctx.canvas.width):e.t>0&&1===e.sdir||e.t<0&&-1===e.sdir?i.ctx.createRadialGradient(i.cube.ctx.canvas.width/2,i.cube.ctx.canvas.height,0,i.cube.ctx.canvas.width/2,i.cube.ctx.canvas.height,i.cube.ctx.canvas.width):i.ctx.createRadialGradient(i.cube.ctx.canvas.width/2,.2*i.cube.ctx.canvas.height,0,i.cube.ctx.canvas.width/2,.2*i.cube.ctx.canvas.height,i.cube.ctx.canvas.width):"vertical"===e.d?i.ctx.createLinearGradient(0,0,0,i.cube.ctx.canvas.height):i.ctx.createLinearGradient(0,0,i.cube.ctx.canvas.width,0),e.gradientW.addColorStop(0,"rgba("+e.sc+","+(!1!==o?"a"===e.DIR?r:0:"a"===e.DIR?0:r)+")"),e.gradientW.addColorStop(1,"rgba("+e.sc+","+(!1!==o?"a"===e.DIR?0:r:"a"===e.DIR?r:0)+")"),i.cube.ctx.fillStyle=e.gradientW,i.cube.ctx.fillRect(0,0,i.cube.ctx.canvas.width,i.cube.ctx.canvas.height)}}},setWall:function(e,i,t,a,r,o){return e.TL=tpGS.gsap.timeline(),e.TL.add(tpGS.gsap.to(e.c,.2,{display:"block"}),0),"rotationX"===t?(e.ctx.canvas.width=a.w,e.ctx.canvas.height=a.w,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:r,width:a.w,height:a.w,transformOrigin:"50% 50% -"+a.w/2+"px",x:0,y:i>0?-(a.w-a.h):0,rotationX:i>0?-90:90,rotationY:0}),0)):(e.ctx.canvas.width=o?a.w:a.h,e.ctx.canvas.height=a.h,e.TL.add(tpGS.gsap.set(e.w,{backgroundColor:r,width:o?a.w:a.h,height:a.h,transformOrigin:"50% 50% -"+(o?a.w:a.h)/2+"px",x:i<0?a.w-a.h:0,y:0,rotationX:0,rotationY:i>0?-90:90}),0)),e.TL},buildCube:function(e){e.cube={c:document.createElement("div"),w:document.createElement("canvas")},e.cube.ctx=e.cube.w.getContext("2d"),e.cube.c.className="rs_fake_cube",e.cube.w.className="rs_fake_cube_wall",tpGS.gsap.set(e.cube.c,{width:e.mDIM.w,height:e.mDIM.h}),tpGS.gsap.set(e.cube.w,{width:e.mDIM.w,height:e.mDIM.h,backgroundColor:"#ccc"}),e.cube.c.appendChild(e.cube.w),e.sbg.appendChild(e.cube.c)},cubeTL:function(e,t,a,r){if("none"!==t.f&&void 0!==t.f){a.sbg.style.transformStyle="preserve-3d";var o=tpGS.gsap.timeline(),s="incube"===t.f?1:-1,n="incube"===t.f||"cube"===t.f,d="fly"===t.f?-30:90,l="turn"!==t.f&&!1!==t.t&&(_R_is_Editor||!0===i[e].firstSlideAnimDone),c=-1*t.z,p={},g={z:l?0:c,ease:"power1.inOut"},u={ease:t.e},h=[a.canvas],m=n?"50% 50% ":"20% 20% ",v="rotationX",f="rotationY",y="y",b="height",w=t.fd;if("vertical"!==t.d?(v="rotationY",f="rotationX",y="x",b="width",t.DIR=1===t.sdir?"b":"a"):t.DIR=1===t.sdir?"a":"b",b="width"===b?"w":"height"===b?"h":b,"turn"===t.f?(d="vertical"===t.d?-120:120,m="vertical"===t.d?1===t.sdir?"in"===r?"0% 0% 0%":"0% 100% 0%":"in"===r?"0% 100% 0%":"0% 0% 0%":1===t.sdir?"in"===r?"0% 0% 0%":"100% 0% 0%":"in"===r?"100% 0% 0%":"0% 0% 0%",g.z=0,u.ease="out"===r?"power3.out":u.ease,w="out"===r?w/2:w):m+=s*a.mDIM[b]/2+"px",u[v]=0,u[y]=0,"in"===r?p[v]=d*t.sdir:u[v]=-d*t.sdir,"fly"===t.f){var _=void 0===t.fz?20*Math.random()-10:parseInt(t.fz);"in"===r?(p[y]=a.mDIM[b]*(void 0===t.fdi?1.5:parseFloat(t.fdi))*t.sdir,p.rotateZ=t.sdir*_,u.rotateZ=0):(u[y]=a.mDIM[b]*(void 0===t.fdo?2:parseFloat(t.fdo))*t.sdir*-1,u.rotateZ=t.sdir*_*-1)}if(a.sbg.style.perspective=l?"2500px":"1500px",l){var x={z:c*("fly"===t.f?1.5:3),ease:"power1.inOut"},S={z:0,ease:"power1.inOut"};x[f]=-1*t.t,S[f]=0,t.roomhelper={r:0},o.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:a.wrap[0],{perspective:1200,transformStyle:"preserve-3d",transformOrigin:m}),0),o.add(tpGS.gsap.to(a.sbg,3*t.md,x),0),o.add(tpGS.gsap.to(a.sbg,3*t.md,S),w-t.md),o.add(tpGS.gsap.to(t.roomhelper,3*t.md,{r:Math.abs(t.t)}),0),o.add(tpGS.gsap.to(t.roomhelper,3*t.md,{r:0}),w-t.md),"in"===r&&1!==s&&n&&(void 0===a.cube&&i.transitions.d3.buildCube(a),o.add(i.transitions.d3.setWall(a.cube,x[f],f,a.mDIM,t.c),0),h.push(a.cube.c))}else t.roomhelper=!1,o.add(tpGS.gsap.set(_R_is_Editor?RVS.SBGS[RVS.S.slideId].wrap:a.wrap[0],{perspective:"none",transformStyle:"none",transformOrigin:"50% 50%"}),0),!_R_is_Editor&&!0!==i[e].firstSlideAnimDone&&n&&(void 0===a.cube&&i.transitions.d3.buildCube(a),o.add(i.transitions.d3.setWall(a.cube,p[v],v,a.mDIM,t.c,!0),0),o.add(tpGS.gsap.fromTo(a.cube.w,4*t.md,{opacity:0},{opacity:1}),0),h.push(a.cube.c));return t.helper={o:0,oo:1},o.add(tpGS.gsap.to(t.helper,w,{o:1,oo:0,ease:t.e}),t.md+0),o.add(tpGS.gsap.set(h,jQuery.extend(!0,{},p,{force3D:!0,transformOrigin:m})),0),"turn"!==t.f&&o.add(tpGS.gsap.to(h,3*t.md,g),0),o.add(tpGS.gsap.to(h,w,u),t.md+0),"turn"!==t.f&&o.add(tpGS.gsap.to(h,3*t.md,{z:0,ease:"power1.inOut"}),w-t.md),"out"===r&&1!==s&&o.add(tpGS.gsap.to(h,2*t.md,{opacity:0}),t.dur-2*t.md),o}}}},animatedCanvasUpdate:function(e,t){t.cDIMS=i.getBGCanvasDetails(e,t),t.canvas.style.backgroundColor="transparent",t.canvas.style.opacity=1,t.canvas.width!==t.mDIM.width&&(t.canvas.width=t.mDIM.width),t.canvas.height!==t.mDIM.height&&(t.canvas.height=t.mDIM.height),_R_is_Editor||!0!==i[e].clearModalBG||(t.ctx.clearRect(0,0,t.canvas.width,t.canvas.height),i[e].clearModalBG=!1,t.sbg.parentNode.style.opacity=1),t.SLOT=jQuery.extend(!0,{s:{},c:{}},r(e,t.col,t.row,t.mDIM,"OW","OH")),t.SLOT.DX=0-t.SLOT.OW/2,t.SLOT.DY=0-t.SLOT.OH/2,t.row=Math.ceil(t.mDIM.height/t.SLOT.OH)||1},animateCore:function(e,t,a,r){var o,s,l,c,p=t.canvas,g=t.ctx,u=0;t.col=a.col,t.row=a.row,i.animatedCanvasUpdate(e,t),a.row=t.row,t.animateDirection=r.direction,r.delay=void 0===r.delay?0:r.delay,l=a.col*a.row,c=Array(l),void 0===t.help_canvas&&"out"===r.direction&&void 0!==r.bgColor&&(t.help_canvas=document.createElement("canvas"),t.help_ctx=t.help_canvas.getContext("2d")),"out"===r.direction&&void 0!==r.bgColor&&(t.help_canvas.width=t.mDIM.width,t.help_canvas.height=t.mDIM.height,t.help_ctx.fillStyle=r.bgColor,t.help_ctx.fillRect(0,0,t.mDIM.width,t.mDIM.height)),a.mo=i.transitions.motionFilter.init(t,a.mo),a.dur=a.ms/a.sec,void 0!==r.d3&&(r.d3.dur=a.dur,r.d3.fd=.7*a.dur,r.d3.md=.15*a.dur,r.d3.sdir=r.sdir),t.SLOT.c={ws:0,hs:0,wd:0,hd:0},a.mo>0&&_R_is_Editor&&g.clearRect(0,0,p.width,p.height);var h=tpGS.gsap.timeline({onUpdate:function(){if(u=0,a.mo>0?i.transitions.motionFilter.render(t,a.moo):g.clearRect(0,0,p.width,p.height),t.help_canvas&&"out"===r.direction&&g.drawImage(t.help_canvas,0,0),(r.filter&&r.filter.u||!_R_is_Editor)&&i.transitions.filter.update(r.filter,g,t.canvasFilterBlur),_R_is_Editor&&0!==a.zIndex&&void 0!==a.zIndex&&tpGS.gsap.set(r.slide,{zIndex:a.zIndex}),void 0!==t.shadowCanvas)for(o=0;o1&&t.SLOT.SH>1&&g.drawImage(t.shadowCanvas,t.SLOT.SX,t.SLOT.SY,t.SLOT.SW,t.SLOT.SH,t.SLOT.DX,t.SLOT.DY,t.SLOT.DW,t.SLOT.DH),g.restore(),i.transitions[r.effect]&&i.transitions[r.effect].afterDraw&&i.transitions[r.effect].afterDraw(e,g,c[u],t,{csx:d,csy:l,ssx:p,ssy:h}),u++}void 0!==r.d3&&r.d3.su&&i.transitions.d3.ticker(r.d3,t,r.direction),t.currentState="animating"},onComplete:function(){void 0!==t.bgvid&&t.bgvid.length>0&&"out"===r.direction&&(t.drawVideoCanvasImagesRecall=!1,i.stopVideo(t.bgvid,e),t.bgvid[0].style.display="none",t.bgvid[0].style.zIndex=0),"in"===r.direction&&(i.transitions.motionFilter.complete(t),g.canvas.style.filter="none",void 0!==r.BG&&r.BG.ctx.clearRect(0,0,p.width,p.height),tpGS.gsap.set(r.slide,{zIndex:20}),delete t.animateDirection,t.bgvid.length>0&&(t.isHTML5||(i.resetVideo(t.bgvid,e),i.playVideo(t.bgvid,e,!0)),tpGS.gsap.to(t.bgvid[0],.001,{zIndex:30,display:"block",opacity:1}))),"out"===r.direction?(tpGS.gsap.set(r.slide,{zIndex:10}),tpGS.gsap.set(t.canvas,{rotationX:0,rotationY:0,rotationZ:0,x:0,y:0,z:0,opacity:1}),t.currentState=void 0):t.currentState="idle",void 0!==t.cube&&(t.cube.c.style.display="none")}});if(a.col*a.row<2&&(a.f="start"),0!==a.zIndex&&void 0!==a.zIndex&&h.add(tpGS.gsap.set(r.slide,{zIndex:parseInt(a.zIndex,0)}),0),a.m="false"!=a.m&&!1!==a.m,"in"===r.direction){for(o=0;o0&&void 0!==i[e].pr_next_bg[0],l=!!_R_is_Editor||void 0!==i[e].pr_active_bg&&i[e].pr_active_bg.length>0&&void 0!==i[e].pr_active_bg[0],p=_R_is_Editor?RVS.SBGS[RVS.S.slideId].n:d?i[e].sbgs[i[e].pr_next_bg[0].dataset.key]:void 0,g=_R_is_Editor?RVS.SBGS[RVS.S.slideId].c:l?i[e].sbgs[i[e].pr_active_bg[0].dataset.key]:void 0;n=1===n?-1:1,s=jQuery.extend(!0,{},function(e,t,r){var s=void 0!==i.transitions[t.anim.e]&&void 0!==i.transitions[t.anim.e].getBasic?i.transitions[t.anim.e].getBasic():i.getBasic(),n="";s.out=null==s.out?{}:s.out,s.out.reversed=void 0===t.out&&(void 0===s.out.reversed||s.out.reversed);void 0!==t.iw&&parseInt(t.iw,0),void 0!==t.ow&&parseInt(t.ow,0);for(var d in s.attr)n=s.attr[d],s.in[n]=a(s.in[n],t.in[n]),s.out[n]=s.out.reversed?s.in[n]:void 0===t.out?s.out[n]:a(s.out[n],t.out[n]);return s.filter=void 0!==t.filter?jQuery.extend(!0,t.filter,t.filter):s.filter,i.transitions[t.anim.e]&&i.transitions[t.anim.e].updateAnim&&(s=i.transitions[t.anim.e].updateAnim(e,s,r)),s.e=t.anim.e,void 0!==s.in&&(s.in.col="random"===s.in.col?tpGS.gsap.utils.random(1,10,1):o(s.in.col),s.in.row="random"===s.in.row?tpGS.gsap.utils.random(1,10,1):o(s.in.row)),void 0!==s.out&&(s.out.col="random"===s.out.col?tpGS.gsap.utils.random(1,10,1):o(s.out.col),s.out.row="random"===s.out.row?tpGS.gsap.utils.random(1,10,1):o(s.out.row)),s}(e,r,n)),void 0!==p.random&&void 0!==i.SLTR&&void 0!==g&&(delete g.help_canvas,delete g.help_ctx),s.ms=a(void 0,void 0===r.anim.ms?1e3:r.anim.ms),s.f=a(void 0,r.anim.f),s.p=a(void 0,r.anim.p),s.d=a(void 0,r.anim.d),s.o=r.anim.o,void 0!==r.d3&&(r.d3.t=void 0!==r.d3.t&&0!==r.d3.t&&r.d3.t,r.d3.su="true"==r.d3.su||1==r.d3.su,r.d3.su&&(r.d3.smi=void 0===r.d3.smi?0:parseFloat(r.d3.smi),r.d3.sl=void 0===r.d3.sl?1:parseFloat(r.d3.sl),r.d3.sma=void 0===r.d3.sma?.5:parseFloat(r.d3.sma),r.d3.sc=void 0===r.d3.sc?"0,0,0":tpGS.gsap.utils.splitColor(r.d3.sc).join(",")),s.p="none",void 0!==s.in.row&&void 0!==s.in.col&&s.in.row*s.in.col>200&&(s.filter=void 0)),s.in.sec=void 0===s.in.sec?1e3:s.in.sec,s.in.stasec=void 0===s.in.stasec?void 0===s.d?1500:100*s.d:s.in.stasec,s.in.ms="default"===s.ms||"d"===s.ms?s.in.ms:"random"===s.ms?Math.round(1e3*Math.random()+300):null!=s.ms?parseInt(s.ms,0):s.in.ms,s.out.ms=s.in.ms,void 0!==s.filter&&(s.filter.ms=s.in.ms,s.filter.sec=s.in.sec,s.filter.e=void 0===s.filter.e||"default"===s.filter.e?s.in.e:s.filter.e),s.in.f=void 0===s.f||"default"===s.f||"d"===s.f?s.in.f:s.f,s.in.f="slidebased"===s.in.f?1==n?"start":"end":"oppslidebased"===s.in.f?1===n?"end":"start":s.in.f,s.out.f=s.in.f,s.out=jQuery.extend(!0,{},s.in,s.out),void 0!==s.p&&"none"!==s.p&&(s.in.bg="dark"===s.p?"#000":"light"===s.p?"#fff":"transparent",s.out.delay="none"!==s.p?function(e,i){return e/2.5}:0,1===s.out.o&&0===s.out.x&&0===s.out.y&&(s.out.o=0)),"forceinout"===s.o?(s.in.zIndex=20,s.out.zIndex=10):"outin"!==s.o&&(1!==s.in.o||0!==s.in.x||0!==s.in.y||void 0===r.out||1===s.out.o&&0===s.out.x&&0===s.out.y)||(s.in.zIndex=10,s.out.zIndex=20),p.bgvid.length>0&&(s.in=u(e,s.in,p,"in")),l&&void 0!==g.bgvid&&g.bgvid.length>0&&(s.out=u(e,s.out,g,"out")),void 0!==s.out&&(s.out.simplify||s.in.simplify)&&(s.out=c(s.out)),s.in.simplify&&(s.in=c(s.in)),_R_is_Editor||requestAnimationFrame(function(){i.generalObserver(t,!0)}),s.in.animator=void 0===s.in.animator?"animateCore":s.in.animator,s.out.animator=void 0===s.out.animator?"animateCore":s.out.animator,l&&!0!==s.out.skip&&i[s.out.animator](e,g,s.out,{effect:s.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].c.sbg:i[e].pr_active_slide,direction:"out",delay:0,bgColor:s.in.bg,sdir:n,filter:void 0,d3:r.d3}),!0!==s.in.skip&&i[s.in.animator](e,p,s.in,{effect:s.e,slide:_R_is_Editor?RVS.SBGS[RVS.S.slideId].n.sbg:i[e].pr_next_slide,direction:"in",delay:l?"function"==typeof s.out.delay?s.out.delay(s.in.ms/1e3,s.out.row*s.out.col):s.out.delay:s.in.delay,BG:g,sdir:n,filter:s.filter,d3:r.d3})},n=function(e,i,t,a){var r=(""+e).indexOf("%")>=0;return 0==(e=d(e,a,t))||void 0===e?0:r?i*(parseInt(e)/100):parseInt(e)},d=function(e,t,a,r){if(i.isNumeric(parseFloat(e,0)))return parseFloat(e,0);var o=(""+e).split("ran(").length>1?"random":(""+e).split("cyc(").length>1?"wrap":(""+e).split("(").length>1?"dir":"unknown",s=("random"===o?e.slice(4,-1):"wrap"===o?e.slice(4,-1):e.slice(1,-1)).split("|");if("random"===o)return tpGS.gsap.utils.random(parseFloat(s[0]),parseFloat(s.length>1?s[1]:0-s[0]));if("wrap"===o){var n=tpGS.gsap.utils.wrap(s,t);return(""+n).split("(").length>1?parseFloat(n.slice(1,-1))*a+(r?"%":""):n}return"dir"===o?parseFloat(s[0])*a+(r?"%":""):void 0},l=function(e,t,a){var r=e.height/e.width;if(a.ratio=a.conth/a.contw,a.ratior&&"cover"===t.bgfit)a.height=e.width*a.ratio;else if(a.ratio>r&&"contain"===t.bgfit||a.ratio=0?parseInt(a[0],0)/100*e.width-parseInt(a[0],0)/100*t.width:parseInt(a[0],0),y:"center"===a[1]||"50%"===a[1]?(e.height-t.height)/2:"top"===a[1]?0:"bottom"===a[1]?e.height-t.height:i.isNumeric(a[1])?0:a[1].indexOf("%")>=0?parseInt(a[1],0)/100*e.height-parseInt(a[0],0)/100*t.height:parseInt(a[1],0)}}(e,a,t.bgposition);return a.x=s.x,a.y=s.y,a},c=function(e){return e.o=0,e.r=0,e.row=1,e.col=1,e.x=0,e.y=0,e.sx=1,e.sy=1,e},p=function(e){return e="false"!==e&&!1!==e&&"off"!==e&&void 0!==e&&0!==e&&-1!==e},g=function(e){return e=(""+(e=(""+(e=(""+(e=(""+(e=(""+e).split(",").join("|"))).replace("{","ran("))).replace("}",")"))).replace("[","cyc("))).replace("]",")")},u=function(e,t,a,r){return t.skip=!1,"in"===r?a.isHTML5?(a.bgvid[0].style.display="none",i.resetVideo(a.bgvid,e),a.animateDirection="in",a.currentState="animating",a.drawVideoCanvasImagesRecall=!0,i.updateVideoFrames(e,a,!0),i.playVideo(a.bgvid,e)):(i[e].videos[a.bgvid[0].id].pauseCalled=!1,t.waitToSlideTrans=i[e].videos[a.bgvid[0].id].waitToSlideTrans,!0!==a.poster?(i.resetVideo(a.bgvid,e),i[e].videos[a.bgvid[0].id].prePlayForaWhile=!1,!0!==t.waitToSlideTrans&&i.playVideo(a.bgvid,e,!0),tpGS.gsap.fromTo(a.bgvid,t.ms/t.sec,{zIndex:30,display:"block",opacity:0},{opacity:1,zIndex:30,display:"block"}),a.loadobj.bgColor=!0,a.bgcolor="#000",t.simplify=!0):(i[e].videos[a.bgvid[0].id].prePlayForaWhile=!1,i.resetVideo(a.bgvid,e),i.playVideo(a.bgvid,e),a.bgvid[0].style.display="none",a.bgvid[0].style.zIndex=0,a.bgvid[0].style.opacity=0)):"out"===r&&(a.isHTML5?(a.currentState="animating",a.drawVideoCanvasImagesRecall=!0,i.updateVideoFrames(e,a,!0),window.requestAnimationFrame(function(){tpGS.gsap.to(a.bgvid,.1,{zIndex:0,display:"none"})})):(i.stopVideo(a.bgvid,e,!0),!0!==a.poster&&(a.loadobj.bgColor=!0,a.bgcolor="#000"))),t},h=function(e,i,t,a){return Math.sqrt(Math.pow(e-t,2)+Math.pow(i-a,2))},m=function(e,i){var t=i+Math.PI/2;return{x1:e.x,y1:e.y,x2:e.x+100*Math.cos(t),y2:e.y+100*Math.sin(t)}},v=function(e,i){var t=e.y2-e.y1,a=e.x1-e.x2,r=t*e.x1+a*e.y1,o=i.y2-i.y1,s=i.x1-i.x2,n=o*i.x1+s*i.y1,d=t*s-o*a;return 0!==d&&{x:Math.round((s*r-a*n)/d*100)/100,y:Math.round((t*n-o*r)/d*100)/100}}}(jQuery),function(e){"use strict";var i=jQuery.fn.revolution,t=i.is_mobile();i.is_android();function a(e){return null==e?-1:i.isNumeric(e)?e:e.split(":").length>1?60*parseInt(e.split(":")[0],0)+parseInt(e.split(":")[1],0):e}jQuery.extend(!0,i,{preLoadAudio:function(e,t){i[t].videos=void 0===i[t].videos?{}:i[t].videos,e.find(".rs-layer-audio").each(function(){var a=jQuery(this),r=i[t].videos[a[0].id]=void 0===i[t].videos[a[0].id]?y(a.data(),"audio",i.gA(e[0],"key")):i[t].videos[a[0].id],o={};0===a.find("audio").length&&(o.src=null!=r.mp4?r.mp4:"",o.pre=r.pload||"",this.id=void 0===this.id||""===this.id?a.attr("audio-layer-"+Math.round(199999*Math.random())):this.id,o.id=this.id,o.status="prepared",o.start=jQuery.now(),o.waittime=void 0!==r.ploadwait?1e3*r.ploadwait:5e3,"auto"!=o.pre&&"canplaythrough"!=o.pre&&"canplay"!=o.pre&&"progress"!=o.pre||(void 0===i[t].audioqueue&&(i[t].audioqueue=[]),i[t].audioqueue.push(o),i.manageVideoLayer(a,t,i.gA(e[0],"key"),!0)))})},preLoadAudioDone:function(e,t,a){var r=i[t].videos[e[0].id];i[t].audioqueue&&i[t].audioqueue.length>0&&jQuery.each(i[t].audioqueue,function(e,i){r.mp4!==i.src||i.pre!==a&&"auto"!==i.pre||(i.status="loaded")})},checkfullscreenEnabled:function(e){if(void 0!==window.fullScreen)return window.fullScreen;if(void 0!==document.fullscreen)return document.fullscreen;if(void 0!==document.mozFullScreen)return document.mozFullScreen;if(void 0!==document.webkitIsFullScreen)return document.webkitIsFullScreen;var t=i.isWebkit()&&/Apple Computer/.test(navigator.vendor)?42:5;return screen.width==i.winW&&Math.abs(screen.height-i.getWinH(e))0)&&(o.vimeoplayer.setCurrentTime(-1==o.ssec?0:o.ssec),o.vimeoplayer.pause()),0!=o.jsposter.length||o.bgvideo||"preset"===r||i.showVideo(e.find("iframe"));break;case"html5":if(t&&o.notonmobile)return!1;o.bgvideo||i.showVideo(o.jvideo),o.rwd&&"playing"!==o.cSS&&!isNaN(o.video.duration)&&(o.justReseted=!0,o.video.currentTime=-1==o.ssec?0:o.ssec),("mute"==o.volume||i.lastToggleState(e.videomutetoggledby)||!0===i[a].globalmute)&&(o.video.muted=!0)}}},Mute:function(e,t,a){var r=!1,o=i[t].videos[e[0].id];switch(o.type){case"youtube":o.player&&(!0===a&&o.player.mute(),!1===a&&d(o,parseInt(o.volcache,0)),r=o.player.isMuted());break;case"vimeo":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.volume=!0===a?"mute":!1===a?o.volcache:o.volume,void 0!==a&&null!=o.vimeoplayer&&n(o,!0===a?0:o.volcache),r="mute"==o.volume||0===o.volume;break;case"html5":o.volcachecheck||(o.volcache=o.volcache>1?o.volcache/100:o.volcache,o.volcachecheck=!0),o.video.volume=o.volcache,void 0!==a&&o.video&&(o.video.muted=a),r=void 0!==o.video?o.video.muted:r}if(void 0===a)return r},stopVideo:function(e,t,a){if(void 0!==i[t]&&void 0!==i[t]){var r=i[t].videos[e[0].id];if(void 0!==r&&("stopVideo"!==r.cRS||"paused"!==r.cSS))switch(r.cRS="stopVideo",i[t].leaveViewPortBasedStop||(i[t].lastplayedvideos=[]),i[t].leaveViewPortBasedStop=!1,r.type){case"youtube":void 0!==r.player&&2!==r.player.getPlayerState()&&5!==r.player.getPlayerState()&&(r.player.pauseVideo(),void 0!==a&&g(t,r,"hide"));break;case"vimeo":void 0!==r.vimeoplayer&&(r.vimeoplayer.pause(),void 0!==a&&g(t,r,"hide"));break;case"html5":r.video&&r.video.pause()}}},playVideo:function(e,t){var a=i[t].videos[e[0].id];if(clearTimeout(a.videoplaywait),"playVideo"!==a.cRS||"playing"!==a.cSS)switch(a.cRS="playVideo",a.type){case"youtube":if(0==e.find("iframe").length)e.append(a.videomarkup),h(e,t,!0);else if(void 0!==a.player&&null!=a.player.playVideo){var o=a.player.getCurrentTime();a.nseTriggered&&(o=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>o&&a.player.seekTo(a.ssec),p(a)}else a.videoplaywait=setTimeout(function(){i.playVideo(e,t)},50);break;case"vimeo":if(0==e.find("iframe").length)delete a.vimeoplayer,e.append(a.videomarkup),h(e,t,!0);else if(e.hasClass("rs-apiready"))if(a.vimeoplayer=null==a.vimeoplayer?new Vimeo.Player(e.find("iframe").attr("id")):a.vimeoplayer,a.vimeoplayer.getPaused()){o=void 0===a.currenttime?0:a.currenttime;a.nseTriggered&&(o=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>o&&a.vimeoplayer.setCurrentTime(a.ssec),("mute"==a.volume||0===a.volume||i.lastToggleState(e.data("videomutetoggledby"))||!0===i[t].globalmute)&&(a.volumetoken=!0,a.vimeoplayer.setVolume(0)),c(a)}else a.videoplaywait=setTimeout(function(){i.playVideo(e,t)},50);else a.videoplaywait=setTimeout(function(){i.playVideo(e,t)},50);break;case"html5":if(a.metaloaded){if(""+a.video.duration=="NaN"||a.video.readyState<4)return a.loadRequested||(a.video.load(),a.loadRequested=!0),void setTimeout(function(){i.playVideo(e,t)},50);o=a.video.currentTime;a.nseTriggered&&(o=-1,a.nseTriggered=!1),-1!=a.ssec&&a.ssec>o&&a.ssec1?o.ratio.split(":")[0]/o.ratio.split(":")[1]:1;var s=t/a,n=s/o.vd*100,d=o.vd/s*100;"Edge"===i.get_browser()||"IE"===i.get_browser()?s>o.vd?tpGS.gsap.set(o.jvideo,{minWidth:"100%",height:n+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):tpGS.gsap.set(o.jvideo,{minHeight:"100%",width:d+"%",x:"-50%",y:"-50%",top:"50%",left:"50%",position:"absolute"}):s>o.vd?tpGS.gsap.set(o.jvideo,{height:(o.fitCover?100:n)+"%",width:"100%",top:o.fitCover?0:-(n-100)/2+"%",left:"0px",position:"absolute"}):tpGS.gsap.set(o.jvideo,{width:(o.fitCover?100:d)+"%",height:"100%",left:o.fitCover?0:-(d-100)/2+"%",top:"0px",position:"absolute"})}}else i[e].resizePrepareCoverVideolistener=setTimeout(function(){i.prepareCoveredVideo(e)},100)},checkVideoApis:function(e,t){location.protocol;if(!i[t].youtubeapineeded&&((null!=e.data("ytid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&(i[t].youtubeapineeded=!0),i[t].youtubeapineeded&&!window.rs_addedyt)){i[t].youtubestarttime=jQuery.now(),window.rs_addedyt=!0;var a=document.createElement("script"),r=i.getByTag(document,"script")[0],o=!0;a.src="https://www.youtube.com/iframe_api",jQuery("head").find("*").each(function(){"https://www.youtube.com/iframe_api"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(a,r)}if(!i[t].vimeoapineeded&&((null!=e.data("vimeoid")||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&(i[t].vimeoapineeded=!0),i[t].vimeoapineeded&&!window.rs_addedvim)){i[t].vimeostarttime=jQuery.now(),window.rs_addedvim=!0;var s=document.createElement("script");r=i.getByTag(document,"script")[0],o=!0;s.src="https://player.vimeo.com/api/player.js",jQuery("head").find("*").each(function(){"https://player.vimeo.com/api/player.js"==jQuery(this).attr("src")&&(o=!1)}),o&&r.parentNode.insertBefore(s,r)}},manageVideoLayer:function(e,a,o,s){if(i[a].videos=void 0===i[a].videos?{}:i[a].videos,void 0===i[a].videos[e[0].id]||!0===s){var n=i[a].videos[e[0].id]=void 0===i[a].videos[e[0].id]?y(e.data(),void 0,o):i[a].videos[e[0].id];if(n.audio=void 0!==n.audio&&n.audio,t&&n.opom)0==e.find("rs-poster").length&&e.append('');else{n.jsposter=e.find("rs-poster"),n.id=e[0].id,n.pload="auto"===n.pload||"canplay"===n.pload||"canplaythrough"===n.pload||"progress"===n.pload?"auto":n.pload,n.type=null!=n.mp4||null!=n.webm?"html5":null!=n.ytid&&String(n.ytid).length>1?"youtube":null!=n.vimeoid&&String(n.vimeoid).length>1?"vimeo":"none",n.newtype="html5"==n.type&&0==e.find(n.audio?"audio":"video").length?"html5":"youtube"==n.type&&0==e.find("iframe").length?"youtube":"vimeo"==n.type&&0==e.find("iframe").length?"vimeo":"none",n.extras="",n.posterMarkup=void 0===n.posterMarkup?"":n.posterMarkup,!n.audio&&"1sttime"==n.aplay&&n.pausetimer&&n.bgvideo&&i.sA(e.closest("rs-slide")[0],"rspausetimeronce",1),n.audio||!n.bgvideo||!n.pausetimer||1!=n.aplay&&"true"!=n.aplay&&"no1sttime"!=n.aplay||i.sA(e.closest("rs-slide")[0],"rspausetimeralways",1),n.noInt&&e.addClass("rs-nointeraction"),!(null!=n.poster&&n.poster.length>2)||t&&n.npom||0==n.jsposter.length&&(n.posterMarkup+='');var d=!0;switch(n.cSS="created",n.cRS="created",n.newtype){case"html5":1==window.isSafari11&&(i[a].slideHasIframe=!0),n.audio&&e.addClass("rs-audio"),n.tag=n.audio?"audio":"video";var l="video"===n.tag&&(i.is_mobile()||i.isSafari11())?n.aplay||"true"===n.aplay?"muted playsinline autoplay":n.inline?" playsinline":"":"",c='
';c+="<"+n.tag+" "+l+" "+(n.controls&&"none"!==n.controls?" controls":"")+(n.bgvideo&&-1==l.indexOf("autoplay")?" autoplay":"")+(n.bgvideo&&-1==l.indexOf("muted")?" muted":"")+' style="'+("Edge"!==i.get_browser()?(n.fitCover?"object-fit:cover;background-size:cover;":"")+"opacity:0;width:100%; height:100%":"")+'" class="" '+(n.loop?"loop":"")+' preload="'+n.pload+'">',"video"===n.tag&&null!=n.webm&&"firefox"==i.get_browser().toLowerCase()&&(c=c+''),null!=n.mp4&&(c=c+'0?"audio/x-m4a":"audio/mpeg")+'" />'),null!=n.ogv&&(c=c+''),c+="
",c+=n.posterMarkup,n.controls&&!n.audio||t||(c+='
 
'),n.videomarkup=c,d=!1,t&&n.notonmobile||i.isIE(8)||e.append(c),n.jvideo=e.find(n.tag),n.video=n.jvideo[0],n.html5vid=n.jvideo.parent(),r(n.video,"canplay",function(e){v(e,a),i.resetVideo(e,a)}(e));break;case"youtube":i[a].slideHasIframe=!0,n.controls&&"none"!==n.controls||(n.vatr=n.vatr.replace("controls=1","controls=0"),-1==n.vatr.toLowerCase().indexOf("controls")&&(n.vatr=n.vatr+"&controls=0")),(n.inline||"RS-BGVIDEO"===e[0].tagName)&&(n.vatr=n.vatr+"&playsinline=1"),-1!=n.ssec&&(n.vatr+="&start="+n.ssec),-1!=n.esec&&(n.vatr+="&end="+n.esec);var p=n.vatr.split("origin=https://");n.vatrnew=p.length>1?p[0]+"origin=https://"+(self.location.href.match(/www/gi)&&!p[1].match(/www/gi)?"www."+p[1]:p[1]):n.vatr,n.videomarkup='';break;case"vimeo":i[a].slideHasIframe=!0,n.controls&&"none"!==n.controls?(n.vatr=n.vatr.replace("background=0","background=1"),-1==n.vatr.toLowerCase().indexOf("background")&&(n.vatr=n.vatr+"&background=1")):(n.vatr=n.vatr.replace("background=1","background=0"),-1==n.vatr.toLowerCase().indexOf("background")&&(n.vatr=n.vatr+"&background=0")),n.vatr="autoplay="+(!0===n.aplay?1:0)+"&"+n.vatr,n.bgvideo&&(n.prePlayForaWhile=!0),t&&!0===n.aplay&&(n.vatr="muted=1&"+n.vatr),n.loop&&(n.vatr="loop=1&"+n.vatr),n.videomarkup=''}if(!(null!=n.poster&&n.poster.length>2)||t&&n.npom){if(t&&n.notonmobile)return!1;0!=e.find("iframe").length||"youtube"!=n.type&&"vimeo"!=n.type||(delete n.vimeoplayer,e.append(n.videomarkup),h(e,a,!("vimeo"!==n.newtype||!n.bgvideo),!0))}else d&&0==e.find("rs-poster").length&&e.append(n.posterMarkup),0==e.find("iframe").length&&(n.jsposter=e.find("rs-poster"),n.jsposter.on("click",function(){if(i.playVideo(e,a),t){if(n.notonmobile)return!1;tpGS.gsap.to(n.jsposter,.3,{opacity:0,visibility:"hidden",force3D:"auto",ease:"power3.inOut"}),i.showVideo(e.find("iframe"))}}));if("none"!==n.doverlay&&void 0!==n.doverlay){var g=i.createOverlay(a,n.doverlay,n.doverlaysize,{0:n.doverlaycolora,1:n.doverlaycolorb});n.bgvideo&&1!=e.closest("rs-sbg-wrap").find("rs-dotted").length?e.closest("rs-sbg-wrap").append(''):n.bgvideo||1==e.find("rs-dotted").length||e.append('')}n.bgvideo&&(e[0].style.display="none",e[0].style.zIndex=0,tpGS.gsap.set(e.find("video, iframe"),{opacity:0}))}}}});var r=function(e,i,t){e.addEventListener?e.addEventListener(i,t,{capture:!1,passive:!0}):e.attachEvent(i,t,{capture:!1,passive:!0})},o=function(e,i,t){var a={};return a.video=e,a.type=i,a.settings=t,a},s=function(e,t){var a=i[e].videos[t[0].id];a.bgvideo&&((void 0===a.ratio||a.ratio.split(":").length<=1)&&(a.ratio="16:9"),i.prepareCoveredVideo(e))},n=function(e,i){var t=e.vimeoplayer;t.getPaused().then(function(a){e.volumetoken=!0;var r=!a,o=t.setVolume(i);void 0!==o&&o.then(function(i){t.getPaused().then(function(i){r===i&&(e.volume="mute",e.volumetoken=!0,t.setVolume(0),t.play())}).catch(function(e){console.log("Get Paused Function Failed for Vimeo Volume Changes Inside the Promise")})}).catch(function(i){r&&(e.volume="mute",e.volumetoken=!0,t.setVolume(0),t.play())})}).catch(function(){console.log("Get Paused Function Failed for Vimeo Volume Changes")})},d=function(e,i){var t=e.player.getPlayerState();"mute"===i?e.player.mute():(e.player.unMute(),e.player.setVolume(i)),setTimeout(function(){1===t&&1!==e.player.getPlayerState()&&(e.player.mute(),e.player.playVideo())},39)},l=function(e,i){if("playVideo"===e.cRS){var t=e.video.play();void 0!==t&&t.then(function(e){}).catch(function(t){e.video.pause(),!0!==i&&l(e,!0)})}},c=function(e){if("playVideo"===e.cRS){var i=e.vimeoplayer.play();void 0!==i&&i.then(function(e){}).catch(function(i){e.vimeoplayer.volumetoken=!0,e.vimeoplayer.setVolume(0),e.vimeoplayer.play()})}},p=function(e){"playVideo"===e.cRS&&e.player.playVideo()},g=function(e,t,a,r){clearTimeout(t.repeatedPosterCalls),t.repeatedPosterCalls=setTimeout(function(){"show"===a||"playing"===t.cSS&&!0!==t.VideoIsVisible?(void 0!==t.showhideposter&&t.showhideposter.pause(),t.showhideposter=tpGS.gsap.timeline(),t.jsposter.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jsposter,.3,{zIndex:5,autoAlpha:0,force3D:"auto",ease:"power3.inOut"}),0),t.jvideo.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jvideo,void 0!==r?r:.001,{opacity:1,display:"block",ease:t.jsposter.length>0?"power3.inOut":"power3.out"}),0),t.VideoIsVisible=!0):("hide"===a||"paused"===t.cSS&&1!=i.checkfullscreenEnabled(e)&&t.jsposter.length>0&&!1!==t.VideoIsVisible&&!0!==t.seeking)&&(void 0!==t.showhideposter&&t.showhideposter.pause(),t.showhideposter=tpGS.gsap.timeline(),t.jsposter.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jsposter,.3,{zIndex:5,autoAlpha:1,force3D:"auto",ease:"power3.inOut"}),0),t.jvideo.length>0&&t.showhideposter.add(tpGS.gsap.to(t.jvideo,void 0!==r?r:.001,{opacity:0,ease:t.jsposter.length>0?"power3.inOut":"power3.out"}),.3),t.bgvideo&&void 0!==t.nBG&&void 0!==t.nBG.loadobj&&(t.nBG.video=t.nBG.loadobj.img),t.VideoIsVisible=!1)},void 0!==a?0:100)},u=function(e,t,a){e.cSS="playing",e.vimeostarted=!0,e.nextslidecalled=!1,e.jsposter=void 0===e.jsposter||0===e.jsposter.length?t.find("rs-poster"):e.jsposter,e.jvideo=t.find("iframe"),i[a].c.trigger("revolution.slide.onvideoplay",o(e.vimeoplayer,"vimeo",e)),i[a].stopByVideo=e.pausetimer,b(t,a),"mute"==e.volume||0===e.volume||i.lastToggleState(t.data("videomutetoggledby"))||!0===i[a].globalmute?(e.volumetoken=!0,e.vimeoplayer.setVolume(0)):n(e,parseInt(e.volcache,0)/100||.75),i.toggleState(e.videotoggledby)},h=function(e,a,r,n){var l=i[a].videos[e[0].id],c="iframe"+Math.round(1e5*Math.random()+1);if(l.jvideo=e.find("iframe"),s(a,e),l.jvideo.attr("id",c),l.startvideonow=r,l.videolistenerexist){if(r)switch(l.type){case"youtube":i.playVideo(e,a),-1!=l.ssec&&l.player.seekTo(l.ssec);break;case"vimeo":i.playVideo(e,a),-1!=l.ssec&&l.vimeoplayer.seekTo(l.ssec)}}else switch(l.type){case"youtube":if("undefined"==typeof YT||void 0===YT.Player)return i.checkVideoApis(e,a),void setTimeout(function(){h(e,a,r,n)},50);l.player=new YT.Player(c,{events:{onStateChange:function(t){t.data==YT.PlayerState.PLAYING?(l.cSS="playing",i[a].onceVideoPlayed=!0,"mute"==l.volume||0===l.volume||i.lastToggleState(e.data("videomutetoggledby"))||!0===i[a].globalmute?l.player.mute():d(l,parseInt(l.volcache,0)||75),i[a].stopByVideo=!0,b(e,a),l.pausetimer?i[a].c.trigger("stoptimer"):i[a].stopByVideo=!1,i[a].c.trigger("revolution.slide.onvideoplay",o(l.player,"youtube",l)),i.toggleState(l.videotoggledby)):(l.cSS="paused",0==t.data&&l.loop&&(-1!=l.ssec&&l.player.seekTo(l.ssec),i.playVideo(e,a),i.toggleState(l.videotoggledby)),-1!=t.data&&3!=t.data&&(i[a].stopByVideo=!1,i[a].tonpause=!1,w(e,a),i[a].c.trigger("starttimer"),i[a].c.trigger("revolution.slide.onvideostop",o(l.player,"youtube",l)),null!=i[a].videoIsPlaying&&i[a].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(l.videotoggledby)),0==t.data&&l.nse?(m(),l.nseTriggered=!0,i[a].c.revnext(),w(e,a)):(w(e,a),i[a].stopByVideo=!1,3!==t.data&&(-1!=l.lasteventdata&&3!=l.lasteventdata&&void 0!==l.lasteventdata||-1!=t.data&&3!=t.data)&&i[a].c.trigger("starttimer"),i[a].c.trigger("revolution.slide.onvideostop",o(l.player,"youtube",l)),null!=i[a].videoIsPlaying&&i[a].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(l.videotoggledby))),clearTimeout(l.postOrVideoTimer),1===l.lasteventdata&&2===t.data||2===l.lasteventdata&&3===t.data?l.postOrVideoTimer=setTimeout(function(){g(a,l)},500):g(a,l),l.lasteventdata=t.data},onReady:function(r){var o,s=i.is_mobile(),d=e.hasClass("rs-layer-video");l.ready=!0,!s&&(!i.isSafari11()||s&&d)||"RS-BGVIDEO"!==e[0].tagName&&(!d||!0!==l.aplay&&"true"!==l.aplay)||(o=!0,l.player.setVolume(0),l.volume="mute",l.player.mute(),clearTimeout(e.data("mobilevideotimr")),2!==l.player.getPlayerState()&&-1!==l.player.getPlayerState()||e.data("mobilevideotimr",setTimeout(function(){i.playVideo(e,a)},500))),o||"mute"!=l.volume||(l.player.setVolume(0),l.player.mute()),e.addClass("rs-apiready"),null==l.speed&&1===l.speed||r.target.setPlaybackRate(parseFloat(l.speed)),l.jsposter.unbind("click"),l.jsposter.on("click",function(){t||i.playVideo(e,a)}),l.startvideonow?(i.playVideo(e,a),-1!=l.ssec&&l.player.seekTo(l.ssec)):n&&g(a,l,"show",.2),l.videolistenerexist=!0}}});break;case"vimeo":if("undefined"==typeof Vimeo||void 0===Vimeo.Player)return i.checkVideoApis(e,a),void setTimeout(function(){h(e,a,r,n)},50);for(var p,v=l.jvideo.attr("src"),f={},y=v,_=/([^&=]+)=([^&]*)/g;p=_.exec(y);)f[decodeURIComponent(p[1])]=decodeURIComponent(p[2]);v=(v=null!=f.player_id?v.replace(f.player_id,c):v+"&player_id="+c).replace(/&api=0|&api=1/g,"");var x,S=i.is_mobile()||i.isSafari11(),k="RS-BGVIDEO"===e[0].tagName;if(S&&k&&(v+="&background=1"),l.jvideo.attr("src",v),l.vimeoplayer=void 0===l.vimeoplayer||!1===l.vimeoplayer?new Vimeo.Player(c):l.vimeoplayer,S)k?x=!0:(l.aplay||"true"===l.aplay)&&(x=!0),x&&(l.volumetoken=!0,l.vimeoplayer.setVolume(0),l.volume="mute");l.vimeoplayer.on("play",function(t){i[a].onceVideoPlayed=!0,l.cSS="playing",l.vimeostarted||u(l,e,a)}),l.vimeoplayer.on("loaded",function(t){var r={};l.vimeoplayer.getVideoWidth().then(function(i){r.width=i,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,s(a,e))}),l.vimeoplayer.getVideoHeight().then(function(i){r.height=i,void 0!==r.width&&void 0!==r.height&&(l.ratio=r.width+":"+r.height,l.vimeoplayerloaded=!0,s(a,e))}),l.startvideonow?("mute"===l.volume&&(l.volumetoken=!0,l.vimeoplayer.setVolume(0)),i.playVideo(e,a),-1!=l.ssec&&l.vimeoplayer.setCurrentTime(l.ssec)):n&&g(a,l,"show",.2)}),e.addClass("rs-apiready"),l.vimeoplayer.on("volumechange",function(e){l.volumetoken&&(l.volume=e.volume),l.volumetoken=!1}),l.vimeoplayer.on("timeupdate",function(t){g(a,l),l.vimeostarted||0===t.percent||void 0!==i[a].activeRSSlide&&l.slideid!==i.gA(i[a].slides[i[a].activeRSSlide],"key")||u(l,e,a),l.pausetimer&&"playing"==i[a].sliderstatus&&(i[a].stopByVideo=!0,i[a].c.trigger("stoptimer")),l.currenttime=t.seconds,0!=l.esec&&-1!==l.esec&&l.esec '),e.find("video, rs-poster, .tp-video-play-button").on("click",function(){!1===n.loop&&n.esec>0&&n.esec<=n.video.currentTime||(e.hasClass("videoisplaying")?i.stopVideo(e,a):i.playVideo(e,a))})),(e.hasClass("rs-fsv")||n.bgvideo)&&(n.bgvideo?(n.html5vid.addClass("fullcoveredvideo"),void 0!==n.ratio&&1!=n.ratio.split(":").length||(n.ratio="16:9"),i.prepareCoveredVideo(a)):n.html5vid.addClass("rs-fsv")),r(n.video,"canplaythrough",function(){i.preLoadAudioDone(e,a,"canplaythrough")}),r(n.video,"canplay",function(){i.preLoadAudioDone(e,a,"canplay")}),r(n.video,"progress",function(){i.preLoadAudioDone(e,a,"progress")}),r(n.video,"timeupdate",function(e){this.BGrendered=!0,g(a,n),-1===n.esec&&n.loop&&1==window.isSafari11&&(n.esec=n.video.duration-.075),void 0!==n.lastCurrentTime?n.fps=n.video.currentTime-n.lastCurrentTime:n.fps=.1,n.lastCurrentTime=n.video.currentTime,0!=n.esec&&-1!=n.esec&&n.esec1?n.volcache/100:n.volcache,"mute"==n.volume?n.video.muted=!0:null!=n.volcache&&(n.video.volume=n.volcache)),e.addClass("videoisplaying"),b(e,a),clearTimeout(n.showCoverSoon),!0!==n.pausetimer||"audio"==n.tag?(i[a].stopByVideo=!1,i[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n))):(i[a].stopByVideo=!0,i[a].c.trigger("revolution.slide.onvideoplay",o(n.video,"html5",n))),n.pausetimer&&"playing"==i[a].sliderstatus&&(i[a].stopByVideo=!0,i[a].c.trigger("stoptimer")),i.toggleState(n.videotoggledby)}),r(n.video,"seeked",function(){n.seeking=!1}),r(n.video,"seeking",function(){n.seeking=!0}),r(n.video,"pause",function(t){n.cSS="paused",g(a,n),e.removeClass("videoisplaying"),n.bgvideo&&(n.nBG.drawVideoCanvasImagesRecall=!1,n.nBG.videoisplaying=!1),i[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&i[a].c.trigger("starttimer"),i[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",n)),null!=i[a].videoIsPlaying&&i[a].videoIsPlaying.attr("id")!=e.attr("id")||i.unToggleState(n.videotoggledby)}),r(n.video,"ended",function(){n.cSS="paused",m(),g(a,n),w(e,a),i[a].stopByVideo=!1,w(e,a),"audio"!=n.tag&&i[a].c.trigger("starttimer"),i[a].c.trigger("revolution.slide.onvideostop",o(n.video,"html5",e.data())),n.nse&&n.video.currentTime>0&&(1==!i[a].jcnah&&(n.nseTriggered=!0,i[a].c.revnext(),i[a].jcnah=!0),setTimeout(function(){i[a].jcnah=!1},1500)),e.removeClass("videoisplaying"),n.bgvideo&&(n.nBG.drawVideoCanvasImagesRecall=!1,n.nBG.videoisplaying=!1),!0!==i[a].inviewport&&void 0!==i[a].inviewport||(i[a].lastplayedvideos=[])})},f=function(e){return"t"===e||!0===e||"true"===e||"f"!==e&&!1!==e&&"false"!==e&&e},y=function(e,i,t){e.audio="audio"===i;var r=void 0===e.video?[]:e.video.split(";"),o={volume:e.audio?1:"mute",pload:"auto",ratio:"16:9",loop:!0,aplay:"true",fitCover:!0,afs:!0,controls:!1,nse:!0,npom:!1,opom:!1,inline:!0,notonmobile:!1,start:-1,end:-1,doverlay:"none",doverlaysize:1,doverlaycolora:"transparent",doverlaycolorb:"#000000",scop:!1,rwd:!0,speed:1,ploadwait:5,stopAV:1!==e.bgvideo,noInt:!1,volcache:75};for(var s in r)if(r.hasOwnProperty(s)){var n=r[s].split(":");switch(n[0]){case"v":o.volume=n[1];break;case"vd":o.volcache=n[1];break;case"p":o.pload=n[1];break;case"ar":o.ratio=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"ap":o.aplay=f(n[1]);break;case"vfc":o.fitCover=f(n[1]);break;case"afs":o.afs=f(n[1]);break;case"vc":o.controls=n[1];break;case"nse":o.nse=f(n[1]);break;case"npom":o.npom=f(n[1]);break;case"opom":o.opom=f(n[1]);break;case"t":o.vtype=n[1];break;case"inl":o.inline=f(n[1]);break;case"nomo":o.notonmobile=f(n[1]);break;case"sta":o.start=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"end":o.end=n[1]+(void 0!==n[2]?":"+n[2]:"");break;case"do":o.doverlay=n[1];break;case"dos":o.doverlaysize=n[1];break;case"doca":o.doverlaycolora=n[1];break;case"docb":o.doverlaycolorb=n[1];break;case"scop":o.scop=f(n[1]);break;case"rwd":o.rwd=f(n[1]);break;case"sp":o.speed=n[1];break;case"vw":o.ploadwait=parseInt(n[1],0)||5;break;case"sav":o.stopAV=f(n[1]);break;case"noint":o.noInt=f(n[1]);break;case"l":o.loopcache=n[1],o.loop="loop"===n[1]||"loopandnoslidestop"===n[1]||"none"!==n[1]&&f(n[1]);break;case"ptimer":o.pausetimer=f(n[1]);break;case"sat":o.waitToSlideTrans=f(n[1])}}return void 0!==e.bgvideo&&(o.bgvideo=e.bgvideo),o.noInt&&(o.controls=!1),void 0!==e.mp4&&(o.mp4=e.mp4),void 0!==e.videomp4&&(o.mp4=e.videomp4),void 0!==e.ytid&&(o.ytid=e.ytid),void 0!==e.ogv&&(o.ogv=e.ogv),void 0!==e.webm&&(o.webm=e.webm),void 0!==e.vimeoid&&(o.vimeoid=e.vimeoid),void 0!==e.vatr&&(o.vatr=e.vatr),void 0!==e.videoattributes&&(o.vatr=e.videoattributes),void 0!==e.poster&&(o.poster=e.poster),o.slideid=t,o.aplay="true"===o.aplay||o.aplay,1===o.bgvideo&&(o.volume="mute"),o.ssec=a(o.start),o.esec=a(o.end),o.pausetimer=void 0===o.pausetimer?"loopandnoslidestop"!==o.loopcache:o.pausetimer,o.inColumn=e._incolumn,o.audio=e.audio,!0!==o.loop&&"true"!==o.loop||!0!==o.nse&&"true"!==o.nse||(o.loop=!1),o},b=function(e,t){if(i[t].playingvideos=void 0===i[t].playingvideos?new Array:i[t].playingvideos,i[t].videos[e[0].id].stopAV&&void 0!==i[t].playingvideos&&i[t].playingvideos.length>0)for(var a in i[t].lastplayedvideos=jQuery.extend(!0,[],i[t].playingvideos),i[t].playingvideos)i[t].playingvideos.hasOwnProperty(a)&&i.stopVideo(i[t].playingvideos[a],t);i[t].playingvideos.push(e),i[t].videoIsPlaying=e},w=function(e,t){void 0!==i[t]&&void 0!==i[t]&&null!=i[t].playingvideos&&jQuery.inArray(e,i[t].playingvideos)>=0&&i[t].playingvideos.splice(jQuery.inArray(e,i[t].playingvideos),1)}}(jQuery);