-
Notifications
You must be signed in to change notification settings - Fork 0
/
crheader.js
77 lines (77 loc) · 341 KB
/
crheader.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
!function(modules){function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={exports:{},id:moduleId,loaded:!1};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.loaded=!0,module.exports}var installedModules={};return __webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.p="/",__webpack_require__(0)}([function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"],_componentsHeader=__webpack_require__(2),_componentsFaq=__webpack_require__(6),_componentsShare=__webpack_require__(9),_componentsMultiLanguage=__webpack_require__(10),_componentsHeaderLanguage=__webpack_require__(12),_componentsDownloadPrompt=__webpack_require__(13),_componentsTracking=__webpack_require__(14),_componentsHoverEffects=__webpack_require__(15),_componentsMatchHeight=__webpack_require__(16),_jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_picturefill=__webpack_require__(17),_picturefill2=_interopRequireDefault(_picturefill),_lazysizes=__webpack_require__(18),_lazysizes2=_interopRequireDefault(_lazysizes),_fastclick=__webpack_require__(19),_fastclick2=_interopRequireDefault(_fastclick),_stylesAppScss=__webpack_require__(20),_stylesAppScss2=_interopRequireDefault(_stylesAppScss);document.addEventListener("DOMContentLoaded",function(){_componentsMultiLanguage.createMultiLanguageComponent(document.querySelector(".js-multilanguage")),_componentsHeaderLanguage.createHeaderLanguage(document.querySelector(".js-header")),_componentsHeader.createHeader(document.querySelector(".js-header")),_componentsFaq.createFAQ(document.querySelector(".js-faq")),_componentsShare.createShareWidget(document.querySelector(".js-share")),_componentsDownloadPrompt.createDownloadPrompt(document.querySelector(".js-download-popup")),_componentsHoverEffects.createHoverEffects(document.querySelector(".js-hover-effect")),_componentsMatchHeight.matchHeight(_jquery2["default"](".js-match-height")),_picturefill2["default"](),_fastclick2["default"].attach(document.body),_componentsTracking.startTracking()})},function(module,exports){"use strict";exports["default"]=function(obj){return obj&&obj.__esModule?obj:{"default":obj}},exports.__esModule=!0},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),_html=void 0,_window=void 0,_scrollTop=void 0,_mainNav=void 0,_navBarHolder=void 0,_navBar=void 0,_navbarItems=void 0,_navbarButton=void 0,_navbarLogo=void 0,_headerBG=void 0,_navBG=void 0,_Header=void 0,_navBarBg=void 0,_navbarWrapper=void 0,_scrolledYpos=void 0,_navScroll=void 0,isAndroidDefaultBrowser=_utilsEnv2["default"].isAndroidNativeBrowser(),createHeader=function createHeader(dom){function init(){if(_html=_jquery2["default"]("html"),_window=_jquery2["default"](window),_mainNav=_jquery2["default"](".Navbar-primarynav"),_navbarItems=_jquery2["default"](".Navbar-item"),_Header=_jquery2["default"](".Header"),_navBG=_jquery2["default"](".Navbar-background"),_navBarHolder=_jquery2["default"](".Navbar-holder"),_navBar=_jquery2["default"](".Navbar"),_navBarBg=_jquery2["default"](".Navbar-hamburger-bg"),_headerBG=_jquery2["default"](".Header-bg"),_navbarWrapper=_jquery2["default"](".Navbar-wrapper"),_navbarButton=_jquery2["default"](".Navbar-hamburger-button"),_navbarLogo=_jquery2["default"](".Navbar-logo"),_window.on("scroll",_onScroll),_window.on("resize",_onResize),_navbarWrapper.on("touchmove",_onWrapperScroll),_mainNav.on("mouseleave",_rolloutMainNav),_navbarItems.on("mouseenter",_rolloverNavItem),_navbarItems.on("mouseleave",_rolloutNavItem),_jquery2["default"](".Navbar-item-faq").on("click",scrollToFAQ),_utilsEnv2["default"].touchCapable)_navbarButton.on("touchstart",toggleMenu),_headerBG.on("touchstart",closeTabletMenu);else _navbarButton.on("click",toggleMenu),_headerBG.on("click",closeTabletMenu);if(isAndroidDefaultBrowser)_Header.addClass("not-fixed"),_navBarBg.addClass("not-fixed"),_navbarButton.addClass("not-fixed"),_jquery2["default"](".Navbar-logo-outside").addClass("is-android"),_Header.css("overflow","auto");else _jquery2["default"](".Navbar-scroller").addClass("has-touch-scroll");_jquery2["default"](".Navbar-dropdown-main").addClass("show-arrow"),_jquery2["default"](window).on("resize",function(){if(isAndroidDefaultBrowser)_jquery2["default"](".Navbar-backdrop").height(_jquery2["default"](".Navbar"))})}function scrollToFAQ(e){return TweenMax.to(window,1,{scrollTo:{y:_jquery2["default"](".js-faq").offset().top-50},ease:Power2.easeOut}),toggleMenu(),e.preventDefault(),!1}function _onWrapperScroll(){if(_navBarHolder.hasClass("Navbar--active"))if(_navbarWrapper.position().top<50)_navBarBg.addClass("is-scroll");else _navBarBg.removeClass("is-scroll")}function _onScroll(){if(_scrollTop=_window.scrollTop(),_Header&&_navBG)if(_scrollTop>1)_Header.addClass("has-scrolled"),_navBG.addClass("has-scrolled");else _Header.removeClass("has-scrolled"),_navBG.removeClass("has-scrolled")}function _rolloverNavItem(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable){_navbarItems.addClass("notactive");var navItem=_jquery2["default"](event.target),parentDropdown=navItem.parents(".Navbar-dropdown");if(parentDropdown.length>0)parentDropdown.removeClass("notactive");navItem.removeClass("notactive")}}function _rolloutNavItem(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable){var item=_jquery2["default"](event.target);item.removeClass("notactive");var parentDropdown=item.parents(".Navbar-dropdown");if(parentDropdown.length>0&&parentDropdown.hasClass("open"))parentDropdown.find(".Navbar-item").addClass("notactive")}}function _rolloutMainNav(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable)_navbarItems.removeClass("notactive")}function closeTabletMenu(){if(_navBarHolder.hasClass("Navbar--active"))_navBarHolder.removeClass("Navbar--active"),_jquery2["default"](".Languagebar-language").show(),_jquery2["default"]("body").removeClass("no-scroll"),_jquery2["default"](".Header").removeClass("removebg"),_jquery2["default"](".Navbar-backdrop").addClass("animate-out"),setTimeout(function(){_jquery2["default"](".Navbar-backdrop").removeClass("animate-out")},240)}function toggleMenu(){if(_navBarHolder.toggleClass("Navbar--active"),_navBarHolder.hasClass("Navbar--active")){if(_jquery2["default"](".Languagebar-language").hide(),_jquery2["default"](".Header").addClass("removebg"),_jquery2["default"]("body").addClass("no-scroll"),_jquery2["default"](".Navbar-scroller").scrollTop(0),isAndroidDefaultBrowser)_html.addClass("disable-scroll ")}else _jquery2["default"](".Languagebar-language").show(),_jquery2["default"]("body").removeClass("no-scroll"),_jquery2["default"](".Header").removeClass("removebg"),_html.removeClass("disable-scroll"),_jquery2["default"](".Navbar-backdrop").addClass("animate-out"),setTimeout(function(){_jquery2["default"](".Navbar-backdrop").removeClass("animate-out")},240)}function _onResize(){if(window.matchMedia(_constants2["default"].breakpointQueryDesktop).matches||window.matchMedia(_constants2["default"].breakpointQueryDesktopXL).matches)closeMenu()}function closeMenu(){_navbarLogo.show(),_navBarHolder.removeClass("Navbar--active"),_jquery2["default"](".Header").removeClass("removebg"),_jquery2["default"]("body").removeClass("no-scroll"),_html.removeClass("disable-scroll")}function _isExternal(str){return 0==str.indexOf("http")}if(dom)init()};exports.createHeader=createHeader},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;/*!
* jQuery JavaScript Library v2.1.4
* http://jquery.com/
*
* Includes Sizzle.js
* http://sizzlejs.com/
*
* Copyright 2005, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2015-04-28T16:01Z
*/
!function(global,factory){if("object"==typeof module&&"object"==typeof module.exports)module.exports=global.document?factory(global,!0):function(w){if(!w.document)throw new Error("jQuery requires a window with a document");return factory(w)};else factory(global)}("undefined"!=typeof window?window:this,function(window,noGlobal){function isArraylike(obj){var length="length"in obj&&obj.length,type=jQuery.type(obj);if("function"===type||jQuery.isWindow(obj))return!1;if(1===obj.nodeType&&length)return!0;else return"array"===type||0===length||"number"==typeof length&&length>0&&length-1 in obj}function winnow(elements,qualifier,not){if(jQuery.isFunction(qualifier))return jQuery.grep(elements,function(elem,i){return!!qualifier.call(elem,i,elem)!==not});if(qualifier.nodeType)return jQuery.grep(elements,function(elem){return elem===qualifier!==not});if("string"==typeof qualifier){if(risSimple.test(qualifier))return jQuery.filter(qualifier,elements,not);qualifier=jQuery.filter(qualifier,elements)}return jQuery.grep(elements,function(elem){return indexOf.call(qualifier,elem)>=0!==not})}function sibling(cur,dir){for(;(cur=cur[dir])&&1!==cur.nodeType;);return cur}function createOptions(options){var object=optionsCache[options]={};return jQuery.each(options.match(rnotwhite)||[],function(_,flag){object[flag]=!0}),object}function completed(){document.removeEventListener("DOMContentLoaded",completed,!1),window.removeEventListener("load",completed,!1),jQuery.ready()}function Data(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=jQuery.expando+Data.uid++}function dataAttr(elem,key,data){var name;if(void 0===data&&1===elem.nodeType)if(name="data-"+key.replace(rmultiDash,"-$1").toLowerCase(),data=elem.getAttribute(name),"string"==typeof data){try{data="true"===data?!0:"false"===data?!1:"null"===data?null:+data+""===data?+data:rbrace.test(data)?jQuery.parseJSON(data):data}catch(e){}data_user.set(elem,key,data)}else data=void 0;return data}function returnTrue(){return!0}function returnFalse(){return!1}function safeActiveElement(){try{return document.activeElement}catch(err){}}function manipulationTarget(elem,content){return jQuery.nodeName(elem,"table")&&jQuery.nodeName(11!==content.nodeType?content:content.firstChild,"tr")?elem.getElementsByTagName("tbody")[0]||elem.appendChild(elem.ownerDocument.createElement("tbody")):elem}function disableScript(elem){return elem.type=(null!==elem.getAttribute("type"))+"/"+elem.type,elem}function restoreScript(elem){var match=rscriptTypeMasked.exec(elem.type);if(match)elem.type=match[1];else elem.removeAttribute("type");return elem}function setGlobalEval(elems,refElements){for(var i=0,l=elems.length;l>i;i++)data_priv.set(elems[i],"globalEval",!refElements||data_priv.get(refElements[i],"globalEval"))}function cloneCopyEvent(src,dest){var i,l,type,pdataOld,pdataCur,udataOld,udataCur,events;if(1===dest.nodeType){if(data_priv.hasData(src))if(pdataOld=data_priv.access(src),pdataCur=data_priv.set(dest,pdataOld),events=pdataOld.events,events){delete pdataCur.handle,pdataCur.events={};for(type in events)for(i=0,l=events[type].length;l>i;i++)jQuery.event.add(dest,type,events[type][i])}if(data_user.hasData(src))udataOld=data_user.access(src),udataCur=jQuery.extend({},udataOld),data_user.set(dest,udataCur)}}function getAll(context,tag){var ret=context.getElementsByTagName?context.getElementsByTagName(tag||"*"):context.querySelectorAll?context.querySelectorAll(tag||"*"):[];return void 0===tag||tag&&jQuery.nodeName(context,tag)?jQuery.merge([context],ret):ret}function fixInput(src,dest){var nodeName=dest.nodeName.toLowerCase();if("input"===nodeName&&rcheckableType.test(src.type))dest.checked=src.checked;else if("input"===nodeName||"textarea"===nodeName)dest.defaultValue=src.defaultValue}function actualDisplay(name,doc){var style,elem=jQuery(doc.createElement(name)).appendTo(doc.body),display=window.getDefaultComputedStyle&&(style=window.getDefaultComputedStyle(elem[0]))?style.display:jQuery.css(elem[0],"display");return elem.detach(),display}function defaultDisplay(nodeName){var doc=document,display=elemdisplay[nodeName];if(!display){if(display=actualDisplay(nodeName,doc),"none"===display||!display)iframe=(iframe||jQuery("<iframe frameborder='0' width='0' height='0'/>")).appendTo(doc.documentElement),doc=iframe[0].contentDocument,doc.write(),doc.close(),display=actualDisplay(nodeName,doc),iframe.detach();elemdisplay[nodeName]=display}return display}function curCSS(elem,name,computed){var width,minWidth,maxWidth,ret,style=elem.style;if(computed=computed||getStyles(elem),computed)ret=computed.getPropertyValue(name)||computed[name];if(computed){if(""===ret&&!jQuery.contains(elem.ownerDocument,elem))ret=jQuery.style(elem,name);if(rnumnonpx.test(ret)&&rmargin.test(name))width=style.width,minWidth=style.minWidth,maxWidth=style.maxWidth,style.minWidth=style.maxWidth=style.width=ret,ret=computed.width,style.width=width,style.minWidth=minWidth,style.maxWidth=maxWidth}return void 0!==ret?ret+"":ret}function addGetHookIf(conditionFn,hookFn){return{get:function(){if(conditionFn())return delete this.get,void 0;else return(this.get=hookFn).apply(this,arguments)}}}function vendorPropName(style,name){if(name in style)return name;for(var capName=name[0].toUpperCase()+name.slice(1),origName=name,i=cssPrefixes.length;i--;)if(name=cssPrefixes[i]+capName,name in style)return name;return origName}function setPositiveNumber(elem,value,subtract){var matches=rnumsplit.exec(value);return matches?Math.max(0,matches[1]-(subtract||0))+(matches[2]||"px"):value}function augmentWidthOrHeight(elem,name,extra,isBorderBox,styles){for(var i=extra===(isBorderBox?"border":"content")?4:"width"===name?1:0,val=0;4>i;i+=2){if("margin"===extra)val+=jQuery.css(elem,extra+cssExpand[i],!0,styles);if(isBorderBox){if("content"===extra)val-=jQuery.css(elem,"padding"+cssExpand[i],!0,styles);if("margin"!==extra)val-=jQuery.css(elem,"border"+cssExpand[i]+"Width",!0,styles)}else if(val+=jQuery.css(elem,"padding"+cssExpand[i],!0,styles),"padding"!==extra)val+=jQuery.css(elem,"border"+cssExpand[i]+"Width",!0,styles)}return val}function getWidthOrHeight(elem,name,extra){var valueIsBorderBox=!0,val="width"===name?elem.offsetWidth:elem.offsetHeight,styles=getStyles(elem),isBorderBox="border-box"===jQuery.css(elem,"boxSizing",!1,styles);if(0>=val||null==val){if(val=curCSS(elem,name,styles),0>val||null==val)val=elem.style[name];if(rnumnonpx.test(val))return val;valueIsBorderBox=isBorderBox&&(support.boxSizingReliable()||val===elem.style[name]),val=parseFloat(val)||0}return val+augmentWidthOrHeight(elem,name,extra||(isBorderBox?"border":"content"),valueIsBorderBox,styles)+"px"}function showHide(elements,show){for(var display,elem,hidden,values=[],index=0,length=elements.length;length>index;index++)if(elem=elements[index],elem.style){if(values[index]=data_priv.get(elem,"olddisplay"),display=elem.style.display,show){if(!values[index]&&"none"===display)elem.style.display="";if(""===elem.style.display&&isHidden(elem))values[index]=data_priv.access(elem,"olddisplay",defaultDisplay(elem.nodeName))}else if(hidden=isHidden(elem),"none"!==display||!hidden)data_priv.set(elem,"olddisplay",hidden?display:jQuery.css(elem,"display"))}else;for(index=0;length>index;index++)if(elem=elements[index],elem.style){if(!show||"none"===elem.style.display||""===elem.style.display)elem.style.display=show?values[index]||"":"none"}else;return elements}function Tween(elem,options,prop,end,easing){return new Tween.prototype.init(elem,options,prop,end,easing)}function createFxNow(){return setTimeout(function(){fxNow=void 0}),fxNow=jQuery.now()}function genFx(type,includeWidth){var which,i=0,attrs={height:type};for(includeWidth=includeWidth?1:0;4>i;i+=2-includeWidth)which=cssExpand[i],attrs["margin"+which]=attrs["padding"+which]=type;if(includeWidth)attrs.opacity=attrs.width=type;return attrs}function createTween(value,prop,animation){for(var tween,collection=(tweeners[prop]||[]).concat(tweeners["*"]),index=0,length=collection.length;length>index;index++)if(tween=collection[index].call(animation,prop,value))return tween}function defaultPrefilter(elem,props,opts){var prop,value,toggle,tween,hooks,oldfire,display,checkDisplay,anim=this,orig={},style=elem.style,hidden=elem.nodeType&&isHidden(elem),dataShow=data_priv.get(elem,"fxshow");if(!opts.queue){if(hooks=jQuery._queueHooks(elem,"fx"),null==hooks.unqueued)hooks.unqueued=0,oldfire=hooks.empty.fire,hooks.empty.fire=function(){if(!hooks.unqueued)oldfire()};hooks.unqueued++,anim.always(function(){anim.always(function(){if(hooks.unqueued--,!jQuery.queue(elem,"fx").length)hooks.empty.fire()})})}if(1===elem.nodeType&&("height"in props||"width"in props))if(opts.overflow=[style.overflow,style.overflowX,style.overflowY],display=jQuery.css(elem,"display"),checkDisplay="none"===display?data_priv.get(elem,"olddisplay")||defaultDisplay(elem.nodeName):display,"inline"===checkDisplay&&"none"===jQuery.css(elem,"float"))style.display="inline-block";if(opts.overflow)style.overflow="hidden",anim.always(function(){style.overflow=opts.overflow[0],style.overflowX=opts.overflow[1],style.overflowY=opts.overflow[2]});for(prop in props)if(value=props[prop],rfxtypes.exec(value)){if(delete props[prop],toggle=toggle||"toggle"===value,value===(hidden?"hide":"show"))if("show"===value&&dataShow&&void 0!==dataShow[prop])hidden=!0;else continue;orig[prop]=dataShow&&dataShow[prop]||jQuery.style(elem,prop)}else display=void 0;if(!jQuery.isEmptyObject(orig)){if(dataShow){if("hidden"in dataShow)hidden=dataShow.hidden}else dataShow=data_priv.access(elem,"fxshow",{});if(toggle)dataShow.hidden=!hidden;if(hidden)jQuery(elem).show();else anim.done(function(){jQuery(elem).hide()});anim.done(function(){var prop;data_priv.remove(elem,"fxshow");for(prop in orig)jQuery.style(elem,prop,orig[prop])});for(prop in orig)if(tween=createTween(hidden?dataShow[prop]:0,prop,anim),!(prop in dataShow))if(dataShow[prop]=tween.start,hidden)tween.end=tween.start,tween.start="width"===prop||"height"===prop?1:0}else if("inline"===("none"===display?defaultDisplay(elem.nodeName):display))style.display=display}function propFilter(props,specialEasing){var index,name,easing,value,hooks;for(index in props){if(name=jQuery.camelCase(index),easing=specialEasing[name],value=props[index],jQuery.isArray(value))easing=value[1],value=props[index]=value[0];if(index!==name)props[name]=value,delete props[index];if(hooks=jQuery.cssHooks[name],hooks&&"expand"in hooks){value=hooks.expand(value),delete props[name];for(index in value)if(!(index in props))props[index]=value[index],specialEasing[index]=easing}else specialEasing[name]=easing}}function Animation(elem,properties,options){var result,stopped,index=0,length=animationPrefilters.length,deferred=jQuery.Deferred().always(function(){delete tick.elem}),tick=function(){if(stopped)return!1;for(var currentTime=fxNow||createFxNow(),remaining=Math.max(0,animation.startTime+animation.duration-currentTime),temp=remaining/animation.duration||0,percent=1-temp,index=0,length=animation.tweens.length;length>index;index++)animation.tweens[index].run(percent);if(deferred.notifyWith(elem,[animation,percent,remaining]),1>percent&&length)return remaining;else return deferred.resolveWith(elem,[animation]),!1},animation=deferred.promise({elem:elem,props:jQuery.extend({},properties),opts:jQuery.extend(!0,{specialEasing:{}},options),originalProperties:properties,originalOptions:options,startTime:fxNow||createFxNow(),duration:options.duration,tweens:[],createTween:function(prop,end){var tween=jQuery.Tween(elem,animation.opts,prop,end,animation.opts.specialEasing[prop]||animation.opts.easing);return animation.tweens.push(tween),tween},stop:function(gotoEnd){var index=0,length=gotoEnd?animation.tweens.length:0;if(stopped)return this;for(stopped=!0;length>index;index++)animation.tweens[index].run(1);if(gotoEnd)deferred.resolveWith(elem,[animation,gotoEnd]);else deferred.rejectWith(elem,[animation,gotoEnd]);return this}}),props=animation.props;for(propFilter(props,animation.opts.specialEasing);length>index;index++)if(result=animationPrefilters[index].call(animation,elem,props,animation.opts),result)return result;if(jQuery.map(props,createTween,animation),jQuery.isFunction(animation.opts.start))animation.opts.start.call(elem,animation);return jQuery.fx.timer(jQuery.extend(tick,{elem:elem,anim:animation,queue:animation.opts.queue})),animation.progress(animation.opts.progress).done(animation.opts.done,animation.opts.complete).fail(animation.opts.fail).always(animation.opts.always)}function addToPrefiltersOrTransports(structure){return function(dataTypeExpression,func){if("string"!=typeof dataTypeExpression)func=dataTypeExpression,dataTypeExpression="*";var dataType,i=0,dataTypes=dataTypeExpression.toLowerCase().match(rnotwhite)||[];if(jQuery.isFunction(func))for(;dataType=dataTypes[i++];)if("+"===dataType[0])dataType=dataType.slice(1)||"*",(structure[dataType]=structure[dataType]||[]).unshift(func);else(structure[dataType]=structure[dataType]||[]).push(func)}}function inspectPrefiltersOrTransports(structure,options,originalOptions,jqXHR){function inspect(dataType){var selected;return inspected[dataType]=!0,jQuery.each(structure[dataType]||[],function(_,prefilterOrFactory){var dataTypeOrTransport=prefilterOrFactory(options,originalOptions,jqXHR);if("string"==typeof dataTypeOrTransport&&!seekingTransport&&!inspected[dataTypeOrTransport])return options.dataTypes.unshift(dataTypeOrTransport),inspect(dataTypeOrTransport),!1;else if(seekingTransport)return!(selected=dataTypeOrTransport)}),selected}var inspected={},seekingTransport=structure===transports;return inspect(options.dataTypes[0])||!inspected["*"]&&inspect("*")}function ajaxExtend(target,src){var key,deep,flatOptions=jQuery.ajaxSettings.flatOptions||{};for(key in src)if(void 0!==src[key])(flatOptions[key]?target:deep||(deep={}))[key]=src[key];if(deep)jQuery.extend(!0,target,deep);return target}function ajaxHandleResponses(s,jqXHR,responses){for(var ct,type,finalDataType,firstDataType,contents=s.contents,dataTypes=s.dataTypes;"*"===dataTypes[0];)if(dataTypes.shift(),void 0===ct)ct=s.mimeType||jqXHR.getResponseHeader("Content-Type");if(ct)for(type in contents)if(contents[type]&&contents[type].test(ct)){dataTypes.unshift(type);break}if(dataTypes[0]in responses)finalDataType=dataTypes[0];else{for(type in responses){if(!dataTypes[0]||s.converters[type+" "+dataTypes[0]]){finalDataType=type;break}if(!firstDataType)firstDataType=type}finalDataType=finalDataType||firstDataType}if(finalDataType){if(finalDataType!==dataTypes[0])dataTypes.unshift(finalDataType);return responses[finalDataType]}}function ajaxConvert(s,response,jqXHR,isSuccess){var conv2,current,conv,tmp,prev,converters={},dataTypes=s.dataTypes.slice();if(dataTypes[1])for(conv in s.converters)converters[conv.toLowerCase()]=s.converters[conv];for(current=dataTypes.shift();current;){if(s.responseFields[current])jqXHR[s.responseFields[current]]=response;if(!prev&&isSuccess&&s.dataFilter)response=s.dataFilter(response,s.dataType);if(prev=current,current=dataTypes.shift(),current)if("*"===current)current=prev;else if("*"!==prev&&prev!==current){if(conv=converters[prev+" "+current]||converters["* "+current],!conv)for(conv2 in converters)if(tmp=conv2.split(" "),tmp[1]===current)if(conv=converters[prev+" "+tmp[0]]||converters["* "+tmp[0]],conv){if(conv===!0)conv=converters[conv2];else if(converters[conv2]!==!0)current=tmp[0],dataTypes.unshift(tmp[1]);break}if(conv!==!0)if(conv&&s["throws"])response=conv(response);else try{response=conv(response)}catch(e){return{state:"parsererror",error:conv?e:"No conversion from "+prev+" to "+current}}}}return{state:"success",data:response}}function buildParams(prefix,obj,traditional,add){var name;if(jQuery.isArray(obj))jQuery.each(obj,function(i,v){if(traditional||rbracket.test(prefix))add(prefix,v);else buildParams(prefix+"["+("object"==typeof v?i:"")+"]",v,traditional,add)});else if(!traditional&&"object"===jQuery.type(obj))for(name in obj)buildParams(prefix+"["+name+"]",obj[name],traditional,add);else add(prefix,obj)}function getWindow(elem){return jQuery.isWindow(elem)?elem:9===elem.nodeType&&elem.defaultView}var arr=[],slice=arr.slice,concat=arr.concat,push=arr.push,indexOf=arr.indexOf,class2type={},toString=class2type.toString,hasOwn=class2type.hasOwnProperty,support={},document=window.document,version="2.1.4",jQuery=function(selector,context){return new jQuery.fn.init(selector,context)},rtrim=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,rmsPrefix=/^-ms-/,rdashAlpha=/-([\da-z])/gi,fcamelCase=function(all,letter){return letter.toUpperCase()};jQuery.fn=jQuery.prototype={jquery:version,constructor:jQuery,selector:"",length:0,toArray:function(){return slice.call(this)},get:function(num){return null!=num?0>num?this[num+this.length]:this[num]:slice.call(this)},pushStack:function(elems){var ret=jQuery.merge(this.constructor(),elems);return ret.prevObject=this,ret.context=this.context,ret},each:function(callback,args){return jQuery.each(this,callback,args)},map:function(callback){return this.pushStack(jQuery.map(this,function(elem,i){return callback.call(elem,i,elem)}))},slice:function(){return this.pushStack(slice.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(i){var len=this.length,j=+i+(0>i?len:0);return this.pushStack(j>=0&&len>j?[this[j]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:push,sort:arr.sort,splice:arr.splice},jQuery.extend=jQuery.fn.extend=function(){var options,name,src,copy,copyIsArray,clone,target=arguments[0]||{},i=1,length=arguments.length,deep=!1;if("boolean"==typeof target)deep=target,target=arguments[i]||{},i++;if("object"!=typeof target&&!jQuery.isFunction(target))target={};if(i===length)target=this,i--;for(;length>i;i++)if(null!=(options=arguments[i]))for(name in options)if(src=target[name],copy=options[name],target!==copy){if(deep&©&&(jQuery.isPlainObject(copy)||(copyIsArray=jQuery.isArray(copy)))){if(copyIsArray)copyIsArray=!1,clone=src&&jQuery.isArray(src)?src:[];else clone=src&&jQuery.isPlainObject(src)?src:{};target[name]=jQuery.extend(deep,clone,copy)}else if(void 0!==copy)target[name]=copy}else;return target},jQuery.extend({expando:"jQuery"+(version+Math.random()).replace(/\D/g,""),isReady:!0,error:function(msg){throw new Error(msg)},noop:function(){},isFunction:function(obj){return"function"===jQuery.type(obj)},isArray:Array.isArray,isWindow:function(obj){return null!=obj&&obj===obj.window},isNumeric:function(obj){return!jQuery.isArray(obj)&&obj-parseFloat(obj)+1>=0},isPlainObject:function(obj){if("object"!==jQuery.type(obj)||obj.nodeType||jQuery.isWindow(obj))return!1;if(obj.constructor&&!hasOwn.call(obj.constructor.prototype,"isPrototypeOf"))return!1;else return!0},isEmptyObject:function(obj){var name;for(name in obj)return!1;return!0},type:function(obj){if(null==obj)return obj+"";else return"object"==typeof obj||"function"==typeof obj?class2type[toString.call(obj)]||"object":typeof obj},globalEval:function(code){var script,indirect=eval;if(code=jQuery.trim(code),code)if(1===code.indexOf("use strict"))script=document.createElement("script"),script.text=code,document.head.appendChild(script).parentNode.removeChild(script);else indirect(code)},camelCase:function(string){return string.replace(rmsPrefix,"ms-").replace(rdashAlpha,fcamelCase)},nodeName:function(elem,name){return elem.nodeName&&elem.nodeName.toLowerCase()===name.toLowerCase()},each:function(obj,callback,args){var value,i=0,length=obj.length,isArray=isArraylike(obj);if(args){if(isArray)for(;length>i&&(value=callback.apply(obj[i],args),value!==!1);i++);else for(i in obj)if(value=callback.apply(obj[i],args),value===!1)break}else if(isArray)for(;length>i&&(value=callback.call(obj[i],i,obj[i]),value!==!1);i++);else for(i in obj)if(value=callback.call(obj[i],i,obj[i]),value===!1)break;return obj},trim:function(text){return null==text?"":(text+"").replace(rtrim,"")},makeArray:function(arr,results){var ret=results||[];if(null!=arr)if(isArraylike(Object(arr)))jQuery.merge(ret,"string"==typeof arr?[arr]:arr);else push.call(ret,arr);return ret},inArray:function(elem,arr,i){return null==arr?-1:indexOf.call(arr,elem,i)},merge:function(first,second){for(var len=+second.length,j=0,i=first.length;len>j;j++)first[i++]=second[j];return first.length=i,first},grep:function(elems,callback,invert){for(var callbackInverse,matches=[],i=0,length=elems.length,callbackExpect=!invert;length>i;i++)if(callbackInverse=!callback(elems[i],i),callbackInverse!==callbackExpect)matches.push(elems[i]);return matches},map:function(elems,callback,arg){var value,i=0,length=elems.length,isArray=isArraylike(elems),ret=[];if(isArray){for(;length>i;i++)if(value=callback(elems[i],i,arg),null!=value)ret.push(value)}else for(i in elems)if(value=callback(elems[i],i,arg),null!=value)ret.push(value);return concat.apply([],ret)},guid:1,proxy:function(fn,context){var tmp,args,proxy;if("string"==typeof context)tmp=fn[context],context=fn,fn=tmp;if(jQuery.isFunction(fn))return args=slice.call(arguments,2),proxy=function(){return fn.apply(context||this,args.concat(slice.call(arguments)))},proxy.guid=fn.guid=fn.guid||jQuery.guid++,proxy},now:Date.now,support:support}),jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(i,name){class2type["[object "+name+"]"]=name.toLowerCase()});var Sizzle=/*!
* Sizzle CSS Selector Engine v2.2.0-pre
* http://sizzlejs.com/
*
* Copyright 2008, 2014 jQuery Foundation, Inc. and other contributors
* Released under the MIT license
* http://jquery.org/license
*
* Date: 2014-12-16
*/
function(window){function Sizzle(selector,context,results,seed){var match,elem,m,nodeType,i,groups,old,nid,newContext,newSelector;if((context?context.ownerDocument||context:preferredDoc)!==document)setDocument(context);if(context=context||document,results=results||[],nodeType=context.nodeType,"string"!=typeof selector||!selector||1!==nodeType&&9!==nodeType&&11!==nodeType)return results;if(!seed&&documentIsHTML){if(11!==nodeType&&(match=rquickExpr.exec(selector)))if(m=match[1]){if(9===nodeType)if(elem=context.getElementById(m),elem&&elem.parentNode){if(elem.id===m)return results.push(elem),results}else return results;else if(context.ownerDocument&&(elem=context.ownerDocument.getElementById(m))&&contains(context,elem)&&elem.id===m)return results.push(elem),results}else if(match[2])return push.apply(results,context.getElementsByTagName(selector)),results;else if((m=match[3])&&support.getElementsByClassName)return push.apply(results,context.getElementsByClassName(m)),results;if(support.qsa&&(!rbuggyQSA||!rbuggyQSA.test(selector))){if(nid=old=expando,newContext=context,newSelector=1!==nodeType&&selector,1===nodeType&&"object"!==context.nodeName.toLowerCase()){if(groups=tokenize(selector),old=context.getAttribute("id"))nid=old.replace(rescape,"\\$&");else context.setAttribute("id",nid);for(nid="[id='"+nid+"'] ",i=groups.length;i--;)groups[i]=nid+toSelector(groups[i]);newContext=rsibling.test(selector)&&testContext(context.parentNode)||context,newSelector=groups.join(",")}if(newSelector)try{return push.apply(results,newContext.querySelectorAll(newSelector)),results}catch(qsaError){}finally{if(!old)context.removeAttribute("id")}}}return select(selector.replace(rtrim,"$1"),context,results,seed)}function createCache(){function cache(key,value){if(keys.push(key+" ")>Expr.cacheLength)delete cache[keys.shift()];return cache[key+" "]=value}var keys=[];return cache}function markFunction(fn){return fn[expando]=!0,fn}function assert(fn){var div=document.createElement("div");try{return!!fn(div)}catch(e){return!1}finally{if(div.parentNode)div.parentNode.removeChild(div);div=null}}function addHandle(attrs,handler){for(var arr=attrs.split("|"),i=attrs.length;i--;)Expr.attrHandle[arr[i]]=handler}function siblingCheck(a,b){var cur=b&&a,diff=cur&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||MAX_NEGATIVE)-(~a.sourceIndex||MAX_NEGATIVE);if(diff)return diff;if(cur)for(;cur=cur.nextSibling;)if(cur===b)return-1;return a?1:-1}function createInputPseudo(type){return function(elem){var name=elem.nodeName.toLowerCase();return"input"===name&&elem.type===type}}function createButtonPseudo(type){return function(elem){var name=elem.nodeName.toLowerCase();return("input"===name||"button"===name)&&elem.type===type}}function createPositionalPseudo(fn){return markFunction(function(argument){return argument=+argument,markFunction(function(seed,matches){for(var j,matchIndexes=fn([],seed.length,argument),i=matchIndexes.length;i--;)if(seed[j=matchIndexes[i]])seed[j]=!(matches[j]=seed[j])})})}function testContext(context){return context&&"undefined"!=typeof context.getElementsByTagName&&context}function setFilters(){}function toSelector(tokens){for(var i=0,len=tokens.length,selector="";len>i;i++)selector+=tokens[i].value;return selector}function addCombinator(matcher,combinator,base){var dir=combinator.dir,checkNonElements=base&&"parentNode"===dir,doneName=done++;return combinator.first?function(elem,context,xml){for(;elem=elem[dir];)if(1===elem.nodeType||checkNonElements)return matcher(elem,context,xml)}:function(elem,context,xml){var oldCache,outerCache,newCache=[dirruns,doneName];if(xml){for(;elem=elem[dir];)if(1===elem.nodeType||checkNonElements)if(matcher(elem,context,xml))return!0}else for(;elem=elem[dir];)if(1===elem.nodeType||checkNonElements)if(outerCache=elem[expando]||(elem[expando]={}),(oldCache=outerCache[dir])&&oldCache[0]===dirruns&&oldCache[1]===doneName)return newCache[2]=oldCache[2];else if(outerCache[dir]=newCache,newCache[2]=matcher(elem,context,xml))return!0}}function elementMatcher(matchers){return matchers.length>1?function(elem,context,xml){for(var i=matchers.length;i--;)if(!matchers[i](elem,context,xml))return!1;return!0}:matchers[0]}function multipleContexts(selector,contexts,results){for(var i=0,len=contexts.length;len>i;i++)Sizzle(selector,contexts[i],results);return results}function condense(unmatched,map,filter,context,xml){for(var elem,newUnmatched=[],i=0,len=unmatched.length,mapped=null!=map;len>i;i++)if(elem=unmatched[i])if(!filter||filter(elem,context,xml))if(newUnmatched.push(elem),mapped)map.push(i);return newUnmatched}function setMatcher(preFilter,selector,matcher,postFilter,postFinder,postSelector){if(postFilter&&!postFilter[expando])postFilter=setMatcher(postFilter);if(postFinder&&!postFinder[expando])postFinder=setMatcher(postFinder,postSelector);return markFunction(function(seed,results,context,xml){var temp,i,elem,preMap=[],postMap=[],preexisting=results.length,elems=seed||multipleContexts(selector||"*",context.nodeType?[context]:context,[]),matcherIn=preFilter&&(seed||!selector)?condense(elems,preMap,preFilter,context,xml):elems,matcherOut=matcher?postFinder||(seed?preFilter:preexisting||postFilter)?[]:results:matcherIn;if(matcher)matcher(matcherIn,matcherOut,context,xml);if(postFilter)for(temp=condense(matcherOut,postMap),postFilter(temp,[],context,xml),i=temp.length;i--;)if(elem=temp[i])matcherOut[postMap[i]]=!(matcherIn[postMap[i]]=elem);if(seed){if(postFinder||preFilter){if(postFinder){for(temp=[],i=matcherOut.length;i--;)if(elem=matcherOut[i])temp.push(matcherIn[i]=elem);postFinder(null,matcherOut=[],temp,xml)}for(i=matcherOut.length;i--;)if((elem=matcherOut[i])&&(temp=postFinder?indexOf(seed,elem):preMap[i])>-1)seed[temp]=!(results[temp]=elem)}}else if(matcherOut=condense(matcherOut===results?matcherOut.splice(preexisting,matcherOut.length):matcherOut),postFinder)postFinder(null,results,matcherOut,xml);else push.apply(results,matcherOut)})}function matcherFromTokens(tokens){for(var checkContext,matcher,j,len=tokens.length,leadingRelative=Expr.relative[tokens[0].type],implicitRelative=leadingRelative||Expr.relative[" "],i=leadingRelative?1:0,matchContext=addCombinator(function(elem){return elem===checkContext},implicitRelative,!0),matchAnyContext=addCombinator(function(elem){return indexOf(checkContext,elem)>-1},implicitRelative,!0),matchers=[function(elem,context,xml){var ret=!leadingRelative&&(xml||context!==outermostContext)||((checkContext=context).nodeType?matchContext(elem,context,xml):matchAnyContext(elem,context,xml));return checkContext=null,ret}];len>i;i++)if(matcher=Expr.relative[tokens[i].type])matchers=[addCombinator(elementMatcher(matchers),matcher)];else{if(matcher=Expr.filter[tokens[i].type].apply(null,tokens[i].matches),matcher[expando]){for(j=++i;len>j&&!Expr.relative[tokens[j].type];j++);return setMatcher(i>1&&elementMatcher(matchers),i>1&&toSelector(tokens.slice(0,i-1).concat({value:" "===tokens[i-2].type?"*":""})).replace(rtrim,"$1"),matcher,j>i&&matcherFromTokens(tokens.slice(i,j)),len>j&&matcherFromTokens(tokens=tokens.slice(j)),len>j&&toSelector(tokens))}matchers.push(matcher)}return elementMatcher(matchers)}function matcherFromGroupMatchers(elementMatchers,setMatchers){var bySet=setMatchers.length>0,byElement=elementMatchers.length>0,superMatcher=function(seed,context,xml,results,outermost){var elem,j,matcher,matchedCount=0,i="0",unmatched=seed&&[],setMatched=[],contextBackup=outermostContext,elems=seed||byElement&&Expr.find.TAG("*",outermost),dirrunsUnique=dirruns+=null==contextBackup?1:Math.random()||.1,len=elems.length;if(outermost)outermostContext=context!==document&&context;for(;i!==len&&null!=(elem=elems[i]);i++){if(byElement&&elem){for(j=0;matcher=elementMatchers[j++];)if(matcher(elem,context,xml)){results.push(elem);break}if(outermost)dirruns=dirrunsUnique}if(bySet){if(elem=!matcher&&elem)matchedCount--;if(seed)unmatched.push(elem)}}if(matchedCount+=i,bySet&&i!==matchedCount){for(j=0;matcher=setMatchers[j++];)matcher(unmatched,setMatched,context,xml);if(seed){if(matchedCount>0)for(;i--;)if(!unmatched[i]&&!setMatched[i])setMatched[i]=pop.call(results);setMatched=condense(setMatched)}if(push.apply(results,setMatched),outermost&&!seed&&setMatched.length>0&&matchedCount+setMatchers.length>1)Sizzle.uniqueSort(results)}if(outermost)dirruns=dirrunsUnique,outermostContext=contextBackup;return unmatched};return bySet?markFunction(superMatcher):superMatcher}var i,support,Expr,getText,isXML,tokenize,compile,select,outermostContext,sortInput,hasDuplicate,setDocument,document,docElem,documentIsHTML,rbuggyQSA,rbuggyMatches,matches,contains,expando="sizzle"+1*new Date,preferredDoc=window.document,dirruns=0,done=0,classCache=createCache(),tokenCache=createCache(),compilerCache=createCache(),sortOrder=function(a,b){if(a===b)hasDuplicate=!0;return 0},MAX_NEGATIVE=1<<31,hasOwn={}.hasOwnProperty,arr=[],pop=arr.pop,push_native=arr.push,push=arr.push,slice=arr.slice,indexOf=function(list,elem){for(var i=0,len=list.length;len>i;i++)if(list[i]===elem)return i;return-1},booleans="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",whitespace="[\\x20\\t\\r\\n\\f]",characterEncoding="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",identifier=characterEncoding.replace("w","w#"),attributes="\\["+whitespace+"*("+characterEncoding+")(?:"+whitespace+"*([*^$|!~]?=)"+whitespace+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+identifier+"))|)"+whitespace+"*\\]",pseudos=":("+characterEncoding+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+attributes+")*)|.*)\\)|)",rwhitespace=new RegExp(whitespace+"+","g"),rtrim=new RegExp("^"+whitespace+"+|((?:^|[^\\\\])(?:\\\\.)*)"+whitespace+"+$","g"),rcomma=new RegExp("^"+whitespace+"*,"+whitespace+"*"),rcombinators=new RegExp("^"+whitespace+"*([>+~]|"+whitespace+")"+whitespace+"*"),rattributeQuotes=new RegExp("="+whitespace+"*([^\\]'\"]*?)"+whitespace+"*\\]","g"),rpseudo=new RegExp(pseudos),ridentifier=new RegExp("^"+identifier+"$"),matchExpr={ID:new RegExp("^#("+characterEncoding+")"),CLASS:new RegExp("^\\.("+characterEncoding+")"),TAG:new RegExp("^("+characterEncoding.replace("w","w*")+")"),ATTR:new RegExp("^"+attributes),PSEUDO:new RegExp("^"+pseudos),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+whitespace+"*(even|odd|(([+-]|)(\\d*)n|)"+whitespace+"*(?:([+-]|)"+whitespace+"*(\\d+)|))"+whitespace+"*\\)|)","i"),bool:new RegExp("^(?:"+booleans+")$","i"),needsContext:new RegExp("^"+whitespace+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+whitespace+"*((?:-\\d)?\\d*)"+whitespace+"*\\)|)(?=[^-]|$)","i")},rinputs=/^(?:input|select|textarea|button)$/i,rheader=/^h\d$/i,rnative=/^[^{]+\{\s*\[native \w/,rquickExpr=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,rsibling=/[+~]/,rescape=/'|\\/g,runescape=new RegExp("\\\\([\\da-f]{1,6}"+whitespace+"?|("+whitespace+")|.)","ig"),funescape=function(_,escaped,escapedWhitespace){var high="0x"+escaped-65536;return high!==high||escapedWhitespace?escaped:0>high?String.fromCharCode(high+65536):String.fromCharCode(high>>10|55296,1023&high|56320)},unloadHandler=function(){setDocument()};try{push.apply(arr=slice.call(preferredDoc.childNodes),preferredDoc.childNodes),arr[preferredDoc.childNodes.length].nodeType}catch(e){push={apply:arr.length?function(target,els){push_native.apply(target,slice.call(els))}:function(target,els){for(var j=target.length,i=0;target[j++]=els[i++];);target.length=j-1}}}support=Sizzle.support={},isXML=Sizzle.isXML=function(elem){var documentElement=elem&&(elem.ownerDocument||elem).documentElement;return documentElement?"HTML"!==documentElement.nodeName:!1},setDocument=Sizzle.setDocument=function(node){var hasCompare,parent,doc=node?node.ownerDocument||node:preferredDoc;if(doc===document||9!==doc.nodeType||!doc.documentElement)return document;if(document=doc,docElem=doc.documentElement,parent=doc.defaultView,parent&&parent!==parent.top)if(parent.addEventListener)parent.addEventListener("unload",unloadHandler,!1);else if(parent.attachEvent)parent.attachEvent("onunload",unloadHandler);if(documentIsHTML=!isXML(doc),support.attributes=assert(function(div){return div.className="i",!div.getAttribute("className")}),support.getElementsByTagName=assert(function(div){return div.appendChild(doc.createComment("")),!div.getElementsByTagName("*").length}),support.getElementsByClassName=rnative.test(doc.getElementsByClassName),support.getById=assert(function(div){return docElem.appendChild(div).id=expando,!doc.getElementsByName||!doc.getElementsByName(expando).length}),support.getById)Expr.find.ID=function(id,context){if("undefined"!=typeof context.getElementById&&documentIsHTML){var m=context.getElementById(id);return m&&m.parentNode?[m]:[]}},Expr.filter.ID=function(id){var attrId=id.replace(runescape,funescape);return function(elem){return elem.getAttribute("id")===attrId}};else delete Expr.find.ID,Expr.filter.ID=function(id){var attrId=id.replace(runescape,funescape);return function(elem){var node="undefined"!=typeof elem.getAttributeNode&&elem.getAttributeNode("id");return node&&node.value===attrId}};if(Expr.find.TAG=support.getElementsByTagName?function(tag,context){if("undefined"!=typeof context.getElementsByTagName)return context.getElementsByTagName(tag);else if(support.qsa)return context.querySelectorAll(tag)}:function(tag,context){var elem,tmp=[],i=0,results=context.getElementsByTagName(tag);if("*"===tag){for(;elem=results[i++];)if(1===elem.nodeType)tmp.push(elem);return tmp}return results},Expr.find.CLASS=support.getElementsByClassName&&function(className,context){if(documentIsHTML)return context.getElementsByClassName(className);else;},rbuggyMatches=[],rbuggyQSA=[],support.qsa=rnative.test(doc.querySelectorAll))assert(function(div){if(docElem.appendChild(div).innerHTML="<a id='"+expando+"'></a><select id='"+expando+"-\f]' msallowcapture=''><option selected=''></option></select>",div.querySelectorAll("[msallowcapture^='']").length)rbuggyQSA.push("[*^$]="+whitespace+"*(?:''|\"\")");if(!div.querySelectorAll("[selected]").length)rbuggyQSA.push("\\["+whitespace+"*(?:value|"+booleans+")");if(!div.querySelectorAll("[id~="+expando+"-]").length)rbuggyQSA.push("~=");if(!div.querySelectorAll(":checked").length)rbuggyQSA.push(":checked");if(!div.querySelectorAll("a#"+expando+"+*").length)rbuggyQSA.push(".#.+[+~]")}),assert(function(div){var input=doc.createElement("input");if(input.setAttribute("type","hidden"),div.appendChild(input).setAttribute("name","D"),div.querySelectorAll("[name=d]").length)rbuggyQSA.push("name"+whitespace+"*[*^$|!~]?=");if(!div.querySelectorAll(":enabled").length)rbuggyQSA.push(":enabled",":disabled");div.querySelectorAll("*,:x"),rbuggyQSA.push(",.*:")});if(support.matchesSelector=rnative.test(matches=docElem.matches||docElem.webkitMatchesSelector||docElem.mozMatchesSelector||docElem.oMatchesSelector||docElem.msMatchesSelector))assert(function(div){support.disconnectedMatch=matches.call(div,"div"),matches.call(div,"[s!='']:x"),rbuggyMatches.push("!=",pseudos)});return rbuggyQSA=rbuggyQSA.length&&new RegExp(rbuggyQSA.join("|")),rbuggyMatches=rbuggyMatches.length&&new RegExp(rbuggyMatches.join("|")),hasCompare=rnative.test(docElem.compareDocumentPosition),contains=hasCompare||rnative.test(docElem.contains)?function(a,b){var adown=9===a.nodeType?a.documentElement:a,bup=b&&b.parentNode;return a===bup||!(!bup||1!==bup.nodeType||!(adown.contains?adown.contains(bup):a.compareDocumentPosition&&16&a.compareDocumentPosition(bup)))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1},sortOrder=hasCompare?function(a,b){if(a===b)return hasDuplicate=!0,0;var compare=!a.compareDocumentPosition-!b.compareDocumentPosition;if(compare)return compare;if(compare=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&compare||!support.sortDetached&&b.compareDocumentPosition(a)===compare){if(a===doc||a.ownerDocument===preferredDoc&&contains(preferredDoc,a))return-1;if(b===doc||b.ownerDocument===preferredDoc&&contains(preferredDoc,b))return 1;else return sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0}return 4&compare?-1:1}:function(a,b){if(a===b)return hasDuplicate=!0,0;var cur,i=0,aup=a.parentNode,bup=b.parentNode,ap=[a],bp=[b];if(!aup||!bup)return a===doc?-1:b===doc?1:aup?-1:bup?1:sortInput?indexOf(sortInput,a)-indexOf(sortInput,b):0;else if(aup===bup)return siblingCheck(a,b);for(cur=a;cur=cur.parentNode;)ap.unshift(cur);for(cur=b;cur=cur.parentNode;)bp.unshift(cur);for(;ap[i]===bp[i];)i++;return i?siblingCheck(ap[i],bp[i]):ap[i]===preferredDoc?-1:bp[i]===preferredDoc?1:0},doc},Sizzle.matches=function(expr,elements){return Sizzle(expr,null,null,elements)},Sizzle.matchesSelector=function(elem,expr){if((elem.ownerDocument||elem)!==document)setDocument(elem);if(expr=expr.replace(rattributeQuotes,"='$1']"),support.matchesSelector&&documentIsHTML&&(!rbuggyMatches||!rbuggyMatches.test(expr))&&(!rbuggyQSA||!rbuggyQSA.test(expr)))try{var ret=matches.call(elem,expr);if(ret||support.disconnectedMatch||elem.document&&11!==elem.document.nodeType)return ret}catch(e){}return Sizzle(expr,document,null,[elem]).length>0},Sizzle.contains=function(context,elem){if((context.ownerDocument||context)!==document)setDocument(context);return contains(context,elem)},Sizzle.attr=function(elem,name){if((elem.ownerDocument||elem)!==document)setDocument(elem);var fn=Expr.attrHandle[name.toLowerCase()],val=fn&&hasOwn.call(Expr.attrHandle,name.toLowerCase())?fn(elem,name,!documentIsHTML):void 0;return void 0!==val?val:support.attributes||!documentIsHTML?elem.getAttribute(name):(val=elem.getAttributeNode(name))&&val.specified?val.value:null},Sizzle.error=function(msg){throw new Error("Syntax error, unrecognized expression: "+msg)},Sizzle.uniqueSort=function(results){var elem,duplicates=[],j=0,i=0;if(hasDuplicate=!support.detectDuplicates,sortInput=!support.sortStable&&results.slice(0),results.sort(sortOrder),hasDuplicate){for(;elem=results[i++];)if(elem===results[i])j=duplicates.push(i);for(;j--;)results.splice(duplicates[j],1)}return sortInput=null,results},getText=Sizzle.getText=function(elem){var node,ret="",i=0,nodeType=elem.nodeType;if(!nodeType)for(;node=elem[i++];)ret+=getText(node);else if(1===nodeType||9===nodeType||11===nodeType)if("string"==typeof elem.textContent)return elem.textContent;else for(elem=elem.firstChild;elem;elem=elem.nextSibling)ret+=getText(elem);else if(3===nodeType||4===nodeType)return elem.nodeValue;return ret},Expr=Sizzle.selectors={cacheLength:50,createPseudo:markFunction,match:matchExpr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(match){if(match[1]=match[1].replace(runescape,funescape),match[3]=(match[3]||match[4]||match[5]||"").replace(runescape,funescape),"~="===match[2])match[3]=" "+match[3]+" ";return match.slice(0,4)},CHILD:function(match){if(match[1]=match[1].toLowerCase(),"nth"===match[1].slice(0,3)){if(!match[3])Sizzle.error(match[0]);match[4]=+(match[4]?match[5]+(match[6]||1):2*("even"===match[3]||"odd"===match[3])),match[5]=+(match[7]+match[8]||"odd"===match[3])}else if(match[3])Sizzle.error(match[0]);return match},PSEUDO:function(match){var excess,unquoted=!match[6]&&match[2];if(matchExpr.CHILD.test(match[0]))return null;if(match[3])match[2]=match[4]||match[5]||"";else if(unquoted&&rpseudo.test(unquoted)&&(excess=tokenize(unquoted,!0))&&(excess=unquoted.indexOf(")",unquoted.length-excess)-unquoted.length))match[0]=match[0].slice(0,excess),match[2]=unquoted.slice(0,excess);return match.slice(0,3)}},filter:{TAG:function(nodeNameSelector){var nodeName=nodeNameSelector.replace(runescape,funescape).toLowerCase();return"*"===nodeNameSelector?function(){return!0}:function(elem){return elem.nodeName&&elem.nodeName.toLowerCase()===nodeName}},CLASS:function(className){var pattern=classCache[className+" "];return pattern||(pattern=new RegExp("(^|"+whitespace+")"+className+"("+whitespace+"|$)"))&&classCache(className,function(elem){return pattern.test("string"==typeof elem.className&&elem.className||"undefined"!=typeof elem.getAttribute&&elem.getAttribute("class")||"")})},ATTR:function(name,operator,check){return function(elem){var result=Sizzle.attr(elem,name);if(null==result)return"!="===operator;if(!operator)return!0;else return result+="","="===operator?result===check:"!="===operator?result!==check:"^="===operator?check&&0===result.indexOf(check):"*="===operator?check&&result.indexOf(check)>-1:"$="===operator?check&&result.slice(-check.length)===check:"~="===operator?(" "+result.replace(rwhitespace," ")+" ").indexOf(check)>-1:"|="===operator?result===check||result.slice(0,check.length+1)===check+"-":!1}},CHILD:function(type,what,argument,first,last){var simple="nth"!==type.slice(0,3),forward="last"!==type.slice(-4),ofType="of-type"===what;return 1===first&&0===last?function(elem){return!!elem.parentNode}:function(elem,context,xml){var cache,outerCache,node,diff,nodeIndex,start,dir=simple!==forward?"nextSibling":"previousSibling",parent=elem.parentNode,name=ofType&&elem.nodeName.toLowerCase(),useCache=!xml&&!ofType;if(parent){if(simple){for(;dir;){for(node=elem;node=node[dir];)if(ofType?node.nodeName.toLowerCase()===name:1===node.nodeType)return!1;start=dir="only"===type&&!start&&"nextSibling"}return!0}if(start=[forward?parent.firstChild:parent.lastChild],forward&&useCache){for(outerCache=parent[expando]||(parent[expando]={}),cache=outerCache[type]||[],nodeIndex=cache[0]===dirruns&&cache[1],diff=cache[0]===dirruns&&cache[2],node=nodeIndex&&parent.childNodes[nodeIndex];node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop();)if(1===node.nodeType&&++diff&&node===elem){outerCache[type]=[dirruns,nodeIndex,diff];break}}else if(useCache&&(cache=(elem[expando]||(elem[expando]={}))[type])&&cache[0]===dirruns)diff=cache[1];else for(;node=++nodeIndex&&node&&node[dir]||(diff=nodeIndex=0)||start.pop();)if((ofType?node.nodeName.toLowerCase()===name:1===node.nodeType)&&++diff){if(useCache)(node[expando]||(node[expando]={}))[type]=[dirruns,diff];if(node===elem)break}return diff-=last,diff===first||diff%first===0&&diff/first>=0}}},PSEUDO:function(pseudo,argument){var args,fn=Expr.pseudos[pseudo]||Expr.setFilters[pseudo.toLowerCase()]||Sizzle.error("unsupported pseudo: "+pseudo);if(fn[expando])return fn(argument);if(fn.length>1)return args=[pseudo,pseudo,"",argument],Expr.setFilters.hasOwnProperty(pseudo.toLowerCase())?markFunction(function(seed,matches){for(var idx,matched=fn(seed,argument),i=matched.length;i--;)idx=indexOf(seed,matched[i]),seed[idx]=!(matches[idx]=matched[i])}):function(elem){return fn(elem,0,args)};else return fn}},pseudos:{not:markFunction(function(selector){var input=[],results=[],matcher=compile(selector.replace(rtrim,"$1"));return matcher[expando]?markFunction(function(seed,matches,context,xml){for(var elem,unmatched=matcher(seed,null,xml,[]),i=seed.length;i--;)if(elem=unmatched[i])seed[i]=!(matches[i]=elem)}):function(elem,context,xml){return input[0]=elem,matcher(input,null,xml,results),input[0]=null,!results.pop()}}),has:markFunction(function(selector){return function(elem){return Sizzle(selector,elem).length>0}}),contains:markFunction(function(text){return text=text.replace(runescape,funescape),function(elem){return(elem.textContent||elem.innerText||getText(elem)).indexOf(text)>-1}}),lang:markFunction(function(lang){if(!ridentifier.test(lang||""))Sizzle.error("unsupported lang: "+lang);return lang=lang.replace(runescape,funescape).toLowerCase(),function(elem){var elemLang;do if(elemLang=documentIsHTML?elem.lang:elem.getAttribute("xml:lang")||elem.getAttribute("lang"))return elemLang=elemLang.toLowerCase(),elemLang===lang||0===elemLang.indexOf(lang+"-");while((elem=elem.parentNode)&&1===elem.nodeType);return!1}}),target:function(elem){var hash=window.location&&window.location.hash;return hash&&hash.slice(1)===elem.id},root:function(elem){return elem===docElem},focus:function(elem){return elem===document.activeElement&&(!document.hasFocus||document.hasFocus())&&!!(elem.type||elem.href||~elem.tabIndex)},enabled:function(elem){return elem.disabled===!1},disabled:function(elem){return elem.disabled===!0},checked:function(elem){var nodeName=elem.nodeName.toLowerCase();return"input"===nodeName&&!!elem.checked||"option"===nodeName&&!!elem.selected},selected:function(elem){if(elem.parentNode)elem.parentNode.selectedIndex;return elem.selected===!0},empty:function(elem){for(elem=elem.firstChild;elem;elem=elem.nextSibling)if(elem.nodeType<6)return!1;return!0},parent:function(elem){return!Expr.pseudos.empty(elem)},header:function(elem){return rheader.test(elem.nodeName)},input:function(elem){return rinputs.test(elem.nodeName)},button:function(elem){var name=elem.nodeName.toLowerCase();return"input"===name&&"button"===elem.type||"button"===name},text:function(elem){var attr;return"input"===elem.nodeName.toLowerCase()&&"text"===elem.type&&(null==(attr=elem.getAttribute("type"))||"text"===attr.toLowerCase())},first:createPositionalPseudo(function(){return[0]}),last:createPositionalPseudo(function(matchIndexes,length){return[length-1]}),eq:createPositionalPseudo(function(matchIndexes,length,argument){return[0>argument?argument+length:argument]}),even:createPositionalPseudo(function(matchIndexes,length){for(var i=0;length>i;i+=2)matchIndexes.push(i);return matchIndexes}),odd:createPositionalPseudo(function(matchIndexes,length){for(var i=1;length>i;i+=2)matchIndexes.push(i);return matchIndexes}),lt:createPositionalPseudo(function(matchIndexes,length,argument){for(var i=0>argument?argument+length:argument;--i>=0;)matchIndexes.push(i);return matchIndexes}),gt:createPositionalPseudo(function(matchIndexes,length,argument){for(var i=0>argument?argument+length:argument;++i<length;)matchIndexes.push(i);return matchIndexes})}},Expr.pseudos.nth=Expr.pseudos.eq;for(i in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})Expr.pseudos[i]=createInputPseudo(i);for(i in{submit:!0,reset:!0})Expr.pseudos[i]=createButtonPseudo(i);if(setFilters.prototype=Expr.filters=Expr.pseudos,Expr.setFilters=new setFilters,tokenize=Sizzle.tokenize=function(selector,parseOnly){var matched,match,tokens,type,soFar,groups,preFilters,cached=tokenCache[selector+" "];if(cached)return parseOnly?0:cached.slice(0);for(soFar=selector,groups=[],preFilters=Expr.preFilter;soFar;){if(!matched||(match=rcomma.exec(soFar))){if(match)soFar=soFar.slice(match[0].length)||soFar;groups.push(tokens=[])}if(matched=!1,match=rcombinators.exec(soFar))matched=match.shift(),tokens.push({value:matched,type:match[0].replace(rtrim," ")}),soFar=soFar.slice(matched.length);for(type in Expr.filter)if((match=matchExpr[type].exec(soFar))&&(!preFilters[type]||(match=preFilters[type](match))))matched=match.shift(),tokens.push({value:matched,type:type,matches:match}),soFar=soFar.slice(matched.length);if(!matched)break}return parseOnly?soFar.length:soFar?Sizzle.error(selector):tokenCache(selector,groups).slice(0)},compile=Sizzle.compile=function(selector,match){var i,setMatchers=[],elementMatchers=[],cached=compilerCache[selector+" "];if(!cached){if(!match)match=tokenize(selector);for(i=match.length;i--;)if(cached=matcherFromTokens(match[i]),cached[expando])setMatchers.push(cached);else elementMatchers.push(cached);cached=compilerCache(selector,matcherFromGroupMatchers(elementMatchers,setMatchers)),cached.selector=selector}return cached},select=Sizzle.select=function(selector,context,results,seed){var i,tokens,token,type,find,compiled="function"==typeof selector&&selector,match=!seed&&tokenize(selector=compiled.selector||selector);if(results=results||[],1===match.length){if(tokens=match[0]=match[0].slice(0),tokens.length>2&&"ID"===(token=tokens[0]).type&&support.getById&&9===context.nodeType&&documentIsHTML&&Expr.relative[tokens[1].type]){if(context=(Expr.find.ID(token.matches[0].replace(runescape,funescape),context)||[])[0],!context)return results;else if(compiled)context=context.parentNode;selector=selector.slice(tokens.shift().value.length)}for(i=matchExpr.needsContext.test(selector)?0:tokens.length;i--&&(token=tokens[i],!Expr.relative[type=token.type]);)if(find=Expr.find[type])if(seed=find(token.matches[0].replace(runescape,funescape),rsibling.test(tokens[0].type)&&testContext(context.parentNode)||context)){if(tokens.splice(i,1),selector=seed.length&&toSelector(tokens),!selector)return push.apply(results,seed),results;break}}return(compiled||compile(selector,match))(seed,context,!documentIsHTML,results,rsibling.test(selector)&&testContext(context.parentNode)||context),results},support.sortStable=expando.split("").sort(sortOrder).join("")===expando,support.detectDuplicates=!!hasDuplicate,setDocument(),support.sortDetached=assert(function(div1){return 1&div1.compareDocumentPosition(document.createElement("div"))}),!assert(function(div){return div.innerHTML="<a href='#'></a>","#"===div.firstChild.getAttribute("href")}))addHandle("type|href|height|width",function(elem,name,isXML){if(!isXML)return elem.getAttribute(name,"type"===name.toLowerCase()?1:2);else;});if(!support.attributes||!assert(function(div){return div.innerHTML="<input/>",div.firstChild.setAttribute("value",""),""===div.firstChild.getAttribute("value")}))addHandle("value",function(elem,name,isXML){if(!isXML&&"input"===elem.nodeName.toLowerCase())return elem.defaultValue;else;});if(!assert(function(div){return null==div.getAttribute("disabled")}))addHandle(booleans,function(elem,name,isXML){var val;if(!isXML)return elem[name]===!0?name.toLowerCase():(val=elem.getAttributeNode(name))&&val.specified?val.value:null;else return});return Sizzle}(window);jQuery.find=Sizzle,jQuery.expr=Sizzle.selectors,jQuery.expr[":"]=jQuery.expr.pseudos,jQuery.unique=Sizzle.uniqueSort,jQuery.text=Sizzle.getText,jQuery.isXMLDoc=Sizzle.isXML,jQuery.contains=Sizzle.contains;var rneedsContext=jQuery.expr.match.needsContext,rsingleTag=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,risSimple=/^.[^:#\[\.,]*$/;jQuery.filter=function(expr,elems,not){var elem=elems[0];if(not)expr=":not("+expr+")";return 1===elems.length&&1===elem.nodeType?jQuery.find.matchesSelector(elem,expr)?[elem]:[]:jQuery.find.matches(expr,jQuery.grep(elems,function(elem){return 1===elem.nodeType}))},jQuery.fn.extend({find:function(selector){var i,len=this.length,ret=[],self=this;if("string"!=typeof selector)return this.pushStack(jQuery(selector).filter(function(){for(i=0;len>i;i++)if(jQuery.contains(self[i],this))return!0}));for(i=0;len>i;i++)jQuery.find(selector,self[i],ret);return ret=this.pushStack(len>1?jQuery.unique(ret):ret),ret.selector=this.selector?this.selector+" "+selector:selector,ret},filter:function(selector){return this.pushStack(winnow(this,selector||[],!1))},not:function(selector){return this.pushStack(winnow(this,selector||[],!0))},is:function(selector){return!!winnow(this,"string"==typeof selector&&rneedsContext.test(selector)?jQuery(selector):selector||[],!1).length}});var rootjQuery,rquickExpr=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,init=jQuery.fn.init=function(selector,context){var match,elem;if(!selector)return this;if("string"==typeof selector){if("<"===selector[0]&&">"===selector[selector.length-1]&&selector.length>=3)match=[null,selector,null];else match=rquickExpr.exec(selector);if(match&&(match[1]||!context))if(match[1]){if(context=context instanceof jQuery?context[0]:context,jQuery.merge(this,jQuery.parseHTML(match[1],context&&context.nodeType?context.ownerDocument||context:document,!0)),rsingleTag.test(match[1])&&jQuery.isPlainObject(context))for(match in context)if(jQuery.isFunction(this[match]))this[match](context[match]);else this.attr(match,context[match]);return this}else{if(elem=document.getElementById(match[2]),elem&&elem.parentNode)this.length=1,this[0]=elem;return this.context=document,this.selector=selector,this}else if(!context||context.jquery)return(context||rootjQuery).find(selector);else return this.constructor(context).find(selector)}else if(selector.nodeType)return this.context=this[0]=selector,
this.length=1,this;else if(jQuery.isFunction(selector))return"undefined"!=typeof rootjQuery.ready?rootjQuery.ready(selector):selector(jQuery);if(void 0!==selector.selector)this.selector=selector.selector,this.context=selector.context;return jQuery.makeArray(selector,this)};init.prototype=jQuery.fn,rootjQuery=jQuery(document);var rparentsprev=/^(?:parents|prev(?:Until|All))/,guaranteedUnique={children:!0,contents:!0,next:!0,prev:!0};jQuery.extend({dir:function(elem,dir,until){for(var matched=[],truncate=void 0!==until;(elem=elem[dir])&&9!==elem.nodeType;)if(1===elem.nodeType){if(truncate&&jQuery(elem).is(until))break;matched.push(elem)}return matched},sibling:function(n,elem){for(var matched=[];n;n=n.nextSibling)if(1===n.nodeType&&n!==elem)matched.push(n);return matched}}),jQuery.fn.extend({has:function(target){var targets=jQuery(target,this),l=targets.length;return this.filter(function(){for(var i=0;l>i;i++)if(jQuery.contains(this,targets[i]))return!0})},closest:function(selectors,context){for(var cur,i=0,l=this.length,matched=[],pos=rneedsContext.test(selectors)||"string"!=typeof selectors?jQuery(selectors,context||this.context):0;l>i;i++)for(cur=this[i];cur&&cur!==context;cur=cur.parentNode)if(cur.nodeType<11&&(pos?pos.index(cur)>-1:1===cur.nodeType&&jQuery.find.matchesSelector(cur,selectors))){matched.push(cur);break}return this.pushStack(matched.length>1?jQuery.unique(matched):matched)},index:function(elem){if(!elem)return this[0]&&this[0].parentNode?this.first().prevAll().length:-1;if("string"==typeof elem)return indexOf.call(jQuery(elem),this[0]);else return indexOf.call(this,elem.jquery?elem[0]:elem)},add:function(selector,context){return this.pushStack(jQuery.unique(jQuery.merge(this.get(),jQuery(selector,context))))},addBack:function(selector){return this.add(null==selector?this.prevObject:this.prevObject.filter(selector))}}),jQuery.each({parent:function(elem){var parent=elem.parentNode;return parent&&11!==parent.nodeType?parent:null},parents:function(elem){return jQuery.dir(elem,"parentNode")},parentsUntil:function(elem,i,until){return jQuery.dir(elem,"parentNode",until)},next:function(elem){return sibling(elem,"nextSibling")},prev:function(elem){return sibling(elem,"previousSibling")},nextAll:function(elem){return jQuery.dir(elem,"nextSibling")},prevAll:function(elem){return jQuery.dir(elem,"previousSibling")},nextUntil:function(elem,i,until){return jQuery.dir(elem,"nextSibling",until)},prevUntil:function(elem,i,until){return jQuery.dir(elem,"previousSibling",until)},siblings:function(elem){return jQuery.sibling((elem.parentNode||{}).firstChild,elem)},children:function(elem){return jQuery.sibling(elem.firstChild)},contents:function(elem){return elem.contentDocument||jQuery.merge([],elem.childNodes)}},function(name,fn){jQuery.fn[name]=function(until,selector){var matched=jQuery.map(this,fn,until);if("Until"!==name.slice(-5))selector=until;if(selector&&"string"==typeof selector)matched=jQuery.filter(selector,matched);if(this.length>1){if(!guaranteedUnique[name])jQuery.unique(matched);if(rparentsprev.test(name))matched.reverse()}return this.pushStack(matched)}});var rnotwhite=/\S+/g,optionsCache={};jQuery.Callbacks=function(options){options="string"==typeof options?optionsCache[options]||createOptions(options):jQuery.extend({},options);var memory,fired,firing,firingStart,firingLength,firingIndex,list=[],stack=!options.once&&[],fire=function(data){for(memory=options.memory&&data,fired=!0,firingIndex=firingStart||0,firingStart=0,firingLength=list.length,firing=!0;list&&firingLength>firingIndex;firingIndex++)if(list[firingIndex].apply(data[0],data[1])===!1&&options.stopOnFalse){memory=!1;break}if(firing=!1,list)if(stack){if(stack.length)fire(stack.shift())}else if(memory)list=[];else self.disable()},self={add:function(){if(list){var start=list.length;if(function add(args){jQuery.each(args,function(_,arg){var type=jQuery.type(arg);if("function"===type){if(!options.unique||!self.has(arg))list.push(arg)}else if(arg&&arg.length&&"string"!==type)add(arg)})}(arguments),firing)firingLength=list.length;else if(memory)firingStart=start,fire(memory)}return this},remove:function(){if(list)jQuery.each(arguments,function(_,arg){for(var index;(index=jQuery.inArray(arg,list,index))>-1;)if(list.splice(index,1),firing){if(firingLength>=index)firingLength--;if(firingIndex>=index)firingIndex--}});return this},has:function(fn){return fn?jQuery.inArray(fn,list)>-1:!(!list||!list.length)},empty:function(){return list=[],firingLength=0,this},disable:function(){return list=stack=memory=void 0,this},disabled:function(){return!list},lock:function(){if(stack=void 0,!memory)self.disable();return this},locked:function(){return!stack},fireWith:function(context,args){if(list&&(!fired||stack))if(args=args||[],args=[context,args.slice?args.slice():args],firing)stack.push(args);else fire(args);return this},fire:function(){return self.fireWith(this,arguments),this},fired:function(){return!!fired}};return self},jQuery.extend({Deferred:function(func){var tuples=[["resolve","done",jQuery.Callbacks("once memory"),"resolved"],["reject","fail",jQuery.Callbacks("once memory"),"rejected"],["notify","progress",jQuery.Callbacks("memory")]],state="pending",promise={state:function(){return state},always:function(){return deferred.done(arguments).fail(arguments),this},then:function(){var fns=arguments;return jQuery.Deferred(function(newDefer){jQuery.each(tuples,function(i,tuple){var fn=jQuery.isFunction(fns[i])&&fns[i];deferred[tuple[1]](function(){var returned=fn&&fn.apply(this,arguments);if(returned&&jQuery.isFunction(returned.promise))returned.promise().done(newDefer.resolve).fail(newDefer.reject).progress(newDefer.notify);else newDefer[tuple[0]+"With"](this===promise?newDefer.promise():this,fn?[returned]:arguments)})}),fns=null}).promise()},promise:function(obj){return null!=obj?jQuery.extend(obj,promise):promise}},deferred={};if(promise.pipe=promise.then,jQuery.each(tuples,function(i,tuple){var list=tuple[2],stateString=tuple[3];if(promise[tuple[1]]=list.add,stateString)list.add(function(){state=stateString},tuples[1^i][2].disable,tuples[2][2].lock);deferred[tuple[0]]=function(){return deferred[tuple[0]+"With"](this===deferred?promise:this,arguments),this},deferred[tuple[0]+"With"]=list.fireWith}),promise.promise(deferred),func)func.call(deferred,deferred);return deferred},when:function(subordinate){var i=0,resolveValues=slice.call(arguments),length=resolveValues.length,remaining=1!==length||subordinate&&jQuery.isFunction(subordinate.promise)?length:0,deferred=1===remaining?subordinate:jQuery.Deferred(),updateFunc=function(i,contexts,values){return function(value){if(contexts[i]=this,values[i]=arguments.length>1?slice.call(arguments):value,values===progressValues)deferred.notifyWith(contexts,values);else if(!--remaining)deferred.resolveWith(contexts,values)}},progressValues,progressContexts,resolveContexts;if(length>1)for(progressValues=new Array(length),progressContexts=new Array(length),resolveContexts=new Array(length);length>i;i++)if(resolveValues[i]&&jQuery.isFunction(resolveValues[i].promise))resolveValues[i].promise().done(updateFunc(i,resolveContexts,resolveValues)).fail(deferred.reject).progress(updateFunc(i,progressContexts,progressValues));else--remaining;if(!remaining)deferred.resolveWith(resolveContexts,resolveValues);return deferred.promise()}});var readyList;jQuery.fn.ready=function(fn){return jQuery.ready.promise().done(fn),this},jQuery.extend({isReady:!1,readyWait:1,holdReady:function(hold){if(hold)jQuery.readyWait++;else jQuery.ready(!0)},ready:function(wait){if(wait===!0?!--jQuery.readyWait:!jQuery.isReady)if(jQuery.isReady=!0,!(wait!==!0&&--jQuery.readyWait>0))if(readyList.resolveWith(document,[jQuery]),jQuery.fn.triggerHandler)jQuery(document).triggerHandler("ready"),jQuery(document).off("ready")}}),jQuery.ready.promise=function(obj){if(!readyList)if(readyList=jQuery.Deferred(),"complete"===document.readyState)setTimeout(jQuery.ready);else document.addEventListener("DOMContentLoaded",completed,!1),window.addEventListener("load",completed,!1);return readyList.promise(obj)},jQuery.ready.promise();var access=jQuery.access=function(elems,fn,key,value,chainable,emptyGet,raw){var i=0,len=elems.length,bulk=null==key;if("object"===jQuery.type(key)){chainable=!0;for(i in key)jQuery.access(elems,fn,i,key[i],!0,emptyGet,raw)}else if(void 0!==value){if(chainable=!0,!jQuery.isFunction(value))raw=!0;if(bulk)if(raw)fn.call(elems,value),fn=null;else bulk=fn,fn=function(elem,key,value){return bulk.call(jQuery(elem),value)};if(fn)for(;len>i;i++)fn(elems[i],key,raw?value:value.call(elems[i],i,fn(elems[i],key)))}return chainable?elems:bulk?fn.call(elems):len?fn(elems[0],key):emptyGet};jQuery.acceptData=function(owner){return 1===owner.nodeType||9===owner.nodeType||!+owner.nodeType},Data.uid=1,Data.accepts=jQuery.acceptData,Data.prototype={key:function(owner){if(!Data.accepts(owner))return 0;var descriptor={},unlock=owner[this.expando];if(!unlock){unlock=Data.uid++;try{descriptor[this.expando]={value:unlock},Object.defineProperties(owner,descriptor)}catch(e){descriptor[this.expando]=unlock,jQuery.extend(owner,descriptor)}}if(!this.cache[unlock])this.cache[unlock]={};return unlock},set:function(owner,data,value){var prop,unlock=this.key(owner),cache=this.cache[unlock];if("string"==typeof data)cache[data]=value;else if(jQuery.isEmptyObject(cache))jQuery.extend(this.cache[unlock],data);else for(prop in data)cache[prop]=data[prop];return cache},get:function(owner,key){var cache=this.cache[this.key(owner)];return void 0===key?cache:cache[key]},access:function(owner,key,value){var stored;if(void 0===key||key&&"string"==typeof key&&void 0===value)return stored=this.get(owner,key),void 0!==stored?stored:this.get(owner,jQuery.camelCase(key));else return this.set(owner,key,value),void 0!==value?value:key},remove:function(owner,key){var i,name,camel,unlock=this.key(owner),cache=this.cache[unlock];if(void 0===key)this.cache[unlock]={};else{if(jQuery.isArray(key))name=key.concat(key.map(jQuery.camelCase));else if(camel=jQuery.camelCase(key),key in cache)name=[key,camel];else name=camel,name=name in cache?[name]:name.match(rnotwhite)||[];for(i=name.length;i--;)delete cache[name[i]]}},hasData:function(owner){return!jQuery.isEmptyObject(this.cache[owner[this.expando]]||{})},discard:function(owner){if(owner[this.expando])delete this.cache[owner[this.expando]]}};var data_priv=new Data,data_user=new Data,rbrace=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,rmultiDash=/([A-Z])/g;jQuery.extend({hasData:function(elem){return data_user.hasData(elem)||data_priv.hasData(elem)},data:function(elem,name,data){return data_user.access(elem,name,data)},removeData:function(elem,name){data_user.remove(elem,name)},_data:function(elem,name,data){return data_priv.access(elem,name,data)},_removeData:function(elem,name){data_priv.remove(elem,name)}}),jQuery.fn.extend({data:function(key,value){var i,name,data,elem=this[0],attrs=elem&&elem.attributes;if(void 0===key){if(this.length)if(data=data_user.get(elem),1===elem.nodeType&&!data_priv.get(elem,"hasDataAttrs")){for(i=attrs.length;i--;)if(attrs[i])if(name=attrs[i].name,0===name.indexOf("data-"))name=jQuery.camelCase(name.slice(5)),dataAttr(elem,name,data[name]);data_priv.set(elem,"hasDataAttrs",!0)}return data}if("object"==typeof key)return this.each(function(){data_user.set(this,key)});else return access(this,function(value){var data,camelKey=jQuery.camelCase(key);if(!elem||void 0!==value)this.each(function(){var data=data_user.get(this,camelKey);if(data_user.set(this,camelKey,value),-1!==key.indexOf("-")&&void 0!==data)data_user.set(this,key,value)});else{if(data=data_user.get(elem,key),void 0!==data)return data;if(data=data_user.get(elem,camelKey),void 0!==data)return data;if(data=dataAttr(elem,camelKey,void 0),void 0!==data)return data}},null,value,arguments.length>1,null,!0)},removeData:function(key){return this.each(function(){data_user.remove(this,key)})}}),jQuery.extend({queue:function(elem,type,data){var queue;if(elem){if(type=(type||"fx")+"queue",queue=data_priv.get(elem,type),data)if(!queue||jQuery.isArray(data))queue=data_priv.access(elem,type,jQuery.makeArray(data));else queue.push(data);return queue||[]}},dequeue:function(elem,type){type=type||"fx";var queue=jQuery.queue(elem,type),startLength=queue.length,fn=queue.shift(),hooks=jQuery._queueHooks(elem,type),next=function(){jQuery.dequeue(elem,type)};if("inprogress"===fn)fn=queue.shift(),startLength--;if(fn){if("fx"===type)queue.unshift("inprogress");delete hooks.stop,fn.call(elem,next,hooks)}if(!startLength&&hooks)hooks.empty.fire()},_queueHooks:function(elem,type){var key=type+"queueHooks";return data_priv.get(elem,key)||data_priv.access(elem,key,{empty:jQuery.Callbacks("once memory").add(function(){data_priv.remove(elem,[type+"queue",key])})})}}),jQuery.fn.extend({queue:function(type,data){var setter=2;if("string"!=typeof type)data=type,type="fx",setter--;if(arguments.length<setter)return jQuery.queue(this[0],type);else return void 0===data?this:this.each(function(){var queue=jQuery.queue(this,type,data);if(jQuery._queueHooks(this,type),"fx"===type&&"inprogress"!==queue[0])jQuery.dequeue(this,type)})},dequeue:function(type){return this.each(function(){jQuery.dequeue(this,type)})},clearQueue:function(type){return this.queue(type||"fx",[])},promise:function(type,obj){var tmp,count=1,defer=jQuery.Deferred(),elements=this,i=this.length,resolve=function(){if(!--count)defer.resolveWith(elements,[elements])};if("string"!=typeof type)obj=type,type=void 0;for(type=type||"fx";i--;)if(tmp=data_priv.get(elements[i],type+"queueHooks"),tmp&&tmp.empty)count++,tmp.empty.add(resolve);return resolve(),defer.promise(obj)}});var pnum=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,cssExpand=["Top","Right","Bottom","Left"],isHidden=function(elem,el){return elem=el||elem,"none"===jQuery.css(elem,"display")||!jQuery.contains(elem.ownerDocument,elem)},rcheckableType=/^(?:checkbox|radio)$/i;!function(){var fragment=document.createDocumentFragment(),div=fragment.appendChild(document.createElement("div")),input=document.createElement("input");input.setAttribute("type","radio"),input.setAttribute("checked","checked"),input.setAttribute("name","t"),div.appendChild(input),support.checkClone=div.cloneNode(!0).cloneNode(!0).lastChild.checked,div.innerHTML="<textarea>x</textarea>",support.noCloneChecked=!!div.cloneNode(!0).lastChild.defaultValue}();var strundefined="undefined";support.focusinBubbles="onfocusin"in window;var rkeyEvent=/^key/,rmouseEvent=/^(?:mouse|pointer|contextmenu)|click/,rfocusMorph=/^(?:focusinfocus|focusoutblur)$/,rtypenamespace=/^([^.]*)(?:\.(.+)|)$/;if(jQuery.event={global:{},add:function(elem,types,handler,data,selector){var handleObjIn,eventHandle,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=data_priv.get(elem);if(elemData){if(handler.handler)handleObjIn=handler,handler=handleObjIn.handler,selector=handleObjIn.selector;if(!handler.guid)handler.guid=jQuery.guid++;if(!(events=elemData.events))events=elemData.events={};if(!(eventHandle=elemData.handle))eventHandle=elemData.handle=function(e){return typeof jQuery!==strundefined&&jQuery.event.triggered!==e.type?jQuery.event.dispatch.apply(elem,arguments):void 0};for(types=(types||"").match(rnotwhite)||[""],t=types.length;t--;)if(tmp=rtypenamespace.exec(types[t])||[],type=origType=tmp[1],namespaces=(tmp[2]||"").split(".").sort(),type){if(special=jQuery.event.special[type]||{},type=(selector?special.delegateType:special.bindType)||type,special=jQuery.event.special[type]||{},handleObj=jQuery.extend({type:type,origType:origType,data:data,handler:handler,guid:handler.guid,selector:selector,needsContext:selector&&jQuery.expr.match.needsContext.test(selector),namespace:namespaces.join(".")},handleObjIn),!(handlers=events[type]))if(handlers=events[type]=[],handlers.delegateCount=0,!special.setup||special.setup.call(elem,data,namespaces,eventHandle)===!1)if(elem.addEventListener)elem.addEventListener(type,eventHandle,!1);if(special.add)if(special.add.call(elem,handleObj),!handleObj.handler.guid)handleObj.handler.guid=handler.guid;if(selector)handlers.splice(handlers.delegateCount++,0,handleObj);else handlers.push(handleObj);jQuery.event.global[type]=!0}else;}},remove:function(elem,types,handler,selector,mappedTypes){var j,origCount,tmp,events,t,handleObj,special,handlers,type,namespaces,origType,elemData=data_priv.hasData(elem)&&data_priv.get(elem);if(elemData&&(events=elemData.events)){for(types=(types||"").match(rnotwhite)||[""],t=types.length;t--;)if(tmp=rtypenamespace.exec(types[t])||[],type=origType=tmp[1],namespaces=(tmp[2]||"").split(".").sort(),type){for(special=jQuery.event.special[type]||{},type=(selector?special.delegateType:special.bindType)||type,handlers=events[type]||[],tmp=tmp[2]&&new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"),origCount=j=handlers.length;j--;)if(handleObj=handlers[j],(mappedTypes||origType===handleObj.origType)&&(!handler||handler.guid===handleObj.guid)&&(!tmp||tmp.test(handleObj.namespace))&&(!selector||selector===handleObj.selector||"**"===selector&&handleObj.selector)){if(handlers.splice(j,1),handleObj.selector)handlers.delegateCount--;if(special.remove)special.remove.call(elem,handleObj)}if(origCount&&!handlers.length){if(!special.teardown||special.teardown.call(elem,namespaces,elemData.handle)===!1)jQuery.removeEvent(elem,type,elemData.handle);delete events[type]}}else for(type in events)jQuery.event.remove(elem,type+types[t],handler,selector,!0);if(jQuery.isEmptyObject(events))delete elemData.handle,data_priv.remove(elem,"events")}},trigger:function(event,data,elem,onlyHandlers){var i,cur,tmp,bubbleType,ontype,handle,special,eventPath=[elem||document],type=hasOwn.call(event,"type")?event.type:event,namespaces=hasOwn.call(event,"namespace")?event.namespace.split("."):[];if(cur=tmp=elem=elem||document,3!==elem.nodeType&&8!==elem.nodeType)if(!rfocusMorph.test(type+jQuery.event.triggered)){if(type.indexOf(".")>=0)namespaces=type.split("."),type=namespaces.shift(),namespaces.sort();if(ontype=type.indexOf(":")<0&&"on"+type,event=event[jQuery.expando]?event:new jQuery.Event(type,"object"==typeof event&&event),event.isTrigger=onlyHandlers?2:3,event.namespace=namespaces.join("."),event.namespace_re=event.namespace?new RegExp("(^|\\.)"+namespaces.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,event.result=void 0,!event.target)event.target=elem;if(data=null==data?[event]:jQuery.makeArray(data,[event]),special=jQuery.event.special[type]||{},onlyHandlers||!special.trigger||special.trigger.apply(elem,data)!==!1){if(!onlyHandlers&&!special.noBubble&&!jQuery.isWindow(elem)){if(bubbleType=special.delegateType||type,!rfocusMorph.test(bubbleType+type))cur=cur.parentNode;for(;cur;cur=cur.parentNode)eventPath.push(cur),tmp=cur;if(tmp===(elem.ownerDocument||document))eventPath.push(tmp.defaultView||tmp.parentWindow||window)}for(i=0;(cur=eventPath[i++])&&!event.isPropagationStopped();){if(event.type=i>1?bubbleType:special.bindType||type,handle=(data_priv.get(cur,"events")||{})[event.type]&&data_priv.get(cur,"handle"),handle)handle.apply(cur,data);if(handle=ontype&&cur[ontype],handle&&handle.apply&&jQuery.acceptData(cur))if(event.result=handle.apply(cur,data),event.result===!1)event.preventDefault()}if(event.type=type,!onlyHandlers&&!event.isDefaultPrevented())if((!special._default||special._default.apply(eventPath.pop(),data)===!1)&&jQuery.acceptData(elem))if(ontype&&jQuery.isFunction(elem[type])&&!jQuery.isWindow(elem)){if(tmp=elem[ontype],tmp)elem[ontype]=null;if(jQuery.event.triggered=type,elem[type](),jQuery.event.triggered=void 0,tmp)elem[ontype]=tmp}return event.result}}},dispatch:function(event){event=jQuery.event.fix(event);var i,j,ret,matched,handleObj,handlerQueue=[],args=slice.call(arguments),handlers=(data_priv.get(this,"events")||{})[event.type]||[],special=jQuery.event.special[event.type]||{};if(args[0]=event,event.delegateTarget=this,!special.preDispatch||special.preDispatch.call(this,event)!==!1){for(handlerQueue=jQuery.event.handlers.call(this,event,handlers),i=0;(matched=handlerQueue[i++])&&!event.isPropagationStopped();)for(event.currentTarget=matched.elem,j=0;(handleObj=matched.handlers[j++])&&!event.isImmediatePropagationStopped();)if(!event.namespace_re||event.namespace_re.test(handleObj.namespace))if(event.handleObj=handleObj,event.data=handleObj.data,ret=((jQuery.event.special[handleObj.origType]||{}).handle||handleObj.handler).apply(matched.elem,args),void 0!==ret)if((event.result=ret)===!1)event.preventDefault(),event.stopPropagation();if(special.postDispatch)special.postDispatch.call(this,event);return event.result}},handlers:function(event,handlers){var i,matches,sel,handleObj,handlerQueue=[],delegateCount=handlers.delegateCount,cur=event.target;if(delegateCount&&cur.nodeType&&(!event.button||"click"!==event.type))for(;cur!==this;cur=cur.parentNode||this)if(cur.disabled!==!0||"click"!==event.type){for(matches=[],i=0;delegateCount>i;i++){if(handleObj=handlers[i],sel=handleObj.selector+" ",void 0===matches[sel])matches[sel]=handleObj.needsContext?jQuery(sel,this).index(cur)>=0:jQuery.find(sel,this,null,[cur]).length;if(matches[sel])matches.push(handleObj)}if(matches.length)handlerQueue.push({elem:cur,handlers:matches})}if(delegateCount<handlers.length)handlerQueue.push({elem:this,handlers:handlers.slice(delegateCount)});return handlerQueue},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(event,original){if(null==event.which)event.which=null!=original.charCode?original.charCode:original.keyCode;return event}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(event,original){var eventDoc,doc,body,button=original.button;if(null==event.pageX&&null!=original.clientX)eventDoc=event.target.ownerDocument||document,doc=eventDoc.documentElement,body=eventDoc.body,event.pageX=original.clientX+(doc&&doc.scrollLeft||body&&body.scrollLeft||0)-(doc&&doc.clientLeft||body&&body.clientLeft||0),event.pageY=original.clientY+(doc&&doc.scrollTop||body&&body.scrollTop||0)-(doc&&doc.clientTop||body&&body.clientTop||0);if(!event.which&&void 0!==button)event.which=1&button?1:2&button?3:4&button?2:0;return event}},fix:function(event){if(event[jQuery.expando])return event;var i,prop,copy,type=event.type,originalEvent=event,fixHook=this.fixHooks[type];if(!fixHook)this.fixHooks[type]=fixHook=rmouseEvent.test(type)?this.mouseHooks:rkeyEvent.test(type)?this.keyHooks:{};for(copy=fixHook.props?this.props.concat(fixHook.props):this.props,event=new jQuery.Event(originalEvent),i=copy.length;i--;)prop=copy[i],event[prop]=originalEvent[prop];if(!event.target)event.target=document;if(3===event.target.nodeType)event.target=event.target.parentNode;return fixHook.filter?fixHook.filter(event,originalEvent):event},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==safeActiveElement()&&this.focus)return this.focus(),!1;else;},delegateType:"focusin"},blur:{trigger:function(){if(this===safeActiveElement()&&this.blur)return this.blur(),!1;else;},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&jQuery.nodeName(this,"input"))return this.click(),!1;else;},_default:function(event){return jQuery.nodeName(event.target,"a")}},beforeunload:{postDispatch:function(event){if(void 0!==event.result&&event.originalEvent)event.originalEvent.returnValue=event.result}}},simulate:function(type,elem,event,bubble){var e=jQuery.extend(new jQuery.Event,event,{type:type,isSimulated:!0,originalEvent:{}});if(bubble)jQuery.event.trigger(e,null,elem);else jQuery.event.dispatch.call(elem,e);if(e.isDefaultPrevented())event.preventDefault()}},jQuery.removeEvent=function(elem,type,handle){if(elem.removeEventListener)elem.removeEventListener(type,handle,!1)},jQuery.Event=function(src,props){if(!(this instanceof jQuery.Event))return new jQuery.Event(src,props);if(src&&src.type)this.originalEvent=src,this.type=src.type,this.isDefaultPrevented=src.defaultPrevented||void 0===src.defaultPrevented&&src.returnValue===!1?returnTrue:returnFalse;else this.type=src;if(props)jQuery.extend(this,props);this.timeStamp=src&&src.timeStamp||jQuery.now(),this[jQuery.expando]=!0},jQuery.Event.prototype={isDefaultPrevented:returnFalse,isPropagationStopped:returnFalse,isImmediatePropagationStopped:returnFalse,preventDefault:function(){var e=this.originalEvent;if(this.isDefaultPrevented=returnTrue,e&&e.preventDefault)e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;if(this.isPropagationStopped=returnTrue,e&&e.stopPropagation)e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;if(this.isImmediatePropagationStopped=returnTrue,e&&e.stopImmediatePropagation)e.stopImmediatePropagation();this.stopPropagation()}},jQuery.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(orig,fix){jQuery.event.special[orig]={delegateType:fix,bindType:fix,handle:function(event){var ret,target=this,related=event.relatedTarget,handleObj=event.handleObj;if(!related||related!==target&&!jQuery.contains(target,related))event.type=handleObj.origType,ret=handleObj.handler.apply(this,arguments),event.type=fix;return ret}}}),!support.focusinBubbles)jQuery.each({focus:"focusin",blur:"focusout"},function(orig,fix){var handler=function(event){jQuery.event.simulate(fix,event.target,jQuery.event.fix(event),!0)};jQuery.event.special[fix]={setup:function(){var doc=this.ownerDocument||this,attaches=data_priv.access(doc,fix);if(!attaches)doc.addEventListener(orig,handler,!0);data_priv.access(doc,fix,(attaches||0)+1)},teardown:function(){var doc=this.ownerDocument||this,attaches=data_priv.access(doc,fix)-1;if(!attaches)doc.removeEventListener(orig,handler,!0),data_priv.remove(doc,fix);else data_priv.access(doc,fix,attaches)}}});jQuery.fn.extend({on:function(types,selector,data,fn,one){var origFn,type;if("object"==typeof types){if("string"!=typeof selector)data=data||selector,selector=void 0;for(type in types)this.on(type,selector,data,types[type],one);return this}if(null==data&&null==fn)fn=selector,data=selector=void 0;else if(null==fn)if("string"==typeof selector)fn=data,data=void 0;else fn=data,data=selector,selector=void 0;if(fn===!1)fn=returnFalse;else if(!fn)return this;if(1===one)origFn=fn,fn=function(event){return jQuery().off(event),origFn.apply(this,arguments)},fn.guid=origFn.guid||(origFn.guid=jQuery.guid++);return this.each(function(){jQuery.event.add(this,types,fn,data,selector)})},one:function(types,selector,data,fn){return this.on(types,selector,data,fn,1)},off:function(types,selector,fn){var handleObj,type;if(types&&types.preventDefault&&types.handleObj)return handleObj=types.handleObj,jQuery(types.delegateTarget).off(handleObj.namespace?handleObj.origType+"."+handleObj.namespace:handleObj.origType,handleObj.selector,handleObj.handler),this;if("object"==typeof types){for(type in types)this.off(type,selector,types[type]);return this}if(selector===!1||"function"==typeof selector)fn=selector,selector=void 0;if(fn===!1)fn=returnFalse;return this.each(function(){jQuery.event.remove(this,types,fn,selector)})},trigger:function(type,data){return this.each(function(){jQuery.event.trigger(type,data,this)})},triggerHandler:function(type,data){var elem=this[0];if(elem)return jQuery.event.trigger(type,data,elem,!0);else return}});var rxhtmlTag=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,rtagName=/<([\w:]+)/,rhtml=/<|&#?\w+;/,rnoInnerhtml=/<(?:script|style|link)/i,rchecked=/checked\s*(?:[^=]|=\s*.checked.)/i,rscriptType=/^$|\/(?:java|ecma)script/i,rscriptTypeMasked=/^true\/(.*)/,rcleanScript=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,wrapMap={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};wrapMap.optgroup=wrapMap.option,wrapMap.tbody=wrapMap.tfoot=wrapMap.colgroup=wrapMap.caption=wrapMap.thead,wrapMap.th=wrapMap.td,jQuery.extend({clone:function(elem,dataAndEvents,deepDataAndEvents){var i,l,srcElements,destElements,clone=elem.cloneNode(!0),inPage=jQuery.contains(elem.ownerDocument,elem);if(!(support.noCloneChecked||1!==elem.nodeType&&11!==elem.nodeType||jQuery.isXMLDoc(elem)))for(destElements=getAll(clone),srcElements=getAll(elem),i=0,l=srcElements.length;l>i;i++)fixInput(srcElements[i],destElements[i]);if(dataAndEvents)if(deepDataAndEvents)for(srcElements=srcElements||getAll(elem),destElements=destElements||getAll(clone),i=0,l=srcElements.length;l>i;i++)cloneCopyEvent(srcElements[i],destElements[i]);else cloneCopyEvent(elem,clone);if(destElements=getAll(clone,"script"),destElements.length>0)setGlobalEval(destElements,!inPage&&getAll(elem,"script"));return clone},buildFragment:function(elems,context,scripts,selection){for(var elem,tmp,tag,wrap,contains,j,fragment=context.createDocumentFragment(),nodes=[],i=0,l=elems.length;l>i;i++)if(elem=elems[i],elem||0===elem)if("object"===jQuery.type(elem))jQuery.merge(nodes,elem.nodeType?[elem]:elem);else if(!rhtml.test(elem))nodes.push(context.createTextNode(elem));else{for(tmp=tmp||fragment.appendChild(context.createElement("div")),tag=(rtagName.exec(elem)||["",""])[1].toLowerCase(),wrap=wrapMap[tag]||wrapMap._default,tmp.innerHTML=wrap[1]+elem.replace(rxhtmlTag,"<$1></$2>")+wrap[2],j=wrap[0];j--;)tmp=tmp.lastChild;jQuery.merge(nodes,tmp.childNodes),tmp=fragment.firstChild,tmp.textContent=""}for(fragment.textContent="",i=0;elem=nodes[i++];)if(!selection||-1===jQuery.inArray(elem,selection)){if(contains=jQuery.contains(elem.ownerDocument,elem),tmp=getAll(fragment.appendChild(elem),"script"),contains)setGlobalEval(tmp);if(scripts)for(j=0;elem=tmp[j++];)if(rscriptType.test(elem.type||""))scripts.push(elem)}else;return fragment},cleanData:function(elems){for(var data,elem,type,key,special=jQuery.event.special,i=0;void 0!==(elem=elems[i]);i++){if(jQuery.acceptData(elem))if(key=elem[data_priv.expando],key&&(data=data_priv.cache[key])){if(data.events)for(type in data.events)if(special[type])jQuery.event.remove(elem,type);else jQuery.removeEvent(elem,type,data.handle);if(data_priv.cache[key])delete data_priv.cache[key]}delete data_user.cache[elem[data_user.expando]]}}}),jQuery.fn.extend({text:function(value){return access(this,function(value){return void 0===value?jQuery.text(this):this.empty().each(function(){if(1===this.nodeType||11===this.nodeType||9===this.nodeType)this.textContent=value})},null,value,arguments.length)},append:function(){return this.domManip(arguments,function(elem){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var target=manipulationTarget(this,elem);target.appendChild(elem)}})},prepend:function(){return this.domManip(arguments,function(elem){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var target=manipulationTarget(this,elem);target.insertBefore(elem,target.firstChild)}})},before:function(){return this.domManip(arguments,function(elem){if(this.parentNode)this.parentNode.insertBefore(elem,this)})},after:function(){return this.domManip(arguments,function(elem){if(this.parentNode)this.parentNode.insertBefore(elem,this.nextSibling)})},remove:function(selector,keepData){for(var elem,elems=selector?jQuery.filter(selector,this):this,i=0;null!=(elem=elems[i]);i++){if(!keepData&&1===elem.nodeType)jQuery.cleanData(getAll(elem));if(elem.parentNode){if(keepData&&jQuery.contains(elem.ownerDocument,elem))setGlobalEval(getAll(elem,"script"));elem.parentNode.removeChild(elem)}}return this},empty:function(){for(var elem,i=0;null!=(elem=this[i]);i++)if(1===elem.nodeType)jQuery.cleanData(getAll(elem,!1)),elem.textContent="";return this},clone:function(dataAndEvents,deepDataAndEvents){
return dataAndEvents=null==dataAndEvents?!1:dataAndEvents,deepDataAndEvents=null==deepDataAndEvents?dataAndEvents:deepDataAndEvents,this.map(function(){return jQuery.clone(this,dataAndEvents,deepDataAndEvents)})},html:function(value){return access(this,function(value){var elem=this[0]||{},i=0,l=this.length;if(void 0===value&&1===elem.nodeType)return elem.innerHTML;if("string"==typeof value&&!rnoInnerhtml.test(value)&&!wrapMap[(rtagName.exec(value)||["",""])[1].toLowerCase()]){value=value.replace(rxhtmlTag,"<$1></$2>");try{for(;l>i;i++)if(elem=this[i]||{},1===elem.nodeType)jQuery.cleanData(getAll(elem,!1)),elem.innerHTML=value;elem=0}catch(e){}}if(elem)this.empty().append(value)},null,value,arguments.length)},replaceWith:function(){var arg=arguments[0];return this.domManip(arguments,function(elem){if(arg=this.parentNode,jQuery.cleanData(getAll(this)),arg)arg.replaceChild(elem,this)}),arg&&(arg.length||arg.nodeType)?this:this.remove()},detach:function(selector){return this.remove(selector,!0)},domManip:function(args,callback){args=concat.apply([],args);var fragment,first,scripts,hasScripts,node,doc,i=0,l=this.length,set=this,iNoClone=l-1,value=args[0],isFunction=jQuery.isFunction(value);if(isFunction||l>1&&"string"==typeof value&&!support.checkClone&&rchecked.test(value))return this.each(function(index){var self=set.eq(index);if(isFunction)args[0]=value.call(this,index,self.html());self.domManip(args,callback)});if(l){if(fragment=jQuery.buildFragment(args,this[0].ownerDocument,!1,this),first=fragment.firstChild,1===fragment.childNodes.length)fragment=first;if(first){for(scripts=jQuery.map(getAll(fragment,"script"),disableScript),hasScripts=scripts.length;l>i;i++){if(node=fragment,i!==iNoClone)if(node=jQuery.clone(node,!0,!0),hasScripts)jQuery.merge(scripts,getAll(node,"script"));callback.call(this[i],node,i)}if(hasScripts)for(doc=scripts[scripts.length-1].ownerDocument,jQuery.map(scripts,restoreScript),i=0;hasScripts>i;i++)if(node=scripts[i],rscriptType.test(node.type||"")&&!data_priv.access(node,"globalEval")&&jQuery.contains(doc,node))if(node.src){if(jQuery._evalUrl)jQuery._evalUrl(node.src)}else jQuery.globalEval(node.textContent.replace(rcleanScript,""))}}return this}}),jQuery.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(name,original){jQuery.fn[name]=function(selector){for(var elems,ret=[],insert=jQuery(selector),last=insert.length-1,i=0;last>=i;i++)elems=i===last?this:this.clone(!0),jQuery(insert[i])[original](elems),push.apply(ret,elems.get());return this.pushStack(ret)}});var iframe,elemdisplay={},rmargin=/^margin/,rnumnonpx=new RegExp("^("+pnum+")(?!px)[a-z%]+$","i"),getStyles=function(elem){if(elem.ownerDocument.defaultView.opener)return elem.ownerDocument.defaultView.getComputedStyle(elem,null);else return window.getComputedStyle(elem,null)};!function(){function computePixelPositionAndBoxSizingReliable(){div.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",div.innerHTML="",docElem.appendChild(container);var divStyle=window.getComputedStyle(div,null);pixelPositionVal="1%"!==divStyle.top,boxSizingReliableVal="4px"===divStyle.width,docElem.removeChild(container)}var pixelPositionVal,boxSizingReliableVal,docElem=document.documentElement,container=document.createElement("div"),div=document.createElement("div");if(div.style)if(div.style.backgroundClip="content-box",div.cloneNode(!0).style.backgroundClip="",support.clearCloneStyle="content-box"===div.style.backgroundClip,container.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",container.appendChild(div),window.getComputedStyle)jQuery.extend(support,{pixelPosition:function(){return computePixelPositionAndBoxSizingReliable(),pixelPositionVal},boxSizingReliable:function(){if(null==boxSizingReliableVal)computePixelPositionAndBoxSizingReliable();return boxSizingReliableVal},reliableMarginRight:function(){var ret,marginDiv=div.appendChild(document.createElement("div"));return marginDiv.style.cssText=div.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",marginDiv.style.marginRight=marginDiv.style.width="0",div.style.width="1px",docElem.appendChild(container),ret=!parseFloat(window.getComputedStyle(marginDiv,null).marginRight),docElem.removeChild(container),div.removeChild(marginDiv),ret}})}(),jQuery.swap=function(elem,options,callback,args){var ret,name,old={};for(name in options)old[name]=elem.style[name],elem.style[name]=options[name];ret=callback.apply(elem,args||[]);for(name in options)elem.style[name]=old[name];return ret};var rdisplayswap=/^(none|table(?!-c[ea]).+)/,rnumsplit=new RegExp("^("+pnum+")(.*)$","i"),rrelNum=new RegExp("^([+-])=("+pnum+")","i"),cssShow={position:"absolute",visibility:"hidden",display:"block"},cssNormalTransform={letterSpacing:"0",fontWeight:"400"},cssPrefixes=["Webkit","O","Moz","ms"];jQuery.extend({cssHooks:{opacity:{get:function(elem,computed){if(computed){var ret=curCSS(elem,"opacity");return""===ret?"1":ret}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(elem,name,value,extra){if(elem&&3!==elem.nodeType&&8!==elem.nodeType&&elem.style){var ret,type,hooks,origName=jQuery.camelCase(name),style=elem.style;if(name=jQuery.cssProps[origName]||(jQuery.cssProps[origName]=vendorPropName(style,origName)),hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName],void 0!==value){if(type=typeof value,"string"===type&&(ret=rrelNum.exec(value)))value=(ret[1]+1)*ret[2]+parseFloat(jQuery.css(elem,name)),type="number";if(null==value||value!==value)return;if("number"===type&&!jQuery.cssNumber[origName])value+="px";if(!support.clearCloneStyle&&""===value&&0===name.indexOf("background"))style[name]="inherit";if(!(hooks&&"set"in hooks&&void 0===(value=hooks.set(elem,value,extra))))style[name]=value}else if(hooks&&"get"in hooks&&void 0!==(ret=hooks.get(elem,!1,extra)))return ret;else return style[name]}},css:function(elem,name,extra,styles){var val,num,hooks,origName=jQuery.camelCase(name);if(name=jQuery.cssProps[origName]||(jQuery.cssProps[origName]=vendorPropName(elem.style,origName)),hooks=jQuery.cssHooks[name]||jQuery.cssHooks[origName],hooks&&"get"in hooks)val=hooks.get(elem,!0,extra);if(void 0===val)val=curCSS(elem,name,styles);if("normal"===val&&name in cssNormalTransform)val=cssNormalTransform[name];if(""===extra||extra)return num=parseFloat(val),extra===!0||jQuery.isNumeric(num)?num||0:val;else return val}}),jQuery.each(["height","width"],function(i,name){jQuery.cssHooks[name]={get:function(elem,computed,extra){if(computed)return rdisplayswap.test(jQuery.css(elem,"display"))&&0===elem.offsetWidth?jQuery.swap(elem,cssShow,function(){return getWidthOrHeight(elem,name,extra)}):getWidthOrHeight(elem,name,extra);else;},set:function(elem,value,extra){var styles=extra&&getStyles(elem);return setPositiveNumber(elem,value,extra?augmentWidthOrHeight(elem,name,extra,"border-box"===jQuery.css(elem,"boxSizing",!1,styles),styles):0)}}}),jQuery.cssHooks.marginRight=addGetHookIf(support.reliableMarginRight,function(elem,computed){if(computed)return jQuery.swap(elem,{display:"inline-block"},curCSS,[elem,"marginRight"]);else;}),jQuery.each({margin:"",padding:"",border:"Width"},function(prefix,suffix){if(jQuery.cssHooks[prefix+suffix]={expand:function(value){for(var i=0,expanded={},parts="string"==typeof value?value.split(" "):[value];4>i;i++)expanded[prefix+cssExpand[i]+suffix]=parts[i]||parts[i-2]||parts[0];return expanded}},!rmargin.test(prefix))jQuery.cssHooks[prefix+suffix].set=setPositiveNumber}),jQuery.fn.extend({css:function(name,value){return access(this,function(elem,name,value){var styles,len,map={},i=0;if(jQuery.isArray(name)){for(styles=getStyles(elem),len=name.length;len>i;i++)map[name[i]]=jQuery.css(elem,name[i],!1,styles);return map}return void 0!==value?jQuery.style(elem,name,value):jQuery.css(elem,name)},name,value,arguments.length>1)},show:function(){return showHide(this,!0)},hide:function(){return showHide(this)},toggle:function(state){if("boolean"==typeof state)return state?this.show():this.hide();else return this.each(function(){if(isHidden(this))jQuery(this).show();else jQuery(this).hide()})}}),jQuery.Tween=Tween,Tween.prototype={constructor:Tween,init:function(elem,options,prop,end,easing,unit){this.elem=elem,this.prop=prop,this.easing=easing||"swing",this.options=options,this.start=this.now=this.cur(),this.end=end,this.unit=unit||(jQuery.cssNumber[prop]?"":"px")},cur:function(){var hooks=Tween.propHooks[this.prop];return hooks&&hooks.get?hooks.get(this):Tween.propHooks._default.get(this)},run:function(percent){var eased,hooks=Tween.propHooks[this.prop];if(this.options.duration)this.pos=eased=jQuery.easing[this.easing](percent,this.options.duration*percent,0,1,this.options.duration);else this.pos=eased=percent;if(this.now=(this.end-this.start)*eased+this.start,this.options.step)this.options.step.call(this.elem,this.now,this);if(hooks&&hooks.set)hooks.set(this);else Tween.propHooks._default.set(this);return this}},Tween.prototype.init.prototype=Tween.prototype,Tween.propHooks={_default:{get:function(tween){var result;if(null!=tween.elem[tween.prop]&&(!tween.elem.style||null==tween.elem.style[tween.prop]))return tween.elem[tween.prop];else return result=jQuery.css(tween.elem,tween.prop,""),!result||"auto"===result?0:result},set:function(tween){if(jQuery.fx.step[tween.prop])jQuery.fx.step[tween.prop](tween);else if(tween.elem.style&&(null!=tween.elem.style[jQuery.cssProps[tween.prop]]||jQuery.cssHooks[tween.prop]))jQuery.style(tween.elem,tween.prop,tween.now+tween.unit);else tween.elem[tween.prop]=tween.now}}},Tween.propHooks.scrollTop=Tween.propHooks.scrollLeft={set:function(tween){if(tween.elem.nodeType&&tween.elem.parentNode)tween.elem[tween.prop]=tween.now}},jQuery.easing={linear:function(p){return p},swing:function(p){return.5-Math.cos(p*Math.PI)/2}},jQuery.fx=Tween.prototype.init,jQuery.fx.step={};var fxNow,timerId,rfxtypes=/^(?:toggle|show|hide)$/,rfxnum=new RegExp("^(?:([+-])=|)("+pnum+")([a-z%]*)$","i"),rrun=/queueHooks$/,animationPrefilters=[defaultPrefilter],tweeners={"*":[function(prop,value){var tween=this.createTween(prop,value),target=tween.cur(),parts=rfxnum.exec(value),unit=parts&&parts[3]||(jQuery.cssNumber[prop]?"":"px"),start=(jQuery.cssNumber[prop]||"px"!==unit&&+target)&&rfxnum.exec(jQuery.css(tween.elem,prop)),scale=1,maxIterations=20;if(start&&start[3]!==unit){unit=unit||start[3],parts=parts||[],start=+target||1;do scale=scale||".5",start/=scale,jQuery.style(tween.elem,prop,start+unit);while(scale!==(scale=tween.cur()/target)&&1!==scale&&--maxIterations)}if(parts)start=tween.start=+start||+target||0,tween.unit=unit,tween.end=parts[1]?start+(parts[1]+1)*parts[2]:+parts[2];return tween}]};jQuery.Animation=jQuery.extend(Animation,{tweener:function(props,callback){if(jQuery.isFunction(props))callback=props,props=["*"];else props=props.split(" ");for(var prop,index=0,length=props.length;length>index;index++)prop=props[index],tweeners[prop]=tweeners[prop]||[],tweeners[prop].unshift(callback)},prefilter:function(callback,prepend){if(prepend)animationPrefilters.unshift(callback);else animationPrefilters.push(callback)}}),jQuery.speed=function(speed,easing,fn){var opt=speed&&"object"==typeof speed?jQuery.extend({},speed):{complete:fn||!fn&&easing||jQuery.isFunction(speed)&&speed,duration:speed,easing:fn&&easing||easing&&!jQuery.isFunction(easing)&&easing};if(opt.duration=jQuery.fx.off?0:"number"==typeof opt.duration?opt.duration:opt.duration in jQuery.fx.speeds?jQuery.fx.speeds[opt.duration]:jQuery.fx.speeds._default,null==opt.queue||opt.queue===!0)opt.queue="fx";return opt.old=opt.complete,opt.complete=function(){if(jQuery.isFunction(opt.old))opt.old.call(this);if(opt.queue)jQuery.dequeue(this,opt.queue)},opt},jQuery.fn.extend({fadeTo:function(speed,to,easing,callback){return this.filter(isHidden).css("opacity",0).show().end().animate({opacity:to},speed,easing,callback)},animate:function(prop,speed,easing,callback){var empty=jQuery.isEmptyObject(prop),optall=jQuery.speed(speed,easing,callback),doAnimation=function(){var anim=Animation(this,jQuery.extend({},prop),optall);if(empty||data_priv.get(this,"finish"))anim.stop(!0)};return doAnimation.finish=doAnimation,empty||optall.queue===!1?this.each(doAnimation):this.queue(optall.queue,doAnimation)},stop:function(type,clearQueue,gotoEnd){var stopQueue=function(hooks){var stop=hooks.stop;delete hooks.stop,stop(gotoEnd)};if("string"!=typeof type)gotoEnd=clearQueue,clearQueue=type,type=void 0;if(clearQueue&&type!==!1)this.queue(type||"fx",[]);return this.each(function(){var dequeue=!0,index=null!=type&&type+"queueHooks",timers=jQuery.timers,data=data_priv.get(this);if(index){if(data[index]&&data[index].stop)stopQueue(data[index])}else for(index in data)if(data[index]&&data[index].stop&&rrun.test(index))stopQueue(data[index]);for(index=timers.length;index--;)if(timers[index].elem===this&&(null==type||timers[index].queue===type))timers[index].anim.stop(gotoEnd),dequeue=!1,timers.splice(index,1);if(dequeue||!gotoEnd)jQuery.dequeue(this,type)})},finish:function(type){if(type!==!1)type=type||"fx";return this.each(function(){var index,data=data_priv.get(this),queue=data[type+"queue"],hooks=data[type+"queueHooks"],timers=jQuery.timers,length=queue?queue.length:0;if(data.finish=!0,jQuery.queue(this,type,[]),hooks&&hooks.stop)hooks.stop.call(this,!0);for(index=timers.length;index--;)if(timers[index].elem===this&&timers[index].queue===type)timers[index].anim.stop(!0),timers.splice(index,1);for(index=0;length>index;index++)if(queue[index]&&queue[index].finish)queue[index].finish.call(this);delete data.finish})}}),jQuery.each(["toggle","show","hide"],function(i,name){var cssFn=jQuery.fn[name];jQuery.fn[name]=function(speed,easing,callback){return null==speed||"boolean"==typeof speed?cssFn.apply(this,arguments):this.animate(genFx(name,!0),speed,easing,callback)}}),jQuery.each({slideDown:genFx("show"),slideUp:genFx("hide"),slideToggle:genFx("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(name,props){jQuery.fn[name]=function(speed,easing,callback){return this.animate(props,speed,easing,callback)}}),jQuery.timers=[],jQuery.fx.tick=function(){var timer,i=0,timers=jQuery.timers;for(fxNow=jQuery.now();i<timers.length;i++)if(timer=timers[i],!timer()&&timers[i]===timer)timers.splice(i--,1);if(!timers.length)jQuery.fx.stop();fxNow=void 0},jQuery.fx.timer=function(timer){if(jQuery.timers.push(timer),timer())jQuery.fx.start();else jQuery.timers.pop()},jQuery.fx.interval=13,jQuery.fx.start=function(){if(!timerId)timerId=setInterval(jQuery.fx.tick,jQuery.fx.interval)},jQuery.fx.stop=function(){clearInterval(timerId),timerId=null},jQuery.fx.speeds={slow:600,fast:200,_default:400},jQuery.fn.delay=function(time,type){return time=jQuery.fx?jQuery.fx.speeds[time]||time:time,type=type||"fx",this.queue(type,function(next,hooks){var timeout=setTimeout(next,time);hooks.stop=function(){clearTimeout(timeout)}})},function(){var input=document.createElement("input"),select=document.createElement("select"),opt=select.appendChild(document.createElement("option"));input.type="checkbox",support.checkOn=""!==input.value,support.optSelected=opt.selected,select.disabled=!0,support.optDisabled=!opt.disabled,input=document.createElement("input"),input.value="t",input.type="radio",support.radioValue="t"===input.value}();var nodeHook,boolHook,attrHandle=jQuery.expr.attrHandle;jQuery.fn.extend({attr:function(name,value){return access(this,jQuery.attr,name,value,arguments.length>1)},removeAttr:function(name){return this.each(function(){jQuery.removeAttr(this,name)})}}),jQuery.extend({attr:function(elem,name,value){var hooks,ret,nType=elem.nodeType;if(elem&&3!==nType&&8!==nType&&2!==nType){if(typeof elem.getAttribute===strundefined)return jQuery.prop(elem,name,value);if(1!==nType||!jQuery.isXMLDoc(elem))name=name.toLowerCase(),hooks=jQuery.attrHooks[name]||(jQuery.expr.match.bool.test(name)?boolHook:nodeHook);if(void 0!==value)if(null===value)jQuery.removeAttr(elem,name);else if(hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name)))return ret;else return elem.setAttribute(name,value+""),value;else if(hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name)))return ret;else return ret=jQuery.find.attr(elem,name),null==ret?void 0:ret}},removeAttr:function(elem,value){var name,propName,i=0,attrNames=value&&value.match(rnotwhite);if(attrNames&&1===elem.nodeType)for(;name=attrNames[i++];){if(propName=jQuery.propFix[name]||name,jQuery.expr.match.bool.test(name))elem[propName]=!1;elem.removeAttribute(name)}},attrHooks:{type:{set:function(elem,value){if(!support.radioValue&&"radio"===value&&jQuery.nodeName(elem,"input")){var val=elem.value;if(elem.setAttribute("type",value),val)elem.value=val;return value}}}}}),boolHook={set:function(elem,value,name){if(value===!1)jQuery.removeAttr(elem,name);else elem.setAttribute(name,name);return name}},jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g),function(i,name){var getter=attrHandle[name]||jQuery.find.attr;attrHandle[name]=function(elem,name,isXML){var ret,handle;if(!isXML)handle=attrHandle[name],attrHandle[name]=ret,ret=null!=getter(elem,name,isXML)?name.toLowerCase():null,attrHandle[name]=handle;return ret}});var rfocusable=/^(?:input|select|textarea|button)$/i;if(jQuery.fn.extend({prop:function(name,value){return access(this,jQuery.prop,name,value,arguments.length>1)},removeProp:function(name){return this.each(function(){delete this[jQuery.propFix[name]||name]})}}),jQuery.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(elem,name,value){var ret,hooks,notxml,nType=elem.nodeType;if(elem&&3!==nType&&8!==nType&&2!==nType){if(notxml=1!==nType||!jQuery.isXMLDoc(elem),notxml)name=jQuery.propFix[name]||name,hooks=jQuery.propHooks[name];if(void 0!==value)return hooks&&"set"in hooks&&void 0!==(ret=hooks.set(elem,value,name))?ret:elem[name]=value;else return hooks&&"get"in hooks&&null!==(ret=hooks.get(elem,name))?ret:elem[name]}},propHooks:{tabIndex:{get:function(elem){return elem.hasAttribute("tabindex")||rfocusable.test(elem.nodeName)||elem.href?elem.tabIndex:-1}}}}),!support.optSelected)jQuery.propHooks.selected={get:function(elem){var parent=elem.parentNode;if(parent&&parent.parentNode)parent.parentNode.selectedIndex;return null}};jQuery.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){jQuery.propFix[this.toLowerCase()]=this});var rclass=/[\t\r\n\f]/g;jQuery.fn.extend({addClass:function(value){var classes,elem,cur,clazz,j,finalValue,proceed="string"==typeof value&&value,i=0,len=this.length;if(jQuery.isFunction(value))return this.each(function(j){jQuery(this).addClass(value.call(this,j,this.className))});if(proceed)for(classes=(value||"").match(rnotwhite)||[];len>i;i++)if(elem=this[i],cur=1===elem.nodeType&&(elem.className?(" "+elem.className+" ").replace(rclass," "):" "),cur){for(j=0;clazz=classes[j++];)if(cur.indexOf(" "+clazz+" ")<0)cur+=clazz+" ";if(finalValue=jQuery.trim(cur),elem.className!==finalValue)elem.className=finalValue}return this},removeClass:function(value){var classes,elem,cur,clazz,j,finalValue,proceed=0===arguments.length||"string"==typeof value&&value,i=0,len=this.length;if(jQuery.isFunction(value))return this.each(function(j){jQuery(this).removeClass(value.call(this,j,this.className))});if(proceed)for(classes=(value||"").match(rnotwhite)||[];len>i;i++)if(elem=this[i],cur=1===elem.nodeType&&(elem.className?(" "+elem.className+" ").replace(rclass," "):""),cur){for(j=0;clazz=classes[j++];)for(;cur.indexOf(" "+clazz+" ")>=0;)cur=cur.replace(" "+clazz+" "," ");if(finalValue=value?jQuery.trim(cur):"",elem.className!==finalValue)elem.className=finalValue}return this},toggleClass:function(value,stateVal){var type=typeof value;if("boolean"==typeof stateVal&&"string"===type)return stateVal?this.addClass(value):this.removeClass(value);if(jQuery.isFunction(value))return this.each(function(i){jQuery(this).toggleClass(value.call(this,i,this.className,stateVal),stateVal)});else return this.each(function(){if("string"===type)for(var className,i=0,self=jQuery(this),classNames=value.match(rnotwhite)||[];className=classNames[i++];)if(self.hasClass(className))self.removeClass(className);else self.addClass(className);else if(type===strundefined||"boolean"===type){if(this.className)data_priv.set(this,"__className__",this.className);this.className=this.className||value===!1?"":data_priv.get(this,"__className__")||""}})},hasClass:function(selector){for(var className=" "+selector+" ",i=0,l=this.length;l>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(rclass," ").indexOf(className)>=0)return!0;return!1}});var rreturn=/\r/g;jQuery.fn.extend({val:function(value){var hooks,ret,isFunction,elem=this[0];if(arguments.length)return isFunction=jQuery.isFunction(value),this.each(function(i){var val;if(1===this.nodeType){if(isFunction)val=value.call(this,i,jQuery(this).val());else val=value;if(null==val)val="";else if("number"==typeof val)val+="";else if(jQuery.isArray(val))val=jQuery.map(val,function(value){return null==value?"":value+""});if(hooks=jQuery.valHooks[this.type]||jQuery.valHooks[this.nodeName.toLowerCase()],!(hooks&&"set"in hooks&&void 0!==hooks.set(this,val,"value")))this.value=val}});else if(elem)if(hooks=jQuery.valHooks[elem.type]||jQuery.valHooks[elem.nodeName.toLowerCase()],hooks&&"get"in hooks&&void 0!==(ret=hooks.get(elem,"value")))return ret;else return ret=elem.value,"string"==typeof ret?ret.replace(rreturn,""):null==ret?"":ret}}),jQuery.extend({valHooks:{option:{get:function(elem){var val=jQuery.find.attr(elem,"value");return null!=val?val:jQuery.trim(jQuery.text(elem))}},select:{get:function(elem){for(var value,option,options=elem.options,index=elem.selectedIndex,one="select-one"===elem.type||0>index,values=one?null:[],max=one?index+1:options.length,i=0>index?max:one?index:0;max>i;i++)if(option=options[i],(option.selected||i===index)&&(support.optDisabled?!option.disabled:null===option.getAttribute("disabled"))&&(!option.parentNode.disabled||!jQuery.nodeName(option.parentNode,"optgroup"))){if(value=jQuery(option).val(),one)return value;values.push(value)}return values},set:function(elem,value){for(var optionSet,option,options=elem.options,values=jQuery.makeArray(value),i=options.length;i--;)if(option=options[i],option.selected=jQuery.inArray(option.value,values)>=0)optionSet=!0;if(!optionSet)elem.selectedIndex=-1;return values}}}}),jQuery.each(["radio","checkbox"],function(){if(jQuery.valHooks[this]={set:function(elem,value){if(jQuery.isArray(value))return elem.checked=jQuery.inArray(jQuery(elem).val(),value)>=0;else;}},!support.checkOn)jQuery.valHooks[this].get=function(elem){return null===elem.getAttribute("value")?"on":elem.value}}),jQuery.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(i,name){jQuery.fn[name]=function(data,fn){return arguments.length>0?this.on(name,null,data,fn):this.trigger(name)}}),jQuery.fn.extend({hover:function(fnOver,fnOut){return this.mouseenter(fnOver).mouseleave(fnOut||fnOver)},bind:function(types,data,fn){return this.on(types,null,data,fn)},unbind:function(types,fn){return this.off(types,null,fn)},delegate:function(selector,types,data,fn){return this.on(types,selector,data,fn)},undelegate:function(selector,types,fn){return 1===arguments.length?this.off(selector,"**"):this.off(types,selector||"**",fn)}});var nonce=jQuery.now(),rquery=/\?/;jQuery.parseJSON=function(data){return JSON.parse(data+"")},jQuery.parseXML=function(data){var xml,tmp;if(!data||"string"!=typeof data)return null;try{tmp=new DOMParser,xml=tmp.parseFromString(data,"text/xml")}catch(e){xml=void 0}if(!xml||xml.getElementsByTagName("parsererror").length)jQuery.error("Invalid XML: "+data);return xml};var rhash=/#.*$/,rts=/([?&])_=[^&]*/,rheaders=/^(.*?):[ \t]*([^\r\n]*)$/gm,rlocalProtocol=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,rnoContent=/^(?:GET|HEAD)$/,rprotocol=/^\/\//,rurl=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,prefilters={},transports={},allTypes="*/".concat("*"),ajaxLocation=window.location.href,ajaxLocParts=rurl.exec(ajaxLocation.toLowerCase())||[];jQuery.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ajaxLocation,type:"GET",isLocal:rlocalProtocol.test(ajaxLocParts[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":allTypes,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":jQuery.parseJSON,"text xml":jQuery.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(target,settings){return settings?ajaxExtend(ajaxExtend(target,jQuery.ajaxSettings),settings):ajaxExtend(jQuery.ajaxSettings,target)},ajaxPrefilter:addToPrefiltersOrTransports(prefilters),ajaxTransport:addToPrefiltersOrTransports(transports),ajax:function(url,options){function done(status,nativeStatusText,responses,headers){var isSuccess,success,error,response,modified,statusText=nativeStatusText;if(2!==state){if(state=2,timeoutTimer)clearTimeout(timeoutTimer);if(transport=void 0,responseHeadersString=headers||"",jqXHR.readyState=status>0?4:0,isSuccess=status>=200&&300>status||304===status,responses)response=ajaxHandleResponses(s,jqXHR,responses);if(response=ajaxConvert(s,response,jqXHR,isSuccess),isSuccess){if(s.ifModified){if(modified=jqXHR.getResponseHeader("Last-Modified"),modified)jQuery.lastModified[cacheURL]=modified;if(modified=jqXHR.getResponseHeader("etag"),modified)jQuery.etag[cacheURL]=modified}if(204===status||"HEAD"===s.type)statusText="nocontent";else if(304===status)statusText="notmodified";else statusText=response.state,success=response.data,error=response.error,isSuccess=!error}else if(error=statusText,status||!statusText)if(statusText="error",0>status)status=0;if(jqXHR.status=status,jqXHR.statusText=(nativeStatusText||statusText)+"",isSuccess)deferred.resolveWith(callbackContext,[success,statusText,jqXHR]);else deferred.rejectWith(callbackContext,[jqXHR,statusText,error]);if(jqXHR.statusCode(statusCode),statusCode=void 0,fireGlobals)globalEventContext.trigger(isSuccess?"ajaxSuccess":"ajaxError",[jqXHR,s,isSuccess?success:error]);if(completeDeferred.fireWith(callbackContext,[jqXHR,statusText]),fireGlobals)if(globalEventContext.trigger("ajaxComplete",[jqXHR,s]),!--jQuery.active)jQuery.event.trigger("ajaxStop")}}if("object"==typeof url)options=url,url=void 0;options=options||{};var transport,cacheURL,responseHeadersString,responseHeaders,timeoutTimer,parts,fireGlobals,i,s=jQuery.ajaxSetup({},options),callbackContext=s.context||s,globalEventContext=s.context&&(callbackContext.nodeType||callbackContext.jquery)?jQuery(callbackContext):jQuery.event,deferred=jQuery.Deferred(),completeDeferred=jQuery.Callbacks("once memory"),statusCode=s.statusCode||{},requestHeaders={},requestHeadersNames={},state=0,strAbort="canceled",jqXHR={readyState:0,getResponseHeader:function(key){var match;if(2===state){if(!responseHeaders)for(responseHeaders={};match=rheaders.exec(responseHeadersString);)responseHeaders[match[1].toLowerCase()]=match[2];match=responseHeaders[key.toLowerCase()]}return null==match?null:match},getAllResponseHeaders:function(){return 2===state?responseHeadersString:null},setRequestHeader:function(name,value){var lname=name.toLowerCase();if(!state)name=requestHeadersNames[lname]=requestHeadersNames[lname]||name,requestHeaders[name]=value;return this},overrideMimeType:function(type){if(!state)s.mimeType=type;return this},statusCode:function(map){var code;if(map)if(2>state)for(code in map)statusCode[code]=[statusCode[code],map[code]];else jqXHR.always(map[jqXHR.status]);return this},abort:function(statusText){var finalText=statusText||strAbort;if(transport)transport.abort(finalText);return done(0,finalText),this}};if(deferred.promise(jqXHR).complete=completeDeferred.add,jqXHR.success=jqXHR.done,jqXHR.error=jqXHR.fail,s.url=((url||s.url||ajaxLocation)+"").replace(rhash,"").replace(rprotocol,ajaxLocParts[1]+"//"),s.type=options.method||options.type||s.method||s.type,s.dataTypes=jQuery.trim(s.dataType||"*").toLowerCase().match(rnotwhite)||[""],null==s.crossDomain)parts=rurl.exec(s.url.toLowerCase()),s.crossDomain=!(!parts||parts[1]===ajaxLocParts[1]&&parts[2]===ajaxLocParts[2]&&(parts[3]||("http:"===parts[1]?"80":"443"))===(ajaxLocParts[3]||("http:"===ajaxLocParts[1]?"80":"443")));if(s.data&&s.processData&&"string"!=typeof s.data)s.data=jQuery.param(s.data,s.traditional);if(inspectPrefiltersOrTransports(prefilters,s,options,jqXHR),2===state)return jqXHR;if(fireGlobals=jQuery.event&&s.global,fireGlobals&&0===jQuery.active++)jQuery.event.trigger("ajaxStart");if(s.type=s.type.toUpperCase(),s.hasContent=!rnoContent.test(s.type),cacheURL=s.url,!s.hasContent){if(s.data)cacheURL=s.url+=(rquery.test(cacheURL)?"&":"?")+s.data,delete s.data;if(s.cache===!1)s.url=rts.test(cacheURL)?cacheURL.replace(rts,"$1_="+nonce++):cacheURL+(rquery.test(cacheURL)?"&":"?")+"_="+nonce++}if(s.ifModified){if(jQuery.lastModified[cacheURL])jqXHR.setRequestHeader("If-Modified-Since",jQuery.lastModified[cacheURL]);if(jQuery.etag[cacheURL])jqXHR.setRequestHeader("If-None-Match",jQuery.etag[cacheURL])}if(s.data&&s.hasContent&&s.contentType!==!1||options.contentType)jqXHR.setRequestHeader("Content-Type",s.contentType);jqXHR.setRequestHeader("Accept",s.dataTypes[0]&&s.accepts[s.dataTypes[0]]?s.accepts[s.dataTypes[0]]+("*"!==s.dataTypes[0]?", "+allTypes+"; q=0.01":""):s.accepts["*"]);for(i in s.headers)jqXHR.setRequestHeader(i,s.headers[i]);if(s.beforeSend&&(s.beforeSend.call(callbackContext,jqXHR,s)===!1||2===state))return jqXHR.abort();strAbort="abort";for(i in{success:1,error:1,complete:1})jqXHR[i](s[i]);if(transport=inspectPrefiltersOrTransports(transports,s,options,jqXHR),!transport)done(-1,"No Transport");else{if(jqXHR.readyState=1,fireGlobals)globalEventContext.trigger("ajaxSend",[jqXHR,s]);if(s.async&&s.timeout>0)timeoutTimer=setTimeout(function(){jqXHR.abort("timeout")},s.timeout);try{state=1,transport.send(requestHeaders,done)}catch(e){if(2>state)done(-1,e);else throw e}}return jqXHR},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json")},getScript:function(url,callback){return jQuery.get(url,void 0,callback,"script")}}),jQuery.each(["get","post"],function(i,method){jQuery[method]=function(url,data,callback,type){if(jQuery.isFunction(data))type=type||callback,callback=data,data=void 0;return jQuery.ajax({url:url,type:method,dataType:type,data:data,success:callback})}}),jQuery._evalUrl=function(url){return jQuery.ajax({url:url,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},jQuery.fn.extend({wrapAll:function(html){var wrap;if(jQuery.isFunction(html))return this.each(function(i){jQuery(this).wrapAll(html.call(this,i))});if(this[0]){if(wrap=jQuery(html,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode)wrap.insertBefore(this[0]);wrap.map(function(){for(var elem=this;elem.firstElementChild;)elem=elem.firstElementChild;return elem}).append(this)}return this},wrapInner:function(html){if(jQuery.isFunction(html))return this.each(function(i){jQuery(this).wrapInner(html.call(this,i))});else return this.each(function(){var self=jQuery(this),contents=self.contents();if(contents.length)contents.wrapAll(html);else self.append(html);
})},wrap:function(html){var isFunction=jQuery.isFunction(html);return this.each(function(i){jQuery(this).wrapAll(isFunction?html.call(this,i):html)})},unwrap:function(){return this.parent().each(function(){if(!jQuery.nodeName(this,"body"))jQuery(this).replaceWith(this.childNodes)}).end()}}),jQuery.expr.filters.hidden=function(elem){return elem.offsetWidth<=0&&elem.offsetHeight<=0},jQuery.expr.filters.visible=function(elem){return!jQuery.expr.filters.hidden(elem)};var r20=/%20/g,rbracket=/\[\]$/,rCRLF=/\r?\n/g,rsubmitterTypes=/^(?:submit|button|image|reset|file)$/i,rsubmittable=/^(?:input|select|textarea|keygen)/i;jQuery.param=function(a,traditional){var prefix,s=[],add=function(key,value){value=jQuery.isFunction(value)?value():null==value?"":value,s[s.length]=encodeURIComponent(key)+"="+encodeURIComponent(value)};if(void 0===traditional)traditional=jQuery.ajaxSettings&&jQuery.ajaxSettings.traditional;if(jQuery.isArray(a)||a.jquery&&!jQuery.isPlainObject(a))jQuery.each(a,function(){add(this.name,this.value)});else for(prefix in a)buildParams(prefix,a[prefix],traditional,add);return s.join("&").replace(r20,"+")},jQuery.fn.extend({serialize:function(){return jQuery.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var elements=jQuery.prop(this,"elements");return elements?jQuery.makeArray(elements):this}).filter(function(){var type=this.type;return this.name&&!jQuery(this).is(":disabled")&&rsubmittable.test(this.nodeName)&&!rsubmitterTypes.test(type)&&(this.checked||!rcheckableType.test(type))}).map(function(i,elem){var val=jQuery(this).val();return null==val?null:jQuery.isArray(val)?jQuery.map(val,function(val){return{name:elem.name,value:val.replace(rCRLF,"\r\n")}}):{name:elem.name,value:val.replace(rCRLF,"\r\n")}}).get()}}),jQuery.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var xhrId=0,xhrCallbacks={},xhrSuccessStatus={0:200,1223:204},xhrSupported=jQuery.ajaxSettings.xhr();if(window.attachEvent)window.attachEvent("onunload",function(){for(var key in xhrCallbacks)xhrCallbacks[key]()});support.cors=!!xhrSupported&&"withCredentials"in xhrSupported,support.ajax=xhrSupported=!!xhrSupported,jQuery.ajaxTransport(function(options){var callback;if(support.cors||xhrSupported&&!options.crossDomain)return{send:function(headers,complete){var i,xhr=options.xhr(),id=++xhrId;if(xhr.open(options.type,options.url,options.async,options.username,options.password),options.xhrFields)for(i in options.xhrFields)xhr[i]=options.xhrFields[i];if(options.mimeType&&xhr.overrideMimeType)xhr.overrideMimeType(options.mimeType);if(!options.crossDomain&&!headers["X-Requested-With"])headers["X-Requested-With"]="XMLHttpRequest";for(i in headers)xhr.setRequestHeader(i,headers[i]);callback=function(type){return function(){if(callback)if(delete xhrCallbacks[id],callback=xhr.onload=xhr.onerror=null,"abort"===type)xhr.abort();else if("error"===type)complete(xhr.status,xhr.statusText);else complete(xhrSuccessStatus[xhr.status]||xhr.status,xhr.statusText,"string"==typeof xhr.responseText?{text:xhr.responseText}:void 0,xhr.getAllResponseHeaders())}},xhr.onload=callback(),xhr.onerror=callback("error"),callback=xhrCallbacks[id]=callback("abort");try{xhr.send(options.hasContent&&options.data||null)}catch(e){if(callback)throw e}},abort:function(){if(callback)callback()}};else return}),jQuery.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(text){return jQuery.globalEval(text),text}}}),jQuery.ajaxPrefilter("script",function(s){if(void 0===s.cache)s.cache=!1;if(s.crossDomain)s.type="GET"}),jQuery.ajaxTransport("script",function(s){if(s.crossDomain){var script,callback;return{send:function(_,complete){script=jQuery("<script>").prop({async:!0,charset:s.scriptCharset,src:s.url}).on("load error",callback=function(evt){if(script.remove(),callback=null,evt)complete("error"===evt.type?404:200,evt.type)}),document.head.appendChild(script[0])},abort:function(){if(callback)callback()}}}});var oldCallbacks=[],rjsonp=/(=)\?(?=&|$)|\?\?/;jQuery.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var callback=oldCallbacks.pop()||jQuery.expando+"_"+nonce++;return this[callback]=!0,callback}}),jQuery.ajaxPrefilter("json jsonp",function(s,originalSettings,jqXHR){var callbackName,overwritten,responseContainer,jsonProp=s.jsonp!==!1&&(rjsonp.test(s.url)?"url":"string"==typeof s.data&&!(s.contentType||"").indexOf("application/x-www-form-urlencoded")&&rjsonp.test(s.data)&&"data");if(jsonProp||"jsonp"===s.dataTypes[0]){if(callbackName=s.jsonpCallback=jQuery.isFunction(s.jsonpCallback)?s.jsonpCallback():s.jsonpCallback,jsonProp)s[jsonProp]=s[jsonProp].replace(rjsonp,"$1"+callbackName);else if(s.jsonp!==!1)s.url+=(rquery.test(s.url)?"&":"?")+s.jsonp+"="+callbackName;return s.converters["script json"]=function(){if(!responseContainer)jQuery.error(callbackName+" was not called");return responseContainer[0]},s.dataTypes[0]="json",overwritten=window[callbackName],window[callbackName]=function(){responseContainer=arguments},jqXHR.always(function(){if(window[callbackName]=overwritten,s[callbackName])s.jsonpCallback=originalSettings.jsonpCallback,oldCallbacks.push(callbackName);if(responseContainer&&jQuery.isFunction(overwritten))overwritten(responseContainer[0]);responseContainer=overwritten=void 0}),"script"}}),jQuery.parseHTML=function(data,context,keepScripts){if(!data||"string"!=typeof data)return null;if("boolean"==typeof context)keepScripts=context,context=!1;context=context||document;var parsed=rsingleTag.exec(data),scripts=!keepScripts&&[];if(parsed)return[context.createElement(parsed[1])];if(parsed=jQuery.buildFragment([data],context,scripts),scripts&&scripts.length)jQuery(scripts).remove();return jQuery.merge([],parsed.childNodes)};var _load=jQuery.fn.load;jQuery.fn.load=function(url,params,callback){if("string"!=typeof url&&_load)return _load.apply(this,arguments);var selector,type,response,self=this,off=url.indexOf(" ");if(off>=0)selector=jQuery.trim(url.slice(off)),url=url.slice(0,off);if(jQuery.isFunction(params))callback=params,params=void 0;else if(params&&"object"==typeof params)type="POST";if(self.length>0)jQuery.ajax({url:url,type:type,dataType:"html",data:params}).done(function(responseText){response=arguments,self.html(selector?jQuery("<div>").append(jQuery.parseHTML(responseText)).find(selector):responseText)}).complete(callback&&function(jqXHR,status){self.each(callback,response||[jqXHR.responseText,status,jqXHR])});return this},jQuery.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(i,type){jQuery.fn[type]=function(fn){return this.on(type,fn)}}),jQuery.expr.filters.animated=function(elem){return jQuery.grep(jQuery.timers,function(fn){return elem===fn.elem}).length};var docElem=window.document.documentElement;if(jQuery.offset={setOffset:function(elem,options,i){var curPosition,curLeft,curCSSTop,curTop,curOffset,curCSSLeft,calculatePosition,position=jQuery.css(elem,"position"),curElem=jQuery(elem),props={};if("static"===position)elem.style.position="relative";if(curOffset=curElem.offset(),curCSSTop=jQuery.css(elem,"top"),curCSSLeft=jQuery.css(elem,"left"),calculatePosition=("absolute"===position||"fixed"===position)&&(curCSSTop+curCSSLeft).indexOf("auto")>-1,calculatePosition)curPosition=curElem.position(),curTop=curPosition.top,curLeft=curPosition.left;else curTop=parseFloat(curCSSTop)||0,curLeft=parseFloat(curCSSLeft)||0;if(jQuery.isFunction(options))options=options.call(elem,i,curOffset);if(null!=options.top)props.top=options.top-curOffset.top+curTop;if(null!=options.left)props.left=options.left-curOffset.left+curLeft;if("using"in options)options.using.call(elem,props);else curElem.css(props)}},jQuery.fn.extend({offset:function(options){if(arguments.length)return void 0===options?this:this.each(function(i){jQuery.offset.setOffset(this,options,i)});var docElem,win,elem=this[0],box={top:0,left:0},doc=elem&&elem.ownerDocument;if(doc){if(docElem=doc.documentElement,!jQuery.contains(docElem,elem))return box;if(typeof elem.getBoundingClientRect!==strundefined)box=elem.getBoundingClientRect();return win=getWindow(doc),{top:box.top+win.pageYOffset-docElem.clientTop,left:box.left+win.pageXOffset-docElem.clientLeft}}},position:function(){if(this[0]){var offsetParent,offset,elem=this[0],parentOffset={top:0,left:0};if("fixed"===jQuery.css(elem,"position"))offset=elem.getBoundingClientRect();else{if(offsetParent=this.offsetParent(),offset=this.offset(),!jQuery.nodeName(offsetParent[0],"html"))parentOffset=offsetParent.offset();parentOffset.top+=jQuery.css(offsetParent[0],"borderTopWidth",!0),parentOffset.left+=jQuery.css(offsetParent[0],"borderLeftWidth",!0)}return{top:offset.top-parentOffset.top-jQuery.css(elem,"marginTop",!0),left:offset.left-parentOffset.left-jQuery.css(elem,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var offsetParent=this.offsetParent||docElem;offsetParent&&!jQuery.nodeName(offsetParent,"html")&&"static"===jQuery.css(offsetParent,"position");)offsetParent=offsetParent.offsetParent;return offsetParent||docElem})}}),jQuery.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(method,prop){var top="pageYOffset"===prop;jQuery.fn[method]=function(val){return access(this,function(elem,method,val){var win=getWindow(elem);if(void 0===val)return win?win[prop]:elem[method];if(win)win.scrollTo(!top?val:window.pageXOffset,top?val:window.pageYOffset);else elem[method]=val},method,val,arguments.length,null)}}),jQuery.each(["top","left"],function(i,prop){jQuery.cssHooks[prop]=addGetHookIf(support.pixelPosition,function(elem,computed){if(computed)return computed=curCSS(elem,prop),rnumnonpx.test(computed)?jQuery(elem).position()[prop]+"px":computed;else;})}),jQuery.each({Height:"height",Width:"width"},function(name,type){jQuery.each({padding:"inner"+name,content:type,"":"outer"+name},function(defaultExtra,funcName){jQuery.fn[funcName]=function(margin,value){var chainable=arguments.length&&(defaultExtra||"boolean"!=typeof margin),extra=defaultExtra||(margin===!0||value===!0?"margin":"border");return access(this,function(elem,type,value){var doc;if(jQuery.isWindow(elem))return elem.document.documentElement["client"+name];if(9===elem.nodeType)return doc=elem.documentElement,Math.max(elem.body["scroll"+name],doc["scroll"+name],elem.body["offset"+name],doc["offset"+name],doc["client"+name]);else return void 0===value?jQuery.css(elem,type,extra):jQuery.style(elem,type,value,extra)},type,chainable?margin:void 0,chainable,null)}})}),jQuery.fn.size=function(){return this.length},jQuery.fn.andSelf=jQuery.fn.addBack,!0)__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return jQuery}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));var _jQuery=window.jQuery,_$=window.$;if(jQuery.noConflict=function(deep){if(window.$===jQuery)window.$=_$;if(deep&&window.jQuery===jQuery)window.jQuery=_jQuery;return jQuery},typeof noGlobal===strundefined)window.jQuery=window.$=jQuery;return jQuery})},function(module,exports){"use strict";exports.__esModule=!0;var getMobileOperatingSystem=function getMobileOperatingSystem(){var userAgent=window.navigator.userAgent||window.navigator.vendor||window.opera;if(userAgent.match(/iPad/i)||userAgent.match(/iPhone/i)||userAgent.match(/iPod/i))if(userAgent.match(/CriOS/))return"iOS-Chrome";else return"iOS";else if(userAgent.match(/Android/i))return"Android";else return"unknown"},getAndroidVersion=function getAndroidVersion(){var userAgent=window.navigator.userAgent,androidVersion=!1;if(userAgent.match(/Android/i))androidVersion=parseFloat(userAgent.slice(userAgent.indexOf("Android")+8));return androidVersion},isAndroidNativeBrowser=function isAndroidNativeBrowser(){var navU=window.navigator.userAgent,isAndroidMobile=navU.indexOf("Android")>-1&&navU.indexOf("Mozilla/5.0")>-1&&navU.indexOf("AppleWebKit")>-1,regExAppleWebKit=new RegExp(/AppleWebKit\/([\d.]+)/),resultAppleWebKitRegEx=regExAppleWebKit.exec(navU),appleWebKitVersion=null===resultAppleWebKitRegEx?null:parseFloat(regExAppleWebKit.exec(navU)[1]),regExChrome=new RegExp(/Chrome\/([\d.]+)/),resultChromeRegEx=regExChrome.exec(navU),chromeVersion=null===resultChromeRegEx?null:parseFloat(regExChrome.exec(navU)[1]),isAndroidBrowser=isAndroidMobile&&null!==appleWebKitVersion&&537>appleWebKitVersion||null!==chromeVersion&&37>chromeVersion;return isAndroidBrowser},touchCapable=!1;if("undefined"!=typeof window)if("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)touchCapable=!0;var hasAnimations=!0;if(touchCapable&&("iOS-Chrome"==getMobileOperatingSystem()||"Android"==getMobileOperatingSystem()||"unknown"==getMobileOperatingSystem()))hasAnimations=!1;var country="AF";if("undefined"!=typeof window)country=window.__COUNTRY__;var ENVIRONMENT="LOCAL",CACHEBUST="EXPIRE";exports["default"]={getMobileOperatingSystem:getMobileOperatingSystem,getAndroidVersion:getAndroidVersion,isAndroidNativeBrowser:isAndroidNativeBrowser,touchCapable:touchCapable,hasAnimations:hasAnimations,country:country,ENVIRONMENT:ENVIRONMENT,CACHEBUST:CACHEBUST},module.exports=exports["default"]},function(module,exports,__webpack_require__){"use strict";var Env=__webpack_require__(4);exports.breakpointMobile=599,exports.breakpointTablet=1023,exports.breakpointDesktop=1439,exports.breakpointDesktopXL=1440,exports.breakpointQueryRetina="(-webkit-min-device-pixel-ratio: 1.5),(min--moz-device-pixel-ratio: 1.5),(-o-min-device-pixel-ratio: 3/2),(min-device-pixel-ratio: 1.5)",exports.breakpointQueryMobile="(max-width: 599px)",exports.breakpointQueryTablet="(min-width: 600px) and (max-width: 1023px)",exports.breakpointQueryDesktop="(min-width: 1024px) and (max-width: 1439px)",exports.breakpointQueryDesktopXL="(min-width: 1440px)",exports.contentBlocksSizes={rowHeight:{mobile:180,tablet:175,desktop:220,xl:240}},exports.isClient="undefined"!=typeof window},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),_gsapSrcUncompressedTweenMax=__webpack_require__(7),_gsapSrcUncompressedTweenMax2=_interopRequireDefault(_gsapSrcUncompressedTweenMax),_faqItems=void 0,createFAQ=function createFAQ(dom){function init(){_faqItems=_jquery2["default"](".FAQ-faq-item"),_faqItems.find(".FAQ-question").on("mouseenter",_rolloverQuestion),_faqItems.find(".FAQ-question").on("mouseleave",_rolloutQuestion),_faqItems.find(".FAQ-question").on("click",_onClickQuestion)}function _rolloverQuestion(event){var item=_jquery2["default"](event.currentTarget);item.parent().siblings().addClass("notactive"),item.removeClass("notactive")}function _rolloutQuestion(){_faqItems.removeClass("notactive")}function _onClickQuestion(event){var question=_jquery2["default"](event.currentTarget).parent(),answer=question.find(".FAQ-answer"),answerContent=answer.find(".FAQ-answer-content");if(question.hasClass("is-open"))if(_utilsEnv2["default"].hasAnimations)_gsapSrcUncompressedTweenMax2["default"].to(answer,.3,{height:0,ease:Quad.easeInOut,onComplete:function onComplete(){question.removeClass("is-open")}});else answer.height(0),question.removeClass("is-open");else{var old=_jquery2["default"](".FAQ-faq-item.is-open"),oldAnswer=old.find(".FAQ-answer");if(old.removeClass("is-open"),question.addClass("is-open"),_utilsEnv2["default"].hasAnimations)_gsapSrcUncompressedTweenMax2["default"].to(answer,.3,{height:answerContent.height(),ease:Quad.easeInOut}),_gsapSrcUncompressedTweenMax2["default"].to(oldAnswer,.3,{height:0,ease:Quad.easeInOut}),console.log(answer,answer.height(),answerContent.height());else answer.height(answerContent.height()),oldAnswer.height(0)}}if(dom)init()};exports.createFAQ=createFAQ},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(global){/*!
* VERSION: 1.18.0
* DATE: 2015-09-05
* UPDATES AND DOCS AT: http://greensock.com
*
* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
*
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;if((_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(Animation,SimpleTimeline,TweenLite){var _slice=function(a){var b=[],l=a.length,i;for(i=0;i!==l;b.push(a[i++]));return b},_applyCycle=function(vars,targets,i){var alt=vars.cycle,p,val;for(p in alt)val=alt[p],vars[p]="function"==typeof val?val.call(targets[i],i):val[i%val.length];delete vars.cycle},TweenMax=function(target,duration,vars){TweenLite.call(this,target,duration,vars),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=TweenMax.prototype.render},_tinyNum=1e-10,TweenLiteInternals=TweenLite._internals,_isSelector=TweenLiteInternals.isSelector,_isArray=TweenLiteInternals.isArray,p=TweenMax.prototype=TweenLite.to({},.1,{}),_blankArray=[];TweenMax.version="1.18.0",p.constructor=TweenMax,p.kill()._gc=!1,TweenMax.killTweensOf=TweenMax.killDelayedCallsTo=TweenLite.killTweensOf,TweenMax.getTweensOf=TweenLite.getTweensOf,TweenMax.lagSmoothing=TweenLite.lagSmoothing,TweenMax.ticker=TweenLite.ticker,TweenMax.render=TweenLite.render,p.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),TweenLite.prototype.invalidate.call(this)},p.updateTo=function(vars,resetDuration){var curRatio=this.ratio,immediate=this.vars.immediateRender||vars.immediateRender,p;if(resetDuration&&this._startTime<this._timeline._time)if(this._startTime=this._timeline._time,this._uncache(!1),this._gc)this._enabled(!0,!1);else this._timeline.insert(this,this._startTime-this._delay);for(p in vars)this.vars[p]=vars[p];if(this._initted||immediate)if(resetDuration){if(this._initted=!1,immediate)this.render(0,!0,!0)}else{if(this._gc)this._enabled(!0,!1);if(this._notifyPluginsOfEnabled&&this._firstPT)TweenLite._onPluginEvent("_onDisable",this);if(this._time/this._duration>.998){var prevTime=this._time;this.render(0,!0,!1),this._initted=!1,this.render(prevTime,!0,!1)}else if(this._time>0||immediate){this._initted=!1,this._init();for(var inv=1/(1-curRatio),pt=this._firstPT,endValue;pt;)endValue=pt.s+pt.c,pt.c*=inv,pt.s=endValue-pt.c,pt=pt._next}}return this},p.render=function(time,suppressEvents,force){if(!this._initted)if(0===this._duration&&this.vars.repeat)this.invalidate();var totalDur=!this._dirty?this._totalDuration:this.totalDuration(),prevTime=this._time,prevTotalTime=this._totalTime,prevCycle=this._cycle,duration=this._duration,prevRawPrevTime=this._rawPrevTime,isComplete,callback,pt,cycleDuration,r,type,pow,rawPrevTime;if(time>=totalDur){if(this._totalTime=totalDur,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle))this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;else this._time=duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1;if(!this._reversed)isComplete=!0,callback="onComplete",force=force||this._timeline.autoRemoveChildren;if(0===duration)if(this._initted||!this.vars.lazy||force){if(this._startTime===this._timeline._duration)time=0;if(0===time||0>prevRawPrevTime||prevRawPrevTime===_tinyNum)if(prevRawPrevTime!==time)if(force=!0,prevRawPrevTime>_tinyNum)callback="onReverseComplete";this._rawPrevTime=rawPrevTime=!suppressEvents||time||prevRawPrevTime===time?time:_tinyNum}}else if(1e-7>time){if(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,0!==prevTotalTime||0===duration&&prevRawPrevTime>0)callback="onReverseComplete",isComplete=this._reversed;if(0>time)if(this._active=!1,0===duration)if(this._initted||!this.vars.lazy||force){if(prevRawPrevTime>=0)force=!0;this._rawPrevTime=rawPrevTime=!suppressEvents||time||prevRawPrevTime===time?time:_tinyNum}if(!this._initted)force=!0}else{if(this._totalTime=this._time=time,0!==this._repeat){if(cycleDuration=duration+this._repeatDelay,this._cycle=this._totalTime/cycleDuration>>0,0!==this._cycle)if(this._cycle===this._totalTime/cycleDuration)this._cycle--;if(this._time=this._totalTime-this._cycle*cycleDuration,this._yoyo)if(0!==(1&this._cycle))this._time=duration-this._time;if(this._time>duration)this._time=duration;else if(this._time<0)this._time=0}if(this._easeType){if(r=this._time/duration,type=this._easeType,pow=this._easePower,1===type||3===type&&r>=.5)r=1-r;if(3===type)r*=2;if(1===pow)r*=r;else if(2===pow)r*=r*r;else if(3===pow)r*=r*r*r;else if(4===pow)r*=r*r*r*r;if(1===type)this.ratio=1-r;else if(2===type)this.ratio=r;else if(this._time/duration<.5)this.ratio=r/2;else this.ratio=1-r/2}else this.ratio=this._ease.getRatio(this._time/duration)}if(prevTime!==this._time||force||prevCycle!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;else if(!force&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=prevTime,this._totalTime=prevTotalTime,this._rawPrevTime=prevRawPrevTime,this._cycle=prevCycle,TweenLiteInternals.lazyTweens.push(this),this._lazy=[time,suppressEvents],void 0;if(this._time&&!isComplete)this.ratio=this._ease.getRatio(this._time/duration);else if(isComplete&&this._ease._calcEnd)this.ratio=this._ease.getRatio(0===this._time?0:1)}if(this._lazy!==!1)this._lazy=!1;if(!this._active)if(!this._paused&&this._time!==prevTime&&time>=0)this._active=!0;if(0===prevTotalTime){if(2===this._initted&&time>0)this._init();if(this._startAt)if(time>=0)this._startAt.render(time,suppressEvents,force);else if(!callback)callback="_dummyGS";if(this.vars.onStart)if(0!==this._totalTime||0===duration)if(!suppressEvents)this._callback("onStart")}for(pt=this._firstPT;pt;){if(pt.f)pt.t[pt.p](pt.c*this.ratio+pt.s);else pt.t[pt.p]=pt.c*this.ratio+pt.s;pt=pt._next}if(this._onUpdate){if(0>time)if(this._startAt&&this._startTime)this._startAt.render(time,suppressEvents,force);if(!suppressEvents)if(this._totalTime!==prevTotalTime||isComplete)this._callback("onUpdate")}if(this._cycle!==prevCycle)if(!suppressEvents)if(!this._gc)if(this.vars.onRepeat)this._callback("onRepeat");if(callback)if(!this._gc||force){if(0>time&&this._startAt&&!this._onUpdate&&this._startTime)this._startAt.render(time,suppressEvents,force);if(isComplete){if(this._timeline.autoRemoveChildren)this._enabled(!1,!1);this._active=!1}if(!suppressEvents&&this.vars[callback])this._callback(callback);if(0===duration&&this._rawPrevTime===_tinyNum&&rawPrevTime!==_tinyNum)this._rawPrevTime=0}}else if(prevTotalTime!==this._totalTime)if(this._onUpdate)if(!suppressEvents)this._callback("onUpdate")},TweenMax.to=function(target,duration,vars){return new TweenMax(target,duration,vars)},TweenMax.from=function(target,duration,vars){return vars.runBackwards=!0,vars.immediateRender=0!=vars.immediateRender,new TweenMax(target,duration,vars)},TweenMax.fromTo=function(target,duration,fromVars,toVars){return toVars.startAt=fromVars,toVars.immediateRender=0!=toVars.immediateRender&&0!=fromVars.immediateRender,new TweenMax(target,duration,toVars)},TweenMax.staggerTo=TweenMax.allTo=function(targets,duration,vars,stagger,onCompleteAll,onCompleteAllParams,onCompleteAllScope){stagger=stagger||0;var delay=vars.delay||0,a=[],finalComplete=function(){if(vars.onComplete)vars.onComplete.apply(vars.onCompleteScope||this,arguments);onCompleteAll.apply(onCompleteAllScope||vars.callbackScope||this,onCompleteAllParams||_blankArray)},cycle=vars.cycle,fromCycle=vars.startAt&&vars.startAt.cycle,l,copy,i,p;if(!_isArray(targets)){if("string"==typeof targets)targets=TweenLite.selector(targets)||targets;if(_isSelector(targets))targets=_slice(targets)}if(targets=targets||[],0>stagger)targets=_slice(targets),targets.reverse(),stagger*=-1;for(l=targets.length-1,i=0;l>=i;i++){copy={};for(p in vars)copy[p]=vars[p];if(cycle)_applyCycle(copy,targets,i);if(fromCycle){fromCycle=copy.startAt={};for(p in vars.startAt)fromCycle[p]=vars.startAt[p];_applyCycle(copy.startAt,targets,i)}if(copy.delay=delay,i===l&&onCompleteAll)copy.onComplete=finalComplete;a[i]=new TweenMax(targets[i],duration,copy),delay+=stagger}return a},TweenMax.staggerFrom=TweenMax.allFrom=function(targets,duration,vars,stagger,onCompleteAll,onCompleteAllParams,onCompleteAllScope){return vars.runBackwards=!0,vars.immediateRender=0!=vars.immediateRender,TweenMax.staggerTo(targets,duration,vars,stagger,onCompleteAll,onCompleteAllParams,onCompleteAllScope)},TweenMax.staggerFromTo=TweenMax.allFromTo=function(targets,duration,fromVars,toVars,stagger,onCompleteAll,onCompleteAllParams,onCompleteAllScope){return toVars.startAt=fromVars,toVars.immediateRender=0!=toVars.immediateRender&&0!=fromVars.immediateRender,TweenMax.staggerTo(targets,duration,toVars,stagger,onCompleteAll,onCompleteAllParams,onCompleteAllScope)},TweenMax.delayedCall=function(delay,callback,params,scope,useFrames){return new TweenMax(callback,0,{delay:delay,onComplete:callback,onCompleteParams:params,callbackScope:scope,onReverseComplete:callback,onReverseCompleteParams:params,immediateRender:!1,useFrames:useFrames,overwrite:0})},TweenMax.set=function(target,vars){return new TweenMax(target,0,vars)},TweenMax.isTweening=function(target){return TweenLite.getTweensOf(target,!0).length>0};var _getChildrenOf=function(timeline,includeTimelines){for(var a=[],cnt=0,tween=timeline._first;tween;){if(tween instanceof TweenLite)a[cnt++]=tween;else{if(includeTimelines)a[cnt++]=tween;a=a.concat(_getChildrenOf(tween,includeTimelines)),cnt=a.length}tween=tween._next}return a},getAllTweens=TweenMax.getAllTweens=function(includeTimelines){return _getChildrenOf(Animation._rootTimeline,includeTimelines).concat(_getChildrenOf(Animation._rootFramesTimeline,includeTimelines))};TweenMax.killAll=function(complete,tweens,delayedCalls,timelines){if(null==tweens)tweens=!0;if(null==delayedCalls)delayedCalls=!0;var a=getAllTweens(0!=timelines),l=a.length,allTrue=tweens&&delayedCalls&&timelines,isDC,tween,i;for(i=0;l>i;i++)if(tween=a[i],allTrue||tween instanceof SimpleTimeline||(isDC=tween.target===tween.vars.onComplete)&&delayedCalls||tweens&&!isDC)if(complete)tween.totalTime(tween._reversed?0:tween.totalDuration());else tween._enabled(!1,!1)},TweenMax.killChildTweensOf=function(parent,complete){if(null!=parent){var tl=TweenLiteInternals.tweenLookup,a,curParent,p,i,l;if("string"==typeof parent)parent=TweenLite.selector(parent)||parent;if(_isSelector(parent))parent=_slice(parent);if(!_isArray(parent)){a=[];for(p in tl)for(curParent=tl[p].target.parentNode;curParent;){if(curParent===parent)a=a.concat(tl[p].tweens);curParent=curParent.parentNode}for(l=a.length,i=0;l>i;i++){if(complete)a[i].totalTime(a[i].totalDuration());a[i]._enabled(!1,!1)}}else for(i=parent.length;--i>-1;)TweenMax.killChildTweensOf(parent[i],complete)}};var _changePause=function(pause,tweens,delayedCalls,timelines){tweens=tweens!==!1,delayedCalls=delayedCalls!==!1,timelines=timelines!==!1;for(var a=getAllTweens(timelines),allTrue=tweens&&delayedCalls&&timelines,i=a.length,isDC,tween;--i>-1;)if(tween=a[i],allTrue||tween instanceof SimpleTimeline||(isDC=tween.target===tween.vars.onComplete)&&delayedCalls||tweens&&!isDC)tween.paused(pause)};return TweenMax.pauseAll=function(tweens,delayedCalls,timelines){_changePause(!0,tweens,delayedCalls,timelines)},TweenMax.resumeAll=function(tweens,delayedCalls,timelines){_changePause(!1,tweens,delayedCalls,timelines)},TweenMax.globalTimeScale=function(value){var tl=Animation._rootTimeline,t=TweenLite.ticker.time;if(!arguments.length)return tl._timeScale;else return value=value||_tinyNum,tl._startTime=t-(t-tl._startTime)*tl._timeScale/value,tl=Animation._rootFramesTimeline,t=TweenLite.ticker.frame,tl._startTime=t-(t-tl._startTime)*tl._timeScale/value,tl._timeScale=Animation._rootTimeline._timeScale=value,value},p.progress=function(value){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-value:value)+this._cycle*(this._duration+this._repeatDelay),!1)},p.totalProgress=function(value){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*value,!1)},p.time=function(value,suppressEvents){if(!arguments.length)return this._time;if(this._dirty)this.totalDuration();if(value>this._duration)value=this._duration;if(this._yoyo&&0!==(1&this._cycle))value=this._duration-value+this._cycle*(this._duration+this._repeatDelay);else if(0!==this._repeat)value+=this._cycle*(this._duration+this._repeatDelay);return this.totalTime(value,suppressEvents)},p.duration=function(value){if(!arguments.length)return this._duration;else return Animation.prototype.duration.call(this,value)},p.totalDuration=function(value){if(!arguments.length){if(this._dirty)this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1;return this._totalDuration}return-1===this._repeat?this:this.duration((value-this._repeat*this._repeatDelay)/(this._repeat+1))},p.repeat=function(value){if(!arguments.length)return this._repeat;else return this._repeat=value,this._uncache(!0)},p.repeatDelay=function(value){if(!arguments.length)return this._repeatDelay;else return this._repeatDelay=value,this._uncache(!0)},p.yoyo=function(value){if(!arguments.length)return this._yoyo;else return this._yoyo=value,this},TweenMax},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(Animation,SimpleTimeline,TweenLite){var TimelineLite=function(vars){SimpleTimeline.call(this,vars),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var v=this.vars,val,p;for(p in v)if(val=v[p],_isArray(val))if(-1!==val.join("").indexOf("{self}"))v[p]=this._swapSelfInParams(val);if(_isArray(v.tweens))this.add(v.tweens,0,v.align,v.stagger)},_tinyNum=1e-10,TweenLiteInternals=TweenLite._internals,_internals=TimelineLite._internals={},_isSelector=TweenLiteInternals.isSelector,_isArray=TweenLiteInternals.isArray,_lazyTweens=TweenLiteInternals.lazyTweens,_lazyRender=TweenLiteInternals.lazyRender,_globals=_gsScope._gsDefine.globals,_copy=function(vars){var copy={},p;for(p in vars)copy[p]=vars[p];return copy},_applyCycle=function(vars,targets,i){var alt=vars.cycle,p,val;for(p in alt)val=alt[p],vars[p]="function"==typeof val?val.call(targets[i],i):val[i%val.length];delete vars.cycle},_pauseCallback=_internals.pauseCallback=function(){},_slice=function(a){var b=[],l=a.length,i;for(i=0;i!==l;b.push(a[i++]));return b},p=TimelineLite.prototype=new SimpleTimeline;return TimelineLite.version="1.18.0",p.constructor=TimelineLite,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(target,duration,vars,position){var Engine=vars.repeat&&_globals.TweenMax||TweenLite;return duration?this.add(new Engine(target,duration,vars),position):this.set(target,vars,position)},p.from=function(target,duration,vars,position){return this.add((vars.repeat&&_globals.TweenMax||TweenLite).from(target,duration,vars),position)},p.fromTo=function(target,duration,fromVars,toVars,position){var Engine=toVars.repeat&&_globals.TweenMax||TweenLite;return duration?this.add(Engine.fromTo(target,duration,fromVars,toVars),position):this.set(target,toVars,position)},p.staggerTo=function(targets,duration,vars,stagger,position,onCompleteAll,onCompleteAllParams,onCompleteAllScope){var tl=new TimelineLite({onComplete:onCompleteAll,onCompleteParams:onCompleteAllParams,callbackScope:onCompleteAllScope,smoothChildTiming:this.smoothChildTiming}),cycle=vars.cycle,copy,i;if("string"==typeof targets)targets=TweenLite.selector(targets)||targets;if(targets=targets||[],_isSelector(targets))targets=_slice(targets);if(stagger=stagger||0,0>stagger)targets=_slice(targets),targets.reverse(),stagger*=-1;for(i=0;i<targets.length;i++){if(copy=_copy(vars),copy.startAt)if(copy.startAt=_copy(copy.startAt),copy.startAt.cycle)_applyCycle(copy.startAt,targets,i);if(cycle)_applyCycle(copy,targets,i);tl.to(targets[i],duration,copy,i*stagger)}return this.add(tl,position)},p.staggerFrom=function(targets,duration,vars,stagger,position,onCompleteAll,onCompleteAllParams,onCompleteAllScope){return vars.immediateRender=0!=vars.immediateRender,vars.runBackwards=!0,this.staggerTo(targets,duration,vars,stagger,position,onCompleteAll,onCompleteAllParams,onCompleteAllScope)},p.staggerFromTo=function(targets,duration,fromVars,toVars,stagger,position,onCompleteAll,onCompleteAllParams,onCompleteAllScope){return toVars.startAt=fromVars,toVars.immediateRender=0!=toVars.immediateRender&&0!=fromVars.immediateRender,this.staggerTo(targets,duration,toVars,stagger,position,onCompleteAll,onCompleteAllParams,onCompleteAllScope)},p.call=function(callback,params,scope,position){return this.add(TweenLite.delayedCall(0,callback,params,scope),position)},p.set=function(target,vars,position){if(position=this._parseTimeOrLabel(position,0,!0),null==vars.immediateRender)vars.immediateRender=position===this._time&&!this._paused;return this.add(new TweenLite(target,0,vars),position)},TimelineLite.exportRoot=function(vars,ignoreDelayedCalls){if(vars=vars||{},null==vars.smoothChildTiming)vars.smoothChildTiming=!0;var tl=new TimelineLite(vars),root=tl._timeline,tween,next;if(null==ignoreDelayedCalls)ignoreDelayedCalls=!0;for(root._remove(tl,!0),tl._startTime=0,tl._rawPrevTime=tl._time=tl._totalTime=root._time,tween=root._first;tween;){if(next=tween._next,!ignoreDelayedCalls||!(tween instanceof TweenLite&&tween.target===tween.vars.onComplete))tl.add(tween,tween._startTime-tween._delay);tween=next}return root.add(tl,0),tl},p.add=function(value,position,align,stagger){var curTime,l,i,child,tl,beforeRawTime;if("number"!=typeof position)position=this._parseTimeOrLabel(position,0,!0,value);if(!(value instanceof Animation))if(value instanceof Array||value&&value.push&&_isArray(value)){for(align=align||"normal",stagger=stagger||0,curTime=position,l=value.length,i=0;l>i;i++){if(_isArray(child=value[i]))child=new TimelineLite({tweens:child});if(this.add(child,curTime),"string"!=typeof child&&"function"!=typeof child)if("sequence"===align)curTime=child._startTime+child.totalDuration()/child._timeScale;else if("start"===align)child._startTime-=child.delay();curTime+=stagger}return this._uncache(!0)}else if("string"==typeof value)return this.addLabel(value,position);else if("function"==typeof value)value=TweenLite.delayedCall(0,value);else throw"Cannot add "+value+" into the timeline; it is not a tween, timeline, function, or string.";if(SimpleTimeline.prototype.add.call(this,value,position),this._gc||this._time===this._duration)if(!this._paused)if(this._duration<this.duration())for(tl=this,beforeRawTime=tl.rawTime()>value._startTime;tl._timeline;){if(beforeRawTime&&tl._timeline.smoothChildTiming)tl.totalTime(tl._totalTime,!0);else if(tl._gc)tl._enabled(!0,!1);tl=tl._timeline}return this},p.remove=function(value){if(value instanceof Animation){this._remove(value,!1);var tl=value._timeline=value.vars.useFrames?Animation._rootFramesTimeline:Animation._rootTimeline;return value._startTime=(value._paused?value._pauseTime:tl._time)-(!value._reversed?value._totalTime:value.totalDuration()-value._totalTime)/value._timeScale,this}else if(value instanceof Array||value&&value.push&&_isArray(value)){for(var i=value.length;--i>-1;)this.remove(value[i]);return this}else if("string"==typeof value)return this.removeLabel(value);return this.kill(null,value)},p._remove=function(tween,skipDisable){SimpleTimeline.prototype._remove.call(this,tween,skipDisable);var last=this._last;if(!last)this._time=this._totalTime=this._duration=this._totalDuration=0;else if(this._time>last._startTime+last._totalDuration/last._timeScale)this._time=this.duration(),this._totalTime=this._totalDuration;return this},p.append=function(value,offsetOrLabel){return this.add(value,this._parseTimeOrLabel(null,offsetOrLabel,!0,value))},p.insert=p.insertMultiple=function(value,position,align,stagger){return this.add(value,position||0,align,stagger)},p.appendMultiple=function(tweens,offsetOrLabel,align,stagger){return this.add(tweens,this._parseTimeOrLabel(null,offsetOrLabel,!0,tweens),align,stagger)},p.addLabel=function(label,position){return this._labels[label]=this._parseTimeOrLabel(position),this},p.addPause=function(position,callback,params,scope){var t=TweenLite.delayedCall(0,_pauseCallback,params,scope||this);return t.vars.onComplete=t.vars.onReverseComplete=callback,t.data="isPause",this._hasPause=!0,this.add(t,position)},p.removeLabel=function(label){return delete this._labels[label],this},p.getLabelTime=function(label){return null!=this._labels[label]?this._labels[label]:-1},p._parseTimeOrLabel=function(timeOrLabel,offsetOrLabel,appendIfAbsent,ignore){var i;if(ignore instanceof Animation&&ignore.timeline===this)this.remove(ignore);else if(ignore&&(ignore instanceof Array||ignore.push&&_isArray(ignore)))for(i=ignore.length;--i>-1;)if(ignore[i]instanceof Animation&&ignore[i].timeline===this)this.remove(ignore[i]);if("string"==typeof offsetOrLabel)return this._parseTimeOrLabel(offsetOrLabel,appendIfAbsent&&"number"==typeof timeOrLabel&&null==this._labels[offsetOrLabel]?timeOrLabel-this.duration():0,appendIfAbsent);if(offsetOrLabel=offsetOrLabel||0,"string"==typeof timeOrLabel&&(isNaN(timeOrLabel)||null!=this._labels[timeOrLabel])){if(i=timeOrLabel.indexOf("="),-1===i)if(null==this._labels[timeOrLabel])return appendIfAbsent?this._labels[timeOrLabel]=this.duration()+offsetOrLabel:offsetOrLabel;else return this._labels[timeOrLabel]+offsetOrLabel;offsetOrLabel=parseInt(timeOrLabel.charAt(i-1)+"1",10)*Number(timeOrLabel.substr(i+1)),timeOrLabel=i>1?this._parseTimeOrLabel(timeOrLabel.substr(0,i-1),0,appendIfAbsent):this.duration()}else if(null==timeOrLabel)timeOrLabel=this.duration();return Number(timeOrLabel)+offsetOrLabel},p.seek=function(position,suppressEvents){return this.totalTime("number"==typeof position?position:this._parseTimeOrLabel(position),suppressEvents!==!1)},p.stop=function(){return this.paused(!0)},p.gotoAndPlay=function(position,suppressEvents){return this.play(position,suppressEvents)},p.gotoAndStop=function(position,suppressEvents){return this.pause(position,suppressEvents)},p.render=function(time,suppressEvents,force){if(this._gc)this._enabled(!0,!1);var totalDur=!this._dirty?this._totalDuration:this.totalDuration(),prevTime=this._time,prevStart=this._startTime,prevTimeScale=this._timeScale,prevPaused=this._paused,tween,isComplete,next,callback,internalForce,pauseTween;if(time>=totalDur){if(this._totalTime=this._time=totalDur,!this._reversed)if(!this._hasPausedChild())if(isComplete=!0,callback="onComplete",internalForce=!!this._timeline.autoRemoveChildren,0===this._duration)if(0===time||this._rawPrevTime<0||this._rawPrevTime===_tinyNum)if(this._rawPrevTime!==time&&this._first)if(internalForce=!0,this._rawPrevTime>_tinyNum)callback="onReverseComplete";this._rawPrevTime=this._duration||!suppressEvents||time||this._rawPrevTime===time?time:_tinyNum,time=totalDur+1e-4}else if(1e-7>time){if(this._totalTime=this._time=0,0!==prevTime||0===this._duration&&this._rawPrevTime!==_tinyNum&&(this._rawPrevTime>0||0>time&&this._rawPrevTime>=0))callback="onReverseComplete",isComplete=this._reversed;if(0>time){if(this._active=!1,this._timeline.autoRemoveChildren&&this._reversed)internalForce=isComplete=!0,callback="onReverseComplete";else if(this._rawPrevTime>=0&&this._first)internalForce=!0;this._rawPrevTime=time}else{if(this._rawPrevTime=this._duration||!suppressEvents||time||this._rawPrevTime===time?time:_tinyNum,0===time&&isComplete)for(tween=this._first;tween&&0===tween._startTime;){if(!tween._duration)isComplete=!1;tween=tween._next}if(time=0,!this._initted)internalForce=!0}}else{if(this._hasPause&&!this._forcingPlayhead&&!suppressEvents){if(time>=prevTime)for(tween=this._first;tween&&tween._startTime<=time&&!pauseTween;){if(!tween._duration)if("isPause"===tween.data&&!tween.ratio&&(0!==tween._startTime||0!==this._rawPrevTime))pauseTween=tween;tween=tween._next}else for(tween=this._last;tween&&tween._startTime>=time&&!pauseTween;){if(!tween._duration)if("isPause"===tween.data&&tween._rawPrevTime>0)pauseTween=tween;tween=tween._prev}if(pauseTween)this._time=time=pauseTween._startTime,this._totalTime=time+this._cycle*(this._totalDuration+this._repeatDelay)}this._totalTime=this._time=this._rawPrevTime=time}if(this._time!==prevTime&&this._first||force||internalForce||pauseTween){if(!this._initted)this._initted=!0;if(!this._active)if(!this._paused&&this._time!==prevTime&&time>0)this._active=!0;if(0===prevTime)if(this.vars.onStart)if(0!==this._time)if(!suppressEvents)this._callback("onStart");if(this._time>=prevTime)for(tween=this._first;tween&&(next=tween._next,!this._paused||prevPaused);){if(tween._active||tween._startTime<=this._time&&!tween._paused&&!tween._gc){if(pauseTween===tween)this.pause();if(!tween._reversed)tween.render((time-tween._startTime)*tween._timeScale,suppressEvents,force);else tween.render((!tween._dirty?tween._totalDuration:tween.totalDuration())-(time-tween._startTime)*tween._timeScale,suppressEvents,force)}tween=next}else for(tween=this._last;tween&&(next=tween._prev,!this._paused||prevPaused);){if(tween._active||tween._startTime<=prevTime&&!tween._paused&&!tween._gc){if(pauseTween===tween){for(pauseTween=tween._prev;pauseTween&&pauseTween.endTime()>this._time;)pauseTween.render(pauseTween._reversed?pauseTween.totalDuration()-(time-pauseTween._startTime)*pauseTween._timeScale:(time-pauseTween._startTime)*pauseTween._timeScale,suppressEvents,force),pauseTween=pauseTween._prev;pauseTween=null,this.pause()}if(!tween._reversed)tween.render((time-tween._startTime)*tween._timeScale,suppressEvents,force);else tween.render((!tween._dirty?tween._totalDuration:tween.totalDuration())-(time-tween._startTime)*tween._timeScale,suppressEvents,force)}tween=next}if(this._onUpdate)if(!suppressEvents){if(_lazyTweens.length)_lazyRender();this._callback("onUpdate")}if(callback)if(!this._gc)if(prevStart===this._startTime||prevTimeScale!==this._timeScale)if(0===this._time||totalDur>=this.totalDuration()){if(isComplete){if(_lazyTweens.length)_lazyRender();if(this._timeline.autoRemoveChildren)this._enabled(!1,!1);this._active=!1}if(!suppressEvents&&this.vars[callback])this._callback(callback)}}},p._hasPausedChild=function(){for(var tween=this._first;tween;){if(tween._paused||tween instanceof TimelineLite&&tween._hasPausedChild())return!0;tween=tween._next}return!1},p.getChildren=function(nested,tweens,timelines,ignoreBeforeTime){ignoreBeforeTime=ignoreBeforeTime||-9999999999;for(var a=[],tween=this._first,cnt=0;tween;){if(tween._startTime<ignoreBeforeTime);else if(tween instanceof TweenLite){if(tweens!==!1)a[cnt++]=tween}else{if(timelines!==!1)a[cnt++]=tween;if(nested!==!1)a=a.concat(tween.getChildren(!0,tweens,timelines)),cnt=a.length}tween=tween._next}return a},p.getTweensOf=function(target,nested){var disabled=this._gc,a=[],cnt=0,tweens,i;if(disabled)this._enabled(!0,!0);for(tweens=TweenLite.getTweensOf(target),i=tweens.length;--i>-1;)if(tweens[i].timeline===this||nested&&this._contains(tweens[i]))a[cnt++]=tweens[i];if(disabled)this._enabled(!1,!0);return a},p.recent=function(){return this._recent},p._contains=function(tween){for(var tl=tween.timeline;tl;){if(tl===this)return!0;tl=tl.timeline}return!1},p.shiftChildren=function(amount,adjustLabels,ignoreBeforeTime){ignoreBeforeTime=ignoreBeforeTime||0;for(var tween=this._first,labels=this._labels,p;tween;){if(tween._startTime>=ignoreBeforeTime)tween._startTime+=amount;tween=tween._next}if(adjustLabels)for(p in labels)if(labels[p]>=ignoreBeforeTime)labels[p]+=amount;return this._uncache(!0)},p._kill=function(vars,target){if(!vars&&!target)return this._enabled(!1,!1);for(var tweens=!target?this.getChildren(!0,!0,!1):this.getTweensOf(target),i=tweens.length,changed=!1;--i>-1;)if(tweens[i]._kill(vars,target))changed=!0;return changed},p.clear=function(labels){var tweens=this.getChildren(!1,!0,!0),i=tweens.length;for(this._time=this._totalTime=0;--i>-1;)tweens[i]._enabled(!1,!1);if(labels!==!1)this._labels={};return this._uncache(!0)},p.invalidate=function(){for(var tween=this._first;tween;)tween.invalidate(),tween=tween._next;return Animation.prototype.invalidate.call(this)},p._enabled=function(enabled,ignoreTimeline){if(enabled===this._gc)for(var tween=this._first;tween;)tween._enabled(enabled,!0),tween=tween._next;return SimpleTimeline.prototype._enabled.call(this,enabled,ignoreTimeline)},p.totalTime=function(time,suppressEvents,uncapped){this._forcingPlayhead=!0;var val=Animation.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,val},p.duration=function(value){if(!arguments.length){if(this._dirty)this.totalDuration();return this._duration}if(0!==this.duration()&&0!==value)this.timeScale(this._duration/value);return this},p.totalDuration=function(value){if(!arguments.length){if(this._dirty){for(var max=0,tween=this._last,prevStart=999999999999,prev,end;tween;){if(prev=tween._prev,tween._dirty)tween.totalDuration();if(tween._startTime>prevStart&&this._sortChildren&&!tween._paused)this.add(tween,tween._startTime-tween._delay);else prevStart=tween._startTime;if(tween._startTime<0&&!tween._paused){if(max-=tween._startTime,this._timeline.smoothChildTiming)this._startTime+=tween._startTime/this._timeScale;this.shiftChildren(-tween._startTime,!1,-9999999999),prevStart=0}if(end=tween._startTime+tween._totalDuration/tween._timeScale,end>max)max=end;tween=prev}this._duration=this._totalDuration=max,this._dirty=!1}return this._totalDuration}if(0!==this.totalDuration())if(0!==value)this.timeScale(this._totalDuration/value);return this},p.paused=function(value){if(!value)for(var tween=this._first,time=this._time;tween;){if(tween._startTime===time&&"isPause"===tween.data)tween._rawPrevTime=0;tween=tween._next}return Animation.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var tl=this._timeline;tl._timeline;)tl=tl._timeline;return tl===Animation._rootFramesTimeline},p.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},TimelineLite},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(TimelineLite,TweenLite,Ease){var TimelineMax=function(vars){TimelineLite.call(this,vars),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},_tinyNum=1e-10,TweenLiteInternals=TweenLite._internals,_lazyTweens=TweenLiteInternals.lazyTweens,_lazyRender=TweenLiteInternals.lazyRender,_easeNone=new Ease(null,null,1,0),p=TimelineMax.prototype=new TimelineLite;return p.constructor=TimelineMax,p.kill()._gc=!1,TimelineMax.version="1.18.0",p.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),TimelineLite.prototype.invalidate.call(this)},p.addCallback=function(callback,position,params,scope){return this.add(TweenLite.delayedCall(0,callback,params,scope),position)},p.removeCallback=function(callback,position){if(callback)if(null==position)this._kill(null,callback);else for(var a=this.getTweensOf(callback,!1),i=a.length,time=this._parseTimeOrLabel(position);--i>-1;)if(a[i]._startTime===time)a[i]._enabled(!1,!1);return this},p.removePause=function(position){return this.removeCallback(TimelineLite._internals.pauseCallback,position)},p.tweenTo=function(position,vars){vars=vars||{};var copy={ease:_easeNone,useFrames:this.usesFrames(),immediateRender:!1},duration,p,t;for(p in vars)copy[p]=vars[p];return copy.time=this._parseTimeOrLabel(position),duration=Math.abs(Number(copy.time)-this._time)/this._timeScale||.001,t=new TweenLite(this,duration,copy),copy.onStart=function(){if(t.target.paused(!0),t.vars.time!==t.target.time()&&duration===t.duration())t.duration(Math.abs(t.vars.time-t.target.time())/t.target._timeScale);
if(vars.onStart)t._callback("onStart")},t},p.tweenFromTo=function(fromPosition,toPosition,vars){vars=vars||{},fromPosition=this._parseTimeOrLabel(fromPosition),vars.startAt={onComplete:this.seek,onCompleteParams:[fromPosition],callbackScope:this},vars.immediateRender=vars.immediateRender!==!1;var t=this.tweenTo(toPosition,vars);return t.duration(Math.abs(t.vars.time-fromPosition)/this._timeScale||.001)},p.render=function(time,suppressEvents,force){if(this._gc)this._enabled(!0,!1);var totalDur=!this._dirty?this._totalDuration:this.totalDuration(),dur=this._duration,prevTime=this._time,prevTotalTime=this._totalTime,prevStart=this._startTime,prevTimeScale=this._timeScale,prevRawPrevTime=this._rawPrevTime,prevPaused=this._paused,prevCycle=this._cycle,tween,isComplete,next,callback,internalForce,cycleDuration,pauseTween;if(time>=totalDur){if(!this._locked)this._totalTime=totalDur,this._cycle=this._repeat;if(!this._reversed)if(!this._hasPausedChild())if(isComplete=!0,callback="onComplete",internalForce=!!this._timeline.autoRemoveChildren,0===this._duration)if(0===time||0>prevRawPrevTime||prevRawPrevTime===_tinyNum)if(prevRawPrevTime!==time&&this._first)if(internalForce=!0,prevRawPrevTime>_tinyNum)callback="onReverseComplete";if(this._rawPrevTime=this._duration||!suppressEvents||time||this._rawPrevTime===time?time:_tinyNum,this._yoyo&&0!==(1&this._cycle))this._time=time=0;else this._time=dur,time=dur+1e-4}else if(1e-7>time){if(!this._locked)this._totalTime=this._cycle=0;if(this._time=0,0!==prevTime||0===dur&&prevRawPrevTime!==_tinyNum&&(prevRawPrevTime>0||0>time&&prevRawPrevTime>=0)&&!this._locked)callback="onReverseComplete",isComplete=this._reversed;if(0>time){if(this._active=!1,this._timeline.autoRemoveChildren&&this._reversed)internalForce=isComplete=!0,callback="onReverseComplete";else if(prevRawPrevTime>=0&&this._first)internalForce=!0;this._rawPrevTime=time}else{if(this._rawPrevTime=dur||!suppressEvents||time||this._rawPrevTime===time?time:_tinyNum,0===time&&isComplete)for(tween=this._first;tween&&0===tween._startTime;){if(!tween._duration)isComplete=!1;tween=tween._next}if(time=0,!this._initted)internalForce=!0}}else{if(0===dur&&0>prevRawPrevTime)internalForce=!0;if(this._time=this._rawPrevTime=time,!this._locked)if(this._totalTime=time,0!==this._repeat){if(cycleDuration=dur+this._repeatDelay,this._cycle=this._totalTime/cycleDuration>>0,0!==this._cycle)if(this._cycle===this._totalTime/cycleDuration)this._cycle--;if(this._time=this._totalTime-this._cycle*cycleDuration,this._yoyo)if(0!==(1&this._cycle))this._time=dur-this._time;if(this._time>dur)this._time=dur,time=dur+1e-4;else if(this._time<0)this._time=time=0;else time=this._time}if(this._hasPause&&!this._forcingPlayhead&&!suppressEvents){if(time=this._time,time>=prevTime)for(tween=this._first;tween&&tween._startTime<=time&&!pauseTween;){if(!tween._duration)if("isPause"===tween.data&&!tween.ratio&&(0!==tween._startTime||0!==this._rawPrevTime))pauseTween=tween;tween=tween._next}else for(tween=this._last;tween&&tween._startTime>=time&&!pauseTween;){if(!tween._duration)if("isPause"===tween.data&&tween._rawPrevTime>0)pauseTween=tween;tween=tween._prev}if(pauseTween)this._time=time=pauseTween._startTime,this._totalTime=time+this._cycle*(this._totalDuration+this._repeatDelay)}}if(this._cycle!==prevCycle)if(!this._locked){var backwards=this._yoyo&&0!==(1&prevCycle),wrap=backwards===(this._yoyo&&0!==(1&this._cycle)),recTotalTime=this._totalTime,recCycle=this._cycle,recRawPrevTime=this._rawPrevTime,recTime=this._time;if(this._totalTime=prevCycle*dur,this._cycle<prevCycle)backwards=!backwards;else this._totalTime+=dur;if(this._time=prevTime,this._rawPrevTime=0===dur?prevRawPrevTime-1e-4:prevRawPrevTime,this._cycle=prevCycle,this._locked=!0,prevTime=backwards?0:dur,this.render(prevTime,suppressEvents,0===dur),!suppressEvents)if(!this._gc)if(this.vars.onRepeat)this._callback("onRepeat");if(wrap)prevTime=backwards?dur+1e-4:-1e-4,this.render(prevTime,!0,!1);if(this._locked=!1,this._paused&&!prevPaused)return;this._time=recTime,this._totalTime=recTotalTime,this._cycle=recCycle,this._rawPrevTime=recRawPrevTime}if(this._time!==prevTime&&this._first||force||internalForce||pauseTween){if(!this._initted)this._initted=!0;if(!this._active)if(!this._paused&&this._totalTime!==prevTotalTime&&time>0)this._active=!0;if(0===prevTotalTime)if(this.vars.onStart)if(0!==this._totalTime)if(!suppressEvents)this._callback("onStart");if(this._time>=prevTime)for(tween=this._first;tween&&(next=tween._next,!this._paused||prevPaused);){if(tween._active||tween._startTime<=this._time&&!tween._paused&&!tween._gc){if(pauseTween===tween)this.pause();if(!tween._reversed)tween.render((time-tween._startTime)*tween._timeScale,suppressEvents,force);else tween.render((!tween._dirty?tween._totalDuration:tween.totalDuration())-(time-tween._startTime)*tween._timeScale,suppressEvents,force)}tween=next}else for(tween=this._last;tween&&(next=tween._prev,!this._paused||prevPaused);){if(tween._active||tween._startTime<=prevTime&&!tween._paused&&!tween._gc){if(pauseTween===tween){for(pauseTween=tween._prev;pauseTween&&pauseTween.endTime()>this._time;)pauseTween.render(pauseTween._reversed?pauseTween.totalDuration()-(time-pauseTween._startTime)*pauseTween._timeScale:(time-pauseTween._startTime)*pauseTween._timeScale,suppressEvents,force),pauseTween=pauseTween._prev;pauseTween=null,this.pause()}if(!tween._reversed)tween.render((time-tween._startTime)*tween._timeScale,suppressEvents,force);else tween.render((!tween._dirty?tween._totalDuration:tween.totalDuration())-(time-tween._startTime)*tween._timeScale,suppressEvents,force)}tween=next}if(this._onUpdate)if(!suppressEvents){if(_lazyTweens.length)_lazyRender();this._callback("onUpdate")}if(callback)if(!this._locked)if(!this._gc)if(prevStart===this._startTime||prevTimeScale!==this._timeScale)if(0===this._time||totalDur>=this.totalDuration()){if(isComplete){if(_lazyTweens.length)_lazyRender();if(this._timeline.autoRemoveChildren)this._enabled(!1,!1);this._active=!1}if(!suppressEvents&&this.vars[callback])this._callback(callback)}}else if(prevTotalTime!==this._totalTime)if(this._onUpdate)if(!suppressEvents)this._callback("onUpdate")},p.getActive=function(nested,tweens,timelines){if(null==nested)nested=!0;if(null==tweens)tweens=!0;if(null==timelines)timelines=!1;var a=[],all=this.getChildren(nested,tweens,timelines),cnt=0,l=all.length,i,tween;for(i=0;l>i;i++)if(tween=all[i],tween.isActive())a[cnt++]=tween;return a},p.getLabelAfter=function(time){if(!time)if(0!==time)time=this._time;var labels=this.getLabelsArray(),l=labels.length,i;for(i=0;l>i;i++)if(labels[i].time>time)return labels[i].name;return null},p.getLabelBefore=function(time){if(null==time)time=this._time;for(var labels=this.getLabelsArray(),i=labels.length;--i>-1;)if(labels[i].time<time)return labels[i].name;return null},p.getLabelsArray=function(){var a=[],cnt=0,p;for(p in this._labels)a[cnt++]={time:this._labels[p],name:p};return a.sort(function(a,b){return a.time-b.time}),a},p.progress=function(value,suppressEvents){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-value:value)+this._cycle*(this._duration+this._repeatDelay),suppressEvents)},p.totalProgress=function(value,suppressEvents){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*value,suppressEvents)},p.totalDuration=function(value){if(!arguments.length){if(this._dirty)TimelineLite.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat;return this._totalDuration}return-1===this._repeat?this:this.duration((value-this._repeat*this._repeatDelay)/(this._repeat+1))},p.time=function(value,suppressEvents){if(!arguments.length)return this._time;if(this._dirty)this.totalDuration();if(value>this._duration)value=this._duration;if(this._yoyo&&0!==(1&this._cycle))value=this._duration-value+this._cycle*(this._duration+this._repeatDelay);else if(0!==this._repeat)value+=this._cycle*(this._duration+this._repeatDelay);return this.totalTime(value,suppressEvents)},p.repeat=function(value){if(!arguments.length)return this._repeat;else return this._repeat=value,this._uncache(!0)},p.repeatDelay=function(value){if(!arguments.length)return this._repeatDelay;else return this._repeatDelay=value,this._uncache(!0)},p.yoyo=function(value){if(!arguments.length)return this._yoyo;else return this._yoyo=value,this},p.currentLabel=function(value){if(!arguments.length)return this.getLabelBefore(this._time+1e-8);else return this.seek(value,!0)},TimelineMax},!0),function(){var _RAD2DEG=180/Math.PI,_r1=[],_r2=[],_r3=[],_corProps={},_globals=_gsScope._gsDefine.globals,Segment=function(a,b,c,d){this.a=a,this.b=b,this.c=c,this.d=d,this.da=d-a,this.ca=c-a,this.ba=b-a},_correlate=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",cubicToQuadratic=function(a,b,c,d){var q1={a:a},q2={},q3={},q4={c:d},mab=(a+b)/2,mbc=(b+c)/2,mcd=(c+d)/2,mabc=(mab+mbc)/2,mbcd=(mbc+mcd)/2,m8=(mbcd-mabc)/8;return q1.b=mab+(a-mab)/4,q2.b=mabc+m8,q1.c=q2.a=(q1.b+q2.b)/2,q2.c=q3.a=(mabc+mbcd)/2,q3.b=mbcd-m8,q4.b=mcd+(d-mcd)/4,q3.c=q4.a=(q3.b+q4.b)/2,[q1,q2,q3,q4]},_calculateControlPoints=function(a,curviness,quad,basic,correlate){var l=a.length-1,ii=0,cp1=a[0].a,i,p1,p2,p3,seg,m1,m2,mm,cp2,qb,r1,r2,tl;for(i=0;l>i;i++){if(seg=a[ii],p1=seg.a,p2=seg.d,p3=a[ii+1].d,correlate)r1=_r1[i],r2=_r2[i],tl=(r2+r1)*curviness*.25/(basic?.5:_r3[i]||.5),m1=p2-(p2-p1)*(basic?.5*curviness:0!==r1?tl/r1:0),m2=p2+(p3-p2)*(basic?.5*curviness:0!==r2?tl/r2:0),mm=p2-(m1+((m2-m1)*(3*r1/(r1+r2)+.5)/4||0));else m1=p2-(p2-p1)*curviness*.5,m2=p2+(p3-p2)*curviness*.5,mm=p2-(m1+m2)/2;if(m1+=mm,m2+=mm,seg.c=cp2=m1,0!==i)seg.b=cp1;else seg.b=cp1=seg.a+.6*(seg.c-seg.a);if(seg.da=p2-p1,seg.ca=cp2-p1,seg.ba=cp1-p1,quad)qb=cubicToQuadratic(p1,cp1,cp2,p2),a.splice(ii,1,qb[0],qb[1],qb[2],qb[3]),ii+=4;else ii++;cp1=m2}if(seg=a[ii],seg.b=cp1,seg.c=cp1+.4*(seg.d-cp1),seg.da=seg.d-seg.a,seg.ca=seg.c-seg.a,seg.ba=cp1-seg.a,quad)qb=cubicToQuadratic(seg.a,cp1,seg.c,seg.d),a.splice(ii,1,qb[0],qb[1],qb[2],qb[3])},_parseAnchors=function(values,p,correlate,prepend){var a=[],l,i,p1,p2,p3,tmp;if(prepend)for(values=[prepend].concat(values),i=values.length;--i>-1;)if("string"==typeof(tmp=values[i][p]))if("="===tmp.charAt(1))values[i][p]=prepend[p]+Number(tmp.charAt(0)+tmp.substr(2));if(l=values.length-2,0>l)return a[0]=new Segment(values[0][p],0,0,values[-1>l?0:1][p]),a;for(i=0;l>i;i++)if(p1=values[i][p],p2=values[i+1][p],a[i]=new Segment(p1,0,0,p2),correlate)p3=values[i+2][p],_r1[i]=(_r1[i]||0)+(p2-p1)*(p2-p1),_r2[i]=(_r2[i]||0)+(p3-p2)*(p3-p2);return a[i]=new Segment(values[i][p],0,0,values[i+1][p]),a},bezierThrough=function(values,curviness,quadratic,basic,correlate,prepend){var obj={},props=[],first=prepend||values[0],i,p,a,j,r,l,seamless,last;if(correlate="string"==typeof correlate?","+correlate+",":_correlate,null==curviness)curviness=1;for(p in values[0])props.push(p);if(values.length>1){for(last=values[values.length-1],seamless=!0,i=props.length;--i>-1;)if(p=props[i],Math.abs(first[p]-last[p])>.05){seamless=!1;break}if(seamless){if(values=values.concat(),prepend)values.unshift(prepend);values.push(values[1]),prepend=values[values.length-3]}}for(_r1.length=_r2.length=_r3.length=0,i=props.length;--i>-1;)p=props[i],_corProps[p]=-1!==correlate.indexOf(","+p+","),obj[p]=_parseAnchors(values,p,_corProps[p],prepend);for(i=_r1.length;--i>-1;)_r1[i]=Math.sqrt(_r1[i]),_r2[i]=Math.sqrt(_r2[i]);if(!basic){for(i=props.length;--i>-1;)if(_corProps[p])for(a=obj[props[i]],l=a.length-1,j=0;l>j;j++)r=a[j+1].da/_r2[j]+a[j].da/_r1[j],_r3[j]=(_r3[j]||0)+r*r;for(i=_r3.length;--i>-1;)_r3[i]=Math.sqrt(_r3[i])}for(i=props.length,j=quadratic?4:1;--i>-1;)if(p=props[i],a=obj[p],_calculateControlPoints(a,curviness,quadratic,basic,_corProps[p]),seamless)a.splice(0,j),a.splice(a.length-j,j);return obj},_parseBezierData=function(values,type,prepend){type=type||"soft";var obj={},inc="cubic"===type?3:2,soft="soft"===type,props=[],a,b,c,d,cur,i,j,l,p,cnt,tmp;if(soft&&prepend)values=[prepend].concat(values);if(null==values||values.length<inc+1)throw"invalid Bezier data";for(p in values[0])props.push(p);for(i=props.length;--i>-1;){for(p=props[i],obj[p]=cur=[],cnt=0,l=values.length,j=0;l>j;j++){if(a=null==prepend?values[j][p]:"string"==typeof(tmp=values[j][p])&&"="===tmp.charAt(1)?prepend[p]+Number(tmp.charAt(0)+tmp.substr(2)):Number(tmp),soft)if(j>1)if(l-1>j)cur[cnt++]=(a+cur[cnt-2])/2;cur[cnt++]=a}for(l=cnt-inc+1,cnt=0,j=0;l>j;j+=inc)a=cur[j],b=cur[j+1],c=cur[j+2],d=2===inc?0:cur[j+3],cur[cnt++]=tmp=3===inc?new Segment(a,b,c,d):new Segment(a,(2*b+a)/3,(2*b+c)/3,c);cur.length=cnt}return obj},_addCubicLengths=function(a,steps,resolution){for(var inc=1/resolution,j=a.length,d,d1,s,da,ca,ba,p,i,inv,bez,index;--j>-1;)for(bez=a[j],s=bez.a,da=bez.d-s,ca=bez.c-s,ba=bez.b-s,d=d1=0,i=1;resolution>=i;i++)p=inc*i,inv=1-p,d=d1-(d1=(p*p*da+3*inv*(p*ca+inv*ba))*p),index=j*resolution+i-1,steps[index]=(steps[index]||0)+d*d},_parseLengthData=function(obj,resolution){resolution=resolution>>0||6;var a=[],lengths=[],d=0,total=0,threshold=resolution-1,segments=[],curLS=[],p,i,l,index;for(p in obj)_addCubicLengths(obj[p],a,resolution);for(l=a.length,i=0;l>i;i++)if(d+=Math.sqrt(a[i]),index=i%resolution,curLS[index]=d,index===threshold)total+=d,index=i/resolution>>0,segments[index]=curLS,lengths[index]=total,d=0,curLS=[];return{length:total,lengths:lengths,segments:segments}},BezierPlugin=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.4",API:2,global:!0,init:function(target,vars,tween){if(this._target=target,vars instanceof Array)vars={values:vars};this._func={},this._round={},this._props=[],this._timeRes=null==vars.timeResolution?6:parseInt(vars.timeResolution,10);var values=vars.values||[],first={},second=values[0],autoRotate=vars.autoRotate||tween.vars.orientToBezier,p,isFunc,i,j,prepend;this._autoRotate=autoRotate?autoRotate instanceof Array?autoRotate:[["x","y","rotation",autoRotate===!0?0:Number(autoRotate)||0]]:null;for(p in second)this._props.push(p);for(i=this._props.length;--i>-1;)if(p=this._props[i],this._overwriteProps.push(p),isFunc=this._func[p]="function"==typeof target[p],first[p]=!isFunc?parseFloat(target[p]):target[p.indexOf("set")||"function"!=typeof target["get"+p.substr(3)]?p:"get"+p.substr(3)](),!prepend)if(first[p]!==values[0][p])prepend=first;if(this._beziers="cubic"!==vars.type&&"quadratic"!==vars.type&&"soft"!==vars.type?bezierThrough(values,isNaN(vars.curviness)?1:vars.curviness,!1,"thruBasic"===vars.type,vars.correlate,prepend):_parseBezierData(values,vars.type,first),this._segCount=this._beziers[p].length,this._timeRes){var ld=_parseLengthData(this._beziers,this._timeRes);this._length=ld.length,this._lengths=ld.lengths,this._segments=ld.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(autoRotate=this._autoRotate){if(this._initialRotations=[],!(autoRotate[0]instanceof Array))this._autoRotate=autoRotate=[autoRotate];for(i=autoRotate.length;--i>-1;){for(j=0;3>j;j++)p=autoRotate[i][j],this._func[p]="function"==typeof target[p]?target[p.indexOf("set")||"function"!=typeof target["get"+p.substr(3)]?p:"get"+p.substr(3)]:!1;p=autoRotate[i][2],this._initialRotations[i]=this._func[p]?this._func[p].call(this._target):this._target[p]}}return this._startRatio=tween.vars.runBackwards?1:0,!0},set:function(v){var segments=this._segCount,func=this._func,target=this._target,notStart=v!==this._startRatio,curIndex,inv,i,p,b,t,val,l,lengths,curSeg;if(!this._timeRes)curIndex=0>v?0:v>=1?segments-1:segments*v>>0,t=(v-curIndex*(1/segments))*segments;else{if(lengths=this._lengths,curSeg=this._curSeg,v*=this._length,i=this._li,v>this._l2&&segments-1>i){for(l=segments-1;l>i&&(this._l2=lengths[++i])<=v;);this._l1=lengths[i-1],this._li=i,this._curSeg=curSeg=this._segments[i],this._s2=curSeg[this._s1=this._si=0]}else if(v<this._l1&&i>0){for(;i>0&&(this._l1=lengths[--i])>=v;);if(0===i&&v<this._l1)this._l1=0;else i++;this._l2=lengths[i],this._li=i,this._curSeg=curSeg=this._segments[i],this._s1=curSeg[(this._si=curSeg.length-1)-1]||0,this._s2=curSeg[this._si]}if(curIndex=i,v-=this._l1,i=this._si,v>this._s2&&i<curSeg.length-1){for(l=curSeg.length-1;l>i&&(this._s2=curSeg[++i])<=v;);this._s1=curSeg[i-1],this._si=i}else if(v<this._s1&&i>0){for(;i>0&&(this._s1=curSeg[--i])>=v;);if(0===i&&v<this._s1)this._s1=0;else i++;this._s2=curSeg[i],this._si=i}t=(i+(v-this._s1)/(this._s2-this._s1))*this._prec}for(inv=1-t,i=this._props.length;--i>-1;){if(p=this._props[i],b=this._beziers[p][curIndex],val=(t*t*b.da+3*inv*(t*b.ca+inv*b.ba))*t+b.a,this._round[p])val=Math.round(val);if(func[p])target[p](val);else target[p]=val}if(this._autoRotate){var ar=this._autoRotate,b2,x1,y1,x2,y2,add,conv;for(i=ar.length;--i>-1;)if(p=ar[i][2],add=ar[i][3]||0,conv=ar[i][4]===!0?1:_RAD2DEG,b=this._beziers[ar[i][0]],b2=this._beziers[ar[i][1]],b&&b2)if(b=b[curIndex],b2=b2[curIndex],x1=b.a+(b.b-b.a)*t,x2=b.b+(b.c-b.b)*t,x1+=(x2-x1)*t,x2+=(b.c+(b.d-b.c)*t-x2)*t,y1=b2.a+(b2.b-b2.a)*t,y2=b2.b+(b2.c-b2.b)*t,y1+=(y2-y1)*t,y2+=(b2.c+(b2.d-b2.c)*t-y2)*t,val=notStart?Math.atan2(y2-y1,x2-x1)*conv+add:this._initialRotations[i],func[p])target[p](val);else target[p]=val}}}),p=BezierPlugin.prototype;BezierPlugin.bezierThrough=bezierThrough,BezierPlugin.cubicToQuadratic=cubicToQuadratic,BezierPlugin._autoCSS=!0,BezierPlugin.quadraticToCubic=function(a,b,c){return new Segment(a,(2*b+a)/3,(2*b+c)/3,c)},BezierPlugin._cssRegister=function(){var CSSPlugin=_globals.CSSPlugin;if(CSSPlugin){var _internals=CSSPlugin._internals,_parseToProxy=_internals._parseToProxy,_setPluginRatio=_internals._setPluginRatio,CSSPropTween=_internals.CSSPropTween;_internals._registerComplexSpecialProp("bezier",{parser:function(t,e,prop,cssp,pt,plugin){if(e instanceof Array)e={values:e};plugin=new BezierPlugin;var values=e.values,l=values.length-1,pluginValues=[],v={},i,p,data;if(0>l)return pt;for(i=0;l>=i;i++)data=_parseToProxy(t,values[i],cssp,pt,plugin,l!==i),pluginValues[i]=data.end;for(p in e)v[p]=e[p];if(v.values=pluginValues,pt=new CSSPropTween(t,"bezier",0,0,data.pt,2),pt.data=data,pt.plugin=plugin,pt.setRatio=_setPluginRatio,0===v.autoRotate)v.autoRotate=!0;if(v.autoRotate&&!(v.autoRotate instanceof Array))i=v.autoRotate===!0?0:Number(v.autoRotate),v.autoRotate=null!=data.end.left?[["left","top","rotation",i,!1]]:null!=data.end.x?[["x","y","rotation",i,!1]]:!1;if(v.autoRotate){if(!cssp._transform)cssp._enableTransforms(!1);data.autoRotate=cssp._target._gsTransform}return plugin._onInitTween(data.proxy,v,cssp._tween),pt}})}},p._roundProps=function(lookup,value){for(var op=this._overwriteProps,i=op.length;--i>-1;)if(lookup[op[i]]||lookup.bezier||lookup.bezierThrough)this._round[op[i]]=value},p._kill=function(lookup){var a=this._props,p,i;for(p in this._beziers)if(p in lookup)for(delete this._beziers[p],delete this._func[p],i=a.length;--i>-1;)if(a[i]===p)a.splice(i,1);return this._super._kill.call(this,lookup)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(TweenPlugin,TweenLite){var CSSPlugin=function(){TweenPlugin.call(this,"css"),this._overwriteProps.length=0,this.setRatio=CSSPlugin.prototype.setRatio},_globals=_gsScope._gsDefine.globals,_hasPriority,_suffixMap,_cs,_overwriteProps,_specialProps={},p=CSSPlugin.prototype=new TweenPlugin("css");p.constructor=CSSPlugin,CSSPlugin.version="1.18.0",CSSPlugin.API=2,CSSPlugin.defaultTransformPerspective=0,CSSPlugin.defaultSkewType="compensated",CSSPlugin.defaultSmoothOrigin=!0,p="px",CSSPlugin.suffixMap={top:p,right:p,bottom:p,left:p,width:p,height:p,fontSize:p,padding:p,margin:p,perspective:p,lineHeight:""};var _numExp=/(?:\d|\-\d|\.\d|\-\.\d)+/g,_relNumExp=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,_valuesExp=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,_NaNExp=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,_suffixExp=/(?:\d|\-|\+|=|#|\.)*/g,_opacityExp=/opacity *= *([^)]*)/i,_opacityValExp=/opacity:([^;]*)/i,_alphaFilterExp=/alpha\(opacity *=.+?\)/i,_rgbhslExp=/^(rgb|hsl)/,_capsExp=/([A-Z])/g,_camelExp=/-([a-z])/gi,_urlExp=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,_camelFunc=function(s,g){return g.toUpperCase()},_horizExp=/(?:Left|Right|Width)/i,_ieGetMatrixExp=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,_ieSetMatrixExp=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,_commasOutsideParenExp=/,(?=[^\)]*(?:\(|$))/gi,_DEG2RAD=Math.PI/180,_RAD2DEG=180/Math.PI,_forcePT={},_doc=document,_createElement=function(type){return _doc.createElementNS?_doc.createElementNS("http://www.w3.org/1999/xhtml",type):_doc.createElement(type)},_tempDiv=_createElement("div"),_tempImg=_createElement("img"),_internals=CSSPlugin._internals={_specialProps:_specialProps},_agent=navigator.userAgent,_autoRound,_reqSafariFix,_isSafari,_isFirefox,_isSafariLT6,_ieVers,_supportsOpacity=function(){var i=_agent.indexOf("Android"),a=_createElement("a");if(_isSafari=-1!==_agent.indexOf("Safari")&&-1===_agent.indexOf("Chrome")&&(-1===i||Number(_agent.substr(i+8,1))>3),_isSafariLT6=_isSafari&&Number(_agent.substr(_agent.indexOf("Version/")+8,1))<6,_isFirefox=-1!==_agent.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(_agent)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(_agent))_ieVers=parseFloat(RegExp.$1);if(!a)return!1;else return a.style.cssText="top:1px;opacity:.55;",/^0.55/.test(a.style.opacity)}(),_getIEOpacity=function(v){return _opacityExp.test("string"==typeof v?v:(v.currentStyle?v.currentStyle.filter:v.style.filter)||"")?parseFloat(RegExp.$1)/100:1},_log=function(s){if(window.console)console.log(s)},_prefixCSS="",_prefix="",_checkPropPrefix=function(p,e){e=e||_tempDiv;var s=e.style,a,i;if(void 0!==s[p])return p;for(p=p.charAt(0).toUpperCase()+p.substr(1),a=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===s[a[i]+p];);if(i>=0)return _prefix=3===i?"ms":a[i],_prefixCSS="-"+_prefix.toLowerCase()+"-",_prefix+p;else return null},_getComputedStyle=_doc.defaultView?_doc.defaultView.getComputedStyle:function(){},_getStyle=CSSPlugin.getStyle=function(t,p,cs,calc,dflt){var rv;if(!_supportsOpacity)if("opacity"===p)return _getIEOpacity(t);if(!calc&&t.style[p])rv=t.style[p];else if(cs=cs||_getComputedStyle(t))rv=cs[p]||cs.getPropertyValue(p)||cs.getPropertyValue(p.replace(_capsExp,"-$1").toLowerCase());else if(t.currentStyle)rv=t.currentStyle[p];return null!=dflt&&(!rv||"none"===rv||"auto"===rv||"auto auto"===rv)?dflt:rv},_convertToPixels=_internals.convertToPixels=function(t,p,v,sfx,recurse){if("px"===sfx||!sfx)return v;if("auto"===sfx||!v)return 0;var horiz=_horizExp.test(p),node=t,style=_tempDiv.style,neg=0>v,pix,cache,time;if(neg)v=-v;if("%"===sfx&&-1!==p.indexOf("border"))pix=v/100*(horiz?t.clientWidth:t.clientHeight);else{if(style.cssText="border:0 solid red;position:"+_getStyle(t,"position")+";line-height:0;","%"===sfx||!node.appendChild||"v"===sfx.charAt(0)||"rem"===sfx){if(node=t.parentNode||_doc.body,cache=node._gsCache,time=TweenLite.ticker.frame,cache&&horiz&&cache.time===time)return cache.width*v/100;style[horiz?"width":"height"]=v+sfx}else style[horiz?"borderLeftWidth":"borderTopWidth"]=v+sfx;if(node.appendChild(_tempDiv),pix=parseFloat(_tempDiv[horiz?"offsetWidth":"offsetHeight"]),node.removeChild(_tempDiv),horiz&&"%"===sfx&&CSSPlugin.cacheWidths!==!1)cache=node._gsCache=node._gsCache||{},cache.time=time,cache.width=pix/v*100;if(0===pix&&!recurse)pix=_convertToPixels(t,p,v,sfx,!0)}return neg?-pix:pix},_calculateOffset=_internals.calculateOffset=function(t,p,cs){if("absolute"!==_getStyle(t,"position",cs))return 0;var dim="left"===p?"Left":"Top",v=_getStyle(t,"margin"+dim,cs);return t["offset"+dim]-(_convertToPixels(t,p,parseFloat(v),v.replace(_suffixExp,""))||0)},_getAllStyles=function(t,cs){var s={},i,tr,p;if(cs=cs||_getComputedStyle(t,null)){if(i=cs.length){for(;--i>-1;)if(p=cs[i],-1===p.indexOf("-transform")||_transformPropCSS===p)s[p.replace(_camelExp,_camelFunc)]=cs.getPropertyValue(p)}else for(i in cs)if(-1===i.indexOf("Transform")||_transformProp===i)s[i]=cs[i]}else if(cs=t.currentStyle||t.style)for(i in cs)if("string"==typeof i&&void 0===s[i])s[i.replace(_camelExp,_camelFunc)]=cs[i];if(!_supportsOpacity)s.opacity=_getIEOpacity(t);if(tr=_getTransform(t,cs,!1),s.rotation=tr.rotation,s.skewX=tr.skewX,s.scaleX=tr.scaleX,s.scaleY=tr.scaleY,s.x=tr.x,s.y=tr.y,_supports3D)s.z=tr.z,s.rotationX=tr.rotationX,s.rotationY=tr.rotationY,s.scaleZ=tr.scaleZ;if(s.filters)delete s.filters;return s},_cssDif=function(t,s1,s2,vars,forceLookup){var difs={},style=t.style,val,p,mpt;for(p in s2)if("cssText"!==p)if("length"!==p)if(isNaN(p))if(s1[p]!==(val=s2[p])||forceLookup&&forceLookup[p])if(-1===p.indexOf("Origin"))if("number"==typeof val||"string"==typeof val)if(difs[p]="auto"===val&&("left"===p||"top"===p)?_calculateOffset(t,p):(""===val||"auto"===val||"none"===val)&&"string"==typeof s1[p]&&""!==s1[p].replace(_NaNExp,"")?0:val,void 0!==style[p])mpt=new MiniPropTween(style,p,style[p],mpt);if(vars)for(p in vars)if("className"!==p)difs[p]=vars[p];return{difs:difs,firstMPT:mpt}},_dimensions={width:["Left","Right"],height:["Top","Bottom"]},_margins=["marginLeft","marginRight","marginTop","marginBottom"],_getDimension=function(t,p,cs){var v=parseFloat("width"===p?t.offsetWidth:t.offsetHeight),a=_dimensions[p],i=a.length;for(cs=cs||_getComputedStyle(t,null);--i>-1;)v-=parseFloat(_getStyle(t,"padding"+a[i],cs,!0))||0,v-=parseFloat(_getStyle(t,"border"+a[i]+"Width",cs,!0))||0;return v},_parsePosition=function(v,recObj){if("contain"===v||"auto"===v||"auto auto"===v)return v+" ";if(null==v||""===v)v="0 0";var a=v.split(" "),x=-1!==v.indexOf("left")?"0%":-1!==v.indexOf("right")?"100%":a[0],y=-1!==v.indexOf("top")?"0%":-1!==v.indexOf("bottom")?"100%":a[1];if(null==y)y="center"===x?"50%":"0";else if("center"===y)y="50%";if("center"===x||isNaN(parseFloat(x))&&-1===(x+"").indexOf("="))x="50%";if(v=x+" "+y+(a.length>2?" "+a[2]:""),recObj)recObj.oxp=-1!==x.indexOf("%"),recObj.oyp=-1!==y.indexOf("%"),recObj.oxr="="===x.charAt(1),recObj.oyr="="===y.charAt(1),recObj.ox=parseFloat(x.replace(_NaNExp,"")),recObj.oy=parseFloat(y.replace(_NaNExp,"")),recObj.v=v;return recObj||v},_parseChange=function(e,b){return"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(b)},_parseVal=function(v,d){return null==v?d:"string"==typeof v&&"="===v.charAt(1)?parseInt(v.charAt(0)+"1",10)*parseFloat(v.substr(2))+d:parseFloat(v)},_parseAngle=function(v,d,p,directionalEnd){var min=1e-6,cap,split,dif,result,isRelative;if(null==v)result=d;else if("number"==typeof v)result=v;else{if(cap=360,split=v.split("_"),isRelative="="===v.charAt(1),dif=(isRelative?parseInt(v.charAt(0)+"1",10)*parseFloat(split[0].substr(2)):parseFloat(split[0]))*(-1===v.indexOf("rad")?1:_RAD2DEG)-(isRelative?0:d),split.length){if(directionalEnd)directionalEnd[p]=d+dif;if(-1!==v.indexOf("short"))if(dif%=cap,dif!==dif%(cap/2))dif=0>dif?dif+cap:dif-cap;if(-1!==v.indexOf("_cw")&&0>dif)dif=(dif+9999999999*cap)%cap-(dif/cap|0)*cap;else if(-1!==v.indexOf("ccw")&&dif>0)dif=(dif-9999999999*cap)%cap-(dif/cap|0)*cap}result=d+dif}if(min>result&&result>-min)result=0;return result},_colorLookup={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]},_hue=function(h,m1,m2){return h=0>h?h+1:h>1?h-1:h,255*(1>6*h?m1+(m2-m1)*h*6:.5>h?m2:2>3*h?m1+(m2-m1)*(2/3-h)*6:m1)+.5|0},_parseColor=CSSPlugin.parseColor=function(v,toHSL){var a,r,g,b,h,s,l,max,min,d,wasHSL;if(!v)a=_colorLookup.black;else if("number"==typeof v)a=[v>>16,v>>8&255,255&v];else{if(","===v.charAt(v.length-1))v=v.substr(0,v.length-1);if(_colorLookup[v])a=_colorLookup[v];else if("#"===v.charAt(0)){if(4===v.length)r=v.charAt(1),g=v.charAt(2),b=v.charAt(3),v="#"+r+r+g+g+b+b;v=parseInt(v.substr(1),16),a=[v>>16,v>>8&255,255&v]}else if("hsl"===v.substr(0,3)){if(a=wasHSL=v.match(_numExp),!toHSL){if(h=Number(a[0])%360/360,s=Number(a[1])/100,l=Number(a[2])/100,g=.5>=l?l*(s+1):l+s-l*s,r=2*l-g,a.length>3)a[3]=Number(v[3]);a[0]=_hue(h+1/3,r,g),a[1]=_hue(h,r,g),a[2]=_hue(h-1/3,r,g)}else if(-1!==v.indexOf("="))return v.match(_relNumExp)}else a=v.match(_numExp)||_colorLookup.transparent;if(a[0]=Number(a[0]),a[1]=Number(a[1]),a[2]=Number(a[2]),a.length>3)a[3]=Number(a[3])}if(toHSL&&!wasHSL){if(r=a[0]/255,g=a[1]/255,b=a[2]/255,max=Math.max(r,g,b),min=Math.min(r,g,b),l=(max+min)/2,max===min)h=s=0;else d=max-min,s=l>.5?d/(2-max-min):d/(max+min),h=max===r?(g-b)/d+(b>g?6:0):max===g?(b-r)/d+2:(r-g)/d+4,h*=60;a[0]=h+.5|0,a[1]=100*s+.5|0,a[2]=100*l+.5|0}return a},_formatColors=function(s,toHSL){var colors=s.match(_colorExp)||[],charIndex=0,parsed=colors.length?"":s,i,color,temp;for(i=0;i<colors.length;i++){if(color=colors[i],temp=s.substr(charIndex,s.indexOf(color,charIndex)-charIndex),charIndex+=temp.length+color.length,color=_parseColor(color,toHSL),3===color.length)color.push(1);parsed+=temp+(toHSL?"hsla("+color[0]+","+color[1]+"%,"+color[2]+"%,"+color[3]:"rgba("+color.join(","))+")"}return parsed},_colorExp="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(p in _colorLookup)_colorExp+="|"+p+"\\b";if(_colorExp=new RegExp(_colorExp+")","gi"),CSSPlugin.colorStringFilter=function(a){var combined=a[0]+a[1],toHSL;if(_colorExp.lastIndex=0,_colorExp.test(combined))toHSL=-1!==combined.indexOf("hsl(")||-1!==combined.indexOf("hsla("),a[0]=_formatColors(a[0],toHSL),a[1]=_formatColors(a[1],toHSL)},!TweenLite.defaultStringFilter)TweenLite.defaultStringFilter=CSSPlugin.colorStringFilter;var _getFormatter=function(dflt,clr,collapsible,multi){if(null==dflt)return function(v){return v};var dColor=clr?(dflt.match(_colorExp)||[""])[0]:"",dVals=dflt.split(dColor).join("").match(_valuesExp)||[],pfx=dflt.substr(0,dflt.indexOf(dVals[0])),sfx=")"===dflt.charAt(dflt.length-1)?")":"",delim=-1!==dflt.indexOf(" ")?" ":",",numVals=dVals.length,dSfx=numVals>0?dVals[0].replace(_numExp,""):"",formatter;if(!numVals)return function(v){return v};if(clr)return formatter=function(v){var color,vals,i,a;if("number"==typeof v)v+=dSfx;else if(multi&&_commasOutsideParenExp.test(v)){for(a=v.replace(_commasOutsideParenExp,"|").split("|"),i=0;i<a.length;i++)a[i]=formatter(a[i]);return a.join(",")}if(color=(v.match(_colorExp)||[dColor])[0],vals=v.split(color).join("").match(_valuesExp)||[],i=vals.length,numVals>i--)for(;++i<numVals;)vals[i]=collapsible?vals[(i-1)/2|0]:dVals[i];return pfx+vals.join(delim)+delim+color+sfx+(-1!==v.indexOf("inset")?" inset":"")},formatter;else return formatter=function(v){var vals,a,i;if("number"==typeof v)v+=dSfx;else if(multi&&_commasOutsideParenExp.test(v)){for(a=v.replace(_commasOutsideParenExp,"|").split("|"),i=0;i<a.length;i++)a[i]=formatter(a[i]);return a.join(",")}if(vals=v.match(_valuesExp)||[],i=vals.length,numVals>i--)for(;++i<numVals;)vals[i]=collapsible?vals[(i-1)/2|0]:dVals[i];return pfx+vals.join(delim)+sfx},formatter},_getEdgeParser=function(props){return props=props.split(","),function(t,e,p,cssp,pt,plugin,vars){var a=(e+"").split(" "),i;for(vars={},i=0;4>i;i++)vars[props[i]]=a[i]=a[i]||a[(i-1)/2>>0];return cssp.parse(t,vars,pt,plugin)}},_setPluginRatio=_internals._setPluginRatio=function(v){this.plugin.setRatio(v);for(var d=this.data,proxy=d.proxy,mpt=d.firstMPT,min=1e-6,val,pt,i,str;mpt;){if(val=proxy[mpt.v],mpt.r)val=Math.round(val);else if(min>val&&val>-min)val=0;mpt.t[mpt.p]=val,mpt=mpt._next}if(d.autoRotate)d.autoRotate.rotation=proxy.rotation;if(1===v)for(mpt=d.firstMPT;mpt;){if(pt=mpt.t,!pt.type)pt.e=pt.s+pt.xs0;else if(1===pt.type){for(str=pt.xs0+pt.s+pt.xs1,
i=1;i<pt.l;i++)str+=pt["xn"+i]+pt["xs"+(i+1)];pt.e=str}mpt=mpt._next}},MiniPropTween=function(t,p,v,next,r){if(this.t=t,this.p=p,this.v=v,this.r=r,next)next._prev=this,this._next=next},_parseToProxy=_internals._parseToProxy=function(t,vars,cssp,pt,plugin,shallow){var bpt=pt,start={},end={},transform=cssp._transform,oldForce=_forcePT,i,p,xp,mpt,firstPT;if(cssp._transform=null,_forcePT=vars,pt=firstPT=cssp.parse(t,vars,pt,plugin),_forcePT=oldForce,shallow)if(cssp._transform=transform,bpt)if(bpt._prev=null,bpt._prev)bpt._prev._next=null;for(;pt&&pt!==bpt;){if(pt.type<=1){if(p=pt.p,end[p]=pt.s+pt.c,start[p]=pt.s,!shallow)mpt=new MiniPropTween(pt,"s",p,mpt,pt.r),pt.c=0;if(1===pt.type)for(i=pt.l;--i>0;)if(xp="xn"+i,p=pt.p+"_"+xp,end[p]=pt.data[xp],start[p]=pt[xp],!shallow)mpt=new MiniPropTween(pt,xp,p,mpt,pt.rxp[xp])}pt=pt._next}return{proxy:start,end:end,firstMPT:mpt,pt:firstPT}},CSSPropTween=_internals.CSSPropTween=function(t,p,s,c,next,type,n,r,pr,b,e){if(this.t=t,this.p=p,this.s=s,this.c=c,this.n=n||p,!(t instanceof CSSPropTween))_overwriteProps.push(this.n);if(this.r=r,this.type=type||0,pr)this.pr=pr,_hasPriority=!0;if(this.b=void 0===b?s:b,this.e=void 0===e?s+c:e,next)this._next=next,next._prev=this},_addNonTweeningNumericPT=function(target,prop,start,end,next,overwriteProp){var pt=new CSSPropTween(target,prop,start,end-start,next,-1,overwriteProp);return pt.b=start,pt.e=pt.xs0=end,pt},_parseComplex=CSSPlugin.parseComplex=function(t,p,b,e,clrs,dflt,pt,pr,plugin,setRatio){b=b||dflt||"",pt=new CSSPropTween(t,p,0,0,pt,setRatio?2:1,null,!1,pr,b,e),e+="";var ba=b.split(", ").join(",").split(" "),ea=e.split(", ").join(",").split(" "),l=ba.length,autoRound=_autoRound!==!1,i,xi,ni,bv,ev,bnums,enums,bn,hasAlpha,temp,cv,str,useHSL;if(-1!==e.indexOf(",")||-1!==b.indexOf(","))ba=ba.join(" ").replace(_commasOutsideParenExp,", ").split(" "),ea=ea.join(" ").replace(_commasOutsideParenExp,", ").split(" "),l=ba.length;if(l!==ea.length)ba=(dflt||"").split(" "),l=ba.length;for(pt.plugin=plugin,pt.setRatio=setRatio,_colorExp.lastIndex=0,i=0;l>i;i++)if(bv=ba[i],ev=ea[i],bn=parseFloat(bv),bn||0===bn)pt.appendXtra("",bn,_parseChange(ev,bn),ev.replace(_relNumExp,""),autoRound&&-1!==ev.indexOf("px"),!0);else if(clrs&&_colorExp.test(bv)){if(str=","===ev.charAt(ev.length-1)?"),":")",useHSL=-1!==ev.indexOf("hsl")&&_supportsOpacity,bv=_parseColor(bv,useHSL),ev=_parseColor(ev,useHSL),hasAlpha=bv.length+ev.length>6,hasAlpha&&!_supportsOpacity&&0===ev[3])pt["xs"+pt.l]+=pt.l?" transparent":"transparent",pt.e=pt.e.split(ea[i]).join("transparent");else{if(!_supportsOpacity)hasAlpha=!1;if(useHSL)pt.appendXtra(hasAlpha?"hsla(":"hsl(",bv[0],_parseChange(ev[0],bv[0]),",",!1,!0).appendXtra("",bv[1],_parseChange(ev[1],bv[1]),"%,",!1).appendXtra("",bv[2],_parseChange(ev[2],bv[2]),hasAlpha?"%,":"%"+str,!1);else pt.appendXtra(hasAlpha?"rgba(":"rgb(",bv[0],ev[0]-bv[0],",",!0,!0).appendXtra("",bv[1],ev[1]-bv[1],",",!0).appendXtra("",bv[2],ev[2]-bv[2],hasAlpha?",":str,!0);if(hasAlpha)bv=bv.length<4?1:bv[3],pt.appendXtra("",bv,(ev.length<4?1:ev[3])-bv,str,!1)}_colorExp.lastIndex=0}else if(bnums=bv.match(_numExp),!bnums)pt["xs"+pt.l]+=pt.l?" "+bv:bv;else{if(enums=ev.match(_relNumExp),!enums||enums.length!==bnums.length)return pt;for(ni=0,xi=0;xi<bnums.length;xi++)cv=bnums[xi],temp=bv.indexOf(cv,ni),pt.appendXtra(bv.substr(ni,temp-ni),Number(cv),_parseChange(enums[xi],cv),"",autoRound&&"px"===bv.substr(temp+cv.length,2),0===xi),ni=temp+cv.length;pt["xs"+pt.l]+=bv.substr(ni)}if(-1!==e.indexOf("="))if(pt.data){for(str=pt.xs0+pt.data.s,i=1;i<pt.l;i++)str+=pt["xs"+i]+pt.data["xn"+i];pt.e=str+pt["xs"+i]}if(!pt.l)pt.type=-1,pt.xs0=pt.e;return pt.xfirst||pt},i=9;for(p=CSSPropTween.prototype,p.l=p.pr=0;--i>0;)p["xn"+i]=0,p["xs"+i]="";p.xs0="",p._next=p._prev=p.xfirst=p.data=p.plugin=p.setRatio=p.rxp=null,p.appendXtra=function(pfx,s,c,sfx,r,pad){var pt=this,l=pt.l;if(pt["xs"+l]+=pad&&l?" "+pfx:pfx||"",!c)if(0!==l&&!pt.plugin)return pt["xs"+l]+=s+(sfx||""),pt;if(pt.l++,pt.type=pt.setRatio?2:1,pt["xs"+pt.l]=sfx||"",l>0){if(pt.data["xn"+l]=s+c,pt.rxp["xn"+l]=r,pt["xn"+l]=s,!pt.plugin)pt.xfirst=new CSSPropTween(pt,"xn"+l,s,c,pt.xfirst||pt,0,pt.n,r,pt.pr),pt.xfirst.xs0=0;return pt}return pt.data={s:s+c},pt.rxp={},pt.s=s,pt.c=c,pt.r=r,pt};var SpecialProp=function(p,options){if(options=options||{},this.p=options.prefix?_checkPropPrefix(p)||p:p,_specialProps[p]=_specialProps[this.p]=this,this.format=options.formatter||_getFormatter(options.defaultValue,options.color,options.collapsible,options.multi),options.parser)this.parse=options.parser;this.clrs=options.color,this.multi=options.multi,this.keyword=options.keyword,this.dflt=options.defaultValue,this.pr=options.priority||0},_registerComplexSpecialProp=_internals._registerComplexSpecialProp=function(p,options,defaults){if("object"!=typeof options)options={parser:defaults};var a=p.split(","),d=options.defaultValue,i,temp;for(defaults=defaults||[d],i=0;i<a.length;i++)options.prefix=0===i&&options.prefix,options.defaultValue=defaults[i]||d,temp=new SpecialProp(a[i],options)},_registerPluginProp=function(p){if(!_specialProps[p]){var pluginName=p.charAt(0).toUpperCase()+p.substr(1)+"Plugin";_registerComplexSpecialProp(p,{parser:function(t,e,p,cssp,pt,plugin,vars){var pluginClass=_globals.com.greensock.plugins[pluginName];if(!pluginClass)return _log("Error: "+pluginName+" js file not loaded."),pt;else return pluginClass._cssRegister(),_specialProps[p].parse(t,e,p,cssp,pt,plugin,vars)}})}};p=SpecialProp.prototype,p.parseComplex=function(t,b,e,pt,plugin,setRatio){var kwd=this.keyword,i,ba,ea,l,bi,ei;if(this.multi)if(_commasOutsideParenExp.test(e)||_commasOutsideParenExp.test(b))ba=b.replace(_commasOutsideParenExp,"|").split("|"),ea=e.replace(_commasOutsideParenExp,"|").split("|");else if(kwd)ba=[b],ea=[e];if(ea){for(l=ea.length>ba.length?ea.length:ba.length,i=0;l>i;i++)if(b=ba[i]=ba[i]||this.dflt,e=ea[i]=ea[i]||this.dflt,kwd)if(bi=b.indexOf(kwd),ei=e.indexOf(kwd),bi!==ei)if(-1===ei)ba[i]=ba[i].split(kwd).join("");else if(-1===bi)ba[i]+=" "+kwd;b=ba.join(", "),e=ea.join(", ")}return _parseComplex(t,this.p,b,e,this.clrs,this.dflt,pt,this.pr,plugin,setRatio)},p.parse=function(t,e,p,cssp,pt,plugin,vars){return this.parseComplex(t.style,this.format(_getStyle(t,this.p,_cs,!1,this.dflt)),this.format(e),pt,plugin)},CSSPlugin.registerSpecialProp=function(name,onInitTween,priority){_registerComplexSpecialProp(name,{parser:function(t,e,p,cssp,pt,plugin,vars){var rv=new CSSPropTween(t,p,0,0,pt,2,p,!1,priority);return rv.plugin=plugin,rv.setRatio=onInitTween(t,e,cssp._tween,p),rv},priority:priority})},CSSPlugin.useSVGTransformAttr=_isSafari||_isFirefox;var _transformProps="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),_transformProp=_checkPropPrefix("transform"),_transformPropCSS=_prefixCSS+"transform",_transformOriginProp=_checkPropPrefix("transformOrigin"),_supports3D=null!==_checkPropPrefix("perspective"),Transform=_internals.Transform=function(){this.perspective=parseFloat(CSSPlugin.defaultTransformPerspective)||0,this.force3D=CSSPlugin.defaultForce3D===!1||!_supports3D?!1:CSSPlugin.defaultForce3D||"auto"},_SVGElement=window.SVGElement,_useSVGTransformAttr,_createSVG=function(type,container,attributes){var element=_doc.createElementNS("http://www.w3.org/2000/svg",type),reg=/([a-z])([A-Z])/g,p;for(p in attributes)element.setAttributeNS(null,p.replace(reg,"$1-$2").toLowerCase(),attributes[p]);return container.appendChild(element),element},_docElement=_doc.documentElement,_forceSVGTransformAttr=function(){var force=_ieVers||/Android/i.test(_agent)&&!window.chrome,svg,rect,width;if(_doc.createElementNS&&!force)svg=_createSVG("svg",_docElement),rect=_createSVG("rect",svg,{width:100,height:50,x:100}),width=rect.getBoundingClientRect().width,rect.style[_transformOriginProp]="50% 50%",rect.style[_transformProp]="scaleX(0.5)",force=width===rect.getBoundingClientRect().width&&!(_isFirefox&&_supports3D),_docElement.removeChild(svg);return force}(),_parseSVGOrigin=function(e,local,decoratee,absolute,smoothOrigin){var tm=e._gsTransform,m=_getMatrix(e,!0),v,x,y,xOrigin,yOrigin,a,b,c,d,tx,ty,determinant,xOriginOld,yOriginOld;if(tm)xOriginOld=tm.xOrigin,yOriginOld=tm.yOrigin;if(!absolute||(v=absolute.split(" ")).length<2)b=e.getBBox(),local=_parsePosition(local).split(" "),v=[(-1!==local[0].indexOf("%")?parseFloat(local[0])/100*b.width:parseFloat(local[0]))+b.x,(-1!==local[1].indexOf("%")?parseFloat(local[1])/100*b.height:parseFloat(local[1]))+b.y];if(decoratee.xOrigin=xOrigin=parseFloat(v[0]),decoratee.yOrigin=yOrigin=parseFloat(v[1]),absolute&&m!==_identity2DMatrix)a=m[0],b=m[1],c=m[2],d=m[3],tx=m[4],ty=m[5],determinant=a*d-b*c,x=xOrigin*(d/determinant)+yOrigin*(-c/determinant)+(c*ty-d*tx)/determinant,y=xOrigin*(-b/determinant)+yOrigin*(a/determinant)-(a*ty-b*tx)/determinant,xOrigin=decoratee.xOrigin=v[0]=x,yOrigin=decoratee.yOrigin=v[1]=y;if(tm)if(smoothOrigin||smoothOrigin!==!1&&CSSPlugin.defaultSmoothOrigin!==!1)x=xOrigin-xOriginOld,y=yOrigin-yOriginOld,tm.xOffset+=x*m[0]+y*m[2]-x,tm.yOffset+=x*m[1]+y*m[3]-y;else tm.xOffset=tm.yOffset=0;e.setAttribute("data-svg-origin",v.join(" "))},_isSVG=function(e){return!!(_SVGElement&&"function"==typeof e.getBBox&&e.getCTM&&(!e.parentNode||e.parentNode.getBBox&&e.parentNode.getCTM))},_identity2DMatrix=[1,0,0,1,0,0],_getMatrix=function(e,force2D){var tm=e._gsTransform||new Transform,rnd=1e5,isDefault,s,m,n,dec;if(_transformProp)s=_getStyle(e,_transformPropCSS,null,!0);else if(e.currentStyle)s=e.currentStyle.filter.match(_ieGetMatrixExp),s=s&&4===s.length?[s[0].substr(4),Number(s[2].substr(4)),Number(s[1].substr(4)),s[3].substr(4),tm.x||0,tm.y||0].join(","):"";if(isDefault=!s||"none"===s||"matrix(1, 0, 0, 1, 0, 0)"===s,tm.svg||e.getBBox&&_isSVG(e)){if(isDefault&&-1!==(e.style[_transformProp]+"").indexOf("matrix"))s=e.style[_transformProp],isDefault=0;if(m=e.getAttribute("transform"),isDefault&&m)if(-1!==m.indexOf("matrix"))s=m,isDefault=0;else if(-1!==m.indexOf("translate"))s="matrix(1,0,0,1,"+m.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",isDefault=0}if(isDefault)return _identity2DMatrix;for(m=(s||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],i=m.length;--i>-1;)n=Number(m[i]),m[i]=(dec=n-(n|=0))?(dec*rnd+(0>dec?-.5:.5)|0)/rnd+n:n;return force2D&&m.length>6?[m[0],m[1],m[4],m[5],m[12],m[13]]:m},_getTransform=_internals.getTransform=function(t,cs,rec,parse){if(t._gsTransform&&rec&&!parse)return t._gsTransform;var tm=rec?t._gsTransform||new Transform:new Transform,invX=tm.scaleX<0,min=2e-5,rnd=1e5,zOrigin=_supports3D?parseFloat(_getStyle(t,_transformOriginProp,cs,!1,"0 0 0").split(" ")[2])||tm.zOrigin||0:0,defaultTransformPerspective=parseFloat(CSSPlugin.defaultTransformPerspective)||0,m,i,scaleX,scaleY,rotation,skewX;if(tm.svg=!(!t.getBBox||!_isSVG(t)),tm.svg)_parseSVGOrigin(t,_getStyle(t,_transformOriginProp,_cs,!1,"50% 50%")+"",tm,t.getAttribute("data-svg-origin")),_useSVGTransformAttr=CSSPlugin.useSVGTransformAttr||_forceSVGTransformAttr;if(m=_getMatrix(t),m!==_identity2DMatrix){if(16===m.length){var a11=m[0],a21=m[1],a31=m[2],a41=m[3],a12=m[4],a22=m[5],a32=m[6],a42=m[7],a13=m[8],a23=m[9],a33=m[10],a14=m[12],a24=m[13],a34=m[14],a43=m[11],angle=Math.atan2(a32,a33),t1,t2,t3,t4,cos,sin;if(tm.zOrigin)a34=-tm.zOrigin,a14=a13*a34-m[12],a24=a23*a34-m[13],a34=a33*a34+tm.zOrigin-m[14];if(tm.rotationX=angle*_RAD2DEG,angle)cos=Math.cos(-angle),sin=Math.sin(-angle),t1=a12*cos+a13*sin,t2=a22*cos+a23*sin,t3=a32*cos+a33*sin,a13=a12*-sin+a13*cos,a23=a22*-sin+a23*cos,a33=a32*-sin+a33*cos,a43=a42*-sin+a43*cos,a12=t1,a22=t2,a32=t3;if(angle=Math.atan2(a13,a33),tm.rotationY=angle*_RAD2DEG,angle)cos=Math.cos(-angle),sin=Math.sin(-angle),t1=a11*cos-a13*sin,t2=a21*cos-a23*sin,t3=a31*cos-a33*sin,a23=a21*sin+a23*cos,a33=a31*sin+a33*cos,a43=a41*sin+a43*cos,a11=t1,a21=t2,a31=t3;if(angle=Math.atan2(a21,a11),tm.rotation=angle*_RAD2DEG,angle)cos=Math.cos(-angle),sin=Math.sin(-angle),a11=a11*cos+a12*sin,t2=a21*cos+a22*sin,a22=a21*-sin+a22*cos,a32=a31*-sin+a32*cos,a21=t2;if(tm.rotationX&&Math.abs(tm.rotationX)+Math.abs(tm.rotation)>359.9)tm.rotationX=tm.rotation=0,tm.rotationY+=180;if(tm.scaleX=(Math.sqrt(a11*a11+a21*a21)*rnd+.5|0)/rnd,tm.scaleY=(Math.sqrt(a22*a22+a23*a23)*rnd+.5|0)/rnd,tm.scaleZ=(Math.sqrt(a32*a32+a33*a33)*rnd+.5|0)/rnd,tm.skewX=0,tm.perspective=a43?1/(0>a43?-a43:a43):0,tm.x=a14,tm.y=a24,tm.z=a34,tm.svg)tm.x-=tm.xOrigin-(tm.xOrigin*a11-tm.yOrigin*a12),tm.y-=tm.yOrigin-(tm.yOrigin*a21-tm.xOrigin*a22)}else if((!_supports3D||parse||!m.length||tm.x!==m[4]||tm.y!==m[5]||!tm.rotationX&&!tm.rotationY)&&(void 0===tm.x||"none"!==_getStyle(t,"display",cs))){var k=m.length>=6,a=k?m[0]:1,b=m[1]||0,c=m[2]||0,d=k?m[3]:1;if(tm.x=m[4]||0,tm.y=m[5]||0,scaleX=Math.sqrt(a*a+b*b),scaleY=Math.sqrt(d*d+c*c),rotation=a||b?Math.atan2(b,a)*_RAD2DEG:tm.rotation||0,skewX=c||d?Math.atan2(c,d)*_RAD2DEG+rotation:tm.skewX||0,Math.abs(skewX)>90&&Math.abs(skewX)<270)if(invX)scaleX*=-1,skewX+=0>=rotation?180:-180,rotation+=0>=rotation?180:-180;else scaleY*=-1,skewX+=0>=skewX?180:-180;if(tm.scaleX=scaleX,tm.scaleY=scaleY,tm.rotation=rotation,tm.skewX=skewX,_supports3D)tm.rotationX=tm.rotationY=tm.z=0,tm.perspective=defaultTransformPerspective,tm.scaleZ=1;if(tm.svg)tm.x-=tm.xOrigin-(tm.xOrigin*a+tm.yOrigin*c),tm.y-=tm.yOrigin-(tm.xOrigin*b+tm.yOrigin*d)}tm.zOrigin=zOrigin;for(i in tm)if(tm[i]<min)if(tm[i]>-min)tm[i]=0}if(rec)if(t._gsTransform=tm,tm.svg)if(_useSVGTransformAttr&&t.style[_transformProp])TweenLite.delayedCall(.001,function(){_removeProp(t.style,_transformProp)});else if(!_useSVGTransformAttr&&t.getAttribute("transform"))TweenLite.delayedCall(.001,function(){t.removeAttribute("transform")});return tm},_setIETransformRatio=function(v){var t=this.data,ang=-t.rotation*_DEG2RAD,skew=ang+t.skewX*_DEG2RAD,rnd=1e5,a=(Math.cos(ang)*t.scaleX*rnd|0)/rnd,b=(Math.sin(ang)*t.scaleX*rnd|0)/rnd,c=(Math.sin(skew)*-t.scaleY*rnd|0)/rnd,d=(Math.cos(skew)*t.scaleY*rnd|0)/rnd,style=this.t.style,cs=this.t.currentStyle,filters,val;if(cs){val=b,b=-c,c=-val,filters=cs.filter,style.filter="";var w=this.t.offsetWidth,h=this.t.offsetHeight,clip="absolute"!==cs.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+b+", M21="+c+", M22="+d,ox=t.x+w*t.xPercent/100,oy=t.y+h*t.yPercent/100,dx,dy;if(null!=t.ox)dx=(t.oxp?w*t.ox*.01:t.ox)-w/2,dy=(t.oyp?h*t.oy*.01:t.oy)-h/2,ox+=dx-(dx*a+dy*b),oy+=dy-(dx*c+dy*d);if(!clip)m+=", sizingMethod='auto expand')";else dx=w/2,dy=h/2,m+=", Dx="+(dx-(dx*a+dy*b)+ox)+", Dy="+(dy-(dx*c+dy*d)+oy)+")";if(-1!==filters.indexOf("DXImageTransform.Microsoft.Matrix("))style.filter=filters.replace(_ieSetMatrixExp,m);else style.filter=m+" "+filters;if(0===v||1===v)if(1===a)if(0===b)if(0===c)if(1===d)if(!clip||-1!==m.indexOf("Dx=0, Dy=0"))if(!_opacityExp.test(filters)||100===parseFloat(RegExp.$1))if(-1===filters.indexOf("gradient("&&filters.indexOf("Alpha")))style.removeAttribute("filter");if(!clip){var mult=8>_ieVers?1:-1,marg,prop,dif;for(dx=t.ieOffsetX||0,dy=t.ieOffsetY||0,t.ieOffsetX=Math.round((w-((0>a?-a:a)*w+(0>b?-b:b)*h))/2+ox),t.ieOffsetY=Math.round((h-((0>d?-d:d)*h+(0>c?-c:c)*w))/2+oy),i=0;4>i;i++){if(prop=_margins[i],marg=cs[prop],val=-1!==marg.indexOf("px")?parseFloat(marg):_convertToPixels(this.t,prop,parseFloat(marg),marg.replace(_suffixExp,""))||0,val!==t[prop])dif=2>i?-t.ieOffsetX:-t.ieOffsetY;else dif=2>i?dx-t.ieOffsetX:dy-t.ieOffsetY;style[prop]=(t[prop]=Math.round(val-dif*(0===i||2===i?1:mult)))+"px"}}}},_setTransformRatio=_internals.set3DTransformRatio=_internals.setTransformRatio=function(v){var t=this.data,style=this.t.style,angle=t.rotation,rotationX=t.rotationX,rotationY=t.rotationY,sx=t.scaleX,sy=t.scaleY,sz=t.scaleZ,x=t.x,y=t.y,z=t.z,isSVG=t.svg,perspective=t.perspective,force3D=t.force3D,a11,a12,a13,a21,a22,a23,a31,a32,a33,a41,a42,a43,zOrigin,min,cos,sin,t1,t2,transform,comma,zero,skew,rnd;if(((1!==v&&0!==v||"auto"!==force3D||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&force3D||z||perspective||rotationY||rotationX)&&(!_useSVGTransformAttr||!isSVG)&&_supports3D){if(_isFirefox){if(min=1e-4,min>sx&&sx>-min)sx=sz=2e-5;if(min>sy&&sy>-min)sy=sz=2e-5;if(perspective&&!t.z&&!t.rotationX&&!t.rotationY)perspective=0}if(angle||t.skewX){if(angle*=_DEG2RAD,cos=a11=Math.cos(angle),sin=a21=Math.sin(angle),t.skewX)if(angle-=t.skewX*_DEG2RAD,cos=Math.cos(angle),sin=Math.sin(angle),"simple"===t.skewType)if(t1=Math.tan(t.skewX*_DEG2RAD),t1=Math.sqrt(1+t1*t1),cos*=t1,sin*=t1,t.skewY)a11*=t1,a21*=t1;a12=-sin,a22=cos}else if(!(rotationY||rotationX||1!==sz||perspective||isSVG))return style[_transformProp]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) translate3d(":"translate3d(")+x+"px,"+y+"px,"+z+"px)"+(1!==sx||1!==sy?" scale("+sx+","+sy+")":""),void 0;else a11=a22=1,a12=a21=0;if(a33=1,a13=a23=a31=a32=a41=a42=0,a43=perspective?-1/perspective:0,zOrigin=t.zOrigin,min=1e-6,comma=",",zero="0",angle=rotationY*_DEG2RAD,angle)cos=Math.cos(angle),sin=Math.sin(angle),a31=-sin,a41=a43*-sin,a13=a11*sin,a23=a21*sin,a33=cos,a43*=cos,a11*=cos,a21*=cos;if(angle=rotationX*_DEG2RAD,angle)cos=Math.cos(angle),sin=Math.sin(angle),t1=a12*cos+a13*sin,t2=a22*cos+a23*sin,a32=a33*sin,a42=a43*sin,a13=a12*-sin+a13*cos,a23=a22*-sin+a23*cos,a33*=cos,a43*=cos,a12=t1,a22=t2;if(1!==sz)a13*=sz,a23*=sz,a33*=sz,a43*=sz;if(1!==sy)a12*=sy,a22*=sy,a32*=sy,a42*=sy;if(1!==sx)a11*=sx,a21*=sx,a31*=sx,a41*=sx;if(zOrigin||isSVG){if(zOrigin)x+=a13*-zOrigin,y+=a23*-zOrigin,z+=a33*-zOrigin+zOrigin;if(isSVG)x+=t.xOrigin-(t.xOrigin*a11+t.yOrigin*a12)+t.xOffset,y+=t.yOrigin-(t.xOrigin*a21+t.yOrigin*a22)+t.yOffset;if(min>x&&x>-min)x=zero;if(min>y&&y>-min)y=zero;if(min>z&&z>-min)z=0}if(transform=t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix3d(":"matrix3d(",transform+=(min>a11&&a11>-min?zero:a11)+comma+(min>a21&&a21>-min?zero:a21)+comma+(min>a31&&a31>-min?zero:a31),transform+=comma+(min>a41&&a41>-min?zero:a41)+comma+(min>a12&&a12>-min?zero:a12)+comma+(min>a22&&a22>-min?zero:a22),rotationX||rotationY)transform+=comma+(min>a32&&a32>-min?zero:a32)+comma+(min>a42&&a42>-min?zero:a42)+comma+(min>a13&&a13>-min?zero:a13),transform+=comma+(min>a23&&a23>-min?zero:a23)+comma+(min>a33&&a33>-min?zero:a33)+comma+(min>a43&&a43>-min?zero:a43)+comma;else transform+=",0,0,0,0,1,0,";transform+=x+comma+y+comma+z+comma+(perspective?1+-z/perspective:1)+")",style[_transformProp]=transform}else if(angle||t.skewX||isSVG){if(angle*=_DEG2RAD,skew=t.skewX*_DEG2RAD,rnd=1e5,a11=Math.cos(angle)*sx,a21=Math.sin(angle)*sx,a12=Math.sin(angle-skew)*-sy,a22=Math.cos(angle-skew)*sy,skew&&"simple"===t.skewType)if(t1=Math.tan(skew),t1=Math.sqrt(1+t1*t1),a12*=t1,a22*=t1,t.skewY)a11*=t1,a21*=t1;if(isSVG){if(x+=t.xOrigin-(t.xOrigin*a11+t.yOrigin*a12)+t.xOffset,y+=t.yOrigin-(t.xOrigin*a21+t.yOrigin*a22)+t.yOffset,_useSVGTransformAttr&&(t.xPercent||t.yPercent))min=this.t.getBBox(),x+=.01*t.xPercent*min.width,y+=.01*t.yPercent*min.height;if(min=1e-6,min>x)if(x>-min)x=0;if(min>y)if(y>-min)y=0}if(transform=(a11*rnd|0)/rnd+","+(a21*rnd|0)/rnd+","+(a12*rnd|0)/rnd+","+(a22*rnd|0)/rnd+","+x+","+y+")",isSVG&&_useSVGTransformAttr)this.t.setAttribute("transform","matrix("+transform);else style[_transformProp]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix(":"matrix(")+transform}else style[_transformProp]=(t.xPercent||t.yPercent?"translate("+t.xPercent+"%,"+t.yPercent+"%) matrix(":"matrix(")+sx+",0,0,"+sy+","+x+","+y+")"};p=Transform.prototype,p.x=p.y=p.z=p.skewX=p.skewY=p.rotation=p.rotationX=p.rotationY=p.zOrigin=p.xPercent=p.yPercent=p.xOffset=p.yOffset=0,p.scaleX=p.scaleY=p.scaleZ=1,_registerComplexSpecialProp("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,p,cssp,pt,plugin,vars){if(cssp._lastParsedTransform===vars)return pt;cssp._lastParsedTransform=vars;var originalGSTransform=t._gsTransform,style=t.style,min=1e-6,i=_transformProps.length,v=vars,endRotations={},transformOriginString="transformOrigin",m1,m2,skewY,copy,orig,has3D,hasChange,dr,x,y;if(vars.display)copy=_getStyle(t,"display"),style.display="block",m1=_getTransform(t,_cs,!0,vars.parseTransform),style.display=copy;else m1=_getTransform(t,_cs,!0,vars.parseTransform);if(cssp._transform=m1,"string"==typeof v.transform&&_transformProp){if(copy=_tempDiv.style,copy[_transformProp]=v.transform,copy.display="block",copy.position="absolute",_doc.body.appendChild(_tempDiv),m2=_getTransform(_tempDiv,null,!1),_doc.body.removeChild(_tempDiv),!m2.perspective)m2.perspective=m1.perspective;if(null!=v.xPercent)m2.xPercent=_parseVal(v.xPercent,m1.xPercent);if(null!=v.yPercent)m2.yPercent=_parseVal(v.yPercent,m1.yPercent)}else if("object"==typeof v){if(m2={scaleX:_parseVal(null!=v.scaleX?v.scaleX:v.scale,m1.scaleX),scaleY:_parseVal(null!=v.scaleY?v.scaleY:v.scale,m1.scaleY),scaleZ:_parseVal(v.scaleZ,m1.scaleZ),x:_parseVal(v.x,m1.x),y:_parseVal(v.y,m1.y),z:_parseVal(v.z,m1.z),xPercent:_parseVal(v.xPercent,m1.xPercent),yPercent:_parseVal(v.yPercent,m1.yPercent),perspective:_parseVal(v.transformPerspective,m1.perspective)},dr=v.directionalRotation,null!=dr)if("object"==typeof dr)for(copy in dr)v[copy]=dr[copy];else v.rotation=dr;if("string"==typeof v.x&&-1!==v.x.indexOf("%"))m2.x=0,m2.xPercent=_parseVal(v.x,m1.xPercent);if("string"==typeof v.y&&-1!==v.y.indexOf("%"))m2.y=0,m2.yPercent=_parseVal(v.y,m1.yPercent);if(m2.rotation=_parseAngle("rotation"in v?v.rotation:"shortRotation"in v?v.shortRotation+"_short":"rotationZ"in v?v.rotationZ:m1.rotation,m1.rotation,"rotation",endRotations),_supports3D)m2.rotationX=_parseAngle("rotationX"in v?v.rotationX:"shortRotationX"in v?v.shortRotationX+"_short":m1.rotationX||0,m1.rotationX,"rotationX",endRotations),m2.rotationY=_parseAngle("rotationY"in v?v.rotationY:"shortRotationY"in v?v.shortRotationY+"_short":m1.rotationY||0,m1.rotationY,"rotationY",endRotations);if(m2.skewX=null==v.skewX?m1.skewX:_parseAngle(v.skewX,m1.skewX),m2.skewY=null==v.skewY?m1.skewY:_parseAngle(v.skewY,m1.skewY),skewY=m2.skewY-m1.skewY)m2.skewX+=skewY,m2.rotation+=skewY}if(_supports3D&&null!=v.force3D)m1.force3D=v.force3D,hasChange=!0;if(m1.skewType=v.skewType||m1.skewType||CSSPlugin.defaultSkewType,has3D=m1.force3D||m1.z||m1.rotationX||m1.rotationY||m2.z||m2.rotationX||m2.rotationY||m2.perspective,!has3D&&null!=v.scale)m2.scaleZ=1;for(;--i>-1;)if(p=_transformProps[i],orig=m2[p]-m1[p],orig>min||-min>orig||null!=v[p]||null!=_forcePT[p]){if(hasChange=!0,pt=new CSSPropTween(m1,p,m1[p],orig,pt),p in endRotations)pt.e=endRotations[p];pt.xs0=0,pt.plugin=plugin,cssp._overwriteProps.push(pt.n)}if(orig=v.transformOrigin,m1.svg&&(orig||v.svgOrigin)){if(x=m1.xOffset,y=m1.yOffset,_parseSVGOrigin(t,_parsePosition(orig),m2,v.svgOrigin,v.smoothOrigin),pt=_addNonTweeningNumericPT(m1,"xOrigin",(originalGSTransform?m1:m2).xOrigin,m2.xOrigin,pt,transformOriginString),pt=_addNonTweeningNumericPT(m1,"yOrigin",(originalGSTransform?m1:m2).yOrigin,m2.yOrigin,pt,transformOriginString),x!==m1.xOffset||y!==m1.yOffset)pt=_addNonTweeningNumericPT(m1,"xOffset",originalGSTransform?x:m1.xOffset,m1.xOffset,pt,transformOriginString),pt=_addNonTweeningNumericPT(m1,"yOffset",originalGSTransform?y:m1.yOffset,m1.yOffset,pt,transformOriginString);orig=_useSVGTransformAttr?null:"0px 0px"}if(orig||_supports3D&&has3D&&m1.zOrigin)if(_transformProp)if(hasChange=!0,p=_transformOriginProp,orig=(orig||_getStyle(t,p,_cs,!1,"50% 50%"))+"",pt=new CSSPropTween(style,p,0,0,pt,-1,transformOriginString),pt.b=style[p],pt.plugin=plugin,_supports3D)copy=m1.zOrigin,orig=orig.split(" "),m1.zOrigin=(orig.length>2&&(0===copy||"0px"!==orig[2])?parseFloat(orig[2]):copy)||0,pt.xs0=pt.e=orig[0]+" "+(orig[1]||"50%")+" 0px",pt=new CSSPropTween(m1,"zOrigin",0,0,pt,-1,pt.n),pt.b=copy,pt.xs0=pt.e=m1.zOrigin;else pt.xs0=pt.e=orig;else _parsePosition(orig+"",m1);if(hasChange)cssp._transformType=(!m1.svg||!_useSVGTransformAttr)&&(has3D||3===this._transformType)?3:2;return pt},prefix:!0}),_registerComplexSpecialProp("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),_registerComplexSpecialProp("borderRadius",{defaultValue:"0px",parser:function(t,e,p,cssp,pt,plugin){e=this.format(e);var props=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],style=t.style,ea1,i,es2,bs2,bs,es,bn,en,w,h,esfx,bsfx,rel,hn,vn,em;for(w=parseFloat(t.offsetWidth),h=parseFloat(t.offsetHeight),ea1=e.split(" "),i=0;i<props.length;i++){if(this.p.indexOf("border"))props[i]=_checkPropPrefix(props[i]);if(bs=bs2=_getStyle(t,props[i],_cs,!1,"0px"),-1!==bs.indexOf(" "))bs2=bs.split(" "),bs=bs2[0],bs2=bs2[1];if(es=es2=ea1[i],bn=parseFloat(bs),bsfx=bs.substr((bn+"").length),rel="="===es.charAt(1),rel)en=parseInt(es.charAt(0)+"1",10),es=es.substr(2),en*=parseFloat(es),esfx=es.substr((en+"").length-(0>en?1:0))||"";else en=parseFloat(es),esfx=es.substr((en+"").length);if(""===esfx)esfx=_suffixMap[p]||bsfx;if(esfx!==bsfx){if(hn=_convertToPixels(t,"borderLeft",bn,bsfx),vn=_convertToPixels(t,"borderTop",bn,bsfx),"%"===esfx)bs=hn/w*100+"%",bs2=vn/h*100+"%";else if("em"===esfx)em=_convertToPixels(t,"borderLeft",1,"em"),bs=hn/em+"em",bs2=vn/em+"em";else bs=hn+"px",bs2=vn+"px";if(rel)es=parseFloat(bs)+en+esfx,es2=parseFloat(bs2)+en+esfx}pt=_parseComplex(style,props[i],bs+" "+bs2,es+" "+es2,!1,"0px",pt)}return pt},prefix:!0,formatter:_getFormatter("0px 0px 0px 0px",!1,!0)}),_registerComplexSpecialProp("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,p,cssp,pt,plugin){var bp="background-position",cs=_cs||_getComputedStyle(t,null),bs=this.format((cs?_ieVers?cs.getPropertyValue(bp+"-x")+" "+cs.getPropertyValue(bp+"-y"):cs.getPropertyValue(bp):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),es=this.format(e),ba,ea,i,pct,overlap,src;if(-1!==bs.indexOf("%")!=(-1!==es.indexOf("%")))if(src=_getStyle(t,"backgroundImage").replace(_urlExp,""),src&&"none"!==src){for(ba=bs.split(" "),ea=es.split(" "),_tempImg.setAttribute("src",src),i=2;--i>-1;)if(bs=ba[i],pct=-1!==bs.indexOf("%"),pct!==(-1!==ea[i].indexOf("%")))overlap=0===i?t.offsetWidth-_tempImg.width:t.offsetHeight-_tempImg.height,ba[i]=pct?parseFloat(bs)/100*overlap+"px":parseFloat(bs)/overlap*100+"%";bs=ba.join(" ")}return this.parseComplex(t.style,bs,es,pt,plugin)},formatter:_parsePosition}),_registerComplexSpecialProp("backgroundSize",{defaultValue:"0 0",formatter:_parsePosition}),_registerComplexSpecialProp("perspective",{defaultValue:"0px",prefix:!0}),_registerComplexSpecialProp("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),_registerComplexSpecialProp("transformStyle",{prefix:!0}),_registerComplexSpecialProp("backfaceVisibility",{prefix:!0}),_registerComplexSpecialProp("userSelect",{prefix:!0}),_registerComplexSpecialProp("margin",{parser:_getEdgeParser("marginTop,marginRight,marginBottom,marginLeft")}),_registerComplexSpecialProp("padding",{parser:_getEdgeParser("paddingTop,paddingRight,paddingBottom,paddingLeft")}),_registerComplexSpecialProp("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,p,cssp,pt,plugin){var b,cs,delim;if(9>_ieVers)cs=t.currentStyle,delim=8>_ieVers?" ":",",b="rect("+cs.clipTop+delim+cs.clipRight+delim+cs.clipBottom+delim+cs.clipLeft+")",e=this.format(e).split(",").join(delim);else b=this.format(_getStyle(t,this.p,_cs,!1,this.dflt)),e=this.format(e);return this.parseComplex(t.style,b,e,pt,plugin)}}),_registerComplexSpecialProp("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),_registerComplexSpecialProp("autoRound,strictUnits",{parser:function(t,e,p,cssp,pt){return pt}}),_registerComplexSpecialProp("border",{defaultValue:"0px solid #000",parser:function(t,e,p,cssp,pt,plugin){return this.parseComplex(t.style,this.format(_getStyle(t,"borderTopWidth",_cs,!1,"0px")+" "+_getStyle(t,"borderTopStyle",_cs,!1,"solid")+" "+_getStyle(t,"borderTopColor",_cs,!1,"#000")),this.format(e),pt,plugin)},color:!0,formatter:function(v){var a=v.split(" ");return a[0]+" "+(a[1]||"solid")+" "+(v.match(_colorExp)||["#000"])[0]}}),_registerComplexSpecialProp("borderWidth",{parser:_getEdgeParser("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),_registerComplexSpecialProp("float,cssFloat,styleFloat",{parser:function(t,e,p,cssp,pt,plugin){var s=t.style,prop="cssFloat"in s?"cssFloat":"styleFloat";return new CSSPropTween(s,prop,0,0,pt,-1,p,!1,0,s[prop],e)}});var _setIEOpacityRatio=function(v){var t=this.t,filters=t.filter||_getStyle(this.data,"filter")||"",val=this.s+this.c*v|0,skip;if(100===val)if(-1===filters.indexOf("atrix(")&&-1===filters.indexOf("radient(")&&-1===filters.indexOf("oader("))t.removeAttribute("filter"),skip=!_getStyle(this.data,"filter");else t.filter=filters.replace(_alphaFilterExp,""),skip=!0;if(!skip){if(this.xn1)t.filter=filters=filters||"alpha(opacity="+val+")";if(-1===filters.indexOf("pacity")){if(0!==val||!this.xn1)t.filter=filters+" alpha(opacity="+val+")"}else t.filter=filters.replace(_opacityExp,"opacity="+val)}};_registerComplexSpecialProp("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,p,cssp,pt,plugin){var b=parseFloat(_getStyle(t,"opacity",_cs,!1,"1")),style=t.style,isAutoAlpha="autoAlpha"===p;if("string"==typeof e&&"="===e.charAt(1))e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+b;if(isAutoAlpha&&1===b&&"hidden"===_getStyle(t,"visibility",_cs)&&0!==e)b=0;if(_supportsOpacity)pt=new CSSPropTween(style,"opacity",b,e-b,pt);else pt=new CSSPropTween(style,"opacity",100*b,100*(e-b),pt),pt.xn1=isAutoAlpha?1:0,style.zoom=1,pt.type=2,pt.b="alpha(opacity="+pt.s+")",pt.e="alpha(opacity="+(pt.s+pt.c)+")",pt.data=t,pt.plugin=plugin,pt.setRatio=_setIEOpacityRatio;if(isAutoAlpha)pt=new CSSPropTween(style,"visibility",0,0,pt,-1,null,!1,0,0!==b?"inherit":"hidden",0===e?"hidden":"inherit"),pt.xs0="inherit",cssp._overwriteProps.push(pt.n),cssp._overwriteProps.push(p);return pt}});var _removeProp=function(s,p){if(p)if(s.removeProperty){if("ms"===p.substr(0,2)||"webkit"===p.substr(0,6))p="-"+p;s.removeProperty(p.replace(_capsExp,"-$1").toLowerCase())}else s.removeAttribute(p)},_setClassNameRatio=function(v){if(this.t._gsClassPT=this,1===v||0===v){this.t.setAttribute("class",0===v?this.b:this.e);for(var mpt=this.data,s=this.t.style;mpt;){if(!mpt.v)_removeProp(s,mpt.p);else s[mpt.p]=mpt.v;mpt=mpt._next}if(1===v&&this.t._gsClassPT===this)this.t._gsClassPT=null}else if(this.t.getAttribute("class")!==this.e)this.t.setAttribute("class",this.e)};_registerComplexSpecialProp("className",{parser:function(t,e,p,cssp,pt,plugin,vars){var b=t.getAttribute("class")||"",cssText=t.style.cssText,difData,bs,cnpt,cnptLookup,mpt;if(pt=cssp._classNamePT=new CSSPropTween(t,p,0,0,pt,2),pt.setRatio=_setClassNameRatio,pt.pr=-11,_hasPriority=!0,pt.b=b,bs=_getAllStyles(t,_cs),cnpt=t._gsClassPT,cnpt){for(cnptLookup={},mpt=cnpt.data;mpt;)cnptLookup[mpt.p]=1,mpt=mpt._next;cnpt.setRatio(1)}return t._gsClassPT=pt,pt.e="="!==e.charAt(1)?e:b.replace(new RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",pt.e),difData=_cssDif(t,bs,_getAllStyles(t),vars,cnptLookup),t.setAttribute("class",b),pt.data=difData.firstMPT,t.style.cssText=cssText,pt=pt.xfirst=cssp.parse(t,difData.difs,pt,plugin),pt}});var _setClearPropsRatio=function(v){if(1===v||0===v)if(this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var s=this.t.style,transformParse=_specialProps.transform.parse,a,p,i,clearTransform,transform;if("all"===this.e)s.cssText="",clearTransform=!0;else for(a=this.e.split(" ").join("").split(","),i=a.length;--i>-1;){if(p=a[i],_specialProps[p])if(_specialProps[p].parse===transformParse)clearTransform=!0;else p="transformOrigin"===p?_transformOriginProp:_specialProps[p].p;_removeProp(s,p)}if(clearTransform)if(_removeProp(s,_transformProp),transform=this.t._gsTransform,
transform){if(transform.svg)this.t.removeAttribute("data-svg-origin");delete this.t._gsTransform}}};for(_registerComplexSpecialProp("clearProps",{parser:function(t,e,p,cssp,pt){return pt=new CSSPropTween(t,p,0,0,pt,2),pt.setRatio=_setClearPropsRatio,pt.e=e,pt.pr=-10,pt.data=cssp._tween,_hasPriority=!0,pt}}),p="bezier,throwProps,physicsProps,physics2D".split(","),i=p.length;i--;)_registerPluginProp(p[i]);p=CSSPlugin.prototype,p._firstPT=p._lastParsedTransform=p._transform=null,p._onInitTween=function(target,vars,tween){if(!target.nodeType)return!1;this._target=target,this._tween=tween,this._vars=vars,_autoRound=vars.autoRound,_hasPriority=!1,_suffixMap=vars.suffixMap||CSSPlugin.suffixMap,_cs=_getComputedStyle(target,""),_overwriteProps=this._overwriteProps;var style=target.style,v,pt,pt2,first,last,next,zIndex,tpt,threeD;if(_reqSafariFix)if(""===style.zIndex)if(v=_getStyle(target,"zIndex",_cs),"auto"===v||""===v)this._addLazySet(style,"zIndex",0);if("string"==typeof vars){if(first=style.cssText,v=_getAllStyles(target,_cs),style.cssText=first+";"+vars,v=_cssDif(target,v,_getAllStyles(target)).difs,!_supportsOpacity&&_opacityValExp.test(vars))v.opacity=parseFloat(RegExp.$1);vars=v,style.cssText=first}if(vars.className)this._firstPT=pt=_specialProps.className.parse(target,vars.className,"className",this,null,null,vars);else this._firstPT=pt=this.parse(target,vars,null);if(this._transformType){if(threeD=3===this._transformType,!_transformProp)style.zoom=1;else if(_isSafari){if(_reqSafariFix=!0,""===style.zIndex)if(zIndex=_getStyle(target,"zIndex",_cs),"auto"===zIndex||""===zIndex)this._addLazySet(style,"zIndex",0);if(_isSafariLT6)this._addLazySet(style,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(threeD?"visible":"hidden"))}for(pt2=pt;pt2&&pt2._next;)pt2=pt2._next;tpt=new CSSPropTween(target,"transform",0,0,null,2),this._linkCSSP(tpt,null,pt2),tpt.setRatio=_transformProp?_setTransformRatio:_setIETransformRatio,tpt.data=this._transform||_getTransform(target,_cs,!0),tpt.tween=tween,tpt.pr=-1,_overwriteProps.pop()}if(_hasPriority){for(;pt;){for(next=pt._next,pt2=first;pt2&&pt2.pr>pt.pr;)pt2=pt2._next;if(pt._prev=pt2?pt2._prev:last)pt._prev._next=pt;else first=pt;if(pt._next=pt2)pt2._prev=pt;else last=pt;pt=next}this._firstPT=first}return!0},p.parse=function(target,vars,pt,plugin){var style=target.style,p,sp,bn,en,bs,es,bsfx,esfx,isStr,rel;for(p in vars){if(es=vars[p],sp=_specialProps[p],sp)pt=sp.parse(target,es,p,this,pt,plugin,vars);else if(bs=_getStyle(target,p,_cs)+"",isStr="string"==typeof es,"color"===p||"fill"===p||"stroke"===p||-1!==p.indexOf("Color")||isStr&&_rgbhslExp.test(es)){if(!isStr)es=_parseColor(es),es=(es.length>3?"rgba(":"rgb(")+es.join(",")+")";pt=_parseComplex(style,p,bs,es,!0,"transparent",pt,0,plugin)}else if(isStr&&(-1!==es.indexOf(" ")||-1!==es.indexOf(",")))pt=_parseComplex(style,p,bs,es,!0,null,pt,0,plugin);else{if(bn=parseFloat(bs),bsfx=bn||0===bn?bs.substr((bn+"").length):"",""===bs||"auto"===bs)if("width"===p||"height"===p)bn=_getDimension(target,p,_cs),bsfx="px";else if("left"===p||"top"===p)bn=_calculateOffset(target,p,_cs),bsfx="px";else bn="opacity"!==p?0:1,bsfx="";if(rel=isStr&&"="===es.charAt(1),rel)en=parseInt(es.charAt(0)+"1",10),es=es.substr(2),en*=parseFloat(es),esfx=es.replace(_suffixExp,"");else en=parseFloat(es),esfx=isStr?es.replace(_suffixExp,""):"";if(""===esfx)esfx=p in _suffixMap?_suffixMap[p]:bsfx;if(es=en||0===en?(rel?en+bn:en)+esfx:vars[p],bsfx!==esfx)if(""!==esfx)if(en||0===en)if(bn){if(bn=_convertToPixels(target,p,bn,bsfx),"%"===esfx){if(bn/=_convertToPixels(target,p,100,"%")/100,vars.strictUnits!==!0)bs=bn+"%"}else if("em"===esfx||"rem"===esfx)bn/=_convertToPixels(target,p,1,esfx);else if("px"!==esfx)en=_convertToPixels(target,p,en,esfx),esfx="px";if(rel)if(en||0===en)es=en+bn+esfx}if(rel)en+=bn;if((bn||0===bn)&&(en||0===en))pt=new CSSPropTween(style,p,bn,en-bn,pt,0,p,_autoRound!==!1&&("px"===esfx||"zIndex"===p),0,bs,es),pt.xs0=esfx;else if(void 0===style[p]||!es&&(es+""=="NaN"||null==es))_log("invalid "+p+" tween value: "+vars[p]);else pt=new CSSPropTween(style,p,en||bn||0,0,pt,-1,p,!1,0,bs,es),pt.xs0="none"===es&&("display"===p||-1!==p.indexOf("Style"))?bs:es}if(plugin)if(pt&&!pt.plugin)pt.plugin=plugin}return pt},p.setRatio=function(v){var pt=this._firstPT,min=1e-6,val,str,i;if(1===v&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;pt;){if(2!==pt.type)if(pt.r&&-1!==pt.type){if(val=Math.round(pt.s+pt.c),!pt.type)pt.t[pt.p]=val+pt.xs0;else if(1===pt.type){for(i=pt.l,str=pt.xs0+val+pt.xs1,i=1;i<pt.l;i++)str+=pt["xn"+i]+pt["xs"+(i+1)];pt.t[pt.p]=str}}else pt.t[pt.p]=pt.e;else pt.setRatio(v);pt=pt._next}else if(v||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;pt;){if(val=pt.c*v+pt.s,pt.r)val=Math.round(val);else if(min>val)if(val>-min)val=0;if(!pt.type)pt.t[pt.p]=val+pt.xs0;else if(1===pt.type)if(i=pt.l,2===i)pt.t[pt.p]=pt.xs0+val+pt.xs1+pt.xn1+pt.xs2;else if(3===i)pt.t[pt.p]=pt.xs0+val+pt.xs1+pt.xn1+pt.xs2+pt.xn2+pt.xs3;else if(4===i)pt.t[pt.p]=pt.xs0+val+pt.xs1+pt.xn1+pt.xs2+pt.xn2+pt.xs3+pt.xn3+pt.xs4;else if(5===i)pt.t[pt.p]=pt.xs0+val+pt.xs1+pt.xn1+pt.xs2+pt.xn2+pt.xs3+pt.xn3+pt.xs4+pt.xn4+pt.xs5;else{for(str=pt.xs0+val+pt.xs1,i=1;i<pt.l;i++)str+=pt["xn"+i]+pt["xs"+(i+1)];pt.t[pt.p]=str}else if(-1===pt.type)pt.t[pt.p]=pt.xs0;else if(pt.setRatio)pt.setRatio(v);pt=pt._next}else for(;pt;){if(2!==pt.type)pt.t[pt.p]=pt.b;else pt.setRatio(v);pt=pt._next}},p._enableTransforms=function(threeD){this._transform=this._transform||_getTransform(this._target,_cs,!0),this._transformType=(!this._transform.svg||!_useSVGTransformAttr)&&(threeD||3===this._transformType)?3:2};var lazySet=function(v){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};p._addLazySet=function(t,p,v){var pt=this._firstPT=new CSSPropTween(t,p,0,0,this._firstPT,2);pt.e=v,pt.setRatio=lazySet,pt.data=this},p._linkCSSP=function(pt,next,prev,remove){if(pt){if(next)next._prev=pt;if(pt._next)pt._next._prev=pt._prev;if(pt._prev)pt._prev._next=pt._next;else if(this._firstPT===pt)this._firstPT=pt._next,remove=!0;if(prev)prev._next=pt;else if(!remove&&null===this._firstPT)this._firstPT=pt;pt._next=next,pt._prev=prev}return pt},p._kill=function(lookup){var copy=lookup,pt,p,xfirst;if(lookup.autoAlpha||lookup.alpha){copy={};for(p in lookup)copy[p]=lookup[p];if(copy.opacity=1,copy.autoAlpha)copy.visibility=1}if(lookup.className&&(pt=this._classNamePT)){if(xfirst=pt.xfirst,xfirst&&xfirst._prev)this._linkCSSP(xfirst._prev,pt._next,xfirst._prev._prev);else if(xfirst===this._firstPT)this._firstPT=pt._next;if(pt._next)this._linkCSSP(pt._next,pt._next._next,xfirst._prev);this._classNamePT=null}return TweenPlugin.prototype._kill.call(this,copy)};var _getChildStyles=function(e,props,targets){var children,i,child,type;if(!e.slice)for(children=e.childNodes,i=children.length;--i>-1;){if(child=children[i],type=child.type,child.style)if(props.push(_getAllStyles(child)),targets)targets.push(child);if((1===type||9===type||11===type)&&child.childNodes.length)_getChildStyles(child,props,targets)}else for(i=e.length;--i>-1;)_getChildStyles(e[i],props,targets)};return CSSPlugin.cascadeTo=function(target,duration,vars){var tween=TweenLite.to(target,duration,vars),results=[tween],b=[],e=[],targets=[],_reservedProps=TweenLite._internals.reservedProps,i,difs,p,from;for(target=tween._targets||tween.target,_getChildStyles(target,b,targets),tween.render(duration,!0,!0),_getChildStyles(target,e),tween.render(0,!0,!0),tween._enabled(!0),i=targets.length;--i>-1;)if(difs=_cssDif(targets[i],b[i],e[i]),difs.firstMPT){difs=difs.difs;for(p in vars)if(_reservedProps[p])difs[p]=vars[p];from={};for(p in difs)from[p]=b[i][p];results.push(TweenLite.fromTo(targets[i],duration,from,difs))}return results},TweenPlugin.activate([CSSPlugin]),CSSPlugin},!0),function(){var RoundPropsPlugin=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.5",priority:-1,API:2,init:function(target,value,tween){return this._tween=tween,!0}}),_roundLinkedList=function(node){for(;node;){if(!node.f&&!node.blob)node.r=1;node=node._next}},p=RoundPropsPlugin.prototype;p._onInitAllProps=function(){for(var tween=this._tween,rp=tween.vars.roundProps.join?tween.vars.roundProps:tween.vars.roundProps.split(","),i=rp.length,lookup={},rpt=tween._propLookup.roundProps,prop,pt,next;--i>-1;)lookup[rp[i]]=1;for(i=rp.length;--i>-1;)for(prop=rp[i],pt=tween._firstPT;pt;){if(next=pt._next,pt.pg)pt.t._roundProps(lookup,!0);else if(pt.n===prop)if(2===pt.f&&pt.t)_roundLinkedList(pt.t._firstPT);else{if(this._add(pt.t,prop,pt.s,pt.c),next)next._prev=pt._prev;if(pt._prev)pt._prev._next=next;else if(tween._firstPT===pt)tween._firstPT=next;pt._next=pt._prev=null,tween._propLookup[prop]=rpt}pt=next}return!1},p._add=function(target,p,s,c){this._addTween(target,p,s,s+c,p,!0),this._overwriteProps.push(p)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.5.0",init:function(target,value,tween){var p;if("function"!=typeof target.setAttribute)return!1;for(p in value)this._addTween(target,"setAttribute",target.getAttribute(p)+"",value[p]+"",p,!1,p),this._overwriteProps.push(p);return!0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(target,value,tween){if("object"!=typeof value)value={rotation:value};this.finals={};var cap=value.useRadians===!0?2*Math.PI:360,min=1e-6,p,v,start,end,dif,split;for(p in value)if("useRadians"!==p){if(split=(value[p]+"").split("_"),v=split[0],start=parseFloat("function"!=typeof target[p]?target[p]:target[p.indexOf("set")||"function"!=typeof target["get"+p.substr(3)]?p:"get"+p.substr(3)]()),end=this.finals[p]="string"==typeof v&&"="===v.charAt(1)?start+parseInt(v.charAt(0)+"1",10)*Number(v.substr(2)):Number(v)||0,dif=end-start,split.length){if(v=split.join("_"),-1!==v.indexOf("short"))if(dif%=cap,dif!==dif%(cap/2))dif=0>dif?dif+cap:dif-cap;if(-1!==v.indexOf("_cw")&&0>dif)dif=(dif+9999999999*cap)%cap-(dif/cap|0)*cap;else if(-1!==v.indexOf("ccw")&&dif>0)dif=(dif-9999999999*cap)%cap-(dif/cap|0)*cap}if(dif>min||-min>dif)this._addTween(target,p,start,start+dif,p),this._overwriteProps.push(p)}return!0},set:function(ratio){var pt;if(1!==ratio)this._super.setRatio.call(this,ratio);else for(pt=this._firstPT;pt;){if(pt.f)pt.t[pt.p](this.finals[pt.p]);else pt.t[pt.p]=this.finals[pt.p];pt=pt._next}}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(Ease){var w=_gsScope.GreenSockGlobals||_gsScope,gs=w.com.greensock,_2PI=2*Math.PI,_HALF_PI=Math.PI/2,_class=gs._class,_create=function(n,f){var C=_class("easing."+n,function(){},!0),p=C.prototype=new Ease;return p.constructor=C,p.getRatio=f,C},_easeReg=Ease.register||function(){},_wrap=function(name,EaseOut,EaseIn,EaseInOut,aliases){var C=_class("easing."+name,{easeOut:new EaseOut,easeIn:new EaseIn,easeInOut:new EaseInOut},!0);return _easeReg(C,name),C},EasePoint=function(time,value,next){if(this.t=time,this.v=value,next)this.next=next,next.prev=this,this.c=next.v-value,this.gap=next.t-time},_createBack=function(n,f){var C=_class("easing."+n,function(overshoot){this._p1=overshoot||0===overshoot?overshoot:1.70158,this._p2=1.525*this._p1},!0),p=C.prototype=new Ease;return p.constructor=C,p.getRatio=f,p.config=function(overshoot){return new C(overshoot)},C},Back=_wrap("Back",_createBack("BackOut",function(p){return(p-=1)*p*((this._p1+1)*p+this._p1)+1}),_createBack("BackIn",function(p){return p*p*((this._p1+1)*p-this._p1)}),_createBack("BackInOut",function(p){return(p*=2)<1?.5*p*p*((this._p2+1)*p-this._p2):.5*((p-=2)*p*((this._p2+1)*p+this._p2)+2)})),SlowMo=_class("easing.SlowMo",function(linearRatio,power,yoyoMode){if(power=power||0===power?power:.7,null==linearRatio)linearRatio=.7;else if(linearRatio>1)linearRatio=1;this._p=1!==linearRatio?power:0,this._p1=(1-linearRatio)/2,this._p2=linearRatio,this._p3=this._p1+this._p2,this._calcEnd=yoyoMode===!0},!0),p=SlowMo.prototype=new Ease,SteppedEase,RoughEase,_createElastic;return p.constructor=SlowMo,p.getRatio=function(p){var r=p+(.5-p)*this._p;if(p<this._p1)return this._calcEnd?1-(p=1-p/this._p1)*p:r-(p=1-p/this._p1)*p*p*p*r;else if(p>this._p3)return this._calcEnd?1-(p=(p-this._p3)/this._p1)*p:r+(p-r)*(p=(p-this._p3)/this._p1)*p*p*p;return this._calcEnd?1:r},SlowMo.ease=new SlowMo(.7,.7),p.config=SlowMo.config=function(linearRatio,power,yoyoMode){return new SlowMo(linearRatio,power,yoyoMode)},SteppedEase=_class("easing.SteppedEase",function(steps){steps=steps||1,this._p1=1/steps,this._p2=steps+1},!0),p=SteppedEase.prototype=new Ease,p.constructor=SteppedEase,p.getRatio=function(p){if(0>p)p=0;else if(p>=1)p=.999999999;return(this._p2*p>>0)*this._p1},p.config=SteppedEase.config=function(steps){return new SteppedEase(steps)},RoughEase=_class("easing.RoughEase",function(vars){vars=vars||{};for(var taper=vars.taper||"none",a=[],cnt=0,points=0|(vars.points||20),i=points,randomize=vars.randomize!==!1,clamp=vars.clamp===!0,template=vars.template instanceof Ease?vars.template:null,strength="number"==typeof vars.strength?.4*vars.strength:.4,x,y,bump,invX,obj,pnt;--i>-1;){if(x=randomize?Math.random():1/points*i,y=template?template.getRatio(x):x,"none"===taper)bump=strength;else if("out"===taper)invX=1-x,bump=invX*invX*strength;else if("in"===taper)bump=x*x*strength;else if(.5>x)invX=2*x,bump=invX*invX*.5*strength;else invX=2*(1-x),bump=invX*invX*.5*strength;if(randomize)y+=Math.random()*bump-.5*bump;else if(i%2)y+=.5*bump;else y-=.5*bump;if(clamp)if(y>1)y=1;else if(0>y)y=0;a[cnt++]={x:x,y:y}}for(a.sort(function(a,b){return a.x-b.x}),pnt=new EasePoint(1,1,null),i=points;--i>-1;)obj=a[i],pnt=new EasePoint(obj.x,obj.y,pnt);this._prev=new EasePoint(0,0,0!==pnt.t?pnt:pnt.next)},!0),p=RoughEase.prototype=new Ease,p.constructor=RoughEase,p.getRatio=function(p){var pnt=this._prev;if(p>pnt.t){for(;pnt.next&&p>=pnt.t;)pnt=pnt.next;pnt=pnt.prev}else for(;pnt.prev&&p<=pnt.t;)pnt=pnt.prev;return this._prev=pnt,pnt.v+(p-pnt.t)/pnt.gap*pnt.c},p.config=function(vars){return new RoughEase(vars)},RoughEase.ease=new RoughEase,_wrap("Bounce",_create("BounceOut",function(p){if(1/2.75>p)return 7.5625*p*p;else if(2/2.75>p)return 7.5625*(p-=1.5/2.75)*p+.75;else if(2.5/2.75>p)return 7.5625*(p-=2.25/2.75)*p+.9375;return 7.5625*(p-=2.625/2.75)*p+.984375}),_create("BounceIn",function(p){if((p=1-p)<1/2.75)return 1-7.5625*p*p;else if(2/2.75>p)return 1-(7.5625*(p-=1.5/2.75)*p+.75);else if(2.5/2.75>p)return 1-(7.5625*(p-=2.25/2.75)*p+.9375);return 1-(7.5625*(p-=2.625/2.75)*p+.984375)}),_create("BounceInOut",function(p){var invert=.5>p;if(invert)p=1-2*p;else p=2*p-1;if(1/2.75>p)p=7.5625*p*p;else if(2/2.75>p)p=7.5625*(p-=1.5/2.75)*p+.75;else if(2.5/2.75>p)p=7.5625*(p-=2.25/2.75)*p+.9375;else p=7.5625*(p-=2.625/2.75)*p+.984375;return invert?.5*(1-p):.5*p+.5})),_wrap("Circ",_create("CircOut",function(p){return Math.sqrt(1-(p-=1)*p)}),_create("CircIn",function(p){return-(Math.sqrt(1-p*p)-1)}),_create("CircInOut",function(p){return(p*=2)<1?-.5*(Math.sqrt(1-p*p)-1):.5*(Math.sqrt(1-(p-=2)*p)+1)})),_createElastic=function(n,f,def){var C=_class("easing."+n,function(amplitude,period){this._p1=amplitude>=1?amplitude:1,this._p2=(period||def)/(1>amplitude?amplitude:1),this._p3=this._p2/_2PI*(Math.asin(1/this._p1)||0),this._p2=_2PI/this._p2},!0),p=C.prototype=new Ease;return p.constructor=C,p.getRatio=f,p.config=function(amplitude,period){return new C(amplitude,period)},C},_wrap("Elastic",_createElastic("ElasticOut",function(p){return this._p1*Math.pow(2,-10*p)*Math.sin((p-this._p3)*this._p2)+1},.3),_createElastic("ElasticIn",function(p){return-(this._p1*Math.pow(2,10*(p-=1))*Math.sin((p-this._p3)*this._p2))},.3),_createElastic("ElasticInOut",function(p){return(p*=2)<1?-.5*(this._p1*Math.pow(2,10*(p-=1))*Math.sin((p-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(p-=1))*Math.sin((p-this._p3)*this._p2)*.5+1},.45)),_wrap("Expo",_create("ExpoOut",function(p){return 1-Math.pow(2,-10*p)}),_create("ExpoIn",function(p){return Math.pow(2,10*(p-1))-.001}),_create("ExpoInOut",function(p){return(p*=2)<1?.5*Math.pow(2,10*(p-1)):.5*(2-Math.pow(2,-10*(p-1)))})),_wrap("Sine",_create("SineOut",function(p){return Math.sin(p*_HALF_PI)}),_create("SineIn",function(p){return-Math.cos(p*_HALF_PI)+1}),_create("SineInOut",function(p){return-.5*(Math.cos(Math.PI*p)-1)})),_class("easing.EaseLookup",{find:function(s){return Ease.map[s]}},!0),_easeReg(w.SlowMo,"SlowMo","ease,"),_easeReg(RoughEase,"RoughEase","ease,"),_easeReg(SteppedEase,"SteppedEase","ease,"),Back},!0)}),_gsScope._gsDefine)_gsScope._gsQueue.pop()();!function(window,moduleName){"use strict";var _globals=window.GreenSockGlobals=window.GreenSockGlobals||window;if(!_globals.TweenLite){var _namespace=function(ns){var a=ns.split("."),p=_globals,i;for(i=0;i<a.length;i++)p[a[i]]=p=p[a[i]]||{};return p},gs=_namespace("com.greensock"),_tinyNum=1e-10,_slice=function(a){var b=[],l=a.length,i;for(i=0;i!==l;b.push(a[i++]));return b},_emptyFunc=function(){},_isArray=function(){var toString=Object.prototype.toString,array=toString.call([]);return function(obj){return null!=obj&&(obj instanceof Array||"object"==typeof obj&&!!obj.push&&toString.call(obj)===array)}}(),a,i,p,_ticker,_tickerActive,_defLookup={},Definition=function(ns,dependencies,func,global){this.sc=_defLookup[ns]?_defLookup[ns].sc:[],_defLookup[ns]=this,this.gsClass=null,this.func=func;var _classes=[];this.check=function(init){for(var i=dependencies.length,missing=i,cur,a,n,cl,hasModule;--i>-1;)if((cur=_defLookup[dependencies[i]]||new Definition(dependencies[i],[])).gsClass)_classes[i]=cur.gsClass,missing--;else if(init)cur.sc.push(this);if(0===missing&&func){if(a=("com.greensock."+ns).split("."),n=a.pop(),cl=_namespace(a.join("."))[n]=this.gsClass=func.apply(func,_classes),global)if(_globals[n]=cl,hasModule="undefined"!=typeof module&&module.exports,!hasModule&&__webpack_require__(8))__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return cl}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));else if(ns===moduleName&&hasModule)module.exports=cl;for(i=0;i<this.sc.length;i++)this.sc[i].check()}},this.check(!0)},_gsDefine=window._gsDefine=function(ns,dependencies,func,global){return new Definition(ns,dependencies,func,global)},_class=gs._class=function(ns,func,global){return func=func||function(){},_gsDefine(ns,[],function(){return func},global),func};_gsDefine.globals=_globals;var _baseParams=[0,0,1,1],_blankArray=[],Ease=_class("easing.Ease",function(func,extraParams,type,power){this._func=func,this._type=type||0,this._power=power||0,this._params=extraParams?_baseParams.concat(extraParams):_baseParams},!0),_easeMap=Ease.map={},_easeReg=Ease.register=function(ease,names,types,create){for(var na=names.split(","),i=na.length,ta=(types||"easeIn,easeOut,easeInOut").split(","),e,name,j,type;--i>-1;)for(name=na[i],e=create?_class("easing."+name,null,!0):gs.easing[name]||{},j=ta.length;--j>-1;)type=ta[j],_easeMap[name+"."+type]=_easeMap[type+name]=e[type]=ease.getRatio?ease:ease[type]||new ease};for(p=Ease.prototype,p._calcEnd=!1,p.getRatio=function(p){if(this._func)return this._params[0]=p,this._func.apply(null,this._params);var t=this._type,pw=this._power,r=1===t?1-p:2===t?p:.5>p?2*p:2*(1-p);if(1===pw)r*=r;else if(2===pw)r*=r*r;else if(3===pw)r*=r*r*r;else if(4===pw)r*=r*r*r*r;return 1===t?1-r:2===t?r:.5>p?r/2:1-r/2},a=["Linear","Quad","Cubic","Quart","Quint,Strong"],i=a.length;--i>-1;)p=a[i]+",Power"+i,_easeReg(new Ease(null,null,1,i),p,"easeOut",!0),_easeReg(new Ease(null,null,2,i),p,"easeIn"+(0===i?",easeNone":"")),_easeReg(new Ease(null,null,3,i),p,"easeInOut");_easeMap.linear=gs.easing.Linear.easeIn,_easeMap.swing=gs.easing.Quad.easeInOut;var EventDispatcher=_class("events.EventDispatcher",function(target){this._listeners={},this._eventTarget=target||this});p=EventDispatcher.prototype,p.addEventListener=function(type,callback,scope,useParam,priority){priority=priority||0;var list=this._listeners[type],index=0,listener,i;if(null==list)this._listeners[type]=list=[];for(i=list.length;--i>-1;)if(listener=list[i],listener.c===callback&&listener.s===scope)list.splice(i,1);else if(0===index&&listener.pr<priority)index=i+1;if(list.splice(index,0,{c:callback,s:scope,up:useParam,pr:priority}),this===_ticker&&!_tickerActive)_ticker.wake()},p.removeEventListener=function(type,callback){var list=this._listeners[type],i;if(list)for(i=list.length;--i>-1;)if(list[i].c===callback)return list.splice(i,1),void 0},p.dispatchEvent=function(type){var list=this._listeners[type],i,t,listener;if(list)for(i=list.length,t=this._eventTarget;--i>-1;)if(listener=list[i],listener)if(listener.up)listener.c.call(listener.s||t,{type:type,target:t});else listener.c.call(listener.s||t)};var _reqAnimFrame=window.requestAnimationFrame,_cancelAnimFrame=window.cancelAnimationFrame,_getTime=Date.now||function(){return(new Date).getTime()},_lastUpdate=_getTime();for(a=["ms","moz","webkit","o"],i=a.length;--i>-1&&!_reqAnimFrame;)_reqAnimFrame=window[a[i]+"RequestAnimationFrame"],_cancelAnimFrame=window[a[i]+"CancelAnimationFrame"]||window[a[i]+"CancelRequestAnimationFrame"];_class("Ticker",function(fps,useRAF){var _self=this,_startTime=_getTime(),_useRAF=useRAF!==!1&&_reqAnimFrame,_lagThreshold=500,_adjustedLag=33,_tickWord="tick",_fps,_req,_id,_gap,_nextTime,_tick=function(manual){var elapsed=_getTime()-_lastUpdate,overlap,dispatch;if(elapsed>_lagThreshold)_startTime+=elapsed-_adjustedLag;if(_lastUpdate+=elapsed,_self.time=(_lastUpdate-_startTime)/1e3,overlap=_self.time-_nextTime,!_fps||overlap>0||manual===!0)_self.frame++,_nextTime+=overlap+(overlap>=_gap?.004:_gap-overlap),dispatch=!0;if(manual!==!0)_id=_req(_tick);if(dispatch)_self.dispatchEvent(_tickWord)};EventDispatcher.call(_self),_self.time=_self.frame=0,_self.tick=function(){_tick(!0)},_self.lagSmoothing=function(threshold,adjustedLag){_lagThreshold=threshold||1/_tinyNum,_adjustedLag=Math.min(adjustedLag,_lagThreshold,0)},_self.sleep=function(){if(null!=_id){if(!_useRAF||!_cancelAnimFrame)clearTimeout(_id);else _cancelAnimFrame(_id);if(_req=_emptyFunc,_id=null,_self===_ticker)_tickerActive=!1}},_self.wake=function(){if(null!==_id)_self.sleep();else if(_self.frame>10)_lastUpdate=_getTime()-_lagThreshold+5;if(_req=0===_fps?_emptyFunc:!_useRAF||!_reqAnimFrame?function(f){return setTimeout(f,1e3*(_nextTime-_self.time)+1|0)}:_reqAnimFrame,_self===_ticker)_tickerActive=!0;_tick(2)},_self.fps=function(value){if(!arguments.length)return _fps;else return _fps=value,_gap=1/(_fps||60),_nextTime=this.time+_gap,_self.wake(),void 0},_self.useRAF=function(value){if(!arguments.length)return _useRAF;else return _self.sleep(),_useRAF=value,_self.fps(_fps),void 0},_self.fps(fps),setTimeout(function(){if(_useRAF&&_self.frame<5)_self.useRAF(!1)},1500)}),p=gs.Ticker.prototype=new gs.events.EventDispatcher,p.constructor=gs.Ticker;var Animation=_class("core.Animation",function(duration,vars){if(this.vars=vars=vars||{},this._duration=this._totalDuration=duration||0,this._delay=Number(vars.delay)||0,this._timeScale=1,this._active=vars.immediateRender===!0,this.data=vars.data,this._reversed=vars.reversed===!0,_rootTimeline){if(!_tickerActive)_ticker.wake();var tl=this.vars.useFrames?_rootFramesTimeline:_rootTimeline;if(tl.add(this,tl._time),this.vars.paused)this.paused(!0)}});_ticker=Animation.ticker=new gs.Ticker,p=Animation.prototype,p._dirty=p._gc=p._initted=p._paused=!1,p._totalTime=p._time=0,p._rawPrevTime=-1,p._next=p._last=p._onUpdate=p._timeline=p.timeline=null,p._paused=!1;var _checkTimeout=function(){if(_tickerActive&&_getTime()-_lastUpdate>2e3)_ticker.wake();setTimeout(_checkTimeout,2e3)};_checkTimeout(),p.play=function(from,suppressEvents){if(null!=from)this.seek(from,suppressEvents);return this.reversed(!1).paused(!1)},p.pause=function(atTime,suppressEvents){if(null!=atTime)this.seek(atTime,suppressEvents);return this.paused(!0)},p.resume=function(from,suppressEvents){if(null!=from)this.seek(from,suppressEvents);return this.paused(!1)},p.seek=function(time,suppressEvents){return this.totalTime(Number(time),suppressEvents!==!1)},p.restart=function(includeDelay,suppressEvents){return this.reversed(!1).paused(!1).totalTime(includeDelay?-this._delay:0,suppressEvents!==!1,!0)},p.reverse=function(from,suppressEvents){if(null!=from)this.seek(from||this.totalDuration(),suppressEvents);return this.reversed(!0).paused(!1)},p.render=function(time,suppressEvents,force){},p.invalidate=function(){if(this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,this._gc||!this.timeline)this._enabled(!0);return this},p.isActive=function(){var tl=this._timeline,startTime=this._startTime,rawTime;return!tl||!this._gc&&!this._paused&&tl.isActive()&&(rawTime=tl.rawTime())>=startTime&&rawTime<startTime+this.totalDuration()/this._timeScale},p._enabled=function(enabled,ignoreTimeline){if(!_tickerActive)_ticker.wake();if(this._gc=!enabled,this._active=this.isActive(),ignoreTimeline!==!0)if(enabled&&!this.timeline)this._timeline.add(this,this._startTime-this._delay);else if(!enabled&&this.timeline)this._timeline._remove(this,!0);return!1},p._kill=function(vars,target){return this._enabled(!1,!1)},p.kill=function(vars,target){return this._kill(vars,target),this},p._uncache=function(includeSelf){for(var tween=includeSelf?this:this.timeline;tween;)tween._dirty=!0,tween=tween.timeline;return this},p._swapSelfInParams=function(params){for(var i=params.length,copy=params.concat();--i>-1;)if("{self}"===params[i])copy[i]=this;return copy},p._callback=function(type){var v=this.vars;v[type].apply(v[type+"Scope"]||v.callbackScope||this,v[type+"Params"]||_blankArray)},p.eventCallback=function(type,callback,params,scope){if("on"===(type||"").substr(0,2)){var v=this.vars;if(1===arguments.length)return v[type];if(null==callback)delete v[type];else v[type]=callback,v[type+"Params"]=_isArray(params)&&-1!==params.join("").indexOf("{self}")?this._swapSelfInParams(params):params,v[type+"Scope"]=scope;if("onUpdate"===type)this._onUpdate=callback}return this},p.delay=function(value){if(!arguments.length)return this._delay;if(this._timeline.smoothChildTiming)this.startTime(this._startTime+value-this._delay);return this._delay=value,this},p.duration=function(value){if(!arguments.length)return this._dirty=!1,this._duration;if(this._duration=this._totalDuration=value,this._uncache(!0),this._timeline.smoothChildTiming)if(this._time>0)if(this._time<this._duration)if(0!==value)this.totalTime(this._totalTime*(value/this._duration),!0);return this},p.totalDuration=function(value){return this._dirty=!1,!arguments.length?this._totalDuration:this.duration(value)},p.time=function(value,suppressEvents){if(!arguments.length)return this._time;if(this._dirty)this.totalDuration();return this.totalTime(value>this._duration?this._duration:value,suppressEvents)},p.totalTime=function(time,suppressEvents,uncapped){if(!_tickerActive)_ticker.wake();if(!arguments.length)return this._totalTime;if(this._timeline){if(0>time&&!uncapped)time+=this.totalDuration();if(this._timeline.smoothChildTiming){if(this._dirty)this.totalDuration();var totalDuration=this._totalDuration,tl=this._timeline;if(time>totalDuration&&!uncapped)time=totalDuration;if(this._startTime=(this._paused?this._pauseTime:tl._time)-(!this._reversed?time:totalDuration-time)/this._timeScale,!tl._dirty)this._uncache(!1);if(tl._timeline)for(;tl._timeline;){if(tl._timeline._time!==(tl._startTime+tl._totalTime)/tl._timeScale)tl.totalTime(tl._totalTime,!0);tl=tl._timeline}}if(this._gc)this._enabled(!0,!1);if(this._totalTime!==time||0===this._duration){if(_lazyTweens.length)_lazyRender();if(this.render(time,suppressEvents,!1),_lazyTweens.length)_lazyRender()}}return this},p.progress=p.totalProgress=function(value,suppressEvents){var duration=this.duration();return!arguments.length?duration?this._time/duration:this.ratio:this.totalTime(duration*value,suppressEvents)},p.startTime=function(value){if(!arguments.length)return this._startTime;if(value!==this._startTime)if(this._startTime=value,this.timeline)if(this.timeline._sortChildren)this.timeline.add(this,value-this._delay);return this},p.endTime=function(includeRepeats){return this._startTime+(0!=includeRepeats?this.totalDuration():this.duration())/this._timeScale},p.timeScale=function(value){if(!arguments.length)return this._timeScale;if(value=value||_tinyNum,this._timeline&&this._timeline.smoothChildTiming){var pauseTime=this._pauseTime,t=pauseTime||0===pauseTime?pauseTime:this._timeline.totalTime();this._startTime=t-(t-this._startTime)*this._timeScale/value}return this._timeScale=value,this._uncache(!1)},p.reversed=function(value){if(!arguments.length)return this._reversed;if(value!=this._reversed)this._reversed=value,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0);return this},p.paused=function(value){if(!arguments.length)return this._paused;var tl=this._timeline,raw,elapsed;if(value!=this._paused)if(tl){if(!_tickerActive&&!value)_ticker.wake();if(raw=tl.rawTime(),elapsed=raw-this._pauseTime,!value&&tl.smoothChildTiming)this._startTime+=elapsed,this._uncache(!1);if(this._pauseTime=value?raw:null,this._paused=value,this._active=this.isActive(),!value&&0!==elapsed&&this._initted&&this.duration())raw=tl.smoothChildTiming?this._totalTime:(raw-this._startTime)/this._timeScale,this.render(raw,raw===this._totalTime,!0)}if(this._gc&&!value)this._enabled(!0,!1);return this};var SimpleTimeline=_class("core.SimpleTimeline",function(vars){Animation.call(this,0,vars),this.autoRemoveChildren=this.smoothChildTiming=!0});p=SimpleTimeline.prototype=new Animation,p.constructor=SimpleTimeline,p.kill()._gc=!1,p._first=p._last=p._recent=null,p._sortChildren=!1,p.add=p.insert=function(child,position,align,stagger){var prevTween,st;if(child._startTime=Number(position||0)+child._delay,child._paused)if(this!==child._timeline)child._pauseTime=child._startTime+(this.rawTime()-child._startTime)/child._timeScale;if(child.timeline)child.timeline._remove(child,!0);if(child.timeline=child._timeline=this,child._gc)child._enabled(!0,!0);if(prevTween=this._last,this._sortChildren)for(st=child._startTime;prevTween&&prevTween._startTime>st;)prevTween=prevTween._prev;if(prevTween)child._next=prevTween._next,prevTween._next=child;else child._next=this._first,this._first=child;if(child._next)child._next._prev=child;else this._last=child;if(child._prev=prevTween,this._recent=child,this._timeline)this._uncache(!0);return this},p._remove=function(tween,skipDisable){if(tween.timeline===this){if(!skipDisable)tween._enabled(!1,!0);if(tween._prev)tween._prev._next=tween._next;else if(this._first===tween)this._first=tween._next;if(tween._next)tween._next._prev=tween._prev;else if(this._last===tween)this._last=tween._prev;if(tween._next=tween._prev=tween.timeline=null,tween===this._recent)this._recent=this._last;if(this._timeline)this._uncache(!0)}return this},p.render=function(time,suppressEvents,force){var tween=this._first,next;for(this._totalTime=this._time=this._rawPrevTime=time;tween;){if(next=tween._next,tween._active||time>=tween._startTime&&!tween._paused)if(!tween._reversed)tween.render((time-tween._startTime)*tween._timeScale,suppressEvents,force);else tween.render((!tween._dirty?tween._totalDuration:tween.totalDuration())-(time-tween._startTime)*tween._timeScale,suppressEvents,force);tween=next}},p.rawTime=function(){if(!_tickerActive)_ticker.wake();return this._totalTime};var TweenLite=_class("TweenLite",function(target,duration,vars){if(Animation.call(this,duration,vars),this.render=TweenLite.prototype.render,null==target)throw"Cannot tween a null target.";this.target=target="string"!=typeof target?target:TweenLite.selector(target)||target;var isSelector=target.jquery||target.length&&target!==window&&target[0]&&(target[0]===window||target[0].nodeType&&target[0].style&&!target.nodeType),overwrite=this.vars.overwrite,i,targ,targets;if(this._overwrite=overwrite=null==overwrite?_overwriteLookup[TweenLite.defaultOverwrite]:"number"==typeof overwrite?overwrite>>0:_overwriteLookup[overwrite],
(isSelector||target instanceof Array||target.push&&_isArray(target))&&"number"!=typeof target[0])for(this._targets=targets=_slice(target),this._propLookup=[],this._siblings=[],i=0;i<targets.length;i++)if(targ=targets[i],targ){if("string"==typeof targ){if(targ=targets[i--]=TweenLite.selector(targ),"string"==typeof targ)targets.splice(i+1,1);continue}else if(targ.length&&targ!==window&&targ[0]&&(targ[0]===window||targ[0].nodeType&&targ[0].style&&!targ.nodeType)){targets.splice(i--,1),this._targets=targets=targets.concat(_slice(targ));continue}if(this._siblings[i]=_register(targ,this,!1),1===overwrite)if(this._siblings[i].length>1)_applyOverwrite(targ,this,null,1,this._siblings[i])}else targets.splice(i--,1);else if(this._propLookup={},this._siblings=_register(target,this,!1),1===overwrite)if(this._siblings.length>1)_applyOverwrite(target,this,null,1,this._siblings);if(this.vars.immediateRender||0===duration&&0===this._delay&&this.vars.immediateRender!==!1)this._time=-_tinyNum,this.render(-this._delay)},!0),_isSelector=function(v){return v&&v.length&&v!==window&&v[0]&&(v[0]===window||v[0].nodeType&&v[0].style&&!v.nodeType)},_autoCSS=function(vars,target){var css={},p;for(p in vars)if(!_reservedProps[p]&&(!(p in target)||"transform"===p||"x"===p||"y"===p||"width"===p||"height"===p||"className"===p||"border"===p)&&(!_plugins[p]||_plugins[p]&&_plugins[p]._autoCSS))css[p]=vars[p],delete vars[p];vars.css=css};p=TweenLite.prototype=new Animation,p.constructor=TweenLite,p.kill()._gc=!1,p.ratio=0,p._firstPT=p._targets=p._overwrittenProps=p._startAt=null,p._notifyPluginsOfEnabled=p._lazy=!1,TweenLite.version="1.18.0",TweenLite.defaultEase=p._ease=new Ease(null,null,1,1),TweenLite.defaultOverwrite="auto",TweenLite.ticker=_ticker,TweenLite.autoSleep=120,TweenLite.lagSmoothing=function(threshold,adjustedLag){_ticker.lagSmoothing(threshold,adjustedLag)},TweenLite.selector=window.$||window.jQuery||function(e){var selector=window.$||window.jQuery;if(selector)return TweenLite.selector=selector,selector(e);else return"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var _lazyTweens=[],_lazyLookup={},_numbersExp=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,_setRatio=function(v){for(var pt=this._firstPT,min=1e-6,val;pt;){if(val=!pt.blob?pt.c*v+pt.s:v?this.join(""):this.start,pt.r)val=Math.round(val);else if(min>val)if(val>-min)val=0;if(!pt.f)pt.t[pt.p]=val;else if(pt.fp)pt.t[pt.p](pt.fp,val);else pt.t[pt.p](val);pt=pt._next}},_blobDif=function(start,end,filter,pt){var a=[start,end],charIndex=0,s="",color=0,startNums,endNums,num,i,l,nonNumbers,currentNum;if(a.start=start,filter)filter(a),start=a[0],end=a[1];if(a.length=0,startNums=start.match(_numbersExp)||[],endNums=end.match(_numbersExp)||[],pt)pt._next=null,pt.blob=1,a._firstPT=pt;for(l=endNums.length,i=0;l>i;i++){if(currentNum=endNums[i],nonNumbers=end.substr(charIndex,end.indexOf(currentNum,charIndex)-charIndex),s+=nonNumbers||!i?nonNumbers:",",charIndex+=nonNumbers.length,color)color=(color+1)%5;else if("rgba("===nonNumbers.substr(-5))color=1;if(currentNum===startNums[i]||startNums.length<=i)s+=currentNum;else{if(s)a.push(s),s="";num=parseFloat(startNums[i]),a.push(num),a._firstPT={_next:a._firstPT,t:a,p:a.length-1,s:num,c:("="===currentNum.charAt(1)?parseInt(currentNum.charAt(0)+"1",10)*parseFloat(currentNum.substr(2)):parseFloat(currentNum)-num)||0,f:0,r:color&&4>color}}charIndex+=currentNum.length}if(s+=end.substr(charIndex),s)a.push(s);return a.setRatio=_setRatio,a},_addPropTween=function(target,prop,start,end,overwriteProp,round,funcParam,stringFilter){var s="get"===start?target[prop]:start,type=typeof target[prop],isRelative="string"==typeof end&&"="===end.charAt(1),pt={t:target,p:prop,s:s,f:"function"===type,pg:0,n:overwriteProp||prop,r:round,pr:0,c:isRelative?parseInt(end.charAt(0)+"1",10)*parseFloat(end.substr(2)):parseFloat(end)-s||0},blob,getterName;if("number"!==type){if("function"===type&&"get"===start)getterName=prop.indexOf("set")||"function"!=typeof target["get"+prop.substr(3)]?prop:"get"+prop.substr(3),pt.s=s=funcParam?target[getterName](funcParam):target[getterName]();if("string"==typeof s&&(funcParam||isNaN(s)))pt.fp=funcParam,blob=_blobDif(s,end,stringFilter||TweenLite.defaultStringFilter,pt),pt={t:blob,p:"setRatio",s:0,c:1,f:2,pg:0,n:overwriteProp||prop,pr:0};else if(!isRelative)pt.c=parseFloat(end)-parseFloat(s)||0}if(pt.c){if(pt._next=this._firstPT)pt._next._prev=pt;return this._firstPT=pt,pt}},_internals=TweenLite._internals={isArray:_isArray,isSelector:_isSelector,lazyTweens:_lazyTweens,blobDif:_blobDif},_plugins=TweenLite._plugins={},_tweenLookup=_internals.tweenLookup={},_tweenLookupNum=0,_reservedProps=_internals.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},_overwriteLookup={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},_rootFramesTimeline=Animation._rootFramesTimeline=new SimpleTimeline,_rootTimeline=Animation._rootTimeline=new SimpleTimeline,_nextGCFrame=30,_lazyRender=_internals.lazyRender=function(){var i=_lazyTweens.length,tween;for(_lazyLookup={};--i>-1;)if(tween=_lazyTweens[i],tween&&tween._lazy!==!1)tween.render(tween._lazy[0],tween._lazy[1],!0),tween._lazy=!1;_lazyTweens.length=0};_rootTimeline._startTime=_ticker.time,_rootFramesTimeline._startTime=_ticker.frame,_rootTimeline._active=_rootFramesTimeline._active=!0,setTimeout(_lazyRender,1),Animation._updateRoot=TweenLite.render=function(){var i,a,p;if(_lazyTweens.length)_lazyRender();if(_rootTimeline.render((_ticker.time-_rootTimeline._startTime)*_rootTimeline._timeScale,!1,!1),_rootFramesTimeline.render((_ticker.frame-_rootFramesTimeline._startTime)*_rootFramesTimeline._timeScale,!1,!1),_lazyTweens.length)_lazyRender();if(_ticker.frame>=_nextGCFrame){_nextGCFrame=_ticker.frame+(parseInt(TweenLite.autoSleep,10)||120);for(p in _tweenLookup){for(a=_tweenLookup[p].tweens,i=a.length;--i>-1;)if(a[i]._gc)a.splice(i,1);if(0===a.length)delete _tweenLookup[p]}if(p=_rootTimeline._first,!p||p._paused)if(TweenLite.autoSleep&&!_rootFramesTimeline._first&&1===_ticker._listeners.tick.length){for(;p&&p._paused;)p=p._next;if(!p)_ticker.sleep()}}},_ticker.addEventListener("tick",Animation._updateRoot);var _register=function(target,tween,scrub){var id=target._gsTweenID,a,i;if(!_tweenLookup[id||(target._gsTweenID=id="t"+_tweenLookupNum++)])_tweenLookup[id]={target:target,tweens:[]};if(tween)if(a=_tweenLookup[id].tweens,a[i=a.length]=tween,scrub)for(;--i>-1;)if(a[i]===tween)a.splice(i,1);return _tweenLookup[id].tweens},_onOverwrite=function(overwrittenTween,overwritingTween,target,killedProps){var func=overwrittenTween.vars.onOverwrite,r1,r2;if(func)r1=func(overwrittenTween,overwritingTween,target,killedProps);if(func=TweenLite.onOverwrite,func)r2=func(overwrittenTween,overwritingTween,target,killedProps);return r1!==!1&&r2!==!1},_applyOverwrite=function(target,tween,props,mode,siblings){var i,changed,curTween,l;if(1===mode||mode>=4){for(l=siblings.length,i=0;l>i;i++)if((curTween=siblings[i])!==tween){if(!curTween._gc)if(curTween._kill(null,target,tween))changed=!0}else if(5===mode)break;return changed}var startTime=tween._startTime+_tinyNum,overlaps=[],oCount=0,zeroDur=0===tween._duration,globalStart;for(i=siblings.length;--i>-1;)if((curTween=siblings[i])===tween||curTween._gc||curTween._paused);else if(curTween._timeline!==tween._timeline){if(globalStart=globalStart||_checkOverlap(tween,0,zeroDur),0===_checkOverlap(curTween,globalStart,zeroDur))overlaps[oCount++]=curTween}else if(curTween._startTime<=startTime)if(curTween._startTime+curTween.totalDuration()/curTween._timeScale>startTime)if(!zeroDur&&curTween._initted||!(startTime-curTween._startTime<=2e-10))overlaps[oCount++]=curTween;for(i=oCount;--i>-1;){if(curTween=overlaps[i],2===mode)if(curTween._kill(props,target,tween))changed=!0;if(2!==mode||!curTween._firstPT&&curTween._initted){if(2!==mode&&!_onOverwrite(curTween,tween))continue;if(curTween._enabled(!1,!1))changed=!0}}return changed},_checkOverlap=function(tween,reference,zeroDur){for(var tl=tween._timeline,ts=tl._timeScale,t=tween._startTime;tl._timeline;){if(t+=tl._startTime,ts*=tl._timeScale,tl._paused)return-100;tl=tl._timeline}return t/=ts,t>reference?t-reference:zeroDur&&t===reference||!tween._initted&&2*_tinyNum>t-reference?_tinyNum:(t+=tween.totalDuration()/tween._timeScale/ts)>reference+_tinyNum?0:t-reference-_tinyNum};p._init=function(){var v=this.vars,op=this._overwrittenProps,dur=this._duration,immediate=!!v.immediateRender,ease=v.ease,i,initPlugins,pt,p,startVars;if(v.startAt){if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill();startVars={};for(p in v.startAt)startVars[p]=v.startAt[p];if(startVars.overwrite=!1,startVars.immediateRender=!0,startVars.lazy=immediate&&v.lazy!==!1,startVars.startAt=startVars.delay=null,this._startAt=TweenLite.to(this.target,0,startVars),immediate)if(this._time>0)this._startAt=null;else if(0!==dur)return}else if(v.runBackwards&&0!==dur)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{if(0!==this._time)immediate=!1;pt={};for(p in v)if(!_reservedProps[p]||"autoCSS"===p)pt[p]=v[p];if(pt.overwrite=0,pt.data="isFromStart",pt.lazy=immediate&&v.lazy!==!1,pt.immediateRender=immediate,this._startAt=TweenLite.to(this.target,0,pt),!immediate){if(this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender)this._startAt=null}else if(0===this._time)return}if(this._ease=ease=!ease?TweenLite.defaultEase:ease instanceof Ease?ease:"function"==typeof ease?new Ease(ease,v.easeParams):_easeMap[ease]||TweenLite.defaultEase,v.easeParams instanceof Array&&ease.config)this._ease=ease.config.apply(ease,v.easeParams);if(this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets){for(i=this._targets.length;--i>-1;)if(this._initProps(this._targets[i],this._propLookup[i]={},this._siblings[i],op?op[i]:null))initPlugins=!0}else initPlugins=this._initProps(this.target,this._propLookup,this._siblings,op);if(initPlugins)TweenLite._onPluginEvent("_onInitAllProps",this);if(op)if(!this._firstPT)if("function"!=typeof this.target)this._enabled(!1,!1);if(v.runBackwards)for(pt=this._firstPT;pt;)pt.s+=pt.c,pt.c=-pt.c,pt=pt._next;this._onUpdate=v.onUpdate,this._initted=!0},p._initProps=function(target,propLookup,siblings,overwrittenProps){var p,i,initPlugins,plugin,pt,v;if(null==target)return!1;if(_lazyLookup[target._gsTweenID])_lazyRender();if(!this.vars.css)if(target.style)if(target!==window&&target.nodeType)if(_plugins.css)if(this.vars.autoCSS!==!1)_autoCSS(this.vars,target);for(p in this.vars)if(v=this.vars[p],_reservedProps[p]){if(v)if(v instanceof Array||v.push&&_isArray(v))if(-1!==v.join("").indexOf("{self}"))this.vars[p]=v=this._swapSelfInParams(v,this)}else if(_plugins[p]&&(plugin=new _plugins[p])._onInitTween(target,this.vars[p],this)){for(this._firstPT=pt={_next:this._firstPT,t:plugin,p:"setRatio",s:0,c:1,f:1,n:p,pg:1,pr:plugin._priority},i=plugin._overwriteProps.length;--i>-1;)propLookup[plugin._overwriteProps[i]]=this._firstPT;if(plugin._priority||plugin._onInitAllProps)initPlugins=!0;if(plugin._onDisable||plugin._onEnable)this._notifyPluginsOfEnabled=!0;if(pt._next)pt._next._prev=pt}else propLookup[p]=_addPropTween.call(this,target,p,"get",v,p,0,null,this.vars.stringFilter);if(overwrittenProps)if(this._kill(overwrittenProps,target))return this._initProps(target,propLookup,siblings,overwrittenProps);if(this._overwrite>1)if(this._firstPT)if(siblings.length>1)if(_applyOverwrite(target,this,propLookup,this._overwrite,siblings))return this._kill(propLookup,target),this._initProps(target,propLookup,siblings,overwrittenProps);if(this._firstPT)if(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)_lazyLookup[target._gsTweenID]=!0;return initPlugins},p.render=function(time,suppressEvents,force){var prevTime=this._time,duration=this._duration,prevRawPrevTime=this._rawPrevTime,isComplete,callback,pt,rawPrevTime;if(time>=duration){if(this._totalTime=this._time=duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,!this._reversed)isComplete=!0,callback="onComplete",force=force||this._timeline.autoRemoveChildren;if(0===duration)if(this._initted||!this.vars.lazy||force){if(this._startTime===this._timeline._duration)time=0;if(0===time||0>prevRawPrevTime||prevRawPrevTime===_tinyNum&&"isPause"!==this.data)if(prevRawPrevTime!==time)if(force=!0,prevRawPrevTime>_tinyNum)callback="onReverseComplete";this._rawPrevTime=rawPrevTime=!suppressEvents||time||prevRawPrevTime===time?time:_tinyNum}}else if(1e-7>time){if(this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,0!==prevTime||0===duration&&prevRawPrevTime>0)callback="onReverseComplete",isComplete=this._reversed;if(0>time)if(this._active=!1,0===duration)if(this._initted||!this.vars.lazy||force){if(prevRawPrevTime>=0&&(prevRawPrevTime!==_tinyNum||"isPause"!==this.data))force=!0;this._rawPrevTime=rawPrevTime=!suppressEvents||time||prevRawPrevTime===time?time:_tinyNum}if(!this._initted)force=!0}else if(this._totalTime=this._time=time,this._easeType){var r=time/duration,type=this._easeType,pow=this._easePower;if(1===type||3===type&&r>=.5)r=1-r;if(3===type)r*=2;if(1===pow)r*=r;else if(2===pow)r*=r*r;else if(3===pow)r*=r*r*r;else if(4===pow)r*=r*r*r*r;if(1===type)this.ratio=1-r;else if(2===type)this.ratio=r;else if(.5>time/duration)this.ratio=r/2;else this.ratio=1-r/2}else this.ratio=this._ease.getRatio(time/duration);if(this._time!==prevTime||force){if(!this._initted){if(this._init(),!this._initted||this._gc)return;else if(!force&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=prevTime,this._rawPrevTime=prevRawPrevTime,_lazyTweens.push(this),this._lazy=[time,suppressEvents],void 0;if(this._time&&!isComplete)this.ratio=this._ease.getRatio(this._time/duration);else if(isComplete&&this._ease._calcEnd)this.ratio=this._ease.getRatio(0===this._time?0:1)}if(this._lazy!==!1)this._lazy=!1;if(!this._active)if(!this._paused&&this._time!==prevTime&&time>=0)this._active=!0;if(0===prevTime){if(this._startAt)if(time>=0)this._startAt.render(time,suppressEvents,force);else if(!callback)callback="_dummyGS";if(this.vars.onStart)if(0!==this._time||0===duration)if(!suppressEvents)this._callback("onStart")}for(pt=this._firstPT;pt;){if(pt.f)pt.t[pt.p](pt.c*this.ratio+pt.s);else pt.t[pt.p]=pt.c*this.ratio+pt.s;pt=pt._next}if(this._onUpdate){if(0>time)if(this._startAt&&time!==-1e-4)this._startAt.render(time,suppressEvents,force);if(!suppressEvents)if(this._time!==prevTime||isComplete)this._callback("onUpdate")}if(callback)if(!this._gc||force){if(0>time&&this._startAt&&!this._onUpdate&&time!==-1e-4)this._startAt.render(time,suppressEvents,force);if(isComplete){if(this._timeline.autoRemoveChildren)this._enabled(!1,!1);this._active=!1}if(!suppressEvents&&this.vars[callback])this._callback(callback);if(0===duration&&this._rawPrevTime===_tinyNum&&rawPrevTime!==_tinyNum)this._rawPrevTime=0}}},p._kill=function(vars,target,overwritingTween){if("all"===vars)vars=null;if(null==vars)if(null==target||target===this.target)return this._lazy=!1,this._enabled(!1,!1);target="string"!=typeof target?target||this._targets||this.target:TweenLite.selector(target)||target;var simultaneousOverwrite=overwritingTween&&this._time&&overwritingTween._startTime===this._startTime&&this._timeline===overwritingTween._timeline,i,overwrittenProps,p,pt,propLookup,changed,killProps,record,killed;if((_isArray(target)||_isSelector(target))&&"number"!=typeof target[0]){for(i=target.length;--i>-1;)if(this._kill(vars,target[i],overwritingTween))changed=!0}else{if(this._targets){for(i=this._targets.length;--i>-1;)if(target===this._targets[i]){propLookup=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],overwrittenProps=this._overwrittenProps[i]=vars?this._overwrittenProps[i]||{}:"all";break}}else if(target!==this.target)return!1;else propLookup=this._propLookup,overwrittenProps=this._overwrittenProps=vars?this._overwrittenProps||{}:"all";if(propLookup){if(killProps=vars||propLookup,record=vars!==overwrittenProps&&"all"!==overwrittenProps&&vars!==propLookup&&("object"!=typeof vars||!vars._tempKill),overwritingTween&&(TweenLite.onOverwrite||this.vars.onOverwrite)){for(p in killProps)if(propLookup[p]){if(!killed)killed=[];killed.push(p)}if((killed||!vars)&&!_onOverwrite(this,overwritingTween,target,killed))return!1}for(p in killProps){if(pt=propLookup[p]){if(simultaneousOverwrite){if(pt.f)pt.t[pt.p](pt.s);else pt.t[pt.p]=pt.s;changed=!0}if(pt.pg&&pt.t._kill(killProps))changed=!0;if(!pt.pg||0===pt.t._overwriteProps.length){if(pt._prev)pt._prev._next=pt._next;else if(pt===this._firstPT)this._firstPT=pt._next;if(pt._next)pt._next._prev=pt._prev;pt._next=pt._prev=null}delete propLookup[p]}if(record)overwrittenProps[p]=1}if(!this._firstPT&&this._initted)this._enabled(!1,!1)}}return changed},p.invalidate=function(){if(this._notifyPluginsOfEnabled)TweenLite._onPluginEvent("_onDisable",this);if(this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],Animation.prototype.invalidate.call(this),this.vars.immediateRender)this._time=-_tinyNum,this.render(-this._delay);return this},p._enabled=function(enabled,ignoreTimeline){if(!_tickerActive)_ticker.wake();if(enabled&&this._gc){var targets=this._targets,i;if(targets)for(i=targets.length;--i>-1;)this._siblings[i]=_register(targets[i],this,!0);else this._siblings=_register(this.target,this,!0)}if(Animation.prototype._enabled.call(this,enabled,ignoreTimeline),this._notifyPluginsOfEnabled)if(this._firstPT)return TweenLite._onPluginEvent(enabled?"_onEnable":"_onDisable",this);return!1},TweenLite.to=function(target,duration,vars){return new TweenLite(target,duration,vars)},TweenLite.from=function(target,duration,vars){return vars.runBackwards=!0,vars.immediateRender=0!=vars.immediateRender,new TweenLite(target,duration,vars)},TweenLite.fromTo=function(target,duration,fromVars,toVars){return toVars.startAt=fromVars,toVars.immediateRender=0!=toVars.immediateRender&&0!=fromVars.immediateRender,new TweenLite(target,duration,toVars)},TweenLite.delayedCall=function(delay,callback,params,scope,useFrames){return new TweenLite(callback,0,{delay:delay,onComplete:callback,onCompleteParams:params,callbackScope:scope,onReverseComplete:callback,onReverseCompleteParams:params,immediateRender:!1,lazy:!1,useFrames:useFrames,overwrite:0})},TweenLite.set=function(target,vars){return new TweenLite(target,0,vars)},TweenLite.getTweensOf=function(target,onlyActive){if(null==target)return[];target="string"!=typeof target?target:TweenLite.selector(target)||target;var i,a,j,t;if((_isArray(target)||_isSelector(target))&&"number"!=typeof target[0]){for(i=target.length,a=[];--i>-1;)a=a.concat(TweenLite.getTweensOf(target[i],onlyActive));for(i=a.length;--i>-1;)for(t=a[i],j=i;--j>-1;)if(t===a[j])a.splice(i,1)}else for(a=_register(target).concat(),i=a.length;--i>-1;)if(a[i]._gc||onlyActive&&!a[i].isActive())a.splice(i,1);return a},TweenLite.killTweensOf=TweenLite.killDelayedCallsTo=function(target,onlyActive,vars){if("object"==typeof onlyActive)vars=onlyActive,onlyActive=!1;for(var a=TweenLite.getTweensOf(target,onlyActive),i=a.length;--i>-1;)a[i]._kill(vars,target)};var TweenPlugin=_class("plugins.TweenPlugin",function(props,priority){this._overwriteProps=(props||"").split(","),this._propName=this._overwriteProps[0],this._priority=priority||0,this._super=TweenPlugin.prototype},!0);if(p=TweenPlugin.prototype,TweenPlugin.version="1.18.0",TweenPlugin.API=2,p._firstPT=null,p._addTween=_addPropTween,p.setRatio=_setRatio,p._kill=function(lookup){var a=this._overwriteProps,pt=this._firstPT,i;if(null!=lookup[this._propName])this._overwriteProps=[];else for(i=a.length;--i>-1;)if(null!=lookup[a[i]])a.splice(i,1);for(;pt;){if(null!=lookup[pt.n]){if(pt._next)pt._next._prev=pt._prev;if(pt._prev)pt._prev._next=pt._next,pt._prev=null;else if(this._firstPT===pt)this._firstPT=pt._next}pt=pt._next}return!1},p._roundProps=function(lookup,value){for(var pt=this._firstPT;pt;){if(lookup[this._propName]||null!=pt.n&&lookup[pt.n.split(this._propName+"_").join("")])pt.r=value;pt=pt._next}},TweenLite._onPluginEvent=function(type,tween){var pt=tween._firstPT,changed,pt2,first,last,next;if("_onInitAllProps"===type){for(;pt;){for(next=pt._next,pt2=first;pt2&&pt2.pr>pt.pr;)pt2=pt2._next;if(pt._prev=pt2?pt2._prev:last)pt._prev._next=pt;else first=pt;if(pt._next=pt2)pt2._prev=pt;else last=pt;pt=next}pt=tween._firstPT=first}for(;pt;){if(pt.pg)if("function"==typeof pt.t[type])if(pt.t[type]())changed=!0;pt=pt._next}return changed},TweenPlugin.activate=function(plugins){for(var i=plugins.length;--i>-1;)if(plugins[i].API===TweenPlugin.API)_plugins[(new plugins[i])._propName]=plugins[i];return!0},_gsDefine.plugin=function(config){if(!(config&&config.propName&&config.init&&config.API))throw"illegal plugin definition.";var propName=config.propName,priority=config.priority||0,overwriteProps=config.overwriteProps,map={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},Plugin=_class("plugins."+propName.charAt(0).toUpperCase()+propName.substr(1)+"Plugin",function(){TweenPlugin.call(this,propName,priority),this._overwriteProps=overwriteProps||[]},config.global===!0),p=Plugin.prototype=new TweenPlugin(propName),prop;p.constructor=Plugin,Plugin.API=config.API;for(prop in map)if("function"==typeof config[prop])p[map[prop]]=config[prop];return Plugin.version=config.version,TweenPlugin.activate([Plugin]),Plugin},a=window._gsQueue,a){for(i=0;i<a.length;i++)a[i]();for(p in _defLookup)if(!_defLookup[p].func)window.console.log("GSAP encountered missing dependency: com.greensock."+p)}_tickerActive=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax")}).call(exports,function(){return this}())},function(module,exports){(function(__webpack_amd_options__){module.exports=__webpack_amd_options__}).call(exports,{})},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),_gsapSrcUncompressedTweenMax=__webpack_require__(7),_gsapSrcUncompressedTweenMax2=_interopRequireDefault(_gsapSrcUncompressedTweenMax),_facebookBtn=void 0,_twitterBtn=void 0,createShareWidget=function createShareWidget(dom){function init(){_facebookBtn=_jquery2["default"](".share-facebook"),_twitterBtn=_jquery2["default"](".share-twitter"),_facebookBtn.on("click",_clickFBShare),_twitterBtn.on("click",_openTwitterBox)}function _clickFBShare(){event.preventDefault();var url=encodeURIComponent(window.location.href),win=_jquery2["default"](window),popInHeight=450,popInWidth=550;window.open("https://www.facebook.com/sharer/sharer.php?m2w&s=100&p[url]="+url+"&p[summary]=Summary","fbshare","height="+popInHeight+", width="+popInWidth+", top="+(win.height()/2-popInHeight/2)+", left="+(win.width()/2-popInWidth/2)+", toolbar=0, location=0, menubar=0, directories=0, scrollbars=0")}function _openTwitterBox(event){event.preventDefault();var _this=_jquery2["default"](this),url=encodeURIComponent(window.location.href),text=document.getElementsByTagName("title")[0].innerHTML,win=_jquery2["default"](window),popInHeight=450,popInWidth=550;text=text.replace("#","%23"),window.open("https://twitter.com/intent/tweet?url="+url+"&text="+text,"twitterwindow","height="+popInHeight+", width="+popInWidth+", top="+(win.height()/2-popInHeight/2)+", left="+(win.width()/2-popInWidth/2)+", toolbar=0, location=0, menubar=0, directories=0, scrollbars=0")}if(dom)init()};exports.createShareWidget=createShareWidget},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),_gsapSrcUncompressedTweenMax=__webpack_require__(7),_gsapSrcUncompressedTweenMax2=_interopRequireDefault(_gsapSrcUncompressedTweenMax),_gsapSrcUncompressedPluginsScrollToPlugin=__webpack_require__(11),_gsapSrcUncompressedPluginsScrollToPlugin2=_interopRequireDefault(_gsapSrcUncompressedPluginsScrollToPlugin),_letters=void 0,_languageSelector=void 0,_currentLanguage="EN",createMultiLanguageComponent=function createMultiLanguageComponent(dom){function init(){_languageSelector=_jquery2["default"](".multilanguage-language-selector-item"),_letters=_jquery2["default"](".multilanguage-content-inner"),_changeLanguage(),_languageSelector.on("click",_clickChangeLanguage)}function _clickChangeLanguage(event){return _currentLanguage=_jquery2["default"](this).data("language"),_changeLanguage(),event.stopPropagation(),!1}function _changeLanguage(){_languageSelector.removeClass("selected"),_letters.removeClass("active"),_jquery2["default"](".lang-"+_currentLanguage).addClass("selected"),_jquery2["default"](".multilanguage-letter-"+_currentLanguage).addClass("active")}if(dom)init()};exports.createMultiLanguageComponent=createMultiLanguageComponent},function(module,exports){(function(global){/*!
* VERSION: 1.7.5
* DATE: 2015-02-26
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;if((_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var _doc=document.documentElement,_window=window,_max=function(element,axis){var dim="x"===axis?"Width":"Height",scroll="scroll"+dim,client="client"+dim,body=document.body;return element===_window||element===_doc||element===body?Math.max(_doc[scroll],body[scroll])-(_window["inner"+dim]||_doc[client]||body[client]):element[scroll]-element["offset"+dim]},ScrollToPlugin=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,version:"1.7.5",init:function(target,value,tween){if(this._wdw=target===_window,this._target=target,this._tween=tween,"object"!=typeof value)value={y:value};if(this.vars=value,this._autoKill=value.autoKill!==!1,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=value.x)this._addTween(this,"x",this.x,"max"===value.x?_max(target,"x"):value.x,"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x");else this.skipX=!0;if(null!=value.y)this._addTween(this,"y",this.y,"max"===value.y?_max(target,"y"):value.y,"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y");else this.skipY=!0;return!0},set:function(v){this._super.setRatio.call(this,v);var x=this._wdw||!this.skipX?this.getX():this.xPrev,y=this._wdw||!this.skipY?this.getY():this.yPrev,yDif=y-this.yPrev,xDif=x-this.xPrev;if(this._autoKill){if(!this.skipX&&(xDif>7||-7>xDif)&&x<_max(this._target,"x"))this.skipX=!0;if(!this.skipY&&(yDif>7||-7>yDif)&&y<_max(this._target,"y"))this.skipY=!0;if(this.skipX&&this.skipY)if(this._tween.kill(),this.vars.onAutoKill)this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[])}if(this._wdw)_window.scrollTo(!this.skipX?this.x:x,!this.skipY?this.y:y);else{if(!this.skipY)this._target.scrollTop=this.y;if(!this.skipX)this._target.scrollLeft=this.x}this.xPrev=this.x,this.yPrev=this.y}}),p=ScrollToPlugin.prototype;ScrollToPlugin.max=_max,p.getX=function(){return!this._wdw?this._target.scrollLeft:null!=_window.pageXOffset?_window.pageXOffset:null!=_doc.scrollLeft?_doc.scrollLeft:document.body.scrollLeft},p.getY=function(){return!this._wdw?this._target.scrollTop:null!=_window.pageYOffset?_window.pageYOffset:null!=_doc.scrollTop?_doc.scrollTop:document.body.scrollTop},p._kill=function(lookup){if(lookup.scrollTo_x)this.skipX=!0;if(lookup.scrollTo_y)this.skipY=!0;return this._super._kill.call(this,lookup)}}),_gsScope._gsDefine)_gsScope._gsQueue.pop()()}).call(exports,function(){return this}())},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),_html=void 0,_window=void 0,_scrollTop=void 0,_mainNav=void 0,_LanguagebarHolder=void 0,_Languagebar=void 0,_LanguagebarItems=void 0,_LanguagebarButton=void 0,_LanguagebarLogo=void 0,_headerBG=void 0,_navBG=void 0,_Header=void 0,_LanguagebarBg=void 0,_LanguagebarWrapper=void 0,_scrolledYpos=void 0,_LanguagebarButtonCross=void 0,_LanguagebarButtonText=void 0,_navScroll=void 0,_selectLanguageList=void 0,isAndroidDefaultBrowser=_utilsEnv2["default"].isAndroidNativeBrowser(),createHeaderLanguage=function createHeaderLanguage(dom){function init(){if(_html=_jquery2["default"]("html"),_window=_jquery2["default"](window),_mainNav=_jquery2["default"](".Languagebar-primarynav"),_LanguagebarItems=_jquery2["default"](".Languagebar-item"),_Header=_jquery2["default"](".Header"),_navBG=_jquery2["default"](".Languagebar-background"),_LanguagebarHolder=_jquery2["default"](".Languagebar-holder"),_Languagebar=_jquery2["default"](".Languagebar"),_LanguagebarBg=_jquery2["default"](".Languagebar-hamburger-bg"),_headerBG=_jquery2["default"](".Header-bg"),_LanguagebarWrapper=_jquery2["default"](".Languagebar-wrapper"),_LanguagebarButtonCross=_jquery2["default"](".Languagebar-hamburger-button"),_LanguagebarButtonText=_jquery2["default"](".Languagebar-language"),_LanguagebarLogo=_jquery2["default"](".Navbar-logo"),_selectLanguageList=_jquery2["default"](".Languagebar-language-list"),_selectLanguageList.change(function(){var optionSelected=_jquery2["default"](".Languagebar-language-list option:selected"),optValueSelected=optionSelected.val();window.open(optValueSelected)}),_window.on("scroll",_onScroll),_window.on("resize",_onResize),_LanguagebarWrapper.on("touchmove",_onWrapperScroll),_mainNav.on("mouseleave",_rolloutMainNav),_LanguagebarItems.on("mouseenter",_rolloverNavItem),_LanguagebarItems.on("mouseleave",_rolloutNavItem),_jquery2["default"](".Languagebar-item-faq").on("click",scrollToFAQ),_utilsEnv2["default"].touchCapable)_LanguagebarButtonCross.on("touchstart",toggleMenu),_LanguagebarButtonText.on("touchstart",toggleMenu),_headerBG.on("touchstart",closeTabletMenu);else _LanguagebarButtonCross.on("click",toggleMenu),_LanguagebarButtonText.on("click",toggleMenu),_headerBG.on("click",closeTabletMenu);if(isAndroidDefaultBrowser)_Header.addClass("not-fixed"),_LanguagebarBg.addClass("not-fixed"),_LanguagebarButtonCross.addClass("not-fixed"),_jquery2["default"](".Languagebar-logo-outside").addClass("is-android"),_Header.css("overflow","auto");else _jquery2["default"](".Languagebar-scroller").addClass("has-touch-scroll");_jquery2["default"](".Languagebar-dropdown-main").addClass("show-arrow"),_jquery2["default"](window).on("resize",function(){if(isAndroidDefaultBrowser)_jquery2["default"](".Languagebar-backdrop").height(_jquery2["default"](".Languagebar"))})}function scrollToFAQ(e){return TweenMax.to(window,1,{scrollTo:{y:_jquery2["default"](".js-faq").offset().top-50},ease:Power2.easeOut}),toggleMenu(),e.preventDefault(),!1}function _onWrapperScroll(){if(_LanguagebarHolder.hasClass("Languagebar--active"))if(_LanguagebarWrapper.position().top<50)_LanguagebarBg.addClass("is-scroll");else _LanguagebarBg.removeClass("is-scroll")}function _onScroll(){if(_scrollTop=_window.scrollTop(),_Header&&_navBG)if(_scrollTop>1)_Header.addClass("has-scrolled"),_navBG.addClass("has-scrolled");else _Header.removeClass("has-scrolled"),_navBG.removeClass("has-scrolled")}function _rolloverNavItem(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable){_LanguagebarItems.addClass("notactive");var navItem=_jquery2["default"](event.target),parentDropdown=navItem.parents(".Languagebar-dropdown");if(parentDropdown.length>0)parentDropdown.removeClass("notactive");navItem.removeClass("notactive")}}function _rolloutNavItem(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable){var item=_jquery2["default"](event.target);item.removeClass("notactive");var parentDropdown=item.parents(".Languagebar-dropdown");if(parentDropdown.length>0&&parentDropdown.hasClass("open"))parentDropdown.find(".Languagebar-item").addClass("notactive")}}function _rolloutMainNav(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable)_LanguagebarItems.removeClass("notactive")}function closeTabletMenu(){if(_LanguagebarHolder.hasClass("Languagebar--active"))_LanguagebarButtonText.show(),_LanguagebarButtonCross.hide(),_jquery2["default"](".Navbar-hamburger-button").show(),_LanguagebarHolder.removeClass("Languagebar--active"),_jquery2["default"]("body").removeClass("no-scroll"),_jquery2["default"](".Header").removeClass("removebg"),_jquery2["default"](".Languagebar-backdrop").addClass("animate-out"),setTimeout(function(){_jquery2["default"](".Languagebar-backdrop").removeClass("animate-out")},240)}function toggleMenu(){if(_LanguagebarHolder.toggleClass("Languagebar--active"),_LanguagebarHolder.hasClass("Languagebar--active")){if(_jquery2["default"](".Navbar-hamburger-button").hide(),_LanguagebarButtonText.hide(),_LanguagebarButtonCross.show(),_LanguagebarLogo.hide(),_jquery2["default"](".Header").addClass("removebg"),_jquery2["default"]("body").addClass("no-scroll"),_jquery2["default"](".Languagebar-scroller").scrollTop(0),isAndroidDefaultBrowser)_html.addClass("disable-scroll ")}else _LanguagebarButtonText.show(),_LanguagebarButtonCross.hide(),_jquery2["default"](".Navbar-hamburger-button").show(),_LanguagebarLogo.show(),_jquery2["default"]("body").removeClass("no-scroll"),_jquery2["default"](".Header").removeClass("removebg"),_html.removeClass("disable-scroll"),_jquery2["default"](".Languagebar-backdrop").addClass("animate-out"),setTimeout(function(){_jquery2["default"](".Languagebar-backdrop").removeClass("animate-out")},240)}function _onResize(){if(window.matchMedia(_constants2["default"].breakpointQueryDesktop).matches||window.matchMedia(_constants2["default"].breakpointQueryDesktopXL).matches)closeMenu()}function closeMenu(){_LanguagebarButtonText.show(),_LanguagebarButtonCross.hide(),_jquery2["default"](".Navbar-hamburger-button").show(),_LanguagebarHolder.removeClass("Languagebar--active"),_jquery2["default"](".Header").removeClass("removebg"),_jquery2["default"]("body").removeClass("no-scroll"),_html.removeClass("disable-scroll")}function _isExternal(str){return 0==str.indexOf("http")}if(dom)init()};exports.createHeaderLanguage=createHeaderLanguage},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),_gsapSrcUncompressedTweenMax=__webpack_require__(7),_gsapSrcUncompressedTweenMax2=_interopRequireDefault(_gsapSrcUncompressedTweenMax),_closePopup=void 0,_popupOverlay=void 0,_popupDownload=void 0,_popupBackground=void 0,createDownloadPrompt=function createDownloadPrompt(dom){function init(){_popupOverlay=_jquery2["default"](".js-download-popup"),_popupDownload=_jquery2["default"](".popup-download"),_popupBackground=_jquery2["default"](".popup-background"),_closePopup=_jquery2["default"](".popup-download-close"),_jquery2["default"](".js-open-popup").on("click",_openPopup),_closePopup.on("click",_clickClosePopup),_popupOverlay.on("click",_clickClosePopup)}function _openPopup(event){return _popupOverlay.show(),_popupBackground.show(),_gsapSrcUncompressedTweenMax2["default"].fromTo(_popupDownload,.4,{y:-100,scale:.94},{y:0,opacity:1,scale:1,force3D:!0,ease:Back.easeOut}),_gsapSrcUncompressedTweenMax2["default"].fromTo(_popupOverlay,.3,{opacity:0},{opacity:1,force3D:!0,ease:Expo.easeOut}),_gsapSrcUncompressedTweenMax2["default"].fromTo(_popupBackground,.3,{opacity:0},{opacity:1,force3D:!0,ease:Expo.easeOut}),event.stopPropagation(),!1}function _clickClosePopup(event){_gsapSrcUncompressedTweenMax2["default"].to(_popupDownload,.3,{y:-100,scale:.94,opacity:0,force3D:!0,ease:Expo.easeOut}),_gsapSrcUncompressedTweenMax2["default"].to(_popupBackground,.4,{opacity:0,force3D:!0,ease:Expo.easeOut}),_gsapSrcUncompressedTweenMax2["default"].to(_popupOverlay,.4,{opacity:0,ease:Expo.easeOut,force3D:!0,delay:.2,onComplete:function onComplete(){_popupOverlay.hide(),_popupBackground.hide()}})}if(dom)init()};exports.createDownloadPrompt=createDownloadPrompt},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),startTracking=function startTracking(){function init(){_jquery2["default"](".js-click").on("click",_onClick)}function _onClick(event){var category=_jquery2["default"](this).data("category"),action="click",label=_jquery2["default"](this).data("label");ga("send","event",category,action,label)}init()};exports.startTracking=startTracking},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),parentDiv=void 0,siblings=void 0,createHoverEffects=function createHoverEffects(dom){function init(){parentDiv=_jquery2["default"](".js-hover-effect"),parentDiv.on("mouseleave",_rolloutMainNav),parentDiv.find("a").on("mouseenter",_rolloverNavItem),parentDiv.find("a").on("mouseleave",_rolloutNavItem)}function _rolloverNavItem(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable){_jquery2["default"](event.target).parent().find("a").removeClass("active").addClass("notactive");var navItem=_jquery2["default"](event.target);navItem.removeClass("notactive").addClass("active")}}function _rolloutNavItem(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable){var item=_jquery2["default"](event.target);item.removeClass("notactive"),item.removeClass("active")}}function _rolloutMainNav(event){if("click"==event.type||!_utilsEnv2["default"].touchCapable)parentDiv.find("a").removeClass("notactive"),parentDiv.find("a").removeClass("active")}if(dom)init()};exports.createHoverEffects=createHoverEffects},function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1)["default"];exports.__esModule=!0;var _jquery=__webpack_require__(3),_jquery2=_interopRequireDefault(_jquery),_utilsEnv=__webpack_require__(4),_utilsEnv2=_interopRequireDefault(_utilsEnv),_constants=__webpack_require__(5),_constants2=_interopRequireDefault(_constants),_elem=void 0,matchHeight=function matchHeight(dom){function init(){_elem=_jquery2["default"](dom),_jquery2["default"](window).on("resize",onResize),_jquery2["default"](window).on("load",onResize),onResize()}function findHighestHeight(){var highestHeight=0;return _elem.each(function(){if(_jquery2["default"](this).height()>highestHeight)_jquery2["default"](this).attr("style",""),highestHeight=_jquery2["default"](this).height()}),highestHeight}function onResize(){if(window.matchMedia(_constants2["default"].breakpointQueryMobile).matches)_elem.each(function(){_jquery2["default"](this).attr("style","")});else!function(){var newHeight=findHighestHeight();_elem.each(function(){_jquery2["default"](this).height(newHeight)})}()}if(0!=dom.length)init()};exports.matchHeight=matchHeight},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;/*! Picturefill - v3.0.1 - 2015-09-30
* http://scottjehl.github.io/picturefill
* Copyright (c) 2015 https://github.com/scottjehl/picturefill/blob/master/Authors.txt; Licensed MIT
*/
/*! Gecko-Picture - v1.0
* https://github.com/scottjehl/picturefill/tree/3.0/src/plugins/gecko-picture
* Firefox's early picture implementation (prior to FF41) is static and does
* not react to viewport changes. This tiny module fixes this.
*/
!function(window){var ua=navigator.userAgent;if(window.HTMLPictureElement&&/ecko/.test(ua)&&ua.match(/rv\:(\d+)/)&&RegExp.$1<41)addEventListener("resize",function(){var timer,dummySrc=document.createElement("source"),fixRespimg=function(img){var source,sizes,picture=img.parentNode;if("PICTURE"===picture.nodeName.toUpperCase())source=dummySrc.cloneNode(),picture.insertBefore(source,picture.firstElementChild),setTimeout(function(){picture.removeChild(source)});else if(!img._pfLastSize||img.offsetWidth>img._pfLastSize)img._pfLastSize=img.offsetWidth,sizes=img.sizes,img.sizes+=",100vw",setTimeout(function(){img.sizes=sizes})},findPictureImgs=function(){var i,imgs=document.querySelectorAll("picture > img, img[srcset][sizes]");for(i=0;i<imgs.length;i++)fixRespimg(imgs[i])},onResize=function(){clearTimeout(timer),timer=setTimeout(findPictureImgs,99)},mq=window.matchMedia&&matchMedia("(orientation: landscape)"),init=function(){if(onResize(),mq&&mq.addListener)mq.addListener(onResize)};if(dummySrc.srcset="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",/^[c|i]|d$/.test(document.readyState||""))init();else document.addEventListener("DOMContentLoaded",init);return onResize}())}(window),/*! Picturefill - v3.0.1
* http://scottjehl.github.io/picturefill
* Copyright (c) 2015 https://github.com/scottjehl/picturefill/blob/master/Authors.txt;
* License: MIT
*/
function(window,document,undefined){"use strict";function isSpace(c){return" "===c||" "===c||"\n"===c||"\f"===c||"\r"===c}function detectTypeSupport(type,typeUri){var image=new window.Image;return image.onerror=function(){types[type]=!1,picturefill()},image.onload=function(){types[type]=1===image.width,picturefill()},image.src=typeUri,"pending"}function updateMetrics(){isVwDirty=!1,DPR=window.devicePixelRatio,cssCache={},sizeLengthCache={},pf.DPR=DPR||1,units.width=Math.max(window.innerWidth||0,docElem.clientWidth),units.height=Math.max(window.innerHeight||0,docElem.clientHeight),units.vw=units.width/100,units.vh=units.height/100,evalId=[units.height,units.width,DPR].join("-"),units.em=pf.getEmValue(),units.rem=units.em}function chooseLowRes(lowerValue,higherValue,dprValue,isCached){var bonusFactor,tooMuch,bonus,meanDensity;if("saveData"===cfg.algorithm)if(lowerValue>2.7)meanDensity=dprValue+1;else{if(tooMuch=higherValue-dprValue,bonusFactor=Math.pow(lowerValue-.6,1.5),bonus=tooMuch*bonusFactor,isCached)bonus+=.1*bonusFactor;meanDensity=lowerValue+bonus}else meanDensity=dprValue>1?Math.sqrt(lowerValue*higherValue):lowerValue;return meanDensity>dprValue}function applyBestCandidate(img){var srcSetCandidates,matchingSet=pf.getSet(img),evaluated=!1;if("pending"!==matchingSet)if(evaluated=evalId,matchingSet)srcSetCandidates=pf.setRes(matchingSet),pf.applySetCandidate(srcSetCandidates,img);img[pf.ns].evaled=evaluated}function ascendingSort(a,b){return a.res-b.res}function setSrcToCur(img,src,set){var candidate;if(!set&&src)set=img[pf.ns].sets,set=set&&set[set.length-1];if(candidate=getCandidateForSrc(src,set),candidate)if(src=pf.makeUrl(src),img[pf.ns].curSrc=src,img[pf.ns].curCan=candidate,!candidate.res)setResolution(candidate,candidate.set.sizes);return candidate}function getCandidateForSrc(src,set){var i,candidate,candidates;if(src&&set)for(candidates=pf.parseSet(set),src=pf.makeUrl(src),i=0;i<candidates.length;i++)if(src===pf.makeUrl(candidates[i].url)){candidate=candidates[i];break}return candidate}function getAllSourceElements(picture,candidates){var i,len,source,srcset,sources=picture.getElementsByTagName("source");for(i=0,len=sources.length;len>i;i++)if(source=sources[i],source[pf.ns]=!0,srcset=source.getAttribute("srcset"),srcset)candidates.push({srcset:srcset,media:source.getAttribute("media"),type:source.getAttribute("type"),sizes:source.getAttribute("sizes")})}function parseSrcset(input,set){function collectCharacters(regEx){var chars,match=regEx.exec(input.substring(pos));if(match)return chars=match[0],pos+=chars.length,chars;else return}function parseDescriptors(){var pError=!1,w,d,h,i,candidate={},desc,lastChar,value,intVal,floatVal;for(i=0;i<descriptors.length;i++)if(desc=descriptors[i],lastChar=desc[desc.length-1],value=desc.substring(0,desc.length-1),intVal=parseInt(value,10),floatVal=parseFloat(value),regexNonNegativeInteger.test(value)&&"w"===lastChar){if(w||d)pError=!0;if(0===intVal)pError=!0;else w=intVal}else if(regexFloatingPoint.test(value)&&"x"===lastChar){if(w||d||h)pError=!0;if(0>floatVal)pError=!0;else d=floatVal}else if(regexNonNegativeInteger.test(value)&&"h"===lastChar){if(h||d)pError=!0;if(0===intVal)pError=!0;else h=intVal}else pError=!0;if(!pError){if(candidate.url=url,w)candidate.w=w;if(d)candidate.d=d;if(h)candidate.h=h;if(!h&&!d&&!w)candidate.d=1;if(1===candidate.d)set.has1x=!0;candidate.set=set,candidates.push(candidate)}}function tokenize(){for(collectCharacters(regexLeadingSpaces),currentDescriptor="",state="in descriptor";;){if(c=input.charAt(pos),"in descriptor"===state)if(isSpace(c)){if(currentDescriptor)descriptors.push(currentDescriptor),currentDescriptor="",state="after descriptor"}else if(","===c){if(pos+=1,currentDescriptor)descriptors.push(currentDescriptor);return parseDescriptors(),void 0}else if("("===c)currentDescriptor+=c,state="in parens";else if(""===c){if(currentDescriptor)descriptors.push(currentDescriptor);return parseDescriptors(),void 0}else currentDescriptor+=c;else if("in parens"===state)if(")"===c)currentDescriptor+=c,state="in descriptor";else if(""===c)return descriptors.push(currentDescriptor),parseDescriptors(),void 0;else currentDescriptor+=c;else if("after descriptor"===state)if(isSpace(c));else if(""===c)return parseDescriptors(),void 0;else state="in descriptor",pos-=1;pos+=1}}for(var inputLength=input.length,url,descriptors,currentDescriptor,state,c,pos=0,candidates=[];;){if(collectCharacters(regexLeadingCommasOrSpaces),pos>=inputLength)return candidates;if(url=collectCharacters(regexLeadingNotSpaces),descriptors=[],","===url.slice(-1))url=url.replace(regexTrailingCommas,""),parseDescriptors();else tokenize()}}function parseSizes(strValue){function parseComponentValues(str){function pushComponent(){if(component)componentArray.push(component),component=""}function pushComponentArray(){if(componentArray[0])listArray.push(componentArray),componentArray=[]}for(var chrctr,component="",componentArray=[],listArray=[],parenDepth=0,pos=0,inComment=!1;;){if(chrctr=str.charAt(pos),""===chrctr)return pushComponent(),pushComponentArray(),listArray;else if(inComment)if("*"===chrctr&&"/"===str[pos+1]){inComment=!1,pos+=2,pushComponent();continue}else{pos+=1;continue}else if(isSpace(chrctr))if(str.charAt(pos-1)&&isSpace(str.charAt(pos-1))||!component){pos+=1;continue}else if(0===parenDepth){pushComponent(),pos+=1;continue}else chrctr=" ";else if("("===chrctr)parenDepth+=1;else if(")"===chrctr)parenDepth-=1;else if(","===chrctr){pushComponent(),pushComponentArray(),pos+=1;continue}else if("/"===chrctr&&"*"===str.charAt(pos+1)){inComment=!0,pos+=2;continue}component+=chrctr,pos+=1}}function isValidNonNegativeSourceSizeValue(s){if(regexCssLengthWithUnits.test(s)&&parseFloat(s)>=0)return!0;if(regexCssCalc.test(s))return!0;if("0"===s||"-0"===s||"+0"===s)return!0;else return!1}var regexCssLengthWithUnits=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,regexCssCalc=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i,i,unparsedSizesList,unparsedSizesListLength,unparsedSize,lastComponentValue,size;for(unparsedSizesList=parseComponentValues(strValue),unparsedSizesListLength=unparsedSizesList.length,i=0;unparsedSizesListLength>i;i++)if(unparsedSize=unparsedSizesList[i],lastComponentValue=unparsedSize[unparsedSize.length-1],isValidNonNegativeSourceSizeValue(lastComponentValue)){if(size=lastComponentValue,unparsedSize.pop(),0===unparsedSize.length)return size;if(unparsedSize=unparsedSize.join(" "),pf.matchesMedia(unparsedSize))return size;else;}else;return"100vw"}document.createElement("picture");var warn,eminpx,alwaysCheckWDescriptor,evalId,pf={},noop=function(){},image=document.createElement("img"),getImgAttr=image.getAttribute,setImgAttr=image.setAttribute,removeImgAttr=image.removeAttribute,docElem=document.documentElement,types={},cfg={algorithm:""},srcAttr="data-pfsrc",srcsetAttr=srcAttr+"set",ua=navigator.userAgent,supportAbort=/rident/.test(ua)||/ecko/.test(ua)&&ua.match(/rv\:(\d+)/)&&RegExp.$1>35,curSrcProp="currentSrc",regWDesc=/\s+\+?\d+(e\d+)?w/,regSize=/(\([^)]+\))?\s*(.+)/,setOptions=window.picturefillCFG,baseStyle="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",fsCss="font-size:100%!important;",isVwDirty=!0,cssCache={},sizeLengthCache={},DPR=window.devicePixelRatio,units={px:1,"in":96},anchor=document.createElement("a"),alreadyRun=!1,regexLeadingSpaces=/^[ \t\n\r\u000c]+/,regexLeadingCommasOrSpaces=/^[, \t\n\r\u000c]+/,regexLeadingNotSpaces=/^[^ \t\n\r\u000c]+/,regexTrailingCommas=/[,]+$/,regexNonNegativeInteger=/^\d+$/,regexFloatingPoint=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,on=function(obj,evt,fn,capture){if(obj.addEventListener)obj.addEventListener(evt,fn,capture||!1);else if(obj.attachEvent)obj.attachEvent("on"+evt,fn)},memoize=function(fn){var cache={};return function(input){if(!(input in cache))cache[input]=fn(input);return cache[input]}},evalCSS=function(){var regLength=/^([\d\.]+)(em|vw|px)$/,replace=function(){for(var args=arguments,index=0,string=args[0];++index in args;)string=string.replace(args[index],args[++index]);return string},buildStr=memoize(function(css){return"return "+replace((css||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(css,length){var parsedLength;if(!(css in cssCache))if(cssCache[css]=!1,length&&(parsedLength=css.match(regLength)))cssCache[css]=parsedLength[1]*units[parsedLength[2]];else try{cssCache[css]=new Function("e",buildStr(css))(units)}catch(e){}return cssCache[css]}}(),setResolution=function(candidate,sizesattr){if(candidate.w)candidate.cWidth=pf.calcListLength(sizesattr||"100vw"),candidate.res=candidate.w/candidate.cWidth;else candidate.res=candidate.d;return candidate},picturefill=function(opt){var elements,i,plen,options=opt||{};if(options.elements&&1===options.elements.nodeType)if("IMG"===options.elements.nodeName.toUpperCase())options.elements=[options.elements];else options.context=options.elements,options.elements=null;if(elements=options.elements||pf.qsa(options.context||document,options.reevaluate||options.reselect?pf.sel:pf.selShort),plen=elements.length){for(pf.setupRun(options),alreadyRun=!0,i=0;plen>i;i++)pf.fillImg(elements[i],options);pf.teardownRun(options)}};if(warn=window.console&&console.warn?function(message){console.warn(message)}:noop,!(curSrcProp in image))curSrcProp="src";if(types["image/jpeg"]=!0,types["image/gif"]=!0,types["image/png"]=!0,types["image/svg+xml"]=document.implementation.hasFeature("http://wwwindow.w3.org/TR/SVG11/feature#Image","1.1"),pf.ns=("pf"+(new Date).getTime()).substr(0,9),pf.supSrcset="srcset"in image,pf.supSizes="sizes"in image,pf.supPicture=!!window.HTMLPictureElement,pf.supSrcset&&pf.supPicture&&!pf.supSizes)!function(image2){image.srcset="data:,a",image2.src="data:,a",pf.supSrcset=image.complete===image2.complete,pf.supPicture=pf.supSrcset&&pf.supPicture}(document.createElement("img"));if(pf.selShort="picture>img,img[srcset]",pf.sel=pf.selShort,pf.cfg=cfg,pf.supSrcset)pf.sel+=",img["+srcsetAttr+"]";if(pf.DPR=DPR||1,pf.u=units,pf.types=types,alwaysCheckWDescriptor=pf.supSrcset&&!pf.supSizes,pf.setSize=noop,pf.makeUrl=memoize(function(src){return anchor.href=src,anchor.href}),pf.qsa=function(context,sel){return context.querySelectorAll(sel)},pf.matchesMedia=function(){if(window.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches)pf.matchesMedia=function(media){return!media||matchMedia(media).matches};else pf.matchesMedia=pf.mMQ;return pf.matchesMedia.apply(this,arguments)},pf.mMQ=function(media){return media?evalCSS(media):!0},pf.calcLength=function(sourceSizeValue){var value=evalCSS(sourceSizeValue,!0)||!1;if(0>value)value=!1;return value},pf.supportsType=function(type){return type?types[type]:!0},pf.parseSize=memoize(function(sourceSizeStr){var match=(sourceSizeStr||"").match(regSize);return{media:match&&match[1],length:match&&match[2]}}),pf.parseSet=function(set){if(!set.cands)set.cands=parseSrcset(set.srcset,set);return set.cands},pf.getEmValue=function(){var body;if(!eminpx&&(body=document.body)){var div=document.createElement("div"),originalHTMLCSS=docElem.style.cssText,originalBodyCSS=body.style.cssText;div.style.cssText=baseStyle,docElem.style.cssText=fsCss,body.style.cssText=fsCss,body.appendChild(div),eminpx=div.offsetWidth,body.removeChild(div),eminpx=parseFloat(eminpx,10),docElem.style.cssText=originalHTMLCSS,body.style.cssText=originalBodyCSS}return eminpx||16},pf.calcListLength=function(sourceSizeListStr){if(!(sourceSizeListStr in sizeLengthCache)||cfg.uT){var winningLength=pf.calcLength(parseSizes(sourceSizeListStr));sizeLengthCache[sourceSizeListStr]=!winningLength?units.width:winningLength}return sizeLengthCache[sourceSizeListStr]},pf.setRes=function(set){var candidates;if(set){candidates=pf.parseSet(set);for(var i=0,len=candidates.length;len>i;i++)setResolution(candidates[i],set.sizes)}return candidates},pf.setRes.res=setResolution,pf.applySetCandidate=function(candidates,img){if(candidates.length){var candidate,i,j,length,bestCandidate,curSrc,curCan,candidateSrc,abortCurSrc,imageData=img[pf.ns],dpr=pf.DPR;if(curSrc=imageData.curSrc||img[curSrcProp],curCan=imageData.curCan||setSrcToCur(img,curSrc,candidates[0].set),curCan&&curCan.set===candidates[0].set)if(abortCurSrc=supportAbort&&!img.complete&&curCan.res-.1>dpr,!abortCurSrc)if(curCan.cached=!0,curCan.res>=dpr)bestCandidate=curCan;if(!bestCandidate)for(candidates.sort(ascendingSort),length=candidates.length,bestCandidate=candidates[length-1],i=0;length>i;i++)if(candidate=candidates[i],candidate.res>=dpr){if(j=i-1,candidates[j]&&(abortCurSrc||curSrc!==pf.makeUrl(candidate.url))&&chooseLowRes(candidates[j].res,candidate.res,dpr,candidates[j].cached))bestCandidate=candidates[j];else bestCandidate=candidate;break}if(bestCandidate){if(candidateSrc=pf.makeUrl(bestCandidate.url),imageData.curSrc=candidateSrc,imageData.curCan=bestCandidate,candidateSrc!==curSrc)pf.setSrc(img,bestCandidate);pf.setSize(img)}}},pf.setSrc=function(img,bestCandidate){var origWidth;if(img.src=bestCandidate.url,"image/svg+xml"===bestCandidate.set.type)if(origWidth=img.style.width,img.style.width=img.offsetWidth+1+"px",img.offsetWidth+1)img.style.width=origWidth},pf.getSet=function(img){var i,set,supportsType,match=!1,sets=img[pf.ns].sets;for(i=0;i<sets.length&&!match;i++)if(set=sets[i],set.srcset&&pf.matchesMedia(set.media)&&(supportsType=pf.supportsType(set.type))){if("pending"===supportsType)set=supportsType;match=set;break}else;return match},pf.parseSets=function(element,parent,options){var srcsetAttribute,imageSet,isWDescripor,srcsetParsed,hasPicture=parent&&"PICTURE"===parent.nodeName.toUpperCase(),imageData=element[pf.ns];if(imageData.src===undefined||options.src)if(imageData.src=getImgAttr.call(element,"src"),imageData.src)setImgAttr.call(element,srcAttr,imageData.src);else removeImgAttr.call(element,srcAttr);if(imageData.srcset===undefined||options.srcset||!pf.supSrcset||element.srcset)srcsetAttribute=getImgAttr.call(element,"srcset"),imageData.srcset=srcsetAttribute,srcsetParsed=!0;if(imageData.sets=[],hasPicture)imageData.pic=!0,getAllSourceElements(parent,imageData.sets);if(imageData.srcset){if(imageSet={srcset:imageData.srcset,sizes:getImgAttr.call(element,"sizes")},imageData.sets.push(imageSet),isWDescripor=(alwaysCheckWDescriptor||imageData.src)&®WDesc.test(imageData.srcset||""),!isWDescripor&&imageData.src&&!getCandidateForSrc(imageData.src,imageSet)&&!imageSet.has1x)imageSet.srcset+=", "+imageData.src,imageSet.cands.push({url:imageData.src,d:1,set:imageSet})}else if(imageData.src)imageData.sets.push({srcset:imageData.src,sizes:null});if(imageData.curCan=null,imageData.curSrc=undefined,imageData.supported=!(hasPicture||imageSet&&!pf.supSrcset||isWDescripor),srcsetParsed&&pf.supSrcset&&!imageData.supported)if(srcsetAttribute)setImgAttr.call(element,srcsetAttr,srcsetAttribute),element.srcset="";else removeImgAttr.call(element,srcsetAttr);if(imageData.supported&&!imageData.srcset&&(!imageData.src&&element.src||element.src!==pf.makeUrl(imageData.src)))if(null===imageData.src)element.removeAttribute("src");else element.src=imageData.src;imageData.parsed=!0},pf.fillImg=function(element,options){var imageData,extreme=options.reselect||options.reevaluate;if(!element[pf.ns])element[pf.ns]={};if(imageData=element[pf.ns],extreme||imageData.evaled!==evalId){if(!imageData.parsed||options.reevaluate)pf.parseSets(element,element.parentNode,options);if(!imageData.supported)applyBestCandidate(element);else imageData.evaled=evalId}},pf.setupRun=function(){if(!alreadyRun||isVwDirty||DPR!==window.devicePixelRatio)updateMetrics()},pf.supPicture)picturefill=noop,pf.fillImg=noop;else!function(){var isDomReady,regReady=window.attachEvent?/d$|^c/:/d$|^c|^i/,run=function(){var readyState=document.readyState||"";if(timerId=setTimeout(run,"loading"===readyState?200:999),document.body)if(pf.fillImgs(),isDomReady=isDomReady||regReady.test(readyState),isDomReady)clearTimeout(timerId)},timerId=setTimeout(run,document.body?9:99),debounce=function(func,wait){var timeout,timestamp,later=function(){var last=new Date-timestamp;if(wait>last)timeout=setTimeout(later,wait-last);else timeout=null,func()};return function(){if(timestamp=new Date,!timeout)timeout=setTimeout(later,wait)}},lastClientWidth=docElem.clientHeight,onResize=function(){if(isVwDirty=Math.max(window.innerWidth||0,docElem.clientWidth)!==units.width||docElem.clientHeight!==lastClientWidth,lastClientWidth=docElem.clientHeight,isVwDirty)pf.fillImgs()};on(window,"resize",debounce(onResize,99)),on(document,"readystatechange",run)}();for(pf.picturefill=picturefill,pf.fillImgs=picturefill,pf.teardownRun=noop,picturefill._=pf,window.picturefillCFG={pf:pf,push:function(args){var name=args.shift();if("function"==typeof pf[name])pf[name].apply(pf,args);else if(cfg[name]=args[0],alreadyRun)pf.fillImgs({reselect:!0})}};setOptions&&setOptions.length;)window.picturefillCFG.push(setOptions.shift());if(window.picturefill=picturefill,"object"==typeof module&&"object"==typeof module.exports)module.exports=picturefill;else if(!0)__WEBPACK_AMD_DEFINE_RESULT__=function(){return picturefill}.call(exports,__webpack_require__,exports,module),!(__WEBPACK_AMD_DEFINE_RESULT__!==undefined&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));if(!pf.supPicture)types["image/webp"]=detectTypeSupport("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA==")}(window,document)},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__;/*! lazysizes - v1.3.2 */
!function(a,b){var c=b(a,a.document);a.lazySizes=c,"object"==typeof module&&module.exports?module.exports=c:!0&&__webpack_require__(8)&&(__WEBPACK_AMD_DEFINE_FACTORY__=c,__WEBPACK_AMD_DEFINE_RESULT__="function"==typeof __WEBPACK_AMD_DEFINE_FACTORY__?__WEBPACK_AMD_DEFINE_FACTORY__.call(exports,__webpack_require__,exports,module):__WEBPACK_AMD_DEFINE_FACTORY__,!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)))}(window,function(a,b){"use strict";if(b.getElementsByClassName){var c,d=b.documentElement,e=a.HTMLPictureElement&&"sizes"in b.createElement("img"),f="addEventListener",g=a[f],h=a.setTimeout,i=a.requestAnimationFrame||h,j=/^picture$/i,k=["load","error","lazyincluded","_lazyloaded"],l={},m=Array.prototype.forEach,n=function(a,b){return l[b]||(l[b]=new RegExp("(\\s|^)"+b+"(\\s|$)")),l[b].test(a.className)&&l[b]},o=function(a,b){n(a,b)||(a.className=a.className.trim()+" "+b)},p=function(a,b){var c;(c=n(a,b))&&(a.className=a.className.replace(c," "))},q=function(a,b,c){var d=c?f:"removeEventListener";c&&q(a,b),k.forEach(function(c){a[d](c,b)})},r=function(a,c,d,e,f){var g=b.createEvent("CustomEvent");return g.initCustomEvent(c,!e,!f,d||{}),a.dispatchEvent(g),g},s=function(b,d){var f;!e&&(f=a.picturefill||c.pf)?f({reevaluate:!0,elements:[b]}):d&&d.src&&(b.src=d.src)},t=function(a,b){return(getComputedStyle(a,null)||{})[b]},u=function(a,b,d){for(d=d||a.offsetWidth;d<c.minSize&&b&&!a._lazysizesWidth;)d=b.offsetWidth,b=b.parentNode;return d},v=function(b){var c,d=0,e=a.Date,f=function(){c=!1,d=e.now(),b()},g=function(){h(f)},j=function(){i(g)};return function(){if(!c){var a=125-(e.now()-d);c=!0,6>a&&(a=6),h(j,a)}}},w=function(){var e,k,l,u,w,y,z,A,B,C,D,E,F,G,H,I=/^img$/i,J=/^iframe$/i,K="onscroll"in a&&!/glebot/.test(navigator.userAgent),L=0,M=0,N=0,O=0,P=function(a){N--,a&&a.target&&q(a.target,P),(!a||0>N||!a.target)&&(N=0)},Q=function(a,b){var c,d=a,e="hidden"!=t(a,"visibility");for(B-=b,E+=b,C-=b,D+=b;e&&(d=d.offsetParent);)e=(t(d,"opacity")||1)>0,e&&"visible"!=t(d,"overflow")&&(c=d.getBoundingClientRect(),e=D>c.left&&C<c.right&&E>c.top-1&&B<c.bottom+1);return e},R=function(){var a,b,d,f,g,h,i,j,m;if((w=c.loadMode)&&8>N&&(a=e.length)){for(b=0,O++,G>M&&1>N&&O>3&&w>2?(M=G,O=0):M=w>1&&O>2&&6>N?F:L;a>b;b++)if(e[b]&&!e[b]._lazyRace)if(K)if((j=e[b].getAttribute("data-expand"))&&(h=1*j)||(h=M),m!==h&&(z=innerWidth+h*H,A=innerHeight+h,i=-1*h,m=h),d=e[b].getBoundingClientRect(),(E=d.bottom)>=i&&(B=d.top)<=A&&(D=d.right)>=i*H&&(C=d.left)<=z&&(E||D||C||B)&&(l&&3>N&&!j&&(3>w||4>O)||Q(e[b],h))){if(X(e[b]),g=!0,N>9)break}else!g&&l&&!f&&4>N&&4>O&&w>2&&(k[0]||c.preloadAfterLoad)&&(k[0]||!j&&(E||D||C||B||"auto"!=e[b].getAttribute(c.sizesAttr)))&&(f=k[0]||e[b]);else X(e[b]);f&&!g&&X(f)}},S=v(R),T=function(a){o(a.target,c.loadedClass),p(a.target,c.loadingClass),q(a.target,T)},U=function(a,b){try{a.contentWindow.location.replace(b)}catch(c){a.src=b}},V=function(a){var b,d,e=a.getAttribute(c.srcsetAttr);(b=c.customMedia[a.getAttribute("data-media")||a.getAttribute("media")])&&a.setAttribute("media",b),e&&a.setAttribute("srcset",e),b&&(d=a.parentNode,d.insertBefore(a.cloneNode(),a),d.removeChild(a))},W=function(){var a,b=[],c=function(){for(;b.length;)b.shift()();a=!1};return function(d){b.push(d),a||(a=!0,i(c))}}(),X=function(a){var b,d,e,f,g,i,k,t=I.test(a.nodeName),v=t&&(a.getAttribute(c.sizesAttr)||a.getAttribute("sizes")),w="auto"==v;(!w&&l||!t||!a.src&&!a.srcset||a.complete||n(a,c.errorClass))&&(w&&(k=a.offsetWidth),a._lazyRace=!0,N++,W(function(){a._lazyRace&&delete a._lazyRace,p(a,c.lazyClass),(g=r(a,"lazybeforeunveil")).defaultPrevented||(v&&(w?(o(a,c.autosizesClass),x.updateElem(a,!0,k)):a.setAttribute("sizes",v)),d=a.getAttribute(c.srcsetAttr),b=a.getAttribute(c.srcAttr),t&&(e=a.parentNode,f=e&&j.test(e.nodeName||"")),i=g.detail.firesLoad||"src"in a&&(d||b||f),g={target:a},i&&(q(a,P,!0),clearTimeout(u),u=h(P,2500),o(a,c.loadingClass),q(a,T,!0)),f&&m.call(e.getElementsByTagName("source"),V),d?a.setAttribute("srcset",d):b&&!f&&(J.test(a.nodeName)?U(a,b):a.src=b),(d||f)&&s(a,{src:b})),(!i||a.complete)&&(i?P(g):N--,T(g))}))},Y=function(){if(!l){if(Date.now()-y<999)return void h(Y,999);var a,b=function(){c.loadMode=3,S()};l=!0,c.loadMode=3,N||S(),g("scroll",function(){3==c.loadMode&&(c.loadMode=2),clearTimeout(a),a=h(b,99)},!0)}};return{_:function(){y=Date.now(),e=b.getElementsByClassName(c.lazyClass),k=b.getElementsByClassName(c.lazyClass+" "+c.preloadClass),H=c.hFac,F=c.expand,G=F*c.expFactor,g("scroll",S,!0),g("resize",S,!0),a.MutationObserver?new MutationObserver(S).observe(d,{childList:!0,subtree:!0,attributes:!0}):(d[f]("DOMNodeInserted",S,!0),d[f]("DOMAttrModified",S,!0),setInterval(S,999)),g("hashchange",S,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(a){b[f](a,S,!0)}),/d$|^c/.test(b.readyState)?Y():(g("load",Y),b[f]("DOMContentLoaded",S),h(Y,2e4)),S(e.length>0)},checkElems:S,unveil:X}}(),x=function(){var a,d=function(a,b,c){var d,e,f,g,h=a.parentNode;if(h&&(c=u(a,h,c),g=r(a,"lazybeforesizes",{width:c,dataAttr:!!b}),!g.defaultPrevented&&(c=g.detail.width,c&&c!==a._lazysizesWidth))){if(a._lazysizesWidth=c,c+="px",a.setAttribute("sizes",c),j.test(h.nodeName||""))for(d=h.getElementsByTagName("source"),e=0,f=d.length;f>e;e++)d[e].setAttribute("sizes",c);g.detail.dataAttr||s(a,g.detail)}},e=function(){var b,c=a.length;if(c)for(b=0;c>b;b++)d(a[b])},f=v(e);return{_:function(){a=b.getElementsByClassName(c.autosizesClass),g("resize",f)},checkElems:f,updateElem:d}}(),y=function(){y.i||(y.i=!0,x._(),w._())};return function(){var b,e={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.7,hFac:.8,expand:d.clientHeight>600?d.clientWidth>860?500:410:359,loadMode:2};c=a.lazySizesConfig||a.lazysizesConfig||{};for(b in e)b in c||(c[b]=e[b]);a.lazySizesConfig=c,h(function(){c.init&&y()})}(),{cfg:c,autoSizer:x,loader:w,init:y,uP:s,aC:o,rC:p,hC:n,fire:r,gW:u}}})},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";/**
* @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
*
* @codingstandard ftlabs-jsv2
* @copyright The Financial Times Limited [All Rights Reserved]
* @license MIT License (see LICENSE.txt)
*/
function FastClick(layer,options){function bind(method,context){return function(){return method.apply(context,arguments)}}var oldOnClick;if(options=options||{},this.trackingClick=!1,this.trackingClickStart=0,this.targetElement=null,this.touchStartX=0,this.touchStartY=0,this.lastTouchIdentifier=0,this.touchBoundary=options.touchBoundary||10,this.layer=layer,this.tapDelay=options.tapDelay||200,this.tapTimeout=options.tapTimeout||700,!FastClick.notNeeded(layer)){for(var methods=["onMouse","onClick","onTouchStart","onTouchMove","onTouchEnd","onTouchCancel"],context=this,i=0,l=methods.length;l>i;i++)context[methods[i]]=bind(context[methods[i]],context);if(deviceIsAndroid)layer.addEventListener("mouseover",this.onMouse,!0),layer.addEventListener("mousedown",this.onMouse,!0),layer.addEventListener("mouseup",this.onMouse,!0);if(layer.addEventListener("click",this.onClick,!0),layer.addEventListener("touchstart",this.onTouchStart,!1),layer.addEventListener("touchmove",this.onTouchMove,!1),layer.addEventListener("touchend",this.onTouchEnd,!1),layer.addEventListener("touchcancel",this.onTouchCancel,!1),!Event.prototype.stopImmediatePropagation)layer.removeEventListener=function(type,callback,capture){var rmv=Node.prototype.removeEventListener;if("click"===type)rmv.call(layer,type,callback.hijacked||callback,capture);else rmv.call(layer,type,callback,capture)},layer.addEventListener=function(type,callback,capture){var adv=Node.prototype.addEventListener;if("click"===type)adv.call(layer,type,callback.hijacked||(callback.hijacked=function(event){if(!event.propagationStopped)callback(event)}),capture);else adv.call(layer,type,callback,capture)};if("function"==typeof layer.onclick)oldOnClick=layer.onclick,layer.addEventListener("click",function(event){oldOnClick(event)},!1),layer.onclick=null}}var deviceIsWindowsPhone=navigator.userAgent.indexOf("Windows Phone")>=0,deviceIsAndroid=navigator.userAgent.indexOf("Android")>0&&!deviceIsWindowsPhone,deviceIsIOS=/iP(ad|hone|od)/.test(navigator.userAgent)&&!deviceIsWindowsPhone,deviceIsIOS4=deviceIsIOS&&/OS 4_\d(_\d)?/.test(navigator.userAgent),deviceIsIOSWithBadTarget=deviceIsIOS&&/OS [6-7]_\d/.test(navigator.userAgent),deviceIsBlackBerry10=navigator.userAgent.indexOf("BB10")>0;if(FastClick.prototype.needsClick=function(target){switch(target.nodeName.toLowerCase()){case"button":case"select":case"textarea":if(target.disabled)return!0;break;case"input":if(deviceIsIOS&&"file"===target.type||target.disabled)return!0;break;case"label":case"iframe":case"video":return!0}return/\bneedsclick\b/.test(target.className)},FastClick.prototype.needsFocus=function(target){switch(target.nodeName.toLowerCase()){case"textarea":return!0;case"select":return!deviceIsAndroid;case"input":switch(target.type){case"button":case"checkbox":case"file":case"image":case"radio":case"submit":return!1}return!target.disabled&&!target.readOnly;default:return/\bneedsfocus\b/.test(target.className)}},FastClick.prototype.sendClick=function(targetElement,event){var clickEvent,touch;if(document.activeElement&&document.activeElement!==targetElement)document.activeElement.blur();touch=event.changedTouches[0],clickEvent=document.createEvent("MouseEvents"),clickEvent.initMouseEvent(this.determineEventType(targetElement),!0,!0,window,1,touch.screenX,touch.screenY,touch.clientX,touch.clientY,!1,!1,!1,!1,0,null),clickEvent.forwardedTouchEvent=!0,targetElement.dispatchEvent(clickEvent)},FastClick.prototype.determineEventType=function(targetElement){if(deviceIsAndroid&&"select"===targetElement.tagName.toLowerCase())return"mousedown";else return"click"},FastClick.prototype.focus=function(targetElement){var length;if(deviceIsIOS&&targetElement.setSelectionRange&&0!==targetElement.type.indexOf("date")&&"time"!==targetElement.type&&"month"!==targetElement.type)length=targetElement.value.length,targetElement.setSelectionRange(length,length);else targetElement.focus()},FastClick.prototype.updateScrollParent=function(targetElement){var scrollParent,parentElement;if(scrollParent=targetElement.fastClickScrollParent,!scrollParent||!scrollParent.contains(targetElement)){parentElement=targetElement;do{if(parentElement.scrollHeight>parentElement.offsetHeight){scrollParent=parentElement,targetElement.fastClickScrollParent=parentElement;break}parentElement=parentElement.parentElement}while(parentElement)}if(scrollParent)scrollParent.fastClickLastScrollTop=scrollParent.scrollTop},FastClick.prototype.getTargetElementFromEventTarget=function(eventTarget){if(eventTarget.nodeType===Node.TEXT_NODE)return eventTarget.parentNode;else return eventTarget},FastClick.prototype.onTouchStart=function(event){var targetElement,touch,selection;if(event.targetTouches.length>1)return!0;if(targetElement=this.getTargetElementFromEventTarget(event.target),touch=event.targetTouches[0],deviceIsIOS){if(selection=window.getSelection(),selection.rangeCount&&!selection.isCollapsed)return!0;if(!deviceIsIOS4){if(touch.identifier&&touch.identifier===this.lastTouchIdentifier)return event.preventDefault(),!1;this.lastTouchIdentifier=touch.identifier,this.updateScrollParent(targetElement)}}if(this.trackingClick=!0,this.trackingClickStart=event.timeStamp,this.targetElement=targetElement,this.touchStartX=touch.pageX,this.touchStartY=touch.pageY,event.timeStamp-this.lastClickTime<this.tapDelay)event.preventDefault();return!0},FastClick.prototype.touchHasMoved=function(event){var touch=event.changedTouches[0],boundary=this.touchBoundary;if(Math.abs(touch.pageX-this.touchStartX)>boundary||Math.abs(touch.pageY-this.touchStartY)>boundary)return!0;else return!1},FastClick.prototype.onTouchMove=function(event){if(!this.trackingClick)return!0;if(this.targetElement!==this.getTargetElementFromEventTarget(event.target)||this.touchHasMoved(event))this.trackingClick=!1,this.targetElement=null;return!0},FastClick.prototype.findControl=function(labelElement){if(void 0!==labelElement.control)return labelElement.control;if(labelElement.htmlFor)return document.getElementById(labelElement.htmlFor);else return labelElement.querySelector("button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea")},FastClick.prototype.onTouchEnd=function(event){var forElement,trackingClickStart,targetTagName,scrollParent,touch,targetElement=this.targetElement;if(!this.trackingClick)return!0;if(event.timeStamp-this.lastClickTime<this.tapDelay)return this.cancelNextClick=!0,!0;if(event.timeStamp-this.trackingClickStart>this.tapTimeout)return!0;if(this.cancelNextClick=!1,this.lastClickTime=event.timeStamp,trackingClickStart=this.trackingClickStart,this.trackingClick=!1,this.trackingClickStart=0,deviceIsIOSWithBadTarget)touch=event.changedTouches[0],targetElement=document.elementFromPoint(touch.pageX-window.pageXOffset,touch.pageY-window.pageYOffset)||targetElement,targetElement.fastClickScrollParent=this.targetElement.fastClickScrollParent;if(targetTagName=targetElement.tagName.toLowerCase(),"label"===targetTagName){if(forElement=this.findControl(targetElement),forElement){if(this.focus(targetElement),deviceIsAndroid)return!1;targetElement=forElement}}else if(this.needsFocus(targetElement)){if(event.timeStamp-trackingClickStart>100||deviceIsIOS&&window.top!==window&&"input"===targetTagName)return this.targetElement=null,!1;if(this.focus(targetElement),this.sendClick(targetElement,event),!deviceIsIOS||"select"!==targetTagName)this.targetElement=null,event.preventDefault();return!1}if(deviceIsIOS&&!deviceIsIOS4)if(scrollParent=targetElement.fastClickScrollParent,scrollParent&&scrollParent.fastClickLastScrollTop!==scrollParent.scrollTop)return!0;if(!this.needsClick(targetElement))event.preventDefault(),this.sendClick(targetElement,event);return!1},FastClick.prototype.onTouchCancel=function(){this.trackingClick=!1,this.targetElement=null},FastClick.prototype.onMouse=function(event){if(!this.targetElement)return!0;if(event.forwardedTouchEvent)return!0;if(!event.cancelable)return!0;if(!this.needsClick(this.targetElement)||this.cancelNextClick){if(event.stopImmediatePropagation)event.stopImmediatePropagation();else event.propagationStopped=!0;return event.stopPropagation(),event.preventDefault(),!1}return!0},FastClick.prototype.onClick=function(event){var permitted;if(this.trackingClick)return this.targetElement=null,this.trackingClick=!1,!0;if("submit"===event.target.type&&0===event.detail)return!0;if(permitted=this.onMouse(event),!permitted)this.targetElement=null;return permitted},FastClick.prototype.destroy=function(){var layer=this.layer;if(deviceIsAndroid)layer.removeEventListener("mouseover",this.onMouse,!0),layer.removeEventListener("mousedown",this.onMouse,!0),layer.removeEventListener("mouseup",this.onMouse,!0);layer.removeEventListener("click",this.onClick,!0),layer.removeEventListener("touchstart",this.onTouchStart,!1),layer.removeEventListener("touchmove",this.onTouchMove,!1),layer.removeEventListener("touchend",this.onTouchEnd,!1),layer.removeEventListener("touchcancel",this.onTouchCancel,!1)},FastClick.notNeeded=function(layer){var metaViewport,chromeVersion,blackberryVersion,firefoxVersion;if("undefined"==typeof window.ontouchstart)return!0;if(chromeVersion=+(/Chrome\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],chromeVersion)if(deviceIsAndroid){if(metaViewport=document.querySelector("meta[name=viewport]"),metaViewport){if(-1!==metaViewport.content.indexOf("user-scalable=no"))return!0;if(chromeVersion>31&&document.documentElement.scrollWidth<=window.outerWidth)return!0}}else return!0;if(deviceIsBlackBerry10)if(blackberryVersion=navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/),blackberryVersion[1]>=10&&blackberryVersion[2]>=3)if(metaViewport=document.querySelector("meta[name=viewport]"),metaViewport){if(-1!==metaViewport.content.indexOf("user-scalable=no"))return!0;if(document.documentElement.scrollWidth<=window.outerWidth)return!0}if("none"===layer.style.msTouchAction||"manipulation"===layer.style.touchAction)return!0;if(firefoxVersion=+(/Firefox\/([0-9]+)/.exec(navigator.userAgent)||[,0])[1],firefoxVersion>=27)if(metaViewport=document.querySelector("meta[name=viewport]"),metaViewport&&(-1!==metaViewport.content.indexOf("user-scalable=no")||document.documentElement.scrollWidth<=window.outerWidth))return!0;if("none"===layer.style.touchAction||"manipulation"===layer.style.touchAction)return!0;else return!1},FastClick.attach=function(layer,options){return new FastClick(layer,options)},!0)__WEBPACK_AMD_DEFINE_RESULT__=function(){return FastClick}.call(exports,__webpack_require__,exports,module),!(void 0!==__WEBPACK_AMD_DEFINE_RESULT__&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__));else if("undefined"!=typeof module&&module.exports)module.exports=FastClick.attach,module.exports.FastClick=FastClick;else window.FastClick=FastClick}()},function(module,exports){}]);