You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
220 KiB

if(function(t,e){function i(t){var e=t.length,i=lt.type(t);return lt.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===i||"function"!==i&&(0===e||"number"==typeof e&&e>0&&e-1 in t)}function n(t){var e=Tt[t]={};return lt.each(t.match(ht)||[],function(t,i){e[i]=!0}),e}function r(t,i,n,r){if(lt.acceptData(t)){var s,o,a=lt.expando,l="string"==typeof i,u=t.nodeType,h=u?lt.cache:t,c=u?t[a]:t[a]&&a;if(c&&h[c]&&(r||h[c].data)||!l||n!==e)return c||(u?t[a]=c=K.pop()||lt.guid++:c=a),h[c]||(h[c]={},u||(h[c].toJSON=lt.noop)),("object"==typeof i||"function"==typeof i)&&(r?h[c]=lt.extend(h[c],i):h[c].data=lt.extend(h[c].data,i)),s=h[c],r||(s.data||(s.data={}),s=s.data),n!==e&&(s[lt.camelCase(i)]=n),l?(o=s[i],null==o&&(o=s[lt.camelCase(i)])):o=s,o}}function s(t,e,i){if(lt.acceptData(t)){var n,r,s,o=t.nodeType,l=o?lt.cache:t,u=o?t[lt.expando]:lt.expando;if(l[u]){if(e&&(s=i?l[u]:l[u].data)){lt.isArray(e)?e=e.concat(lt.map(e,lt.camelCase)):e in s?e=[e]:(e=lt.camelCase(e),e=e in s?[e]:e.split(" "));for(n=0,r=e.length;r>n;n++)delete s[e[n]];if(!(i?a:lt.isEmptyObject)(s))return}(i||(delete l[u].data,a(l[u])))&&(o?lt.cleanData([t],!0):lt.support.deleteExpando||l!=l.window?delete l[u]:l[u]=null)}}}function o(t,i,n){if(n===e&&1===t.nodeType){var r="data-"+i.replace(kt,"-$1").toLowerCase();if(n=t.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:Ct.test(n)?lt.parseJSON(n):n}catch(s){}lt.data(t,i,n)}else n=e}return n}function a(t){var e;for(e in t)if(("data"!==e||!lt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function l(){return!0}function u(){return!1}function h(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function c(t,e,i){if(e=e||0,lt.isFunction(e))return lt.grep(t,function(t,n){var r=!!e.call(t,n,t);return r===i});if(e.nodeType)return lt.grep(t,function(t){return t===e===i});if("string"==typeof e){var n=lt.grep(t,function(t){return 1===t.nodeType});if(Ut.test(e))return lt.filter(e,n,!i);e=lt.filter(e,n)}return lt.grep(t,function(t){return lt.inArray(t,e)>=0===i})}function p(t){var e=Wt.split("|"),i=t.createDocumentFragment();if(i.createElement)for(;e.length;)i.createElement(e.pop());return i}function f(t,e){return t.getElementsByTagName(e)[0]||t.appendChild(t.ownerDocument.createElement(e))}function d(t){var e=t.getAttributeNode("type");return t.type=(e&&e.specified)+"/"+t.type,t}function m(t){var e=re.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function g(t,e){for(var i,n=0;null!=(i=t[n]);n++)lt._data(i,"globalEval",!e||lt._data(e[n],"globalEval"))}function v(t,e){if(1===e.nodeType&&lt.hasData(t)){var i,n,r,s=lt._data(t),o=lt._data(e,s),a=s.events;if(a){delete o.handle,o.events={};for(i in a)for(n=0,r=a[i].length;r>n;n++)lt.event.add(e,i,a[i][n])}o.data&&(o.data=lt.extend({},o.data))}}function _(t,e){var i,n,r;if(1===e.nodeType){if(i=e.nodeName.toLowerCase(),!lt.support.noCloneEvent&&e[lt.expando]){r=lt._data(e);for(n in r.events)lt.removeEvent(e,n,r.handle);e.removeAttribute(lt.expando)}"script"===i&&e.text!==t.text?(d(e).text=t.text,m(e)):"object"===i?(e.parentNode&&(e.outerHTML=t.outerHTML),lt.support.html5Clone&&t.innerHTML&&!lt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===i&&ee.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===i?e.defaultSelected=e.selected=t.defaultSelected:("input"===i||"textarea"===i)&&(e.defaultValue=t.defaultValue)}}function y(t,i){var n,r,s=0,o=typeof t.getElementsByTagName!==V?t.getElementsByTagName(i||"*"):typeof t.querySelectorAll!==V?t.querySelectorAll(i||"*"):e;if(!o)for(o=[],n=t.childNodes||t;null!=(r=n[s]);s++)!i||lt.nodeName(r,i)?o.push(r):lt.merge(o,y(r,i));return i===e||i&&lt.nodeName(t,i)?lt.merge([t],o):o}function b(t){ee.test(t.type)&&(t.defaultChecked=t.checked)}function x(t,e){if(e in t)return e;for(var i=e.charAt(0).toUpperCase()+e.slice(1),n=e,r=Ce.length;r--;)if(e=Ce[r]+i,e in t)return e;return n}function w(t,e){return t=e||t,"none"===lt.css(t,"display")||!lt.contains(t.ownerDocument,t)}function T(t,e){for(var i,n,r,s=[],o=0,a=t.length;a>o;o++)n=t[o],n.style&&(s[o]=lt._data(n,"olddisplay"),i=n.style.display,e?(s[o]||"none"!==i||(n.style.display=""),""===n.style.display&&w(n)&&(s[o]=lt._data(n,"olddisplay",P(n.nodeName)))):s[o]||(r=w(n),(i&&"none"!==i||!r)&&lt._data(n,"olddisplay",r?i:lt.css(n,"display"))));for(o=0;a>o;o++)n=t[o],n.style&&(e&&"none"!==n.style.display&&""!==n.style.display||(n.style.display=e?s[o]||"":"none"));return t}function C(t,e,i){var n=ve.exec(e);return n?Math.max(0,n[1]-(i||0))+(n[2]||"px"):e}function k(t,e,i,n,r){for(var s=i===(n?"border":"content")?4:"width"===e?1:0,o=0;4>s;s+=2)"margin"===i&&(o+=lt.css(t,i+Te[s],!0,r)),n?("content"===i&&(o-=lt.css(t,"padding"+Te[s],!0,r)),"margin"!==i&&(o-=lt.css(t,"border"+Te[s]+"Width",!0,r))):(o+=lt.css(t,"padding"+Te[s],!0,r),"padding"!==i&&(o+=lt.css(t,"border"+Te[s]+"Width",!0,r)));return o}function S(t,e,i){var n=!0,r="width"===e?t.offsetWidth:t.offsetHeight,s=he(t),o=lt.support.boxSizing&&"border-box"===lt.css(t,"boxSizing",!1,s);if(0>=r||null==r){if(r=ce(t,e,s),(0>r||null==r)&&(r=t.style[e]),_e.test(r))return r;n=o&&(lt.support.boxSizingReliable||r===t.style[e]),r=parseFloat(r)||0}return r+k(t,e,i||(o?"border":"content"),n,s)+"px"}function P(t){var e=Y,i=be[t];return i||(i=N(t,e),"none"!==i&&i||(ue=(ue||lt("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(e.documentElement),e=(ue[0].contentWindow||ue[0].contentDocument).document,e.write("<!doctype html><html><body>"),e.close(),i=N(t,e),ue.detach()),be[t]=i),i}function N(t,e){var i=lt(e.createElement(t)).appendTo(e.body),n=lt.css(i[0],"display");return i.remove(),n}function A(t,e,i,n){var r;if(lt.isArray(e))lt.each(e,function(e,r){i||Se.test(t)?n(t,r):A(t+"["+("object"==typeof r?e:"")+"]",r,i,n)});else if(i||"object"!==lt.type(e))n(t,e);else for(r in e)A(t+"["+r+"]",e[r],i,n)}function E(t){return function(e,i){"string"!=typeof e&&(i=e,e="*");var n,r=0,s=e.toLowerCase().match(ht)||[];if(lt.isFunction(i))for(;n=s[r++];)"+"===n[0]?(n=n.slice(1)||"*",(t[n]=t[n]||[]).unshift(i)):(t[n]=t[n]||[]).push(i)}}function D(t,e,i,n){function r(a){var l;return s[a]=!0,lt.each(t[a]||[],function(t,a){var u=a(e,i,n);return"string"!=typeof u||o||s[u]?o?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var s={},o=t===Ue;return r(e.dataTypes[0])||!s["*"]&&r("*")}function R(t,i){var n,r,s=lt.ajaxSettings.flatOptions||{};for(r in i)i[r]!==e&&((s[r]?t:n||(n={}))[r]=i[r]);return n&&lt.extend(!0,t,n),t}function O(t,i,n){var r,s,o,a,l=t.contents,u=t.dataTypes,h=t.responseFields;for(a in h)a in n&&(i[h[a]]=n[a]);for(;"*"===u[0];)u.shift(),s===e&&(s=t.mimeType||i.getResponseHeader("Content-Type"));if(s)for(a in l)if(l[a]&&l[a].test(s)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||t.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function $(t,e){var i,n,r,s,o={},a=0,l=t.dataTypes.slice(),u=l[0];if(t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l[1])for(r in t.converters)o[r.toLowerCase()]=t.converters[r];for(;n=l[++a];)if("*"!==n){if("*"!==u&&u!==n){if(r=o[u+" "+n]||o["* "+n],!r)for(i in o)if(s=i.split(" "),s[1]===n&&(r=o[u+" "+s[0]]||o["* "+s[0]])){r===!0?r=o[i]:o[i]!==!0&&(n=s[0],l.splice(a--,0,n));break}if(r!==!0)if(r&&t["throws"])e=r(e);else try{e=r(e)}catch(h){return{state:"parsererror",error:r?h:"No conversion from "+u+" to "+n}}}u=n}return{state:"success",data:e}}function I(){try{return new t.XMLHttpRequest}catch(e){}}function M(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function L(){return setTimeout(function(){Je=e}),Je=lt.now()}function F(t,e){lt.each(e,function(e,i){for(var n=(ri[e]||[]).concat(ri["*"]),r=0,s=n.length;s>r;r++)if(n[r].call(t,e,i))return})}function j(t,e,i){var n,r,s=0,o=ni.length,a=lt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=Je||L(),i=Math.max(0,u.startTime+u.duration-e),n=i/u.duration||0,s=1-n,o=0,l=u.tweens.length;l>o;o++)u.tweens[o].run(s);return a.notifyWith(t,[u,s,i]),1>s&&l?i:(a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:lt.extend({},e),opts:lt.extend(!0,{specialEasing:{}},i),originalProperties:e,originalOptions:i,startTime:Je||L(),duration:i.duration,tweens:[],createTween:function(e,i){var n=lt.Tween(t,u.opts,e,i,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var i=0,n=e?u.tweens.length:0;if(r)return this;for(r=!0;n>i;i++)u.tweens[i].run(1);return e?a.resolveWith(t,[u,e]):a.rejectWith(t,[u,e]),this}}),h=u.props;for(H(h,u.opts.specialEasing);o>s;s++)if(n=ni[s].call(u,t,h,u.opts))return n;return F(u,h),lt.isFunction(u.opts.start)&&u.opts.start.call(t,u),lt.fx.timer(lt.extend(l,{elem:t,anim:u,queue:u.opts.queue})),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always)}function H(t,e){var i,n,r,s,o;for(r in t)if(n=lt.camelCase(r),s=e[n],i=t[r],lt.isArray(i)&&(s=i[1],i=t[r]=i[0]),r!==n&&(t[n]=i,delete t[r]),o=lt.cssHooks[n],o&&"expand"in o){i=o.expand(i),delete t[n];for(r in i)r in t||(t[r]=i[r],e[r]=s)}else e[n]=s}function B(t,e,i){var n,r,s,o,a,l,u,h,c,p=this,f=t.style,d={},m=[],g=t.nodeType&&w(t);i.queue||(h=lt._queueHooks(t,"fx"),null==h.unqueued&&(h.unqueued=0,c=h.empty.fire,h.empty.fire=function(){h.unqueued||c()}),h.unqueued++,p.always(function(){p.always(function(){h.unqueued--,lt.queue(t,"fx").length||h.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(i.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===lt.css(t,"display")&&"none"===lt.css(t,"float")&&(lt.support.inlineBlockNeedsLayout&&"inline"!==P(t.nodeName)?f.zoom=1:f.display="inline-block")),i.overflow&&(f.overflow="hidden",lt.support.shrinkWrapBlocks||p.always(function(){f.overflow=i.overflow[0],f.overflowX=i.overflow[1],f.overflowY=i.overflow[2]}));for(r in e)if(o=e[r],ti.exec(o)){if(delete e[r],l=l||"toggle"===o,o===(g?"hide":"show"))continue;m.push(r)}if(s=m.length){a=lt._data(t,"fxshow")||lt._data(t,"fxshow",{}),"hidden"in a&&(g=a.hidden),l&&(a.hidden=!g),g?lt(t).show():p.done(function(){lt(t).hide()}),p.done(function(){var e;lt._removeData(t,"fxshow");for(e in d)lt.style(t,e,d[e])});for(r=0;s>r;r++)n=m[r],u=p.createTween(n,g?a[n]:0),d[n]=a[n]||lt.style(t,n),n in a||(a[n]=u.start,g&&(u.end=u.start,u.start="width"===n||"height"===n?1:0))}}function q(t,e,i,n,r){return new q.prototype.init(t,e,i,n,r)}function U(t,e){var i,n={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)i=Te[r],n["margin"+i]=n["padding"+i]=t;return e&&(n.opacity=n.width=t),n}function X(t){return lt.isWindow(t)?t:9===t.nodeType?t.defaultView||t.parentWindow:!1}var z,W,V=typeof e,Y=t.document,Q=t.location,G=t.jQuery,Z=t.$,J={},K=[],tt="1.9.1",et=K.concat,it=K.push,nt=K.slice,rt=K.indexOf,st=J.toString,ot=J.hasOwnProperty,at=tt.trim,lt=function(t,e){return new lt.fn.init(t,e,W)},ut=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ht=/\S+/g,ct=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,pt=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,ft=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,dt=/^[\],:{}\s]*$/,mt=/(?:^|:|,)(?:\s*\[)+/g,gt=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,vt=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,_t=/^-ms-/,yt=/-([\da-z])/gi,bt=function(t,e){return e.toUpperCase()},xt=function(t){(Y.addEventListener||"load"===t.type||"complete"===Y.readyState)&&(wt(),lt.ready())},wt=function(){Y.addEventListener?(Y.removeEventListener("DOMContentLoaded",xt,!1),t.removeEventListener("load",xt,!1)):(Y.detachEvent("onreadystatechange",xt),t.detachEvent("onload",xt))};lt.fn=lt.prototype={jquery:tt,constructor:lt,init:function(t,i,n){var r,s;if(!t)return this;if("string"==typeof t){if(r="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:pt.exec(t),!r||!r[1]&&i)return!i||i.jquery?(i||n).find(t):this.constructor(i).find(t);if(r[1]){if(i=i instanceof lt?i[0]:i,lt.merge(this,lt.parseHTML(r[1],i&&i.nodeType?i.ownerDocument||i:Y,!0)),ft.test(r[1])&&lt.isPlainObject(i))for(r in i)lt.isFunction(this[r])?this[r](i[r]):this.attr(r,i[r]);return this}if(s=Y.getElementById(r[2]),s&&s.parentNode){if(s.id!==r[2])return n.find(t);this.length=1,this[0]=s}return this.context=Y,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):lt.isFunction(t)?n.ready(t):(t.selector!==e&&(this.selector=t.selector,this.context=t.context),lt.makeArray(t,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return nt.call(this)},get:function(t){return null==t?this.toArray():0>t?this[this.length+t]:this[t]},pushStack:function(t){var e=lt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return lt.each(this,t,e)},ready:function(t){return lt.ready.promise().done(t),this},slice:function(){return this.pushStack(nt.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,i=+t+(0>t?e:0);return this.pushStack(i>=0&&e>i?[this[i]]:[])},map:function(t){return this.pushStack(lt.map(this,function(e,i){return t.call(e,i,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:it,sort:[].sort,splice:[].splice},lt.fn.init.prototype=lt.fn,lt.extend=lt.fn.extend=function(){var t,i,n,r,s,o,a=arguments[0]||{},l=1,u=arguments.length,h=!1;for("boolean"==typeof a&&(h=a,a=arguments[1]||{},l=2),"object"==typeof a||lt.isFunction(a)||(a={}),u===l&&(a=this,--l);u>l;l++)if(null!=(s=arguments[l]))for(r in s)t=a[r],n=s[r],a!==n&&(h&&n&&(lt.isPlainObject(n)||(i=lt.isArray(n)))?(i?(i=!1,o=t&&lt.isArray(t)?t:[]):o=t&&lt.isPlainObject(t)?t:{},a[r]=lt.extend(h,o,n)):n!==e&&(a[r]=n));return a},lt.extend({noConflict:function(e){return t.$===lt&&(t.$=Z),e&&t.jQuery===lt&&(t.jQuery=G),lt},isReady:!1,readyWait:1,holdReady:function(t){t?lt.readyWait++:lt.ready(!0)},ready:function(t){if(t===!0?!--lt.readyWait:!lt.isReady){if(!Y.body)return setTimeout(lt.ready);lt.isReady=!0,t!==!0&&--lt.readyWait>0||(z.resolveWith(Y,[lt]),lt.fn.trigger&&lt(Y).trigger("ready").off("ready"))}},isFunction:function(t){return"function"===lt.type(t)},isArray:Array.isArray||function(t){return"array"===lt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!isNaN(parseFloat(t))&&isFinite(t)},type:function(t){return null==t?String(t):"object"==typeof t||"function"==typeof t?J[st.call(t)]||"object":typeof t},isPlainObject:function(t){if(!t||"object"!==lt.type(t)||t.nodeType||lt.isWindow(t))return!1;try{if(t.constructor&&!ot.call(t,"constructor")&&!ot.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(i){return!1}var n;for(n in t);return n===e||ot.call(t,n)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},error:function(t){throw new Error(t)},parseHTML:function(t,e,i){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(i=e,e=!1),e=e||Y;var n=ft.exec(t),r=!i&&[];return n?[e.createElement(n[1])]:(n=lt.buildFragment([t],e,r),r&&lt(r).remove(),lt.merge([],n.childNodes))},parseJSON:function(e){return t.JSON&&t.JSON.parse?t.JSON.parse(e):null===e?e:"string"==typeof e&&(e=lt.trim(e),e&&dt.test(e.replace(gt,"@").replace(vt,"]").replace(mt,"")))?new Function("return "+e)():void lt.error("Invalid JSON: "+e)},parseXML:function(i){var n,r;if(!i||"string"!=typeof i)return null;try{t.DOMParser?(r=new DOMParser,n=r.parseFromString(i,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(i))}catch(s){n=e}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||lt.error("Invalid XML: "+i),n},noop:function(){},globalEval:function(e){e&&lt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(_t,"ms-").replace(yt,bt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var r,s=0,o=t.length,a=i(t);if(n){if(a)for(;o>s&&(r=e.apply(t[s],n),r!==!1);s++);else for(s in t)if(r=e.apply(t[s],n),r===!1)break}else if(a)for(;o>s&&(r=e.call(t[s],s,t[s]),r!==!1);s++);else for(s in t)if(r=e.call(t[s],s,t[s]),r===!1)break;return t},trim:at&&!at.call("\ufeff ")?function(t){return null==t?"":at.call(t)}:function(t){return null==t?"":(t+"").replace(ct,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(i(Object(t))?lt.merge(n,"string"==typeof t?[t]:t):it.call(n,t)),n},inArray:function(t,e,i){var n;if(e){if(rt)return rt.call(e,t,i);for(n=e.length,i=i?0>i?Math.max(0,n+i):i:0;n>i;i++)if(i in e&&e[i]===t)return i}return-1},merge:function(t,i){var n=i.length,r=t.length,s=0;if("number"==typeof n)for(;n>s;s++)t[r++]=i[s];else for(;i[s]!==e;)t[r++]=i[s++];return t.length=r,t},grep:function(t,e,i){var n,r=[],s=0,o=t.length;for(i=!!i;o>s;s++)n=!!e(t[s],s),i!==n&&r.push(t[s]);return r},map:function(t,e,n){var r,s=0,o=t.length,a=i(t),l=[];if(a)for(;o>s;s++)r=e(t[s],s,n),null!=r&&(l[l.length]=r);else for(s in t)r=e(t[s],s,n),null!=r&&(l[l.length]=r);return et.apply([],l)},guid:1,proxy:function(t,i){var n,r,s;return"string"==typeof i&&(s=t[i],i=t,t=s),lt.isFunction(t)?(n=nt.call(arguments,2),r=function(){return t.apply(i||this,n.concat(nt.call(arguments)))},r.guid=t.guid=t.guid||lt.guid++,r):e},access:function(t,i,n,r,s,o,a){var l=0,u=t.length,h=null==n;if("object"===lt.type(n)){s=!0;for(l in n)lt.access(t,i,l,n[l],!0,o,a)}else if(r!==e&&(s=!0,lt.isFunction(r)||(a=!0),h&&(a?(i.call(t,r),i=null):(h=i,i=function(t,e,i){return h.call(lt(t),i)})),i))for(;u>l;l++)i(t[l],n,a?r:r.call(t[l],l,i(t[l],n)));return s?t:h?i.call(t):u?i(t[0],n):o},now:function(){return(new Date).getTime()}}),lt.ready.promise=function(e){if(!z)if(z=lt.Deferred(),"complete"===Y.readyState)setTimeout(lt.ready);else if(Y.addEventListener)Y.addEventListener("DOMContentLoaded",xt,!1),t.addEventListener("load",xt,!1);else{Y.attachEvent("onreadystatechange",xt),t.attachEvent("onload",xt);var i=!1;try{i=null==t.frameElement&&Y.documentElement}catch(n){}i&&i.doScroll&&!function r(){if(!lt.isReady){try{i.doScroll("left")}catch(t){return setTimeout(r,50)}wt(),lt.ready()}}()}return z.promise(e)},lt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){J["[object "+e+"]"]=e.toLowerCase()}),W=lt(Y);var Tt={};lt.Callbacks=function(t){t="string"==typeof t?Tt[t]||n(t):lt.extend({},t);var i,r,s,o,a,l,u=[],h=!t.once&&[],c=function(e){for(r=t.memory&&e,s=!0,a=l||0,l=0,o=u.length,i=!0;u&&o>a;a++)if(u[a].apply(e[0],e[1])===!1&&t.stopOnFalse){r=!1;break}i=!1,u&&(h?h.length&&c(h.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var e=u.length;!function n(e){lt.each(e,function(e,i){var r=lt.type(i);"function"===r?t.unique&&p.has(i)||u.push(i):i&&i.length&&"string"!==r&&n(i)})}(arguments),i?o=u.length:r&&(l=e,c(r))}return this},remove:function(){return u&&lt.each(arguments,function(t,e){for(var n;(n=lt.inArray(e,u,n))>-1;)u.splice(n,1),i&&(o>=n&&o--,a>=n&&a--)}),this},has:function(t){return t?lt.inArray(t,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=h=r=e,this},disabled:function(){return!u},lock:function(){return h=e,r||p.disable(),this},locked:function(){return!h},fireWith:function(t,e){return e=e||[],e=[t,e.slice?e.slice():e],!u||s&&!h||(i?h.push(e):c(e)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!s}};return p},lt.extend({Deferred:function(t){var e=[["resolve","done",lt.Callbacks("once memory"),"resolved"],["reject","fail",lt.Callbacks("once memory"),"rejected"],["notify","progress",lt.Callbacks("memory")]],i="pending",n={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return lt.Deferred(function(i){lt.each(e,function(e,s){var o=s[0],a=lt.isFunction(t[e])&&t[e];r[s[1]](function(){var t=a&&a.apply(this,arguments);t&&lt.isFunction(t.promise)?t.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[o+"With"](this===n?i.promise():this,a?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?lt.extend(t,n):n}},r={};return n.pipe=n.then,lt.each(e,function(t,s){var o=s[2],a=s[3];n[s[1]]=o.add,a&&o.add(function(){i=a},e[1^t][2].disable,e[2][2].lock),r[s[0]]=function(){return r[s[0]+"With"](this===r?n:this,arguments),this},r[s[0]+"With"]=o.fireWith}),n.promise(r),t&&t.call(r,r),r},when:function(t){var e,i,n,r=0,s=nt.call(arguments),o=s.length,a=1!==o||t&&lt.isFunction(t.promise)?o:0,l=1===a?t:lt.Deferred(),u=function(t,i,n){return function(r){i[t]=this,n[t]=arguments.length>1?nt.call(arguments):r,n===e?l.notifyWith(i,n):--a||l.resolveWith(i,n)}};if(o>1)for(e=new Array(o),i=new Array(o),n=new Array(o);o>r;r++)s[r]&&lt.isFunction(s[r].promise)?s[r].promise().done(u(r,n,s)).fail(l.reject).progress(u(r,i,e)):--a;return a||l.resolveWith(n,s),l.promise()}}),lt.support=function(){var e,i,n,r,s,o,a,l,u,h,c=Y.createElement("div");if(c.setAttribute("className","t"),c.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=c.getElementsByTagName("*"),n=c.getElementsByTagName("a")[0],!i||!n||!i.length)return{};s=Y.createElement("select"),a=s.appendChild(Y.createElement("option")),r=c.getElementsByTagName("input")[0],n.style.cssText="top:1px;float:left;opacity:.5",e={getSetAttribute:"t"!==c.className,leadingWhitespace:3===c.firstChild.nodeType,tbody:!c.getElementsByTagName("tbody").length,htmlSerialize:!!c.getElementsByTagName("link").length,style:/top/.test(n.getAttribute("style")),hrefNormalized:"/a"===n.getAttribute("href"),opacity:/^0.5/.test(n.style.opacity),cssFloat:!!n.style.cssFloat,checkOn:!!r.value,optSelected:a.selected,enctype:!!Y.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==Y.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===Y.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},r.checked=!0,e.noCloneChecked=r.cloneNode(!0).checked,s.disabled=!0,e.optDisabled=!a.disabled;try{delete c.test}catch(p){e.deleteExpando=!1}r=Y.createElement("input"),r.setAttribute("value",""),e.input=""===r.getAttribute("value"),r.value="t",r.setAttribute("type","radio"),e.radioValue="t"===r.value,r.setAttribute("checked","t"),r.setAttribute("name","t"),o=Y.createDocumentFragment(),o.appendChild(r),e.appendChecked=r.checked,e.checkClone=o.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){e.noCloneEvent=!1}),c.cloneNode(!0).click());for(h in{submit:!0,change:!0,focusin:!0})c.setAttribute(l="on"+h,"t"),e[h+"Bubbles"]=l in t||c.attributes[l].expando===!1;return c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",e.clearCloneStyle="content-box"===c.style.backgroundClip,lt(function(){var i,n,r,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",o=Y.getElementsByTagName("body")[0];o&&(i=Y.createElement("div"),i.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",o.appendChild(i).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",r=c.getElementsByTagName("td"),r[0].style.cssText="padding:0;margin:0;border:0;display:none",u=0===r[0].offsetHeight,r[0].style.display="",r[1].style.display="none",e.reliableHiddenOffsets=u&&0===r[0].offsetHeight,c.innerHTML="",c.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",e.boxSizing=4===c.offsetWidth,e.doesNotIncludeMarginInBodyOffset=1!==o.offsetTop,t.getComputedStyle&&(e.pixelPosition="1%"!==(t.getComputedStyle(c,null)||{}).top,e.boxSizingReliable="4px"===(t.getComputedStyle(c,null)||{width:"4px"}).width,n=c.appendChild(Y.createElement("div")),n.style.cssText=c.style.cssText=s,n.style.marginRight=n.style.width="0",c.style.width="1px",e.reliableMarginRight=!parseFloat((t.getComputedStyle(n,null)||{}).marginRight)),typeof c.style.zoom!==V&&(c.innerHTML="",c.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",e.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",e.shrinkWrapBlocks=3!==c.offsetWidth,e.inlineBlockNeedsLayout&&(o.style.zoom=1)),o.removeChild(i),i=c=r=n=null)}),i=s=o=a=n=r=null,e}();var Ct=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,kt=/([A-Z])/g;lt.extend({cache:{},expando:"jQuery"+(tt+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(t){return t=t.nodeType?lt.cache[t[lt.expando]]:t[lt.expando],!!t&&!a(t)},data:function(t,e,i){return r(t,e,i)},removeData:function(t,e){return s(t,e)},_data:function(t,e,i){return r(t,e,i,!0)},_removeData:function(t,e){return s(t,e,!0)},acceptData:function(t){if(t.nodeType&&1!==t.nodeType&&9!==t.nodeType)return!1;var e=t.nodeName&&lt.noData[t.nodeName.toLowerCase()];return!e||e!==!0&&t.getAttribute("classid")===e}}),lt.fn.extend({data:function(t,i){var n,r,s=this[0],a=0,l=null;if(t===e){if(this.length&&(l=lt.data(s),1===s.nodeType&&!lt._data(s,"parsedAttrs"))){for(n=s.attributes;a<n.length;a++)r=n[a].name,r.indexOf("data-")||(r=lt.camelCase(r.slice(5)),o(s,r,l[r]));lt._data(s,"parsedAttrs",!0)}return l}return"object"==typeof t?this.each(function(){lt.data(this,t)}):lt.access(this,function(i){return i===e?s?o(s,t,lt.data(s,t)):null:void this.each(function(){lt.data(this,t,i)})},null,i,arguments.length>1,null,!0)},removeData:function(t){return this.each(function(){lt.removeData(this,t)})}}),lt.extend({queue:function(t,e,i){var n;return t?(e=(e||"fx")+"queue",n=lt._data(t,e),i&&(!n||lt.isArray(i)?n=lt._data(t,e,lt.makeArray(i)):n.push(i)),n||[]):void 0},dequeue:function(t,e){e=e||"fx";var i=lt.queue(t,e),n=i.length,r=i.shift(),s=lt._queueHooks(t,e),o=function(){lt.dequeue(t,e)};"inprogress"===r&&(r=i.shift(),n--),s.cur=r,r&&("fx"===e&&i.unshift("inprogress"),delete s.stop,r.call(t,o,s)),!n&&s&&s.empty.fire()},_queueHooks:function(t,e){var i=e+"queueHooks";return lt._data(t,i)||lt._data(t,i,{empty:lt.Callbacks("once memory").add(function(){lt._removeData(t,e+"queue"),lt._removeData(t,i)})})}}),lt.fn.extend({queue:function(t,i){var n=2;return"string"!=typeof t&&(i=t,t="fx",n--),arguments.length<n?lt.queue(this[0],t):i===e?this:this.each(function(){var e=lt.queue(this,t,i);lt._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&lt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){lt.dequeue(this,t)})},delay:function(t,e){return t=lt.fx?lt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,i){var n=setTimeout(e,t);i.stop=function(){clearTimeout(n)}})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,i){var n,r=1,s=lt.Deferred(),o=this,a=this.length,l=function(){--r||s.resolveWith(o,[o])};for("string"!=typeof t&&(i=t,t=e),t=t||"fx";a--;)n=lt._data(o[a],t+"queueHooks"),n&&n.empty&&(r++,n.empty.add(l));return l(),s.promise(i)}});var St,Pt,Nt=/[\t\r\n]/g,At=/\r/g,Et=/^(?:input|select|textarea|button|object)$/i,Dt=/^(?:a|area)$/i,Rt=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,Ot=/^(?:checked|selected)$/i,$t=lt.support.getSetAttribute,It=lt.support.input;lt.fn.extend({attr:function(t,e){return lt.access(this,lt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){lt.removeAttr(this,t)})},prop:function(t,e){return lt.access(this,lt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=lt.propFix[t]||t,this.each(function(){try{this[t]=e,delete this[t]}catch(i){}})},addClass:function(t){var e,i,n,r,s,o=0,a=this.length,l="string"==typeof t&&t;if(lt.isFunction(t))return this.each(function(e){lt(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(ht)||[];a>o;o++)if(i=this[o],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Nt," "):" ")){for(s=0;r=e[s++];)n.indexOf(" "+r+" ")<0&&(n+=r+" ");i.className=lt.trim(n)}return this},removeClass:function(t){var e,i,n,r,s,o=0,a=this.length,l=0===arguments.length||"string"==typeof t&&t;if(lt.isFunction(t))return this.each(function(e){lt(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(ht)||[];a>o;o++)if(i=this[o],n=1===i.nodeType&&(i.className?(" "+i.className+" ").replace(Nt," "):"")){for(s=0;r=e[s++];)for(;n.indexOf(" "+r+" ")>=0;)n=n.replace(" "+r+" "," ");i.className=t?lt.trim(n):""}return this},toggleClass:function(t,e){var i=typeof t,n="boolean"==typeof e;return this.each(lt.isFunction(t)?function(i){lt(this).toggleClass(t.call(this,i,this.className,e),e)}:function(){if("string"===i)for(var r,s=0,o=lt(this),a=e,l=t.match(ht)||[];r=l[s++];)a=n?a:!o.hasClass(r),o[a?"addClass":"removeClass"](r);else(i===V||"boolean"===i)&&(this.className&&lt._data(this,"__className__",this.className),this.className=this.className||t===!1?"":lt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",i=0,n=this.length;n>i;i++)if(1===this[i].nodeType&&(" "+this[i].className+" ").replace(Nt," ").indexOf(e)>=0)return!0;return!1},val:function(t){var i,n,r,s=this[0];{if(arguments.length)return r=lt.isFunction(t),this.each(function(i){var s,o=lt(this);1===this.nodeType&&(s=r?t.call(this,i,o.val()):t,null==s?s="":"number"==typeof s?s+="":lt.isArray(s)&&(s=lt.map(s,function(t){return null==t?"":t+""})),n=lt.valHooks[this.type]||lt.valHooks[this.nodeName.toLowerCase()],n&&"set"in n&&n.set(this,s,"value")!==e||(this.value=s))});if(s)return n=lt.valHooks[s.type]||lt.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(i=n.get(s,"value"))!==e?i:(i=s.value,"string"==typeof i?i.replace(At,""):null==i?"":i)}}}),lt.extend({valHooks:{option:{get:function(t){var e=t.attributes.value;return!e||e.specified?t.value:t.text}},select:{get:function(t){for(var e,i,n=t.options,r=t.selectedIndex,s="select-one"===t.type||0>r,o=s?null:[],a=s?r+1:n.length,l=0>r?a:s?r:0;a>l;l++)if(i=n[l],!(!i.selected&&l!==r||(lt.support.optDisabled?i.disabled:null!==i.getAttribute("disabled"))||i.parentNode.disabled&&lt.nodeName(i.parentNode,"optgroup"))){if(e=lt(i).val(),s)return e;o.push(e)}return o},set:function(t,e){var i=lt.makeArray(e);return lt(t).find("option").each(function(){this.selected=lt.inArray(lt(this).val(),i)>=0}),i.length||(t.selectedIndex=-1),i}}},attr:function(t,i,n){var r,s,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return typeof t.getAttribute===V?lt.prop(t,i,n):(s=1!==a||!lt.isXMLDoc(t),s&&(i=i.toLowerCase(),r=lt.attrHooks[i]||(Rt.test(i)?Pt:St)),n===e?r&&s&&"get"in r&&null!==(o=r.get(t,i))?o:(typeof t.getAttribute!==V&&(o=t.getAttribute(i)),null==o?e:o):null!==n?r&&s&&"set"in r&&(o=r.set(t,n,i))!==e?o:(t.setAttribute(i,n+""),n):void lt.removeAttr(t,i))},removeAttr:function(t,e){var i,n,r=0,s=e&&e.match(ht);if(s&&1===t.nodeType)for(;i=s[r++];)n=lt.propFix[i]||i,Rt.test(i)?!$t&&Ot.test(i)?t[lt.camelCase("default-"+i)]=t[n]=!1:t[n]=!1:lt.attr(t,i,""),t.removeAttribute($t?i:n)},attrHooks:{type:{set:function(t,e){if(!lt.support.radioValue&&"radio"===e&&lt.nodeName(t,"input")){var i=t.value;return t.setAttribute("type",e),i&&(t.value=i),e}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(t,i,n){var r,s,o,a=t.nodeType;if(t&&3!==a&&8!==a&&2!==a)return o=1!==a||!lt.isXMLDoc(t),o&&(i=lt.propFix[i]||i,s=lt.propHooks[i]),n!==e?s&&"set"in s&&(r=s.set(t,n,i))!==e?r:t[i]=n:s&&"get"in s&&null!==(r=s.get(t,i))?r:t[i]},propHooks:{tabIndex:{get:function(t){var i=t.getAttributeNode("tabindex");return i&&i.specified?parseInt(i.value,10):Et.test(t.nodeName)||Dt.test(t.nodeName)&&t.href?0:e}}}}),Pt={get:function(t,i){var n=lt.prop(t,i),r="boolean"==typeof n&&t.getAttribute(i),s="boolean"==typeof n?It&&$t?null!=r:Ot.test(i)?t[lt.camelCase("default-"+i)]:!!r:t.getAttributeNode(i);
return s&&s.value!==!1?i.toLowerCase():e},set:function(t,e,i){return e===!1?lt.removeAttr(t,i):It&&$t||!Ot.test(i)?t.setAttribute(!$t&&lt.propFix[i]||i,i):t[lt.camelCase("default-"+i)]=t[i]=!0,i}},It&&$t||(lt.attrHooks.value={get:function(t,i){var n=t.getAttributeNode(i);return lt.nodeName(t,"input")?t.defaultValue:n&&n.specified?n.value:e},set:function(t,e,i){return lt.nodeName(t,"input")?void(t.defaultValue=e):St&&St.set(t,e,i)}}),$t||(St=lt.valHooks.button={get:function(t,i){var n=t.getAttributeNode(i);return n&&("id"===i||"name"===i||"coords"===i?""!==n.value:n.specified)?n.value:e},set:function(t,i,n){var r=t.getAttributeNode(n);return r||t.setAttributeNode(r=t.ownerDocument.createAttribute(n)),r.value=i+="","value"===n||i===t.getAttribute(n)?i:e}},lt.attrHooks.contenteditable={get:St.get,set:function(t,e,i){St.set(t,""===e?!1:e,i)}},lt.each(["width","height"],function(t,e){lt.attrHooks[e]=lt.extend(lt.attrHooks[e],{set:function(t,i){return""===i?(t.setAttribute(e,"auto"),i):void 0}})})),lt.support.hrefNormalized||(lt.each(["href","src","width","height"],function(t,i){lt.attrHooks[i]=lt.extend(lt.attrHooks[i],{get:function(t){var n=t.getAttribute(i,2);return null==n?e:n}})}),lt.each(["href","src"],function(t,e){lt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}})),lt.support.style||(lt.attrHooks.style={get:function(t){return t.style.cssText||e},set:function(t,e){return t.style.cssText=e+""}}),lt.support.optSelected||(lt.propHooks.selected=lt.extend(lt.propHooks.selected,{get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}})),lt.support.enctype||(lt.propFix.enctype="encoding"),lt.support.checkOn||lt.each(["radio","checkbox"],function(){lt.valHooks[this]={get:function(t){return null===t.getAttribute("value")?"on":t.value}}}),lt.each(["radio","checkbox"],function(){lt.valHooks[this]=lt.extend(lt.valHooks[this],{set:function(t,e){return lt.isArray(e)?t.checked=lt.inArray(lt(t).val(),e)>=0:void 0}})});var Mt=/^(?:input|select|textarea)$/i,Lt=/^key/,Ft=/^(?:mouse|contextmenu)|click/,jt=/^(?:focusinfocus|focusoutblur)$/,Ht=/^([^.]*)(?:\.(.+)|)$/;lt.event={global:{},add:function(t,i,n,r,s){var o,a,l,u,h,c,p,f,d,m,g,v=lt._data(t);if(v){for(n.handler&&(u=n,n=u.handler,s=u.selector),n.guid||(n.guid=lt.guid++),(a=v.events)||(a=v.events={}),(c=v.handle)||(c=v.handle=function(t){return typeof lt===V||t&&lt.event.triggered===t.type?e:lt.event.dispatch.apply(c.elem,arguments)},c.elem=t),i=(i||"").match(ht)||[""],l=i.length;l--;)o=Ht.exec(i[l])||[],d=g=o[1],m=(o[2]||"").split(".").sort(),h=lt.event.special[d]||{},d=(s?h.delegateType:h.bindType)||d,h=lt.event.special[d]||{},p=lt.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:s,needsContext:s&&lt.expr.match.needsContext.test(s),namespace:m.join(".")},u),(f=a[d])||(f=a[d]=[],f.delegateCount=0,h.setup&&h.setup.call(t,r,m,c)!==!1||(t.addEventListener?t.addEventListener(d,c,!1):t.attachEvent&&t.attachEvent("on"+d,c))),h.add&&(h.add.call(t,p),p.handler.guid||(p.handler.guid=n.guid)),s?f.splice(f.delegateCount++,0,p):f.push(p),lt.event.global[d]=!0;t=null}},remove:function(t,e,i,n,r){var s,o,a,l,u,h,c,p,f,d,m,g=lt.hasData(t)&&lt._data(t);if(g&&(h=g.events)){for(e=(e||"").match(ht)||[""],u=e.length;u--;)if(a=Ht.exec(e[u])||[],f=m=a[1],d=(a[2]||"").split(".").sort(),f){for(c=lt.event.special[f]||{},f=(n?c.delegateType:c.bindType)||f,p=h[f]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=s=p.length;s--;)o=p[s],!r&&m!==o.origType||i&&i.guid!==o.guid||a&&!a.test(o.namespace)||n&&n!==o.selector&&("**"!==n||!o.selector)||(p.splice(s,1),o.selector&&p.delegateCount--,c.remove&&c.remove.call(t,o));l&&!p.length&&(c.teardown&&c.teardown.call(t,d,g.handle)!==!1||lt.removeEvent(t,f,g.handle),delete h[f])}else for(f in h)lt.event.remove(t,f+e[u],i,n,!0);lt.isEmptyObject(h)&&(delete g.handle,lt._removeData(t,"events"))}},trigger:function(i,n,r,s){var o,a,l,u,h,c,p,f=[r||Y],d=ot.call(i,"type")?i.type:i,m=ot.call(i,"namespace")?i.namespace.split("."):[];if(l=c=r=r||Y,3!==r.nodeType&&8!==r.nodeType&&!jt.test(d+lt.event.triggered)&&(d.indexOf(".")>=0&&(m=d.split("."),d=m.shift(),m.sort()),a=d.indexOf(":")<0&&"on"+d,i=i[lt.expando]?i:new lt.Event(d,"object"==typeof i&&i),i.isTrigger=!0,i.namespace=m.join("."),i.namespace_re=i.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,i.result=e,i.target||(i.target=r),n=null==n?[i]:lt.makeArray(n,[i]),h=lt.event.special[d]||{},s||!h.trigger||h.trigger.apply(r,n)!==!1)){if(!s&&!h.noBubble&&!lt.isWindow(r)){for(u=h.delegateType||d,jt.test(u+d)||(l=l.parentNode);l;l=l.parentNode)f.push(l),c=l;c===(r.ownerDocument||Y)&&f.push(c.defaultView||c.parentWindow||t)}for(p=0;(l=f[p++])&&!i.isPropagationStopped();)i.type=p>1?u:h.bindType||d,o=(lt._data(l,"events")||{})[i.type]&&lt._data(l,"handle"),o&&o.apply(l,n),o=a&&l[a],o&&lt.acceptData(l)&&o.apply&&o.apply(l,n)===!1&&i.preventDefault();if(i.type=d,!(s||i.isDefaultPrevented()||h._default&&h._default.apply(r.ownerDocument,n)!==!1||"click"===d&&lt.nodeName(r,"a")||!lt.acceptData(r)||!a||!r[d]||lt.isWindow(r))){c=r[a],c&&(r[a]=null),lt.event.triggered=d;try{r[d]()}catch(g){}lt.event.triggered=e,c&&(r[a]=c)}return i.result}},dispatch:function(t){t=lt.event.fix(t);var i,n,r,s,o,a=[],l=nt.call(arguments),u=(lt._data(this,"events")||{})[t.type]||[],h=lt.event.special[t.type]||{};if(l[0]=t,t.delegateTarget=this,!h.preDispatch||h.preDispatch.call(this,t)!==!1){for(a=lt.event.handlers.call(this,t,u),i=0;(s=a[i++])&&!t.isPropagationStopped();)for(t.currentTarget=s.elem,o=0;(r=s.handlers[o++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(r.namespace))&&(t.handleObj=r,t.data=r.data,n=((lt.event.special[r.origType]||{}).handle||r.handler).apply(s.elem,l),n!==e&&(t.result=n)===!1&&(t.preventDefault(),t.stopPropagation()));return h.postDispatch&&h.postDispatch.call(this,t),t.result}},handlers:function(t,i){var n,r,s,o,a=[],l=i.delegateCount,u=t.target;if(l&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==t.type)){for(s=[],o=0;l>o;o++)r=i[o],n=r.selector+" ",s[n]===e&&(s[n]=r.needsContext?lt(n,this).index(u)>=0:lt.find(n,this,null,[u]).length),s[n]&&s.push(r);s.length&&a.push({elem:u,handlers:s})}return l<i.length&&a.push({elem:this,handlers:i.slice(l)}),a},fix:function(t){if(t[lt.expando])return t;var e,i,n,r=t.type,s=t,o=this.fixHooks[r];for(o||(this.fixHooks[r]=o=Ft.test(r)?this.mouseHooks:Lt.test(r)?this.keyHooks:{}),n=o.props?this.props.concat(o.props):this.props,t=new lt.Event(s),e=n.length;e--;)i=n[e],t[i]=s[i];return t.target||(t.target=s.srcElement||Y),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,o.filter?o.filter(t,s):t},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(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,i){var n,r,s,o=i.button,a=i.fromElement;return null==t.pageX&&null!=i.clientX&&(r=t.target.ownerDocument||Y,s=r.documentElement,n=r.body,t.pageX=i.clientX+(s&&s.scrollLeft||n&&n.scrollLeft||0)-(s&&s.clientLeft||n&&n.clientLeft||0),t.pageY=i.clientY+(s&&s.scrollTop||n&&n.scrollTop||0)-(s&&s.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&a&&(t.relatedTarget=a===t.target?i.toElement:a),t.which||o===e||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},click:{trigger:function(){return lt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0}},focus:{trigger:function(){if(this!==Y.activeElement&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===Y.activeElement&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},beforeunload:{postDispatch:function(t){t.result!==e&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,i,n){var r=lt.extend(new lt.Event,i,{type:t,isSimulated:!0,originalEvent:{}});n?lt.event.trigger(r,null,e):lt.event.dispatch.call(e,r),r.isDefaultPrevented()&&i.preventDefault()}},lt.removeEvent=Y.removeEventListener?function(t,e,i){t.removeEventListener&&t.removeEventListener(e,i,!1)}:function(t,e,i){var n="on"+e;t.detachEvent&&(typeof t[n]===V&&(t[n]=null),t.detachEvent(n,i))},lt.Event=function(t,e){return this instanceof lt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||t.returnValue===!1||t.getPreventDefault&&t.getPreventDefault()?l:u):this.type=t,e&&lt.extend(this,e),this.timeStamp=t&&t.timeStamp||lt.now(),void(this[lt.expando]=!0)):new lt.Event(t,e)},lt.Event.prototype={isDefaultPrevented:u,isPropagationStopped:u,isImmediatePropagationStopped:u,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=l,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=l,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=l,this.stopPropagation()}},lt.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(t,e){lt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var i,n=this,r=t.relatedTarget,s=t.handleObj;return(!r||r!==n&&!lt.contains(n,r))&&(t.type=s.origType,i=s.handler.apply(this,arguments),t.type=e),i}}}),lt.support.submitBubbles||(lt.event.special.submit={setup:function(){return lt.nodeName(this,"form")?!1:void lt.event.add(this,"click._submit keypress._submit",function(t){var i=t.target,n=lt.nodeName(i,"input")||lt.nodeName(i,"button")?i.form:e;n&&!lt._data(n,"submitBubbles")&&(lt.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),lt._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&lt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return lt.nodeName(this,"form")?!1:void lt.event.remove(this,"._submit")}}),lt.support.changeBubbles||(lt.event.special.change={setup:function(){return Mt.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(lt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),lt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),lt.event.simulate("change",this,t,!0)})),!1):void lt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Mt.test(e.nodeName)&&!lt._data(e,"changeBubbles")&&(lt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||lt.event.simulate("change",this.parentNode,t,!0)}),lt._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return lt.event.remove(this,"._change"),!Mt.test(this.nodeName)}}),lt.support.focusinBubbles||lt.each({focus:"focusin",blur:"focusout"},function(t,e){var i=0,n=function(t){lt.event.simulate(e,t.target,lt.event.fix(t),!0)};lt.event.special[e]={setup:function(){0===i++&&Y.addEventListener(t,n,!0)},teardown:function(){0===--i&&Y.removeEventListener(t,n,!0)}}}),lt.fn.extend({on:function(t,i,n,r,s){var o,a;if("object"==typeof t){"string"!=typeof i&&(n=n||i,i=e);for(o in t)this.on(o,i,n,t[o],s);return this}if(null==n&&null==r?(r=i,n=i=e):null==r&&("string"==typeof i?(r=n,n=e):(r=n,n=i,i=e)),r===!1)r=u;else if(!r)return this;return 1===s&&(a=r,r=function(t){return lt().off(t),a.apply(this,arguments)},r.guid=a.guid||(a.guid=lt.guid++)),this.each(function(){lt.event.add(this,t,r,n,i)})},one:function(t,e,i,n){return this.on(t,e,i,n,1)},off:function(t,i,n){var r,s;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,lt(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(s in t)this.off(s,i,t[s]);return this}return(i===!1||"function"==typeof i)&&(n=i,i=e),n===!1&&(n=u),this.each(function(){lt.event.remove(this,t,n,i)})},bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},trigger:function(t,e){return this.each(function(){lt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var i=this[0];return i?lt.event.trigger(t,e,i,!0):void 0}}),function(t,e){function i(t){return dt.test(t+"")}function n(){var t,e=[];return t=function(i,n){return e.push(i+=" ")>C.cacheLength&&delete t[e.shift()],t[i]=n}}function r(t){return t[j]=!0,t}function s(t){var e=D.createElement("div");try{return t(e)}catch(i){return!1}finally{e=null}}function o(t,e,i,n){var r,s,o,a,l,u,h,f,d,m;if((e?e.ownerDocument||e:H)!==D&&E(e),e=e||D,i=i||[],!t||"string"!=typeof t)return i;if(1!==(a=e.nodeType)&&9!==a)return[];if(!O&&!n){if(r=mt.exec(t))if(o=r[1]){if(9===a){if(s=e.getElementById(o),!s||!s.parentNode)return i;if(s.id===o)return i.push(s),i}else if(e.ownerDocument&&(s=e.ownerDocument.getElementById(o))&&L(e,s)&&s.id===o)return i.push(s),i}else{if(r[2])return Z.apply(i,J.call(e.getElementsByTagName(t),0)),i;if((o=r[3])&&B.getByClassName&&e.getElementsByClassName)return Z.apply(i,J.call(e.getElementsByClassName(o),0)),i}if(B.qsa&&!$.test(t)){if(h=!0,f=j,d=e,m=9===a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(u=c(t),(h=e.getAttribute("id"))?f=h.replace(_t,"\\$&"):e.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+p(u[l]);d=ft.test(t)&&e.parentNode||e,m=u.join(",")}if(m)try{return Z.apply(i,J.call(d.querySelectorAll(m),0)),i}catch(g){}finally{h||e.removeAttribute("id")}}}return b(t.replace(ot,"$1"),e,i,n)}function a(t,e){var i=e&&t,n=i&&(~e.sourceIndex||Y)-(~t.sourceIndex||Y);if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function l(t){return function(e){var i=e.nodeName.toLowerCase();return"input"===i&&e.type===t}}function u(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function h(t){return r(function(e){return e=+e,r(function(i,n){for(var r,s=t([],i.length,e),o=s.length;o--;)i[r=s[o]]&&(i[r]=!(n[r]=i[r]))})})}function c(t,e){var i,n,r,s,a,l,u,h=z[t+" "];if(h)return e?0:h.slice(0);for(a=t,l=[],u=C.preFilter;a;){(!i||(n=at.exec(a)))&&(n&&(a=a.slice(n[0].length)||a),l.push(r=[])),i=!1,(n=ut.exec(a))&&(i=n.shift(),r.push({value:i,type:n[0].replace(ot," ")}),a=a.slice(i.length));for(s in C.filter)!(n=pt[s].exec(a))||u[s]&&!(n=u[s](n))||(i=n.shift(),r.push({value:i,type:s,matches:n}),a=a.slice(i.length));if(!i)break}return e?a.length:a?o.error(t):z(t,l).slice(0)}function p(t){for(var e=0,i=t.length,n="";i>e;e++)n+=t[e].value;return n}function f(t,e,i){var n=e.dir,r=i&&"parentNode"===n,s=U++;return e.first?function(e,i,s){for(;e=e[n];)if(1===e.nodeType||r)return t(e,i,s)}:function(e,i,o){var a,l,u,h=q+" "+s;if(o){for(;e=e[n];)if((1===e.nodeType||r)&&t(e,i,o))return!0}else for(;e=e[n];)if(1===e.nodeType||r)if(u=e[j]||(e[j]={}),(l=u[n])&&l[0]===h){if((a=l[1])===!0||a===T)return a===!0}else if(l=u[n]=[h],l[1]=t(e,i,o)||T,l[1]===!0)return!0}}function d(t){return t.length>1?function(e,i,n){for(var r=t.length;r--;)if(!t[r](e,i,n))return!1;return!0}:t[0]}function m(t,e,i,n,r){for(var s,o=[],a=0,l=t.length,u=null!=e;l>a;a++)(s=t[a])&&(!i||i(s,n,r))&&(o.push(s),u&&e.push(a));return o}function g(t,e,i,n,s,o){return n&&!n[j]&&(n=g(n)),s&&!s[j]&&(s=g(s,o)),r(function(r,o,a,l){var u,h,c,p=[],f=[],d=o.length,g=r||y(e||"*",a.nodeType?[a]:a,[]),v=!t||!r&&e?g:m(g,p,t,a,l),_=i?s||(r?t:d||n)?[]:o:v;if(i&&i(v,_,a,l),n)for(u=m(_,f),n(u,[],a,l),h=u.length;h--;)(c=u[h])&&(_[f[h]]=!(v[f[h]]=c));if(r){if(s||t){if(s){for(u=[],h=_.length;h--;)(c=_[h])&&u.push(v[h]=c);s(null,_=[],u,l)}for(h=_.length;h--;)(c=_[h])&&(u=s?K.call(r,c):p[h])>-1&&(r[u]=!(o[u]=c))}}else _=m(_===o?_.splice(d,_.length):_),s?s(null,o,_,l):Z.apply(o,_)})}function v(t){for(var e,i,n,r=t.length,s=C.relative[t[0].type],o=s||C.relative[" "],a=s?1:0,l=f(function(t){return t===e},o,!0),u=f(function(t){return K.call(e,t)>-1},o,!0),h=[function(t,i,n){return!s&&(n||i!==A)||((e=i).nodeType?l(t,i,n):u(t,i,n))}];r>a;a++)if(i=C.relative[t[a].type])h=[f(d(h),i)];else{if(i=C.filter[t[a].type].apply(null,t[a].matches),i[j]){for(n=++a;r>n&&!C.relative[t[n].type];n++);return g(a>1&&d(h),a>1&&p(t.slice(0,a-1)).replace(ot,"$1"),i,n>a&&v(t.slice(a,n)),r>n&&v(t=t.slice(n)),r>n&&p(t))}h.push(i)}return d(h)}function _(t,e){var i=0,n=e.length>0,s=t.length>0,a=function(r,a,l,u,h){var c,p,f,d=[],g=0,v="0",_=r&&[],y=null!=h,b=A,x=r||s&&C.find.TAG("*",h&&a.parentNode||a),w=q+=null==b?1:Math.random()||.1;for(y&&(A=a!==D&&a,T=i);null!=(c=x[v]);v++){if(s&&c){for(p=0;f=t[p++];)if(f(c,a,l)){u.push(c);break}y&&(q=w,T=++i)}n&&((c=!f&&c)&&g--,r&&_.push(c))}if(g+=v,n&&v!==g){for(p=0;f=e[p++];)f(_,d,a,l);if(r){if(g>0)for(;v--;)_[v]||d[v]||(d[v]=G.call(u));d=m(d)}Z.apply(u,d),y&&!r&&d.length>0&&g+e.length>1&&o.uniqueSort(u)}return y&&(q=w,A=b),_};return n?r(a):a}function y(t,e,i){for(var n=0,r=e.length;r>n;n++)o(t,e[n],i);return i}function b(t,e,i,n){var r,s,o,a,l,u=c(t);if(!n&&1===u.length){if(s=u[0]=u[0].slice(0),s.length>2&&"ID"===(o=s[0]).type&&9===e.nodeType&&!O&&C.relative[s[1].type]){if(e=C.find.ID(o.matches[0].replace(bt,xt),e)[0],!e)return i;t=t.slice(s.shift().value.length)}for(r=pt.needsContext.test(t)?0:s.length;r--&&(o=s[r],!C.relative[a=o.type]);)if((l=C.find[a])&&(n=l(o.matches[0].replace(bt,xt),ft.test(s[0].type)&&e.parentNode||e))){if(s.splice(r,1),t=n.length&&p(s),!t)return Z.apply(i,J.call(n,0)),i;break}}return P(t,u)(n,e,O,i,ft.test(t)),i}function x(){}var w,T,C,k,S,P,N,A,E,D,R,O,$,I,M,L,F,j="sizzle"+-new Date,H=t.document,B={},q=0,U=0,X=n(),z=n(),W=n(),V=typeof e,Y=1<<31,Q=[],G=Q.pop,Z=Q.push,J=Q.slice,K=Q.indexOf||function(t){for(var e=0,i=this.length;i>e;e++)if(this[e]===t)return e;return-1},tt="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",it=et.replace("w","w#"),nt="([*^$|!~]?=)",rt="\\["+tt+"*("+et+")"+tt+"*(?:"+nt+tt+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+it+")|)|)"+tt+"*\\]",st=":("+et+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+rt.replace(3,8)+")*)|.*)\\)|)",ot=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g"),at=new RegExp("^"+tt+"*,"+tt+"*"),ut=new RegExp("^"+tt+"*([\\x20\\t\\r\\n\\f>+~])"+tt+"*"),ht=new RegExp(st),ct=new RegExp("^"+it+"$"),pt={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),NAME:new RegExp("^\\[name=['\"]?("+et+")['\"]?\\]"),TAG:new RegExp("^("+et.replace("w","w*")+")"),ATTR:new RegExp("^"+rt),PSEUDO:new RegExp("^"+st),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},ft=/[\x20\t\r\n\f]*[+~]/,dt=/^[^{]+\{\s*\[native code/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/^(?:input|select|textarea|button)$/i,vt=/^h\d$/i,_t=/'|\\/g,yt=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,bt=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,xt=function(t,e){var i="0x"+e-65536;return i!==i?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)};try{J.call(H.documentElement.childNodes,0)[0].nodeType}catch(wt){J=function(t){for(var e,i=[];e=this[t++];)i.push(e);return i}}S=o.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return e?"HTML"!==e.nodeName:!1},E=o.setDocument=function(t){var n=t?t.ownerDocument||t:H;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,R=n.documentElement,O=S(n),B.tagNameNoComments=s(function(t){return t.appendChild(n.createComment("")),!t.getElementsByTagName("*").length}),B.attributes=s(function(t){t.innerHTML="<select></select>";var e=typeof t.lastChild.getAttribute("multiple");return"boolean"!==e&&"string"!==e}),B.getByClassName=s(function(t){return t.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",t.getElementsByClassName&&t.getElementsByClassName("e").length?(t.lastChild.className="e",2===t.getElementsByClassName("e").length):!1}),B.getByName=s(function(t){t.id=j+0,t.innerHTML="<a name='"+j+"'></a><div name='"+j+"'></div>",R.insertBefore(t,R.firstChild);var e=n.getElementsByName&&n.getElementsByName(j).length===2+n.getElementsByName(j+0).length;return B.getIdNotName=!n.getElementById(j),R.removeChild(t),e}),C.attrHandle=s(function(t){return t.innerHTML="<a href='#'></a>",t.firstChild&&typeof t.firstChild.getAttribute!==V&&"#"===t.firstChild.getAttribute("href")})?{}:{href:function(t){return t.getAttribute("href",2)},type:function(t){return t.getAttribute("type")}},B.getIdNotName?(C.find.ID=function(t,e){if(typeof e.getElementById!==V&&!O){var i=e.getElementById(t);return i&&i.parentNode?[i]:[]}},C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}}):(C.find.ID=function(t,i){if(typeof i.getElementById!==V&&!O){var n=i.getElementById(t);return n?n.id===t||typeof n.getAttributeNode!==V&&n.getAttributeNode("id").value===t?[n]:e:[]}},C.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=typeof t.getAttributeNode!==V&&t.getAttributeNode("id");return i&&i.value===e}}),C.find.TAG=B.tagNameNoComments?function(t,e){return typeof e.getElementsByTagName!==V?e.getElementsByTagName(t):void 0}:function(t,e){var i,n=[],r=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[r++];)1===i.nodeType&&n.push(i);return n}return s},C.find.NAME=B.getByName&&function(t,e){return typeof e.getElementsByName!==V?e.getElementsByName(name):void 0},C.find.CLASS=B.getByClassName&&function(t,e){return typeof e.getElementsByClassName===V||O?void 0:e.getElementsByClassName(t)},I=[],$=[":focus"],(B.qsa=i(n.querySelectorAll))&&(s(function(t){t.innerHTML="<select><option selected=''></option></select>",t.querySelectorAll("[selected]").length||$.push("\\["+tt+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),t.querySelectorAll(":checked").length||$.push(":checked")}),s(function(t){t.innerHTML="<input type='hidden' i=''/>",t.querySelectorAll("[i^='']").length&&$.push("[*^$]="+tt+"*(?:\"\"|'')"),t.querySelectorAll(":enabled").length||$.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),$.push(",.*:")})),(B.matchesSelector=i(M=R.matchesSelector||R.mozMatchesSelector||R.webkitMatchesSelector||R.oMatchesSelector||R.msMatchesSelector))&&s(function(t){B.disconnectedMatch=M.call(t,"div"),M.call(t,"[s!='']:x"),I.push("!=",st)}),$=new RegExp($.join("|")),I=new RegExp(I.join("|")),L=i(R.contains)||R.compareDocumentPosition?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},F=R.compareDocumentPosition?function(t,e){var i;return t===e?(N=!0,0):(i=e.compareDocumentPosition&&t.compareDocumentPosition&&t.compareDocumentPosition(e))?1&i||t.parentNode&&11===t.parentNode.nodeType?t===n||L(H,t)?-1:e===n||L(H,e)?1:0:4&i?-1:1:t.compareDocumentPosition?-1:1}:function(t,e){var i,r=0,s=t.parentNode,o=e.parentNode,l=[t],u=[e];if(t===e)return N=!0,0;if(!s||!o)return t===n?-1:e===n?1:s?-1:o?1:0;if(s===o)return a(t,e);for(i=t;i=i.parentNode;)l.unshift(i);for(i=e;i=i.parentNode;)u.unshift(i);for(;l[r]===u[r];)r++;return r?a(l[r],u[r]):l[r]===H?-1:u[r]===H?1:0},N=!1,[0,0].sort(F),B.detectDuplicates=N,D):D},o.matches=function(t,e){return o(t,null,null,e)},o.matchesSelector=function(t,e){if((t.ownerDocument||t)!==D&&E(t),e=e.replace(yt,"='$1']"),!(!B.matchesSelector||O||I&&I.test(e)||$.test(e)))try{var i=M.call(t,e);if(i||B.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(n){}return o(e,D,null,[t]).length>0},o.contains=function(t,e){return(t.ownerDocument||t)!==D&&E(t),L(t,e)},o.attr=function(t,e){var i;return(t.ownerDocument||t)!==D&&E(t),O||(e=e.toLowerCase()),(i=C.attrHandle[e])?i(t):O||B.attributes?t.getAttribute(e):((i=t.getAttributeNode(e))||t.getAttribute(e))&&t[e]===!0?e:i&&i.specified?i.value:null},o.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},o.uniqueSort=function(t){var e,i=[],n=1,r=0;if(N=!B.detectDuplicates,t.sort(F),N){for(;e=t[n];n++)e===t[n-1]&&(r=i.push(n));for(;r--;)t.splice(i[r],1)}return t},k=o.getText=function(t){var e,i="",n=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=k(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[n];n++)i+=k(e);return i},C=o.selectors={cacheLength:50,createPseudo:r,match:pt,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[4]||t[5]||"").replace(bt,xt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||o.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&o.error(t[0]),t},PSEUDO:function(t){var e,i=!t[5]&&t[2];return pt.CHILD.test(t[0])?null:(t[4]?t[2]=t[4]:i&&ht.test(i)&&(e=c(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){return"*"===t?function(){return!0}:(t=t.replace(bt,xt).toLowerCase(),function(e){return e.nodeName&&e.nodeName.toLowerCase()===t})},CLASS:function(t){var e=X[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&X(t,function(t){return e.test(t.className||typeof t.getAttribute!==V&&t.getAttribute("class")||"")})},ATTR:function(t,e,i){return function(n){var r=o.attr(n,t);return null==r?"!="===e:e?(r+="","="===e?r===i:"!="===e?r!==i:"^="===e?i&&0===r.indexOf(i):"*="===e?i&&r.indexOf(i)>-1:"$="===e?i&&r.slice(-i.length)===i:"~="===e?(" "+r+" ").indexOf(i)>-1:"|="===e?r===i||r.slice(0,i.length+1)===i+"-":!1):!0}},CHILD:function(t,e,i,n,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===n&&0===r?function(t){return!!t.parentNode}:function(e,i,l){var u,h,c,p,f,d,m=s!==o?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),_=!l&&!a;if(g){if(s){for(;m;){for(c=e;c=c[m];)if(a?c.nodeName.toLowerCase()===v:1===c.nodeType)return!1;d=m="only"===t&&!d&&"nextSibling"}return!0}if(d=[o?g.firstChild:g.lastChild],o&&_){for(h=g[j]||(g[j]={}),u=h[t]||[],f=u[0]===q&&u[1],p=u[0]===q&&u[2],c=f&&g.childNodes[f];c=++f&&c&&c[m]||(p=f=0)||d.pop();)if(1===c.nodeType&&++p&&c===e){h[t]=[q,f,p];break}}else if(_&&(u=(e[j]||(e[j]={}))[t])&&u[0]===q)p=u[1];else for(;(c=++f&&c&&c[m]||(p=f=0)||d.pop())&&((a?c.nodeName.toLowerCase()!==v:1!==c.nodeType)||!++p||(_&&((c[j]||(c[j]={}))[t]=[q,p]),c!==e)););return p-=r,p===n||p%n===0&&p/n>=0}}},PSEUDO:function(t,e){var i,n=C.pseudos[t]||C.setFilters[t.toLowerCase()]||o.error("unsupported pseudo: "+t);return n[j]?n(e):n.length>1?(i=[t,t,"",e],C.setFilters.hasOwnProperty(t.toLowerCase())?r(function(t,i){for(var r,s=n(t,e),o=s.length;o--;)r=K.call(t,s[o]),t[r]=!(i[r]=s[o])}):function(t){return n(t,0,i)}):n}},pseudos:{not:r(function(t){var e=[],i=[],n=P(t.replace(ot,"$1"));return n[j]?r(function(t,e,i,r){for(var s,o=n(t,null,r,[]),a=t.length;a--;)(s=o[a])&&(t[a]=!(e[a]=s))}):function(t,r,s){return e[0]=t,n(e,null,s,i),!i.pop()}}),has:r(function(t){return function(e){return o(t,e).length>0}}),contains:r(function(t){return function(e){return(e.textContent||e.innerText||k(e)).indexOf(t)>-1}}),lang:r(function(t){return ct.test(t||"")||o.error("unsupported lang: "+t),t=t.replace(bt,xt).toLowerCase(),function(e){var i;do if(i=O?e.getAttribute("xml:lang")||e.getAttribute("lang"):e.lang)return i=i.toLowerCase(),i===t||0===i.indexOf(t+"-");while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var i=t.location&&t.location.hash;return i&&i.slice(1)===e.id},root:function(t){return t===R},focus:function(t){return t===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return t.disabled===!1},disabled:function(t){return t.disabled===!0},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,t.selected===!0},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeName>"@"||3===t.nodeType||4===t.nodeType)return!1;return!0},parent:function(t){return!C.pseudos.empty(t)},header:function(t){return vt.test(t.nodeName)},input:function(t){return gt.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||e.toLowerCase()===t.type)},first:h(function(){return[0]}),last:h(function(t,e){return[e-1]}),eq:h(function(t,e,i){return[0>i?i+e:i]}),even:h(function(t,e){for(var i=0;e>i;i+=2)t.push(i);return t}),odd:h(function(t,e){for(var i=1;e>i;i+=2)t.push(i);return t}),lt:h(function(t,e,i){for(var n=0>i?i+e:i;--n>=0;)t.push(n);return t}),gt:h(function(t,e,i){for(var n=0>i?i+e:i;++n<e;)t.push(n);return t})}};for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[w]=l(w);for(w in{submit:!0,reset:!0})C.pseudos[w]=u(w);P=o.compile=function(t,e){var i,n=[],r=[],s=W[t+" "];if(!s){for(e||(e=c(t)),i=e.length;i--;)s=v(e[i]),s[j]?n.push(s):r.push(s);s=W(t,_(r,n))}return s},C.pseudos.nth=C.pseudos.eq,C.filters=x.prototype=C.pseudos,C.setFilters=new x,E(),o.attr=lt.attr,lt.find=o,lt.expr=o.selectors,lt.expr[":"]=lt.expr.pseudos,lt.unique=o.uniqueSort,lt.text=o.getText,lt.isXMLDoc=o.isXML,lt.contains=o.contains}(t);var Bt=/Until$/,qt=/^(?:parents|prev(?:Until|All))/,Ut=/^.[^:#\[\.,]*$/,Xt=lt.expr.match.needsContext,zt={children:!0,contents:!0,next:!0,prev:!0};lt.fn.extend({find:function(t){var e,i,n,r=this.length;if("string"!=typeof t)return n=this,this.pushStack(lt(t).filter(function(){for(e=0;r>e;e++)if(lt.contains(n[e],this))return!0}));for(i=[],e=0;r>e;e++)lt.find(t,this[e],i);return i=this.pushStack(r>1?lt.unique(i):i),i.selector=(this.selector?this.selector+" ":"")+t,i},has:function(t){var e,i=lt(t,this),n=i.length;return this.filter(function(){for(e=0;n>e;e++)if(lt.contains(this,i[e]))return!0})},not:function(t){return this.pushStack(c(this,t,!1))},filter:function(t){return this.pushStack(c(this,t,!0))},is:function(t){return!!t&&("string"==typeof t?Xt.test(t)?lt(t,this.context).index(this[0])>=0:lt.filter(t,this).length>0:this.filter(t).length>0)},closest:function(t,e){for(var i,n=0,r=this.length,s=[],o=Xt.test(t)||"string"!=typeof t?lt(t,e||this.context):0;r>n;n++)for(i=this[n];i&&i.ownerDocument&&i!==e&&11!==i.nodeType;){if(o?o.index(i)>-1:lt.find.matchesSelector(i,t)){s.push(i);break}i=i.parentNode}return this.pushStack(s.length>1?lt.unique(s):s)},index:function(t){return t?"string"==typeof t?lt.inArray(this[0],lt(t)):lt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){var i="string"==typeof t?lt(t,e):lt.makeArray(t&&t.nodeType?[t]:t),n=lt.merge(this.get(),i);return this.pushStack(lt.unique(n))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),lt.fn.andSelf=lt.fn.addBack,lt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return lt.dir(t,"parentNode")},parentsUntil:function(t,e,i){return lt.dir(t,"parentNode",i)},
next:function(t){return h(t,"nextSibling")},prev:function(t){return h(t,"previousSibling")},nextAll:function(t){return lt.dir(t,"nextSibling")},prevAll:function(t){return lt.dir(t,"previousSibling")},nextUntil:function(t,e,i){return lt.dir(t,"nextSibling",i)},prevUntil:function(t,e,i){return lt.dir(t,"previousSibling",i)},siblings:function(t){return lt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return lt.sibling(t.firstChild)},contents:function(t){return lt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:lt.merge([],t.childNodes)}},function(t,e){lt.fn[t]=function(i,n){var r=lt.map(this,e,i);return Bt.test(t)||(n=i),n&&"string"==typeof n&&(r=lt.filter(n,r)),r=this.length>1&&!zt[t]?lt.unique(r):r,this.length>1&&qt.test(t)&&(r=r.reverse()),this.pushStack(r)}}),lt.extend({filter:function(t,e,i){return i&&(t=":not("+t+")"),1===e.length?lt.find.matchesSelector(e[0],t)?[e[0]]:[]:lt.find.matches(t,e)},dir:function(t,i,n){for(var r=[],s=t[i];s&&9!==s.nodeType&&(n===e||1!==s.nodeType||!lt(s).is(n));)1===s.nodeType&&r.push(s),s=s[i];return r},sibling:function(t,e){for(var i=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&i.push(t);return i}});var Wt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Vt=/ jQuery\d+="(?:null|\d+)"/g,Yt=new RegExp("<(?:"+Wt+")[\\s/>]","i"),Qt=/^\s+/,Gt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Zt=/<([\w:]+)/,Jt=/<tbody/i,Kt=/<|&#?\w+;/,te=/<(?:script|style|link)/i,ee=/^(?:checkbox|radio)$/i,ie=/checked\s*(?:[^=]|=\s*.checked.)/i,ne=/^$|\/(?:java|ecma)script/i,re=/^true\/(.*)/,se=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,oe={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:lt.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},ae=p(Y),le=ae.appendChild(Y.createElement("div"));oe.optgroup=oe.option,oe.tbody=oe.tfoot=oe.colgroup=oe.caption=oe.thead,oe.th=oe.td,lt.fn.extend({text:function(t){return lt.access(this,function(t){return t===e?lt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||Y).createTextNode(t))},null,t,arguments.length)},wrapAll:function(t){if(lt.isFunction(t))return this.each(function(e){lt(this).wrapAll(t.call(this,e))});if(this[0]){var e=lt(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return this.each(lt.isFunction(t)?function(e){lt(this).wrapInner(t.call(this,e))}:function(){var e=lt(this),i=e.contents();i.length?i.wrapAll(t):e.append(t)})},wrap:function(t){var e=lt.isFunction(t);return this.each(function(i){lt(this).wrapAll(e?t.call(this,i):t)})},unwrap:function(){return this.parent().each(function(){lt.nodeName(this,"body")||lt(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(t){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(t)})},prepend:function(){return this.domManip(arguments,!0,function(t){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(t,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,!1,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var i,n=0;null!=(i=this[n]);n++)(!t||lt.filter(t,[i]).length>0)&&(e||1!==i.nodeType||lt.cleanData(y(i)),i.parentNode&&(e&&lt.contains(i.ownerDocument,i)&&g(y(i,"script")),i.parentNode.removeChild(i)));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&lt.cleanData(y(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&lt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null==t?!1:t,e=null==e?t:e,this.map(function(){return lt.clone(this,t,e)})},html:function(t){return lt.access(this,function(t){var i=this[0]||{},n=0,r=this.length;if(t===e)return 1===i.nodeType?i.innerHTML.replace(Vt,""):e;if(!("string"!=typeof t||te.test(t)||!lt.support.htmlSerialize&&Yt.test(t)||!lt.support.leadingWhitespace&&Qt.test(t)||oe[(Zt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Gt,"<$1></$2>");try{for(;r>n;n++)i=this[n]||{},1===i.nodeType&&(lt.cleanData(y(i,!1)),i.innerHTML=t);i=0}catch(s){}}i&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(t){var e=lt.isFunction(t);return e||"string"==typeof t||(t=lt(t).not(this).detach()),this.domManip([t],!0,function(t){var e=this.nextSibling,i=this.parentNode;i&&(lt(this).remove(),i.insertBefore(t,e))})},detach:function(t){return this.remove(t,!0)},domManip:function(t,i,n){t=et.apply([],t);var r,s,o,a,l,u,h=0,c=this.length,p=this,g=c-1,v=t[0],_=lt.isFunction(v);if(_||!(1>=c||"string"!=typeof v||lt.support.checkClone)&&ie.test(v))return this.each(function(r){var s=p.eq(r);_&&(t[0]=v.call(this,r,i?s.html():e)),s.domManip(t,i,n)});if(c&&(u=lt.buildFragment(t,this[0].ownerDocument,!1,this),r=u.firstChild,1===u.childNodes.length&&(u=r),r)){for(i=i&&lt.nodeName(r,"tr"),a=lt.map(y(u,"script"),d),o=a.length;c>h;h++)s=u,h!==g&&(s=lt.clone(s,!0,!0),o&&lt.merge(a,y(s,"script"))),n.call(i&&lt.nodeName(this[h],"table")?f(this[h],"tbody"):this[h],s,h);if(o)for(l=a[a.length-1].ownerDocument,lt.map(a,m),h=0;o>h;h++)s=a[h],ne.test(s.type||"")&&!lt._data(s,"globalEval")&&lt.contains(l,s)&&(s.src?lt.ajax({url:s.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):lt.globalEval((s.text||s.textContent||s.innerHTML||"").replace(se,"")));u=r=null}return this}}),lt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){lt.fn[t]=function(t){for(var i,n=0,r=[],s=lt(t),o=s.length-1;o>=n;n++)i=n===o?this:this.clone(!0),lt(s[n])[e](i),it.apply(r,i.get());return this.pushStack(r)}}),lt.extend({clone:function(t,e,i){var n,r,s,o,a,l=lt.contains(t.ownerDocument,t);if(lt.support.html5Clone||lt.isXMLDoc(t)||!Yt.test("<"+t.nodeName+">")?s=t.cloneNode(!0):(le.innerHTML=t.outerHTML,le.removeChild(s=le.firstChild)),!(lt.support.noCloneEvent&&lt.support.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||lt.isXMLDoc(t)))for(n=y(s),a=y(t),o=0;null!=(r=a[o]);++o)n[o]&&_(r,n[o]);if(e)if(i)for(a=a||y(t),n=n||y(s),o=0;null!=(r=a[o]);o++)v(r,n[o]);else v(t,s);return n=y(s,"script"),n.length>0&&g(n,!l&&y(t,"script")),n=a=r=null,s},buildFragment:function(t,e,i,n){for(var r,s,o,a,l,u,h,c=t.length,f=p(e),d=[],m=0;c>m;m++)if(s=t[m],s||0===s)if("object"===lt.type(s))lt.merge(d,s.nodeType?[s]:s);else if(Kt.test(s)){for(a=a||f.appendChild(e.createElement("div")),l=(Zt.exec(s)||["",""])[1].toLowerCase(),h=oe[l]||oe._default,a.innerHTML=h[1]+s.replace(Gt,"<$1></$2>")+h[2],r=h[0];r--;)a=a.lastChild;if(!lt.support.leadingWhitespace&&Qt.test(s)&&d.push(e.createTextNode(Qt.exec(s)[0])),!lt.support.tbody)for(s="table"!==l||Jt.test(s)?"<table>"!==h[1]||Jt.test(s)?0:a:a.firstChild,r=s&&s.childNodes.length;r--;)lt.nodeName(u=s.childNodes[r],"tbody")&&!u.childNodes.length&&s.removeChild(u);for(lt.merge(d,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=f.lastChild}else d.push(e.createTextNode(s));for(a&&f.removeChild(a),lt.support.appendChecked||lt.grep(y(d,"input"),b),m=0;s=d[m++];)if((!n||-1===lt.inArray(s,n))&&(o=lt.contains(s.ownerDocument,s),a=y(f.appendChild(s),"script"),o&&g(a),i))for(r=0;s=a[r++];)ne.test(s.type||"")&&i.push(s);return a=null,f},cleanData:function(t,e){for(var i,n,r,s,o=0,a=lt.expando,l=lt.cache,u=lt.support.deleteExpando,h=lt.event.special;null!=(i=t[o]);o++)if((e||lt.acceptData(i))&&(r=i[a],s=r&&l[r])){if(s.events)for(n in s.events)h[n]?lt.event.remove(i,n):lt.removeEvent(i,n,s.handle);l[r]&&(delete l[r],u?delete i[a]:typeof i.removeAttribute!==V?i.removeAttribute(a):i[a]=null,K.push(r))}}});var ue,he,ce,pe=/alpha\([^)]*\)/i,fe=/opacity\s*=\s*([^)]*)/,de=/^(top|right|bottom|left)$/,me=/^(none|table(?!-c[ea]).+)/,ge=/^margin/,ve=new RegExp("^("+ut+")(.*)$","i"),_e=new RegExp("^("+ut+")(?!px)[a-z%]+$","i"),ye=new RegExp("^([+-])=("+ut+")","i"),be={BODY:"block"},xe={position:"absolute",visibility:"hidden",display:"block"},we={letterSpacing:0,fontWeight:400},Te=["Top","Right","Bottom","Left"],Ce=["Webkit","O","Moz","ms"];lt.fn.extend({css:function(t,i){return lt.access(this,function(t,i,n){var r,s,o={},a=0;if(lt.isArray(i)){for(s=he(t),r=i.length;r>a;a++)o[i[a]]=lt.css(t,i[a],!1,s);return o}return n!==e?lt.style(t,i,n):lt.css(t,i)},t,i,arguments.length>1)},show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(t){var e="boolean"==typeof t;return this.each(function(){(e?t:w(this))?lt(this).show():lt(this).hide()})}}),lt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=ce(t,"opacity");return""===i?"1":i}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":lt.support.cssFloat?"cssFloat":"styleFloat"},style:function(t,i,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,o,a,l=lt.camelCase(i),u=t.style;if(i=lt.cssProps[l]||(lt.cssProps[l]=x(u,l)),a=lt.cssHooks[i]||lt.cssHooks[l],n===e)return a&&"get"in a&&(s=a.get(t,!1,r))!==e?s:u[i];if(o=typeof n,"string"===o&&(s=ye.exec(n))&&(n=(s[1]+1)*s[2]+parseFloat(lt.css(t,i)),o="number"),!(null==n||"number"===o&&isNaN(n)||("number"!==o||lt.cssNumber[l]||(n+="px"),lt.support.clearCloneStyle||""!==n||0!==i.indexOf("background")||(u[i]="inherit"),a&&"set"in a&&(n=a.set(t,n,r))===e)))try{u[i]=n}catch(h){}}},css:function(t,i,n,r){var s,o,a,l=lt.camelCase(i);return i=lt.cssProps[l]||(lt.cssProps[l]=x(t.style,l)),a=lt.cssHooks[i]||lt.cssHooks[l],a&&"get"in a&&(o=a.get(t,!0,n)),o===e&&(o=ce(t,i,r)),"normal"===o&&i in we&&(o=we[i]),""===n||n?(s=parseFloat(o),n===!0||lt.isNumeric(s)?s||0:o):o},swap:function(t,e,i,n){var r,s,o={};for(s in e)o[s]=t.style[s],t.style[s]=e[s];r=i.apply(t,n||[]);for(s in e)t.style[s]=o[s];return r}}),t.getComputedStyle?(he=function(e){return t.getComputedStyle(e,null)},ce=function(t,i,n){var r,s,o,a=n||he(t),l=a?a.getPropertyValue(i)||a[i]:e,u=t.style;return a&&(""!==l||lt.contains(t.ownerDocument,t)||(l=lt.style(t,i)),_e.test(l)&&ge.test(i)&&(r=u.width,s=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=l,l=a.width,u.width=r,u.minWidth=s,u.maxWidth=o)),l}):Y.documentElement.currentStyle&&(he=function(t){return t.currentStyle},ce=function(t,i,n){var r,s,o,a=n||he(t),l=a?a[i]:e,u=t.style;return null==l&&u&&u[i]&&(l=u[i]),_e.test(l)&&!de.test(i)&&(r=u.left,s=t.runtimeStyle,o=s&&s.left,o&&(s.left=t.currentStyle.left),u.left="fontSize"===i?"1em":l,l=u.pixelLeft+"px",u.left=r,o&&(s.left=o)),""===l?"auto":l}),lt.each(["height","width"],function(t,e){lt.cssHooks[e]={get:function(t,i,n){return i?0===t.offsetWidth&&me.test(lt.css(t,"display"))?lt.swap(t,xe,function(){return S(t,e,n)}):S(t,e,n):void 0},set:function(t,i,n){var r=n&&he(t);return C(t,i,n?k(t,e,n,lt.support.boxSizing&&"border-box"===lt.css(t,"boxSizing",!1,r),r):0)}}}),lt.support.opacity||(lt.cssHooks.opacity={get:function(t,e){return fe.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var i=t.style,n=t.currentStyle,r=lt.isNumeric(e)?"alpha(opacity="+100*e+")":"",s=n&&n.filter||i.filter||"";i.zoom=1,(e>=1||""===e)&&""===lt.trim(s.replace(pe,""))&&i.removeAttribute&&(i.removeAttribute("filter"),""===e||n&&!n.filter)||(i.filter=pe.test(s)?s.replace(pe,r):s+" "+r)}}),lt(function(){lt.support.reliableMarginRight||(lt.cssHooks.marginRight={get:function(t,e){return e?lt.swap(t,{display:"inline-block"},ce,[t,"marginRight"]):void 0}}),!lt.support.pixelPosition&&lt.fn.position&&lt.each(["top","left"],function(t,e){lt.cssHooks[e]={get:function(t,i){return i?(i=ce(t,e),_e.test(i)?lt(t).position()[e]+"px":i):void 0}}})}),lt.expr&&lt.expr.filters&&(lt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!lt.support.reliableHiddenOffsets&&"none"===(t.style&&t.style.display||lt.css(t,"display"))},lt.expr.filters.visible=function(t){return!lt.expr.filters.hidden(t)}),lt.each({margin:"",padding:"",border:"Width"},function(t,e){lt.cssHooks[t+e]={expand:function(i){for(var n=0,r={},s="string"==typeof i?i.split(" "):[i];4>n;n++)r[t+Te[n]+e]=s[n]||s[n-2]||s[0];return r}},ge.test(t)||(lt.cssHooks[t+e].set=C)});var ke=/%20/g,Se=/\[\]$/,Pe=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Ae=/^(?:input|select|textarea|keygen)/i;lt.fn.extend({serialize:function(){return lt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=lt.prop(this,"elements");return t?lt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!lt(this).is(":disabled")&&Ae.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!ee.test(t))}).map(function(t,e){var i=lt(this).val();return null==i?null:lt.isArray(i)?lt.map(i,function(t){return{name:e.name,value:t.replace(Pe,"\r\n")}}):{name:e.name,value:i.replace(Pe,"\r\n")}}).get()}}),lt.param=function(t,i){var n,r=[],s=function(t,e){e=lt.isFunction(e)?e():null==e?"":e,r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(i===e&&(i=lt.ajaxSettings&&lt.ajaxSettings.traditional),lt.isArray(t)||t.jquery&&!lt.isPlainObject(t))lt.each(t,function(){s(this.name,this.value)});else for(n in t)A(n,t[n],i,s);return r.join("&").replace(ke,"+")},lt.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(t,e){lt.fn[e]=function(t,i){return arguments.length>0?this.on(e,null,t,i):this.trigger(e)}}),lt.fn.hover=function(t,e){return this.mouseenter(t).mouseleave(e||t)};var Ee,De,Re=lt.now(),Oe=/\?/,$e=/#.*$/,Ie=/([?&])_=[^&]*/,Me=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Le=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Fe=/^(?:GET|HEAD)$/,je=/^\/\//,He=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Be=lt.fn.load,qe={},Ue={},Xe="*/".concat("*");try{De=Q.href}catch(ze){De=Y.createElement("a"),De.href="",De=De.href}Ee=He.exec(De.toLowerCase())||[],lt.fn.load=function(t,i,n){if("string"!=typeof t&&Be)return Be.apply(this,arguments);var r,s,o,a=this,l=t.indexOf(" ");return l>=0&&(r=t.slice(l,t.length),t=t.slice(0,l)),lt.isFunction(i)?(n=i,i=e):i&&"object"==typeof i&&(o="POST"),a.length>0&&lt.ajax({url:t,type:o,dataType:"html",data:i}).done(function(t){s=arguments,a.html(r?lt("<div>").append(lt.parseHTML(t)).find(r):t)}).complete(n&&function(t,e){a.each(n,s||[t.responseText,e,t])}),this},lt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){lt.fn[e]=function(t){return this.on(e,t)}}),lt.each(["get","post"],function(t,i){lt[i]=function(t,n,r,s){return lt.isFunction(n)&&(s=s||r,r=n,n=e),lt.ajax({url:t,type:i,dataType:s,data:n,success:r})}}),lt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:De,type:"GET",isLocal:Le.test(Ee[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xe,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"},converters:{"* text":t.String,"text html":!0,"text json":lt.parseJSON,"text xml":lt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?R(R(t,lt.ajaxSettings),e):R(lt.ajaxSettings,t)},ajaxPrefilter:E(qe),ajaxTransport:E(Ue),ajax:function(t,i){function n(t,i,n,r){var s,c,_,y,x,T=i;2!==b&&(b=2,l&&clearTimeout(l),h=e,a=r||"",w.readyState=t>0?4:0,n&&(y=O(p,w,n)),t>=200&&300>t||304===t?(p.ifModified&&(x=w.getResponseHeader("Last-Modified"),x&&(lt.lastModified[o]=x),x=w.getResponseHeader("etag"),x&&(lt.etag[o]=x)),204===t?(s=!0,T="nocontent"):304===t?(s=!0,T="notmodified"):(s=$(p,y),T=s.state,c=s.data,_=s.error,s=!_)):(_=T,(t||!T)&&(T="error",0>t&&(t=0))),w.status=t,w.statusText=(i||T)+"",s?m.resolveWith(f,[c,T,w]):m.rejectWith(f,[w,T,_]),w.statusCode(v),v=e,u&&d.trigger(s?"ajaxSuccess":"ajaxError",[w,p,s?c:_]),g.fireWith(f,[w,T]),u&&(d.trigger("ajaxComplete",[w,p]),--lt.active||lt.event.trigger("ajaxStop")))}"object"==typeof t&&(i=t,t=e),i=i||{};var r,s,o,a,l,u,h,c,p=lt.ajaxSetup({},i),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?lt(f):lt.event,m=lt.Deferred(),g=lt.Callbacks("once memory"),v=p.statusCode||{},_={},y={},b=0,x="canceled",w={readyState:0,getResponseHeader:function(t){var e;if(2===b){if(!c)for(c={};e=Me.exec(a);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===b?a:null},setRequestHeader:function(t,e){var i=t.toLowerCase();return b||(t=y[i]=y[i]||t,_[t]=e),this},overrideMimeType:function(t){return b||(p.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>b)for(e in t)v[e]=[v[e],t[e]];else w.always(t[w.status]);return this},abort:function(t){var e=t||x;return h&&h.abort(e),n(0,e),this}};if(m.promise(w).complete=g.add,w.success=w.done,w.error=w.fail,p.url=((t||p.url||De)+"").replace($e,"").replace(je,Ee[1]+"//"),p.type=i.method||i.type||p.method||p.type,p.dataTypes=lt.trim(p.dataType||"*").toLowerCase().match(ht)||[""],null==p.crossDomain&&(r=He.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===Ee[1]&&r[2]===Ee[2]&&(r[3]||("http:"===r[1]?80:443))==(Ee[3]||("http:"===Ee[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=lt.param(p.data,p.traditional)),D(qe,p,i,w),2===b)return w;u=p.global,u&&0===lt.active++&&lt.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Fe.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(Oe.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=Ie.test(o)?o.replace(Ie,"$1_="+Re++):o+(Oe.test(o)?"&":"?")+"_="+Re++)),p.ifModified&&(lt.lastModified[o]&&w.setRequestHeader("If-Modified-Since",lt.lastModified[o]),lt.etag[o]&&w.setRequestHeader("If-None-Match",lt.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||i.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Xe+"; q=0.01":""):p.accepts["*"]);for(s in p.headers)w.setRequestHeader(s,p.headers[s]);if(p.beforeSend&&(p.beforeSend.call(f,w,p)===!1||2===b))return w.abort();x="abort";for(s in{success:1,error:1,complete:1})w[s](p[s]);if(h=D(Ue,p,i,w)){w.readyState=1,u&&d.trigger("ajaxSend",[w,p]),p.async&&p.timeout>0&&(l=setTimeout(function(){w.abort("timeout")},p.timeout));try{b=1,h.send(_,n)}catch(T){if(!(2>b))throw T;n(-1,T)}}else n(-1,"No Transport");return w},getScript:function(t,i){return lt.get(t,e,i,"script")},getJSON:function(t,e,i){return lt.get(t,e,i,"json")}}),lt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return lt.globalEval(t),t}}}),lt.ajaxPrefilter("script",function(t){t.cache===e&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),lt.ajaxTransport("script",function(t){if(t.crossDomain){var i,n=Y.head||lt("head")[0]||Y.documentElement;return{send:function(e,r){i=Y.createElement("script"),i.async=!0,t.scriptCharset&&(i.charset=t.scriptCharset),i.src=t.url,i.onload=i.onreadystatechange=function(t,e){(e||!i.readyState||/loaded|complete/.test(i.readyState))&&(i.onload=i.onreadystatechange=null,i.parentNode&&i.parentNode.removeChild(i),i=null,e||r(200,"success"))},n.insertBefore(i,n.firstChild)},abort:function(){i&&i.onload(e,!0)}}}});var We=[],Ve=/(=)\?(?=&|$)|\?\?/;lt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=We.pop()||lt.expando+"_"+Re++;return this[t]=!0,t}}),lt.ajaxPrefilter("json jsonp",function(i,n,r){var s,o,a,l=i.jsonp!==!1&&(Ve.test(i.url)?"url":"string"==typeof i.data&&!(i.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ve.test(i.data)&&"data");return l||"jsonp"===i.dataTypes[0]?(s=i.jsonpCallback=lt.isFunction(i.jsonpCallback)?i.jsonpCallback():i.jsonpCallback,l?i[l]=i[l].replace(Ve,"$1"+s):i.jsonp!==!1&&(i.url+=(Oe.test(i.url)?"&":"?")+i.jsonp+"="+s),i.converters["script json"]=function(){return a||lt.error(s+" was not called"),a[0]},i.dataTypes[0]="json",o=t[s],t[s]=function(){a=arguments},r.always(function(){t[s]=o,i[s]&&(i.jsonpCallback=n.jsonpCallback,We.push(s)),a&&lt.isFunction(o)&&o(a[0]),a=o=e}),"script"):void 0});var Ye,Qe,Ge=0,Ze=t.ActiveXObject&&function(){var t;for(t in Ye)Ye[t](e,!0)};lt.ajaxSettings.xhr=t.ActiveXObject?function(){return!this.isLocal&&I()||M()}:I,Qe=lt.ajaxSettings.xhr(),lt.support.cors=!!Qe&&"withCredentials"in Qe,Qe=lt.support.ajax=!!Qe,Qe&&lt.ajaxTransport(function(i){if(!i.crossDomain||lt.support.cors){var n;return{send:function(r,s){var o,a,l=i.xhr();if(i.username?l.open(i.type,i.url,i.async,i.username,i.password):l.open(i.type,i.url,i.async),i.xhrFields)for(a in i.xhrFields)l[a]=i.xhrFields[a];i.mimeType&&l.overrideMimeType&&l.overrideMimeType(i.mimeType),i.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");try{for(a in r)l.setRequestHeader(a,r[a])}catch(u){}l.send(i.hasContent&&i.data||null),n=function(t,r){var a,u,h,c;try{if(n&&(r||4===l.readyState))if(n=e,o&&(l.onreadystatechange=lt.noop,Ze&&delete Ye[o]),r)4!==l.readyState&&l.abort();else{c={},a=l.status,u=l.getAllResponseHeaders(),"string"==typeof l.responseText&&(c.text=l.responseText);try{h=l.statusText}catch(p){h=""}a||!i.isLocal||i.crossDomain?1223===a&&(a=204):a=c.text?200:404}}catch(f){r||s(-1,f)}c&&s(a,h,c,u)},i.async?4===l.readyState?setTimeout(n):(o=++Ge,Ze&&(Ye||(Ye={},lt(t).unload(Ze)),Ye[o]=n),l.onreadystatechange=n):n()},abort:function(){n&&n(e,!0)}}}});var Je,Ke,ti=/^(?:toggle|show|hide)$/,ei=new RegExp("^(?:([+-])=|)("+ut+")([a-z%]*)$","i"),ii=/queueHooks$/,ni=[B],ri={"*":[function(t,e){var i,n,r=this.createTween(t,e),s=ei.exec(e),o=r.cur(),a=+o||0,l=1,u=20;if(s){if(i=+s[2],n=s[3]||(lt.cssNumber[t]?"":"px"),"px"!==n&&a){a=lt.css(r.elem,t,!0)||i||1;do l=l||".5",a/=l,lt.style(r.elem,t,a+n);while(l!==(l=r.cur()/o)&&1!==l&&--u)}r.unit=n,r.start=a,r.end=s[1]?a+(s[1]+1)*i:i}return r}]};lt.Animation=lt.extend(j,{tweener:function(t,e){lt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var i,n=0,r=t.length;r>n;n++)i=t[n],ri[i]=ri[i]||[],ri[i].unshift(e)},prefilter:function(t,e){e?ni.unshift(t):ni.push(t)}}),lt.Tween=q,q.prototype={constructor:q,init:function(t,e,i,n,r,s){this.elem=t,this.prop=i,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=s||(lt.cssNumber[i]?"":"px")},cur:function(){var t=q.propHooks[this.prop];return t&&t.get?t.get(this):q.propHooks._default.get(this)},run:function(t){var e,i=q.propHooks[this.prop];return this.pos=e=this.options.duration?lt.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),i&&i.set?i.set(this):q.propHooks._default.set(this),this}},q.prototype.init.prototype=q.prototype,q.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=lt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){lt.fx.step[t.prop]?lt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[lt.cssProps[t.prop]]||lt.cssHooks[t.prop])?lt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},q.propHooks.scrollTop=q.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},lt.each(["toggle","show","hide"],function(t,e){var i=lt.fn[e];lt.fn[e]=function(t,n,r){return null==t||"boolean"==typeof t?i.apply(this,arguments):this.animate(U(e,!0),t,n,r)}}),lt.fn.extend({fadeTo:function(t,e,i,n){return this.filter(w).css("opacity",0).show().end().animate({opacity:e},t,i,n)},animate:function(t,e,i,n){var r=lt.isEmptyObject(t),s=lt.speed(e,i,n),o=function(){var e=j(this,lt.extend({},t),s);o.finish=function(){e.stop(!0)},(r||lt._data(this,"finish"))&&e.stop(!0)};return o.finish=o,r||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(t,i,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=i,i=t,t=e),i&&t!==!1&&this.queue(t||"fx",[]),this.each(function(){var e=!0,i=null!=t&&t+"queueHooks",s=lt.timers,o=lt._data(this);if(i)o[i]&&o[i].stop&&r(o[i]);else for(i in o)o[i]&&o[i].stop&&ii.test(i)&&r(o[i]);for(i=s.length;i--;)s[i].elem!==this||null!=t&&s[i].queue!==t||(s[i].anim.stop(n),e=!1,s.splice(i,1));(e||!n)&&lt.dequeue(this,t)})},finish:function(t){return t!==!1&&(t=t||"fx"),this.each(function(){var e,i=lt._data(this),n=i[t+"queue"],r=i[t+"queueHooks"],s=lt.timers,o=n?n.length:0;for(i.finish=!0,lt.queue(this,t,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),e=s.length;e--;)s[e].elem===this&&s[e].queue===t&&(s[e].anim.stop(!0),s.splice(e,1));for(e=0;o>e;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete i.finish})}}),lt.each({slideDown:U("show"),slideUp:U("hide"),slideToggle:U("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){lt.fn[t]=function(t,i,n){return this.animate(e,t,i,n)}}),lt.speed=function(t,e,i){var n=t&&"object"==typeof t?lt.extend({},t):{complete:i||!i&&e||lt.isFunction(t)&&t,duration:t,easing:i&&e||e&&!lt.isFunction(e)&&e};return n.duration=lt.fx.off?0:"number"==typeof n.duration?n.duration:n.duration in lt.fx.speeds?lt.fx.speeds[n.duration]:lt.fx.speeds._default,(null==n.queue||n.queue===!0)&&(n.queue="fx"),n.old=n.complete,n.complete=function(){lt.isFunction(n.old)&&n.old.call(this),n.queue&&lt.dequeue(this,n.queue)},n},lt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},lt.timers=[],lt.fx=q.prototype.init,lt.fx.tick=function(){var t,i=lt.timers,n=0;for(Je=lt.now();n<i.length;n++)t=i[n],t()||i[n]!==t||i.splice(n--,1);i.length||lt.fx.stop(),Je=e},lt.fx.timer=function(t){t()&&lt.timers.push(t)&&lt.fx.start()},lt.fx.interval=13,lt.fx.start=function(){Ke||(Ke=setInterval(lt.fx.tick,lt.fx.interval))},lt.fx.stop=function(){clearInterval(Ke),Ke=null},lt.fx.speeds={slow:600,fast:200,_default:400},lt.fx.step={},lt.expr&&lt.expr.filters&&(lt.expr.filters.animated=function(t){return lt.grep(lt.timers,function(e){return t===e.elem}).length}),lt.fn.offset=function(t){if(arguments.length)return t===e?this:this.each(function(e){lt.offset.setOffset(this,t,e)});var i,n,r={top:0,left:0},s=this[0],o=s&&s.ownerDocument;if(o)return i=o.documentElement,lt.contains(i,s)?(typeof s.getBoundingClientRect!==V&&(r=s.getBoundingClientRect()),n=X(o),{top:r.top+(n.pageYOffset||i.scrollTop)-(i.clientTop||0),left:r.left+(n.pageXOffset||i.scrollLeft)-(i.clientLeft||0)}):r},lt.offset={setOffset:function(t,e,i){var n=lt.css(t,"position");"static"===n&&(t.style.position="relative");var r,s,o=lt(t),a=o.offset(),l=lt.css(t,"top"),u=lt.css(t,"left"),h=("absolute"===n||"fixed"===n)&&lt.inArray("auto",[l,u])>-1,c={},p={};h?(p=o.position(),r=p.top,s=p.left):(r=parseFloat(l)||0,s=parseFloat(u)||0),lt.isFunction(e)&&(e=e.call(t,i,a)),null!=e.top&&(c.top=e.top-a.top+r),null!=e.left&&(c.left=e.left-a.left+s),"using"in e?e.using.call(t,c):o.css(c)}},lt.fn.extend({position:function(){if(this[0]){var t,e,i={top:0,left:0},n=this[0];return"fixed"===lt.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),lt.nodeName(t[0],"html")||(i=t.offset()),i.top+=lt.css(t[0],"borderTopWidth",!0),i.left+=lt.css(t[0],"borderLeftWidth",!0)),{top:e.top-i.top-lt.css(n,"marginTop",!0),left:e.left-i.left-lt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Y.documentElement;t&&!lt.nodeName(t,"html")&&"static"===lt.css(t,"position");)t=t.offsetParent;return t||Y.documentElement})}}),lt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var n=/Y/.test(i);lt.fn[t]=function(r){return lt.access(this,function(t,r,s){var o=X(t);return s===e?o?i in o?o[i]:o.document.documentElement[r]:t[r]:void(o?o.scrollTo(n?lt(o).scrollLeft():s,n?s:lt(o).scrollTop()):t[r]=s)},t,r,arguments.length,null)}}),lt.each({Height:"height",Width:"width"},function(t,i){lt.each({padding:"inner"+t,content:i,"":"outer"+t},function(n,r){lt.fn[r]=function(r,s){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||s===!0?"margin":"border");return lt.access(this,function(i,n,r){var s;return lt.isWindow(i)?i.document.documentElement["client"+t]:9===i.nodeType?(s=i.documentElement,Math.max(i.body["scroll"+t],s["scroll"+t],i.body["offset"+t],s["offset"+t],s["client"+t])):r===e?lt.css(i,n,a):lt.style(i,n,r,a)},i,o?r:e,o,null)}})}),t.jQuery=t.$=lt,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return lt})}(window),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,n=this;t(this).one("bsTransitionEnd",function(){i=!0});var r=function(){i||t(n).trigger(t.support.transition.end)};return setTimeout(r,e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){return t(e.target).is(this)?e.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var i=t(this),r=i.data("bs.alert");r||i.data("bs.alert",r=new n(this)),"string"==typeof e&&r[e].call(i)})}var i='[data-dismiss="alert"]',n=function(e){t(e).on("click",i,this.close)};n.VERSION="3.3.4",n.TRANSITION_DURATION=150,n.prototype.close=function(e){function i(){o.detach().trigger("closed.bs.alert").remove()}var r=t(this),s=r.attr("data-target");s||(s=r.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var o=t(s);e&&e.preventDefault(),o.length||(o=r.closest(".alert")),o.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",i).emulateTransitionEnd(n.TRANSITION_DURATION):i())};var r=t.fn.alert;t.fn.alert=e,t.fn.alert.Constructor=n,t.fn.alert.noConflict=function(){return t.fn.alert=r,this},t(document).on("click.bs.alert.data-api",i,n.prototype.close)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.button"),s="object"==typeof e&&e;r||n.data("bs.button",r=new i(this,s)),"toggle"==e?r.toggle():e&&r.setState(e)})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.isLoading=!1};i.VERSION="3.3.4",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",n=this.$element,r=n.is("input")?"val":"html",s=n.data();e+="Text",null==s.resetText&&n.data("resetText",n[r]()),setTimeout(t.proxy(function(){n[r](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i))},this),0);
},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")&&(i.prop("checked")&&this.$element.hasClass("active")?t=!1:e.find(".active").removeClass("active")),t&&i.prop("checked",!this.$element.hasClass("active")).trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active"));t&&this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var n=t(i.target);n.hasClass("btn")||(n=n.closest(".btn")),e.call(n,"toggle"),i.preventDefault()}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.carousel"),s=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e),o="string"==typeof e?e:s.slide;r||n.data("bs.carousel",r=new i(this,s)),"number"==typeof e?r.to(e):o?r[o]():s.interval&&r.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.4",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),n="prev"==t&&0===i||"next"==t&&i==this.$items.length-1;if(n&&!this.options.wrap)return e;var r="prev"==t?-1:1,s=(i+r)%this.$items.length;return this.$items.eq(s)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));return t>this.$items.length-1||0>t?void 0:this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){return this.sliding?void 0:this.slide("next")},i.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},i.prototype.slide=function(e,n){var r=this.$element.find(".item.active"),s=n||this.getItemForDirection(e,r),o=this.interval,a="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var u=s[0],h=t.Event("slide.bs.carousel",{relatedTarget:u,direction:a});if(this.$element.trigger(h),!h.isDefaultPrevented()){if(this.sliding=!0,o&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var c=t(this.$indicators.children()[this.getItemIndex(s)]);c&&c.addClass("active")}var p=t.Event("slid.bs.carousel",{relatedTarget:u,direction:a});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,r.addClass(a),s.addClass(a),r.one("bsTransitionEnd",function(){s.removeClass([e,a].join(" ")).addClass("active"),r.removeClass(["active",a].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(p)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(r.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(p)),o&&this.cycle(),this}};var n=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=n,this};var r=function(i){var n,r=t(this),s=t(r.attr("data-target")||(n=r.attr("href"))&&n.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var o=t.extend({},s.data(),r.data()),a=r.attr("data-slide-to");a&&(o.interval=!1),e.call(s,o),a&&s.data("bs.carousel").to(a),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",r).on("click.bs.carousel.data-api","[data-slide-to]",r),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})}(jQuery),+function(t){"use strict";function e(e){var i,n=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(n)}function i(e){return this.each(function(){var i=t(this),r=i.data("bs.collapse"),s=t.extend({},n.DEFAULTS,i.data(),"object"==typeof e&&e);!r&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),r||i.data("bs.collapse",r=new n(this,s)),"string"==typeof e&&r[e]()})}var n=function(e,i){this.$element=t(e),this.options=t.extend({},n.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};n.VERSION="3.3.4",n.TRANSITION_DURATION=350,n.DEFAULTS={toggle:!0},n.prototype.dimension=function(){var t=this.$element.hasClass("width");return t?"width":"height"},n.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,r=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(r&&r.length&&(e=r.data("bs.collapse"),e&&e.transitioning))){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){r&&r.length&&(i.call(r,"hide"),e||r.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var a=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return a.call(this);var l=t.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",t.proxy(a,this)).emulateTransitionEnd(n.TRANSITION_DURATION)[o](this.$element[0][l])}}}},n.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var r=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(n.TRANSITION_DURATION):r.call(this)}}},n.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},n.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,n){var r=t(n);this.addAriaAndCollapsedClass(e(r),r)},this)).end()},n.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var r=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=n,t.fn.collapse.noConflict=function(){return t.fn.collapse=r,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(n){var r=t(this);r.attr("data-target")||n.preventDefault();var s=e(r),o=s.data("bs.collapse"),a=o?"toggle":r.data();i.call(s,a)})}(jQuery),+function(t){"use strict";function e(e){e&&3===e.which||(t(r).remove(),t(s).each(function(){var n=t(this),r=i(n),s={relatedTarget:this};r.hasClass("open")&&(r.trigger(e=t.Event("hide.bs.dropdown",s)),e.isDefaultPrevented()||(n.attr("aria-expanded","false"),r.removeClass("open").trigger("hidden.bs.dropdown",s)))}))}function i(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var n=i&&t(i);return n&&n.length?n:e.parent()}function n(e){return this.each(function(){var i=t(this),n=i.data("bs.dropdown");n||i.data("bs.dropdown",n=new o(this)),"string"==typeof e&&n[e].call(i)})}var r=".dropdown-backdrop",s='[data-toggle="dropdown"]',o=function(e){t(e).on("click.bs.dropdown",this.toggle)};o.VERSION="3.3.4",o.prototype.toggle=function(n){var r=t(this);if(!r.is(".disabled, :disabled")){var s=i(r),o=s.hasClass("open");if(e(),!o){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t('<div class="dropdown-backdrop"/>').insertAfter(t(this)).on("click",e);var a={relatedTarget:this};if(s.trigger(n=t.Event("show.bs.dropdown",a)),n.isDefaultPrevented())return;r.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger("shown.bs.dropdown",a)}return!1}},o.prototype.keydown=function(e){if(/(38|40|27|32)/.test(e.which)&&!/input|textarea/i.test(e.target.tagName)){var n=t(this);if(e.preventDefault(),e.stopPropagation(),!n.is(".disabled, :disabled")){var r=i(n),o=r.hasClass("open");if(!o&&27!=e.which||o&&27==e.which)return 27==e.which&&r.find(s).trigger("focus"),n.trigger("click");var a=" li:not(.disabled):visible a",l=r.find('[role="menu"]'+a+', [role="listbox"]'+a);if(l.length){var u=l.index(e.target);38==e.which&&u>0&&u--,40==e.which&&u<l.length-1&&u++,~u||(u=0),l.eq(u).trigger("focus")}}}};var a=t.fn.dropdown;t.fn.dropdown=n,t.fn.dropdown.Constructor=o,t.fn.dropdown.noConflict=function(){return t.fn.dropdown=a,this},t(document).on("click.bs.dropdown.data-api",e).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",s,o.prototype.toggle).on("keydown.bs.dropdown.data-api",s,o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="menu"]',o.prototype.keydown).on("keydown.bs.dropdown.data-api",'[role="listbox"]',o.prototype.keydown)}(jQuery),+function(t){"use strict";function e(e,n){return this.each(function(){var r=t(this),s=r.data("bs.modal"),o=t.extend({},i.DEFAULTS,r.data(),"object"==typeof e&&e);s||r.data("bs.modal",s=new i(this,o)),"string"==typeof e?s[e](n):o.show&&s.show(n)})}var i=function(e,i){this.options=i,this.$body=t(document.body),this.$element=t(e),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,t.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};i.VERSION="3.3.4",i.TRANSITION_DURATION=300,i.BACKDROP_TRANSITION_DURATION=150,i.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},i.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},i.prototype.show=function(e){var n=this,r=t.Event("show.bs.modal",{relatedTarget:e});this.$element.trigger(r),this.isShown||r.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',t.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){n.$element.one("mouseup.dismiss.bs.modal",function(e){t(e.target).is(n.$element)&&(n.ignoreBackdropClick=!0)})}),this.backdrop(function(){var r=t.support.transition&&n.$element.hasClass("fade");n.$element.parent().length||n.$element.appendTo(n.$body),n.$element.show().scrollTop(0),n.adjustDialog(),r&&n.$element[0].offsetWidth,n.$element.addClass("in").attr("aria-hidden",!1),n.enforceFocus();var s=t.Event("shown.bs.modal",{relatedTarget:e});r?n.$dialog.one("bsTransitionEnd",function(){n.$element.trigger("focus").trigger(s)}).emulateTransitionEnd(i.TRANSITION_DURATION):n.$element.trigger("focus").trigger(s)}))},i.prototype.hide=function(e){e&&e.preventDefault(),e=t.Event("hide.bs.modal"),this.$element.trigger(e),this.isShown&&!e.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),t(document).off("focusin.bs.modal"),this.$element.removeClass("in").attr("aria-hidden",!0).off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),t.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",t.proxy(this.hideModal,this)).emulateTransitionEnd(i.TRANSITION_DURATION):this.hideModal())},i.prototype.enforceFocus=function(){t(document).off("focusin.bs.modal").on("focusin.bs.modal",t.proxy(function(t){this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},i.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",t.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},i.prototype.resize=function(){this.isShown?t(window).on("resize.bs.modal",t.proxy(this.handleUpdate,this)):t(window).off("resize.bs.modal")},i.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},i.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},i.prototype.backdrop=function(e){var n=this,r=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var s=t.support.transition&&r;if(this.$backdrop=t('<div class="modal-backdrop '+r+'" />').appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",t.proxy(function(t){return this.ignoreBackdropClick?void(this.ignoreBackdropClick=!1):void(t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide()))},this)),s&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!e)return;s?this.$backdrop.one("bsTransitionEnd",e).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):e()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var o=function(){n.removeBackdrop(),e&&e()};t.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",o).emulateTransitionEnd(i.BACKDROP_TRANSITION_DURATION):o()}else e&&e()},i.prototype.handleUpdate=function(){this.adjustDialog()},i.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},i.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"",this.bodyIsOverflowing&&this.$body.css("padding-right",t+this.scrollbarWidth)},i.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad)},i.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var n=t.fn.modal;t.fn.modal=e,t.fn.modal.Constructor=i,t.fn.modal.noConflict=function(){return t.fn.modal=n,this},t(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(i){var n=t(this),r=n.attr("href"),s=t(n.attr("data-target")||r&&r.replace(/.*(?=#[^\s]+$)/,"")),o=s.data("bs.modal")?"toggle":t.extend({remote:!/#/.test(r)&&r},s.data(),n.data());n.is("a")&&i.preventDefault(),s.one("show.bs.modal",function(t){t.isDefaultPrevented()||s.one("hidden.bs.modal",function(){n.is(":visible")&&n.trigger("focus")})}),e.call(s,o,this)})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.tooltip"),s="object"==typeof e&&e;(r||!/destroy|hide/.test(e))&&(r||n.data("bs.tooltip",r=new i(this,s)),"string"==typeof e&&r[e]())})}var i=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.init("tooltip",t,e)};i.VERSION="3.3.4",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,n){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(n),this.$viewport=this.options.viewport&&t(this.options.viewport.selector||this.options.viewport),this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var r=this.options.trigger.split(" "),s=r.length;s--;){var o=r[s];if("click"==o)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=o){var a="hover"==o?"mouseenter":"focusin",l="hover"==o?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,n){i[t]!=n&&(e[t]=n)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i&&i.$tip&&i.$tip.is(":visible")?void(i.hoverState="in"):(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var n=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!n)return;var r=this,s=this.tip(),o=this.getUID(this.type);this.setContent(),s.attr("id",o),this.$element.attr("aria-describedby",o),this.options.animation&&s.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,u=l.test(a);u&&(a=a.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element);var h=this.getPosition(),c=s[0].offsetWidth,p=s[0].offsetHeight;if(u){var f=a,d=this.options.container?t(this.options.container):this.$element.parent(),m=this.getPosition(d);a="bottom"==a&&h.bottom+p>m.bottom?"top":"top"==a&&h.top-p<m.top?"bottom":"right"==a&&h.right+c>m.width?"left":"left"==a&&h.left-c<m.left?"right":a,s.removeClass(f).addClass(a)}var g=this.getCalculatedOffset(a,h,c,p);this.applyPlacement(g,a);var v=function(){var t=r.hoverState;r.$element.trigger("shown.bs."+r.type),r.hoverState=null,"out"==t&&r.leave(r)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",v).emulateTransitionEnd(i.TRANSITION_DURATION):v()}},i.prototype.applyPlacement=function(e,i){var n=this.tip(),r=n[0].offsetWidth,s=n[0].offsetHeight,o=parseInt(n.css("margin-top"),10),a=parseInt(n.css("margin-left"),10);isNaN(o)&&(o=0),isNaN(a)&&(a=0),e.top=e.top+o,e.left=e.left+a,t.offset.setOffset(n[0],t.extend({using:function(t){n.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),n.addClass("in");var l=n[0].offsetWidth,u=n[0].offsetHeight;"top"==i&&u!=s&&(e.top=e.top+s-u);var h=this.getViewportAdjustedDelta(i,e,l,u);h.left?e.left+=h.left:e.top+=h.top;var c=/top|bottom/.test(i),p=c?2*h.left-r+l:2*h.top-s+u,f=c?"offsetWidth":"offsetHeight";n.offset(e),this.replaceArrow(p,n[0][f],c)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},i.prototype.hide=function(e){function n(){"in"!=r.hoverState&&s.detach(),r.$element.removeAttr("aria-describedby").trigger("hidden.bs."+r.type),e&&e()}var r=this,s=t(this.$tip),o=t.Event("hide.bs."+this.type);return this.$element.trigger(o),o.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",n).emulateTransitionEnd(i.TRANSITION_DURATION):n(),this.hoverState=null,this)},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(e){e=e||this.$element;var i=e[0],n="BODY"==i.tagName,r=i.getBoundingClientRect();null==r.width&&(r=t.extend({},r,{width:r.right-r.left,height:r.bottom-r.top}));var s=n?{top:0,left:0}:e.offset(),o={scroll:n?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=n?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},r,o,a,s)},i.prototype.getCalculatedOffset=function(t,e,i,n){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-n,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-n/2,left:e.left-i}:{top:e.top+e.height/2-n/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,n){var r={top:0,left:0};if(!this.$viewport)return r;var s=this.options.viewport&&this.options.viewport.padding||0,o=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-o.scroll,l=e.top+s-o.scroll+n;a<o.top?r.top=o.top-a:l>o.top+o.height&&(r.top=o.top+o.height-l)}else{var u=e.left-s,h=e.left+s+i;u<o.left?r.left=o.left-u:h>o.width&&(r.left=o.left+o.width-h)}return r},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){return this.$tip=this.$tip||t(this.options.template)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type)})};var n=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=n,this}}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.popover"),s="object"==typeof e&&e;(r||!/destroy|hide/.test(e))&&(r||n.data("bs.popover",r=new i(this,s)),"string"==typeof e&&r[e]())})}var i=function(t,e){this.init("popover",t,e)};if(!t.fn.tooltip)throw new Error("Popover requires tooltip.js");i.VERSION="3.3.4",i.DEFAULTS=t.extend({},t.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),i.prototype=t.extend({},t.fn.tooltip.Constructor.prototype),i.prototype.constructor=i,i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();t.find(".popover-title")[this.options.html?"html":"text"](e),t.find(".popover-content").children().detach().end()[this.options.html?"string"==typeof i?"html":"append":"text"](i),t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},i.prototype.hasContent=function(){return this.getTitle()||this.getContent()},i.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var n=t.fn.popover;t.fn.popover=e,t.fn.popover.Constructor=i,t.fn.popover.noConflict=function(){return t.fn.popover=n,this}}(jQuery),+function(t){"use strict";function e(i,n){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,n),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var n=t(this),r=n.data("bs.scrollspy"),s="object"==typeof i&&i;r||n.data("bs.scrollspy",r=new e(this,s)),"string"==typeof i&&r[i]()})}e.VERSION="3.3.4",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),r=e.data("target")||e.attr("href"),s=/^#./.test(r)&&t(r);return s&&s.length&&s.is(":visible")&&[[s[i]().top+n,r]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),r=this.offsets,s=this.targets,o=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return o!=(t=s[s.length-1])&&this.activate(t);if(o&&e<r[0])return this.activeTarget=null,this.clear();for(t=r.length;t--;)o!=s[t]&&e>=r[t]&&(void 0===r[t+1]||e<r[t+1])&&this.activate(s[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href="'+e+'"]',n=t(i).parents("li").addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var n=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.tab");r||n.data("bs.tab",r=new i(this)),"string"==typeof e&&r[e]()})}var i=function(e){this.element=t(e)};i.VERSION="3.3.4",i.TRANSITION_DURATION=150,i.prototype.show=function(){var e=this.element,i=e.closest("ul:not(.dropdown-menu)"),n=e.data("target");if(n||(n=e.attr("href"),n=n&&n.replace(/.*(?=#[^\s]*$)/,"")),!e.parent("li").hasClass("active")){var r=i.find(".active:last a"),s=t.Event("hide.bs.tab",{relatedTarget:e[0]}),o=t.Event("show.bs.tab",{relatedTarget:r[0]});if(r.trigger(s),e.trigger(o),!o.isDefaultPrevented()&&!s.isDefaultPrevented()){var a=t(n);this.activate(e.closest("li"),i),this.activate(a,a.parent(),function(){r.trigger({type:"hidden.bs.tab",relatedTarget:e[0]}),e.trigger({type:"shown.bs.tab",relatedTarget:r[0]})})}}},i.prototype.activate=function(e,n,r){function s(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),e.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),a?(e[0].offsetWidth,e.addClass("in")):e.removeClass("fade"),e.parent(".dropdown-menu").length&&e.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),r&&r()}var o=n.find("> .active"),a=r&&t.support.transition&&(o.length&&o.hasClass("fade")||!!n.find("> .fade").length);o.length&&a?o.one("bsTransitionEnd",s).emulateTransitionEnd(i.TRANSITION_DURATION):s(),o.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var r=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',r).on("click.bs.tab.data-api",'[data-toggle="pill"]',r)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),r=n.data("bs.affix"),s="object"==typeof e&&e;r||n.data("bs.affix",r=new i(this,s)),"string"==typeof e&&r[e]()})}var i=function(e,n){this.options=t.extend({},i.DEFAULTS,n),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.4",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,n){var r=this.$target.scrollTop(),s=this.$element.offset(),o=this.$target.height();if(null!=i&&"top"==this.affixed)return i>r?"top":!1;if("bottom"==this.affixed)return null!=i?r+this.unpin<=s.top?!1:"bottom":t-n>=r+o?!1:"bottom";var a=null==this.affixed,l=a?r:s.top,u=a?o:e;return null!=i&&i>=r?"top":null!=n&&l+u>=t-n?"bottom":!1},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},
i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),n=this.options.offset,r=n.top,s=n.bottom,o=t(document.body).height();"object"!=typeof n&&(s=r=n),"function"==typeof r&&(r=n.top(this.$element)),"function"==typeof s&&(s=n.bottom(this.$element));var a=this.getState(o,e,r,s);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:o-e-s})}};var n=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),n=i.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),e.call(i,n)})})}(jQuery),(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";window._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=[].slice,r=function(t,e,n){i.call(this,t,e,n),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0},s=function(t){return t.jquery||t.length&&t[0]&&t[0].nodeType&&t[0].style},o=r.prototype=i.to({},.1,{}),a=[];r.version="1.9.7",o.constructor=r,o.kill()._gc=!1,r.killTweensOf=r.killDelayedCallsTo=i.killTweensOf,r.getTweensOf=i.getTweensOf,r.ticker=i.ticker,o.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),i.prototype.invalidate.call(this)},o.updateTo=function(t,e){var n,r=this.ratio;e&&this.timeline&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(n in t)this.vars[n]=t[n];if(this._initted)if(e)this._initted=!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var s=this._time;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._time>0){this._initted=!1,this._init();for(var o,a=1/(1-r),l=this._firstPT;l;)o=l.s+l.c,l.c*=a,l.s=o-l.c,l=l._next}return this},o.render=function(t,e,i){var n,r,s,o,l,u,h,c=this._dirty?this.totalDuration():this._totalDuration,p=this._time,f=this._totalTime,d=this._cycle;if(t>=c?(this._totalTime=c,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(n=!0,r="onComplete"),0===this._duration&&((0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&(i=!0,this._rawPrevTime>0&&(r="onReverseComplete",e&&(t=-1))),this._rawPrevTime=t)):1e-7>t?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==f||0===this._duration&&this._rawPrevTime>0)&&(r="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===this._duration&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=t)):this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(o=this._duration+this._repeatDelay,this._cycle=this._totalTime/o>>0,0!==this._cycle&&this._cycle===this._totalTime/o&&this._cycle--,this._time=this._totalTime-this._cycle*o,this._yoyo&&0!==(1&this._cycle)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:0>this._time&&(this._time=0)),this._easeType?(l=this._time/this._duration,u=this._easeType,h=this._easePower,(1===u||3===u&&l>=.5)&&(l=1-l),3===u&&(l*=2),1===h?l*=l:2===h?l*=l*l:3===h?l*=l*l*l:4===h&&(l*=l*l*l*l),this.ratio=1===u?1-l:2===u?l:.5>this._time/this._duration?l/2:1-l/2):this.ratio=this._ease.getRatio(this._time/this._duration)),p===this._time&&!i)return void(f!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||a)));if(!this._initted){if(this._init(),!this._initted)return;this._time&&!n?this.ratio=this._ease.getRatio(this._time/this._duration):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||this._paused||(this._active=!0),0===f&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===this._duration)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||a))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&this._startAt.render(t,e,i),e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||a)),this._cycle!==d&&(e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||a)),r&&(this._gc||(0>t&&this._startAt&&!this._onUpdate&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||a)))},r.to=function(t,e,i){return new r(t,e,i)},r.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new r(t,e,i)},r.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new r(t,e,n)},r.staggerTo=r.allTo=function(t,e,o,l,u,h,c){l=l||0;var p,f,d,m,g=o.delay||0,v=[],_=function(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,o.onCompleteParams||a),u.apply(c||this,h||a)};for(t instanceof Array||("string"==typeof t&&(t=i.selector(t)||t),s(t)&&(t=n.call(t,0))),p=t.length,d=0;p>d;d++){f={};for(m in o)f[m]=o[m];f.delay=g,d===p-1&&u&&(f.onComplete=_),v[d]=new r(t[d],e,f),g+=l}return v},r.staggerFrom=r.allFrom=function(t,e,i,n,s,o,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,r.staggerTo(t,e,i,n,s,o,a)},r.staggerFromTo=r.allFromTo=function(t,e,i,n,s,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,r.staggerTo(t,e,n,s,o,a,l)},r.delayedCall=function(t,e,i,n,s){return new r(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:s,overwrite:0})},r.set=function(t,e){return new r(t,0,e)},r.isTweening=function(t){for(var e,n=i.getTweensOf(t),r=n.length;--r>-1;)if(e=n[r],e._active||e._startTime===e._timeline._time&&e._timeline._active)return!0;return!1};var l=function(t,e){for(var n=[],r=0,s=t._first;s;)s instanceof i?n[r++]=s:(e&&(n[r++]=s),n=n.concat(l(s,e)),r=n.length),s=s._next;return n},u=r.getAllTweens=function(e){return l(t._rootTimeline,e).concat(l(t._rootFramesTimeline,e))};r.killAll=function(t,i,n,r){null==i&&(i=!0),null==n&&(n=!0);var s,o,a,l=u(0!=r),h=l.length,c=i&&n&&r;for(a=0;h>a;a++)o=l[a],(c||o instanceof e||(s=o.target===o.vars.onComplete)&&n||i&&!s)&&(t?o.totalTime(o.totalDuration()):o._enabled(!1,!1))},r.killChildTweensOf=function(t,e){if(null!=t){var o,a,l,u,h,c=i._tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),s(t)&&(t=n(t,0)),t instanceof Array)for(u=t.length;--u>-1;)r.killChildTweensOf(t[u],e);else{o=[];for(l in c)for(a=c[l].target.parentNode;a;)a===t&&(o=o.concat(c[l].tweens)),a=a.parentNode;for(h=o.length,u=0;h>u;u++)e&&o[u].totalTime(o[u].totalDuration()),o[u]._enabled(!1,!1)}}};var h=function(t,i,n,r){void 0===i&&(i=!0),void 0===n&&(n=!0);for(var s,o,a=u(r),l=i&&n&&r,h=a.length;--h>-1;)o=a[h],(l||o instanceof e||(s=o.target===o.vars.onComplete)&&n||i&&!s)&&o.paused(t)};return r.pauseAll=function(t,e,i){h(!0,t,e,i)},r.resumeAll=function(t,e,i){h(!1,t,e,i)},o.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},o.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},o.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},o.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},o.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},o.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},o.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},o.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r},!0),window._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;for(var i,n,s=this.vars,o=r.length;--o>-1;)if(n=s[r[o]])for(i=n.length;--i>-1;)"{self}"===n[i]&&(n=s[r[o]]=n.concat(),n[i]=this);s.tweens instanceof Array&&this.add(s.tweens,0,s.align,s.stagger)},r=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams","onRepeatParams"],s=[],o=function(t){var e,i={};for(e in t)i[e]=t[e];return i},a=s.slice,l=n.prototype=new e;return n.version="1.9.7",l.constructor=n,l.kill()._gc=!1,l.to=function(t,e,n,r){return e?this.add(new i(t,e,n),r):this.set(t,n,r)},l.from=function(t,e,n,r){return this.add(i.from(t,e,n),r)},l.fromTo=function(t,e,n,r,s){return e?this.add(i.fromTo(t,e,n,r),s):this.set(t,r,s)},l.staggerTo=function(t,e,r,s,l,u,h,c){var p,f=new n({onComplete:u,onCompleteParams:h,onCompleteScope:c});for("string"==typeof t&&(t=i.selector(t)||t),!(t instanceof Array)&&t.length&&t[0]&&t[0].nodeType&&t[0].style&&(t=a.call(t,0)),s=s||0,p=0;t.length>p;p++)r.startAt&&(r.startAt=o(r.startAt)),f.to(t[p],e,o(r),p*s);return this.add(f,l)},l.staggerFrom=function(t,e,i,n,r,s,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,r,s,o,a)},l.staggerFromTo=function(t,e,i,n,r,s,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,r,s,o,a,l)},l.call=function(t,e,n,r){return this.add(i.delayedCall(0,t,e,n),r)},l.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,s,o=new n(t),a=o._timeline;for(null==e&&(e=!0),a._remove(o,!0),o._startTime=0,o._rawPrevTime=o._time=o._totalTime=a._time,r=a._first;r;)s=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||o.add(r,r._startTime-r._delay),r=s;return a.add(o,0),o},l.add=function(r,s,o,a){var l,u,h,c,p;if("number"!=typeof s&&(s=this._parseTimeOrLabel(s,0,!0,r)),!(r instanceof t)){if(r instanceof Array){for(o=o||"normal",a=a||0,l=s,u=r.length,h=0;u>h;h++)(c=r[h])instanceof Array&&(c=new n({tweens:c})),this.add(c,l),"string"!=typeof c&&"function"!=typeof c&&("sequence"===o?l=c._startTime+c.totalDuration()/c._timeScale:"start"===o&&(c._startTime-=c.delay())),l+=a;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,s);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is neither a tween, timeline, function, nor a string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,s),this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(p=this;p._gc&&p._timeline;)p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._enabled(!0,!1),p=p._timeline;return this},l.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},l.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},l.insert=l.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},l.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},l.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},l.removeLabel=function(t){return delete this._labels[t],this},l.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},l._parseTimeOrLabel=function(e,i,n,r){var s;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r instanceof Array)for(s=r.length;--s>-1;)r[s]instanceof t&&r[s].timeline===this&&this.remove(r[s]);if("string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(s=e.indexOf("="),-1===s)return null==this._labels[e]?n?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(s-1)+"1",10)*Number(e.substr(s+1)),e=s>1?this._parseTimeOrLabel(e.substr(0,s-1),0,n):this.duration()}return Number(e)+i},l.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},l.stop=function(){return this.paused(!0)},l.gotoAndPlay=function(t,e){return this.play(t,e)},l.gotoAndStop=function(t,e){return this.pause(t,e)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var n,r,o,a,l,u=this._dirty?this.totalDuration():this._totalDuration,h=this._time,c=this._startTime,p=this._timeScale,f=this._paused;if(t>=u?(this._totalTime=this._time=u,this._reversed||this._hasPausedChild()||(r=!0,a="onComplete",0===this._duration&&(0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>0&&(a="onReverseComplete"))),this._rawPrevTime=t,t=u+1e-6):1e-7>t?(this._totalTime=this._time=0,(0!==h||0===this._duration&&this._rawPrevTime>0)&&(a="onReverseComplete",r=this._reversed),0>t?(this._active=!1,0===this._duration&&this._rawPrevTime>=0&&this._first&&(l=!0)):this._initted||(l=!0),this._rawPrevTime=t,t=0):this._totalTime=this._time=this._rawPrevTime=t,this._time!==h&&this._first||i||l){if(this._initted||(this._initted=!0),0===h&&this.vars.onStart&&0!==this._time&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||s)),this._time>=h)for(n=this._first;n&&(o=n._next,!this._paused||f);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||f);)(n._active||h>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||s)),a&&(this._gc||(c===this._startTime||p!==this._timeScale)&&(0===this._time||u>=this.totalDuration())&&(r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||s)))}},l._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},l.getChildren=function(t,e,n,r){r=r||-9999999999;for(var s=[],o=this._first,a=0;o;)r>o._startTime||(o instanceof i?e!==!1&&(s[a++]=o):(n!==!1&&(s[a++]=o),t!==!1&&(s=s.concat(o.getChildren(!0,e,n)),a=s.length))),o=o._next;return s},l.getTweensOf=function(t,e){for(var n=i.getTweensOf(t),r=n.length,s=[],o=0;--r>-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(s[o++]=n[r]);return s},l._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},l.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,s=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return this._uncache(!0)},l._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},l.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},l.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return this},l._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},l.progress=function(t){return arguments.length?this.totalTime(this.duration()*t,!1):this._time/this.duration()},l.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},l.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,s=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>s&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):s=r._startTime,0>r._startTime&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),s=0),i=r._startTime+r._totalDuration/r._timeScale,i>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},l.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},l.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},n},!0),window._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},r=[],s=new i(null,null,1,0),o=function(t){for(;t;){if(t._paused)return!0;t=t._timeline}return!1},a=n.prototype=new t;return a.constructor=n,a.kill()._gc=!1,n.version="1.9.7",a.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},a.addCallback=function(t,i,n,r){return this.add(e.delayedCall(0,t,n,r),i)},a.removeCallback=function(t,e){if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,r=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===r&&i[n]._enabled(!1,!1);return this},a.tweenTo=function(t,i){i=i||{};var n,o,a={ease:s,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1};for(n in i)a[n]=i[n];return a.time=this._parseTimeOrLabel(t),o=new e(this,Math.abs(Number(a.time)-this._time)/this._timeScale||.001,a),a.onStart=function(){o.target.paused(!0),o.vars.time!==o.target.time()&&o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale),i.onStart&&i.onStart.apply(i.onStartScope||o,i.onStartParams||r)},o},a.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],onCompleteScope:this},i.immediateRender=i.immediateRender!==!1;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},a.render=function(t,e,i){this._gc&&this._enabled(!0,!1),this._active=!this._paused;var n,s,o,a,l,u,h=this._dirty?this.totalDuration():this._totalDuration,c=this._duration,p=this._time,f=this._totalTime,d=this._startTime,m=this._timeScale,g=this._rawPrevTime,v=this._paused,_=this._cycle;if(t>=h?(this._locked||(this._totalTime=h,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,a="onComplete",0===c&&(0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>0&&(a="onReverseComplete"))),this._rawPrevTime=t,this._yoyo&&0!==(1&this._cycle)?this._time=t=0:(this._time=c,t=c+1e-6)):1e-7>t?(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==p||0===c&&this._rawPrevTime>0&&!this._locked)&&(a="onReverseComplete",s=this._reversed),0>t?(this._active=!1,0===c&&this._rawPrevTime>=0&&this._first&&(l=!0)):this._initted||(l=!0),this._rawPrevTime=t,t=0):(this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(u=c+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!==(1&this._cycle)&&(this._time=c-this._time),this._time>c?(this._time=c,t=c+1e-6):0>this._time?this._time=t=0:t=this._time))),this._cycle!==_&&!this._locked){var y=this._yoyo&&0!==(1&_),b=y===(this._yoyo&&0!==(1&this._cycle)),x=this._totalTime,w=this._cycle,T=this._rawPrevTime,C=this._time;this._totalTime=_*c,_>this._cycle?y=!y:this._totalTime+=c,this._time=p,this._rawPrevTime=0===c?g-1e-5:g,this._cycle=_,this._locked=!0,p=y?0:c,this.render(p,e,0===c),e||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||r),b&&(p=y?c+1e-6:-1e-6,this.render(p,!0,!1)),this._time=C,this._totalTime=x,this._cycle=w,this._rawPrevTime=T,this._locked=!1}if(!(this._time!==p&&this._first||i||l))return void(f!==this._totalTime&&this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||r)));if(this._initted||(this._initted=!0),0===f&&this.vars.onStart&&0!==this._totalTime&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||r)),this._time>=p)for(n=this._first;n&&(o=n._next,!this._paused||v);)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,!this._paused||v);)(n._active||p>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;this._onUpdate&&(e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||r)),a&&(this._locked||this._gc||(d===this._startTime||m!==this._timeScale)&&(0===this._time||h>=this.totalDuration())&&(s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||r)))},a.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,r,s=[],a=this.getChildren(t,e,i),l=0,u=a.length;for(n=0;u>n;n++)r=a[n],r._paused||r._timeline._time>=r._startTime&&r._timeline._time<r._startTime+r._totalDuration/r._timeScale&&(o(r._timeline)||(s[l++]=r));return s},a.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;n>e;e++)if(i[e].time>t)return i[e].name;return null},a.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(t>e[i].time)return e[i].name;return null},a.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},a.progress=function(t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},a.totalProgress=function(t){return arguments.length?this.totalTime(this.totalDuration()*t,!1):this._totalTime/this.totalDuration()},a.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},a.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},a.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},a.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},a.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),function(){var t=180/Math.PI,e=Math.PI/180,i=[],n=[],r=[],s={},o=function(t,e,i,n){this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},a=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=function(t,e,i,n){var r={a:t},s={},o={},a={c:n},l=(t+e)/2,u=(e+i)/2,h=(i+n)/2,c=(l+u)/2,p=(u+h)/2,f=(p-c)/8;return r.b=l+(t-l)/4,s.b=c+f,r.c=s.a=(r.b+s.b)/2,s.c=o.a=(c+p)/2,o.b=p-f,a.b=h+(n-h)/4,o.c=a.a=(o.b+a.b)/2,[r,s,o,a]},u=function(t,e,s,o,a){var u,h,c,p,f,d,m,g,v,_,y,b,x,w=t.length-1,T=0,C=t[0].a;for(u=0;w>u;u++)f=t[T],h=f.a,c=f.d,p=t[T+1].d,a?(y=i[u],b=n[u],x=.25*(b+y)*e/(o?.5:r[u]||.5),d=c-(c-h)*(o?.5*e:0!==y?x/y:0),m=c+(p-c)*(o?.5*e:0!==b?x/b:0),g=c-(d+((m-d)*(3*y/(y+b)+.5)/4||0))):(d=c-.5*(c-h)*e,m=c+.5*(p-c)*e,g=c-(d+m)/2),d+=g,m+=g,f.c=v=d,f.b=0!==u?C:C=f.a+.6*(f.c-f.a),f.da=c-h,f.ca=v-h,f.ba=C-h,s?(_=l(h,C,v,c),t.splice(T,1,_[0],_[1],_[2],_[3]),T+=4):T++,C=m;f=t[T],f.b=C,f.c=C+.4*(f.d-C),f.da=f.d-f.a,f.ca=f.c-f.a,f.ba=C-f.a,s&&(_=l(f.a,C,f.c,f.d),t.splice(T,1,_[0],_[1],_[2],_[3]))},h=function(t,e,r,s){var a,l,u,h,c,p,f=[];if(s)for(t=[s].concat(t),l=t.length;--l>-1;)"string"==typeof(p=t[l][e])&&"="===p.charAt(1)&&(t[l][e]=s[e]+Number(p.charAt(0)+p.substr(2)));if(a=t.length-2,0>a)return f[0]=new o(t[0][e],0,0,t[-1>a?0:1][e]),f;for(l=0;a>l;l++)u=t[l][e],h=t[l+1][e],f[l]=new o(u,0,0,h),r&&(c=t[l+2][e],i[l]=(i[l]||0)+(h-u)*(h-u),n[l]=(n[l]||0)+(c-h)*(c-h));return f[l]=new o(t[l][e],0,0,t[l+1][e]),f},c=function(t,e,o,l,c,p){var f,d,m,g,v,_,y,b,x={},w=[],T=p||t[0];c="string"==typeof c?","+c+",":a,null==e&&(e=1);for(d in t[0])w.push(d);if(t.length>1){for(b=t[t.length-1],y=!0,f=w.length;--f>-1;)if(d=w[f],Math.abs(T[d]-b[d])>.05){y=!1;break}y&&(t=t.concat(),p&&t.unshift(p),t.push(t[1]),p=t[t.length-3])}for(i.length=n.length=r.length=0,f=w.length;--f>-1;)d=w[f],s[d]=-1!==c.indexOf(","+d+","),x[d]=h(t,d,s[d],p);for(f=i.length;--f>-1;)i[f]=Math.sqrt(i[f]),n[f]=Math.sqrt(n[f]);if(!l){for(f=w.length;--f>-1;)if(s[d])for(m=x[w[f]],_=m.length-1,g=0;_>g;g++)v=m[g+1].da/n[g]+m[g].da/i[g],r[g]=(r[g]||0)+v*v;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=w.length,g=o?4:1;--f>-1;)d=w[f],m=x[d],u(m,e,o,l,s[d]),y&&(m.splice(0,g),m.splice(m.length-g,g));return x},p=function(t,e,i){e=e||"soft";var n,r,s,a,l,u,h,c,p,f,d,m={},g="cubic"===e?3:2,v="soft"===e,_=[];if(v&&i&&(t=[i].concat(t)),null==t||g+1>t.length)throw"invalid Bezier data";for(p in t[0])_.push(p);for(u=_.length;--u>-1;){for(p=_[u],m[p]=l=[],f=0,c=t.length,h=0;c>h;h++)n=null==i?t[h][p]:"string"==typeof(d=t[h][p])&&"="===d.charAt(1)?i[p]+Number(d.charAt(0)+d.substr(2)):Number(d),v&&h>1&&c-1>h&&(l[f++]=(n+l[f-2])/2),l[f++]=n;for(c=f-g+1,f=0,h=0;c>h;h+=g)n=l[h],r=l[h+1],s=l[h+2],a=2===g?0:l[h+3],l[f++]=d=3===g?new o(n,r,s,a):new o(n,(2*r+n)/3,(2*r+s)/3,s);l.length=f}return m},f=function(t,e,i){for(var n,r,s,o,a,l,u,h,c,p,f,d=1/i,m=t.length;--m>-1;)for(p=t[m],s=p.a,o=p.d-s,a=p.c-s,l=p.b-s,n=r=0,h=1;i>=h;h++)u=d*h,c=1-u,n=r-(r=(u*u*o+3*c*(u*a+c*l))*u),f=m*i+h-1,e[f]=(e[f]||0)+n*n},d=function(t,e){e=e>>0||6;var i,n,r,s,o=[],a=[],l=0,u=0,h=e-1,c=[],p=[];for(i in t)f(t[i],o,e);for(r=o.length,n=0;r>n;n++)l+=Math.sqrt(o[n]),s=n%e,p[s]=l,s===h&&(u+=l,s=n/e>>0,c[s]=p,a[s]=u,l=0,p=[]);return{length:u,lengths:a,segments:c}},m=window._gsDefine.plugin({propName:"bezier",priority:-1,API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._round={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,r,s,o,a,l=e.values||[],u={},h=l[0],f=e.autoRotate||i.vars.orientToBezier;this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",f===!0?0:Number(f)||0]]:null;for(n in h)this._props.push(n);for(s=this._props.length;--s>-1;)n=this._props[s],this._overwriteProps.push(n),r=this._func[n]="function"==typeof t[n],u[n]=r?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||u[n]!==l[0][n]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?c(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):p(l,e.type,u),this._segCount=this._beziers[n].length,this._timeRes){var m=d(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(f=this._autoRotate)for(f[0]instanceof Array||(this._autoRotate=f=[f]),s=f.length;--s>-1;)for(o=0;3>o;o++)n=f[s][o],this._func[n]="function"==typeof t[n]?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]:!1;return!0},set:function(e){var i,n,r,s,o,a,l,u,h,c,p=this._segCount,f=this._func,d=this._target;if(this._timeRes){if(h=this._lengths,c=this._curSeg,e*=this._length,r=this._li,e>this._l2&&p-1>r){for(u=p-1;u>r&&e>=(this._l2=h[++r]););this._l1=h[r-1],this._li=r,this._curSeg=c=this._segments[r],this._s2=c[this._s1=this._si=0]}else if(this._l1>e&&r>0){for(;r>0&&(this._l1=h[--r])>=e;);0===r&&this._l1>e?this._l1=0:r++,this._l2=h[r],this._li=r,this._curSeg=c=this._segments[r],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(i=r,e-=this._l1,r=this._si,e>this._s2&&c.length-1>r){for(u=c.length-1;u>r&&e>=(this._s2=c[++r]););this._s1=c[r-1],this._si=r}else if(this._s1>e&&r>0){for(;r>0&&(this._s1=c[--r])>=e;);0===r&&this._s1>e?this._s1=0:r++,this._s2=c[r],this._si=r}a=(r+(e-this._s1)/(this._s2-this._s1))*this._prec}else i=0>e?0:e>=1?p-1:p*e>>0,a=(e-i*(1/p))*p;for(n=1-a,r=this._props.length;--r>-1;)s=this._props[r],o=this._beziers[s][i],l=(a*a*o.da+3*n*(a*o.ca+n*o.ba))*a+o.a,this._round[s]&&(l=l+(l>0?.5:-.5)>>0),f[s]?d[s](l):d[s]=l;if(this._autoRotate){var m,g,v,_,y,b,x,w=this._autoRotate;for(r=w.length;--r>-1;)s=w[r][2],b=w[r][3]||0,x=w[r][4]===!0?1:t,o=this._beziers[w[r][0]],m=this._beziers[w[r][1]],o&&m&&(o=o[i],m=m[i],g=o.a+(o.b-o.a)*a,_=o.b+(o.c-o.b)*a,g+=(_-g)*a,_+=(o.c+(o.d-o.c)*a-_)*a,v=m.a+(m.b-m.a)*a,y=m.b+(m.c-m.b)*a,v+=(y-v)*a,y+=(m.c+(m.d-m.c)*a-y)*a,l=Math.atan2(y-v,_-g)*x+b,f[s]?d[s](l):d[s]=l)}}}),g=m.prototype;m.bezierThrough=c,m.cubicToQuadratic=l,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new o(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=window._gsDefine.globals.CSSPlugin;if(t){var i=t._internals,n=i._parseToProxy,r=i._setPluginRatio,s=i.CSSPropTween;i._registerComplexSpecialProp("bezier",{parser:function(t,i,o,a,l,u){i instanceof Array&&(i={values:i}),u=new m;var h,c,p,f=i.values,d=f.length-1,g=[],v={};if(0>d)return l;for(h=0;d>=h;h++)p=n(t,f[h],a,l,u,d!==h),
g[h]=p.end;for(c in i)v[c]=i[c];return v.values=g,l=new s(t,"bezier",0,0,p.pt,2),l.data=p,l.plugin=u,l.setRatio=r,0===v.autoRotate&&(v.autoRotate=!0),!v.autoRotate||v.autoRotate instanceof Array||(h=v.autoRotate===!0?0:Number(v.autoRotate)*e,v.autoRotate=null!=p.end.left?[["left","top","rotation",h,!0]]:null!=p.end.x?[["x","y","rotation",h,!0]]:!1),v.autoRotate&&(a._transform||a._enableTransforms(!1),p.autoRotate=a._target._gsTransform),u._onInitTween(p.proxy,v,a._tween),l}})}},g._roundProps=function(t,e){for(var i=this._overwriteProps,n=i.length;--n>-1;)(t[i[n]]||t.bezier||t.bezierThrough)&&(this._round[i[n]]=e)},g._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);return this._super._kill.call(this,t)}}(),window._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,s,o=function(){t.call(this,"css"),this._overwriteProps.length=0},a={},l=o.prototype=new t("css");l.constructor=o,o.version="1.9.7",o.API=2,o.defaultTransformPerspective=0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l};var u,h,c,p,f,d,m=/(?:\d|\-\d|\.\d|\-\.\d)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,v=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,_=/[^\d\-\.]/g,y=/(?:\d|\-|\+|=|#|\.)*/g,b=/opacity *= *([^)]*)/,x=/opacity:([^;]*)/,w=/alpha\(opacity *=.+?\)/i,T=/^(rgb|hsl)/,C=/([A-Z])/g,k=/-([a-z])/gi,S=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,P=function(t,e){return e.toUpperCase()},N=/(?:Left|Right|Width)/i,A=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,E=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,R=Math.PI/180,O=180/Math.PI,$={},I=document,M=I.createElement("div"),L=I.createElement("img"),F=o._internals={_specialProps:a},j=navigator.userAgent,H=function(){var t,e=j.indexOf("Android"),i=I.createElement("div");return c=-1!==j.indexOf("Safari")&&-1===j.indexOf("Chrome")&&(-1===e||Number(j.substr(e+8,1))>3),f=c&&6>Number(j.substr(j.indexOf("Version/")+8,1)),p=-1!==j.indexOf("Firefox"),/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(j),d=parseFloat(RegExp.$1),i.innerHTML="<a style='top:1px;opacity:.55;'>a</a>",t=i.getElementsByTagName("a")[0],t?/^0.55/.test(t.style.opacity):!1}(),B=function(t){return b.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(t){window.console&&console.log(t)},U="",X="",z=function(t,e){e=e||M;var i,n,r=e.style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(X=3===n?"ms":i[n],U="-"+X.toLowerCase()+"-",X+t):null},W=I.defaultView?I.defaultView.getComputedStyle:function(){},V=o.getStyle=function(t,e,i,n,r){var s;return H||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||W(t,null))?(t=i.getPropertyValue(e.replace(C,"-$1").toLowerCase()),s=t||i.length?t:i[e]):t.currentStyle&&(i=t.currentStyle,s=i[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):B(t)},Y=function(t,e,i,n,r){if("px"===n||!n)return i;if("auto"===n||!i)return 0;var s,o=N.test(e),a=t,l=M.style,u=0>i;return u&&(i=-i),"%"===n&&-1!==e.indexOf("border")?s=i/100*(o?t.clientWidth:t.clientHeight):(l.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"!==n&&a.appendChild?l[o?"borderLeftWidth":"borderTopWidth"]=i+n:(a=t.parentNode||I.body,l[o?"width":"height"]=i+n),a.appendChild(M),s=parseFloat(M[o?"offsetWidth":"offsetHeight"]),a.removeChild(M),0!==s||r||(s=Y(t,e,i,n,!0))),u?-s:s},Q=function(t,e,i){if("absolute"!==V(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=V(t,"margin"+n,i);return t["offset"+n]-(Y(t,e,parseFloat(r),r.replace(y,""))||0)},G=function(t,e){var i,n,r={};if(e=e||W(t,null))if(i=e.length)for(;--i>-1;)r[e[i].replace(k,P)]=e.getPropertyValue(e[i]);else for(i in e)r[i]=e[i];else if(e=t.currentStyle||t.style)for(i in e)r[i.replace(k,P)]=e[i];return H||(r.opacity=B(t)),n=Tt(t,e,!1),r.rotation=n.rotation*O,r.skewX=n.skewX*O,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,wt&&(r.z=n.z,r.rotationX=n.rotationX*O,r.rotationY=n.rotationY*O,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},Z=function(t,e,i,n,r){var s,o,a,l={},u=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(_,"")?s:0:Q(t,o),void 0!==u[o]&&(a=new ct(u,o,u[o],a)));if(n)for(o in n)"className"!==o&&(l[o]=n[o]);return{difs:l,firstMPT:a}},J={width:["Left","Right"],height:["Top","Bottom"]},K=["marginLeft","marginRight","marginTop","marginBottom"],tt=function(t,e,i){var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=J[e],s=r.length;for(i=i||W(t,null);--s>-1;)n-=parseFloat(V(t,"padding"+r[s],i,!0))||0,n-=parseFloat(V(t,"border"+r[s]+"Width",i,!0))||0;return n},et=function(t,e){(null==t||""===t||"auto"===t||"auto auto"===t)&&(t="0 0");var i=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];return null==r?r="0":"center"===r&&(r="50%"),("center"===n||isNaN(parseFloat(n)))&&(n="50%"),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(n.replace(_,"")),e.oy=parseFloat(r.replace(_,""))),n+" "+r+(i.length>2?" "+i[2]:"")},it=function(t,e){return"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)},nt=function(t,e){return null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*Number(t.substr(2))+e:parseFloat(t)},rt=function(t,e,i,n){var r,s,o,a,l=1e-6;return null==t?a=e:"number"==typeof t?a=t*R:(r=2*Math.PI,s=t.split("_"),o=Number(s[0].replace(_,""))*(-1===t.indexOf("rad")?R:1)-("="===t.charAt(1)?0:e),s.length&&(n&&(n[i]=e+o),-1!==t.indexOf("short")&&(o%=r,o!==o%(r/2)&&(o=0>o?o+r:o-r)),-1!==t.indexOf("_cw")&&0>o?o=(o+9999999999*r)%r-(0|o/r)*r:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*r)%r-(0|o/r)*r)),a=e+o),l>a&&a>-l&&(a=0),a},st={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]},ot=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,0|255*(1>6*t?e+6*(i-e)*t:.5>t?i:2>3*t?e+6*(i-e)*(2/3-t):e)+.5},at=function(t){var e,i,n,r,s,o;return t&&""!==t?"number"==typeof t?[t>>16,255&t>>8,255&t]:(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),st[t]?st[t]:"#"===t.charAt(0)?(4===t.length&&(e=t.charAt(1),i=t.charAt(2),n=t.charAt(3),t="#"+e+e+i+i+n+n),t=parseInt(t.substr(1),16),[t>>16,255&t>>8,255&t]):"hsl"===t.substr(0,3)?(t=t.match(m),r=Number(t[0])%360/360,s=Number(t[1])/100,o=Number(t[2])/100,i=.5>=o?o*(s+1):o+s-o*s,e=2*o-i,t.length>3&&(t[3]=Number(t[3])),t[0]=ot(r+1/3,e,i),t[1]=ot(r,e,i),t[2]=ot(r-1/3,e,i),t):(t=t.match(m)||st.transparent,t[0]=Number(t[0]),t[1]=Number(t[1]),t[2]=Number(t[2]),t.length>3&&(t[3]=Number(t[3])),t)):st.black},lt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(l in st)lt+="|"+l+"\\b";lt=RegExp(lt+")","gi");var ut=function(t,e,i,n){if(null==t)return function(t){return t};var r,s=e?(t.match(lt)||[""])[0]:"",o=t.split(s).join("").match(v)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",h=o.length,c=h>0?o[0].replace(m,""):"";return h?r=e?function(t){var e,p,f,d;if("number"==typeof t)t+=c;else if(n&&D.test(t)){for(d=t.replace(D,"|").split("|"),f=0;d.length>f;f++)d[f]=r(d[f]);return d.join(",")}if(e=(t.match(lt)||[s])[0],p=t.split(e).join("").match(v)||[],f=p.length,h>f--)for(;h>++f;)p[f]=i?p[0|(f-1)/2]:o[f];return a+p.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,p;if("number"==typeof t)t+=c;else if(n&&D.test(t)){for(s=t.replace(D,"|").split("|"),p=0;s.length>p;p++)s[p]=r(s[p]);return s.join(",")}if(e=t.match(v)||[],p=e.length,h>p--)for(;h>++p;)e[p]=i?e[0|(p-1)/2]:o[p];return a+e.join(u)+l}:function(t){return t}},ht=function(t){return t=t.split(","),function(e,i,n,r,s,o,a){var l,u=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=u[l]=u[l]||u[(l-1)/2>>0];return r.parse(e,a,s,o)}},ct=(F._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s=this.data,o=s.proxy,a=s.firstMPT,l=1e-6;a;)e=o[a.v],a.r?e=e>0?0|e+.5:0|e-.5:l>e&&e>-l&&(e=0),a.t[a.p]=e,a=a._next;if(s.autoRotate&&(s.autoRotate.rotation=o.rotation),1===t)for(a=s.firstMPT;a;){if(i=a.t,i.type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;i.l>n;n++)r+=i["xn"+n]+i["xs"+(n+1)];i.e=r}}else i.e=i.s+i.xs0;a=a._next}},function(t,e,i,n,r){this.t=t,this.p=e,this.v=i,this.r=r,n&&(n._prev=this,this._next=n)}),pt=(F._parseToProxy=function(t,e,i,n,r,s){var o,a,l,u,h,c=n,p={},f={},d=i._transform,m=$;for(i._transform=null,$=e,n=h=i.parse(t,e,n,r),$=m,s&&(i._transform=d,c&&(c._prev=null,c._prev&&(c._prev._next=null)));n&&n!==c;){if(1>=n.type&&(a=n.p,f[a]=n.s+n.c,p[a]=n.s,s||(u=new ct(n,"s",a,u,n.r),n.c=0),1===n.type))for(o=n.l;--o>0;)l="xn"+o,a=n.p+"_"+l,f[a]=n.data[l],p[a]=n[l],s||(u=new ct(n,l,a,u,n.rxp[l]));n=n._next}return{proxy:p,end:f,firstMPT:u,pt:h}},F.CSSPropTween=function(t,e,n,r,o,a,l,u,h,c,p){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||"css_"+e,t instanceof pt||s.push(this.n),this.r=u,this.type=a||0,h&&(this.pr=h,i=!0),this.b=void 0===c?n:c,this.e=void 0===p?n+r:p,o&&(this._next=o,o._prev=this)}),ft=o.parseComplex=function(t,e,i,n,r,s,o,a,l,h){i=i||s||"",o=new pt(t,e,0,0,o,h?2:1,null,!1,a,i,n),n+="";var c,p,f,d,v,_,y,b,x,w,C,k,S=i.split(", ").join(",").split(" "),P=n.split(", ").join(",").split(" "),N=S.length,A=u!==!1;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(S=S.join(" ").replace(D,", ").split(" "),P=P.join(" ").replace(D,", ").split(" "),N=S.length),N!==P.length&&(S=(s||"").split(" "),N=S.length),o.plugin=l,o.setRatio=h,c=0;N>c;c++)if(d=S[c],v=P[c],b=parseFloat(d),b||0===b)o.appendXtra("",b,it(v,b),v.replace(g,""),A&&-1!==v.indexOf("px"),!0);else if(r&&("#"===d.charAt(0)||st[d]||T.test(d)))k=","===v.charAt(v.length-1)?"),":")",d=at(d),v=at(v),x=d.length+v.length>6,x&&!H&&0===v[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(P[c]).join("transparent")):(H||(x=!1),o.appendXtra(x?"rgba(":"rgb(",d[0],v[0]-d[0],",",!0,!0).appendXtra("",d[1],v[1]-d[1],",",!0).appendXtra("",d[2],v[2]-d[2],x?",":k,!0),x&&(d=4>d.length?1:d[3],o.appendXtra("",d,(4>v.length?1:v[3])-d,k,!1)));else if(_=d.match(m)){if(y=v.match(g),!y||y.length!==_.length)return o;for(f=0,p=0;_.length>p;p++)C=_[p],w=d.indexOf(C,f),o.appendXtra(d.substr(f,w-f),Number(C),it(y[p],C),"",A&&"px"===d.substr(w+C.length,2),0===p),f=w+C.length;o["xs"+o.l]+=d.substr(f)}else o["xs"+o.l]+=o.l?" "+d:d;if(-1!==n.indexOf("=")&&o.data){for(k=o.xs0+o.data.s,c=1;o.l>c;c++)k+=o["xs"+c]+o.data["xn"+c];o.e=k+o["xs"+c]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},dt=9;for(l=pt.prototype,l.l=l.pr=0;--dt>0;)l["xn"+dt]=0,l["xs"+dt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,i,n,r,s){var o=this,a=o.l;return o["xs"+a]+=s&&a?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=n||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=r,o["xn"+a]=e,o.plugin||(o.xfirst=new pt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=r,o)):(o["xs"+a]+=e+(n||""),o)};var mt=function(t,e){e=e||{},this.p=e.prefix?z(t)||t:t,a[t]=a[this.p]=this,this.format=e.formatter||ut(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},gt=F._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r,s=t.split(","),o=e.defaultValue;for(i=i||[o],n=0;s.length>n;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||o,r=new mt(s[n],e)},vt=function(t){if(!a[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";gt(t,{parser:function(t,i,n,r,s,o,l){var u=(window.GreenSockGlobals||window).com.greensock.plugins[e];return u?(u._cssRegister(),a[n].parse(t,i,n,r,s,o,l)):(q("Error: "+e+" js file not loaded."),s)}})}};l=mt.prototype,l.parseComplex=function(t,e,i,n,r,s){var o,a,l,u,h,c,p=this.keyword;if(this.multi&&(D.test(i)||D.test(e)?(a=e.replace(D,"|").split("|"),l=i.replace(D,"|").split("|")):p&&(a=[e],l=[i])),l){for(u=l.length>a.length?l.length:a.length,o=0;u>o;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,p&&(h=e.indexOf(p),c=i.indexOf(p),h!==c&&(i=-1===c?l:a,i[o]+=" "+p));e=a.join(", "),i=l.join(", ")}return ft(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},l.parse=function(t,e,i,n,s,o){return this.parseComplex(t.style,this.format(V(t,this.p,r,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){gt(t,{parser:function(t,n,r,s,o,a){var l=new pt(t,r,0,0,o,2,r,!1,i);return l.plugin=a,l.setRatio=e(t,n,s._tween,r),l},priority:i})};var _t="scaleX,scaleY,scaleZ,x,y,z,skewX,rotation,rotationX,rotationY,perspective".split(","),yt=z("transform"),bt=U+"transform",xt=z("transformOrigin"),wt=null!==z("perspective"),Tt=function(t,e,i){var n,r,s,a,l,u,h,c,p,f,d,m,g,v=i?t._gsTransform||{skewY:0}:{skewY:0},_=0>v.scaleX,y=2e-5,b=1e5,x=-Math.PI+1e-4,w=Math.PI-1e-4,T=wt?parseFloat(V(t,xt,e,!1,"0 0 0").split(" ")[2])||v.zOrigin||0:0;if(yt)n=V(t,bt,e,!0);else if(t.currentStyle)if(n=t.currentStyle.filter.match(A),n&&4===n.length)n=[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),v.x||0,v.y||0].join(",");else{if(null!=v.x)return v;n=""}for(r=(n||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[],s=r.length;--s>-1;)a=Number(r[s]),r[s]=(l=a-(a|=0))?(0|l*b+(0>l?-.5:.5))/b+a:a;if(16===r.length){var C=r[8],k=r[9],S=r[10],P=r[12],N=r[13],E=r[14];if(v.zOrigin&&(E=-v.zOrigin,P=C*E-r[12],N=k*E-r[13],E=S*E+v.zOrigin-r[14]),!i||null==v.rotationX){var D,R,O,$,I,M,L,F=r[0],j=r[1],H=r[2],B=r[3],q=r[4],U=r[5],X=r[6],z=r[7],W=r[11],Y=v.rotationX=Math.atan2(X,S),Q=x>Y||Y>w;Y&&($=Math.cos(-Y),I=Math.sin(-Y),D=q*$+C*I,R=U*$+k*I,O=X*$+S*I,C=q*-I+C*$,k=U*-I+k*$,S=X*-I+S*$,W=z*-I+W*$,q=D,U=R,X=O),Y=v.rotationY=Math.atan2(C,F),Y&&(M=x>Y||Y>w,$=Math.cos(-Y),I=Math.sin(-Y),D=F*$-C*I,R=j*$-k*I,O=H*$-S*I,k=j*I+k*$,S=H*I+S*$,W=B*I+W*$,F=D,j=R,H=O),Y=v.rotation=Math.atan2(j,U),Y&&(L=x>Y||Y>w,$=Math.cos(-Y),I=Math.sin(-Y),F=F*$+q*I,R=j*$+U*I,U=j*-I+U*$,X=H*-I+X*$,j=R),L&&Q?v.rotation=v.rotationX=0:L&&M?v.rotation=v.rotationY=0:M&&Q&&(v.rotationY=v.rotationX=0),v.scaleX=(0|Math.sqrt(F*F+j*j)*b+.5)/b,v.scaleY=(0|Math.sqrt(U*U+k*k)*b+.5)/b,v.scaleZ=(0|Math.sqrt(X*X+S*S)*b+.5)/b,v.skewX=0,v.perspective=W?1/(0>W?-W:W):0,v.x=P,v.y=N,v.z=E}}else if(!(wt&&0!==r.length&&v.x===r[4]&&v.y===r[5]&&(v.rotationX||v.rotationY)||void 0!==v.x&&"none"===V(t,"display",e))){var G=r.length>=6,Z=G?r[0]:1,J=r[1]||0,K=r[2]||0,tt=G?r[3]:1;v.x=r[4]||0,v.y=r[5]||0,u=Math.sqrt(Z*Z+J*J),h=Math.sqrt(tt*tt+K*K),c=Z||J?Math.atan2(J,Z):v.rotation||0,p=K||tt?Math.atan2(K,tt)+c:v.skewX||0,f=u-Math.abs(v.scaleX||0),d=h-Math.abs(v.scaleY||0),Math.abs(p)>Math.PI/2&&Math.abs(p)<1.5*Math.PI&&(_?(u*=-1,p+=0>=c?Math.PI:-Math.PI,c+=0>=c?Math.PI:-Math.PI):(h*=-1,p+=0>=p?Math.PI:-Math.PI)),m=(c-v.rotation)%Math.PI,g=(p-v.skewX)%Math.PI,(void 0===v.skewX||f>y||-y>f||d>y||-y>d||m>x&&w>m&&!1|m*b||g>x&&w>g&&!1|g*b)&&(v.scaleX=u,v.scaleY=h,v.rotation=c,v.skewX=p),wt&&(v.rotationX=v.rotationY=v.z=0,v.perspective=parseFloat(o.defaultTransformPerspective)||0,v.scaleZ=1)}v.zOrigin=T;for(s in v)y>v[s]&&v[s]>-y&&(v[s]=0);return i&&(t._gsTransform=v),v},Ct=function(t){var e,i,n=this.data,r=-n.rotation,s=r+n.skewX,o=1e5,a=(0|Math.cos(r)*n.scaleX*o)/o,l=(0|Math.sin(r)*n.scaleX*o)/o,u=(0|Math.sin(s)*-n.scaleY*o)/o,h=(0|Math.cos(s)*n.scaleY*o)/o,c=this.t.style,p=this.t.currentStyle;if(p){i=l,l=-u,u=-i,e=p.filter,c.filter="";var f,m,g=this.t.offsetWidth,v=this.t.offsetHeight,_="absolute"!==p.position,x="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+h,w=n.x,T=n.y;if(null!=n.ox&&(f=(n.oxp?.01*g*n.ox:n.ox)-g/2,m=(n.oyp?.01*v*n.oy:n.oy)-v/2,w+=f-(f*a+m*l),T+=m-(f*u+m*h)),_)f=g/2,m=v/2,x+=", Dx="+(f-(f*a+m*l)+w)+", Dy="+(m-(f*u+m*h)+T)+")";else{var C,k,S,P=8>d?1:-1;for(f=n.ieOffsetX||0,m=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*v))/2+w),n.ieOffsetY=Math.round((v-((0>h?-h:h)*v+(0>u?-u:u)*g))/2+T),dt=0;4>dt;dt++)k=K[dt],C=p[k],i=-1!==C.indexOf("px")?parseFloat(C):Y(this.t,k,parseFloat(C),C.replace(y,""))||0,S=i!==n[k]?2>dt?-n.ieOffsetX:-n.ieOffsetY:2>dt?f-n.ieOffsetX:m-n.ieOffsetY,c[k]=(n[k]=Math.round(i-S*(0===dt||2===dt?1:P)))+"px";x+=", sizingMethod='auto expand')"}c.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(E,x):x+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===h&&(_&&-1===x.indexOf("Dx=0, Dy=0")||b.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf("gradient(")&&c.removeAttribute("filter"))}},kt=function(){var t,e,i,n,r,s,o,a,l,u=this.data,h=this.t.style,c=u.perspective,f=u.scaleX,d=0,m=0,g=0,v=0,_=u.scaleY,y=0,b=0,x=0,w=0,T=u.scaleZ,C=0,k=0,S=0,P=c?-1/c:0,N=u.rotation,A=u.zOrigin,E=1e5;p&&(o=h.top?"top":h.bottom?"bottom":parseFloat(V(this.t,"top",null,!1))?"bottom":"top",i=V(this.t,o,null,!1),a=parseFloat(i)||0,l=i.substr((a+"").length)||"px",u._ffFix=!u._ffFix,h[o]=(u._ffFix?a+.05:a-.05)+l),(N||u.skewX)&&(i=f*Math.cos(N),n=_*Math.sin(N),N-=u.skewX,d=f*-Math.sin(N),_*=Math.cos(N),f=i,v=n),N=u.rotationY,N&&(t=Math.cos(N),e=Math.sin(N),i=f*t,n=v*t,r=T*-e,s=P*-e,m=f*e,y=v*e,T*=t,P*=t,f=i,v=n,x=r,k=s),N=u.rotationX,N&&(t=Math.cos(N),e=Math.sin(N),i=d*t+m*e,n=_*t+y*e,r=w*t+T*e,s=S*t+P*e,m=d*-e+m*t,y=_*-e+y*t,T=w*-e+T*t,P=S*-e+P*t,d=i,_=n,w=r,S=s),A&&(C-=A,g=m*C,b=y*C,C=T*C+A),g=(i=(g+=u.x)-(g|=0))?(0|i*E+(0>i?-.5:.5))/E+g:g,b=(i=(b+=u.y)-(b|=0))?(0|i*E+(0>i?-.5:.5))/E+b:b,C=(i=(C+=u.z)-(C|=0))?(0|i*E+(0>i?-.5:.5))/E+C:C,h[yt]="matrix3d("+[(0|f*E)/E,(0|v*E)/E,(0|x*E)/E,(0|k*E)/E,(0|d*E)/E,(0|_*E)/E,(0|w*E)/E,(0|S*E)/E,(0|m*E)/E,(0|y*E)/E,(0|T*E)/E,(0|P*E)/E,g,b,C,c?1+-C/c:1].join(",")+")"},St=function(){var t,e,i,n,r,s,o,a,l,u=this.data,h=this.t,c=h.style;p&&(t=c.top?"top":c.bottom?"bottom":parseFloat(V(h,"top",null,!1))?"bottom":"top",e=V(h,t,null,!1),i=parseFloat(e)||0,n=e.substr((i+"").length)||"px",u._ffFix=!u._ffFix,c[t]=(u._ffFix?i+.05:i-.05)+n),u.rotation||u.skewX?(r=u.rotation,s=r-u.skewX,o=1e5,a=u.scaleX*o,l=u.scaleY*o,c[yt]="matrix("+(0|Math.cos(r)*a)/o+","+(0|Math.sin(r)*a)/o+","+(0|Math.sin(s)*-l)/o+","+(0|Math.cos(s)*l)/o+","+u.x+","+u.y+")"):c[yt]="matrix("+u.scaleX+",0,0,"+u.scaleY+","+u.x+","+u.y+")"};gt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation",{parser:function(t,e,i,n,s,o,a){if(n._transform)return s;var l,u,h,c,p,f,d,m=n._transform=Tt(t,r,!0),g=t.style,v=1e-6,_=_t.length,y=a,b={};if("string"==typeof y.transform&&yt)h=g.cssText,g[yt]=y.transform,g.display="block",l=Tt(t,null,!1),g.cssText=h;else if("object"==typeof y){if(l={scaleX:nt(null!=y.scaleX?y.scaleX:y.scale,m.scaleX),scaleY:nt(null!=y.scaleY?y.scaleY:y.scale,m.scaleY),scaleZ:nt(null!=y.scaleZ?y.scaleZ:y.scale,m.scaleZ),x:nt(y.x,m.x),y:nt(y.y,m.y),z:nt(y.z,m.z),perspective:nt(y.transformPerspective,m.perspective)},d=y.directionalRotation,null!=d)if("object"==typeof d)for(h in d)y[h]=d[h];else y.rotation=d;l.rotation=rt("rotation"in y?y.rotation:"shortRotation"in y?y.shortRotation+"_short":"rotationZ"in y?y.rotationZ:m.rotation*O,m.rotation,"rotation",b),wt&&(l.rotationX=rt("rotationX"in y?y.rotationX:"shortRotationX"in y?y.shortRotationX+"_short":m.rotationX*O||0,m.rotationX,"rotationX",b),l.rotationY=rt("rotationY"in y?y.rotationY:"shortRotationY"in y?y.shortRotationY+"_short":m.rotationY*O||0,m.rotationY,"rotationY",b)),l.skewX=null==y.skewX?m.skewX:rt(y.skewX,m.skewX),l.skewY=null==y.skewY?m.skewY:rt(y.skewY,m.skewY),(u=l.skewY-m.skewY)&&(l.skewX+=u,l.rotation+=u)}for(p=m.z||m.rotationX||m.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,p||null==y.scale||(l.scaleZ=1);--_>-1;)i=_t[_],c=l[i]-m[i],(c>v||-v>c||null!=$[i])&&(f=!0,s=new pt(m,i,m[i],c,s),i in b&&(s.e=b[i]),s.xs0=0,s.plugin=o,n._overwriteProps.push(s.n));return c=y.transformOrigin,(c||wt&&p&&m.zOrigin)&&(yt?(f=!0,c=(c||V(t,i,r,!1,"50% 50%"))+"",i=xt,s=new pt(g,i,0,0,s,-1,"css_transformOrigin"),s.b=g[i],s.plugin=o,wt?(h=m.zOrigin,c=c.split(" "),m.zOrigin=(c.length>2?parseFloat(c[2]):h)||0,s.xs0=s.e=g[i]=c[0]+" "+(c[1]||"50%")+" 0px",s=new pt(m,"zOrigin",0,0,s,-1,s.n),s.b=h,s.xs0=s.e=m.zOrigin):s.xs0=s.e=g[i]=c):et(c+"",m)),f&&(n._transformType=p||3===this._transformType?3:2),s},prefix:!0}),gt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),gt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o){e=this.format(e);var a,l,u,h,c,p,f,d,m,g,v,_,y,b,x,w,T=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],C=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),a=e.split(" "),l=0;T.length>l;l++)this.p.indexOf("border")&&(T[l]=z(T[l])),c=h=V(t,T[l],r,!1,"0px"),-1!==c.indexOf(" ")&&(h=c.split(" "),c=h[0],h=h[1]),p=u=a[l],f=parseFloat(c),_=c.substr((f+"").length),y="="===p.charAt(1),y?(d=parseInt(p.charAt(0)+"1",10),p=p.substr(2),d*=parseFloat(p),v=p.substr((d+"").length-(0>d?1:0))||""):(d=parseFloat(p),v=p.substr((d+"").length)),""===v&&(v=n[i]||_),v!==_&&(b=Y(t,"borderLeft",f,_),x=Y(t,"borderTop",f,_),"%"===v?(c=100*(b/m)+"%",h=100*(x/g)+"%"):"em"===v?(w=Y(t,"borderLeft",1,"em"),c=b/w+"em",h=x/w+"em"):(c=b+"px",h=x+"px"),y&&(p=parseFloat(c)+d+v,u=parseFloat(h)+d+v)),o=ft(C,T[l],c+" "+h,p+" "+u,!1,"0px",o);return o},prefix:!0,formatter:ut("0px 0px 0px 0px",!1,!0)}),gt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,o){var a,l,u,h,c,p,f="background-position",m=r||W(t,null),g=this.format((m?d?m.getPropertyValue(f+"-x")+" "+m.getPropertyValue(f+"-y"):m.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&(p=V(t,"backgroundImage").replace(S,""),p&&"none"!==p)){for(a=g.split(" "),l=v.split(" "),L.setAttribute("src",p),u=2;--u>-1;)g=a[u],h=-1!==g.indexOf("%"),h!==(-1!==l[u].indexOf("%"))&&(c=0===u?t.offsetWidth-L.width:t.offsetHeight-L.height,a[u]=h?parseFloat(g)/100*c+"px":100*(parseFloat(g)/c)+"%");g=a.join(" ")}return this.parseComplex(t.style,g,v,s,o)},formatter:et}),gt("backgroundSize",{defaultValue:"0 0",formatter:et}),gt("perspective",{defaultValue:"0px",prefix:!0}),gt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),gt("transformStyle",{prefix:!0}),gt("backfaceVisibility",{prefix:!0}),gt("margin",{parser:ht("marginTop,marginRight,marginBottom,marginLeft")}),gt("padding",{parser:ht("paddingTop,paddingRight,paddingBottom,paddingLeft")}),gt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,o){var a,l,u;return 9>d?(l=t.currentStyle,u=8>d?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(V(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),gt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),gt("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),gt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,o){return this.parseComplex(t.style,this.format(V(t,"borderTopWidth",r,!1,"0px")+" "+V(t,"borderTopStyle",r,!1,"solid")+" "+V(t,"borderTopColor",r,!1,"#000")),this.format(e),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(lt)||["#000"])[0]}}),gt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r){var s=t.style,o="cssFloat"in s?"cssFloat":"styleFloat";return new pt(s,o,0,0,r,-1,i,!1,0,s[o],e)}});var Pt=function(t){var e,i=this.t,n=i.filter,r=0|this.s+this.c*t;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")?(i.removeAttribute("filter"),e=!V(this.data,"filter")):(i.filter=n.replace(w,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity=100)"),-1===n.indexOf("opacity")?i.filter+=" alpha(opacity="+r+")":i.filter=n.replace(b,"opacity="+r))};gt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,o){var a,l=parseFloat(V(t,"opacity",r,!1,"1")),u=t.style;return e=parseFloat(e),"autoAlpha"===i&&(a=V(t,"visibility",r),1===l&&"hidden"===a&&0!==e&&(l=0),s=new pt(u,"visibility",0,0,s,-1,null,!1,0,0!==l?"visible":"hidden",0===e?"hidden":"visible"),s.xs0="visible",n._overwriteProps.push(s.n)),H?s=new pt(u,"opacity",l,e-l,s):(s=new pt(u,"opacity",100*l,100*(e-l),s),s.xn1="autoAlpha"===i?1:0,u.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Pt),s}});var Nt=function(t,e){e&&(t.removeProperty?t.removeProperty(e.replace(C,"-$1").toLowerCase()):t.removeAttribute(e))},At=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.className=0===t?this.b:this.e;for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Nt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.className!==this.e&&(this.t.className=this.e)};gt("className",{parser:function(t,e,n,s,o,a,l){var u,h,c,p,f,d=t.className,m=t.style.cssText;if(o=s._classNamePT=new pt(t,n,0,0,o,2),o.setRatio=At,o.pr=-11,i=!0,o.b=d,h=G(t,r),c=t._gsClassPT){for(p={},f=c.data;f;)p[f.p]=1,f=f._next;c.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(RegExp("\\s*\\b"+e.substr(2)+"\\b"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),s._tween._duration&&(t.className=o.e,u=Z(t,h,G(t),l,p),t.className=d,o.data=u.firstMPT,t.style.cssText=m,o=o.xfirst=s.parse(t,u.difs,o,a)),o}});var Et=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration)for(var e,i="all"===this.e,n=this.t.style,r=i?n.cssText.split(";"):this.e.split(","),s=r.length,o=a.transform.parse;--s>-1;)e=r[s],i&&(e=e.substr(0,e.indexOf(":")).split(" ").join("")),a[e]&&(e=a[e].parse===o?yt:a[e].p),Nt(n,e)};for(gt("clearProps",{parser:function(t,e,n,r,s){return s=new pt(t,n,0,0,s,2),s.setRatio=Et,s.e=e,s.pr=-10,s.data=r._tween,i=!0,s}}),l="bezier,throwProps,physicsProps,physics2D".split(","),dt=l.length;dt--;)vt(l[dt]);l=o.prototype,l._firstPT=null,l._onInitTween=function(t,e,a){if(!t.nodeType)return!1;this._target=t,this._tween=a,this._vars=e,u=e.autoRound,i=!1,n=e.suffixMap||o.suffixMap,r=W(t,""),s=this._overwriteProps;var l,p,d,m,g,v,_,y,b,w=t.style;if(h&&""===w.zIndex&&(l=V(t,"zIndex",r),("auto"===l||""===l)&&(w.zIndex=0)),"string"==typeof e&&(m=w.cssText,l=G(t,r),w.cssText=m+";"+e,l=Z(t,l,G(t)).difs,!H&&x.test(e)&&(l.opacity=parseFloat(RegExp.$1)),e=l,w.cssText=m),this._firstPT=p=this.parse(t,e,null),this._transformType){for(b=3===this._transformType,yt?c&&(h=!0,""===w.zIndex&&(_=V(t,"zIndex",r),("auto"===_||""===_)&&(w.zIndex=0)),f&&(w.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(b?"visible":"hidden"))):w.zoom=1,d=p;d&&d._next;)d=d._next;y=new pt(t,"transform",0,0,null,2),this._linkCSSP(y,null,d),y.setRatio=b&&wt?kt:yt?St:Ct,y.data=this._transform||Tt(t,r,!0),s.pop()}if(i){for(;p;){for(v=p._next,d=m;d&&d.pr>p.pr;)d=d._next;(p._prev=d?d._prev:g)?p._prev._next=p:m=p,(p._next=d)?d._prev=p:g=p,p=v}this._firstPT=m}return!0},l.parse=function(t,e,i,s){var o,l,h,c,p,f,d,m,g,v,_=t.style;for(o in e)f=e[o],l=a[o],l?i=l.parse(t,f,o,this,i,s,e):(p=V(t,o,r)+"",g="string"==typeof f,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||g&&T.test(f)?(g||(f=at(f),f=(f.length>3?"rgba(":"rgb(")+f.join(",")+")"),i=ft(_,o,p,f,!0,"transparent",i,0,s)):!g||-1===f.indexOf(" ")&&-1===f.indexOf(",")?(h=parseFloat(p),d=h||0===h?p.substr((h+"").length):"",(""===p||"auto"===p)&&("width"===o||"height"===o?(h=tt(t,o,r),d="px"):"left"===o||"top"===o?(h=Q(t,o,r),d="px"):(h="opacity"!==o?0:1,d="")),v=g&&"="===f.charAt(1),v?(c=parseInt(f.charAt(0)+"1",10),f=f.substr(2),c*=parseFloat(f),m=f.replace(y,"")):(c=parseFloat(f),m=g?f.substr((c+"").length)||"":""),""===m&&(m=n[o]||d),f=c||0===c?(v?c+h:c)+m:e[o],d!==m&&""!==m&&(c||0===c)&&(h||0===h)&&(h=Y(t,o,h,d),"%"===m?(h/=Y(t,o,100,"%")/100,h>100&&(h=100),e.strictUnits!==!0&&(p=h+"%")):"em"===m?h/=Y(t,o,1,"em"):(c=Y(t,o,c,m),m="px"),v&&(c||0===c)&&(f=c+h+m)),v&&(c+=h),!h&&0!==h||!c&&0!==c?void 0!==_[o]&&(f||"NaN"!=f+""&&null!=f)?(i=new pt(_,o,c||h||0,0,i,-1,"css_"+o,!1,0,p,f),i.xs0="none"!==f||"display"!==o&&-1===o.indexOf("Style")?f:p):q("invalid "+o+" tween value: "+e[o]):(i=new pt(_,o,h,c-h,i,0,"css_"+o,u!==!1&&("px"===m||"zIndex"===o),0,p,f),i.xs0=m)):i=ft(_,o,p,f,!0,null,i,0,s)),s&&i&&!i.plugin&&(i.plugin=s);return i},l.setRatio=function(t){var e,i,n,r=this._firstPT,s=1e-6;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;r;){if(e=r.c*t+r.s,r.r?e=e>0?0|e+.5:0|e-.5:s>e&&e>-s&&(e=0),r.type)if(1===r.type)if(n=r.l,2===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;r.l>n;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(t),r=r._next},l._enableTransforms=function(t){this._transformType=t||3===this._transformType?3:2},l._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next),t._next=e,t._prev=i),t},l._kill=function(e){var i,n,r,s=e;if(e.css_autoAlpha||e.css_alpha){s={};for(n in e)s[n]=e[n];s.css_opacity=1,s.css_autoAlpha&&(s.css_visibility=1)}return e.css_className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),t.prototype._kill.call(this,s)};var Dt=function(t,e,i){var n,r,s,o;if(t.slice)for(r=t.length;--r>-1;)Dt(t[r],e,i);else for(n=t.childNodes,r=n.length;--r>-1;)s=n[r],o=s.type,s.style&&(e.push(G(s)),i&&i.push(s)),1!==o&&9!==o&&11!==o||!s.childNodes.length||Dt(s,e,i)};return o.cascadeTo=function(t,i,n){var r,s,o,a=e.to(t,i,n),l=[a],u=[],h=[],c=[],p=e._internals.reservedProps;for(t=a._targets||a.target,Dt(t,u,c),a.render(i,!0),Dt(t,h),a.render(0,!0),a._enabled(!0),r=c.length;--r>-1;)if(s=Z(c[r],u[r],h[r]),s.firstMPT){s=s.difs;for(o in n)p[o]&&(s[o]=n[o]);l.push(e.to(c[r],i,s))}return l},t.activate([o]),o},!0),function(){var t=window._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=t.prototype;e._onInitAllProps=function(){for(var t,e,i,n=this._tween,r=n.vars.roundProps instanceof Array?n.vars.roundProps:n.vars.roundProps.split(","),s=r.length,o={},a=n._propLookup.roundProps;--s>-1;)o[r[s]]=1;for(s=r.length;--s>-1;)for(t=r[s],e=n._firstPT;e;)i=e._next,e.pg?e.t._roundProps(o,!0):e.n===t&&(this._add(e.t,t,e.s,e.c),i&&(i._prev=e._prev),e._prev?e._prev._next=i:n._firstPT===e&&(n._firstPT=i),e._next=e._prev=null,n._propLookup[t]=a),e=i;return!1},e._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,!0),this._overwriteProps.push(e)}}(),window._gsDefine.plugin({propName:"attr",API:2,init:function(t,e){var i;if("function"!=typeof t.setAttribute)return!1;
this._target=t,this._proxy={};for(i in e)this._addTween(this._proxy,i,parseFloat(t.getAttribute(i)),e[i],i),this._overwriteProps.push(i);return!0},set:function(t){this._super.setRatio.call(this,t);for(var e,i=this._overwriteProps,n=i.length;--n>-1;)e=i[n],this._target.setAttribute(e,this._proxy[e]+"")}}),window._gsDefine.plugin({propName:"directionalRotation",API:2,init:function(t,e){"object"!=typeof e&&(e={rotation:e}),this.finals={};var i,n,r,s,o,a,l=e.useRadians===!0?2*Math.PI:360,u=1e-6;for(i in e)"useRadians"!==i&&(a=(e[i]+"").split("_"),n=a[0],r=parseFloat("function"!=typeof t[i]?t[i]:t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]()),s=this.finals[i]="string"==typeof n&&"="===n.charAt(1)?r+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0,o=s-r,a.length&&(n=a.join("_"),-1!==n.indexOf("short")&&(o%=l,o!==o%(l/2)&&(o=0>o?o+l:o-l)),-1!==n.indexOf("_cw")&&0>o?o=(o+9999999999*l)%l-(0|o/l)*l:-1!==n.indexOf("ccw")&&o>0&&(o=(o-9999999999*l)%l-(0|o/l)*l)),(o>u||-u>o)&&(this._addTween(t,i,r,r+o,i),this._overwriteProps.push(i)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,window._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,r=window.GreenSockGlobals||window,s=r.com.greensock,o=2*Math.PI,a=Math.PI/2,l=s._class,u=function(e,i){var n=l("easing."+e,function(){},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,n},h=t.register||function(){},c=function(t,e,i,n){var r=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return h(r,t),r},p=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},f=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=n.prototype=new t;return r.constructor=n,r.getRatio=i,r.config=function(t){return new n(t)},n},d=c("Back",f("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),f("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),f("BackInOut",function(t){return 1>(t*=2)?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return this._p1>t?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=l("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},g.config=e.config=function(t){return new e(t)},i=l("easing.RoughEase",function(e){e=e||{};for(var i,n,r,s,o,a,l=e.taper||"none",u=[],h=0,c=0|(e.points||20),f=c,d=e.randomize!==!1,m=e.clamp===!0,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=d?Math.random():1/c*f,n=g?g.getRatio(i):i,"none"===l?r=v:"out"===l?(s=1-i,r=s*s*v):"in"===l?r=i*i*v:.5>i?(s=2*i,r=.5*s*s*v):(s=2*(1-i),r=.5*s*s*v),d?n+=Math.random()*r-.5*r:f%2?n+=.5*r:n-=.5*r,m&&(n>1?n=1:0>n&&(n=0)),u[h++]={x:i,y:n};for(u.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=c;--f>-1;)o=u[f],a=new p(o.x,o.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&e.t>=t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,c("Bounce",u("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return 1/2.75>(t=1-t)?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),c("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return 1>(t*=2)?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var r=l("easing."+e,function(t,e){this._p1=t||1,this._p2=e||n,this._p3=this._p2/o*(Math.asin(1/this._p1)||0)},!0),s=r.prototype=new t;return s.constructor=r,s.getRatio=i,s.config=function(t,e){return new r(t,e)},r},c("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*o/this._p2)+1},.3),n("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2))},.3),n("ElasticInOut",function(t){return 1>(t*=2)?-.5*this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*o/this._p2):.5*this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*o/this._p2)+1},.45)),c("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return 1>(t*=2)?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),c("Sine",u("SineOut",function(t){return Math.sin(t*a)}),u("SineIn",function(t){return-Math.cos(t*a)+1}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),h(r.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),d},!0)}),function(t){"use strict";var e,i,n,r,s,o=t.GreenSockGlobals||t,a=function(t){var e,i=t.split("."),n=o;for(e=0;i.length>e;e++)n[i[e]]=n=n[i[e]]||{};return n},l=a("com.greensock"),u=[].slice,h=function(){},c={},p=function(e,i,n,r){this.sc=c[e]?c[e].sc:[],c[e]=this,this.gsClass=null,this.func=n;var s=[];this.check=function(l){for(var u,h,f,d,m=i.length,g=m;--m>-1;)(u=c[i[m]]||new p(i[m],[])).gsClass?(s[m]=u.gsClass,g--):l&&u.sc.push(this);if(0===g&&n)for(h=("com.greensock."+e).split("."),f=h.pop(),d=a(h.join("."))[f]=this.gsClass=n.apply(n,s),r&&(o[f]=d,"function"==typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return d}):"undefined"!=typeof module&&module.exports&&(module.exports=d)),m=0;this.sc.length>m;m++)this.sc[m].check()},this.check(!0)},f=t._gsDefine=function(t,e,i,n){return new p(t,e,i,n)},d=l._class=function(t,e,i){return e=e||function(){},f(t,[],function(){return e},i),e};f.globals=o;var m=[0,0,1,1],g=[],v=d("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?m.concat(e):m},!0),_=v.map={},y=v.register=function(t,e,i,n){for(var r,s,o,a,u=e.split(","),h=u.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=u[h],r=n?d("easing."+s,null,!0):l.easing[s]||{},o=c.length;--o>-1;)a=c[o],_[s+"."+a]=_[a+s]=r[a]=t.getRatio?t:t[a]||new t};for(n=v.prototype,n._calcEnd=!1,n.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},e=["Linear","Quad","Cubic","Quart","Quint,Strong"],i=e.length;--i>-1;)n=e[i]+",Power"+i,y(new v(null,null,1,i),n,"easeOut",!0),y(new v(null,null,2,i),n,"easeIn"+(0===i?",easeNone":"")),y(new v(null,null,3,i),n,"easeInOut");_.linear=l.easing.Linear.easeIn,_.swing=l.easing.Quad.easeInOut;var b=d("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});n=b.prototype,n.addEventListener=function(t,e,i,n,o){o=o||0;var a,l,u=this._listeners[t],h=0;for(null==u&&(this._listeners[t]=u=[]),l=u.length;--l>-1;)a=u[l],a.c===e&&a.s===i?u.splice(l,1):0===h&&o>a.pr&&(h=l+1);u.splice(h,0,{c:e,s:i,up:n,pr:o}),this!==r||s||r.wake()},n.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},n.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for(e=r.length,i=this._eventTarget;--e>-1;)n=r[e],n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i)};var x=t.requestAnimationFrame,w=t.cancelAnimationFrame,T=Date.now||function(){return(new Date).getTime()};for(e=["ms","moz","webkit","o"],i=e.length;--i>-1&&!x;)x=t[e[i]+"RequestAnimationFrame"],w=t[e[i]+"CancelAnimationFrame"]||t[e[i]+"CancelRequestAnimationFrame"];d("Ticker",function(t,e){var i,n,o,a,l,u=this,c=T(),p=e!==!1&&x,f=function(t){u.time=(T()-c)/1e3;var e=o,r=u.time-l;(!i||r>0||t===!0)&&(u.frame++,l+=r+(r>=a?.004:a-r),u.dispatchEvent("tick")),t!==!0&&e===o&&(o=n(f))};b.call(u),this.time=this.frame=0,this.tick=function(){f(!0)},this.sleep=function(){null!=o&&(p&&w?w(o):clearTimeout(o),n=h,o=null,u===r&&(s=!1))},this.wake=function(){null!==o&&u.sleep(),n=0===i?h:p&&x?x:function(t){return setTimeout(t,0|1e3*(l-u.time)+1)},u===r&&(s=!0),f(2)},this.fps=function(t){return arguments.length?(i=t,a=1/(i||60),l=this.time+a,void u.wake()):i},this.useRAF=function(t){return arguments.length?(u.sleep(),p=t,void u.fps(i)):p},u.fps(t),setTimeout(function(){p&&(!o||5>u.frame)&&u.useRAF(!1)},1500)}),n=l.Ticker.prototype=new l.events.EventDispatcher,n.constructor=l.Ticker;var C=d("core.Animation",function(t,e){if(this.vars=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(this.vars.delay)||0,this._timeScale=1,this._active=this.vars.immediateRender===!0,this.data=this.vars.data,this._reversed=this.vars.reversed===!0,M){s||r.wake();var i=this.vars.useFrames?I:M;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});r=C.ticker=new l.Ticker,n=C.prototype,n._dirty=n._gc=n._initted=n._paused=!1,n._totalTime=n._time=0,n._rawPrevTime=-1,n._next=n._last=n._onUpdate=n._timeline=n.timeline=null,n._paused=!1,n.play=function(t,e){return arguments.length&&this.seek(t,e),this.reversed(!1).paused(!1)},n.pause=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!0)},n.resume=function(t,e){return arguments.length&&this.seek(t,e),this.paused(!1)},n.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},n.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},n.reverse=function(t,e){return arguments.length&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},n.render=function(){},n.invalidate=function(){return this},n._enabled=function(t,e){return s||r.wake(),this._gc=!t,this._active=t&&!this._paused&&this._totalTime>0&&this._totalTime<this._totalDuration,e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},n._kill=function(){return this._enabled(!1,!1)},n.kill=function(t,e){return this._kill(t,e),this},n._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},n.eventCallback=function(t,e,i,n){if(null==t)return null;if("on"===t.substr(0,2)){var r,s=this.vars;if(1===arguments.length)return s[t];if(null==e)delete s[t];else if(s[t]=e,s[t+"Params"]=i,s[t+"Scope"]=n,i)for(r=i.length;--r>-1;)"{self}"===i[r]&&(i=s[t+"Params"]=i.concat(),i[r]=this);"onUpdate"===t&&(this._onUpdate=e)}return this},n.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},n.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},n.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},n.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},n.totalTime=function(t,e,i){if(s||r.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,o=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:o._time)-(this._reversed?n-t:t)/this._timeScale,o._dirty||this._uncache(!1),!o._active)for(;o._timeline;)o.totalTime(o._totalTime,!0),o=o._timeline}this._gc&&this._enabled(!0,!1),this._totalTime!==t&&this.render(t,e,!1)}return this},n.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},n.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||1e-6,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},n.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._totalTime,!0)),this):this._reversed},n.paused=function(t){if(!arguments.length)return this._paused;if(t!=this._paused&&this._timeline){s||t||r.wake();var e=this._timeline.rawTime(),i=e-this._pauseTime;!t&&this._timeline.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=!t&&this._totalTime>0&&this._totalTime<this._totalDuration,t||0===i||0===this._duration||this.render(this._totalTime,!0,!0)}return this._gc&&!t&&this._enabled(!0,!1),this};var k=d("core.SimpleTimeline",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});n=k.prototype=new C,n.constructor=k,n.kill()._gc=!1,n._first=n._last=null,n._sortChildren=!1,n.add=n.insert=function(t,e){var i,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),i=this._last,this._sortChildren)for(n=t._startTime;i&&i._startTime>n;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._timeline&&this._uncache(!0),this},n._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t.timeline=null,t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),this._timeline&&this._uncache(!0)),this},n.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=n},n.rawTime=function(){return s||r.wake(),this._totalTime};var S=d("TweenLite",function(t,e,i){if(C.call(this,e,i),null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:S.selector(t)||t;var n,r,s,o=t.jquery||t.length&&t[0]&&t[0].nodeType&&t[0].style,a=this.vars.overwrite;if(this._overwrite=a=null==a?$[S.defaultOverwrite]:"number"==typeof a?a>>0:$[a],(o||t instanceof Array)&&"number"!=typeof t[0])for(this._targets=s=u.call(t,0),this._propLookup=[],this._siblings=[],n=0;s.length>n;n++)r=s[n],r?"string"!=typeof r?r.length&&r[0]&&r[0].nodeType&&r[0].style?(s.splice(n--,1),this._targets=s=s.concat(u.call(r,0))):(this._siblings[n]=L(r,this,!1),1===a&&this._siblings[n].length>1&&F(r,this,null,1,this._siblings[n])):(r=s[n--]=S.selector(r),"string"==typeof r&&s.splice(n+1,1)):s.splice(n--,1);else this._propLookup={},this._siblings=L(t,this,!1),1===a&&this._siblings.length>1&&F(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&this.vars.immediateRender!==!1)&&this.render(-this._delay,!1,!0)},!0),P=function(t){return t.length&&t[0]&&t[0].nodeType&&t[0].style},N=function(t,e){var i,n={};for(i in t)O[i]||i in e&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i||!(!E[i]||E[i]&&E[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};n=S.prototype=new C,n.constructor=S,n.kill()._gc=!1,n.ratio=0,n._firstPT=n._targets=n._overwrittenProps=n._startAt=null,n._notifyPluginsOfEnabled=!1,S.version="1.9.7",S.defaultEase=n._ease=new v(null,null,1,1),S.defaultOverwrite="auto",S.ticker=r,S.autoSleep=!0,S.selector=t.$||t.jQuery||function(e){return t.$?(S.selector=t.$,t.$(e)):t.document?t.document.getElementById("#"===e.charAt(0)?e.substr(1):e):e};var A=S._internals={},E=S._plugins={},D=S._tweenLookup={},R=0,O=A.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},$={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},I=C._rootFramesTimeline=new k,M=C._rootTimeline=new k;M._startTime=r.time,I._startTime=r.frame,M._active=I._active=!0,C._updateRoot=function(){if(M.render((r.time-M._startTime)*M._timeScale,!1,!1),I.render((r.frame-I._startTime)*I._timeScale,!1,!1),!(r.frame%120)){var t,e,i;for(i in D){for(e=D[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete D[i]}if(i=M._first,(!i||i._paused)&&S.autoSleep&&!I._first&&1===r._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||r.sleep()}}},r.addEventListener("tick",C._updateRoot);var L=function(t,e,i){var n,r,s=t._gsTweenID;if(D[s||(t._gsTweenID=s="t"+R++)]||(D[s]={target:t,tweens:[]}),e&&(n=D[s].tweens,n[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return D[s].tweens},F=function(t,e,i,n,r){var s,o,a,l;if(1===n||n>=4){for(l=r.length,s=0;l>s;s++)if((a=r[s])!==e)a._gc||a._enabled(!1,!1)&&(o=!0);else if(5===n)break;return o}var u,h=e._startTime+1e-10,c=[],p=0,f=0===e._duration;for(s=r.length;--s>-1;)(a=r[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||j(e,0,f),0===j(a,u,f)&&(c[p++]=a)):h>=a._startTime&&a._startTime+a.totalDuration()/a._timeScale+1e-10>h&&((f||!a._initted)&&2e-10>=h-a._startTime||(c[p++]=a)));for(s=p;--s>-1;)a=c[s],2===n&&a._kill(i,t)&&(o=!0),(2!==n||!a._firstPT&&a._initted)&&a._enabled(!1,!1)&&(o=!0);return o},j=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime,o=1e-10;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return s/=r,s>e?s-e:i&&s===e||!t._initted&&2*o>s-e?o:(s+=t.totalDuration()/t._timeScale/r)>e+o?0:s-e-o};n._init=function(){var t,e,i,n,r=this.vars,s=this._overwrittenProps,o=this._duration,a=r.ease;if(r.startAt){if(r.startAt.overwrite=0,r.startAt.immediateRender=!0,this._startAt=S.to(this.target,0,r.startAt),r.immediateRender&&(this._startAt=null,0===this._time&&0!==o))return}else if(r.runBackwards&&r.immediateRender&&0!==o)if(this._startAt)this._startAt.render(-1,!0),this._startAt=null;else if(0===this._time){i={};for(n in r)O[n]&&"autoCSS"!==n||(i[n]=r[n]);return i.overwrite=0,void(this._startAt=S.to(this.target,0,i))}if(this._ease=a?a instanceof v?r.easeParams instanceof Array?a.config.apply(a,r.easeParams):a:"function"==typeof a?new v(a,r.easeParams):_[a]||S.defaultEase:S.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=this._targets.length;--t>-1;)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],s?s[t]:null)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,s);if(e&&S._onPluginEvent("_onInitAllProps",this),s&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},n._initProps=function(t,e,i,n){var r,s,o,a,l,u,h;if(null==t)return!1;this.vars.css||t.style&&t.nodeType&&E.css&&this.vars.autoCSS!==!1&&N(this.vars,t);for(r in this.vars){if(O[r]){if(("onStartParams"===r||"onUpdateParams"===r||"onCompleteParams"===r||"onReverseCompleteParams"===r||"onRepeatParams"===r)&&(l=this.vars[r]))for(s=l.length;--s>-1;)"{self}"===l[s]&&(l=this.vars[r]=l.concat(),l[s]=this)}else if(E[r]&&(a=new E[r])._onInitTween(t,this.vars[r],this)){for(this._firstPT=u={_next:this._firstPT,t:a,p:"setRatio",s:0,c:1,f:!0,n:r,pg:!0,pr:a._priority},s=a._overwriteProps.length;--s>-1;)e[a._overwriteProps[s]]=this._firstPT;(a._priority||a._onInitAllProps)&&(o=!0),(a._onDisable||a._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=e[r]=u={_next:this._firstPT,t:t,p:r,f:"function"==typeof t[r],n:r,pg:!1,pr:0},u.s=u.f?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),h=this.vars[r],u.c="string"==typeof h&&"="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*Number(h.substr(2)):Number(h)-u.s||0;u&&u._next&&(u._next._prev=u)}return n&&this._kill(n,t)?this._initProps(t,e,i,n):this._overwrite>1&&this._firstPT&&i.length>1&&F(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,n)):o},n.render=function(t,e,i){var n,r,s,o=this._time;if(t>=this._duration)this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete"),0===this._duration&&((0===t||0>this._rawPrevTime)&&this._rawPrevTime!==t&&(i=!0,this._rawPrevTime>0&&(r="onReverseComplete",e&&(t=-1))),this._rawPrevTime=t);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===this._duration&&this._rawPrevTime>0)&&(r="onReverseComplete",n=this._reversed),0>t?(this._active=!1,0===this._duration&&(this._rawPrevTime>=0&&(i=!0),this._rawPrevTime=t)):this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var a=t/this._duration,l=this._easeType,u=this._easePower;(1===l||3===l&&a>=.5)&&(a=1-a),3===l&&(a*=2),1===u?a*=a:2===u?a*=a*a:3===u?a*=a*a*a:4===u&&(a*=a*a*a*a),this.ratio=1===l?1-a:2===l?a:.5>t/this._duration?a/2:1-a/2}else this.ratio=this._ease.getRatio(t/this._duration);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted)return;this._time&&!n?this.ratio=this._ease.getRatio(this._time/this._duration):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._active||this._paused||(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===this._duration)&&(e||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||g))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>t&&this._startAt&&this._startAt.render(t,e,i),e||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||g)),r&&(this._gc||(0>t&&this._startAt&&!this._onUpdate&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||g)))}},n._kill=function(t,e){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:S.selector(e)||e;var i,n,r,s,o,a,l,u;if((e instanceof Array||P(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i])&&(a=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){o=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){l=t||o,u=t!==n&&"all"!==n&&t!==o&&(null==t||t._tempKill!==!0);for(r in l)(s=o[r])&&(s.pg&&s.t._kill(l)&&(a=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete o[r]),u&&(n[r]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return a},n.invalidate=function(){return this._notifyPluginsOfEnabled&&S._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=!1,this._propLookup=this._targets?{}:[],this},n._enabled=function(t,e){if(s||r.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=L(n[i],this,!0);else this._siblings=L(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),this._notifyPluginsOfEnabled&&this._firstPT?S._onPluginEvent(t?"_onEnable":"_onDisable",this):!1},S.to=function(t,e,i){return new S(t,e,i)},S.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new S(t,e,i)},S.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new S(t,e,n)},S.delayedCall=function(t,e,i,n,r){return new S(e,0,{delay:t,onComplete:e,onCompleteParams:i,onCompleteScope:n,onReverseComplete:e,onReverseCompleteParams:i,onReverseCompleteScope:n,immediateRender:!1,useFrames:r,overwrite:0})},S.set=function(t,e){return new S(t,0,e)},S.killTweensOf=S.killDelayedCallsTo=function(t,e){for(var i=S.getTweensOf(t),n=i.length;--n>-1;)i[n]._kill(e,t)},S.getTweensOf=function(t){if(null==t)return[];t="string"!=typeof t?t:S.selector(t)||t;var e,i,n,r;if((t instanceof Array||P(t))&&"number"!=typeof t[0]){for(e=t.length,i=[];--e>-1;)i=i.concat(S.getTweensOf(t[e]));for(e=i.length;--e>-1;)for(r=i[e],n=e;--n>-1;)r===i[n]&&i.splice(e,1)}else for(i=L(t).concat(),e=i.length;--e>-1;)i[e]._gc&&i.splice(e,1);return i};var H=d("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=H.prototype},!0);if(n=H.prototype,H.version="1.9.1",H.API=2,n._firstPT=null,n._addTween=function(t,e,i,n,r,s){var o,a;null!=n&&(o="number"==typeof n||"="!==n.charAt(1)?Number(n)-i:parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)))&&(this._firstPT=a={_next:this._firstPT,t:t,p:e,s:i,c:o,f:"function"==typeof t[e],n:r||e,r:s},a._next&&(a._next._prev=a))},n.setRatio=function(t){for(var e,i=this._firstPT,n=1e-6;i;)e=i.c*t+i.s,i.r?e=e+(e>0?.5:-.5)>>0:n>e&&e>-n&&(e=0),i.f?i.t[i.p](e):i.t[i.p]=e,i=i._next},n._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},n._roundProps=function(t,e){for(var i=this._firstPT;i;)(t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&(i.r=e),i=i._next},S._onPluginEvent=function(t,e){var i,n,r,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:s)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:s=a,a=o}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},H.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===H.API&&(E[(new t[e])._propName]=t[e]);return!0},f.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},o=d("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){H.call(this,i,n),this._overwriteProps=r||[]},t.global===!0),a=o.prototype=new H(i);a.constructor=o,o.API=t.API;for(e in s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,H.activate([o]),o},e=t._gsQueue){for(i=0;e.length>i;i++)e[i]();for(n in c)c[n].func||t.console.log("GSAP encountered missing dependency: com.greensock."+n)}s=!1}(window),function(t){t.superscrollorama=function(e){function i(){p.scroll(function(){g=!0}),TweenLite.ticker.addEventListener("tick",r)}function n(t){var e={top:parseFloat(t.css("top")),left:parseFloat(t.css("left"))};return isNaN(e.top)&&(e.top=0),isNaN(e.left)&&(e.left=0),e}function r(){g&&(a(),g=!1)}function s(t){t.el.css("position",t.origPositioning.pos),t.el.css("top",t.origPositioning.top),t.el.css("left",t.origPositioning.left)}function o(t,e){t&&(t.totalProgress?t.totalProgress(e).pause():t.progress(e).pause())}function a(){var e,i,r,a=l.settings.isVertical?p.scrollTop()+m.y:p.scrollLeft()+m.x,u=l.settings.triggerAtCenter?l.settings.isVertical?-p.height()/2:-p.width()/2:0,c=f.length;for(e=0;c>e;e++){var g=f[e],v=g.target,_=g.offset;if("string"==typeof v?(h=t(v).offset()||{},i=l.settings.isVertical?h.top+m.y:h.left+m.x,_+=u):"number"==typeof v?i=v:t.isFunction(v)?i=v.call(this):(h=v.offset(),i=l.settings.isVertical?h.top+m.y:h.left+m.x,_+=u),i+=_,r=i+g.dur,a>i&&r>a&&"TWEENING"!==g.state&&(g.state="TWEENING",g.start=i,g.end=r),i>a&&"BEFORE"!==g.state&&g.reverse)l.settings.playoutAnimations||0===g.dur?g.tween.reverse():o(g.tween,0),g.state="BEFORE";else if(a>r&&"AFTER"!==g.state)l.settings.playoutAnimations||0===g.dur?g.tween.play():o(g.tween,1),g.state="AFTER";else if("TWEENING"===g.state){var y=!1;if(g.tween.repeat&&(y=-1===g.tween.repeat()),y){var b=g.tween.totalProgress();(null===g.playeadLastPosition||b===g.playeadLastPosition)&&(1===b?g.tween.yoyo()?g.tween.reverse():g.tween.totalProgress(0).play():g.tween.play()),g.playeadLastPosition=b}else o(g.tween,(a-g.start)/(g.end-g.start))}}var x=d.length;for(e=0;x>e;e++){var w=d[e],T=w.el;if("PINNED"!==w.state){var C=w.spacer.offset();"UPDATE"===w.state&&s(w),i=l.settings.isVertical?C.top+m.y:C.left+m.x,i+=w.offset,r=i+w.dur;var k=a>r&&"BEFORE"===w.state||i>a&&"AFTER"===w.state,S=a>i&&r>a;(S||k)&&(w.pushFollowers&&"static"===T.css("position")&&T.css("position","relative"),w.origPositioning={pos:T.css("position"),top:w.spacer.css("top"),left:w.spacer.css("left")},w.fixedPositioning={top:l.settings.isVertical?-w.offset:C.top,left:l.settings.isVertical?C.left:-w.offset},T.css("position","fixed"),T.css("top",w.fixedPositioning.top),T.css("left",w.fixedPositioning.left),w.pinStart=i,w.pinEnd=r,w.pushFollowers?l.settings.isVertical?w.spacer.height(w.dur+T.outerHeight(!0)):w.spacer.width(w.dur+T.outerWidth(!0)):"absolute"===w.origPositioning.pos?(w.spacer.width(0),w.spacer.height(0)):l.settings.isVertical?w.spacer.height(T.outerHeight(!0)):w.spacer.width(T.outerWidth(!0)),"UPDATE"===w.state?w.anim&&o(w.anim,0):w.onPin&&w.onPin("AFTER"===w.state),w.state="PINNED")}if("PINNED"===w.state)if(a<w.pinStart||a>w.pinEnd){var P=a<w.pinStart;w.state=P?"BEFORE":"AFTER",o(w.anim,P?0:1);var N=P?0:w.dur;l.settings.isVertical?w.spacer.height(w.pushFollowers?N:0):w.spacer.width(w.pushFollowers?N:0);var A=w.fixedPositioning.top-n(w.el).top,E=w.fixedPositioning.left-n(w.el).left;if(s(w),!w.pushFollowers||"absolute"===w.origPositioning.pos){var D;"relative"===w.origPositioning.pos?(D=parseFloat(l.settings.isVertical?w.origPositioning.top:w.origPositioning.left),isNaN(D)&&(D=0)):D=l.settings.isVertical?w.spacer.position().top:w.spacer.position().left;var R=l.settings.isVertical?"top":"left";w.el.css(R,D+N)}0!==A&&w.el.css("top",n(w.el).top-A),0!==E&&w.el.css("left",n(w.el).left-E),w.onUnpin&&w.onUnpin(!P)}else w.anim&&o(w.anim,(a-w.pinStart)/(w.pinEnd-w.pinStart))}}var l={},u={isVertical:!0,triggerAtCenter:!0,playoutAnimations:!0,reverse:!0};l.settings=t.extend({},u,e);var h,c,p=t(window),f=[],d=[],m={x:0,y:0},g=!1;return l.addTween=function(t,e,i,n,r){return e.pause(),f.push({target:t,tween:e,
offset:n||0,dur:i||0,reverse:"undefined"!=typeof r?r:l.settings.reverse,state:"BEFORE"}),l},l.pin=function(e,i,n){"string"==typeof e&&(e=t(e));var r={offset:0,pushFollowers:!0};n=t.extend({},r,n),n.anim&&n.anim.pause();var s=t('<div class="superscrollorama-pin-spacer"></div>');return s.css("position","relative"),s.css("top",e.css("top")),s.css("left",e.css("left")),e.before(s),d.push({el:e,state:"BEFORE",dur:i,offset:n.offset,anim:n.anim,pushFollowers:n.pushFollowers,spacer:s,onPin:n.onPin,onUnpin:n.onUnpin}),l},l.updatePin=function(e,i,n){"string"==typeof e&&(e=t(e)),n.anim&&n.anim.pause();var r=d.length;for(c=0;r>c;c++){var s=d[c];e.get(0)===s.el.get(0)&&(i&&(s.dur=i),n.anim&&(s.anim=n.anim),n.offset&&(s.offset=n.offset),"undefined"!=typeof n.pushFollowers&&(s.pushFollowers=n.pushFollowers),n.onPin&&(s.onPin=n.onPin),n.onUnpin&&(s.onUnpin=n.onUnpin),(i||n.anim||n.offset)&&"PINNED"===s.state&&(s.state="UPDATE",a()))}return l},l.removeTween=function(t,e,i){var n=f.length;"undefined"==typeof i&&(i=!0);for(var r=0;n>r;r++){var s=f[r];s.target!==t||e&&s.tween!==e||(f.splice(r,1),i&&o(s.tween,0),n--,r--)}return l},l.removePin=function(e,i){"string"==typeof e&&(e=t(e)),"undefined"==typeof i&&(i=!0);for(var n=d.length,r=0;n>r;r++){var a=d[r];a.el.is(e)&&(d.splice(r,1),i&&(a.spacer.remove(),s(a),a.anim&&o(a.anim,0)),n--,r--)}return l},l.setScrollContainerOffset=function(t,e){return m.x=t,m.y=e,l},l.triggerCheckAnim=function(t){return t?a():g=!0,l},i(),l}}(jQuery);