File: D:/HostingSpaces/SBogers10/honger.komma.pro/wwwroot/js/site/libraries.js
var _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};!function(t,e){"object"==("undefined"==typeof module?"undefined":_typeof(module))&&"object"==_typeof(module.exports)?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=rt.type(t);return"function"!==n&&!rt.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}function i(t,e,n){if(rt.isFunction(e))return rt.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return rt.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(ht.test(e))return rt.filter(e,t,n);e=rt.filter(e,t)}return rt.grep(t,function(t){return rt.inArray(t,e)>=0!==n})}function r(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}function o(t){var e=_t[t]={};return rt.each(t.match(yt)||[],function(t,n){e[n]=!0}),e}function s(){pt.addEventListener?(pt.removeEventListener("DOMContentLoaded",a,!1),t.removeEventListener("load",a,!1)):(pt.detachEvent("onreadystatechange",a),t.detachEvent("onload",a))}function a(){(pt.addEventListener||"load"===event.type||"complete"===pt.readyState)&&(s(),rt.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(St,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:wt.test(n)?rt.parseJSON(n):n)}catch(t){}rt.data(t,e,n)}else n=void 0}return n}function u(t){var e;for(e in t)if(("data"!==e||!rt.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(rt.acceptData(t)){var r,o,s=rt.expando,a=t.nodeType,l=a?rt.cache:t,u=a?t[s]:t[s]&&s;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof e)return u||(u=a?t[s]=V.pop()||rt.guid++:s),l[u]||(l[u]=a?{}:{toJSON:rt.noop}),("object"==(void 0===e?"undefined":_typeof(e))||"function"==typeof e)&&(i?l[u]=rt.extend(l[u],e):l[u].data=rt.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[rt.camelCase(e)]=n),"string"==typeof e?null==(r=o[e])&&(r=o[rt.camelCase(e)]):r=o,r}}function f(t,e,n){if(rt.acceptData(t)){var i,r,o=t.nodeType,s=o?rt.cache:t,a=o?t[rt.expando]:rt.expando;if(s[a]){if(e&&(i=n?s[a]:s[a].data)){rt.isArray(e)?e=e.concat(rt.map(e,rt.camelCase)):e in i?e=[e]:(e=rt.camelCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!u(i):!rt.isEmptyObject(i))return}(n||(delete s[a].data,u(s[a])))&&(o?rt.cleanData([t],!0):nt.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}function h(){return!0}function d(){return!1}function p(){try{return pt.activeElement}catch(t){}}function m(t){var e=It.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function g(t,e){var n,i,r=0,o=_typeof(t.getElementsByTagName)!==Tt?t.getElementsByTagName(e||"*"):_typeof(t.querySelectorAll)!==Tt?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||rt.nodeName(i,e)?o.push(i):rt.merge(o,g(i,e));return void 0===e||e&&rt.nodeName(t,e)?rt.merge([t],o):o}function v(t){At.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e){return rt.nodeName(t,"table")&&rt.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function _(t){return t.type=(null!==rt.find.attr(t,"type"))+"/"+t.type,t}function x(t){var e=Ut.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function b(t,e){for(var n,i=0;null!=(n=t[i]);i++)rt._data(n,"globalEval",!e||rt._data(e[i],"globalEval"))}function T(t,e){if(1===e.nodeType&&rt.hasData(t)){var n,i,r,o=rt._data(t),s=rt._data(e,o),a=o.events;if(a){delete s.handle,s.events={};for(n in a)for(i=0,r=a[n].length;r>i;i++)rt.event.add(e,n,a[n][i])}s.data&&(s.data=rt.extend({},s.data))}}function w(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!nt.noCloneEvent&&e[rt.expando]){r=rt._data(e);for(i in r.events)rt.removeEvent(e,i,r.handle);e.removeAttribute(rt.expando)}"script"===n&&e.text!==t.text?(_(e).text=t.text,x(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),nt.html5Clone&&t.innerHTML&&!rt.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&At.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function S(e,n){var i,r=rt(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:rt.css(r[0],"display");return r.detach(),o}function C(t){var e=pt,n=Zt[t];return n||(n=S(t,e),"none"!==n&&n||(Kt=(Kt||rt("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement),e=(Kt[0].contentWindow||Kt[0].contentDocument).document,e.write(),e.close(),n=S(t,e),Kt.detach()),Zt[t]=n),n}function k(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}function E(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=fe.length;r--;)if((e=fe[r]+n)in t)return e;return i}function P(t,e){for(var n,i,r,o=[],s=0,a=t.length;a>s;s++)i=t[s],i.style&&(o[s]=rt._data(i,"olddisplay"),n=i.style.display,e?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&Et(i)&&(o[s]=rt._data(i,"olddisplay",C(i.nodeName)))):(r=Et(i),(n&&"none"!==n||!r)&&rt._data(i,"olddisplay",r?n:rt.css(i,"display"))));for(s=0;a>s;s++)i=t[s],i.style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[s]||"":"none"));return t}function A(t,e,n){var i=ae.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function O(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=rt.css(t,n+kt[o],!0,r)),i?("content"===n&&(s-=rt.css(t,"padding"+kt[o],!0,r)),"margin"!==n&&(s-=rt.css(t,"border"+kt[o]+"Width",!0,r))):(s+=rt.css(t,"padding"+kt[o],!0,r),"padding"!==n&&(s+=rt.css(t,"border"+kt[o]+"Width",!0,r)));return s}function N(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Jt(t),s=nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,o);if(0>=r||null==r){if(r=te(t,e,o),(0>r||null==r)&&(r=t.style[e]),ne.test(r))return r;i=s&&(nt.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+O(t,e,n||(s?"border":"content"),i,o)+"px"}function M(t,e,n,i,r){return new M.prototype.init(t,e,n,i,r)}function D(){return setTimeout(function(){he=void 0}),he=rt.now()}function L(t,e){var n,i={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)n=kt[r],i["margin"+n]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function I(t,e,n){for(var i,r=(ye[e]||[]).concat(ye["*"]),o=0,s=r.length;s>o;o++)if(i=r[o].call(n,e,t))return i}function R(t,e,n){var i,r,o,s,a,l,u,c=this,f={},h=t.style,d=t.nodeType&&Et(t),p=rt._data(t,"fxshow");n.queue||(a=rt._queueHooks(t,"fx"),null==a.unqueued&&(a.unqueued=0,l=a.empty.fire,a.empty.fire=function(){a.unqueued||l()}),a.unqueued++,c.always(function(){c.always(function(){a.unqueued--,rt.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],u=rt.css(t,"display"),"inline"===("none"===u?rt._data(t,"olddisplay")||C(t.nodeName):u)&&"none"===rt.css(t,"float")&&(nt.inlineBlockNeedsLayout&&"inline"!==C(t.nodeName)?h.zoom=1:h.display="inline-block")),n.overflow&&(h.overflow="hidden",nt.shrinkWrapBlocks()||c.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}));for(i in e)if(r=e[i],pe.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(d?"hide":"show")){if("show"!==r||!p||void 0===p[i])continue;d=!0}f[i]=p&&p[i]||rt.style(t,i)}else u=void 0;if(rt.isEmptyObject(f))"inline"===("none"===u?C(t.nodeName):u)&&(h.display=u);else{p?"hidden"in p&&(d=p.hidden):p=rt._data(t,"fxshow",{}),o&&(p.hidden=!d),d?rt(t).show():c.done(function(){rt(t).hide()}),c.done(function(){var e;rt._removeData(t,"fxshow");for(e in f)rt.style(t,e,f[e])});for(i in f)s=I(d?p[i]:0,i,c),i in p||(p[i]=s.start,d&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}}function j(t,e){var n,i,r,o,s;for(n in t)if(i=rt.camelCase(n),r=e[i],o=t[n],rt.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(s=rt.cssHooks[i])&&"expand"in s){o=s.expand(o),delete t[i];for(n in o)n in t||(t[n]=o[n],e[n]=r)}else e[i]=r}function H(t,e,n){var i,r,o=0,s=ve.length,a=rt.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var e=he||D(),n=Math.max(0,u.startTime+u.duration-e),i=n/u.duration||0,o=1-i,s=0,l=u.tweens.length;l>s;s++)u.tweens[s].run(o);return a.notifyWith(t,[u,o,n]),1>o&&l?n:(a.resolveWith(t,[u]),!1)},u=a.promise({elem:t,props:rt.extend({},e),opts:rt.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:he||D(),duration:n.duration,tweens:[],createTween:function(e,n){var i=rt.Tween(t,u.opts,e,n,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(i),i},stop:function(e){var n=0,i=e?u.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)u.tweens[n].run(1);return e?a.resolveWith(t,[u,e]):a.rejectWith(t,[u,e]),this}}),c=u.props;for(j(c,u.opts.specialEasing);s>o;o++)if(i=ve[o].call(u,t,c,u.opts))return i;return rt.map(c,I,u),rt.isFunction(u.opts.start)&&u.opts.start.call(t,u),rt.fx.timer(rt.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 F(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(yt)||[];if(rt.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function B(t,e,n,i){function r(a){var l;return o[a]=!0,rt.each(t[a]||[],function(t,a){var u=a(e,n,i);return"string"!=typeof u||s||o[u]?s?!(l=u):void 0:(e.dataTypes.unshift(u),r(u),!1)}),l}var o={},s=t===qe;return r(e.dataTypes[0])||!o["*"]&&r("*")}function z(t,e){var n,i,r=rt.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&rt.extend(!0,t,n),t}function q(t,e,n){for(var i,r,o,s,a=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){l.unshift(s);break}if(l[0]in n)o=l[0];else{for(s in n){if(!l[0]||t.converters[s+" "+l[0]]){o=s;break}i||(i=s)}o=o||i}return o?(o!==l[0]&&l.unshift(o),n[o]):void 0}function X(t,e,n,i){var r,o,s,a,l,u={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)u[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!l&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(s=u[l+" "+o]||u["* "+o]))for(r in u)if(a=r.split(" "),a[1]===o&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+o}}}return{state:"success",data:e}}function W(t,e,n,i){var r;if(rt.isArray(e))rt.each(e,function(e,r){n||Ye.test(t)?i(t,r):W(t+"["+("object"==(void 0===r?"undefined":_typeof(r))?e:"")+"]",r,n,i)});else if(n||"object"!==rt.type(e))i(t,e);else for(r in e)W(t+"["+r+"]",e[r],n,i)}function Y(){try{return new t.XMLHttpRequest}catch(t){}}function U(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function $(t){return rt.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}var V=[],G=V.slice,Q=V.concat,K=V.push,Z=V.indexOf,J={},tt=J.toString,et=J.hasOwnProperty,nt={},it="1.11.2",rt=function t(e,n){return new t.fn.init(e,n)},ot=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,st=/^-ms-/,at=/-([\da-z])/gi,lt=function(t,e){return e.toUpperCase()};rt.fn=rt.prototype={jquery:it,constructor:rt,selector:"",length:0,toArray:function(){return G.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:G.call(this)},pushStack:function(t){var e=rt.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return rt.each(this,t,e)},map:function(t){return this.pushStack(rt.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(G.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:K,sort:V.sort,splice:V.splice},rt.extend=rt.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==(void 0===s?"undefined":_typeof(s))||rt.isFunction(s)||(s={}),a===l&&(s=this,a--);l>a;a++)if(null!=(r=arguments[a]))for(i in r)t=s[i],n=r[i],s!==n&&(u&&n&&(rt.isPlainObject(n)||(e=rt.isArray(n)))?(e?(e=!1,o=t&&rt.isArray(t)?t:[]):o=t&&rt.isPlainObject(t)?t:{},s[i]=rt.extend(u,o,n)):void 0!==n&&(s[i]=n));return s},rt.extend({expando:"jQuery"+(it+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===rt.type(t)},isArray:Array.isArray||function(t){return"array"===rt.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!rt.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==rt.type(t)||t.nodeType||rt.isWindow(t))return!1;try{if(t.constructor&&!et.call(t,"constructor")&&!et.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(nt.ownLast)for(e in t)return et.call(t,e);for(e in t);return void 0===e||et.call(t,e)},type:function(t){return null==t?t+"":"object"==(void 0===t?"undefined":_typeof(t))||"function"==typeof t?J[tt.call(t)]||"object":void 0===t?"undefined":_typeof(t)},globalEval:function(e){e&&rt.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(st,"ms-").replace(at,lt)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,i){var r=0,o=t.length,s=n(t);if(i){if(s)for(;o>r&&!1!==e.apply(t[r],i);r++);else for(r in t)if(!1===e.apply(t[r],i))break}else if(s)for(;o>r&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},trim:function(t){return null==t?"":(t+"").replace(ot,"")},makeArray:function(t,e){var i=e||[];return null!=t&&(n(Object(t))?rt.merge(i,"string"==typeof t?[t]:t):K.call(i,t)),i},inArray:function(t,e,n){var i;if(e){if(Z)return Z.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!==n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,s=!n;o>r;r++)!e(t[r],r)!==s&&i.push(t[r]);return i},map:function(t,e,i){var r,o=0,s=t.length,a=n(t),l=[];if(a)for(;s>o;o++)null!=(r=e(t[o],o,i))&&l.push(r);else for(o in t)null!=(r=e(t[o],o,i))&&l.push(r);return Q.apply([],l)},guid:1,proxy:function(t,e){var n,i,r;return"string"==typeof e&&(r=t[e],e=t,t=r),rt.isFunction(t)?(n=G.call(arguments,2),i=function(){return t.apply(e||this,n.concat(G.call(arguments)))},i.guid=t.guid=t.guid||rt.guid++,i):void 0},now:function(){return+new Date},support:nt}),rt.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){J["[object "+e+"]"]=e.toLowerCase()});var ut=function(t){function e(t,e,n,i){var r,o,s,a,u,f,h,d,p,m;if((e?e.ownerDocument||e:H)!==O&&A(e),e=e||O,n=n||[],a=e.nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return n;if(!i&&M){if(11!==a&&(r=gt.exec(t)))if(s=r[1]){if(9===a){if(!(o=e.getElementById(s))||!o.parentNode)return n;if(o.id===s)return n.push(o),n}else if(e.ownerDocument&&(o=e.ownerDocument.getElementById(s))&&R(e,o)&&o.id===s)return n.push(o),n}else{if(r[2])return Q.apply(n,e.getElementsByTagName(t)),n;if((s=r[3])&&_.getElementsByClassName)return Q.apply(n,e.getElementsByClassName(s)),n}if(_.qsa&&(!D||!D.test(t))){if(d=h=j,p=e,m=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(f=w(t),(h=e.getAttribute("id"))?d=h.replace(yt,"\\$&"):e.setAttribute("id",d),d="[id='"+d+"'] ",u=f.length;u--;)f[u]=d+c(f[u]);p=vt.test(t)&&l(e.parentNode)||e,m=f.join(",")}if(m)try{return Q.apply(n,p.querySelectorAll(m)),n}catch(t){}finally{h||e.removeAttribute("id")}}}return C(t.replace(st,"$1"),e,n,i)}function n(){function t(n,i){return e.push(n+" ")>x.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[j]=!0,t}function r(t){var e=O.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=t.length;i--;)x.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||Y)-(~t.sourceIndex||Y);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function l(t){return t&&void 0!==t.getElementsByTagName&&t}function u(){}function c(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function f(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=B++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,s){var a,l,u=[F,o];if(s){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if(l=e[j]||(e[j]={}),(a=l[i])&&a[0]===F&&a[1]===o)return u[2]=a[2];if(l[i]=u,u[2]=t(e,n,s))return!0}}}function h(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function d(t,n,i){for(var r=0,o=n.length;o>r;r++)e(t,n[r],i);return i}function p(t,e,n,i,r){for(var o,s=[],a=0,l=t.length,u=null!=e;l>a;a++)(o=t[a])&&(!n||n(o,i,r))&&(s.push(o),u&&e.push(a));return s}function m(t,e,n,r,o,s){return r&&!r[j]&&(r=m(r)),o&&!o[j]&&(o=m(o,s)),i(function(i,s,a,l){var u,c,f,h=[],m=[],g=s.length,v=i||d(e||"*",a.nodeType?[a]:a,[]),y=!t||!i&&e?v:p(v,h,t,a,l),_=n?o||(i?t:g||r)?[]:s:y;if(n&&n(y,_,a,l),r)for(u=p(_,m),r(u,[],a,l),c=u.length;c--;)(f=u[c])&&(_[m[c]]=!(y[m[c]]=f));if(i){if(o||t){if(o){for(u=[],c=_.length;c--;)(f=_[c])&&u.push(y[c]=f);o(null,_=[],u,l)}for(c=_.length;c--;)(f=_[c])&&(u=o?Z(i,f):h[c])>-1&&(i[u]=!(s[u]=f))}}else _=p(_===s?_.splice(g,_.length):_),o?o(null,s,_,l):Q.apply(s,_)})}function g(t){for(var e,n,i,r=t.length,o=x.relative[t[0].type],s=o||x.relative[" "],a=o?1:0,l=f(function(t){return t===e},s,!0),u=f(function(t){return Z(e,t)>-1},s,!0),d=[function(t,n,i){var r=!o&&(i||n!==k)||((e=n).nodeType?l(t,n,i):u(t,n,i));return e=null,r}];r>a;a++)if(n=x.relative[t[a].type])d=[f(h(d),n)];else{if(n=x.filter[t[a].type].apply(null,t[a].matches),n[j]){for(i=++a;r>i&&!x.relative[t[i].type];i++);return m(a>1&&h(d),a>1&&c(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(st,"$1"),n,i>a&&g(t.slice(a,i)),r>i&&g(t=t.slice(i)),r>i&&c(t))}d.push(n)}return h(d)}function v(t,n){var r=n.length>0,o=t.length>0,s=function(i,s,a,l,u){var c,f,h,d=0,m="0",g=i&&[],v=[],y=k,_=i||o&&x.find.TAG("*",u),b=F+=null==y?1:Math.random()||.1,T=_.length;for(u&&(k=s!==O&&s);m!==T&&null!=(c=_[m]);m++){if(o&&c){for(f=0;h=t[f++];)if(h(c,s,a)){l.push(c);break}u&&(F=b)}r&&((c=!h&&c)&&d--,i&&g.push(c))}if(d+=m,r&&m!==d){for(f=0;h=n[f++];)h(g,v,s,a);if(i){if(d>0)for(;m--;)g[m]||v[m]||(v[m]=V.call(l));v=p(v)}Q.apply(l,v),u&&!i&&v.length>0&&d+n.length>1&&e.uniqueSort(l)}return u&&(F=b,k=y),g};return r?i(s):s}var y,_,x,b,T,w,S,C,k,E,P,A,O,N,M,D,L,I,R,j="sizzle"+1*new Date,H=t.document,F=0,B=0,z=n(),q=n(),X=n(),W=function(t,e){return t===e&&(P=!0),0},Y=1<<31,U={}.hasOwnProperty,$=[],V=$.pop,G=$.push,Q=$.push,K=$.slice,Z=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},J="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",tt="[\\x20\\t\\r\\n\\f]",et="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",nt=et.replace("w","w#"),it="\\["+tt+"*("+et+")(?:"+tt+"*([*^$|!~]?=)"+tt+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+nt+"))|)"+tt+"*\\]",rt=":("+et+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+it+")*)|.*)\\)|)",ot=new RegExp(tt+"+","g"),st=new RegExp("^"+tt+"+|((?:^|[^\\\\])(?:\\\\.)*)"+tt+"+$","g"),at=new RegExp("^"+tt+"*,"+tt+"*"),lt=new RegExp("^"+tt+"*([>+~]|"+tt+")"+tt+"*"),ut=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ct=new RegExp(rt),ft=new RegExp("^"+nt+"$"),ht={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et.replace("w","w*")+")"),ATTR:new RegExp("^"+it),PSEUDO:new RegExp("^"+rt),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+J+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},dt=/^(?:input|select|textarea|button)$/i,pt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,gt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,vt=/[+~]/,yt=/'|\\/g,_t=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),xt=function(t,e,n){var i="0x"+e-65536;return i!==i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},bt=function(){A()};try{Q.apply($=K.call(H.childNodes),H.childNodes),$[H.childNodes.length].nodeType}catch(t){Q={apply:$.length?function(t,e){G.apply(t,K.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}_=e.support={},T=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},A=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:H;return i!==O&&9===i.nodeType&&i.documentElement?(O=i,N=i.documentElement,n=i.defaultView,n&&n!==n.top&&(n.addEventListener?n.addEventListener("unload",bt,!1):n.attachEvent&&n.attachEvent("onunload",bt)),M=!T(i),_.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),_.getElementsByTagName=r(function(t){return t.appendChild(i.createComment("")),!t.getElementsByTagName("*").length}),_.getElementsByClassName=mt.test(i.getElementsByClassName),_.getById=r(function(t){return N.appendChild(t).id=j,!i.getElementsByName||!i.getElementsByName(j).length}),_.getById?(x.find.ID=function(t,e){if(void 0!==e.getElementById&&M){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},x.filter.ID=function(t){var e=t.replace(_t,xt);return function(t){return t.getAttribute("id")===e}}):(delete x.find.ID,x.filter.ID=function(t){var e=t.replace(_t,xt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),x.find.TAG=_.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):_.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},x.find.CLASS=_.getElementsByClassName&&function(t,e){return M?e.getElementsByClassName(t):void 0},L=[],D=[],(_.qsa=mt.test(i.querySelectorAll))&&(r(function(t){N.appendChild(t).innerHTML="<a id='"+j+"'></a><select id='"+j+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&D.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||D.push("\\["+tt+"*(?:value|"+J+")"),t.querySelectorAll("[id~="+j+"-]").length||D.push("~="),t.querySelectorAll(":checked").length||D.push(":checked"),t.querySelectorAll("a#"+j+"+*").length||D.push(".#.+[+~]")}),r(function(t){var e=i.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&D.push("name"+tt+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||D.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),D.push(",.*:")})),(_.matchesSelector=mt.test(I=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&r(function(t){_.disconnectedMatch=I.call(t,"div"),I.call(t,"[s!='']:x"),L.push("!=",rt)}),D=D.length&&new RegExp(D.join("|")),L=L.length&&new RegExp(L.join("|")),e=mt.test(N.compareDocumentPosition),R=e||mt.test(N.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},W=e?function(t,e){if(t===e)return P=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&n||!_.sortDetached&&e.compareDocumentPosition(t)===n?t===i||t.ownerDocument===H&&R(H,t)?-1:e===i||e.ownerDocument===H&&R(H,e)?1:E?Z(E,t)-Z(E,e):0:4&n?-1:1)}:function(t,e){if(t===e)return P=!0,0;var n,r=0,o=t.parentNode,a=e.parentNode,l=[t],u=[e];if(!o||!a)return t===i?-1:e===i?1:o?-1:a?1:E?Z(E,t)-Z(E,e):0;if(o===a)return s(t,e);for(n=t;n=n.parentNode;)l.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;l[r]===u[r];)r++;return r?s(l[r],u[r]):l[r]===H?-1:u[r]===H?1:0},i):O},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==O&&A(t),n=n.replace(ut,"='$1']"),!(!_.matchesSelector||!M||L&&L.test(n)||D&&D.test(n)))try{var i=I.call(t,n);if(i||_.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,O,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==O&&A(t),R(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==O&&A(t);var n=x.attrHandle[e.toLowerCase()],i=n&&U.call(x.attrHandle,e.toLowerCase())?n(t,e,!M):void 0;return void 0!==i?i:_.attributes||!M?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(P=!_.detectDuplicates,E=!_.sortStable&&t.slice(0),t.sort(W),P){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return E=null,t},b=e.getText=function(t){var e,n="",i=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)n+=b(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=b(e);return n},x=e.selectors={cacheLength:50,createPseudo:i,match:ht,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(_t,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(_t,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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ht.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=w(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(_t,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=z[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&z(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(ot," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var u,c,f,h,d,p,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!l&&!a;if(g){if(o){for(;m;){for(f=e;f=f[m];)if(a?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;p=m="only"===t&&!p&&"nextSibling"}return!0}if(p=[s?g.firstChild:g.lastChild],s&&y){for(c=g[j]||(g[j]={}),u=c[t]||[],d=u[0]===F&&u[1],h=u[0]===F&&u[2],f=d&&g.childNodes[d];f=++d&&f&&f[m]||(h=d=0)||p.pop();)if(1===f.nodeType&&++h&&f===e){c[t]=[F,d,h];break}}else if(y&&(u=(e[j]||(e[j]={}))[t])&&u[0]===F)h=u[1];else for(;(f=++d&&f&&f[m]||(h=d=0)||p.pop())&&((a?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++h||(y&&((f[j]||(f[j]={}))[t]=[F,h]),f!==e)););return(h-=r)===i||h%i==0&&h/i>=0}}},PSEUDO:function(t,n){var r,o=x.pseudos[t]||x.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[j]?o(n):o.length>1?(r=[t,t,"",n],x.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),s=r.length;s--;)i=Z(t,r[s]),t[i]=!(e[i]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=S(t.replace(st,"$1"));return r[j]?i(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(_t,xt),function(e){return(e.textContent||e.innerText||b(e)).indexOf(t)>-1}}),lang:i(function(t){return ft.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(_t,xt).toLowerCase(),function(e){var n;do{if(n=M?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===N},focus:function(t){return t===O.activeElement&&(!O.hasFocus||O.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},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,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!x.pseudos.empty(t)},header:function(t){return pt.test(t.nodeName)},input:function(t){return dt.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"))||"text"===e.toLowerCase())},first:a(function(){return[0]}),last:a(function(t,e){return[e-1]}),eq:a(function(t,e,n){return[0>n?n+e:n]}),even:a(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:a(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:a(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:a(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}},x.pseudos.nth=x.pseudos.eq;for(y in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})x.pseudos[y]=function(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}(y);for(y in{submit:!0,reset:!0})x.pseudos[y]=function(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}(y);return u.prototype=x.filters=x.pseudos,x.setFilters=new u,w=e.tokenize=function(t,n){var i,r,o,s,a,l,u,c=q[t+" "]
;if(c)return n?0:c.slice(0);for(a=t,l=[],u=x.preFilter;a;){(!i||(r=at.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),i=!1,(r=lt.exec(a))&&(i=r.shift(),o.push({value:i,type:r[0].replace(st," ")}),a=a.slice(i.length));for(s in x.filter)!(r=ht[s].exec(a))||u[s]&&!(r=u[s](r))||(i=r.shift(),o.push({value:i,type:s,matches:r}),a=a.slice(i.length));if(!i)break}return n?a.length:a?e.error(t):q(t,l).slice(0)},S=e.compile=function(t,e){var n,i=[],r=[],o=X[t+" "];if(!o){for(e||(e=w(t)),n=e.length;n--;)o=g(e[n]),o[j]?i.push(o):r.push(o);o=X(t,v(r,i)),o.selector=t}return o},C=e.select=function(t,e,n,i){var r,o,s,a,u,f="function"==typeof t&&t,h=!i&&w(t=f.selector||t);if(n=n||[],1===h.length){if(o=h[0]=h[0].slice(0),o.length>2&&"ID"===(s=o[0]).type&&_.getById&&9===e.nodeType&&M&&x.relative[o[1].type]){if(!(e=(x.find.ID(s.matches[0].replace(_t,xt),e)||[])[0]))return n;f&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ht.needsContext.test(t)?0:o.length;r--&&(s=o[r],!x.relative[a=s.type]);)if((u=x.find[a])&&(i=u(s.matches[0].replace(_t,xt),vt.test(o[0].type)&&l(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&c(o)))return Q.apply(n,i),n;break}}return(f||S(t,h))(i,e,!M,n,vt.test(t)&&l(e.parentNode)||e),n},_.sortStable=j.split("").sort(W).join("")===j,_.detectDuplicates=!!P,A(),_.sortDetached=r(function(t){return 1&t.compareDocumentPosition(O.createElement("div"))}),r(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),_.attributes&&r(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(J,function(t,e,n){var i;return n?void 0:!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(t);rt.find=ut,rt.expr=ut.selectors,rt.expr[":"]=rt.expr.pseudos,rt.unique=ut.uniqueSort,rt.text=ut.getText,rt.isXMLDoc=ut.isXML,rt.contains=ut.contains;var ct=rt.expr.match.needsContext,ft=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ht=/^.[^:#\[\.,]*$/;rt.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?rt.find.matchesSelector(i,t)?[i]:[]:rt.find.matches(t,rt.grep(e,function(t){return 1===t.nodeType}))},rt.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(rt(t).filter(function(){for(e=0;r>e;e++)if(rt.contains(i[e],this))return!0}));for(e=0;r>e;e++)rt.find(t,i[e],n);return n=this.pushStack(r>1?rt.unique(n):n),n.selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(i(this,t||[],!1))},not:function(t){return this.pushStack(i(this,t||[],!0))},is:function(t){return!!i(this,"string"==typeof t&&ct.test(t)?rt(t):t||[],!1).length}});var dt,pt=t.document,mt=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(rt.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:mt.exec(t))||!n[1]&&e)return!e||e.jquery?(e||dt).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof rt?e[0]:e,rt.merge(this,rt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:pt,!0)),ft.test(n[1])&&rt.isPlainObject(e))for(n in e)rt.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((i=pt.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return dt.find(t);this.length=1,this[0]=i}return this.context=pt,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):rt.isFunction(t)?void 0!==dt.ready?dt.ready(t):t(rt):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),rt.makeArray(t,this))}).prototype=rt.fn,dt=rt(pt);var gt=/^(?:parents|prev(?:Until|All))/,vt={children:!0,contents:!0,next:!0,prev:!0};rt.extend({dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!rt(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),rt.fn.extend({has:function(t){var e,n=rt(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(rt.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],s=ct.test(t)||"string"!=typeof t?rt(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&rt.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?rt.unique(o):o)},index:function(t){return t?"string"==typeof t?rt.inArray(this[0],rt(t)):rt.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(rt.unique(rt.merge(this.get(),rt(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),rt.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return rt.dir(t,"parentNode")},parentsUntil:function(t,e,n){return rt.dir(t,"parentNode",n)},next:function(t){return r(t,"nextSibling")},prev:function(t){return r(t,"previousSibling")},nextAll:function(t){return rt.dir(t,"nextSibling")},prevAll:function(t){return rt.dir(t,"previousSibling")},nextUntil:function(t,e,n){return rt.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return rt.dir(t,"previousSibling",n)},siblings:function(t){return rt.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return rt.sibling(t.firstChild)},contents:function(t){return rt.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:rt.merge([],t.childNodes)}},function(t,e){rt.fn[t]=function(n,i){var r=rt.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=rt.filter(i,r)),this.length>1&&(vt[t]||(r=rt.unique(r)),gt.test(t)&&(r=r.reverse())),this.pushStack(r)}});var yt=/\S+/g,_t={};rt.Callbacks=function(t){t="string"==typeof t?_t[t]||o(t):rt.extend({},t);var e,n,i,r,s,a,l=[],u=!t.once&&[],c=function o(c){for(n=t.memory&&c,i=!0,s=a||0,a=0,r=l.length,e=!0;l&&r>s;s++)if(!1===l[s].apply(c[0],c[1])&&t.stopOnFalse){n=!1;break}e=!1,l&&(u?u.length&&o(u.shift()):n?l=[]:f.disable())},f={add:function(){if(l){var i=l.length;!function e(n){rt.each(n,function(n,i){var r=rt.type(i);"function"===r?t.unique&&f.has(i)||l.push(i):i&&i.length&&"string"!==r&&e(i)})}(arguments),e?r=l.length:n&&(a=i,c(n))}return this},remove:function(){return l&&rt.each(arguments,function(t,n){for(var i;(i=rt.inArray(n,l,i))>-1;)l.splice(i,1),e&&(r>=i&&r--,s>=i&&s--)}),this},has:function(t){return t?rt.inArray(t,l)>-1:!(!l||!l.length)},empty:function(){return l=[],r=0,this},disable:function(){return l=u=n=void 0,this},disabled:function(){return!l},lock:function(){return u=void 0,n||f.disable(),this},locked:function(){return!u},fireWith:function(t,n){return!l||i&&!u||(n=n||[],n=[t,n.slice?n.slice():n],e?u.push(n):c(n)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!i}};return f},rt.extend({Deferred:function(t){var e=[["resolve","done",rt.Callbacks("once memory"),"resolved"],["reject","fail",rt.Callbacks("once memory"),"rejected"],["notify","progress",rt.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return rt.Deferred(function(n){rt.each(e,function(e,o){var s=rt.isFunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&rt.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?rt.extend(t,i):i}},r={};return i.pipe=i.then,rt.each(e,function(t,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=s.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,i,r=0,o=G.call(arguments),s=o.length,a=1!==s||t&&rt.isFunction(t.promise)?s:0,l=1===a?t:rt.Deferred(),u=function(t,n,i){return function(r){n[t]=this,i[t]=arguments.length>1?G.call(arguments):r,i===e?l.notifyWith(n,i):--a||l.resolveWith(n,i)}};if(s>1)for(e=new Array(s),n=new Array(s),i=new Array(s);s>r;r++)o[r]&&rt.isFunction(o[r].promise)?o[r].promise().done(u(r,i,o)).fail(l.reject).progress(u(r,n,e)):--a;return a||l.resolveWith(i,o),l.promise()}});var xt;rt.fn.ready=function(t){return rt.ready.promise().done(t),this},rt.extend({isReady:!1,readyWait:1,holdReady:function(t){t?rt.readyWait++:rt.ready(!0)},ready:function(t){if(!0===t?!--rt.readyWait:!rt.isReady){if(!pt.body)return setTimeout(rt.ready);rt.isReady=!0,!0!==t&&--rt.readyWait>0||(xt.resolveWith(pt,[rt]),rt.fn.triggerHandler&&(rt(pt).triggerHandler("ready"),rt(pt).off("ready")))}}}),rt.ready.promise=function(e){if(!xt)if(xt=rt.Deferred(),"complete"===pt.readyState)setTimeout(rt.ready);else if(pt.addEventListener)pt.addEventListener("DOMContentLoaded",a,!1),t.addEventListener("load",a,!1);else{pt.attachEvent("onreadystatechange",a),t.attachEvent("onload",a);var n=!1;try{n=null==t.frameElement&&pt.documentElement}catch(t){}n&&n.doScroll&&function t(){if(!rt.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}s(),rt.ready()}}()}return xt.promise(e)};var bt,Tt="undefined";for(bt in rt(nt))break;nt.ownLast="0"!==bt,nt.inlineBlockNeedsLayout=!1,rt(function(){var t,e,n,i;(n=pt.getElementsByTagName("body")[0])&&n.style&&(e=pt.createElement("div"),i=pt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),_typeof(e.style.zoom)!==Tt&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",nt.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=pt.createElement("div");if(null==nt.deleteExpando){nt.deleteExpando=!0;try{delete t.test}catch(t){nt.deleteExpando=!1}}t=null}(),rt.acceptData=function(t){var e=rt.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var wt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,St=/([A-Z])/g;rt.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?rt.cache[t[rt.expando]]:t[rt.expando])&&!u(t)},data:function(t,e,n){return c(t,e,n)},removeData:function(t,e){return f(t,e)},_data:function(t,e,n){return c(t,e,n,!0)},_removeData:function(t,e){return f(t,e,!0)}}),rt.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=rt.data(o),1===o.nodeType&&!rt._data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(i=s[n].name,0===i.indexOf("data-")&&(i=rt.camelCase(i.slice(5)),l(o,i,r[i])));rt._data(o,"parsedAttrs",!0)}return r}return"object"==(void 0===t?"undefined":_typeof(t))?this.each(function(){rt.data(this,t)}):arguments.length>1?this.each(function(){rt.data(this,t,e)}):o?l(o,t,rt.data(o,t)):void 0},removeData:function(t){return this.each(function(){rt.removeData(this,t)})}}),rt.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=rt._data(t,e),n&&(!i||rt.isArray(n)?i=rt._data(t,e,rt.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=rt.queue(t,e),i=n.length,r=n.shift(),o=rt._queueHooks(t,e),s=function(){rt.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return rt._data(t,n)||rt._data(t,n,{empty:rt.Callbacks("once memory").add(function(){rt._removeData(t,e+"queue"),rt._removeData(t,n)})})}}),rt.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?rt.queue(this[0],t):void 0===e?this:this.each(function(){var n=rt.queue(this,t,e);rt._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&rt.dequeue(this,t)})},dequeue:function(t){return this.each(function(){rt.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=rt.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=rt._data(o[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var Ct=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,kt=["Top","Right","Bottom","Left"],Et=function(t,e){return t=e||t,"none"===rt.css(t,"display")||!rt.contains(t.ownerDocument,t)},Pt=rt.access=function(t,e,n,i,r,o,s){var a=0,l=t.length,u=null==n;if("object"===rt.type(n)){r=!0;for(a in n)rt.access(t,e,a,n[a],!0,o,s)}else if(void 0!==i&&(r=!0,rt.isFunction(i)||(s=!0),u&&(s?(e.call(t,i),e=null):(u=e,e=function(t,e,n){return u.call(rt(t),n)})),e))for(;l>a;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:u?e.call(t):l?e(t[0],n):o},At=/^(?:checkbox|radio)$/i;!function(){var t=pt.createElement("input"),e=pt.createElement("div"),n=pt.createDocumentFragment();if(e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",nt.leadingWhitespace=3===e.firstChild.nodeType,nt.tbody=!e.getElementsByTagName("tbody").length,nt.htmlSerialize=!!e.getElementsByTagName("link").length,nt.html5Clone="<:nav></:nav>"!==pt.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),nt.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",nt.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",nt.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,nt.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){nt.noCloneEvent=!1}),e.cloneNode(!0).click()),null==nt.deleteExpando){nt.deleteExpando=!0;try{delete e.test}catch(t){nt.deleteExpando=!1}}}(),function(){var e,n,i=pt.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(nt[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),nt[e+"Bubbles"]=!1===i.attributes[n].expando);i=null}();var Ot=/^(?:input|select|textarea)$/i,Nt=/^key/,Mt=/^(?:mouse|pointer|contextmenu)|click/,Dt=/^(?:focusinfocus|focusoutblur)$/,Lt=/^([^.]*)(?:\.(.+)|)$/;rt.event={global:{},add:function(t,e,n,i,r){var o,s,a,l,u,c,f,h,d,p,m,g=rt._data(t);if(g){for(n.handler&&(l=n,n=l.handler,r=l.selector),n.guid||(n.guid=rt.guid++),(s=g.events)||(s=g.events={}),(c=g.handle)||(c=g.handle=function(t){return(void 0===rt?"undefined":_typeof(rt))===Tt||t&&rt.event.triggered===t.type?void 0:rt.event.dispatch.apply(c.elem,arguments)},c.elem=t),e=(e||"").match(yt)||[""],a=e.length;a--;)o=Lt.exec(e[a])||[],d=m=o[1],p=(o[2]||"").split(".").sort(),d&&(u=rt.event.special[d]||{},d=(r?u.delegateType:u.bindType)||d,u=rt.event.special[d]||{},f=rt.extend({type:d,origType:m,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&rt.expr.match.needsContext.test(r),namespace:p.join(".")},l),(h=s[d])||(h=s[d]=[],h.delegateCount=0,u.setup&&!1!==u.setup.call(t,i,p,c)||(t.addEventListener?t.addEventListener(d,c,!1):t.attachEvent&&t.attachEvent("on"+d,c))),u.add&&(u.add.call(t,f),f.handler.guid||(f.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,f):h.push(f),rt.event.global[d]=!0);t=null}},remove:function(t,e,n,i,r){var o,s,a,l,u,c,f,h,d,p,m,g=rt.hasData(t)&&rt._data(t);if(g&&(c=g.events)){for(e=(e||"").match(yt)||[""],u=e.length;u--;)if(a=Lt.exec(e[u])||[],d=m=a[1],p=(a[2]||"").split(".").sort(),d){for(f=rt.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,h=c[d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=h.length;o--;)s=h[o],!r&&m!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(h.splice(o,1),s.selector&&h.delegateCount--,f.remove&&f.remove.call(t,s));l&&!h.length&&(f.teardown&&!1!==f.teardown.call(t,p,g.handle)||rt.removeEvent(t,d,g.handle),delete c[d])}else for(d in c)rt.event.remove(t,d+e[u],n,i,!0);rt.isEmptyObject(c)&&(delete g.handle,rt._removeData(t,"events"))}},trigger:function(e,n,i,r){var o,s,a,l,u,c,f,h=[i||pt],d=et.call(e,"type")?e.type:e,p=et.call(e,"namespace")?e.namespace.split("."):[];if(a=c=i=i||pt,3!==i.nodeType&&8!==i.nodeType&&!Dt.test(d+rt.event.triggered)&&(d.indexOf(".")>=0&&(p=d.split("."),d=p.shift(),p.sort()),s=d.indexOf(":")<0&&"on"+d,e=e[rt.expando]?e:new rt.Event(d,"object"==(void 0===e?"undefined":_typeof(e))&&e),e.isTrigger=r?2:3,e.namespace=p.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:rt.makeArray(n,[e]),u=rt.event.special[d]||{},r||!u.trigger||!1!==u.trigger.apply(i,n))){if(!r&&!u.noBubble&&!rt.isWindow(i)){for(l=u.delegateType||d,Dt.test(l+d)||(a=a.parentNode);a;a=a.parentNode)h.push(a),c=a;c===(i.ownerDocument||pt)&&h.push(c.defaultView||c.parentWindow||t)}for(f=0;(a=h[f++])&&!e.isPropagationStopped();)e.type=f>1?l:u.bindType||d,o=(rt._data(a,"events")||{})[e.type]&&rt._data(a,"handle"),o&&o.apply(a,n),(o=s&&a[s])&&o.apply&&rt.acceptData(a)&&(e.result=o.apply(a,n),!1===e.result&&e.preventDefault());if(e.type=d,!r&&!e.isDefaultPrevented()&&(!u._default||!1===u._default.apply(h.pop(),n))&&rt.acceptData(i)&&s&&i[d]&&!rt.isWindow(i)){c=i[s],c&&(i[s]=null),rt.event.triggered=d;try{i[d]()}catch(t){}rt.event.triggered=void 0,c&&(i[s]=c)}return e.result}},dispatch:function(t){t=rt.event.fix(t);var e,n,i,r,o,s=[],a=G.call(arguments),l=(rt._data(this,"events")||{})[t.type]||[],u=rt.event.special[t.type]||{};if(a[0]=t,t.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(s=rt.event.handlers.call(this,t,l),e=0;(r=s[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,o=0;(i=r.handlers[o++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(i.namespace))&&(t.handleObj=i,t.data=i.data,void 0!==(n=((rt.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,a))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,s=[],a=e.delegateCount,l=t.target;if(a&&l.nodeType&&(!t.button||"click"!==t.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==t.type)){for(r=[],o=0;a>o;o++)i=e[o],n=i.selector+" ",void 0===r[n]&&(r[n]=i.needsContext?rt(n,this).index(l)>=0:rt.find(n,this,null,[l]).length),r[n]&&r.push(i);r.length&&s.push({elem:l,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[rt.expando])return t;var e,n,i,r=t.type,o=t,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=Mt.test(r)?this.mouseHooks:Nt.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new rt.Event(o),e=i.length;e--;)n=i[e],t[n]=o[n];return t.target||(t.target=o.srcElement||pt),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,o):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,e){var n,i,r,o=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(i=t.target.ownerDocument||pt,r=i.documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==p()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===p()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return rt.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return rt.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=rt.extend(new rt.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?rt.event.trigger(r,null,e):rt.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},rt.removeEvent=pt.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(_typeof(t[i])===Tt&&(t[i]=null),t.detachEvent(i,n))},rt.Event=function(t,e){return this instanceof rt.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?h:d):this.type=t,e&&rt.extend(this,e),this.timeStamp=t&&t.timeStamp||rt.now(),void(this[rt.expando]=!0)):new rt.Event(t,e)},rt.Event.prototype={isDefaultPrevented:d,isPropagationStopped:d,isImmediatePropagationStopped:d,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=h,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=h,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=h,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},rt.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){rt.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=this,r=t.relatedTarget,o=t.handleObj;return(!r||r!==i&&!rt.contains(i,r))&&(t.type=o.origType,n=o.handler.apply(this,arguments),t.type=e),n}}}),nt.submitBubbles||(rt.event.special.submit={setup:function(){return!rt.nodeName(this,"form")&&void rt.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=rt.nodeName(e,"input")||rt.nodeName(e,"button")?e.form:void 0;n&&!rt._data(n,"submitBubbles")&&(rt.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),rt._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&rt.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!rt.nodeName(this,"form")&&void rt.event.remove(this,"._submit")}}),nt.changeBubbles||(rt.event.special.change={setup:function(){return Ot.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(rt.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),rt.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),rt.event.simulate("change",this,t,!0)})),!1):void rt.event.add(this,"beforeactivate._change",function(t){var e=t.target;Ot.test(e.nodeName)&&!rt._data(e,"changeBubbles")&&(rt.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||rt.event.simulate("change",this.parentNode,t,!0)}),rt._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 rt.event.remove(this,"._change"),!Ot.test(this.nodeName)}}),nt.focusinBubbles||rt.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){rt.event.simulate(e,t.target,rt.event.fix(t),!0)};rt.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=rt._data(i,e);r||i.addEventListener(t,n,!0),rt._data(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=rt._data(i,e)-1;r?rt._data(i,e,r):(i.removeEventListener(t,n,!0),rt._removeData(i,e))}}}),rt.fn.extend({on:function(t,e,n,i,r){var o,s;if("object"==(void 0===t?"undefined":_typeof(t))){"string"!=typeof e&&(n=n||e,e=void 0);for(o in t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=d;else if(!i)return this;return 1===r&&(s=i,i=function(t){return rt().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=rt.guid++)),this.each(function(){rt.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,rt(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==(void 0===t?"undefined":_typeof(t))){for(r in t)this.off(r,e,t[r]);return this}return(!1===e||"function"==typeof e)&&(n=e,e=void 0),!1===n&&(n=d),this.each(function(){rt.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){rt.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?rt.event.trigger(t,e,n,!0):void 0}});var It="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Rt=/ jQuery\d+="(?:null|\d+)"/g,jt=new RegExp("<(?:"+It+")[\\s/>]","i"),Ht=/^\s+/,Ft=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Bt=/<([\w:]+)/,zt=/<tbody/i,qt=/<|&#?\w+;/,Xt=/<(?:script|style|link)/i,Wt=/checked\s*(?:[^=]|=\s*.checked.)/i,Yt=/^$|\/(?:java|ecma)script/i,Ut=/^true\/(.*)/,$t=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Vt={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:nt.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},Gt=m(pt),Qt=Gt.appendChild(pt.createElement("div"));Vt.optgroup=Vt.option,Vt.tbody=Vt.tfoot=Vt.colgroup=Vt.caption=Vt.thead,Vt.th=Vt.td,rt.extend({clone:function(t,e,n){var i,r,o,s,a,l=rt.contains(t.ownerDocument,t);if(nt.html5Clone||rt.isXMLDoc(t)||!jt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(Qt.innerHTML=t.outerHTML,Qt.removeChild(o=Qt.firstChild)),!(nt.noCloneEvent&&nt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||rt.isXMLDoc(t)))for(i=g(o),a=g(t),s=0;null!=(r=a[s]);++s)i[s]&&w(r,i[s]);if(e)if(n)for(a=a||g(t),i=i||g(o),s=0;null!=(r=a[s]);s++)T(r,i[s]);else T(t,o);return i=g(o,"script"),i.length>0&&b(i,!l&&g(t,"script")),i=a=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,s,a,l,u,c,f=t.length,h=m(e),d=[],p=0;f>p;p++)if((o=t[p])||0===o)if("object"===rt.type(o))rt.merge(d,o.nodeType?[o]:o);else if(qt.test(o)){for(a=a||h.appendChild(e.createElement("div")),l=(Bt.exec(o)||["",""])[1].toLowerCase(),c=Vt[l]||Vt._default,a.innerHTML=c[1]+o.replace(Ft,"<$1></$2>")+c[2],r=c[0];r--;)a=a.lastChild;if(!nt.leadingWhitespace&&Ht.test(o)&&d.push(e.createTextNode(Ht.exec(o)[0])),!nt.tbody)for(o="table"!==l||zt.test(o)?"<table>"!==c[1]||zt.test(o)?0:a:a.firstChild,r=o&&o.childNodes.length;r--;)rt.nodeName(u=o.childNodes[r],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(rt.merge(d,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=h.lastChild}else d.push(e.createTextNode(o));for(a&&h.removeChild(a),nt.appendChecked||rt.grep(g(d,"input"),v),p=0;o=d[p++];)if((!i||-1===rt.inArray(o,i))&&(s=rt.contains(o.ownerDocument,o),a=g(h.appendChild(o),"script"),s&&b(a),n))for(r=0;o=a[r++];)Yt.test(o.type||"")&&n.push(o);return a=null,h},cleanData:function(t,e){for(var n,i,r,o,s=0,a=rt.expando,l=rt.cache,u=nt.deleteExpando,c=rt.event.special;null!=(n=t[s]);s++)if((e||rt.acceptData(n))&&(r=n[a],o=r&&l[r])){if(o.events)for(i in o.events)c[i]?rt.event.remove(n,i):rt.removeEvent(n,i,o.handle);l[r]&&(delete l[r],u?delete n[a]:_typeof(n.removeAttribute)!==Tt?n.removeAttribute(a):n[a]=null,V.push(r))}}}),rt.fn.extend({text:function(t){return Pt(this,function(t){return void 0===t?rt.text(this):this.empty().append((this[0]&&this[0].ownerDocument||pt).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){y(this,t).appendChild(t)}})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=y(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?rt.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||rt.cleanData(g(n)),n.parentNode&&(e&&rt.contains(n.ownerDocument,n)&&b(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&rt.cleanData(g(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&rt.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return rt.clone(this,t,e)})},html:function(t){return Pt(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(Rt,""):void 0;if(!("string"!=typeof t||Xt.test(t)||!nt.htmlSerialize&&jt.test(t)||!nt.leadingWhitespace&&Ht.test(t)||Vt[(Bt.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(Ft,"<$1></$2>");try{for(;i>n;n++)e=this[n]||{},1===e.nodeType&&(rt.cleanData(g(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,rt.cleanData(g(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=Q.apply([],t);var n,i,r,o,s,a,l=0,u=this.length,c=this,f=u-1,h=t[0],d=rt.isFunction(h);if(d||u>1&&"string"==typeof h&&!nt.checkClone&&Wt.test(h))return this.each(function(n){var i=c.eq(n);d&&(t[0]=h.call(this,n,i.html())),i.domManip(t,e)});if(u&&(a=rt.buildFragment(t,this[0].ownerDocument,!1,this),n=a.firstChild,1===a.childNodes.length&&(a=n),n)){for(o=rt.map(g(a,"script"),_),r=o.length;u>l;l++)i=a,l!==f&&(i=rt.clone(i,!0,!0),r&&rt.merge(o,g(i,"script"))),e.call(this[l],i,l);if(r)for(s=o[o.length-1].ownerDocument,rt.map(o,x),l=0;r>l;l++)i=o[l],Yt.test(i.type||"")&&!rt._data(i,"globalEval")&&rt.contains(s,i)&&(i.src?rt._evalUrl&&rt._evalUrl(i.src):rt.globalEval((i.text||i.textContent||i.innerHTML||"").replace($t,"")));a=n=null}return this}}),rt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){rt.fn[t]=function(t){for(var n,i=0,r=[],o=rt(t),s=o.length-1;s>=i;i++)n=i===s?this:this.clone(!0),rt(o[i])[e](n),K.apply(r,n.get());return this.pushStack(r)}});var Kt,Zt={};!function(){var t;nt.shrinkWrapBlocks=function(){if(null!=t)return t;t=!1;var e,n,i;return n=pt.getElementsByTagName("body")[0],n&&n.style?(e=pt.createElement("div"),i=pt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),_typeof(e.style.zoom)!==Tt&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(pt.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(i),t):void 0}}()
;var Jt,te,ee=/^margin/,ne=new RegExp("^("+Ct+")(?!px)[a-z%]+$","i"),ie=/^(top|right|bottom|left)$/;t.getComputedStyle?(Jt=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},te=function(t,e,n){var i,r,o,s,a=t.style;return n=n||Jt(t),s=n?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==s||rt.contains(t.ownerDocument,t)||(s=rt.style(t,e)),ne.test(s)&&ee.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0===s?s:s+""}):pt.documentElement.currentStyle&&(Jt=function(t){return t.currentStyle},te=function(t,e,n){var i,r,o,s,a=t.style;return n=n||Jt(t),s=n?n[e]:void 0,null==s&&a&&a[e]&&(s=a[e]),ne.test(s)&&!ie.test(e)&&(i=a.left,r=t.runtimeStyle,o=r&&r.left,o&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=i,o&&(r.left=o)),void 0===s?s:s+""||"auto"}),!function(){var e,n,i,r,o,s,a;if(e=pt.createElement("div"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=e.getElementsByTagName("a")[0],n=i&&i.style){var l=function(){var e,n,i,l;(n=pt.getElementsByTagName("body")[0])&&n.style&&(e=pt.createElement("div"),i=pt.createElement("div"),i.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=o=!1,a=!0,t.getComputedStyle&&(r="1%"!==(t.getComputedStyle(e,null)||{}).top,o="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,l=e.appendChild(pt.createElement("div")),l.style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",l.style.marginRight=l.style.width="0",e.style.width="1px",a=!parseFloat((t.getComputedStyle(l,null)||{}).marginRight),e.removeChild(l)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",l=e.getElementsByTagName("td"),l[0].style.cssText="margin:0;border:0;padding:0;display:none",s=0===l[0].offsetHeight,s&&(l[0].style.display="",l[1].style.display="none",s=0===l[0].offsetHeight),n.removeChild(i))};n.cssText="float:left;opacity:.5",nt.opacity="0.5"===n.opacity,nt.cssFloat=!!n.cssFloat,e.style.backgroundClip="content-box",e.cloneNode(!0).style.backgroundClip="",nt.clearCloneStyle="content-box"===e.style.backgroundClip,nt.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,rt.extend(nt,{reliableHiddenOffsets:function(){return null==s&&l(),s},boxSizingReliable:function(){return null==o&&l(),o},pixelPosition:function(){return null==r&&l(),r},reliableMarginRight:function(){return null==a&&l(),a}})}}(),rt.swap=function(t,e,n,i){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];r=n.apply(t,i||[]);for(o in e)t.style[o]=s[o];return r};var re=/alpha\([^)]*\)/i,oe=/opacity\s*=\s*([^)]*)/,se=/^(none|table(?!-c[ea]).+)/,ae=new RegExp("^("+Ct+")(.*)$","i"),le=new RegExp("^([+-])=("+Ct+")","i"),ue={position:"absolute",visibility:"hidden",display:"block"},ce={letterSpacing:"0",fontWeight:"400"},fe=["Webkit","O","Moz","ms"];rt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=te(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:nt.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=rt.camelCase(e),l=t.style;if(e=rt.cssProps[a]||(rt.cssProps[a]=E(l,a)),s=rt.cssHooks[e]||rt.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:l[e];if(o=void 0===n?"undefined":_typeof(n),"string"===o&&(r=le.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(rt.css(t,e)),o="number"),null!=n&&n===n&&("number"!==o||rt.cssNumber[a]||(n+="px"),nt.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(t,n,i)))))try{l[e]=n}catch(t){}}},css:function(t,e,n,i){var r,o,s,a=rt.camelCase(e);return e=rt.cssProps[a]||(rt.cssProps[a]=E(t.style,a)),s=rt.cssHooks[e]||rt.cssHooks[a],s&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=te(t,e,i)),"normal"===o&&e in ce&&(o=ce[e]),""===n||n?(r=parseFloat(o),!0===n||rt.isNumeric(r)?r||0:o):o}}),rt.each(["height","width"],function(t,e){rt.cssHooks[e]={get:function(t,n,i){return n?se.test(rt.css(t,"display"))&&0===t.offsetWidth?rt.swap(t,ue,function(){return N(t,e,i)}):N(t,e,i):void 0},set:function(t,n,i){var r=i&&Jt(t);return A(t,n,i?O(t,e,i,nt.boxSizing&&"border-box"===rt.css(t,"boxSizing",!1,r),r):0)}}}),nt.opacity||(rt.cssHooks.opacity={get:function(t,e){return oe.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=rt.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===rt.trim(o.replace(re,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=re.test(o)?o.replace(re,r):o+" "+r)}}),rt.cssHooks.marginRight=k(nt.reliableMarginRight,function(t,e){return e?rt.swap(t,{display:"inline-block"},te,[t,"marginRight"]):void 0}),rt.each({margin:"",padding:"",border:"Width"},function(t,e){rt.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+kt[i]+e]=o[i]||o[i-2]||o[0];return r}},ee.test(t)||(rt.cssHooks[t+e].set=A)}),rt.fn.extend({css:function(t,e){return Pt(this,function(t,e,n){var i,r,o={},s=0;if(rt.isArray(e)){for(i=Jt(t),r=e.length;r>s;s++)o[e[s]]=rt.css(t,e[s],!1,i);return o}return void 0!==n?rt.style(t,e,n):rt.css(t,e)},t,e,arguments.length>1)},show:function(){return P(this,!0)},hide:function(){return P(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){Et(this)?rt(this).show():rt(this).hide()})}}),rt.Tween=M,M.prototype={constructor:M,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(rt.cssNumber[n]?"":"px")},cur:function(){var t=M.propHooks[this.prop];return t&&t.get?t.get(this):M.propHooks._default.get(this)},run:function(t){var e,n=M.propHooks[this.prop];return this.pos=e=this.options.duration?rt.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),n&&n.set?n.set(this):M.propHooks._default.set(this),this}},M.prototype.init.prototype=M.prototype,M.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=rt.css(t.elem,t.prop,""),e&&"auto"!==e?e:0):t.elem[t.prop]},set:function(t){rt.fx.step[t.prop]?rt.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[rt.cssProps[t.prop]]||rt.cssHooks[t.prop])?rt.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},M.propHooks.scrollTop=M.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},rt.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},rt.fx=M.prototype.init,rt.fx.step={};var he,de,pe=/^(?:toggle|show|hide)$/,me=new RegExp("^(?:([+-])=|)("+Ct+")([a-z%]*)$","i"),ge=/queueHooks$/,ve=[R],ye={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=me.exec(e),o=r&&r[3]||(rt.cssNumber[t]?"":"px"),s=(rt.cssNumber[t]||"px"!==o&&+i)&&me.exec(rt.css(n.elem,t)),a=1,l=20;if(s&&s[3]!==o){o=o||s[3],r=r||[],s=+i||1;do{a=a||".5",s/=a,rt.style(n.elem,t,s+o)}while(a!==(a=n.cur()/i)&&1!==a&&--l)}return r&&(s=n.start=+s||+i||0,n.unit=o,n.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),n}]};rt.Animation=rt.extend(H,{tweener:function(t,e){rt.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],ye[n]=ye[n]||[],ye[n].unshift(e)},prefilter:function(t,e){e?ve.unshift(t):ve.push(t)}}),rt.speed=function(t,e,n){var i=t&&"object"==(void 0===t?"undefined":_typeof(t))?rt.extend({},t):{complete:n||!n&&e||rt.isFunction(t)&&t,duration:t,easing:n&&e||e&&!rt.isFunction(e)&&e};return i.duration=rt.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in rt.fx.speeds?rt.fx.speeds[i.duration]:rt.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){rt.isFunction(i.old)&&i.old.call(this),i.queue&&rt.dequeue(this,i.queue)},i},rt.fn.extend({fadeTo:function(t,e,n,i){return this.filter(Et).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=rt.isEmptyObject(t),o=rt.speed(e,n,i),s=function(){var e=H(this,rt.extend({},t),o);(r||rt._data(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=rt.timers,s=rt._data(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&ge.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));(e||!n)&&rt.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=rt._data(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=rt.timers,s=i?i.length:0;for(n.finish=!0,rt.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),rt.each(["toggle","show","hide"],function(t,e){var n=rt.fn[e];rt.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(L(e,!0),t,i,r)}}),rt.each({slideDown:L("show"),slideUp:L("hide"),slideToggle:L("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){rt.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),rt.timers=[],rt.fx.tick=function(){var t,e=rt.timers,n=0;for(he=rt.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||rt.fx.stop(),he=void 0},rt.fx.timer=function(t){rt.timers.push(t),t()?rt.fx.start():rt.timers.pop()},rt.fx.interval=13,rt.fx.start=function(){de||(de=setInterval(rt.fx.tick,rt.fx.interval))},rt.fx.stop=function(){clearInterval(de),de=null},rt.fx.speeds={slow:600,fast:200,_default:400},rt.fn.delay=function(t,e){return t=rt.fx?rt.fx.speeds[t]||t:t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t,e,n,i,r;e=pt.createElement("div"),e.setAttribute("className","t"),e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=e.getElementsByTagName("a")[0],n=pt.createElement("select"),r=n.appendChild(pt.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",nt.getSetAttribute="t"!==e.className,nt.style=/top/.test(i.getAttribute("style")),nt.hrefNormalized="/a"===i.getAttribute("href"),nt.checkOn=!!t.value,nt.optSelected=r.selected,nt.enctype=!!pt.createElement("form").enctype,n.disabled=!0,nt.optDisabled=!r.disabled,t=pt.createElement("input"),t.setAttribute("value",""),nt.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),nt.radioValue="t"===t.value}();var _e=/\r/g;rt.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=rt.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(r=i?t.call(this,n,rt(this).val()):t,null==r?r="":"number"==typeof r?r+="":rt.isArray(r)&&(r=rt.map(r,function(t){return null==t?"":t+""})),(e=rt.valHooks[this.type]||rt.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=rt.valHooks[r.type]||rt.valHooks[r.nodeName.toLowerCase()],e&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:(n=r.value,"string"==typeof n?n.replace(_e,""):null==n?"":n)):void 0}}),rt.extend({valHooks:{option:{get:function(t){var e=rt.find.attr(t,"value");return null!=e?e:rt.trim(rt.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,s=o?null:[],a=o?r+1:i.length,l=0>r?a:o?r:0;a>l;l++)if(n=i[l],!(!n.selected&&l!==r||(nt.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&rt.nodeName(n.parentNode,"optgroup"))){if(e=rt(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=rt.makeArray(e),s=r.length;s--;)if(i=r[s],rt.inArray(rt.valHooks.option.get(i),o)>=0)try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}}),rt.each(["radio","checkbox"],function(){rt.valHooks[this]={set:function(t,e){return rt.isArray(e)?t.checked=rt.inArray(rt(t).val(),e)>=0:void 0}},nt.checkOn||(rt.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var xe,be,Te=rt.expr.attrHandle,we=/^(?:checked|selected)$/i,Se=nt.getSetAttribute,Ce=nt.input;rt.fn.extend({attr:function(t,e){return Pt(this,rt.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){rt.removeAttr(this,t)})}}),rt.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return _typeof(t.getAttribute)===Tt?rt.prop(t,e,n):(1===o&&rt.isXMLDoc(t)||(e=e.toLowerCase(),i=rt.attrHooks[e]||(rt.expr.match.bool.test(e)?be:xe)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:(r=rt.find.attr(t,e),null==r?void 0:r):null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void rt.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(yt);if(o&&1===t.nodeType)for(;n=o[r++];)i=rt.propFix[n]||n,rt.expr.match.bool.test(n)?Ce&&Se||!we.test(n)?t[i]=!1:t[rt.camelCase("default-"+n)]=t[i]=!1:rt.attr(t,n,""),t.removeAttribute(Se?n:i)},attrHooks:{type:{set:function(t,e){if(!nt.radioValue&&"radio"===e&&rt.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),be={set:function(t,e,n){return!1===e?rt.removeAttr(t,n):Ce&&Se||!we.test(n)?t.setAttribute(!Se&&rt.propFix[n]||n,n):t[rt.camelCase("default-"+n)]=t[n]=!0,n}},rt.each(rt.expr.match.bool.source.match(/\w+/g),function(t,e){var n=Te[e]||rt.find.attr;Te[e]=Ce&&Se||!we.test(e)?function(t,e,i){var r,o;return i||(o=Te[e],Te[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,Te[e]=o),r}:function(t,e,n){return n?void 0:t[rt.camelCase("default-"+e)]?e.toLowerCase():null}}),Ce&&Se||(rt.attrHooks.value={set:function(t,e,n){return rt.nodeName(t,"input")?void(t.defaultValue=e):xe&&xe.set(t,e,n)}}),Se||(xe={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},Te.id=Te.name=Te.coords=function(t,e,n){var i;return n?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},rt.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:xe.set},rt.attrHooks.contenteditable={set:function(t,e,n){xe.set(t,""!==e&&e,n)}},rt.each(["width","height"],function(t,e){rt.attrHooks[e]={set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}}})),nt.style||(rt.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var ke=/^(?:input|select|textarea|button|object)$/i,Ee=/^(?:a|area)$/i;rt.fn.extend({prop:function(t,e){return Pt(this,rt.prop,t,e,arguments.length>1)},removeProp:function(t){return t=rt.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),rt.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,r,o,s=t.nodeType;if(t&&3!==s&&8!==s&&2!==s)return o=1!==s||!rt.isXMLDoc(t),o&&(e=rt.propFix[e]||e,r=rt.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=rt.find.attr(t,"tabindex");return e?parseInt(e,10):ke.test(t.nodeName)||Ee.test(t.nodeName)&&t.href?0:-1}}}}),nt.hrefNormalized||rt.each(["href","src"],function(t,e){rt.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),nt.optSelected||(rt.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),rt.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){rt.propFix[this.toLowerCase()]=this}),nt.enctype||(rt.propFix.enctype="encoding");var Pe=/[\t\r\n\f]/g;rt.fn.extend({addClass:function(t){var e,n,i,r,o,s,a=0,l=this.length,u="string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).addClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(yt)||[];l>a;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Pe," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=rt.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0,l=this.length,u=0===arguments.length||"string"==typeof t&&t;if(rt.isFunction(t))return this.each(function(e){rt(this).removeClass(t.call(this,e,this.className))});if(u)for(e=(t||"").match(yt)||[];l>a;a++)if(n=this[a],i=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(Pe," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");s=t?rt.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=void 0===t?"undefined":_typeof(t);return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(rt.isFunction(t)?function(n){rt(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,r=rt(this),o=t.match(yt)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(n===Tt||"boolean"===n)&&(this.className&&rt._data(this,"__className__",this.className),this.className=this.className||!1===t?"":rt._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(Pe," ").indexOf(e)>=0)return!0;return!1}}),rt.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){rt.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),rt.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var Ae=rt.now(),Oe=/\?/,Ne=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;rt.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,r=rt.trim(e+"");return r&&!rt.trim(r.replace(Ne,function(t,e,r,o){return n&&e&&(i=0),0===i?t:(n=r||e,i+=!o-!r,"")}))?Function("return "+r)():rt.error("Invalid JSON: "+e)},rt.parseXML=function(e){var n,i;if(!e||"string"!=typeof e)return null;try{t.DOMParser?(i=new DOMParser,n=i.parseFromString(e,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(e))}catch(t){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||rt.error("Invalid XML: "+e),n};var Me,De,Le=/#.*$/,Ie=/([?&])_=[^&]*/,Re=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,je=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,He=/^(?:GET|HEAD)$/,Fe=/^\/\//,Be=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ze={},qe={},Xe="*/".concat("*");try{De=location.href}catch(t){De=pt.createElement("a"),De.href="",De=De.href}Me=Be.exec(De.toLowerCase())||[],rt.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:De,type:"GET",isLocal:je.test(Me[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",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":rt.parseJSON,"text xml":rt.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?z(z(t,rt.ajaxSettings),e):z(rt.ajaxSettings,t)},ajaxPrefilter:F(ze),ajaxTransport:F(qe),ajax:function(t,e){function n(t,e,n,i){var r,c,v,y,x,T=e;2!==_&&(_=2,a&&clearTimeout(a),u=void 0,s=i||"",b.readyState=t>0?4:0,r=t>=200&&300>t||304===t,n&&(y=q(f,b,n)),y=X(f,y,b,r),r?(f.ifModified&&(x=b.getResponseHeader("Last-Modified"),x&&(rt.lastModified[o]=x),(x=b.getResponseHeader("etag"))&&(rt.etag[o]=x)),204===t||"HEAD"===f.type?T="nocontent":304===t?T="notmodified":(T=y.state,c=y.data,v=y.error,r=!v)):(v=T,(t||!T)&&(T="error",0>t&&(t=0))),b.status=t,b.statusText=(e||T)+"",r?p.resolveWith(h,[c,T,b]):p.rejectWith(h,[b,T,v]),b.statusCode(g),g=void 0,l&&d.trigger(r?"ajaxSuccess":"ajaxError",[b,f,r?c:v]),m.fireWith(h,[b,T]),l&&(d.trigger("ajaxComplete",[b,f]),--rt.active||rt.event.trigger("ajaxStop")))}"object"==(void 0===t?"undefined":_typeof(t))&&(e=t,t=void 0),e=e||{};var i,r,o,s,a,l,u,c,f=rt.ajaxSetup({},e),h=f.context||f,d=f.context&&(h.nodeType||h.jquery)?rt(h):rt.event,p=rt.Deferred(),m=rt.Callbacks("once memory"),g=f.statusCode||{},v={},y={},_=0,x="canceled",b={readyState:0,getResponseHeader:function(t){var e;if(2===_){if(!c)for(c={};e=Re.exec(s);)c[e[1].toLowerCase()]=e[2];e=c[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===_?s:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return _||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return _||(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>_)for(e in t)g[e]=[g[e],t[e]];else b.always(t[b.status]);return this},abort:function(t){var e=t||x;return u&&u.abort(e),n(0,e),this}};if(p.promise(b).complete=m.add,b.success=b.done,b.error=b.fail,f.url=((t||f.url||De)+"").replace(Le,"").replace(Fe,Me[1]+"//"),f.type=e.method||e.type||f.method||f.type,f.dataTypes=rt.trim(f.dataType||"*").toLowerCase().match(yt)||[""],null==f.crossDomain&&(i=Be.exec(f.url.toLowerCase()),f.crossDomain=!(!i||i[1]===Me[1]&&i[2]===Me[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(Me[3]||("http:"===Me[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=rt.param(f.data,f.traditional)),B(ze,f,e,b),2===_)return b;l=rt.event&&f.global,l&&0==rt.active++&&rt.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!He.test(f.type),o=f.url,f.hasContent||(f.data&&(o=f.url+=(Oe.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(f.url=Ie.test(o)?o.replace(Ie,"$1_="+Ae++):o+(Oe.test(o)?"&":"?")+"_="+Ae++)),f.ifModified&&(rt.lastModified[o]&&b.setRequestHeader("If-Modified-Since",rt.lastModified[o]),rt.etag[o]&&b.setRequestHeader("If-None-Match",rt.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||e.contentType)&&b.setRequestHeader("Content-Type",f.contentType),b.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Xe+"; q=0.01":""):f.accepts["*"]);for(r in f.headers)b.setRequestHeader(r,f.headers[r]);if(f.beforeSend&&(!1===f.beforeSend.call(h,b,f)||2===_))return b.abort();x="abort";for(r in{success:1,error:1,complete:1})b[r](f[r]);if(u=B(qe,f,e,b)){b.readyState=1,l&&d.trigger("ajaxSend",[b,f]),f.async&&f.timeout>0&&(a=setTimeout(function(){b.abort("timeout")},f.timeout));try{_=1,u.send(v,n)}catch(t){if(!(2>_))throw t;n(-1,t)}}else n(-1,"No Transport");return b},getJSON:function(t,e,n){return rt.get(t,e,n,"json")},getScript:function(t,e){return rt.get(t,void 0,e,"script")}}),rt.each(["get","post"],function(t,e){rt[e]=function(t,n,i,r){return rt.isFunction(n)&&(r=r||i,i=n,n=void 0),rt.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),rt._evalUrl=function(t){return rt.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},rt.fn.extend({wrapAll:function(t){if(rt.isFunction(t))return this.each(function(e){rt(this).wrapAll(t.call(this,e))});if(this[0]){var e=rt(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(rt.isFunction(t)?function(e){rt(this).wrapInner(t.call(this,e))}:function(){var e=rt(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=rt.isFunction(t);return this.each(function(n){rt(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){rt.nodeName(this,"body")||rt(this).replaceWith(this.childNodes)}).end()}}),rt.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!nt.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||rt.css(t,"display"))},rt.expr.filters.visible=function(t){return!rt.expr.filters.hidden(t)};var We=/%20/g,Ye=/\[\]$/,Ue=/\r?\n/g,$e=/^(?:submit|button|image|reset|file)$/i,Ve=/^(?:input|select|textarea|keygen)/i;rt.param=function(t,e){var n,i=[],r=function(t,e){e=rt.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=rt.ajaxSettings&&rt.ajaxSettings.traditional),rt.isArray(t)||t.jquery&&!rt.isPlainObject(t))rt.each(t,function(){r(this.name,this.value)});else for(n in t)W(n,t[n],e,r);return i.join("&").replace(We,"+")},rt.fn.extend({serialize:function(){return rt.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=rt.prop(this,"elements");return t?rt.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!rt(this).is(":disabled")&&Ve.test(this.nodeName)&&!$e.test(t)&&(this.checked||!At.test(t))}).map(function(t,e){var n=rt(this).val();return null==n?null:rt.isArray(n)?rt.map(n,function(t){return{name:e.name,value:t.replace(Ue,"\r\n")}}):{name:e.name,value:n.replace(Ue,"\r\n")}}).get()}}),rt.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Y()||U()}:Y;var Ge=0,Qe={},Ke=rt.ajaxSettings.xhr();t.attachEvent&&t.attachEvent("onunload",function(){for(var t in Qe)Qe[t](void 0,!0)}),nt.cors=!!Ke&&"withCredentials"in Ke,(Ke=nt.ajax=!!Ke)&&rt.ajaxTransport(function(t){if(!t.crossDomain||nt.cors){var e;return{send:function(n,i){var r,o=t.xhr(),s=++Ge;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(r in n)void 0!==n[r]&&o.setRequestHeader(r,n[r]+"");o.send(t.hasContent&&t.data||null),e=function(n,r){var a,l,u;if(e&&(r||4===o.readyState))if(delete Qe[s],e=void 0,o.onreadystatechange=rt.noop,r)4!==o.readyState&&o.abort();else{u={},a=o.status,"string"==typeof o.responseText&&(u.text=o.responseText);try{l=o.statusText}catch(t){l=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=u.text?200:404}u&&i(a,l,u,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=Qe[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}}),rt.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return rt.globalEval(t),t}}}),rt.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),rt.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=pt.head||rt("head")[0]||pt.documentElement;return{send:function(i,r){e=pt.createElement("script"),e.async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var Ze=[],Je=/(=)\?(?=&|$)|\?\?/;rt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ze.pop()||rt.expando+"_"+Ae++;return this[t]=!0,t}}),rt.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,s,a=!1!==e.jsonp&&(Je.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Je.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=rt.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Je,"$1"+r):!1!==e.jsonp&&(e.url+=(Oe.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||rt.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){s=arguments},i.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,Ze.push(r)),s&&rt.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),rt.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||pt;var i=ft.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=rt.buildFragment([t],e,r),r&&r.length&&rt(r).remove(),rt.merge([],i.childNodes))};var tn=rt.fn.load;rt.fn.load=function(t,e,n){if("string"!=typeof t&&tn)return tn.apply(this,arguments);var i,r,o,s=this,a=t.indexOf(" ");return a>=0&&(i=rt.trim(t.slice(a,t.length)),t=t.slice(0,a)),rt.isFunction(e)?(n=e,e=void 0):e&&"object"==(void 0===e?"undefined":_typeof(e))&&(o="POST"),s.length>0&&rt.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?rt("<div>").append(rt.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,r||[t.responseText,e,t])}),this},rt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){rt.fn[e]=function(t){return this.on(e,t)}}),rt.expr.filters.animated=function(t){return rt.grep(rt.timers,function(e){return t===e.elem}).length};var en=t.document.documentElement;rt.offset={setOffset:function(t,e,n){var i,r,o,s,a,l,u,c=rt.css(t,"position"),f=rt(t),h={};"static"===c&&(t.style.position="relative"),a=f.offset(),o=rt.css(t,"top"),l=rt.css(t,"left"),u=("absolute"===c||"fixed"===c)&&rt.inArray("auto",[o,l])>-1,u?(i=f.position(),s=i.top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),rt.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):f.css(h)}},rt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){rt.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(e=o.documentElement,rt.contains(e,r)?(_typeof(r.getBoundingClientRect)!==Tt&&(i=r.getBoundingClientRect()),n=$(o),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===rt.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),rt.nodeName(t[0],"html")||(n=t.offset()),n.top+=rt.css(t[0],"borderTopWidth",!0),n.left+=rt.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-rt.css(i,"marginTop",!0),left:e.left-n.left-rt.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||en;t&&!rt.nodeName(t,"html")&&"static"===rt.css(t,"position");)t=t.offsetParent;return t||en})}}),rt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);rt.fn[t]=function(i){return Pt(this,function(t,i,r){
var o=$(t);return void 0===r?o?e in o?o[e]:o.document.documentElement[i]:t[i]:void(o?o.scrollTo(n?rt(o).scrollLeft():r,n?r:rt(o).scrollTop()):t[i]=r)},t,i,arguments.length,null)}}),rt.each(["top","left"],function(t,e){rt.cssHooks[e]=k(nt.pixelPosition,function(t,n){return n?(n=te(t,e),ne.test(n)?rt(t).position()[e]+"px":n):void 0})}),rt.each({Height:"height",Width:"width"},function(t,e){rt.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){rt.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===r?"margin":"border");return Pt(this,function(e,n,i){var r;return rt.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?rt.css(e,n,s):rt.style(e,n,i,s)},e,o?i:void 0,o,null)}})}),rt.fn.size=function(){return this.length},rt.fn.andSelf=rt.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return rt});var nn=t.jQuery,rn=t.$;return rt.noConflict=function(e){return t.$===rt&&(t.$=rn),e&&t.jQuery===rt&&(t.jQuery=nn),rt},(void 0===e?"undefined":_typeof(e))===Tt&&(t.jQuery=t.$=rt),rt}),function(t,e){"use strict";var n=t.History=t.History||{},i=t.jQuery;if(void 0!==n.Adapter)throw new Error("History.js Adapter has already been loaded...");n.Adapter={bind:function(t,e,n){i(t).bind(e,n)},trigger:function(t,e,n){i(t).trigger(e,n)},extractEventData:function(t,e,n){return e&&e.originalEvent&&e.originalEvent[t]||n&&n[t]||void 0},onDomLoad:function(t){i(t)}},void 0!==n.init&&n.init()}(window),function(t,e){"use strict";var n=t.console||e,i=t.document,r=t.navigator,o=!1,s=t.setTimeout,a=t.clearTimeout,l=t.setInterval,u=t.clearInterval,c=t.JSON,f=t.alert,h=t.History=t.History||{},d=t.history;try{o=t.sessionStorage,o.setItem("TEST","1"),o.removeItem("TEST")}catch(t){o=!1}if(c.stringify=c.stringify||c.encode,c.parse=c.parse||c.decode,void 0!==h.init)throw new Error("History.js Core has already been loaded...");h.init=function(t){return void 0!==h.Adapter&&(void 0!==h.initCore&&h.initCore(),void 0!==h.initHtml4&&h.initHtml4(),!0)},h.initCore=function(p){if(void 0!==h.initCore.initialized)return!1;if(h.initCore.initialized=!0,h.options=h.options||{},h.options.hashChangeInterval=h.options.hashChangeInterval||100,h.options.safariPollInterval=h.options.safariPollInterval||500,h.options.doubleCheckInterval=h.options.doubleCheckInterval||500,h.options.disableSuid=h.options.disableSuid||!1,h.options.storeInterval=h.options.storeInterval||1e3,h.options.busyDelay=h.options.busyDelay||250,h.options.debug=h.options.debug||!1,h.options.initialTitle=h.options.initialTitle||i.title,h.options.html4Mode=h.options.html4Mode||!1,h.options.delayInit=h.options.delayInit||!1,h.intervalList=[],h.clearAllIntervals=function(){var t,e=h.intervalList;if(void 0!==e&&null!==e){for(t=0;t<e.length;t++)u(e[t]);h.intervalList=null}},h.debug=function(){(h.options.debug||!1)&&h.log.apply(h,arguments)},h.log=function(){var t,e,r,o,s,a=void 0!==n&&void 0!==n.log&&void 0!==n.log.apply,l=i.getElementById("log");for(a?(o=Array.prototype.slice.call(arguments),t=o.shift(),void 0!==n.debug?n.debug.apply(n,[t,o]):n.log.apply(n,[t,o])):t="\n"+arguments[0]+"\n",e=1,r=arguments.length;e<r;++e){if(s=arguments[e],"object"==(void 0===s?"undefined":_typeof(s))&&void 0!==c)try{s=c.stringify(s)}catch(t){}t+="\n"+s+"\n"}return l?(l.value+=t+"\n-----\n",l.scrollTop=l.scrollHeight-l.clientHeight):a||f(t),!0},h.getInternetExplorerMajorVersion=function(){return h.getInternetExplorerMajorVersion.cached=void 0!==h.getInternetExplorerMajorVersion.cached?h.getInternetExplorerMajorVersion.cached:function(){for(var t=3,e=i.createElement("div"),n=e.getElementsByTagName("i");(e.innerHTML="\x3c!--[if gt IE "+ ++t+"]><i></i><![endif]--\x3e")&&n[0];);return t>4&&t}()},h.isInternetExplorer=function(){return h.isInternetExplorer.cached=void 0!==h.isInternetExplorer.cached?h.isInternetExplorer.cached:Boolean(h.getInternetExplorerMajorVersion())},h.options.html4Mode?h.emulated={pushState:!0,hashChange:!0}:h.emulated={pushState:!Boolean(t.history&&t.history.pushState&&t.history.replaceState&&!/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(r.userAgent)&&!/AppleWebKit\/5([0-2]|3[0-2])/i.test(r.userAgent)),hashChange:Boolean(!("onhashchange"in t||"onhashchange"in i)||h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<8)},h.enabled=!h.emulated.pushState,h.bugs={setHash:Boolean(!h.emulated.pushState&&"Apple Computer, Inc."===r.vendor&&/AppleWebKit\/5([0-2]|3[0-3])/.test(r.userAgent)),safariPoll:Boolean(!h.emulated.pushState&&"Apple Computer, Inc."===r.vendor&&/AppleWebKit\/5([0-2]|3[0-3])/.test(r.userAgent)),ieDoubleCheck:Boolean(h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<7)},h.isEmptyObject=function(t){for(var e in t)if(t.hasOwnProperty(e))return!1;return!0},h.cloneObject=function(t){var e,n;return t?(e=c.stringify(t),n=c.parse(e)):n={},n},h.getRootUrl=function(){var t=i.location.protocol+"//"+(i.location.hostname||i.location.host);return i.location.port&&(t+=":"+i.location.port),t+="/"},h.getBaseHref=function(){var t=i.getElementsByTagName("base"),e=null,n="";return 1===t.length&&(e=t[0],n=e.href.replace(/[^\/]+$/,"")),n=n.replace(/\/+$/,""),n&&(n+="/"),n},h.getBaseUrl=function(){return h.getBaseHref()||h.getBasePageUrl()||h.getRootUrl()},h.getPageUrl=function(){var t=h.getState(!1,!1),e=(t||{}).url||h.getLocationHref();return e.replace(/\/+$/,"").replace(/[^\/]+$/,function(t,e,n){return/\./.test(t)?t:t+"/"})},h.getBasePageUrl=function(){return h.getLocationHref().replace(/[#\?].*/,"").replace(/[^\/]+$/,function(t,e,n){return/[^\/]$/.test(t)?"":t}).replace(/\/+$/,"")+"/"},h.getFullUrl=function(t,e){var n=t,i=t.substring(0,1);return e=void 0===e||e,/[a-z]+\:\/\//.test(t)||(n="/"===i?h.getRootUrl()+t.replace(/^\/+/,""):"#"===i?h.getPageUrl().replace(/#.*/,"")+t:"?"===i?h.getPageUrl().replace(/[\?#].*/,"")+t:e?h.getBaseUrl()+t.replace(/^(\.\/)+/,""):h.getBasePageUrl()+t.replace(/^(\.\/)+/,"")),n.replace(/\#$/,"")},h.getShortUrl=function(t){var e=t,n=h.getBaseUrl(),i=h.getRootUrl();return h.emulated.pushState&&(e=e.replace(n,"")),e=e.replace(i,"/"),h.isTraditionalAnchor(e)&&(e="./"+e),e=e.replace(/^(\.\/)+/g,"./").replace(/\#$/,"")},h.getLocationHref=function(t){return t=t||i,t.URL===t.location.href?t.location.href:t.location.href===decodeURIComponent(t.URL)?t.URL:t.location.hash&&decodeURIComponent(t.location.href.replace(/^[^#]+/,""))===t.location.hash?t.location.href:-1==t.URL.indexOf("#")&&-1!=t.location.href.indexOf("#")?t.location.href:t.URL||t.location.href},h.store={},h.idToState=h.idToState||{},h.stateToId=h.stateToId||{},h.urlToId=h.urlToId||{},h.storedStates=h.storedStates||[],h.savedStates=h.savedStates||[],h.normalizeStore=function(){h.store.idToState=h.store.idToState||{},h.store.urlToId=h.store.urlToId||{},h.store.stateToId=h.store.stateToId||{}},h.getState=function(t,e){void 0===t&&(t=!0),void 0===e&&(e=!0);var n=h.getLastSavedState();return!n&&e&&(n=h.createStateObject()),t&&(n=h.cloneObject(n),n.url=n.cleanUrl||n.url),n},h.getIdByState=function(t){var e,n=h.extractId(t.url);if(!n)if(e=h.getStateString(t),void 0!==h.stateToId[e])n=h.stateToId[e];else if(void 0!==h.store.stateToId[e])n=h.store.stateToId[e];else{for(;n=(new Date).getTime()+String(Math.random()).replace(/\D/g,""),void 0!==h.idToState[n]||void 0!==h.store.idToState[n];);h.stateToId[e]=n,h.idToState[n]=t}return n},h.normalizeState=function(t){var e,n;return t&&"object"==(void 0===t?"undefined":_typeof(t))||(t={}),void 0!==t.normalized?t:(t.data&&"object"==_typeof(t.data)||(t.data={}),e={},e.normalized=!0,e.title=t.title||"",e.url=h.getFullUrl(t.url?t.url:h.getLocationHref()),e.hash=h.getShortUrl(e.url),e.data=h.cloneObject(t.data),e.id=h.getIdByState(e),e.cleanUrl=e.url.replace(/\??\&_suid.*/,""),e.url=e.cleanUrl,n=!h.isEmptyObject(e.data),(e.title||n)&&!0!==h.options.disableSuid&&(e.hash=h.getShortUrl(e.url).replace(/\??\&_suid.*/,""),/\?/.test(e.hash)||(e.hash+="?"),e.hash+="&_suid="+e.id),e.hashedUrl=h.getFullUrl(e.hash),(h.emulated.pushState||h.bugs.safariPoll)&&h.hasUrlDuplicate(e)&&(e.url=e.hashedUrl),e)},h.createStateObject=function(t,e,n){var i={data:t,title:e,url:n};return i=h.normalizeState(i)},h.getStateById=function(t){return t=String(t),h.idToState[t]||h.store.idToState[t]||e},h.getStateString=function(t){var e,n;return e=h.normalizeState(t),n={data:e.data,title:t.title,url:t.url},c.stringify(n)},h.getStateId=function(t){var e;return e=h.normalizeState(t),e.id},h.getHashByState=function(t){var e;return e=h.normalizeState(t),e.hash},h.extractId=function(t){var e,n;return n=-1!=t.indexOf("#")?t.split("#")[0]:t,e=/(.*)\&_suid=([0-9]+)$/.exec(n),e?e[1]||t:t,(e?String(e[2]||""):"")||!1},h.isTraditionalAnchor=function(t){return!/[\/\?\.]/.test(t)},h.extractState=function(t,e){var n,i,r=null;return e=e||!1,n=h.extractId(t),n&&(r=h.getStateById(n)),r||(i=h.getFullUrl(t),n=h.getIdByUrl(i)||!1,n&&(r=h.getStateById(n)),!r&&e&&!h.isTraditionalAnchor(t)&&(r=h.createStateObject(null,null,i))),r},h.getIdByUrl=function(t){return h.urlToId[t]||h.store.urlToId[t]||e},h.getLastSavedState=function(){return h.savedStates[h.savedStates.length-1]||e},h.getLastStoredState=function(){return h.storedStates[h.storedStates.length-1]||e},h.hasUrlDuplicate=function(t){var e;return e=h.extractState(t.url),e&&e.id!==t.id},h.storeState=function(t){return h.urlToId[t.url]=t.id,h.storedStates.push(h.cloneObject(t)),t},h.isLastSavedState=function(t){var e,n,i,r=!1;return h.savedStates.length&&(e=t.id,n=h.getLastSavedState(),i=n.id,r=e===i),r},h.saveState=function(t){return!h.isLastSavedState(t)&&(h.savedStates.push(h.cloneObject(t)),!0)},h.getStateByIndex=function(t){return void 0===t?h.savedStates[h.savedStates.length-1]:t<0?h.savedStates[h.savedStates.length+t]:h.savedStates[t]},h.getCurrentIndex=function(){return h.savedStates.length<1?0:h.savedStates.length-1},h.getHash=function(t){var e=h.getLocationHref(t);return h.getHashByUrl(e)},h.unescapeHash=function(t){var e=h.normalizeHash(t);return e=decodeURIComponent(e)},h.normalizeHash=function(t){return t.replace(/[^#]*#/,"").replace(/#.*/,"")},h.setHash=function(t,e){var n,r;return!1!==e&&h.busy()?(h.pushQueue({scope:h,callback:h.setHash,args:arguments,queue:e}),!1):(h.busy(!0),n=h.extractState(t,!0),n&&!h.emulated.pushState?h.pushState(n.data,n.title,n.url,!1):h.getHash()!==t&&(h.bugs.setHash?(r=h.getPageUrl(),h.pushState(null,null,r+"#"+t,!1)):i.location.hash=t),h)},h.escapeHash=function(e){var n=h.normalizeHash(e);return n=t.encodeURIComponent(n),h.bugs.hashEscape||(n=n.replace(/\%21/g,"!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?")),n},h.getHashByUrl=function(t){var e=String(t).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return e=h.unescapeHash(e)},h.setTitle=function(t){var e,n=t.title;n||(e=h.getStateByIndex(0))&&e.url===t.url&&(n=e.title||h.options.initialTitle);try{i.getElementsByTagName("title")[0].innerHTML=n.replace("<","<").replace(">",">").replace(" & "," & ")}catch(t){}return i.title=n,h},h.queues=[],h.busy=function(t){if(void 0!==t?h.busy.flag=t:void 0===h.busy.flag&&(h.busy.flag=!1),!h.busy.flag){a(h.busy.timeout);var e=function t(){var e,n,i;if(!h.busy.flag)for(e=h.queues.length-1;e>=0;--e)n=h.queues[e],0!==n.length&&(i=n.shift(),h.fireQueueItem(i),h.busy.timeout=s(t,h.options.busyDelay))};h.busy.timeout=s(e,h.options.busyDelay)}return h.busy.flag},h.busy.flag=!1,h.fireQueueItem=function(t){return t.callback.apply(t.scope||h,t.args||[])},h.pushQueue=function(t){return h.queues[t.queue||0]=h.queues[t.queue||0]||[],h.queues[t.queue||0].push(t),h},h.queue=function(t,e){return"function"==typeof t&&(t={callback:t}),void 0!==e&&(t.queue=e),h.busy()?h.pushQueue(t):h.fireQueueItem(t),h},h.clearQueue=function(){return h.busy.flag=!1,h.queues=[],h},h.stateChanged=!1,h.doubleChecker=!1,h.doubleCheckComplete=function(){return h.stateChanged=!0,h.doubleCheckClear(),h},h.doubleCheckClear=function(){return h.doubleChecker&&(a(h.doubleChecker),h.doubleChecker=!1),h},h.doubleCheck=function(t){return h.stateChanged=!1,h.doubleCheckClear(),h.bugs.ieDoubleCheck&&(h.doubleChecker=s(function(){return h.doubleCheckClear(),h.stateChanged||t(),!0},h.options.doubleCheckInterval)),h},h.safariStatePoll=function(){var e,n=h.extractState(h.getLocationHref());if(!h.isLastSavedState(n))return e=n,e||(e=h.createStateObject()),h.Adapter.trigger(t,"popstate"),h},h.back=function(t){return!1!==t&&h.busy()?(h.pushQueue({scope:h,callback:h.back,args:arguments,queue:t}),!1):(h.busy(!0),h.doubleCheck(function(){h.back(!1)}),d.go(-1),!0)},h.forward=function(t){return!1!==t&&h.busy()?(h.pushQueue({scope:h,callback:h.forward,args:arguments,queue:t}),!1):(h.busy(!0),h.doubleCheck(function(){h.forward(!1)}),d.go(1),!0)},h.go=function(t,e){var n;if(t>0)for(n=1;n<=t;++n)h.forward(e);else{if(!(t<0))throw new Error("History.go: History.go requires a positive or negative integer passed.");for(n=-1;n>=t;--n)h.back(e)}return h},h.emulated.pushState){var m=function(){};h.pushState=h.pushState||m,h.replaceState=h.replaceState||m}else h.onPopState=function(e,n){var i,r,o=!1,s=!1;return h.doubleCheckComplete(),i=h.getHash(),i?(r=h.extractState(i||h.getLocationHref(),!0),r?h.replaceState(r.data,r.title,r.url,!1):(h.Adapter.trigger(t,"anchorchange"),h.busy(!1)),h.expectedStateId=!1,!1):(o=h.Adapter.extractEventData("state",e,n)||!1,s=o?h.getStateById(o):h.expectedStateId?h.getStateById(h.expectedStateId):h.extractState(h.getLocationHref()),s||(s=h.createStateObject(null,null,h.getLocationHref())),h.expectedStateId=!1,h.isLastSavedState(s)?(h.busy(!1),!1):(h.storeState(s),h.saveState(s),h.setTitle(s),h.Adapter.trigger(t,"statechange"),h.busy(!1),!0))},h.Adapter.bind(t,"popstate",h.onPopState),h.pushState=function(e,n,i,r){if(h.getHashByUrl(i)&&h.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(!1!==r&&h.busy())return h.pushQueue({scope:h,callback:h.pushState,args:arguments,queue:r}),!1;h.busy(!0);var o=h.createStateObject(e,n,i);return h.isLastSavedState(o)?h.busy(!1):(h.storeState(o),h.expectedStateId=o.id,d.pushState(o.id,o.title,o.url),h.Adapter.trigger(t,"popstate")),!0},h.replaceState=function(e,n,i,r){if(h.getHashByUrl(i)&&h.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(!1!==r&&h.busy())return h.pushQueue({scope:h,callback:h.replaceState,args:arguments,queue:r}),!1;h.busy(!0);var o=h.createStateObject(e,n,i);return h.isLastSavedState(o)?h.busy(!1):(h.storeState(o),h.expectedStateId=o.id,d.replaceState(o.id,o.title,o.url),h.Adapter.trigger(t,"popstate")),!0};if(o){try{h.store=c.parse(o.getItem("History.store"))||{}}catch(t){h.store={}}h.normalizeStore()}else h.store={},h.normalizeStore();h.Adapter.bind(t,"unload",h.clearAllIntervals),h.saveState(h.storeState(h.extractState(h.getLocationHref(),!0))),o&&(h.onUnload=function(){var t,e,n;try{t=c.parse(o.getItem("History.store"))||{}}catch(e){t={}}t.idToState=t.idToState||{},t.urlToId=t.urlToId||{},t.stateToId=t.stateToId||{};for(e in h.idToState)h.idToState.hasOwnProperty(e)&&(t.idToState[e]=h.idToState[e]);for(e in h.urlToId)h.urlToId.hasOwnProperty(e)&&(t.urlToId[e]=h.urlToId[e]);for(e in h.stateToId)h.stateToId.hasOwnProperty(e)&&(t.stateToId[e]=h.stateToId[e]);h.store=t,h.normalizeStore(),n=c.stringify(t);try{o.setItem("History.store",n)}catch(t){if(t.code!==DOMException.QUOTA_EXCEEDED_ERR)throw t;o.length&&(o.removeItem("History.store"),o.setItem("History.store",n))}},h.intervalList.push(l(h.onUnload,h.options.storeInterval)),h.Adapter.bind(t,"beforeunload",h.onUnload),h.Adapter.bind(t,"unload",h.onUnload)),h.emulated.pushState||(h.bugs.safariPoll&&h.intervalList.push(l(h.safariStatePoll,h.options.safariPollInterval)),"Apple Computer, Inc."!==r.vendor&&"Mozilla"!==(r.appCodeName||"")||(h.Adapter.bind(t,"hashchange",function(){h.Adapter.trigger(t,"popstate")}),h.getHash()&&h.Adapter.onDomLoad(function(){h.Adapter.trigger(t,"hashchange")})))},(!h.options||!h.options.delayInit)&&h.init()}(window);var tns=function(){function t(){for(var t,e,n,i=arguments[0]||{},r=1,o=arguments.length;r<o;r++)if(null!==(t=arguments[r]))for(e in t)i!==(n=t[e])&&void 0!==n&&(i[e]=n);return i}function e(t){return 0<=["true","false"].indexOf(t)?JSON.parse(t):t}function n(t,e,n,i){if(i)try{t.setItem(e,n)}catch(t){}return n}function i(){var t=document,e=t.body;return e||((e=t.createElement("body")).fake=!0),e}function r(t){var e="";return t.fake&&(e=E.style.overflow,t.style.background="",t.style.overflow=E.style.overflow="hidden",E.appendChild(t)),e}function o(t,e){t.fake&&(t.remove(),E.style.overflow=e,E.offsetHeight)}function s(t,e,n,i){"insertRule"in t?t.insertRule(e+"{"+n+"}",i):t.addRule(e,n,i)}function a(t){return("insertRule"in t?t.cssRules:t.rules).length}function l(t,e,n){for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i)}function u(t,e){return t.hasAttribute(e)}function c(t,e){return t.getAttribute(e)}function f(t){return void 0!==t.item}function h(t,e){if(t=f(t)||t instanceof Array?t:[t],"[object Object]"===Object.prototype.toString.call(e))for(var n=t.length;n--;)for(var i in e)t[n].setAttribute(i,e[i])}function d(t,e){t=f(t)||t instanceof Array?t:[t];for(var n=(e=e instanceof Array?e:[e]).length,i=t.length;i--;)for(var r=n;r--;)t[i].removeAttribute(e[r])}function p(t){for(var e=[],n=0,i=t.length;n<i;n++)e.push(t[n]);return e}function m(t,e){"none"!==t.style.display&&(t.style.display="none")}function g(t,e){"none"===t.style.display&&(t.style.display="")}function v(t){return"none"!==window.getComputedStyle(t).display}function y(t){if("string"==typeof t){var e=[t],n=t.charAt(0).toUpperCase()+t.substr(1);["Webkit","Moz","ms","O"].forEach(function(i){"ms"===i&&"transform"!==t||e.push(i+n)}),t=e}for(var i=document.createElement("fakeelement"),r=(t.length,0);r<t.length;r++){var o=t[r];if(void 0!==i.style[o])return o}return!1}function _(t,e){var n=!1;return/^Webkit/.test(t)?n="webkit"+e+"End":/^O/.test(t)?n="o"+e+"End":t&&(n=e.toLowerCase()+"end"),n}function x(t,e,n){for(var i in e){var r=0<=["touchstart","touchmove"].indexOf(i)&&!n&&L;t.addEventListener(i,e[i],r)}}function b(t,e){for(var n in e){var i=0<=["touchstart","touchmove"].indexOf(n)&&L;t.removeEventListener(n,e[n],i)}}function T(){return{topics:{},on:function(t,e){this.topics[t]=this.topics[t]||[],this.topics[t].push(e)},off:function(t,e){if(this.topics[t])for(var n=0;n<this.topics[t].length;n++)if(this.topics[t][n]===e){this.topics[t].splice(n,1);break}},emit:function(t,e){e.type=t,this.topics[t]&&this.topics[t].forEach(function(n){n(e,t)})}}}Object.keys||(Object.keys=function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}),"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)});var w=window,S=w.requestAnimationFrame||w.webkitRequestAnimationFrame||w.mozRequestAnimationFrame||w.msRequestAnimationFrame||function(t){return setTimeout(t,16)},C=window,k=C.cancelAnimationFrame||C.mozCancelAnimationFrame||function(t){clearTimeout(t)},E=document.documentElement,P="classList"in document.createElement("_"),A=P?function(t,e){return t.classList.contains(e)}:function(t,e){return 0<=t.className.indexOf(e)},O=P?function(t,e){A(t,e)||t.classList.add(e)}:function(t,e){A(t,e)||(t.className+=" "+e)},N=P?function(t,e){A(t,e)&&t.classList.remove(e)}:function(t,e){A(t,e)&&(t.className=t.className.replace(e,""))},M=!1;try{var D=Object.defineProperty({},"passive",{get:function(){M=!0}});window.addEventListener("test",null,D)}catch(w){}var L=!!M&&{passive:!0};return function f(w){function C(t){t&&(xn=Tn=wn=Sn=mn=Cn=Pn=An=!1)}function E(){for(var t=Me?qn-Dn:qn;t<0;)t+=Ge;return t%Ge+1}function P(t){return t=t?Math.max(0,Math.min(yn?Ge-1:Ge-hn,t)):0,Me?t+Dn:t}function M(t){for(null==t&&(t=qn),Me&&(t-=Dn);t<0;)t+=Ge;return Math.floor(t%Ge)}function D(){var t,e=M();return t=pi?e:an||sn?Math.ceil((e+1)*Di/Ge-1):Math.floor(e/hn),!yn&&Me&&qn===Yn&&(t=Di-1),t}function L(){return ie.innerWidth||ne.documentElement.clientWidth||ne.body.clientWidth}function I(t){return"top"===t?"afterbegin":"beforeend"}function R(){var t=ln?2*ln-un:0;return function t(e){var n,i,r=ne.createElement("div");return e.appendChild(r),i=(n=r.getBoundingClientRect()).right-n.left,r.remove(),i||t(e.parentNode)}(Ue)-t}function j(t){if(w[t])return!0;if(Oe)for(var e in Oe)if(Oe[e][t])return!0;return!1}function H(t,e){if(null==e&&(e=Qe),"items"===t&&an)return Math.floor((cn+un)/(an+un))||1;var n=w[t];if(Oe)for(var i in Oe)e>=parseInt(i)&&t in Oe[i]&&(n=Oe[i][t]);return"slideBy"===t&&"page"===n&&(n=H("items")),Me||"slideBy"!==t&&"items"!==t||(n=Math.floor(n)),n}function F(t,e,n,i,r){var o="";if(void 0!==t){var s=t;e&&(s-=e),o=qe?"margin: 0 "+s+"px 0 "+t+"px;":"margin: "+t+"px 0 "+s+"px 0;"}else if(e&&!n){var a="-"+e+"px";o="margin: 0 "+(qe?a+" 0 0":"0 "+a+" 0")+";"}return!Me&&r&&be&&i&&(o+=W(i)),o}function B(t,e,n){return t?(t+e)*Ln+"px":ge?ge+"("+100*Ln+"% / "+n+")":100*Ln/n+"%"}function z(t,e,n){var i;if(t)i=t+e+"px";else{Me||(n=Math.floor(n));var r=Me?Ln:n;i=ge?ge+"(100% / "+r+")":100/r+"%"}return i="width:"+i,"inner"!==Ne?i+";":i+" !important;"}function q(t){var e="";return!1!==t&&(e=(qe?"padding-":"margin-")+(qe?"right":"bottom")+": "+t+"px;"),e}function X(t,e){var n=t.substring(0,t.length-e).toLowerCase();return n&&(n="-"+n+"-"),n}function W(t){return X(be,18)+"transition-duration:"+t/1e3+"s;"}function Y(t){return X(we,17)+"animation-duration:"+t/1e3+"s;"}function U(){if(j("autoHeight")||sn||!qe){var t=Ye.querySelectorAll("img");l(t,function(t){var e=t.src;e&&e.indexOf("data:image")<0?(x(t,xi),t.src="",t.src=e,O(t,"loading")):Nn||ut(t)}),S(function(){dt(p(t),function(){Je=!0})}),!sn&&qe&&(t=ft(qn,Math.min(qn+hn-1,Ln-1))),Nn?$():S(function(){dt(p(t),$)})}else Me&&At(),G(),Q()}function $(){if(sn){var t=yn?qn:Ge-1;!function e(){Ve[t-1].getBoundingClientRect().right.toFixed(2)===Ve[t].getBoundingClientRect().left.toFixed(2)?V():setTimeout(function(){e()},16)}()}else V()}function V(){qe&&!sn||(yt(),sn?(Rn=Et(),ni&&(ii=J()),Yn=zn(),C(ti||ii)):Zt()),Me&&At(),G(),Q()}function G(){if(_t(),Xe.insertAdjacentHTML("afterbegin",'<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">'+st()+"</span> of "+Ge+"</div>"),tn=Xe.querySelector(".tns-liveregion .current"),mi){var t=Cn?"stop":"start";$i?h($i,{"data-action":t}):w.autoplayButtonOutput&&(Xe.insertAdjacentHTML(I(w.autoplayPosition),'<button data-action="'+t+'">'+Gi[0]+t+Gi[1]+En[0]+"</button>"),$i=Xe.querySelector("[data-action]")),$i&&x($i,{click:qt}),Cn&&(Bt(),Pn&&x(Ye,ai),An&&x(Ye,li))}if(di){if(Ni)h(Ni,{"aria-label":"Carousel Pagination"}),l(Oi=Ni.children,function(t,e){h(t,{"data-nav":e,tabindex:"-1","aria-label":Fi+(e+1),"aria-controls":Jn})});else{for(var e="",n=pi?"":'style="display:none"',i=0;i<Ge;i++)e+='<button data-nav="'+i+'" tabindex="-1" aria-controls="'+Jn+'" '+n+' aria-label="'+Fi+(i+1)+'"></button>';e='<div class="tns-nav" aria-label="Carousel Pagination">'+e+"</div>",Xe.insertAdjacentHTML(I(w.navPosition),e),Ni=Xe.querySelector(".tns-nav"),Oi=Ni.children}if(te(),be){var r=be.substring(0,be.length-18).toLowerCase(),o="transition: all "+gn/1e3+"s";r&&(o="-"+r+"-"+o),s(On,"[aria-controls^="+Jn+"-item]",o,a(On))}h(Oi[Ri],{"aria-label":Fi+(Ri+1)+Bi}),d(Oi[Ri],"tabindex"),O(Oi[Ri],Hi),x(Ni,si)}hi&&(Si||ki&&Ei||(Xe.insertAdjacentHTML(I(w.controlsPosition),'<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button data-controls="prev" tabindex="-1" aria-controls="'+Jn+'">'+bn[0]+'</button><button data-controls="next" tabindex="-1" aria-controls="'+Jn+'">'+bn[1]+"</button></div>"),Si=Xe.querySelector(".tns-controls")),ki&&Ei||(ki=Si.children[0],Ei=Si.children[1]),w.controlsContainer&&h(Si,{"aria-label":"Carousel Navigation",tabindex:"0"}),(w.controlsContainer||w.prevButton&&w.nextButton)&&h([ki,Ei],{"aria-controls":Jn,tabindex:"-1"}),(w.controlsContainer||w.prevButton&&w.nextButton)&&(h(ki,{"data-controls":"prev"}),h(Ei,{"data-controls":"next"})),Ti=bt(ki),wi=bt(Ei),St(),Si?x(Si,oi):(x(ki,oi),x(Ei,oi))),et()}function Q(){if(Me&&Ce){var t={};t[Ce]=Lt,x(Ye,t)}wn&&x(Ye,ci,w.preventScrollOnTouch),Sn&&x(Ye,fi),mn&&x(ne,ui),"inner"===Ne?Kn.on("outerResized",function(){Z(),Kn.emit("innerLoaded",ee())}):(Oe||an||sn||_n||!qe)&&x(ie,{resize:K}),_n&&("outer"===Ne?Kn.on("innerLoaded",ht):ti||ht()),lt(),ti?rt():ii&&it(),Kn.on("indexChanged",pt),"inner"===Ne&&Kn.emit("innerLoaded",ee()),"function"==typeof Qn&&Qn(ee()),Ke=!0}function K(t){S(function(){Z(Wt(t))})}function Z(t){if(Ke){"outer"===Ne&&Kn.emit("outerResized",ee(t)),Qe=L();var e,n=ze,i=!1;Oe&&(tt(),(e=n!==ze)&&Kn.emit("newBreakpointStart",ee(t)));var r,o,u,c,f=hn,h=ti,d=ii,p=mn,v=xn,y=Tn,_=wn,T=Sn,S=Cn,k=Pn,E=An,A=qn;if(e){var M=an,D=_n,I=bn,j=fn,X=En;if(!ye)var W=un,Y=ln}if(mn=H("arrowKeys"),xn=H("controls"),Tn=H("nav"),wn=H("touch"),fn=H("center"),Sn=H("mouseDrag"),Cn=H("autoplay"),Pn=H("autoplayHoverPause"),An=H("autoplayResetOnVisibility"),e&&(ti=H("disable"),an=H("fixedWidth"),gn=H("speed"),_n=H("autoHeight"),bn=H("controlsText"),En=H("autoplayText"),kn=H("autoplayTimeout"),ye||(ln=H("edgePadding"),un=H("gutter"))),C(ti),cn=R(),qe&&!sn||ti||(yt(),qe||(Zt(),i=!0)),(an||sn)&&(Rn=Et(),Yn=zn()),(e||an)&&(hn=H("items"),dn=H("slideBy"),(o=hn!==f)&&(an||sn||(Yn=zn()),nr())),e&&ti!==h&&(ti?rt():function(){if(ei){if(On.disabled=!1,Ye.className+=Zn,At(),yn)for(var t=Dn;t--;)Me&&g(Ve[t]),g(Ve[Ln-t-1]);if(!Me)for(var e=qn,n=qn+Ge;e<n;e++){var i=Ve[e],r=e<qn+hn?Re:Fe;i.style.left=100*(e-qn)/hn+"%",O(i,r)}nt(),ei=!1}}()),ni&&(e||an||sn)&&(ii=J())!==d&&(ii?(Ot(Pt(P(0))),it()):(function(){if(ri){if(ln&&ye&&(We.style.margin=""),Dn)for(var t="tns-transparent",e=Dn;e--;)Me&&N(Ve[e],t),N(Ve[Ln-e-1],t);nt(),ri=!1}}(),i=!0)),C(ti||ii),Cn||(Pn=An=!1),mn!==p&&(mn?x(ne,ui):b(ne,ui)),xn!==v&&(xn?Si?g(Si):(ki&&g(ki),Ei&&g(Ei)):Si?m(Si):(ki&&m(ki),Ei&&m(Ei))),Tn!==y&&(Tn?g(Ni):m(Ni)),wn!==_&&(wn?x(Ye,ci,w.preventScrollOnTouch):b(Ye,ci)),Sn!==T&&(Sn?x(Ye,fi):b(Ye,fi)),Cn!==S&&(Cn?($i&&g($i),qi||Wi||Bt()):($i&&m($i),qi&&zt())),Pn!==k&&(Pn?x(Ye,ai):b(Ye,ai)),An!==E&&(An?x(ne,li):b(ne,li)),e){if(an===M&&fn===j||(i=!0),_n!==D&&(_n||(We.style.height="")),xn&&bn!==I&&(ki.innerHTML=bn[0],Ei.innerHTML=bn[1]),$i&&En!==X){var U=Cn?1:0,$=$i.innerHTML,V=$.length-X[U].length;$.substring(V)===X[U]&&($i.innerHTML=$.substring(0,V)+En[U])}}else fn&&(an||sn)&&(i=!0);if((o||an&&!sn)&&(Di=Jt(),te()),(r=qn!==A)?(Kn.emit("indexChanged",ee()),i=!0):o?r||pt():(an||sn)&&(lt(),_t(),ot()),o&&!Me&&function(){for(var t=qn+Math.min(Ge,hn),e=Ln;e--;){var n=Ve[e];qn<=e&&e<t?(O(n,"tns-moving"),n.style.left=100*(e-qn)/hn+"%",O(n,Re),N(n,Fe)):n.style.left&&(n.style.left="",O(n,Fe),N(n,Re)),N(n,je)}setTimeout(function(){l(Ve,function(t){N(t,"tns-moving")})},300)}(),!ti&&!ii){if(e&&!ye&&(_n===autoheightTem&&gn===speedTem||mt(),ln===Y&&un===W||(We.style.cssText=F(ln,un,an,gn,_n)),qe)){Me&&(Ye.style.width=B(an,un,hn));var G=z(an,un,hn)+q(un);c=a(u=On)-1,"deleteRule"in u?u.deleteRule(c):u.removeRule(c),s(On,"#"+Jn+" > .tns-item",G,a(On))}_n&&ht(),i&&(At(),Xn=qn)}e&&Kn.emit("newBreakpointEnd",ee(t))}}function J(){if(!an&&!sn)return Ge<=(fn?hn-(hn-1)/2:hn);var t=an?(an+un)*Ge:Ze[Ge],e=ln?cn+2*ln:cn+un;return fn&&(e-=an?(cn-an)/2:(cn-(Ze[qn+1]-Ze[qn]-un))/2),t<=e}function tt(){for(var t in ze=0,Oe)(t=parseInt(t))<=Qe&&(ze=t)}function et(){!Cn&&$i&&m($i),!Tn&&Ni&&m(Ni),xn||(Si?m(Si):(ki&&m(ki),Ei&&m(Ei)))}function nt(){Cn&&$i&&g($i),Tn&&Ni&&g(Ni),xn&&(Si?g(Si):(ki&&g(ki),Ei&&g(Ei)))}function it(){if(!ri){if(ln&&(We.style.margin="0px"),Dn)for(var t="tns-transparent",e=Dn;e--;)Me&&O(Ve[e],t),O(Ve[Ln-e-1],t);et(),ri=!0}}function rt(){if(!ei){if(On.disabled=!0,Ye.className=Ye.className.replace(Zn.substring(1),""),d(Ye,["style"]),yn)for(var t=Dn;t--;)Me&&m(Ve[t]),m(Ve[Ln-t-1]);if(qe&&Me||d(We,["style"]),!Me)for(var e=qn,n=qn+Ge;e<n;e++){var i=Ve[e];d(i,["style"]),N(i,Re),N(i,Fe)}et(),ei=!0}}function ot(){var t=st();tn.innerHTML!==t&&(tn.innerHTML=t)}function st(){var t=at(),e=t[0]+1,n=t[1]+1;return e===n?e+"":e+" to "+n}function at(t){null==t&&(t=Pt());var e,n,i,r=qn;if(fn||ln?(sn||an)&&(n=-(parseFloat(t)+ln),i=n+cn+2*ln):sn&&(n=Ze[qn],i=n+cn),sn)Ze.forEach(function(t,o){o<Ln&&((fn||ln)&&t<=n+.5&&(r=o),.5<=i-t&&(e=o))});else{if(an){var o=an+un;fn||ln?(r=Math.floor(n/o),e=Math.ceil(i/o-1)):e=r+Math.ceil(cn/o)-1}else if(fn||ln){var s=hn-1;if(fn?(r-=s/2,e=qn+s/2):e=qn+s,ln){var a=ln*hn/cn;r-=a,e+=a}r=Math.floor(r),e=Math.ceil(e)}else e=r+hn-1;r=Math.max(r,0),e=Math.min(e,Ln-1)}return[r,e]}function lt(){Nn&&!ti&&ft.apply(null,at()).forEach(function(t){if(!A(t,_i)){var e={};e[Ce]=function(t){t.stopPropagation()},x(t,e),x(t,xi),t.src=c(t,"data-src");var n=c(t,"data-srcset");n&&(t.srcset=n),O(t,"loading")}})}function ut(t){O(t,"loaded"),ct(t)}function ct(t){O(t,"tns-complete"),N(t,"loading"),b(t,xi)}function ft(t,e){for(var n=[];t<=e;)l(Ve[t].querySelectorAll("img"),function(t){n.push(t)}),t++;return n}function ht(){var t=ft.apply(null,at());S(function(){dt(t,vt)})}function dt(t,e){return Je?e():(t.forEach(function(e,n){A(e,_i)&&t.splice(n,1)}),t.length?void S(function(){dt(t,e)}):e())}function pt(){lt(),_t(),ot(),St(),function(){if(Tn&&(Ri=0<=Ii?Ii:D(),Ii=-1,Ri!==ji)){var t=Oi[ji],e=Oi[Ri];h(t,{tabindex:"-1","aria-label":Fi+(ji+1)}),N(t,Hi),h(e,{"aria-label":Fi+(Ri+1)+Bi}),d(e,"tabindex"),O(e,Hi),ji=Ri}}()}function mt(){Me&&_n&&(Be.style[be]=gn/1e3+"s")}function gt(t,e){for(var n=[],i=t,r=Math.min(t+e,Ln);i<r;i++)n.push(Ve[i].offsetHeight);return Math.max.apply(null,n)}function vt(){var t=_n?gt(qn,hn):gt(Dn,Ge),e=Be||We;e.style.height!==t&&(e.style.height=t+"px")}function yt(){Ze=[0];var t=qe?"left":"top",e=qe?"right":"bottom",n=Ve[0].getBoundingClientRect()[t];l(Ve,function(i,r){r&&Ze.push(i.getBoundingClientRect()[t]-n),r===Ln-1&&Ze.push(i.getBoundingClientRect()[e]-n)})}function _t(){var t=at(),e=t[0],n=t[1];l(Ve,function(t,i){e<=i&&i<=n?u(t,"aria-hidden")&&(d(t,["aria-hidden","tabindex"]),O(t,yi)):u(t,"aria-hidden")||(h(t,{"aria-hidden":"true",tabindex:"-1"}),N(t,yi))})}function xt(t){return t.nodeName.toLowerCase()}function bt(t){return"button"===xt(t)}function Tt(t){return"true"===t.getAttribute("aria-disabled")}function wt(t,e,n){t?e.disabled=n:e.setAttribute("aria-disabled",n.toString())}function St(){if(xn&&!vn&&!yn){var t=Ti?ki.disabled:Tt(ki),e=wi?Ei.disabled:Tt(Ei),n=qn<=Wn,i=!vn&&Yn<=qn;n&&!t&&wt(Ti,ki,!0),!n&&t&&wt(Ti,ki,!1),i&&!e&&wt(wi,Ei,!0),!i&&e&&wt(wi,Ei,!1)}}function Ct(t,e){be&&(t.style[be]=e)}function kt(t){return null==t&&(t=qn),sn?(cn-(ln?un:0)-(Ze[t+1]-Ze[t]-un))/2:an?(cn-an)/2:(hn-1)/2}function Et(){var t=cn+(ln?un:0)-(an?(an+un)*Ln:Ze[Ln]);return fn&&!yn&&(t=an?-(an+un)*(Ln-1)-kt():kt(Ln-1)-Ze[Ln-1]),0<t&&(t=0),t}function Pt(t){var e;if(null==t&&(t=qn),qe&&!sn)if(an)e=-(an+un)*t,fn&&(e+=kt());else{var n=_e?Ln:hn;fn&&(t-=kt()),e=100*-t/n}else e=-Ze[t],fn&&sn&&(e+=kt());return In&&(e=Math.max(e,Rn)),e+=!qe||sn||an?"px":"%"}function At(t){Ct(Ye,"0s"),Ot(t)}function Ot(t){null==t&&(t=Pt()),Ye.style[Hn]=Fn+t+Bn}function Nt(t,e,n,i){var r=t+hn;yn||(r=Math.min(r,Ln));for(var o=t;o<r;o++){var s=Ve[o];i||(s.style.left=100*(o-qn)/hn+"%"),He&&Te&&(s.style[Te]=s.style[Se]=He*(o-t)/1e3+"s"),N(s,e),O(s,n),i&&Mn.push(s)}}function Mt(t,e){jn&&nr(),(qn!==Xn||e)&&(Kn.emit("indexChanged",ee()),Kn.emit("transitionStart",ee()),_n&&ht(),qi&&t&&0<=["click","keydown"].indexOf(t.type)&&zt(),Gn=!0,ir())}function Dt(t){return t.toLowerCase().replace(/-/g,"")}function Lt(t){if(Me||Gn){if(Kn.emit("transitionEnd",ee(t)),!Me&&0<Mn.length)for(var e=0;e<Mn.length;e++){var n=Mn[e];n.style.left="",Se&&Te&&(n.style[Se]="",n.style[Te]=""),N(n,je),O(n,Fe)}if(!t||!Me&&t.target.parentNode===Ye||t.target===Ye&&Dt(t.propertyName)===Dt(Hn)){if(!jn){var i=qn;nr(),qn!==i&&(Kn.emit("indexChanged",ee()),At())}
"inner"===Ne&&Kn.emit("innerLoaded",ee()),Gn=!1,Xn=qn}}}function It(t,e){if(!ii)if("prev"===t)Rt(e,-1);else if("next"===t)Rt(e,1);else{if(Gn){if(Un)return;Lt()}var n=M(),i=0;if("first"===t?i=-n:"last"===t?i=Me?Ge-hn-n:Ge-1-n:("number"!=typeof t&&(t=parseInt(t)),isNaN(t)||(e||(t=Math.max(0,Math.min(Ge-1,t))),i=t-n)),!Me&&i&&Math.abs(i)<hn){var r=0<i?1:-1;i+=Wn<=qn+i-Ge?Ge*r:2*Ge*r*-1}qn+=i,Me&&yn&&(qn<Wn&&(qn+=Ge),Yn<qn&&(qn-=Ge)),M(qn)!==M(Xn)&&Mt(e)}}function Rt(t,e){if(Gn){if(Un)return;Lt()}var n;if(!e){for(var i=Yt(t=Wt(t));i!==Si&&[ki,Ei].indexOf(i)<0;)i=i.parentNode;var r=[ki,Ei].indexOf(i);0<=r&&(n=!0,e=0===r?-1:1)}if(vn){if(qn===Wn&&-1===e)return void It("last",t);if(qn===Yn&&1===e)return void It("first",t)}e&&(qn+=dn*e,sn&&(qn=Math.floor(qn)),Mt(n||t&&"keydown"===t.type?t:null))}function jt(){zi=setInterval(function(){Rt(null,Ui)},kn),qi=!0}function Ht(){clearInterval(zi),qi=!1}function Ft(t,e){h($i,{"data-action":t}),$i.innerHTML=Gi[0]+t+Gi[1]+e}function Bt(){jt(),$i&&Ft("stop",En[1])}function zt(){Ht(),$i&&Ft("start",En[0])}function qt(){qi?(zt(),Wi=!0):(Bt(),Wi=!1)}function Xt(t){t.focus()}function Wt(t){return Ut(t=t||ie.event)?t.changedTouches[0]:t}function Yt(t){return t.target||ie.event.srcElement}function Ut(t){return 0<=t.type.indexOf("touch")}function $t(t){t.preventDefault?t.preventDefault():t.returnValue=!1}function Vt(){return r=Ji.y-Zi.y,o=Ji.x-Zi.x,t=Math.atan2(r,o)*(180/Math.PI),e=$n,n=!1,i=Math.abs(90-Math.abs(t)),90-e<=i?n="horizontal":i<=e&&(n="vertical"),n===w.axis;var t,e,n,i,r,o}function Gt(t){if(Gn){if(Un)return;Lt()}Cn&&qi&&Ht(),tr=!0,Ki&&(k(Ki),Ki=null);var e=Wt(t);Kn.emit(Ut(t)?"touchStart":"dragStart",ee(t)),!Ut(t)&&0<=["img","a"].indexOf(xt(Yt(t)))&&$t(t),Ji.x=Zi.x=e.clientX,Ji.y=Zi.y=e.clientY,Me&&(Qi=parseFloat(Ye.style[Hn].replace(Fn,"")),Ct(Ye,"0s"))}function Qt(t){if(tr){var e=Wt(t);Ji.x=e.clientX,Ji.y=e.clientY,Me?Ki||(Ki=S(function(){!function t(e){if(!Vn)return void(tr=!1);if(k(Ki),tr&&(Ki=S(function(){t(e)})),"?"===Vn&&(Vn=Vt()),Vn){!bi&&Ut(e)&&(bi=!0);try{e.type&&Kn.emit(Ut(e)?"touchMove":"dragMove",ee(e))}catch(t){}var n=Qi,i=er(Ji,Zi);if(!qe||an||sn)n+=i,n+="px";else{n+=_e?i*hn*100/((cn+un)*Ln):100*i/(cn+un),n+="%"}Ye.style[Hn]=Fn+n+Bn}}(t)})):("?"===Vn&&(Vn=Vt()),Vn&&(bi=!0)),bi&&t.preventDefault()}}function Kt(t){if(tr){Ki&&(k(Ki),Ki=null),Me&&Ct(Ye,""),tr=!1;var e=Wt(t);Ji.x=e.clientX,Ji.y=e.clientY;var n=er(Ji,Zi);if(Math.abs(n)){if(!Ut(t)){var i=Yt(t);x(i,{click:function t(e){$t(e),b(i,{click:t})}})}Me?Ki=S(function(){if(qe&&!sn){var e=-n*hn/(cn+un);e=0<n?Math.floor(e):Math.ceil(e),qn+=e}else{var i=-(Qi+n);if(i<=0)qn=Wn;else if(i>=Ze[Ln-1])qn=Yn;else for(var r=0;r<Ln&&i>=Ze[r];)i>Ze[qn=r]&&n<0&&(qn+=1),r++}Mt(t,n),Kn.emit(Ut(t)?"touchEnd":"dragEnd",ee(t))}):Vn&&Rt(t,0<n?-1:1)}}"auto"===w.preventScrollOnTouch&&(bi=!1),$n&&(Vn="?"),Cn&&!qi&&jt()}function Zt(){(Be||We).style.height=Ze[qn+hn]-Ze[qn]+"px"}function Jt(){var t=an?(an+un)*Ge/cn:Ge/hn;return Math.min(Math.ceil(t),Ge)}function te(){if(Tn&&!pi&&Di!==Li){var t=Li,e=Di,n=g;for(Di<Li&&(t=Di,e=Li,n=m);t<e;)n(Oi[t]),t++;Li=Di}}function ee(t){return{container:Ye,slideItems:Ve,navContainer:Ni,navItems:Oi,controlsContainer:Si,hasControls:hi,prevButton:ki,nextButton:Ei,items:hn,slideBy:dn,cloneCount:Dn,slideCount:Ge,slideCountNew:Ln,index:qn,indexCached:Xn,displayIndex:E(),navCurrentIndex:Ri,navCurrentIndexCached:ji,pages:Di,pagesCached:Li,sheet:On,isOn:Ke,event:t||{}}}w=t({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0},w||{});var ne=document,ie=window,re={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},oe={},se=w.useLocalStorage;if(se){var ae=navigator.userAgent,le=new Date;try{(oe=ie.localStorage)?(oe.setItem(le,le),se=oe.getItem(le)==le,oe.removeItem(le)):se=!1,se||(oe={})}catch(ae){se=!1}se&&(oe.tnsApp&&oe.tnsApp!==ae&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach(function(t){oe.removeItem(t)}),localStorage.tnsApp=ae)}var ue,ce,fe,he,de,pe,me,ge=oe.tC?e(oe.tC):n(oe,"tC",function(){var t=document,e=i(),n=r(e),s=t.createElement("div"),a=!1;e.appendChild(s);try{for(var l,u="(10px * 10)",c=["calc"+u,"-moz-calc"+u,"-webkit-calc"+u],f=0;f<3;f++)if(l=c[f],s.style.width=l,100===s.offsetWidth){a=l.replace(u,"");break}}catch(t){}return e.fake?o(e,n):s.remove(),a}(),se),ve=oe.tPL?e(oe.tPL):n(oe,"tPL",function(){var t,e=document,n=i(),s=r(n),a=e.createElement("div"),l=e.createElement("div"),u="";a.className="tns-t-subp2",l.className="tns-t-ct";for(var c=0;c<70;c++)u+="<div></div>";return l.innerHTML=u,a.appendChild(l),n.appendChild(a),t=Math.abs(a.getBoundingClientRect().left-l.children[67].getBoundingClientRect().left)<2,n.fake?o(n,s):a.remove(),t}(),se),ye=oe.tMQ?e(oe.tMQ):n(oe,"tMQ",(ce=document,fe=i(),he=r(fe),de=ce.createElement("div"),pe=ce.createElement("style"),me="@media all and (min-width:1px){.tns-mq-test{position:absolute}}",pe.type="text/css",de.className="tns-mq-test",fe.appendChild(pe),fe.appendChild(de),pe.styleSheet?pe.styleSheet.cssText=me:pe.appendChild(ce.createTextNode(me)),ue=window.getComputedStyle?window.getComputedStyle(de).position:de.currentStyle.position,fe.fake?o(fe,he):de.remove(),"absolute"===ue),se),_e=oe.tTf?e(oe.tTf):n(oe,"tTf",y("transform"),se),xe=oe.t3D?e(oe.t3D):n(oe,"t3D",function(t){if(!t)return!1;if(!window.getComputedStyle)return!1;var e,n=document,s=i(),a=r(s),l=n.createElement("p"),u=9<t.length?"-"+t.slice(0,-9).toLowerCase()+"-":"";return u+="transform",s.insertBefore(l,null),l.style[t]="translate3d(1px,1px,1px)",e=window.getComputedStyle(l).getPropertyValue(u),s.fake?o(s,a):l.remove(),void 0!==e&&0<e.length&&"none"!==e}(_e),se),be=oe.tTDu?e(oe.tTDu):n(oe,"tTDu",y("transitionDuration"),se),Te=oe.tTDe?e(oe.tTDe):n(oe,"tTDe",y("transitionDelay"),se),we=oe.tADu?e(oe.tADu):n(oe,"tADu",y("animationDuration"),se),Se=oe.tADe?e(oe.tADe):n(oe,"tADe",y("animationDelay"),se),Ce=oe.tTE?e(oe.tTE):n(oe,"tTE",_(be,"Transition"),se),ke=oe.tAE?e(oe.tAE):n(oe,"tAE",_(we,"Animation"),se),Ee=ie.console&&"function"==typeof ie.console.warn,Pe=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],Ae={};if(Pe.forEach(function(t){if("string"==typeof w[t]){var e=w[t],n=ne.querySelector(e);if(Ae[t]=e,!n||!n.nodeName)return void(Ee&&console.warn("Can't find",w[t]));w[t]=n}}),!(w.container.children.length<1)){var Oe=w.responsive,Ne=w.nested,Me="carousel"===w.mode;if(Oe){0 in Oe&&(w=t(w,Oe[0]),delete Oe[0]);var De={};for(var Le in Oe){var Ie=Oe[Le];Ie="number"==typeof Ie?{items:Ie}:Ie,De[Le]=Ie}Oe=De,De=null}if(Me||function t(e){for(var n in e)Me||("slideBy"===n&&(e[n]="page"),"edgePadding"===n&&(e[n]=!1),"autoHeight"===n&&(e[n]=!1)),"responsive"===n&&t(e[n])}(w),!Me){w.axis="horizontal",w.slideBy="page",w.edgePadding=!1;var Re=w.animateIn,je=w.animateOut,He=w.animateDelay,Fe=w.animateNormal}var Be,ze,qe="horizontal"===w.axis,Xe=ne.createElement("div"),We=ne.createElement("div"),Ye=w.container,Ue=Ye.parentNode,$e=Ye.outerHTML,Ve=Ye.children,Ge=Ve.length,Qe=L(),Ke=!1;Oe&&tt(),Me&&(Ye.className+=" tns-vpfix");var Ze,Je,tn,en,nn,rn,on,sn=w.autoWidth,an=H("fixedWidth"),ln=H("edgePadding"),un=H("gutter"),cn=R(),fn=H("center"),hn=sn?1:Math.floor(H("items")),dn=H("slideBy"),pn=w.viewportMax||w.fixedWidthViewportWidth,mn=H("arrowKeys"),gn=H("speed"),vn=w.rewind,yn=!vn&&w.loop,_n=H("autoHeight"),xn=H("controls"),bn=H("controlsText"),Tn=H("nav"),wn=H("touch"),Sn=H("mouseDrag"),Cn=H("autoplay"),kn=H("autoplayTimeout"),En=H("autoplayText"),Pn=H("autoplayHoverPause"),An=H("autoplayResetOnVisibility"),On=(on=document.createElement("style"),document.querySelector("head").appendChild(on),on.sheet?on.sheet:on.styleSheet),Nn=w.lazyload,Mn=(w.lazyloadSelector,[]),Dn=yn?(nn=function(){if(sn||an&&!pn)return Ge-1;var t=an?"fixedWidth":"items",e=[];if((an||w[t]<Ge)&&e.push(w[t]),Oe)for(var n in Oe){var i=Oe[n][t];i&&(an||i<Ge)&&e.push(i)}return e.length||e.push(0),Math.ceil(an?pn/Math.min.apply(null,e):Math.max.apply(null,e))}(),rn=Me?Math.ceil((5*nn-Ge)/2):4*nn-Ge,rn=Math.max(nn,rn),j("edgePadding")?rn+1:rn):0,Ln=Me?Ge+2*Dn:Ge+Dn,In=!(!an&&!sn||yn),Rn=an?Et():null,jn=!Me||!yn,Hn=qe?"left":"top",Fn="",Bn="",zn=an?function(){return fn&&!yn?Ge-1:Math.ceil(-Rn/(an+un))}:sn?function(){for(var t=Ln;t--;)if(Ze[t]>=-Rn)return t}:function(){return fn&&Me&&!yn?Ge-1:yn||Me?Math.max(0,Ln-Math.ceil(hn)):Ln-1},qn=P(H("startIndex")),Xn=qn,Wn=(E(),0),Yn=sn?null:zn(),Un=w.preventActionWhenRunning,$n=w.swipeAngle,Vn=!$n||"?",Gn=!1,Qn=w.onInit,Kn=new T,Zn=" tns-slider tns-"+w.mode,Jn=Ye.id||(en=window.tnsId,window.tnsId=en?en+1:1,"tns"+window.tnsId),ti=H("disable"),ei=!1,ni=w.freezable,ii=!(!ni||sn)&&J(),ri=!1,oi={click:Rt,keydown:function(t){t=Wt(t);var e=[re.LEFT,re.RIGHT].indexOf(t.keyCode);0<=e&&(0===e?ki.disabled||Rt(t,-1):Ei.disabled||Rt(t,1))}},si={click:function(t){if(Gn){if(Un)return;Lt()}for(var e=Yt(t=Wt(t));e!==Ni&&!u(e,"data-nav");)e=e.parentNode;if(u(e,"data-nav")){var n=Ii=Number(c(e,"data-nav")),i=an||sn?n*Ge/Di:n*hn;It(pi?n:Math.min(Math.ceil(i),Ge-1),t),Ri===n&&(qi&&zt(),Ii=-1)}},keydown:function(t){t=Wt(t);var e=ne.activeElement;if(u(e,"data-nav")){var n=[re.LEFT,re.RIGHT,re.ENTER,re.SPACE].indexOf(t.keyCode),i=Number(c(e,"data-nav"));0<=n&&(0===n?0<i&&Xt(Oi[i-1]):1===n?i<Di-1&&Xt(Oi[i+1]):It(Ii=i,t))}}},ai={mouseover:function(){qi&&(Ht(),Xi=!0)},mouseout:function(){Xi&&(jt(),Xi=!1)}},li={visibilitychange:function(){ne.hidden?qi&&(Ht(),Yi=!0):Yi&&(jt(),Yi=!1)}},ui={keydown:function(t){t=Wt(t);var e=[re.LEFT,re.RIGHT].indexOf(t.keyCode);0<=e&&Rt(t,0===e?-1:1)}},ci={touchstart:Gt,touchmove:Qt,touchend:Kt,touchcancel:Kt},fi={mousedown:Gt,mousemove:Qt,mouseup:Kt,mouseleave:Kt},hi=j("controls"),di=j("nav"),pi=!!sn||w.navAsThumbnails,mi=j("autoplay"),gi=j("touch"),vi=j("mouseDrag"),yi="tns-slide-active",_i="tns-complete",xi={load:function(t){ut(Yt(t))},error:function(t){e=Yt(t),O(e,"failed"),ct(e);var e}},bi="force"===w.preventScrollOnTouch;if(hi)var Ti,wi,Si=w.controlsContainer,Ci=w.controlsContainer?w.controlsContainer.outerHTML:"",ki=w.prevButton,Ei=w.nextButton,Pi=w.prevButton?w.prevButton.outerHTML:"",Ai=w.nextButton?w.nextButton.outerHTML:"";if(di)var Oi,Ni=w.navContainer,Mi=w.navContainer?w.navContainer.outerHTML:"",Di=sn?Ge:Jt(),Li=0,Ii=-1,Ri=D(),ji=Ri,Hi="tns-nav-active",Fi="Carousel Page ",Bi=" (Current Slide)";if(mi)var zi,qi,Xi,Wi,Yi,Ui="forward"===w.autoplayDirection?1:-1,$i=w.autoplayButton,Vi=w.autoplayButton?w.autoplayButton.outerHTML:"",Gi=["<span class='tns-visually-hidden'>"," animation</span>"];if(gi||vi)var Qi,Ki,Zi={},Ji={},tr=!1,er=qe?function(t,e){return t.x-e.x}:function(t,e){return t.y-e.y};sn||C(ti||ii),_e&&(Hn=_e,Fn="translate",xe?(Fn+=qe?"3d(":"3d(0px, ",Bn=qe?", 0px, 0px)":", 0px)"):(Fn+=qe?"X(":"Y(",Bn=")")),Me&&(Ye.className=Ye.className.replace("tns-vpfix","")),function(){if(j("gutter"),Xe.className="tns-outer",We.className="tns-inner",Xe.id=Jn+"-ow",We.id=Jn+"-iw",""===Ye.id&&(Ye.id=Jn),Zn+=ve||sn?" tns-subpixel":" tns-no-subpixel",Zn+=ge?" tns-calc":" tns-no-calc",sn&&(Zn+=" tns-autowidth"),Zn+=" tns-"+w.axis,Ye.className+=Zn,Me?((Be=ne.createElement("div")).id=Jn+"-mw",Be.className="tns-ovh",Xe.appendChild(Be),Be.appendChild(We)):Xe.appendChild(We),_n){(Be||We).className+=" tns-ah"}if(Ue.insertBefore(Xe,Ye),We.appendChild(Ye),l(Ve,function(t,e){O(t,"tns-item"),t.id||(t.id=Jn+"-item"+e),!Me&&Fe&&O(t,Fe),h(t,{"aria-hidden":"true",tabindex:"-1"})}),Dn){for(var t=ne.createDocumentFragment(),e=ne.createDocumentFragment(),n=Dn;n--;){var i=n%Ge,r=Ve[i].cloneNode(!0);if(d(r,"id"),e.insertBefore(r,e.firstChild),Me){var o=Ve[Ge-1-i].cloneNode(!0);d(o,"id"),t.appendChild(o)}}Ye.insertBefore(t,Ye.firstChild),Ye.appendChild(e),Ve=Ye.children}}(),function(){if(!Me)for(var t=qn,e=qn+Math.min(Ge,hn);t<e;t++){var n=Ve[t];n.style.left=100*(t-qn)/hn+"%",O(n,Re),N(n,Fe)}if(qe&&(ve||sn?(s(On,"#"+Jn+" > .tns-item","font-size:"+ie.getComputedStyle(Ve[0]).fontSize+";",a(On)),s(On,"#"+Jn,"font-size:0;",a(On))):Me&&l(Ve,function(t,e){var n;t.style.marginLeft=(n=e,ge?ge+"("+100*n+"% / "+Ln+")":100*n/Ln+"%")})),ye){if(be){var i=Be&&w.autoHeight?W(w.speed):"";s(On,"#"+Jn+"-mw",i,a(On))}i=F(w.edgePadding,w.gutter,w.fixedWidth,w.speed,w.autoHeight),s(On,"#"+Jn+"-iw",i,a(On)),Me&&(i=qe&&!sn?"width:"+B(w.fixedWidth,w.gutter,w.items)+";":"",be&&(i+=W(gn)),s(On,"#"+Jn,i,a(On))),i=qe&&!sn?z(w.fixedWidth,w.gutter,w.items):"",w.gutter&&(i+=q(w.gutter)),Me||(be&&(i+=W(gn)),we&&(i+=Y(gn))),i&&s(On,"#"+Jn+" > .tns-item",i,a(On))}else{mt(),We.style.cssText=F(ln,un,an,_n),Me&&qe&&!sn&&(Ye.style.width=B(an,un,hn));var i=qe&&!sn?z(an,un,hn):"";un&&(i+=q(un)),i&&s(On,"#"+Jn+" > .tns-item",i,a(On))}if(Oe&&ye)for(var r in Oe){r=parseInt(r);var o=Oe[r],i="",u="",c="",f="",h="",d=sn?null:H("items",r),p=H("fixedWidth",r),m=H("speed",r),g=H("edgePadding",r),v=H("autoHeight",r),y=H("gutter",r);be&&Be&&H("autoHeight",r)&&"speed"in o&&(u="#"+Jn+"-mw{"+W(m)+"}"),("edgePadding"in o||"gutter"in o)&&(c="#"+Jn+"-iw{"+F(g,y,p,m,v)+"}"),Me&&qe&&!sn&&("fixedWidth"in o||"items"in o||an&&"gutter"in o)&&(f="width:"+B(p,y,d)+";"),be&&"speed"in o&&(f+=W(m)),f&&(f="#"+Jn+"{"+f+"}"),("fixedWidth"in o||an&&"gutter"in o||!Me&&"items"in o)&&(h+=z(p,y,d)),"gutter"in o&&(h+=q(y)),!Me&&"speed"in o&&(be&&(h+=W(m)),we&&(h+=Y(m))),h&&(h="#"+Jn+" > .tns-item{"+h+"}"),(i=u+c+f+h)&&On.insertRule("@media (min-width: "+r/16+"em) {"+i+"}",On.cssRules.length)}}(),U();var nr=yn?Me?function(){var t=Wn,e=Yn;t+=dn,e-=dn,ln?(t+=1,e-=1):an&&(cn+un)%(an+un)&&(e-=1),Dn&&(e<qn?qn-=Ge:qn<t&&(qn+=Ge))}:function(){if(Yn<qn)for(;Wn+Ge<=qn;)qn-=Ge;else if(qn<Wn)for(;qn<=Yn-Ge;)qn+=Ge}:function(){qn=Math.max(Wn,Math.min(Yn,qn))},ir=Me?function(){var t,e,n,i,r,o,s,a,l,u,c;Ct(Ye,""),be||!gn?(Ot(),gn&&v(Ye)||Lt()):(t=Ye,e=Hn,n=Fn,i=Bn,r=Pt(),o=gn,s=Lt,a=Math.min(o,10),l=0<=r.indexOf("%")?"%":"px",r=r.replace(l,""),u=Number(t.style[e].replace(n,"").replace(i,"").replace(l,"")),c=(r-u)/o*a,setTimeout(function r(){o-=a,u+=c,t.style[e]=n+u+l+i,0<o?setTimeout(r,a):s()},a)),qe||Zt()}:function(){Mn=[];var t={};t[Ce]=t[ke]=Lt,b(Ve[Xn],t),x(Ve[qn],t),Nt(Xn,Re,je,!0),Nt(qn,Fe,Re),Ce&&ke&&gn&&v(Ye)||Lt()};return{version:"2.9.1",getInfo:ee,events:Kn,goTo:It,play:function(){Cn&&!qi&&(Bt(),Wi=!1)},pause:function(){qi&&(zt(),Wi=!0)},isOn:Ke,updateSliderHeight:vt,refresh:U,destroy:function(){if(On.disabled=!0,On.ownerNode&&On.ownerNode.remove(),b(ie,{resize:K}),mn&&b(ne,ui),Si&&b(Si,oi),Ni&&b(Ni,si),b(Ye,ai),b(Ye,li),$i&&b($i,{click:qt}),Cn&&clearInterval(zi),Me&&Ce){var t={};t[Ce]=Lt,b(Ye,t)}wn&&b(Ye,ci),Sn&&b(Ye,fi);var e=[$e,Ci,Pi,Ai,Mi,Vi];for(var n in Pe.forEach(function(t,n){var i="container"===t?Xe:w[t];if("object"==(void 0===i?"undefined":_typeof(i))){var r=!!i.previousElementSibling&&i.previousElementSibling,o=i.parentNode;i.outerHTML=e[n],w[t]=r?r.nextElementSibling:o.firstElementChild}}),Pe=Re=je=He=Fe=qe=Xe=We=Ye=Ue=$e=Ve=Ge=ze=Qe=sn=an=ln=un=cn=hn=dn=pn=mn=gn=vn=yn=_n=On=Nn=Ze=Mn=Dn=Ln=In=Rn=jn=Hn=Fn=Bn=zn=qn=Xn=Wn=Yn=$n=Vn=Gn=Qn=Kn=Zn=Jn=ti=ei=ni=ii=ri=oi=si=ai=li=ui=ci=fi=hi=di=pi=mi=gi=vi=yi=_i=xi=Je=xn=bn=Si=Ci=ki=Ei=Ti=wi=Tn=Ni=Mi=Oi=Di=Li=Ii=Ri=ji=Hi=Fi=Bi=Cn=kn=Ui=En=Pn=$i=Vi=An=Gi=zi=qi=Xi=Wi=Yi=Zi=Ji=Qi=tr=Ki=er=wn=Sn=null,this)"rebuild"!==n&&(this[n]=null);Ke=!1},rebuild:function(){return f(t(w,Ae))}}}Ee&&console.warn("No slides found in",w.container)}}(),_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var n,i,r,o,s=function e(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=e.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},u=s.prototype=new t("css");u.constructor=s,s.version="1.19.0",s.API=2,s.defaultTransformPerspective=0,s.defaultSkewType="compensated",s.defaultSmoothOrigin=!0,u="px",s.suffixMap={top:u,right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var c,f,h,d,p,m,g,v,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,_=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,C=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,E=/([A-Z])/g,P=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,O=function(t,e){return e.toUpperCase()},N=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,R=Math.PI/180,j=180/Math.PI,H={},F=document,B=function(t){return F.createElementNS?F.createElementNS("http://www.w3.org/1999/xhtml",t):F.createElement(t)},z=B("div"),q=B("img"),X=s._internals={_specialProps:l},W=navigator.userAgent,Y=function(){var t=W.indexOf("Android"),e=B("a");return h=-1!==W.indexOf("Safari")&&-1===W.indexOf("Chrome")&&(-1===t||Number(W.substr(t+8,1))>3),p=h&&Number(W.substr(W.indexOf("Version/")+8,1))<6,d=-1!==W.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(W)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(W))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),U=function(t){return w.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},$=function(t){window.console&&console.log(t)},V="",G="",Q=function(t,e){e=e||z;var n,i,r=e.style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(G=3===i?"ms":n[i],V="-"+G.toLowerCase()+"-",G+t):null},K=F.defaultView?F.defaultView.getComputedStyle:function(){},Z=s.getStyle=function(t,e,n,i,r){var o;return Y||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||K(t))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(E,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):U(t)},J=X.convertToPixels=function(t,n,i,r,o){if("px"===r||!r)return i;if("auto"===r||!i)return 0;var a,l,u,c=N.test(n),f=t,h=z.style,d=0>i,p=1===i;if(d&&(i=-i),p&&(i*=100),"%"===r&&-1!==n.indexOf("border"))a=i/100*(c?t.clientWidth:t.clientHeight);else{if(h.cssText="border:0 solid red;position:"+Z(t,"position")+";line-height:0;","%"!==r&&f.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)h[c?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(f=t.parentNode||F.body,l=f._gsCache,u=e.ticker.frame,l&&c&&l.time===u)return l.width*i/100;h[c?"width":"height"]=i+r}f.appendChild(z),a=parseFloat(z[c?"offsetWidth":"offsetHeight"]),f.removeChild(z),c&&"%"===r&&!1!==s.cacheWidths&&(l=f._gsCache=f._gsCache||{},l.time=u,l.width=a/i*100),0!==a||o||(a=J(t,n,i,r,!0))}return p&&(a/=100),d?-a:a},tt=X.calculateOffset=function(t,e,n){if("absolute"!==Z(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=Z(t,"margin"+i,n);return t["offset"+i]-(J(t,e,parseFloat(r),r.replace(T,""))||0)},et=function(t,e){var n,i,r,o={};if(e=e||K(t,null))if(n=e.length)for(;--n>-1;)r=e[n],(-1===r.indexOf("-transform")||Pt===r)&&(o[r.replace(P,O)]=e.getPropertyValue(r));else for(n in e)(-1===n.indexOf("Transform")||Et===n)&&(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(P,O)]=e[n]);return Y||(o.opacity=U(t)),i=zt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,Ot&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},nt=function(t,e,n,i,r){var o,s,a,l={},u=t.style;for(s in n)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=n[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"==typeof o||"string"==typeof o)&&(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(b,"")?o:0:tt(t,s),void 0!==u[s]&&(a=new vt(u,s,u[s],a)));if(i)for(s in i)"className"!==s&&(l[s]=i[s]);return{difs:l,firstMPT:a}},it={width:["Left","Right"],height:["Top","Bottom"]},rt=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||K(t))[e]||0;if(t.getBBox&&Ht(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=it[e],o=r.length;for(n=n||K(t,null);--o>-1;)i-=parseFloat(Z(t,"padding"+r[o],n,!0))||0,i-=parseFloat(Z(t,"border"+r[o]+"Width",n,!0))||0;return i},st=function t(e,n){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";(null==e||""===e)&&(e="0 0");var i,r=e.split(" "),o=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":r[0],s=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":r[1];if(r.length>3&&!n){for(r=e.split(", ").join(",").split(","),e=[],i=0;i<r.length;i++)e.push(t(r[i]));return e.join(",")}return null==s?s="center"===o?"50%":"0":"center"===s&&(s="50%"),("center"===o||isNaN(parseFloat(o))&&-1===(o+"").indexOf("="))&&(o="50%"),e=o+" "+s+(r.length>2?" "+r[2]:""),n&&(n.oxp=-1!==o.indexOf("%"),n.oyp=-1!==s.indexOf("%"),n.oxr="="===o.charAt(1),n.oyr="="===s.charAt(1),n.ox=parseFloat(o.replace(b,"")),n.oy=parseFloat(s.replace(b,"")),n.v=e),n||e},at=function(t,e){return"function"==typeof t&&(t=t(v,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},lt=function(t,e){return"function"==typeof t&&(t=t(v,g)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,n,i){var r,o,s,a,l;return"function"==typeof t&&(t=t(v,g)),null==t?a=e:"number"==typeof t?a=t:(r=360,o=t.split("_"),l="="===t.charAt(1),s=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:j)-(l?0:e),o.length&&(i&&(i[n]=e+s),-1!==t.indexOf("short")&&(s%=r)!==s%(r/2)&&(s=0>s?s+r:s-r),-1!==t.indexOf("_cw")&&0>s?s=(s+9999999999*r)%r-(s/r|0)*r:-1!==t.indexOf("ccw")&&s>0&&(s=(s-9999999999*r)%r-(s/r|0)*r)),a=e+s),1e-6>a&&a>-1e-6&&(a=0),a},ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ft=function(t,e,n){return t=0>t?t+1:t>1?t-1:t,255*(1>6*t?e+(n-e)*t*6:.5>t?n:2>3*t?e+(n-e)*(2/3-t)*6:e)+.5|0},ht=s.parseColor=function(t,e){var n,i,r,o,s,a,l,u,c,f,h;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])n=ct[t];else if("#"===t.charAt(0))4===t.length&&(i=t.charAt(1),r=t.charAt(2),o=t.charAt(3),t="#"+i+i+r+r+o+o),t=parseInt(t.substr(1),16),n=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=h=t.match(y),e){if(-1!==t.indexOf("="))return t.match(_)}else s=Number(n[0])%360/360,a=Number(n[1])/100,l=Number(n[2])/100,r=.5>=l?l*(a+1):l+a-l*a,i=2*l-r,n.length>3&&(n[3]=Number(t[3])),n[0]=ft(s+1/3,i,r),n[1]=ft(s,i,r),n[2]=ft(s-1/3,i,r);else n=t.match(y)||ct.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=ct.black;return e&&!h&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,u=Math.max(i,r,o),c=Math.min(i,r,o),l=(u+c)/2,u===c?s=a=0:(f=u-c,a=l>.5?f/(2-u-c):f/(u+c),s=u===i?(r-o)/f+(o>r?6:0):u===r?(o-i)/f+2:(i-r)/f+4,s*=60),n[0]=s+.5|0,n[1]=100*a+.5|0,n[2]=100*l+.5|0),n},dt=function(t,e){var n,i,r,o=t.match(pt)||[],s=0,a=o.length?"":t;for(n=0;n<o.length;n++)i=o[n],r=t.substr(s,t.indexOf(i,s)-s),s+=r.length+i.length,i=ht(i,e),3===i.length&&i.push(1),a+=r+(e?"hsla("+i[0]+","+i[1]+"%,"+i[2]+"%,"+i[3]:"rgba("+i.join(","))+")";return a+t.substr(s)},pt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(u in ct)pt+="|"+u+"\\b";pt=new RegExp(pt+")","gi"),s.colorStringFilter=function(t){var e,n=t[0]+t[1];pt.test(n)&&(e=-1!==n.indexOf("hsl(")||-1!==n.indexOf("hsla("),t[0]=dt(t[0],e),t[1]=dt(t[1],e)),pt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=s.colorStringFilter);var mt=function(t,e,n,i){if(null==t)return function(t){return t};var r,o=e?(t.match(pt)||[""])[0]:"",s=t.split(o).join("").match(x)||[],a=t.substr(0,t.indexOf(s[0])),l=")"===t.charAt(t.length-1)?")":"",u=-1!==t.indexOf(" ")?" ":",",c=s.length,f=c>0?s[0].replace(y,""):"";return c?r=e?function(t){var e,h,d,p;if("number"==typeof t)t+=f;else if(i&&L.test(t)){for(p=t.replace(L,"|").split("|"),d=0;d<p.length;d++)p[d]=r(p[d]);return p.join(",")}if(e=(t.match(pt)||[o])[0],h=t.split(e).join("").match(x)||[],d=h.length,c>d--)for(;++d<c;)h[d]=n?h[(d-1)/2|0]:s[d];return a+h.join(u)+u+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,o,h;if("number"==typeof t)t+=f;else if(i&&L.test(t)){for(o=t.replace(L,"|").split("|"),h=0;h<o.length;h++)o[h]=r(o[h]);return o.join(",")}if(e=t.match(x)||[],h=e.length,c>h--)for(;++h<c;)e[h]=n?e[(h-1)/2|0]:s[h];return a+e.join(u)+l}:function(t){return t}},gt=function(t){return t=t.split(","),function(e,n,i,r,o,s,a){var l,u=(n+"").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,o,s)}},vt=(X._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o,s=this.data,a=s.proxy,l=s.firstMPT;l;)e=a[l.v],l.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(s.autoRotate&&(s.autoRotate.rotation=s.mod?s.mod(a.rotation,this.t):a.rotation),1===t||0===t)for(l=s.firstMPT,o=1===t?"e":"b";l;){if(n=l.t,n.type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i<n.l;i++)r+=n["xn"+i]+n["xs"+(i+1)];n[o]=r}}else n[o]=n.s+n.xs0;l=l._next}},function(t,e,n,i,r){this.t=t,this.p=e,this.v=n,this.r=r,i&&(i._prev=this,this._next=i)}),yt=(X._parseToProxy=function(t,e,n,i,r,o){var s,a,l,u,c,f=i,h={},d={},p=n._transform,m=H;for(n._transform=null,H=e,i=c=n.parse(t,e,i,r),H=m,o&&(n._transform=p,f&&(f._prev=null,f._prev&&(f._prev._next=null)));i&&i!==f;){if(i.type<=1&&(a=i.p,d[a]=i.s+i.c,h[a]=i.s,o||(u=new vt(i,"s",a,u,i.r),i.c=0),1===i.type))for(s=i.l;--s>0;)l="xn"+s,a=i.p+"_"+l,d[a]=i.data[l],h[a]=i[l],o||(u=new vt(i,l,a,u,i.rxp[l]));i=i._next}return{proxy:h,end:d,firstMPT:u,pt:c}},X.CSSPropTween=function(t,e,i,r,s,a,l,u,c,f,h){this.t=t,this.p=e,this.s=i,this.c=r,this.n=l||e,t instanceof yt||o.push(this.n),this.r=u,this.type=a||0,c&&(this.pr=c,n=!0),this.b=void 0===f?i:f,this.e=void 0===h?i+r:h,s&&(this._next=s,s._prev=this)}),_t=function(t,e,n,i,r,o){var s=new yt(t,e,n,i-n,r,-1,o);return s.b=n,s.e=s.xs0=i,s},xt=s.parseComplex=function(t,e,n,i,r,o,a,l,u,f){n=n||o||"","function"==typeof i&&(i=i(v,g)),a=new yt(t,e,0,0,a,f?2:1,null,!1,l,n,i),i+="",r&&pt.test(i+n)&&(i=[n,i],s.colorStringFilter(i),n=i[0],i=i[1]);var h,d,p,m,x,b,T,w,S,C,k,E,P,A=n.split(", ").join(",").split(" "),O=i.split(", ").join(",").split(" "),N=A.length,M=!1!==c;for((-1!==i.indexOf(",")||-1!==n.indexOf(","))&&(A=A.join(" ").replace(L,", ").split(" "),O=O.join(" ").replace(L,", ").split(" "),N=A.length),N!==O.length&&(A=(o||"").split(" "),N=A.length),a.plugin=u,a.setRatio=f,pt.lastIndex=0,h=0;N>h;h++)if(m=A[h],x=O[h],(w=parseFloat(m))||0===w)a.appendXtra("",w,at(x,w),x.replace(_,""),M&&-1!==x.indexOf("px"),!0);else if(r&&pt.test(m))E=x.indexOf(")")+1,E=")"+(E?x.substr(E):""),P=-1!==x.indexOf("hsl")&&Y,m=ht(m,P),x=ht(x,P),S=m.length+x.length>6,S&&!Y&&0===x[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(O[h]).join("transparent")):(Y||(S=!1),P?a.appendXtra(S?"hsla(":"hsl(",m[0],at(x[0],m[0]),",",!1,!0).appendXtra("",m[1],at(x[1],m[1]),"%,",!1).appendXtra("",m[2],at(x[2],m[2]),S?"%,":"%"+E,!1):a.appendXtra(S?"rgba(":"rgb(",m[0],x[0]-m[0],",",!0,!0).appendXtra("",m[1],x[1]-m[1],",",!0).appendXtra("",m[2],x[2]-m[2],S?",":E,!0),S&&(m=m.length<4?1:m[3],a.appendXtra("",m,(x.length<4?1:x[3])-m,E,!1))),pt.lastIndex=0;else if(b=m.match(y)){if(!(T=x.match(_))||T.length!==b.length)return a;for(p=0,d=0;d<b.length;d++)k=b[d],C=m.indexOf(k,p),a.appendXtra(m.substr(p,C-p),Number(k),at(T[d],k),"",M&&"px"===m.substr(C+k.length,2),0===d),p=C+k.length;a["xs"+a.l]+=m.substr(p)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+x:x;if(-1!==i.indexOf("=")&&a.data){for(E=a.xs0+a.data.s,h=1;h<a.l;h++)E+=a["xs"+h]+a.data["xn"+h];a.e=E+a["xs"+h]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},bt=9;for(u=yt.prototype,u.l=u.pr=0;--bt>0;)u["xn"+bt]=0,u["xs"+bt]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,n,i,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&(a||s["xs"+a])?" "+t:t||"",n||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=i||"",a>0?(s.data["xn"+a]=e+n,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new yt(s,"xn"+a,e,n,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0),s):(s.data={s:e+n},s.rxp={},s.s=e,s.c=n,s.r=r,s)):(s["xs"+a]+=e+(i||""),s)};var Tt=function(t,e){e=e||{},this.p=e.prefix?Q(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||mt(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},wt=X._registerComplexSpecialProp=function(t,e,n){"object"!=(void 0===e?"undefined":_typeof(e))&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;i<r.length;i++)e.prefix=0===i&&e.prefix,e.defaultValue=n[i]||o,new Tt(r[i],e)},St=X._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";wt(t,{parser:function(t,n,i,r,o,s,u){var c=a.com.greensock.plugins[e];return c?(c._cssRegister(),l[i].parse(t,n,i,r,o,s,u)):($("Error: "+e+" js file not loaded."),o)}})}};u=Tt.prototype,u.parseComplex=function(t,e,n,i,r,o){var s,a,l,u,c,f,h=this.keyword;if(this.multi&&(L.test(n)||L.test(e)?(a=e.replace(L,"|").split("|"),l=n.replace(L,"|").split("|")):h&&(a=[e],l=[n])),l){for(u=l.length>a.length?l.length:a.length,s=0;u>s;s++)e=a[s]=a[s]||this.dflt,n=l[s]=l[s]||this.dflt,h&&(c=e.indexOf(h),f=n.indexOf(h),c!==f&&(-1===f?a[s]=a[s].split(h).join(""):-1===c&&(a[s]+=" "+h)));e=a.join(", "),n=l.join(", ")}return xt(t,this.p,e,n,this.clrs,this.dflt,i,this.pr,r,o)},u.parse=function(t,e,n,i,o,s,a){return this.parseComplex(t.style,this.format(Z(t,this.p,r,!1,this.dflt)),this.format(e),o,s)},s.registerSpecialProp=function(t,e,n){wt(t,{parser:function(t,i,r,o,s,a,l){var u=new yt(t,r,0,0,s,2,r,!1,n);return u.plugin=a,u.setRatio=e(t,i,o._tween,r),u},priority:n})},s.useSVGTransformAttr=h||d;var Ct,kt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Et=Q("transform"),Pt=V+"transform",At=Q("transformOrigin"),Ot=null!==Q("perspective"),Nt=X.Transform=function(){this.perspective=parseFloat(s.defaultTransformPerspective)||0,this.force3D=!(!1===s.defaultForce3D||!Ot)&&(s.defaultForce3D||"auto")},Mt=window.SVGElement,Dt=function(t,e,n){var i,r=F.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(i in n)r.setAttributeNS(null,i.replace(o,"$1-$2").toLowerCase(),n[i]);return e.appendChild(r),r},Lt=F.documentElement,It=function(){var t,e,n,i=m||/Android/i.test(W)&&!window.chrome;return F.createElementNS&&!i&&(t=Dt("svg",Lt),e=Dt("rect",t,{width:100,height:50,x:100}),n=e.getBoundingClientRect().width,
e.style[At]="50% 50%",e.style[Et]="scaleX(0.5)",i=n===e.getBoundingClientRect().width&&!(d&&Ot),Lt.removeChild(t)),i}(),Rt=function(t,e,n,i,r,o){var a,l,u,c,f,h,d,p,m,g,v,y,_,x,b=t._gsTransform,T=Bt(t,!0);b&&(_=b.xOrigin,x=b.yOrigin),(!i||(a=i.split(" ")).length<2)&&(d=t.getBBox(),e=st(e).split(" "),a=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*d.width:parseFloat(e[0]))+d.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*d.height:parseFloat(e[1]))+d.y]),n.xOrigin=c=parseFloat(a[0]),n.yOrigin=f=parseFloat(a[1]),i&&T!==Ft&&(h=T[0],d=T[1],p=T[2],m=T[3],g=T[4],v=T[5],y=h*m-d*p,l=c*(m/y)+f*(-p/y)+(p*v-m*g)/y,u=c*(-d/y)+f*(h/y)-(h*v-d*g)/y,c=n.xOrigin=a[0]=l,f=n.yOrigin=a[1]=u),b&&(o&&(n.xOffset=b.xOffset,n.yOffset=b.yOffset,b=n),r||!1!==r&&!1!==s.defaultSmoothOrigin?(l=c-_,u=f-x,b.xOffset+=l*T[0]+u*T[2]-l,b.yOffset+=l*T[1]+u*T[3]-u):b.xOffset=b.yOffset=0),o||t.setAttribute("data-svg-origin",a.join(" "))},jt=function(t){try{return t.getBBox()}catch(t){}},Ht=function(t){return!!(Mt&&t.getBBox&&t.getCTM&&jt(t)&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},Ft=[1,0,0,1,0,0],Bt=function(t,e){var n,i,r,o,s,a,l=t._gsTransform||new Nt,u=t.style;if(Et?i=Z(t,Pt,null,!0):t.currentStyle&&(i=t.currentStyle.filter.match(M),i=i&&4===i.length?[i[0].substr(4),Number(i[2].substr(4)),Number(i[1].substr(4)),i[3].substr(4),l.x||0,l.y||0].join(","):""),n=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,n&&Et&&((a="none"===K(t).display)||!t.parentNode)&&(a&&(o=u.display,u.display="block"),t.parentNode||(s=1,Lt.appendChild(t)),i=Z(t,Pt,null,!0),n=!i||"none"===i||"matrix(1, 0, 0, 1, 0, 0)"===i,o?u.display=o:a&&Yt(u,"display"),s&&Lt.removeChild(t)),(l.svg||t.getBBox&&Ht(t))&&(n&&-1!==(u[Et]+"").indexOf("matrix")&&(i=u[Et],n=0),r=t.getAttribute("transform"),n&&r&&(-1!==r.indexOf("matrix")?(i=r,n=0):-1!==r.indexOf("translate")&&(i="matrix(1,0,0,1,"+r.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",n=0))),n)return Ft;for(r=(i||"").match(y)||[],bt=r.length;--bt>-1;)o=Number(r[bt]),r[bt]=(s=o-(o|=0))?(1e5*s+(0>s?-.5:.5)|0)/1e5+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},zt=X.getTransform=function(t,n,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var o,a,l,u,c,f,h=i?t._gsTransform||new Nt:new Nt,d=h.scaleX<0,p=1e5,m=Ot?parseFloat(Z(t,At,n,!1,"0 0 0").split(" ")[2])||h.zOrigin||0:0,g=parseFloat(s.defaultTransformPerspective)||0;if(h.svg=!(!t.getBBox||!Ht(t)),h.svg&&(Rt(t,Z(t,At,n,!1,"50% 50%")+"",h,t.getAttribute("data-svg-origin")),Ct=s.useSVGTransformAttr||It),(o=Bt(t))!==Ft){if(16===o.length){var v,y,_,x,b,T=o[0],w=o[1],S=o[2],C=o[3],k=o[4],E=o[5],P=o[6],A=o[7],O=o[8],N=o[9],M=o[10],D=o[12],L=o[13],I=o[14],R=o[11],H=Math.atan2(P,M);h.zOrigin&&(I=-h.zOrigin,D=O*I-o[12],L=N*I-o[13],I=M*I+h.zOrigin-o[14]),h.rotationX=H*j,H&&(x=Math.cos(-H),b=Math.sin(-H),v=k*x+O*b,y=E*x+N*b,_=P*x+M*b,O=k*-b+O*x,N=E*-b+N*x,M=P*-b+M*x,R=A*-b+R*x,k=v,E=y,P=_),H=Math.atan2(-S,M),h.rotationY=H*j,H&&(x=Math.cos(-H),b=Math.sin(-H),v=T*x-O*b,y=w*x-N*b,_=S*x-M*b,N=w*b+N*x,M=S*b+M*x,R=C*b+R*x,T=v,w=y,S=_),H=Math.atan2(w,T),h.rotation=H*j,H&&(x=Math.cos(-H),b=Math.sin(-H),T=T*x+k*b,y=w*x+E*b,E=w*-b+E*x,P=S*-b+P*x,w=y),h.rotationX&&Math.abs(h.rotationX)+Math.abs(h.rotation)>359.9&&(h.rotationX=h.rotation=0,h.rotationY=180-h.rotationY),h.scaleX=(Math.sqrt(T*T+w*w)*p+.5|0)/p,h.scaleY=(Math.sqrt(E*E+N*N)*p+.5|0)/p,h.scaleZ=(Math.sqrt(P*P+M*M)*p+.5|0)/p,h.rotationX||h.rotationY?h.skewX=0:(h.skewX=k||E?Math.atan2(k,E)*j+h.rotation:h.skewX||0,Math.abs(h.skewX)>90&&Math.abs(h.skewX)<270&&(d?(h.scaleX*=-1,h.skewX+=h.rotation<=0?180:-180,h.rotation+=h.rotation<=0?180:-180):(h.scaleY*=-1,h.skewX+=h.skewX<=0?180:-180))),h.perspective=R?1/(0>R?-R:R):0,h.x=D,h.y=L,h.z=I,h.svg&&(h.x-=h.xOrigin-(h.xOrigin*T-h.yOrigin*k),h.y-=h.yOrigin-(h.yOrigin*w-h.xOrigin*E))}else if(!Ot||r||!o.length||h.x!==o[4]||h.y!==o[5]||!h.rotationX&&!h.rotationY){var F=o.length>=6,B=F?o[0]:1,z=o[1]||0,q=o[2]||0,X=F?o[3]:1;h.x=o[4]||0,h.y=o[5]||0,l=Math.sqrt(B*B+z*z),u=Math.sqrt(X*X+q*q),c=B||z?Math.atan2(z,B)*j:h.rotation||0,f=q||X?Math.atan2(q,X)*j+c:h.skewX||0,Math.abs(f)>90&&Math.abs(f)<270&&(d?(l*=-1,f+=0>=c?180:-180,c+=0>=c?180:-180):(u*=-1,f+=0>=f?180:-180)),h.scaleX=l,h.scaleY=u,h.rotation=c,h.skewX=f,Ot&&(h.rotationX=h.rotationY=h.z=0,h.perspective=g,h.scaleZ=1),h.svg&&(h.x-=h.xOrigin-(h.xOrigin*B+h.yOrigin*q),h.y-=h.yOrigin-(h.xOrigin*z+h.yOrigin*X))}h.zOrigin=m;for(a in h)h[a]<2e-5&&h[a]>-2e-5&&(h[a]=0)}return i&&(t._gsTransform=h,h.svg&&(Ct&&t.style[Et]?e.delayedCall(.001,function(){Yt(t.style,Et)}):!Ct&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),h},qt=function(t){var e,n,i=this.data,r=-i.rotation*R,o=r+i.skewX*R,s=1e5,a=(Math.cos(r)*i.scaleX*s|0)/s,l=(Math.sin(r)*i.scaleX*s|0)/s,u=(Math.sin(o)*-i.scaleY*s|0)/s,c=(Math.cos(o)*i.scaleY*s|0)/s,f=this.t.style,h=this.t.currentStyle;if(h){n=l,l=-u,u=-n,e=h.filter,f.filter="";var d,p,g=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==h.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+u+", M22="+c,x=i.x+g*i.xPercent/100,b=i.y+v*i.yPercent/100;if(null!=i.ox&&(d=(i.oxp?g*i.ox*.01:i.ox)-g/2,p=(i.oyp?v*i.oy*.01:i.oy)-v/2,x+=d-(d*a+p*l),b+=p-(d*u+p*c)),y?(d=g/2,p=v/2,_+=", Dx="+(d-(d*a+p*l)+x)+", Dy="+(p-(d*u+p*c)+b)+")"):_+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?f.filter=e.replace(D,_):f.filter=_+" "+e,(0===t||1===t)&&1===a&&0===l&&0===u&&1===c&&(y&&-1===_.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&f.removeAttribute("filter")),!y){var S,C,k,E=8>m?1:-1;for(d=i.ieOffsetX||0,p=i.ieOffsetY||0,i.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*v))/2+x),i.ieOffsetY=Math.round((v-((0>c?-c:c)*v+(0>u?-u:u)*g))/2+b),bt=0;4>bt;bt++)C=rt[bt],S=h[C],n=-1!==S.indexOf("px")?parseFloat(S):J(this.t,C,parseFloat(S),S.replace(T,""))||0,k=n!==i[C]?2>bt?-i.ieOffsetX:-i.ieOffsetY:2>bt?d-i.ieOffsetX:p-i.ieOffsetY,f[C]=(i[C]=Math.round(n-k*(0===bt||2===bt?1:E)))+"px"}}},Xt=X.set3DTransformRatio=X.setTransformRatio=function(t){var e,n,i,r,o,s,a,l,u,c,f,h,p,m,g,v,y,_,x,b,T,w,S,C=this.data,k=this.t.style,E=C.rotation,P=C.rotationX,A=C.rotationY,O=C.scaleX,N=C.scaleY,M=C.scaleZ,D=C.x,L=C.y,I=C.z,j=C.svg,H=C.perspective,F=C.force3D;if(((1===t||0===t)&&"auto"===F&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!F)&&!I&&!H&&!A&&!P&&1===M||Ct&&j||!Ot)return void(E||C.skewX||j?(E*=R,w=C.skewX*R,S=1e5,e=Math.cos(E)*O,r=Math.sin(E)*O,n=Math.sin(E-w)*-N,o=Math.cos(E-w)*N,w&&"simple"===C.skewType&&(y=Math.tan(w-C.skewY*R),y=Math.sqrt(1+y*y),n*=y,o*=y,C.skewY&&(y=Math.tan(C.skewY*R),y=Math.sqrt(1+y*y),e*=y,r*=y)),j&&(D+=C.xOrigin-(C.xOrigin*e+C.yOrigin*n)+C.xOffset,L+=C.yOrigin-(C.xOrigin*r+C.yOrigin*o)+C.yOffset,Ct&&(C.xPercent||C.yPercent)&&(m=this.t.getBBox(),D+=.01*C.xPercent*m.width,L+=.01*C.yPercent*m.height),m=1e-6,m>D&&D>-m&&(D=0),m>L&&L>-m&&(L=0)),x=(e*S|0)/S+","+(r*S|0)/S+","+(n*S|0)/S+","+(o*S|0)/S+","+D+","+L+")",j&&Ct?this.t.setAttribute("transform","matrix("+x):k[Et]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+x):k[Et]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix(":"matrix(")+O+",0,0,"+N+","+D+","+L+")");if(d&&(m=1e-4,m>O&&O>-m&&(O=M=2e-5),m>N&&N>-m&&(N=M=2e-5),!H||C.z||C.rotationX||C.rotationY||(H=0)),E||C.skewX)E*=R,g=e=Math.cos(E),v=r=Math.sin(E),C.skewX&&(E-=C.skewX*R,g=Math.cos(E),v=Math.sin(E),"simple"===C.skewType&&(y=Math.tan((C.skewX-C.skewY)*R),y=Math.sqrt(1+y*y),g*=y,v*=y,C.skewY&&(y=Math.tan(C.skewY*R),y=Math.sqrt(1+y*y),e*=y,r*=y))),n=-v,o=g;else{if(!(A||P||1!==M||H||j))return void(k[Et]=(C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) translate3d(":"translate3d(")+D+"px,"+L+"px,"+I+"px)"+(1!==O||1!==N?" scale("+O+","+N+")":""));e=o=1,n=r=0}u=1,i=s=a=l=c=f=0,h=H?-1/H:0,p=C.zOrigin,m=1e-6,b=",",T="0",E=A*R,E&&(g=Math.cos(E),v=Math.sin(E),a=-v,c=h*-v,i=e*v,s=r*v,u=g,h*=g,e*=g,r*=g),E=P*R,E&&(g=Math.cos(E),v=Math.sin(E),y=n*g+i*v,_=o*g+s*v,l=u*v,f=h*v,i=n*-v+i*g,s=o*-v+s*g,u*=g,h*=g,n=y,o=_),1!==M&&(i*=M,s*=M,u*=M,h*=M),1!==N&&(n*=N,o*=N,l*=N,f*=N),1!==O&&(e*=O,r*=O,a*=O,c*=O),(p||j)&&(p&&(D+=i*-p,L+=s*-p,I+=u*-p+p),j&&(D+=C.xOrigin-(C.xOrigin*e+C.yOrigin*n)+C.xOffset,L+=C.yOrigin-(C.xOrigin*r+C.yOrigin*o)+C.yOffset),m>D&&D>-m&&(D=T),m>L&&L>-m&&(L=T),m>I&&I>-m&&(I=0)),x=C.xPercent||C.yPercent?"translate("+C.xPercent+"%,"+C.yPercent+"%) matrix3d(":"matrix3d(",x+=(m>e&&e>-m?T:e)+b+(m>r&&r>-m?T:r)+b+(m>a&&a>-m?T:a),x+=b+(m>c&&c>-m?T:c)+b+(m>n&&n>-m?T:n)+b+(m>o&&o>-m?T:o),P||A||1!==M?(x+=b+(m>l&&l>-m?T:l)+b+(m>f&&f>-m?T:f)+b+(m>i&&i>-m?T:i),x+=b+(m>s&&s>-m?T:s)+b+(m>u&&u>-m?T:u)+b+(m>h&&h>-m?T:h)+b):x+=",0,0,0,0,1,0,",x+=D+b+L+b+I+b+(H?1+-I/H:1)+")",k[Et]=x};u=Nt.prototype,u.x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,wt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,n,i,o,a,l){if(i._lastParsedTransform===l)return o;i._lastParsedTransform=l;var u;"function"==typeof l[n]&&(u=l[n],l[n]=e);var c,f,h,d,p,m,y,_,x,b=t._gsTransform,T=t.style,w=kt.length,S=l,C={},k="transformOrigin",E=zt(t,r,!0,S.parseTransform),P=S.transform&&("function"==typeof S.transform?S.transform(v,g):S.transform);if(i._transform=E,P&&"string"==typeof P&&Et)f=z.style,f[Et]=P,f.display="block",f.position="absolute",F.body.appendChild(z),c=zt(z,null,!1),E.svg&&(m=E.xOrigin,y=E.yOrigin,c.x-=E.xOffset,c.y-=E.yOffset,(S.transformOrigin||S.svgOrigin)&&(P={},Rt(t,st(S.transformOrigin),P,S.svgOrigin,S.smoothOrigin,!0),m=P.xOrigin,y=P.yOrigin,c.x-=P.xOffset-E.xOffset,c.y-=P.yOffset-E.yOffset),(m||y)&&(_=Bt(z,!0),c.x-=m-(m*_[0]+y*_[2]),c.y-=y-(m*_[1]+y*_[3]))),F.body.removeChild(z),c.perspective||(c.perspective=E.perspective),null!=S.xPercent&&(c.xPercent=lt(S.xPercent,E.xPercent)),null!=S.yPercent&&(c.yPercent=lt(S.yPercent,E.yPercent));else if("object"==(void 0===S?"undefined":_typeof(S))){if(c={scaleX:lt(null!=S.scaleX?S.scaleX:S.scale,E.scaleX),scaleY:lt(null!=S.scaleY?S.scaleY:S.scale,E.scaleY),scaleZ:lt(S.scaleZ,E.scaleZ),x:lt(S.x,E.x),y:lt(S.y,E.y),z:lt(S.z,E.z),xPercent:lt(S.xPercent,E.xPercent),yPercent:lt(S.yPercent,E.yPercent),perspective:lt(S.transformPerspective,E.perspective)},null!=(p=S.directionalRotation))if("object"==(void 0===p?"undefined":_typeof(p)))for(f in p)S[f]=p[f];else S.rotation=p;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(c.x=0,c.xPercent=lt(S.x,E.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(c.y=0,c.yPercent=lt(S.y,E.yPercent)),c.rotation=ut("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":"rotationZ"in S?S.rotationZ:E.rotation-E.skewY,E.rotation-E.skewY,"rotation",C),Ot&&(c.rotationX=ut("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":E.rotationX||0,E.rotationX,"rotationX",C),c.rotationY=ut("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":E.rotationY||0,E.rotationY,"rotationY",C)),c.skewX=ut(S.skewX,E.skewX-E.skewY),(c.skewY=ut(S.skewY,E.skewY))&&(c.skewX+=c.skewY,c.rotation+=c.skewY)}for(Ot&&null!=S.force3D&&(E.force3D=S.force3D,d=!0),E.skewType=S.skewType||E.skewType||s.defaultSkewType,(h=E.force3D||E.z||E.rotationX||E.rotationY||c.z||c.rotationX||c.rotationY||c.perspective)||null==S.scale||(c.scaleZ=1);--w>-1;)x=kt[w],((P=c[x]-E[x])>1e-6||-1e-6>P||null!=S[x]||null!=H[x])&&(d=!0,o=new yt(E,x,E[x],P,o),x in C&&(o.e=C[x]),o.xs0=0,o.plugin=a,i._overwriteProps.push(o.n));return P=S.transformOrigin,E.svg&&(P||S.svgOrigin)&&(m=E.xOffset,y=E.yOffset,Rt(t,st(P),c,S.svgOrigin,S.smoothOrigin),o=_t(E,"xOrigin",(b?E:c).xOrigin,c.xOrigin,o,k),o=_t(E,"yOrigin",(b?E:c).yOrigin,c.yOrigin,o,k),(m!==E.xOffset||y!==E.yOffset)&&(o=_t(E,"xOffset",b?m:E.xOffset,E.xOffset,o,k),o=_t(E,"yOffset",b?y:E.yOffset,E.yOffset,o,k)),P=Ct?null:"0px 0px"),(P||Ot&&h&&E.zOrigin)&&(Et?(d=!0,x=At,P=(P||Z(t,x,r,!1,"50% 50%"))+"",o=new yt(T,x,0,0,o,-1,k),o.b=T[x],o.plugin=a,Ot?(f=E.zOrigin,P=P.split(" "),E.zOrigin=(P.length>2&&(0===f||"0px"!==P[2])?parseFloat(P[2]):f)||0,o.xs0=o.e=P[0]+" "+(P[1]||"50%")+" 0px",o=new yt(E,"zOrigin",0,0,o,-1,o.n),o.b=f,o.xs0=o.e=E.zOrigin):o.xs0=o.e=P):st(P+"",E)),d&&(i._transformType=E.svg&&Ct||!h&&3!==this._transformType?2:3),u&&(l[n]=u),o},prefix:!0}),wt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),wt("borderRadius",{defaultValue:"0px",parser:function(t,e,n,o,s,a){e=this.format(e);var l,u,c,f,h,d,p,m,g,v,y,_,x,b,T,w,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],C=t.style;for(g=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=e.split(" "),u=0;u<S.length;u++)this.p.indexOf("border")&&(S[u]=Q(S[u])),h=f=Z(t,S[u],r,!1,"0px"),-1!==h.indexOf(" ")&&(f=h.split(" "),h=f[0],f=f[1]),d=c=l[u],p=parseFloat(h),_=h.substr((p+"").length),x="="===d.charAt(1),x?(m=parseInt(d.charAt(0)+"1",10),d=d.substr(2),m*=parseFloat(d),y=d.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(d),y=d.substr((m+"").length)),""===y&&(y=i[n]||_),y!==_&&(b=J(t,"borderLeft",p,_),T=J(t,"borderTop",p,_),"%"===y?(h=b/g*100+"%",f=T/v*100+"%"):"em"===y?(w=J(t,"borderLeft",1,"em"),h=b/w+"em",f=T/w+"em"):(h=b+"px",f=T+"px"),x&&(d=parseFloat(h)+m+y,c=parseFloat(f)+m+y)),s=xt(C,S[u],h+" "+f,d+" "+c,!1,"0px",s);return s},prefix:!0,formatter:mt("0px 0px 0px 0px",!1,!0)}),wt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,n,i,o,s){return xt(t.style,n,this.format(Z(t,n,r,!1,"0px 0px")),this.format(e),!1,"0px",o)},prefix:!0,formatter:mt("0px 0px",!1,!0)}),wt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,n,i,o,s){var a,l,u,c,f,h,d="background-position",p=r||K(t,null),g=this.format((p?m?p.getPropertyValue(d+"-x")+" "+p.getPropertyValue(d+"-y"):p.getPropertyValue(d):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(h=Z(t,"backgroundImage").replace(A,""))&&"none"!==h){for(a=g.split(" "),l=v.split(" "),q.setAttribute("src",h),u=2;--u>-1;)g=a[u],(c=-1!==g.indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(f=0===u?t.offsetWidth-q.width:t.offsetHeight-q.height,a[u]=c?parseFloat(g)/100*f+"px":parseFloat(g)/f*100+"%");g=a.join(" ")}return this.parseComplex(t.style,g,v,o,s)},formatter:st}),wt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return t+="",st(-1===t.indexOf(" ")?t+" "+t:t)}}),wt("perspective",{defaultValue:"0px",prefix:!0}),wt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),wt("transformStyle",{prefix:!0}),wt("backfaceVisibility",{prefix:!0}),wt("userSelect",{prefix:!0}),wt("margin",{parser:gt("marginTop,marginRight,marginBottom,marginLeft")}),wt("padding",{parser:gt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),wt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,n,i,o,s){var a,l,u;return 9>m?(l=t.currentStyle,u=8>m?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(Z(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,s)}}),wt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),wt("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),wt("border",{defaultValue:"0px solid #000",parser:function(t,e,n,i,o,s){var a=Z(t,"borderTopWidth",r,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/J(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+Z(t,"borderTopStyle",r,!1,"solid")+" "+Z(t,"borderTopColor",r,!1,"#000")),l.join(" "),o,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(pt)||["#000"])[0]}}),wt("borderWidth",{parser:gt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),wt("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new yt(s,a,0,0,r,-1,n,!1,0,s[a],e)}});var Wt=function(t){var e,n=this.t,i=n.filter||Z(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!Z(this.data,"filter")):(n.filter=i.replace(C,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(w,"opacity="+r))};wt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,n,i,o,s){var a=parseFloat(Z(t,"opacity",r,!1,"1")),l=t.style,u="autoAlpha"===n;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===Z(t,"visibility",r)&&0!==e&&(a=0),Y?o=new yt(l,"opacity",a,e-a,o):(o=new yt(l,"opacity",100*a,100*(e-a),o),o.xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=s,o.setRatio=Wt),u&&(o=new yt(l,"visibility",0,0,o,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit"),o.xs0="inherit",i._overwriteProps.push(o.n),i._overwriteProps.push(n)),o}});var Yt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(E,"-$1").toLowerCase())):t.removeAttribute(e))},Ut=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,n=this.t.style;e;)e.v?n[e.p]=e.v:Yt(n,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};wt("className",{parser:function(t,e,i,o,s,a,l){var u,c,f,h,d,p=t.getAttribute("class")||"",m=t.style.cssText;if(s=o._classNamePT=new yt(t,i,0,0,s,2),s.setRatio=Ut,s.pr=-11,n=!0,s.b=p,c=et(t,r),f=t._gsClassPT){for(h={},d=f.data;d;)h[d.p]=1,d=d._next;f.setRatio(1)}return t._gsClassPT=s,s.e="="!==e.charAt(1)?e:p.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",s.e),u=nt(t,c,et(t),l,h),t.setAttribute("class",p),s.data=u.firstMPT,t.style.cssText=m,s=s.xfirst=o.parse(t,u.difs,s,a)}});var $t=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o,s=this.t.style,a=l.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(e=this.e.split(" ").join("").split(","),i=e.length;--i>-1;)n=e[i],l[n]&&(l[n].parse===a?r=!0:n="transformOrigin"===n?At:l[n].p),Yt(s,n);r&&(Yt(s,Et),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(wt("clearProps",{parser:function(t,e,i,r,o){return o=new yt(t,i,0,0,o,2),o.setRatio=$t,o.e=e,o.pr=-10,o.data=r._tween,n=!0,o}}),u="bezier,throwProps,physicsProps,physics2D".split(","),bt=u.length;bt--;)St(u[bt]);u=s.prototype,u._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a,u){if(!t.nodeType)return!1;this._target=g=t,this._tween=a,this._vars=e,v=u,c=e.autoRound,n=!1,i=e.suffixMap||s.suffixMap,r=K(t,""),o=this._overwriteProps;var d,m,y,_,x,b,T,w,C,k=t.style;if(f&&""===k.zIndex&&("auto"===(d=Z(t,"zIndex",r))||""===d)&&this._addLazySet(k,"zIndex",0),"string"==typeof e&&(_=k.cssText,d=et(t,r),k.cssText=_+";"+e,d=nt(t,d,et(t)).difs,!Y&&S.test(e)&&(d.opacity=parseFloat(RegExp.$1)),e=d,k.cssText=_),e.className?this._firstPT=m=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=m=this.parse(t,e,null),this._transformType){for(C=3===this._transformType,Et?h&&(f=!0,""===k.zIndex&&("auto"===(T=Z(t,"zIndex",r))||""===T)&&this._addLazySet(k,"zIndex",0),p&&this._addLazySet(k,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(C?"visible":"hidden"))):k.zoom=1,y=m;y&&y._next;)y=y._next;w=new yt(t,"transform",0,0,null,2),this._linkCSSP(w,null,y),w.setRatio=Et?Xt:qt,w.data=this._transform||zt(t,r,!0),w.tween=a,w.pr=-1,o.pop()}if(n){for(;m;){for(b=m._next,y=_;y&&y.pr>m.pr;)y=y._next;(m._prev=y?y._prev:x)?m._prev._next=m:_=m,(m._next=y)?y._prev=m:x=m,m=b}this._firstPT=_}return!0},u.parse=function(t,e,n,o){var s,a,u,f,h,d,p,m,y,_,x=t.style;for(s in e)d=e[s],"function"==typeof d&&(d=d(v,g)),a=l[s],a?n=a.parse(t,d,s,this,n,o,e):(h=Z(t,s,r)+"",y="string"==typeof d,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||y&&k.test(d)?(y||(d=ht(d),d=(d.length>3?"rgba(":"rgb(")+d.join(",")+")"),n=xt(x,s,h,d,!0,"transparent",n,0,o)):y&&I.test(d)?n=xt(x,s,h,d,!0,null,n,0,o):(u=parseFloat(h),p=u||0===u?h.substr((u+"").length):"",(""===h||"auto"===h)&&("width"===s||"height"===s?(u=ot(t,s,r),p="px"):"left"===s||"top"===s?(u=tt(t,s,r),p="px"):(u="opacity"!==s?0:1,p="")),_=y&&"="===d.charAt(1),_?(f=parseInt(d.charAt(0)+"1",10),d=d.substr(2),f*=parseFloat(d),m=d.replace(T,"")):(f=parseFloat(d),m=y?d.replace(T,""):""),""===m&&(m=s in i?i[s]:p),d=f||0===f?(_?f+u:f)+m:e[s],p!==m&&""!==m&&(f||0===f)&&u&&(u=J(t,s,u,p),"%"===m?(u/=J(t,s,100,"%")/100,!0!==e.strictUnits&&(h=u+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?u/=J(t,s,1,m):"px"!==m&&(f=J(t,s,f,m),m="px"),_&&(f||0===f)&&(d=f+u+m)),_&&(f+=u),!u&&0!==u||!f&&0!==f?void 0!==x[s]&&(d||d+""!="NaN"&&null!=d)?(n=new yt(x,s,f||u||0,0,n,-1,s,!1,0,h,d),n.xs0="none"!==d||"display"!==s&&-1===s.indexOf("Style")?d:h):$("invalid "+s+" tween value: "+e[s]):(n=new yt(x,s,u,f-u,n,0,s,!1!==c&&("px"===m||"zIndex"===s),0,h,d),n.xs0=m))),o&&n&&!n.plugin&&(n.plugin=o);return n},u.setRatio=function(t){var e,n,i,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)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(n=r.xs0+e+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}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;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=Math.round(r.s+r.c),r.type){if(1===r.type){for(i=r.l,n=r.xs0+e+r.xs1,i=1;i<r.l;i++)n+=r["xn"+i]+r["xs"+(i+1)];r.t[r.p]=n}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},u._enableTransforms=function(t){this._transform=this._transform||zt(this._target,r,!0),this._transformType=this._transform.svg&&Ct||!t&&3!==this._transformType?2:3};var Vt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};u._addLazySet=function(t,e,n){var i=this._firstPT=new yt(t,e,0,0,this._firstPT,2);i.e=n,i.setRatio=Vt,i.data=this},u._linkCSSP=function(t,e,n,i){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,i=!0),n?n._next=t:i||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=n),t},u._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&t[e.p]===Math.round&&(e.r=1),e=e._next},u._kill=function(e){var n,i,r,o=e;if(e.autoAlpha||e.alpha){o={};for(i in e)o[i]=e[i];o.opacity=1,o.autoAlpha&&(o.visibility=1)}for(e.className&&(n=this._classNamePT)&&(r=n.xfirst,r&&r._prev?this._linkCSSP(r._prev,n._next,r._prev._prev):r===this._firstPT&&(this._firstPT=n._next),n._next&&this._linkCSSP(n._next,n._next._next,r._prev),this._classNamePT=null),n=this._firstPT;n;)n.plugin&&n.plugin!==i&&n.plugin._kill&&(n.plugin._kill(e),i=n.plugin),n=n._next;return t.prototype._kill.call(this,o)};var Gt=function t(e,n,i){var r,o,s,a;if(e.slice)for(o=e.length;--o>-1;)t(e[o],n,i);else for(r=e.childNodes,o=r.length;--o>-1;)s=r[o],a=s.type,s.style&&(n.push(et(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||t(s,n,i)};return s.cascadeTo=function(t,n,i){var r,o,s,a,l=e.to(t,n,i),u=[l],c=[],f=[],h=[],d=e._internals.reservedProps;for(t=l._targets||l.target,Gt(t,c,h),l.render(n,!0,!0),Gt(t,f),l.render(0,!0,!0),l._enabled(!0),r=h.length;--r>-1;)if(o=nt(h[r],c[r],f[r]),o.firstMPT){o=o.difs;for(s in i)d[s]&&(o[s]=i[s]);a={};for(s in o)a[s]=c[r][s];u.push(e.fromTo(h[r],n,a,o))}return u},t.activate([s]),s},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).CSSPlugin};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=e())}();var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var t=(_gsScope.document||{}).documentElement,e=_gsScope,n=function(n,i){var r="x"===i?"Width":"Height",o="scroll"+r,s="client"+r,a=document.body;return n===e||n===t||n===a?Math.max(t[o],a[o])-(e["inner"+r]||t[s]||a[s]):n[o]-n["offset"+r]},i=function(t){return"string"==typeof t&&(t=TweenLite.selector(t)),t.length&&t!==e&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===e||t.nodeType&&t.style?t:null},r=function(n,i){var r="scroll"+("x"===i?"Left":"Top");return n===e&&(null!=n.pageXOffset?r="page"+i.toUpperCase()+"Offset":n=null!=t[r]?t:document.body),function(){return n[r]}},o=function(n,o){var s=i(n).getBoundingClientRect(),a=!o||o===e||o===document.body,l=(a?t:o).getBoundingClientRect(),u={x:s.left-l.left,y:s.top-l.top};return!a&&o&&(u.x+=r(o,"x")(),u.y+=r(o,"y")()),u},s=function(t,e,i){var r=void 0===t?"undefined":_typeof(t);return isNaN(t)?"number"===r||"string"===r&&"="===t.charAt(1)?t:"max"===t?n(e,i):Math.min(n(e,i),o(t,e)[i]):parseFloat(t)},a=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.0",init:function(t,n,i){return this._wdw=t===e,this._target=t,this._tween=i,"object"!==(void 0===n?"undefined":_typeof(n))?(n={y:n},"string"==typeof n.y&&"max"!==n.y&&"="!==n.y.charAt(1)&&(n.x=n.y)):n.nodeType&&(n={y:n,x:n}),this.vars=n,this._autoKill=!1!==n.autoKill,this.getX=r(t,"x"),this.getY=r(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=n.x?(this._addTween(this,"x",this.x,s(n.x,t,"x")-(n.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=n.y?(this._addTween(this,"y",this.y,s(n.y,t,"y")-(n.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var i=this._wdw||!this.skipX?this.getX():this.xPrev,r=this._wdw||!this.skipY?this.getY():this.yPrev,o=r-this.yPrev,s=i-this.xPrev,l=a.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(s>l||s<-l)&&i<n(this._target,"x")&&(this.skipX=!0),!this.skipY&&(o>l||o<-l)&&r<n(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParams||[]))),this._wdw?e.scrollTo(this.skipX?i:this.x,this.skipY?r:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),l=a.prototype;a.max=n,a.getOffset=o,a.buildGetter=r,a.autoKillThreshold=7,l._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).ScrollToPlugin};"undefined"!=typeof module&&module.exports?(require("../TweenLite.js"),module.exports=e()):"function"==typeof define&&define.amd&&define(["TweenLite"],e)}();var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,n,i,r=_gsScope.GreenSockGlobals||_gsScope,o=r.com.greensock,s=2*Math.PI,a=Math.PI/2,l=o._class,u=function(e,n){var i=l("easing."+e,function(){},!0),r=i.prototype=new t;return r.constructor=i,r.getRatio=n,i},c=t.register||function(){},f=function(t,e,n,i,r){var o=l("easing."+t,{easeOut:new e,easeIn:new n,easeInOut:new i},!0);return c(o,t),o},h=function(t,e,n){this.t=t,this.v=e,n&&(this.next=n,n.prev=this,this.c=n.v-e,this.gap=n.t-t)},d=function(e,n){var i=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=i.prototype=new t;return r.constructor=i,r.getRatio=n,r.config=function(t){return new i(t)},i},p=f("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=l("easing.SlowMo",function(t,e,n){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===n},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?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,n){return new m(t,e,n)},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)},n=l("easing.RoughEase",function(e){e=e||{};for(var n,i,r,o,s,a,l=e.taper||"none",u=[],c=0,f=0|(e.points||20),d=f,p=!1!==e.randomize,m=!0===e.clamp,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--d>-1;)n=p?Math.random():1/f*d,i=g?g.getRatio(n):n,"none"===l?r=v:"out"===l?(o=1-n,r=o*o*v):"in"===l?r=n*n*v:.5>n?(o=2*n,r=o*o*.5*v):(o=2*(1-n),r=o*o*.5*v),p?i+=Math.random()*r-.5*r:d%2?i+=.5*r:i-=.5*r,m&&(i>1?i=1:0>i&&(i=0)),u[c++]={x:n,y:i};for(u.sort(function(t,e){return t.x-e.x}),a=new h(1,1,null),d=f;--d>-1;)s=u[d],a=new h(s.x,s.y,a);this._prev=new h(0,0,0!==a.t?a:a.next)},!0),g=n.prototype=new t,g.constructor=n,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new n(t)},n.ease=new n,f("Bounce",u("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=.5>t;return t=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})),f("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),i=function(e,n,i){var r=l("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||i)/(1>t?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2},!0),o=r.prototype=new t;return o.constructor=r,o.getRatio=n,
o.config=function(t,e){return new r(t,e)},r},f("Elastic",i("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),i("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),i("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",u("SineOut",function(t){return Math.sin(t*a)}),u("SineIn",function(t){return 1-Math.cos(t*a)}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),c(r.SlowMo,"SlowMo","ease,"),c(n,"RoughEase","ease,"),c(e,"SteppedEase","ease,"),p},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";var t=function(){return _gsScope.GreenSockGlobals||_gsScope};"function"==typeof define&&define.amd?define(["TweenLite"],t):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=t())}(),function(t){"use strict";var e,n,i,r=t.fn.animate,o=t.fn.stop,s=!0,a=function(t){var e,n={};for(e in t)n[e]=t[e];return n},l={overwrite:1,delay:1,useFrames:1,runBackwards:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,autoCSS:1},u=",scrollTop,scrollLeft,show,hide,toggle,",c=u,f=function(t,e){for(var n in l)l[n]&&void 0!==t[n]&&(e[n]=t[n])},h=function(t){return function(e){return t.getRatio(e)}},d={},p=function(){var r,o,s,a=window.GreenSockGlobals||window;if(e=a.TweenMax||a.TweenLite,e&&(r=(e.version+".0.0").split("."),o=!(Number(r[0])>0&&Number(r[1])>7),a=a.com.greensock,n=a.plugins.CSSPlugin,d=a.easing.Ease.map||{}),!e||!n||o)return e=null,void(!i&&window.console&&(window.console.log("The jquery.gsap.js plugin requires the TweenMax (or at least TweenLite and CSSPlugin) JavaScript file(s)."+(o?" Version "+r.join(".")+" is too old.":"")),i=!0));if(t.easing){for(s in d)t.easing[s]=h(d[s]);p=!1}};t.fn.animate=function(i,o,l,u){if(i=i||{},p&&(p(),!e||!n))return r.call(this,i,o,l,u);if(!s||!0===i.skipGSAP||"object"==(void 0===o?"undefined":_typeof(o))&&"function"==typeof o.step)return r.call(this,i,o,l,u);var h,m,g,v,y=t.speed(o,l,u),_={ease:d[y.easing]||(!1===y.easing?d.linear:d.swing)},x=this,b="object"==(void 0===o?"undefined":_typeof(o))?o.specialEasing:null;for(m in i){if(h=i[m],h instanceof Array&&d[h[1]]&&(b=b||{},b[m]=h[1],h=h[0]),"show"===h||"hide"===h||"toggle"===h||-1!==c.indexOf(m)&&-1!==c.indexOf(","+m+","))return r.call(this,i,o,l,u);_[-1===m.indexOf("-")?m:t.camelCase(m)]=h}if(b){_=a(_),v=[];for(m in b)h=v[v.length]={},f(_,h),h.ease=d[b[m]]||_.ease,-1!==m.indexOf("-")&&(m=t.camelCase(m)),h[m]=_[m],delete _[m];0===v.length&&(v=null)}return g=function(n){var i,r=a(_);if(v)for(i=v.length;--i>-1;)e.to(this,t.fx.off?0:y.duration/1e3,v[i]);r.onComplete=function(){n?n():y.old&&t(this).each(y.old)},e.to(this,t.fx.off?0:y.duration/1e3,r)},!1!==y.queue?(x.queue(y.queue,g),"function"==typeof y.old&&t(x[x.length-1]).queue(y.queue,function(t){y.old.call(x),t()})):g.call(x),x},t.fn.stop=function(t,n){if(o.call(this,t,n),e){if(n)for(var i,r=e.getTweensOf(this),s=r.length;--s>-1;)(i=r[s].totalTime()/r[s].totalDuration())>0&&1>i&&r[s].seek(r[s].totalDuration());e.killTweensOf(this)}return this},t.gsap={enabled:function(t){s=t},version:"0.1.12",legacyProps:function(t){c=u+t+","}}}(jQuery),function(t,e){"use strict";var n={},i=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!r.TweenLite){var o,s,a,l,u,c=function(t){var e,n=t.split("."),i=r;for(e=0;e<n.length;e++)i[n[e]]=i=i[n[e]]||{};return i},f=c("com.greensock"),h=1e-10,d=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},p=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(n){return null!=n&&(n instanceof Array||"object"==(void 0===n?"undefined":_typeof(n))&&!!n.push&&t.call(n)===e)}}(),g={},v=function i(o,s,a,l){this.sc=g[o]?g[o].sc:[],g[o]=this,this.gsClass=null,this.func=a;var u=[];this.check=function(f){for(var h,d,p,m,v,y=s.length,_=y;--y>-1;)(h=g[s[y]]||new i(s[y],[])).gsClass?(u[y]=h.gsClass,_--):f&&h.sc.push(this);if(0===_&&a){if(d=("com.greensock."+o).split("."),p=d.pop(),m=c(d.join("."))[p]=this.gsClass=a.apply(a,u),l)if(r[p]=n[p]=m,!(v="undefined"!=typeof module&&module.exports)&&"function"==typeof define&&define.amd)define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+o.split(".").pop(),[],function(){return m});else if(v)if(o===e){module.exports=n[e]=m;for(y in n)m[y]=n[y]}else n[e]&&(n[e][p]=m);for(y=0;y<this.sc.length;y++)this.sc[y].check()}},this.check(!0)},y=t._gsDefine=function(t,e,n,i){return new v(t,e,n,i)},_=f._class=function(t,e,n){return e=e||function(){},y(t,[],function(){return e},n),e};y.globals=r;var x=[0,0,1,1],b=_("easing.Ease",function(t,e,n,i){this._func=t,this._type=n||0,this._power=i||0,this._params=e?x.concat(e):x},!0),T=b.map={},w=b.register=function(t,e,n,i){for(var r,o,s,a,l=e.split(","),u=l.length,c=(n||"easeIn,easeOut,easeInOut").split(",");--u>-1;)for(o=l[u],r=i?_("easing."+o,null,!0):f.easing[o]||{},s=c.length;--s>-1;)a=c[s],T[o+"."+a]=T[a+o]=r[a]=t.getRatio?t:t[a]||new t};for(a=b.prototype,a._calcEnd=!1,a.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,n=this._power,i=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:.5>t?i/2:1-i/2},o=["Linear","Quad","Cubic","Quart","Quint,Strong"],s=o.length;--s>-1;)a=o[s]+",Power"+s,w(new b(null,null,1,s),a,"easeOut",!0),w(new b(null,null,2,s),a,"easeIn"+(0===s?",easeNone":"")),w(new b(null,null,3,s),a,"easeInOut");T.linear=f.easing.Linear.easeIn,T.swing=f.easing.Quad.easeInOut;var S=_("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});a=S.prototype,a.addEventListener=function(t,e,n,i,r){r=r||0;var o,s,a=this._listeners[t],c=0;for(this!==l||u||l.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;--s>-1;)o=a[s],o.c===e&&o.s===n?a.splice(s,1):0===c&&o.pr<r&&(c=s+1);a.splice(c,0,{c:e,s:n,up:i,pr:r})},a.removeEventListener=function(t,e){var n,i=this._listeners[t];if(i)for(n=i.length;--n>-1;)if(i[n].c===e)return void i.splice(n,1)},a.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for(e=r.length,e>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var C=t.requestAnimationFrame,k=t.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()},P=E();for(o=["ms","moz","webkit","o"],s=o.length;--s>-1&&!C;)C=t[o[s]+"RequestAnimationFrame"],k=t[o[s]+"CancelAnimationFrame"]||t[o[s]+"CancelRequestAnimationFrame"];_("Ticker",function(t,e){var n,r,o,s,a,c=this,f=E(),d=!(!1===e||!C)&&"auto",m=500,g=33,v=function t(e){var i,l,u=E()-P;u>m&&(f+=u-g),P+=u,c.time=(P-f)/1e3,i=c.time-a,(!n||i>0||!0===e)&&(c.frame++,a+=i+(i>=s?.004:s-i),l=!0),!0!==e&&(o=r(t)),l&&c.dispatchEvent("tick")};S.call(c),c.time=c.frame=0,c.tick=function(){v(!0)},c.lagSmoothing=function(t,e){m=t||1/h,g=Math.min(e,m,0)},c.sleep=function(){null!=o&&(d&&k?k(o):clearTimeout(o),r=p,o=null,c===l&&(u=!1))},c.wake=function(t){null!==o?c.sleep():t?f+=-P+(P=E()):c.frame>10&&(P=E()-m+5),r=0===n?p:d&&C?C:function(t){return setTimeout(t,1e3*(a-c.time)+1|0)},c===l&&(u=!0),v(2)},c.fps=function(t){return arguments.length?(n=t,s=1/(n||60),a=this.time+s,void c.wake()):n},c.useRAF=function(t){return arguments.length?(c.sleep(),d=t,void c.fps(n)):d},c.fps(t),setTimeout(function(){"auto"===d&&c.frame<5&&"hidden"!==i.visibilityState&&c.useRAF(!1)},1500)}),a=f.Ticker.prototype=new f.events.EventDispatcher,a.constructor=f.Ticker;var A=_("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,$){u||l.wake();var n=this.vars.useFrames?U:$;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});l=A.ticker=new f.Ticker,a=A.prototype,a._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;(function t(){u&&E()-P>2e3&&l.wake(),setTimeout(t,2e3)})(),a.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},a.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},a.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},a.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},a.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},a.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},a.render=function(t,e,n){},a.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},a.isActive=function(){var t,e=this._timeline,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t<n+this.totalDuration()/this._timeScale},a._enabled=function(t,e){return u||l.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},a._kill=function(t,e){return this._enabled(!1,!1)},a.kill=function(t,e){return this._kill(t,e),this},a._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},a._swapSelfInParams=function(t){for(var e=t.length,n=t.concat();--e>-1;)"{self}"===t[e]&&(n[e]=this);return n},a._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},a.eventCallback=function(t,e,n,i){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=m(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"onUpdate"===t&&(this._onUpdate=e)}return this},a.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},a.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)},a.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},a.totalTime=function(t,e,n){if(u||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(L.length&&G(),this.render(t,e,!1),L.length&&G())}return this},a.progress=a.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n:this.ratio},a.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},a.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},a.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||h,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,n=e||0===e?e:this._timeline.totalTime();this._startTime=n-(n-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},a.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},a.paused=function(t){if(!arguments.length)return this._paused;var e,n,i=this._timeline;return t!=this._paused&&i&&(u||t||l.wake(),e=i.rawTime(),n=e-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var O=_("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});a=O.prototype=new A,a.constructor=O,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,n,i){var r,o;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),r=this._last,this._sortChildren)for(o=t._startTime;r&&r._startTime>o;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},a._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},a.render=function(t,e,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=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,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},a.rawTime=function(){return u||l.wake(),this._totalTime};var N=_("TweenLite",function(e,n,i){if(A.call(this,n,i),this.render=N.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:N.selector(e)||e;var r,o,s,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Y[N.defaultOverwrite]:"number"==typeof l?l>>0:Y[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=s=d(e),this._propLookup=[],this._siblings=[],r=0;r<s.length;r++)o=s[r],o?"string"!=typeof o?o.length&&o!==t&&o[0]&&(o[0]===t||o[0].nodeType&&o[0].style&&!o.nodeType)?(s.splice(r--,1),this._targets=s=s.concat(d(o))):(this._siblings[r]=Q(o,this,!1),1===l&&this._siblings[r].length>1&&Z(o,this,null,1,this._siblings[r])):"string"==typeof(o=s[r--]=N.selector(o))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=Q(e,this,!1),1===l&&this._siblings.length>1&&Z(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-h,this.render(Math.min(0,-this._delay)))},!0),M=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},D=function(t,e){var n,i={};for(n in t)W[n]||n in e&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!z[n]||z[n]&&z[n]._autoCSS)||(i[n]=t[n],delete t[n]);t.css=i};a=N.prototype=new A,a.constructor=N,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,N.version="1.19.1",N.defaultEase=a._ease=new b(null,null,1,1),N.defaultOverwrite="auto",N.ticker=l,N.autoSleep=120,N.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},N.selector=t.$||t.jQuery||function(e){var n=t.$||t.jQuery;return n?(N.selector=n,n(e)):void 0===i?e:i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e)};var L=[],I={},R=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,j=function(t){for(var e,n=this._firstPT;n;)e=n.blob?1===t?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m(e,this._target||n.t):1e-6>e&&e>-1e-6&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},H=function(t,e,n,i){var r,o,s,a,l,u,c,f=[],h=0,d="",p=0;for(f.start=t,f.end=e,t=f[0]=t+"",e=f[1]=e+"",n&&(n(f),t=f[0],e=f[1]),f.length=0,r=t.match(R)||[],o=e.match(R)||[],i&&(i._next=null,i.blob=1,f._firstPT=f._applyPT=i),l=o.length,a=0;l>a;a++)c=o[a],u=e.substr(h,e.indexOf(c,h)-h),d+=u||!a?u:",",h+=u.length,p?p=(p+1)%5:"rgba("===u.substr(-5)&&(p=1),c===r[a]||r.length<=a?d+=c:(d&&(f.push(d),d=""),s=parseFloat(r[a]),f.push(s),f._firstPT={_next:f._firstPT,t:f,p:f.length-1,s:s,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-s)||0,f:0,m:p&&4>p?Math.round:0}),h+=c.length;return d+=e.substr(h),d&&f.push(d),f.setRatio=j,f},F=function(t,e,n,i,r,o,s,a,l){"function"==typeof i&&(i=i(l||0,t));var u,c=_typeof(t[e]),f="function"!==c?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),h="get"!==n?n:f?s?t[f](s):t[f]():t[e],d="string"==typeof i&&"="===i.charAt(1),p={t:t,p:e,s:h,f:"function"===c,pg:0,n:r||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:d?parseInt(i.charAt(0)+"1",10)*parseFloat(i.substr(2)):parseFloat(i)-h||0};return("number"!=typeof h||"number"!=typeof i&&!d)&&(s||isNaN(h)||!d&&isNaN(i)||"boolean"==typeof h||"boolean"==typeof i?(p.fp=s,u=H(h,d?p.s+p.c:i,a||N.defaultStringFilter,p),p={t:u,p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(p.s=parseFloat(h),d||(p.c=parseFloat(i)-p.s||0))),p.c?((p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p):void 0},B=N._internals={isArray:m,isSelector:M,lazyTweens:L,blobDif:H},z=N._plugins={},q=B.tweenLookup={},X=0,W=B.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},Y={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},U=A._rootFramesTimeline=new O,$=A._rootTimeline=new O,V=30,G=B.lazyRender=function(){var t,e=L.length;for(I={};--e>-1;)(t=L[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);L.length=0};$._startTime=l.time,U._startTime=l.frame,$._active=U._active=!0,setTimeout(G,1),A._updateRoot=N.render=function(){var t,e,n;if(L.length&&G(),$.render((l.time-$._startTime)*$._timeScale,!1,!1),U.render((l.frame-U._startTime)*U._timeScale,!1,!1),L.length&&G(),l.frame>=V){V=l.frame+(parseInt(N.autoSleep,10)||120);for(n in q){for(e=q[n].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete q[n]}if((!(n=$._first)||n._paused)&&N.autoSleep&&!U._first&&1===l._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||l.sleep()}}},l.addEventListener("tick",A._updateRoot);var Q=function(t,e,n){var i,r,o=t._gsTweenID;if(q[o||(t._gsTweenID=o="t"+X++)]||(q[o]={target:t,tweens:[]}),e&&(i=q[o].tweens,i[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return q[o].tweens},K=function(t,e,n,i){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,n,i)),s=N.onOverwrite,s&&(o=s(t,e,n,i)),!1!==r&&!1!==o},Z=function(t,e,n,i,r){var o,s,a,l;if(1===i||i>=4){for(l=r.length,o=0;l>o;o++)if((a=r[o])!==e)a._gc||a._kill(null,t,e)&&(s=!0);else if(5===i)break;return s}var u,c=e._startTime+h,f=[],d=0,p=0===e._duration;for(o=r.length;--o>-1;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||J(e,0,p),0===J(a,u,p)&&(f[d++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(f[d++]=a)));for(o=d;--o>-1;)if(a=f[o],2===i&&a._kill(n,t,e)&&(s=!0),2!==i||!a._firstPT&&a._initted){if(2!==i&&!K(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},J=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return o/=r,o>e?o-e:n&&o===e||!t._initted&&2*h>o-e?h:(o+=t.totalDuration()/t._timeScale/r)>e+h?0:o-e-h};a._init=function(){var t,e,n,i,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,c=s.ease;if(s.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={};for(i in s.startAt)r[i]=s.startAt[i];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==s.lazy,r.startAt=r.delay=null,this._startAt=N.to(this.target,0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(u=!1),n={};for(i in s)W[i]&&"autoCSS"!==i||(n[i]=s[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==s.lazy,n.immediateRender=u,this._startAt=N.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof b?c:"function"==typeof c?new b(c,s.easeParams):T[c]||N.defaultEase:N.defaultEase,s.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;o>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&N._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),s.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=s.onUpdate,this._initted=!0},a._initProps=function(e,n,i,r,o){var s,a,l,u,c,f;if(null==e)return!1;I[e._gsTweenID]&&G(),this.vars.css||e.style&&e!==t&&e.nodeType&&z.css&&!1!==this.vars.autoCSS&&D(this.vars,e);for(s in this.vars)if(f=this.vars[s],W[s])f&&(f instanceof Array||f.push&&m(f))&&-1!==f.join("").indexOf("{self}")&&(this.vars[s]=f=this._swapSelfInParams(f,this));else if(z[s]&&(u=new z[s])._onInitTween(e,this.vars[s],this,o)){for(this._firstPT=c={_next:this._firstPT,t:u,p:"setRatio",s:0,c:1,f:1,n:s,pg:1,pr:u._priority,m:0},a=u._overwriteProps.length;--a>-1;)n[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[s]=F.call(this,e,s,"get",f,s,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&Z(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(I[e._gsTweenID]=!0),l)},a.render=function(t,e,n){var i,r,o,s,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(0>u||0>=t&&t>=-1e-7||u===h&&"isPause"!==this.data)&&u!==t&&(n=!0,u>h&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||u===t?t:h);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(u!==h||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=s=!e||t||u===t?t:h)),this._initted||(n=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,f=this._easeType,d=this._easePower;(1===f||3===f&&c>=.5)&&(c=1-c),3===f&&(c*=2),1===d?c*=c:2===d?c*=c*c:3===d?c*=c*c*c:4===d&&(c*=c*c*c*c),this.ratio=1===f?1-c:2===f?c:.5>t/l?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,L.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,e,n):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,n),e||(this._time!==a||i||n)&&this._callback("onUpdate")),r&&(!this._gc||n)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&this._rawPrevTime===h&&s!==h&&(this._rawPrevTime=0))}},a._kill=function(t,e,n){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:N.selector(e)||e;var i,r,o,s,a,l,u,c,f,h=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline;if((m(e)||M(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==r&&"all"!==r&&t!==a&&("object"!=(void 0===t?"undefined":_typeof(t))||!t._tempKill),n&&(N.onOverwrite||this.vars.onOverwrite)){for(o in u)a[o]&&(f||(f=[]),f.push(o));if((f||!t)&&!K(this,n,e,f))return!1}for(o in u)(s=a[o])&&(h&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(u)&&(l=!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 a[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},a.invalidate=function(){return this._notifyPluginsOfEnabled&&N._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],A.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-h,this.render(Math.min(0,-this._delay))),this},a._enabled=function(t,e){if(u||l.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=Q(i[n],this,!0);else this._siblings=Q(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&N._onPluginEvent(t?"_onEnable":"_onDisable",this)},N.to=function(t,e,n){return new N(t,e,n)},N.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new N(t,e,n)},N.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new N(t,e,i)},N.delayedCall=function(t,e,n,i,r){return new N(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},N.set=function(t,e){return new N(t,0,e)},N.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:N.selector(t)||t;var n,i,r,o;if((m(t)||M(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(N.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else for(i=Q(t).concat(),n=i.length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i},N.killTweensOf=N.killDelayedCallsTo=function(t,e,n){"object"==(void 0===e?"undefined":_typeof(e))&&(n=e,e=!1);for(var i=N.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var tt=_("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=tt.prototype},!0);if(a=tt.prototype,tt.version="1.19.0",tt.API=2,a._firstPT=null,a._addTween=F,a.setRatio=j,a._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},a._mod=a._roundProps=function(t){for(var e,n=this._firstPT;n;)e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")],e&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},N._onPluginEvent=function(t,e){var n,i,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,i=r;i&&i.pr>a.pr;)i=i._next;(a._prev=i?i._prev:o)?a._prev._next=a:r=a,(a._next=i)?i._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(n=!0),a=a._next;return n},tt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===tt.API&&(z[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=_("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){tt.call(this,n,i),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new tt(n);a.constructor=s,s.API=t.API;for(e in o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,tt.activate([s]),s},o=t._gsQueue){for(s=0;s<o.length;s++)o[s]();for(a in g)g[a].func||t.console.log("GSAP encountered missing dependency: "+a)}u=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenLite");var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,n){var i=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var n,i,r=this.vars;for(i in r)n=r[i],l(n)&&-1!==n.join("").indexOf("{self}")&&(r[i]=this._swapSelfInParams(n));l(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r=1e-10,o=n._internals,s=i._internals={},a=o.isSelector,l=o.isArray,u=o.lazyTweens,c=o.lazyRender,f=_gsScope._gsDefine.globals,h=function(t){var e,n={};for(e in t)n[e]=t[e];return n},d=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},p=s.pauseCallback=function(){},m=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n
},g=i.prototype=new e;return i.version="1.19.1",g.constructor=i,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,i,r){var o=i.repeat&&f.TweenMax||n;return e?this.add(new o(t,e,i),r):this.set(t,i,r)},g.from=function(t,e,i,r){return this.add((i.repeat&&f.TweenMax||n).from(t,e,i),r)},g.fromTo=function(t,e,i,r,o){var s=r.repeat&&f.TweenMax||n;return e?this.add(s.fromTo(t,e,i,r),o):this.set(t,r,o)},g.staggerTo=function(t,e,r,o,s,l,u,c){var f,p,g=new i({onComplete:l,onCompleteParams:u,callbackScope:c,smoothChildTiming:this.smoothChildTiming}),v=r.cycle;for("string"==typeof t&&(t=n.selector(t)||t),t=t||[],a(t)&&(t=m(t)),o=o||0,0>o&&(t=m(t),t.reverse(),o*=-1),p=0;p<t.length;p++)f=h(r),f.startAt&&(f.startAt=h(f.startAt),f.startAt.cycle&&d(f.startAt,t,p)),v&&(d(f,t,p),null!=f.duration&&(e=f.duration,delete f.duration)),g.to(t[p],e,f,p*o);return this.add(g,s)},g.staggerFrom=function(t,e,n,i,r,o,s,a){return n.immediateRender=0!=n.immediateRender,n.runBackwards=!0,this.staggerTo(t,e,n,i,r,o,s,a)},g.staggerFromTo=function(t,e,n,i,r,o,s,a,l){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,this.staggerTo(t,e,i,r,o,s,a,l)},g.call=function(t,e,i,r){return this.add(n.delayedCall(0,t,e,i),r)},g.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new n(t,0,e),i)},i.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,o,s=new i(t),a=s._timeline;for(null==e&&(e=!0),a._remove(s,!0),s._startTime=0,s._rawPrevTime=s._time=s._totalTime=a._time,r=a._first;r;)o=r._next,e&&r instanceof n&&r.target===r.vars.onComplete||s.add(r,r._startTime-r._delay),r=o;return a.add(s,0),s},g.add=function(r,o,s,a){var u,c,f,h,d,p;if("number"!=typeof o&&(o=this._parseTimeOrLabel(o,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&l(r)){for(s=s||"normal",a=a||0,u=o,c=r.length,f=0;c>f;f++)l(h=r[f])&&(h=new i({tweens:h})),this.add(h,u),"string"!=typeof h&&"function"!=typeof h&&("sequence"===s?u=h._startTime+h.totalDuration()/h._timeScale:"start"===s&&(h._startTime-=h.delay())),u+=a;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,o);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=n.delayedCall(0,r)}if(e.prototype.add.call(this,r,o),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(d=this,p=d.rawTime()>r._startTime;d._timeline;)p&&d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._gc&&d._enabled(!0,!1),d=d._timeline;return this},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var n=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:n._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,n){return e.prototype._remove.call(this,t,n),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,n,i){return this.add(t,e||0,n,i)},g.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,i,r){var o=n.delayedCall(0,p,i,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,n,i,r){var o;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(o=r.length;--o>-1;)r[o]instanceof t&&r[o].timeline===this&&this.remove(r[o]);if("string"==typeof n)return this._parseTimeOrLabel(n,i&&"number"==typeof e&&null==this._labels[n]?e-this.duration():0,i);if(n=n||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(o=e.indexOf("=")))return null==this._labels[e]?i?this._labels[e]=this.duration()+n:n:this._labels[e]+n;n=parseInt(e.charAt(o-1)+"1",10)*Number(e.substr(o+1)),e=o>1?this._parseTimeOrLabel(e.substr(0,o-1),0,i):this.duration()}return Number(e)+n},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var i,o,s,a,l,f,h,d=this._dirty?this.totalDuration():this._totalDuration,p=this._time,m=this._startTime,g=this._timeScale,v=this._paused;if(t>=d-1e-7&&t>=0)this._totalTime=this._time=d,this._reversed||this._hasPausedChild()||(o=!0,a="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>r&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=d+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==p||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(a="onReverseComplete",o=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=o=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&o)for(i=this._first;i&&0===i._startTime;)i._duration||(o=!1),i=i._next;t=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=p)for(i=this._first;i&&i._startTime<=t&&!f;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(f=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!f;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(f=i),i=i._prev;f&&(this._time=t=f._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==p&&this._first||n||l||f){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==p&&t>0&&(this._active=!0),0===p&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(h=this._time)>=p)for(i=this._first;i&&(s=i._next,h===this._time&&(!this._paused||v));)(i._active||i._startTime<=h&&!i._paused&&!i._gc)&&(f===i&&this.pause(),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=s;else for(i=this._last;i&&(s=i._prev,h===this._time&&(!this._paused||v));){if(i._active||i._startTime<=p&&!i._paused&&!i._gc){if(f===i){for(f=i._prev;f&&f.endTime()>this._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,n),f=f._prev;f=null,this.pause()}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)}i=s}this._onUpdate&&(e||(u.length&&c(),this._callback("onUpdate"))),a&&(this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(o&&(u.length&&c(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof i&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,i,r){r=r||-9999999999;for(var o=[],s=this._first,a=0;s;)s._startTime<r||(s instanceof n?!1!==e&&(o[a++]=s):(!1!==i&&(o[a++]=s),!1!==t&&(o=o.concat(s.getChildren(!0,e,i)),a=o.length))),s=s._next;return o},g.getTweensOf=function(t,e){var i,r,o=this._gc,s=[],a=0;for(o&&this._enabled(!0,!0),i=n.getTweensOf(t),r=i.length;--r>-1;)(i[r].timeline===this||e&&this._contains(i[r]))&&(s[a++]=i[r]);return o&&this._enabled(!1,!0),s},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},g.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,n){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return e.prototype._enabled.call(this,t,n)},g.totalTime=function(e,n,i){this._forcingPlayhead=!0;var r=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,n,i=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):o=r._startTime,r._startTime<0&&!r._paused&&(i-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),n=r._startTime+r._totalDuration/r._timeScale,n>i&&(i=n),r=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!e)for(var n=this._first,i=this._time;n;)n._startTime===i&&"isPause"===n.data&&(n._rawPrevTime=0),n=n._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},i},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).TimelineLite};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}();var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.CustomEase",["easing.Ease"],function(t){var e=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,n=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,i=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,r=/[cLlsS]/g,o="CustomEase only accepts Cubic Bezier data.",s=function t(e,n,i,r,o,s,a,l,u,c,f){var h,d=(e+i)/2,p=(n+r)/2,m=(i+o)/2,g=(r+s)/2,v=(o+a)/2,y=(s+l)/2,_=(d+m)/2,x=(p+g)/2,b=(m+v)/2,T=(g+y)/2,w=(_+b)/2,S=(x+T)/2,C=a-e,k=l-n,E=Math.abs((i-a)*k-(r-l)*C),P=Math.abs((o-a)*k-(s-l)*C);return c||(c=[{x:e,y:n},{x:a,y:l}],f=1),c.splice(f||c.length-1,0,{x:w,y:S}),(E+P)*(E+P)>u*(C*C+k*k)&&(h=c.length,t(e,n,d,p,_,x,w,S,u,c,f),t(w,S,b,T,v,y,a,l,u,c,f+1+(c.length-h))),c},a=function(t){var e,r,s,a,l,u,c,f,h,d,p,m=(t+"").replace(i,function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e}).match(n)||[],g=[],v=0,y=0,_=m.length,x=2;for(e=0;e<_;e++)if(h=a,isNaN(m[e])?(a=m[e].toUpperCase(),l=a!==m[e]):e--,r=+m[e+1],s=+m[e+2],l&&(r+=v,s+=y),e||(c=r,f=s),"M"===a)u&&u.length<8&&(g.length-=1,x=0),v=c=r,y=f=s,u=[r,s],x=2,g.push(u),e+=2,a="L";else if("C"===a)u||(u=[0,0]),u[x++]=r,u[x++]=s,l||(v=y=0),u[x++]=v+1*m[e+3],u[x++]=y+1*m[e+4],u[x++]=v+=1*m[e+5],u[x++]=y+=1*m[e+6],e+=6;else if("S"===a)"C"===h||"S"===h?(d=v-u[x-4],p=y-u[x-3],u[x++]=v+d,u[x++]=y+p):(u[x++]=v,u[x++]=y),u[x++]=r,u[x++]=s,l||(v=y=0),u[x++]=v+=1*m[e+3],u[x++]=y+=1*m[e+4],e+=4;else{if("L"!==a&&"Z"!==a)throw o;"Z"===a&&(r=c,s=f,u.closed=!0),("L"===a||Math.abs(v-r)>.5||Math.abs(y-s)>.5)&&(u[x++]=v+(r-v)/3,u[x++]=y+(s-y)/3,u[x++]=v+2*(r-v)/3,u[x++]=y+2*(s-y)/3,u[x++]=r,u[x++]=s,"L"===a&&(e+=2)),v=r,y=s}return g[0]},l=function(t){var e,n=t.length,i=999999999999;for(e=1;e<n;e+=6)+t[e]<i&&(i=+t[e]);return i},u=function(t,e,n){n||0===n||(n=Math.max(+t[t.length-1],+t[1]));var i,r=-1*+t[0],o=-n,s=t.length,a=1/(+t[s-2]+r),u=-e||(Math.abs(+t[s-1]-+t[1])<.01*(+t[s-2]-+t[0])?l(t)+o:+t[s-1]+o);for(u=u?1/u:-a,i=0;i<s;i+=2)t[i]=(+t[i]+r)*a,t[i+1]=(+t[i+1]+o)*u},c=function(t){var e=this.lookup[t*this.l|0]||this.lookup[this.l-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},f=function(e,n,i){this._calcEnd=!0,this.id=e,e&&(t.map[e]=this),this.getRatio=c,this.setData(n,i)},h=f.prototype=new t;return h.constructor=f,h.setData=function(t,n){t=t||"0,0,1,1";var i,l,c,f,h,d,p,m,g,v,y=t.match(e),_=1,x=[];if(n=n||{},v=n.precision||1,this.data=t,this.lookup=[],this.points=x,this.fast=v<=1,(r.test(t)||-1!==t.indexOf("M")&&-1===t.indexOf("C"))&&(y=a(t)),4===(i=y.length))y.unshift(0,0),y.push(1,1),i=8;else if((i-2)%6)throw o;for(0==+y[0]&&1==+y[i-2]||u(y,n.height,n.originY),this.rawBezier=y,f=2;f<i;f+=6)l={x:+y[f-2],y:+y[f-1]},c={x:+y[f+4],y:+y[f+5]},x.push(l,c),s(l.x,l.y,+y[f],+y[f+1],+y[f+2],+y[f+3],c.x,c.y,1/(2e5*v),x,x.length-1);for(i=x.length,f=0;f<i;f++)p=x[f],m=x[f-1]||p,p.x>m.x||m.y!==p.y&&m.x===p.x||p===m?(m.cx=p.x-m.x,m.cy=p.y-m.y,m.n=p,m.nx=p.x,this.fast&&f>1&&Math.abs(m.cy/m.cx-x[f-2].cy/x[f-2].cx)>2&&(this.fast=!1),m.cx<_&&(m.cx?_=m.cx:(m.cx=.001,f===i-1&&(m.x-=.001,_=Math.min(_,.001),this.fast=!1)))):(x.splice(f--,1),i--);if(i=1/_+1|0,this.l=i,h=1/i,d=0,p=x[0],this.fast){for(f=0;f<i;f++)g=f*h,p.nx<g&&(p=x[++d]),l=p.y+(g-p.x)/p.cx*p.cy,this.lookup[f]={x:g,cx:h,y:l,cy:0,nx:9},f&&(this.lookup[f-1].cy=l-this.lookup[f-1].y);this.lookup[i-1].cy=x[x.length-1].y-l}else{for(f=0;f<i;f++)p.nx<f*h&&(p=x[++d]),this.lookup[f]=p;d<x.length-1&&(this.lookup[f-1]=x[x.length-2])}return this._calcEnd=1!==x[x.length-1].y||0!==x[0].y,this},h.getRatio=c,h.getSVGData=function(t){return f.getSVGData(this,t)},f.create=function(t,e,n){return new f(t,e,n)},f.version="0.2.2",f.bezierToPoints=s,f.get=function(e){return t.map[e]},f.getSVGData=function(e,n){n=n||{};var i,r,o,s,a,l,u,c,f,h,d=n.width||100,p=n.height||100,m=n.x||0,g=(n.y||0)+p,v=n.path;if(n.invert&&(p=-p,g=0),e=e.getRatio?e:t.map[e]||console.log("No ease found: ",e),e.rawBezier){for(i=[],u=e.rawBezier.length,o=0;o<u;o+=2)i.push((1e3*(m+e.rawBezier[o]*d)|0)/1e3+","+(1e3*(g+e.rawBezier[o+1]*-p)|0)/1e3);i[0]="M"+i[0],i[1]="C"+i[1]}else for(i=["M"+m+","+g],u=Math.max(5,200*(n.precision||1)),s=1/u,u+=2,c=5/u,f=(1e3*(m+s*d)|0)/1e3,h=(1e3*(g+e.getRatio(s)*-p)|0)/1e3,r=(h-g)/(f-m),o=2;o<u;o++)a=(1e3*(m+o*s*d)|0)/1e3,l=(1e3*(g+e.getRatio(o*s)*-p)|0)/1e3,(Math.abs((l-h)/(a-f)-r)>c||o===u-1)&&(i.push(f+","+h),r=(l-h)/(a-f)),f=a,h=l;return v&&("string"==typeof v?document.querySelector(v):v).setAttribute("d",i.join(" ")),i.join(" ")},f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).CustomEase};"undefined"!=typeof module&&module.exports?(require("../TweenLite.js"),module.exports=e()):"function"==typeof define&&define.amd&&define(["TweenLite"],e)}(),function(t,e){"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"object"==("undefined"==typeof module?"undefined":_typeof(module))?module.exports=e():"function"==typeof define&&define.amd?define("Barba",[],e):"object"==("undefined"==typeof exports?"undefined":_typeof(exports))?exports.Barba=e():t.Barba=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="http://localhost:8080/dist",e(0)}([function(t,e,n){"function"!=typeof Promise&&(window.Promise=n(1));var i={version:"1.0.0",BaseTransition:n(4),BaseView:n(6),BaseCache:n(8),Dispatcher:n(7),HistoryManager:n(9),Pjax:n(10),Prefetch:n(13),Utils:n(5)};t.exports=i},function(t,e,n){(function(e){!function(n){function i(){}function r(t,e){return function(){t.apply(e,arguments)}}function o(t){if("object"!=_typeof(this))throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(t,this)}function s(t,e){for(;3===t._state;)t=t._value;return 0===t._state?void t._deferreds.push(e):(t._handled=!0,void d(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null===n)return void(1===t._state?a:l)(e.promise,t._value);var i;try{i=n(t._value)}catch(t){return void l(e.promise,t)}a(e.promise,i)}))}function a(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==(void 0===e?"undefined":_typeof(e))||"function"==typeof e)){var n=e.then;if(e instanceof o)return t._state=3,t._value=e,void u(t);if("function"==typeof n)return void f(r(n,e),t)}t._state=1,t._value=e,u(t)}catch(e){l(t,e)}}function l(t,e){t._state=2,t._value=e,u(t)}function u(t){2===t._state&&0===t._deferreds.length&&d(function(){t._handled||p(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)s(t,t._deferreds[e]);t._deferreds=null}function c(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function f(t,e){var n=!1;try{t(function(t){n||(n=!0,a(e,t))},function(t){n||(n=!0,l(e,t))})}catch(t){if(n)return;n=!0,l(e,t)}}var h=setTimeout,d="function"==typeof e&&e||function(t){h(t,0)},p=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)};o.prototype.catch=function(t){return this.then(null,t)},o.prototype.then=function(t,e){var n=new this.constructor(i);return s(this,new c(t,e,n)),n},o.all=function(t){var e=Array.prototype.slice.call(t);return new o(function(t,n){function i(o,s){try{if(s&&("object"==(void 0===s?"undefined":_typeof(s))||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,function(t){i(o,t)},n)}e[o]=s,0==--r&&t(e)}catch(t){n(t)}}if(0===e.length)return t([]);for(var r=e.length,o=0;o<e.length;o++)i(o,e[o])})},o.resolve=function(t){return t&&"object"==(void 0===t?"undefined":_typeof(t))&&t.constructor===o?t:new o(function(e){e(t)})},o.reject=function(t){return new o(function(e,n){n(t)})},o.race=function(t){return new o(function(e,n){for(var i=0,r=t.length;i<r;i++)t[i].then(e,n)})},o._setImmediateFn=function(t){d=t},o._setUnhandledRejectionFn=function(t){p=t},void 0!==t&&t.exports?t.exports=o:n.Promise||(n.Promise=o)}(this)}).call(e,n(2).setImmediate)},function(t,e,n){(function(t,i){function r(t,e){this._id=t,this._clearFn=e}var o=n(3).nextTick,s=Function.prototype.apply,a=Array.prototype.slice,l={},u=0;e.setTimeout=function(){return new r(s.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new r(s.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},e.setImmediate="function"==typeof t?t:function(t){var n=u++,i=!(arguments.length<2)&&a.call(arguments,1);return l[n]=!0,o(function(){l[n]&&(i?t.apply(null,i):t.call(null),e.clearImmediate(n))}),n},e.clearImmediate="function"==typeof i?i:function(t){delete l[t]}}).call(e,n(2).setImmediate,n(2).clearImmediate)},function(t,e){function n(){f&&u&&(f=!1,u.length?c=u.concat(c):h=-1,c.length&&i())}function i(){if(!f){var t=s(n);f=!0;for(var e=c.length;e;){for(u=c,c=[];++h<e;)u&&u[h].run();h=-1,e=c.length}u=null,f=!1,a(t)}}function r(t,e){this.fun=t,this.array=e}function o(){}var s,a,l=t.exports={};!function(){try{s=setTimeout}catch(t){s=function(){throw new Error("setTimeout is not defined")}}try{a=clearTimeout}catch(t){a=function(){throw new Error("clearTimeout is not defined")}}}();var u,c=[],f=!1,h=-1;l.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new r(t,e)),1!==c.length||f||s(i,0)},r.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=o,l.addListener=o,l.once=o,l.off=o,l.removeListener=o,l.removeAllListeners=o,l.emit=o,l.binding=function(t){throw new Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(t){throw new Error("process.chdir is not supported")},l.umask=function(){return 0}},function(t,e,n){var i=n(5),r={oldContainer:void 0,newContainer:void 0,newContainerLoading:void 0,extend:function(t){return i.extend(this,t)},init:function(t,e){var n=this;return this.oldContainer=t,this._newContainerPromise=e,this.deferred=i.deferred(),this.newContainerReady=i.deferred(),this.newContainerLoading=this.newContainerReady.promise,this.start(),this._newContainerPromise.then(function(t){n.newContainer=t,n.newContainerReady.resolve()}),this.deferred.promise},done:function(){this.oldContainer.parentNode.removeChild(this.oldContainer),this.newContainer.style.visibility="visible",this.deferred.resolve()},start:function(){}};t.exports=r},function(t,e){var n={getCurrentUrl:function(){return window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search},cleanLink:function(t){return t.replace(/#.*/,"")},xhrTimeout:5e3,xhr:function(t){var e=this.deferred(),n=new XMLHttpRequest;return n.onreadystatechange=function(){if(4===n.readyState)return 200===n.status?e.resolve(n.responseText):e.reject(new Error("xhr: HTTP code is not 200"))},n.ontimeout=function(){return e.reject(new Error("xhr: Timeout exceeded"))},n.open("GET",t),n.timeout=this.xhrTimeout,n.setRequestHeader("x-barba","yes"),n.send(),e.promise},extend:function(t,e){var n=Object.create(t);for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);return n},deferred:function(){return new function(){this.resolve=null,this.reject=null,this.promise=new Promise(function(t,e){this.resolve=t,this.reject=e}.bind(this))}},getPort:function(t){var e=void 0!==t?t:window.location.port,n=window.location.protocol;return""!=e?parseInt(e):"http:"===n?80:"https:"===n?443:void 0}};t.exports=n},function(t,e,n){var i=n(7),r=n(5),o={namespace:null,extend:function(t){return r.extend(this,t)},init:function(){var t=this;i.on("initStateChange",function(e,n){n&&n.namespace===t.namespace&&t.onLeave()}),i.on("newPageReady",function(e,n,i){t.container=i,e.namespace===t.namespace&&t.onEnter()}),i.on("transitionCompleted",function(e,n){e.namespace===t.namespace&&t.onEnterCompleted(),n&&n.namespace===t.namespace&&t.onLeaveCompleted()})},onEnter:function(){},onEnterCompleted:function(){},onLeave:function(){},onLeaveCompleted:function(){}};t.exports=o},function(t,e){var n={events:{},on:function(t,e){this.events[t]=this.events[t]||[],this.events[t].push(e)},off:function(t,e){t in this.events!=0&&this.events[t].splice(this.events[t].indexOf(e),1)},trigger:function(t){if(t in this.events!=0)for(var e=0;e<this.events[t].length;e++)this.events[t][e].apply(this,Array.prototype.slice.call(arguments,1))}};t.exports=n},function(t,e,n){var i=n(5),r={data:{},extend:function(t){return i.extend(this,t)},set:function(t,e){this.data[t]=e},get:function(t){return this.data[t]},reset:function(){this.data={}}};t.exports=r},function(t,e){var n={history:[],add:function(t,e){e||(e=void 0),this.history.push({url:t,namespace:e})},currentStatus:function(){return this.history[this.history.length-1]},prevStatus:function(){var t=this.history;return t.length<2?null:t[t.length-2]}};t.exports=n},function(t,e,n){var i=n(5),r=n(7),o=n(11),s=n(8),a=n(9),l=n(12),u={Dom:l,History:a,Cache:s,cacheEnabled:!0,transitionProgress:!1,ignoreClassLink:"no-barba",start:function(){this.init()},init:function(){var t=this.Dom.getContainer();this.Dom.getWrapper().setAttribute("aria-live","polite"),this.History.add(this.getCurrentUrl(),this.Dom.getNamespace(t)),r.trigger("initStateChange",this.History.currentStatus()),r.trigger("newPageReady",this.History.currentStatus(),{},t,this.Dom.currentHTML),r.trigger("transitionCompleted",this.History.currentStatus()),this.bindEvents()},bindEvents:function(){document.addEventListener("click",this.onLinkClick.bind(this)),window.addEventListener("popstate",this.onStateChange.bind(this))},getCurrentUrl:function(){return i.cleanLink(i.getCurrentUrl())},goTo:function(t){window.history.pushState(null,null,t),this.onStateChange()},forceGoTo:function(t){window.location=t},load:function(t){var e,n=i.deferred(),r=this;return e=this.Cache.get(t),e||(e=i.xhr(t),this.Cache.set(t,e)),e.then(function(t){var e=r.Dom.parseResponse(t);r.Dom.putContainer(e),r.cacheEnabled||r.Cache.reset(),n.resolve(e)},function(){r.forceGoTo(t),n.reject()}),n.promise},getHref:function(t){if(t)return t.getAttribute&&"string"==typeof t.getAttribute("xlink:href")?t.getAttribute("xlink:href"):"string"==typeof t.href?t.href:void 0},onLinkClick:function(t){for(var e=t.target;e&&!this.getHref(e);)e=e.parentNode;if(this.preventCheck(t,e)){t.stopPropagation(),t.preventDefault(),r.trigger("linkClicked",e,t);var n=this.getHref(e);this.goTo(n)}},preventCheck:function(t,e){if(!window.history.pushState)return!1;var n=this.getHref(e);return!(!e||!n||t.which>1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||e.target&&"_blank"===e.target||window.location.protocol!==e.protocol||window.location.hostname!==e.hostname||i.getPort()!==i.getPort(e.port)||n.indexOf("#")>-1||e.getAttribute&&"string"==typeof e.getAttribute("download")||i.cleanLink(n)==i.cleanLink(location.href)||e.classList.contains(this.ignoreClassLink))},getTransition:function(){return o},onStateChange:function(){var t=this.getCurrentUrl();if(this.transitionProgress&&this.forceGoTo(t),this.History.currentStatus().url===t)return!1;this.History.add(t);var e=this.load(t),n=Object.create(this.getTransition());this.transitionProgress=!0,r.trigger("initStateChange",this.History.currentStatus(),this.History.prevStatus());var i=n.init(this.Dom.getContainer(),e);e.then(this.onNewContainerLoaded.bind(this)),i.then(this.onTransitionEnd.bind(this))},onNewContainerLoaded:function(t){this.History.currentStatus().namespace=this.Dom.getNamespace(t),r.trigger("newPageReady",this.History.currentStatus(),this.History.prevStatus(),t,this.Dom.currentHTML)},onTransitionEnd:function(){this.transitionProgress=!1,r.trigger("transitionCompleted",this.History.currentStatus(),this.History.prevStatus())}};t.exports=u},function(t,e,n){var i=n(4),r=i.extend({start:function(){this.newContainerLoading.then(this.finish.bind(this))},finish:function(){document.body.scrollTop=0,this.done()}});t.exports=r},function(t,e){var n={dataNamespace:"namespace",wrapperId:"barba-wrapper",containerClass:"barba-container",currentHTML:document.documentElement.innerHTML,parseResponse:function(t){this.currentHTML=t;var e=document.createElement("div");e.innerHTML=t;var n=e.querySelector("title");return n&&(document.title=n.textContent),this.getContainer(e)},getWrapper:function(){var t=document.getElementById(this.wrapperId);if(!t)throw new Error("Barba.js: wrapper not found!");return t},getContainer:function(t){if(t||(t=document.body),!t)throw new Error("Barba.js: DOM not ready!");var e=this.parseContainer(t);if(e&&e.jquery&&(e=e[0]),!e)throw new Error("Barba.js: no container found");return e},getNamespace:function(t){return t&&t.dataset?t.dataset[this.dataNamespace]:t?t.getAttribute("data-"+this.dataNamespace):null},putContainer:function(t){t.style.visibility="hidden",this.getWrapper().appendChild(t)},parseContainer:function(t){return t.querySelector("."+this.containerClass)}};t.exports=n},function(t,e,n){var i=n(5),r=n(10),o={ignoreClassLink:"no-barba-prefetch",init:function(){return!!window.history.pushState&&(document.body.addEventListener("mouseover",this.onLinkEnter.bind(this)),void document.body.addEventListener("touchstart",this.onLinkEnter.bind(this)))},onLinkEnter:function(t){for(var e=t.target;e&&!r.getHref(e);)e=e.parentNode;if(e&&!e.classList.contains(this.ignoreClassLink)){var n=r.getHref(e);if(r.preventCheck(t,e)&&!r.Cache.get(n)){var o=i.xhr(n);r.Cache.set(n,o)}}}};t.exports=o}])}),function(t,e,n,i){"use strict";function r(t,e,n){return setTimeout(u(t,n),e)}function o(t,e,n){return!!Array.isArray(t)&&(s(t,n[e],n),!0)}function s(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==i)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function a(e,n,i){var r="DEPRECATED METHOD: "+n+"\n"+i+" AT \n";return function(){var n=new Error("get-stack-trace"),i=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=t.console&&(t.console.warn||t.console.log);return o&&o.call(t.console,r,i),e.apply(this,arguments)}}function l(t,e,n){var i,r=e.prototype;i=t.prototype=Object.create(r),i.constructor=t,i._super=r,n&&ct(i,n)}function u(t,e){return function(){return t.apply(e,arguments)}}function c(t,e){return(void 0===t?"undefined":_typeof(t))==dt?t.apply(e?e[0]||i:i,e):t}function f(t,e){return t===i?e:t}function h(t,e,n){s(g(e),function(e){t.addEventListener(e,n,!1)})}function d(t,e,n){s(g(e),function(e){t.removeEventListener(e,n,!1)})}function p(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function m(t,e){return t.indexOf(e)>-1}function g(t){return t.trim().split(/\s+/g)}function v(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function y(t){return Array.prototype.slice.call(t,0)}function _(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];v(r,s)<0&&i.push(t[o]),r[o]=s,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function x(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),s=0;s<ft.length;){if(n=ft[s],(r=n?n+o:e)in t)return r;s++}return i}function b(){return _t++}function T(e){var n=e.ownerDocument||e;return n.defaultView||n.parentWindow||t}function w(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){c(t.options.enable,[t])&&n.handler(e)},this.init()}function S(t){var e=t.options.inputClass;return new(e||(Tt?H:wt?z:bt?X:j))(t,C)}function C(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&Et&&i-r==0,s=e&(At|Ot)&&i-r==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,k(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function k(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=A(e)),r>1&&!n.firstMultiple?n.firstMultiple=A(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,l=e.center=O(i);e.timeStamp=gt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=L(a,l),e.distance=D(a,l),E(n,e),e.offsetDirection=M(e.deltaX,e.deltaY);var u=N(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,
e.overallVelocityY=u.y,e.overallVelocity=mt(u.x)>mt(u.y)?u.x:u.y,e.scale=s?R(s.pointers,i):1,e.rotation=s?I(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,P(n,e);var c=t.element;p(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}function E(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Et&&o.eventType!==At||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}function P(t,e){var n,r,o,s,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=Ot&&(l>kt||a.velocity===i)){var u=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,f=N(l,u,c);r=f.x,o=f.y,n=mt(f.x)>mt(f.y)?f.x:f.y,s=M(u,c),t.lastInterval=e}else n=a.velocity,r=a.velocityX,o=a.velocityY,s=a.direction;e.velocity=n,e.velocityX=r,e.velocityY=o,e.direction=s}function A(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:pt(t.pointers[n].clientX),clientY:pt(t.pointers[n].clientY)},n++;return{timeStamp:gt(),pointers:e,center:O(e),deltaX:t.deltaX,deltaY:t.deltaY}}function O(t){var e=t.length;if(1===e)return{x:pt(t[0].clientX),y:pt(t[0].clientY)};for(var n=0,i=0,r=0;e>r;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:pt(n/e),y:pt(i/e)}}function N(t,e,n){return{x:e/t||0,y:n/t||0}}function M(t,e){return t===e?Nt:mt(t)>=mt(e)?0>t?Mt:Dt:0>e?Lt:It}function D(t,e,n){n||(n=Ft);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function L(t,e,n){n||(n=Ft);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function I(t,e){return L(e[1],e[0],Bt)+L(t[1],t[0],Bt)}function R(t,e){return D(e[0],e[1],Bt)/D(t[0],t[1],Bt)}function j(){this.evEl=qt,this.evWin=Xt,this.pressed=!1,w.apply(this,arguments)}function H(){this.evEl=Ut,this.evWin=$t,w.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function F(){this.evTarget=Gt,this.evWin=Qt,this.started=!1,w.apply(this,arguments)}function B(t,e){var n=y(t.touches),i=y(t.changedTouches);return e&(At|Ot)&&(n=_(n.concat(i),"identifier",!0)),[n,i]}function z(){this.evTarget=Zt,this.targetIds={},w.apply(this,arguments)}function q(t,e){var n=y(t.touches),i=this.targetIds;if(e&(Et|Pt)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=y(t.changedTouches),a=[],l=this.target;if(o=n.filter(function(t){return p(t.target,l)}),e===Et)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&a.push(s[r]),e&(At|Ot)&&delete i[s[r].identifier],r++;return a.length?[_(o.concat(a),"identifier",!0),a]:void 0}function X(){w.apply(this,arguments);var t=u(this.handler,this);this.touch=new z(this.manager,t),this.mouse=new j(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function W(t,e){t&Et?(this.primaryTouch=e.changedPointers[0].identifier,Y.call(this,e)):t&(At|Ot)&&Y.call(this,e)}function Y(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches,r=function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)};setTimeout(r,Jt)}}function U(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),s=Math.abs(n-r.y);if(te>=o&&te>=s)return!0}return!1}function $(t,e){this.manager=t,this.set(e)}function V(t){if(m(t,se))return se;var e=m(t,ae),n=m(t,le);return e&&n?se:e||n?e?ae:le:m(t,oe)?oe:re}function G(t){this.options=ct({},this.defaults,t||{}),this.id=b(),this.manager=null,this.options.enable=f(this.options.enable,!0),this.state=ce,this.simultaneous={},this.requireFail=[]}function Q(t){return t&me?"cancel":t&de?"end":t&he?"move":t&fe?"start":""}function K(t){return t==It?"down":t==Lt?"up":t==Mt?"left":t==Dt?"right":""}function Z(t,e){var n=e.manager;return n?n.get(t):t}function J(){G.apply(this,arguments)}function tt(){J.apply(this,arguments),this.pX=null,this.pY=null}function et(){J.apply(this,arguments)}function nt(){G.apply(this,arguments),this._timer=null,this._input=null}function it(){J.apply(this,arguments)}function rt(){J.apply(this,arguments)}function ot(){G.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function st(t,e){return e=e||{},e.recognizers=f(e.recognizers,st.defaults.preset),new at(t,e)}function at(t,e){this.options=ct({},st.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=S(this),this.touchAction=new $(this,this.options.touchAction),lt(this,!0),s(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function lt(t,e){var n=t.element;if(n.style){var i;s(t.options.cssProps,function(r,o){i=x(n.style,o),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""}),e||(t.oldCssProps={})}}function ut(t,n){var i=e.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=n,n.target.dispatchEvent(i)}var ct,ft=["","webkit","Moz","MS","ms","o"],ht=e.createElement("div"),dt="function",pt=Math.round,mt=Math.abs,gt=Date.now;ct="function"!=typeof Object.assign?function(t){if(t===i||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==i&&null!==r)for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e}:Object.assign;var vt=a(function(t,e,n){for(var r=Object.keys(e),o=0;o<r.length;)(!n||n&&t[r[o]]===i)&&(t[r[o]]=e[r[o]]),o++;return t},"extend","Use `assign`."),yt=a(function(t,e){return vt(t,e,!0)},"merge","Use `assign`."),_t=1,xt=/mobile|tablet|ip(ad|hone|od)|android/i,bt="ontouchstart"in t,Tt=x(t,"PointerEvent")!==i,wt=bt&&xt.test(navigator.userAgent),St="touch",Ct="mouse",kt=25,Et=1,Pt=2,At=4,Ot=8,Nt=1,Mt=2,Dt=4,Lt=8,It=16,Rt=Mt|Dt,jt=Lt|It,Ht=Rt|jt,Ft=["x","y"],Bt=["clientX","clientY"];w.prototype={handler:function(){},init:function(){this.evEl&&h(this.element,this.evEl,this.domHandler),this.evTarget&&h(this.target,this.evTarget,this.domHandler),this.evWin&&h(T(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(T(this.element),this.evWin,this.domHandler)}};var zt={mousedown:Et,mousemove:Pt,mouseup:At},qt="mousedown",Xt="mousemove mouseup";l(j,w,{handler:function(t){var e=zt[t.type];e&Et&&0===t.button&&(this.pressed=!0),e&Pt&&1!==t.which&&(e=At),this.pressed&&(e&At&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:Ct,srcEvent:t}))}});var Wt={pointerdown:Et,pointermove:Pt,pointerup:At,pointercancel:Ot,pointerout:Ot},Yt={2:St,3:"pen",4:Ct,5:"kinect"},Ut="pointerdown",$t="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Ut="MSPointerDown",$t="MSPointerMove MSPointerUp MSPointerCancel"),l(H,w,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=Wt[i],o=Yt[t.pointerType]||t.pointerType,s=o==St,a=v(e,t.pointerId,"pointerId");r&Et&&(0===t.button||s)?0>a&&(e.push(t),a=e.length-1):r&(At|Ot)&&(n=!0),0>a||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var Vt={touchstart:Et,touchmove:Pt,touchend:At,touchcancel:Ot},Gt="touchstart",Qt="touchstart touchmove touchend touchcancel";l(F,w,{handler:function(t){var e=Vt[t.type];if(e===Et&&(this.started=!0),this.started){var n=B.call(this,t,e);e&(At|Ot)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:St,srcEvent:t})}}});var Kt={touchstart:Et,touchmove:Pt,touchend:At,touchcancel:Ot},Zt="touchstart touchmove touchend touchcancel";l(z,w,{handler:function(t){var e=Kt[t.type],n=q.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:St,srcEvent:t})}});var Jt=2500,te=25;l(X,w,{handler:function(t,e,n){var i=n.pointerType==St,r=n.pointerType==Ct;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)W.call(this,e,n);else if(r&&U.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ee=x(ht.style,"touchAction"),ne=ee!==i,ie="compute",re="auto",oe="manipulation",se="none",ae="pan-x",le="pan-y",ue=function(){if(!ne)return!1;var e={},n=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(i){e[i]=!n||t.CSS.supports("touch-action",i)}),e}();$.prototype={set:function(t){t==ie&&(t=this.compute()),ne&&this.manager.element.style&&ue[t]&&(this.manager.element.style[ee]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return s(this.manager.recognizers,function(e){c(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),V(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(this.manager.session.prevented)return void e.preventDefault();var i=this.actions,r=m(i,se)&&!ue[se],o=m(i,le)&&!ue[le],s=m(i,ae)&&!ue[ae];if(r){var a=1===t.pointers.length,l=t.distance<2,u=t.deltaTime<250;if(a&&l&&u)return}return s&&o?void 0:r||o&&n&Rt||s&&n&jt?this.preventSrc(e):void 0},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var ce=1,fe=2,he=4,de=8,pe=de,me=16;G.prototype={defaults:{},set:function(t){return ct(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=Z(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)?this:(t=Z(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return t=Z(t,this),-1===v(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=Z(t,this);var e=v(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;de>i&&e(n.options.event+Q(i)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),i>=de&&e(n.options.event+Q(i))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|ce)))return!1;t++}return!0},recognize:function(t){var e=ct({},t);return c(this.options.enable,[this,e])?(this.state&(pe|me|32)&&(this.state=ce),this.state=this.process(e),void(this.state&(fe|he|de|me)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(t){},getTouchAction:function(){},reset:function(){}},l(J,G,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(fe|he),r=this.attrTest(t);return i&&(n&Ot||!r)?e|me:i||r?n&At?e|de:e&fe?e|he:fe:32}}),l(tt,J,{defaults:{event:"pan",threshold:10,pointers:1,direction:Ht},getTouchAction:function(){var t=this.options.direction,e=[];return t&Rt&&e.push(le),t&jt&&e.push(ae),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(e.direction&Rt?(r=0===o?Nt:0>o?Mt:Dt,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===s?Nt:0>s?Lt:It,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return J.prototype.attrTest.call(this,t)&&(this.state&fe||!(this.state&fe)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=K(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),l(et,J,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[se]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&fe)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),l(nt,G,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[re]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(At|Ot)&&!o)this.reset();else if(t.eventType&Et)this.reset(),this._timer=r(function(){this.state=pe,this.tryEmit()},e.time,this);else if(t.eventType&At)return pe;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===pe&&(t&&t.eventType&At?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=gt(),this.manager.emit(this.options.event,this._input)))}}),l(it,J,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[se]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&fe)}}),l(rt,J,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Rt|jt,pointers:1},getTouchAction:function(){return tt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(Rt|jt)?e=t.overallVelocity:n&Rt?e=t.overallVelocityX:n&jt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&mt(e)>this.options.velocity&&t.eventType&At},emit:function(t){var e=K(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),l(ot,G,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[oe]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&Et&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=At)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||D(this.pCenter,t.center)<e.posThreshold;this.pTime=t.timeStamp,this.pCenter=t.center,a&&s?this.count+=1:this.count=1,this._input=t;if(0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=r(function(){this.state=pe,this.tryEmit()},e.interval,this),fe):pe}return 32},failTimeout:function(){return this._timer=r(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==pe&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),st.VERSION="2.0.8",st.defaults={domEvents:!1,touchAction:ie,enable:!0,inputTarget:null,inputClass:null,preset:[[it,{enable:!1}],[et,{enable:!1},["rotate"]],[rt,{direction:Rt}],[tt,{direction:Rt},["swipe"]],[ot],[ot,{event:"doubletap",taps:2},["tap"]],[nt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};at.prototype={set:function(t){return ct(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&pe)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(fe|he|de)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof G)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=v(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==i&&e!==i){var n=this.handlers;return s(g(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==i){var n=this.handlers;return s(g(t),function(t){e?n[t]&&n[t].splice(v(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&ut(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&<(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ct(st,{INPUT_START:Et,INPUT_MOVE:Pt,INPUT_END:At,INPUT_CANCEL:Ot,STATE_POSSIBLE:ce,STATE_BEGAN:fe,STATE_CHANGED:he,STATE_ENDED:de,STATE_RECOGNIZED:pe,STATE_CANCELLED:me,STATE_FAILED:32,DIRECTION_NONE:Nt,DIRECTION_LEFT:Mt,DIRECTION_RIGHT:Dt,DIRECTION_UP:Lt,DIRECTION_DOWN:It,DIRECTION_HORIZONTAL:Rt,DIRECTION_VERTICAL:jt,DIRECTION_ALL:Ht,Manager:at,Input:w,TouchAction:$,TouchInput:z,MouseInput:j,PointerEventInput:H,TouchMouseInput:X,SingleTouchInput:F,Recognizer:G,AttrRecognizer:J,Tap:ot,Pan:tt,Swipe:rt,Pinch:et,Rotate:it,Press:nt,on:h,off:d,each:s,merge:yt,extend:vt,assign:ct,inherit:l,bindFn:u,prefixed:x}),(void 0!==t?t:"undefined"!=typeof self?self:{}).Hammer=st,"function"==typeof define&&define.amd?define(function(){return st}):"undefined"!=typeof module&&module.exports?module.exports=st:t.Hammer=st}(window,document);