/*! jQuery v3.7.1 | (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.1",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))},M=function(){V()},R=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)&&U(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 z(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&&R(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function X(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 U(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,r.msMatchesSelector&&ye!=T&&(t=T.defaultView)&&t.top!==t&&t.addEventListener("unload",M),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 Re(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 M(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 M(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.on("mouseenter",e).on("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\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}); var _initLayerSlider=function(t,e,i){var r=jQuery;r(document).ready(function(){void 0===r.fn.layerSlider?window._layerSlider&&window._layerSlider.showNotice&&window._layerSlider.showNotice(t,"jquery"):(i&&r.each(i,function(e,i){r(t).on(e,i)}),r(t).layerSlider(e))})},_layerSliderEffectsPriority=["replicator","highlight","reveal","borderize","typewriter","liquify","slicer"];if("object"==typeof LS_Meta&&LS_Meta.fixGSAP){var LS_oldGS=window.GreenSockGlobals,LS_oldGSQueue=window._gsQueue,LS_oldGSDefine=window._gsDefine;window._gsDefine=null,delete window._gsDefine;var LS_GSAP=window.GreenSockGlobals={}}var LS_nsProtocol=function(t,e){for(var i="",r=0;rv;);v--}for(T=s[x]=[],_=a?Math.min(v,x)*l-.5:r%v,f=a?x*l/v-.5:r/v|0,g=0,y=1/0,m=0;x>m;m++)c=m%v-_,p=f-(m/v|0),T[m]=d=o?Math.abs("y"===o?p:c):Math.sqrt(c*c+p*p),d>g&&(g=d),y>d&&(y=d);T.max=g-y,T.min=y,T.v=x=e.amount||e.each*(v>x?x-1:o?"y"===o?x/v:v:Math.max(v,x/v))||0,T.b=0>x?n-x:n}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},a=function(t,e,r){i.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=a.prototype.render},o=1e-8,l=i._internals,h=l.isSelector,u=l.isArray,_=a.prototype=i.to({},.1,{}),f=[];a.version="2.1.3",_.constructor=a,_.kill()._gc=!1,a.killTweensOf=a.killDelayedCallsTo=i.killTweensOf,a.getTweensOf=i.getTweensOf,a.lagSmoothing=i.lagSmoothing,a.ticker=i.ticker,a.render=i.render,a.distribute=s,_.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},_.updateTo=function(t,e){var r,n=this,s=n.ratio,a=n.vars.immediateRender||t.immediateRender;for(r in e&&n._startTime.998){var o=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(o,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||a)for(var l,h=1/(1-s),u=n._firstPT;u;)l=u.s+u.c,u.c*=h,u.s=l-u.c,u=u._next;return n},_.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,a,h,u,_,f,c,p,d=this,m=d._dirty?d.totalDuration():d._totalDuration,g=d._time,y=d._totalTime,v=d._cycle,x=d._duration,T=d._rawPrevTime;if(t>=m-o&&t>=0?(d._totalTime=m,d._cycle=d._repeat,d._yoyo&&1&d._cycle?(d._time=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0):(d._time=x,d.ratio=d._ease._calcEnd?d._ease.getRatio(1):1),d._reversed||(n=!0,s="onComplete",r=r||d._timeline.autoRemoveChildren),0===x&&(d._initted||!d.vars.lazy||r)&&(d._startTime===d._timeline._duration&&(t=0),(0>T||0>=t&&t>=-o||T===o&&"isPause"!==d.data)&&T!==t&&(r=!0,T>o&&(s="onReverseComplete")),d._rawPrevTime=c=!e||t||T===t?t:o)):o>t?(d._totalTime=d._time=d._cycle=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0,(0!==y||0===x&&T>0)&&(s="onReverseComplete",n=d._reversed),t>-o?t=0:0>t&&(d._active=!1,0===x&&(d._initted||!d.vars.lazy||r)&&(T>=0&&(r=!0),d._rawPrevTime=c=!e||t||T===t?t:o)),d._initted||(r=!0)):(d._totalTime=d._time=t,0!==d._repeat&&(h=x+d._repeatDelay,d._cycle=d._totalTime/h|0,0!==d._cycle&&d._cycle===d._totalTime/h&&t>=y&&d._cycle--,d._time=d._totalTime-d._cycle*h,d._yoyo&&!!(1&d._cycle)&&(d._time=x-d._time,(p=d._yoyoEase||d.vars.yoyoEase)&&(d._yoyoEase||(!0!==p||d._initted?d._yoyoEase=p=!0===p?d._ease:p instanceof Ease?p:Ease.map[p]:(p=d.vars.ease,d._yoyoEase=p=p?p instanceof Ease?p:"function"==typeof p?new Ease(p,d.vars.easeParams):Ease.map[p]||i.defaultEase:i.defaultEase)),d.ratio=p?1-p.getRatio((x-d._time)/x):0)),d._time>x?d._time=x:d._time<0&&(d._time=0)),d._easeType&&!p?(u=d._time/x,(1===(_=d._easeType)||3===_&&u>=.5)&&(u=1-u),3===_&&(u*=2),1===(f=d._easePower)?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),d.ratio=1===_?1-u:2===_?u:d._time/x<.5?u/2:1-u/2):p||(d.ratio=d._ease.getRatio(d._time/x))),g!==d._time||r||v!==d._cycle){if(!d._initted){if(d._init(),!d._initted||d._gc)return;if(!r&&d._firstPT&&(!1!==d.vars.lazy&&d._duration||d.vars.lazy&&!d._duration))return d._time=g,d._totalTime=y,d._rawPrevTime=T,d._cycle=v,l.lazyTweens.push(d),void(d._lazy=[t,e]);!d._time||n||p?n&&this._ease._calcEnd&&!p&&(d.ratio=d._ease.getRatio(0===d._time?0:1)):d.ratio=d._ease.getRatio(d._time/x)}for(!1!==d._lazy&&(d._lazy=!1),d._active||!d._paused&&d._time!==g&&t>=0&&(d._active=!0),0===y&&(2===d._initted&&t>0&&d._init(),d._startAt&&(t>=0?d._startAt.render(t,!0,r):s||(s="_dummyGS")),d.vars.onStart&&(0!==d._totalTime||0===x)&&(e||d._callback("onStart"))),a=d._firstPT;a;)a.f?a.t[a.p](a.c*d.ratio+a.s):a.t[a.p]=a.c*d.ratio+a.s,a=a._next;d._onUpdate&&(0>t&&d._startAt&&d._startTime&&d._startAt.render(t,!0,r),e||(d._totalTime!==y||s)&&d._callback("onUpdate")),d._cycle!==v&&(e||d._gc||d.vars.onRepeat&&d._callback("onRepeat")),s&&(!d._gc||r)&&(0>t&&d._startAt&&!d._onUpdate&&d._startTime&&d._startAt.render(t,!0,r),n&&(d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[s]&&d._callback(s),0===x&&d._rawPrevTime===o&&c!==o&&(d._rawPrevTime=0))}else y!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},a.to=function(t,e,i){return new a(t,e,i)},a.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new a(t,e,i)},a.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new a(t,e,r)},a.staggerTo=a.allTo=function(t,e,o,l,_,c,p){var d,m,g,y,v=[],x=s(o.stagger||l),T=o.cycle,w=(o.startAt||f).cycle;for(u(t)||("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=r(t))),d=(t=t||[]).length-1,g=0;d>=g;g++){for(y in m={},o)m[y]=o[y];if(T&&(n(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),w){for(y in w=m.startAt={},o.startAt)w[y]=o.startAt[y];n(m.startAt,t,g)}m.delay=x(g,t[g],t)+(m.delay||0),g===d&&_&&(m.onComplete=function(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,arguments),_.apply(p||o.callbackScope||this,c||f)}),v[g]=new a(t[g],e,m)}return v},a.staggerFrom=a.allFrom=function(t,e,i,r,n,s,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,a.staggerTo(t,e,i,r,n,s,o)},a.staggerFromTo=a.allFromTo=function(t,e,i,r,n,s,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,a.staggerTo(t,e,r,n,s,o,l)},a.delayedCall=function(t,e,i,r,n){return new a(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},a.set=function(t,e){return new a(t,0,e)},a.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var c=function(t,e){for(var r=[],n=0,s=t._first;s;)s instanceof i?r[n++]=s:(e&&(r[n++]=s),n=(r=r.concat(c(s,e))).length),s=s._next;return r},p=a.getAllTweens=function(e){return c(t._rootTimeline,e).concat(c(t._rootFramesTimeline,e))};a.killAll=function(t,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,a,o,l=p(0!=n),h=l.length,u=i&&r&&n;for(o=0;h>o;o++)a=l[o],(u||a instanceof e||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},a.killChildTweensOf=function(t,e){if(null!=t){var n,s,o,_,f,c=l.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=r(t)),u(t))for(_=t.length;--_>-1;)a.killChildTweensOf(t[_],e);else{for(o in n=[],c)for(s=c[o].target.parentNode;s;)s===t&&(n=n.concat(c[o].tweens)),s=s.parentNode;for(f=n.length,_=0;f>_;_++)e&&n[_].totalTime(n[_].totalDuration()),n[_]._enabled(!1,!1)}}};var d=function(t,i,r,n){i=!1!==i,r=!1!==r;for(var s,a,o=p(n=!1!==n),l=i&&r&&n,h=o.length;--h>-1;)a=o[h],(l||a instanceof e||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&a.paused(t)};return a.pauseAll=function(t,e,i){d(!0,t,e,i)},a.resumeAll=function(t,e,i){d(!1,t,e,i)},a.globalTimeScale=function(e){var r=t._rootTimeline,n=i.ticker.time;return arguments.length?(e=e||o,r._startTime=n-(n-r._startTime)*r._timeScale/e,r=t._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/e,r._timeScale=t._rootTimeline._timeScale=e,e):r._timeScale},_.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},_.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},_.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},_.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},_.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},_.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},_.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},_.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},a},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,s=n.vars;for(r in n._labels={},n.autoRemoveChildren=!!s.autoRemoveChildren,n.smoothChildTiming=!!s.smoothChildTiming,n._sortChildren=!0,n._onUpdate=s.onUpdate,s)i=s[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[r]=n._swapSelfInParams(i));l(s.tweens)&&n.add(s.tweens,0,s.align,s.stagger)},n=1e-8,s=i._internals,a=r._internals={},o=s.isSelector,l=s.isArray,h=s.lazyTweens,u=s.lazyRender,_=_gsScope._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},c=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},p=a.pauseCallback=function(){},d=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},m=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,u){var _,f,c,p,d,m,g,y,v,x=(u||e).length,T=s[x];if(!T){if(!(v="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=u[v++].getBoundingClientRect().left)&&x>v;);v--}for(T=s[x]=[],_=a?Math.min(v,x)*l-.5:r%v,f=a?x*l/v-.5:r/v|0,g=0,y=1/0,m=0;x>m;m++)c=m%v-_,p=f-(m/v|0),T[m]=d=o?Math.abs("y"===o?p:c):Math.sqrt(c*c+p*p),d>g&&(g=d),y>d&&(y=d);T.max=g-y,T.min=y,T.v=x=e.amount||e.each*(v>x?x-1:o?"y"===o?x/v:v:Math.max(v,x/v))||0,T.b=0>x?n-x:n}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},g=r.prototype=new e;return r.version="2.1.3",r.distribute=m,g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&_.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&_.TweenMax||i).from(t,e,d(0,r)),n)},g.fromTo=function(t,e,r,n,s){var a=n.repeat&&_.TweenMax||i;return n=d(0,n,r),e?this.add(a.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,a,l,h,u){var _,p,d=new r({onComplete:l,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),g=m(n.stagger||s),y=n.startAt,v=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),p=0;p(s=a._startTime-a._delay)&&(n=1),l.add(a,s)),a=o;return h.add(l,0),n&&l.totalDuration(),l},g.add=function(n,s,a,o){var h,u,_,f,c,p,d=this;if("number"!=typeof s&&(s=d._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(a=a||"normal",o=o||0,h=s,u=n.length,_=0;u>_;_++)l(f=n[_])&&(f=new r({tweens:f})),d.add(f,h),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?h=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),h+=o;return d._uncache(!0)}if("string"==typeof n)return d.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(d,n,s),(n._time||!n._duration&&n._initted)&&(h=(d.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),h)))-n._totalTime>1e-5)&&n.render(h,!1,!1)),(d._gc||d._time===d._duration)&&!d._paused&&d._durationn._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return d},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){return e.prototype._remove.call(this,t,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,p,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,r,n){var s,a;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(a=n.length;--a>-1;)n[a]instanceof t&&n[a].timeline===this&&this.remove(n[a]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(a=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(a-1)+"1",10)*Number(e.substr(a+1)),e=a>1?this._parseTimeOrLabel(e.substr(0,a-1),0,r):s}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,a,o,l,_,f,c,p=this,d=p._time,m=p._dirty?p.totalDuration():p._totalDuration,g=p._startTime,y=p._timeScale,v=p._paused;if(d!==p._time&&(t+=p._time-d),p._hasPause&&!p._forcingPlayhead&&!e){if(t>d)for(r=p._first;r&&r._startTime<=t&&!_;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===p._rawPrevTime||(_=r),r=r._next;else for(r=p._last;r&&r._startTime>=t&&!_;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(_=r),r=r._prev;_&&(p._time=p._totalTime=t=_._startTime,c=p._startTime+(p._reversed?p._duration-t:t)/p._timeScale)}if(t>=m-n&&t>=0)p._totalTime=p._time=m,p._reversed||p._hasPausedChild()||(s=!0,o="onComplete",l=!!p._timeline.autoRemoveChildren,0===p._duration&&(0>=t&&t>=-n||p._rawPrevTime<0||p._rawPrevTime===n)&&p._rawPrevTime!==t&&p._first&&(l=!0,p._rawPrevTime>n&&(o="onReverseComplete"))),p._rawPrevTime=p._duration||!e||t||p._rawPrevTime===t?t:n,t=m+1e-4;else if(n>t)if(p._totalTime=p._time=0,t>-n&&(t=0),(0!==d||0===p._duration&&p._rawPrevTime!==n&&(p._rawPrevTime>0||0>t&&p._rawPrevTime>=0))&&(o="onReverseComplete",s=p._reversed),0>t)p._active=!1,p._timeline.autoRemoveChildren&&p._reversed?(l=s=!0,o="onReverseComplete"):p._rawPrevTime>=0&&p._first&&(l=!0),p._rawPrevTime=t;else{if(p._rawPrevTime=p._duration||!e||t||p._rawPrevTime===t?t:n,0===t&&s)for(r=p._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,p._initted||(l=!0)}else p._totalTime=p._time=p._rawPrevTime=t;if(p._time!==d&&p._first||i||l||_){if(p._initted||(p._initted=!0),p._active||!p._paused&&p._time!==d&&t>0&&(p._active=!0),0===d&&p.vars.onStart&&(0===p._time&&p._duration||e||p._callback("onStart")),(f=p._time)>=d)for(r=p._first;r&&(a=r._next,f===p._time&&(!p._paused||v));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(_===r&&(p.pause(),p._pauseTime=c),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=a;else for(r=p._last;r&&(a=r._prev,f===p._time&&(!p._paused||v));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(_===r){for(_=r._prev;_&&_.endTime()>p._time;)_.render(_._reversed?_.totalDuration()-(t-_._startTime)*_._timeScale:(t-_._startTime)*_._timeScale,e,i),_=_._prev;_=null,p.pause(),p._pauseTime=c}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=a}p._onUpdate&&(e||(h.length&&u(),p._callback("onUpdate"))),o&&(p._gc||(g===p._startTime||y!==p._timeScale)&&(0===p._time||m>=p.totalDuration())&&(s&&(h.length&&u(),p._timeline.autoRemoveChildren&&p._enabled(!1,!1),p._active=!1),!e&&p.vars[o]&&p._callback(o)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)a._startTime-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(a[o++]=r[n]);return s&&this._enabled(!1,!0),a},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,s=n._last,a=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>a&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):a=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),a=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,s=e._internals,a=s.lazyTweens,o=s.lazyRender,l=_gsScope._gsDefine.globals,h=new i(null,null,1,0),u=r.prototype=new t;return u.constructor=r,u.kill()._gc=!1,r.version="2.1.3",u.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},u.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},u.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},u.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},u.tweenTo=function(t,i){i=i||{};var r,n,s,a={ease:h,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},o=i.repeat&&l.TweenMax||e;for(n in i)a[n]=i[n];return a.time=this._parseTimeOrLabel(t),r=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,s=new o(this,r,a),a.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||r!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},u.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},u.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,l,h,u,_,f,c,p,d=this,m=d._time,g=d._dirty?d.totalDuration():d._totalDuration,y=d._duration,v=d._totalTime,x=d._startTime,T=d._timeScale,w=d._rawPrevTime,b=d._paused,P=d._cycle;if(m!==d._time&&(t+=d._time-m),t>=g-n&&t>=0)d._locked||(d._totalTime=g,d._cycle=d._repeat),d._reversed||d._hasPausedChild()||(s=!0,h="onComplete",u=!!d._timeline.autoRemoveChildren,0===d._duration&&(0>=t&&t>=-n||0>w||w===n)&&w!==t&&d._first&&(u=!0,w>n&&(h="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,d._yoyo&&1&d._cycle?d._time=t=0:(d._time=y,t=y+1e-4);else if(n>t)if(d._locked||(d._totalTime=d._cycle=0),d._time=0,t>-n&&(t=0),(0!==m||0===y&&w!==n&&(w>0||0>t&&w>=0)&&!d._locked)&&(h="onReverseComplete",s=d._reversed),0>t)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(u=s=!0,h="onReverseComplete"):w>=0&&d._first&&(u=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=y||!e||t||d._rawPrevTime===t?t:n,0===t&&s)for(r=d._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,d._initted||(u=!0)}else 0===y&&0>w&&(u=!0),d._time=d._rawPrevTime=t,d._locked||(d._totalTime=t,0!==d._repeat&&(_=y+d._repeatDelay,d._cycle=d._totalTime/_|0,d._cycle&&d._cycle===d._totalTime/_&&t>=v&&d._cycle--,d._time=d._totalTime-d._cycle*_,d._yoyo&&1&d._cycle&&(d._time=y-d._time),d._time>y?(d._time=y,t=y+1e-4):d._time<0?d._time=t=0:t=d._time));if(d._hasPause&&!d._forcingPlayhead&&!e){if((t=d._time)>m||d._repeat&&P!==d._cycle)for(r=d._first;r&&r._startTime<=t&&!f;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(f=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!f;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(f=r),r=r._prev;f&&(p=d._startTime+(d._reversed?d._duration-f._startTime:f._startTime)/d._timeScale,f._startTime0&&(d._active=!0),0===v&&d.vars.onStart&&(0===d._totalTime&&d._totalDuration||e||d._callback("onStart")),(c=d._time)>=m)for(r=d._first;r&&(l=r._next,c===d._time&&(!d._paused||b));)(r._active||r._startTime<=d._time&&!r._paused&&!r._gc)&&(f===r&&(d.pause(),d._pauseTime=p),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=l;else for(r=d._last;r&&(l=r._prev,c===d._time&&(!d._paused||b));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(f===r){for(f=r._prev;f&&f.endTime()>d._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,i),f=f._prev;f=null,d.pause(),d._pauseTime=p}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=l}d._onUpdate&&(e||(a.length&&o(),d._callback("onUpdate"))),h&&(d._locked||d._gc||(x===d._startTime||T!==d._timeScale)&&(0===d._time||g>=d.totalDuration())&&(s&&(a.length&&o(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[h]&&d._callback(h)))}else v!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},u.getActive=function(t,e,i){var r,n,s=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=a.length;for(r=0;l>r;r++)(n=a[r]).isActive()&&(s[o++]=n);return s},u.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;r>e;e++)if(i[e].time>t)return i[e].name;return null},u.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timei&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},u.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r},!0),t=180/Math.PI,e=[],i=[],r=[],n={},s=_gsScope._gsDefine.globals,a=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},o=function(t,e,i,r){var n={a:t},s={},a={},o={c:r},l=(t+e)/2,h=(e+i)/2,u=(i+r)/2,_=(l+h)/2,f=(h+u)/2,c=(f-_)/8;return n.b=l+(t-l)/4,s.b=_+c,n.c=s.a=(n.b+s.b)/2,s.c=a.a=(_+f)/2,a.b=f-c,o.b=u+(r-u)/4,a.c=o.a=(a.b+o.b)/2,[n,s,a,o]},l=function(t,n,s,a,l){var h,u,_,f,c,p,d,m,g,y,v,x,T,w=t.length-1,b=0,P=t[0].a;for(h=0;w>h;h++)u=(c=t[b]).a,_=c.d,f=t[b+1].d,l?(v=e[h],T=((x=i[h])+v)*n*.25/(a?.5:r[h]||.5),m=_-((p=_-(_-u)*(a?.5*n:0!==v?T/v:0))+(((d=_+(f-_)*(a?.5*n:0!==x?T/x:0))-p)*(3*v/(v+x)+.5)/4||0))):m=_-((p=_-(_-u)*n*.5)+(d=_+(f-_)*n*.5))/2,p+=m,d+=m,c.c=g=p,c.b=0!==h?P:P=c.a+.6*(c.c-c.a),c.da=_-u,c.ca=g-u,c.ba=P-u,s?(y=o(u,P,g,_),t.splice(b,1,y[0],y[1],y[2],y[3]),b+=4):b++,P=d;(c=t[b]).b=P,c.c=P+.4*(c.d-P),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=P-c.a,s&&(y=o(c.a,P,c.c,c.d),t.splice(b,1,y[0],y[1],y[2],y[3]))},h=function(t,r,n,s){var o,l,h,u,_,f,c=[];if(s)for(l=(t=[s].concat(t)).length;--l>-1;)"string"==typeof(f=t[l][r])&&"="===f.charAt(1)&&(t[l][r]=s[r]+Number(f.charAt(0)+f.substr(2)));if(0>(o=t.length-2))return c[0]=new a(t[0][r],0,0,t[0][r]),c;for(l=0;o>l;l++)h=t[l][r],u=t[l+1][r],c[l]=new a(h,0,0,u),n&&(_=t[l+2][r],e[l]=(e[l]||0)+(u-h)*(u-h),i[l]=(i[l]||0)+(_-u)*(_-u));return c[l]=new a(t[l][r],0,0,t[l+1][r]),c},u=function(t,s,a,o,u,_){var f,c,p,d,m,g,y,v,x={},T=[],w=_||t[0];for(c in u="string"==typeof u?","+u+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1),t[0])T.push(c);if(t.length>1){for(v=t[t.length-1],y=!0,f=T.length;--f>-1;)if(c=T[f],Math.abs(w[c]-v[c])>.05){y=!1;break}y&&(t=t.concat(),_&&t.unshift(_),t.push(t[1]),_=t[t.length-3])}for(e.length=i.length=r.length=0,f=T.length;--f>-1;)c=T[f],n[c]=-1!==u.indexOf(","+c+","),x[c]=h(t,c,n[c],_);for(f=e.length;--f>-1;)e[f]=Math.sqrt(e[f]),i[f]=Math.sqrt(i[f]);if(!o){for(f=T.length;--f>-1;)if(n[c])for(g=(p=x[T[f]]).length-1,d=0;g>d;d++)m=p[d+1].da/i[d]+p[d].da/e[d]||0,r[d]=(r[d]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=T.length,d=a?4:1;--f>-1;)p=x[c=T[f]],l(p,s,a,o,n[c]),y&&(p.splice(0,d),p.splice(p.length-d,d));return x},_=function(t,e,i){var r,n,s,o,l,h,u,_,f,c,p,d={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,y=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length-1;){for(d[f=y[h]]=l=[],c=0,_=t.length,u=0;_>u;u++)r=null==i?t[u][f]:"string"==typeof(p=t[u][f])&&"="===p.charAt(1)?i[f]+Number(p.charAt(0)+p.substr(2)):Number(p),g&&u>1&&_-1>u&&(l[c++]=(r+l[c-2])/2),l[c++]=r;for(_=c-m+1,c=0,u=0;_>u;u+=m)r=l[u],n=l[u+1],s=l[u+2],o=2===m?0:l[u+3],l[c++]=p=3===m?new a(r,n,s,o):new a(r,(2*n+r)/3,(2*n+s)/3,s);l.length=c}return d},f=function(t,e,i){for(var r,n,s,a,o,l,h,u,_,f,c,p=1/i,d=t.length;--d>-1;)for(s=(f=t[d]).a,a=f.d-s,o=f.c-s,l=f.b-s,r=n=0,u=1;i>=u;u++)r=n-(n=((h=p*u)*h*a+3*(_=1-h)*(h*o+_*l))*h),e[c=d*i+u-1]=(e[c]||0)+r*r},c=function(t,e){var i,r,n,s,a=[],o=[],l=0,h=0,u=(e=0|e||6)-1,_=[],c=[];for(i in t)f(t[i],a,e);for(n=a.length,r=0;n>r;r++)l+=Math.sqrt(a[r]),c[s=r%e]=l,s===u&&(h+=l,_[s=r/e|0]=c,o[s]=h,l=0,c=[]);return{length:h,lengths:o,segments:_}},p=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var r,n,s,a,o,l=e.values||[],h={},f=l[0],p=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",!0===p?0:Number(p)||0]]:null,f)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],h[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),o||h[r]!==l[0][r]&&(o=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?u(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):_(l,e.type,h),this._segCount=this._beziers[r].length,this._timeRes){var d=c(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),s=p.length;--s>-1;){for(a=0;3>a;a++)r=p[s][a],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=p[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,r,n,s,a,o,l,h,u,_,f,c=this._segCount,p=this._func,d=this._target,m=e!==this._startRatio;if(this._timeRes){if(u=this._lengths,_=this._curSeg,f=e*this._length,n=this._li,f>this._l2&&c-1>n){for(h=c-1;h>n&&(this._l2=u[++n])<=f;);this._l1=u[n-1],this._li=n,this._curSeg=_=this._segments[n],this._s2=_[this._s1=this._si=0]}else if(f0){for(;n>0&&(this._l1=u[--n])>=f;);0===n&&fthis._s2&&n<_.length-1){for(h=_.length-1;h>n&&(this._s2=_[++n])<=f;);this._s1=_[n-1],this._si=n}else if(f0){for(;n>0&&(this._s1=_[--n])>=f;);0===n&&fe?0:e>=1?c-1:c*e|0)*(1/c))*c;for(r=1-o,n=this._props.length;--n>-1;)s=this._props[n],l=(o*o*(a=this._beziers[s][i]).da+3*r*(o*a.ca+r*a.ba))*o+a.a,this._mod[s]&&(l=this._mod[s](l,d)),p[s]?d[s](l):d[s]=l;if(this._autoRotate){var g,y,v,x,T,w,b,P=this._autoRotate;for(n=P.length;--n>-1;)s=P[n][2],w=P[n][3]||0,b=!0===P[n][4]?1:t,a=this._beziers[P[n][0]],g=this._beziers[P[n][1]],a&&g&&(a=a[i],g=g[i],y=a.a+(a.b-a.a)*o,y+=((x=a.b+(a.c-a.b)*o)-y)*o,x+=(a.c+(a.d-a.c)*o-x)*o,v=g.a+(g.b-g.a)*o,v+=((T=g.b+(g.c-g.b)*o)-v)*o,T+=(g.c+(g.d-g.c)*o-T)*o,l=m?Math.atan2(T-v,x-y)*b+w:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,d)),p[s]?d[s](l):d[s]=l)}}}),d=p.prototype,p.bezierThrough=u,p.cubicToQuadratic=o,p._autoCSS=!0,p.quadraticToCubic=function(t,e,i){return new a(t,(2*e+t)/3,(2*e+i)/3,i)},p._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,a,o,l){e instanceof Array&&(e={values:e}),l=new p;var h,u,_,f=e.values,c=f.length-1,d=[],m={};if(0>c)return o;for(h=0;c>=h;h++)_=i(t,f[h],a,o,l,c!==h),d[h]=_.end;for(u in e)m[u]=e[u];return m.values=d,(o=new n(t,"bezier",0,0,_.pt,2)).data=_,o.plugin=l,o.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(h=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=_.end.left?[["left","top","rotation",h,!1]]:null!=_.end.x&&[["x","y","rotation",h,!1]]),m.autoRotate&&(a._transform||a._enableTransforms(!1),_.autoRotate=a._target._gsTransform,_.proxy.rotation=_.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(_.proxy,m,a._tween),o}})}},d._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},d._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,s,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=_gsScope._gsDefine.globals,l={},h=a.prototype=new t("css");h.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,h="px",a.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var u,_,f,c,p,d,m,g,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,O=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,C=/([A-Z])/g,R=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,M=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,F=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,E=/[\s,\(]/i,I=Math.PI/180,N=180/Math.PI,j={},X={style:{}},B=_gsScope.document||{createElement:function(){return X}},Y=function(t,e){var i=B.createElementNS?B.createElementNS(e||LS_nsProtocol+"www.w3.org/1999/xhtml",t):B.createElement(t);return i.style?i:B.createElement(t)},G=Y("div"),U=Y("img"),q=a._internals={_specialProps:l},V=(_gsScope.navigator||{}).userAgent||"",W=function(){var t=V.indexOf("Android"),e=Y("a");return f=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),p=f&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,c=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Q=function(t){return P.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},H=function(t){_gsScope.console&&console.log(t)},Z="",$="",K=function(t,e){var i,r,n=(e=e||G).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(Z="-"+($=3===r?"ms":i[r]).toLowerCase()+"-",$+t):null},J="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},tt=function(t){return J.getComputedStyle(t)},et=a.getStyle=function(t,e,i,r,n){var s;return W||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):Q(t)},it=q.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var o,l,h,u=D.test(i),_=t,f=G.style,c=0>r,p=1===r;if(c&&(r=-r),p&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))o=r/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&_.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[u?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(_=t.parentNode||B.body,-1!==et(_,"display").indexOf("flex")&&(f.position="absolute"),l=_._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*r/100;f[u?"width":"height"]=r+n}_.appendChild(G),o=parseFloat(G[u?"offsetWidth":"offsetHeight"]),_.removeChild(G),u&&"%"===n&&!1!==a.cacheWidths&&((l=_._gsCache=_._gsCache||{}).time=h,l.width=o/r*100),0!==o||s||(o=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,o=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return p&&(o/=100),c?-o:o},rt=q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(b,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Mt===n)&&(s[n.replace(R,M)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||At===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(R,M)]=e[i]);return W||(s.opacity=Q(t)),r=Ut(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Ft&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,r,n){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(w,"")?s:0:rt(t,a),void 0!==h[a]&&(o=new xt(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Bt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=at[e],s=n.length;for(i=i||tt(t);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ht=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(w,"")),e.oy=parseFloat(s.replace(w,"")),e.v=t),e||t},ut=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},_t=function(t,e){"function"==typeof t&&(t=t(g,m));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,r){var n,s,a,o,l,h=1e-6;return"function"==typeof t&&(t=t(g,m)),null==t?o=e:"number"==typeof t?o=t:(n=360,s=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:N)-(l?0:e),s.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&((a%=n)!==a%180&&(a=0>a?a+n:a-n)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*n)%n-(a/n|0)*n:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*n)%n-(a/n|0)*n)),o=e+a),h>o&&o>-h&&(o=0),o},ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},pt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},dt=a.parseColor=function(t,e){var i,r,n,s,a,o,l,h,u,_,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])i=ct[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(y),e){if(-1!==t.indexOf("="))return t.match(v)}else a=Number(i[0])%360/360,o=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=.5>=l?l*(o+1):l+o-l*o),i.length>3&&(i[3]=Number(i[3])),i[0]=pt(a+1/3,r,n),i[1]=pt(a,r,n),i[2]=pt(a-1/3,r,n);else i=t.match(y)||ct.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ct.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((h=Math.max(r,n,s))+(u=Math.min(r,n,s)))/2,h===u?a=o=0:(_=h-u,o=l>.5?_/(2-h-u):_/(h+u),a=h===r?(n-s)/_+(s>n?6:0):h===n?(s-r)/_+2:(r-n)/_+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],a=0,o="";if(!s.length)return t;for(i=0;i0?a[0].replace(y,""):"";return u?n=e?function(t){var e,f,c,p;if("number"==typeof t)t+=_;else if(r&&z.test(t)){for(p=t.replace(z,"|").split("|"),c=0;cc--)for(;++cf--)for(;++fl;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2|0];return n.parse(e,o,s,a)}},xt=(q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT,h=1e-6;l;)e=o[l.v],l.r?e=l.r(e):h>e&&e>-h&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t)for(l=a.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r0;)l="xn"+a,c[o=r.p+"_"+l]=r.data[l],f[o]=r[l],s||(h=new xt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:f,end:c,firstMPT:h,pt:u}},q.CSSPropTween=function(t,e,r,n,a,o,l,h,u,_,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof Tt||s.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===_?r:_,this.e=void 0===f?r+n:f,a&&(this._next=a,a._prev=this)}),wt=function(t,e,i,r,n,s){var a=new Tt(t,e,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a},bt=a.parseComplex=function(t,e,i,r,n,s,o,l,h,_){i=i||s||"","function"==typeof r&&(r=r(g,m)),o=new Tt(t,e,0,0,o,_?2:1,null,!1,l,i,r),r+="",n&>.test(r+i)&&(r=[i,r],a.colorStringFilter(r),i=r[0],r=r[1]);var f,c,p,d,x,T,w,b,P,S,O,k,C,R=i.split(", ").join(",").split(" "),A=r.split(", ").join(",").split(" "),M=R.length,D=!1!==u;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(R=R.join(" ").replace(z,", ").split(" "),A=A.join(" ").replace(z,", ").split(" ")):(R=R.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),M=R.length),M!==A.length&&(M=(R=(s||"").split(" ")).length),o.plugin=h,o.setRatio=_,gt.lastIndex=0,f=0;M>f;f++)if(d=R[f],x=A[f]+"",(b=parseFloat(d))||0===b)o.appendXtra("",b,ut(x,b),x.replace(v,""),!(!D||-1===x.indexOf("px"))&&Math.round,!0);else if(n&>.test(d))k=")"+((k=x.indexOf(")")+1)?x.substr(k):""),C=-1!==x.indexOf("hsl")&&W,S=x,d=dt(d,C),x=dt(x,C),(P=d.length+x.length>6)&&!W&&0===x[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(A[f]).join("transparent")):(W||(P=!1),C?o.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),d[0],ut(x[0],d[0]),",",!1,!0).appendXtra("",d[1],ut(x[1],d[1]),"%,",!1).appendXtra("",d[2],ut(x[2],d[2]),P?"%,":"%"+k,!1):o.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),d[0],x[0]-d[0],",",Math.round,!0).appendXtra("",d[1],x[1]-d[1],",",Math.round).appendXtra("",d[2],x[2]-d[2],P?",":k,Math.round),P&&(d=d.length<4?1:d[3],o.appendXtra("",d,(x.length<4?1:x[3])-d,k,!1))),gt.lastIndex=0;else if(T=d.match(y)){if(!(w=x.match(v))||w.length!==T.length)return o;for(p=0,c=0;c0;)h["xn"+Pt]=0,h["xs"+Pt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,r,n,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new Tt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n,a)):(a["xs"+o]+=e+(r||""),a)};var St=function(t,e){e=e||{},this.p=e.prefix&&K(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||yt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Ot=q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;ro.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&((u=e.indexOf(f))!==(_=i.indexOf(f))&&(-1===_?o[a]=o[a].split(f).join(""):-1===u&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},h.parse=function(t,e,i,r,s,a,o){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,a)},a.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,r,n,s,a,o,l){var h=new Tt(t,n,0,0,a,2,n,!1,i);return h.plugin=o,h.setRatio=e(t,r,s._tween,n),h},priority:i})},a.useSVGTransformAttr=!0;var Ct,Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),At=K("transform"),Mt=Z+"transform",Dt=K("transformOrigin"),Ft=null!==K("perspective"),Lt=q.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Ft)&&(a.defaultForce3D||"auto")},zt=_gsScope.SVGElement,Et=function(t,e,i){var r,n=B.createElementNS(LS_nsProtocol+"www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},It=B.documentElement||{},Nt=function(){var t,e,i,r=d||/Android/i.test(V)&&!_gsScope.chrome;return B.createElementNS&&It.appendChild&&!r&&(t=Et("svg",It),i=(e=Et("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Dt]="50% 50%",e.style[At]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(c&&Ft),It.removeChild(t)),r}(),jt=function(t,e,i,r,n,s){var o,l,h,u,_,f,c,p,d,m,g,y,v,x,T=t._gsTransform,w=Gt(t,!0);T&&(v=T.xOrigin,x=T.yOrigin),(!r||(o=r.split(" ")).length<2)&&(0===(c=t.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),o=[(-1!==(e=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=u=parseFloat(o[0]),i.yOrigin=_=parseFloat(o[1]),r&&w!==Yt&&(f=w[0],c=w[1],p=w[2],d=w[3],m=w[4],g=w[5],(y=f*d-c*p)&&(l=u*(d/y)+_*(-p/y)+(p*g-d*m)/y,h=u*(-c/y)+_*(f/y)-(f*g-c*m)/y,u=i.xOrigin=o[0]=l,_=i.yOrigin=o[1]=h)),T&&(s&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),n||!1!==n&&!1!==a.defaultSmoothOrigin?(l=u-v,h=_-x,T.xOffset+=l*w[0]+h*w[2]-l,T.yOffset+=l*w[1]+h*w[3]-h):T.xOffset=T.yOffset=0),s||t.setAttribute("data-svg-origin",o.join(" "))},Xt=function(t){var e,i=Y("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||LS_nsProtocol+"www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(It.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Xt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),It.removeChild(i),this.style.cssText=s,e},Bt=function(t){return!(!zt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Xt.call(t,!0)}}(t))},Yt=[1,0,0,1,0,0],Gt=function(t,e){var i,r,n,s,a,o,l,h=t._gsTransform||new Lt,u=1e5,_=t.style;if(At?r=et(t,Mt,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(F))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),h.x||0,h.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,At&&i&&!t.offsetParent&&t!==It&&(s=_.display,_.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,It.appendChild(t)),i=!(r=et(t,Mt,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?_.display=s:Qt(_,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):It.removeChild(t))),(h.svg||t.getCTM&&Bt(t))&&(i&&-1!==(_[At]+"").indexOf("matrix")&&(r=_[At],i=0),n=t.getAttribute("transform"),i&&n&&(r="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return Yt;for(n=(r||"").match(y)||[],Pt=n.length;--Pt>-1;)s=Number(n[Pt]),n[Pt]=(a=s-(s|=0))?(a*u+(0>a?-.5:.5)|0)/u+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Ut=q.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,o,l,h,u,_,f=r&&t._gsTransform||new Lt,c=f.scaleX<0,p=2e-5,d=1e5,m=Ft&&(parseFloat(et(t,Dt,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,g=parseFloat(a.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Bt(t)),f.svg&&(jt(t,et(t,Dt,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ct=a.useSVGTransformAttr||Nt),(s=Gt(t))!==Yt){if(16===s.length){var y,v,x,T,w,b=s[0],P=s[1],S=s[2],O=s[3],k=s[4],C=s[5],R=s[6],A=s[7],M=s[8],D=s[9],F=s[10],L=s[12],z=s[13],E=s[14],I=s[11],j=Math.atan2(R,F);f.zOrigin&&(L=M*(E=-f.zOrigin)-s[12],z=D*E-s[13],E=F*E+f.zOrigin-s[14]),f.rotationX=j*N,j&&(y=k*(T=Math.cos(-j))+M*(w=Math.sin(-j)),v=C*T+D*w,x=R*T+F*w,M=k*-w+M*T,D=C*-w+D*T,F=R*-w+F*T,I=A*-w+I*T,k=y,C=v,R=x),j=Math.atan2(-S,F),f.rotationY=j*N,j&&(v=P*(T=Math.cos(-j))-D*(w=Math.sin(-j)),x=S*T-F*w,D=P*w+D*T,F=S*w+F*T,I=O*w+I*T,b=y=b*T-M*w,P=v,S=x),j=Math.atan2(P,b),f.rotation=j*N,j&&(y=b*(T=Math.cos(j))+P*(w=Math.sin(j)),v=k*T+C*w,x=M*T+D*w,P=P*T-b*w,C=C*T-k*w,D=D*T-M*w,b=y,k=v,M=x),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),j=Math.atan2(k,C),f.scaleX=(Math.sqrt(b*b+P*P+S*S)*d+.5|0)/d,f.scaleY=(Math.sqrt(C*C+R*R)*d+.5|0)/d,f.scaleZ=(Math.sqrt(M*M+D*D+F*F)*d+.5|0)/d,b/=f.scaleX,k/=f.scaleY,P/=f.scaleX,C/=f.scaleY,Math.abs(j)>p?(f.skewX=j*N,k=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(j))):f.skewX=0,f.perspective=I?1/(0>I?-I:I):0,f.x=L,f.y=z,f.z=E,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*b-f.yOrigin*k),f.y-=f.yOrigin-(f.yOrigin*P-f.xOrigin*C))}else if(!Ft||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var X=s.length>=6,B=X?s[0]:1,Y=s[1]||0,G=s[2]||0,U=X?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(B*B+Y*Y),h=Math.sqrt(U*U+G*G),u=B||Y?Math.atan2(Y,B)*N:f.rotation||0,_=G||U?Math.atan2(G,U)*N+u:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=_,Ft&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*B+f.yOrigin*G),f.y-=f.yOrigin-(f.xOrigin*Y+f.yOrigin*U))}for(o in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(c?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=m,f)f[o]-p&&(f[o]=0)}return r&&(t._gsTransform=f,f.svg&&(Ct&&t.style[At]?e.delayedCall(.001,function(){Qt(t.style,At)}):!Ct&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},qt=function(t){var e,i,r=this.data,n=-r.rotation*I,s=n+r.skewX*I,a=1e5,o=(Math.cos(n)*r.scaleX*a|0)/a,l=(Math.sin(n)*r.scaleX*a|0)/a,h=(Math.sin(s)*-r.scaleY*a|0)/a,u=(Math.cos(s)*r.scaleY*a|0)/a,_=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-h,h=-i,e=f.filter,_.filter="";var c,p,m=this.t.offsetWidth,g=this.t.offsetHeight,y="absolute"!==f.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,x=r.x+m*r.xPercent/100,T=r.y+g*r.yPercent/100;if(null!=r.ox&&(x+=(c=(r.oxp?m*r.ox*.01:r.ox)-m/2)-(c*o+(p=(r.oyp?g*r.oy*.01:r.oy)-g/2)*l),T+=p-(c*h+p*u)),y?v+=", Dx="+((c=m/2)-(c*o+(p=g/2)*l)+x)+", Dy="+(p-(c*h+p*u)+T)+")":v+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?_.filter=e.replace(L,v):_.filter=v+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(y&&-1===v.indexOf("Dx=0, Dy=0")||P.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&_.removeAttribute("filter")),!y){var w,S,O,k=8>d?1:-1;for(c=r.ieOffsetX||0,p=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+x),r.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+T),Pt=0;4>Pt;Pt++)O=(i=-1!==(w=f[S=ot[Pt]]).indexOf("px")?parseFloat(w):it(this.t,S,parseFloat(w),w.replace(b,""))||0)!==r[S]?2>Pt?-r.ieOffsetX:-r.ieOffsetY:2>Pt?c-r.ieOffsetX:p-r.ieOffsetY,_[S]=(r[S]=Math.round(i-O*(0===Pt||2===Pt?1:k)))+"px"}}},Vt=q.set3DTransformRatio=q.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,u,_,f,p,d,m,g,y,v,x,T,w,b,P,S=this.data,O=this.t.style,k=S.rotation,C=S.rotationX,R=S.rotationY,A=S.scaleX,M=S.scaleY,D=S.scaleZ,F=S.x,L=S.y,z=S.z,E=S.svg,N=S.perspective,j=S.force3D,X=S.skewY,B=S.skewX;if(X&&(B+=X,k+=X),!((1!==t&&0!==t||"auto"!==j||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&j||z||N||R||C||1!==D)||Ct&&E||!Ft)k||B||E?(k*=I,b=B*I,P=1e5,i=Math.cos(k)*A,s=Math.sin(k)*A,r=Math.sin(k-b)*-M,a=Math.cos(k-b)*M,b&&"simple"===S.skewType&&(e=Math.tan(b-X*I),r*=e=Math.sqrt(1+e*e),a*=e,X&&(e=Math.tan(X*I),i*=e=Math.sqrt(1+e*e),s*=e)),E&&(F+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset,Ct&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),F+=.01*S.xPercent*m.width,L+=.01*S.yPercent*m.height),(m=1e-6)>F&&F>-m&&(F=0),m>L&&L>-m&&(L=0)),x=(i*P|0)/P+","+(s*P|0)/P+","+(r*P|0)/P+","+(a*P|0)/P+","+F+","+L+")",E&&Ct?this.t.setAttribute("transform","matrix("+x):O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+x):O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+A+",0,0,"+M+","+F+","+L+")";else{if(c&&((m=1e-4)>A&&A>-m&&(A=D=2e-5),m>M&&M>-m&&(M=D=2e-5),!N||S.z||S.rotationX||S.rotationY||(N=0)),k||B)k*=I,g=i=Math.cos(k),y=s=Math.sin(k),B&&(k-=B*I,g=Math.cos(k),y=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((B-X)*I),g*=e=Math.sqrt(1+e*e),y*=e,S.skewY&&(e=Math.tan(X*I),i*=e=Math.sqrt(1+e*e),s*=e))),r=-y,a=g;else{if(!(R||C||1!==D||N||E))return void(O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+F+"px,"+L+"px,"+z+"px)"+(1!==A||1!==M?" scale("+A+","+M+")":""));i=a=1,r=s=0}u=1,n=o=l=h=_=f=0,p=N?-1/N:0,d=S.zOrigin,m=1e-6,T=",",w="0",(k=R*I)&&(g=Math.cos(k),l=-(y=Math.sin(k)),_=p*-y,n=i*y,o=s*y,u=g,p*=g,i*=g,s*=g),(k=C*I)&&(e=r*(g=Math.cos(k))+n*(y=Math.sin(k)),v=a*g+o*y,h=u*y,f=p*y,n=r*-y+n*g,o=a*-y+o*g,u*=g,p*=g,r=e,a=v),1!==D&&(n*=D,o*=D,u*=D,p*=D),1!==M&&(r*=M,a*=M,h*=M,f*=M),1!==A&&(i*=A,s*=A,l*=A,_*=A),(d||E)&&(d&&(F+=n*-d,L+=o*-d,z+=u*-d+d),E&&(F+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset),m>F&&F>-m&&(F=w),m>L&&L>-m&&(L=w),m>z&&z>-m&&(z=0)),x=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",x+=(m>i&&i>-m?w:i)+T+(m>s&&s>-m?w:s)+T+(m>l&&l>-m?w:l),x+=T+(m>_&&_>-m?w:_)+T+(m>r&&r>-m?w:r)+T+(m>a&&a>-m?w:a),C||R||1!==D?(x+=T+(m>h&&h>-m?w:h)+T+(m>f&&f>-m?w:f)+T+(m>n&&n>-m?w:n),x+=T+(m>o&&o>-m?w:o)+T+(m>u&&u>-m?w:u)+T+(m>p&&p>-m?w:p)+T):x+=",0,0,0,0,1,0,",x+=F+T+L+T+z+T+(N?1+-z/N:1)+")",O[At]=x}};(h=Lt.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Ot("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,o,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var h=l.scale&&"function"==typeof l.scale?l.scale:0;h&&(l.scale=h(g,t));var u,_,f,c,p,d,y,v,x,T=t._gsTransform,w=t.style,b=1e-6,P=Rt.length,S=l,O={},k="transformOrigin",C=Ut(t,n,!0,S.parseTransform),R=S.transform&&("function"==typeof S.transform?S.transform(g,m):S.transform);if(C.skewType=S.skewType||C.skewType||a.defaultSkewType,r._transform=C,"rotationZ"in S&&(S.rotation=S.rotationZ),R&&"string"==typeof R&&At)(_=G.style)[At]=R,_.display="block",_.position="absolute",-1!==R.indexOf("%")&&(_.width=et(t,"width"),_.height=et(t,"height")),B.body.appendChild(G),u=Ut(G,null,!1),"simple"===C.skewType&&(u.scaleY*=Math.cos(u.skewX*I)),C.svg&&(d=C.xOrigin,y=C.yOrigin,u.x-=C.xOffset,u.y-=C.yOffset,(S.transformOrigin||S.svgOrigin)&&(R={},jt(t,ht(S.transformOrigin),R,S.svgOrigin,S.smoothOrigin,!0),d=R.xOrigin,y=R.yOrigin,u.x-=R.xOffset-C.xOffset,u.y-=R.yOffset-C.yOffset),(d||y)&&(v=Gt(G,!0),u.x-=d-(d*v[0]+y*v[2]),u.y-=y-(d*v[1]+y*v[3]))),B.body.removeChild(G),u.perspective||(u.perspective=C.perspective),null!=S.xPercent&&(u.xPercent=_t(S.xPercent,C.xPercent)),null!=S.yPercent&&(u.yPercent=_t(S.yPercent,C.yPercent));else if("object"==typeof S){if(u={scaleX:_t(null!=S.scaleX?S.scaleX:S.scale,C.scaleX),scaleY:_t(null!=S.scaleY?S.scaleY:S.scale,C.scaleY),scaleZ:_t(S.scaleZ,C.scaleZ),x:_t(S.x,C.x),y:_t(S.y,C.y),z:_t(S.z,C.z),xPercent:_t(S.xPercent,C.xPercent),yPercent:_t(S.yPercent,C.yPercent),perspective:_t(S.transformPerspective,C.perspective)},null!=(p=S.directionalRotation))if("object"==typeof p)for(_ in p)S[_]=p[_];else S.rotation=p;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(u.x=0,u.xPercent=_t(S.x,C.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(u.y=0,u.yPercent=_t(S.y,C.yPercent)),u.rotation=ft("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":C.rotation,C.rotation,"rotation",O),Ft&&(u.rotationX=ft("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",O),u.rotationY=ft("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",O)),u.skewX=ft(S.skewX,C.skewX),u.skewY=ft(S.skewY,C.skewY)}for(Ft&&null!=S.force3D&&(C.force3D=S.force3D,c=!0),(f=C.force3D||C.z||C.rotationX||C.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==S.scale||(u.scaleZ=1);--P>-1;)((R=u[x=Rt[P]]-C[x])>b||-b>R||null!=S[x]||null!=j[x])&&(c=!0,s=new Tt(C,x,C[x],R,s),x in O&&(s.e=O[x]),s.xs0=0,s.plugin=o,r._overwriteProps.push(s.n));return R="function"==typeof S.transformOrigin?S.transformOrigin(g,m):S.transformOrigin,C.svg&&(R||S.svgOrigin)&&(d=C.xOffset,y=C.yOffset,jt(t,ht(R),u,S.svgOrigin,S.smoothOrigin),s=wt(C,"xOrigin",(T?C:u).xOrigin,u.xOrigin,s,k),s=wt(C,"yOrigin",(T?C:u).yOrigin,u.yOrigin,s,k),(d!==C.xOffset||y!==C.yOffset)&&(s=wt(C,"xOffset",T?d:C.xOffset,C.xOffset,s,k),s=wt(C,"yOffset",T?y:C.yOffset,C.yOffset,s,k)),R="0px 0px"),(R||Ft&&f&&C.zOrigin)&&(At?(c=!0,x=Dt,R||(R=(R=(et(t,x,n,!1,"50% 50%")+"").split(" "))[0]+" "+R[1]+" "+C.zOrigin+"px"),R+="",(s=new Tt(w,x,0,0,s,-1,k)).b=w[x],s.plugin=o,Ft?(_=C.zOrigin,R=R.split(" "),C.zOrigin=(R.length>2?parseFloat(R[2]):_)||0,s.xs0=s.e=R[0]+" "+(R[1]||"50%")+" 0px",(s=new Tt(C,"zOrigin",0,0,s,-1,s.n)).b=_,s.xs0=s.e=C.zOrigin):s.xs0=s.e=R):ht(R+"",C)),c&&(r._transformType=C.svg&&Ct||!f&&3!==this._transformType?2:3),h&&(l.scale=h),s},allowFunc:!0,prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:yt("inset(0% 0% 0% 0%)",!1,!0)}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a,o){e=this.format(e);var l,h,u,_,f,c,p,d,m,g,y,v,x,T,w,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),h=0;hd?1:0))||""):(d=parseFloat(c),y=c.substr((d+"").length)),""===y&&(y=r[i]||v),y!==v&&(T=it(t,"borderLeft",p,v),w=it(t,"borderTop",p,v),"%"===y?(f=T/m*100+"%",_=w/g*100+"%"):"em"===y?(f=T/(b=it(t,"borderLeft",1,"em"))+"em",_=w/b+"em"):(f=T+"px",_=w+"px"),x&&(c=parseFloat(f)+d+y,u=parseFloat(_)+d+y)),a=bt(S,P[h],f+" "+_,c+" "+u,!1,"0px",a);return a},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,a){return bt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,a){var o,l,h,u,_,f,c="background-position",p=n||tt(t),m=this.format((p?d?p.getPropertyValue(c+"-x")+" "+p.getPropertyValue(c+"-y"):p.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&((f=et(t,"backgroundImage").replace(A,""))&&"none"!==f)){for(o=m.split(" "),l=g.split(" "),U.setAttribute("src",f),h=2;--h>-1;)(u=-1!==(m=o[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(_=0===h?t.offsetWidth-U.width:t.offsetHeight-U.height,o[h]=u?parseFloat(m)/100*_+"px":parseFloat(m)/_*100+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,s,a)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ht(-1===t.indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,a){var o,l,h;return 9>d?(l=t.currentStyle,h=8>d?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,a){var o=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(b,"");return"px"!==h&&(o=parseFloat(o)/it(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Ot("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new Tt(a,o,0,0,n,-1,i,!1,0,a[o],e)}});var Wt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(O,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(P,"opacity="+n))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,a){var o=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===et(t,"visibility",n)&&0!==e&&(o=0),W?s=new Tt(l,"opacity",o,e-o,s):((s=new Tt(l,"opacity",100*o,100*(e-o),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=Wt),h&&((s=new Tt(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Qt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},Ht=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ot("className",{parser:function(t,e,r,s,a,o,l){var h,u,_,f,c,p=t.getAttribute("class")||"",d=t.style.cssText;if((a=s._classNamePT=new Tt(t,r,0,0,a,2)).setRatio=Ht,a.pr=-11,i=!0,a.b=p,u=nt(t,n),_=t._gsClassPT){for(f={},c=_.data;c;)f[c.p]=1,c=c._next;_.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:p.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=st(t,u,nt(t),l,f),t.setAttribute("class",p),a.data=h.firstMPT,t.style.cssText!==d&&(t.style.cssText=d),a.xfirst=s.parse(t,h.difs,a,o)}});var Zt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],l[i]&&(l[i].parse===o?n=!0:i="transformOrigin"===i?Dt:l[i].p),Qt(a,i);n&&(Qt(a,At),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(t,e,r,n,s){return(s=new Tt(t,r,0,0,s,2)).setRatio=Zt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Pt=h.length;Pt--;)kt(h[Pt]);(h=a.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,o,h){if(!t.nodeType)return!1;this._target=m=t,this._tween=o,this._vars=e,g=h,u=e.autoRound,i=!1,r=e.suffixMap||a.suffixMap,n=tt(t),s=this._overwriteProps;var c,d,y,v,x,T,w,b,P,O=t.style;if(_&&""===O.zIndex&&(("auto"===(c=et(t,"zIndex",n))||""===c)&&this._addLazySet(O,"zIndex",0)),"string"==typeof e&&(v=O.cssText,c=nt(t,n),O.cssText=v+";"+e,c=st(t,c,nt(t)).difs,!W&&S.test(e)&&(c.opacity=parseFloat(RegExp.$1)),e=c,O.cssText=v),e.className?this._firstPT=d=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=d=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,At?f&&(_=!0,""===O.zIndex&&(("auto"===(w=et(t,"zIndex",n))||""===w)&&this._addLazySet(O,"zIndex",0)),p&&this._addLazySet(O,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):O.zoom=1,y=d;y&&y._next;)y=y._next;b=new Tt(t,"transform",0,0,null,2),this._linkCSSP(b,null,y),b.setRatio=At?Vt:qt,b.data=this._transform||Ut(t,n,!0),b.tween=o,b.pr=-1,s.pop()}if(i){for(;d;){for(T=d._next,y=v;y&&y.pr>d.pr;)y=y._next;(d._prev=y?y._prev:x)?d._prev._next=d:v=d,(d._next=y)?y._prev=d:x=d,d=T}this._firstPT=v}return!0},h.parse=function(t,e,i,s){var a,o,h,_,f,c,p,d,y,v,x=t.style;for(a in e){if(c=e[a],o=l[a],"function"!=typeof c||o&&o.allowFunc||(c=c(g,m)),o)i=o.parse(t,c,a,this,i,s,e);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(a)+"",c+"",a,!1,a);continue}f=et(t,a,n)+"",y="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&k.test(c)?(y||(c=((c=dt(c)).length>3?"rgba(":"rgb(")+c.join(",")+")"),i=bt(x,a,f,c,!0,"transparent",i,0,s)):y&&E.test(c)?i=bt(x,a,f,c,!0,null,i,0,s):(p=(h=parseFloat(f))||0===h?f.substr((h+"").length):"",(""===f||"auto"===f)&&("width"===a||"height"===a?(h=lt(t,a,n),p="px"):"left"===a||"top"===a?(h=rt(t,a,n),p="px"):(h="opacity"!==a?0:1,p="")),(v=y&&"="===c.charAt(1))?(_=parseInt(c.charAt(0)+"1",10),c=c.substr(2),_*=parseFloat(c),d=c.replace(b,"")):(_=parseFloat(c),d=y?c.replace(b,""):""),""===d&&(d=a in r?r[a]:p),c=_||0===_?(v?_+h:_)+d:e[a],p!==d&&(""!==d||"lineHeight"===a)&&(_||0===_)&&h&&(h=it(t,a,h,p),"%"===d?(h/=it(t,a,100,"%")/100,!0!==e.strictUnits&&(f=h+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?h/=it(t,a,1,d):"px"!==d&&(_=it(t,a,_,d),d="px"),v&&(_||0===_)&&(c=_+h+d)),v&&(_+=h),!h&&0!==h||!_&&0!==_?void 0!==x[a]&&(c||c+""!="NaN"&&null!=c)?(i=new Tt(x,a,_||h||0,0,i,-1,a,!1,0,f,c)).xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:f:H("invalid "+a+" tween value: "+e[a]):(i=new Tt(x,a,h,_-h,i,0,a,!1!==u&&("px"===d||"zIndex"===a),0,f,c)).xs0=d)}s&&i&&!i.plugin&&(i.plugin=s)}return i},h.setRatio=function(t){var e,i,r,n=this._firstPT,s=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):s>e&&e>-s&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r-1;)Kt(t[n],e,i);else for(n=(r=t.childNodes).length;--n>-1;)a=(s=r[n]).type,s.style&&(e.push(nt(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||Kt(s,e,i)};return a.cascadeTo=function(t,i,r){var n,s,a,o,l=e.to(t,i,r),h=[l],u=[],_=[],f=[],c=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,u,f),l.render(i,!0,!0),Kt(t,_),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],u[n],_[n])).firstMPT){for(a in s=s.difs,r)c[a]&&(s[a]=r[a]);for(a in o={},s)o[a]=u[n][a];h.push(e.fromTo(f[n],i,o,s))}return h},t.activate([a]),a},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,a=this._tween,o=a.vars.roundProps,l={},h=a._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)l[o[n]]=Math.round;else for(s in o)l[s]=e(o[s]);for(s in l)for(t=a._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:a._firstPT===t&&(a._firstPT=r),t._next=t._prev=null,a._propLookup[s]=h)),t=r;return!1},r._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,a,o,l,h,u=!0===e.useRadians?2*Math.PI:360,_=1e-6;for(n in e)"useRadians"!==n&&("function"==typeof(o=e[n])&&(o=o(r,t)),s=(h=(o+"").split("_"))[0],a=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(o=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?a+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-a,h.length&&(-1!==(s=h.join("_")).indexOf("short")&&((l%=u)!==l%(u/2)&&(l=0>l?l+u:l-u)),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(l>_||-_>l)&&(this._addTween(t,n,a,a+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,a=s.com.greensock,o=2*Math.PI,l=Math.PI/2,h=a._class,u=function(e,i){var r=h("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},_=t.register||function(){},f=function(t,e,i,r,n){var s=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return _(s,t),s},c=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(e,i){var r=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},d=f("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=h("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=h("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0),(g=e.prototype=new t).constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=h("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0),(g=i.prototype=new t).constructor=i,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=i.config=function(t,e,r){return new i(t,e,r)},r=h("easing.RoughEase",function(e){for(var i,r,n,s,a,o,l=(e=e||{}).taper||"none",h=[],u=0,_=0|(e.points||20),f=_,p=!1!==e.randomize,d=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=p?Math.random():1/_*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?n=(s=1-i)*s*g:"in"===l?n=i*i*g:.5>i?n=(s=2*i)*s*.5*g:n=(s=2*(1-i))*s*.5*g,p?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,d&&(r>1?r=1:0>r&&(r=0)),h[u++]={x:i,y:r};for(h.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),f=_;--f>-1;)a=h[f],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0),(g=r.prototype=new t).constructor=r,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new r(t)},r.ease=new r,f("Bounce",u("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,r){var n=h("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},f("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",u("SineOut",function(t){return Math.sin(t*l)}),u("SineIn",function(t){return 1-Math.cos(t*l)}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),_(s.SlowMo,"SlowMo","ease,"),_(r,"RoughEase","ease,"),_(e,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},r=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t,s=n[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var a,o,l,h,u,_=function(t){var e,i=t.split("."),r=n;for(e=0;e-1;)(u=g[s[d]]||new y(s[d],[])).gsClass?(l[d]=u.gsClass,m--):h&&u.sc.push(this);if(0===m&&a){if(c=(f=("com.greensock."+r).split(".")).pop(),p=_(f.join("."))[c]=this.gsClass=a.apply(a,l),o)if(n[c]=i[c]=p,"undefined"!=typeof module&&module.exports)if(r===e)for(d in module.exports=i[e]=p,i)p[d]=i[d];else i[e]&&(i[e][c]=p);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],function(){return p});for(d=0;d-1;)for(s=l[h],n=r?x("easing."+s,null,!0):f.easing[s]||{},a=u.length;--a>-1;)o=u[a],b[s+"."+o]=b[o+s]=n[o]=t.getRatio?t:t[o]||new t};for((l=w.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},o=(a=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)l=a[o]+",Power"+o,P(new w(null,null,1,o),l,"easeOut",!0),P(new w(null,null,2,o),l,"easeIn"+(0===o?",easeNone":"")),P(new w(null,null,3,o),l,"easeInOut");b.linear=f.easing.Linear.easeIn,b.swing=f.easing.Quad.easeInOut;var S=x("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==h||u||h.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(s=o[a]).c===e&&s.s===i?o.splice(a,1):0===l&&s.pr-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var O=t.requestAnimationFrame,k=t.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},R=C();for(o=(a=["ms","moz","webkit","o"]).length;--o>-1&&!O;)O=t[a[o]+"RequestAnimationFrame"],k=t[a[o]+"CancelAnimationFrame"]||t[a[o]+"CancelRequestAnimationFrame"];x("Ticker",function(t,e){var i,n,s,a,o,l=this,_=C(),f=!(!1===e||!O)&&"auto",p=500,m=33,g=function(t){var e,r,h=C()-R;h>p&&(_+=h-m),R+=h,l.time=(R-_)/1e3,e=l.time-o,(!i||e>0||!0===t)&&(l.frame++,o+=e+(e>=a?.004:a-e),r=!0),!0!==t&&(s=n(g)),r&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){g(!0)},l.lagSmoothing=function(t,e){return arguments.length?(p=t||1/c,void(m=Math.min(e,p,0))):1/c>p},l.sleep=function(){null!=s&&(f&&k?k(s):clearTimeout(s),n=d,s=null,l===h&&(u=!1))},l.wake=function(t){null!==s?l.sleep():t?_+=-R+(R=C()):l.frame>10&&(R=C()-p+5),n=0===i?d:f&&O?O:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===h&&(u=!0),g(2)},l.fps=function(t){return arguments.length?(a=1/((i=t)||60),o=this.time+a,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout(function(){"auto"===f&&l.frame<5&&"hidden"!==(r||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var A=x("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Z){u||h.wake();var i=this.vars.useFrames?H:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=A.ticker=new f.Ticker,(l=A.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var M=function(){u&&C()-R>2e3&&("hidden"!==(r||{}).visibilityState||!h.lagSmoothing())&&h.wake();var t=setTimeout(M,2e3);t.unref&&t.unref()};M(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(u||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(z.length&&K(),this.render(t,e,!1),z.length&&K())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||c,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},l.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(u||t||h.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var D=x("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=D.prototype=new A).constructor=D,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},l.rawTime=function(){return u||h.wake(),this._totalTime};var F=x("TweenLite",function(e,i,r){if(A.call(this,i,r),this.render=F.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:F.selector(e)||e;var n,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Q[F.defaultOverwrite]:"number"==typeof l?l|0:Q[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=a=p(e),this._propLookup=[],this._siblings=[],n=0;n1&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=a[n--]=F.selector(s))&&a.splice(n+1,1):a.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-c,this.render(Math.min(0,-this._delay)))},!0),L=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=F.prototype=new A).constructor=F,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,F.version="2.1.3",F.defaultEase=l._ease=new w(null,null,1,1),F.defaultOverwrite="auto",F.ticker=h,F.autoSleep=120,F.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},F.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(F.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],E={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,j=function(t){for(var e,i=this._firstPT,r=1e-6;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):r>e&&e>-r&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},X=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,i,r){var n,s,a,o,l,h,u,_=[],f=0,c="",p=0;for(_.start=t,_.end=e,t=_[0]=t+"",e=_[1]=e+"",i&&(i(_),t=_[0],e=_[1]),_.length=0,n=t.match(I)||[],s=e.match(I)||[],r&&(r._next=null,r.blob=1,_._firstPT=_._applyPT=r),l=s.length,o=0;l>o;o++)u=s[o],c+=(h=e.substr(f,e.indexOf(u,f)-f))||!o?h:",",f+=h.length,p?p=(p+1)%5:"rgba("===h.substr(-5)&&(p=1),u===n[o]||n.length<=o?c+=u:(c&&(_.push(c),c=""),a=parseFloat(n[o]),_.push(a),_._firstPT={_next:_._firstPT,t:_,p:_.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:p&&4>p?Math.round:X}),f+=u.length;return(c+=e.substr(f))&&_.push(c),_.setRatio=j,N.test(e)&&(_.end=null),_},Y=function(t,e,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,t));var h=typeof t[e],u="function"!==h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),_="get"!==i?i:u?a?t[u](a):t[u]():t[e],f="string"==typeof r&&"="===r.charAt(1),c={t:t,p:e,s:_,f:"function"===h,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:f?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-_||0};return("number"!=typeof _||"number"!=typeof r&&!f)&&(a||isNaN(_)||!f&&isNaN(r)||"boolean"==typeof _||"boolean"==typeof r?(c.fp=a,c={t:B(_,f?parseFloat(c.s)+c.c+(c.s+"").replace(/[0-9\-\.]/g,""):r,o||F.defaultStringFilter,c),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(c.s=parseFloat(_),f||(c.c=parseFloat(r)-c.s||0))),c.c?((c._next=this._firstPT)&&(c._next._prev=c),this._firstPT=c,c):void 0},G=F._internals={isArray:m,isSelector:L,lazyTweens:z,blobDif:B},U=F._plugins={},q=G.tweenLookup={},V=0,W=G.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},Q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=A._rootFramesTimeline=new D,Z=A._rootTimeline=new D,$=30,K=G.lazyRender=function(){var t,e,i=z.length;for(E={},t=0;i>t;t++)(e=z[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);z.length=0};Z._startTime=h.time,H._startTime=h.frame,Z._active=H._active=!0,setTimeout(K,1),A._updateRoot=F.render=function(){var t,e,i;if(z.length&&K(),Z.render((h.time-Z._startTime)*Z._timeScale,!1,!1),H.render((h.frame-H._startTime)*H._timeScale,!1,!1),z.length&&K(),h.frame>=$){for(i in $=h.frame+(parseInt(F.autoSleep,10)||120),q){for(t=(e=q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete q[i]}if((!(i=Z._first)||i._paused)&&F.autoSleep&&!H._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",A._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(q[s||(t._gsTweenID=s="t"+V++)]||(q[s]={target:t,tweens:[]}),e&&((r=q[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return q[s].tweens},tt=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),(a=F.onOverwrite)&&(s=a(t,e,i,r)),!1!==n&&!1!==s},et=function(t,e,i,r,n){var s,a,o,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var h,u=e._startTime+c,_=[],f=0,p=0===e._duration;for(s=n.length;--s>-1;)(o=n[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||it(e,0,p),0===it(o,h,p)&&(_[f++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((p||!o._initted)&&u-o._startTime<=2*c||(_[f++]=o)));for(s=f;--s>-1;)if(l=(o=_[s])._firstPT,2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!tt(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},it=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&2*c>s-e?c:(s+=t.totalDuration()/t._timeScale/n)>e+c?0:s-e-c};l._init=function(){var t,e,i,r,n,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,u=a.ease,_=this._startAt;if(a.startAt){for(r in _&&(_.render(-1,!0),_.kill()),n={},a.startAt)n[r]=a.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&!1!==a.lazy,n.startAt=n.delay=null,n.onUpdate=a.onUpdate,n.onUpdateParams=a.onUpdateParams,n.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=F.to(this.target||{},0,n),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(_)_.render(-1,!0),_.kill(),this._startAt=null;else{for(r in 0!==this._time&&(h=!1),i={},a)W[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=F.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof w?u:"function"==typeof u?new w(u,a.easeParams):b[u]||F.defaultEase:F.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&F._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},l._initProps=function(e,i,r,n,s){var a,o,l,h,u,_;if(null==e)return!1;for(a in E[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&U.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)W[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e),this.vars)if(_=this.vars[a],W[a])_&&(_ instanceof Array||_.push&&m(_))&&-1!==_.join("").indexOf("{self}")&&(this.vars[a]=_=this._swapSelfInParams(_,this));else if(U[a]&&(h=new U[a])._onInitTween(e,this.vars[a],this,s)){for(this._firstPT=u={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=Y.call(this,e,a,"get",_,a,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&et(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(E[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,a,o=this,l=o._time,h=o._duration,u=o._rawPrevTime;if(t>=h-c&&t>=0)o._totalTime=o._time=h,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(r=!0,n="onComplete",i=i||o._timeline.autoRemoveChildren),0===h&&(o._initted||!o.vars.lazy||i)&&(o._startTime===o._timeline._duration&&(t=0),(0>u||0>=t&&t>=-c||u===c&&"isPause"!==o.data)&&u!==t&&(i=!0,u>c&&(n="onReverseComplete")),o._rawPrevTime=a=!e||t||u===t?t:c);else if(c>t)o._totalTime=o._time=0,o.ratio=o._ease._calcEnd?o._ease.getRatio(0):0,(0!==l||0===h&&u>0)&&(n="onReverseComplete",r=o._reversed),t>-c?t=0:0>t&&(o._active=!1,0===h&&(o._initted||!o.vars.lazy||i)&&(u>=0&&(u!==c||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=a=!e||t||u===t?t:c)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=t,o._easeType){var _=t/h,f=o._easeType,p=o._easePower;(1===f||3===f&&_>=.5)&&(_=1-_),3===f&&(_*=2),1===p?_*=_:2===p?_*=_*_:3===p?_*=_*_*_:4===p&&(_*=_*_*_*_),o.ratio=1===f?1-_:2===f?_:.5>t/h?_/2:1-_/2}else o.ratio=o._ease.getRatio(t/h);if(o._time!==l||i){if(!o._initted){if(o._init(),!o._initted||o._gc)return;if(!i&&o._firstPT&&(!1!==o.vars.lazy&&o._duration||o.vars.lazy&&!o._duration))return o._time=o._totalTime=l,o._rawPrevTime=u,z.push(o),void(o._lazy=[t,e]);o._time&&!r?o.ratio=o._ease.getRatio(o._time/h):r&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}for(!1!==o._lazy&&(o._lazy=!1),o._active||!o._paused&&o._time!==l&&t>=0&&(o._active=!0),0===l&&(o._startAt&&(t>=0?o._startAt.render(t,!0,i):n||(n="_dummyGS")),o.vars.onStart&&(0!==o._time||0===h)&&(e||o._callback("onStart"))),s=o._firstPT;s;)s.f?s.t[s.p](s.c*o.ratio+s.s):s.t[s.p]=s.c*o.ratio+s.s,s=s._next;o._onUpdate&&(0>t&&o._startAt&&-1e-4!==t&&o._startAt.render(t,!0,i),e||(o._time!==l||r||i)&&o._callback("onUpdate")),n&&(!o._gc||i)&&(0>t&&o._startAt&&!o._onUpdate&&-1e-4!==t&&o._startAt.render(t,!0,i),r&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!e&&o.vars[n]&&o._callback(n),0===h&&o._rawPrevTime===c&&a!==c&&(o._rawPrevTime=0))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:F.selector(e)||e;var r,n,s,a,o,l,h,u,_,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,c=this._firstPT;if((m(e)||L(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(F.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(_||(_=[]),_.push(s));if((_||!t)&&!tt(this,i,e,_))return!1}for(s in h)(a=o[s])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&c&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&F._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],A.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-c,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(u||h.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&F._onPluginEvent(t?"_onEnable":"_onDisable",this)},F.to=function(t,e,i){return new F(t,e,i)},F.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new F(t,e,i)},F.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new F(t,e,r)},F.delayedCall=function(t,e,i,r,n){return new F(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},F.set=function(t,e){return new F(t,0,e)},F.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:F.selector(t)||t,(m(t)||L(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(F.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=J(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},F.killTweensOf=F.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=F.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var rt=x("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=rt.prototype},!0);if(l=rt.prototype,rt.version="1.19.0",rt.API=2,l._firstPT=null,l._addTween=Y,l.setRatio=j,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},F._onPluginEvent=function(t,e){var i,r,n,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},rt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===rt.API&&(U[(new t[e])._propName]=t[e]);return!0},v.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=x("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){rt.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new rt(i);for(e in o.constructor=a,a.API=t.API,s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,rt.activate([a]),a},a=t._gsQueue){for(o=0;o0}function s(t){return r(t)&&/^(1|3|11)$/.test(t.nodeType)}function a(t,e,i){for(var s=Object(t),a=n(s)?s:function(t){return r(t)&&"[object Object]"===Object.prototype.toString.call(t)}(s)?v(s):[s],o=parseInt(a.length)||0,l=0;l/g," "+_+" "),s=v.textContent.replace(/\s+/g," ").trim().split(" ").map(function(t){if(t===_)return n.appendChild(u("br")),null;if(d){var e=t.split("").map(function(t){return u(h,{class:o.charClass+" "+o.splitClass,style:"display: inline-block;",textContent:t})});g.apply(T,e)}return p||c?(r=u(h,{class:o.wordClass+" "+o.splitClass,style:"display: inline-block; position:"+(p?"relative":"static;"),children:d?e:null,textContent:d?null:t}),n.appendChild(r)):a(e,function(t){n.appendChild(t)}),n.appendChild(b(" ")),r},this).filter(function(t){return t}),e.innerHTML="",e.appendChild(n),g.apply(this.words,s),g.apply(this.chars,T),m||c){var P,S,O,k,C,R,A,M,D,F,L,z=[];A=l(e).nodes=e.getElementsByTagName(h),M=e.parentElement,D=e.nextElementSibling,F=t.getComputedStyle(e),L=F.textAlign,m&&(k={left:n.offsetLeft,top:n.offsetTop,width:n.offsetWidth},R=e.offsetWidth,C=e.offsetHeight,l(e).cssWidth=e.style.width,l(e).cssHeight=e.style.height),a(A,function(t){if(t!==n){var e,i=t.parentElement===n;c&&i&&((e=l(t).top=t.offsetTop)!==S&&(S=e,z.push(P=[])),P.push(t)),m&&(l(t).top=e||t.offsetTop,l(t).left=t.offsetLeft,l(t).width=t.offsetWidth,l(t).height=O||(O=t.offsetHeight))}}),M.removeChild(e),c&&(n=w(),x=z.map(function(t){return n.appendChild(i=u(h,{class:o.lineClass+" "+o.splitClass,style:"display: block; text-align:"+L+"; width: 100%;"})),m&&(l(i).type="line",l(i).top=l(t[0]).top,l(i).height=O),a(t,function(t){p?i.appendChild(t):d?y.call(t.children).forEach(function(t){i.appendChild(t)}):i.appendChild(b(t.textContent)),i.appendChild(b(" "))}),i}),e.replaceChild(n,e.firstChild),g.apply(this.lines,x)),m&&(e.style.width=e.style.width||R+"px",e.style.height=C+"px",a(A,function(t){var e="line"===l(t).type,i=!e&&"line"===l(t.parentElement).type;t.style.top=i?0:l(t).top+"px",t.style.left=e?k.left+"px":(i?l(t).left-k.left:l(t).left)+"px",t.style.height=l(t).height+"px",t.style.width=e?k.width+"px":l(t).width+"px",t.style.position="absolute"})),D?M.insertBefore(e,D):M.appendChild(e)}}function c(t,e){return this instanceof c?(this.isSplit=!1,this.settings=o(P,e),this.elements=_(t),void(this.elements.length&&(this.originals=this.elements.map(function(t){return l(t).html=l(t).html||t.innerHTML}),this.split()))):new c(t,e)}if(e.addEventListener&&Function.prototype.bind){var p="splitType"+1*new Date,d={},m=0,g=Array.prototype.push,y=Array.prototype.slice,v=Object.keys,x=(Object.prototype.hasOwnProperty,Object.defineProperty),T=(Object.defineProperties,Object.getOwnPropertyDescriptor),w=e.createDocumentFragment.bind(e),b=e.createTextNode.bind(e),P={splitClass:"",lineClass:"ls-ln",wordClass:"ls-wd",charClass:"ls-ch",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"ls-tb",DEBUG:!1};return x(c,"defaults",{get:function(){return P},set:function(t){P=o(P,t)}}),c.prototype.split=function(t){this.revert(),this.lines=[],this.words=[],this.chars=[],t!==i&&(this.settings=o(this.settings,t)),a(this.elements,function(t){f.call(this,t),l(t).isSplit=!0},this),this.isSplit=!0,a(this.elements,function(t){for(var e=l(t).nodes||[],i=0,r=e.length;iLayerSlider: '+a+""+s+"").insertBefore(n))})},removeSlider:function(t){this.slidersList[t]=null,delete this.slidersList[t]},checkVersions:function(t,e){for(var i=t.split("."),r=e.split("."),n=0;nparseInt(r[n]))}return i.length,r.length,!0}},Number.prototype.indexOf=function(t){return(""+this).indexOf(t)}; /* * LayerSlider * * (c) 2011-2026 George Krupa, John Gera & Kreatura Media * * LayerSlider home: https://layerslider.com/ * Licensing: https://layerslider.com/licensing/ */ !function(e){"use strict";window._layerSliders={},window._lsData={$overflowWrapper:e("body").length?e("body"):e("html"),isMobile:!!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|webOS|Windows Phone|IEMobile|mobi|opera mini|nexus 7)/i)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/Macintosh/.test(navigator.userAgent),supportOrientation:!!window.DeviceOrientationEvent,screen:{},document:{},viewport:{},scroll:{direction:"down"},resize:{},getScreenSize:function(){window._lsData.screen={width:screen.width,height:screen.height,ratio:screen.width/screen.height}},slide:{keys:{slidedelay:["data","duration"],duration:["data","duration"],timeshift:["data","timeShift"],transition2d:["data","transition2d"],transition3d:["data","transition3d"],transitionse:["data","transitionse"],transitionorigami:["data","transitionorigami"],customtransition2d:["data","customtransition2d"],customtransition3d:["data","customtransition3d"],transitionduration:["data","transitionDuration"],backgroundsize:["data","backgroundSize"],bgsize:["data","backgroundSize"],backgroundposition:["data","backgroundPosition"],bgposition:["data","backgroundPosition"],backgroundcolor:["data","backgroundColor"],bgcolor:["data","backgroundColor"],thumbnail:["data","thumbnail"],deeplink:["data","deeplink"],overflow:["data","overflow"],kenburnspan:["kenBurns","pan"],kenburnszoom:["kenBurns","zoom"],kenburnsrotation:["kenBurns","rotation"],kenburnsrotate:["kenBurns","rotation"],kenburnsscale:["kenBurns","scale"],filterfrom:["filter","from"],filterto:["filter","to"],parallaxtype:["parallax","type"],parallaxevent:["parallax","event"],parallaxaxis:["parallax","axis"],parallaxdistance:["parallax","distance"],parallaxrotate:["parallax","rotation"],parallaxtransformorigin:["parallax","transformOrigin"],parallaxtransformperspective:["parallax","transformPerspective"],parallaxskewx:["parallax","skewX"],parallaxskewy:["parallax","skewY"],parallaxscalex:["parallax","scaleX"],parallaxscaley:["parallax","scaleY"],parallaxdurationenter:["parallax","durationEnter"],parallaxdurationmove:["parallax","durationMove"],parallaxdurationleave:["parallax","durationLeave"],parallaxorigin:["parallax","origin"],parallaxcount:["parallax","count"],parallaxpath:["parallax","path"],parallaxdirection:["parallax","direction"],parallaxstartat:["parallax","startAt"],parallaxpathduration:["parallax","pathDuration"],parallaxrandomcount:["parallax","randomCount"],parallaxoffsetx:["parallax","randomX"],parallaxoffsety:["parallax","randomY"],parallaxrandomstartat:["parallax","randomStartAt"],parallaxrandomduration:["parallax","randomDuration"],parallaxrandomwait:["parallax","randomWait"],parallaxeasing:["parallax","ease"],globalhover:["data","globalhover"]}},layer:{keys:{keyframe:["is"],responsive:["is"],pinned:["is"],position:["settings"],static:["settings"],minresponsiveratio:["settings"],maxresponsiveratio:["settings"],usesliderratio:["settings"],trmask:["settings"],smartbgease:["settings"],minfontsize:["styleSettings"],minmobilefontsize:["styleSettings"],overlay:["styleSettings"],pointerevents:["styleSettings"],smartbg:["styleSettings"],sizeexcludeborder:["styleSettings"],sizeexcludepadding:["styleSettings"],autoplay:["mediaSettings"],controls:["mediaSettings"],showinfo:["mediaSettings"],thumbnail:["poster","mediaSettings"],poster:["mediaSettings"],volume:["mediaSettings"],muted:["mediaSettings"],loopmedia:["loop","mediaSettings"],backgroundvideo:["backgroundVideo","mediaSettings"],fadein:["opacity","inLayerFromCSS"],opacityin:["opacity","inLayerFromCSS"],rotatein:["rotation","inLayerFromCSS"],rotatexin:["rotationX","inLayerFromCSS"],rotateyin:["rotationY","inLayerFromCSS"],rotationin:["rotation","inLayerFromCSS"],rotationxin:["rotationX","inLayerFromCSS"],rotationyin:["rotationY","inLayerFromCSS"],scalein:["scale","inLayerFromCSS"],scalexin:["scaleX","inLayerFromCSS"],scaleyin:["scaleY","inLayerFromCSS"],skewxin:["skewX","inLayerFromCSS"],skewyin:["skewY","inLayerFromCSS"],bgcolorin:["backgroundColor","inLayerStyleFromCSS"],colorin:["color","inLayerStyleFromCSS"],radiusin:["borderRadius","inLayerStyleShouldBeConvertedFrom"],widthin:["width","inLayerStyleShouldBeConvertedFrom"],heightin:["height","inLayerStyleShouldBeConvertedFrom"],filterin:["filter","inLayerStyleShouldBeConvertedFrom"],clipin:["clipPath","inClipFromCSS"],zindexin:["zIndex","in"],rotate:["rotation","inLayerToCSS"],rotatex:["rotationX","inLayerToCSS"],rotatey:["rotationY","inLayerToCSS"],rotation:["rotation","inLayerToCSS"],rotationx:["rotationX","inLayerToCSS"],rotationy:["rotationY","inLayerToCSS"],scale:["scale","inLayerToCSS"],scalex:["scaleX","inLayerToCSS"],scaley:["scaleY","inLayerToCSS"],skewx:["skewX","inLayerToCSS"],skewy:["skewY","inLayerToCSS"],transformoriginin:["transformOrigin","inLayerShouldBeConverted"],offsetxin:["x","inLayerShouldBeConverted"],offsetyin:["y","inLayerShouldBeConverted"],delayin:["startAt","in"],startatin:["startAt","in"],startatfirst:["startAtFirst","in"],instartat:["startAt","in"],durationin:["duration","in"],easein:["ease","in"],easingin:["ease","in"],transitionin:["enabled","in"],transformmirrorin:["mirror","in"],skipviewport:["skipViewport","settings"],textfadein:["opacity","textInNodesFrom"],textopacityin:["opacity","textInNodesFrom"],textrotatein:["rotation","textInNodesFrom"],textrotatexin:["rotationX","textInNodesFrom"],textrotateyin:["rotationY","textInNodesFrom"],textrotationin:["rotation","textInNodesFrom"],textrotationxin:["rotationX","textInNodesFrom"],textrotationyin:["rotationY","textInNodesFrom"],textscalein:["scale","textInNodesFrom"],textscalexin:["scaleX","textInNodesFrom"],textscaleyin:["scaleY","textInNodesFrom"],textskewxin:["skewX","textInNodesFrom"],textskewyin:["skewY","textInNodesFrom"],textcolorin:["color","textInNodesFrom"],textclipin:["clipPath","textInNodesFrom"],textoverflowin:["overflow","textInLayerStyle"],texteasein:["ease","textInNodesTo"],texteasingin:["ease","textInNodesTo"],texttransformoriginin:["transformOrigin","textInShouldBeConverted"],textoffsetxin:["x","textInShouldBeConverted"],textoffsetyin:["y","textInShouldBeConverted"],texttypein:["type","textIn"],textshiftin:["shiftNodes","textIn"],textdelayin:["startAt","textIn"],textstartatin:["startAt","textIn"],textinstartat:["startAt","textIn"],textdurationin:["duration","textIn"],texttransitionin:["enabled","textIn"],texttransformmirrorin:["mirror","textIn"],fadeout:["opacity","outLayerToCSS"],opacityout:["opacity","outLayerToCSS"],rotateout:["rotation","outLayerToCSS"],rotatexout:["rotationX","outLayerToCSS"],rotateyout:["rotationY","outLayerToCSS"],rotationout:["rotation","outLayerToCSS"],rotationxout:["rotationX","outLayerToCSS"],rotationyout:["rotationY","outLayerToCSS"],scaleout:["scale","outLayerToCSS"],scalexout:["scaleX","outLayerToCSS"],scaleyout:["scaleY","outLayerToCSS"],skewxout:["skewX","outLayerToCSS"],skewyout:["skewY","outLayerToCSS"],bgcolorout:["backgroundColor","outLayerStyleToCSS"],colorout:["color","outLayerStyleToCSS"],radiusout:["borderRadius","outLayerStyleShouldBeConvertedTo"],widthout:["width","outLayerStyleShouldBeConvertedTo"],heightout:["height","outLayerStyleShouldBeConvertedTo"],filterout:["filter","outLayerStyleShouldBeConvertedTo"],clipout:["clipPath","outClipToCSS"],zindexout:["zIndex","out"],transformoriginout:["transformOrigin","outLayerShouldBeConverted"],offsetxout:["x","outLayerShouldBeConverted"],offsetyout:["y","outLayerShouldBeConverted"],showuntil:["showUntil","out"],startatout:["startAt","out"],outstartat:["startAt","out"],durationout:["duration","out"],easeout:["ease","out"],easingout:["ease","out"],transitionout:["enabled","out"],transformmirrorout:["mirror","out"],textfadeout:["opacity","textOutNodesTo"],textopacityout:["opacity","textOutNodesTo"],textrotateout:["rotation","textOutNodesTo"],textrotatexout:["rotationX","textOutNodesTo"],textrotateyout:["rotationY","textOutNodesTo"],textrotationout:["rotation","textOutNodesTo"],textrotationxout:["rotationX","textOutNodesTo"],textrotationyout:["rotationY","textOutNodesTo"],textscaleout:["scale","textOutNodesTo"],textscalexout:["scaleX","textOutNodesTo"],textscaleyout:["scaleY","textOutNodesTo"],textskewxout:["skewX","textOutNodesTo"],textskewyout:["skewY","textOutNodesTo"],textcolorout:["color","textOutNodesTo"],textclipout:["clipPath","textOutNodesTo"],texteaseout:["ease","textOutNodesTo"],texteasingout:["ease","textOutNodesTo"],texttransformoriginout:["transformOrigin","textOutShouldBeConverted"],textoffsetxout:["x","textOutShouldBeConverted"],textoffsetyout:["y","textOutShouldBeConverted"],textoverflowout:["overflow","textOutLayerStyle"],texttypeout:["type","textOut"],textshiftout:["shiftNodes","textOut"],textdelayout:["startAt","textOut"],textstartatout:["startAt","textOut"],textoutstartat:["startAt","textOut"],textdurationout:["duration","textOut"],texttransitionout:["enabled","textOut"],texttransformmirrorout:["mirror","textOut"],loopopacity:["opacity","loopLayerShouldBeConverted"],looprotate:["rotation","loopLayerShouldBeConverted"],looprotatex:["rotationX","loopLayerShouldBeConverted"],looprotatey:["rotationY","loopLayerShouldBeConverted"],looprotation:["rotation","loopLayerShouldBeConverted"],looprotationx:["rotationX","loopLayerShouldBeConverted"],looprotationy:["rotationY","loopLayerShouldBeConverted"],loopscale:["scale","loopLayerShouldBeConverted"],loopscalex:["scaleX","loopLayerShouldBeConverted"],loopscaley:["scaleY","loopLayerShouldBeConverted"],loopskewx:["skewX","loopLayerShouldBeConverted"],loopskewy:["skewY","loopLayerShouldBeConverted"],looptransformorigin:["transformOrigin","loopLayerShouldBeConverted"],loopoffsetx:["x","loopLayerShouldBeConverted"],loopoffsety:["y","loopLayerShouldBeConverted"],loopfilter:["filter","loopLayerShouldBeConverted"],loopclip:["clipPath","loopClipToCSS"],loopdelay:["startAt","loop"],loopstartat:["startAt","loop"],loopduration:["duration","loopTimingsShouldBeConverted"],loopcount:["count","loop"],looptweendelay:["tweenDelay","loopTimingsShouldBeConverted"],looprepeatdelay:["repeatDelay","loopTimingsShouldBeConverted"],loopyoyo:["yoyo","loop"],loopyoyodelay:["yoyoDelay","loopTimingsShouldBeConverted"],loopease:["ease","loop"],loopeasing:["ease","loop"],loopresume:["resume","loop"],loop:["enabled","loop"],hoveropacity:["opacity","hoverToCSS"],hoverrotate:["rotation","hoverToCSS"],hoverrotatex:["rotationX","hoverToCSS"],hoverrotatey:["rotationY","hoverToCSS"],hoverrotation:["rotation","hoverToCSS"],hoverrotationx:["rotationX","hoverToCSS"],hoverrotationy:["rotationY","hoverToCSS"],hoverscale:["scale","hoverToCSS"],hoverscalex:["scaleX","hoverToCSS"],hoverscaley:["scaleY","hoverToCSS"],hoverskewx:["skewX","hoverToCSS"],hoverskewy:["skewY","hoverToCSS"],hoverbgcolor:["backgroundColor","hoverToCSS"],hovercolor:["color","hoverToCSS"],hoverease:["easeIn","hover"],hovereasing:["easeIn","hover"],hovereasein:["easeIn","hover"],hovereasingin:["easeIn","hover"],hovereaseout:["easeOut","hover"],hovereasingout:["easeOut","hover"],hoverduration:["durationIn","hover"],hoverdurationin:["durationIn","hover"],hoverdurationout:["durationOut","hover"],hoveralwaysontop:["alwaysOnTop","hover"],hoveroffsetx:["x","hoverShouldBeConverted"],hoveroffsety:["y","hoverShouldBeConverted"],hoverfilter:["filter","hoverShouldBeConverted"],hoverborderradius:["borderRadius","hoverShouldBeConverted"],hoverradius:["borderRadius","hoverShouldBeConverted"],hovertransformorigin:["transformOrigin","hoverShouldBeConverted"],hoverskipglobal:["skipGlobal","hover"],hover:["enabled","hover"],kenburnspan:["pan","kenBurns"],kenburnszoom:["zoom","kenBurns"],kenburnsrotation:["rotation","kenBurns"],kenburnsrotate:["rotation","kenBurns"],kenburnsscale:["scale","kenBurns"],parallaxreset:["reset","parallax"],parallaxlevel:["level","parallax"],parallaxtype:["type","parallax"],parallaxevent:["event","parallax"],parallaxaxis:["axis","parallax"],parallaxdistance:["distance","parallax"],parallaxrotate:["rotation","parallax"],parallaxtransformorigin:["transformOrigin","parallax"],parallaxskewx:["skewX","parallax"],parallaxskewy:["skewY","parallax"],parallaxscalex:["scaleX","parallax"],parallaxscaley:["scaleY","parallax"],parallaxdurationenter:["durationEnter","parallax"],parallaxdurationmove:["durationMove","parallax"],parallaxdurationleave:["durationLeave","parallax"],parallaxorigin:["origin","parallax"],parallaxcount:["count","parallax"],parallaxpath:["path","parallax"],parallaxdirection:["direction","parallax"],parallaxstartat:["startAt","parallax"],parallaxpathduration:["pathDuration","parallax"],parallaxrandomcount:["randomCount","parallax"],parallaxoffsetx:["randomX","parallax"],parallaxoffsety:["randomY","parallax"],parallaxrandomstartat:["randomStartAt","parallax"],parallaxrandomduration:["randomDuration","parallax"],parallaxrandomwait:["randomWait","parallax"],parallaxeasing:["ease","parallax"],parallax:["enabled","parallax"],scroll:["enabled","scroll"],scrollduration:["duration","scroll"],scrolldurationrev:["durationRev","scroll"],scrollease:["ease","scroll"],scrolleaserev:["easeRev","scroll"],scrollcenter:["center","scroll"],scrollopacity:["opacity","scroll"],scrollopacitymin:["opacitymin","scroll"],scrollopacitymax:["opacitymax","scroll"],scrollopacityyoyo:["opacityyoyo","scroll"],scrollopacityinvert:["opacityinvert","scroll"],scrollrotate:["rotation","scroll"],scrollrotatemin:["rotationmin","scroll"],scrollrotatemax:["rotationmax","scroll"],scrollrotateyoyo:["rotationyoyo","scroll"],scrollrotatex:["rotationX","scroll"],scrollrotatexmin:["rotationXmin","scroll"],scrollrotatexmax:["rotationXmax","scroll"],scrollrotatexyoyo:["rotationXyoyo","scroll"],scrollrotatey:["rotationY","scroll"],scrollrotateymin:["rotationYmin","scroll"],scrollrotateymax:["rotationYmax","scroll"],scrollrotateyyoyo:["rotationYyoyo","scroll"],scrollrotation:["rotation","scroll"],scrollrotationmin:["rotationmin","scroll"],scrollrotationmax:["rotationmax","scroll"],scrollrotationyoyo:["rotationyoyo","scroll"],scrollrotationx:["rotationX","scroll"],scrollrotationxmin:["rotationXmin","scroll"],scrollrotationxmax:["rotationXmax","scroll"],scrollrotationxyoyo:["rotationXyoyo","scroll"],scrollrotationy:["rotationY","scroll"],scrollrotationymin:["rotationYmin","scroll"],scrollrotationymax:["rotationYmax","scroll"],scrollrotationyyoyo:["rotationYyoyo","scroll"],scrollscalex:["scaleX","scroll"],scrollscalexmin:["scaleXmin","scroll"],scrollscalexmax:["scaleXmax","scroll"],scrollscalexyoyo:["scaleXyoyo","scroll"],scrollscaley:["scaleY","scroll"],scrollscaleymin:["scaleYmin","scroll"],scrollscaleymax:["scaleYmax","scroll"],scrollscaleyyoyo:["scaleYyoyo","scroll"],scrollskewx:["skewX","scroll"],scrollskewxmin:["skewXmin","scroll"],scrollskewxmax:["skewXmax","scroll"],scrollskewxyoyo:["skewXyoyo","scroll"],scrollskewy:["skewY","scroll"],scrollskewymin:["skewYmin","scroll"],scrollskewymax:["skewYmax","scroll"],scrollskewyyoyo:["skewYyoyo","scroll"],scrolloffsetx:["x","scroll"],scrolloffsetxmin:["xmin","scroll"],scrolloffsetxmax:["xmax","scroll"],scrolloffsetxyoyo:["xyoyo","scroll"],scrolloffsetxresponsive:["xresponsive","scroll"],scrolloffsety:["y","scroll"],scrolloffsetymin:["ymin","scroll"],scrolloffsetymax:["ymax","scroll"],scrolloffsetyyoyo:["yyoyo","scroll"],scrolloffsetyresponsive:["yresponsive","scroll"],scrolltransformorigin:["transformOrigin","scrollShouldBeConverted"],scrolltransformoriginalt:["transformOriginAlt","scrollShouldBeConverted"],scrollgetposition:["getPosition","scroll"],transformperspective:["layer","transformPerspective"],transformperspectivein:["layer","transformPerspective"],transformperspectiveout:["layer","transformPerspective"],texttransformperspective:["text","transformPerspective"],texttransformperspectivein:["text","transformPerspective"],texttransformperspectiveout:["text","transformPerspective"],looptransformperspective:["loop","transformPerspective"],hovertransformperspective:["hover","transformPerspective"],parallaxtransformperspective:["parallax","transformPerspective"],scrolltransformperspective:["scroll","transformPerspective"]}}},e(window).on("resize.lsGlobal",function(){window._lsData.documentIsAccessible&&(window._lsData.document={width:document.body.scrollWidth,height:document.body.scrollHeight},window._lsData.viewport={lastWidth:window._lsData.viewport.width||0,lastHeight:window._lsData.viewport.height||0,width:e(window).width(),height:e(window).height()},e(window).trigger("scroll.lsGlobal"),window._lsData.resize.timeout&&clearTimeout(window._lsData.resize.timeout),window._lsData.resize.once?window._lsData.resize.once=!1:window._lsData.resize.timeout=setTimeout(function(){window._lsData.resize.once=!0,e(window).trigger("resize.lsGlobal")},100))}),e(window).on("scroll.lsGlobal",function(){window._lsData.documentIsAccessible&&(window._lsData.scroll.left=window.pageXOffset,window._lsData.scroll.top=window.pageYOffset,window._lsData.scroll.leftMax=window._lsData.document.width-window._lsData.viewport.width,window._lsData.scroll.topMax=window._lsData.document.height-window._lsData.viewport.height)}),e(document).on("wheel.lsGlobal ",function(e){0!==Math.abs(e.originalEvent.deltaY)&&(window._lsData.scroll.direction=e.originalEvent.deltaY<0?"up":"down")}),e(document).on("touchstart.lsGlobal ",function(e){window._lsData.ts=e.originalEvent.touches[0].clientY}),e(document).on("touchend.lsGlobal ",function(e){var t=e.originalEvent.changedTouches[0].clientY;window._lsData.ts>t+5?window._lsData.scroll.direction="down":window._lsData.ts .ls-layer, > .ls-slide"),s=0,o=r.defaults.slide.keys,n=0,l=a.length;n'))):p.data.$backgroundVideo=!1),d.find("> .ls-bg").length&&(p.data.$background=d.find("> .ls-bg").first()),p.data.thumbnail||(d.find("> .ls-tn").length?u=d.find("> .ls-tn").first():d.find("> .ls-bg").length&&(u=d.find("> .ls-bg").first()),u?(p.data.thumbnail=r.functions.getURL(u),p.data.tnAlt=r.functions.getALT(u)):p.data.thumbnail=r.o.skinsPath+r.o.skin+"/nothumb.png"),(p.data.customtransition2d||p.data.customtransition3d)&&"undefined"==typeof layerSliderCustomTransitions&&(delete p.data.customtransition2d,delete p.data.customtransition3d,r.debugMode&&r.debug.add("warn","sliderInit.customTransitions",s+1)),"visible"===c.overflow&&(p.data.overflow="visible"),p.data.$background||!p.data.backgroundColor||p.data.$backgroundVideo&&p.data.$backgroundVideo.length||(p.data.$background=e("").addClass("ls-bg").attr("src",r.defaults.init.emptyIMG).appendTo(d)),p.data.backgroundColor&&-1!==p.data.backgroundColor.indexOf("gradient")?p.data.backgroundGradient=p.data.backgroundColor:p.data.backgroundColor||(p.data.backgroundColor=""===d[0].style.backgroundColor?"transparent":d[0].style.backgroundColor),r.o.silentMode&&(p.data.transitionDuration=0),r.slides[++s]={data:e.extend(!0,{},r.defaults.slide.options.data,p.data),parallax:p.parallax,scroll:p.scroll,kenBurns:p.kenBurns,filter:p.filter,lottie:p.lottie,index:s,$layers:e(),plugins:p.plugins,effectLayers:d.find("[data-ls-effects]")},r.slider.thumbnails.push(p.data.thumbnail),r.plugins.callFunctions("initSlide",{slideElement:d,slideIndex:s,slideSettings:p}),r.layers.init(d,s)}r.debugMode&&r.debug.groupEnd("sliderInit.style")},set:{slideIndexes:function(){var e=r.slides;e.prev.index=e.current.index,e.current.index=e.next.index,e.next.index=r.slideshow.get.slideInSequence(r.slideshow.direction),e.set.slidesData(),r.slider.set.attributes(),r.slides.indexesCreated=!0},nextSlideIndex:function(e){var t=r.slides;t.next.index=e,t.set.slidesData()},slidesData:function(){var t=r.slides;t.prev=-1!==t.prev.index?e.extend(!0,{},t[t.prev.index]):{},t.current=-1!==t.current.index?e.extend(!0,{},t[t.current.index]):{},t.next=-1!==t.next.index?e.extend(!0,{},t[t.next.index]):{}},firstSlide:function(){var t=r.slides;if(t.first.index="random"===r.o.firstSlide?r.o.firstSlide:Math.max(r.functions.convert.properties(r.o.firstSlide,!0),1),r.o.shuffleSlideshow&&r.slides.count>2?r.o.twoWaySlideshow=!1:r.o.shuffleSlideshow=!1,t.first.index="random"==t.first.index?Math.floor(Math.random()*r.slides.count+1):t.first.index,document.location.hash){var i=r.slides.deeplink(document.location.hash,!0);i&&(r.slides.first.index=i)}t.first.index=t.first.index<1||t.first.index>r.slides.count?1:t.first.index,r.o.shuffleSlideshow&&"random"!=r.o.firstSlide&&(t.first.index=r.o.firstSlide),t[t.first.index]&&t[t.first.index].data&&(t.first.data=e.extend(!0,{},t[t.first.index].data)),r.o.playByScroll&&r.slideshow.set.normalizedSequence(),r.debugMode&&r.debug.options.firstSlide&&(t.first.index=r.debug.options.firstSlide)},actions:function(e,t){}},get:{deeplink:function(e){return e&&r.slides[e]&&r.slides[e].data&&r.slides[e].data.deeplink?r.slides[e].data.deeplink:null}},deeplink:function(e,t){for(var i=!1,a=1;a=a)return i.getTime()-a.getTime();switch(t){case"daily":var s=Math.ceil((a-i)/864e5);i.setDate(i.getDate()+s);break;case"weekly":var r=Math.ceil((a-i)/6048e5);i.setDate(i.getDate()+7*r);break;case"monthly":var o=12*(a.getFullYear()-i.getFullYear())+a.getMonth()-i.getMonth();i.getDate()>a.getDate()&&o--,i.setMonth(i.getMonth()+o+1);break;case"yearly":var n=a.getFullYear()-i.getFullYear();(i.getMonth()>a.getMonth()||i.getMonth()===a.getMonth()&&i.getDate()>a.getDate())&&n--,i.setFullYear(i.getFullYear()+n+1)}return i.getTime()-a.getTime()},startInterval:function(e,t){r.countdown.setLayerTimer(e,t),r.countdown.stopInterval(t),t.interval=setInterval(function(){r.countdown.setLayerTimer(e,t)},1e3)},setLayerTimer:function(e,t){e.text(this.calculateDate(t))},stopInterval:function(e){e.interval&&clearInterval(e.interval)}},r.counter={start:function(e,t){this.stop(t);var i=parseFloat(t.start),a=parseFloat(t.end),s=i>a?i:a,n=i .ls-wrapper"),t.settings.trmask&&t.elements.$outerStyleWrapper.css("overflow","hidden"),t.elements.$outerWrapper.attr("data-slide-index",i),t.elements.$innerWrapper=e.closest(".ls-wrapper").addClass("ls-inner-wrapper"),t.elements.$_innerWrappers=t.elements.$outerWrapper.find(".ls-wrapper"),t.elements.$_allWrappers=t.elements.$outerWrapper.add(t.elements.$_innerWrappers),t.elements.$_outerWrappers=t.elements.$outerWrapper.add(t.elements.$outerWrapper.find(".ls-wrapper:not(.ls-inner-wrapper)"))},singleLayer:function(e,t){var i=e.data(r.defaults.init.dataKey);r.plugins.callFunctions("wrapSingleLayerBeforeStyle",{$layer:e,layerData:i,slideIndex:t}),r.layers.set.style(e),r.plugins.callFunctions("wrapSingleLayerBeforeProperties",{$layer:e,layerData:i,slideIndex:t}),r.layers.set.properties(e,t),r.layers.set.dataAttribute("add",e,"hidden"),r.plugins.callFunctions("wrapSingleLayerEnd",{$layer:e,layerData:i,slideIndex:t}),e.data("hasBeenSet",!0)},style:function(t){var i,a,s,o,n,l,d,c,p,u,m,h,f,g,y,v,x,S,w,b,T,k,C,O,P,I,L=t[0],_=t.data(r.defaults.init.dataKey),M=L.style,F=r.layers,$=null,W=null,B=null,D=null,z=0,A=0,N=!1,V=parseFloat(L.style.fontSize)||36,R=L.getBoundingClientRect(),E=t.is("img, picture")?1:window.LS_previewZoom||1;if(u=""!==M.paddingLeft?F.getStyle(M.paddingLeft,r.slider.initial.percW):F.getStyle(t.css("padding-left"),r.slider.initial.percW),h=""!==M.paddingRight?F.getStyle(M.paddingRight,r.slider.initial.percW):F.getStyle(t.css("padding-right"),r.slider.initial.percW),m=""!==M.paddingTop?F.getStyle(M.paddingTop,r.slider.initial.percH):F.getStyle(t.css("padding-top"),r.slider.initial.percH),f=""!==M.paddingBottom?F.getStyle(M.paddingBottom,r.slider.initial.percH):F.getStyle(t.css("padding-bottom"),r.slider.initial.percH),g=""!==M.marginLeft?F.getStyle(M.marginLeft,r.slider.initial.percW):F.getStyle(t.css("margin-left"),r.slider.initial.percW),v=""!==M.marginRight?F.getStyle(M.marginRight,r.slider.initial.percW):F.getStyle(t.css("margin-right"),r.slider.initial.percW),y=""!==M.marginTop?F.getStyle(M.marginTop,r.slider.initial.percH):F.getStyle(t.css("margin-top"),r.slider.initial.percH),x=""!==M.marginBottom?F.getStyle(M.marginBottom,r.slider.initial.percH):F.getStyle(t.css("margin-bottom"),r.slider.initial.percH),L.style.margin="0",w=""!==M.borderLeftWidth?F.getStyle(M.borderLeftWidth,r.slider.initial.percW):F.getStyle(t.css("border-left-width"),r.slider.initial.percW),T=""!==M.borderRightWidth?F.getStyle(M.borderRightWidth,r.slider.initial.percW):F.getStyle(t.css("border-right-width"),r.slider.initial.percW),b=""!==M.borderTopWidth?F.getStyle(M.borderTopWidth,r.slider.initial.percH):F.getStyle(t.css("border-top-width"),r.slider.initial.percH),k=""!==M.borderBottomWidth?F.getStyle(M.borderBottomWidth,r.slider.initial.percH):F.getStyle(t.css("border-bottom-width"),r.slider.initial.percH),1===r.media.properties.$allMediaLayers.filter(t).length||t.children("iframe").length){var H=t.children(),Y=H.attr("width")?H.attr("width"):H.width(),X=H.attr("height")?H.attr("height"):H.height();300===parseInt(Y)&&150===parseInt(X)&&(Y=640,X=360),""!==L.style.width&&"auto"!==L.style.width||t.css("width",Y),""!==L.style.height&&"auto"!==L.style.height||t.css("height",X),"100%"===M.width&&"100%"===M.height&&(M.left="50%",M.top="50%"),N=Y/X,H.css({width:"100%",height:"100%"})}var G=_.attributes;if(t.is("img, picture")){var j=t.is("img")?t:t.find("img");C=(o=j.data("preloadedWidth"))/(n=j.data("preloadedHeight")),(!M.width&&!M.height||"auto"===M.width&&"auto"===M.height)&&G&&(G.width&&G.height?(-1===G.width.indexOf("%")?a=parseInt(G.width):(z=parseInt(G.width),a=F.getStyle(G.width,r.slider.initial.percW)),-1===G.height.indexOf("%")?s=parseInt(G.height):(A=parseInt(G.height),s=F.getStyle(G.height,r.slider.initial.percH))):G.maxWidth&&(t[0].style.width=G.maxWidth+"px",a=G.maxWidth,s=t.height()))}P=R.width?R.width/E:(R.right-R.left)/E,I=R.height?R.height/E:(R.bottom-R.top)/E,a||(a=M.width,-1!==M.width.indexOf("%")&&(z=parseInt(M.width)),a=(a=""!==a&&"auto"!==a?F.getStyle(a,r.slider.initial.percW):P-r.layers.toNum(u,V)-r.layers.toNum(h,V)-r.layers.toNum(w,V)-r.layers.toNum(T,V))||"auto"),s||(s=M.height,-1!==M.height.indexOf("%")&&(A=parseInt(M.height)),s=(s=""!==s&&"auto"!==s?F.getStyle(s,r.slider.initial.percH):I-r.layers.toNum(m,V)-r.layers.toNum(f,V)-r.layers.toNum(b,V)-r.layers.toNum(k,V))||"auto"),0===parseInt(s)&&(t.addClass("ls-force-height-auto"),parseInt(L.getBoundingClientRect().height),t.removeClass("ls-force-height-auto")),O=N||("auto"!==a&&"auto"!==s?a/s:"auto"),!t.is("img, picture")||M.width||M.height||G&&(!G||G.width||G.height)||o===a&&n===s||(o!==a?s=(a=o>5?o:a)/(O=o>5?C:O):n!==s&&(a=(s=n>5?n:s)*(O=n>5?C:O))),(i=M.clipPath||M.clip||!1)&&(_.clip.style.css.clipPath=i,_.clip.userDefined=!0,M.clip="",M.clipPath=""),S=M.webkitFilter||M.filter;M.minWidth&&""!==M.minWidth&&(-1!==M.minWidth.indexOf("%")&&(l=parseInt(M.minWidth)),$=-1!==M.minWidth.indexOf("em")?M.minWidth:parseFloat(M.minWidth)),M.minHeight&&""!==M.minHeight&&(-1!==M.minHeight.indexOf("%")&&(d=parseInt(M.minHeight)),W=-1!==M.minHeight.indexOf("em")?M.minHeight:parseFloat(M.minHeight)),M.maxWidth&&""!==M.maxWidth&&(-1!==M.maxWidth.indexOf("%")&&(c=parseInt(M.maxWidth)),B=-1!==M.maxWidth.indexOf("em")?M.maxWidth:parseFloat(M.maxWidth)),M.maxHeight&&""!==M.maxHeight&&(-1!==M.maxHeight.indexOf("%")&&(p=parseInt(M.maxHeight)),D=-1!==M.maxHeight.indexOf("em")?M.maxHeight:parseFloat(M.maxHeight)),a="auto"===a?"auto":parseFloat(a),s="auto"===s?"auto":parseFloat(s),_.original={clip:i,left:M.left?M.left:"0",top:M.top?M.top:"0",width:a,height:s,minWidth:$,minHeight:W,maxWidth:B,maxHeight:D,sWidth:M.width,sHeight:M.height,percentWidth:z,percentHeight:A,percentMinWidth:l||null,percentMinHeight:d||null,percentMaxWidth:c||null,percentMaxHeight:p||null,backgroundImage:M.backgroundImage,backgroundSize:M.backgroundSize||"cover",backgroundRepeat:M.backgroundRepeat,backgroundPosition:M.backgroundPosition,ratio:O,paddingLeft:u,paddingTop:m,paddingRight:h,paddingBottom:f,marginLeft:g,marginRight:v,marginTop:y,marginBottom:x,borderLeftWidth:w,borderTopWidth:b,borderRightWidth:T,borderBottomWidth:k,borderRadius:function(t,i){var a=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],s="";return i.borderRadius&&(-1===i.borderRadius.indexOf("/")?e.each(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],function(r,o){var n=i[a[r]],l=t.css(o),d=e.trim(void 0!==n&&n.length?n:l);-1==d.indexOf(" ")&&-1==d.indexOf("em")&&-1==d.indexOf("%")&&(d=parseInt(d)),s+=d+" "}):s=i.borderRadius),e.trim(s)}(t,M),fontSize:V,lineHeight:L.style.lineHeight,letterSpacing:L.style.letterSpacing,textStrokeWidth:L.style.textStrokeWidth||L.style.webkitTextStrokeWidth,color:t.css("color"),boxShadow:L.style.boxShadow,textShadow:L.style.textShadow,zIndex:parseInt(t.css("z-index"))||"auto",filter:S,backgroundColor:t.css("background-color"),dataLS:t.attr("data-ls")||"",styles:t.attr("style")||""},M.width&&"auto"!==M.width||(_.original.autoWidth=!0),M.height&&"auto"!==M.height||(_.original.autoHeight=!0),M.zIndex="auto",_.responsive={left:M.left?parseInt(M.left):0,top:M.top?parseInt(M.top):0,width:a,height:s},t.is("picture")&&t.css({width:_.original.width,height:_.original.height}),r.plugins.callFunctions("setLayerStyleEnd",{$layer:t,layerData:_})},parseScaleProperties:function(e){for(var t=[{x:"scalexin",y:"scaleyin",s:"scalein"},{x:"textscalexin",y:"textscaleyin",s:"textscalein"},{x:"loopscalex",y:"loopscaley",s:"loopscale"},{x:"textscalexout",y:"textscaleyout",s:"textscaleout"},{x:"scalexout",y:"scaleyout",s:"scaleout"},{x:"hoverscalex",y:"hoverscaley",s:"hoverscale"}],i=0;i0||-1===n.loop.count)&&!1!==n.loop.enabled?(n.loop.enabled=!0,n.loopTo.ease=n.loopClipTo.ease=r.functions.convert.easing(n.loop.ease)):n.loop.enabled=!1,(!e.isEmptyObject(n.hoverToCSS)||n.hoverShouldBeConverted.x||n.hoverShouldBeConverted.y||n.hoverShouldBeConverted.borderRadius||n.hoverShouldBeConverted.filter)&&!1!==n.hover.enabled?(n.hover.enabled=!0,n.hover.easeOut||(n.hover.easeOut=n.hover.easeIn),n.hover.easeIn=r.functions.convert.easing(n.hover.easeIn),n.hover.easeOut=r.functions.convert.easing(n.hover.easeOut,!0),n.hover.durationOut||(n.hover.durationOut=n.hover.durationIn),o.TweenMax.set(t[0],{autoCSS:!1,css:{transformPerspective:n.hoverShouldBeConverted.transformPerspective}})):n.hover.enabled=!1,n.hover.skipGlobal&&t.attr("data-ls-skipglobalhover",""),"level"in n.parallax&&e.isNumeric(n.parallax.level)&&n.parallax.enabled?("cursor"!==n.parallax.event&&n.parallax.event||!n.parallax.reset||t.attr("data-ls-parallax-reset",""),n.parallax.enabled=!0):n.parallax.enabled=!1,n.is.slideBackground){var O={scale:1,rotation:0};if(r.slides[i].kenBurns.zoom&&(n.kenBurns=r.slides[i].kenBurns),n.kenBurns.zoom){switch(n.kenBurns.from={},n.kenBurns.to={},n.kenBurns.zoom){case"out":n.kenBurns.from.scale=n.kenBurns.scale||1,n.kenBurns.from.rotation=n.kenBurns.rotation||0,n.kenBurns.to=O;break;case"in":n.kenBurns.from=O,n.kenBurns.to.scale=n.kenBurns.scale||1,n.kenBurns.to.rotation=n.kenBurns.rotation||0}delete n.kenBurns.scale,delete n.kenBurns.rotation}else n.kenBurns.from=O,n.kenBurns.to=O;e.isEmptyObject(r.slides[i].filter)||(r.slides[i].filter.from&&(n.filter.values.bgFrom=r.transitions.layers.filters.convert(r.slides[i].filter.from)),r.slides[i].filter.to&&(n.filter.values.bgTo=r.transitions.layers.filters.convert(r.slides[i].filter.to)))}if(n.textIn.type&&-1===r.defaults.layer.splitTypeKeys.indexOf(n.textIn.type)&&(r.debugMode&&r.debug.add("warn","layerInit.splitType3a",[t[0].tagName,n.textIn.type]),delete n.textIn.type,delete n.textIn.ns,n.textIn.enabled=!1),n.textOut.type&&-1===r.defaults.layer.splitTypeKeys.indexOf(n.textOut.type)&&(r.debugMode&&r.debug.add("warn","layerInit.splitType3b",[t[0].tagName,n.textOut.type]),delete n.textOut.type,delete n.textOut.ns,n.textOut.enabled=!1),n.textIn.enabled&&!n.textIn.type&&(n.textIn.type="chars_asc"),n.textOut.enabled&&!n.textOut.type&&(n.textOut.type="chars_desc"),n.textIn.type||n.textOut.type){var P=0;if(n.is.textLayer?(n.inLayerToCSS.rotation||(n.inLayerToCSS.rotation=1e-6),n.textIn.type&&(n.textIn.enabled=!0,n.textInNodesTo.ease=r.functions.convert.easing(n.textInNodesTo.ease),n.textIn.split=n.textIn.type.split("_")[0],t.children().length&&r.debugMode&&(P=1)),n.textOut.type&&!r.o.inLayerPreview&&(n.textOut.enabled=!0),n.textOut.enabled&&(n.textOutNodesTo.ease=r.functions.convert.easing(n.textOutNodesTo.ease)),n.textOut.enabled&&n.textOut.type.split("_")[0]!==n.textIn.split&&(n.textIn.split+=", "+n.textOut.type.split("_")[0],t.children().length&&r.debugMode&&(P=1)),-1!==n.textIn.split.indexOf("chars")&&-1===n.textIn.split.indexOf("words")&&(n.textIn.split+=", words"),-1!==n.textIn.split.indexOf("words")&&-1===n.textIn.split.indexOf("lines")&&(n.textIn.split+=", lines")):(delete n.textIn.type,delete n.textOut.type,delete n.textIn.ns,delete n.textOut.ns,r.debugMode&&(P=2)),r.debugMode&&0!==P&&i&&!a)switch(P){case 1:r.debug.add("warn","layerInit.splitType1",[t.prop("nodeName"),i]);break;case 2:r.debug.add("warn","layerInit.splitType2",[i,t.prop("nodeName")])}}if((n.inClipFromCSS.clipPath||n.outClipToCSS.clipPath||n.loopClipToCSS.clipPath||n.clip.style.css.clipPath!==n.clip.default.css.clipPath||n.clip.userDefined)&&(n.inClipFromCSS.clipPath?"="==n.inClipFromCSS.clipPath&&(n.inClipFromCSS.clipPath=n.clip.style.css.clipPath):n.inClipFromCSS.clipPath=n.clip.default.css.clipPath,n.outClipToCSS.clipPath?"="==n.outClipToCSS.clipPath&&(n.outClipToCSS.clipPath=n.clip.style.css.clipPath):n.outClipToCSS.clipPath=n.clip.default.css.clipPath,n.clip.enabled=!0),n.textOutNodesTo.clipPath&&!n.textInNodesFrom.clipPath&&(n.clip.textShouldReset=!0),n.textIn.enabled&&"textmask"===n.textInLayerStyle.overflow&&t.attr("data-ls-mask-text-in",""),n.textOut.enabled&&"textmask"===n.textOutLayerStyle.overflow&&t.attr("data-ls-mask-text-out",""),n.in.enabled&&n.inLayerToCSS.hasOwnProperty("scale")&&(delete n.inLayerToCSS.scaleX,delete n.inLayerToCSS.scaleY),n.out.enabled&&n.outLayerToCSS.hasOwnProperty("scale")&&(delete n.outLayerToCSS.scaleX,delete n.outLayerToCSS.scaleY),n.inLayerStyleShouldBeConvertedFrom.filter&&(n.filter.values.in=r.transitions.layers.filters.convert(n.inLayerStyleShouldBeConvertedFrom.filter)),n.filter.values.style=r.transitions.layers.filters.convert(n.original.filter),n.outLayerStyleShouldBeConvertedTo.filter&&(n.filter.values.out=r.transitions.layers.filters.convert(n.outLayerStyleShouldBeConvertedTo.filter)),n.loopLayerShouldBeConverted.filter&&(n.filter.values.loop=r.transitions.layers.filters.convert(n.loopLayerShouldBeConverted.filter)),n.hoverShouldBeConverted.filter&&(n.filter.values.hover=r.transitions.layers.filters.convert(n.hoverShouldBeConverted.filter)),n.in.enabled||(n.in.duration=0),n.textIn.enabled||(n.textIn.duration=0),n.textOut.enabled||(n.textOut.duration=0),n.out.enabled||(n.out.duration=0),t.attr("data-ls-slidein",i),void 0!==n.settings.static&&"none"!==n.settings.static){if(0!==(s=parseInt(n.settings.static))&&"forever"!==n.settings.static?(t.attr("data-ls-slideout",s),n.settings.slideOut=s):n.settings.slideOut=0,n.is.static=!0,t.attr("data-ls-static","1"),!n.staticSlides)if(n.staticSlides=[],0===n.settings.slideOut)for(s=1;s<=r.slides.count;s++)n.staticSlides.push(s);else if(n.settings.slideIn<=n.settings.slideOut)for(s=n.settings.slideIn;s<=n.settings.slideOut;s++)n.staticSlides.push(s);else{for(s=n.settings.slideIn;s<=r.slides.count;s++)n.staticSlides.push(s);for(s=1;s<=n.settings.slideOut;s++)n.staticSlides.push(s)}}else t.attr("data-ls-slideout",i);n.is.mediaLayer&&t.children("video, audio").length&&r.media.html5.singleInit(t.children("video, audio").eq(0)),n.is.backgroundVideo&&n.styleSettings.overlay&&t.find(".ls-bg-video-overlay").css({backgroundImage:"url("+n.styleSettings.overlay+")"}),n.styleSettings.minfontsize&&(n.styleSettings.minfontsize=parseFloat(n.styleSettings.minfontsize)),n.styleSettings.minmobilefontsize&&(n.styleSettings.minmobilefontsize=parseFloat(n.styleSettings.minmobilefontsize)),r.slider.isPopup&&(n.is.pinned=!1),n.is.pinned&&(r.slider.hasPinnedLayers=!0,r.slider.$layersWrapper.is(".ls-layers-clip")||r.slider.$layersWrapper.addClass("ls-layers-clip"),!l.isMobile&&!r.browser.isSafari||r.slider.$layersWrapper.is(".ls-m-layers-clip")||r.slider.$layersWrapper.addClass("ls-m-layers-clip")),n.styleSettings.smartbg&&(t.attr("data-ls-smart-bg","").css("--bgs",n.original.backgroundSize),n.styleSettings.smartbg=n.styleSettings.smartbg.toString(),n.settings.smartbgease&&(n.settings.smartbgease=r.functions.convert.easing(n.settings.smartbgease)),n.is.smartBG=!0)},dataAttribute:function(t,i,a){var s=i.add(i.closest(".ls-wrapper.ls-z"));e.isArray(a)||(a=(a+"").split(" "));for(var r=0;r video"),s("audio")&&(p+=", > audio"),s("html5")&&(p+=", > video, > audio"),s("youtube")&&(p+=', > iframe[src*="youtube-nocookie.com"], > iframe[src*="youtube.com"], > iframe[src*="youtu.be"], > iframe[data-src*="youtube-nocookie.com"], > iframe[data-src*="youtube.com"], > iframe[data-src*="youtu.be"]'),s("vimeo")&&(p+=', > iframe[src*="player.vimeo"], > iframe[data-src*="player.vimeo"]'),","===p.charAt(0)&&(p=p.substring(2)),(s("img")||s("image"))&&(n="img"),(s("bg")||s("background")||s("bgonly"))&&(d=""),i=s("current")?i.filter(n+"[data-ls-slide"+l+'="'+r.slides.current.index+'"]'+d+c):s("next")?i.filter(n+"[data-ls-slide"+l+'="'+r.slides.next.index+'"]'+d+c):i.filter(n+d+c),s("notactive")&&(i=i.filter(".ls-bg, .ls-bg-video, :hidden")),s("clone")&&(i=i.filter(".ls-clone")),s("active")&&(i=i.filter(':visible:not(.ls-bg, .ls-bg-video), [data-ls-static="1"]:not([data-ls-hidden])')),s("notstatic")&&(i=i.filter(':not([data-ls-static="1"])')),s("static")&&(i=i.filter('[data-ls-static="1"]')),s("bgonly")&&(i=i.filter(".ls-bg")),s("countdown")&&(i=i.filter("[data-countdown]")),s("staticin")&&(i=i.filter("[data-ls-static-in]")),s("notstaticin")&&(i=i.filter(":not([data-ls-static-in])")),s("staticout")&&(i=i.filter("[data-ls-static-out]")),s("notstaticout")&&(i=i.filter(":not([data-ls-static-out])")),""!==p&&(i=i.find(p))}return i},update:{data:function(t,i,a){var s,o,n;switch(t instanceof jQuery||(t=e(t)),a&&t.attr("data-ls",a).data("ls",a),s=(o=t.data(r.defaults.init.dataKey)).is.onSlide,n=o.original,i){default:case"transitions":o.settings.timelineIsCalculated=!1,r.layers.set.properties(t,s,!0);break;case"all":t.data(r.defaults.init.dataKey,new r.defaults.layer.options(t,s)),(o=t.data(r.defaults.init.dataKey)).original=n,r.layers.set.properties(t,s,!0),r.layers.set.wrappers(t,o,s)}}},wrap:function(t,a){if(!r.slides[t].wrapped&&"wrapping"!==r.slides[t].wrapped){r.slides[t].wrapped="wrapping";var s=a?25:0,n=r.slides[t].$layers,l=n.length;0===l?r.slides[t].wrapped=!0:n.each(function(a,n){r.timeouts["slide-"+t+"-layer-"+a]=setTimeout(function(){delete r.timeouts["slide-"+t+"-layer-"+a];var s,d=e(n),c=d,p="",u=!1,m="";d.hasClass("ls-hide-phone")&&(m+=" ls-hide-on-phone"),d.hasClass("ls-hide-tablet")&&(m+=" ls-hide-on-tablet"),d.hasClass("ls-hide-desktop")&&(m+=" ls-hide-on-desktop"),d.removeClass("ls-hide-phone ls-hide-tablet ls-hide-desktop"),c.is("a")&&1===c.children().length&&(u=!0,d=c.find(".ls-layer"));var h=d.data(r.defaults.init.dataKey);if(!h)return!0;if(s=d.data("$layerGroup")||r.slider.$layersWrapper,h.is.backgroundVideo?s=r.slider.$bgVideosWrapper:h.is.slideBackground?s=r.slider.$slideBGWrapper:h.is.inMask&&(r.slider.$maskWrapper.show(),s=r.slider.$maskWrapper),d.data("hasBeenSet")||r.layers.set.singleLayer(d,t),h.textIn.split){var f=new o.SplitType(d[0],{split:h.textIn.split});if(h.textIn.type&&(h.textIn.ns=f[h.textIn.type.split("_")[0]]),h.textOut.type&&(h.textOut.ns=f[h.textOut.type.split("_")[0]]),-1!==d.css("background-clip").indexOf("text")){var g=d.find(".ls-ch"),y=d.find(".ls-wd"),v=d.find(".ls-ln");h.textIn.$nodesForBackgroundClip=g.length?g:y.length?y:v,g.length?d.addClass("ls-has-chars"):y.length?d.addClass("ls-has-words"):d.addClass("ls-has-lines"),h.textIn.$nodesForBackgroundClip.each(function(){var t=e(this),i=e.trim(t.text()),a=document.createTextNode(i),s=e(a),r=e('
').css({backgroundColor:h.original.backgroundColor,backgroundImage:h.original.backgroundImage,backgroundSize:h.original.backgroundSize,backgroundRepeat:h.original.backgroundRepeat,backgroundPosition:h.original.backgroundPosition});t.css({verticalAlign:"top"}).text(""),s.clone().appendTo(t).wrap('
'),s.appendTo(t).wrap(r)})}}h.is.slideBackground||h.is.backgroundVideo?p='
':(h.clip.enabled&&(p='
'),h.loop.enabled&&(p='
'+p+"
"),h.scroll.enabled&&(p='
'+p+"
"),p='
'+p+"
"),h.parallax.enabled&&(p='
'+p+"
"),""!==(p='
'+p+"
")?d.appendTo(s).wrap(p):d.appendTo(s),!0===u&&c.addClass("ls-layer-link").appendTo(d.parent());var x={},S=d.css("mix-blend-mode");S&&"normal"!==S&&(x["mix-blend-mode"]=S,d.css("mix-blend-mode","normal")),h.original.customZIndex=1;var w=parseInt(h.original.zIndex);h.is.backgroundVideo||h.is.slideBackground?x={zIndex:h.original.customZIndex}:(w||(w=a+101),x.zIndex=w,h.original.customZIndex=w),r.browser.isSafari&&(x.transform="translateZ(0)"),r.layers.set.wrappers(d,h,t),h.elements.$outerWrapper.css(x).addClass(m),h.styleSettings.pointerevents&&h.elements.$innerWrapper.css("pointer-events","none"),h.is.slideBackground&&h.elements.$bgWrapper.css({backgroundColor:r.slides[t].data.backgroundColor,backgroundImage:r.slides[t].data.backgroundGradient}),r.layers.$all=r.layers.$all.add(d),d.attr("data-ls-layer-id",r.layers.$all.length),r.slides[t].$layers=r.slides[t].$layers.not(c),a===l-1&&(i.children(".ls-slide").eq(t-1).empty(),r.slides[t].wrapped=!0),r.plugins.callFunctions("wrapLayerEnd",{$layer:d,layerData:h,slideIndex:t})},s*(a+1))})}}},r.slideshow={direction:"next",nextLoop:0,firstStart:!0,forceFastChange:!1,sequence:{normal:[],randomized:[]},state:{changed:-1,running:!0,paused:!1,pausedByVideo:!1,pausedByHover:!1,pausedByLastCycle:!1},should:{change:!1,start:!1,stop:!1},isPaused:function(){return this.state.paused||this.state.pausedByVideo||this.state.pausedByHover||this.state.pausedByPerformance},init:function(){1==r.slides.count&&e.extend(r.o,{autoStart:!1,navPrevNext:!1,navStartStop:!1,navButtons:!1,cycles:-1,forceLoopNum:!1,autoPauseSlideshow:!0,firstSlide:1,thumbnailNavigation:"disabled"}),r.o.autoStart&&1!=r.slides.count||r.functions.setStates(this,{running:!1,paused:!0}),this.set.pauseOnHover(),this.set.sequences()},set:{pauseOnHover:function(){r.o.pauseOnHover=!0===r.o.pauseOnHover?"slideshowOnly":r.o.pauseOnHover,!1!==r.o.pauseOnHover&&i.on("mouseenter."+s,function(){r.slider.state.inFullscreen||(r.functions.setStates(r.slideshow,{pausedByHover:!0}),"slideshowOnly"!==r.o.pauseOnHover&&r.transitions.layers.timeline.pause())}).on("mouseleave."+s,function(){var t=1;r.timelines._layers&&r.timelines._layers.duration()>r.transitions.layers.timeline.totalDuration&&(t=r.transitions.layers.timeline.totalDuration/r.timelines._layers.duration()),r.functions.setStates(r.slideshow,{pausedByHover:!1}),e("body").hasClass("ls-unselectable")||"slideshowOnly"===r.o.pauseOnHover||r.o.pauseLayers&&r.slideshow.isPaused()||r.transitions.layers.timeline.resume(),r.timelines._layers&&r.transitions.layers.timeline.state.finished&&r.timelines._layers.progress()0&&(r.slideshow.curCycle=1,r.slideshow.cycleSlideIndex=r.slideshow.get.indexOfSlideInSequence(r.slides.first.index))},check:function(e){if(r.slideshow.get.indexOfSlideInSequence(e)===r.slideshow.cycleSlideIndex)return++r.slideshow.curCycle===r.o.cycles+1}},start:function(e){!this.isPaused()&&r.timelines._layers&&r.transitions.layers.timeline.state.finished&&this.changeTo(r.slides.next.index)},stop:function(){r.functions.setStates(this,{running:!1,paused:!0})},changeTo:function(i,a,s,o){if(!document.body.contains(t))return!1;if(r.slides.current.index===i&&!r.slideshow.forceSlideChangeTo)return!1;if(r.slideshow.forceSlideChangeTo=null,!this.firstStart&&r.api.hasEvent("slideChangeWillStart")){var n=r.api.triggerEvent("slideChangeWillStart",r.api.eventData());if(!1===n)return;e.isNumeric(n)&&(i=parseInt(n))}i>r.slides.count||i<1?r.debugMode&&(r.debug.add("group","slideshow"),r.debug.add("warn","slideshow.invalidSlideIndex",[i,r.slides.count]),r.debug.groupEnd()):r.slider.isBusy()||r.slideshow.state.pausedByVideo&&!a?!r.slider.state.preloadingImages&&r.slider.state.animatingSlides&&r.timelines._slideTransition&&(r.slideshow.forceSlideChangeTo=i,r.slideshow.should.change=!0,r.transitions.slide.isStarted&&r.timelines._slideTransition.progress(1),o&&(r.navigation.direction=o,r.navigation.forceDirection=o)):(r.functions.setStates(r.transitions.layers.timeline,{finished:!1}),r.slideshow.should.change=!1,r.debugMode&&r.debug.add("group","slideshow"),a?(s&&(r.navigation.direction=r.slides.current.index>i?"prev":"next"),r.o.twoWaySlideshow&&("prev"===r.navigation.direction?r.slideshow.direction="prev":r.slideshow.direction="next"),r.debugMode&&(r.debug.add("log","slideshow.changedByUser",!1),r.o.twoWaySlideshow&&r.debug.add("log","slideshow.setdir",r.slideshow.direction))):r.navigation.direction=r.slideshow.direction,r.transitions.timers.reverse(),r.gui.media.hideUnmute(),r.slides.set.nextSlideIndex(i),r.debugMode&&(r.debug.add("log","slideshow.change",[r.slides.current.index,r.slides.next.index,r.slideshow.direction,r.navigation.direction]),r.debug.groupEnd()),r.functions.setStates(this,{pausedByVideo:!1,changed:++this.state.changed}),r.functions.setStates(r.slider,{changingSlides:!0}),r.slider.state.animatingSlides&&r.timelines._slideTransition&&r.timelines.to([r.timelines.slides[r.slides.current.index],"_forceOut _forceOutMirror",1,!0,!0,!0,!0]),r.preload.imagesOfSlide(r.slides.next.index,function(){r.transitions.start()}))},forceStop:function(){r.navigation.stop(),e.each(r.timeouts,function(e,t){clearTimeout(r.timeouts[e])}),r.transitions.timers.stop(),r.timelines._layers.stop(),r.timelines._layersAlt.stop(),r.functions.setStates(r.transitions.layers.timeline,{stopped:!0,running:!1}),i.find("*").stop(!0,!1).dequeue()},restart:function(){i.find("*").stop(),r.navigation.change(r.slides.current.index,r.slideshow.direction)}},r.media={properties:{$allMediaLayers:e(),playingInCurSlide:0,endedInCurSlide:0,userDidUnmute:!1},init:function(){r.functions.setStates(r.slider,{waitingForYouTube:!1,waitingForVimeo:!1}),r.media.properties.allowToUnmute=!0,r.media.youtube.init(),r.media.vimeo.init(),r.media.html5.init()},isPlayable:function(e,t){return!(e.is("[data-ls-animating-out], [data-ls-hidden]")&&!t.is.backgroundVideo)},get:function(e){var t,i=r.media.properties.$allMediaLayers;return e&&(-1!==(e=e.toLowerCase()).indexOf("notbg")&&(i=i.not(".ls-bg-video")),-1!==e.indexOf("active")&&(i=i.filter("[data-ls-active], [data-ls-animating-in], [data-ls-text-animating-in]")),-1!==e.indexOf("notstatic")&&(i=i.not("[data-ls-static]")),t=i.find("video, audio, iframe"),-1!==e.indexOf("notplaying")?t=t.filter("[data-ls-not-playing]"):-1!==e.indexOf("playing")&&(t=t.filter("[data-ls-playing]")),-1!==e.indexOf("allowtounmute")&&(t=t.filter("[data-ls-allow-to-unmute]")),-1!==e.indexOf("mutedbybrowser")&&(t=t.filter("[data-ls-muted-by-browser]"))),t},set:{backgroundVideo:function(t,i){if(0===t.children(".ls-vpcontainer").length){var a=e("
").addClass("ls-vpcontainer").appendTo(t);i.mediaSettings.poster&&e("
").appendTo(a).addClass("ls-videopreview").attr({style:"background-image: url("+i.mediaSettings.poster+")"})}},customPoster:function(e,t){return t.mediaSettings.poster||!1},dataAttribute:function(e,t){e.removeAttr("data-ls-playing data-ls-not-playing"),e.attr("data-ls-"+t,""),r.media.functions.checkSlideshowWaiting()},mediaElements:function(t,i,a){var s=e("
").addClass("ls-vpcontainer").appendTo(t);!("autoplay"in a.mediaSettings)&&r.o.autoPlayVideos||a.mediaSettings.autoplay?"instant"===a.mediaSettings.autoplay?t.addClass("ls-instant-autoplay"):t.addClass("ls-autoplay"):e("
").appendTo(s).addClass("ls-playvideo"),i.is("iframe")&&a.mediaProperties.poster&&e("
").appendTo(s).addClass("ls-videopreview").attr({style:"background-image: url("+a.mediaProperties.poster+")"}),i.is("video, audio")&&a.mediaProperties.poster&&e("
").appendTo(s).addClass("ls-videopreview").attr({style:"background-image: url("+a.mediaProperties.poster+")"})},properties:function(t,i,a){switch(a.is.mediaLayer=!0,a.mediaProperties.type){case"youtube":a.is.backgroundVideo?(a.mediaProperties.options=e.extend(!0,{loop:1,playlist:a.mediaProperties.embedID,controls:0,autoplay:0,showinfo:!1,modestbranding:1,thumbnail:!1},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions),r.media.set.backgroundVideo(t,a)):(a.mediaProperties.options=e.extend(!0,{},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions,{autoplay:0}),r.media.set.mediaElements(t,i,a));break;case"vimeo":a.is.backgroundVideo?(a.mediaProperties.options=e.extend(!0,{loop:1,byline:0,portrait:0,title:0,fun:0},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions),r.media.set.backgroundVideo(t,a)):(a.mediaProperties.options=e.extend(!0,{},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions,{autoplay:0}),r.media.set.mediaElements(t,i,a));break;case"html5":i.attr("autoplay")&&(i.removeAttr("autoplay"),t.attr("data-ls",t.attr("data-ls")+" autoplay: true;")),a.is.backgroundVideo?(i.removeAttr("controls"),i[0].muted=!0,i.attr("loop","")):"controls"in a.mediaSettings&&"auto"!==a.mediaSettings.controls&&(a.mediaSettings.controls?(i.attr("controls",""),i.removeAttr("nocontrols")):i.removeAttr("controls")),"volume"in a.mediaSettings&&(a.mediaSettings.volume<0?a.mediaSettings.volume=0:a.mediaSettings.volume>100&&(a.mediaSettings.volume=100),i[0].volume=a.mediaSettings.volume/100),"muted"in a.mediaSettings&&(a.mediaSettings.muted?i[0].muted=!0:i[0].muted=!1),"loop"in a.mediaSettings&&(a.mediaSettings.loop?i.attr("loop",""):i.removeAttr("loop")),a.is.backgroundVideo?r.media.set.backgroundVideo(t,a):r.media.set.mediaElements(t,i,a)}},thumbnail:function(e,t){switch(t){case"show":e.stop(!0,!0).fadeIn(r.transitions.media.defaults.fadeIn);break;case"hide":e.stop(!0,!0).delay(r.transitions.media.defaults.delay).fadeOut(r.transitions.media.defaults.fadeOut)}}},events:{start:function(e,t,i){if(r.api.hasEvent("mediaDidStart")&&!i.mediaProperties.alreadyStarted&&r.media.functions.allowedToPlay(e,i)){var a=r.api.eventData();a.event.target=e[0],r.api.triggerEvent("mediaDidStart",a),i.mediaProperties.alreadyStarted=!0}},stop:function(e,t,i){if(r.api.hasEvent("mediaDidStop")&&i.mediaProperties.alreadyStarted){var a=r.api.eventData();a.event.target=e[0],r.api.triggerEvent("mediaDidStop",a),i.mediaProperties.alreadyStarted=!1}}},unmute:{set:function(e,t,i){("youtube"!==t&&"vimeo"!==t||r.media.properties.allowToUnmute)&&r.gui.media.showUnmute(),e.attr("data-ls-allow-to-unmute",""),i&&e.attr("data-ls-muted-by-browser","")},multipleMediaElements:function(){var t=i.find("[data-ls-allow-to-unmute]");(r.o.rememberUnmuteState?t:t.filter("[data-ls-playing], [data-ls-muted-by-browser]")).each(function(){r.media.unmute.singleMediaElement(e(this))}),r.gui.media.hideUnmute(),r.media.properties.userDidUnmute=!0},singleMediaElement:function(e){var t,i=e.closest(".ls-layer").data(r.defaults.init.dataKey),a=!1;switch(i.mediaProperties.type){case"youtube":r.media.properties.allowToUnmute&&(a=!0,i.mediaProperties.player.unMute());break;case"vimeo":r.media.properties.allowToUnmute&&(a=!0,t=i.mediaSettings.volume?i.mediaSettings.volume/100:1,i.mediaProperties.player.setVolume(t));break;case"html5":a=!0,e[0].muted=!1}a&&e.removeAttr("data-ls-muted-by-browser data-ls-allow-to-unmute")}},functions:{allowedToPlay:function(e,t){var i=e.closest(".ls-layer");return!!(r.slides.current.index===parseInt(i.attr("data-ls-slidein"))||t.is.backgroundVideo&&r.slides.next.index===parseInt(i.attr("data-ls-slidein"))||i.attr("data-ls-static")&&void 0!==i.attr("data-ls-active"))},playActiveMedia:function(t){var i,a;r.media.get("notbg,active").each(function(){if(i=e(this).closest(".ls-layer"),a=i.data(r.defaults.init.dataKey),t){if(!a.mediaProperties.pausedByPerformance)return!0;a.mediaProperties.pausedByPerformance=!1}if(r.media.isPlayable(i,a))if(a.mediaProperties.alreadyStarted)switch(a.mediaProperties.type){case"youtube":a.mediaProperties.player.playVideo();break;case"vimeo":a.mediaProperties.player.play();break;case"html5":a.mediaProperties.$media[0].play()}else e(this).parent().find(".ls-vpcontainer").trigger("playMedia")})},stopSingleMedia:function(e,t){var i=t.mediaProperties.$media;r.media[t.mediaProperties.type].stop(e,i,t,!0),r.media.functions.mediaEnded(i,e,t,!0)},pauseActiveMedia:function(t){var i;r.media.get("notbg,active,playing").each(function(){switch(i=e(this).closest(".ls-layer").data(r.defaults.init.dataKey),t&&(i.mediaProperties.pausedByPerformance=!0),i.mediaProperties.type){case"youtube":i.mediaProperties.player.pauseVideo();break;case"vimeo":i.mediaProperties.player.pause();break;case"html5":this.pause()}})},urlToObject:function(t){var i={},a=t.split("?")[1];return a&&a.split("#")[0].replace(/([^=&]+)=([^&]*)/g,function(t,a,s){i[decodeURIComponent(a)]=e.isNumeric(decodeURIComponent(s))?parseInt(decodeURIComponent(s)):decodeURIComponent(s)}),i},checkSlideshowState:function(e,t){!t.is.static&&r.o.autoPauseSlideshow&&(r.functions.setStates(r.slideshow,{pausedByVideo:!0}),"auto"==r.o.autoPauseSlideshow&&r.media.properties.playingInCurSlide++)},checkSlideshowWaiting:function(){var t=r.media.properties.playingInCurSlide,i=r.media.get("notbg,active,notstatic,notplaying"),a=i.length;if(a===t&&a>0&&r.slideshow.state.pausedByVideo&&r.o.autoPauseSlideshow&&!r.timeouts.pausedVideos&&r.slideshow.state.running){if("hidden"===document.visibilityState)return;r.timeouts.pausedVideos=setTimeout(function(){r.slideshow.state.running?i.each(function(){r.media.functions.mediaEnded(e(this),e(this).closest(".ls-layer"),e(this).closest(".ls-layer").data(r.defaults.init.dataKey))}):r.slideshow.state.pausedByVideo=!1},5e3)}else r.timeouts.pausedVideos&&(clearTimeout(r.timeouts.pausedVideos),delete r.timeouts.pausedVideos)},playIfAllowed:function(e){var t=e.data(r.defaults.init.dataKey);t.is.mediaLayer&&(l.isMobile&&(i.hasClass("ls-device-is-phone")&&t.elements.$outerWrapper.hasClass("ls-hide-on-phone")||i.hasClass("ls-device-is-tablet")&&t.elements.$outerWrapper.hasClass("ls-hide-on-tablet"))||(!("autoplay"in t.mediaSettings)&&r.o.autoPlayVideos||t.mediaSettings.autoplay)&&e.find(".ls-vpcontainer").trigger("playMedia"))},stop:function(t,i){t=void 0===t||t;var a=!!i&&i.children("iframe, video, audio").first(),s=!!i&&i.data(r.defaults.init.dataKey).mediaProperties.type;"youtube"!==s&&a||(a||r.layers.get("current,out,youtube")).each(function(){var i=e(this),a=i.closest(".ls-layer"),s=a.data(r.defaults.init.dataKey);r.media.youtube.stop(a,i,s,t)}),"vimeo"!==s&&a||(a||r.layers.get("current,out,vimeo")).each(function(){var i=e(this),a=i.closest(".ls-layer"),s=a.data(r.defaults.init.dataKey);r.media.vimeo.stop(a,i,s,t)}),"html5"!==s&&a||(a||r.layers.get("current,out,html5")).each(function(){var i=e(this),a=i.closest(".ls-layer"),s=a.data(r.defaults.init.dataKey);r.media.html5.stop(a,i,s,t)}),r.media.properties.playingInCurSlide=Math.max(r.media.properties.playingInCurSlide-=1,0),r.media.properties.endedInCurSlide=Math.max(r.media.properties.endedInCurSlide-=1,0)},mediaEnded:function(e,t,i,a){"auto"!=r.o.autoPauseSlideshow||i.is.backgroundVideo||(i.is.static||r.media.properties.endedInCurSlide++,r.media.properties.endedInCurSlide===r.media.properties.playingInCurSlide&&0!==r.media.properties.playingInCurSlide&&(a||(r.media.properties.playingInCurSlide=Math.max(r.media.properties.playingInCurSlide-=1,0),r.media.properties.endedInCurSlide=Math.max(r.media.properties.endedInCurSlide-=1,0)),r.functions.setStates(r.slideshow,{pausedByVideo:!1}))),r.media.set.dataAttribute(e,"not-playing"),r.media.events.stop(e,t,i)},removeFromTimeline:function(e){r.timelines._layers.kill(null,e.closest(".ls-in-out")[0]),r.timelines._layersAlt.kill(null,e.closest(".ls-in-out")[0])}},youtube:{defaults:{autoplay:0,playsinline:1,wmode:"opaque",html5:1,enablejsapi:1,version:3,rel:0},init:function(){var t=0;this.$medias=r.slider.$hiddenWrapper.find('iframe[src*="youtube-nocookie.com"], iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[data-src*="youtube-nocookie.com"], iframe[data-src*="youtube.com"], iframe[data-src*="youtu.be"]').each(function(){var i=e(this).attr({id:"ls-youtube-"+ ++t,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowfullscreen:""}),a=i.closest(".ls-layer");a.data("hasBeenSet")||r.layers.set.singleLayer(a);var s=a.data(r.defaults.init.dataKey),o=i.attr("src")||i.attr("data-src"),n=r.media.functions.urlToObject(o),l=(o=o.split("?")[0].split("//")[1]).split("/"),d=l[l.length-1],c=r.media.set.customPoster(a,s);if(s.mediaProperties={type:"youtube",$media:i,embedURL:o,embedID:d,embedOptions:n},c)s.mediaProperties.poster=c,r.media.set.properties(a,i,s);else{var p=["default.jpg","mqdefault.jpg","hqdefault.jpg","sddefault.jpg","maxresdefault.jpg"],u="https://img.youtube.com/vi/"+o.split("embed/")[1].split("?")[0]+"/",m=u+r.o.youtubePreview,h=0,f=0,g=function(){this.width>h&&(h=this.width,m=this.src),v()},y=function(){v()},v=function(){(f+=1)===p.length&&(s.mediaProperties.poster=m,r.media.set.properties(a,i,s))};p.forEach(function(e){var t=new Image;t.addEventListener("error",y,!1),t.addEventListener("load",g,!1),t.src=u+e})}}),this.$medias.length&&(r.media.properties.$allMediaLayers=r.media.properties.$allMediaLayers.add(this.$medias.closest(".ls-layer")),r.timeouts.loadYouTube=Math.floor(Date.now()/1e3),window.YT||e("