Mind Map Templates and Examples

Brainstorm and organize your ideas with mind map templates

The Easy Choice for Mind Mapping Online

Easy to Use

Click simple commands and SmartDraw builds your mind map for you, automatically, so you can focus on your ideas, not aligning boxes and connecting lines. Add or remove topics, and SmartDraw realigns and arranges all the elements so that everything looks great.

Easy to Convert to a Gantt Chart

You can convert your mind map into a Gantt chart in a single click and go from idea generation to an actionable plan.

<![CDATA[ View as Project Chart ]]><![CDATA[ View as Mind Map ]]>

Easy to Work With Other Apps

SmartDraw is easy to work with no matter what other apps you use. You can add mind maps to:

  • Microsoft Office®
    • Excel®
    • Word®
    • PowerPoint®
  • Microsoft Teams®
  • Google Workspace
    • Google Docs
    • Google Sheets
  • Atlassian apps
    • Confluence
    • Jira
    • Trello

Easy to Save to Your Existing Storage Solution

SmartDraw works hand in glove with most file storage systems. You can save your mind maps directly to:

  • SharePoint®
  • OneDrive®
  • Google Drive
  • DropBox®
  • Box®

There is no need to create a parallel set of common folders and permissions, SmartDraw can just save files directly into your existing set up.

Easy to Share

Share your mind map with anyone, even if they don't own a copy of SmartDraw, with a link. You can also easily export any diagram as a PDF or common image formats like PNG or SVG.

Easy to Share

Easy to Get Help

Have a question? Chat or email us. SmartDraw support is in-house and free!

Easy to Get Help

Easy Collaboration

SmartDraw is the ideal collaboration tool for mind mapping. Brainstorm with your team and anyone can edit or leave comments and suggestions on your mind map.

SmartDraw also works where you already communicate with your team. You can collaborate on mind maps in Microsoft Teams®, Slack or Confluence.

Collaborate on Mind Maps

What is a Mind Map Template?

A mind map helps you brainstorm ideas, show relationships, and organize thoughts. A mind map template just provides an easy way to get started. When creating a mind map, you don't want software or process to interrupt your free flow of ideas.

SmartDraw has intelligent mind map templates that let you work and think without getting in your way. You can easily add, move, or delete ideas.

Concept map template

Connect Your Mind Map to Trello®

You can easily create a Trello card for any item on a mind map. Brainstorm and run meetings using a mind map and make them actionable with Trello.

Connect mind map to Trello

View Your Mind Map as a Gantt Chart

With SmartDraw, you can instantly convert your mind map into a Gantt chart with just a click. Changes made in one view will be automatically reflected in the other. You can use a mind map to brainstorm ideas and organize and group information. When you're ready, turn your brainstorm into an actionable project plan with assignments and due dates.

View your mind map as a gantt chart

SmartDraw is Used by Over 85% of the Fortune 500

3M logo
Amazon logo
AT&T logo
Cisco logo
Honeywell logo
Intel logo
Johnson and Johnson logo
Mariott logo
Abbott Labs logo
Motorola logo
Northrop Grumman logo
Oracle logo
Pfizer logo
Thermo Fisher Scientific logo
Verizon logo
Wells Fargo logo
3M logo
Amazon logo
AT&T logo
Cisco logo
Honeywell logo
Intel logo
Johnson and Johnson logo
Mariott logo
Abbott Labs logo
Motorola logo
Northrop Grumman logo
Oracle logo
Pfizer logo
Thermo Fisher Scientific logo
Verizon logo
Wells Fargo logo

Try SmartDraw's Mind Map Templates Free

Discover the power of SmartDraw with free mind map templates.

",2===Zt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(d.createHTMLDocument?((i=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(i)):t=g),o=!n&&[],(r=$.exec(e))?[t.createElement(r[1])]:(r=Oe([e],t,o),o&&o.length&&w(o).remove(),w.merge([],r.childNodes)));var i,r,o},w.fn.load=function(e,t,n){var i,r,o,a=this,s=e.indexOf(" ");return-1").append(w.parseHTML(e)).find(i):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,o||[e.responseText,t,e])}))}),this},w.expr.pseudos.animated=function(e){return w.grep(w.timers,(function(t){return e===t.elem})).length},w.offset={setOffset:function(e,t,n){var i,r,o,a,s,l,u=w.css(e,"position"),c=w(e),f={};"static"===u&&(e.style.position="relative"),s=c.offset(),o=w.css(e,"top"),l=w.css(e,"left"),("absolute"===u||"fixed"===u)&&-1<(o+l).indexOf("auto")?(a=(i=c.position()).top,r=i.left):(a=parseFloat(o)||0,r=parseFloat(l)||0),h(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+r),"using"in t?t.using.call(e,f):c.css(f)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){w.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),r.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-w.css(i,"marginTop",!0),left:t.left-r.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||pe}))}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return Z(this,(function(e,i,r){var o;if(m(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),w.each(["top","left"],(function(e,t){w.cssHooks[t]=Ge(d.pixelPosition,(function(e,n){if(n)return n=Ve(e,t),Be.test(n)?w(e).position()[t]+"px":n}))})),w.each({Height:"height",Width:"width"},(function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){w.fn[i]=function(r,o){var a=arguments.length&&(n||"boolean"!=typeof r),s=n||(!0===r||!0===o?"margin":"border");return Z(this,(function(t,n,r){var o;return m(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?w.css(t,n,s):w.style(t,n,r,s)}),t,a?r:void 0,a)}}))})),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){w.fn[t]=function(e){return this.on(t,e)}})),w.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,i){return this.on(t,e,n,i)},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)}}),w.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,t){w.fn[t]=function(e,n){return 01&&!e.isFunction(a)){if("number"==typeof(s=e.extend({},o.defaults,s)).expires){var l=s.expires,u=s.expires=new Date;u.setMilliseconds(u.getMilliseconds()+864e5*l)}return document.cookie=[n(t),"=",i(a),s.expires?"; expires="+s.expires.toUTCString():"",s.path?"; path="+s.path:"",s.domain?"; domain="+s.domain:"",s.secure?"; secure":""].join("")}for(var c,f=t?void 0:{},p=document.cookie?document.cookie.split("; "):[],d=0,h=p.length;dx',i.appendChild(r.childNodes[1])}return t&&e.extend(n,t),this.each((function(){var t=["iframe[data-src*='player.vimeo.com']","iframe[data-src*='youtube.com']","iframe[data-src*='youtube-nocookie.com']","iframe[data-src*='kickstarter.com'][data-src*='video.html']","object","embed"];n.customSelector&&t.push(n.customSelector);var i=".fitvidsignore";n.ignore&&(i=i+", "+n.ignore);var r=e(this).find(t.join(","));(r=(r=r.not("object object")).not(i)).each((function(){var t=e(this);if(!(t.parents(i).length>0||"embed"===this.tagName.toLowerCase()&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length)){t.css("height")||t.css("width")||!isNaN(t.attr("height"))&&!isNaN(t.attr("width"))||(t.attr("height",9),t.attr("width",16));var n=("object"===this.tagName.toLowerCase()||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height())/(isNaN(parseInt(t.attr("width"),10))?t.width():parseInt(t.attr("width"),10));if(!t.attr("id")){var r="fitvid"+Math.floor(999999*Math.random());t.attr("id",r)}t.wrap('
').parent(".fluid-width-video-wrapper").css("padding-top",100*n+"%"),t.removeAttr("height").removeAttr("width")}}))}))}}(window.jQuery||window.Zepto),$(document).ready((function(){$("#adPageVideo").fitVids(),$(".adPageVideo").fitVids()})),function(e,t){var n,i;"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,n=e.Cookies,(i=e.Cookies=t()).noConflict=function(){return e.Cookies=n,i})}(this,(function(){"use strict";function e(e){for(var t=1;t.01*$(document).height()&&$("#siteNavContainer").addClass("scrolled"),$(document).scrollTop()>.05*$(document).height()&&$("#siteNavContainer").addClass("scrolled")}))})),$(document).ready((function(){function e(){var e=$("#smartdrawAnnualExpense").val(),t=parseFloat(e.replace(/,/g,"")),n=e.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});$("#smartdrawAnnualExpense").val(n.replace(/\.00$/,""));var i=$("#lucidLicenses").val(),r=parseFloat(i.replace(/,/g,""))*$("#lucidLicenseCost").val(),o=r.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});$("#lucidAnnualExpense").val(o.replace(/\.00$/,""));var a=r-t,s=a.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});a<0?($(".calculator-licenseSavingsMessage").addClass("hide"),$("#altMessage").removeClass("hide")):($(".calculator-licenseSavingsMessage").removeClass("hide"),$("#altMessage").addClass("hide"),$("#licenseSavings").html(s.replace(/\.00$/,"")))}$("#lucidLicenses").keyup((function(){$("#smartdrawLicenses").val($(this).val())})),$("#smartdrawLicenses").keyup((function(){$("#lucidLicenses").val($(this).val())})),$(".calculator-headToHeadCosts input, .calculator-headToHeadForm input").keyup((function(){$("#lucidLicenses").val()<500?($("#estimatedEmployeeCount").html("Less than 500"),$("#smartdrawAnnualExpense").val(2995)):$("#lucidLicenses").val()<1e3?($("#estimatedEmployeeCount").html("500-1000"),$("#smartdrawAnnualExpense").val(4995)):$("#lucidLicenses").val()>1e3&&$("#estimatedEmployeeCount").html("1000+"),$(".calculator-headToHeadForm").hasClass("selected-1000Plus")?function(){var e=10*$("#smartdrawLicenses").val(),t=e.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2}),n=$("#lucidLicenses").val(),i=parseFloat(n.replace(/,/g,""))*$("#lucidLicenseCost").val(),r=i.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});$("#lucidAnnualExpense").val(r.replace(/\.00$/,"")),$("#smartdrawAnnualExpense").val(t.replace(/\.00$/,""));var o=(i-e).toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});$("#licenseSavings").html(o.replace(/\.00$/,""))}():e()})),$("#lessThan500").click((function(){var t=2995..toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});$(".calculator-headToHeadForm").removeClass("selected-500-1000 selected-1000Plus"),$(".calculator-headToHeadForm").addClass("selected-lessThan500"),$("#smartdrawAnnualExpense").val(t),$("#numberofEmployeesDropdown").html("Less than 500"),$("#annualSmartDrawExpenseInputGroup").removeClass("hide"),$("#contactUsMessage").addClass("hide"),e()})),$("#500-1000").click((function(){var t=4995..toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2});$(".calculator-headToHeadForm").removeClass("selected-lessThan500 selected-1000Plus"),$(".calculator-headToHeadForm").addClass("selected-500-1000"),$("#smartdrawAnnualExpense").val(t),$("#numberofEmployeesDropdown").html("500-1000"),$("#annualSmartDrawExpenseInputGroup").removeClass("hide"),$("#contactUsMessage").addClass("hide"),e()})),$("#1000").click((function(){$(".calculator-headToHeadForm").removeClass("selected-lessThan500 selected-500-1000"),$(".calculator-headToHeadForm").addClass("selected-1000Plus"),$("#numberofEmployeesDropdown").html("1000+")}))})),function(e){"use strict";var t=function(t,n){this.options=n,this.$element=e(t).delegate('[data-dismiss="modal"]',"click.dismiss.modal",e.proxy(this.hide,this)),this.options.remote&&this.$element.find(".modal-body").load(this.options.remote)};t.prototype={constructor:t,toggle:function(){return this[this.isShown?"hide":"show"]()},show:function(){var t=this,n=e.Event("show");this.$element.trigger(n),this.isShown||n.isDefaultPrevented()||(this.isShown=!0,this.escape(),this.backdrop((function(){var n=e.support.transition&&t.$element.hasClass("fade");t.$element.parent().length||t.$element.appendTo(document.body),t.$element.show(),n&&t.$element[0].offsetWidth,t.$element.addClass("in").attr("aria-hidden",!1),t.enforceFocus(),n?t.$element.one(e.support.transition.end,(function(){t.$element.focus().trigger("shown")})):t.$element.focus().trigger("shown")})))},hide:function(t){t&&t.preventDefault();t=e.Event("hide"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),e(document).off("focusin.modal"),this.$element.removeClass("in").attr("aria-hidden",!0),e.support.transition&&this.$element.hasClass("fade")?this.hideWithTransition():this.hideModal())},enforceFocus:function(){var t=this;e(document).on("focusin.modal",(function(e){t.$element[0]===e.target||t.$element.has(e.target).length||t.$element.focus()}))},escape:function(){var e=this;this.isShown&&this.options.keyboard?this.$element.on("keyup.dismiss.modal",(function(t){27==t.which&&e.hide()})):this.isShown||this.$element.off("keyup.dismiss.modal")},hideWithTransition:function(){var t=this,n=setTimeout((function(){t.$element.off(e.support.transition.end),t.hideModal()}),500);this.$element.one(e.support.transition.end,(function(){clearTimeout(n),t.hideModal()}))},hideModal:function(){var e=this;this.$element.hide(),this.backdrop((function(){e.removeBackdrop(),e.$element.trigger("hidden")}))},removeBackdrop:function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},backdrop:function(t){var n=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var i=e.support.transition&&n;if(this.$backdrop=e('').appendTo(document.body),this.$backdrop.click("static"==this.options.backdrop?e.proxy(this.$element[0].focus,this.$element[0]):e.proxy(this.hide,this)),i&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;i?this.$backdrop.one(e.support.transition.end,t):t()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),e.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(e.support.transition.end,t):t()):t&&t()}};var n=e.fn.modal;e.fn.modal=function(n){return this.each((function(){var i=e(this),r=i.data("modal"),o=e.extend({},e.fn.modal.defaults,i.data(),"object"==typeof n&&n);r||i.data("modal",r=new t(this,o)),"string"==typeof n?r[n]():o.show&&r.show()}))},e.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},e.fn.modal.Constructor=t,e.fn.modal.noConflict=function(){return e.fn.modal=n,this},e(document).on("click.modal.data-api",'[data-toggle="modal"]',(function(t){var n=e(this),i=n.attr("href"),r=e(n.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,"")),o=r.data("modal")?"toggle":e.extend({remote:!/#/.test(i)&&i},r.data(),n.data());t.preventDefault(),r.modal(o).one("hide",(function(){n.focus()}))}))}(window.jQuery),!SDWeb)var SDWeb={};SDWeb.Utils={},SDWeb.Utils.GetViewPort=function(){var e=window,t="inner";return"innerWidth"in window||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}},SDWeb.Utils.FormatMoney=function(e,t){e||(e=2);var n="\\d(?=(\\d{"+(t||3)+"})+"+(e>0?"\\.":"$")+")";return"$"+this.toFixed(Math.max(0,~~e)).replace(new RegExp(n,"g"),"$&,")},Number.prototype.formatMoney=SDWeb.Utils.FormatMoney,$.fn.optVisible=function(e){return e?this.filter("span > option").unwrap():this.filter(":not(span > option)").wrap("").parent().hide(),this},function(e){"use strict";var t='[data-toggle="dropdown"]',n=function(t){e(t).on("click.bs.dropdown",this.toggle)};function i(t){var n=t.attr("data-target");n||(n=(n=t.attr("href"))&&/#[A-Za-z]/.test(n)&&n.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==n?e(document).find(n):null;return i&&i.length?i:t.parent()}function r(n){n&&3===n.which||(e(".dropdown-backdrop").remove(),e(t).each((function(){var t=e(this),r=i(t),o={relatedTarget:this};r.hasClass("open")&&(n&&"click"==n.type&&/input|textarea/i.test(n.target.tagName)&&e.contains(r[0],n.target)||(r.trigger(n=e.Event("hide.bs.dropdown",o)),n.isDefaultPrevented()||(t.attr("aria-expanded","false"),r.removeClass("open").trigger(e.Event("hidden.bs.dropdown",o)))))})))}n.VERSION="3.4.1",n.prototype.toggle=function(t){var n=e(this);if(!n.is(".disabled, :disabled")){var o=i(n),a=o.hasClass("open");if(r(),!a){"ontouchstart"in document.documentElement&&!o.closest(".navbar-nav").length&&e(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(e(this)).on("click",r);var s={relatedTarget:this};if(o.trigger(t=e.Event("show.bs.dropdown",s)),t.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),o.toggleClass("open").trigger(e.Event("shown.bs.dropdown",s))}return!1}},n.prototype.keydown=function(n){if(/(38|40|27|32)/.test(n.which)&&!/input|textarea/i.test(n.target.tagName)){var r=e(this);if(n.preventDefault(),n.stopPropagation(),!r.is(".disabled, :disabled")){var o=i(r),a=o.hasClass("open");if(!a&&27!=n.which||a&&27==n.which)return 27==n.which&&o.find(t).trigger("focus"),r.trigger("click");var s=o.find(".dropdown-menu li:not(.disabled):visible a");if(s.length){var l=s.index(n.target);38==n.which&&l>0&&l--,40==n.which&&l0&&void 0!==arguments[0]&&arguments[0]&&(h=!0),h)return d=(0,f.default)(d,g),(0,c.default)(d,g.once),d},_=function(){d=(0,p.default)(),v()};e.exports={init:function(e){return g=r(g,e),d=(0,p.default)(),function(e){return!0===e||"mobile"===e&&u.default.mobile()||"phone"===e&&u.default.phone()||"tablet"===e&&u.default.tablet()||"function"==typeof e&&!0===e()}(g.disable)||m?void d.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(document.querySelector("body").setAttribute("data-aos-easing",g.easing),document.querySelector("body").setAttribute("data-aos-duration",g.duration),document.querySelector("body").setAttribute("data-aos-delay",g.delay),"DOMContentLoaded"===g.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?v(!0):"load"===g.startEvent?window.addEventListener(g.startEvent,(function(){v(!0)})):document.addEventListener(g.startEvent,(function(){v(!0)})),window.addEventListener("resize",(0,s.default)(v,g.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(v,g.debounceDelay,!0)),window.addEventListener("scroll",(0,a.default)((function(){(0,c.default)(d,g.once)}),g.throttleDelay)),g.disableMutationObserver||(0,l.default)("[data-aos]",_),d)},refresh:v,refreshHard:_}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=f,i=p;return f=p=void 0,v=t,h=e.apply(i,n)}function a(e){var n=e-g;return void 0===g||n>=t||n<0||w&&e-v>=d}function l(){var e=x();return a(e)?u(e):void(m=setTimeout(l,function(e){var n=t-(e-g);return w?b(n,d-(e-v)):n}(e)))}function u(e){return m=void 0,T&&f?r(e):(f=p=void 0,h)}function c(){var e=x(),n=a(e);if(f=arguments,p=this,g=e,n){if(void 0===m)return function(e){return v=e,m=setTimeout(l,t),_?r(e):h}(g);if(w)return m=setTimeout(l,t),r(g)}return void 0===m&&(m=setTimeout(l,t)),h}var f,p,d,h,m,g,v=0,_=!1,w=!1,T=!0;if("function"!=typeof e)throw new TypeError(s);return t=o(t)||0,i(n)&&(_=!!n.leading,d=(w="maxWait"in n)?y(o(n.maxWait)||0,t):d,T="trailing"in n?!!n.trailing:T),c.cancel=function(){void 0!==m&&clearTimeout(m),v=0,f=g=p=m=void 0},c.flush=function(){return void 0===m?h:u(x())},c}function i(e){var t=void 0===e?"undefined":a(e);return!!e&&("object"==t||"function"==t)}function r(e){return"symbol"==(void 0===e?"undefined":a(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":a(e))}(e)&&_.call(e)==u}function o(e){if("number"==typeof e)return e;if(r(e))return l;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=p.test(e);return n||d.test(e)?h(e.slice(2),n?2:8):f.test(e)?l:+e}var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s="Expected a function",l=NaN,u="[object Symbol]",c=/^\s+|\s+$/g,f=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,d=/^0o[0-7]+$/i,h=parseInt,m="object"==(void 0===t?"undefined":a(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":a(self))&&self&&self.Object===Object&&self,v=m||g||Function("return this")(),_=Object.prototype.toString,y=Math.max,b=Math.min,x=function(){return v.Date.now()};e.exports=function(e,t,r){var o=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return i(r)&&(o="leading"in r?!!r.leading:o,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:o,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t=void 0===e?"undefined":o(e);return!!e&&("object"==t||"function"==t)}function i(e){return"symbol"==(void 0===e?"undefined":o(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":o(e))}(e)&&v.call(e)==l}function r(e){if("number"==typeof e)return e;if(i(e))return s;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(u,"");var r=f.test(e);return r||p.test(e)?d(e.slice(2),r?2:8):c.test(e)?s:+e}var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a="Expected a function",s=NaN,l="[object Symbol]",u=/^\s+|\s+$/g,c=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,p=/^0o[0-7]+$/i,d=parseInt,h="object"==(void 0===t?"undefined":o(t))&&t&&t.Object===Object&&t,m="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,g=h||m||Function("return this")(),v=Object.prototype.toString,_=Math.max,y=Math.min,b=function(){return g.Date.now()};e.exports=function(e,t,i){function o(t){var n=f,i=p;return f=p=void 0,v=t,h=e.apply(i,n)}function s(e){var n=e-g;return void 0===g||n>=t||n<0||w&&e-v>=d}function l(){var e=b();return s(e)?u(e):void(m=setTimeout(l,function(e){var n=t-(e-g);return w?y(n,d-(e-v)):n}(e)))}function u(e){return m=void 0,T&&f?o(e):(f=p=void 0,h)}function c(){var e=b(),n=s(e);if(f=arguments,p=this,g=e,n){if(void 0===m)return function(e){return v=e,m=setTimeout(l,t),x?o(e):h}(g);if(w)return m=setTimeout(l,t),o(g)}return void 0===m&&(m=setTimeout(l,t)),h}var f,p,d,h,m,g,v=0,x=!1,w=!1,T=!0;if("function"!=typeof e)throw new TypeError(a);return t=r(t)||0,n(i)&&(x=!!i.leading,d=(w="maxWait"in i)?_(r(i.maxWait)||0,t):d,T="trailing"in i?!!i.trailing:T),c.cancel=function(){void 0!==m&&clearTimeout(m),v=0,f=g=p=m=void 0},c.flush=function(){return void 0===m?h:u(b())},c}}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),n=Array.prototype.slice.call(e.removedNodes),i=t.concat(n).filter((function(e){return e.hasAttribute&&e.hasAttribute("data-aos")})).length;i&&o()}))}Object.defineProperty(t,"__esModule",{value:!0});var i=window.document,r=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=function(){};t.default=function(e,t){var a=new r(n);o=t,a.observe(i.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},function(e,t){"use strict";function n(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;ne.position?e.node.classList.add("aos-animate"):void 0!==i&&("false"===i||!n&&"true"!==i)&&e.node.classList.remove("aos-animate")}(e,i+n,t)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(12));t.default=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,i.default)(e.node,t.offset)})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(13));t.default=function(e,t){var n=0,r=0,o=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(r=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,i.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=o/2;break;case"bottom-center":n+=o/2+e.offsetHeight;break;case"center-center":n+=o/2+e.offsetHeight/2;break;case"top-top":n+=o;break;case"bottom-top":n+=e.offsetHeight+o;break;case"center-top":n+=e.offsetHeight/2+o}return a.anchorPlacement||a.offset||isNaN(t)||(r=t),n+r}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))}}])}));var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push((function(){"use strict";var e,t,n,i,r,o,a,s,l,u,c,f,p,d,h,m;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(e,t,n){var i=function(e){var t,n=[],i=e.length;for(t=0;t!==i;n.push(e[t++]));return n},r=function(e,t,n){var i,r,o=e.cycle;for(i in o)r=o[i],e[i]="function"==typeof r?r(n,t[n],t):r[n%r.length];delete e.cycle},o=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},n=t.ease,i=t.from||0,r=t.base||0,o={},a=isNaN(i),s=t.axis,l={center:.5,end:1}[i]||0;return function(e,u,c){var f,p,d,h,m,g,v,_,y,b=(c||t).length,x=o[b];if(!x){if(!(y="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=c[y++].getBoundingClientRect().left)&&b>y;);y--}for(x=o[b]=[],f=a?Math.min(y,b)*l-.5:i%y,p=a?b*l/y-.5:i/y|0,v=0,_=1/0,g=0;b>g;g++)d=g%y-f,h=p-(g/y|0),x[g]=m=s?Math.abs("y"===s?h:d):Math.sqrt(d*d+h*h),m>v&&(v=m),_>m&&(_=m);x.max=v-_,x.min=_,x.v=b=t.amount||t.each*(y>b?b-1:s?"y"===s?b/y:y:Math.max(y,b/y))||0,x.b=0>b?r-b:r}return b=(x[e]-x.min)/x.max,x.b+(n?n.getRatio(b):b)*x.v}},a=function(e,t,i){n.call(this,e,t,i),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},s=1e-8,l=n._internals,u=l.isSelector,c=l.isArray,f=a.prototype=n.to({},.1,{}),p=[];a.version="2.1.3",f.constructor=a,f.kill()._gc=!1,a.killTweensOf=a.killDelayedCallsTo=n.killTweensOf,a.getTweensOf=n.getTweensOf,a.lagSmoothing=n.lagSmoothing,a.ticker=n.ticker,a.render=n.render,a.distribute=o,f.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),n.prototype.invalidate.call(this)},f.updateTo=function(e,t){var i,r=this,o=r.ratio,a=r.vars.immediateRender||e.immediateRender;for(i in t&&r._startTime.998){var s=r._totalTime;r.render(0,!0,!1),r._initted=!1,r.render(s,!0,!1)}else if(r._initted=!1,r._init(),r._time>0||a)for(var l,u=1/(1-o),c=r._firstPT;c;)l=c.s+c.c,c.c*=u,c.s=l-c.c,c=c._next;return r},f.render=function(e,t,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,o,a,u,c,f,p,d,h,m=this,g=m._dirty?m.totalDuration():m._totalDuration,v=m._time,_=m._totalTime,y=m._cycle,b=m._duration,x=m._rawPrevTime;if(e>=g-s&&e>=0?(m._totalTime=g,m._cycle=m._repeat,m._yoyo&&0!=(1&m._cycle)?(m._time=0,m.ratio=m._ease._calcEnd?m._ease.getRatio(0):0):(m._time=b,m.ratio=m._ease._calcEnd?m._ease.getRatio(1):1),m._reversed||(r=!0,o="onComplete",i=i||m._timeline.autoRemoveChildren),0===b&&(m._initted||!m.vars.lazy||i)&&(m._startTime===m._timeline._duration&&(e=0),(0>x||0>=e&&e>=-s||x===s&&"isPause"!==m.data)&&x!==e&&(i=!0,x>s&&(o="onReverseComplete")),m._rawPrevTime=d=!t||e||x===e?e:s)):s>e?(m._totalTime=m._time=m._cycle=0,m.ratio=m._ease._calcEnd?m._ease.getRatio(0):0,(0!==_||0===b&&x>0)&&(o="onReverseComplete",r=m._reversed),e>-s?e=0:0>e&&(m._active=!1,0===b&&(m._initted||!m.vars.lazy||i)&&(x>=0&&(i=!0),m._rawPrevTime=d=!t||e||x===e?e:s)),m._initted||(i=!0)):(m._totalTime=m._time=e,0!==m._repeat&&(u=b+m._repeatDelay,m._cycle=m._totalTime/u>>0,0!==m._cycle&&m._cycle===m._totalTime/u&&e>=_&&m._cycle--,m._time=m._totalTime-m._cycle*u,m._yoyo&&0!=(1&m._cycle)&&(m._time=b-m._time,(h=m._yoyoEase||m.vars.yoyoEase)&&(m._yoyoEase||(!0!==h||m._initted?m._yoyoEase=h=!0===h?m._ease:h instanceof Ease?h:Ease.map[h]:(h=m.vars.ease,m._yoyoEase=h=h?h instanceof Ease?h:"function"==typeof h?new Ease(h,m.vars.easeParams):Ease.map[h]||n.defaultEase:n.defaultEase)),m.ratio=h?1-h.getRatio((b-m._time)/b):0)),m._time>b?m._time=b:m._time<0&&(m._time=0)),m._easeType&&!h?(c=m._time/b,(1===(f=m._easeType)||3===f&&c>=.5)&&(c=1-c),3===f&&(c*=2),1===(p=m._easePower)?c*=c:2===p?c*=c*c:3===p?c*=c*c*c:4===p&&(c*=c*c*c*c),m.ratio=1===f?1-c:2===f?c:m._time/b<.5?c/2:1-c/2):h||(m.ratio=m._ease.getRatio(m._time/b))),v!==m._time||i||y!==m._cycle){if(!m._initted){if(m._init(),!m._initted||m._gc)return;if(!i&&m._firstPT&&(!1!==m.vars.lazy&&m._duration||m.vars.lazy&&!m._duration))return m._time=v,m._totalTime=_,m._rawPrevTime=x,m._cycle=y,l.lazyTweens.push(m),void(m._lazy=[e,t]);!m._time||r||h?r&&this._ease._calcEnd&&!h&&(m.ratio=m._ease.getRatio(0===m._time?0:1)):m.ratio=m._ease.getRatio(m._time/b)}for(!1!==m._lazy&&(m._lazy=!1),m._active||!m._paused&&m._time!==v&&e>=0&&(m._active=!0),0===_&&(2===m._initted&&e>0&&m._init(),m._startAt&&(e>=0?m._startAt.render(e,!0,i):o||(o="_dummyGS")),m.vars.onStart&&(0!==m._totalTime||0===b)&&(t||m._callback("onStart"))),a=m._firstPT;a;)a.f?a.t[a.p](a.c*m.ratio+a.s):a.t[a.p]=a.c*m.ratio+a.s,a=a._next;m._onUpdate&&(0>e&&m._startAt&&m._startTime&&m._startAt.render(e,!0,i),t||(m._totalTime!==_||o)&&m._callback("onUpdate")),m._cycle!==y&&(t||m._gc||m.vars.onRepeat&&m._callback("onRepeat")),o&&(!m._gc||i)&&(0>e&&m._startAt&&!m._onUpdate&&m._startTime&&m._startAt.render(e,!0,i),r&&(m._timeline.autoRemoveChildren&&m._enabled(!1,!1),m._active=!1),!t&&m.vars[o]&&m._callback(o),0===b&&m._rawPrevTime===s&&d!==s&&(m._rawPrevTime=0))}else _!==m._totalTime&&m._onUpdate&&(t||m._callback("onUpdate"))},a.to=function(e,t,n){return new a(e,t,n)},a.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new a(e,t,n)},a.fromTo=function(e,t,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new a(e,t,i)},a.staggerTo=a.allTo=function(e,t,s,l,f,d,h){var m,g,v,_,y=[],b=o(s.stagger||l),x=s.cycle,w=(s.startAt||p).cycle;for(c(e)||("string"==typeof e&&(e=n.selector(e)||e),u(e)&&(e=i(e))),m=(e=e||[]).length-1,v=0;m>=v;v++){for(_ in g={},s)g[_]=s[_];if(x&&(r(g,e,v),null!=g.duration&&(t=g.duration,delete g.duration)),w){for(_ in w=g.startAt={},s.startAt)w[_]=s.startAt[_];r(g.startAt,e,v)}g.delay=b(v,e[v],e)+(g.delay||0),v===m&&f&&(g.onComplete=function(){s.onComplete&&s.onComplete.apply(s.onCompleteScope||this,arguments),f.apply(h||s.callbackScope||this,d||p)}),y[v]=new a(e[v],t,g)}return y},a.staggerFrom=a.allFrom=function(e,t,n,i,r,o,s){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,a.staggerTo(e,t,n,i,r,o,s)},a.staggerFromTo=a.allFromTo=function(e,t,n,i,r,o,s,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,a.staggerTo(e,t,i,r,o,s,l)},a.delayedCall=function(e,t,n,i,r){return new a(t,0,{delay:e,onComplete:t,onCompleteParams:n,callbackScope:i,onReverseComplete:t,onReverseCompleteParams:n,immediateRender:!1,useFrames:r,overwrite:0})},a.set=function(e,t){return new a(e,0,t)},a.isTweening=function(e){return n.getTweensOf(e,!0).length>0};var d=function(e,t){for(var i=[],r=0,o=e._first;o;)o instanceof n?i[r++]=o:(t&&(i[r++]=o),r=(i=i.concat(d(o,t))).length),o=o._next;return i},h=a.getAllTweens=function(t){return d(e._rootTimeline,t).concat(d(e._rootFramesTimeline,t))};a.killAll=function(e,n,i,r){null==n&&(n=!0),null==i&&(i=!0);var o,a,s,l=h(0!=r),u=l.length,c=n&&i&&r;for(s=0;u>s;s++)a=l[s],(c||a instanceof t||(o=a.target===a.vars.onComplete)&&i||n&&!o)&&(e?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},a.killChildTweensOf=function(e,t){if(null!=e){var r,o,s,f,p,d=l.tweenLookup;if("string"==typeof e&&(e=n.selector(e)||e),u(e)&&(e=i(e)),c(e))for(f=e.length;--f>-1;)a.killChildTweensOf(e[f],t);else{for(s in r=[],d)for(o=d[s].target.parentNode;o;)o===e&&(r=r.concat(d[s].tweens)),o=o.parentNode;for(p=r.length,f=0;p>f;f++)t&&r[f].totalTime(r[f].totalDuration()),r[f]._enabled(!1,!1)}}};var m=function(e,n,i,r){n=!1!==n,i=!1!==i;for(var o,a,s=h(r=!1!==r),l=n&&i&&r,u=s.length;--u>-1;)a=s[u],(l||a instanceof t||(o=a.target===a.vars.onComplete)&&i||n&&!o)&&a.paused(e)};return a.pauseAll=function(e,t,n){m(!0,e,t,n)},a.resumeAll=function(e,t,n){m(!1,e,t,n)},a.globalTimeScale=function(t){var i=e._rootTimeline,r=n.ticker.time;return arguments.length?(t=t||s,i._startTime=r-(r-i._startTime)*i._timeScale/t,i=e._rootFramesTimeline,r=n.ticker.frame,i._startTime=r-(r-i._startTime)*i._timeScale/t,i._timeScale=e._rootTimeline._timeScale=t,t):i._timeScale},f.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this.duration()?this._time/this._duration:this.ratio},f.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},f.time=function(e,t){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var n=this._duration,i=this._cycle,r=i*(n+this._repeatDelay);return e>n&&(e=n),this.totalTime(this._yoyo&&1&i?n-e+r:this._repeat?e+r:e,t)},f.duration=function(t){return arguments.length?e.prototype.duration.call(this,t):this._duration},f.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-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)},f.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},f.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},f.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},a}),!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(e,t,n){var i=function(e){t.call(this,e);var n,i,r=this,o=r.vars;for(i in r._labels={},r.autoRemoveChildren=!!o.autoRemoveChildren,r.smoothChildTiming=!!o.smoothChildTiming,r._sortChildren=!0,r._onUpdate=o.onUpdate,o)n=o[i],l(n)&&-1!==n.join("").indexOf("{self}")&&(o[i]=r._swapSelfInParams(n));l(o.tweens)&&r.add(o.tweens,0,o.align,o.stagger)},r=1e-8,o=n._internals,a=i._internals={},s=o.isSelector,l=o.isArray,u=o.lazyTweens,c=o.lazyRender,f=_gsScope._gsDefine.globals,p=function(e){var t,n={};for(t in e)n[t]=e[t];return n},d=function(e,t,n){var i,r,o=e.cycle;for(i in o)r=o[i],e[i]="function"==typeof r?r(n,t[n],t):r[n%r.length];delete e.cycle},h=a.pauseCallback=function(){},m=function(e,t,n,i){var r="immediateRender";return r in t||(t[r]=!(n&&!1===n[r]||i)),t},g=function(e){if("function"==typeof e)return e;var t="object"==typeof e?e:{each:e},n=t.ease,i=t.from||0,r=t.base||0,o={},a=isNaN(i),s=t.axis,l={center:.5,end:1}[i]||0;return function(e,u,c){var f,p,d,h,m,g,v,_,y,b=(c||t).length,x=o[b];if(!x){if(!(y="auto"===t.grid?0:(t.grid||[1/0])[0])){for(v=-1/0;v<(v=c[y++].getBoundingClientRect().left)&&b>y;);y--}for(x=o[b]=[],f=a?Math.min(y,b)*l-.5:i%y,p=a?b*l/y-.5:i/y|0,v=0,_=1/0,g=0;b>g;g++)d=g%y-f,h=p-(g/y|0),x[g]=m=s?Math.abs("y"===s?h:d):Math.sqrt(d*d+h*h),m>v&&(v=m),_>m&&(_=m);x.max=v-_,x.min=_,x.v=b=t.amount||t.each*(y>b?b-1:s?"y"===s?b/y:y:Math.max(y,b/y))||0,x.b=0>b?r-b:r}return b=(x[e]-x.min)/x.max,x.b+(n?n.getRatio(b):b)*x.v}},v=i.prototype=new t;return i.version="2.1.3",i.distribute=g,v.constructor=i,v.kill()._gc=v._forcingPlayhead=v._hasPause=!1,v.to=function(e,t,i,r){var o=i.repeat&&f.TweenMax||n;return t?this.add(new o(e,t,i),r):this.set(e,i,r)},v.from=function(e,t,i,r){return this.add((i.repeat&&f.TweenMax||n).from(e,t,m(0,i)),r)},v.fromTo=function(e,t,i,r,o){var a=r.repeat&&f.TweenMax||n;return r=m(0,r,i),t?this.add(a.fromTo(e,t,i,r),o):this.set(e,r,o)},v.staggerTo=function(e,t,r,o,a,l,u,c){var f,h,m=new i({onComplete:l,onCompleteParams:u,callbackScope:c,smoothChildTiming:this.smoothChildTiming}),v=g(r.stagger||o),_=r.startAt,y=r.cycle;for("string"==typeof e&&(e=n.selector(e)||e),s(e=e||[])&&(e=function(e){var t,n=[],i=e.length;for(t=0;t!==i;n.push(e[t++]));return n}(e)),h=0;h(o=a._startTime-a._delay)&&(r=1),l.add(a,o)),a=s;return u.add(l,0),r&&l.totalDuration(),l},v.add=function(r,o,a,s){var u,c,f,p,d,h,m=this;if("number"!=typeof o&&(o=m._parseTimeOrLabel(o,0,!0,r)),!(r instanceof e)){if(r instanceof Array||r&&r.push&&l(r)){for(a=a||"normal",s=s||0,u=o,c=r.length,f=0;c>f;f++)l(p=r[f])&&(p=new i({tweens:p})),m.add(p,u),"string"!=typeof p&&"function"!=typeof p&&("sequence"===a?u=p._startTime+p.totalDuration()/p._timeScale:"start"===a&&(p._startTime-=p.delay())),u+=s;return m._uncache(!0)}if("string"==typeof r)return m.addLabel(r,o);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=n.delayedCall(0,r)}if(t.prototype.add.call(m,r,o),(r._time||!r._duration&&r._initted)&&(u=(m.rawTime()-r._startTime)*r._timeScale,(!r._duration||Math.abs(Math.max(0,Math.min(r.totalDuration(),u)))-r._totalTime>1e-5)&&r.render(u,!1,!1)),(m._gc||m._time===m._duration)&&!m._paused&&m._durationr._startTime;d._timeline;)h&&d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._gc&&d._enabled(!0,!1),d=d._timeline;return m},v.remove=function(t){if(t instanceof e){this._remove(t,!1);var n=t._timeline=t.vars.useFrames?e._rootFramesTimeline:e._rootTimeline;return t._startTime=(t._paused?t._pauseTime:n._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&l(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},v._remove=function(e,n){return t.prototype._remove.call(this,e,n),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},v.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},v.insert=v.insertMultiple=function(e,t,n,i){return this.add(e,t||0,n,i)},v.appendMultiple=function(e,t,n,i){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),n,i)},v.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},v.addPause=function(e,t,i,r){var o=n.delayedCall(0,h,i,r||this);return o.vars.onComplete=o.vars.onReverseComplete=t,o.data="isPause",this._hasPause=!0,this.add(o,e)},v.removeLabel=function(e){return delete this._labels[e],this},v.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},v._parseTimeOrLabel=function(t,n,i,r){var o,a;if(r instanceof e&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(a=r.length;--a>-1;)r[a]instanceof e&&r[a].timeline===this&&this.remove(r[a]);if(o="number"!=typeof t||n?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof n)return this._parseTimeOrLabel(n,i&&"number"==typeof t&&null==this._labels[n]?t-o:0,i);if(n=n||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=o);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=o+n:n:this._labels[t]+n;n=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,i):o}return Number(t)+n},v.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},v.stop=function(){return this.paused(!0)},v.gotoAndPlay=function(e,t){return this.play(e,t)},v.gotoAndStop=function(e,t){return this.pause(e,t)},v.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var i,o,a,s,l,f,p,d,h=this,m=h._time,g=h._dirty?h.totalDuration():h._totalDuration,v=h._startTime,_=h._timeScale,y=h._paused;if(m!==h._time&&(e+=h._time-m),h._hasPause&&!h._forcingPlayhead&&!t){if(e>m)for(i=h._first;i&&i._startTime<=e&&!f;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===h._rawPrevTime||(f=i),i=i._next;else for(i=h._last;i&&i._startTime>=e&&!f;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(f=i),i=i._prev;f&&(h._time=h._totalTime=e=f._startTime,d=h._startTime+(h._reversed?h._duration-e:e)/h._timeScale)}if(e>=g-r&&e>=0)h._totalTime=h._time=g,h._reversed||h._hasPausedChild()||(o=!0,s="onComplete",l=!!h._timeline.autoRemoveChildren,0===h._duration&&(0>=e&&e>=-r||h._rawPrevTime<0||h._rawPrevTime===r)&&h._rawPrevTime!==e&&h._first&&(l=!0,h._rawPrevTime>r&&(s="onReverseComplete"))),h._rawPrevTime=h._duration||!t||e||h._rawPrevTime===e?e:r,e=g+1e-4;else if(r>e)if(h._totalTime=h._time=0,e>-r&&(e=0),(0!==m||0===h._duration&&h._rawPrevTime!==r&&(h._rawPrevTime>0||0>e&&h._rawPrevTime>=0))&&(s="onReverseComplete",o=h._reversed),0>e)h._active=!1,h._timeline.autoRemoveChildren&&h._reversed?(l=o=!0,s="onReverseComplete"):h._rawPrevTime>=0&&h._first&&(l=!0),h._rawPrevTime=e;else{if(h._rawPrevTime=h._duration||!t||e||h._rawPrevTime===e?e:r,0===e&&o)for(i=h._first;i&&0===i._startTime;)i._duration||(o=!1),i=i._next;e=0,h._initted||(l=!0)}else h._totalTime=h._time=h._rawPrevTime=e;if(h._time!==m&&h._first||n||l||f){if(h._initted||(h._initted=!0),h._active||!h._paused&&h._time!==m&&e>0&&(h._active=!0),0===m&&h.vars.onStart&&(0===h._time&&h._duration||t||h._callback("onStart")),(p=h._time)>=m)for(i=h._first;i&&(a=i._next,p===h._time&&(!h._paused||y));)(i._active||i._startTime<=p&&!i._paused&&!i._gc)&&(f===i&&(h.pause(),h._pauseTime=d),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)),i=a;else for(i=h._last;i&&(a=i._prev,p===h._time&&(!h._paused||y));){if(i._active||i._startTime<=m&&!i._paused&&!i._gc){if(f===i){for(f=i._prev;f&&f.endTime()>h._time;)f.render(f._reversed?f.totalDuration()-(e-f._startTime)*f._timeScale:(e-f._startTime)*f._timeScale,t,n),f=f._prev;f=null,h.pause(),h._pauseTime=d}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)}i=a}h._onUpdate&&(t||(u.length&&c(),h._callback("onUpdate"))),s&&(h._gc||(v===h._startTime||_!==h._timeScale)&&(0===h._time||g>=h.totalDuration())&&(o&&(u.length&&c(),h._timeline.autoRemoveChildren&&h._enabled(!1,!1),h._active=!1),!t&&h.vars[s]&&h._callback(s)))}},v._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof i&&e._hasPausedChild())return!0;e=e._next}return!1},v.getChildren=function(e,t,i,r){r=r||-9999999999;for(var o=[],a=this._first,s=0;a;)a._startTime-1;)(i[r].timeline===this||t&&this._contains(i[r]))&&(a[s++]=i[r]);return o&&this._enabled(!1,!0),a},v.recent=function(){return this._recent},v._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},v.shiftChildren=function(e,t,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=e),r=r._next;if(t)for(i in o)o[i]>=n&&(o[i]+=e);return this._uncache(!0)},v._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var n=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(e,t)&&(r=!0);return r},v.clear=function(e){var t=this.getChildren(!1,!0,!0),n=t.length;for(this._time=this._totalTime=0;--n>-1;)t[n]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},v.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return e.prototype.invalidate.call(this)},v._enabled=function(e,n){if(e===this._gc)for(var i=this._first;i;)i._enabled(e,!0),i=i._next;return t.prototype._enabled.call(this,e,n)},v.totalTime=function(t,n,i){this._forcingPlayhead=!0;var r=e.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},v.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},v.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,n,i=0,r=this,o=r._last,a=999999999999;o;)t=o._prev,o._dirty&&o.totalDuration(),o._startTime>a&&r._sortChildren&&!o._paused&&!r._calculatingDuration?(r._calculatingDuration=1,r.add(o,o._startTime-o._delay),r._calculatingDuration=0):a=o._startTime,o._startTime<0&&!o._paused&&(i-=o._startTime,r._timeline.smoothChildTiming&&(r._startTime+=o._startTime/r._timeScale,r._time-=o._startTime,r._totalTime-=o._startTime,r._rawPrevTime-=o._startTime),r.shiftChildren(-o._startTime,!1,-9999999999),a=0),(n=o._startTime+o._totalDuration/o._timeScale)>i&&(i=n),o=t;r._duration=r._totalDuration=i,r._dirty=!1}return this._totalDuration}return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this},v.paused=function(t){if(!1===t&&this._paused)for(var n=this._first;n;)n._startTime===this._time&&"isPause"===n.data&&(n._rawPrevTime=0),n=n._next;return e.prototype.paused.apply(this,arguments)},v.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===e._rootFramesTimeline},v.rawTime=function(e){return e&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(e)-this._startTime)*this._timeScale},i}),!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(e,t,n){var i=function(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},r=1e-8,o=t._internals,a=o.lazyTweens,s=o.lazyRender,l=_gsScope._gsDefine.globals,u=new n(null,null,1,0),c=i.prototype=new e;return c.constructor=i,c.kill()._gc=!1,i.version="2.1.3",c.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},c.addCallback=function(e,n,i,r){return this.add(t.delayedCall(0,e,i,r),n)},c.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var n=this.getTweensOf(e,!1),i=n.length,r=this._parseTimeOrLabel(t);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},c.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},c.tweenTo=function(e,n){n=n||{};var i,r,o,a={ease:u,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},s=n.repeat&&l.TweenMax||t;for(r in n)a[r]=n[r];return a.time=this._parseTimeOrLabel(e),i=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,o=new s(this,i,a),a.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||i!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),n.onStart&&n.onStart.apply(n.onStartScope||n.callbackScope||o,n.onStartParams||[])},o},c.tweenFromTo=function(e,t,n){n=n||{},e=this._parseTimeOrLabel(e),n.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(t,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-e)/this._timeScale||.001)},c.render=function(e,t,n){this._gc&&this._enabled(!0,!1);var i,o,l,u,c,f,p,d,h,m=this,g=m._time,v=m._dirty?m.totalDuration():m._totalDuration,_=m._duration,y=m._totalTime,b=m._startTime,x=m._timeScale,w=m._rawPrevTime,T=m._paused,S=m._cycle;if(g!==m._time&&(e+=m._time-g),e>=v-r&&e>=0)m._locked||(m._totalTime=v,m._cycle=m._repeat),m._reversed||m._hasPausedChild()||(o=!0,u="onComplete",c=!!m._timeline.autoRemoveChildren,0===m._duration&&(0>=e&&e>=-r||0>w||w===r)&&w!==e&&m._first&&(c=!0,w>r&&(u="onReverseComplete"))),m._rawPrevTime=m._duration||!t||e||m._rawPrevTime===e?e:r,m._yoyo&&1&m._cycle?m._time=e=0:(m._time=_,e=_+1e-4);else if(r>e)if(m._locked||(m._totalTime=m._cycle=0),m._time=0,e>-r&&(e=0),(0!==g||0===_&&w!==r&&(w>0||0>e&&w>=0)&&!m._locked)&&(u="onReverseComplete",o=m._reversed),0>e)m._active=!1,m._timeline.autoRemoveChildren&&m._reversed?(c=o=!0,u="onReverseComplete"):w>=0&&m._first&&(c=!0),m._rawPrevTime=e;else{if(m._rawPrevTime=_||!t||e||m._rawPrevTime===e?e:r,0===e&&o)for(i=m._first;i&&0===i._startTime;)i._duration||(o=!1),i=i._next;e=0,m._initted||(c=!0)}else 0===_&&0>w&&(c=!0),m._time=m._rawPrevTime=e,m._locked||(m._totalTime=e,0!==m._repeat&&(f=_+m._repeatDelay,m._cycle=m._totalTime/f>>0,m._cycle&&m._cycle===m._totalTime/f&&e>=y&&m._cycle--,m._time=m._totalTime-m._cycle*f,m._yoyo&&1&m._cycle&&(m._time=_-m._time),m._time>_?(m._time=_,e=_+1e-4):m._time<0?m._time=e=0:e=m._time));if(m._hasPause&&!m._forcingPlayhead&&!t){if((e=m._time)>g||m._repeat&&S!==m._cycle)for(i=m._first;i&&i._startTime<=e&&!p;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===m._rawPrevTime||(p=i),i=i._next;else for(i=m._last;i&&i._startTime>=e&&!p;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(p=i),i=i._prev;p&&(h=m._startTime+(m._reversed?m._duration-p._startTime:p._startTime)/m._timeScale,p._startTime<_&&(m._time=m._rawPrevTime=e=p._startTime,m._totalTime=e+m._cycle*(m._totalDuration+m._repeatDelay)))}if(m._cycle!==S&&!m._locked){var C=m._yoyo&&0!=(1&S),k=C===(m._yoyo&&0!=(1&m._cycle)),P=m._totalTime,O=m._cycle,A=m._rawPrevTime,E=m._time;if(m._totalTime=S*_,m._cycle0&&(m._active=!0),0===y&&m.vars.onStart&&(0===m._totalTime&&m._totalDuration||t||m._callback("onStart")),(d=m._time)>=g)for(i=m._first;i&&(l=i._next,d===m._time&&(!m._paused||T));)(i._active||i._startTime<=m._time&&!i._paused&&!i._gc)&&(p===i&&(m.pause(),m._pauseTime=h),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)),i=l;else for(i=m._last;i&&(l=i._prev,d===m._time&&(!m._paused||T));){if(i._active||i._startTime<=g&&!i._paused&&!i._gc){if(p===i){for(p=i._prev;p&&p.endTime()>m._time;)p.render(p._reversed?p.totalDuration()-(e-p._startTime)*p._timeScale:(e-p._startTime)*p._timeScale,t,n),p=p._prev;p=null,m.pause(),m._pauseTime=h}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,n):i.render((e-i._startTime)*i._timeScale,t,n)}i=l}m._onUpdate&&(t||(a.length&&s(),m._callback("onUpdate"))),u&&(m._locked||m._gc||(b===m._startTime||x!==m._timeScale)&&(0===m._time||v>=m.totalDuration())&&(o&&(a.length&&s(),m._timeline.autoRemoveChildren&&m._enabled(!1,!1),m._active=!1),!t&&m.vars[u]&&m._callback(u)))}else y!==m._totalTime&&m._onUpdate&&(t||m._callback("onUpdate"))},c.getActive=function(e,t,n){var i,r,o=[],a=this.getChildren(e||null==e,t||null==e,!!n),s=0,l=a.length;for(i=0;l>i;i++)(r=a[i]).isActive()&&(o[s++]=r);return o},c.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,n=this.getLabelsArray(),i=n.length;for(t=0;i>t;t++)if(n[t].time>e)return n[t].name;return null},c.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),n=t.length;--n>-1;)if(t[n].timen&&(e=n),this.totalTime(this._yoyo&&1&i?n-e+r:this._repeat?e+r:e,t)},c.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},c.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},c.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},c.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+r)},i}),!0),e=180/Math.PI,t=[],n=[],i=[],r={},o=_gsScope._gsDefine.globals,a=function(e,t,n,i){n===i&&(n=i-(i-t)/1e6),e===t&&(t=e+(n-e)/1e6),this.a=e,this.b=t,this.c=n,this.d=i,this.da=i-e,this.ca=n-e,this.ba=t-e},s=function(e,t,n,i){var r={a:e},o={},a={},s={c:i},l=(e+t)/2,u=(t+n)/2,c=(n+i)/2,f=(l+u)/2,p=(u+c)/2,d=(p-f)/8;return r.b=l+(e-l)/4,o.b=f+d,r.c=o.a=(r.b+o.b)/2,o.c=a.a=(f+p)/2,a.b=p-d,s.b=c+(i-c)/4,a.c=s.a=(a.b+s.b)/2,[r,o,a,s]},l=function(e,r,o,a,l){var u,c,f,p,d,h,m,g,v,_,y,b,x,w=e.length-1,T=0,S=e[0].a;for(u=0;w>u;u++)c=(d=e[T]).a,f=d.d,p=e[T+1].d,l?(y=t[u],x=((b=n[u])+y)*r*.25/(a?.5:i[u]||.5),g=f-((h=f-(f-c)*(a?.5*r:0!==y?x/y:0))+(((m=f+(p-f)*(a?.5*r:0!==b?x/b:0))-h)*(3*y/(y+b)+.5)/4||0))):g=f-((h=f-(f-c)*r*.5)+(m=f+(p-f)*r*.5))/2,h+=g,m+=g,d.c=v=h,d.b=0!==u?S:S=d.a+.6*(d.c-d.a),d.da=f-c,d.ca=v-c,d.ba=S-c,o?(_=s(c,S,v,f),e.splice(T,1,_[0],_[1],_[2],_[3]),T+=4):T++,S=m;(d=e[T]).b=S,d.c=S+.4*(d.d-S),d.da=d.d-d.a,d.ca=d.c-d.a,d.ba=S-d.a,o&&(_=s(d.a,S,d.c,d.d),e.splice(T,1,_[0],_[1],_[2],_[3]))},u=function(e,i,r,o){var s,l,u,c,f,p,d=[];if(o)for(l=(e=[o].concat(e)).length;--l>-1;)"string"==typeof(p=e[l][i])&&"="===p.charAt(1)&&(e[l][i]=o[i]+Number(p.charAt(0)+p.substr(2)));if(0>(s=e.length-2))return d[0]=new a(e[0][i],0,0,e[0][i]),d;for(l=0;s>l;l++)u=e[l][i],c=e[l+1][i],d[l]=new a(u,0,0,c),r&&(f=e[l+2][i],t[l]=(t[l]||0)+(c-u)*(c-u),n[l]=(n[l]||0)+(f-c)*(f-c));return d[l]=new a(e[l][i],0,0,e[l+1][i]),d},c=function(e,o,a,s,c,f){var p,d,h,m,g,v,_,y,b={},x=[],w=f||e[0];for(d in c="string"==typeof c?","+c+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==o&&(o=1),e[0])x.push(d);if(e.length>1){for(y=e[e.length-1],_=!0,p=x.length;--p>-1;)if(d=x[p],Math.abs(w[d]-y[d])>.05){_=!1;break}_&&(e=e.concat(),f&&e.unshift(f),e.push(e[1]),f=e[e.length-3])}for(t.length=n.length=i.length=0,p=x.length;--p>-1;)d=x[p],r[d]=-1!==c.indexOf(","+d+","),b[d]=u(e,d,r[d],f);for(p=t.length;--p>-1;)t[p]=Math.sqrt(t[p]),n[p]=Math.sqrt(n[p]);if(!s){for(p=x.length;--p>-1;)if(r[d])for(v=(h=b[x[p]]).length-1,m=0;v>m;m++)g=h[m+1].da/n[m]+h[m].da/t[m]||0,i[m]=(i[m]||0)+g*g;for(p=i.length;--p>-1;)i[p]=Math.sqrt(i[p])}for(p=x.length,m=a?4:1;--p>-1;)h=b[d=x[p]],l(h,o,a,s,r[d]),_&&(h.splice(0,m),h.splice(h.length-m,m));return b},f=function(e,t,n){var i,r,o,s,l,u,c,f,p,d,h,m={},g="cubic"===(t=t||"soft")?3:2,v="soft"===t,_=[];if(v&&n&&(e=[n].concat(e)),null==e||e.length-1;){for(m[p=_[u]]=l=[],d=0,f=e.length,c=0;f>c;c++)i=null==n?e[c][p]:"string"==typeof(h=e[c][p])&&"="===h.charAt(1)?n[p]+Number(h.charAt(0)+h.substr(2)):Number(h),v&&c>1&&f-1>c&&(l[d++]=(i+l[d-2])/2),l[d++]=i;for(f=d-g+1,d=0,c=0;f>c;c+=g)i=l[c],r=l[c+1],o=l[c+2],s=2===g?0:l[c+3],l[d++]=h=3===g?new a(i,r,o,s):new a(i,(2*r+i)/3,(2*r+o)/3,o);l.length=d}return m},p=function(e,t,n){for(var i,r,o,a,s,l,u,c,f,p,d,h=1/n,m=e.length;--m>-1;)for(o=(p=e[m]).a,a=p.d-o,s=p.c-o,l=p.b-o,i=r=0,c=1;n>=c;c++)i=r-(r=((u=h*c)*u*a+3*(f=1-u)*(u*s+f*l))*u),t[d=m*n+c-1]=(t[d]||0)+i*i},d=function(e,t){var n,i,r,o,a=[],s=[],l=0,u=0,c=(t=t>>0||6)-1,f=[],d=[];for(n in e)p(e[n],a,t);for(r=a.length,i=0;r>i;i++)l+=Math.sqrt(a[i]),d[o=i%t]=l,o===c&&(u+=l,f[o=i/t>>0]=d,s[o]=u,l=0,d=[]);return{length:u,lengths:s,segments:f}},h=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(e,t,n){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var i,r,o,a,s,l=t.values||[],u={},p=l[0],h=t.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,p)this._props.push(i);for(o=this._props.length;--o>-1;)i=this._props[o],this._overwriteProps.push(i),r=this._func[i]="function"==typeof e[i],u[i]=r?e[i.indexOf("set")||"function"!=typeof e["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(e[i]),s||u[i]!==l[0][i]&&(s=u);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?c(l,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,s):f(l,t.type,u),this._segCount=this._beziers[i].length,this._timeRes){var m=d(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.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(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),o=h.length;--o>-1;){for(a=0;3>a;a++)i=h[o][a],this._func[i]="function"==typeof e[i]&&e[i.indexOf("set")||"function"!=typeof e["get"+i.substr(3)]?i:"get"+i.substr(3)];i=h[o][2],this._initialRotations[o]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var n,i,r,o,a,s,l,u,c,f,p,d=this._segCount,h=this._func,m=this._target,g=t!==this._startRatio;if(this._timeRes){if(c=this._lengths,f=this._curSeg,p=t*this._length,r=this._li,p>this._l2&&d-1>r){for(u=d-1;u>r&&(this._l2=c[++r])<=p;);this._l1=c[r-1],this._li=r,this._curSeg=f=this._segments[r],this._s2=f[this._s1=this._si=0]}else if(p0){for(;r>0&&(this._l1=c[--r])>=p;);0===r&&pthis._s2&&rr&&(this._s2=f[++r])<=p;);this._s1=f[r-1],this._si=r}else if(p0){for(;r>0&&(this._s1=f[--r])>=p;);0===r&&pt?0:t>=1?d-1:d*t>>0)*(1/d))*d;for(i=1-s,r=this._props.length;--r>-1;)o=this._props[r],l=(s*s*(a=this._beziers[o][n]).da+3*i*(s*a.ca+i*a.ba))*s+a.a,this._mod[o]&&(l=this._mod[o](l,m)),h[o]?m[o](l):m[o]=l;if(this._autoRotate){var v,_,y,b,x,w,T,S=this._autoRotate;for(r=S.length;--r>-1;)o=S[r][2],w=S[r][3]||0,T=!0===S[r][4]?1:e,a=this._beziers[S[r][0]],v=this._beziers[S[r][1]],a&&v&&(a=a[n],v=v[n],_=a.a+(a.b-a.a)*s,_+=((b=a.b+(a.c-a.b)*s)-_)*s,b+=(a.c+(a.d-a.c)*s-b)*s,y=v.a+(v.b-v.a)*s,y+=((x=v.b+(v.c-v.b)*s)-y)*s,x+=(v.c+(v.d-v.c)*s-x)*s,l=g?Math.atan2(x-y,b-_)*T+w:this._initialRotations[r],this._mod[o]&&(l=this._mod[o](l,m)),h[o]?m[o](l):m[o]=l)}}}),m=h.prototype,h.bezierThrough=c,h.cubicToQuadratic=s,h._autoCSS=!0,h.quadraticToCubic=function(e,t,n){return new a(e,(2*t+e)/3,(2*t+n)/3,n)},h._cssRegister=function(){var e=o.CSSPlugin;if(e){var t=e._internals,n=t._parseToProxy,i=t._setPluginRatio,r=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,o,a,s,l){t instanceof Array&&(t={values:t}),l=new h;var u,c,f,p=t.values,d=p.length-1,m=[],g={};if(0>d)return s;for(u=0;d>=u;u++)f=n(e,p[u],a,s,l,d!==u),m[u]=f.end;for(c in t)g[c]=t[c];return g.values=m,(s=new r(e,"bezier",0,0,f.pt,2)).data=f,s.plugin=l,s.setRatio=i,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(u=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=f.end.left?[["left","top","rotation",u,!1]]:null!=f.end.x&&[["x","y","rotation",u,!1]]),g.autoRotate&&(a._transform||a._enableTransforms(!1),f.autoRotate=a._target._gsTransform,f.proxy.rotation=f.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(f.proxy,g,a._tween),s}})}},m._mod=function(e){for(var t,n=this._overwriteProps,i=n.length;--i>-1;)(t=e[n[i]])&&"function"==typeof t&&(this._mod[n[i]]=t)},m._kill=function(e){var t,n,i=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],n=i.length;--n>-1;)i[n]===t&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)e[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,e)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(e,t){var n,i,r,o,a=function(){e.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},s=_gsScope._gsDefine.globals,l={},u=a.prototype=new e("css");u.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,u="px",a.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,f,p,d,h,m,g,v,_=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,S=/opacity *= *([^)]*)/i,C=/opacity:([^;]*)/i,k=/alpha\(opacity *=.+?\)/i,P=/^(rgb|hsl)/,O=/([A-Z])/g,A=/-([a-z])/gi,E=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,D=function(e,t){return t.toUpperCase()},R=/(?:Left|Right|Width)/i,N=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,M=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,j=/,(?=[^\)]*(?:\(|$))/gi,L=/[\s,\(]/i,$=Math.PI/180,F=180/Math.PI,z={},I={style:{}},q=_gsScope.document||{createElement:function(){return I}},H=function(e,t){var n=q.createElementNS?q.createElementNS(t||"http://www.w3.org/1999/xhtml",e):q.createElement(e);return n.style?n:q.createElement(e)},B=H("div"),X=H("img"),W=a._internals={_specialProps:l},U=(_gsScope.navigator||{}).userAgent||"",Y=function(){var e=U.indexOf("Android"),t=H("a");return p=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===e||parseFloat(U.substr(e+8,2))>3),h=p&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,d=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(m=parseFloat(RegExp.$1)),!!t&&(t.style.cssText="top:1px;opacity:.55;",/^0.55/.test(t.style.opacity))}(),V=function(e){return S.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(e){_gsScope.console&&console.log(e)},Q="",Z="",J=function(e,t){var n,i,r=(t=t||B).style;if(void 0!==r[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+e];);return i>=0?(Q="-"+(Z=3===i?"ms":n[i]).toLowerCase()+"-",Z+e):null},K="undefined"!=typeof window?window:q.defaultView||{getComputedStyle:function(){}},ee=function(e){return K.getComputedStyle(e)},te=a.getStyle=function(e,t,n,i,r){var o;return Y||"opacity"!==t?(!i&&e.style[t]?o=e.style[t]:(n=n||ee(e))?o=n[t]||n.getPropertyValue(t)||n.getPropertyValue(t.replace(O,"-$1").toLowerCase()):e.currentStyle&&(o=e.currentStyle[t]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):V(e)},ne=W.convertToPixels=function(e,n,i,r,o){if("px"===r||!r&&"lineHeight"!==n)return i;if("auto"===r||!i)return 0;var s,l,u,c=R.test(n),f=e,p=B.style,d=0>i,h=1===i;if(d&&(i=-i),h&&(i*=100),"lineHeight"!==n||r)if("%"===r&&-1!==n.indexOf("border"))s=i/100*(c?e.clientWidth:e.clientHeight);else{if(p.cssText="border:0 solid red;position:"+te(e,"position")+";line-height:0;","%"!==r&&f.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)p[c?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(f=e.parentNode||q.body,-1!==te(f,"display").indexOf("flex")&&(p.position="absolute"),l=f._gsCache,u=t.ticker.frame,l&&c&&l.time===u)return l.width*i/100;p[c?"width":"height"]=i+r}f.appendChild(B),s=parseFloat(B[c?"offsetWidth":"offsetHeight"]),f.removeChild(B),c&&"%"===r&&!1!==a.cacheWidths&&((l=f._gsCache=f._gsCache||{}).time=u,l.width=s/i*100),0!==s||o||(s=ne(e,n,i,r,!0))}else l=ee(e).lineHeight,e.style.lineHeight=i,s=parseFloat(ee(e).lineHeight),e.style.lineHeight=l;return h&&(s/=100),d?-s:s},ie=W.calculateOffset=function(e,t,n){if("absolute"!==te(e,"position",n))return 0;var i="left"===t?"Left":"Top",r=te(e,"margin"+i,n);return e["offset"+i]-(ne(e,t,parseFloat(r),r.replace(T,""))||0)},re=function(e,t){var n,i,r,o={};if(t=t||ee(e))if(n=t.length)for(;--n>-1;)(-1===(r=t[n]).indexOf("-transform")||De===r)&&(o[r.replace(A,D)]=t.getPropertyValue(r));else for(n in t)(-1===n.indexOf("Transform")||Ee===n)&&(o[n]=t[n]);else if(t=e.currentStyle||e.style)for(n in t)"string"==typeof n&&void 0===o[n]&&(o[n.replace(A,D)]=t[n]);return Y||(o.opacity=V(e)),i=Xe(e,t,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Ne&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},oe=function(e,t,n,i,r){var o,a,s,l={},u=e.style;for(a in n)"cssText"!==a&&"length"!==a&&isNaN(a)&&(t[a]!==(o=n[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"==typeof o||"string"==typeof o)&&(l[a]="auto"!==o||"left"!==a&&"top"!==a?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof t[a]||""===t[a].replace(w,"")?o:0:ie(e,a),void 0!==u[a]&&(s=new be(u,a,u[a],s)));if(i)for(a in i)"className"!==a&&(l[a]=i[a]);return{difs:l,firstMPT:s}},ae={width:["Left","Right"],height:["Top","Bottom"]},se=["marginLeft","marginRight","marginTop","marginBottom"],le=function(e,t,n){if("svg"===(e.nodeName+"").toLowerCase())return(n||ee(e))[t]||0;if(e.getCTM&&qe(e))return e.getBBox()[t]||0;var i=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),r=ae[t],o=r.length;for(n=n||ee(e);--o>-1;)i-=parseFloat(te(e,"padding"+r[o],n,!0))||0,i-=parseFloat(te(e,"border"+r[o]+"Width",n,!0))||0;return i},ue=function(e,t){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";(null==e||""===e)&&(e="0 0");var n,i=e.split(" "),r=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":i[0],o=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":i[1];if(i.length>3&&!t){for(i=e.split(", ").join(",").split(","),e=[],n=0;n2?" "+i[2]:""),t&&(t.oxp=-1!==r.indexOf("%"),t.oyp=-1!==o.indexOf("%"),t.oxr="="===r.charAt(1),t.oyr="="===o.charAt(1),t.ox=parseFloat(r.replace(w,"")),t.oy=parseFloat(o.replace(w,"")),t.v=e),t||e},ce=function(e,t){return"function"==typeof e&&(e=e(v,g)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0},fe=function(e,t){"function"==typeof e&&(e=e(v,g));var n="string"==typeof e&&"="===e.charAt(1);return"string"==typeof e&&"v"===e.charAt(e.length-2)&&(e=(n?e.substr(0,2):0)+window["inner"+("vh"===e.substr(-2)?"Height":"Width")]*(parseFloat(n?e.substr(2):e)/100)),null==e?t:n?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0},pe=function(e,t,n,i){var r,o,a,s,l,u=1e-6;return"function"==typeof e&&(e=e(v,g)),null==e?s=t:"number"==typeof e?s=e:(r=360,o=e.split("_"),a=((l="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===e.indexOf("rad")?1:F)-(l?0:t),o.length&&(i&&(i[n]=t+a),-1!==e.indexOf("short")&&((a%=r)!==a%180&&(a=0>a?a+r:a-r)),-1!==e.indexOf("_cw")&&0>a?a=(a+9999999999*r)%r-(a/r|0)*r:-1!==e.indexOf("ccw")&&a>0&&(a=(a-9999999999*r)%r-(a/r|0)*r)),s=t+a),u>s&&s>-u&&(s=0),s},de={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]},he=function(e,t,n){return 255*(1>6*(e=0>e?e+1:e>1?e-1:e)?t+(n-t)*e*6:.5>e?n:2>3*e?t+(n-t)*(2/3-e)*6:t)+.5|0},me=a.parseColor=function(e,t){var n,i,r,o,a,s,l,u,c,f,p;if(e)if("number"==typeof e)n=[e>>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),de[e])n=de[e];else if("#"===e.charAt(0))4===e.length&&(i=e.charAt(1),r=e.charAt(2),o=e.charAt(3),e="#"+i+i+r+r+o+o),n=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(n=p=e.match(_),t){if(-1!==e.indexOf("="))return e.match(y)}else a=Number(n[0])%360/360,s=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=.5>=l?l*(s+1):l+s-l*s),n.length>3&&(n[3]=Number(n[3])),n[0]=he(a+1/3,i,r),n[1]=he(a,i,r),n[2]=he(a-1/3,i,r);else n=e.match(_)||de.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=de.black;return t&&!p&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,l=((u=Math.max(i,r,o))+(c=Math.min(i,r,o)))/2,u===c?a=s=0:(f=u-c,s=l>.5?f/(2-u-c):f/(u+c),a=u===i?(r-o)/f+(o>r?6:0):u===r?(o-i)/f+2:(i-r)/f+4,a*=60),n[0]=a+.5|0,n[1]=100*s+.5|0,n[2]=100*l+.5|0),n},ge=function(e,t){var n,i,r,o=e.match(ve)||[],a=0,s="";if(!o.length)return e;for(n=0;n0?a[0].replace(_,""):"";return c?r=t?function(e){var t,p,d,h;if("number"==typeof e)e+=f;else if(i&&j.test(e)){for(h=e.replace(j,"|").split("|"),d=0;dd--)for(;++dp--)for(;++pl;l++)s[e[l]]=u[l]=u[l]||u[(l-1)/2>>0];return r.parse(t,s,o,a)}},be=(W._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,n,i,r,o,a=this.data,s=a.proxy,l=a.firstMPT,u=1e-6;l;)t=s[l.v],l.r?t=l.r(t):u>t&&t>-u&&(t=0),l.t[l.p]=t,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,s.rotation,this.t,this._tween):s.rotation),1===e||0===e)for(l=a.firstMPT,o=1===e?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i0;)l="xn"+a,d[s=i.p+"_"+l]=i.data[l],p[s]=i[l],o||(u=new be(i,l,s,u,i.rxp[l]));i=i._next}return{proxy:p,end:d,firstMPT:u,pt:c}},W.CSSPropTween=function(e,t,i,r,a,s,l,u,c,f,p){this.t=e,this.p=t,this.s=i,this.c=r,this.n=l||t,e instanceof xe||o.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=s||0,c&&(this.pr=c,n=!0),this.b=void 0===f?i:f,this.e=void 0===p?i+r:p,a&&(this._next=a,a._prev=this)}),we=function(e,t,n,i,r,o){var a=new xe(e,t,n,i-n,r,-1,o);return a.b=n,a.e=a.xs0=i,a},Te=a.parseComplex=function(e,t,n,i,r,o,s,l,u,f){n=n||o||"","function"==typeof i&&(i=i(v,g)),s=new xe(e,t,0,0,s,f?2:1,null,!1,l,n,i),i+="",r&&ve.test(i+n)&&(i=[n,i],a.colorStringFilter(i),n=i[0],i=i[1]);var p,d,h,m,b,x,w,T,S,C,k,P,O,A=n.split(", ").join(",").split(" "),E=i.split(", ").join(",").split(" "),D=A.length,R=!1!==c;for((-1!==i.indexOf(",")||-1!==n.indexOf(","))&&(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(A=A.join(" ").replace(j,", ").split(" "),E=E.join(" ").replace(j,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),E=E.join(" ").split(",").join(", ").split(" ")),D=A.length),D!==E.length&&(D=(A=(o||"").split(" ")).length),s.plugin=u,s.setRatio=f,ve.lastIndex=0,p=0;D>p;p++)if(m=A[p],b=E[p]+"",(T=parseFloat(m))||0===T)s.appendXtra("",T,ce(b,T),b.replace(y,""),!(!R||-1===b.indexOf("px"))&&Math.round,!0);else if(r&&ve.test(m))P=")"+((P=b.indexOf(")")+1)?b.substr(P):""),O=-1!==b.indexOf("hsl")&&Y,C=b,m=me(m,O),b=me(b,O),(S=m.length+b.length>6)&&!Y&&0===b[3]?(s["xs"+s.l]+=s.l?" transparent":"transparent",s.e=s.e.split(E[p]).join("transparent")):(Y||(S=!1),O?s.appendXtra(C.substr(0,C.indexOf("hsl"))+(S?"hsla(":"hsl("),m[0],ce(b[0],m[0]),",",!1,!0).appendXtra("",m[1],ce(b[1],m[1]),"%,",!1).appendXtra("",m[2],ce(b[2],m[2]),S?"%,":"%"+P,!1):s.appendXtra(C.substr(0,C.indexOf("rgb"))+(S?"rgba(":"rgb("),m[0],b[0]-m[0],",",Math.round,!0).appendXtra("",m[1],b[1]-m[1],",",Math.round).appendXtra("",m[2],b[2]-m[2],S?",":P,Math.round),S&&(m=m.length<4?1:m[3],s.appendXtra("",m,(b.length<4?1:b[3])-m,P,!1))),ve.lastIndex=0;else if(x=m.match(_)){if(!(w=b.match(y))||w.length!==x.length)return s;for(h=0,d=0;d0;)u["xn"+Se]=0,u["xs"+Se]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(e,t,n,i,r,o){var a=this,s=a.l;return a["xs"+s]+=o&&(s||a["xs"+s])?" "+e:e||"",n||0===s||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=i||"",s>0?(a.data["xn"+s]=t+n,a.rxp["xn"+s]=r,a["xn"+s]=t,a.plugin||(a.xfirst=new xe(a,"xn"+s,t,n,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:t+n},a.rxp={},a.s=t,a.c=n,a.r=r,a)):(a["xs"+s]+=t+(i||""),a)};var Ce=function(e,t){t=t||{},this.p=t.prefix&&J(e)||e,l[e]=l[this.p]=this,this.format=t.formatter||_e(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.allowFunc=t.allowFunc,this.pr=t.priority||0},ke=W._registerComplexSpecialProp=function(e,t,n){"object"!=typeof t&&(t={parser:n});var i,r=e.split(","),o=t.defaultValue;for(n=n||[o],i=0;is.length?l.length:s.length,a=0;u>a;a++)t=s[a]=s[a]||this.dflt,n=l[a]=l[a]||this.dflt,p&&((c=t.indexOf(p))!==(f=n.indexOf(p))&&(-1===f?s[a]=s[a].split(p).join(""):-1===c&&(s[a]+=" "+p)));t=s.join(", "),n=l.join(", ")}return Te(e,this.p,t,n,this.clrs,this.dflt,i,this.pr,r,o)},u.parse=function(e,t,n,i,o,a,s){return this.parseComplex(e.style,this.format(te(e,this.p,r,!1,this.dflt)),this.format(t),o,a)},a.registerSpecialProp=function(e,t,n){ke(e,{parser:function(e,i,r,o,a,s,l){var u=new xe(e,r,0,0,a,2,r,!1,n);return u.plugin=s,u.setRatio=t(e,i,o._tween,r),u},priority:n})},a.useSVGTransformAttr=!0;var Oe,Ae="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ee=J("transform"),De=Q+"transform",Re=J("transformOrigin"),Ne=null!==J("perspective"),Me=W.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Ne)&&(a.defaultForce3D||"auto")},je=_gsScope.SVGElement,Le=function(e,t,n){var i,r=q.createElementNS("http://www.w3.org/2000/svg",e),o=/([a-z])([A-Z])/g;for(i in n)r.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),n[i]);return t.appendChild(r),r},$e=q.documentElement||{},Fe=function(){var e,t,n,i=m||/Android/i.test(U)&&!_gsScope.chrome;return q.createElementNS&&$e.appendChild&&!i&&(e=Le("svg",$e),n=(t=Le("rect",e,{width:100,height:50,x:100})).getBoundingClientRect().width,t.style[Re]="50% 50%",t.style[Ee]="scaleX(0.5)",i=n===t.getBoundingClientRect().width&&!(d&&Ne),$e.removeChild(e)),i}(),ze=function(e,t,n,i,r,o){var s,l,u,c,f,p,d,h,m,g,v,_,y,b,x=e._gsTransform,w=Be(e,!0);x&&(y=x.xOrigin,b=x.yOrigin),(!i||(s=i.split(" ")).length<2)&&(0===(d=e.getBBox()).x&&0===d.y&&d.width+d.height===0&&(d={x:parseFloat(e.hasAttribute("x")?e.getAttribute("x"):e.hasAttribute("cx")?e.getAttribute("cx"):0)||0,y:parseFloat(e.hasAttribute("y")?e.getAttribute("y"):e.hasAttribute("cy")?e.getAttribute("cy"):0)||0,width:0,height:0}),s=[(-1!==(t=ue(t).split(" "))[0].indexOf("%")?parseFloat(t[0])/100*d.width:parseFloat(t[0]))+d.x,(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*d.height:parseFloat(t[1]))+d.y]),n.xOrigin=c=parseFloat(s[0]),n.yOrigin=f=parseFloat(s[1]),i&&w!==He&&(p=w[0],d=w[1],h=w[2],m=w[3],g=w[4],v=w[5],(_=p*m-d*h)&&(l=c*(m/_)+f*(-h/_)+(h*v-m*g)/_,u=c*(-d/_)+f*(p/_)-(p*v-d*g)/_,c=n.xOrigin=s[0]=l,f=n.yOrigin=s[1]=u)),x&&(o&&(n.xOffset=x.xOffset,n.yOffset=x.yOffset,x=n),r||!1!==r&&!1!==a.defaultSmoothOrigin?(l=c-y,u=f-b,x.xOffset+=l*w[0]+u*w[2]-l,x.yOffset+=l*w[1]+u*w[3]-u):x.xOffset=x.yOffset=0),o||e.setAttribute("data-svg-origin",s.join(" "))},Ie=function(e){var t,n=H("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,o=this.style.cssText;if($e.appendChild(n),n.appendChild(this),this.style.display="block",e)try{t=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Ie}catch(e){}else this._originalGetBBox&&(t=this._originalGetBBox());return r?i.insertBefore(this,r):i.appendChild(this),$e.removeChild(n),this.style.cssText=o,t},qe=function(e){return!(!je||!e.getCTM||e.parentNode&&!e.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return Ie.call(e,!0)}}(e))},He=[1,0,0,1,0,0],Be=function(e,t){var n,i,r,o,a,s,l,u=e._gsTransform||new Me,c=1e5,f=e.style;if(Ee?i=te(e,De,null,!0):e.currentStyle&&(i=(i=e.currentStyle.filter.match(N))&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),u.x||0,u.y||0].join(","):""),n=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,Ee&&n&&!e.offsetParent&&e!==$e&&(o=f.display,f.display="block",(l=e.parentNode)&&e.offsetParent||(a=1,s=e.nextSibling,$e.appendChild(e)),n=!(i=te(e,De,null,!0))||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,o?f.display=o:Ve(f,"display"),a&&(s?l.insertBefore(e,s):l?l.appendChild(e):$e.removeChild(e))),(u.svg||e.getCTM&&qe(e))&&(n&&-1!==(f[Ee]+"").indexOf("matrix")&&(i=f[Ee],n=0),r=e.getAttribute("transform"),n&&r&&(i="matrix("+(r=e.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",n=0)),n)return He;for(r=(i||"").match(_)||[],Se=r.length;--Se>-1;)o=Number(r[Se]),r[Se]=(a=o-(o|=0))?(a*c+(0>a?-.5:.5)|0)/c+o:o;return t&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Xe=W.getTransform=function(e,n,i,r){if(e._gsTransform&&i&&!r)return e._gsTransform;var o,s,l,u,c,f,p=i&&e._gsTransform||new Me,d=p.scaleX<0,h=2e-5,m=1e5,g=Ne&&(parseFloat(te(e,Re,n,!1,"0 0 0").split(" ")[2])||p.zOrigin)||0,v=parseFloat(a.defaultTransformPerspective)||0;if(p.svg=!(!e.getCTM||!qe(e)),p.svg&&(ze(e,te(e,Re,n,!1,"50% 50%")+"",p,e.getAttribute("data-svg-origin")),Oe=a.useSVGTransformAttr||Fe),(o=Be(e))!==He){if(16===o.length){var _,y,b,x,w,T=o[0],S=o[1],C=o[2],k=o[3],P=o[4],O=o[5],A=o[6],E=o[7],D=o[8],R=o[9],N=o[10],M=o[12],j=o[13],L=o[14],$=o[11],z=Math.atan2(A,N);p.zOrigin&&(M=D*(L=-p.zOrigin)-o[12],j=R*L-o[13],L=N*L+p.zOrigin-o[14]),p.rotationX=z*F,z&&(_=P*(x=Math.cos(-z))+D*(w=Math.sin(-z)),y=O*x+R*w,b=A*x+N*w,D=P*-w+D*x,R=O*-w+R*x,N=A*-w+N*x,$=E*-w+$*x,P=_,O=y,A=b),z=Math.atan2(-C,N),p.rotationY=z*F,z&&(y=S*(x=Math.cos(-z))-R*(w=Math.sin(-z)),b=C*x-N*w,R=S*w+R*x,N=C*w+N*x,$=k*w+$*x,T=_=T*x-D*w,S=y,C=b),z=Math.atan2(S,T),p.rotation=z*F,z&&(_=T*(x=Math.cos(z))+S*(w=Math.sin(z)),y=P*x+O*w,b=D*x+R*w,S=S*x-T*w,O=O*x-P*w,R=R*x-D*w,T=_,P=y,D=b),p.rotationX&&Math.abs(p.rotationX)+Math.abs(p.rotation)>359.9&&(p.rotationX=p.rotation=0,p.rotationY=180-p.rotationY),z=Math.atan2(P,O),p.scaleX=(Math.sqrt(T*T+S*S+C*C)*m+.5|0)/m,p.scaleY=(Math.sqrt(O*O+A*A)*m+.5|0)/m,p.scaleZ=(Math.sqrt(D*D+R*R+N*N)*m+.5|0)/m,T/=p.scaleX,P/=p.scaleY,S/=p.scaleX,O/=p.scaleY,Math.abs(z)>h?(p.skewX=z*F,P=0,"simple"!==p.skewType&&(p.scaleY*=1/Math.cos(z))):p.skewX=0,p.perspective=$?1/(0>$?-$:$):0,p.x=M,p.y=j,p.z=L,p.svg&&(p.x-=p.xOrigin-(p.xOrigin*T-p.yOrigin*P),p.y-=p.yOrigin-(p.yOrigin*S-p.xOrigin*O))}else if(!Ne||r||!o.length||p.x!==o[4]||p.y!==o[5]||!p.rotationX&&!p.rotationY){var I=o.length>=6,q=I?o[0]:1,H=o[1]||0,B=o[2]||0,X=I?o[3]:1;p.x=o[4]||0,p.y=o[5]||0,l=Math.sqrt(q*q+H*H),u=Math.sqrt(X*X+B*B),c=q||H?Math.atan2(H,q)*F:p.rotation||0,f=B||X?Math.atan2(B,X)*F+c:p.skewX||0,p.scaleX=l,p.scaleY=u,p.rotation=c,p.skewX=f,Ne&&(p.rotationX=p.rotationY=p.z=0,p.perspective=v,p.scaleZ=1),p.svg&&(p.x-=p.xOrigin-(p.xOrigin*q+p.yOrigin*B),p.y-=p.yOrigin-(p.xOrigin*H+p.yOrigin*X))}for(s in Math.abs(p.skewX)>90&&Math.abs(p.skewX)<270&&(d?(p.scaleX*=-1,p.skewX+=p.rotation<=0?180:-180,p.rotation+=p.rotation<=0?180:-180):(p.scaleY*=-1,p.skewX+=p.skewX<=0?180:-180)),p.zOrigin=g,p)p[s]-h&&(p[s]=0)}return i&&(e._gsTransform=p,p.svg&&(Oe&&e.style[Ee]?t.delayedCall(.001,(function(){Ve(e.style,Ee)})):!Oe&&e.getAttribute("transform")&&t.delayedCall(.001,(function(){e.removeAttribute("transform")})))),p},We=function(e){var t,n,i=this.data,r=-i.rotation*$,o=r+i.skewX*$,a=1e5,s=(Math.cos(r)*i.scaleX*a|0)/a,l=(Math.sin(r)*i.scaleX*a|0)/a,u=(Math.sin(o)*-i.scaleY*a|0)/a,c=(Math.cos(o)*i.scaleY*a|0)/a,f=this.t.style,p=this.t.currentStyle;if(p){n=l,l=-u,u=-n,t=p.filter,f.filter="";var d,h,g=this.t.offsetWidth,v=this.t.offsetHeight,_="absolute"!==p.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+l+", M21="+u+", M22="+c,b=i.x+g*i.xPercent/100,x=i.y+v*i.yPercent/100;if(null!=i.ox&&(b+=(d=(i.oxp?g*i.ox*.01:i.ox)-g/2)-(d*s+(h=(i.oyp?v*i.oy*.01:i.oy)-v/2)*l),x+=h-(d*u+h*c)),_?y+=", Dx="+((d=g/2)-(d*s+(h=v/2)*l)+b)+", Dy="+(h-(d*u+h*c)+x)+")":y+=", sizingMethod='auto expand')",-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?f.filter=t.replace(M,y):f.filter=y+" "+t,(0===e||1===e)&&1===s&&0===l&&0===u&&1===c&&(_&&-1===y.indexOf("Dx=0, Dy=0")||S.test(t)&&100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&f.removeAttribute("filter")),!_){var w,C,k,P=8>m?1:-1;for(d=i.ieOffsetX||0,h=i.ieOffsetY||0,i.ieOffsetX=Math.round((g-((0>s?-s:s)*g+(0>l?-l:l)*v))/2+b),i.ieOffsetY=Math.round((v-((0>c?-c:c)*v+(0>u?-u:u)*g))/2+x),Se=0;4>Se;Se++)k=(n=-1!==(w=p[C=se[Se]]).indexOf("px")?parseFloat(w):ne(this.t,C,parseFloat(w),w.replace(T,""))||0)!==i[C]?2>Se?-i.ieOffsetX:-i.ieOffsetY:2>Se?d-i.ieOffsetX:h-i.ieOffsetY,f[C]=(i[C]=Math.round(n-k*(0===Se||2===Se?1:P)))+"px"}}},Ue=W.set3DTransformRatio=W.setTransformRatio=function(e){var t,n,i,r,o,a,s,l,u,c,f,p,h,m,g,v,_,y,b,x,w,T,S,C=this.data,k=this.t.style,P=C.rotation,O=C.rotationX,A=C.rotationY,E=C.scaleX,D=C.scaleY,R=C.scaleZ,N=C.x,M=C.y,j=C.z,L=C.svg,F=C.perspective,z=C.force3D,I=C.skewY,q=C.skewX;if(I&&(q+=I,P+=I),!((1!==e&&0!==e||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||j||F||A||O||1!==R)||Oe&&L||!Ne)P||q||L?(P*=$,T=q*$,S=1e5,n=Math.cos(P)*E,o=Math.sin(P)*E,i=Math.sin(P-T)*-D,a=Math.cos(P-T)*D,T&&"simple"===C.skewType&&(t=Math.tan(T-I*$),i*=t=Math.sqrt(1+t*t),a*=t,I&&(t=Math.tan(I*$),n*=t=Math.sqrt(1+t*t),o*=t)),L&&(N+=C.xOrigin-(C.xOrigin*n+C.yOrigin*i)+C.xOffset,M+=C.yOrigin-(C.xOrigin*o+C.yOrigin*a)+C.yOffset,Oe&&(C.xPercent||C.yPercent)&&(g=this.t.getBBox(),N+=.01*C.xPercent*g.width,M+=.01*C.yPercent*g.height),(g=1e-6)>N&&N>-g&&(N=0),g>M&&M>-g&&(M=0)),b=(n*S|0)/S+","+(o*S|0)/S+","+(i*S|0)/S+","+(a*S|0)/S+","+N+","+M+")",L&&Oe?this.t.setAttribute("transform","matrix("+b):k[Ee]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+b):k[Ee]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+D+","+N+","+M+")";else{if(d&&((g=1e-4)>E&&E>-g&&(E=R=2e-5),g>D&&D>-g&&(D=R=2e-5),!F||C.z||C.rotationX||C.rotationY||(F=0)),P||q)P*=$,v=n=Math.cos(P),_=o=Math.sin(P),q&&(P-=q*$,v=Math.cos(P),_=Math.sin(P),"simple"===C.skewType&&(t=Math.tan((q-I)*$),v*=t=Math.sqrt(1+t*t),_*=t,C.skewY&&(t=Math.tan(I*$),n*=t=Math.sqrt(1+t*t),o*=t))),i=-_,a=v;else{if(!(A||O||1!==R||F||L))return void(k[Ee]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) translate3d(":"translate3d(")+N+"px,"+M+"px,"+j+"px)"+(1!==E||1!==D?" scale("+E+","+D+")":""));n=a=1,i=o=0}c=1,r=s=l=u=f=p=0,h=F?-1/F:0,m=C.zOrigin,g=1e-6,x=",",w="0",(P=A*$)&&(v=Math.cos(P),l=-(_=Math.sin(P)),f=h*-_,r=n*_,s=o*_,c=v,h*=v,n*=v,o*=v),(P=O*$)&&(t=i*(v=Math.cos(P))+r*(_=Math.sin(P)),y=a*v+s*_,u=c*_,p=h*_,r=i*-_+r*v,s=a*-_+s*v,c*=v,h*=v,i=t,a=y),1!==R&&(r*=R,s*=R,c*=R,h*=R),1!==D&&(i*=D,a*=D,u*=D,p*=D),1!==E&&(n*=E,o*=E,l*=E,f*=E),(m||L)&&(m&&(N+=r*-m,M+=s*-m,j+=c*-m+m),L&&(N+=C.xOrigin-(C.xOrigin*n+C.yOrigin*i)+C.xOffset,M+=C.yOrigin-(C.xOrigin*o+C.yOrigin*a)+C.yOffset),g>N&&N>-g&&(N=w),g>M&&M>-g&&(M=w),g>j&&j>-g&&(j=0)),b=C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix3d(":"matrix3d(",b+=(g>n&&n>-g?w:n)+x+(g>o&&o>-g?w:o)+x+(g>l&&l>-g?w:l),b+=x+(g>f&&f>-g?w:f)+x+(g>i&&i>-g?w:i)+x+(g>a&&a>-g?w:a),O||A||1!==R?(b+=x+(g>u&&u>-g?w:u)+x+(g>p&&p>-g?w:p)+x+(g>r&&r>-g?w:r),b+=x+(g>s&&s>-g?w:s)+x+(g>c&&c>-g?w:c)+x+(g>h&&h>-g?w:h)+x):b+=",0,0,0,0,1,0,",b+=N+x+M+x+j+x+(F?1+-j/F:1)+")",k[Ee]=b}};(u=Me.prototype).x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,ke("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(e,t,n,i,o,s,l){if(i._lastParsedTransform===l)return o;i._lastParsedTransform=l;var u=l.scale&&"function"==typeof l.scale?l.scale:0;u&&(l.scale=u(v,e));var c,f,p,d,h,m,_,y,b,x=e._gsTransform,w=e.style,T=1e-6,S=Ae.length,C=l,k={},P="transformOrigin",O=Xe(e,r,!0,C.parseTransform),A=C.transform&&("function"==typeof C.transform?C.transform(v,g):C.transform);if(O.skewType=C.skewType||O.skewType||a.defaultSkewType,i._transform=O,"rotationZ"in C&&(C.rotation=C.rotationZ),A&&"string"==typeof A&&Ee)(f=B.style)[Ee]=A,f.display="block",f.position="absolute",-1!==A.indexOf("%")&&(f.width=te(e,"width"),f.height=te(e,"height")),q.body.appendChild(B),c=Xe(B,null,!1),"simple"===O.skewType&&(c.scaleY*=Math.cos(c.skewX*$)),O.svg&&(m=O.xOrigin,_=O.yOrigin,c.x-=O.xOffset,c.y-=O.yOffset,(C.transformOrigin||C.svgOrigin)&&(A={},ze(e,ue(C.transformOrigin),A,C.svgOrigin,C.smoothOrigin,!0),m=A.xOrigin,_=A.yOrigin,c.x-=A.xOffset-O.xOffset,c.y-=A.yOffset-O.yOffset),(m||_)&&(y=Be(B,!0),c.x-=m-(m*y[0]+_*y[2]),c.y-=_-(m*y[1]+_*y[3]))),q.body.removeChild(B),c.perspective||(c.perspective=O.perspective),null!=C.xPercent&&(c.xPercent=fe(C.xPercent,O.xPercent)),null!=C.yPercent&&(c.yPercent=fe(C.yPercent,O.yPercent));else if("object"==typeof C){if(c={scaleX:fe(null!=C.scaleX?C.scaleX:C.scale,O.scaleX),scaleY:fe(null!=C.scaleY?C.scaleY:C.scale,O.scaleY),scaleZ:fe(C.scaleZ,O.scaleZ),x:fe(C.x,O.x),y:fe(C.y,O.y),z:fe(C.z,O.z),xPercent:fe(C.xPercent,O.xPercent),yPercent:fe(C.yPercent,O.yPercent),perspective:fe(C.transformPerspective,O.perspective)},null!=(h=C.directionalRotation))if("object"==typeof h)for(f in h)C[f]=h[f];else C.rotation=h;"string"==typeof C.x&&-1!==C.x.indexOf("%")&&(c.x=0,c.xPercent=fe(C.x,O.xPercent)),"string"==typeof C.y&&-1!==C.y.indexOf("%")&&(c.y=0,c.yPercent=fe(C.y,O.yPercent)),c.rotation=pe("rotation"in C?C.rotation:"shortRotation"in C?C.shortRotation+"_short":O.rotation,O.rotation,"rotation",k),Ne&&(c.rotationX=pe("rotationX"in C?C.rotationX:"shortRotationX"in C?C.shortRotationX+"_short":O.rotationX||0,O.rotationX,"rotationX",k),c.rotationY=pe("rotationY"in C?C.rotationY:"shortRotationY"in C?C.shortRotationY+"_short":O.rotationY||0,O.rotationY,"rotationY",k)),c.skewX=pe(C.skewX,O.skewX),c.skewY=pe(C.skewY,O.skewY)}for(Ne&&null!=C.force3D&&(O.force3D=C.force3D,d=!0),(p=O.force3D||O.z||O.rotationX||O.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==C.scale||(c.scaleZ=1);--S>-1;)((A=c[b=Ae[S]]-O[b])>T||-T>A||null!=C[b]||null!=z[b])&&(d=!0,o=new xe(O,b,O[b],A,o),b in k&&(o.e=k[b]),o.xs0=0,o.plugin=s,i._overwriteProps.push(o.n));return A="function"==typeof C.transformOrigin?C.transformOrigin(v,g):C.transformOrigin,O.svg&&(A||C.svgOrigin)&&(m=O.xOffset,_=O.yOffset,ze(e,ue(A),c,C.svgOrigin,C.smoothOrigin),o=we(O,"xOrigin",(x?O:c).xOrigin,c.xOrigin,o,P),o=we(O,"yOrigin",(x?O:c).yOrigin,c.yOrigin,o,P),(m!==O.xOffset||_!==O.yOffset)&&(o=we(O,"xOffset",x?m:O.xOffset,O.xOffset,o,P),o=we(O,"yOffset",x?_:O.yOffset,O.yOffset,o,P)),A="0px 0px"),(A||Ne&&p&&O.zOrigin)&&(Ee?(d=!0,b=Re,A||(A=(A=(te(e,b,r,!1,"50% 50%")+"").split(" "))[0]+" "+A[1]+" "+O.zOrigin+"px"),A+="",(o=new xe(w,b,0,0,o,-1,P)).b=w[b],o.plugin=s,Ne?(f=O.zOrigin,A=A.split(" "),O.zOrigin=(A.length>2?parseFloat(A[2]):f)||0,o.xs0=o.e=A[0]+" "+(A[1]||"50%")+" 0px",(o=new xe(O,"zOrigin",0,0,o,-1,o.n)).b=f,o.xs0=o.e=O.zOrigin):o.xs0=o.e=A):ue(A+"",O)),d&&(i._transformType=O.svg&&Oe||!p&&3!==this._transformType?2:3),u&&(l.scale=u),o},allowFunc:!0,prefix:!0}),ke("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ke("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:_e("inset(0% 0% 0% 0%)",!1,!0)}),ke("borderRadius",{defaultValue:"0px",parser:function(e,t,n,o,a,s){t=this.format(t);var l,u,c,f,p,d,h,m,g,v,_,y,b,x,w,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],C=e.style;for(g=parseFloat(e.offsetWidth),v=parseFloat(e.offsetHeight),l=t.split(" "),u=0;um?1:0))||""):(m=parseFloat(d),_=d.substr((m+"").length)),""===_&&(_=i[n]||y),_!==y&&(x=ne(e,"borderLeft",h,y),w=ne(e,"borderTop",h,y),"%"===_?(p=x/g*100+"%",f=w/v*100+"%"):"em"===_?(p=x/(T=ne(e,"borderLeft",1,"em"))+"em",f=w/T+"em"):(p=x+"px",f=w+"px"),b&&(d=parseFloat(p)+m+_,c=parseFloat(f)+m+_)),a=Te(C,S[u],p+" "+f,d+" "+c,!1,"0px",a);return a},prefix:!0,formatter:_e("0px 0px 0px 0px",!1,!0)}),ke("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,t,n,i,o,a){return Te(e.style,n,this.format(te(e,n,r,!1,"0px 0px")),this.format(t),!1,"0px",o)},prefix:!0,formatter:_e("0px 0px",!1,!0)}),ke("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,n,i,o,a){var s,l,u,c,f,p,d="background-position",h=r||ee(e),g=this.format((h?m?h.getPropertyValue(d+"-x")+" "+h.getPropertyValue(d+"-y"):h.getPropertyValue(d):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),v=this.format(t);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&((p=te(e,"backgroundImage").replace(E,""))&&"none"!==p)){for(s=g.split(" "),l=v.split(" "),X.setAttribute("src",p),u=2;--u>-1;)(c=-1!==(g=s[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(f=0===u?e.offsetWidth-X.width:e.offsetHeight-X.height,s[u]=c?parseFloat(g)/100*f+"px":parseFloat(g)/f*100+"%");g=s.join(" ")}return this.parseComplex(e.style,g,v,o,a)},formatter:ue}),ke("backgroundSize",{defaultValue:"0 0",formatter:function(e){return"co"===(e+="").substr(0,2)?e:ue(-1===e.indexOf(" ")?e+" "+e:e)}}),ke("perspective",{defaultValue:"0px",prefix:!0}),ke("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),ke("transformStyle",{prefix:!0}),ke("backfaceVisibility",{prefix:!0}),ke("userSelect",{prefix:!0}),ke("margin",{parser:ye("marginTop,marginRight,marginBottom,marginLeft")}),ke("padding",{parser:ye("paddingTop,paddingRight,paddingBottom,paddingLeft")}),ke("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,n,i,o,a){var s,l,u;return 9>m?(l=e.currentStyle,u=8>m?" ":",",s="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",t=this.format(t).split(",").join(u)):(s=this.format(te(e,this.p,r,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,s,t,o,a)}}),ke("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),ke("autoRound,strictUnits",{parser:function(e,t,n,i,r){return r}}),ke("border",{defaultValue:"0px solid #000",parser:function(e,t,n,i,o,a){var s=te(e,"borderTopWidth",r,!1,"0px"),l=this.format(t).split(" "),u=l[0].replace(T,"");return"px"!==u&&(s=parseFloat(s)/ne(e,"borderTopWidth",1,u)+u),this.parseComplex(e.style,this.format(s+" "+te(e,"borderTopStyle",r,!1,"solid")+" "+te(e,"borderTopColor",r,!1,"#000")),l.join(" "),o,a)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(ve)||["#000"])[0]}}),ke("borderWidth",{parser:ye("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),ke("float,cssFloat,styleFloat",{parser:function(e,t,n,i,r,o){var a=e.style,s="cssFloat"in a?"cssFloat":"styleFloat";return new xe(a,s,0,0,r,-1,n,!1,0,a[s],t)}});var Ye=function(e){var t,n=this.t,i=n.filter||te(this.data,"filter")||"",r=this.s+this.c*e|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),t=!te(this.data,"filter")):(n.filter=i.replace(k,""),t=!0)),t||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(S,"opacity="+r))};ke("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,n,i,o,a){var s=parseFloat(te(e,"opacity",r,!1,"1")),l=e.style,u="autoAlpha"===n;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+s),u&&1===s&&"hidden"===te(e,"visibility",r)&&0!==t&&(s=0),Y?o=new xe(l,"opacity",s,t-s,o):((o=new xe(l,"opacity",100*s,100*(t-s),o)).xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=e,o.plugin=a,o.setRatio=Ye),u&&((o=new xe(l,"visibility",0,0,o,-1,null,!1,0,0!==s?"inherit":"hidden",0===t?"hidden":"inherit")).xs0="inherit",i._overwriteProps.push(o.n),i._overwriteProps.push(n)),o}});var Ve=function(e,t){t&&(e.removeProperty?(("ms"===t.substr(0,2)||"webkit"===t.substr(0,6))&&(t="-"+t),e.removeProperty(t.replace(O,"-$1").toLowerCase())):e.removeAttribute(t))},Ge=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,n=this.t.style;t;)t.v?n[t.p]=t.v:Ve(n,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};ke("className",{parser:function(e,t,i,o,a,s,l){var u,c,f,p,d,h=e.getAttribute("class")||"",m=e.style.cssText;if((a=o._classNamePT=new xe(e,i,0,0,a,2)).setRatio=Ge,a.pr=-11,n=!0,a.b=h,c=re(e,r),f=e._gsClassPT){for(p={},d=f.data;d;)p[d.p]=1,d=d._next;f.setRatio(1)}return e._gsClassPT=a,a.e="="!==t.charAt(1)?t:h.replace(new RegExp("(?:\\s|^)"+t.substr(2)+"(?![\\w-])"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),e.setAttribute("class",a.e),u=oe(e,c,re(e),l,p),e.setAttribute("class",h),a.data=u.firstMPT,e.style.cssText!==m&&(e.style.cssText=m),a.xfirst=o.parse(e,u.difs,a,s)}});var Qe=function(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,n,i,r,o,a=this.t.style,s=l.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(i=(t=this.e.split(" ").join("").split(",")).length;--i>-1;)n=t[i],l[n]&&(l[n].parse===s?r=!0:n="transformOrigin"===n?Re:l[n].p),Ve(a,n);r&&(Ve(a,Ee),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(ke("clearProps",{parser:function(e,t,i,r,o){return(o=new xe(e,i,0,0,o,2)).setRatio=Qe,o.e=t,o.pr=-10,o.data=r._tween,n=!0,o}}),u="bezier,throwProps,physicsProps,physics2D".split(","),Se=u.length;Se--;)Pe(u[Se]);(u=a.prototype)._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(e,t,s,u){if(!e.nodeType)return!1;this._target=g=e,this._tween=s,this._vars=t,v=u,c=t.autoRound,n=!1,i=t.suffixMap||a.suffixMap,r=ee(e),o=this._overwriteProps;var d,m,_,y,b,x,w,T,S,k=e.style;if(f&&""===k.zIndex&&(("auto"===(d=te(e,"zIndex",r))||""===d)&&this._addLazySet(k,"zIndex",0)),"string"==typeof t&&(y=k.cssText,d=re(e,r),k.cssText=y+";"+t,d=oe(e,d,re(e)).difs,!Y&&C.test(t)&&(d.opacity=parseFloat(RegExp.$1)),t=d,k.cssText=y),t.className?this._firstPT=m=l.className.parse(e,t.className,"className",this,null,null,t):this._firstPT=m=this.parse(e,t,null),this._transformType){for(S=3===this._transformType,Ee?p&&(f=!0,""===k.zIndex&&(("auto"===(w=te(e,"zIndex",r))||""===w)&&this._addLazySet(k,"zIndex",0)),h&&this._addLazySet(k,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(S?"visible":"hidden"))):k.zoom=1,_=m;_&&_._next;)_=_._next;T=new xe(e,"transform",0,0,null,2),this._linkCSSP(T,null,_),T.setRatio=Ee?Ue:We,T.data=this._transform||Xe(e,r,!0),T.tween=s,T.pr=-1,o.pop()}if(n){for(;m;){for(x=m._next,_=y;_&&_.pr>m.pr;)_=_._next;(m._prev=_?_._prev:b)?m._prev._next=m:y=m,(m._next=_)?_._prev=m:b=m,m=x}this._firstPT=y}return!0},u.parse=function(e,t,n,o){var a,s,u,f,p,d,h,m,_,y,b=e.style;for(a in t){if(d=t[a],s=l[a],"function"!=typeof d||s&&s.allowFunc||(d=d(v,g)),s)n=s.parse(e,d,a,this,n,o,t);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,e.style,"setProperty",ee(e).getPropertyValue(a)+"",d+"",a,!1,a);continue}p=te(e,a,r)+"",_="string"==typeof d,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||_&&P.test(d)?(_||(d=((d=me(d)).length>3?"rgba(":"rgb(")+d.join(",")+")"),n=Te(b,a,p,d,!0,"transparent",n,0,o)):_&&L.test(d)?n=Te(b,a,p,d,!0,null,n,0,o):(h=(u=parseFloat(p))||0===u?p.substr((u+"").length):"",(""===p||"auto"===p)&&("width"===a||"height"===a?(u=le(e,a,r),h="px"):"left"===a||"top"===a?(u=ie(e,a,r),h="px"):(u="opacity"!==a?0:1,h="")),(y=_&&"="===d.charAt(1))?(f=parseInt(d.charAt(0)+"1",10),d=d.substr(2),f*=parseFloat(d),m=d.replace(T,"")):(f=parseFloat(d),m=_?d.replace(T,""):""),""===m&&(m=a in i?i[a]:h),d=f||0===f?(y?f+u:f)+m:t[a],h!==m&&(""!==m||"lineHeight"===a)&&(f||0===f)&&u&&(u=ne(e,a,u,h),"%"===m?(u/=ne(e,a,100,"%")/100,!0!==t.strictUnits&&(p=u+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?u/=ne(e,a,1,m):"px"!==m&&(f=ne(e,a,f,m),m="px"),y&&(f||0===f)&&(d=f+u+m)),y&&(f+=u),!u&&0!==u||!f&&0!==f?void 0!==b[a]&&(d||d+""!="NaN"&&null!=d)?(n=new xe(b,a,f||u||0,0,n,-1,a,!1,0,p,d)).xs0="none"!==d||"display"!==a&&-1===a.indexOf("Style")?d:p:G("invalid "+a+" tween value: "+t[a]):(n=new xe(b,a,u,f-u,n,0,a,!1!==c&&("px"===m||"zIndex"===a),0,p,d)).xs0=m)}o&&n&&!n.plugin&&(n.plugin=o)}return n},u.setRatio=function(e){var t,n,i,r=this._firstPT,o=1e-6;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(t=r.c*e+r.s,r.r?t=r.r(t):o>t&&t>-o&&(t=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(n=r.xs0+t+r.xs1,i=1;i-1;)Je(e[r],t,n);else for(r=(i=e.childNodes).length;--r>-1;)a=(o=i[r]).type,o.style&&(t.push(re(o)),n&&n.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||Je(o,t,n)};return a.cascadeTo=function(e,n,i){var r,o,a,s,l=t.to(e,n,i),u=[l],c=[],f=[],p=[],d=t._internals.reservedProps;for(e=l._targets||l.target,Je(e,c,p),l.render(n,!0,!0),Je(e,f),l.render(0,!0,!0),l._enabled(!0),r=p.length;--r>-1;)if((o=oe(p[r],c[r],f[r])).firstMPT){for(a in o=o.difs,i)d[a]&&(o[a]=i[a]);for(a in s={},o)s[a]=c[r][a];u.push(t.fromTo(p[r],n,s,o))}return u},e.activate([a]),a}),!0),function(){var e=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(e,t,n){return this._tween=n,!0}}),t=function(e){var t=1>e?Math.pow(10,(e+"").length-2):1;return function(n){return(Math.round(n/e)*e*t|0)/t}},n=function(e,t){for(;e;)e.f||e.blob||(e.m=t||Math.round),e=e._next},i=e.prototype;i._onInitAllProps=function(){var e,i,r,o,a=this._tween,s=a.vars.roundProps,l={},u=a._propLookup.roundProps;if("object"!=typeof s||s.push)for("string"==typeof s&&(s=s.split(",")),r=s.length;--r>-1;)l[s[r]]=Math.round;else for(o in s)l[o]=t(s[o]);for(o in l)for(e=a._firstPT;e;)i=e._next,e.pg?e.t._mod(l):e.n===o&&(2===e.f&&e.t?n(e.t._firstPT,l[o]):(this._add(e.t,o,e.s,e.c,l[o]),i&&(i._prev=e._prev),e._prev?e._prev._next=i:a._firstPT===e&&(a._firstPT=i),e._next=e._prev=null,a._propLookup[o]=u)),e=i;return!1},i._add=function(e,t,n,i,r){this._addTween(e,t,n,n+i,t,r||Math.round),this._overwriteProps.push(t)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(e,t,n,i){var r,o;if("function"!=typeof e.setAttribute)return!1;for(r in t)"function"==typeof(o=t[r])&&(o=o(i,e)),this._addTween(e,"setAttribute",e.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(e,t,n,i){"object"!=typeof t&&(t={rotation:t}),this.finals={};var r,o,a,s,l,u,c=!0===t.useRadians?2*Math.PI:360,f=1e-6;for(r in t)"useRadians"!==r&&("function"==typeof(s=t[r])&&(s=s(i,e)),o=(u=(s+"").split("_"))[0],a=parseFloat("function"!=typeof e[r]?e[r]:e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(s=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?a+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-a,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&((l%=c)!==l%(c/2)&&(l=0>l?l+c:l-c)),-1!==o.indexOf("_cw")&&0>l?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>f||-f>l)&&(this._addTween(e,r,a,a+l,r),this._overwriteProps.push(r)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],(function(e){var t,n,i,r,o=_gsScope.GreenSockGlobals||_gsScope,a=o.com.greensock,s=2*Math.PI,l=Math.PI/2,u=a._class,c=function(t,n){var i=u("easing."+t,(function(){}),!0),r=i.prototype=new e;return r.constructor=i,r.getRatio=n,i},f=e.register||function(){},p=function(e,t,n,i,r){var o=u("easing."+e,{easeOut:new t,easeIn:new n,easeInOut:new i},!0);return f(o,e),o},d=function(e,t,n){this.t=e,this.v=t,n&&(this.next=n,n.prev=this,this.c=n.v-t,this.gap=n.t-e)},h=function(t,n){var i=u("easing."+t,(function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1}),!0),r=i.prototype=new e;return r.constructor=i,r.getRatio=n,r.config=function(e){return new i(e)},i},m=p("Back",h("BackOut",(function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1})),h("BackIn",(function(e){return e*e*((this._p1+1)*e-this._p1)})),h("BackInOut",(function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)}))),g=u("easing.SlowMo",(function(e,t,n){t=t||0===t?t:.7,null==e?e=.7:e>1&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===n}),!0),v=g.prototype=new e;return v.constructor=g,v.getRatio=function(e){var t=e+(.5-e)*this._p;return ethis._p3?this._calcEnd?1===e?0:1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},g.ease=new g(.7,.7),v.config=g.config=function(e,t,n){return new g(e,t,n)},t=u("easing.SteppedEase",(function(e,t){e=e||1,this._p1=1/e,this._p2=e+(t?0:1),this._p3=t?1:0}),!0),(v=t.prototype=new e).constructor=t,v.getRatio=function(e){return 0>e?e=0:e>=1&&(e=.999999999),((this._p2*e|0)+this._p3)*this._p1},v.config=t.config=function(e,n){return new t(e,n)},n=u("easing.ExpoScaleEase",(function(e,t,n){this._p1=Math.log(t/e),this._p2=t-e,this._p3=e,this._ease=n}),!0),(v=n.prototype=new e).constructor=n,v.getRatio=function(e){return this._ease&&(e=this._ease.getRatio(e)),(this._p3*Math.exp(this._p1*e)-this._p3)/this._p2},v.config=n.config=function(e,t,i){return new n(e,t,i)},i=u("easing.RoughEase",(function(t){for(var n,i,r,o,a,s,l=(t=t||{}).taper||"none",u=[],c=0,f=0|(t.points||20),p=f,h=!1!==t.randomize,m=!0===t.clamp,g=t.template instanceof e?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--p>-1;)n=h?Math.random():1/f*p,i=g?g.getRatio(n):n,"none"===l?r=v:"out"===l?r=(o=1-n)*o*v:"in"===l?r=n*n*v:.5>n?r=(o=2*n)*o*.5*v:r=(o=2*(1-n))*o*.5*v,h?i+=Math.random()*r-.5*r:p%2?i+=.5*r:i-=.5*r,m&&(i>1?i=1:0>i&&(i=0)),u[c++]={x:n,y:i};for(u.sort((function(e,t){return e.x-t.x})),s=new d(1,1,null),p=f;--p>-1;)a=u[p],s=new d(a.x,a.y,s);this._prev=new d(0,0,0!==s.t?s:s.next)}),!0),(v=i.prototype=new e).constructor=i,v.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},v.config=function(e){return new i(e)},i.ease=new i,p("Bounce",c("BounceOut",(function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375})),c("BounceIn",(function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:2/2.75>e?1-(7.5625*(e-=1.5/2.75)*e+.75):2.5/2.75>e?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)})),c("BounceInOut",(function(e){var t=.5>e;return e=1/2.75>(e=t?1-2*e:2*e-1)?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5}))),p("Circ",c("CircOut",(function(e){return Math.sqrt(1-(e-=1)*e)})),c("CircIn",(function(e){return-(Math.sqrt(1-e*e)-1)})),c("CircInOut",(function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)}))),r=function(t,n,i){var r=u("easing."+t,(function(e,t){this._p1=e>=1?e:1,this._p2=(t||i)/(1>e?e:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2}),!0),o=r.prototype=new e;return o.constructor=r,o.getRatio=n,o.config=function(e,t){return new r(e,t)},r},p("Elastic",r("ElasticOut",(function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1}),.3),r("ElasticIn",(function(e){return-this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)}),.3),r("ElasticInOut",(function(e){return(e*=2)<1?this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2)*.5+1}),.45)),p("Expo",c("ExpoOut",(function(e){return 1-Math.pow(2,-10*e)})),c("ExpoIn",(function(e){return Math.pow(2,10*(e-1))-.001})),c("ExpoInOut",(function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))}))),p("Sine",c("SineOut",(function(e){return Math.sin(e*l)})),c("SineIn",(function(e){return 1-Math.cos(e*l)})),c("SineInOut",(function(e){return-.5*(Math.cos(Math.PI*e)-1)}))),u("easing.EaseLookup",{find:function(t){return e.map[t]}},!0),f(o.SlowMo,"SlowMo","ease,"),f(i,"RoughEase","ease,"),f(t,"SteppedEase","ease,"),m}),!0)})),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(e,t){"use strict";var n={},i=e.document,r=e.GreenSockGlobals=e.GreenSockGlobals||e,o=r[t];if(o)return"undefined"!=typeof module&&module.exports&&(module.exports=o),o;var a,s,l,u,c,f=function(e){var t,n=e.split("."),i=r;for(t=0;t-1;)(c=v[o[m]]||new _(o[m],[])).gsClass?(l[m]=c.gsClass,g--):u&&c.sc.push(this);if(0===g&&a){if(d=(p=("com.greensock."+i).split(".")).pop(),h=f(p.join("."))[d]=this.gsClass=a.apply(a,l),s)if(r[d]=n[d]=h,"undefined"!=typeof module&&module.exports)if(i===t)for(m in module.exports=n[t]=h,n)h[m]=n[m];else n[t]&&(n[t][d]=h);else"function"==typeof define&&define.amd&&define((e.GreenSockAMDPath?e.GreenSockAMDPath+"/":"")+i.split(".").pop(),[],(function(){return h}));for(m=0;m-1;)for(o=l[u],r=i?b("easing."+o,null,!0):p.easing[o]||{},a=c.length;--a>-1;)s=c[a],T[o+"."+s]=T[s+o]=r[s]=e.getRatio?e:e[s]||new e};for((l=w.prototype)._calcEnd=!1,l.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,n=this._power,i=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===t?1-i:2===t?i:.5>e?i/2:1-i/2},s=(a=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--s>-1;)l=a[s]+",Power"+s,S(new w(null,null,1,s),l,"easeOut",!0),S(new w(null,null,2,s),l,"easeIn"+(0===s?",easeNone":"")),S(new w(null,null,3,s),l,"easeInOut");T.linear=p.easing.Linear.easeIn,T.swing=p.easing.Quad.easeInOut;var C=b("events.EventDispatcher",(function(e){this._listeners={},this._eventTarget=e||this}));(l=C.prototype).addEventListener=function(e,t,n,i,r){r=r||0;var o,a,s=this._listeners[e],l=0;for(this!==u||c||u.wake(),null==s&&(this._listeners[e]=s=[]),a=s.length;--a>-1;)(o=s[a]).c===t&&o.s===n?s.splice(a,1):0===l&&o.pr-1;)if(i[n].c===t)return void i.splice(n,1)},l.dispatchEvent=function(e){var t,n,i,r=this._listeners[e];if(r)for((t=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--t>-1;)(i=r[t])&&(i.up?i.c.call(i.s||n,{type:e,target:n}):i.c.call(i.s||n))};var k=e.requestAnimationFrame,P=e.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},A=O();for(s=(a=["ms","moz","webkit","o"]).length;--s>-1&&!k;)k=e[a[s]+"RequestAnimationFrame"],P=e[a[s]+"CancelAnimationFrame"]||e[a[s]+"CancelRequestAnimationFrame"];b("Ticker",(function(e,t){var n,r,o,a,s,l=this,f=O(),p=!(!1===t||!k)&&"auto",h=500,g=33,v=function(e){var t,i,u=O()-A;u>h&&(f+=u-g),A+=u,l.time=(A-f)/1e3,t=l.time-s,(!n||t>0||!0===e)&&(l.frame++,s+=t+(t>=a?.004:a-t),i=!0),!0!==e&&(o=r(v)),i&&l.dispatchEvent("tick")};C.call(l),l.time=l.frame=0,l.tick=function(){v(!0)},l.lagSmoothing=function(e,t){return arguments.length?(h=e||1/d,void(g=Math.min(t,h,0))):1/d>h},l.sleep=function(){null!=o&&(p&&P?P(o):clearTimeout(o),r=m,o=null,l===u&&(c=!1))},l.wake=function(e){null!==o?l.sleep():e?f+=-A+(A=O()):l.frame>10&&(A=O()-h+5),r=0===n?m:p&&k?k:function(e){return setTimeout(e,1e3*(s-l.time)+1|0)},l===u&&(c=!0),v(2)},l.fps=function(e){return arguments.length?(a=1/((n=e)||60),s=this.time+a,void l.wake()):n},l.useRAF=function(e){return arguments.length?(l.sleep(),p=e,void l.fps(n)):p},l.fps(e),setTimeout((function(){"auto"===p&&l.frame<5&&"hidden"!==(i||{}).visibilityState&&l.useRAF(!1)}),1500)})),(l=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var E=b("core.Animation",(function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,Q){c||u.wake();var n=this.vars.useFrames?G:Q;n.add(this,n._time),this.vars.paused&&this.paused(!0)}}));u=E.ticker=new p.Ticker,(l=E.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 D=function(){c&&O()-A>2e3&&("hidden"!==(i||{}).visibilityState||!u.lagSmoothing())&&u.wake();var e=setTimeout(D,2e3);e.unref&&e.unref()};D(),l.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},l.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},l.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},l.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},l.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},l.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},l.render=function(e,t,n){},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 e,t=this._timeline,n=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=n&&e-1;)"{self}"===e[t]&&(n[t]=this);return n},l._callback=function(e){var t=this.vars,n=t[e],i=t[e+"Params"],r=t[e+"Scope"]||t.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},l.eventCallback=function(e,t,n,i){if("on"===(e||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[e];null==t?delete r[e]:(r[e]=t,r[e+"Params"]=g(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[e+"Scope"]=i),"onUpdate"===e&&(this._onUpdate=t)}return this},l.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},l.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:e,t)):this._time},l.totalTime=function(e,t,n){if(c||u.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>e&&!n&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(e>i&&!n&&(e=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-e:e)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&(j.length&&J(),this.render(e,t,!1),j.length&&J())}return this},l.progress=l.totalProgress=function(e,t){var n=this.duration();return arguments.length?this.totalTime(n*e,t):n?this._time/n:this.ratio},l.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},l.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,n;for(e=e||d,this._timeline&&this._timeline.smoothChildTiming&&(n=(t=this._pauseTime)||0===t?t:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/e),this._timeScale=e,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.timeline;return this},l.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(e){if(!arguments.length)return this._paused;var t,n,i=this._timeline;return e!=this._paused&&i&&(c||e||u.wake(),n=(t=i.rawTime())-this._pauseTime,!e&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==n&&this._initted&&this.duration()&&(t=i.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var R=b("core.SimpleTimeline",(function(e){E.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0}));(l=R.prototype=new E).constructor=R,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(e,t,n,i){var r,o;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=this.rawTime()-(e._timeline.rawTime()-e._pauseTime)),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),r=this._last,this._sortChildren)for(o=e._startTime;r&&r._startTime>o;)r=r._prev;return r?(e._next=r._next,r._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=r,this._recent=e,this._timeline&&this._uncache(!0),this},l._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(e,t,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;r;)i=r._next,(r._active||e>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,n):r.render((e-r._startTime)*r._timeScale,t,n)),r=i},l.rawTime=function(){return c||u.wake(),this._totalTime};var N=b("TweenLite",(function(t,n,i){if(E.call(this,n,i),this.render=N.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:N.selector(t)||t;var r,o,a,s=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?V[N.defaultOverwrite]:"number"==typeof l?l>>0:V[l],(s||t instanceof Array||t.push&&g(t))&&"number"!=typeof t[0])for(this._targets=a=h(t),this._propLookup=[],this._siblings=[],r=0;r1&&te(o,this,null,1,this._siblings[r])):"string"==typeof(o=a[r--]=N.selector(o))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=K(t,this,!1),1===l&&this._siblings.length>1&&te(t,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-d,this.render(Math.min(0,-this._delay)))}),!0),M=function(t){return t&&t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)};(l=N.prototype=new E).constructor=N,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,N.version="2.1.3",N.defaultEase=l._ease=new w(null,null,1,1),N.defaultOverwrite="auto",N.ticker=u,N.autoSleep=120,N.lagSmoothing=function(e,t){u.lagSmoothing(e,t)},N.selector=e.$||e.jQuery||function(t){var n=e.$||e.jQuery;return n?(N.selector=n,n(t)):(i||(i=e.document),i?i.querySelectorAll?i.querySelectorAll(t):i.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var j=[],L={},$=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,F=/[\+-]=-?[\.\d]/,z=function(e){for(var t,n=this._firstPT,i=1e-6;n;)t=n.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:n.c*e+n.s,n.m?t=n.m.call(this._tween,t,this._target||n.t,this._tween):i>t&&t>-i&&!n.blob&&(t=0),n.f?n.fp?n.t[n.p](n.fp,t):n.t[n.p](t):n.t[n.p]=t,n=n._next},I=function(e){return(1e3*e|0)/1e3+""},q=function(e,t,n,i){var r,o,a,s,l,u,c,f=[],p=0,d="",h=0;for(f.start=e,f.end=t,e=f[0]=e+"",t=f[1]=t+"",n&&(n(f),e=f[0],t=f[1]),f.length=0,r=e.match($)||[],o=t.match($)||[],i&&(i._next=null,i.blob=1,f._firstPT=f._applyPT=i),l=o.length,s=0;l>s;s++)c=o[s],d+=(u=t.substr(p,t.indexOf(c,p)-p))||!s?u:",",p+=u.length,h?h=(h+1)%5:"rgba("===u.substr(-5)&&(h=1),c===r[s]||r.length<=s?d+=c:(d&&(f.push(d),d=""),a=parseFloat(r[s]),f.push(a),f._firstPT={_next:f._firstPT,t:f,p:f.length-1,s:a,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-a)||0,f:0,m:h&&4>h?Math.round:I}),p+=c.length;return(d+=t.substr(p))&&f.push(d),f.setRatio=z,F.test(t)&&(f.end=null),f},H=function(e,t,n,i,r,o,a,s,l){"function"==typeof i&&(i=i(l||0,e));var u=typeof e[t],c="function"!==u?"":t.indexOf("set")||"function"!=typeof e["get"+t.substr(3)]?t:"get"+t.substr(3),f="get"!==n?n:c?a?e[c](a):e[c]():e[t],p="string"==typeof i&&"="===i.charAt(1),d={t:e,p:t,s:f,f:"function"===u,pg:0,n:r||t,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(i.charAt(0)+"1",10)*parseFloat(i.substr(2)):parseFloat(i)-f||0};return("number"!=typeof f||"number"!=typeof i&&!p)&&(a||isNaN(f)||!p&&isNaN(i)||"boolean"==typeof f||"boolean"==typeof i?(d.fp=a,d={t:q(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):i,s||N.defaultStringFilter,d),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||t,pr:0,m:0}):(d.s=parseFloat(f),p||(d.c=parseFloat(i)-d.s||0))),d.c?((d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d):void 0},B=N._internals={isArray:g,isSelector:M,lazyTweens:j,blobDif:q},X=N._plugins={},W=B.tweenLookup={},U=0,Y=B.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},V={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},G=E._rootFramesTimeline=new R,Q=E._rootTimeline=new R,Z=30,J=B.lazyRender=function(){var e,t,n=j.length;for(L={},e=0;n>e;e++)(t=j[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);j.length=0};Q._startTime=u.time,G._startTime=u.frame,Q._active=G._active=!0,setTimeout(J,1),E._updateRoot=N.render=function(){var e,t,n;if(j.length&&J(),Q.render((u.time-Q._startTime)*Q._timeScale,!1,!1),G.render((u.frame-G._startTime)*G._timeScale,!1,!1),j.length&&J(),u.frame>=Z){for(n in Z=u.frame+(parseInt(N.autoSleep,10)||120),W){for(e=(t=W[n].tweens).length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete W[n]}if((!(n=Q._first)||n._paused)&&N.autoSleep&&!G._first&&1===u._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||u.sleep()}}},u.addEventListener("tick",E._updateRoot);var K=function(e,t,n){var i,r,o=e._gsTweenID;if(W[o||(e._gsTweenID=o="t"+U++)]||(W[o]={target:e,tweens:[]}),t&&((i=W[o].tweens)[r=i.length]=t,n))for(;--r>-1;)i[r]===t&&i.splice(r,1);return W[o].tweens},ee=function(e,t,n,i){var r,o,a=e.vars.onOverwrite;return a&&(r=a(e,t,n,i)),(a=N.onOverwrite)&&(o=a(e,t,n,i)),!1!==r&&!1!==o},te=function(e,t,n,i,r){var o,a,s,l;if(1===i||i>=4){for(l=r.length,o=0;l>o;o++)if((s=r[o])!==t)s._gc||s._kill(null,e,t)&&(a=!0);else if(5===i)break;return a}var u,c=t._startTime+d,f=[],p=0,h=0===t._duration;for(o=r.length;--o>-1;)(s=r[o])===t||s._gc||s._paused||(s._timeline!==t._timeline?(u=u||ne(t,0,h),0===ne(s,u,h)&&(f[p++]=s)):s._startTime<=c&&s._startTime+s.totalDuration()/s._timeScale>c&&((h||!s._initted)&&c-s._startTime<=2*d||(f[p++]=s)));for(o=p;--o>-1;)if(l=(s=f[o])._firstPT,2===i&&s._kill(n,e,t)&&(a=!0),2!==i||!s._firstPT&&s._initted&&l){if(2!==i&&!ee(s,t))continue;s._enabled(!1,!1)&&(a=!0)}return a},ne=function(e,t,n){for(var i=e._timeline,r=i._timeScale,o=e._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=r)>t?o-t:n&&o===t||!e._initted&&2*d>o-t?d:(o+=e.totalDuration()/e._timeScale/r)>t+d?0:o-t-d};l._init=function(){var e,t,n,i,r,o,a=this.vars,s=this._overwrittenProps,l=this._duration,u=!!a.immediateRender,c=a.ease,f=this._startAt;if(a.startAt){for(i in f&&(f.render(-1,!0),f.kill()),r={},a.startAt)r[i]=a.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=N.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(f)f.render(-1,!0),f.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},a)Y[i]&&"autoCSS"!==i||(n[i]=a[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==a.lazy,n.immediateRender=u,this._startAt=N.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof w?c:"function"==typeof c?new w(c,a.easeParams):T[c]||N.defaultEase:N.defaultEase,a.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,e=0;o>e;e++)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],s?s[e]:null,e)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,s,0);if(t&&N._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=a.onUpdate,this._initted=!0},l._initProps=function(t,n,i,r,o){var a,s,l,u,c,f;if(null==t)return!1;for(a in L[t._gsTweenID]&&J(),this.vars.css||t.style&&t!==e&&t.nodeType&&X.css&&!1!==this.vars.autoCSS&&function(e,t){var n,i={};for(n in e)Y[n]||n in t&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!X[n]||X[n]&&X[n]._autoCSS)||(i[n]=e[n],delete e[n]);e.css=i}(this.vars,t),this.vars)if(f=this.vars[a],Y[a])f&&(f instanceof Array||f.push&&g(f))&&-1!==f.join("").indexOf("{self}")&&(this.vars[a]=f=this._swapSelfInParams(f,this));else if(X[a]&&(u=new X[a])._onInitTween(t,this.vars[a],this,o)){for(this._firstPT=c={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:u._priority,m:0},s=u._overwriteProps.length;--s>-1;)n[u._overwriteProps[s]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[a]=H.call(this,t,a,"get",f,a,0,null,this.vars.stringFilter,o);return r&&this._kill(r,t)?this._initProps(t,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&te(t,this,n,this._overwrite,i)?(this._kill(n,t),this._initProps(t,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[t._gsTweenID]=!0),l)},l.render=function(e,t,n){var i,r,o,a,s=this,l=s._time,u=s._duration,c=s._rawPrevTime;if(e>=u-d&&e>=0)s._totalTime=s._time=u,s.ratio=s._ease._calcEnd?s._ease.getRatio(1):1,s._reversed||(i=!0,r="onComplete",n=n||s._timeline.autoRemoveChildren),0===u&&(s._initted||!s.vars.lazy||n)&&(s._startTime===s._timeline._duration&&(e=0),(0>c||0>=e&&e>=-d||c===d&&"isPause"!==s.data)&&c!==e&&(n=!0,c>d&&(r="onReverseComplete")),s._rawPrevTime=a=!t||e||c===e?e:d);else if(d>e)s._totalTime=s._time=0,s.ratio=s._ease._calcEnd?s._ease.getRatio(0):0,(0!==l||0===u&&c>0)&&(r="onReverseComplete",i=s._reversed),e>-d?e=0:0>e&&(s._active=!1,0===u&&(s._initted||!s.vars.lazy||n)&&(c>=0&&(c!==d||"isPause"!==s.data)&&(n=!0),s._rawPrevTime=a=!t||e||c===e?e:d)),(!s._initted||s._startAt&&s._startAt.progress())&&(n=!0);else if(s._totalTime=s._time=e,s._easeType){var f=e/u,p=s._easeType,h=s._easePower;(1===p||3===p&&f>=.5)&&(f=1-f),3===p&&(f*=2),1===h?f*=f:2===h?f*=f*f:3===h?f*=f*f*f:4===h&&(f*=f*f*f*f),s.ratio=1===p?1-f:2===p?f:.5>e/u?f/2:1-f/2}else s.ratio=s._ease.getRatio(e/u);if(s._time!==l||n){if(!s._initted){if(s._init(),!s._initted||s._gc)return;if(!n&&s._firstPT&&(!1!==s.vars.lazy&&s._duration||s.vars.lazy&&!s._duration))return s._time=s._totalTime=l,s._rawPrevTime=c,j.push(s),void(s._lazy=[e,t]);s._time&&!i?s.ratio=s._ease.getRatio(s._time/u):i&&s._ease._calcEnd&&(s.ratio=s._ease.getRatio(0===s._time?0:1))}for(!1!==s._lazy&&(s._lazy=!1),s._active||!s._paused&&s._time!==l&&e>=0&&(s._active=!0),0===l&&(s._startAt&&(e>=0?s._startAt.render(e,!0,n):r||(r="_dummyGS")),s.vars.onStart&&(0!==s._time||0===u)&&(t||s._callback("onStart"))),o=s._firstPT;o;)o.f?o.t[o.p](o.c*s.ratio+o.s):o.t[o.p]=o.c*s.ratio+o.s,o=o._next;s._onUpdate&&(0>e&&s._startAt&&-1e-4!==e&&s._startAt.render(e,!0,n),t||(s._time!==l||i||n)&&s._callback("onUpdate")),r&&(!s._gc||n)&&(0>e&&s._startAt&&!s._onUpdate&&-1e-4!==e&&s._startAt.render(e,!0,n),i&&(s._timeline.autoRemoveChildren&&s._enabled(!1,!1),s._active=!1),!t&&s.vars[r]&&s._callback(r),0===u&&s._rawPrevTime===d&&a!==d&&(s._rawPrevTime=0))}},l._kill=function(e,t,n){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:N.selector(t)||t;var i,r,o,a,s,l,u,c,f,p=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline,d=this._firstPT;if((g(t)||M(t))&&"number"!=typeof t[0])for(i=t.length;--i>-1;)this._kill(e,t[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(t===this._targets[i]){s=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=e?this._overwrittenProps[i]||{}:"all";break}}else{if(t!==this.target)return!1;s=this._propLookup,r=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(s){if(u=e||s,c=e!==r&&"all"!==r&&e!==s&&("object"!=typeof e||!e._tempKill),n&&(N.onOverwrite||this.vars.onOverwrite)){for(o in u)s[o]&&(f||(f=[]),f.push(o));if((f||!e)&&!ee(this,n,t,f))return!1}for(o in u)(a=s[o])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(u)&&(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 s[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&d&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&N._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],E.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-d,this.render(e,!1,!1!==this.vars.lazy)),this},l._enabled=function(e,t){if(c||u.wake(),e&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=K(i[n],this,!0);else this._siblings=K(this.target,this,!0)}return E.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&N._onPluginEvent(e?"_onEnable":"_onDisable",this)},N.to=function(e,t,n){return new N(e,t,n)},N.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new N(e,t,n)},N.fromTo=function(e,t,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new N(e,t,i)},N.delayedCall=function(e,t,n,i,r){return new N(t,0,{delay:e,onComplete:t,onCompleteParams:n,callbackScope:i,onReverseComplete:t,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},N.set=function(e,t){return new N(e,0,t)},N.getTweensOf=function(e,t){if(null==e)return[];var n,i,r,o;if(e="string"!=typeof e?e:N.selector(e)||e,(g(e)||M(e))&&"number"!=typeof e[0]){for(n=e.length,i=[];--n>-1;)i=i.concat(N.getTweensOf(e[n],t));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else if(e._gsTweenID)for(n=(i=K(e).concat()).length;--n>-1;)(i[n]._gc||t&&!i[n].isActive())&&i.splice(n,1);return i||[]},N.killTweensOf=N.killDelayedCallsTo=function(e,t,n){"object"==typeof t&&(n=t,t=!1);for(var i=N.getTweensOf(e,t),r=i.length;--r>-1;)i[r]._kill(n,e)};var ie=b("plugins.TweenPlugin",(function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ie.prototype}),!0);if(l=ie.prototype,ie.version="1.19.0",ie.API=2,l._firstPT=null,l._addTween=H,l.setRatio=z,l._kill=function(e){var t,n=this._overwriteProps,i=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=n.length;--t>-1;)null!=e[n[t]]&&n.splice(t,1);for(;i;)null!=e[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},l._mod=l._roundProps=function(e){for(var t,n=this._firstPT;n;)(t=e[this._propName]||null!=n.n&&e[n.n.split(this._propName+"_").join("")])&&"function"==typeof t&&(2===n.f?n.t._applyPT.m=t:n.m=t),n=n._next},N._onPluginEvent=function(e,t){var n,i,r,o,a,s=t._firstPT;if("_onInitAllProps"===e){for(;s;){for(a=s._next,i=r;i&&i.pr>s.pr;)i=i._next;(s._prev=i?i._prev:o)?s._prev._next=s:r=s,(s._next=i)?i._prev=s:o=s,s=a}s=t._firstPT=r}for(;s;)s.pg&&"function"==typeof s.t[e]&&s.t[e]()&&(n=!0),s=s._next;return n},ie.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===ie.API&&(X[(new e[t])._propName]=e[t]);return!0},y.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,n=e.propName,i=e.priority||0,r=e.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",(function(){ie.call(this,n,i),this._overwriteProps=r||[]}),!0===e.global),s=a.prototype=new ie(n);for(t in s.constructor=a,a.API=e.API,o)"function"==typeof e[t]&&(s[o[t]]=e[t]);return a.version=e.version,ie.activate([a]),a},a=e._gsQueue){for(s=0;st.scrollOffset()?1:-1})),t};return this.addScene=function(t){if(r.type.Array(t))t.forEach((function(e,t){c.addScene(e)}));else if(t instanceof e.Scene)if(t.controller()!==c)t.addTo(c);else if(p.indexOf(t)<0)for(var n in p.push(t),p=P(p),t.on("shift.controller_sort",(function(){p=P(p)})),f.globalSceneOptions)t[n]&&t[n].call(t,f.globalSceneOptions[n]);return c},this.removeScene=function(e){if(r.type.Array(e))e.forEach((function(e,t){c.removeScene(e)}));else{var t=p.indexOf(e);-1=m.start?1:0,f.trigger("update",{startPos:m.start,endPos:m.end,scrollPos:n}),f.progress(t)}else y&&d===l&&A(!0);else a.updateScene(f,!1);return f},this.refresh=function(){return w(),T(),f},this.progress=function(e){if(arguments.length){var t=!1,n=d,i=a?a.info("scrollDirection"):"PAUSED",r=p.reverse||h<=e;if(0===p.duration?(t=h!=e,d=0==(h=e<1&&r?0:1)?s:l):e<0&&d!==s&&r?(d=s,t=!(h=0)):0<=e&&e<1&&r?(h=e,d=l,t=!0):1<=e&&d!==u?(h=1,d=u,t=!0):d!==l||r||A(),t){var o={progress:h,state:d,scrollDirection:i},c=d!=n,m=function(e){f.trigger(e,o)};c&&n!==l&&(m("enter"),m(n===s?"start":"end")),m("progress"),c&&d!==l&&(m(d===s?"start":"end"),m("leave"))}return f}return h};var y,b,x=function(){m={start:g+p.offset},a&&p.triggerElement&&(m.start-=a.info("size")*p.triggerHook),m.end=m.start+p.duration},w=function(e){if(o){var t="duration";P(t,o.call(f))&&!e&&(f.trigger("change",{what:t,newval:p[t]}),f.trigger("shift",{reason:t}))}},T=function(e){var n=0,i=p.triggerElement;if(a&&(i||0 ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs."),t||o("("+i+") -> ERROR: TweenLite or TweenMax could not be found. Please make sure GSAP is loaded before ScrollMagic or use an asynchronous loader like requirejs."),e.Scene.addOption("tweenChanges",!1,(function(e){return!!e})),e.Scene.extend((function(){var e,r=this,o=function(){r._log&&(Array.prototype.splice.call(arguments,1,0,"("+i+")","->"),r._log.apply(this,arguments))};r.on("progress.plugin_gsap",(function(){a()})),r.on("destroy.plugin_gsap",(function(e){r.removeTween(e.reset)}));var a=function(){if(e){var t=r.progress(),n=r.state();e.repeat&&-1===e.repeat()?"DURING"===n&&e.paused()?e.play():"DURING"===n||e.paused()||e.pause():t!=e.progress()&&(0===r.duration()?t>0?e.play():e.reverse():r.tweenChanges()&&e.tweenTo?e.tweenTo(t*e.duration()):e.progress(t).pause())}};r.setTween=function(i,s,l){var u;arguments.length>1&&(arguments.length<3&&(l=s,s=1),i=t.to(i,s,l));try{(u=n?new n({smoothChildTiming:!0}).add(i):i).pause()}catch(e){return o(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenObject"),r}if(e&&r.removeTween(),e=u,i.repeat&&-1===i.repeat()&&(e.repeat(-1),e.yoyo(i.yoyo())),r.tweenChanges()&&!e.tweenTo&&o(2,"WARNING: tweenChanges will only work if the TimelineMax object is available for ScrollMagic."),e&&r.controller()&&r.triggerElement()&&r.loglevel()>=2){var c=t.getTweensOf(r.triggerElement()),f=r.controller().info("vertical");c.forEach((function(e,t){var n=e.vars.css||e.vars;if(f?void 0!==n.top||void 0!==n.bottom:void 0!==n.left||void 0!==n.right)return o(2,"WARNING: Tweening the position of the trigger element affects the scene timing and should be avoided!"),!1}))}if(parseFloat(TweenLite.version)>=1.14)for(var p,d,h=e.getChildren?e.getChildren(!0,!0,!1):[e],m=function(){o(2,"WARNING: tween was overwritten by another. To learn how to avoid this issue see here: https://github.com/janpaepke/ScrollMagic/wiki/WARNING:-tween-was-overwritten-by-another")},g=0;g